
:root{--bg:#f5f5f2;--paper:#fff;--ink:#202d32;--muted:#657579;--line:#e1e6e3;--green:#176955;--mint:#e6f1eb;--orange:#a65d24;--softorange:#fff1e0;--purple:#70609c;--radius:20px;font:15px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{opacity:.45;cursor:not-allowed}button,a,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #54ab91}[hidden]{display:none!important}h1,h2,h3,p{margin:0}button{min-height:44px}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.app{display:grid;grid-template-columns:238px 1fr;min-height:100vh;max-width:1680px;margin:auto}aside{padding:32px 20px;background:#fcfcfa;border-right:1px solid var(--line);display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;gap:10px;align-items:center;font-size:22px;font-weight:750;letter-spacing:-.7px}.brandmark{background:var(--green);color:white;width:34px;height:34px;border-radius:11px;display:grid;place-items:center}.workspace{margin:34px 4px 24px;padding:11px;background:#edf0eb;border-radius:11px;font-size:13px}.workspace small{color:var(--muted);display:block;font-size:11px}.nav{display:grid;gap:7px}.nav button{border:0;background:none;display:flex;align-items:center;gap:12px;text-align:left;padding:12px 15px;border-radius:12px;color:var(--muted);font-size:14px}.nav button[aria-current=page]{background:var(--mint);color:var(--green);font-weight:650}.sidebar-bottom{margin-top:auto;padding:20px 4px 0}.demo-note{font-size:11px;color:var(--muted);padding:14px 0;border-top:1px solid var(--line)}.profile{display:flex;gap:10px;align-items:center;margin-top:12px;font-size:13px}.avatar{width:34px;height:34px;display:grid;place-items:center;background:#e7e9e4;border-radius:50%;font-size:12px;font-weight:700}.profile small{display:block;font-size:11px;color:var(--muted)}main{min-width:0;padding:0 42px 40px}.topbar{height:81px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted)}.topbar-right{display:flex;align-items:center;gap:14px}.prototype{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--line);border-radius:7px;padding:5px 9px;font-size:10px;font-weight:650;letter-spacing:.7px}.prototype:before{content:'';width:6px;height:6px;background:#d19c4d;border-radius:50%}.role{border:0;background:transparent;color:var(--muted);font-size:12px;max-width:165px}.pagehead{display:flex;justify-content:space-between;gap:20px;align-items:end;margin:32px 0 26px}.eyebrow{font-size:10px;letter-spacing:1.6px;text-transform:uppercase;font-weight:700;color:var(--muted);margin-bottom:10px}h1{font-size:34px;line-height:1.15;letter-spacing:-1.1px;font-weight:650}.subtitle{color:var(--muted);font-size:14px;margin-top:10px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--line);border-radius:11px;padding:11px 17px;background:white;text-decoration:none;font-size:13px;font-weight:600;white-space:nowrap}.button.primary{background:var(--green);border-color:var(--green);color:white}.button.quiet{background:none;border-color:transparent;color:var(--green)}.button.small{padding:8px 12px;font-size:12px}.button:hover{filter:brightness(.97)}.hero{display:grid;grid-template-columns:1.2fr 1fr;background:#e7eee7;border:1px solid #dbe6da;border-radius:var(--radius);overflow:hidden;margin-bottom:26px}.hero-copy{padding:28px 30px}.hero h2{font-size:25px;font-weight:620;letter-spacing:-.6px;line-height:1.25;max-width:380px}.hero p{color:#597167;font-size:13px;margin:12px 0 19px;max-width:380px}.hero-art{position:relative;min-height:220px;overflow:hidden;background:radial-gradient(ellipse at 50% 90%,#c6dbcf,transparent 70%);display:grid;place-items:center}.paper{width:163px;height:175px;background:#fff;border-radius:10px;transform:rotate(8deg);padding:22px;box-shadow:0 18px 35px #36533e15;position:relative}.paper:before{content:'';position:absolute;inset:0;background:#f6faf5;border:1px solid #d1dfd2;border-radius:10px;transform:rotate(-16deg);z-index:-1}.paper .line{height:5px;background:#e0e8e2;border-radius:5px;margin-top:9px}.paper .line:nth-child(2){width:65%;background:#95b9a2}.paper .line:last-child{width:70%}.paper-label{font-size:9px;color:#506c5c;letter-spacing:.4px}.wave{position:absolute;left:12%;top:39%;background:#276e59;color:white;border-radius:14px;padding:16px;box-shadow:0 10px 25px #233c3520;transform:rotate(-9deg);display:flex;align-items:center;gap:4px}.wave i{display:block;width:3px;border-radius:4px;background:#d8eadf;height:24px}.wave i:nth-child(2n){height:12px}.wave i:nth-child(3n){height:32px}.art-check{position:absolute;bottom:26px;right:24%;background:#fff;border:5px solid #e3eee5;color:var(--green);width:48px;height:48px;display:grid;place-items:center;border-radius:50%}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:27px 0 14px;gap:12px}.section-heading h2{font-size:18px;font-weight:650;letter-spacing:-.3px}.caption{font-size:11px;color:var(--muted)}.agents{display:grid;grid-template-columns:1fr 1fr;gap:18px}.agent-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:23px;position:relative}.card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:19px}.agent-icon{width:45px;height:45px;background:var(--mint);color:var(--green);border-radius:13px;display:grid;place-items:center}.agent-icon.purple{color:var(--purple);background:#f0edf7}.pill{display:inline-flex;gap:6px;align-items:center;border-radius:6px;padding:4px 8px;font-size:10px;font-weight:600;white-space:nowrap;background:#edf1ef;color:var(--muted)}.pill.green{color:#25684e;background:#e9f4ec}.pill.amber{color:#985d26;background:#fff2df}.pill.purple{color:#705ba0;background:#f0eafa}.pill.grey{background:#edf0f0;color:#647277}.dot{width:5px;height:5px;background:currentColor;border-radius:50%}.agent-card h3{font-size:20px;font-weight:650;letter-spacing:-.5px}.agent-card p{font-size:13px;color:var(--muted);margin:9px 0 17px;min-height:39px}.card-meta{display:flex;justify-content:space-between;gap:10px;padding:13px 0;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.agent-card .button{width:100%;margin-top:5px}.list{background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden}.job-row{border:0;border-bottom:1px solid var(--line);background:white;display:grid;grid-template-columns:40px minmax(0,1fr) 110px 115px 20px;gap:15px;align-items:center;text-align:left;width:100%;padding:17px 20px;min-height:84px}.job-row:last-child{border-bottom:0}.job-row:hover{background:#fbfcfa}.job-icon{width:38px;height:42px;background:#eff3ef;color:#6a8276;border-radius:9px;display:grid;place-items:center}.job-row strong{font-size:13px;font-weight:600;display:block}.job-row small{font-size:11px;color:var(--muted);display:block;margin-top:3px}.row-time{font-size:11px;color:var(--muted)}.row-chevron{color:#89968d}.row-chevron svg{width:16px}.bottom-info{display:flex;align-items:start;gap:10px;font-size:11px;color:var(--muted);padding:18px 0}.bottom-info svg{width:16px;height:16px}.toolbar{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:18px;flex-wrap:wrap}.tabs{display:flex;gap:4px;background:#e9ede8;padding:4px;border-radius:10px;flex-wrap:wrap}.tabs button{border:0;background:transparent;border-radius:7px;font-size:12px;min-height:34px;padding:6px 13px;color:var(--muted)}.tabs button[aria-selected=true]{background:white;color:var(--ink);box-shadow:0 1px 3px #23332912}.search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:0 12px}.search input{border:0;background:transparent;width:190px;min-height:42px;font-size:12px;color:var(--ink);outline:none}.search svg{width:17px;color:var(--muted)}.scope-note{font-size:12px;color:var(--muted);margin:-4px 0 20px}.library{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.library-card{background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden}.doc-thumb{height:150px;background:#e7ece4;padding:22px 35px 0;overflow:hidden}.doc-thumb.violet{background:#ede9f1}.doc-thumb.blue{background:#e6edf2}.doc-page{height:170px;background:white;border-radius:5px;padding:16px;box-shadow:0 4px 10px #182e3310;transform:rotate(-4deg)}.doc-page p{font-size:9px;line-height:1.4;font-weight:650;margin:9px 0}.doc-page i{display:block;background:#e6e9e6;height:3px;margin:7px 0;width:100%;border-radius:2px}.doc-page i:nth-child(3n){width:73%}.library-body{padding:18px}.library-body h3{font-size:14px;line-height:1.4;min-height:40px}.library-body p{font-size:11px;color:var(--muted);margin:9px 0 15px}.library-body .button{width:100%}.cost-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.cost-card{padding:24px;background:white;border:1px solid var(--line);border-radius:16px}.cost-card h3{font-size:14px;font-weight:600}.cost-number{font-size:32px;letter-spacing:-1px;margin:17px 0 8px}.cost-card p{font-size:12px;color:var(--muted)}.callout{padding:18px 20px;background:#f0f1e9;border-radius:13px;display:flex;gap:12px;align-items:start;font-size:13px;margin:20px 0}.callout p{color:var(--muted);font-size:12px;margin-top:4px}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 20px;border-bottom:1px solid var(--line);font-size:13px}.settings-row:last-child{border:0}.settings-row p{font-size:11px;color:var(--muted);margin-top:4px}.empty{padding:55px 20px;text-align:center;border:1px dashed #cad5cd;border-radius:16px;background:#fcfdfa}.empty h3{font-size:18px;margin:12px 0 6px}.empty p{color:var(--muted);font-size:13px}.page[hidden]{display:none}dialog{border:1px solid var(--line);border-radius:23px;padding:0;width:650px;max-width:calc(100vw - 24px);max-height:90dvh;color:var(--ink);box-shadow:0 30px 120px #152c3935;overflow:auto}dialog::backdrop{background:#23383366;backdrop-filter:blur(4px)}.modal-head{padding:24px 28px 17px;display:flex;align-items:start;justify-content:space-between;border-bottom:1px solid var(--line)}.modal-head h2{font-size:23px;letter-spacing:-.6px;font-weight:650}.modal-head p{font-size:11px;color:var(--muted);margin-top:5px}.close{border:0;background:#f2f4f1;border-radius:50%;width:36px;min-height:36px;display:grid;place-items:center}.close svg{width:17px}.modal-body{padding:24px 28px}.stepper{display:flex;gap:10px;margin-bottom:24px;align-items:center;font-size:11px;color:var(--muted)}.stepper b{display:inline-grid;place-items:center;border-radius:50%;width:23px;height:23px;font-size:10px;margin-right:5px;background:#edf0ec}.stepper .active{color:var(--green);font-weight:650}.stepper .active b{background:var(--mint)}.stepper i{flex:1;height:1px;background:var(--line)}.drop{display:flex;align-items:center;flex-direction:column;gap:9px;padding:30px 15px;border:1.5px dashed #b6cbbf;border-radius:15px;background:#f5f8f3;cursor:pointer;text-align:center}.drop svg{width:30px;height:30px;color:var(--green);margin-bottom:5px}.drop strong{font-size:14px}.drop small{font-size:11px;color:var(--muted)}.drop input{font-size:11px;max-width:100%;margin-top:8px}input::file-selector-button{border:1px solid var(--line);background:white;border-radius:7px;padding:8px;cursor:pointer}.file-line{padding:12px 0;border-bottom:1px solid var(--line);display:flex;gap:10px;align-items:center}.file-line>div{min-width:0;flex:1}.file-line strong{font-size:12px;display:block;overflow-wrap:anywhere}.file-line small{font-size:10px;color:var(--muted)}.file-line button{background:none;border:0;min-height:36px}.file-line svg{color:var(--green)}.demo-file{display:block;margin:15px auto 0;background:none;color:var(--green);border:0;text-decoration:underline;text-underline-offset:4px;font-size:12px}.field{display:block;font-size:12px;font-weight:600;margin:18px 0}.field input,.field textarea,.field select{width:100%;display:block;border:1px solid #d7dfd8;border-radius:10px;background:white;color:var(--ink);padding:12px;margin-top:7px;font-size:14px}.field small{font-size:11px;color:var(--muted);font-weight:400;display:block;margin-top:7px}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:8px}.choice{border:1px solid var(--line);border-radius:11px;padding:13px;cursor:pointer;font-weight:500;display:flex;gap:9px;align-items:start}.choice input{width:auto;margin:3px 0 0}.choice span{font-size:12px}.choice small{margin-top:3px;font-size:10px}.review-row{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:13px 0;font-size:12px}.review-row>span{color:var(--muted)}.review-row strong{text-align:right;overflow-wrap:anywhere;max-width:65%;font-weight:600}.modal-footer{padding:17px 28px;border-top:1px solid var(--line);display:flex;gap:10px;justify-content:space-between;background:#fcfdfb;position:sticky;bottom:0}.modal-footer .button.primary{margin-left:auto}.tiny{font-size:11px;color:var(--muted);margin-top:14px}.timeline{margin:24px 0}.timeline-step{display:flex;gap:13px;position:relative;padding-bottom:22px}.timeline-step:last-child{padding-bottom:0}.timeline-step:not(:last-child):before{content:'';position:absolute;left:12px;top:27px;bottom:4px;width:1px;background:var(--line)}.step-dot{border:1px solid var(--line);border-radius:50%;width:26px;height:26px;display:grid;place-items:center;font-size:10px;flex-shrink:0;background:white;color:#7a8980}.timeline-step.done .step-dot{background:var(--mint);border-color:var(--mint);color:var(--green)}.timeline-step.active .step-dot{background:var(--green);border-color:var(--green);color:white}.timeline-step strong{font-size:13px;font-weight:600}.timeline-step p{font-size:11px;color:var(--muted);margin-top:3px}.detail-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}.scenario-buttons{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.scenario-buttons button{font-size:10px;min-height:32px;padding:6px 9px;border:1px solid var(--line);background:white;border-radius:7px}.scenario-buttons button.selected{background:var(--ink);color:white}.error-box{background:#fff3e9;color:#8a552e;border:1px solid #f1dcc7;border-radius:12px;padding:15px;font-size:12px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#223e33;color:white;border-radius:12px;box-shadow:0 10px 30px #16312630;padding:13px 20px;max-width:90vw;z-index:20;font-size:12px}.proto-footer{font-size:10px;color:var(--muted);border-top:1px solid var(--line);padding-top:18px;margin-top:30px;display:flex;gap:8px;align-items:center}.restriction{padding:35px;background:white;border:1px solid var(--line);border-radius:16px}.restriction h2{font-size:22px}.restriction p{font-size:13px;color:var(--muted);margin-top:10px}
@media(min-width:1450px){main{padding-left:65px;padding-right:65px}}@media(max-width:1050px){.app{grid-template-columns:200px 1fr}main{padding:0 26px 30px}.hero{grid-template-columns:1.4fr 1fr}.hero-copy{padding:25px}.hero-art .wave{left:0}.library,.cost-grid{grid-template-columns:1fr 1fr}.job-row{grid-template-columns:36px minmax(0,1fr) 100px 16px;gap:12px}.row-time{display:none}}@media(max-width:760px){.app{display:block}aside{height:auto;padding:0;border:0;position:static}.brand,.workspace,.sidebar-bottom{display:none}.nav{position:fixed;bottom:0;left:0;right:0;z-index:8;display:flex;gap:0;background:#fffffff5;backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:6px 8px calc(7px + env(safe-area-inset-bottom))}.nav button{flex:1;flex-direction:column;gap:4px;padding:8px 3px;font-size:10px;border-radius:10px}.nav button svg{width:20px;height:20px}main{padding:0 18px 100px}.topbar{height:63px;font-size:11px}.topbar-right{gap:6px}.prototype{font-size:8px;letter-spacing:.3px;padding:5px 6px}.role{font-size:10px;max-width:106px}.pagehead{margin:25px 0 21px;align-items:start;flex-wrap:wrap;gap:15px}h1{font-size:29px}.eyebrow{font-size:9px;margin-bottom:7px}.subtitle{font-size:12px;margin-top:8px}.pagehead>.button{display:none}.hero{grid-template-columns:1fr;margin-bottom:23px}.hero-copy{padding:24px}.hero h2{font-size:23px;max-width:270px}.hero p{font-size:12px;max-width:270px}.hero-art{display:none}.hero .button{width:100%}.agents{grid-template-columns:1fr;gap:13px}.agent-card{padding:20px}.agent-card p{min-height:0}.card-top{margin-bottom:14px}.section-heading{margin:24px 0 13px}.section-heading h2{font-size:17px}.section-heading>.caption{display:none}.job-row{padding:15px 13px;grid-template-columns:32px minmax(0,1fr) 16px;gap:10px}.job-icon{width:32px;height:38px}.job-row>.pill{grid-column:2;grid-row:2;justify-self:start;margin-top:-6px}.row-chevron{grid-column:3;grid-row:1}.job-row strong{font-size:12px}.job-row small{font-size:10px}.toolbar{gap:12px}.search{width:100%}.search input{width:100%}.tabs{width:100%}.tabs button{flex:1;font-size:11px;padding:7px}.library{grid-template-columns:1fr 1fr;gap:12px}.library-body{padding:13px}.library-body h3{font-size:12px;min-height:50px}.library-body p{font-size:10px}.library-body .button{font-size:10px;padding:8px}.doc-thumb{height:119px;padding:17px 18px 0}.doc-page{padding:13px}.cost-grid{grid-template-columns:1fr}.cost-card{padding:20px}.cost-number{margin:10px 0 5px}.scope-note{font-size:11px}.callout{padding:15px}.modal-head{padding:22px 20px 16px}.modal-body{padding:20px}.modal-footer{padding:14px 20px}.modal-head h2{font-size:22px}.choice-grid{grid-template-columns:1fr}.stepper{gap:5px;font-size:10px}.stepper b{margin-right:3px}.drop{padding:23px 12px}.toast{bottom:90px;width:max-content;max-width:90vw}.proto-footer{font-size:10px}.settings-row{padding:16px;align-items:start}.settings-row .pill{white-space:normal}.button{font-size:12px}.hero-art{min-height:180px}}
@media(prefers-reduced-motion:no-preference){.page{animation:appear .2s ease-out}@keyframes appear{from{opacity:.65;transform:translateY(4px)}to{opacity:1;transform:none}}}

.gate{max-width:520px;margin:14vh auto;padding:28px}.gate h1{font-size:28px;margin-top:25px}.gate p{margin:16px 0;color:var(--muted)}.notice{margin:22px 0;padding:16px 20px;background:var(--softorange);border-radius:12px;font-size:13px}.empty p{margin-top:10px;color:var(--muted)}.safe-shell{padding-bottom:env(safe-area-inset-bottom)}

.access-panel{margin-top:28px;padding:24px;border:1px solid #dfe6df;border-radius:20px;background:#fff}
.access-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #e8ece8}
.access-row:last-child{border:0}.access-identity{flex:1;min-width:0;overflow-wrap:anywhere}.access-identity small{display:block;color:#647067;margin-top:4px}.access-actions{display:flex;flex-wrap:wrap;gap:8px}.access-row .button{font-size:13px;padding:9px 12px}
@media(max-width:600px){.access-panel{padding:16px}.access-row{align-items:flex-start;flex-direction:column}.access-actions{width:100%}}

#upload-dialog{border:0;border-radius:20px;width:min(520px,90vw);padding:28px;color:#19243b}#upload-dialog::backdrop{background:#18263d99}#upload-form label{display:block;margin:18px 0;font-weight:600}#upload-form input{display:block;width:100%;box-sizing:border-box;padding:12px;margin-top:8px;border:1px solid #d7dce8;border-radius:8px;font:inherit}#upload-progress{width:100%;margin-bottom:16px}.job-card{background:white;border:1px solid #e2e7f0;border-radius:16px;padding:20px;margin:12px 0;overflow-wrap:anywhere}.job-card h3{margin:0 0 8px}.job-card p{color:#5b667a}.job-card a{display:inline-block;margin-top:8px;color:#385bd7}