:root{font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;color:#151715;background:#f5f5f2;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit}.shell{min-height:100vh;display:grid;grid-template-columns:245px minmax(0,1fr)}
.sidebar{background:#171917;color:#f6f7f4;padding:31px 20px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:12px;padding:0 11px;font-size:.83rem;line-height:1.18;letter-spacing:.16em;font-weight:600}.brand b,.mobile-brand b{font-weight:800}.brandmark,.auth-mark{display:grid;place-items:center;background:#f5f5f2;color:#171917;border-radius:10px;font-weight:800;font-size:1.45rem;width:40px;height:40px;letter-spacing:-.1em}.side-label{font-size:.65rem;color:#858b84;letter-spacing:.17em;margin:54px 11px 15px;font-weight:700}.sidebar nav{display:grid;gap:3px}.nav-item{border:0;background:transparent;color:#aeb3ac;border-radius:9px;text-align:left;padding:11px 12px;display:flex;align-items:center;gap:12px;width:100%;font-size:.89rem;font-weight:580}.nav-item:hover{background:#252825;color:white}.nav-item.active{background:#f3f5f0;color:#171917}.nav-glyph{width:22px;text-align:center;font-size:1.1rem;font-weight:400}.side-foot{margin-top:auto;border-top:1px solid #303530;padding:23px 11px 3px;color:#b6bcb4;font-size:.78rem;line-height:1.7}.side-foot small{color:#767e76}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#8db995;margin-right:6px}
.workspace{min-width:0}.topbar{height:82px;border-bottom:1px solid #e4e5e0;background:#fafbf8;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(24px,5vw,72px);color:#777d75;font-size:.78rem;letter-spacing:.02em}.top-actions{display:flex;gap:18px;align-items:center}.text-button{border:0;background:transparent;color:#232722;font-size:.8rem}.mobile-brand{display:none;color:#151715;letter-spacing:.12em;font-size:.74rem}
main{max-width:1320px;margin:auto;padding:44px clamp(24px,5vw,72px) 90px}.eyebrow{color:#797e77;font-size:.68rem;letter-spacing:.18em;font-weight:750;margin:0 0 15px}.page-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:30px}.page-head h1{font-size:clamp(2.5rem,5vw,4.3rem);line-height:1.04;letter-spacing:-.065em;font-weight:620;margin:0}.page-head p{color:#777d75;margin:12px 0 0;font-size:.94rem}.page-kicker{color:#616861;font-size:.78rem;margin-bottom:5px}.h1-suffix{font-weight:300;color:#9ba19a}.page-actions{display:flex;gap:10px}.primary,.secondary{border-radius:9px;padding:11px 16px;font-size:.83rem;font-weight:650;white-space:nowrap}.primary{background:#181b18;color:white;border:1px solid #181b18}.primary:hover{background:#353a35}.secondary{background:white;border:1px solid #d8ddd6;color:#202620}.secondary:hover{background:#f0f2ee}.primary:disabled,.secondary:disabled{opacity:.5;cursor:default}
.hero{background:#e8ebe5;border:1px solid #e1e5dc;border-radius:18px;padding:29px 32px;display:grid;grid-template-columns:1fr auto;gap:25px;margin-bottom:30px}.hero .eyebrow{margin-bottom:12px}.hero h2{font-size:clamp(1.45rem,2.6vw,2.25rem);line-height:1.2;letter-spacing:-.045em;margin:0;font-weight:620;max-width:660px}.hero p{color:#657063;margin:14px 0 0;font-size:.84rem}.hero-number{font-size:clamp(3.7rem,8vw,6.5rem);letter-spacing:-.09em;line-height:1;font-weight:550;align-self:center;padding-right:10px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:34px}.stat{background:#fff;border:1px solid #e4e6e1;border-radius:14px;padding:21px}.stat strong{display:block;font-size:2rem;letter-spacing:-.055em;font-weight:580;line-height:1.1}.stat span{font-size:.76rem;color:#788078}.section-head{display:flex;align-items:center;justify-content:space-between;margin:34px 0 14px}.section-head h2{font-size:1.13rem;letter-spacing:-.025em;margin:0}.section-head small{color:#8b9189}.columns{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,1fr);gap:22px}.panel{background:#fff;border:1px solid #e4e6e1;border-radius:14px;overflow:hidden}.panel-pad{padding:21px}.item{padding:17px 21px;border-bottom:1px solid #ebede8;display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.item:last-child{border-bottom:0}.item h3{margin:0 0 5px;font-size:.89rem;font-weight:650;line-height:1.35}.item p{margin:0;color:#777e76;font-size:.75rem;line-height:1.5}.item-meta{display:flex;gap:8px;align-items:center;margin-top:9px;flex-wrap:wrap}.chip{display:inline-flex;align-items:center;border:1px solid #e2e5df;border-radius:30px;padding:3px 8px;color:#6d746b;font-size:.66rem}.chip.dark{background:#222722;color:white;border-color:#222722}.chip.warn{background:#f8f0e8;border-color:#f0dfce;color:#966630}.row-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.mini{background:#f4f5f1;border:1px solid #e6e8e2;border-radius:6px;padding:6px 9px;color:#333a33;font-size:.7rem}.mini:hover{background:#e8ece5}.empty{padding:30px 22px;color:#8b9189;font-size:.85rem}.list-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.project-card{padding:21px;background:#fff;border:1px solid #e4e6e1;border-radius:14px}.project-card h3{font-size:1.1rem;letter-spacing:-.02em;margin:11px 0 7px}.project-card p{font-size:.78rem;color:#808780;margin:0}.project-card .chip{margin-top:20px}.detail-row{display:flex;justify-content:space-between;gap:10px}.source{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.65rem;overflow-wrap:anywhere;color:#9ba099}.form{display:grid;gap:12px}.form.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form label{display:grid;gap:6px;color:#697168;font-size:.72rem;font-weight:650}.form input,.form select,.form textarea,.chat-form input{border:1px solid #d8ddd6;background:#fff;border-radius:8px;padding:11px 12px;min-width:0;color:#1b211b;outline:none}.form input:focus,.form select:focus,.form textarea:focus,.chat-form input:focus{border-color:#606c60;box-shadow:0 0 0 3px #e8ece6}.form .full{grid-column:1/-1}.form .primary{justify-self:start}.form-panel{padding:23px;margin:24px 0}.form-panel h2{margin:0 0 18px;font-size:1rem}.chat{margin-top:26px;border:1px solid #dfe4dc;border-radius:16px;background:#f8faf5;padding:22px}.chat h2{margin:0 0 4px;font-size:1rem}.chat p{font-size:.78rem;color:#7c8579;margin:0 0 16px}.chat-form{display:flex;gap:8px}.chat-form input{flex:1}.chat-answer{margin-top:16px;font-size:.86rem;line-height:1.55}.chat-answer:empty{display:none}.approval-body{white-space:pre-wrap;background:#f6f7f3;border-radius:8px;padding:12px;font-size:.78rem;color:#484e47;margin:12px 0}.footer-note{color:#8c928a;font-size:.72rem;margin-top:30px}#toast{position:fixed;bottom:24px;right:24px;background:#1d231d;color:#fff;padding:12px 16px;border-radius:9px;font-size:.82rem;box-shadow:0 12px 40px #0002;opacity:0;transform:translateY(8px);transition:.2s;pointer-events:none}#toast.show{opacity:1;transform:none}
.auth-backdrop{position:fixed;inset:0;background:#e8ebe5;display:grid;place-items:center;padding:20px;z-index:10}.auth-backdrop.hidden{display:none}.auth-card{background:#fff;border:1px solid #d9dfd6;border-radius:20px;padding:clamp(26px,5vw,48px);max-width:480px;width:100%;box-shadow:0 25px 70px #1b27110d}.auth-mark{background:#1c211c;color:white;margin-bottom:38px}.auth-card h1{font-size:2.45rem;letter-spacing:-.055em;line-height:1.07;margin:0 0 14px}.auth-card p:not(.eyebrow):not(.error){color:#70786e;font-size:.9rem}.auth-card form{display:grid;gap:9px;margin-top:27px}.auth-card label{font-size:.74rem;font-weight:650}.auth-card input{padding:13px;border:1px solid #d8ddd6;border-radius:8px}.auth-card .primary{margin-top:7px}.auth-card small{display:block;color:#9ba199;font-size:.7rem;margin-top:20px}.error{color:#9d3c2c;font-size:.8rem;min-height:1em}
.nav-more{display:none}.nav-item{position:relative}.nav-badge{position:absolute;right:6px;top:4px;min-width:15px;padding:1px 3px;border-radius:9px;background:#a84433;color:white;font-size:.58rem;text-align:center}.nav-badge[hidden]{display:none}.undo-button{margin-left:12px;color:#fff;background:transparent;border:1px solid #fff8;border-radius:5px;padding:5px 8px}.panel-pad .secondary{margin:5px;min-height:44px}button:focus-visible{outline:3px solid #3d754c;outline-offset:2px}
.auth-card>.secondary{width:100%;margin-top:11px}.panel-pad h2{margin:0 0 8px}.panel-pad>p{color:#687168;line-height:1.5}.top-actions .text-button[hidden]{display:none}
@media(max-width:1050px){.shell{grid-template-columns:76px 1fr}.sidebar{padding:29px 12px}.brand{padding:0;justify-content:center}.brand span:last-child,.side-label,.nav-item span:last-child,.side-foot{display:none}.sidebar nav{margin-top:60px}.nav-item{justify-content:center;padding:11px 4px}.nav-glyph{font-size:1.2rem}}
@media(max-width:760px){.shell{display:block}.sidebar{position:fixed;top:auto;bottom:0;left:0;right:0;width:100%;height:70px;z-index:5;padding:4px 6px;background:#fafbf8;color:#272b27;border-top:1px solid #e0e5dc}.sidebar .brand{display:none}.sidebar nav{display:flex;margin:0;justify-content:space-between;gap:2px}.sidebar .nav-extra{display:none}.sidebar .nav-more{display:flex}.nav-item{flex:1 1 20%;width:auto;height:60px;color:#777e75;border-radius:7px;flex-direction:column;gap:0;justify-content:center;padding:4px 2px}.nav-item .nav-label{display:block!important;font-size:.61rem;line-height:1.1}.nav-item.active{background:#e5ebe2}.topbar{height:58px;padding:0 20px}.mobile-brand{display:block}.topbar #today-date{display:none}.top-actions{gap:7px}.top-actions #role-label{display:none}.top-actions #passkey-register{max-width:120px;white-space:normal}main{padding:28px 18px 110px}.page-head{align-items:start;flex-direction:column}.page-head h1{font-size:2.7rem}.page-head>.secondary{width:100%}.page-actions{align-self:center}.hero{padding:18px;grid-template-columns:1fr;margin-bottom:15px}.hero-number{display:none}.stats{grid-template-columns:repeat(2,1fr)}.columns{display:flex;flex-direction:column}.columns>div:nth-child(2){order:-1}.recent-activity{display:none}.list-grid{grid-template-columns:1fr}.form.two{grid-template-columns:1fr}.chat-form{flex-direction:column}.chat-form .primary{align-self:stretch}.mini{min-height:44px;min-width:44px}#toast{left:12px;right:12px;bottom:80px}.chat-form input{font-size:16px}}
.privacy-shield #view,.privacy-shield #toast{visibility:hidden}
.source-summary{margin-top:25px}.source-summary summary{cursor:pointer;min-height:44px;padding:11px 0;font-weight:650}.source-summary>.item{padding-inline:0}.source-summary>p{color:#687168;font-size:.78rem}
@media(max-width:760px){.sidebar{height:calc(70px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}main{padding-bottom:calc(110px + env(safe-area-inset-bottom))}.topbar{min-height:58px;height:auto;padding-block:10px;gap:8px}.top-actions{flex-wrap:wrap;justify-content:flex-end}.page-head h1{font-size:clamp(2rem,11vw,2.7rem)}.item{flex-wrap:wrap}.row-actions{justify-content:flex-start}.auth-card{max-height:calc(100dvh - 30px);overflow:auto}.form input,.form textarea,.form select,.auth-card input{font-size:16px}#toast{bottom:calc(80px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
