/* Workspace surfaces: blue for profile/work, sand for preparation, neutral history. */
.workspace-sidebar{padding-top:22px;padding-bottom:16px;overflow-y:auto;scrollbar-width:thin}
.workspace-sidebar .brand{margin-bottom:28px}.workspace-nav{gap:2px}.workspace-nav button,.sidebar-footer button{padding:9px 12px;font-size:13px;border-radius:8px}
.workspace-nav button[aria-current=page]{box-shadow:inset 2px 0 var(--accent)}
.project-navigation{margin-top:25px}.project-navigation .sidebar-label{display:block;margin-bottom:7px}
#project-switcher{font-size:12px;font-weight:600;padding:9px 28px 9px 12px;margin:0 0 10px;background:var(--surface);border-color:var(--line);text-overflow:ellipsis}
.new-project-sidebar{margin:16px 0 4px;justify-content:flex-start;font-size:12px;padding:8px 12px}.new-project-sidebar>span:last-child{margin-left:auto}
.sidebar-footer{padding-top:16px}.workspace-owner{padding:12px 4px 0;margin-top:8px}.sidebar-compact .project-navigation label{display:none}.sidebar-compact #project-switcher{padding:8px 4px;color:transparent;min-height:32px}.sidebar-compact .new-project-sidebar{justify-content:center;padding:10px}.sidebar-compact .new-project-sidebar>span:last-child{display:none}
.workspace-welcome{background:var(--zone-blue);padding:46px 44px;border-radius:22px;display:grid;grid-template-columns:1fr 230px;gap:30px;margin:8px 0 42px;min-height:318px}
.workspace-welcome h1{font-size:clamp(28px,2.6vw,38px);letter-spacing:-1px;max-width:590px}.workspace-welcome .lead{margin:16px 0 22px}.workspace-welcome .eyebrow{font-size:10px}
.workspace-emblem{position:relative;align-self:center;display:grid;place-items:center;min-height:220px;isolation:isolate}.workspace-emblem img{width:106px;height:106px;opacity:.9;transform:rotate(-8deg)}.emblem-orbit{position:absolute;inset:0;border:1px solid var(--border-strong);border-radius:50%;opacity:.35;transform:rotate(-24deg) scaleX(.7)}.emblem-caption{font-size:12px;line-height:1.6;margin-top:20px;color:var(--muted);text-align:center;letter-spacing:.2px}
.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.project-card{padding:24px;border-radius:16px;border:1px solid var(--line);background:var(--surface);display:flex;flex-direction:column;align-items:flex-start;min-width:0;transition:transform var(--motion-fast) var(--ease-out),border-color var(--motion-fast)}.project-card:hover{transform:translateY(-3px);border-color:var(--border-strong)}.project-card-top{display:flex;width:100%;align-items:center;justify-content:space-between;margin-bottom:23px}.project-card-top>.icon,.project-card-top>span:first-child{color:var(--accent)}.project-card h3{font-size:18px;overflow-wrap:anywhere}.project-card p{font-size:13px}.project-card small{font-size:11px;color:var(--subtle);margin-top:auto}.project-card button{margin-top:20px;font-size:12px;padding:7px 12px}
.workspace-empty{grid-column:1/-1;padding:34px 32px;background:var(--surface);border:1px dashed var(--border-strong);border-radius:16px}.workspace-empty>span{display:block;color:var(--accent);margin-bottom:12px}.workspace-empty h3{font-size:19px}.workspace-empty p{max-width:560px}.workspace-empty button{font-size:13px}
.general-tool-strip{margin-top:30px;padding:25px 30px;background:var(--zone-sand);border-radius:16px;display:flex;align-items:center;gap:24px}.general-tool-strip>span{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--border-strong);border-radius:50%;flex-shrink:0}.general-tool-strip>div{flex:1}.general-tool-strip h3{margin-bottom:4px}.general-tool-strip p{margin:0;font-size:12px}.general-tool-strip button{font-size:12px}
.project-profile{padding:32px 36px;background:var(--zone-blue);border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:24px;margin:12px 0 24px}.project-profile>span{display:grid;place-items:center;width:110px;height:136px;background:var(--surface);border-radius:12px;transform:rotate(7deg);flex-shrink:0}.project-profile>span .icon{width:45px;height:45px;color:var(--accent)}.project-profile h2{font-size:24px}.project-profile .toolbar{margin-bottom:0}
.project-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.project-feature{padding:27px 30px;border-radius:16px;background:var(--surface);display:flex;flex-direction:column;align-items:flex-start;min-width:0;border:1px solid transparent;transition:border-color var(--motion-fast),transform var(--motion-fast)}.project-feature:hover{border-color:var(--border-strong);transform:translateY(-2px)}.project-feature>span:first-child{margin-bottom:17px;color:var(--accent)}.project-feature h3{font-size:18px}.project-feature .muted{font-size:13px;max-width:390px}.project-feature .chip{margin-top:auto;background:color-mix(in srgb,var(--surface) 65%,transparent)}.project-feature button{font-size:12px;margin:14px -10px -10px;padding:8px 10px}.feature-jobs,.feature-applications{background:var(--zone-gray)}.feature-interview,.feature-roadmap{background:var(--zone-sand)}.project-provenance{margin-top:24px;padding-left:4px}
.context-empty{margin-top:28px;background:var(--zone-blue);padding:42px 46px;border-radius:20px;max-width:850px;min-height:330px}.context-empty>.muted{max-width:570px;line-height:1.9}.context-empty h2{font-size:25px}.empty-diagram{display:flex;gap:20px;align-items:center;margin-bottom:30px;color:var(--accent)}.empty-diagram>span:not(:nth-child(2)){display:grid;place-items:center;width:58px;height:68px;background:var(--surface);border:1px solid var(--line);border-radius:10px}.empty-diagram>span:first-child{transform:rotate(-6deg)}.empty-diagram>span:last-child{transform:rotate(6deg)}.empty-diagram .icon{width:27px;height:27px}
.needs-cv> :not(h1):not(.eyebrow):not(.lead):not(.feature-heading):not(.context-empty){display:none!important}.needs-cv .feature-heading~:not(.context-empty){display:none!important}#view-applications.needs-cv{display:block!important}#view-applications.needs-cv[hidden]{display:none!important}
.theme-settings{margin-bottom:26px;padding-bottom:22px;border-bottom:1px solid var(--line)}.theme-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.theme-choices label{padding:14px 12px;border:1px solid var(--line);border-radius:12px;display:grid;grid-template-columns:18px 1fr;gap:5px 8px;margin:0;cursor:pointer;font-size:13px}.theme-choices label:has(:checked){border-color:var(--accent);background:var(--accent-soft)}.theme-choices input{grid-row:2}.theme-swatch{height:54px;border-radius:6px;grid-column:1/-1;margin-bottom:7px;border:1px solid #8895ac55;box-shadow:inset 19px 0 #8593ac44}.swatch-light{background:#f1efeb}.swatch-dark{background:#292e38}.swatch-system{background:linear-gradient(90deg,#f1efeb 50%,#292e38 50%)}.theme-choices .hint{grid-column:2;font-size:11px}
.creation-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 25px}.creation-options label{margin:0;padding:18px 14px;display:flex;align-items:flex-start;gap:10px;border:1px solid var(--line);border-radius:12px;cursor:pointer}.creation-options label:has(:checked){border-color:var(--accent);background:var(--accent-soft)}.creation-options input{margin-top:4px}.creation-options strong{display:block;font-size:13px}.creation-options small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:4px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.import-item{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--bg);margin-bottom:10px}.import-item input{margin-top:6px}.import-item small{display:block;font-size:12px;font-weight:400;white-space:pre-wrap;max-height:130px;overflow:auto;color:var(--muted);margin-top:6px}.import-item strong{font-size:13px}#import-preview>.check-label{margin-top:16px}
.project-history{display:grid;gap:14px}.history-entry{padding:22px 26px;border-left:2px solid var(--border-strong);background:var(--surface);border-radius:0 12px 12px 0}.history-entry small{color:var(--subtle);font-size:11px}.history-entry h3{margin:6px 0 8px}.history-entry p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.general-voice{max-width:840px}.general-voice .interview-card{min-height:460px}.workspace-message{position:fixed;right:22px;bottom:16px;z-index:80;font-size:11px;background:var(--surface);color:var(--muted);border:1px solid var(--line);border-radius:8px;padding:8px 13px;max-width:min(430px,calc(100vw - 32px));box-shadow:var(--shadow-float);margin:0}.workspace-message.error{color:var(--danger);background:var(--danger-bg)}
@media(max-width:1100px){.workspace-welcome{grid-template-columns:1fr 140px;padding:32px 28px;gap:16px}.workspace-emblem{min-height:180px}.workspace-emblem img{width:90px;height:90px}.project-profile{padding:26px}.project-feature{padding:24px}.workspace-welcome h1{font-size:30px}}
@media(max-width:800px){.workspace-sidebar{padding-top:18px}.workspace-sidebar .brand{margin-bottom:24px}.workspace-welcome{margin-top:0}.project-grid{gap:12px}.general-tool-strip{padding:22px;flex-wrap:wrap}.general-tool-strip>div{min-width:200px}.general-tool-strip button{margin-left:68px}}
@media(max-width:540px){.workspace-welcome{grid-template-columns:1fr;padding:30px 23px}.workspace-emblem{display:none}.workspace-welcome h1{font-size:29px}.workspace-welcome .lead{font-size:14px}.project-grid,.project-feature-grid{grid-template-columns:1fr}.project-card{padding:23px}.project-card-top{margin-bottom:17px}.workspace-empty{padding:27px 23px}.project-profile{padding:27px 24px}.project-profile>span{display:none}.project-profile h2{font-size:22px}.context-empty{padding:30px 24px}.context-empty h2{font-size:23px}.section-heading{align-items:flex-start;flex-wrap:wrap}.section-heading .toolbar{margin:0}.theme-choices{gap:7px}.theme-choices label{padding:10px 8px}.creation-options{grid-template-columns:1fr}.workspace-message{bottom:10px;right:16px}.dialog-content{padding:22px 20px}.general-tool-strip{gap:16px}.general-tool-strip>div{min-width:160px}.general-tool-strip button{margin-left:0}.project-navigation{margin-top:20px}}
@media(prefers-reduced-motion:reduce){.project-card:hover,.project-feature:hover{transform:none}}

#project-switcher option{color:var(--text);background:var(--surface)}

.login-renew{padding:32px;max-width:min(520px,calc(100vw - 32px))}.login-renew p{line-height:1.7;margin:16px 0 24px}.login-renew a{display:inline-flex;margin-right:16px;text-decoration:none}
