.chat-layout{display:grid;grid-template-columns:minmax(220px,1fr) minmax(420px,2fr);gap:20px}.chat-context{background:#f8fafb;border:1px solid #e2e9ed;border-radius:12px;padding:22px}.chat-context h3{font-size:14px;margin-bottom:12px}.chat-context .context-row{padding:13px 0;border-bottom:1px solid #e5edef;font-size:12px;color:#53707d}.chat-context .context-row strong{display:block;color:#314f5d;margin-bottom:6px}.chat-context small{color:#9aacb3}.chat-panel{background:white;border:1px solid #e0e9ed;border-radius:12px;overflow:hidden}.chat-panel-header{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:20px 22px;border-bottom:1px solid #e7eef0}.assistant-avatar{display:inline-grid;place-items:center;background:#e1f6ed;color:#0aa482;border-radius:9px;width:34px;height:34px;margin-right:10px}.chat-panel-header h2{font-size:14px;margin:0}.chat-panel-header p{font-size:10px;color:#8ba0aa;margin:6px 0 0}.chat-steps{display:flex;gap:22px;background:#f7fbfa;padding:12px 22px;color:#9caeb4;font-size:10px}.chat-steps strong{color:#3c9b85}.chat-history{min-height:290px;max-height:480px;overflow:auto;padding:24px;display:flex;flex-direction:column;gap:17px}.chat-bubble{max-width:87%;padding:15px 18px;border-radius:13px;font-size:13px;line-height:1.7;white-space:pre-wrap}.chat-bubble.assistant{background:#f0f6f4;border-top-left-radius:3px;color:#496b62;align-self:flex-start}.chat-bubble.user{background:#0a8175;color:#fff;align-self:flex-end;border-bottom-right-radius:3px}.chat-bubble .role-label{display:block;font-size:9px;letter-spacing:1px;opacity:.7;margin-bottom:5px}.chat-compose{border-top:1px solid #e7edef;padding:18px 22px;background:#fcfdfd}.chat-compose .compose-options{display:grid;grid-template-columns:1fr 140px;gap:12px;margin-bottom:13px}.chat-compose textarea{min-height:80px;background:white;border:1px solid #dce7eb;font-size:12px;padding:14px}.chat-compose label{font-size:10px;color:#91a4ac}.chat-compose input,.chat-compose select{padding:9px;font-size:11px}.compose-footer{display:flex;justify-content:space-between;align-items:center;margin-top:12px}.compose-footer small{font-size:10px;color:#91a6ae}.compose-footer button{font-size:12px;padding:10px 15px}.proposal-card{border:1px solid #bddfd3;border-radius:10px;background:#f5fbf8;margin:0 22px 20px;padding:18px}.proposal-card h3{font-size:13px;margin-bottom:8px}.proposal-card p{font-size:12px;color:#658879;line-height:1.6}.proposal-diff{display:grid;grid-template-columns:1fr 60px 60px;gap:10px;padding:10px 0;font-size:11px;border-top:1px solid #dcebe5}.proposal-diff .after{font-weight:650;color:#119476}.proposal-card button{font-size:11px;margin-top:12px}.chat-example{font-size:11px;color:#76968d;line-height:1.7;margin:16px 0}.chat-unavailable{font-size:11px;padding:12px;border-radius:7px;background:#fff4df;color:#937636;line-height:1.6}@media(max-width:800px){.chat-layout{grid-template-columns:1fr}.chat-context{display:none}.chat-compose .compose-options{grid-template-columns:1fr}.chat-steps{gap:12px}.chat-bubble{max-width:95%}}
.team-space{min-height:100vh;background:#f3f8f8}.team-header{max-width:980px;margin:auto;display:flex;align-items:center;gap:24px;padding:22px 30px;border-bottom:1px solid #dce9e7}.team-header .brand{margin:0;color:#124b49}.team-header .brand small{color:#6a8583}.team-header>span{margin-left:auto;font-size:14px;color:#335b58}.team-account{position:relative;font-size:13px}.team-account summary{cursor:pointer;color:#326b63}.team-account[open]{padding:10px;background:#fff;border-radius:10px}.team-account button{display:block;margin-top:10px}.team-main{max-width:980px;margin:auto;padding:26px 30px}.team-project-label{display:block;font-size:12px;color:#5a7772;margin-top:16px}.team-project-label select{display:block;min-width:270px;max-width:100%;font-size:15px;min-height:44px;margin-top:6px}.chat-intro h1{font-size:30px}.chat-context-compact{margin-bottom:16px;padding:12px 16px;border:1px solid #deebe7;border-radius:10px;background:#f9fcfb;font-size:12px;color:#4f7067}.chat-context-compact summary{cursor:pointer}.chat-context-compact p{margin:12px 0}.focused-chat{max-width:1000px}.focused-chat .chat-panel-header{padding:18px 22px}.focused-chat .chat-panel-header small{font-size:11px;color:#6e8a85;text-align:right;max-width:45%}.focused-chat .chat-history{min-height:200px;max-height:390px}.focused-chat .chat-bubble{font-size:15px;color:#294d43}.focused-chat .chat-bubble.user{color:#fff}.focused-chat .chat-compose label,.focused-chat .proposal-card label{font-size:13px;color:#47645c}.focused-chat .chat-compose textarea,.focused-chat .proposal-card textarea{font-size:15px;line-height:1.6;min-height:90px}.chat-consent{display:flex;gap:9px;align-items:flex-start;margin:13px 0;line-height:1.5}.chat-consent input{width:auto!important;margin-top:4px;flex-shrink:0}.chat-options{font-size:12px;color:#6d8580;margin-top:14px}.chat-options summary{cursor:pointer}.chat-options .compose-options{margin-top:14px}.focused-chat .compose-footer small{font-size:12px}.focused-chat .compose-footer button{min-width:105px;font-size:14px}.chat-saved{margin:0 22px 20px;padding:16px;background:#e7f7ed;border-radius:9px;font-size:14px;color:#276147}.focused-chat .proposal-card{margin-top:0}.focused-chat .proposal-card h3{font-size:16px}.focused-chat .proposal-card p{font-size:13px}.focused-chat .proposal-card button{font-size:14px}.chat-manual{max-width:1000px;margin-top:22px;color:#5e7971;font-size:13px}.chat-manual summary{cursor:pointer}.chat-manual form{display:grid;gap:12px;background:white;padding:18px;border-radius:10px}.chat-manual textarea{min-height:90px}.chat-manual button{justify-self:start}@media(max-width:700px){.team-header{padding:18px 16px;gap:14px}.team-header>span{font-size:12px}.team-main{padding:20px 14px}.chat-intro{display:block}.chat-intro>.pill{display:none}.team-project-label select{width:100%;min-width:0}.focused-chat .chat-panel-header small{display:none}.focused-chat .chat-history{padding:16px;max-height:45vh}.focused-chat .chat-bubble{font-size:14px;max-width:96%}.focused-chat .chat-compose{padding:16px}.focused-chat .compose-footer small{max-width:60%}.focused-chat .proposal-card{margin-left:14px;margin-right:14px}.chat-intro h1{font-size:25px}}

.chat-progress-row{padding:14px 0;border-bottom:1px solid #e2e8f0}.chat-progress-row>div:first-child{display:flex;justify-content:space-between;gap:20px}.chat-progress-track{height:9px;background:#e8edf5;border-radius:8px;margin:8px 0;overflow:hidden}.chat-progress-track i{display:block;height:100%;background:#3479df;border-radius:8px}.chat-progress-row small{color:#64748b}.chat-saved strong{display:block}.chat-saved p{margin:8px 0}.chat-saved button{margin-top:5px}

progress.chat-progress-track{display:block;width:100%;height:9px;appearance:none;border:0}progress.chat-progress-track::-webkit-progress-bar{background:#e8edf5;border-radius:8px}progress.chat-progress-track::-webkit-progress-value{background:#3479df;border-radius:8px}progress.chat-progress-track::-moz-progress-bar{background:#3479df;border-radius:8px}

.focused-chat .chat-history{min-height:0;max-height:190px;padding-block:12px}
.chat-older{padding:12px 22px;border-top:1px solid #e7eef0;color:#315c54}
.chat-older summary{cursor:pointer;min-height:32px}.chat-older .chat-bubble{margin:8px 0}
.chat-older .chat-bubble.user{margin-left:auto}.chat-saved strong:not(:first-child){display:inline}
.chat-saved button{margin-right:8px}.chat-compose[hidden]{display:none}
@media(max-width:700px){
 .team-header{padding-block:9px}.team-main{padding-top:11px}.team-main .chat-intro{margin:0 0 9px}
 .chat-intro h1{font-size:22px;margin:2px 0}.chat-intro .eyebrow{display:none}.chat-intro .muted{margin:5px 0;font-size:13px}
 .team-project-label{margin-top:7px}.team-project-label select{margin-top:3px}
 .chat-context-compact{margin-bottom:8px;padding:7px 11px}
 .focused-chat .chat-panel-header{padding:8px 12px}.focused-chat .assistant-avatar{width:24px;height:24px}
 .focused-chat .chat-history{max-height:115px;padding:8px 11px;gap:0}
 .focused-chat .chat-bubble{padding:8px 10px;line-height:1.42}
 .focused-chat .chat-compose{padding:9px 11px}.focused-chat .chat-compose textarea{font-size:16px;min-height:63px}
 .focused-chat .compose-footer{margin-top:5px}.focused-chat .compose-footer button{min-height:44px}.focused-chat .compose-footer small{font-size:11px}
 .focused-chat .chat-options{margin-top:5px}.chat-saved{padding:10px;margin:6px 11px}
}
