/* Flats — "Dublin doors": ink-navy frame, paper-cool canvas, and one saturated colour per door. */
@font-face { font-family: 'Bricolage'; src: url(/assets/fonts/bricolage-grotesque-latin-wght-normal.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(/assets/fonts/figtree-latin-wght-normal.woff2) format('woff2'); font-weight: 300 900; font-display: swap; }

:root {
  --ink: #17163b; --ink-2: #2a2860; --ink-soft: #a9a8d6;
  --bg: #f3f4fb; --card: #ffffff; --text: #1d1c3a; --muted: #6a6a8c; --line: #e3e4f2;
  --accent: #3b4ce8; --accent-hi: #2c3bd0; --accent-ink: #fff; --accent-soft: #e8eafe;
  --teal: #0e9aa7; --teal-soft: #d9f3f5; --sun: #f7b32b; --sun-soft: #fff1cf; --coral: #f25c54; --coral-soft: #ffe3e1;
  --green: #1f9d68; --green-soft: #d8f4e7; --pink: #e84f9c; --pink-soft: #fde1ef;
  --warn: #92600a; --warn-soft: var(--sun-soft); --bad: #c0352d; --bad-soft: var(--coral-soft); --ok: #17724b; --ok-soft: var(--green-soft);
  --radius: 14px; --shadow: 0 1px 2px rgba(23,22,59,.05), 0 8px 24px rgba(23,22,59,.06);
  --display: 'Bricolage', 'Segoe UI', system-ui, sans-serif; --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15.5px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: 1.9rem; } h2 { font-size: 1.3rem; } h3 { font-size: 1.05rem; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, white); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- layout: public + tenant pages ---------- */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 18px 56px; }
