
:root{--bg:#0c1220;--cell:#121a2b;--fill:#172238;--press:#1f2b45;--hover:#172238;--sep:#2c3c60;--chev:#5f6c8c;--ink:#e9eefb;--ink2:#8d9bbd;--ink3:#7f8cad;--blue:#6fb3ff;--blue2:#9ccbff;--blue-ink:#0c1220;--pill:#0071e3;--pill2:#0062c4;--pill-ink:#ffffff;--red:#ff6b61;--tag:#1f2b45;--blue-tint:rgba(111,179,255,.12);--ring:rgba(111,179,255,.35);--bars:rgba(12,18,32,.82);--scrim:rgba(4,8,16,.55);--shadow:rgba(0,0,0,.5)}
:root{--hair:1px;
--sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue","Segoe UI",Helvetica,Arial,sans-serif;
--mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
--col:1024px;--gutter:16px;--bar:44px;--tab:50px;--safe:env(safe-area-inset-bottom,0px);color-scheme:dark}
@media(min-resolution:2dppx){:root{--hair:.5px}}
@media(min-width:768px){:root{--gutter:32px}}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;background:var(--bg)}
body{margin:0;background:var(--bg);color:var(--ink);font:17px/1.35 var(--sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-numeric:tabular-nums}
a{color:var(--blue);text-decoration:none}
@media(hover:hover){a:hover{text-decoration:underline;text-underline-offset:2px}}
button,input,textarea,select{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.hidden{display:none!important}
b,strong{font-weight:600}

/* one app: the bars stay put while the page underneath cross-fades */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.18s}
@media(prefers-reduced-motion:reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}}

/* top bar: 44px, translucent white, hairline under. Desktop: name left, the sections as a text menu. Phone: the title centred,
   a back chevron on detail pages */
