
:root{color-scheme:light;--gold:#ddae47;--gold-dark:#976809;--ink:#191919;--muted:#626974;--line:#e0e3e7;--surface:#fff;--bg:#f4f5f7;--radius:16px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}body{margin:0;font-size:1rem;line-height:1.55}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}button,a,input{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #9e6e10}a{color:inherit}[hidden]{display:none!important}.topbar{min-height:94px;border-top:5px solid var(--gold);border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px max(24px,calc((100vw - 1240px)/2))}.brand{display:flex;align-items:center;flex-shrink:0}.brand img{width:207px;height:58px;object-fit:contain}.header-caption{font-size:.8125rem;font-weight:600;letter-spacing:.13em;color:var(--muted)}.account{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.access-badge{background:#fff6df;border:1px solid #ebd29a;border-radius:7px;color:#725016;font-size:.875rem;font-weight:600;padding:4px 10px}#account-name{font-size:.9375rem;font-weight:600}.quiet{background:transparent;border:0;padding:8px 0;color:var(--muted);font-size:.875rem}.quiet:hover{text-decoration:underline;color:var(--ink)}.skip-link{position:fixed;left:16px;top:-100px;z-index:30;background:var(--ink);color:white;padding:12px 20px;border-radius:6px}.skip-link:focus{top:12px}
main{min-height:calc(100dvh - 94px)}.login-view{max-width:490px;margin:clamp(32px,8vh,88px) auto;padding:0 20px}.login-card{position:relative;background:white;border:1px solid var(--line);border-radius:20px;padding:36px 36px 26px;box-shadow:0 14px 38px #17212c08;overflow:hidden}.accent-rule{position:absolute;left:0;top:0;width:100%;height:5px;background:var(--gold)}.eyebrow{font-size:.8125rem;font-weight:700;letter-spacing:.13em;color:var(--gold-dark);margin:0 0 9px}.login-card h1{font-size:2rem;letter-spacing:-.035em;line-height:1.2;margin:0 0 12px}.login-intro{color:var(--muted);margin:0 0 27px;line-height:1.6}.login-card form{display:flex;flex-direction:column;gap:8px}label{font-size:.9375rem;font-weight:600}input{height:50px;min-width:0;border:1px solid #cbd0d6;border-radius:9px;background:#fff;padding:10px 13px;margin-bottom:13px;color:var(--ink)}input:focus{border-color:#ad7c20;box-shadow:0 0 0 3px #ddae4725}input:-webkit-autofill{-webkit-box-shadow:0 0 0 40px #fff8e8 inset}.primary,.secondary,.back-button{border-radius:9px;font-size:.9375rem;font-weight:650;padding:11px 18px;min-height:45px;line-height:1.3;display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:normal}.primary{background:var(--gold);border:1px solid var(--gold);color:var(--ink)}.primary:hover{background:#ecc46c;border-color:#ecc46c}.secondary{border:1px solid #cdd2d8;background:#fff;color:var(--ink)}.secondary:hover{border-color:#ab7e22;background:#fffdf8}.login-button{width:100%;margin-top:4px}.login-note{border-top:1px solid var(--line);font-size:.875rem;color:var(--muted);padding-top:20px;margin-top:26px}.small-lock{color:var(--gold-dark);font-size:.6rem;margin-right:7px}.login-footer{text-align:center;color:var(--muted);font-size:.8125rem;margin:22px 0}.error{margin:4px 0 12px;border:1px solid #efc3c3;background:#fff3f3;color:#992d2d;padding:12px 14px;border-radius:9px;font-size:.9375rem}.page-error{margin:18px 0}.boot-state{padding:80px 20px;text-align:center;color:var(--muted)}
.workspace{width:min(1240px,100%);margin:0 auto;padding:38px 24px 60px}.page-heading{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:14px}.page-heading h1{font-size:2rem;letter-spacing:-.035em;margin:0;line-height:1.25;display:flex;align-items:center;gap:13px}.count{font-size:1rem;letter-spacing:0;background:#e9ebef;color:#4e5663;min-width:31px;padding:3px 9px;border-radius:7px;text-align:center}.sync-note{color:var(--muted);font-size:.875rem;margin:0 0 29px;max-width:800px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.project-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;display:flex;flex-direction:column;align-items:stretch;min-height:228px}.project-card h2{font-size:1.2rem;line-height:1.35;letter-spacing:-.018em;margin:16px 0 10px;overflow-wrap:anywhere}.project-icon{width:39px;height:35px;display:grid;place-items:center;background:#fff5dd;border-radius:8px;color:#8a611a}.project-icon svg{width:22px;height:22px}.project-meta{margin:0 0 6px;color:var(--muted);font-size:.9375rem;overflow-wrap:anywhere}.project-card .project-open{margin-top:22px;align-self:stretch;background:#fff;border:1px solid var(--line);border-radius:8px;min-height:43px;font-size:.9375rem;font-weight:600;padding:9px 12px}.project-card .project-open:hover{background:#fff7e5;border-color:#dfbb71}.project-card .spacer{flex:1}.empty{border:1px solid var(--line);background:white;border-radius:var(--radius);padding:44px 28px;text-align:center;color:var(--muted)}.empty h2{color:var(--ink);font-size:1.25rem;margin:0 0 10px}.empty p{max-width:560px;margin:0 auto}.back-button{border:0;padding:6px 0;margin-bottom:24px;background:transparent;color:var(--muted);font-size:.9375rem;justify-content:flex-start;min-height:34px}.back-button:hover{color:var(--ink);text-decoration:underline}.project-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin-bottom:24px}.project-head h1{font-size:2rem;line-height:1.2;letter-spacing:-.035em;margin:0;overflow-wrap:anywhere}.project-head .eyebrow{margin-bottom:10px}.project-info{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px 24px;margin:0 0 29px}.project-info div{min-width:0}.project-info dt{font-size:.8125rem;color:var(--muted);margin-bottom:4px}.project-info dd{margin:0;font-size:.9375rem;font-weight:550;overflow-wrap:anywhere}.reports-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:24px;align-items:start}.report-sidebar{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.sidebar-title{padding:20px 18px 16px;border-bottom:1px solid var(--line);font-weight:650;font-size:1rem;display:flex;justify-content:space-between;gap:14px}.sidebar-title span{color:var(--muted);font-weight:400;font-size:.9375rem}.report-list{padding:8px;max-height:70vh;overflow:auto}.report-item{display:block;width:100%;text-align:left;border:1px solid transparent;background:white;border-radius:9px;padding:14px 12px;margin:2px 0;line-height:1.45;color:var(--ink)}.report-item strong{font-size:.9375rem;font-weight:650;display:block}.report-item span{display:block;font-size:.875rem;color:var(--muted);overflow-wrap:anywhere;margin-top:4px}.report-item:hover{background:#f6f7f9}.report-item[aria-current="true"]{background:#fff7e5;border-color:#ebd4a4;box-shadow:inset 3px 0 0 var(--gold)}.report-body{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:27px 28px;min-width:0}.report-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:24px}.report-head h2{font-size:1.45rem;letter-spacing:-.025em;line-height:1.35;margin:0 0 5px}.author{color:var(--muted);font-size:.875rem;margin:0}.report-section-title{font-weight:650;font-size:1rem;margin:0 0 13px}.description{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 28px;font-size:1rem;color:#34383e;line-height:1.7}.photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.photo{margin:0;min-width:0}.photo img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#f3f4f6;border-radius:9px;border:1px solid var(--line);display:block}.photo figcaption{font-size:.8125rem;color:var(--muted);margin-top:8px;overflow-wrap:anywhere}.photo-failed{font-size:.875rem;color:#992d2d;margin:6px 0}.download-status{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:20;border-radius:10px;background:#1b1b1b;color:white;padding:13px 20px;box-shadow:0 8px 30px #0002;max-width:calc(100% - 32px);font-size:.9375rem}.download-status.failure{background:#992d2d}.pdf-icon{width:18px;height:18px;flex-shrink:0}
@media(max-width:1000px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reports-layout{grid-template-columns:240px minmax(0,1fr)}.project-info{grid-template-columns:repeat(2,minmax(0,1fr))}.report-head{flex-direction:column}.report-head .primary{align-self:flex-start}}
@media(max-width:700px){.topbar{padding:12px 18px;gap:12px;min-height:83px}.brand img{width:161px;height:46px}.header-caption{font-size:.75rem;letter-spacing:.08em;max-width:88px;line-height:1.7}.account{gap:8px;justify-content:flex-end;max-width:170px}.access-badge{display:none}#account-name{font-size:.875rem}.quiet{font-size:.8125rem;min-height:35px;padding:4px 0}.workspace{padding:27px 18px 44px}.page-heading h1{font-size:1.7rem}.page-heading .secondary{padding:10px 13px}.project-grid{grid-template-columns:1fr;gap:15px}.project-card{padding:21px;min-height:200px}.project-head{flex-direction:column;gap:18px}.project-head h1{font-size:1.7rem}.project-info{padding:20px;gap:21px}.reports-layout{grid-template-columns:1fr;gap:17px}.report-list{display:flex;max-height:none;gap:4px;overflow:auto;scroll-snap-type:x proximity}.report-item{width:180px;flex-shrink:0;margin:0;scroll-snap-align:start}.sidebar-title{padding:16px}.report-body{padding:21px}.photo-grid{gap:12px}.report-head h2{font-size:1.3rem}.login-view{margin:38px auto}.login-card{padding:30px 25px 24px}.login-card h1{font-size:1.8rem}}
@media(prefers-reduced-motion:no-preference){button{transition:background .16s,border-color .16s}.login-card{animation:appear .25s ease-out}@keyframes appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}}