.narrow { max-width: 440px; margin: 8vh auto; }
.topbar { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 5; }
.topbar .wrap { display: flex; align-items: center; gap: 12px; padding-bottom: 0; padding-top: 12px; flex-wrap: wrap; min-height: 58px; }
.topbar .brand { font-family: var(--display); font-weight: 800; font-size: 1.15rem; margin-right: 8px; display: flex; align-items: center; gap: 10px; }
.topbar .small { color: var(--ink-soft); } .topbar button { background: rgba(255,255,255,.1); color: #fff; border-color: transparent; }
.topbar button:hover { background: rgba(255,255,255,.2); }
.logo { display: inline-flex; gap: 3px; } .logo i { width: 9px; height: 18px; border-radius: 5px 5px 1px 1px; display: block; }
.logo i:nth-child(1) { background: var(--coral); } .logo i:nth-child(2) { background: var(--sun); } .logo i:nth-child(3) { background: var(--teal); }

/* ---------- cards, grids, stats ---------- */
.card { background: var(--card); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.stat { position: relative; overflow: hidden; }
.stat .n { font-family: var(--display); font-size: 1.9rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat .l { color: var(--muted); font-size: .88rem; }

/* ---------- buttons & forms ---------- */
button, .btn { font: inherit; font-weight: 600; padding: 9px 16px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; text-decoration: none; display: inline-block; transition: transform .08s, background .12s, border-color .12s; }
button:hover, .btn:hover { border-color: var(--accent); color: var(--accent-hi); }
button:active, .btn:active { transform: translateY(1px); }
button.primary, .btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: 0 2px 0 var(--accent-hi); }
button.primary:hover, .btn.primary:hover { background: var(--accent-hi); color: #fff; }
button.danger { color: var(--bad); border-color: var(--coral-soft); background: #fff8f7; } button.danger:hover { border-color: var(--bad); color: var(--bad); }
button.small { padding: 4px 11px; font-size: .86rem; border-radius: 8px; }
button:disabled { opacity: .5; cursor: not-allowed; }
button[aria-disabled=true] { opacity: .6; cursor: progress; }
input, select, textarea { font: inherit; width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fbfbff; color: var(--text); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); background: #fff; outline: 0; box-shadow: 0 0 0 4px var(--accent-soft); }
textarea { min-height: 84px; resize: vertical; }
label { display: block; font-size: .86rem; font-weight: 600; color: var(--muted); margin: 12px 0 5px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; } .row.between { justify-content: space-between; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 14px; }
.fgrid .full { grid-column: 1 / -1; }

/* ---------- tables ---------- */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .82rem; color: var(--muted); font-weight: 700; background: #f8f8fd; }
th:first-child { border-radius: 10px 0 0 10px; } th:last-child { border-radius: 0 10px 10px 0; }
tbody tr:last-child td { border-bottom: 0; }
tr.click { cursor: pointer; } tr.click:hover td { background: #f6f7ff; } tr.click:focus-visible { outline-offset: -3px; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.scroll { overflow-x: auto; }

/* ---------- pills, badges, notes ---------- */
.pill { display: inline-block; padding: 2px 11px; border-radius: 99px; font-size: .8rem; font-weight: 700; background: var(--accent-soft); color: var(--accent-hi); white-space: nowrap; }
.pill.warn { background: var(--sun-soft); color: var(--warn); } .pill.bad { background: var(--coral-soft); color: var(--bad); }
.pill.ok { background: var(--green-soft); color: var(--ok); } .pill.gray { background: #ececf6; color: var(--muted); }
.badge { background: var(--coral); color: #fff; border-radius: 99px; font-size: .74rem; font-weight: 800; padding: 1px 7px; min-width: 20px; text-align: center; }
.muted { color: var(--muted); } .small { font-size: .88rem; }
.pos { color: var(--ok); } .neg { color: var(--bad); }
.error { background: var(--coral-soft); color: var(--bad); padding: 10px 14px; border-radius: 10px; margin: 10px 0; font-weight: 600; }
.note { background: var(--sun-soft); color: var(--warn); padding: 10px 14px; border-radius: 10px; margin: 10px 0; }
.sr { position: absolute; left: -9999px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 0; }
main:focus, h1:focus, h2:focus { outline: none; }
[aria-invalid=true] { border-color: var(--bad); background: #fff8f7; }
.field-error { color: var(--bad); font-size: .86rem; font-weight: 600; margin-top: 4px; }
.hint { margin-top: 4px; }
.form-summary { margin-top: 0; }

/* ---------- loading, empty and error states ---------- */
.state-loading { display: flex; align-items: center; gap: 10px; padding: 18px 4px; color: var(--muted); font-weight: 600; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.state-empty { background: var(--card); border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 22px; text-align: center; color: var(--muted); }
.state-empty p { margin: 0 0 12px; } .state-empty .row { justify-content: center; }
.state-failed { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
td .state-empty { border: 0; padding: 14px; }

/* ---------- dialog ---------- */
dialog { border: 0; border-radius: 20px; background: var(--card); color: var(--text); padding: 24px; width: min(660px, 94vw); box-shadow: 0 30px 80px rgba(23,22,59,.35); }
dialog::backdrop { background: rgba(23,22,59,.55); backdrop-filter: blur(3px); }
dialog[open] { animation: pop .16s ease-out; } @keyframes pop { from { transform: translateY(8px) scale(.98); opacity: 0; } }
dialog.wide { width: min(800px, 96vw); max-height: 92vh; overflow-y: auto; }

/* ---------- chat, threads ---------- */
.chat { display: flex; flex-direction: column; gap: 8px; max-height: 52vh; overflow-y: auto; padding: 4px; }
.msg { max-width: 82%; padding: 9px 14px; border-radius: 16px 16px 16px 4px; background: #eef0fb; white-space: pre-wrap; word-break: break-word; }
.msg.me { align-self: flex-end; background: var(--accent); color: #fff; border-radius: 16px 16px 4px 16px; }
.msg.me .t { color: rgba(255,255,255,.75); }
.msg .t { font-size: .74rem; color: var(--muted); margin-top: 3px; }
.msg video, .msg img { max-width: 100%; border-radius: 10px; margin-top: 6px; display: block; }
.msg.internal { background: var(--sun-soft); color: var(--warn); border: 1.5px dashed var(--sun); align-self: flex-start; }
.split { display: grid; grid-template-columns: 270px 1fr; gap: 14px; }
@media (max-width: 720px) { .split { grid-template-columns: 1fr; } }
.thread { padding: 12px 14px; border-bottom: 1px solid var(--line); cursor: pointer; border-radius: 10px; }
.thread:hover { background: #f6f7ff; } .thread.on { background: var(--accent-soft); }
.flatcard h3 { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.slots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* ---------- steps, chips, time grid, kv ---------- */
.steps { display: flex; gap: 6px; margin: 12px 0 16px; }
.steps > div { flex: 1; text-align: center; font-size: .78rem; font-weight: 600; color: var(--muted); }
.steps > div::before { content: ''; display: block; height: 8px; border-radius: 4px; background: var(--line); margin-bottom: 6px; }
.steps > div.done::before { background: var(--teal); } .steps > div.now { color: var(--text); } .steps > div.now::before { background: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.chips button { border-radius: 99px; padding: 6px 14px; }
.chips button.on, .timegrid button.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.timegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 7px; max-height: 40vh; overflow-y: auto; margin: 8px 0; }
.timegrid button { padding: 8px 4px; }
.offer { background: var(--accent-soft); border-radius: 12px; padding: 14px 16px; margin: 10px 0; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 3px 12px; font-size: .94rem; } .kv dt { color: var(--muted); } .kv dd { margin: 0; word-break: break-word; }
.sec { margin: 20px 0 6px; font-family: var(--display); font-weight: 700; font-size: 1rem; padding-bottom: 6px; border-bottom: 2px solid var(--line); }
.filebar { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; } .filebar .pill { display: inline-flex; gap: 6px; align-items: center; }
.pill button { padding: 0 4px; border: 0; background: none; color: inherit; line-height: 1; box-shadow: none; }
.bar { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--accent); width: 0; transition: width .1s linear; }

/* ================= ADMIN APP SHELL ================= */
.shell { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; }
.side { background: var(--ink); color: #fff; padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.side .brand { font-family: var(--display); font-weight: 800; font-size: 1.3rem; display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; }
.side .grp { font-size: .78rem; font-weight: 700; color: var(--ink-soft); padding: 16px 12px 6px; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: none; border: 0; color: #dcdcf5; padding: 10px 12px; border-radius: 12px; font-weight: 600; box-shadow: none; }
.nav:hover { background: rgba(255,255,255,.08); color: #fff; border: 0; }
.nav .ic { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-size: 1rem; background: rgba(255,255,255,.08); flex: none; }
.nav .badge { margin-left: auto; }
.nav.on, .nav[aria-current=page] { background: #fff; color: var(--ink); } .nav.on .ic { background: var(--c, var(--accent)); color: #fff; }
.side .foot { margin-top: auto; padding: 14px 10px 0; font-size: .85rem; color: var(--ink-soft); }
.side .foot button { width: 100%; background: rgba(255,255,255,.08); color: #fff; border: 0; }
.main { min-width: 0; }
.head { display: flex; align-items: center; gap: 14px; padding: 18px 28px; position: sticky; top: 0; z-index: 6; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); }
.head .menu { display: none; font-size: 1.2rem; padding: 6px 12px; }
.head .grow { flex: 1; min-width: 0; } .head .crumb { font-size: .85rem; color: var(--muted); font-weight: 600; }
.head h1 { margin: 0; font-size: 1.55rem; }
.bellbtn { position: relative; width: 46px; height: 46px; padding: 0; border-radius: 14px; font-size: 1.25rem; display: grid; place-items: center; }
.bellbtn .badge { position: absolute; top: -5px; right: -5px; border: 2px solid var(--bg); }
.bellbtn.ring { animation: ring .7s ease-in-out 2; } @keyframes ring { 20% { transform: rotate(14deg); } 40% { transform: rotate(-12deg); } 60% { transform: rotate(8deg); } 80% { transform: rotate(-4deg); } }
.content { padding: 4px 28px 60px; max-width: 1240px; }
.content > .row.between:first-child { justify-content: flex-end; }

/* notifications */
.notifpanel { position: fixed; top: 76px; right: 24px; width: min(420px, calc(100vw - 24px)); max-height: 72vh; overflow-y: auto; background: var(--card); border-radius: 18px; box-shadow: 0 24px 70px rgba(23,22,59,.3); z-index: 40; padding: 8px; animation: pop .14s ease-out; }
.notifpanel header { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.nitem { display: flex; gap: 12px; padding: 11px 12px; border-radius: 12px; cursor: pointer; align-items: flex-start; }
.nitem:hover { background: #f6f7ff; } .nitem.new { background: var(--accent-soft); }
.nitem .dot, .toastcard .dot { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 1.1rem; flex: none; background: var(--c, var(--accent)); color: #fff; }
.nitem b, .toastcard b { display: block; line-height: 1.25; } .nitem span, .toastcard span { color: var(--muted); font-size: .88rem; display: block; }
.nitem time { margin-left: auto; font-size: .76rem; color: var(--muted); white-space: nowrap; }
.toasts { position: fixed; bottom: 22px; right: 20px; display: flex; flex-direction: column-reverse; gap: 10px; z-index: 60; width: min(380px, calc(100vw - 24px)); pointer-events: none; }
.toastcard { pointer-events: auto; display: flex; gap: 12px; align-items: flex-start; background: var(--card); border-radius: 16px; padding: 12px 14px; box-shadow: 0 18px 50px rgba(23,22,59,.28); border-left: 6px solid var(--c, var(--accent)); cursor: pointer; animation: slidein .28s cubic-bezier(.2,.9,.3,1.2); }
.toastcard.out { opacity: 0; transform: translateX(30px); transition: .25s; } .toastcard .x { margin-left: auto; background: none; border: 0; color: var(--muted); padding: 0 4px; box-shadow: none; font-size: 1.1rem; }
@keyframes slidein { from { transform: translateX(60px); opacity: 0; } }
#toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 99px; opacity: 0; pointer-events: none; transition: opacity .2s; font-weight: 600; z-index: 70; box-shadow: 0 10px 30px rgba(23,22,59,.3); }
#toast.show { opacity: 1; }

/* dashboard: attention cards */
.hello { font-family: var(--display); font-size: 1.05rem; color: var(--muted); margin: 0 0 14px; font-weight: 500; }
.attn { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 22px; }
.acard { display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px; border-radius: 16px; border: 0; background: var(--c-soft); color: var(--text); box-shadow: none; }
.acard:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text); border: 0; }
.acard .big { font-family: var(--display); font-size: 2.3rem; font-weight: 800; line-height: 1; color: var(--c); min-width: 44px; }
.acard span { display: block; font-weight: 600; line-height: 1.25; } .acard small { display: block; color: var(--muted); font-weight: 500; }
.acard.zero { background: #fff; opacity: .75; } .acard.zero .big { color: var(--muted); }
.allclear { grid-column: 1 / -1; padding: 18px; border-radius: 16px; background: var(--green-soft); color: var(--ok); font-weight: 700; }

/* the doors: one arch per flat */
.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 14px; margin-bottom: 26px; }
.door { border: 0; padding: 0; background: none; box-shadow: none; text-align: center; color: var(--text); }
.door:hover { transform: translateY(-3px); border: 0; color: var(--text); }
.door .slab { background: var(--c); border-radius: 60px 60px 8px 8px; padding: 18px 10px 14px; color: #fff; position: relative; min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; box-shadow: inset 0 -6px 0 rgba(0,0,0,.13); }
.door .slab::before { content: ''; width: 46px; height: 22px; border-radius: 24px 24px 0 0; background: rgba(255,255,255,.35); margin-bottom: 4px; }
.door .num { font-family: var(--display); font-size: 2.1rem; font-weight: 800; line-height: 1; }
.door .st { font-size: .76rem; font-weight: 700; background: rgba(255,255,255,.9); color: var(--c); padding: 2px 10px; border-radius: 99px; margin-top: 4px; }
.door .who { font-size: .8rem; opacity: .95; line-height: 1.2; margin-top: auto; padding-top: 6px; overflow-wrap: anywhere; }
.door .slab::after { content: ''; position: absolute; right: 14px; top: 62%; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.8); }
.door.dim .slab { filter: saturate(.35) brightness(1.05); }

/* dashboard: pipeline board */
.board { display: grid; grid-template-columns: repeat(5, minmax(178px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 26px; }
.col { background: #e9ebf8; border-radius: 18px; padding: 10px; min-height: 130px; }
.col h3 { display: flex; align-items: center; gap: 8px; margin: 4px 6px 4px; font-size: .98rem; }
.col h3 i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); } .col h3 .count { margin-left: auto; background: #fff; border-radius: 99px; padding: 0 9px; font-size: .85rem; }
.col .hint { margin: 0 6px 10px; font-size: .8rem; color: var(--muted); }
.pcard { display: block; width: 100%; text-align: left; background: #fff; border: 0; border-left: 5px solid var(--c); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; box-shadow: 0 1px 3px rgba(23,22,59,.08); font-weight: 600; }
.pcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); border: 0; border-left: 5px solid var(--c); color: var(--text); }
.pcard small { display: block; color: var(--muted); font-weight: 500; } .pcard .flat { color: var(--c); font-weight: 800; }
.col .empty { margin: 8px 6px; color: var(--muted); font-size: .86rem; }
.legendrow { display: flex; gap: 8px; flex-wrap: wrap; margin: -8px 0 14px; }
.tip { background: #fff; border-radius: 14px; padding: 12px 16px; margin-bottom: 18px; border: 1.5px dashed var(--line); color: var(--muted); }
.tip b { color: var(--text); }
h2.sub { margin: 26px 0 12px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--c, var(--accent)); color: #fff; font-weight: 800; font-size: .85rem; flex: none; }
.flatdot { display: inline-block; padding: 1px 9px; border-radius: 8px; background: var(--c); color: #fff; font-weight: 800; font-size: .82rem; }

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: 280px; z-index: 50; transform: translateX(-102%); transition: transform .2s; }
  .side.open { transform: none; box-shadow: 10px 0 40px rgba(0,0,0,.3); }
  .scrim { position: fixed; inset: 0; background: rgba(23,22,59,.5); z-index: 45; }
  .head { padding: 12px 14px; } .head .menu { display: block; } .head h1 { font-size: 1.25rem; }
  .content { padding: 0 14px 60px; }
  .board { grid-template-columns: repeat(5, 78vw); scroll-snap-type: x mandatory; } .col { scroll-snap-align: start; }
  .toasts { bottom: 14px; right: 12px; } .notifpanel { top: 66px; right: 12px; }
}
@media (max-width: 600px) { body { font-size: 15px; } th, td { padding: 9px 7px; } h1 { font-size: 1.6rem; } .kv { grid-template-columns: 110px 1fr; } }

/* ---------- top tabs for the visitor + tenant pages ---------- */
nav.tabs { display: flex; gap: 4px; overflow-x: auto; flex: 1; }
nav.tabs button { background: none; border: 0; border-radius: 99px; padding: 8px 16px; color: var(--ink-soft); font-weight: 700; box-shadow: none; white-space: nowrap; }
nav.tabs button:hover { background: rgba(255,255,255,.1); color: #fff; border: 0; }
nav.tabs button.on, nav.tabs button[aria-current=page] { background: #fff; color: var(--ink); }
nav.tabs .badge { margin-left: 6px; }
@media (max-width: 600px) { nav.tabs { order: 3; flex: 1 1 100%; padding-bottom: 10px; } .topbar .wrap > .small, .topbar .wrap > .muted { margin-left: auto; } }
.brandlg { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; color: var(--ink); margin-bottom: 14px; }
pre.codes { background: var(--bg); padding: 12px; border-radius: 8px; font-size: 1.05rem; }
fieldset.days { border: 0; padding: 0; margin: 12px 0 0; } fieldset.days legend { font-size: .86rem; font-weight: 600; color: var(--muted); padding: 0; margin-bottom: 5px; }
label.check { display: inline-flex; gap: 6px; align-items: center; margin: 0 12px 6px 0; color: var(--ink); font-size: .95rem; }
label.check input { width: auto; }
.cardtitle { font-size: 1.05rem; }
ol.steps { list-style: none; padding: 0; } ol.steps > li { flex: 1; text-align: center; font-size: .78rem; font-weight: 600; color: var(--muted); }
ol.steps > li::before { content: ''; display: block; height: 8px; border-radius: 4px; background: var(--line); margin-bottom: 6px; }
ol.steps > li.done::before { background: var(--teal); } ol.steps > li.now { color: var(--text); } ol.steps > li.now::before { background: var(--accent); }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }
.card.row.filters { align-items: flex-end; }
