/* Avery County CERT — one family (Atkinson Hyperlegible Next, made for low-vision readers), deep ridge teal, and
   safety-vest hi-vis saved for the main actions and the reflective stripe. Mobile first. */
@font-face { font-family: 'AHN'; src: url('/fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'AHN'; src: url('/fonts/atkinson-hyperlegible-next-latin-wght-italic.woff2') format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
  --ridge: #003c42; --ridge-2: #0b5a60; --hivis: #d4ec3c; --hivis-d: #b9d21f; --paper: #f5f7f4; --ink: #17252a; --mist: #e2ebe7;
  --muted: #4f6166; --line: #c8d6d1; --red: #b80000; --ok: #1d6b45;
  --step--1: 0.9rem; --step-0: 1.0625rem; --step-1: 1.3rem; --step-2: 1.65rem; --step-3: clamp(1.9rem, 5.2vw, 2.6rem); --step-4: clamp(2.25rem, 7.4vw, 4rem);
  --gap: clamp(16px, 4vw, 28px); --radius: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'AHN', system-ui, sans-serif; font-size: var(--step-0); line-height: 1.55; }
img { max-width: 100%; height: auto; }
a { color: var(--ridge-2); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #1a73a8; outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { line-height: 1.15; color: var(--ridge); margin: 0 0 .5em; font-weight: 750; letter-spacing: -0.01em; }
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); margin-top: 1.4em; }
h3 { font-size: var(--step-1); }
p, ul, ol, dl { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.section { padding-top: 28px; padding-bottom: 28px; }
.section > h2:first-child, .page-head h1 { margin-top: 0; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--hivis); color: var(--ink); padding: 10px 14px; z-index: 50; font-weight: 700; border-radius: 6px; }
.skip:focus { top: 8px; }
main:focus { outline: none; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--ridge); color: #fff; }
.top-in { display: flex; align-items: center; gap: 10px; min-height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; min-width: 0; }
.brand .mark { width: 36px; height: 36px; flex: none; }
.brand b { display: block; font-size: 1.08rem; line-height: 1.1; }
.brand small { display: block; font-size: .78rem; opacity: .82; line-height: 1.2; }
.nav-desk { display: none; }
.nav-desk a, .nav-mob nav a { color: #fff; text-decoration: none; }
.top-cta { flex: none; }
.nav-mob { position: static; }
.nav-mob summary { list-style: none; cursor: pointer; padding: 10px 12px; min-height: 44px; border: 1.5px solid rgba(255,255,255,.55); border-radius: 8px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.nav-mob summary::-webkit-details-marker { display: none; }
.nav-mob summary::before { content: ''; width: 16px; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
.nav-mob[open] summary::before { content: '✕'; width: auto; height: auto; background: none; box-shadow: none; font-size: 1rem; line-height: 1; }
.nav-mob nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ridge); padding: 6px 16px 18px; display: grid; border-top: 1px solid rgba(255,255,255,.15); box-shadow: 0 14px 24px rgba(0,30,33,.35); }
.nav-mob nav a { padding: 14px 4px; font-size: 1.15rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.nav-mob nav a[aria-current] { color: var(--hivis); font-weight: 700; }
/* the reflective vest stripe */
.stripe { height: 12px; background: linear-gradient(var(--hivis) 0 3px, #cfd8d6 3px 6px, #f2f6f5 6px 7px, #cfd8d6 7px 9px, var(--hivis) 9px 12px); }
.announce { margin: 0; background: #fff8d1; border-bottom: 1px solid #e6d98f; padding: 10px 0; font-weight: 600; }

@media (min-width: 1000px) {
  .nav-desk { display: flex; gap: 2px; margin-right: 10px; }
  .nav-desk a { padding: 8px 10px; border-radius: 6px; font-weight: 600; font-size: .98rem; }
  .nav-desk a:hover { background: rgba(255,255,255,.1); }
  .nav-desk a[aria-current] { box-shadow: inset 0 -3px 0 var(--hivis); border-radius: 0; }
  .nav-mob { display: none; }
  .brand { margin-right: 18px; }
  .nav-desk { margin-left: auto; }
}
@media (max-width: 420px) { .brand small { display: none; } .brand b { font-size: 1rem; } .top-cta { padding: 9px 12px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: 11px 18px; min-height: 46px; border-radius: 8px; border: 2px solid var(--ridge); background: #fff; color: var(--ridge); text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { background: var(--mist); }
.btn.hi { background: var(--hivis); border-color: var(--hivis); color: var(--ink); }
.btn.hi:hover { background: var(--hivis-d); border-color: var(--hivis-d); }
.btn.ghost { background: transparent; }
.btn.big { font-size: 1.1rem; padding: 14px 22px; min-height: 54px; }
.btn.small { font-size: .95rem; padding: 8px 14px; min-height: 42px; }
.top .btn.ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (max-width: 560px) { .actions .btn.big { width: 100%; } }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ridge) url('/img/contours.svg') center / cover no-repeat; color: #fff; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,47,52,.9) 0%, rgba(0,47,52,.55) 50%, rgba(0,47,52,.1) 100%); pointer-events: none; }
@media (max-width: 700px) { .hero::after { background: linear-gradient(180deg, rgba(0,47,52,.5), rgba(0,47,52,.85)); } }
.hero-in { position: relative; z-index: 1; padding-top: clamp(40px, 9vw, 96px); padding-bottom: clamp(40px, 9vw, 96px); }
.hero h1 { color: #fff; font-size: var(--step-4); max-width: 15ch; line-height: 1.04; letter-spacing: -0.02em; margin-bottom: .45em; }
.hero .lede { max-width: 58ch; font-size: var(--step-1); line-height: 1.45; color: #e7f0ee; }
.hero .btn.ghost { color: #fff; border-color: rgba(255,255,255,.75); }
.hero .btn.ghost:hover { background: rgba(255,255,255,.1); }
.lede { font-size: var(--step-1); line-height: 1.45; max-width: 62ch; }

.band { background: var(--mist); padding: 34px 0 22px; border-bottom: 1px solid var(--line); }
.band h2 { margin-top: 0; }
.facts { padding: 0; list-style: none; display: grid; gap: 12px; }
.facts li { padding-left: 18px; border-left: 4px solid var(--ridge); font-size: 1.08rem; }

.missions { display: grid; gap: 16px 28px; grid-template-columns: 1fr; margin: 0 0 1em; }
.missions div { padding-top: 10px; border-top: 2px solid var(--line); }
.missions dt { font-weight: 750; color: var(--ridge); font-size: 1.08rem; }
.missions dd { margin: 4px 0 0; }
@media (min-width: 720px) { .missions:not(.one) { grid-template-columns: 1fr 1fr; } .missions:not(.one).three { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 1000px) { .missions:not(.one) { grid-template-columns: 1fr 1fr 1fr; } }

.paths { display: grid; gap: 16px; }
.path { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--ridge); border-radius: var(--radius); padding: 20px; }
.path:first-child { border-left-color: var(--hivis-d); }
.path h2 { margin-top: 0; font-size: var(--step-1); }
@media (min-width: 760px) { .paths { grid-template-columns: 1fr 1fr; } }

.section-head { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; justify-content: space-between; }
.section-head h2 { margin: 0 0 .5em; }
.empty { background: #fff; border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 18px; }

/* events */
.events { display: grid; gap: 14px; }
@media (min-width: 760px) { .events { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); } }
.event { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; }
.event h3 { margin: 2px 0 8px; }
.event h3 a { color: var(--ridge); text-decoration: none; }
.event h3 a:hover { text-decoration: underline; }
.event-kind { margin: 0; color: var(--muted); font-size: var(--step--1); font-weight: 600; }
.event-foot { margin: auto 0 0; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.tag { display: inline-block; font-size: .85rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--mist); color: var(--ridge); }
.tag.full, .tag.waitlist { background: #fff1c7; color: #6b4e00; }
.tag.new { background: var(--hivis); color: var(--ink); }
.tag.cancelled { background: #eee; color: #555; }
.tag.done { background: #dff0e6; color: var(--ok); }

/* milestones (a real sequence) */
.milestones { list-style: none; padding: 0; margin: 0 0 1em; position: relative; }
.milestones::before { content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.ms { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 0 0 16px; position: relative; }
.ms p { margin: 2px 0 0; color: var(--muted); }
.ms-dot { width: 24px; height: 24px; border-radius: 50%; border: 3px solid var(--line); background: var(--paper); margin-top: 1px; position: relative; z-index: 1; }
.ms.done .ms-dot { background: var(--ridge); border-color: var(--ridge); }
.ms.done .ms-dot::after { content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.ms.now .ms-dot { background: var(--hivis); border-color: var(--ridge); }
.ms-state { font-size: .85rem; font-weight: 700; color: var(--muted); margin-left: 4px; }
.ms.now .ms-state { color: var(--ridge); background: var(--hivis); padding: 1px 8px; border-radius: 999px; }

/* inner pages */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 30px 0 18px; }
.page-head.done { border-bottom: 6px solid var(--hivis); }
.crumbs { margin: 0 0 6px; font-size: var(--step--1); }
.crumbs a { color: var(--muted); }
.prose h2 { margin-top: 1.6em; }
.prose > p, .prose li { max-width: 68ch; }
.steps { padding-left: 1.4em; }
.steps li { margin-bottom: 10px; padding-left: 4px; }
.callout { background: #fff; border-left: 6px solid var(--hivis-d); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 18px; margin: 0 0 1.2em; box-shadow: 0 1px 0 var(--line); }
.facts-dl { display: grid; gap: 10px; margin: 0 0 1.2em; }
.facts-dl > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.facts-dl dt { color: var(--muted); font-weight: 600; }
.facts-dl dd { margin: 0; }

/* toolkit */
.tk-nav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 74px; z-index: 10; }
.tk-nav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tk-nav .wrap::-webkit-scrollbar { display: none; }
.tk-nav a { flex: none; padding: 13px 12px; text-decoration: none; color: var(--ink); font-weight: 600; border-bottom: 4px solid transparent; }
.tk-nav a[aria-current] { border-bottom-color: var(--ridge); color: var(--ridge); }
.tk-guide { display: grid; gap: 24px; }
.tk-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.small-h { font-size: 1.08rem; margin: 0 0 10px; }
.glance { list-style: none; padding: 0; display: grid; gap: 8px; }
.glance li { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
@media (min-width: 960px) { .tk-guide { grid-template-columns: 300px 1fr; align-items: start; } .tk-side { position: sticky; top: 140px; } }
.phase { margin-bottom: 26px; }
.phase h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 0; }
.phase-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ridge); color: var(--hivis); font-size: 1.2rem; flex: none; }
.phase-when { font-size: var(--step--1); font-weight: 600; color: var(--muted); background: var(--mist); padding: 3px 10px; border-radius: 999px; }
.tasks { list-style: none; padding: 0; display: grid; gap: 8px; }
.task { display: grid; grid-template-columns: 28px 1fr; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; cursor: pointer; }
.task input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--ridge); }
.task:has(input:checked) { background: #eef5f0; border-color: #a9c9b4; }
.task:has(input:checked) b { text-decoration: line-through; text-decoration-color: var(--ok); }
.tasks.plain .task { padding: 10px 14px; }

/* calculator */
.calc { display: grid; gap: 24px; }
@media (min-width: 960px) { .calc { grid-template-columns: 360px 1fr; align-items: start; } .totals { position: sticky; top: 132px; z-index: 2; background: var(--paper); padding: 6px 0; } }
.calc-in { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stepper { display: flex; align-items: stretch; }
.stepper input { text-align: center; border-radius: 0; min-width: 0; flex: 1; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper button { display: grid; place-items: center; padding: 0; width: 52px; font: inherit; font-size: 1.4rem; font-weight: 700; border: 1.5px solid #8ea6a3; background: var(--mist); color: var(--ridge); cursor: pointer; }
.stepper button:first-child { border-radius: 8px 0 0 8px; border-right: 0; }
.stepper button:last-child { border-radius: 0 8px 8px 0; border-left: 0; }
.totals { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-bottom: 10px; }
.total { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: flex; flex-direction: column; }
.total span { color: var(--muted); font-size: var(--step--1); font-weight: 600; }
.total b { font-size: var(--step-1); color: var(--ridge); font-variant-numeric: tabular-nums; }
.total.main { grid-column: 1 / -1; background: var(--ridge); border-color: var(--ridge); }
.total.main span { color: #cfe3e0; }
.total.main b { color: var(--hivis); font-size: var(--step-3); }
@media (min-width: 640px) { .totals { grid-template-columns: 1.4fr 1fr 1fr; } .total.main { grid-column: auto; } }
.more { margin-top: 8px; }
.more summary { cursor: pointer; font-weight: 700; color: var(--ridge-2); padding: 8px 0; }
.calc-bar { display: none; }
@media (max-width: 959px) { .js .calc-bar { display: flex; position: sticky; bottom: 0; z-index: 5; margin: 14px -18px -18px; padding: 12px 18px; background: var(--ridge); color: #fff; border-radius: 0 0 var(--radius) var(--radius); align-items: center; gap: 10px; box-shadow: 0 -6px 16px rgba(0,30,33,.18); }
  .calc-bar span { font-weight: 600; color: #cfe3e0; } .calc-bar b { color: var(--hivis); font-size: 1.35rem; margin-right: auto; font-variant-numeric: tabular-nums; } .calc-bar a { color: #fff; font-weight: 700; } }
[data-show-if] { display: none; }
[data-show-if].on { display: block; }

/* tables */
.tbl { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 1.2em; font-size: .98rem; }
.tbl th, .tbl td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { color: var(--muted); font-size: var(--step--1); font-weight: 700; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl tfoot td { font-weight: 750; color: var(--ridge); border-bottom: 0; background: var(--mist); }
.tbl .grp th, .tbl .grp td { background: #f2f6f4; color: var(--ridge); font-weight: 750; }
.basis { display: block; color: var(--muted); font-size: .88rem; }
@media (max-width: 600px) {
  .tbl:not(.cost) thead { display: none; }
  .tbl:not(.cost), .tbl:not(.cost) tbody, .tbl:not(.cost) tr, .tbl:not(.cost) td, .tbl:not(.cost) tfoot { display: block; width: 100%; }
  .tbl:not(.cost) tr { border-bottom: 1px solid var(--line); padding: 6px 0; }
  .tbl:not(.cost) td { border: 0; padding: 3px 12px; text-align: left; }
}

/* forms */
.form { margin: 0 0 1em; }
.grid2 { display: grid; gap: 0 18px; }
@media (min-width: 680px) { .grid2 { grid-template-columns: 1fr 1fr; } .grid2 .wide { grid-column: 1 / -1; } }
.field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; padding: 0; }
.field .opt { font-weight: 400; color: var(--muted); }
.hint { margin: -2px 0 6px; color: var(--muted); font-size: var(--step--1); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=url], input[type=date], input[type=time], input[type=search], input[type=password], input:not([type]), select, textarea {
  font: inherit; width: 100%; padding: 11px 12px; min-height: 50px; border: 1.5px solid #8ea6a3; border-radius: 8px; background: #fff; color: var(--ink); }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ridge); }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--red); border-width: 2px; }
.err { color: var(--red); font-weight: 700; margin: 6px 0 0; font-size: var(--step--1); }
.check-grid { display: grid; gap: 8px; }
@media (min-width: 680px) { .check-grid { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font-weight: 400; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--ridge); }
.check:has(input:checked) { border-color: var(--ridge); background: #eef5f3; }
.check.big { font-weight: 600; }
.field label.check { display: flex; padding: 12px 14px; margin: 0; font-weight: 400; }
.field label.check.big { font-weight: 600; }
@media (max-width: 560px) { .form > .btn.big { width: 100%; } }
.checks .check { margin: 0; }
.field.checks > .check + .check { margin-top: 8px; }
.alert { background: #fdecec; border: 2px solid var(--red); border-radius: var(--radius); padding: 14px 16px; margin: 0 0 18px; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.alert a { color: var(--red); font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* funding, docs, faq, programs */
.fund-list { display: grid; gap: 8px; margin-bottom: 1em; }
.fund, .faq details, .edit-row { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.fund summary, .faq summary, .edit-row summary { cursor: pointer; padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: space-between; align-items: baseline; list-style: none; }
.fund summary::-webkit-details-marker, .faq summary::-webkit-details-marker, .edit-row summary::-webkit-details-marker { display: none; }
.fund summary::after, .faq summary::after, .edit-row summary::after { content: '+'; font-size: 1.4rem; font-weight: 700; color: var(--ridge); margin-left: auto; line-height: 1; }
.fund[open] summary::after, .faq details[open] summary::after, .edit-row[open] summary::after { content: '−'; }
.fund summary span { color: var(--muted); font-size: var(--step--1); }
.fund > :not(summary), .faq details > p, .edit-row > form { padding: 0 16px 14px; }
.faq { display: grid; gap: 8px; margin-bottom: 1.4em; }
.faq summary { font-weight: 700; font-size: 1.08rem; color: var(--ridge); }
.doc-list { list-style: none; padding: 0; display: grid; gap: 0; margin: 0 0 1.2em; }
.doc-list li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.doc-list span { color: var(--muted); }
.programs { list-style: none; padding: 0; display: grid; gap: 12px; }
.programs li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.programs h3 { margin: 0 0 2px; }
.programs p { margin: 4px 0 0; }
.qs li { margin-bottom: 6px; }
.ask { border-top: 1px solid var(--line); margin-top: 20px; }

/* footer */
.foot { background: var(--ridge); color: #dbe8e5; margin-top: 30px; padding: 32px 0 26px; }
.foot a { color: #fff; }
.foot-in { display: grid; gap: 22px; }
.foot-ltrg img { background: #fff; padding: 8px 10px; border-radius: 8px; width: 180px; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; align-content: start; }
.foot-nav a { padding: 6px 0; }
.foot .muted { color: #b5cbc7; }
@media (min-width: 860px) { .foot-in { grid-template-columns: 1.3fr 1.2fr 1fr; } }

/* staff pages */
.admin .top-in { gap: 12px; }
.signout { margin: 0; }
.admin-head { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; }
.admin-head h1 { margin: 0; }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin: 10px 0 14px; }
.tabs a { flex: none; padding: 10px 12px; text-decoration: none; color: var(--ink); font-weight: 600; border-bottom: 3px solid transparent; }
.tabs a[aria-current] { border-bottom-color: var(--ridge); color: var(--ridge); }
.search { display: flex; gap: 8px; margin-bottom: 14px; }
.search input { flex: 1; }
.inbox { list-style: none; padding: 0; display: grid; gap: 8px; }
.inbox a { display: grid; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; text-decoration: none; color: var(--ink); }
.inbox a:hover { border-color: var(--ridge); }
.inbox li.new a { border-left: 5px solid var(--hivis-d); }
.ib-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.flash { background: #dff0e6; border-left: 5px solid var(--ok); padding: 10px 14px; border-radius: 6px; font-weight: 700; }
.danger { margin-top: 28px; }
.ms-edit { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px 0; margin: 0 0 10px; background: #fff; }
.signin { padding-top: 60px; }

/* only with / without JavaScript */
.js-only { display: none !important; }
.js .js-only { display: inline-flex !important; }
.js .noscript-only { display: none; }
p.js-only, .js p.js-only { display: none !important; }
.js p.js-only { display: block !important; }

@media print {
  .top, .tk-nav, .foot, .actions, .tk-side .actions, .ask, .calc-in, .skip { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .page-head { padding: 0; border: 0; }
  .task { break-inside: avoid; border: 1px solid #999; }
  .calc { display: block; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
