/* Workspace layouts use the same type scale as the public site, with room for real saved content. */
body:not(.home-mode){background:#f4f6f1;--ws-line:#d1ddd4;--ws-ink:#133a30;--ws-muted:#4f675a;--ws-pad:clamp(19px,2.4vw,36px);color:var(--ws-ink)}
body:not(.home-mode)>main{min-width:0;width:100%;max-width:1630px;padding-inline:clamp(20px,3.2vw,58px);background:radial-gradient(ellipse at 93% 0%,#e0efe29c,transparent 42%),#f5f7f2}
body:not(.home-mode)>.side{border-right:1px solid #163b30;background:radial-gradient(ellipse at 100% 0%,#3f6052,transparent 63%),#10332b}
body:not(.home-mode) .side nav button{border-radius:10px;min-height:44px}
body:not(.home-mode) .side nav button.selected{background:#c5f3d9;color:#16392e;border-color:#c5f3d9}
body:not(.home-mode)>main>header{min-height:62px;background:transparent;color:#486254;border-color:#cddacf}
body:not(.home-mode)>main>header .pill{min-height:40px;padding:8px 13px;color:#23483a;border:1px solid #becfc1;background:#ffffffa8}
body:not(.home-mode) .ws-label{margin:0;color:#476957;font:500 .78rem/1.5 var(--mono);letter-spacing:.045em;text-transform:uppercase}
body:not(.home-mode) .work-head{padding:clamp(17px,2.5vw,36px) 0}
body:not(.home-mode) .work-head h1,.ws-banner h1{margin:.16em 0;color:var(--ws-ink);font:500 clamp(2.5rem,4.7vw,5rem)/1.01 var(--system);letter-spacing:-.052em}
body:not(.home-mode) .work-head>div:first-child>p:last-child{max-width:55ch;margin:9px 0 0;color:var(--ws-muted);font:445 1.05rem/1.5 var(--system)}
body:not(.home-mode) .example-tools{padding:13px;border:1px solid var(--ws-line);border-radius:14px;background:#ffffffbd}
body:not(.home-mode) .example-tools button{min-height:44px}
body:not(.home-mode) .work-layout{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);background:#fafbf8;border:1px solid var(--ws-line);border-radius:20px;box-shadow:0 12px 42px -33px #1c4333a8;overflow:hidden}
body:not(.home-mode) .work-layout .work-form{order:0;padding:var(--ws-pad);gap:17px}
body:not(.home-mode) .work-layout .work-reference{order:1;border:0;background:#12332c}
body:not(.home-mode) .work-panel-bar{background:transparent}
body:not(.home-mode) .work-form .panel-head h2,body:not(.home-mode) #result-wrap .panel-head h2{color:#193d31;font:520 clamp(1.5rem,2.3vw,2.4rem)/1.13 var(--system);letter-spacing:-.038em}
body:not(.home-mode) .work-form .panel-head h2{margin-top:5px}
body:not(.home-mode) :where(.work-form,.ws-sheet,.concept-editor,.example-tools,dialog) :is(input,textarea,select){min-height:44px;width:100%;border:1px solid #b9cbbf;border-radius:8px;background:#fcfdf9;padding:9px 11px;color:#173c30;font:440 1rem/1.4 var(--system)}
body:not(.home-mode) :where(.work-form,.ws-sheet,.example-tools) select{padding-right:32px}
body:not(.home-mode) :is(.primary,.subtle){min-height:44px;font:550 .9rem/1.3 var(--system);white-space:normal}
body:not(.home-mode) .primary{border-radius:9px;background:#154031;color:#fff}
body:not(.home-mode) .work-form label,body:not(.home-mode) .ws-sheet label,body:not(.home-mode) .concept-inputs label{color:#2e5140;font:530 .93rem/1.37 var(--system);display:block}
body:not(.home-mode) .work-form :is(label input,label select,label textarea),body:not(.home-mode) .ws-sheet :is(label input,label textarea,label select),body:not(.home-mode) .concept-inputs label textarea{margin-top:5px}
body:not(.home-mode) .work-form .note,.ws-sheet .note{font-size:.91rem;line-height:1.55}
body:not(.home-mode) .frame-pick{min-height:44px;font-size:.81rem}
body:not(.home-mode) .work-reference .proof-image{border-radius:14px}
body:not(.home-mode) .work-reference .proof-board{gap:4px;padding:11px 15px 16px}
body:not(.home-mode) .work-reference .proof-channel,body:not(.home-mode) .work-reference .proof-index{font-size:.73rem}
body:not(.home-mode) #result-wrap{margin-bottom:20px}
body:not(.home-mode) .variant-desk{border-radius:16px}
body:not(.home-mode) .variant-rail{padding:12px;gap:8px;background:#ebf1e8}
body:not(.home-mode) .variant-pick{border-radius:10px;min-height:48px}
body:not(.home-mode) .concept-editor{background:#fff}
body:not(.home-mode) .ws-page{padding:clamp(15px,2vw,28px) 0 0;margin:0}
.ws-page :where(div,section,figure,form,dl,dd){min-width:0}
.ws-banner{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,.6fr);align-items:stretch;overflow:hidden;border:1px solid #cfddd1;border-radius:21px;background:#e6efe3}
.ws-banner-copy{align-self:center;padding:clamp(20px,3vw,45px);max-width:66ch}
.ws-banner-copy>p:last-child{font:450 clamp(1rem,1.1vw,1.13rem)/1.5 var(--system);color:#385648;margin:10px 0 0;max-width:56ch}
.ws-banner-photo{position:relative;min-height:174px;background:#cedfd0;overflow:hidden}
.ws-banner-photo img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:50% 49%}
.ws-project-head{background:#e2ebe4}.ws-library-head{background:#f0e5e9}.ws-brand-head{background:#eee9de}.ws-account-head{background:#e4eeea}
.ws-panes{display:grid;grid-template-columns:minmax(0,.91fr) minmax(0,1.09fr);gap:clamp(14px,1.8vw,25px);align-items:start;margin-top:clamp(14px,2vw,28px)}
.ws-sheet,.ws-profile{padding:var(--ws-pad);border:1px solid var(--ws-line);border-radius:18px;background:#fff}
.ws-sheet h2,.ws-profile h2{margin:0;color:var(--ws-ink);font:535 clamp(1.4rem,2.1vw,2.3rem)/1.14 var(--system);letter-spacing:-.037em}
.ws-sheet>p:not(.ws-label){margin:10px 0;color:var(--ws-muted);font:445 1rem/1.53 var(--system)}
.ws-sheet h3{margin:0;color:#203e31;font:540 clamp(1.05rem,1.5vw,1.4rem)/1.22 var(--system)}
.ws-sheet form{padding:0;margin-top:18px;max-width:none;display:flex;flex-direction:column;align-items:stretch;gap:13px;background:transparent;border:0}
.ws-sheet form>button{margin:4px 0 0;align-self:start}
.ws-sheet form>label+label,.ws-sheet form:not(.work-form) label+label{margin-top:0}
.ws-sheet label small{font-weight:425;color:#577061}
.ws-register-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-bottom:15px;margin-bottom:12px;border-bottom:1px solid var(--ws-line)}
.ws-register-head output{background:#e8f4e9;color:#315b43;border-radius:24px;padding:3px 10px;min-width:28px;text-align:center;font:550 .87rem/1.45 var(--mono)}
.ws-page .results{display:grid;grid-template-columns:1fr;gap:12px;margin:0;padding:0}
.ws-empty{padding:clamp(15px,2.3vw,32px);width:100%;border:1px dashed #b6cabc;border-radius:13px;background:linear-gradient(130deg,#f3f8f1,#fafbf8)}
.ws-empty p,.ws-saved-content p{color:#466151;font:445 1rem/1.53 var(--system);margin:8px 0 0}
.ws-empty button{margin-top:14px}
.ws-register .result{padding:17px;background:#f6faf3;border:1px solid #d5e0d6;border-radius:12px}
.ws-register .result .eyebrow{display:block;color:#42654d}
.ws-register .result h3{margin:5px 0}
.ws-register .result p{margin:5px 0 10px;color:#496450;overflow-wrap:anywhere}
.ws-register .result .subtle{margin:4px 5px 0 0}
.ws-saved-sheet{margin-top:clamp(16px,2vw,28px)}
.ws-saved-sheet .results:not(:has(.ws-empty)){grid-template-columns:repeat(2,minmax(0,1fr))}
.ws-saved-card{border:1px solid var(--ws-line);border-radius:14px;overflow:hidden;align-self:start;color:#1b3d2e;background:#f9fbf7}
.ws-saved-card>img{width:100%;height:125px;object-fit:cover;object-position:50% 47%;display:block}
.ws-saved-content{padding:16px}
.ws-saved-content h3{margin:8px 0;font-size:1.35rem}
.ws-saved-content .ws-label,.ws-saved-content h3,.ws-saved-content :is(p,dd),.ws-register .result h3,.ws-profile :is(h2,dd){overflow-wrap:anywhere}
.ws-saved-content .ws-written{white-space:pre-line}
.ws-saved-content dl,.ws-profile dl{margin:17px 0}
.ws-saved-content dl>div{border-top:1px solid var(--ws-line);padding:8px 0}
.ws-saved-content :is(dt,dd){margin:0;font:440 .97rem/1.5 var(--system);color:#43624f}
.ws-saved-content dt{font-weight:590;color:#294a36}
.ws-actions,.ws-account-sync .account-actions{display:flex;gap:7px;flex-wrap:wrap}
.ws-profile{position:relative;overflow:hidden;min-height:240px;background:radial-gradient(ellipse at 100% 0%,#527963,transparent 62%),#133b30;color:#e5f2e7;border-color:#194333}
body:not(.home-mode) .ws-profile .ws-label{color:#c3e7d0}
.ws-profile h2{color:#effaf1;font-size:clamp(1.85rem,3.3vw,3.6rem);margin:17px 0 25px}
.ws-profile dl>div{border-top:1px solid #70958287;padding:10px 0}
.ws-profile dt{font:510 .82rem/1.4 var(--mono);color:#c0e0cb}
.ws-profile dd{margin:4px 0 0;font-size:1rem}
.ws-account-sync{background:#edf4ed}
.ws-account-sync h2{margin-top:7px}
.ws-account-sync .account-actions{margin-top:18px}
.ws-page :disabled{opacity:.55;cursor:not-allowed}
.ws-local-link{display:inline-flex;align-items:center;min-height:44px;margin-top:15px;color:#23503e;text-decoration:underline;text-underline-offset:4px}
body:not(.home-mode) :focus-visible{outline:2px solid #20866a;outline-offset:3px}
body:not(.home-mode) .side :focus-visible{outline-color:#a9f6cc}
@media(min-width:761px) and (max-width:1140px){body:not(.home-mode) .work-layout{grid-template-columns:minmax(0,1.07fr) minmax(0,.93fr)}.ws-panes{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 body:not(.home-mode)>main{padding:0 14px 30px}
 body:not(.home-mode)>main>header{min-height:48px}
 body:not(.home-mode) .side nav button{min-height:46px}
 body:not(.home-mode) .work-head h1,.ws-banner h1{font-size:clamp(2.25rem,8vw,3.2rem)}
 body:not(.home-mode) .work-head{gap:14px}
 body:not(.home-mode) .example-tools{width:100%;max-width:none}
 body:not(.home-mode) .work-layout,.ws-panes,.ws-saved-sheet .results:not(:has(.ws-empty)){grid-template-columns:1fr}
 body:not(.home-mode) .work-layout .work-form{padding:18px 15px}
 body:not(.home-mode) .work-reference .proof-image{min-height:245px}
 .ws-banner{grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr);border-radius:15px}
 .ws-banner-photo{min-height:160px}.ws-banner-copy{padding:18px}.ws-sheet,.ws-profile{padding:17px}
 body:not(.home-mode) .variant-rail{grid-template-columns:1fr;gap:5px}.variant-rail .variant-pick{display:flex;align-items:center;justify-content:space-between;gap:10px}
 .ws-page .ws-saved-card>img{height:115px}
}
@media(max-width:480px){
 .ws-banner{grid-template-columns:1fr}
 .ws-banner-photo{min-height:75px;max-height:85px}
 .ws-banner-photo img{object-position:center 49%}
 .ws-profile{min-height:190px}
 body:not(.home-mode) .work-form-actions button{width:100%}
}
