/* Deliberate, limited palettes retain legibility and keep workspace permissions independent. */
[data-theme="ocean"]{--green:#20576b;--accent:#20576b;--sage:#e1eef2;--tint:#e1eef2}[data-theme="plum"]{--green:#654562;--accent:#654562;--sage:#efe4ed;--tint:#efe4ed}[data-theme="slate"]{--green:#3d526b;--accent:#3d526b;--sage:#e6eaf0;--tint:#e6eaf0}
.welcome[data-theme="ocean"],[data-theme="ocean"] .welcome{background:#e1eef2;color:#193f50}.welcome[data-theme="plum"],[data-theme="plum"] .welcome{background:#efe4ed;color:#51394f}.welcome[data-theme="slate"],[data-theme="slate"] .welcome{background:#e6eaf0;color:#304056}
.signout-button{white-space:nowrap;gap:6px}.signout-button svg{width:16px;height:16px}.inline-partner{grid-column:1/-1;padding:16px;border:1px solid var(--line,#dbe3d9);border-radius:12px;background:#f3f6ef}.inline-partner summary{font-size:13px;cursor:pointer;font-weight:650}.inline-partner .form-grid{margin-top:14px}.inline-partner .help{margin-top:10px}.portal-options{grid-column:1/-1;border-top:1px solid #dbe3d9;padding-top:18px}.portal-options h3{margin-bottom:8px}
.conversation-disclosure{font-size:12px;color:#60726d;margin-bottom:18px;line-height:1.65}.conversation-layout{display:grid;grid-template-columns:300px minmax(0,1fr);min-height:520px;overflow:hidden}.thread-list{border-right:1px solid #dbe3d9;background:#f5f7f2;max-height:740px;overflow:auto}.thread-item{display:block;text-align:left;width:100%;background:transparent;border:0;border-bottom:1px solid #e0e7dc;padding:22px;cursor:pointer;color:inherit}.thread-item:hover{background:#edf2e8}.thread-item.active{background:#e4eddf;box-shadow:inset 3px 0 #286450}.thread-label{display:block;font-weight:650;line-height:1.5}.thread-item small{display:block;margin-top:5px;font-size:11px;color:#63736a}.thread-item p{font-size:12px;color:#5c6a62;margin:12px 0;line-height:1.5}.thread-pane{min-width:0;display:flex;flex-direction:column}.thread-head{padding:23px 26px;border-bottom:1px solid #dbe3d9}.thread-head p{font-size:12px;color:#687970;margin-top:8px;line-height:1.65}.chat-history{display:flex;flex-direction:column;gap:14px;flex:1;padding:26px;min-height:180px;max-height:460px;overflow:auto;background:#fbfcf8}.chat-bubble{border:1px solid #e0e6dc;background:white;border-radius:15px 15px 15px 3px;padding:16px 18px;max-width:94%;margin:12px 0;overflow-wrap:anywhere}.chat-history .chat-bubble{align-self:flex-start;margin:0}.chat-bubble.own,.chat-bubble.studio{background:#eaf1e4;border-color:#dce6d4}.chat-history .chat-bubble.own{align-self:flex-end;border-radius:15px 15px 3px 15px}.chat-bubble p{white-space:pre-wrap;margin-top:9px;line-height:1.75;font-size:13px}.chat-bubble .message-head{gap:10px}.chat-bubble time{font-size:10px}.chat-bubble .avatar{width:28px;height:28px;font-size:10px}.thread-composer{padding:20px 26px;border-top:1px solid #dbe3d9}.thread-composer textarea{min-height:85px;resize:vertical}.composer-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:10px}.composer-actions small{font-size:11px;color:#60726d}.proposal-discussion{margin-top:28px;padding-top:20px;border-top:1px solid #dbe3d9}.proposal-discussion .help{margin:10px 0 18px}.proposal-discussion .field{margin:18px 0 12px}
.review-page{background:#f4f6ef}.review-shell{max-width:1240px;margin:auto;padding:30px 32px 48px}.review-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:34px}.review-brand{font-size:38px;font-weight:700;letter-spacing:-2px;text-decoration:none;color:#285f4e;display:flex;align-items:center;gap:16px}.review-brand span{font-size:12px;letter-spacing:.05em;font-weight:500}.review-shell .welcome{margin-bottom:22px;min-height:200px}.review-shell .welcome h1{font-family:Georgia,serif;font-size:clamp(28px,4vw,46px);line-height:1.2;margin:12px 0}.review-shell .welcome p{max-width:680px;line-height:1.75}.review-progress{margin-bottom:24px}.review-progress .panel-head>span{font-size:12px;color:#61756b}.review-steps{display:grid;grid-template-columns:repeat(5,1fr);list-style:none;padding:8px 0 0;gap:12px}.review-steps li{position:relative;display:grid;gap:6px}.review-steps li:after{content:'';position:absolute;left:46px;right:0;top:19px;height:2px;background:#dde5d6}.review-steps li:last-child:after{display:none}.review-steps li>span{display:grid;place-items:center;border:1px solid #d2dbce;border-radius:50%;width:38px;height:38px;font-weight:600;color:#72816b}.review-steps .done>span{background:#285f4e;color:white;border-color:#285f4e}.review-steps .current>span{border:2px solid #285f4e;color:#285f4e;background:#eff4e8}.review-steps strong{font-size:12px;margin-top:7px}.review-steps small{font-size:10px;color:#6a7866}.review-columns{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:24px;align-items:start}.review-columns>div>.panel{margin-bottom:20px}.review-shell .detail-title{font-size:28px;margin-top:10px}.review-note{font-size:13px;line-height:1.8;color:#61756b;margin:16px 0}.review-shell form .field{margin:16px 0}.review-shell form .check{margin:16px 0}.review-shell form button{margin-top:10px}.review-history{max-height:520px;overflow:auto;margin:24px 0}.review-discussion h2{line-height:1.35;margin-top:8px}.review-footer{font-size:11px;color:#61756b;line-height:1.8;margin-top:25px}.review-footer [role="status"]{display:block;font-weight:600}.review-shell .prose{margin-bottom:22px}.review-shell input:focus,.review-shell textarea:focus{outline:2px solid #59927b;outline-offset:2px}
@media(max-width:1050px){.conversation-layout{grid-template-columns:240px minmax(0,1fr)}.top-actions .signout-button{padding:8px}.top-actions .signout-button svg{display:none}}
@media(max-width:700px){.conversation-layout{grid-template-columns:1fr}.thread-list{max-height:230px;border-right:0;border-bottom:1px solid #dbe3d9}.thread-item{padding:15px 20px}.thread-item p{margin:6px 0}.thread-head,.chat-history,.thread-composer{padding:18px}.review-shell{padding:20px 16px}.review-top{align-items:flex-start;margin-bottom:22px}.review-top .actions{flex-direction:column;align-items:flex-end}.review-brand{font-size:31px;gap:8px}.review-brand span{font-size:10px;max-width:75px}.review-top .pill{font-size:9px}.review-columns{grid-template-columns:1fr}.review-steps{gap:6px}.review-steps strong{font-size:10px;line-height:1.45}.review-steps small{font-size:9px}.review-steps li:after{left:36px}.review-steps li>span{width:30px;height:30px}.review-steps li:after{top:15px}.review-progress .panel-head{display:block}.review-progress .panel-head>span{display:block;margin-top:8px}.review-shell .panel-pad{padding:20px}.review-shell .detail-meta{gap:10px;grid-template-columns:repeat(3,1fr)}.review-shell .detail-meta strong{font-size:13px}.signout-button{font-size:11px}.topbar .crumb>span{display:none}.top-actions{gap:6px}}
@media print{body.review-page>#review-root{display:block!important}.review-shell{max-width:none;padding:0}.review-top .actions,.review-shell form,.review-shell button,.review-discussion,.review-footer,.review-shell a.btn{display:none}.review-columns{display:block}.review-page{background:white}.review-shell .panel{break-inside:avoid}}
