:root{font-family:"Atkinson Hyperlegible Next","Segoe UI",Arial,sans-serif;color:#1b2544;background:#f5f7fb;--ink:#202c54;--blue:#323e87;--line:#dbe0eb;--muted:#52637a;--green:#1d654b}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,.action{cursor:pointer;color:var(--ink);background:white;border:1px solid #cad2e0;border-radius:9px;padding:.67rem 1rem;min-height:44px;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:.4rem}button:hover,.action:hover{border-color:var(--blue)}button:disabled{opacity:.55;cursor:wait}button.primary,.action.primary{background:var(--blue);color:white;border-color:var(--blue)}button.link{border:0;background:transparent;color:var(--blue);padding:.5rem .2rem}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #4585dd;outline-offset:3px}
h1,h2,h3,p{margin:0}h1{font-size:clamp(2rem,4vw,3.2rem);letter-spacing:-.045em;line-height:1.08}h2{font-size:1.35rem;letter-spacing:-.025em}h3{font-size:1.05rem}p,small,.sub{color:var(--muted);line-height:1.5}.sub{font-size:.92rem}label{display:grid;gap:.4rem;font-size:.93rem;font-weight:600}input,select{width:100%;min-width:0;min-height:45px;padding:.65rem .75rem;border:1px solid #b9c4d6;color:var(--ink);border-radius:8px;background:white}select{max-width:100%}.fields{display:grid;gap:1rem}.error{color:#9b2f42}.error:empty{display:none}
.brand{display:flex;align-items:center;gap:10px;font-size:1.45rem;font-weight:750;letter-spacing:-.05em}.brand img{width:39px;height:39px}.brand span{font-size:1.1rem;letter-spacing:0;font-weight:500;opacity:.78;border-left:1px solid currentColor;padding-left:10px}
.auth{min-height:100svh;display:grid;place-items:center;padding:1.5rem;background:#f5f7fb}
.authform{width:min(100%,400px);padding:clamp(1.25rem,4vw,2rem);background:white;border:1px solid var(--line);border-radius:16px}
.authform .brand{justify-content:center;margin-bottom:2rem;font-size:2rem}.authform .primary,.authform .link{width:100%}.authform .link{margin-top:.65rem}
.topbar{background:#fff;border-bottom:1px solid var(--line)}.topinner,.workspace{max-width:1160px;margin:auto;padding:1rem clamp(1rem,3vw,2.5rem)}.topinner,.spread,.inline,.actions,.tools,.breadcrumb,.tabs,.metric{display:flex;align-items:center;gap:.75rem}.topinner,.spread{justify-content:space-between}.inline,.tools,.actions,.breadcrumb{flex-wrap:wrap}.topinner .sub{margin-right:.25rem}.workspace{padding-top:1.7rem;padding-bottom:5rem}.breadcrumb{font-size:.95rem;margin-bottom:.9rem;color:var(--muted)}.breadcrumb button{min-height:36px}.hero{margin-bottom:1.65rem;align-items:end}.hero .sub{margin-top:.55rem}.tabs{border-bottom:1px solid #c7d0e0;margin-bottom:1.5rem;gap:1.25rem;overflow:auto}.tabs button{white-space:nowrap;background:transparent;border:0;border-bottom:3px solid transparent;border-radius:0;color:var(--muted);padding:.6rem .1rem}.tabs button[aria-current="page"]{border-color:var(--blue);color:var(--blue)}
.sheet{border:1px solid var(--line);background:white;border-radius:12px;overflow:hidden}.sheethead,.row,.listitem,.empty{padding:1rem 1.25rem}.sheethead{background:#eef1f9;border-bottom:1px solid var(--line)}.row,.listitem{display:flex;align-items:center;justify-content:space-between;gap:.75rem;border-bottom:1px solid var(--line)}.row:last-child,.listitem:last-child{border-bottom:0}.listitem{width:100%;border-radius:0;border-top:0;border-left:0;border-right:0;text-align:left;justify-content:space-between}.listitem:hover{background:#f5f7fc}.listitem span,.person{min-width:0;overflow-wrap:anywhere}.listitem small,.person small{display:block;font-weight:400}.row strong{font-weight:600}.person{flex:1}.person small{min-height:1.3em;font-size:.8rem}.choices{display:flex;gap:6px}.choices button{font-size:.94rem;min-width:88px}.choices button[aria-pressed="true"]{color:white;background:var(--blue);border-color:var(--blue)}.choices .positive[aria-pressed="true"]{background:var(--green);border-color:var(--green)}.choices .negative[aria-pressed="true"]{background:#953c50;border-color:#953c50}.retry{margin-left:5px;color:#9b2f42;padding:.25rem .5rem}.tools{align-items:end;margin:1rem 0}.tools label{max-width:100%;flex:0 1 auto}.filters label{flex:1 1 115px}.metric{font-size:.95rem;color:var(--muted)}.block{margin-top:1.75rem}.empty p{margin-top:.3rem}.empty{padding:1.6rem}.count{font-variant-numeric:tabular-nums}.scroll{overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:.8rem 1rem;border-bottom:1px solid var(--line)}th{background:#eef1f9;font-size:.9rem}.code{font:600 1.12rem ui-monospace,monospace;letter-spacing:.08em}.hint{margin-bottom:1rem}.sectiontop{margin-bottom:.8rem}
dialog{width:min(430px,calc(100% - 24px));border:0;color:var(--ink);border-radius:16px;padding:1.5rem;box-shadow:0 18px 70px #15235240}dialog::backdrop{background:#17204277}dialog h2{margin-bottom:1.15rem}dialog .actions{justify-content:flex-end}#notice:not(:empty){position:fixed;bottom:1rem;left:50%;transform:translateX(-50%);width:max-content;max-width:92vw;background:#202c54;color:white;padding:.8rem 1.1rem;border-radius:10px;z-index:4}
@media(max-width:720px){.topinner{padding:.65rem 1rem}.topinner .sub{display:none}.workspace{padding-top:.7rem}.hero{align-items:start;flex-wrap:wrap}.tabs{gap:1rem}.row,.sheethead,.listitem{padding:.75rem}.choices button{font-size:.85rem;min-width:0;padding:.55rem .65rem}.row.pay{flex-wrap:wrap}.row.pay .choices{flex-wrap:wrap}.topinner button{font-size:.88rem}.tools{gap:.5rem}.tools label{flex:1 1 130px}.tools button{font-size:.92rem}.sheethead.spread{flex-wrap:wrap}.actions{gap:.45rem}.row .person{min-width:60px}}
