/* Town Solutions: "street blade" design system. Own look (POLICY 10/9): street-sign green, curb yellow, warm paper,
   ink navy; Bree Serif display + Signika (wayfinding sans). Fonts self-hosted, OFL. No shared-kit CSS. */
@font-face { font-family: "Signika"; src: url("/assets/fonts/signika-var-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Bree Serif"; src: url("/assets/fonts/bree-serif-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --paper: #f7f4ec; --paper-2: #efeadc; --card: #ffffff; --ink: #14202b; --ink-2: #3c4a57; --ink-3: #66727e;
  --line: #ddd5c3; --line-2: #c9bfa8;
  --blade: #1e6b52; --blade-dk: #134a38; --blade-lt: #e3efe9; --curb: #f4c542; --curb-lt: #fdf3d2; --post: #5d6b78;
  --c-trash: #3b4048; --c-recycling: #2a64ad; --c-yard: #4a8a2a; --c-bulk: #b0631c; --c-sweeping: #7454b0;
  --c-parking: #c2412d; --c-bill: #8a3f78; --c-tax: #0f7486; --c-license: #6b5a1e; --c-meeting: #2f5b4a; --c-other: #5b6470;
  --r: 14px; --r-sm: 9px; --shadow: 0 1px 2px rgba(20,32,43,.06), 0 8px 24px rgba(20,32,43,.08);
  --display: "Bree Serif", Georgia, "Times New Roman", serif;
  --sans: "Signika", "Segoe UI", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); font-feature-settings: "tnum" 1; }
img, svg { max-width: 100%; }
a { color: var(--blade-dk); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blade); }
:focus-visible { outline: 3px solid var(--curb); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; letter-spacing: -.005em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .5em 1em; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }
.shell { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

/* ---------- header ---------- */
.top { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; backdrop-filter: saturate(1.2); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); }
.blade { width: 42px; height: 42px; flex: none; }
.blade--sm { width: 30px; height: 30px; }
.brand__word { font: 400 1.32rem/1 var(--display); letter-spacing: .01em; }
.brand__word b { font-weight: 400; color: var(--blade); }
.nav { display: flex; align-items: center; gap: .35rem; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; padding: .5rem .8rem; border-radius: 999px; }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--curb); border-radius: 0; }
.nav .nav__go { background: var(--blade); color: #fff; padding: .55rem 1.05rem; font-weight: 600; }
.nav .nav__go:hover { background: var(--blade-dk); color: #fff; }

/* ---------- buttons, tags ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.35rem; border-radius: 999px;
  font: 600 1.02rem/1.1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn--go { background: var(--blade); color: #fff; }
.btn--go:hover { background: var(--blade-dk); color: #fff; }
.btn--curb { background: var(--curb); color: var(--ink); }
.btn--curb:hover { background: #e7b62c; color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--line:hover { border-color: var(--ink); color: var(--ink); }
.btn--small { min-height: 38px; padding: .45rem .95rem; font-size: .95rem; }
.btn--danger { background: #fff; color: #9b2c1c; border-color: #e4b6ad; }
.btn--danger:hover { background: #fbecea; color: #7c2214; }
.btnrow { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.tag { display: inline-block; font: 600 .78rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: .38rem .6rem; border-radius: 6px; background: var(--paper-2); color: var(--ink-2); margin: 0; }
.tag--preview { background: var(--curb); color: var(--ink); }
.tag--moved { background: var(--curb-lt); color: #6d5208; border: 1px solid #ecd58a; text-transform: none; letter-spacing: 0; font-weight: 600; }
.tag--skip { background: #fbecea; color: #8f2a1c; text-transform: none; letter-spacing: 0; }
.tag--pass { background: var(--blade-lt); color: var(--blade-dk); }
.eyebrow { font: 600 .82rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--blade); margin: 0 0 .9rem; }

/* ---------- home: hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(2rem, 4vw, 3.5rem); }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1.02; margin-bottom: .45em; }
/* v1.0.3 (TS-R6): the key words get the road's dashed centre line under them (as in the curb drawing), not a highlighter band */
.hero h1 em { font-style: normal; color: var(--blade); padding-bottom: .05em; background: repeating-linear-gradient(90deg, var(--curb) 0 .5em, transparent .5em .72em) left bottom / 100% .09em no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--ink-2); max-width: 34em; }
.hero__price { margin-top: 1.4rem; font-size: .98rem; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.hero__price strong { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.3rem; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: .35rem; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .75rem .3rem .45rem; font-size: .9rem; color: var(--ink-2); }
.chips .ic { width: 18px; height: 18px; }

/* phone frame */
.phone { position: relative; width: min(360px, 100%); margin-inline: auto; background: #10181f; border-radius: 44px; padding: 14px; box-shadow: 0 30px 60px -20px rgba(20,32,43,.45), 0 0 0 1px #2b3640 inset; }
.phone__screen { background: var(--paper); border-radius: 32px; overflow: hidden; }
.phone__bar { display: flex; justify-content: space-between; padding: .7rem 1.3rem .2rem; font-size: .78rem; font-weight: 600; color: var(--ink); }
.phone__head { padding: .6rem 1.2rem .9rem; border-bottom: 1px solid var(--line); }
.phone__head small { display: block; color: var(--ink-3); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.phone__head strong { font: 400 1.6rem/1.1 var(--display); }
.phone__list { list-style: none; margin: 0; padding: .4rem .8rem 1rem; }
.phone__list li { display: grid; grid-template-columns: 54px 1fr; gap: .6rem; align-items: start; padding: .65rem .4rem; border-bottom: 1px dashed var(--line); }
.phone__list li:last-child { border-bottom: 0; }
.pday { text-align: center; line-height: 1; }
.pday b { display: block; font: 400 1.5rem/1 var(--display); }
.pday span { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.pitems { display: grid; gap: .3rem; }
.pitem { display: flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .95rem; }
.pitem .ic { width: 20px; height: 20px; padding: 3px; border-radius: 6px; color: #fff; flex: none; }
.phone__note { font-size: .78rem; color: var(--ink-3); text-align: center; margin: .8rem 0 0; }

/* category colours */
.k-trash { --k: var(--c-trash); } .k-recycling { --k: var(--c-recycling); } .k-yard { --k: var(--c-yard); } .k-bulk { --k: var(--c-bulk); }
.k-sweeping { --k: var(--c-sweeping); } .k-parking { --k: var(--c-parking); } .k-bill { --k: var(--c-bill); } .k-tax { --k: var(--c-tax); }
.k-license { --k: var(--c-license); } .k-meeting { --k: var(--c-meeting); } .k-other { --k: var(--c-other); }
.pitem .ic, .dot, .rt__ic, .catpick input:checked + span .ic { background: var(--k, var(--c-other)); }
.chips .ic { color: var(--k, var(--ink-2)); }

/* curb strip illustration */
.curb { display: block; width: 100%; height: auto; margin-top: clamp(1.5rem, 4vw, 3rem); }

/* ---------- home: sections ---------- */
.band { padding: clamp(3rem, 7vw, 6rem) 0; }
.band--white { background: var(--card); border-block: 1px solid var(--line); }
.band--blade { background: var(--blade); color: #fff; }
.band--blade h2, .band--blade a { color: #fff; }
.band__head { max-width: 44rem; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.band__head p { color: var(--ink-2); font-size: 1.12rem; }
.band--blade .band__head p { color: #d9ebe3; }
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.cats li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.1rem 1.1rem; position: relative; overflow: hidden; }
.cats li::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--k); }
.cats .ic { width: 34px; height: 34px; color: var(--k); margin-bottom: .55rem; }
.cats h3 { font: 600 1.06rem/1.25 var(--sans); margin: 0 0 .25rem; }
.cats p { margin: 0; color: var(--ink-3); font-size: .95rem; }

/* holiday week strip */
.week { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; margin: 0 0 1.4rem; padding: 0; list-style: none; }
.week li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: var(--r-sm); padding: .8rem .6rem; min-height: 132px; display: flex; flex-direction: column; gap: .45rem; }
.week li.is-hol { background: var(--curb); color: var(--ink); border-color: var(--curb); }
.week b { font: 400 1.35rem/1 var(--display); }
.week small { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.week .was { text-decoration: line-through; opacity: .6; font-size: .9rem; }
.week .now { background: #fff; color: var(--ink); border-radius: 6px; padding: .25rem .45rem; font-weight: 600; font-size: .9rem; }
.rules3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.rules3 div { border-top: 3px solid var(--curb); padding-top: .8rem; }
.rules3 h3 { font: 600 1.08rem/1.3 var(--sans); margin-bottom: .3rem; }
.rules3 p { color: #d9ebe3; margin: 0; font-size: .98rem; }

/* examples / three ways */
.examples { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.examples li { display: grid; grid-template-columns: 44px 1fr; gap: .8rem; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; }
.examples .ic { width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: var(--k); color: #fff; }
.examples b { display: block; }
.examples span { color: var(--ink-3); font-size: .95rem; }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.way { background: var(--paper); border-radius: var(--r); padding: 1.5rem; border: 1px solid var(--line); }
.way__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font: 400 1.2rem/1 var(--display); margin-bottom: .8rem; }
.way p { color: var(--ink-2); margin: 0; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; max-width: 960px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.4rem, 3vw, 2rem); display: flex; flex-direction: column; gap: .4rem; position: relative; }
.plan--pass { border: 2px solid var(--blade); box-shadow: var(--shadow); }
.plan__name { font: 600 .95rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--blade); margin: 0; }
.plan__price { font: 400 2.7rem/1 var(--display); margin: .4rem 0 0; }
.plan__price small { font: 500 1rem/1 var(--sans); color: var(--ink-3); }
.plan__alt { color: var(--ink-2); margin: 0 0 .6rem; }
.plan ul { list-style: none; padding: 0; margin: .4rem 0 1rem; display: grid; gap: .45rem; }
.plan li { padding-left: 1.6rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 8px; border-left: 2.5px solid var(--blade); border-bottom: 2.5px solid var(--blade); transform: rotate(-45deg); }
.plan .tag--preview { position: absolute; top: -12px; right: 18px; }
.plan__fine { font-size: .92rem; color: var(--ink-3); margin-top: auto; }
.indep { display: grid; grid-template-columns: 64px 1fr; gap: 1.2rem; align-items: start; background: var(--curb-lt); border: 1px solid #ecd58a; border-radius: var(--r); padding: 1.4rem; max-width: 860px; }
.indep svg { width: 64px; height: 64px; }
.indep p { margin: 0; }
.faq { max-width: 820px; display: grid; gap: .7rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .2rem 1.1rem; }
/* v1.0.3 (TS-R5): own open/close marker inside the card's padding (the outside list marker sat on the card's border) */
.faq summary { cursor: pointer; font-weight: 600; padding: .85rem 0 .85rem 1.5rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ""; position: absolute; left: .1rem; top: calc(.85rem + .8em - 5px); border-left: 8px solid var(--blade); border-top: 5px solid transparent; border-bottom: 5px solid transparent; transition: transform .15s ease; }
.faq details[open] > summary::before { transform: rotate(90deg); }
.faq details p { color: var(--ink-2); }

/* ---------- inner pages ---------- */
.sheet { padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); }
.sheet--narrow { max-width: 780px; }
.sheet__h { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
.sheet__lead { font-size: 1.18rem; color: var(--ink-2); max-width: 40em; }
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.65rem; margin-top: 2.2rem; }
.prose h3 { font: 600 1.12rem/1.3 var(--sans); margin-top: 1.4rem; }
.prose li { margin-bottom: .4rem; }
.prose table { border-collapse: collapse; width: 100%; margin: 1rem 0 1.4rem; font-size: .98rem; }
.prose th, .prose td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; background: var(--paper-2); }
.callout { background: var(--card); border-left: 4px solid var(--blade); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 1rem 1.2rem; margin: 1.2rem 0; }
.callout--curb { border-left-color: var(--curb); background: var(--curb-lt); }
.msg { text-align: left; }

/* ---------- forms ---------- */
.form { display: grid; gap: 1.4rem; max-width: 760px; }
.field { display: grid; gap: .4rem; }
.field > label, .legend { font-weight: 600; }
.hint { color: var(--ink-3); font-size: .93rem; margin: 0; }
input[type=text], input[type=date], input[type=url], select, textarea {
  font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line-2); border-radius: 10px; padding: .7rem .8rem; width: 100%; min-height: 48px; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blade); outline: 3px solid rgba(30,107,82,.18); outline-offset: 0; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .6rem; min-width: 0; }
legend { font-weight: 600; padding: 0; margin-bottom: .4rem; }
.err { background: #fbecea; color: #7c2214; border: 1px solid #e9b9b0; border-radius: var(--r-sm); padding: .8rem 1rem; font-weight: 500; }
.ok { background: var(--blade-lt); color: var(--blade-dk); border: 1px solid #b8d6c9; border-radius: var(--r-sm); padding: .8rem 1rem; font-weight: 500; }
.catpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .5rem; }
.catpick label, .howoften label, .pills label { position: relative; cursor: pointer; }
.catpick input, .howoften input, .pills input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.catpick span { display: flex; align-items: center; gap: .55rem; padding: .6rem .7rem; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; font-weight: 500; font-size: .96rem; min-height: 52px; }
.catpick .ic { width: 28px; height: 28px; padding: 4px; border-radius: 8px; color: var(--k); background: transparent; flex: none; }
.catpick input:checked + span { border-color: var(--k); box-shadow: 0 0 0 1.5px var(--k) inset; }
.catpick input:checked + span .ic { color: #fff; }
.catpick input:focus-visible + span, .howoften input:focus-visible + span, .pills input:focus-visible + span { outline: 3px solid var(--curb); outline-offset: 2px; }
.howoften { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.howoften span { display: block; padding: .85rem 1rem; border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff; height: 100%; }
.howoften b { display: block; font-size: 1.02rem; }
.howoften small { color: var(--ink-3); font-size: .88rem; }
.howoften input:checked + span { border-color: var(--blade); box-shadow: 0 0 0 1.5px var(--blade) inset; background: var(--blade-lt); }
.pills { display: flex; flex-wrap: wrap; gap: .45rem; }
.pills span { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem .95rem; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; font-weight: 500; }
.pills input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.kindbox { border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem; background: var(--card); display: grid; gap: .9rem; }
.kindbox h3 { font: 600 1rem/1.3 var(--sans); margin: 0; color: var(--ink-2); }
.js .kindbox[hidden] { display: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.row4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .35rem .9rem; }
.check { display: flex; gap: .55rem; align-items: flex-start; padding: .35rem 0; }
.check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--blade); flex: none; }
.check small { display: block; color: var(--ink-3); }
details.more { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); padding: .2rem 1.1rem; }
details.more summary { cursor: pointer; font-weight: 600; padding: .8rem 0; }
details.more[open] { padding-bottom: 1.1rem; }

/* ---------- the desk (a calendar) ---------- */
.desk { padding: clamp(1.5rem, 4vw, 2.8rem) 0 4rem; }
.desk__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.4rem; }
.desk__head h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 0; }
.desk__tools { display: flex; flex-wrap: wrap; gap: .5rem; }
.keybox { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; background: var(--ink); color: #fff; border-radius: var(--r); padding: .9rem 1rem; margin-bottom: 1.4rem; }
.keybox svg { width: 28px; height: 28px; color: var(--curb); }
.keybox p { margin: 0; font-size: .95rem; color: #cfd8df; }
.keybox code { display: block; color: #fff; font: 500 .95rem/1.4 var(--sans); word-break: break-all; }
.keybox .btn { background: var(--curb); color: var(--ink); }
.grid2 { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 1.4rem; align-items: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.1rem, 2.5vw, 1.6rem); }
.card > h2 { font-size: 1.45rem; margin-bottom: .8rem; }
.next { background: var(--blade); color: #fff; border: 0; position: relative; overflow: hidden; }
.next h2 { color: #d9ebe3; font: 600 .85rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.next__day { font: 400 clamp(2.4rem, 5vw, 3.4rem)/1 var(--display); margin: 0; }
.next__date { color: #d9ebe3; margin: .3rem 0 1rem; font-size: 1.05rem; }
.next ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.next li { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; background: rgba(255,255,255,.1); border-radius: 12px; padding: .6rem .7rem; font-weight: 600; }
.next .rt__ic { width: 32px; height: 32px; padding: 5px; border-radius: 9px; color: #fff; }
.next::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 18px solid rgba(244,197,66,.22); }
.agenda { list-style: none; margin: 0; padding: 0; }
.agenda > li { display: grid; grid-template-columns: 84px 1fr; gap: .9rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.agenda > li:last-child { border-bottom: 0; }
.agenda .when b { display: block; font: 400 1.25rem/1.1 var(--display); }
.agenda .when span { color: var(--ink-3); font-size: .86rem; }
.agenda .what { display: grid; gap: .4rem; }
.occ { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.occ .rt__ic { width: 26px; height: 26px; padding: 4px; border-radius: 7px; color: #fff; }
.occ--skip { opacity: .7; }
.occ--skip .rt__ic { filter: grayscale(1); }
.empty { text-align: center; padding: 1.4rem 1rem; color: var(--ink-2); }
.quick { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1rem; }
.quick a { display: inline-flex; align-items: center; gap: .4rem; border: 1.5px solid var(--line-2); border-radius: 999px; padding: .45rem .85rem; text-decoration: none; color: var(--ink); background: #fff; font-weight: 500; }
.quick .ic { width: 20px; height: 20px; color: var(--k); }
.rts { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.rt { display: grid; grid-template-columns: 40px 1fr auto; gap: .8rem; align-items: start; padding: .8rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.rt .rt__ic { width: 40px; height: 40px; padding: 8px; border-radius: 11px; color: #fff; }
.rt h3 { font: 600 1.04rem/1.3 var(--sans); margin: 0; }
.rt p { margin: .1rem 0 0; color: var(--ink-2); font-size: .94rem; }
.rt__acts { display: flex; gap: .4rem; align-items: center; }
.rt__acts form { margin: 0; }
.meter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; font-size: .95rem; color: var(--ink-2); margin: 1rem 0 0; }
.monthnav { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .8rem; }
.monthnav h2 { margin: 0; font-size: 1.5rem; }
.cal { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.cal th { font: 600 .78rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: .3rem 0; }
.cal td { vertical-align: top; background: var(--paper); border-radius: 9px; height: 74px; padding: .35rem; font-size: .8rem; }
.cal td.out { background: transparent; }
.cal td.today { box-shadow: 0 0 0 2px var(--blade) inset; }
.cal td.hol { background: var(--curb-lt); }
.cal .dn { font-weight: 600; font-size: .85rem; }
.cal .dots { display: flex; flex-wrap: wrap; gap: 3px; margin-top: .3rem; }
.dot { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.dot--moved { box-shadow: 0 0 0 2px var(--curb); }
.cal .hn { display: block; color: #6d5208; font-size: .7rem; line-height: 1.15; margin-top: .2rem; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; list-style: none; padding: 0; margin: .9rem 0 0; font-size: .88rem; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: .35rem; }
.paybox { border: 2px dashed var(--line-2); border-radius: var(--r); padding: 1rem 1.1rem; background: var(--card); }
.paybox p { margin: 0 0 .4rem; }
.feedurl { display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
.feedurl input { font-size: .95rem; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.steps li { counter-increment: s; padding-left: 2.6rem; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--blade-lt); color: var(--blade-dk); display: grid; place-items: center; font-weight: 700; }
.danger { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; color: var(--ink-3); font-size: .95rem; }

/* print views */
.printbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.sheetcal h1 { font-size: 2.2rem; margin: 0; }
.sheetcal .cal td { height: 104px; }
.sheetcal .item { display: flex; align-items: center; gap: 3px; margin-top: 3px; font-size: .74rem; line-height: 1.15; }
.sheetcal .item .ic { width: 15px; height: 15px; padding: 2px; border-radius: 4px; color: #fff; background: var(--k); flex: none; }
.year { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.year .mini { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .6rem; }
.year .mini h2 { font: 600 .95rem/1.2 var(--sans); margin: 0 0 .3rem; }
.year .cal { border-spacing: 2px; }
.year .cal td { height: 30px; padding: 2px; font-size: .68rem; border-radius: 5px; }
.year .cal th { font-size: .62rem; padding: 0; }
.year .dot { width: 7px; height: 7px; border-radius: 2px; }
.year .cal .dots { gap: 1px; margin-top: 1px; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #cfd8df; margin-top: 0; }
.foot a { color: #fff; }
.foot__grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 2rem; padding: 3rem 0 2rem; }
.foot__mark { display: flex; align-items: center; gap: .5rem; font: 400 1.25rem/1 var(--display); color: #fff; }
.foot__mark b { font-weight: 400; color: var(--curb); }
.foot__indep { font-size: .9rem; color: #a9b6c1; }
.foot__links { display: grid; gap: .45rem; align-content: start; }
.foot__links a { text-decoration: none; }
.foot__links a:hover { text-decoration: underline; }
.foot__money p { margin: 0 0 .5rem; }
.foot__money strong { color: #fff; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; border-top: 1px solid #2c3a47; padding: 1.1rem 0 1.6rem; font-size: .92rem; }
.foot__base p { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__grid, .grid2 { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .ways, .rules3 { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .year { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  body { font-size: 1rem; }
  .shell { width: min(1180px, 100% - 1.5rem); }
  .top__in { flex-wrap: wrap; gap: .2rem; padding: .55rem 0; min-height: 0; }
  .blade { width: 36px; height: 36px; }
  .brand__word { font-size: 1.15rem; }
  .nav { width: 100%; justify-content: space-between; }
  .nav a { padding: .45rem .6rem; font-size: .95rem; }
  .week { grid-template-columns: repeat(3, 1fr); }
  .plans, .howoften, .row2 { grid-template-columns: 1fr; }
  .row4 { grid-template-columns: 1fr 1fr; }
  .cats { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .keybox { grid-template-columns: 1fr; }
  .keybox svg { display: none; }
  .agenda > li { grid-template-columns: 68px 1fr; }
  .cal td { height: 54px; font-size: .72rem; padding: .2rem; }
  .cal .hn { display: none; }
  .rt { grid-template-columns: 34px 1fr; }
  .rt .rt__ic { width: 34px; height: 34px; padding: 6px; }
  .rt__acts { grid-column: 1 / -1; }
  .year { grid-template-columns: 1fr 1fr; }
  .sheetcal .cal td { height: 70px; }
  .sheetcal .item span { display: none; }
  .indep { grid-template-columns: 1fr; }
}
@media print {
  .top, .foot, .printbar, .skip, .noprint { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .shell { width: 100%; }
  .sheetcal .cal td, .year .mini, .cal td { background: #fff !important; border: 1px solid #bbb; }
  .dot, .sheetcal .item .ic { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .year { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.band--blade .eyebrow { color: var(--curb); }
.indep h2 { font-size: 1.5rem; }

/* ---------- v1.1.0 AdEngine banner (adengine.us): one labelled slot between the page and the footer, public pages only.
   The reserved height (label 16 + 4 + banner) and all spacing sit on the <ins>: when tag.js hides an unfilled slot,
   the label, the space and the empty landmark go with it, and the page closes up exactly as before. ---------- */
.ae-slot { margin: 0; padding: 0 1.25rem; }
.ae-slot ins.adengine { display: block; max-width: 728px; min-height: 110px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; text-decoration: none; }
.ae-slot ins.adengine::before { content: "Advertisement"; display: block; margin-bottom: 4px; font: 600 11px/16px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.ae-slot ins.adengine a { display: inline-block; vertical-align: top; }
.ae-slot:has(> ins.adengine[style*="none"]) { display: none; }
@media (max-width: 767px) { .ae-slot ins.adengine { max-width: 300px; min-height: 270px; } }
@media print { .ae-slot { display: none; } }