.bar{position:sticky;top:0;z-index:20;height:var(--bar);border-bottom:var(--hair) solid var(--sep);view-transition-name:bar}
.bar::before,.tabs::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--bars);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}
.bar-in{position:relative;display:flex;align-items:center;gap:40px;height:100%;max-width:var(--col);margin:0 auto;padding:0 var(--gutter)}
.brand{font-size:15px;font-weight:600;letter-spacing:-.01em;color:var(--ink);white-space:nowrap}
.brand:hover{text-decoration:none}
.nav{flex:1;display:flex;justify-content:flex-end;gap:36px}
.nav a{font-size:14px;line-height:var(--bar);color:var(--ink2);white-space:nowrap}
.nav a:hover{color:var(--ink);text-decoration:none}
.nav a[aria-current="page"]{color:var(--blue)}
.bar-title{display:none}
.bar-back{display:none}
@media(max-width:767px){
.brand,.nav{display:none}
.bar-title{display:block;position:absolute;left:112px;right:112px;text-align:center;font-size:17px;font-weight:600;line-height:var(--bar);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bar-back{display:flex;align-items:center;gap:6px;height:100%;max-width:88px;font-size:17px;color:var(--blue);white-space:nowrap;overflow:hidden}
.bar-back:hover{text-decoration:none}
@supports (animation-timeline:scroll()){.bar-title{animation:bar-title linear both;animation-timeline:scroll(root);animation-range:30px 70px}}
}
@keyframes bar-title{from{opacity:0}to{opacity:1}}
.bar-back::before,.back::before{content:"";flex:none;width:11px;height:11px;border:solid currentColor;border-width:0 0 2.5px 2.5px;transform:rotate(45deg);margin:0 -2px 0 4px}

/* phone: the bottom tab bar, five items; More opens a sheet with the rest */
.tabs{display:none}
@media(max-width:767px){
body{padding-bottom:calc(var(--tab) + var(--safe))}
.tabs{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:20;height:calc(var(--tab) + var(--safe));padding-bottom:var(--safe);border-top:var(--hair) solid var(--sep);view-transition-name:tabs}
.tabs>a,.tabs summary{flex:1;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:500;color:var(--ink2);cursor:pointer;-webkit-tap-highlight-color:transparent}
.tabs>a:hover{text-decoration:none}
.tabs>a[aria-current="page"],.tabs details.cur>summary,.tabs details[open]>summary{color:var(--blue)}
.tabs details{flex:1;display:flex}
.tabs summary{list-style:none;height:100%}
.tabs summary::-webkit-details-marker{display:none}
.tabs details[open]>summary::before{content:"";position:fixed;inset:0;background:var(--scrim);cursor:default}

}

/* the menus' sheet: the phone's More above the tab bar, the desktop gear's under the bar; a tap outside closes either
   (the open summary's ::before covers the page) */
.tabs .sheet{position:fixed;right:8px;bottom:calc(var(--tab) + var(--safe) + 8px);width:min(280px,calc(100% - 16px))}
.sheet{background:var(--cell);border-radius:13px;overflow:hidden;box-shadow:0 10px 40px var(--shadow)}
.sheet a{position:relative;display:flex;align-items:center;min-height:50px;padding:0 16px;font-size:17px;color:var(--ink)}
.sheet a+a::before{content:"";position:absolute;top:0;left:16px;right:0;border-top:var(--hair) solid var(--sep)}
.sheet a::after{content:"";position:absolute;right:18px;top:50%;width:8px;height:8px;border:solid var(--chev);border-width:2px 2px 0 0;transform:translateY(-50%) rotate(45deg)}
.sheet a[aria-current="page"]{color:var(--blue)}
.sheet a:hover{text-decoration:none}
.sheet a:active{background:var(--press)}
.gear{position:relative;display:flex;align-items:center;margin-left:-8px}
.gear summary{list-style:none;display:flex;align-items:center;justify-content:center;width:36px;height:var(--bar);color:var(--ink2);cursor:pointer}
.gear summary::-webkit-details-marker{display:none}
.gear summary:hover,.gear[open] summary,.gear.cur summary{color:var(--blue)}
.gear[open]>summary::before{content:"";position:fixed;inset:0;cursor:default}
.gear .sheet{position:absolute;top:calc(100% - 2px);right:-8px;width:220px;border:1px solid var(--sep)}
@media(max-width:767px){.gear{display:none}}

/* search: a grey field with a magnifier. In the bar on a desktop, at the right of the sections before the gear; on a phone it
   moves to the top of Shows, People and /search (searchField(q) in layout.ts; add class "phone" to show it on a phone only) */
.search{width:100%;height:30px;padding:0 10px 0 30px;border:0;border-radius:8px;background:var(--fill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238d9bbd' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") no-repeat 10px 50%;color:var(--ink);font-size:14px;-webkit-appearance:none;appearance:none}
.search::placeholder{color:var(--ink3)}
.search:focus{outline:none;box-shadow:0 0 0 3px var(--ring)}
.search::-webkit-search-cancel-button{filter:grayscale(1) brightness(1.4)}
.bar-search{flex:none;margin:0 0 0 8px}
.bar-in .search{width:220px}
.page-search{margin:0}
.page-search .search{height:36px;border-radius:10px;font-size:17px;padding-left:32px;background-position:11px 50%}
@media(min-width:768px){.page-search.phone{display:none}}
@media(max-width:767px){.bar-search{display:none}}

/* page */
.main{max-width:var(--col);margin:0 auto;padding:4px var(--gutter) 40px;display:flex;flex-direction:column;gap:32px}
.head{display:flex;flex-direction:column;gap:4px;padding-top:20px}
@media(min-width:768px){.head{padding-top:36px}}
.back{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;font-size:17px;margin-bottom:6px}
.back::before{width:9px;height:9px;border-width:0 0 2px 2px;margin-left:2px}
/* on a phone the bar carries the back chevron, so the page's own (straight under .head or inside .head.act's column) goes */
@media(max-width:767px){.head .back{display:none}}
.eyebrow{margin:0;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.02em;color:var(--ink2)}
h1{font-size:34px;font-weight:400;letter-spacing:-.015em;line-height:1.12;margin:0;text-wrap:balance;overflow-wrap:anywhere}
h2{font-size:13px;font-weight:400;text-transform:uppercase;letter-spacing:.02em;color:var(--ink2);margin:0}
h2 .n{font-variant-numeric:tabular-nums}
h3{font-size:17px;font-weight:600;margin:0}
.sub{color:var(--ink2);margin:0;font-size:17px}
.head .sub+.sub{font-size:15px}
.m,.meta{color:var(--ink2);font-size:15px}
.faint{color:var(--ink3)}
.mono{font-family:var(--mono);font-size:.82em}
.code{font-family:var(--mono);font-size:.76em;letter-spacing:.02em;color:var(--ink2)}
.num{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
.nw{white-space:nowrap}
.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.between{justify-content:space-between}
.links{display:flex;flex-wrap:wrap;gap:6px 24px;margin-top:10px;font-size:17px}
.warn-t{color:var(--ink)}
.bad-t{color:var(--red)}
.ok-t{color:var(--ink)}

/* sections: an uppercase grey caption over a group, an optional note on its right, an optional footnote under it */
.sec{display:flex;flex-direction:column;gap:7px;min-width:0}
.sec-head{display:flex;justify-content:space-between;align-items:baseline;gap:4px 12px;flex-wrap:wrap;padding:0 16px}
.sec-head .m{font-size:13px}
.sec-foot{margin:0;padding:0 16px;font-size:13px;color:var(--ink2)}
.groups{display:flex;flex-direction:column;gap:16px}
/* two groups under one caption (a price list, then the payments) sit 16px apart, as iOS stacks them */
.sec>:not(.sec-head)+:is(.group,.card,.lines,.empty,.groups){margin-top:9px}

/* two columns from 960: content and a 320px side column (order, person); the morning's two lanes */
.cols{display:flex;flex-direction:column;gap:32px}
.side,.stack{display:flex;flex-direction:column;gap:32px;min-width:0}
@media(min-width:960px){
.cols{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:32px;align-items:start}
.cols.even{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
}

/* groups: white, 10px corners, rows of at least 44px with hairlines inset like iOS */
.group,.card,.lines{background:var(--cell);border-radius:10px;min-width:0}
.group,.lines,.card.flush{overflow:hidden}
.cell{position:relative;padding:11px 16px;min-height:44px;margin:0}
.cell+.cell::before,.lines>li+li::before{content:"";position:absolute;top:0;left:16px;right:0;border-top:var(--hair) solid var(--sep)}
.cell.flush{padding:0}
.txt{font-size:15px;overflow-wrap:anywhere;white-space:pre-line}
.card{padding:0 16px;display:flex;flex-direction:column}
.card.flush{padding:0}
.kv{display:grid;grid-template-columns:auto minmax(0,1fr);margin:0}
.kv dt,.kv dd{margin:0;padding:11px 0;border-top:var(--hair) solid var(--sep)}
.kv dt:first-of-type,.kv dt:first-of-type+dd{border-top:0}
.kv dt{padding-right:16px;white-space:nowrap}
.kv dd{color:var(--ink2);text-align:right;overflow-wrap:anywhere}
.kv dd b{color:var(--ink);font-weight:400}

/* "lines": one plain sentence per thing, the way in on the right (Needs you, Owed, This week) */
.lines{list-style:none;margin:0;padding:0}
.lines>li{position:relative;display:flex;gap:12px;align-items:center;justify-content:space-between;min-height:44px;padding:11px 16px}
.lines .what{min-width:0;display:flex;flex-direction:column;gap:2px}
.lines .what .m{overflow-wrap:anywhere}
.lines .lead{color:var(--ink)}
.lines .end{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:2px;text-align:right}
.lines .amt{font-variant-numeric:tabular-nums;color:var(--ink)}
.lines>li:has(a.go){padding-right:36px}
.lines a.go::after{content:"";position:absolute;inset:0}
.lines a.go::before,.tbl a.go::before{content:"";position:absolute;right:18px;top:50%;width:8px;height:8px;border:solid var(--chev);border-width:2px 2px 0 0;transform:translateY(-50%) rotate(45deg)}
.lines a.go:hover{text-decoration:none}
@media(hover:hover){.lines>li:has(a.go):hover{background:var(--hover)}}
.lines>li:has(a.go):active{background:var(--press)}
/* a group that carries "needs you" dots gets Mail's wider left gutter on every row, so the text still lines up */
.lines:has(>li:is(.urgent,.bad))>li{padding-left:28px}
.lines:has(>li:is(.urgent,.bad))>li+li::before{left:28px}
.lines>li:is(.urgent,.bad) .what::before{content:"";position:absolute;left:11px;top:19px;width:8px;height:8px;border-radius:50%;background:var(--blue)}
.lines>li.bad .what::before{background:var(--red)}
.lines>li.coming .lead,.lines>li.coming{color:var(--ink2);font-size:15px}
/* a text button inside a row, a footnote or a grey line takes the size of the line it sits in; the actions in a line's .end are
   secondary size; a link or a form inside a row that a.go covers sits above the cover */
.lines .b,.tbl .b,.sec-foot .b,.check .b{min-height:0;font-size:inherit;vertical-align:baseline}
.lines .end .acts{font-size:15px}
.lines a:not(.go),.lines form.inline,.tbl a:not(.go),.tbl form.inline{position:relative;z-index:1}
/* "All 16": the rest of a list opens under its first rows, inside the same group */
details.more.all{margin-top:-1px;background:var(--cell);border-radius:0 0 10px 10px}
.sec>.lines:has(+details.more.all){border-radius:10px 10px 0 0}
details.more.all>.lines{border-radius:0}

/* tables: quiet hairline tables in a group from 720; under it each row becomes a list row: the main cell and the figure on
   the first line, then the rest in grey, with the short cells (c-inline) side by side; c-wide cells are left out */
.tbl{width:100%;border-collapse:collapse;font-size:15px}
.tbl th,.tbl td{text-align:left;padding:11px 8px;vertical-align:top;border-top:var(--hair) solid var(--sep)}
.tbl thead th{border-top:0;padding-top:10px;padding-bottom:8px;font-size:13px;font-weight:400;color:var(--ink2);white-space:nowrap}
.tbl th:first-child,.tbl td:first-child{padding-left:16px}.tbl th:last-child,.tbl td:last-child{padding-right:16px}
.tbl td.num,.tbl th.num{text-align:right}
.tbl td{overflow-wrap:break-word}
.tbl td .mono{overflow-wrap:anywhere}
@media(min-width:720px){.tbl td:last-child,.tbl td span[title]{white-space:nowrap}}
.tbl td.num b,.tbl .c-fig b{font-weight:400}
.tbl tbody tr{position:relative}
.tbl tr:has(a.go) td:last-child{padding-right:36px}
.tbl a.go{color:var(--ink)}
.tbl a.go::after{content:"";position:absolute;inset:0}
.tbl a.go:hover{text-decoration:none}
@media(hover:hover){.tbl tbody tr:has(a.go):hover td{background:var(--hover)}}
.tbl tbody tr:has(a.go):active td{background:var(--press)}
.tbl .m{font-size:13px}
.tbl tr.sum td{font-weight:600}
.tbl tr.total td{font-weight:600;border-top:1px solid var(--ink)}
.tbl .acct{color:var(--ink2);margin-right:6px}
.tbl td.err{color:var(--red);min-width:180px;white-space:normal}
.tbl .f{height:30px;font-size:15px;max-width:200px;margin-right:8px}
/* a link to copy in a read-only field: a smaller size so a whole link fits at 390 (a field doesn't wrap; a clipped link reads as cut) */
.f.url-f{font-size:14px;letter-spacing:-.01em;text-overflow:ellipsis}
/* a face beside a name (.who): in a table cell, or in the page head with the 56px face */
.who{display:flex;align-items:center;min-width:0}
.who>*{min-width:0}
.head .who{gap:16px;flex-wrap:nowrap}
.head .who h1{margin:0}
.scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.scroll .tbl td,.scroll .tbl th{white-space:nowrap}
.scroll .tbl td.wrap{white-space:normal;min-width:200px}
@media(max-width:719px){
.tbl:not(.keep) thead{display:none}
.tbl:not(.keep),.tbl:not(.keep) tbody{display:block}
.tbl:not(.keep) tr{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 10px;padding:11px 16px;position:relative}
.tbl:not(.keep) tr+tr::before{content:"";position:absolute;top:0;left:16px;right:0;border-top:var(--hair) solid var(--sep)}
.tbl:not(.keep) tr:has(a.go){padding-right:36px}
.tbl:not(.keep) td,.tbl:not(.keep) td:first-child,.tbl:not(.keep) td:last-child{padding:0;border:0;flex:1 1 100%;order:3;min-width:0;font-size:15px;color:var(--ink2)}
.tbl:not(.keep) td.c-main{flex:1 1 55%;order:1;font-size:17px;color:var(--ink)}
.tbl:not(.keep) td.c-fig{flex:0 0 auto;order:2;text-align:right;color:var(--ink);font-size:17px}
.tbl:not(.keep) td.c-inline{flex:0 0 auto}
.tbl:not(.keep) td.c-inline div{display:inline;margin-left:6px}
.tbl:not(.keep) td.c-wide,.tbl:not(.keep) td:empty{display:none}
.tbl:not(.keep) td[data-l]::before{content:attr(data-l) " ";color:var(--ink3)}
.tbl:not(.keep) tr:has(a.go) td:last-child{padding-right:0}
.tbl.keep{font-size:15px}
.tbl.keep th,.tbl.keep td{padding-left:6px;padding-right:6px}
}

/* status words: the old pills, now words in grey; a small blue dot marks the ones that need you */
.bd{display:inline-flex;align-items:center;gap:6px;color:var(--ink2);white-space:nowrap}
.bd i{display:none;flex:none;width:7px;height:7px;border-radius:50%;background:var(--blue)}
.bd.unpaid,.bd.proposal,.bd.warn{color:var(--ink)}
.bd.unpaid i,.bd.proposal i,.bd.warn i{display:block}
.bd.bad{color:var(--red)}
.tags{display:inline-flex;gap:4px 6px;flex-wrap:wrap;vertical-align:baseline}
.tag{font-size:13px;line-height:1.5;padding:0 7px;border-radius:5px;background:var(--tag);color:var(--ink2)}

/* filters: an iOS segmented control for the status, a grey search field, blue text buttons */
.chips{display:flex;align-self:flex-start;max-width:100%;overflow-x:auto;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chips a{flex:none;display:inline-flex;align-items:center;gap:6px;height:29px;padding:0 13px;border:1px solid var(--blue);margin-left:-1px;color:var(--blue);font-size:13px;white-space:nowrap}
.chips a:first-child{margin-left:0;border-radius:5px 0 0 5px}
.chips a:last-child{border-radius:0 5px 5px 0}
.chips a:hover{text-decoration:none;background:var(--blue-tint)}
.chips a[aria-current="true"]{background:var(--blue);color:var(--blue-ink)}
.chips .faint{color:inherit;opacity:.7}
/* five or more segments do not fit a phone as one control: they wrap into two rows of outlined chips, nothing scrolls sideways */
@media(max-width:767px){
.chips:has(>a:nth-child(5)){flex-wrap:wrap;gap:8px;overflow:visible}
.chips:has(>a:nth-child(5)) a,.chips:has(>a:nth-child(5)) a:first-child,.chips:has(>a:nth-child(5)) a:last-child{margin-left:0;border-radius:15px}
}
.filters{display:flex;gap:8px 16px;flex-wrap:wrap;align-items:center}
.filters .f{flex:1 1 220px;width:auto;min-width:0}
.filters select.f{flex:1 1 220px;max-width:300px}
.filters .b{flex:none}

/* forms: borderless fields; inside a group they sit on hairline rows under a grey caption */
.f{width:100%;height:36px;padding:0 12px;border:0;border-radius:10px;background:var(--fill);color:var(--ink);font-size:17px;-webkit-appearance:none;appearance:none}
.f::placeholder{color:var(--ink3)}
.f:focus{outline:none;box-shadow:0 0 0 3px var(--ring)}
select.f{padding-right:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238d9bbd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:calc(100% - 12px) 50%}
textarea.f{height:auto;min-height:120px;padding:10px 12px;resize:vertical;line-height:1.35}
.form{display:flex;flex-direction:column;gap:12px;margin:0}
.field{position:relative;display:flex;flex-direction:column;gap:2px;padding:10px 16px}
.field+.field::before{content:"";position:absolute;top:0;left:16px;right:0;border-top:var(--hair) solid var(--sep)}
.field .cap{font-size:13px;color:var(--ink2)}
.field .f{background:none;padding:2px 0;border-radius:0;height:auto;min-height:26px}
.field textarea.f{min-height:110px}
.field .f:focus{box-shadow:none}
.field select.f{padding-right:28px}
/* a hint under a field in grey; validation is a sentence in red under the field (spec 4.7), its caption red too */
.field .hint{font-size:13px;color:var(--ink2)}
.field .err{font-size:13px;color:var(--red)}
.field.bad .cap{color:var(--red)}
/* a toggle row: the label left, a checkbox right, as an iOS Settings switch row */
.field.tog{flex-direction:row;align-items:center;justify-content:space-between;gap:12px;min-height:44px}
.field.tog .txt{display:flex;flex-direction:column;gap:2px}
.field.tog input{flex:none;width:22px;height:22px;accent-color:var(--pill);margin:0}
.form-end{display:flex;align-items:center;gap:16px;padding:0 16px}
.lbl{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--ink2)}
.b{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:0;border:0;background:none;color:var(--blue);font-size:17px;cursor:pointer;white-space:nowrap}
.b:hover{text-decoration:none;color:var(--blue2)}
.b.strong{font-weight:600}
.b.danger{color:var(--red)}
.b.quiet{color:var(--ink2)}
/* a row of text actions (Send · Preview · Discard; the stage moves), forms inline */
.acts{display:flex;flex-wrap:wrap;gap:4px 24px;align-items:center}
.acts form{display:inline;margin:0}
.b.p{min-height:40px;padding:0 22px;border-radius:980px;background:var(--pill);color:var(--pill-ink)}
@media(hover:hover){.b.p:hover{background:var(--pill2);color:var(--pill-ink)}}
.b:disabled{opacity:.35;cursor:default}
.saved{color:var(--ink2);font-size:15px}
form.inline{display:inline;margin:0}

/* empty and error states: say what is missing and what fills it */
.empty{margin:0;display:flex;align-items:center;min-height:44px;padding:11px 16px;background:var(--cell);border-radius:10px;color:var(--ink2);font-size:15px}
.empty b{color:var(--ink);font-weight:600}
.error{padding:11px 16px;background:var(--cell);border-radius:10px;font-size:15px}
.error b{color:var(--red)}
/* what a tap did, said once at the top of the page it came back to ("7 sets approved"); red when it did not happen */
.flash{margin:0;padding:11px 16px;background:var(--cell);border-radius:10px;font-size:15px;color:var(--ink)}
.flash.err,.flash.bad b{color:var(--red)}
/* a disclosure row inside a group sits on a hairline like any other row */
.group>details.more{position:relative}
.group>details.more+details.more::before,.group>.cell+details.more::before{content:"";position:absolute;top:0;left:16px;right:0;border-top:var(--hair) solid var(--sep)}
details.more>summary{position:relative;cursor:pointer;color:var(--blue);font-size:17px;min-height:44px;padding:11px 36px 11px 16px;list-style:none}
details.more>summary::-webkit-details-marker{display:none}
details.more>summary::after{content:"";position:absolute;right:18px;top:50%;width:8px;height:8px;border:solid var(--chev);border-width:2px 2px 0 0;transform:translateY(-70%) rotate(135deg);transition:transform .2s}
details.more[open]>summary::after{transform:translateY(-30%) rotate(-45deg)}
details.more[open]>summary{border-bottom:var(--hair) solid var(--sep)}
pre.json,pre.txt{margin:0;padding:12px 16px;font:12px/1.5 var(--mono);color:var(--ink2);white-space:pre-wrap;overflow-wrap:anywhere}
pre.txt{max-height:16em;overflow:auto}

/* the page head with one action on its right (the GotPhoto job header, quieted): <div class="head act"><div>back, h1, sub,
   <p class="state">...</p></div><a class="b p">the one button</a></div>. On a phone the button drops under the title */
.head.act{flex-direction:row;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.head.act>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.head .state{margin:0;color:var(--ink2);font-size:17px}
.head .state b{color:var(--ink);font-weight:400}
.head .state .bd{color:var(--ink);font-size:inherit}
@media(max-width:767px){.head.act{flex-direction:column;align-items:stretch}.head.act>.b.p,.head.act>form{align-self:flex-start}}

/* checklist (.check, a <ul> straight under a section, no group behind it, as the mock): steps in order; li.done grey with a tick, li.now with the blue dot, li.later faint with a dashed
   circle. Each li: <span>step<span class="m">what the system did</span></span><span class="end">time</span> */
.check{list-style:none;margin:0;padding:0}
.check>li{position:relative;display:flex;gap:12px;align-items:center;justify-content:space-between;min-height:44px;padding:11px 16px 11px 40px}
.check>li+li::before{content:"";position:absolute;top:0;left:40px;right:0;border-top:var(--hair) solid var(--sep)}
.check>li::after{content:"";position:absolute;left:16px;top:50%;transform:translateY(-50%);width:14px;height:14px;border-radius:50%;border:1.5px solid var(--chev)}
.check>li.done{color:var(--ink2)}
.check>li.done::after{border-color:var(--ink2);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10' fill='none' stroke='%238d9bbd' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 5.2l2 2 4-4.4'/%3E%3C/svg%3E") no-repeat 50% 50%}
.check>li.now::after{border-color:var(--blue);background:var(--blue);box-shadow:0 0 0 3px var(--blue-tint)}
.check>li.later{color:var(--ink3)}
.check>li.later::after{border-style:dashed}
.check .m{display:block;font-size:15px}
.check .end{flex:none;color:var(--ink2);font-size:15px;text-align:right}

/* a person's face: .face 28px round in a row or a table cell (an <img>, or <span class="face q">D</span> with the initial when
   there is no reference photo); .face.lg 56px in a page head */
.face{display:inline-block;width:28px;height:28px;border-radius:50%;background:var(--fill);object-fit:cover;vertical-align:middle;margin-right:10px;flex:none}
.face.lg{width:56px;height:56px;margin:0}
.face.q{display:inline-flex;align-items:center;justify-content:center;color:var(--ink2);font-size:15px}
.face.lg.q{font-size:22px}

/* a strip of file thumbnails inside a .group (order files, a set, the face on file): 64px squares 4px apart, one row that clips, never wraps or scrolls;
   the last <span> says the rest ("+56"); a <span> with no text is a grey square while the thumbnail is not made yet. Where six
   do not fit (a phone is 326px inside the group) the squares shrink together rather than lose the "+N" */
.strip{display:flex;gap:4px;padding:12px 16px;overflow:hidden}
.strip img,.strip span{flex:0 1 64px;min-width:0;width:64px;height:auto;aspect-ratio:1;border-radius:4px;object-fit:cover;background:var(--fill)}
.strip span{display:inline-flex;align-items:center;justify-content:center;color:var(--ink2);font-size:13px}

/* a figure row (.figs): three or four numbers in one group, each <div><b>$245</b><span class="m">7 orders</span></div>
   inside a .group (money on a show, the queue on System) */
.figs{display:flex}
.figs>div{flex:1;min-width:0;padding:11px 16px;display:flex;flex-direction:column;gap:2px}
.figs>div+div{border-left:var(--hair) solid var(--sep)}
.figs b{font-weight:400;font-size:22px;letter-spacing:-.01em}
.figs .m{font-size:13px}

/* confirm card (.confirm, a cell of a group): the suggestion as a sentence, a grey reason line, then .acts: three text actions,
   one of them .b.strong ("Yes, DU7WH"), a destructive one .b.danger */
.confirm{position:relative;display:flex;flex-direction:column;gap:6px;padding:11px 16px}
.confirm+.confirm::before,.mail+.mail::before{content:"";position:absolute;top:0;left:16px;right:0;border-top:var(--hair) solid var(--sep)}
.confirm .acts,.mail .acts{margin-top:4px}
.confirm .m,.mail .m{overflow-wrap:anywhere}

/* a mail preview in the Comms queue (.mail, a cell of a group): who and what, a grey line, .body with the first lines, .acts */
.mail{position:relative;padding:11px 16px;display:flex;flex-direction:column;gap:4px}
.mail .body{font-size:15px;color:var(--ink2);white-space:pre-line;overflow-wrap:anywhere}

/* the setup list on Settings: a done row's lead goes grey */
.lines>li.done .lead{color:var(--ink2)}

/* pager and footer */
.pager{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:0 16px;font-size:15px;color:var(--ink2)}
.foot{max-width:var(--col);margin:0 auto;padding:8px var(--gutter) 40px;display:flex;flex-wrap:wrap;justify-content:center;gap:2px 16px;text-align:center;font-size:13px;color:var(--ink2)}
.foot .stale{color:var(--ink)}
/* the brand: the site's wordmark, small (lorenzocreative/public/site.css .wordmark), in the navy ink with its sub-line in --ink2
   instead of the site's red; the admin is blue (Iris's shell brief, 2026-10-29). PHOTO & VIDEO is one span per letter, spread
   across the width of LORENZO CREATIVE */
.wordmark{display:inline-grid;width:max-content;row-gap:.24em;font-size:11px;color:var(--ink)}
.wordmark:hover{text-decoration:none}
.wm-title{font-weight:600;line-height:1.1;letter-spacing:.2em;text-transform:uppercase;white-space:nowrap;margin-right:-.2em}
.wm-sub{display:flex;justify-content:space-between;font-weight:400;font-size:.76em;line-height:1.1;text-transform:uppercase;color:var(--ink2);white-space:nowrap}
/* on a phone the bar is the page title and the back chevron, as in the ERP: .wordmark's display would otherwise beat .brand's none
   (the second-reader check of 2026-10-29 caught the title printing over it) */
@media(max-width:767px){.brand.wordmark{display:none}}
