/* AIEventOps – phone first (390 px), light and dark, every tap at least 44 px */
:root {
  --bg: #f4f6f5; --card: #ffffff; --ink: #17201d; --muted: #5b6a64; --line: #d5ddd9; --soft: #e9efec;
  --brand: #0f6b5c; --brand-ink: #ffffff; --accent: #b4590a; --ok: #1d7a3a; --warn: #8a5a00; --bad: #b42318;
  --okbg: #e3f4e8; --warnbg: #fff3d6; --badbg: #fde7e5; --sel: #dff1ec;
  --r: 14px; --tap: 44px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1513; --card: #17211e; --ink: #e8efec; --muted: #9fb0a9; --line: #2c3a35; --soft: #1f2b27;
    --brand: #52c7b0; --brand-ink: #062a24; --accent: #f0a35a; --ok: #6fd28a; --warn: #f2c35b; --bad: #ff8a80;
    --okbg: #16301f; --warnbg: #352a10; --badbg: #3a1b18; --sel: #173a33; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1513; --card: #17211e; --ink: #e8efec; --muted: #9fb0a9; --line: #2c3a35; --soft: #1f2b27;
  --brand: #52c7b0; --brand-ink: #062a24; --accent: #f0a35a; --ok: #6fd28a; --warn: #f2c35b; --bad: #ff8a80;
  --okbg: #16301f; --warnbg: #352a10; --badbg: #3a1b18; --sel: #173a33; color-scheme: dark;
}
* { box-sizing: border-box }
html, body { background: var(--bg); overflow-x: clip }
body { margin: 0; color: var(--ink); font: 16px/1.45 var(--font); min-height: 100vh; -webkit-text-size-adjust: 100% }
a { color: var(--brand) }
.skip { position: absolute; left: -9999px } .skip:focus { left: 12px; top: 12px; z-index: 60; background: var(--card); color: var(--ink); padding: 10px 12px; border-radius: 8px }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px }
h1, h2, h3 { line-height: 1.2; margin: 0 }
h1 { font-size: 1.45rem } h2 { font-size: 1.15rem } h3 { font-size: 1rem }

.bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 6px; padding: 8px 16px; padding-top: max(8px, env(safe-area-inset-top));
  background: var(--card); border-bottom: 1px solid var(--line) }
.brand { display: flex; align-items: center; gap: 10px; min-height: var(--tap); margin-right: auto; text-decoration: none; color: var(--ink); min-width: 0 }
.brand .logo { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--brand); font-size: 20px; flex: none }
.brand b { display: block; font-size: 1.05rem } .brand small { display: block; color: var(--muted); font-size: .78rem; margin-top: -2px }
.ib { min-width: var(--tap); min-height: var(--tap); border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 1.15rem; cursor: pointer }
#ebeSites .ebes > button { width: var(--tap); height: var(--tap) }
.menu { position: fixed; z-index: 40; right: 12px; top: 64px; width: min(330px, calc(100vw - 24px)); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 12px 30px rgba(0,0,0,.25); padding: 6px }
.menu > * { display: flex; align-items: center; width: 100%; min-height: var(--tap); padding: 8px 12px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer }
.menu > *:hover { background: var(--soft) }

.wrap { max-width: 1100px; margin: 0 auto; padding: 14px 16px 24px }
.wrap:focus { outline: none }
.foot { max-width: 1100px; margin: 0 auto; padding: 8px 16px 28px; color: var(--muted); font-size: .88rem }
.foot a { display: inline-block; min-height: var(--tap); line-height: var(--tap) }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--tap); padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); font: 600 .95rem var(--font); cursor: pointer; text-decoration: none; white-space: nowrap }
.btn.pri { background: var(--brand); color: var(--brand-ink); border-color: var(--brand) }
.btn.ghost { background: transparent }
.btn:disabled { opacity: .5; cursor: default }
.btn.sm { padding: 6px 10px; font-size: .9rem }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center }
.row.end { justify-content: flex-end }
.sp { flex: 1 }
.note { color: var(--muted); font-size: .92rem; margin: 6px 0 }
.warnbox { background: var(--warnbg); border-radius: 12px; padding: 10px 12px; margin: 10px 0; font-size: .92rem }

.head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 12px }
.head h1 { margin-right: auto }
.back { min-height: var(--tap); display: inline-flex; align-items: center; text-decoration: none; font-weight: 600 }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; min-width: 0 }
a.card { display: block; color: var(--ink); text-decoration: none; min-height: var(--tap) }
a.card:hover { border-color: var(--brand) }
.card b { display: block; font-size: 1.02rem }
.card small, .meta { color: var(--muted); font-size: .88rem }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px }
.pill { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--soft); color: var(--muted) }
.pill.confirmed { background: var(--okbg); color: var(--ok) } .pill.requested { background: var(--warnbg); color: var(--warn) } .pill.cancelled { background: var(--badbg); color: var(--bad) }
.pill.review { background: var(--sel); color: var(--brand) }

.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin: 0 -16px 12px; padding: 0 16px; position: sticky; top: 61px; z-index: 20; background: var(--bg) }
.tabs a { flex: none; display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 12px; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; white-space: nowrap }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brand) }

.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0 }
.field > span { font-size: .85rem; font-weight: 600; color: var(--muted) }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; min-height: var(--tap); width: 100%; min-width: 0 }
textarea { min-height: 140px; resize: vertical; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px }
input[type="checkbox"] { width: 24px; height: 24px; min-height: 24px; accent-color: var(--brand); margin: 0 }
.inline { display: grid; grid-template-columns: 1fr 1fr; gap: 8px }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
.grid2 .full { grid-column: 1 / -1 }
.chips { display: flex; flex-wrap: wrap; gap: 6px }
.chip { min-height: var(--tap); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--soft); color: var(--ink); font: 600 .88rem var(--font); cursor: pointer }
.chip[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand) }
.seg { display: flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden }
.seg button { flex: 1; min-height: var(--tap); border: 0; background: var(--card); color: var(--ink); font: 600 .9rem var(--font); cursor: pointer; padding: 0 6px }
.seg button + button { border-left: 1px solid var(--line) }
.seg button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink) }

/* guest rows */
.list { display: flex; flex-direction: column; gap: 8px }
.grp { margin: 14px 0 6px; font-size: .95rem; display: flex; gap: 8px; align-items: baseline }
.grp small { color: var(--muted); font-weight: 400 }
.g { display: grid; grid-template-columns: var(--tap) 1fr; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r) }
.g.on { background: var(--sel); border-color: var(--brand) }
.g.cx { opacity: .6 }
.g label.ck { display: grid; place-items: center; min-height: 100%; min-width: var(--tap); padding: 12px 0; cursor: pointer }
.g button.open { display: block; width: 100%; min-height: var(--tap); text-align: left; background: none; border: 0; color: var(--ink); font: inherit; padding: 10px 12px 10px 0; cursor: pointer }
.g .l1 { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap }
.g .l1 b { font-size: 1rem }
.g .c1, .g .c2, .g .c3 { display: block; min-width: 0 }
.g .dates { font-variant-numeric: tabular-nums }
.selbar { position: sticky; bottom: 0; z-index: 25; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: var(--card); border: 1px solid var(--brand); border-radius: var(--r); padding: 8px 10px; margin-top: 10px; box-shadow: 0 -6px 18px rgba(0,0,0,.12) }

/* the room block grid */
.gridwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card) }
table.blk { border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 100% }
table.blk th, table.blk td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap }
table.blk th:first-child, table.blk td:first-child { text-align: left; position: sticky; left: 0; background: var(--card) }
table.blk thead th { font-size: .82rem; color: var(--muted); vertical-align: bottom; white-space: normal; min-width: 70px }
table.blk td.z { color: var(--line) }
table.blk td.hi { background: var(--sel); font-weight: 700 }
table.blk tfoot td, table.blk .tot { font-weight: 700 }

dialog { width: min(560px, calc(100vw - 16px)); max-height: calc(100dvh - 16px); padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--card); color: var(--ink) }
dialog::backdrop { background: rgba(0,0,0,.45) }
dialog form { display: flex; flex-direction: column; gap: 12px; padding: 16px }
dialog .dh { display: flex; align-items: center; gap: 8px }
dialog .dh h2 { margin-right: auto }
.prev { max-height: 220px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; font-size: .85rem }
.prev table { border-collapse: collapse; width: 100% } .prev td, .prev th { padding: 4px 6px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap }

.toast { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; display: flex; gap: 10px; align-items: center;
  max-width: calc(100vw - 24px); background: var(--ink); color: var(--bg); padding: 8px 8px 8px 14px; border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.3) }
.toast[hidden] { display: none }
.toast .btn { background: transparent; color: var(--bg); border-color: var(--bg) }
.empty { text-align: center; padding: 26px 12px; color: var(--muted) }
.empty .big { font-size: 2.2rem }
.done { text-decoration: line-through; color: var(--muted) }

