@font-face {
  font-family: Manrope;
  src: url("fonts/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #211d3c;
  --paper: #f7f6fe;
  --white: #fff;
  --muted: #5a5770;
  --navy: #5342ba;
  --navy-dark: #352788;
  --blue-pale: #eeebfc;
  --line: #dcd7ec;
  --flame: #a53d2b;
  --peach: #ffe4d9;
  --canvas: min(1200px, calc(100% - 3.5rem));
  --heading: "Space Grotesk", Manrope, system-ui, sans-serif;
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; font-size: 1rem; line-height: 1.64; overflow-wrap: anywhere; }
button, select, input, textarea { font: inherit; }
a { color: var(--navy-dark); text-underline-offset: .21em; }
a:hover { color: var(--flame); }
:focus-visible { outline: 3px solid #aa482e; outline-offset: 3px; }
.skip { position: absolute; z-index: 4; left: 1rem; top: 0; translate: 0 -130%; padding: .5rem 1rem; background: var(--white); }
.skip:focus { translate: 0 0; }
.shell { width: var(--canvas); margin-inline: auto; }
.site-header { border-top: 5px solid var(--navy); background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { min-height: 75px; display: flex; justify-content: space-between; align-items: center; gap: .75rem 1.5rem; }
.brand { display: inline-flex; gap: .65rem; align-items: center; font-size: 1.45rem; color: var(--ink); font-weight: 850; text-decoration: none; letter-spacing: -.06em; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; border: 2px solid currentColor; border-radius: 50%; display: grid; place-items: center; color: var(--flame); transition: transform .24s; }
.brand:is(:hover, :focus-visible) .brand-mark { transform: rotate(38deg); }
.brand-mark::after { content: ''; display: block; width: 7px; height: 9px; border: 2px solid currentColor; border-top: 0; border-right: 0; transform: translate(2px, -2px); }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1.3rem; padding-block: .6rem; }
.nav a { font-size: 1rem; text-decoration: none; color: var(--ink); font-weight: 670; }
.nav a:hover { color: var(--flame); }
.crumbs { display: flex; flex-wrap: wrap; gap: .45rem .8rem; align-items: center; margin-block: 1.15rem .65rem; color: var(--muted); font-size: 1rem; }
.crumbs span::before { content: '/'; color: var(--muted); margin-right: .8rem; }
h1, h2, h3 { margin: 0; line-height: 1.12; color: var(--ink); }
h1, h2, h3 { font-family: var(--heading); font-weight: 700; }
h1 { font-size: clamp(2.15rem, 4.6vw, 4.25rem); max-width: 23ch; letter-spacing: -.06em; line-height: 1.01; }
h2 { font-size: clamp(1.75rem, 3.35vw, 3.04rem); letter-spacing: -.047em; }
h3 { font-size: 1.21rem; letter-spacing: -.026em; }
.intro { margin-block: 0 1.45rem; }
.intro > p { max-width: 68ch; margin-block: .7rem 0; color: var(--muted); font-size: 1.08rem; }
.section-nav { display: flex; flex-wrap: wrap; list-style: none; gap: .45rem; margin: .9rem 0 1.45rem; padding: 0; }
.section-nav a { display: block; padding: .38rem .8rem; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; background: var(--white); font-weight: 650; transition: background .2s, border-color .2s, transform .2s; }
.section-nav a:hover { transform: translateY(-2px); }
.section-nav a:hover, .section-nav a[aria-current="page"] { background: var(--peach); border-color: #e4a28b; color: var(--ink); }
.tool { background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 14px 45px #1625380d; overflow: hidden; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .7fr); }
.sheet-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(245px, .34fr); align-items: start; overflow: clip; }
.tool-form, .sheet-input { padding: clamp(1rem, 4vw, 2.25rem); min-width: 0; }
.result { padding: clamp(1rem, 4vw, 2.15rem); background: var(--blue-pale); border-left: 1px solid var(--line); min-width: 0; }
.split > .result { height: 100%; }
.sheet-wrap > .result { position: sticky; top: 1rem; border-bottom-left-radius: 21px; }
.result > p:first-child { margin: 0 0 .45rem; color: var(--navy-dark); font-weight: 750; }
.answer { display: block; font-size: clamp(2rem, 5vw, 3.8rem); font-variant-numeric: tabular-nums; color: var(--navy-dark); font-weight: 850; letter-spacing: -.07em; line-height: 1.1; }
.metrics { margin: 1.1rem 0 0; }
.metrics div { display: grid; gap: .15rem 1rem; grid-template-columns: 1fr auto; padding: .55rem 0; border-top: 1px solid #b9ccdb; }
.metrics dt, .metrics dd { margin: 0; }
.metrics dd { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.hint { color: var(--muted); margin-block: .5rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; }
.fields .full { grid-column: 1 / -1; }
label { min-width: 0; font-weight: 670; }
label:not(.check, .file-button) { display: grid; gap: .35rem; }
input:not([type="checkbox"]), select, textarea { min-height: 46px; padding: .55rem .7rem; width: 100%; min-width: 0; border: 1px solid #9cadb8; border-radius: 9px; color: var(--ink); background: #fff; }
input[type=date], input[type=month], input[type=time] { font-variant-numeric: tabular-nums; -webkit-appearance: none; appearance: none; }
.check { display: flex; align-items: center; gap: .6rem; }
.check input { appearance: auto; inline-size: 1.2rem; block-size: 1.2rem; accent-color: var(--navy); }
.weekday-picker { border: 1px solid var(--line); border-radius: 12px; min-width: 0; padding: .6rem .8rem; margin-top: .9rem; display: flex; flex-wrap: wrap; gap: .45rem .8rem; }
.weekday-picker legend { color: var(--navy-dark); font-weight: 720; padding-inline: .35rem; }
.buttons { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: 1rem; }
.button, .file-button { display: inline-grid; place-items: center; padding: .53rem .91rem; min-height: 43px; border: 1px solid var(--navy); border-radius: 10px; cursor: pointer; font-weight: 750; background: var(--navy); color: #fff; font-size: 1rem; text-decoration: none; text-align: center; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.file-button { position: relative; }
.file-button input { position: absolute; inset: 0; min-height: 100%; opacity: 0; cursor: pointer; }
.file-button:focus-within { outline: 3px solid #aa482e; outline-offset: 3px; }
.button:hover:not(:disabled), .file-button:hover { background: var(--navy-dark); transform: translateY(-2px); color: #fff; box-shadow: 0 5px 13px #20486b32; }
.button.secondary, .file-button { color: var(--navy-dark); background: var(--white); border-color: #97aebd; }
.button.secondary:hover:not(:disabled), .file-button:hover { background: var(--blue-pale); color: var(--navy-dark); }
.button:disabled { opacity: .53; cursor: not-allowed; }
.small-link { font-weight: 720; }
.message { min-height: 1.65rem; margin-block: .8rem 0; color: #893822; }
.message:empty { min-height: 0; margin: 0; }
.unit { color: var(--muted); font-weight: 490; }
.period-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .6rem 1rem; }
.period-bar .buttons { margin-top: 0; }
.draft { display: inline-block; padding: .22rem .6rem; border-radius: .55rem; background: var(--blue-pale); color: var(--navy-dark); margin: .7rem 0; }
.sheet-shortcut { display: none; }
.record { border: 1px solid var(--line); border-radius: 14px; padding: 1rem; margin: .85rem 0; min-width: 0; }
.record.row-issue { border-color: #c37459; }
.record legend { padding-inline: .5rem; font-weight: 800; color: var(--navy-dark); }
.row-bottom { display: flex; flex-wrap: wrap; gap: .3rem 1rem; justify-content: space-between; align-items: center; margin-top: .75rem; color: var(--navy-dark); }
.row-bottom p { margin: 0; }
.row-bottom button, .text-button { color: var(--flame); border: none; background: transparent; padding: .2rem .1rem; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.output-wrap { margin-top: .8rem; }
.output-wrap summary, details.faq summary { cursor: pointer; font-weight: 740; }
.output-wrap ul { padding-left: 1.2rem; }
.backup-tools { border-top: 1px solid var(--line); margin-top: 1.2rem; padding-top: 1rem; }
.backup-tools p { margin: .45rem 0 0; color: var(--muted); }
.result .buttons .button { flex: 1 1 7rem; }
.section { margin-block: clamp(2.5rem, 7vw, 5.3rem); }
.section > p { max-width: 75ch; }
.editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.editor-card, .step { border: 1px solid var(--line); border-radius: 19px; background: var(--white); padding: 1.15rem; transition: border-color .22s, box-shadow .22s; }
.editor-card:hover, .step:hover { border-color: #9bacbf; box-shadow: 0 9px 24px #20486b17; }
.editor-card > p:last-child, .step > p:last-child { margin-bottom: 0; }
.guide-list { max-width: 77ch; padding-inline-start: 1.35rem; }
.guide-list li { padding: .5rem 0 .5rem .3rem; }
.guide-list li::marker { color: #993e2a; font-weight: 800; }
.feature { margin: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--white); }
.feature img { width: 100%; height: auto; display: block; transition: filter .25s; }
.feature:hover img { filter: contrast(1.05); }
.feature figcaption { padding: .85rem 1rem; color: var(--muted); }
.editor-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.2rem 0; }
.route-card { color: var(--ink); display: grid; gap: .35rem; text-decoration: none; padding: 1.1rem; border: 1px solid var(--line); background: var(--white); border-radius: 17px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.route-card:hover { color: var(--ink); transform: translateY(-3px); border-color: var(--flame); box-shadow: 0 8px 18px #20486b16; }
.route-card span { color: var(--muted); }
table { border-collapse: collapse; width: 100%; }
.table-wrap { margin: 1.15rem 0; overflow-x: auto; max-width: 100%; border: 1px solid var(--line); border-radius: 13px; }
th, td { padding: .65rem .82rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead { background: var(--blue-pale); }
tr:last-child td { border-bottom: 0; }
details.faq { border-bottom: 1px solid var(--line); padding-block: .75rem; }
details:is(.faq, .output-wrap) summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
details:is(.faq, .output-wrap) summary::-webkit-details-marker { display: none; }
details:is(.faq, .output-wrap) summary::after { content: '+'; color: var(--flame); font-size: 1.4rem; line-height: 1; }
details:is(.faq, .output-wrap)[open] summary::after { content: '−'; }
details.faq summary:hover { color: #993e2a; }
details.faq p { margin-block: .45rem .15rem; color: var(--muted); max-width: 75ch; }
.legal { max-width: 780px; margin-block: 1.1rem 4rem; }
.legal h2 { margin-top: 2rem; font-size: 1.8rem; }
.legal p { max-width: 68ch; }
.contact-form { max-width: 41rem; display: grid; gap: .75rem; background: var(--white); border: 1px solid var(--line); padding: 1rem; border-radius: 17px; }
.contact-form textarea { width: 100%; resize: vertical; }
.contact-form .buttons { margin-top: 0; align-items: center; }
.site-footer { color: #fff; background: #162a40; padding: 2.35rem 0; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0; max-width: 67ch; }
.site-footer p a { font-weight: 800; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .7rem 1rem; }
.status-panel { padding: .8rem 1rem; background: var(--blue-pale); border: 1px solid var(--line); border-radius: 11px; }
@media (max-width: 820px) {
  .sheet-wrap { display: block; }
  .sheet-wrap > .result { position: static; border-left: 0; border-top: 1px solid var(--line); border-bottom-left-radius: 0; }
  .sheet-shortcut { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .45rem .7rem; margin-block: .8rem; padding: .55rem .75rem; background: var(--blue-pale); border-radius: 9px; }
  .editor-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  :root { --canvas: min(1120px, calc(100% - 1.5rem)); }
  .header-row { display: block; padding-top: .65rem; }
  .nav { gap: .4rem .8rem; }
  .nav a, .button, .file-button, label, .crumbs, .section-nav a { font-size: .9375rem; }
  .split { display: block; }
  .result { border-left: 0; border-top: 1px solid var(--line); }
  .editor-grid { grid-template-columns: 1fr; }
  .period-bar { display: block; }
  .period-bar .buttons { margin-top: .5rem; }
  .tool { border-radius: 17px; }
}
@media (max-width: 420px) {
  .editor-cards { grid-template-columns: 1fr; }
  .tool-form, .sheet-input, .result { padding-inline: .9rem; }
  .fields { gap: .65rem; }
  .fields .full-small { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
#print-root { display: none; }
@media print {
  @page { size: A4; margin: 12mm; }
  body:has(> #print-root:not(:empty)) > :not(#print-root) { display: none !important; }
  #print-root:not(:empty) { display: block; font-size: 11pt; color: #000; }
  #print-root h1 { margin: 0 0 3mm; max-width: none; font-size: 22pt; }
  #print-root th, #print-root td { padding: 2mm; border: 1px solid #888; }
  #print-root thead { display: table-header-group; }
  #print-root tr { break-inside: avoid; }
}

/* The clock and accents carry through from the calculators to the guides. */
.site-header { border-top: 0; border-bottom-color: #e3def3; background: #fff; }
.header-row { min-height: 78px; }
.brand { gap: .65rem; font-family: var(--heading); font-weight: 700; font-size: 1.55rem; }
.brand-mark { width: 35px; height: 35px; color: #fff; border: 0; border-radius: 12px 12px 12px 4px; background: #5342ba; box-shadow: inset 0 -3px #352788; }
.brand-mark::after { transform: translate(1px, -1px); }
.nav { gap: .2rem .25rem; }
.nav a, .nav-tools summary { display: inline-flex; align-items: center; min-height: 40px; padding: .45rem .72rem; color: #3a3354; border-radius: 9px; transition: background .2s, color .2s, transform .2s; }
.nav :is(a, summary):is(:hover, :focus-visible) { color: var(--navy-dark); background: var(--blue-pale); transform: translateY(-2px); }
.nav .nav-contact { border: 1px solid var(--line); margin-left: .2rem; }
.nav-tools { position: relative; }
.nav-tools summary { gap: .45rem; cursor: pointer; list-style: none; font-weight: 670; }
.nav-tools summary::-webkit-details-marker { display: none; }
.nav-tools summary::after {
  content: "";
  width: .75rem;
  height: .75rem;
  flex: none;
  background: linear-gradient(currentColor, currentColor) center / .66rem 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px .66rem no-repeat;
}
.nav-tools[open] summary::after { background-size: .66rem 2px, 2px 0; }
.nav-tools[open] summary { color: var(--navy-dark); background: var(--blue-pale); }
.nav-tool-list {
  position: absolute;
  z-index: 15;
  inset: calc(100% + .35rem) 0 auto auto;
  min-width: 15rem;
  margin: 0;
  padding: .4rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px #30245f27;
  list-style: none;
}
.nav-tool-list a { width: 100%; }
.nav-tool-list a:is(:hover, :focus-visible) { transform: none; }
.crumbs { margin-block: 1.05rem .8rem; }
.crumbs .crumb-link + .crumb-link::before { content: '/'; color: var(--muted); margin-right: .8rem; }
.intro { margin-block: 0 1.35rem; }
.intro h1 { text-wrap: balance; }
.intro > p { line-height: 1.57; }
.tool { border-radius: 23px; border-color: #d5cfed; box-shadow: 0 18px 50px #33246a12, 0 3px 9px #30256c0a; }
.tool[data-app="day"], .tool[data-tool="day"] { margin-top: .2rem; }
.result { background: linear-gradient(160deg, #f3efff, #e9e3fc 72%, #f9e3ee); }
.metrics div { border-color: #d3caed; }
.answer { font-family: var(--heading); color: #402d9c; }
input:not([type="checkbox"]), select, textarea { border-color: #c6bddf; border-radius: 10px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
:is(input:not([type="checkbox"]), select, textarea):hover { border-color: #8d7ccc; background-color: #fcfaff; }
:is(input:not([type="checkbox"]), select, textarea):focus-visible { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px #d9cdfc; }
.button, .file-button { border-radius: 11px 11px 11px 5px; }
.button.secondary, .file-button { border-color: #c6bddf; }
.button:hover:not(:disabled), .file-button:hover { box-shadow: 0 8px 17px #402d9c3d; transform: translateY(-3px); }
.button:active:not(:disabled) { transform: scale(.98); }
.section-nav { gap: .45rem; }
.section-nav a { border-radius: 10px; padding-inline: .75rem; }
.section-nav a:is(:hover, [aria-current="page"]) { background: #ede6ff; border-color: #c9b9f1; color: #3f2a9c; box-shadow: inset 0 -2px #d3c4f6; }
.record { background: #fdfcff; transition: border-color .2s, box-shadow .2s; }
.record:is(:hover, :focus-within) { border-color: #a695d9; box-shadow: 0 6px 21px #3e2e8414; }
.editor-card, .step, .route-card { box-shadow: 0 3px 10px #33246a09; transition: transform .24s, box-shadow .24s, border-color .24s; }
.editor-card:hover, .step:hover, .route-card:hover { transform: translateY(-4px); box-shadow: 0 12px 27px #33246a19; border-color: #ac9add; }
details.faq { border: 1px solid #e3ddf2; border-radius: 12px; padding: 0; margin-top: .65rem; background: #fff; transition: background .2s, box-shadow .2s, border-color .2s; }
details.faq summary { padding: .85rem 1rem; }
details.faq p { margin: 0; padding: 0 1rem 1rem; }
details.faq:is(:hover, [open], :focus-within) { border-color: #b6a8e7; background: #fdfbff; box-shadow: 0 6px 17px #38296812; }
details.faq summary::after { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 8px; background: #f0e9ff; color: #43309e; }
.legal { max-width: 840px; }
.site-footer { background: #252041; padding: 2.8rem 0 2.15rem; }
.footer-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 1.2rem 3rem; }
.footer-row .brand { display: inline-flex; width: fit-content; color: #fff; }
.footer-row .brand-mark { background: #b9aaf5; color: #252041; box-shadow: none; }
.footer-row .footer-description { margin-top: .8rem; color: #ded8f4; }
.footer-row nav { display: grid; gap: .37rem; align-items: start; }
.footer-row nav strong { color: #d0c3ff; font-family: var(--heading); font-size: 1.18rem; }
.footer-row nav a { width: fit-content; text-decoration-color: #ab9bce; text-decoration-thickness: 1px; }
.footer-row nav a:hover { color: #ffc9b7; text-decoration-color: currentColor; }
.footer-row a:focus-visible { outline-color: #f7bcac; }
.reading-links { display: grid; gap: .85rem; grid-template-columns: 1.18fr 1fr 1fr; }
.reading-links a { min-height: 115px; }
.reading-links strong { font-family: var(--heading); font-size: 1.27rem; letter-spacing: -.025em; }
.reading-links .route-card:first-child { background: #ebe4ff; border-color: #ccbef2; }
.home-method { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.3rem; background: #262045; padding: clamp(1.25rem, 4vw, 2.7rem); border-radius: 24px; color: #faf6ff; align-items: center; }
.home-method h2 { color: #fff; }
.home-method p { color: #e3dcf4; margin-block: .7rem 0; max-width: 52ch; }
.home-method dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.home-method dl > div { background: #403663; border: 1px solid #594d80; border-radius: 12px; padding: .7rem; }
.home-method dl > div:last-child { background: #fed9ce; border-color: #fed9ce; color: #442346; }
.home-method dt { font-weight: 700; }
.home-method dd { margin: .25rem 0 0; font: 700 clamp(1.35rem, 3.2vw, 2.3rem)/1.1 var(--heading); letter-spacing: -.05em; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(.9rem, 4vw, 2.4rem); align-items: start; }
.contact-grid .contact-form { max-width: none; padding: clamp(1rem, 4vw, 1.65rem); }
.contact-grid .contact-form h2 { margin-top: 0; font-size: clamp(1.42rem, 2.4vw, 1.8rem); }
.contact-grid .contact-aside { padding: 1rem; border-radius: 17px; background: var(--blue-pale); }
.contact-grid .contact-aside h2 { font-size: 1.42rem; }
.contact-grid .contact-aside h2:first-child { margin-top: 0; }
.contact-grid .contact-aside p { margin-block: .55rem; }
.contact-form .help-text { margin: 0; color: var(--muted); }
.contact-form .contact-trap { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.contact-form .contact-result { padding: .7rem .8rem; background: #fff0e8; border: 1px solid #f1c8b3; color: #702b1b; border-radius: 9px; margin: 0; }
.contact-form .contact-result:empty { display: none; }
.contact-form .contact-result[data-state="ok"] { background: #eaf6eb; color: #22532c; border-color: #b8d9bc; }
@media (max-width: 820px) {
  .home-method, .contact-grid { grid-template-columns: 1fr; }
  .reading-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .header-row { padding-top: .65rem; }
  .footer-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem .75rem; }
  .footer-row > div:first-child { grid-column: 1 / -1; }
  .reading-links { grid-template-columns: 1fr; }
  .home-method dl { gap: .35rem; }
  .home-method dl > div { padding: .5rem; }
}
@media (max-width: 680px) {
  .header-row { display: block; padding-top: .65rem; }
  .nav { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .16rem .25rem; padding-block: .42rem .55rem; }
  .nav :is(a, summary) { min-height: 42px; padding: .45rem .26rem; font-size: .9375rem; line-height: 1.2; }
  .nav > a, .nav-tools summary { justify-content: center; text-align: center; }
  .nav .nav-contact { margin-left: 0; }
  .nav-tools { position: static; }
  .nav-tools summary { width: 100%; }
  .nav-tool-list { inset: calc(100% + .12rem) 0 auto; min-width: 0; }
  .nav-tool-list a { padding-inline: .55rem; }
}
