/* App skin: emerald plaster edition (owner-directed, 30 Oct 2026). Loaded after the page's own styles.
   Chrome (top bar, side bar, hero) is emerald plaster with embossed champagne metal. Reading surfaces (cards, forms, results) stay light, so light remains the default for reading. */
.topbar,.sidebar,.hero{color:var(--on-em);
 background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,0) 38%),radial-gradient(130% 90% at 82% -12%,rgba(52,170,140,.14),rgba(52,170,140,0) 60%),radial-gradient(120% 100% at 50% 125%,rgba(0,0,0,.50),rgba(0,0,0,0) 62%),var(--gz-tile) 0 0/320px 320px repeat,#06483d}
.topbar{border-bottom:1px solid rgba(217,204,170,.40);backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:0 6px 18px rgba(3,31,26,.28)}
.topbar h1{background:linear-gradient(180deg,#fbf3de 0%,#d9ccaa 45%,#d0c4a4 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;filter:drop-shadow(0 -1px 0 rgba(255,255,255,.28)) drop-shadow(0 2px 1px rgba(0,0,0,.55))}
.topmeta{color:var(--on-em-soft)}
.logo-btn{color:#f6edd2}.logo-btn:focus-visible{outline:3px solid #fbf3de;outline-offset:2px}
.status{color:var(--on-em);border-color:rgba(217,204,170,.55);background:rgba(3,31,26,.35)}
.status.hold{background:#a83434;color:#fff;border-color:#fff}.status.reduced{background:#8a5a00;color:#fff;border-color:#fff}
.sidebar{border-right:1px solid rgba(217,204,170,.35)}
.brand b{background:linear-gradient(180deg,#fbf3de,#d9ccaa 50%,#d0c4a4);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;filter:drop-shadow(0 1px 1px rgba(0,0,0,.5))}
.brand small{color:#f6edd2}
.hero{border:1px solid rgba(217,204,170,.35)}
.hero h2{background:linear-gradient(180deg,#fbf3de 0%,#d9ccaa 42%,#d0c4a4 66%,#f6edd2 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;filter:drop-shadow(0 -1px 0 rgba(255,255,255,.28)) drop-shadow(0 2px 1px rgba(0,0,0,.55))}
/* primary actions: emerald plaster with champagne text on light surfaces; embossed metal on emerald surfaces */
.primary{color:#fbf3de;border-color:rgba(217,204,170,.6);
 background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,0) 45%),var(--gz-tile) 0 0/320px 320px repeat,#06483d;box-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 0 -2px 0 rgba(0,0,0,.25),0 4px 10px rgba(3,31,26,.30)}
.primary:hover{background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,0) 45%),var(--gz-tile) 0 0/320px 320px repeat,#0a5a4a}
.primary:active{filter:brightness(.92)}
.hero .primary,.sidebar .primary{color:#04271f;border-color:rgba(251,243,222,.6);background:linear-gradient(180deg,#fbf3de,#d9ccaa 52%,#b9ab8a);box-shadow:inset 0 1px 0 rgba(255,255,255,.75),inset 0 -2px 0 rgba(0,0,0,.18),0 6px 14px rgba(0,0,0,.35)}
.hero .primary:hover,.sidebar .primary:hover{background:linear-gradient(180deg,#fffaf0,#e6dab8 52%,#c6b995)}
.primary:focus-visible{outline:3px solid #073d3e;outline-offset:3px}.hero .primary:focus-visible{outline-color:#fbf3de}
@media (forced-colors:active){.topbar h1,.brand b,.hero h2{background:none;color:CanvasText;-webkit-text-fill-color:CanvasText;filter:none}.primary{border:2px solid ButtonText}}

/* splash: same emerald plaster as the rest of the app, so first paint (#0a3a36) and the finished screen agree */
.splash{background:radial-gradient(circle at 50% 28%,rgba(30,121,109,.50),rgba(10,58,54,0) 62%),radial-gradient(circle at 50% 125%,rgba(0,0,0,.55),rgba(0,0,0,0) 62%),var(--gz-tile) 0 0/320px 320px repeat,#0a3a36}
.splash .s-skip{margin-top:14px;min-height:44px;min-width:88px;padding:10px 20px;border-radius:12px;border:1px solid rgba(251,243,222,.6);background:rgba(3,31,26,.45);color:#fbf3de;font:700 12px/1 'Plus Jakarta Sans',system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}
.splash .s-skip:focus-visible{outline:3px solid #fbf3de;outline-offset:3px}
.feel-row{display:grid;gap:8px;padding:4px 12px 10px}.feel-row label{font-weight:700;font-size:13px;color:#1c1a14}.feel-row select{min-height:44px;font:inherit;color:#1c1a14;background:#fff;border:1px solid #b9ab8a;border-radius:10px;padding:6px 10px}.feel-row button{min-height:44px}.feel-note{margin:0;font-size:12.5px;line-height:1.45;color:#4a4437}

/* 1.9.5 owner-directed (1 Nov 2026): reclaim top-bar space; hero logo disc hidden on phones; slogan no longer repeats the headline */
.topbar>div:first-child{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:10px;min-width:0}
.topbar>div:first-child .logo-btn{grid-column:1;grid-row:1;margin:0;min-height:44px;padding:0}
.topbar>div:first-child h1{grid-column:2;grid-row:1;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar>div:first-child .topmeta{grid-column:2;grid-row:2;margin:0 0 2px}
@media (max-width:850px){
 .topbar{padding:6px 14px}
 .topbar h1{font-size:21px}
 .topbar .topmeta{display:none}
 .logo-btn img{width:34px;height:34px;border-radius:50%}
 .logo-btn span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
 .hero-mark{display:none}
 .hero-row>div:first-child{max-width:100%}
}
/* 1.9.7 theme toggle in the top bar; the status pill shortens its visible words on phones (all words stay for screen readers) */
.top-right{display:flex;align-items:center;gap:8px;flex:none}
.theme-btn{width:44px;height:44px;min-width:44px;display:inline-grid;place-items:center;padding:0;border-radius:50%;border:1px solid rgba(217,204,170,.6);background:rgba(3,31,26,.35);color:#f6edd2;cursor:pointer}
.theme-btn:focus-visible{outline:3px solid #fbf3de;outline-offset:2px}
.theme-btn .ti-sun{display:none}
html[data-theme="dark"] .theme-btn .ti-sun{display:grid}html[data-theme="dark"] .theme-btn .ti-moon{display:none}
@media (max-width:430px){.status .st-more{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.top-right{gap:6px}.topbar h1{font-size:20px}}
/* 1.9.7 contrast fix found by the scan: the Progress numbers were gold and pale text on a cream card (1.5:1). They now sit on a small emerald tile in both themes. */
.card .metric{background:#0b3d33;border-color:#2a6b5b}
.card .metric b{color:#f0c75e}.card .metric span{color:#e4efe9}

/* 44 px touch targets everywhere (Standards 5.2.1, 11, 16.7; owner: align to the Standards, 5 Nov 2026) */
.btn{min-height:44px}
.topbar .logo-btn,.topbar>div:first-child .logo-btn{min-width:44px}
.view label:has(>input[type="checkbox"]),.view label:has(>input[type="radio"]){display:inline-flex;align-items:center;gap:8px;min-height:44px}
.view .chk-row label:has(>input),.view fieldset label:has(>input[type="checkbox"]){display:flex}
.symbtn{min-height:44px}