#printArea { display: none }
@media (min-width: 760px) {
  .g button.open.gr { display: grid; grid-template-columns: 1.4fr 1.6fr 1fr; gap: 10px; align-items: center }
}
@media print {
  body > *:not(#printArea) { display: none !important }
  html, body { background: #fff; color: #000 }
  #printArea { display: block; font: 10.5pt/1.3 var(--font) }
  #printArea section { break-after: page }
  #printArea section:last-child { break-after: auto }
  #printArea h1 { font-size: 15pt } #printArea p { margin: 2px 0 8px; color: #333 }
  #printArea table { width: 100%; border-collapse: collapse }
  #printArea th, #printArea td { border: 1px solid #999; padding: 4px 5px; text-align: left; vertical-align: top }
  #printArea th { background: #eee }
  #printArea tr { break-inside: avoid }
  @page { size: A4 landscape; margin: 12mm }
}
.g button.open > span { display: block }

/* 🔑 ECO_AUTH: the account button in the header and the line under "Your events" */
#ecoAcct { display: inline-flex; flex: none; min-width: 0 }
.cloudline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 8px 0 12px }
.cloudline .note { margin: 0 }
@media (max-width: 420px) { .bar { gap: 4px; padding-left: 12px; padding-right: 12px } .brand { gap: 8px } .brand small { display: none } .bar:has(#ecoAcctBtn) .brand > span:last-child { display: none } #ecoAcct { margin-left: 4px } }
/* 🔑 ECO_SIGNEDOUT: lists kept on this device only */
.cloudline.devonly { background: var(--warnbg); border-radius: 12px; padding: 8px 10px }
.devchip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border-radius: 999px; background: var(--card, #fff); border: 1.5px solid var(--line); font-weight: 700; font-size: .88rem; color: var(--ink) }
/* 📚 ECO_SECTIONS */
.seclist { display: grid; gap: 10px; grid-template-columns: 1fr }
@media (min-width: 900px) { .seclist { grid-template-columns: 1fr 1fr } }
.sec { display: grid; gap: 8px; text-align: left }
.sech { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px }
.sech .secn { font-size: 1.05rem; flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere }
.secb { display: flex; flex-wrap: wrap; gap: 8px }
.secf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px }
.secf .meta { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere }
.btn.off { opacity: .45; cursor: not-allowed; pointer-events: none; filter: grayscale(1) }
a.btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center }
/* ℹ️ ECO_DETAILS */
.evdet { margin: 8px 0 12px; text-align: left }
.evdet summary { min-height: 44px; display: flex; align-items: center; font-weight: 700; cursor: pointer }
.dlist { display: grid; gap: 8px; margin-top: 6px }
.dl { display: grid; grid-template-columns: minmax(110px, 160px) 1fr; gap: 4px 10px; align-items: start }
@media (max-width: 480px) { .dl { grid-template-columns: 1fr } }
.dk { color: var(--muted); font-size: .9rem; font-weight: 600 }
.dv { display: flex; flex-wrap: wrap; gap: 4px 12px; overflow-wrap: anywhere }
.dcon { display: block; width: 100% }
.dcon a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 8px }
.detf .drow { border-top: 1px dashed var(--line); padding-top: 6px; margin-top: 6px }
/* 📋 ECO_TABLES – big tables, a screen at a time */
.tblock { margin: 10px 0 18px; min-width: 0 }
.thead { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap }
.ttools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0 }
.ttools .tq { flex: 1 1 220px; min-height: var(--tap) }
.tgroups { display: flex; flex-wrap: wrap; gap: 6px }
.tgrid { position: relative; overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); max-width: 100%; -webkit-overflow-scrolling: touch; overscroll-behavior: contain }
.tin { position: relative; min-width: 100% }
.tgrid .tr { display: flex; height: 40px; width: 100% }
.tgrid .tbody { position: relative }
.tgrid .tbody .tr { position: absolute; left: 0; right: 0; border-bottom: 1px solid var(--line) }
.tgrid .tc { flex: none; box-sizing: border-box; height: 40px; padding: 0 8px; display: flex; align-items: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; border-right: 1px solid var(--line); background: var(--card); font-size: .9rem }
.tgrid .tc.nr { justify-content: flex-end; font-variant-numeric: tabular-nums }
.tgrid .tc.ctr { justify-content: center }
.tgrid .tc.fz { position: sticky; z-index: 1 }
.tgrid .th { position: sticky; top: 0; z-index: 3 }
.tgrid .th .tc { background: var(--soft); font-weight: 700; padding: 0 }
.tgrid .th .tc.fz { z-index: 4 }
.tsort { all: unset; box-sizing: border-box; width: 100%; height: 100%; padding: 0 8px; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700 }
.tsort:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px }
.tgrid .tf { position: sticky; bottom: 0; z-index: 3 }
.tgrid .tf .tc { background: var(--soft); font-weight: 700 }
.tgrid .tf .tc.fz { z-index: 4 }
.tgrid .tr.hl .tc { background: color-mix(in srgb, var(--hl) 70%, var(--card)) }
.tgrid .tr.cx .tc { text-decoration: line-through; color: var(--muted) }
.tgrid .tc.tkey { font-weight: 600; cursor: pointer; text-decoration-color: var(--muted) }
.tgrid .tc.tkey::before { content: "ⓘ"; margin-right: 6px; color: var(--muted); font-weight: 400 }
.tgrid .tc a { color: var(--brand); overflow: hidden; text-overflow: ellipsis }
.tgrid .tc.editing { padding: 0; overflow: visible }
.tgrid .tedit { box-sizing: border-box; width: 100%; height: 100%; border: 2px solid var(--brand); border-radius: 0; font: inherit; padding: 0 6px; background: var(--card); color: var(--ink) }
.ttabs { overflow-x: auto }
.tfields .fv { display: block; padding: 6px 0; overflow-wrap: anywhere }
@media (prefers-color-scheme: dark) { :root:not([data-theme=light]) .tgrid .tr.hl .tc { background: color-mix(in srgb, var(--hl) 22%, var(--card)) } }
:root[data-theme=dark] .tgrid .tr.hl .tc { background: color-mix(in srgb, var(--hl) 22%, var(--card)) }
/* 🛏️ ECO_ROOMING2 */
.pill.not_sure { background: var(--soft); color: var(--ink); border: 1px dashed var(--muted) }
.pill.gt { background: var(--sel); color: var(--ink) }
.g.staff, table.nights tr.staff th, table.nights tr.staff td { background: color-mix(in srgb, #5a8dd6 12%, var(--card)) }
.nsort { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0 }
.nwrap { max-height: 70vh; overflow: auto }
table.nights thead th { position: sticky; top: 0; z-index: 2; background: var(--soft) }
table.nights thead th:first-child { z-index: 3 }
table.nights tbody th { position: sticky; left: 0; background: var(--card); text-align: left; z-index: 1 }
table.nights .evday { background: color-mix(in srgb, var(--brand) 14%, var(--card)) }
table.nights thead th.evday { background: color-mix(in srgb, var(--brand) 26%, var(--soft)); color: var(--ink) }
table.nights td.tick { color: var(--brand); font-weight: 800 }
table.nights tr.cx th, table.nights tr.cx td { text-decoration: line-through; opacity: .6 }
table.nights tfoot td { position: sticky; bottom: 0; background: var(--soft) }
.lnk { all: unset; cursor: pointer; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center }
.lnk:focus-visible { outline: 2px solid var(--brand) }
/* 👁️ ECO_WATCH: the closed row of events only kept an eye on, and its chooser */
.evwatch { margin: 10px 0 }
.evwatch summary { min-height: 44px; display: flex; align-items: center; font-weight: 700; cursor: pointer }
.evwatch .cards { margin-top: 8px }
.wck { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer }
.wck input { width: 22px; height: 22px; flex: none }
/* 🏢 ECO_EXDB: Y / N squares, long text that wraps, taller rows when a table has long text */
.tgrid .tbody .tr, .tgrid .tbody .tr .tc { height: var(--rh, 40px) }
.tgrid .yn { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; font-weight: 700; font-size: .85rem; color: #fff }
.tgrid .yn.y { background: #1f8f4e } .tgrid .yn.n { background: #cf3f3f } .tgrid .yn.e { background: none; border: 1px dashed var(--muted) }
.tgrid .tc.wrapc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; white-space: normal; overflow: hidden; padding: 6px 8px 0; font-size: .8rem; line-height: 1.375 }   /* three lines fill the 60 px row exactly – no sliver of a fourth */
.tgrid .tc.wrapc.editing { display: flex; padding: 0 }
.tgrid .tc.redtx { color: var(--bad) }
.tgrid .tr.cx .tc .yn { opacity: .45 }
/* 🔒 ECO_EDITLOCK */
.tblock .btn[hidden] { display: none }
.tblock.locked .tgrid .tbody .tc { cursor: default }
.tlock[aria-pressed="true"] { background: var(--warnbg); border-color: var(--warn); color: var(--warn) }
/* 📄 ECO_SHEETLOOK: the table drawn like the working record – its own paper colours, light and dark */
.tblock.sheet { --sp: #FBFAF7; --ss: #FFFFFF; --ss2: #F4F2ED; --si: #1A1D24; --si2: #43485A; --sm: #6B7183; --sr: #DFDBD2; --srs: #EAE7E0; --sa: #1F4E79; --sg: #2F6B4F; --sc: #A33B32; --sgb: #E7F0EA; --scb: #F7E7E5; --sband: #1F4E79; --sbandi: #FFFFFF;
  --ty: #FBF6EA; --tp: #F7F2FB; --tb: #EEF4FC; --tr_: #FCF2F1; --to: #FDF4ED; --tg: #EEF6F0; --tk: #FBF1F6 }
@media (prefers-color-scheme: dark) { :root:not([data-theme=light]) .tblock.sheet { --sp: #14171C; --ss: #1B1F26; --ss2: #232830; --si: #E9E7E2; --si2: #C3C7D0; --sm: #949AA8; --sr: #2E343E; --srs: #262C35; --sa: #7FB2DD; --sg: #6FBF95; --sc: #E0776C; --sgb: #1C2C25; --scb: #33201E; --sband: #223A52; --sbandi: #E9E7E2;
  --ty: #221F19; --tp: #201B26; --tb: #191F28; --tr_: #241A18; --to: #241C17; --tg: #1A241E; --tk: #241A20 } }
:root[data-theme=dark] .tblock.sheet { --sp: #14171C; --ss: #1B1F26; --ss2: #232830; --si: #E9E7E2; --si2: #C3C7D0; --sm: #949AA8; --sr: #2E343E; --srs: #262C35; --sa: #7FB2DD; --sg: #6FBF95; --sc: #E0776C; --sgb: #1C2C25; --scb: #33201E; --sband: #223A52; --sbandi: #E9E7E2;
  --ty: #221F19; --tp: #201B26; --tb: #191F28; --tr_: #241A18; --to: #241C17; --tg: #1A241E; --tk: #241A20 }
.tblock.sheet .tgrid { border: 1px solid var(--sr); border-radius: 3px; background: var(--ss); color: var(--si); font: 11px/1.25 "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, sans-serif }
.tblock.sheet .tgrid.flow { max-height: 74vh }
.tblock.sheet .tgrid .tr { height: auto }
.tblock.sheet .tgrid .tband { position: sticky; top: 0; z-index: 5; height: 24px }
.tblock.sheet .tgrid .tbc { flex: none; box-sizing: border-box; height: 24px; padding: 0 8px; display: flex; align-items: center; overflow: hidden; white-space: nowrap; background: var(--sband); color: var(--sbandi);
  font: 600 9.6px/1 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .11em; text-transform: uppercase; border-right: 1px solid rgba(255,255,255,.22) }
.tblock.sheet .tgrid .tbc.fz { position: sticky; z-index: 6 }
.tblock.sheet .tgrid .th { top: 24px; height: 40px }
.tblock.sheet .tgrid .th .tc { height: 40px; background: var(--ss2); border-right: 1px solid var(--srs); border-bottom: 1px solid var(--sr) }
.tblock.sheet .tgrid .tsort { font: 500 9.6px/1.25 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--sm); white-space: normal; text-align: left; padding: 3px 6px; align-items: flex-start }
.tblock.sheet .tgrid .tbody .tr { position: static; display: flex; align-items: stretch; height: auto; border-bottom: 0 }
.tblock.sheet .tgrid .tbody .tr .tc { height: auto; min-height: 22px; padding: 2px 6px; background: var(--ss); border-right: 1px solid var(--srs); border-bottom: 1px solid var(--srs) }
.tblock.sheet .tgrid .tbody .tr .tc, .tblock.sheet .tgrid .tf .tc { font-size: 11px }
.tblock.sheet .tgrid .th .tc.thyn .tsort { font-size: 7.4px; letter-spacing: 0; padding: 3px 1px; text-align: center; justify-content: center; overflow: visible; text-overflow: clip; white-space: nowrap }
.tblock.sheet .tgrid .tbody .tr:hover .tc { filter: brightness(.97) }
.tblock.sheet .tgrid .tbody .tc.fz { background: var(--sp) }
.tblock.sheet .tgrid .tc.nr, .tblock.sheet .tgrid .tf .tc { font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums }
.tblock.sheet .tgrid .tc.tkey::before { content: none }
.tblock.sheet .tgrid .tc.tkey { color: var(--sa); font-weight: 500; text-decoration: underline dotted; text-underline-offset: 2px }
.tblock.sheet .tgrid .tbody .tc.wrapc { display: block; white-space: normal; overflow: visible; -webkit-line-clamp: unset; padding: 3px 6px; font-size: 11px; line-height: 1.3 }
.tblock.sheet .tgrid .tbody .tc.wrapc.editing { display: flex; padding: 0; min-height: 60px }
.tblock.sheet .tgrid .tc.redtx { color: var(--sc) }
.tblock.sheet .tgrid .tbody .tc[data-col].signed, .tblock.sheet .tgrid .tbody .tc.ync.yy { background: var(--sgb) }
.tblock.sheet .tgrid .tbody .tc.signed { font-weight: 600 }
.tblock.sheet .tgrid .tbody .tc.ync.ynn { background: var(--scb) }
.tblock.sheet .tgrid .tbody .tc.ync { padding: 0 }
.tblock.sheet .tgrid .yn { width: auto; height: auto; background: none; border: 0; border-radius: 0; font: 700 12px/1 "IBM Plex Mono", ui-monospace, monospace }
.tblock.sheet .tgrid .yn.y { color: var(--sg); background: none } .tblock.sheet .tgrid .yn.n { color: var(--sc); background: none } .tblock.sheet .tgrid .yn.e { border: 0 }
.tblock.sheet .tgrid .tbody .tc.tint-yellow { background: var(--ty) } .tblock.sheet .tgrid .tbody .tc.tint-purple { background: var(--tp) } .tblock.sheet .tgrid .tbody .tc.tint-blue { background: var(--tb) }
.tblock.sheet .tgrid .tbody .tc.tint-red { background: var(--tr_) } .tblock.sheet .tgrid .tbody .tc.tint-orange { background: var(--to) } .tblock.sheet .tgrid .tbody .tc.tint-green { background: var(--tg) } .tblock.sheet .tgrid .tbody .tc.tint-pink { background: var(--tk) }
.tblock.sheet .tgrid .tr.hl .tc { background: color-mix(in srgb, var(--hl) 55%, var(--ss)) }
.tblock.sheet .tgrid .tr.cx .tc { color: var(--sm) }
.tblock.sheet .tgrid .tf { height: 26px } .tblock.sheet .tgrid .tf .tc { height: 26px; background: var(--ss2); font-weight: 600; border-top: 2px solid var(--sr); border-right: 1px solid var(--srs) }
.tblock.sheet .tgrid .tedit { font: inherit; padding: 0 5px }
.tblock.sheet .tgroups .chip { min-height: 30px; padding: 3px 12px; border-radius: 14px; background: var(--ss); border: 1px solid var(--sr); color: var(--sm); font: 600 12px "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif }
.tblock.sheet .tgroups .chip[aria-pressed="true"] { background: var(--ss); color: var(--si2); border-color: var(--sm) }
.tblock.sheet .tgroups .chip[aria-pressed="false"] { opacity: .4; text-decoration: line-through }
.tblock.sheet .tgroups .chip[data-gc=yellow] { color: #8A6524; border-color: #C9A75E } .tblock.sheet .tgroups .chip[data-gc=purple] { color: #6B3FA0; border-color: #A98AD0 }
.tblock.sheet .tgroups .chip[data-gc=blue] { color: #1F4E79; border-color: #7FA6C9 } .tblock.sheet .tgroups .chip[data-gc=red] { color: #A33B32; border-color: #D69A94 }
.tblock.sheet .tgroups .chip[data-gc=orange] { color: #B5581C; border-color: #E0A679 } .tblock.sheet .tgroups .chip[data-gc=green] { color: #2F6B4F; border-color: #8CBBA3 }
@media (pointer: coarse) { .tblock.sheet .tgroups .chip { min-height: 44px } .tblock.sheet .tgrid .tbody .tr .tc { min-height: 34px } }
/* 🧭 ECO_FRONT: every section a tab (they wrap), an overview of tiles, one tab for rooming + room block + transfers */
.tabs.front { flex-wrap: wrap; overflow: visible; position: static; row-gap: 0 }
.tabs.front a { min-height: 40px; padding: 0 10px; font-size: .92rem }
@media (pointer: coarse) { .tabs.front a { min-height: var(--tap) } }
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 4px 0 16px }
.ftile { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); color: var(--ink); text-decoration: none }
.ftile:hover { border-color: var(--brand) }
.ftile .fic { flex: none; font-size: 1.9rem; line-height: 1 }
.ftile .ftx { min-width: 0 }
.ftile b { display: block; font-size: 1.18rem; line-height: 1.2 }
.ftile.hastable { border-left: 4px solid var(--brand) }
.ftile .flink { color: var(--ink); opacity: .8 }
.fnav { margin: 0 0 12px }
.fnav > summary { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); color: var(--ink); font-weight: 600; cursor: pointer; list-style: none }
.fnav > summary::-webkit-details-marker { display: none }
.fnav[open] > summary { margin-bottom: 8px }
.fnav .tabs.front { margin-bottom: 0 }
.ftile small { display: block; margin-top: 3px; color: var(--muted); font-size: .84rem; line-height: 1.3 }
.subtabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px }
.subtabs a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); color: var(--ink); font-weight: 600; text-decoration: none }
.subtabs a[aria-current="page"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand) }
.seccard { margin: 0 0 12px }
.seccard.slim { padding: 8px 12px }
.seccard .secb { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px }
.seccard.slim .secb { margin-top: 6px }

/* 🗓️ ECO_RUNLOOK – an order of events drawn like the crew-on-site running order: light heading row, mono times, category chips,
   the item in bold, one line per row, a done row struck through. Built on the sheet's own colours, so dark mode follows. */
.tblock.runlook.sheet .tgrid { font: 14px/1.3 "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, sans-serif; border-radius: 4px }
.tblock.runlook.sheet .tgrid .tband { display: none }
.tblock.runlook.sheet .tgrid .th { top: 0; height: 34px }
.tblock.runlook.sheet .tgrid .th .tc { height: 34px; border-right: 0 }
.tblock.runlook.sheet .tgrid .tsort { display: flex; align-items: center; padding: 0 10px; font-size: 9.3px; letter-spacing: .12em; white-space: nowrap }
.tblock.runlook.sheet .tgrid .tbody .tr .tc { min-height: 34px; padding: 0 10px; display: flex; align-items: center; font-size: 14px; color: var(--si2); border-right: 0; background: var(--ss) }
.tblock.runlook.sheet .tgrid .tbody .tc.fz { background: var(--ss) }
.tblock.runlook.sheet .tgrid .tbody .tc.wrapc { display: block; padding: 8px 10px; font-size: 13.4px; line-height: 1.35 }
.tblock.runlook.sheet .tgrid .tbody .tc.rstart, .tblock.runlook.sheet .tgrid .tbody .tc.rend { font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums }
.tblock.runlook.sheet .tgrid .tbody .tc.rstart { font-weight: 600; color: var(--si); text-decoration: none }
.tblock.runlook.sheet .tgrid .tbody .tc.ritem { font-weight: 600; color: var(--si) }
.tblock.runlook.sheet .tgrid .tbody .tc.ync { padding: 0; justify-content: center }
.tblock.runlook .rcat { display: inline-block; padding: 3px 6px; border-radius: 2px; background: var(--ss2); color: var(--sm); font: 600 8.6px/1 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap }
.tblock.runlook .rcat[data-cat=CREW] { background: var(--sr); color: var(--si) }
.tblock.runlook .rcat[data-cat=CONF], .tblock.runlook .rcat[data-cat=ARR], .tblock.runlook .rcat[data-cat=BUS] { background: color-mix(in srgb, var(--sa) 14%, var(--ss)); color: var(--sa) }
.tblock.runlook .rcat[data-cat=REG], .tblock.runlook .rcat[data-cat=FUNC] { background: color-mix(in srgb, #C77A1B 16%, var(--ss)); color: #B5681A }
.tblock.runlook .rcat[data-cat=GAP], .tblock.runlook .rcat[data-cat=TODO] { background: var(--scb); color: var(--sc) }
.tblock.runlook.sheet .tgrid .tr.hl .tc { background: color-mix(in srgb, var(--hl) 38%, var(--ss)) }
.tblock.runlook.sheet .tgrid .tr.rdone .tc { text-decoration: line-through; color: var(--sm); font-weight: 400 }
.tblock.runlook.sheet .tgrid .tr.rdone .rcat { opacity: .6 }
@media (pointer: coarse) { .tblock.runlook.sheet .tgrid .tbody .tr .tc { min-height: 44px } }
/* 🔐 ECO_PRIVGROUP – the owner's "Private columns" sheet: one line per column group, a 44 px button each */
.tprivs .tprow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); min-height: var(--tap) }
.tprivs .tpn { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere } .tprivs .tpn small { color: var(--muted) }
.tprivs .tprow .btn { flex: 0 0 auto; min-height: var(--tap) }
.tprivnote { margin: 2px 0 6px }

/* 🏷️ ECO_PLAINNAME: the name is longer than the old one – on a narrow phone it folds into two short lines (Event / Ecosphere) instead of running under the buttons */
.brand > span:last-child { min-width: 0 }
@media (max-width: 480px) { .brand b { font-size: .92rem; line-height: 1.08 } } @media (max-width: 380px) { .brand > span:last-child { display: none } }   /* a very narrow phone: the bell alone, as when signed in */
/* 📏 ECO_FITCOLS – a clipped cell opened with a tap shows all of its text (the row grows); the box to type in is never narrower than 170 px */
.tblock.sheet .tgrid .tbody .tr .tc.peek { white-space: normal; overflow-wrap: anywhere; overflow: visible; padding-top: 3px; padding-bottom: 3px; box-shadow: inset 0 0 0 1px var(--sa) }
.tblock.sheet.locked .tgrid .tbody .tc.small { cursor: pointer }
.tblock.sheet .tgrid .tbody .tc.editing { position: relative; z-index: 3 }
.tblock.sheet .tgrid .tbody .tc.editing .tedit { min-width: 170px; min-height: 24px }
/* 🔀 ECO_TWOVIEWS – the switch above a table, and the Site view: a card per row, phone first. Y / N marks use the same green
   and red as the Excel view, cancelled rows are crossed out and a highlighted row keeps its colour, so the two feel like one. */
.tviews { max-width: 360px; margin: 6px 0 8px }
.tsite { display: flex; flex-direction: column; gap: 8px }
.scard { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden }
.scard.hl { background: color-mix(in srgb, var(--hl) 45%, var(--card)) }
.scard.open { border-color: var(--brand) }
.shead { all: unset; box-sizing: border-box; display: flex; align-items: flex-start; gap: 10px; width: 100%; min-height: var(--tap); padding: 10px 12px; cursor: pointer }
.shead:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px }
.smain { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; min-width: 0 }
.stitle { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 1rem; line-height: 1.3; overflow-wrap: anywhere }
.schev { flex: none; color: var(--muted); font-size: .8rem; padding-top: 3px }
.sfacts { display: flex; flex-wrap: wrap; gap: 4px 16px }
.sfact { display: flex; flex-direction: column; min-width: 0 }
.sfact small { color: var(--muted); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase }
.sfact b { font-weight: 600; font-size: .9rem; overflow-wrap: anywhere; font-variant-numeric: tabular-nums }
.smarks { display: flex; flex-wrap: wrap; gap: 4px }
.smark { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .74rem; font-weight: 700 }
.smark.y { background: var(--okbg); color: var(--ok) } .smark.n { background: var(--badbg); color: var(--bad) }
.scard.cx .stitle b, .scard.rdone .stitle b, .scard.rdone .stime { text-decoration: line-through; color: var(--muted); font-weight: 400 }
.scard.cx { opacity: .75 }
.stime { flex: none; width: 5.6rem; font: 600 .82rem/1.4 "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; padding-top: 2px }
.smeta { color: var(--muted); font-size: .84rem; overflow-wrap: anywhere }
.tsite .rcat { display: inline-block; padding: 3px 6px; border-radius: 3px; background: var(--soft); color: var(--muted); font: 600 .6rem/1 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap }
.sbody { border-top: 1px solid var(--line); padding: 8px 12px 12px; display: flex; flex-direction: column; gap: 6px }
.sgrp { margin: 6px 0 0; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand) }
.sgrp[data-gc=yellow] { color: #8A6524 } .sgrp[data-gc=purple] { color: #6B3FA0 } .sgrp[data-gc=blue] { color: #1F4E79 } .sgrp[data-gc=red] { color: #A33B32 } .sgrp[data-gc=orange] { color: #B5581C } .sgrp[data-gc=green] { color: #2F6B4F }
@media (prefers-color-scheme: dark) { :root:not([data-theme=light]) .sgrp[data-gc] { color: var(--brand) } }
:root[data-theme=dark] .sgrp[data-gc] { color: var(--brand) }
.sdl { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 14px }
.srow { min-width: 0 } .srow.long { grid-column: 1 / -1 }
.srow dt { color: var(--muted); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase }
.srow dd { margin: 0; font-size: .92rem; overflow-wrap: anywhere; white-space: pre-wrap }
.srow.redtx dd { color: var(--bad) }
.srow dd a { color: var(--brand) }
.sedit { align-self: flex-start; margin-top: 4px }
.smore { align-self: center }
.stotal { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding: 10px 12px; background: var(--soft); border-radius: 12px }
/* 📗 ECO_XLRULES – the Excel view's rules. Bold only where asked; Y / N / WAIT as coloured text without a background; the row
   that was clicked in yellow; cancelled rows greyed when shown; a wider box for a section's tables on a computer. */
.tblock.xl.sheet:not(.runlook) .tgrid .tbody .tc, .tblock.xl.sheet:not(.runlook) .tgrid .tbody .tc.tkey, .tblock.xl.sheet:not(.runlook) .tgrid .tbody .tc.signed { font-weight: 400 }
.tblock.xl.sheet:not(.runlook) .tgrid .tbody .tc.xb { font-weight: 700 }
.tblock.xl.sheet .tgrid .tbody .tc.ync.yy, .tblock.xl.sheet .tgrid .tbody .tc.ync.ynn { background: var(--ss) }
.tblock.xl.sheet .tgrid .tbody .tc.fz.ync.yy, .tblock.xl.sheet .tgrid .tbody .tc.fz.ync.ynn { background: var(--sp) }
.tblock.xl.sheet .tgrid .tbody .tc.txy { color: var(--sg); font-weight: 700 } .tblock.xl.sheet .tgrid .tbody .tc.txn { color: var(--sc); font-weight: 700 }
.tblock.xl.sheet .tgrid .tbody .tc.txw { color: #B5651D; font-weight: 700 }
.tblock.xl .tgrid .tbody .tr.rowsel .tc, .tblock.xl.sheet .tgrid .tbody .tr.rowsel .tc { background: #FFF1B8 }
@media (prefers-color-scheme: dark) { :root:not([data-theme=light]) .tblock.xl .tgrid .tbody .tr.rowsel .tc { background: #4A4212 } :root:not([data-theme=light]) .tblock.xl.sheet .tgrid .tbody .tc.txw { color: #E6A05A } }
:root[data-theme=dark] .tblock.xl .tgrid .tbody .tr.rowsel .tc { background: #4A4212 } :root[data-theme=dark] .tblock.xl.sheet .tgrid .tbody .tc.txw { color: #E6A05A }
.tblock.xl .tgrid .tr.cx .tc { opacity: .6 }
.tcols { display: flex; flex-direction: column; gap: 2px }
.tcolrow { display: flex; align-items: center; gap: 10px; min-height: var(--tap); cursor: pointer }
.tcolrow input { width: 22px; height: 22px; flex: none; accent-color: var(--brand) }
@media (min-width: 900px) { .wrap:has(.xlwide) { max-width: min(92vw, 1700px) } }
/* 🧭 ECO_TABSOPEN – the section tabs are always shown: no "☰" button to open them */
.fnav.always > summary { display: none }
/* 💷 ECO_BUDGET – the budget sheet, measured from the working record it copies: sans 13 px, mono figures, Budget in gold,
   Forecast in teal, Actual in blue, 40 px category rows with a grey bar on the left, a 44 px "whole budget" row. */
.tbud { overflow-x: auto; background: #fff; border: 1px solid #DFDBD2; border-radius: 3px; --bb: 176,124,26; --bf: 23,116,105; --ba: 60,86,158; color: #1A1D24 }
.budt { width: 100%; min-width: 980px; border-collapse: separate; border-spacing: 0; font: 13.1px/1.3 "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif }
.budt td { padding: 6.7px 8px; border-bottom: 1px solid #DFDBD2; white-space: nowrap; vertical-align: middle }
.budt td.n { text-align: right; font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; width: 78px }
.budt td.bname { text-align: left; white-space: normal; min-width: 260px }
.budt td.gi { width: 210px; max-width: 320px; overflow: hidden; text-overflow: ellipsis; font-size: 12px; color: #43485A }
.budt .bh1 td { padding: 4.8px 8px; font: 500 10.2px "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; text-align: center; border-bottom: 0 }
.budt .bh1 td.gi { text-align: left; color: #6B7183 }
.budt .bh2 td { padding: 4.8px 8px; font: 500 8.8px "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase }
.budt .bh1 td.gb { color: #8A6524; background: rgba(var(--bb), .16) } .budt .bh2 td.gb { color: #96762F; background: rgba(var(--bb), .09) }
.budt .bh1 td.gf { color: #177469; background: rgba(var(--bf), .14) } .budt .bh2 td.gf { color: #177469; background: rgba(var(--bf), .08) }
.budt .bh1 td.ga { color: #3C569E; background: rgba(var(--ba), .13) } .budt .bh2 td.ga { color: #3C569E; background: rgba(var(--ba), .07) }
.budt td.gb:first-of-type, .budt td.gf:nth-child(5), .budt td.ga:nth-child(8) { border-left: 1px solid rgba(0, 0, 0, .08) }
.budt .bsec { cursor: pointer }
.budt .bsec td { height: 40px; font-size: 13.8px }
.budt .bsec td.bname { font-weight: 600; letter-spacing: .04em; color: #43485A; box-shadow: inset 3px 0 0 #B9BCC6; padding-left: 11px }
.budt .bsec.none { cursor: default } .budt .bsec.none td.bname { color: #8A8FA0 }
.budt .barr { display: inline-block; width: 15px; font-size: 9px; color: #B4433C; vertical-align: 1px }
.budt .bname small { margin-left: 10px; font: 500 10px "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .06em; color: #8A8FA0; text-transform: uppercase }
.budt .bsec td.n { font-weight: 700 }
.budt .bsec td.gb { color: #8A6524; background: rgba(var(--bb), .16) } .budt .bsec td.gf { color: #0F5249; background: rgba(var(--bf), .15) } .budt .bsec td.ga { background: rgba(var(--ba), .13) }
.budt .bsec:hover td.bname { background: #FBFAF7 }
.budt .bline { cursor: pointer }
.budt .bline td { padding: 5.4px 8px; border-bottom: 1px solid #EAE7E0; font-size: 12.8px }
.budt .bline td.bname { padding-left: 30px; font: 14.4px/1.35 "Source Serif 4", Georgia, serif; color: #43485A }
.budt .bline td.n { font-weight: 600 }
.budt .bline td.gb { color: #8A6524; background: rgba(var(--bb), .04) } .budt .bline td.gf { color: #0F5249; background: rgba(var(--bf), .035) } .budt .bline td.ga { background: rgba(var(--ba), .03) }
.budt .bline:hover td.bname { background: #FBFAF7 }
.budt .bline.bad td { border-bottom: 2px solid #A33B32 }
.budt .bline.cx td { text-decoration: line-through; opacity: .55 }
.budt .bgrand { cursor: pointer }
.budt .bgrand td { height: 44px; border-top: 2px solid rgba(31, 78, 121, .4); border-bottom: 1px solid rgba(31, 78, 121, .4); font-size: 13.8px; font-weight: 700 }
.budt .bgrand td.bname { font-size: 14.4px; letter-spacing: .04em; color: #1F4E79; box-shadow: inset 3px 0 0 #7FA6C9; padding-left: 8px }
.budt .bgrand td.gb { background: rgba(var(--bb), .16) } .budt .bgrand td.gf { background: rgba(var(--bf), .15) } .budt .bgrand td.ga { background: rgba(var(--ba), .13) }
@media (prefers-color-scheme: dark) { :root:not([data-theme=light]) .tbud { filter: invert(.92) hue-rotate(180deg) } }
:root[data-theme=dark] .tbud { filter: invert(.92) hue-rotate(180deg) }
/* 🔀 ECO_FDVIEW – one cell's own style (SQL FD): its background wins over the column's wash and a row highlight; a cell with a
   hover note carries a small corner mark */
.tgrid .tbody .tr .tc.cfmt[style*="--cb"], .tblock.sheet .tgrid .tbody .tr .tc.cfmt[style*="--cb"] { background: var(--cb) }
@media (prefers-color-scheme: dark) { :root:not([data-theme=light]) .tgrid .tbody .tr .tc.cfmt[style*="--cb"] { background: color-mix(in srgb, var(--cb) 30%, var(--card)) } }
:root[data-theme=dark] .tgrid .tbody .tr .tc.cfmt[style*="--cb"] { background: color-mix(in srgb, var(--cb) 30%, var(--card)) }
.tgrid .tbody .tc.cnote { position: relative }
.tgrid .tbody .tc.cnote::after { content: ""; position: absolute; top: 0; right: 0; border: 4px solid transparent; border-top-color: #B5651D; border-right-color: #B5651D }
/* 🕒 ECO_CHANGES – the Changes page: a card per change, what is new since the last look marked on the left */
.chglink { display: inline-flex; margin: 0 0 10px }
.chgday { margin: 16px 0 6px }
.chgrow { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; margin-bottom: 6px }
.chgrow.isnew { box-shadow: inset 4px 0 0 var(--brand) }
.chgrow.undone { opacity: .6 }
.chgmain { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; flex: 1 1 auto; min-width: 0 }
.chgmeta { flex: 1 1 100%; color: var(--muted); overflow-wrap: anywhere }
.chgf { font-size: .82rem }
/* 🗓️ ECO_DAYSHEET – the day sheet: the date heading with its tag, a soft colour per category, the note under the item,
   GAP / TO DO rows in red, a finished day struck through */
.dayhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 2px 0 10px }
.dayfull { margin: 0; font: 700 1.4rem/1.2 "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif; letter-spacing: -.01em }
.dayfull.daydone { text-decoration: line-through; opacity: .55 }
.daytag { font: 500 .62rem "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; padding: 2px 7px; border-radius: 2px; background: #FBF0E2; color: #B4620A; border: 1px solid rgba(180, 98, 10, .35) }
.daytag.show { background: #E4F1EA; color: #1F6B4A; border-color: rgba(31, 107, 74, .38) }
.tblock.daysheet .thead .tname { display: none }
.tabs.ttabs a.alldone { text-decoration: line-through; opacity: .6 }
.tblock.runlook .rcat[data-cat=EXH] { background: #E3EDF5; color: #1C5A8A }
.tblock.runlook .rcat[data-cat=CONF] { background: #E4F1EA; color: #1F6B4A }
.tblock.runlook .rcat[data-cat=REG], .tblock.runlook .rcat[data-cat=FUNC] { background: #FBF0E2; color: #B4620A }
.tblock.runlook .rcat[data-cat=PROD], .tblock.runlook .rcat[data-cat=SIGN], .tblock.runlook .rcat[data-cat=OPS], .tblock.runlook .rcat[data-cat=CREW] { background: #EDF1F4; color: #44525E }
.tblock.runlook .rcat[data-cat=ARR], .tblock.runlook .rcat[data-cat=BUS] { background: #E3EDF5; color: #1C5A8A }
.tblock.runlook .rcat[data-cat=GAP], .tblock.runlook .rcat[data-cat=TODO] { background: #FBE8E7; color: #A8231C }
.tblock.daysheet.sheet .tgrid .tbody .tr.rgap .tc { background: #FBE8E7 }
.tblock.daysheet.sheet .tgrid .tbody .tr.rgap .tc.ritem { color: #A8231C }
.tblock.daysheet.sheet .tgrid .tbody .tc.hasnote { cursor: pointer; flex-wrap: wrap; column-gap: 8px }
.tblock.daysheet .rarr { font-size: .6rem; color: #B4620A; opacity: .85 }
.tblock.daysheet .rnote { display: none; flex: 1 1 100%; font-weight: 400; font-size: .86em; line-height: 1.4; color: var(--sm); white-space: pre-wrap; padding-bottom: 6px }
.tblock.daysheet .tr.ropen .rnote { display: block }
.tblock.daysheet .tr.ropen .tc.ritem { padding-top: 7px }
.tblock.daysheet.sheet .tgrid .tbody .tr.rgap .rnote { color: #A8231C }
@media (prefers-color-scheme: dark) { :root:not([data-theme=light]) .tblock.daysheet.sheet .tgrid .tbody .tr.rgap .tc { background: #2C1614 } :root:not([data-theme=light]) .tblock.daysheet.sheet .tgrid .tbody .tr.rgap .tc.ritem { color: #F0847C }
  :root:not([data-theme=light]) .daytag { background: #2A1F13; color: #E59A4A } :root:not([data-theme=light]) .daytag.show { background: #15291F; color: #5FC291 } }
:root[data-theme=dark] .tblock.daysheet.sheet .tgrid .tbody .tr.rgap .tc { background: #2C1614 } :root[data-theme=dark] .tblock.daysheet.sheet .tgrid .tbody .tr.rgap .tc.ritem { color: #F0847C }
:root[data-theme=dark] .daytag { background: #2A1F13; color: #E59A4A } :root[data-theme=dark] .daytag.show { background: #15291F; color: #5FC291 }
.tblock.daysheet .thead { display: none }

/* 🔒 ECO_LOCKALL (23 Nov 2026) – the lock bar on the events list, on an event's page and inside a form opened while locked */
.lockbar { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; margin: 10px 0; padding: 8px 12px; border-radius: 12px; border: 1px solid #e0a23a; background: #fff6e0; color: #5a3d00; font-weight: 600; font-size: .95rem }
.lockbar.on { border-color: var(--line, #cfd8d4); background: var(--card, #f4f7f6); color: inherit }
.lockbar .btn { min-height: 44px; white-space: nowrap }
.dlocked input:disabled, .dlocked select:disabled, .dlocked textarea:disabled { opacity: 1; color: inherit; -webkit-text-fill-color: currentColor; background: transparent; border-style: dashed }
.dlocked button:disabled { opacity: .55 }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lockbar:not(.on) { background: #3a2c08; color: #ffe2a3; border-color: #8a6a1c } }
:root[data-theme="dark"] .lockbar:not(.on) { background: #3a2c08; color: #ffe2a3; border-color: #8a6a1c }
.dlocked > [hidden] { display: none !important }

/* 👤 ECO_PERSONDATA (23 Nov 2026) */
.pdbar:not(.on) { border-color: #2f8f6b; background: #e7f6ef; color: #0d3b2b }
.tprow .tpd { margin-left: 6px }
input[data-pd], textarea[data-pd] { font-style: italic }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pdbar:not(.on) { background: #0f3327; color: #c9f1df; border-color: #2f8f6b } }
:root[data-theme="dark"] .pdbar:not(.on) { background: #0f3327; color: #c9f1df; border-color: #2f8f6b }

/* 🧹 ECO_TIDY (23 Nov 2026) – a table's frame is only as wide as its columns */
.tfit .tgrid { width: -moz-fit-content; width: fit-content }
.tfit .tin { min-width: 0 }

/* 📐 ECO_XLHOUSE (23 Nov 2026) – Type and link columns one size smaller; Stand Size and Intro centred */
.sheet .tgrid .tbody .tc.hs8, .sheet .tgrid .tbody .tc.hs8 a { font-size: 9px !important }
.sheet .tgrid .tbody .tc.hctr { justify-content: center !important; text-align: center }

/* 📱 ECO_REVIEW2 (24 Nov 2026) – a card that leads with what the row is, and the page attendees read */
.scard .stitle.lead b { font-size: 1rem; line-height: 1.3; white-space: normal; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden }
.scard .ssub { display: block; font-weight: 700; color: var(--brand); margin: 2px 0 4px }
.apage { max-width: 860px; margin: 6px auto 0 }
.apage .amast { border-bottom: 2px solid var(--ink); padding-bottom: 14px; margin-bottom: 16px }
.apage .aeye { font: 600 .72rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px }
.apage .ah1 { font: 700 clamp(1.7rem, 5vw, 2.5rem)/1.08 Georgia, "Times New Roman", serif; letter-spacing: -.02em; margin: 0 0 6px }
.apage .asub { font: 400 1.05rem/1.45 Georgia, "Times New Roman", serif; color: var(--muted); margin: 0 }
.apage .afold { display: flex; gap: 8px; margin: 0 0 12px }
.apage .arows { display: grid; gap: 8px }
.apage .arow { background: var(--card); border: 1px solid var(--line); border-left: 3px solid #1f4e79; border-radius: 4px; overflow: hidden }
.apage .arow > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-height: 44px }
.apage .arow > summary::-webkit-details-marker { display: none }
.apage .arow > summary:hover { background: var(--soft) }
.apage .arow > summary:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px }
.apage .an { font: 600 .68rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; color: #8a6524; flex: none }
.apage .at { font: 600 1.06rem/1.3 Georgia, "Times New Roman", serif; flex: 1 1 auto }
.apage .achev { flex: none; width: 8px; height: 8px; margin-top: -3px; border-right: 2px solid #1f4e79; border-bottom: 2px solid #1f4e79; transform: rotate(-45deg); transition: transform .16s }
.apage .arow[open] > summary .achev { transform: rotate(45deg); margin-top: -6px }
.apage .arow[open] > summary { border-bottom: 1px solid var(--line) }
.apage .abody { padding: 14px 18px 16px; font-size: .96rem; line-height: 1.66 }
.apage .abody > :first-child { margin-top: 0 } .apage .abody > :last-child { margin-bottom: 0 }
.apage .abody h4 { font-size: .95rem; margin: 18px 0 6px }
.apage .abody p { margin: 0 0 12px }
.apage .abody ul { margin: 0 0 12px; padding-left: 1.2rem }
.apage .abody li { margin-bottom: 4px }
.apage .soon { font: 600 .68rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; color: #8a6524; background: var(--soft); border: 1px solid var(--line); border-radius: 3px; padding: 1px 6px; white-space: nowrap }
.apage .alink a { font-weight: 700 }
.apage .afoot { margin-top: 28px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted) }
.apage .afoot p { margin: 0 }
@media (prefers-reduced-motion: reduce) { .apage .achev { transition: none } }

/* 🪪 ECO_CLEARVIEW (24 Nov 2026) – an entry to read: name, chips, a block per group */
.dcard { display: block }
.dhead { padding: 2px 0 12px; border-bottom: 2px solid var(--ink); margin-bottom: 14px }
.dtitle { font-size: 1.45rem; font-weight: 700; line-height: 1.2; margin: 0; overflow-wrap: anywhere }
.dsub { margin: 4px 0 0; color: var(--muted); font-weight: 600 }
.dchips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0 }
.dchip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: .85rem; font-weight: 600 }
.dchip.good { background: #e3f3e8; border-color: #9fd3b0; color: #17603a } .dchip.warn { background: #fff3d6; border-color: #e6c36a; color: #6b4a00 } .dchip.bad { background: #fbe6e3; border-color: #e3a79f; color: #8a2b22 }
.dgroup { margin: 0 0 14px; padding: 10px 12px 12px; border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 10px; background: var(--card) }
.dgroup[data-gc="blue"] { border-left-color: #3d7bd9 } .dgroup[data-gc="green"] { border-left-color: #2f8f6b } .dgroup[data-gc="purple"] { border-left-color: #7a5af8 } .dgroup[data-gc="red"] { border-left-color: #c2392f }
.dgroup[data-gc="yellow"] { border-left-color: #c99a1b } .dgroup[data-gc="orange"] { border-left-color: #e07a2d } .dgroup[data-gc="grey"] { border-left-color: #8b93a5 } .dgroup[data-gc="pink"] { border-left-color: #d0599a }
.dgname { font: 700 .72rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px }
.dgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px }
.ditem { min-width: 0 } .ditem.long { grid-column: 1 / -1 }
.dlab { display: block; font-size: .74rem; color: var(--muted); margin-bottom: 1px }
.dval { display: block; font-size: 1rem; font-weight: 600; overflow-wrap: anywhere; white-space: pre-wrap }
.ditem.long .dval { font-weight: 400; line-height: 1.5; background: var(--soft); border-radius: 8px; padding: 8px 10px }
.ditem.red .dval { color: #a33b32 }
.dempty { margin: 0 }
@media (max-width: 420px) { .dgrid { grid-template-columns: 1fr } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dchip.good { background: #12301f; color: #a8e2bd; border-color: #2c6a45 } :root:not([data-theme="light"]) .dchip.warn { background: #3a2c08; color: #ffe2a3; border-color: #8a6a1c } :root:not([data-theme="light"]) .dchip.bad { background: #3b1a17; color: #f2b3ac; border-color: #7d3a33 } }
:root[data-theme="dark"] .dchip.good { background: #12301f; color: #a8e2bd; border-color: #2c6a45 } :root[data-theme="dark"] .dchip.warn { background: #3a2c08; color: #ffe2a3; border-color: #8a6a1c } :root[data-theme="dark"] .dchip.bad { background: #3b1a17; color: #f2b3ac; border-color: #7d3a33 }

/* ✉️ ECO_MESSAGES (24 Nov 2026) */
.msgs { max-width: 900px }
.msgh { margin: 6px 0 4px }
.msgstep { margin: 14px 0; padding: 12px 14px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card) }
.msgstep h3 { margin: 0 0 10px; font-size: 1rem }
.msgstep select, .msgstep input[type=text], .msgstep input[type=search], .msgstep textarea { width: 100%; min-height: 44px; box-sizing: border-box; font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); color: inherit }
.msgstep textarea { min-height: 170px; line-height: 1.45; resize: vertical }
.msgstep .field { display: block; margin: 10px 0 0 } .msgstep .field > span { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 3px }
.msgblanks { display: flex; flex-wrap: wrap; gap: 6px } .msgblanks .chip { min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); color: inherit; font: inherit; font-size: .85rem; cursor: pointer }
.msgfilt { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; margin-bottom: 10px }
.msglist { display: grid; gap: 10px }
.msgcard { border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 10px; padding: 10px 12px; background: var(--card) }
.msgcard.bad { border-left-color: #c2392f } .msgcard.sent { opacity: .7; border-left-color: #8b93a5 }
.msgto { margin: 0 0 4px; overflow-wrap: anywhere } .msgto span { color: var(--muted) }
.msgwarn { margin: 0 0 6px; color: #a33b32; font-size: .88rem; font-weight: 600 }
.msgsub { margin: 0 0 6px; font-weight: 700 }
.msgbody { margin: 0 0 8px; padding: 8px 10px; background: var(--soft); border-radius: 8px; font: inherit; font-size: .92rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 260px; overflow-y: auto }
.msgbtns { display: flex; flex-wrap: wrap; gap: 6px } .msgbtns .btn { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none }

/* ECO_GREYEMPTY – a section with nothing in it yet */
.ftile.fempty { background: transparent; border-style: dashed; opacity: .55; filter: grayscale(1) }
.ftile.fempty:hover, .ftile.fempty:focus-visible { opacity: .9 }

/* ECO_MYEVENTS – the way home, on every page */
.bar .myev { flex: none; white-space: nowrap; margin-left: 4px }
@media (max-width: 480px) { .bar .myev { padding-left: 8px; padding-right: 8px; font-size: .8rem } }

/* 💬 ECO_COMMS – the Comms view */
.comms { margin-top: 6px }
.cgroup { margin: 0 0 22px; padding: 12px 14px 14px; border-radius: var(--r); border: 1px solid var(--line); border-left: 6px solid #1F4E79; background: var(--card) }
.cgroup.wa { border-left-color: #1f8f55 }
.cgh { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; font-size: 1.15rem }
.cgh small { font-weight: 400; color: var(--muted); font-size: .84rem }
.cgi { font-size: 1.3rem }
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px }
.cbox { all: unset; box-sizing: border-box; display: block; min-height: 84px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); cursor: pointer }
.cbox:hover { border-color: var(--brand) } .cbox:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px }
.cbox .cbn { display: block; font-size: 1.05rem; line-height: 1.25 }
.cbox .cbv, .cbox .cbs { display: block; margin-top: 4px; font-size: .84rem; color: var(--muted) }
.cbox .cbs { font-weight: 600; color: var(--ink) }
.cback { all: unset; cursor: pointer; display: inline-block; min-height: var(--tap); line-height: var(--tap); color: var(--brand); font-weight: 600 }
.chead { display: flex; align-items: center; gap: 10px; margin: 4px 0 14px } .chead h3 { margin: 0; font-size: 1.3rem } .chead small { color: var(--muted) }
.clast { margin: 22px 0 8px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px }
.cver { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card) }
.cver.old { opacity: .82 }
.cvh { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px } .cvh .cvn { font-size: 1.02rem } .cvh .cedit { margin-left: auto }
.mail { border: 1px solid var(--line); border-radius: 10px; background: var(--bg); overflow: hidden }
.mail .mrow { display: grid; grid-template-columns: 70px 1fr; gap: 8px; padding: 7px 12px; border-bottom: 1px solid var(--line); font-size: .9rem } .mail .mrow > span:first-child { color: var(--muted) }
.mbody { padding: 12px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .94rem; line-height: 1.5 }
.wachat { padding: 12px; border-radius: 10px; background: #e9e3d8; display: flex; flex-direction: column; align-items: flex-end; gap: 4px }
.wachat .wato, .wachat .wasub { align-self: flex-start; color: #54503f; font-size: .8rem } .wachat .wasub { font-weight: 700 }
.bubble { max-width: min(560px, 100%); padding: 9px 12px; border-radius: 12px 12px 2px 12px; background: #d9fdd3; color: #111b21; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .94rem; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, .12) }
.cacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px }
.btn.ccopy.ok { background: var(--okbg); color: var(--ok) }
.cform .field { display: block; margin: 0 0 8px } .cin { width: 100%; font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); min-height: var(--tap) }
textarea.cmsg { line-height: 1.45; resize: vertical }
.cper { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line) } .cper h4 { margin: 0 0 8px; font-size: .95rem }
.cplist { list-style: none; margin: 0 0 8px; padding: 0 }
.cpitem { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; padding: 8px 0; border-top: 1px solid var(--line) } .cpitem:first-child { border-top: 0 }
.cpitem.sent .cpco { text-decoration: line-through; color: var(--muted) }
.cpsent { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); font-size: .84rem } .cpsent input { width: 22px; height: 22px }
.cpmain small { display: block; color: var(--muted); font-size: .82rem } .cpmore summary { cursor: pointer; font-size: .86rem; color: var(--brand); min-height: 32px; line-height: 32px } .cpmore .mbody, .cpmore .bubble { margin-top: 6px; border: 1px solid var(--line); border-radius: 8px }
.cpacts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end }
.cpform { margin-top: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg) }
@media (max-width: 560px) { .cpitem { grid-template-columns: auto 1fr } .cpacts { grid-column: 1 / -1; justify-content: flex-start } .mail .mrow { grid-template-columns: 58px 1fr } }
@media (prefers-color-scheme: dark) { .wachat { background: #1f2c33 } .wachat .wato, .wachat .wasub { color: #aebac1 } .bubble { background: #005c4b; color: #e9edef } }

/* 57–60: Outlook drafts */
.callzip { margin: 0 0 14px }
.cpmain .cpcc { display: block; color: var(--muted); font-size: .82rem }

/* 📄 ECO_BRIEFPAGE – a brief, read as one page */
.bviews { margin: 4px 0 14px }
.brief { max-width: 880px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 26px 26px }
.bhead { border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 6px }
.bhead .bev { margin: 0 0 4px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.bhead h2 { margin: 0 8px 0 0; font-size: 1.7rem; display: inline-block }
.bpart { margin-top: 22px } .bpart > h3 { margin: 0 0 10px; font-size: 1.15rem } .bpart > h3 .bwhere { font-weight: 400; color: var(--muted); font-size: .9rem }
.bfacts { display: grid; grid-template-columns: minmax(130px, 220px) 1fr; gap: 0; margin: 0 }
.bfacts dt { font-weight: 600; padding: 8px 12px 8px 0; border-top: 1px solid var(--line) } .bfacts dd { margin: 0; padding: 8px 0; border-top: 1px solid var(--line); white-space: pre-line }
.bfacts dd small { display: block; margin-top: 2px; color: var(--muted); font-size: .78rem }
.bgrp { margin: 16px 0 4px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.blines { list-style: none; margin: 0; padding: 0 }
.bline { padding: 9px 0; border-top: 1px solid var(--line) }
.bl1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px } .bl1 .bname { font-size: 1rem }
.bqty { font-weight: 600; color: var(--brand) } .bprice { font-variant-numeric: tabular-nums; color: var(--ink) } .bl1 .bstat { margin-left: auto }
.bwhat { margin: 3px 0 0; color: var(--ink); opacity: .86; font-size: .93rem; line-height: 1.45; white-space: pre-line } .bmore { margin: 3px 0 0; color: var(--muted); font-size: .8rem }
@media (max-width: 560px) { .brief { padding: 16px 14px 18px } .bfacts { grid-template-columns: 1fr } .bfacts dd { border-top: 0; padding-top: 0 } .bl1 .bstat { margin-left: 0 } }

/* 👓 ECO_VIEWSENSE – a reference table as a reading list */
.tread { display: grid; grid-template-columns: minmax(140px, 260px) 1fr; margin: 0; max-width: 980px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 18px 10px }
.tread dt { font-weight: 600; padding: 11px 16px 11px 0; border-top: 1px solid var(--line) } .tread dd { margin: 0; padding: 11px 0; border-top: 1px solid var(--line) }
.tread dt:first-child, .tread dt:first-child + dd { border-top: 0 }
.tread .trref { display: block; font-weight: 400; font-size: .72rem; color: var(--muted); letter-spacing: .04em }
.tread .trv { margin: 0 0 8px; white-space: pre-line; line-height: 1.5 } .tread .trv:last-child { margin-bottom: 0 }
.tread .trv small { display: block; font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 1px }
.tread .trv.redtx span { color: #A33B32 } .tread .gone { opacity: .5; text-decoration: line-through }
@media (max-width: 600px) { .tread { grid-template-columns: 1fr; padding: 2px 12px 8px } .tread dd { border-top: 0; padding-top: 0 } }

/* 🧼 ECO_CLEANNAV – one slim line instead of a row of tabs */
.cnav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 8px } .cnav .cnhere { font-size: 1.05rem }
.fnav.clean { display: inline-block; margin: 0 0 12px } .fnav.clean[hidden] { display: none }
.fnav.clean[open] { display: block }
.cnfoot { margin: 14px 0 0 }

/* 🔑 ECO_CODES – codes to activate */
.codesbar { margin: 4px 0 10px }
.codes { margin: 0 0 16px; max-width: 980px }
.codes .chead2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 8px } .codes .chead2 h3 { margin: 0; font-size: 1.1rem }
.codes .csum { color: var(--muted); font-size: .84rem }
.codes .cgrp2 { display: flex; align-items: center; gap: 10px; margin: 16px 0 4px; font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted) }
.clist2 { list-style: none; margin: 0; padding: 0 }
.ccode { display: grid; grid-template-columns: 28px minmax(140px, 1.4fr) minmax(110px, 1fr) 60px minmax(0, 1fr); gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line) }
.ccode input { width: 20px; height: 20px } .ccode.on { background: var(--okbg) }
.ccode .cco small { display: block; color: var(--muted); font-size: .78rem }
.ccode .cval { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .92rem; overflow-wrap: anywhere } .ccode .cqty { font-weight: 600; color: var(--brand) } .ccode .cnote { color: var(--muted); font-size: .8rem }
.codes .cfoot { display: flex; align-items: center; gap: 10px; margin-top: 12px; position: sticky; bottom: 0; background: var(--card); padding: 8px 0 }
@media (max-width: 560px) { .ccode { grid-template-columns: 26px 1fr auto } .ccode .cval { grid-column: 2 / -1 } .ccode .cnote { grid-column: 2 / -1 } }

/* ECO_COMMS2 – who it goes to */
.cgroup.own { border-left-color: var(--brand) }
.cfil { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px }
.chipb { all: unset; box-sizing: border-box; cursor: pointer; min-height: 34px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .84rem; background: var(--bg) }
.chipb[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink) } .chipb.warn:not([aria-pressed="true"]) { border-color: #A33B32; color: #A33B32 }
.cpp { grid-template-columns: 26px 1fr auto } .cpp.miss { background: rgba(163, 59, 50, .05) }
.cpstate { font-size: 1.05rem; line-height: 1.5; text-align: center } .cpwait { color: var(--muted) }
.cpl1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px } .cpl1 .cpdbl { font-size: .8rem; color: var(--brand); text-decoration: none } .cpl1 .cpdbl:hover { text-decoration: underline }
.cpl1 .cpstand, .cpl1 .cpnodb { color: var(--muted); font-size: .8rem }
.cpl2 { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .84rem; margin-top: 2px } .cpl2 .no { color: #A33B32; font-weight: 600 }
.cpmain .cpsentl { color: var(--ok); font-weight: 600 } .cpmain .cpleft { color: #8A6524 } .cpmain .cpdiff { color: var(--muted) }
.cpp.sent .cpco { text-decoration: none; color: var(--ink) }
.cdbnote { margin: 6px 0 8px; font-size: .8rem; color: var(--muted) }
.cpedf { grid-column: 1 / -1 }
@media (max-width: 560px) { .cpp { grid-template-columns: 22px 1fr } }

.cfind { width: 100%; max-width: 420px; margin: 0 0 12px } .cbox .cbp { display: block; margin-top: 4px; font-size: .8rem; color: var(--ok); font-weight: 600 }

/* 🔑 a code in the table: red with a warning until it is activated, a green tick once it is */
.tblock .codeoff { color: #A33B32 !important; font-weight: 700 } .tblock .codeoff::before { content: "⚠ "; }
.tblock .codeon { color: #2F6B4F !important } .tblock .codeon::before { content: "✓ "; }
#codesBtn.alert { background: #A33B32; color: #fff; border-color: #A33B32; font-weight: 700 }

/* ⚖️ compare with the sales tracker / the floor plan */
.codesbar { display: flex; flex-wrap: wrap; gap: 8px }
.cmpp { margin: 0 0 12px } .cmpp .cmpok { color: #2F6B4F; font-weight: 700; font-size: 1rem }
.cmpt { border-collapse: collapse; width: 100%; font-size: .9rem; margin: 2px 0 6px } .cmpt th, .cmpt td { text-align: left; padding: 5px 10px 5px 0; border-bottom: 1px solid var(--line, #e6e2d8); vertical-align: top }
.cmpt th { font-size: .76rem; color: var(--muted); font-weight: 600 } .cmpp select { margin: 4px 0 8px }

/* 🧾 ECO_CODESFULL: codes still to create, and a code's link */
.codes .cmake span { color: #A33B32; font-weight: 700 } .codes .cneed .cval { background: #FBE9E7; color: #8A2B22 }
.codes .clink { font-size: .82rem; white-space: nowrap }

/* 🎟️ ECO_REGLOOK: link buttons and price cards */
.qlh { margin: 16px 0 6px; font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted) }
.qlgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px }
.qlink { display: flex; align-items: stretch; background: var(--card); border: 1px solid var(--line, #e6e2d8); border-radius: 12px; overflow: hidden }
.qlink a, .qlink > span { flex: 1; display: flex; flex-direction: column; gap: 3px; padding: 11px 13px; text-decoration: none; color: inherit; min-width: 0 }
.qlink a:hover { background: color-mix(in srgb, var(--card) 88%, #2F6B5F) } .qlink b { font-size: .95rem; line-height: 1.25 } .qlink small { color: var(--muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.qlink.off { opacity: .6 } .qlcopy { border: 0; border-left: 1px solid var(--line, #e6e2d8); background: transparent; padding: 0 11px; cursor: pointer; font-size: 1rem }
.pcgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px }
.pcard { position: relative; display: flex; flex-direction: column; gap: 4px; background: var(--card); border: 1px solid var(--line, #e6e2d8); border-top: 4px solid #1F2A3C; border-radius: 12px; padding: 14px 15px }
.pcard.draft { border-top-color: #B9B4A6; opacity: .8 } .pcname { font-weight: 600; font-size: .95rem; line-height: 1.25; min-height: 2.4em }
.pcprice { font-size: 1.7rem; letter-spacing: -.01em; margin: 2px 0 4px } .pcline { color: var(--muted); font-size: .8rem } .pcline code { background: color-mix(in srgb, var(--card) 85%, #888); padding: 1px 5px; border-radius: 5px; color: inherit }
.pcbadge { position: absolute; top: 10px; right: 10px; font-size: .7rem; background: color-mix(in srgb, var(--card) 80%, #888); border-radius: 99px; padding: 2px 8px }

/* 🧭 ECO_REGNAV: three options on top, the pinned pages, and one uniform tile for links and tickets */
.regextra { display: inline-flex; flex-wrap: wrap; gap: 8px } .regpin { text-decoration: none }
.regnav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 6px 0 16px; max-width: 760px }
.regopt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; background: var(--card); border: 1px solid var(--line, #e6e2d8); border-radius: 12px; padding: 12px 14px; cursor: pointer; color: inherit; text-decoration: none; font: inherit }
.regopt[hidden] { display: none } .regopt b { font-size: 1rem } .regopt small { color: var(--muted); font-size: .78rem } .regico { font-size: 1.2rem }
.regopt[aria-pressed="true"] { background: #2F6B5F; border-color: #2F6B5F; color: #fff } .regopt[aria-pressed="true"] small { color: rgba(255, 255, 255, .8) }
.regopt:hover { border-color: #2F6B5F }
@media (max-width: 560px) { .regnav { grid-template-columns: 1fr } }
.qlgrid, .pcgrid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px }
.qlink { height: 74px; border-radius: 10px } .qlink a, .qlink > span { padding: 9px 11px; justify-content: space-between }
.qlink b { font-size: .86rem; line-height: 1.22; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden } .qlink small { font-size: .72rem }
.qlcopy { padding: 0 8px; font-size: .85rem; opacity: .7 } .qlcopy:hover { opacity: 1 } .qldel { color: #A33B32 }
.pcard { height: 74px; border-top: 1px solid var(--line, #e6e2d8); border-radius: 10px; padding: 9px 11px; display: grid; grid-template-columns: 1fr auto; grid-auto-rows: min-content; gap: 2px 10px; overflow: hidden }
.pcname { font-size: .86rem; line-height: 1.22; min-height: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden }
.pcprice { font-size: 1.05rem; margin: 0; grid-row: 1; grid-column: 2; align-self: start } .pcline { grid-column: 1 / -1; font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.pcbadge { position: static; grid-column: 2; grid-row: 2; justify-self: end; font-size: .66rem }

/* 🌐 ECO_WEBLOOK: the attendee page as it is on the website (its fonts, colours and buttons), with the corrections marked */
.tblock.weblook.siteview .ttools, .tblock.weblook.siteview .tfoot { display: none }
.wp { --two: #138792; --three: #0f4c68; --four: #46a8b3; font-family: "Open Sans", Arial, Helvetica, sans-serif; color: #333; font-size: 16px; line-height: 1.5; background: #fff; border-radius: 12px; padding: 0 0 28px; overflow: hidden }
.wpstrip { background: #F5F7F9; border-bottom: 1px solid #E3E8EE; padding: 12px 24px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin-bottom: 24px }
.wpsl { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline } .wpsr { display: flex; gap: 8px; flex-wrap: wrap }
.wpeye { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--three) } .wpstate { font-size: 14px; color: #5F6B7A }
.wpstate.bad { color: #C00000; font-weight: 700 } .wpstate.ok { color: #1E7A3C; font-weight: 700 }
.wplegend { flex-basis: 100%; margin: 0; font-size: 13px; color: #5F6B7A }
.wp > :not(.wpstrip) { margin-left: 24px; margin-right: 24px }
.wpbox { border: 1px solid var(--two); border-radius: 12px; padding: 24px; margin-bottom: 24px }
.wptitle { color: var(--two); font-family: inherit; font-weight: 700; font-size: 1.875rem; line-height: 1.38; margin: 0 0 16px }
.wpbody p { margin: 0 0 16px } .wpbody ul { margin: 0 0 16px; padding-left: 22px } .wpbody li { margin: 0 0 4px }
.wpbody .wph { color: var(--two); font-family: inherit; font-weight: 700; font-size: 1.5rem; line-height: 1.4; margin: 24px 0 12px }
.wpbox .wpbody > p:nth-of-type(2) { font-weight: 700 } .wpbody > p:first-child:not(.wpchg) { font-weight: 700 } .wpbox .wpbody > p:first-child { font-weight: 400 !important }
.wpbtns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px }
@media (max-width: 1000px) { .wpbtns { grid-template-columns: repeat(2, minmax(0, 1fr)) } } @media (max-width: 520px) { .wpbtns { grid-template-columns: 1fr } .wp > :not(.wpstrip) { margin-left: 14px; margin-right: 14px } }
.wpbtn { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 24px; border: 0; border-radius: 12px; background: linear-gradient(to bottom, #0f4c68, #46a8b3); color: #fff; font: 700 1.125rem/1.5 "Open Sans", Arial, sans-serif; text-transform: uppercase; text-align: left; text-decoration: none; cursor: pointer }
.wpbtn:hover { filter: brightness(1.08) } .wpbtn i { font-style: normal; font-weight: 400; font-size: 1.4rem; line-height: 1 } .wpbtn span { flex: 1 }
.wpbtn.sm { display: inline-flex; padding: 12px 20px; font-size: 1rem } .wpcnt { background: #C00000; color: #fff; border-radius: 99px; min-width: 26px; height: 26px; display: inline-grid; place-items: center; font-size: 13px; padding: 0 7px }
.wpback { appearance: none; cursor: pointer; background: #fff; color: var(--three); border: 2px solid var(--two); border-radius: 12px; padding: 10px 18px; font: 700 15px "Open Sans", Arial, sans-serif; margin-bottom: 20px }
.wpback:hover { background: var(--two); color: #fff }
.wprm { color: #C00000; text-decoration: line-through; text-decoration-thickness: 1.5px } .wpadd { color: #1E7A3C; font-weight: 600 }
.wpchg { padding: 8px 12px; border-radius: 4px; font-weight: 400 !important } .wpchg.add { background: #EAF4EC; border-left: 4px solid #1E7A3C; color: #1E7A3C } .wpchg.remove { background: #FBEAEA; border-left: 4px solid #C00000 } .wpchg.replace { background: #F5F7F9; border-left: 4px solid #C00000 }
li.wpchg { list-style: none; margin-left: -22px }
.wptag { display: inline-block; font-size: 11px; letter-spacing: .08em; font-weight: 700; border-radius: 3px; padding: 0 6px; margin: 0 8px 0 0; line-height: 18px; vertical-align: 2px; color: #fff; background: #C00000; text-transform: none } .wptag.nw { background: #1E7A3C }
.wpsoon { font-size: 14px; color: #5F6B7A; border-top: 1px dashed #E3E8EE; padding-top: 12px }

/* 👁 ECO_VIEWAS */
select.viewas { max-width: 210px; cursor: pointer } .viewasbar { position: sticky; top: 0; z-index: 60; background: #7A4B00; color: #fff; padding: 8px 14px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: center; font-size: .9rem }

/* 🧾 ECO_COSTFIX */
.budt .invlink { color: inherit; text-decoration: underline; text-decoration-color: #B88A1E; text-underline-offset: 2px } .budt .invlink:hover { color: #7A5A00 }

/* 🔒 ECO_BUDLOCK */
.budlockbar { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; background: #F3EBDD; border: 1px solid #E2D3B8; border-radius: 10px; padding: 8px 12px; margin: 0 0 8px; font-size: .88rem }
.budlockbar.open { background: #FBE9E7; border-color: #E5B5AE; font-weight: 600 } .budt .bsrc { color: inherit; font-weight: 400; text-transform: none; letter-spacing: 0 }

/* 🧽 ECO_REGTIDY */
.regcap { margin: 14px 0 6px; font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted) }
.regtidy #codesBar, .regtidy .codesbar { background: var(--card); border: 1px solid var(--line, #e6e2d8); border-radius: 12px; padding: 10px 12px; margin: 0 0 4px }
.regnav.big { max-width: 660px; gap: 14px; margin: 0 0 22px } .regnav.big .regopt { aspect-ratio: 1 / 1; max-height: 200px; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 14px; border-radius: 16px; border-width: 2px }
.regnav.big .regico { font-size: 2.2rem } .regnav.big .regopt b { font-size: 1.05rem; line-height: 1.2 } .regnav.big .regopt small { font-size: .76rem }
@media (max-width: 560px) { .regnav.big { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px } .regnav.big .regico { font-size: 1.5rem } .regnav.big .regopt b { font-size: .82rem } .regnav.big .regopt small { display: none } }
.pcgrid.roomy { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px }
.pcgrid.roomy .pcard { height: auto; min-height: 132px; padding: 14px 16px; gap: 4px 12px; border-radius: 12px; border-top: 4px solid #1F2A3C } .pcgrid.roomy .pcard.draft { border-top-color: #B9B4A6 }
.pcgrid.roomy .pcname { font-size: .98rem; -webkit-line-clamp: 3 } .pcgrid.roomy .pcprice { font-size: 1.45rem } .pcgrid.roomy .pcline { font-size: .82rem; white-space: normal }
.pclinks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line, #e6e2d8); font-size: .82rem } .pcgo { font-weight: 700 } .pcadm { color: var(--muted) }

/* 🌗 light-tinted bars keep dark ink in the dark theme too */
.budlockbar, .budlockbar.open, .viewasbar .btn { color: #1F2A3C } .viewasbar { color: #fff }

/* 🌗 the attendee page in the dark theme: the same layout and buttons, dark paper */
@media (prefers-color-scheme: dark) {
:root:not([data-theme=light]) .wp { --two: #4FC3CE; background: var(--card); color: #E6E9EC }
:root:not([data-theme=light]) .wpstrip { background: rgba(255, 255, 255, .05); border-bottom-color: rgba(255, 255, 255, .12) }
:root:not([data-theme=light]) .wpeye { color: #8FD3DA }
:root:not([data-theme=light]) .wpstate, :root:not([data-theme=light]) .wplegend, :root:not([data-theme=light]) .wpsoon { color: #A9B4BF }
:root:not([data-theme=light]) .wpsoon { border-top-color: rgba(255, 255, 255, .15) }
:root:not([data-theme=light]) .wpstate.bad, :root:not([data-theme=light]) .wprm { color: #FF8A80 }
:root:not([data-theme=light]) .wpstate.ok, :root:not([data-theme=light]) .wpadd { color: #7FD99A }
:root:not([data-theme=light]) .wpback { background: transparent; color: #E6E9EC }
:root:not([data-theme=light]) .wpback:hover { color: #0B1416 }
:root:not([data-theme=light]) .wpchg.add { background: rgba(127, 217, 154, .12); border-left-color: #7FD99A; color: #7FD99A }
:root:not([data-theme=light]) .wpchg.remove { background: rgba(255, 138, 128, .12); border-left-color: #FF8A80 }
:root:not([data-theme=light]) .wpchg.replace { background: rgba(255, 255, 255, .06); border-left-color: #FF8A80 }
:root:not([data-theme=light]) .wp a:not(.wpbtn) { color: #8FD3DA }
}
:root[data-theme=dark] .wp { --two: #4FC3CE; background: var(--card); color: #E6E9EC }
:root[data-theme=dark] .wpstrip { background: rgba(255, 255, 255, .05); border-bottom-color: rgba(255, 255, 255, .12) }
:root[data-theme=dark] .wpeye { color: #8FD3DA }
:root[data-theme=dark] .wpstate, :root[data-theme=dark] .wplegend, :root[data-theme=dark] .wpsoon { color: #A9B4BF }
:root[data-theme=dark] .wpsoon { border-top-color: rgba(255, 255, 255, .15) }
:root[data-theme=dark] .wpstate.bad, :root[data-theme=dark] .wprm { color: #FF8A80 }
:root[data-theme=dark] .wpstate.ok, :root[data-theme=dark] .wpadd { color: #7FD99A }
:root[data-theme=dark] .wpback { background: transparent; color: #E6E9EC }
:root[data-theme=dark] .wpback:hover { color: #0B1416 }
:root[data-theme=dark] .wpchg.add { background: rgba(127, 217, 154, .12); border-left-color: #7FD99A; color: #7FD99A }
:root[data-theme=dark] .wpchg.remove { background: rgba(255, 138, 128, .12); border-left-color: #FF8A80 }
:root[data-theme=dark] .wpchg.replace { background: rgba(255, 255, 255, .06); border-left-color: #FF8A80 }
:root[data-theme=dark] .wp a:not(.wpbtn) { color: #8FD3DA }

/* ✌️ ECO_REGTWO */
.regnav.big.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 440px }
.regbadge { display: inline-flex; margin: 0 0 16px; text-decoration: none; font-weight: 700 } .regbadge[hidden] { display: none }
.regtidy #codesSlot { margin-bottom: 14px }

/* 🪗 ECO_REGFOLD */
.regclient { display: flex; align-items: center; gap: 14px; background: #2F6B5F; color: #fff; border-radius: 14px; padding: 16px 18px; margin: 8px 0 14px; text-decoration: none } .regclient[hidden] { display: none }
.regclient:hover { filter: brightness(1.08) } .regclient .regico { font-size: 1.8rem } .regclient b { display: block; font-size: 1.05rem; line-height: 1.25 } .regclient small { color: rgba(255, 255, 255, .85); font-size: .82rem }
.regfold { background: var(--card); border: 1px solid var(--line, #e6e2d8); border-radius: 14px; margin: 0 0 12px }
.regfold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 14px 18px } .regfold > summary::-webkit-details-marker { display: none }
.regfold .regico { font-size: 1.6rem } .regft { flex: 1; min-width: 0 } .regft b { display: block; font-size: 1.05rem } .regft small { color: var(--muted); font-size: .82rem }
.regfarrow { font-size: 1.1rem; color: var(--muted); transition: transform .15s } .regfold[open] .regfarrow { transform: rotate(180deg) } .regfold[open] > summary { border-bottom: 1px solid var(--line, #e6e2d8) }
.regfbody { padding: 14px 18px 6px } .regfbody #codesBar { border: 0; padding: 0; background: transparent }
@media (max-width: 560px) { .regfbody { padding: 12px 10px 4px } .regfold > summary, .regclient { padding: 12px } }

/* ➖ ECO_ONEROW */
.toprow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 10px } .toprowgap { flex: 1 }
.toprow > details.fnav { margin: 0 } .toprow > details.fnav[open] { flex-basis: 100%; order: 9 } .toprow .chglink { margin: 0 }
.toprow #lockBtn.locked { background: var(--card); } .toprow #lockBtn.open { background: #2F6B5F; color: #fff; border-color: #2F6B5F }

/* 📄 ECO_REGPAGE */
.regfold.nohead .tblock > .thead { display: none } .regbackbtn { display: inline-flex; margin: 0 0 8px; text-decoration: none }

/* 📥 ECO_INBOX */
.inbox { margin: 0 0 18px } .inhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px } .inhead h3 { margin: 0; font-size: 1.1rem }
.indrop { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; border: 2px dashed var(--line, #cfc9bb); border-radius: 14px; padding: 18px 14px; margin-bottom: 12px }
.indrop.over { border-color: #2F6B5F; background: color-mix(in srgb, var(--card) 85%, #2F6B5F) } .indrop small { color: var(--muted); font-size: .82rem }
.inpaste { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 0 0 12px } .inpaste[hidden] { display: none } .inpaste .full { grid-column: 1 / -1 } .inpaste label { display: flex; flex-direction: column; gap: 3px; font-size: .82rem }
.inpaste input, .inpaste textarea, .inreply, .inqa textarea { width: 100%; font: inherit; padding: 8px 10px; border: 1px solid var(--line, #cfc9bb); border-radius: 8px; background: var(--card); color: inherit }
.inmail { border: 1px solid var(--line, #e6e2d8); border-radius: 12px; margin: 0 0 8px; padding: 0 14px } .inmail[open] { padding-bottom: 12px } .inmail.done { opacity: .85 }
.inmail > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 11px 0 } .inmail > summary::-webkit-details-marker { display: none }
.infrom b { margin-right: 6px } .infrom small, .inwhen { color: var(--muted); font-size: .8rem } .insubj { flex: 1; min-width: 160px } .inq small { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em }
.inq p { white-space: pre-wrap; margin: 4px 0 10px; max-height: 260px; overflow: auto } .inhint { font-size: .85rem; color: var(--muted); margin: 0 0 6px } .inhint.hit { color: #7A5A00 }
.inqa { border-top: 1px dashed var(--line, #cfc9bb); margin-top: 12px; padding-top: 10px; display: grid; gap: 8px } .inqa[hidden] { display: none } .inqa label { display: flex; flex-direction: column; gap: 3px; font-size: .82rem }
@media (max-width: 560px) { .inpaste { grid-template-columns: 1fr } }

/* 🧑 ECO_CHGWHO */
select.chgwho { margin: 6px 0; max-width: 100%; cursor: pointer }

/* 🖼️ ECO_TILEICONS + 👤 ECO_SWITCH */
.qlico { flex: 0 0 44px; display: grid; place-items: center; font-size: 1.35rem; border-right: 1px solid var(--line, #e6e2d8) }
.qlico.ovo { font: 800 1.15rem/1 system-ui, sans-serif; color: #fff; background: #111; border-radius: 50%; width: 30px; height: 30px; flex: 0 0 30px; margin: auto 7px; border: 0 }
select.acctswitch { max-width: 230px; cursor: pointer }
@media (max-width: 560px) { select.acctswitch { max-width: 150px } }

/* 🧱 ECO_CARDGRID */
@media (min-width: 760px) {
  .tsite.cardgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 10px; align-items: start }
  .tsite.cardgrid > .scard { margin: 0; height: 100% } .tsite.cardgrid > :not(.scard), .tsite.cardgrid > .scard.open { grid-column: 1 / -1 }
}

/* 🗂️ ECO_INBOX2 */
.intabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px }
.intab { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--line, #cfc9bb); background: var(--card); color: inherit; border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 600; cursor: pointer }
.intab b { min-width: 24px; text-align: center; border-radius: 99px; padding: 1px 7px; font-size: .82rem; background: color-mix(in srgb, var(--card) 80%, #888) }
.intab[aria-selected="true"] { border-color: #2F6B5F; background: #2F6B5F; color: #fff } .intab[aria-selected="true"] b { background: rgba(255, 255, 255, .25) }
.intab.t-todo:not([aria-selected="true"]) b { background: #A33B32; color: #fff } .intab.t-wait:not([aria-selected="true"]) b { background: #B88A1E; color: #fff } .intab.t-done:not([aria-selected="true"]) b { background: #2F6B4F; color: #fff }
@media (min-width: 760px) { .inlist.boxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; align-items: start } .inlist.boxes > .inmail { margin: 0 } .inlist.boxes > .inmail[open], .inlist.boxes > :not(.inmail) { grid-column: 1 / -1 } }
.inlist.boxes .inmail > summary { flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px 0 } .inlist.boxes .inmail[open] > summary { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 14px }
.inlist.boxes .inmail:not([open]) .insubj { min-width: 0; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .92rem } .inlist.boxes .inmail:not([open]) .infrom small { display: none }
.inlist.boxes .inmail { border-left: 5px solid #A33B32 } .inlist.boxes .inmail.wait { border-left-color: #B88A1E } .inlist.boxes .inmail.done { border-left-color: #2F6B4F }
.inbadge { font-size: .72rem; font-weight: 700; letter-spacing: .02em; border-radius: 99px; padding: 1px 8px; color: #fff; background: #A33B32 } .inbadge.wait { background: #B88A1E } .inbadge.done { background: #2F6B4F }

/* 🔔 ECO_LOCKASK */
@keyframes locknudge { 0%, 100% { box-shadow: 0 0 0 0 rgba(163, 59, 50, 0) } 25%, 75% { box-shadow: 0 0 0 6px rgba(163, 59, 50, .45) } 50% { box-shadow: 0 0 0 2px rgba(163, 59, 50, .2) } }
.tlock.nudge { animation: locknudge 1.2s ease 1; border-color: #A33B32 }

/* 🧮 ECO_CODESGROUP */
.cshares { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; margin: 6px 0 14px }
.cshare { border: 1px solid var(--line); border-left: 5px solid #A33B32; border-radius: 10px; padding: 10px 12px; background: var(--card) }
.cshead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px } .csdet { color: var(--muted); font-size: .86rem; flex: 1 1 100% } .cscount { font-weight: 700; color: #A33B32; font-size: .86rem }
.csnames { margin: 6px 0; font-size: .84rem } .csnames summary { cursor: pointer; color: var(--muted) } .csnames p { margin: 4px 0 0 } .csin { flex: 1; min-width: 120px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: inherit; font: inherit }
.cneed2 { display: grid; grid-template-columns: minmax(180px, 2fr) minmax(120px, 1fr) 70px minmax(0, 2fr); gap: 10px; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--line) }
.cneed2 .cval { color: #8A2B22; font-weight: 600 } .cneed2 .cco small { color: var(--muted) } .cneed2 .cnote { color: var(--muted); font-size: .8rem }
@media (max-width: 560px) { .cneed2 { grid-template-columns: 1fr auto } .cneed2 .cnote { grid-column: 1 / -1 } }

/* 🏷️ ECO_CODESRATE */
.csdet.csrate { color: var(--ink, inherit); font-size: 1.05rem; font-weight: 600 }

/* ✅ ECO_CHGSEEN */
.chgseen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 10px }
.chgrow.checked { opacity: .6 } .chgrow.checked .chgtick { border-color: #2E7D4F; color: #2E7D4F }
#chgBox.todoonly .chgrow.checked, #chgBox.todoonly .chgrow:not([data-check]) { display: none }
.chgtick { white-space: nowrap }

/* 🏷️ ECO_COMMSNAMES */
.cgh.cgbig { font-size: 1.45rem; font-weight: 800; align-items: center; padding: 10px 14px; margin: 18px 0 12px; border-radius: 10px; border-left: 8px solid #8A8F98; background: var(--card); box-shadow: 0 1px 3px rgba(0, 0, 0, .12) }
.cgh.cgbig small { font-size: .9rem; margin-left: auto }
.cgh.cgbig.st-draft { border-left-color: #C98A1B } .cgh.cgbig.st-ready { border-left-color: #1F6FB2 } .cgh.cgbig.st-active { border-left-color: #2E7D4F }

/* 💡 ECO_INSUGGEST */
.insug { border: 1px solid #E3C45A; border-left: 6px solid #C98A1B; border-radius: 10px; padding: 10px 12px; margin: 0 0 10px; background: rgba(227, 196, 90, .12) }
.insug .insugtext { white-space: pre-wrap; margin: 6px 0 8px; max-height: 320px; overflow: auto }
.insug .insugnote { margin: 4px 0 6px; font-size: .88rem; color: #A33B32; white-space: pre-wrap }

/* 🧵 ECO_INTHREAD */
.inccrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 8px; font-size: .9rem } .inccrow span { font-weight: 600 }
.inccrow .incc { flex: 1 1 260px; min-width: 0; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: inherit; font: inherit }

/* 🏷️ ECO_COMMSNAMES: the Inbox heading matches Drafts / Approved / Active */
.inhead .cgh.cgbig { flex: 1 1 auto; margin: 6px 0 12px } .cgh.cgbig.st-inbox { border-left-color: #A33B32 }

/* ECO_OVEITLOGO */
.qlico.ovimg { border-right: 0; flex: 0 0 44px } .qlico.ovimg img { width: 30px; height: 30px; display: block }
a.pcadm.ovl { padding-left: 22px; background: url(/ops/oveit-mark.png) left center / 18px 18px no-repeat }

/* ECO_CODESFOLD */
details.cfold { border: 1px solid var(--line); border-radius: 10px; margin: 8px 0; background: var(--card) }
details.cfold > summary { cursor: pointer; padding: 8px 12px; list-style: none; display: block } details.cfold > summary::-webkit-details-marker { display: none }
details.cfold > summary h4 { margin: 0; display: flex; align-items: center; gap: 10px } details.cfold > summary h4::before { content: "▸"; color: var(--muted) } details.cfold[open] > summary h4::before { content: "▾" }
details.cfold > summary h4 .btn { margin-left: auto } details.cfold > ul { padding: 0 12px 10px }
.cfoldn { font-size: .82rem; font-weight: 700; color: #2E7D4F } .csum.cwarn { color: #A33B32; font-weight: 700 }

/* 👥 ECO_INFULL */
.inhdr { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 0 0 10px; background: var(--card); font-size: .9rem }
.inhdr .inh { display: flex; gap: 10px; padding: 2px 0 } .inhdr .inh b { flex: 0 0 96px; color: var(--muted); font-weight: 600 } .inhdr .inh span { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere }
details.inthr { border: 1px dashed var(--line); border-radius: 10px; padding: 6px 12px; margin: 0 0 10px } details.inthr summary { cursor: pointer; font-weight: 600 } details.inthr p { white-space: pre-wrap; margin: 8px 0 4px; max-height: 480px; overflow: auto; font-size: .9rem }
.inppl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 10px; font-size: .88rem } .inppl span { flex: 1 1 260px; min-width: 0; overflow-wrap: anywhere; color: var(--muted) }

/* 🙋 ECO_INCLAIM */
.inbadge.hand { background: #1F6FB2 } .inmail.hand { border-left: 5px solid #1F6FB2 }
.inwho { flex: 1 1 100%; font-size: .8rem; font-weight: 700; margin-top: 2px } .inwho.none { color: #A33B32 } .inwho.me { color: #1F6FB2 } .inwho.other { color: #B85C00 } .inwho.wait { color: #8A6A10 } .inwho.done { color: #2F6B4F }
.inclaimbar { border: 1px solid #E0A458; background: rgba(224, 164, 88, .16); border-radius: 10px; padding: 8px 12px; margin: 0 0 10px; font-weight: 600 }
dialog.inask { border: 0; border-radius: 14px; padding: 18px 20px; max-width: min(92vw, 460px); background: var(--card); color: inherit; box-shadow: 0 12px 40px rgba(0, 0, 0, .35) } dialog.inask::backdrop { background: rgba(0, 0, 0, .45) }
dialog.inask h3 { margin: 0 0 6px; font-size: 1.1rem } .inaskb { display: flex; flex-direction: column; gap: 8px; margin-top: 10px } .inaskb .btn { text-align: left; padding: 10px 12px }

/* 📖 ECO_PLAYBOOK */
.inacts { flex: 1 1 100%; font-size: .8rem; font-weight: 700 } .inacts.ask { color: #B85C00 } .inacts.open { color: #1F6FB2 } .inacts.clear { color: #2F6B4F }
.inact { border: 1px solid var(--line); border-left: 6px solid #1F6FB2; border-radius: 10px; padding: 10px 12px; margin: 0 0 10px; background: var(--card) }
.inrulerow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 6px 0; font-size: .9rem } .inrulerow span { font-weight: 600 } .inrule { flex: 1 1 260px; min-width: 0; max-width: 100%; text-align: left }
.inrulesay { font-size: .88rem; color: var(--muted); margin: 4px 0 8px; white-space: pre-wrap }
.inactl { list-style: none; padding: 0; margin: 8px 0 } .inactl li { padding: 5px 0; border-top: 1px solid var(--line) } .inactl li label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer }
.inactl li > div { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center } .inactl li.a-done span { text-decoration: line-through; opacity: .65 } .inactl li.a-no span:not(.innotag) { text-decoration: line-through; opacity: .6 }
.inasktag, .inoktag, .innotag { font-size: .76rem; font-weight: 700; border-radius: 99px; padding: 1px 8px; color: #fff; background: #B85C00; flex: 0 0 auto } .inoktag { background: #2F6B4F } .innotag { background: #8A8F98 }
.inaddstep { flex: 1 1 220px; min-width: 0 }
details.pbbox { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 16px 0 6px; background: var(--card) } details.pbbox > summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font-size: 1.1rem } details.pbbox > summary small { color: var(--muted); font-size: .84rem }
.pbrule { border-top: 1px solid var(--line); padding: 10px 0 } .pbrule.retired { opacity: .5 } .pbhead { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center } .pbhead .btn { margin-left: auto }
.pbst { font-size: .74rem; font-weight: 700; border-radius: 99px; padding: 1px 8px; background: #2F6B4F; color: #fff } .pbrule.draft .pbst { background: #B88A1E } .pbrule.retired .pbst { background: #8A8F98 }
.pbf { display: block; margin: 6px 0 } .pbf small { display: block; color: var(--muted); font-weight: 600 } .pbf p { margin: 2px 0; white-space: pre-wrap } .pbf textarea, .pbf input { width: 100%; box-sizing: border-box; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: inherit; font: inherit }

/* 📦 ECO_INALL */
.incap { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: .86rem; margin: 0 0 10px; padding: 6px 10px; border-radius: 8px; background: rgba(47, 107, 79, .12) } .incap b { color: #2F6B4F } .incap span { color: var(--muted) }
.incap.bad { background: rgba(163, 59, 50, .12) } .incap.bad b { color: #A33B32 } .incap .incapbad { flex: 1 1 100%; color: #A33B32; font-weight: 600 }

/* 📎 ECO_INFILES */
.inorig { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px } .inattl { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px }
.inview { margin: 0 0 10px } .inframe { width: 100%; height: 560px; border: 1px solid var(--line); border-radius: 10px; background: #fff; resize: vertical }

/* 💾 ECO_CODESAUTO */
.cnote.csaved { color: #2E7D4F; font-weight: 700 } .cfoot.cauto { color: #2E7D4F; font-weight: 600; margin: 10px 0 0 }

/* 🤏 ECO_CODESQUIET */
details.cmore { margin: 2px 12px 8px; font-size: .82rem; color: var(--muted) } details.cmore > summary { cursor: pointer; display: inline-block; list-style: none; padding: 2px 6px; border-radius: 6px } details.cmore > summary::-webkit-details-marker { display: none }
.clinkbtn { background: none; border: 0; padding: 4px 6px; margin-left: 6px; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer }

/* 🔎 ECO_LINKBIG */
.qlgrid.qlbig { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px }
.qlgrid.qlbig .qlink { height: auto; min-height: 104px } .qlgrid.qlbig .qlink a, .qlgrid.qlbig .qlink > span { padding: 12px 14px; gap: 6px; justify-content: flex-start }
.qlgrid.qlbig .qlink b { font-size: 1rem; line-height: 1.25; display: block; -webkit-line-clamp: unset; overflow: visible; overflow-wrap: anywhere } .qlgrid.qlbig .qlink small { font-size: .78rem; margin-top: auto }
.qlgrid.qlbig .qlico { flex: 0 0 62px; font-size: 1.9rem } .qlgrid.qlbig .qlico.ovimg { flex: 0 0 62px } .qlgrid.qlbig .qlico.ovimg img { width: 40px; height: 40px }
.qldet { align-self: flex-start; font-size: .8rem; font-weight: 800; border-radius: 99px; padding: 2px 10px; background: #2E7D4F; color: #fff; letter-spacing: .01em }

/* 🖼️ ECO_EVLOGO */
.evlogo { display: block; background: #fff; border-radius: 8px; padding: 6px 8px; margin: 0 0 8px; height: 64px; box-sizing: border-box; text-align: left } .evlogo img { max-height: 100%; max-width: 100%; object-fit: contain; display: block }

/* 🖍️ ECO_HLROW */
.tblock.hlrow.sheet .tgrid .tbody .tc[data-col].signed { background: transparent } .tblock.hlrow.sheet .tgrid .tbody .tc[data-col].signed.fz { background: var(--sp) }
.tblock.hlrow.sheet .tgrid .tbody .tr.hl .tc, .tblock.hlrow.sheet .tgrid .tbody .tr.hl .tc.fz, .tblock.hlrow.sheet .tgrid .tbody .tr.hl .tc[data-col].signed, .tblock.hlrow.sheet .tgrid .tbody .tr.hl .tc.ync,
.tblock.hlrow.sheet .tgrid .tbody .tr.hl .tc[class*="tint-"] { background: color-mix(in srgb, var(--hl) 55%, var(--ss)) !important }
.tblock.hlrow.runlook.sheet .tgrid .tbody .tr.hl .tc { background: color-mix(in srgb, var(--hl) 38%, var(--ss)) !important }

/* 🗂️ ECO_INEVENTS */
.inscope { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px } .inothers { margin-top: 18px }
.inevh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 18px 0 8px; font-size: 1.1rem; border-top: 2px solid var(--line); padding-top: 12px } .inevh small { color: var(--muted); font-weight: 400; font-size: .84rem }
a.inlinkcard { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; text-decoration: none; color: inherit } a.inlinkcard:hover { border-color: #1F6FB2 }
.inevtag { align-self: flex-start; font-size: .72rem; font-weight: 800; border-radius: 99px; padding: 1px 8px; background: #46546A; color: #fff } .ingo { color: #1F6FB2; font-weight: 700 } select.inmove { max-width: 230px; cursor: pointer }

/* 🏢 ECO_INCOMPANY */
.incoh { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 14px 0 2px; font-size: 1.08rem; border-top: 2px solid var(--line); padding-top: 10px } .incoh small { color: var(--muted); font-weight: 400; font-size: .84rem } .incoh.none { color: #A33B32 }
.incotag { flex: 1 1 100%; font-size: .8rem; font-weight: 700; color: #46546A }

/* 🏷️ ECO_INMETA + 📥 ECO_INCAPTURE */
details.inmeta { margin: 0 0 10px; font-size: .88rem } details.inmeta > summary { cursor: pointer; color: var(--muted); font-weight: 600 } details.inmeta .inhdr { margin-top: 6px }
.incohints { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: -2px 0 10px } .incohints small { flex: 1 1 100%; color: var(--muted) } .incohint { font-weight: 600 }
.incopick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 10px; font-size: .9rem } .incopick span { font-weight: 600 } .incopick select { max-width: 100%; cursor: pointer }

.incochip { cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; border-radius: 8px; padding: 2px 6px; margin-left: -6px } .incochip:hover { background: rgba(70, 84, 106, .12) } .incochip.none { color: #A33B32 }
.incoquick { flex: 1 1 180px; min-width: 0; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: inherit; font: inherit; font-weight: 400 }

/* 🗃️ ECO_INCOFOLD */
.inlist.folds { display: block } .inlist.folds > .incoh { margin: 6px 0 8px }
details.incofold { border: 1px solid var(--line); border-radius: 10px; margin: 6px 0; background: var(--card) }
details.incofold > summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 9px 14px } details.incofold > summary::-webkit-details-marker { display: none }
details.incofold > summary::before { content: "▸"; color: var(--muted) } details.incofold[open] > summary::before { content: "▾" }
details.incofold > summary .incon { font-size: .8rem; font-weight: 700; border-radius: 99px; padding: 1px 9px; background: #46546A; color: #fff } details.incofold > summary small { color: var(--muted); margin-left: auto }
.inlist.rows { display: block; padding: 0 8px 8px } .inlist.rows > .inmail { margin: 0; border-radius: 0; border: 0; border-top: 1px solid var(--line); border-left: 4px solid #A33B32; padding: 0 10px } .inlist.rows > .inmail.wait { border-left-color: #B88A1E } .inlist.rows > .inmail.done { border-left-color: #2F6B4F }
.inlist.rows > .inmail:not([open]) > summary { display: grid; grid-template-columns: auto minmax(110px, 1fr) minmax(0, 2.4fr) auto; gap: 2px 12px; align-items: baseline; padding: 7px 0; font-size: .92rem }
.inlist.rows > .inmail:not([open]) > summary .inwho, .inlist.rows > .inmail:not([open]) > summary .incotag, .inlist.rows > .inmail:not([open]) > summary .inacts, .inlist.rows > .inmail:not([open]) > summary .infrom small { display: none }
.inlist.rows > .inmail:not([open]) > summary .insubj, .inlist.rows > .inmail:not([open]) > summary .infrom { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
@media (max-width: 640px) { .inlist.rows > .inmail:not([open]) > summary { grid-template-columns: auto 1fr auto } .inlist.rows > .inmail:not([open]) > summary .insubj { grid-column: 1 / -1 } }

/* 🗂️ ECO_COMMS3: Comms as four bars that fold open; slim rows */
details.cfold { margin: 0 0 12px } details.cfold > summary { list-style: none; cursor: pointer } details.cfold > summary::-webkit-details-marker { display: none }
details.cfold > summary .cgh.cgbig { margin: 6px 0; display: flex; align-items: center; gap: 10px }
details.cfold > summary .cgh.cgbig { justify-content: flex-start } details.cfold > summary .cgh.cgbig small { margin-left: 4px }
details.cfold > summary .cgh.cgbig::after { content: "▸"; margin-left: auto; font-size: 1.1rem; color: var(--muted) } details.cfold[open] > summary .cgh.cgbig::after { content: "▾" }
.cgh.cgbig.st-folders { border-left-color: #5B6B86 }
.cfnum { display: inline-block; min-width: 1.6em; padding: 1px 8px; border-radius: 999px; background: #E6E8EA; color: #333; font-size: .9rem; font-weight: 700; text-align: center } .cfnum.red { background: #C62828; color: #fff } .cfnum.soft { font-weight: 500 }
.cfwait { font-size: .85rem; font-weight: 500; color: #8A6A10 } .cfbody { padding: 2px 0 6px }
.cgrid.crows { display: block } .cgrid.crows .cbox { display: grid; width: 100%; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 10px; min-height: 0; padding: 9px 12px; margin: 0 0 6px; border-radius: 10px }
.cgrid.crows .cbox .chico { grid-row: 1 / span 2 } .cgrid.crows .cbox .cbn { font-size: 1rem; grid-column: 2 } .cgrid.crows .cbox .cbv { grid-column: 3; grid-row: 1; margin: 0; white-space: nowrap }
.cgrid.crows .cbox .cbs { grid-column: 2 / span 2; margin: 2px 0 0; font-weight: 500; font-size: .82rem; color: var(--muted) } .cgrid.crows .cbox .cbp { grid-column: 2 / span 2; margin: 2px 0 0 }
.chico { flex: none; vertical-align: middle }

/* 🖼️ ECO_INPICS: the paste box in the Inbox's drag area */
.inpastebox { width: min(560px, 100%); min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: transparent; caret-color: transparent; cursor: copy; text-align: center; outline: none }
.inpastebox:empty::before { content: attr(data-ph); color: var(--muted); font-size: .88rem } .inpastebox:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent) }

/* ✅ ECO_TODO: Actions to Take as a to-do list – white, quiet, only the overdue date in red */
.tdbox { background: #fff; color: #1d1d1f; border: 1px solid var(--line); border-radius: 14px; padding: 6px 18px 14px; max-width: 860px }
:root[data-theme="dark"] .tdbox { background: #1c1c1e; color: #f2f2f2 }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tdbox { background: #1c1c1e; color: #f2f2f2 } }
.tdgroup { margin: 14px 0 0 } .tdarea { margin: 0 0 2px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #8a8a8e }
.tdlist { list-style: none; margin: 0; padding: 0 } .tditem { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid rgba(128,128,128,.18) }
.tdlist .tditem:last-child { border-bottom: 0 }
.tdtick { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 1.6px solid #a1a1a6; background: transparent; cursor: pointer; padding: 0; position: relative }
.tdtick:hover { border-color: #636366 } .tdtick:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px } .tdtick[disabled] { cursor: default; opacity: .6 }
.tditem.done .tdtick { background: #8e8e93; border-color: #8e8e93 } .tditem.done .tdtick::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) }
.tdtxt { flex: 1 1 auto; min-width: 0; cursor: pointer; outline: none } .tdtxt:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 30%, transparent); border-radius: 6px }
.tdact { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; font-size: .98rem } .tditem.open .tdact { display: block }
.tditem.done .tdact { text-decoration: line-through; color: #8e8e93 }
.tdmeta { display: block; margin-top: 3px; font-size: .8rem; color: #8a8a8e } .tdmeta .late { color: #D70015; font-weight: 600 }
.tdnext { display: block; margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: rgba(128,128,128,.08); font-size: .88rem; white-space: pre-wrap } .tdnext b { display: block; font-size: .75rem; color: #8a8a8e; margin-bottom: 2px }
.tddone { margin: 16px 0 0 } .tddone > summary { cursor: pointer; font-size: .85rem; font-weight: 600; color: #8a8a8e; padding: 6px 0 } .tdall { margin: 14px 0 4px; color: #8a8a8e }
.todotools { display: flex; gap: 8px; margin: 10px 0 0 }

/* 📄 ECO_DOCVIEW: a section as a Word-like page */
.docpage { background: #fff; color: #1d1d1f; max-width: 820px; margin: 8px 0 24px; padding: 40px 48px; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.06);
  font-family: Aptos, Calibri, "Segoe UI", Arial, sans-serif; font-size: 12pt; line-height: 1.45 }
.docbody:focus { outline: 2px dashed #9bb3c7; outline-offset: 10px }
.docpage h1 { font-size: 20pt; color: #0F4761; font-weight: 600; margin: 22px 0 8px; line-height: 1.2 } .docpage h1:first-child { margin-top: 0 }
.docpage h2 { font-size: 16pt; color: #0F4761; font-weight: 600; margin: 18px 0 6px; line-height: 1.25 }
.docpage h3 { font-size: 12pt; font-weight: 700; text-decoration: underline; margin: 14px 0 4px }
.docpage p { margin: 0 0 8px } .docpage ul, .docpage ol { margin: 0 0 10px; padding-left: 24px } .docpage li { margin: 0 0 4px }
.docpage table { border-collapse: collapse; width: 100%; margin: 8px 0 12px; font-size: 11pt } .docpage th, .docpage td { border: 1px solid #bfbfbf; padding: 5px 8px; vertical-align: top; text-align: left } .docpage th { background: #f2f2f2 }
.docpage a { color: #0563C1 } .docpage .dwho { color: #6e6e73; font-size: .92em }
.doctools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 8px; max-width: 820px } .doctb { display: flex; flex-wrap: wrap; gap: 4px; position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 6px 0; width: 100% }
.doctb .dtb { min-width: 40px } .docacts { display: flex; gap: 8px; align-items: center }
@media (max-width: 600px) { .docpage { padding: 20px 16px; font-size: 11.5pt } .docpage h1 { font-size: 17pt } .docpage h2 { font-size: 14pt } .docpage table { display: block; overflow-x: auto } }
@media print { .doctools, header, nav, .tabs, .back { display: none !important } .docpage { border: 0; box-shadow: none; padding: 0; max-width: none } }

/* 📄 ECO_DOCVIEW: one folding bar per table; inside, a slim row per category (Heading 2) that opens */
.docwrap { max-width: 900px } details.docbox > .doctools { margin: 6px 0 } details.docbox .docpage { margin-top: 4px }
.cgh.cgbig.st-doc { border-left-color: #0F4761 }
.docpage details.dcat { border-top: 1px solid #e3e3e6 } .docpage details.dcat:last-child { border-bottom: 1px solid #e3e3e6 }
.docpage details.dcat > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 10px; padding: 9px 2px }
.docpage details.dcat > summary::-webkit-details-marker { display: none }
.docpage details.dcat > summary::before { content: "▸"; color: #8a8a8e; width: 12px } .docpage details.dcat[open] > summary::before { content: "▾" }
.docpage .dcatn { font-size: 15pt; color: #0F4761; font-weight: 600 } .docpage .dcatc { font-size: .8rem; color: #8a8a8e; margin-left: auto }
.docpage details.dcat[open] { padding-bottom: 8px }
@media print { .docpage details.dcat > summary::before { content: "" } }

/* 🎨 ECO_COMMSRICH: the message editor */
.credit { border: 1px solid var(--line); border-radius: 10px; overflow: hidden } .credit .crtb { padding: 6px; background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0 }
.cedbody { min-height: 260px; max-height: 70vh; overflow: auto; padding: 12px 14px; background: #fff; color: #1d1d1f; font: 11pt/1.45 Calibri, Arial, sans-serif; border: 0; border-radius: 0; outline: none }
.crcols { display: inline-flex; gap: 3px; align-items: center; margin: 0 4px } .crcol { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #aaa; cursor: pointer; padding: 0 }
.crich h2, .cedbody h2 { font-size: 13pt; color: #0F4761; margin: 10px 0 4px } .crich h3, .cedbody h3 { font-size: 11pt; text-decoration: underline; margin: 8px 0 2px } .crich p, .cedbody p { margin: 0 0 8px }
.crich table, .cedbody table { border-collapse: collapse; margin: 6px 0 } .crich td, .crich th, .cedbody td, .cedbody th { border: 1px solid #bfbfbf; padding: 4px 7px }
.mbody.crich { white-space: normal }

/* 🔗 ECO_SECLINKS */
.seclinks { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 10px } .seclinks .slink { text-decoration: none }

/* 📥 ECO_DBINBOX: a small drop area on the client list; the link from a company to its emails */
.indrop.compact { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 8px 12px; border-width: 1.5px } .indrop.compact .inpastebox { min-height: 34px; padding: 6px 10px; width: min(380px, 100%) }
.incolink { margin-left: 6px; font-size: .78rem; font-weight: 600; text-decoration: none; color: var(--brand); white-space: nowrap }

/* 📃 ECO_REGROWS: Registration links as slim rows */
.qlgrid.qlrows { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card) }
.qlgrid.qlrows .qlink { display: flex; align-items: center; gap: 10px; height: auto; min-height: 0; margin: 0; padding: 6px 10px; border: 0; border-radius: 0; border-top: 1px solid var(--line); box-shadow: none; background: transparent }
.qlgrid.qlrows .qlink:first-child { border-top: 0 } .qlgrid.qlrows .qlink:hover { background: color-mix(in srgb, var(--brand) 8%, transparent) }
.qlgrid.qlrows .qlico { flex: none; width: 22px; height: 22px; min-width: 22px; font-size: .8rem; display: inline-flex; align-items: center; justify-content: center } .qlgrid.qlrows .qlico img { width: 20px; height: 20px }
.qlgrid.qlrows .qlink > a, .qlgrid.qlrows .qlink > span:not(.qlico) { flex: 1 1 auto; display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 8px; min-width: 0; text-decoration: none; color: inherit; padding: 0 }
.qlgrid.qlrows .qlink b { font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis } .qlgrid.qlrows .qldet { flex: none; font-size: .75rem; padding: 1px 7px; border-radius: 999px }
.qlgrid.qlrows .qlcopy { position: static; flex: none; width: 30px; height: 30px }
.qlh + .qlgrid.qlrows { margin-top: 4px }

/* 🔒 ECO_TODO2: Team / Just me, and My to-do */
.tdwho { font-weight: 600 } .tdwho.me { color: #7030A0 } .tdwho.team { color: #2F6B4F } .tdev { color: #0F4761 }
.tdhead { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 2px }
.tdwhopick { display: flex; flex-direction: column; gap: 6px } .tdwhopick label { display: flex; gap: 8px; align-items: center; font-weight: 500 }
.tdmine { max-width: 900px } .tdfilters { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 6px 0 12px } .tdchips { display: flex; flex-wrap: wrap; gap: 4px; align-items: center } .tdchipl { font-size: .78rem; color: var(--muted); margin-right: 2px }
#todoList { background: #fff; color: #1d1d1f; border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px 12px }
:root[data-theme="dark"] #todoList { background: #1c1c1e; color: #f2f2f2 }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #todoList { background: #1c1c1e; color: #f2f2f2 } }
details.tdmgroup { border-bottom: 1px solid rgba(128,128,128,.18) } details.tdmgroup > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; padding: 12px 0 6px }
details.tdmgroup > summary::-webkit-details-marker { display: none } details.tdmgroup > summary::before { content: "▸"; color: #8a8a8e } details.tdmgroup[open] > summary::before { content: "▾" }
.tdmgn { font-weight: 700; font-size: .92rem } .tdmgc { font-size: .75rem; color: #8a8a8e; background: rgba(128,128,128,.12); padding: 1px 7px; border-radius: 999px }

/* 📤 ECO_TOSEND */
.cgh.cgbig.st-tosend { border-left-color: #C55A11 } .tslist { list-style: none; margin: 8px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card) }
.tsitem { border-top: 1px solid var(--line) } .tsitem:first-child { border-top: 0 } .tsitem > details > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(90px, 1fr) minmax(0, 2fr) auto; gap: 4px 10px; align-items: center; padding: 8px 12px }
.tsitem > details > summary::-webkit-details-marker { display: none } .tsco { white-space: nowrap; overflow: hidden; text-overflow: ellipsis } .tssub { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis } .tsfrom { color: var(--muted); white-space: nowrap }
.tsbody { padding: 4px 12px 12px } .tsbody .mrow { display: flex; gap: 8px; font-size: .88rem; color: var(--muted) } .tsbody .mbody { margin: 8px 0; padding: 10px 12px; background: #fff; color: #1d1d1f; border: 1px solid var(--line); border-radius: 8px }
@media (max-width: 600px) { .tsitem > details > summary { grid-template-columns: auto 1fr; } .tssub, .tsfrom { grid-column: 2 } }

/* 🗺️ ECO_FPAREA */
.fparea { max-width: 1000px } .fplive { margin: 4px 0 12px; display: inline-block } .fpsec { margin: 0 0 18px } .fpdrop { margin: 6px 0 10px }
.fpcur { border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 10px } .fpmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 8px } .fpmeta small { color: var(--muted) }
.fpbtns { display: inline-flex; gap: 6px; flex-wrap: wrap } .fpimg { display: block; max-width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); cursor: zoom-in; background: #fff }
.fpold { margin: 8px 0 0 } .fplist { list-style: none; padding: 0; margin: 6px 0 0 } .fplist li { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line) }
.fpgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px } .fptile { margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card) }
.fptile img { display: block; width: 100%; height: 150px; object-fit: cover; cursor: zoom-in; background: #eee } .fpvid { display: block; width: 100%; height: 150px; border: 0; background: #1d1d1f; color: #fff; font-size: 2rem; cursor: pointer }
.fptile figcaption { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px; font-size: .85rem } .fptile figcaption > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }

.inaskadd { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 2px; font-weight: 600; color: var(--brand) } .inaskadd input { margin-top: 4px }

/* 🆕 ECO_ONBOARD2 */
.cgh.cgbig.st-ob { border-left-color: #2F6B4F } .obstart { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 10px } .obstart .incoquick { min-width: 260px }
details.obco { border: 1px solid var(--line); border-radius: 10px; background: var(--card); margin: 0 0 8px } details.obco > summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 9px 12px }
details.obco > summary::-webkit-details-marker { display: none } details.obco > summary::before { content: "▸"; color: var(--muted) } details.obco[open] > summary::before { content: "▾" }
.obn { font-weight: 700; font-size: .85rem; color: #C55A11 } .obn.ok { color: #2F6B4F } .obbar { flex: 1 1 120px; max-width: 220px; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden } .obbar i { display: block; height: 100%; background: #2F6B4F }
details.obco > summary small { color: var(--muted) } .obsteps { list-style: none; margin: 0; padding: 0 12px 10px } .obstep { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-top: 1px solid var(--line) }
.obmark { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.6px solid #a1a1a6; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; color: transparent } .obstep.ok .obmark { background: #2F6B4F; border-color: #2F6B4F; color: #fff }
.obstep.ok .tdtick { background: #2F6B4F; border-color: #2F6B4F } .obstep.ok .tdtick::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) }
.obl { display: flex; flex-direction: column } .obl small { color: var(--muted); font-size: .8rem } .obstep.ok .obl > span { color: var(--muted) }
details.obdone > summary { cursor: pointer; color: var(--muted); font-weight: 600; padding: 6px 0 }

/* 🔗 ECO_REGLINKS2: the two buttons on a link row */
.ql2s { display: inline-flex; gap: 14px; align-items: center; margin-left: auto; padding: 0 6px; flex: none } .ql2 { font-size: .85rem; font-weight: 600; white-space: nowrap; color: var(--brand); text-decoration: underline; text-underline-offset: 3px }
.ql2[data-l=back] { font-weight: 500; color: var(--ink) } @media (max-width: 600px) { .ql2s { gap: 10px } .ql2 { font-size: .8rem } }
.qlgrid .qlink > span.ql2s { flex: 0 0 auto; display: inline-flex; flex-direction: row; gap: 16px; padding: 0 8px 0 0; margin-left: auto }
.qlgrid .qlink > span.ql2s > a.ql2 { flex: 0 0 auto; display: inline; padding: 0; background: none }
.qlgrid.qlrows .qlink > a:first-of-type:not(.ql2), .qlgrid.qlrows .qlink > span.qlico + a { flex: 1 1 0; min-width: 0 }
.qlgrid .qlink > span.ql2s > a.ql2 { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; font-size: .85rem; font-weight: 600; white-space: nowrap }
.qlgrid .qlink > span.ql2s > a.ql2[data-l=back] { color: var(--ink); font-weight: 500 }

/* 💬 ECO_INSAY / 🙈 ECO_INHIDE */
.insay { margin: -2px 0 10px; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .92rem; background: #EAF2FB; color: #1F4E79 } .insay.ok { background: #E6F4EA; color: #1E5631 } .insay.bad { background: #FDECEA; color: #8C2B22 }
details.inhidden { margin: 10px 0 0 } details.inhidden > summary { cursor: pointer; color: var(--muted); font-weight: 600; padding: 6px 0 } .inhidlist { list-style: none; padding: 0; margin: 0 }
.inhidlist li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line) } .inhidlist small { color: var(--muted) } .inhidlist button { margin-left: auto }

/* 🔳 ECO_QRCARDS */
.qrhead { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; margin: 4px 0 12px } .qrsum { color: var(--muted) } .qrsum b { color: var(--ink, #1d1d1f) } .qrsum.ok b { color: #2F6B4F } .qrsum .qrred { color: #B3261E }
.qrgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px }
.qrcard { display: flex; flex-direction: column; gap: 8px } .qrface { background: #fff; color: #1d1d1f; border: 1px solid #d8d8dc; border-top: 8px solid #1F4E79; border-radius: 12px; padding: 14px 16px 16px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.06); display: flex; flex-direction: column; align-items: center; gap: 8px; aspect-ratio: 148 / 210 }
.qrcard.todo .qrface { border-top-color: #C55A11 } .qrev { color: #6e6e73; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase } .qrsign { font-size: 1.25rem; line-height: 1.2; color: #1F4E79 } .qrsign.miss, .qrwhat.miss { color: #B3261E; font-style: italic; font-weight: 600 }
.qrbox { width: 72%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; margin: 4px 0 } .qrbox .qrimg { width: 100%; height: 100% } .qrbox.none { border: 3px dashed #C55A11; border-radius: 10px; background: repeating-linear-gradient(45deg, #FFF6EE, #FFF6EE 10px, #fff 10px, #fff 20px); flex-direction: column; gap: 4px; padding: 10px }
.qrbox.none span { font-weight: 800; font-size: 1.1rem; color: #C55A11 } .qrbox.none small { color: #8C3B0B; font-size: .8rem } .qrwhat { margin: 0; font-size: .88rem; color: #3a3a3c } .qrcode { margin: 0; font-weight: 700; font-size: .85rem }
.qrops { font-size: .85rem } .qrmeta { display: flex; flex-wrap: wrap; gap: 2px 10px; color: var(--muted) } .qrmeta b { color: inherit } .qrmiss { margin: 4px 0 6px; color: #B3261E } .qrready { margin: 4px 0 6px; color: #2F6B4F; font-weight: 600 }
dialog.qrdlg { max-width: 520px; width: calc(100% - 32px); border: 0; border-radius: 14px; padding: 18px } dialog.qrdlg::backdrop { background: rgba(0,0,0,.35) } .qrfld { display: flex; flex-direction: column; gap: 3px; margin: 0 0 10px } .qrfld span { font-weight: 600; font-size: .85rem }
.qrfld input, .qrfld textarea { font: inherit; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px } .qrfbtn { display: flex; justify-content: flex-end; gap: 8px } .qrfmsg { color: #B3261E; margin: 0 0 8px; min-height: 1em }
@media print { #printArea.qrprint { display: grid; grid-template-columns: 1fr 1fr; gap: 10mm } #printArea.qrprint .qrcard { break-inside: avoid } #printArea.qrprint .qrface { box-shadow: none; aspect-ratio: auto; height: 125mm; justify-content: center } #printArea.qrprint .qrbox { width: 60mm } }

/* 🪪 ECO_REGPAGE2 */
.regclient.plain { background: var(--card); color: inherit; border: 1px solid var(--line, #e6e2d8) } .regclient.plain small { color: var(--muted) } .regclient.plain .regfarrow { margin-left: auto; font-size: 1.4rem; color: var(--muted) }
.regtickets { margin: 0 0 6px }

/* 🃏 ECO_CARDSOLO */
.cardclose { display: flex; justify-content: flex-end; padding: 6px 0 2px; border-top: 1px dashed var(--line); margin-top: 8px }
details.cvfold > summary { list-style: none; cursor: pointer } details.cvfold > summary::-webkit-details-marker { display: none }
details.cvfold > summary .cvh::before { content: "▾"; color: var(--muted); margin-right: 6px } details.cvfold:not([open]) > summary .cvh::before { content: "▸" }
