/* Conversation workspace: scoped so other console pages keep their existing styles. */
#harness{margin-top:0}.hc-workspace{display:grid;grid-template-columns:180px minmax(320px,1fr) 235px;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff;min-height:680px;box-shadow:0 12px 38px #302b4605}.hc-history{background:#faf9fd;border-right:1px solid var(--line);padding:22px 14px;display:flex;flex-direction:column;gap:18px;min-width:0}.hc-section-label{font-size:11px;letter-spacing:1px;font-weight:650;color:#9189a6}.hc-history>.primary{width:100%;padding:11px}.hc-history-item{display:flex;flex-direction:column;gap:7px;width:100%;padding:12px;text-align:left;background:transparent;color:#625b74;border-radius:9px;margin-bottom:5px}.hc-history-item strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;font-weight:550}.hc-history-item span{font-size:10px;color:#9790a5}.hc-history-item.active,.hc-history-item:hover{background:#ede9fb;color:#6754ce}.hc-history-foot{margin-top:auto;font-size:11px;color:#aaa3b8;line-height:1.9;padding:8px}.hc-main{min-width:0;display:flex;flex-direction:column}.hc-chat-head{display:flex;align-items:center;justify-content:space-between;padding:20px 25px;border-bottom:1px solid var(--line);gap:12px}.hc-chat-head h2{font-size:14px;line-height:1.7;overflow-wrap:anywhere}.hc-chat-head .muted{font-size:11px}.hc-chat-head button{font-size:11px;padding:8px 11px;border-color:var(--line);color:#81788f}.hc-transcript{flex:1;padding:24px;max-height:65vh;min-height:360px;overflow-y:auto;scroll-behavior:smooth}.hc-welcome{max-width:590px;margin:45px auto 35px;text-align:center}.hc-spark{width:54px;height:54px;margin:0 auto 24px;border-radius:18px;display:grid;place-items:center;color:#7863d2;font-size:31px;background:linear-gradient(140deg,#eeebfc,#f9f7ff);border:1px solid #eae5fb}.hc-welcome .eyebrow{font-size:9px;letter-spacing:1.6px}.hc-welcome h2{font-size:23px;letter-spacing:-.6px;margin:14px 0;font-weight:600}.hc-welcome>p:not(.eyebrow){font-size:12px;color:#9690a3;line-height:1.9}.hc-suggestions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:34px}.hc-suggestions button{text-align:left;background:#fff;border:1px solid var(--line);border-radius:12px;padding:17px 15px;display:flex;flex-direction:column;gap:9px}.hc-suggestions button:hover{background:#faf8ff;border-color:#cfc4f0}.hc-suggestions strong{font-size:12px;font-weight:550;color:#514762}.hc-suggestions span{font-size:10px;color:#9e96ad}.hc-context{padding:23px 19px;border-left:1px solid var(--line);background:#fdfcfe;min-width:0}.hc-context>.hc-section-label{margin-bottom:28px}.hc-context label{color:#645b76;font-size:12px}.hc-context select{margin:9px 0 8px;border-color:var(--line);color:#61586f;font-size:11px;padding:11px 7px}.hc-context>.muted{font-size:11px;line-height:1.9}.hc-context h3{font-size:12px;margin-bottom:8px}.hc-context-divider{height:1px;background:var(--line);margin:22px 0}.hc-context .hc-tool{display:flex;flex-direction:row;align-items:flex-start;gap:9px;padding:14px 0 6px;cursor:pointer}.hc-tool input{width:14px;height:14px;margin:2px 0 0;accent-color:#6754ce}.hc-tool span{display:flex;flex-direction:column;gap:6px}.hc-tool strong{font-size:12px;font-weight:550}.hc-tool small{font-size:10px;color:#a19aaf;line-height:1.8}.hc-context .text-button{margin-top:10px;font-size:11px}.hc-context-note{font-size:10px;line-height:1.9;color:#aaa4b5;margin-top:12px}.hc-composer{padding:0 22px 16px;margin-top:auto}.hc-composer textarea{width:100%;font:inherit;font-size:13px;line-height:1.8;resize:vertical;min-height:85px;max-height:230px;padding:15px 16px;border:1px solid #ded7ec;border-bottom:0;border-radius:13px 13px 0 0;display:block;background:#fdfcfe;color:#443b56;outline:none}.hc-composer textarea:focus{border-color:#ae9cde;box-shadow:inset 0 2px 0 #eee8fb}.hc-composer textarea::placeholder{color:#aaa1b7}.hc-composer-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #ded7ec;border-top:0;border-radius:0 0 13px 13px;padding:8px 11px;background:#fdfcfe}.hc-composer-footer>span{font-size:10px;color:#a59bae}.hc-composer-footer>div{display:flex;gap:7px}.hc-composer-footer button{padding:9px 13px;font-size:12px}.hc-disclaimer{font-size:10px;color:#a59bae;text-align:center;line-height:1.7;margin-top:10px}.hc-message{margin-bottom:23px;max-width:92%;font-size:13px;line-height:1.9}.hc-message-role{font-size:10px;color:#a49aaf;display:block;margin-bottom:6px}.hc-message-content{white-space:pre-wrap;overflow-wrap:anywhere;color:#51475f}.hc-user{margin-left:auto;text-align:right}.hc-user .hc-message-content{display:inline-block;background:#f0ecfb;padding:12px 16px;border-radius:14px 3px 14px 14px;text-align:left;color:#5a487f}.hc-assistant .hc-message-content{padding:4px 0}.hc-plan{border:1px solid #e1d8f1;background:#fcfaff;border-radius:12px;padding:20px;margin:18px 0;font-size:12px;line-height:1.85;overflow-wrap:anywhere}.hc-plan h3{font-size:13px;margin:13px 0 8px}.hc-plan h3:first-child{margin-top:0}.hc-plan p{white-space:pre-wrap;margin:5px 0}.hc-plan button{margin:12px 8px 0 0}.hc-plan ol{padding-left:22px}.hc-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(min-width:1600px){.hc-workspace{grid-template-columns:210px minmax(420px,1fr) 270px}.hc-transcript{padding:30px 40px}.hc-composer{padding:0 35px 20px}}
@media(max-width:1250px){.hc-workspace{grid-template-columns:150px minmax(280px,1fr)}.hc-context{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;column-gap:25px;padding:20px}.hc-context>.hc-section-label{grid-column:1/-1;margin-bottom:15px}.hc-context-divider{display:none}.hc-context-note{grid-column:1/-1}.hc-chat-head{padding:17px}.hc-transcript{padding:18px}.hc-suggestions{grid-template-columns:1fr}.hc-welcome{margin-top:25px}}
@media(max-width:700px){.hc-workspace{display:flex;flex-direction:column;border-radius:12px;min-height:0}.hc-history{border-right:0;border-bottom:1px solid var(--line);padding:12px;gap:10px}.hc-history>.primary{width:auto;align-self:flex-start}.hc-history .hc-section-label,.hc-history-foot{display:none}#harness-list{display:flex;gap:5px;overflow:auto}.hc-history-item{min-width:125px;width:150px;flex-shrink:0;margin:0}.hc-history-item span{display:none}.hc-chat-head{padding:15px}.hc-welcome h2{font-size:21px}.hc-transcript{min-height:300px;max-height:65vh;padding:16px}.hc-composer{padding:0 12px 14px}.hc-composer-footer>span{font-size:9px}.hc-context{display:block;padding:18px}.hc-context>.hc-section-label{margin-bottom:15px}.hc-context-divider{display:block;margin:16px 0}.hc-message{max-width:96%}}

.hc-history-panel{margin-top:10px}.hc-history-note{font-size:10px;line-height:1.8;margin:6px 0 10px}.hc-history-empty{font-size:11px;line-height:1.8}.hc-history-tasks{padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff}.hc-history-tasks>summary{cursor:pointer;color:#81788f;font-size:12px}.hc-history-task{margin:12px 0 0;background:#fff;padding:14px}.hc-history-task button{font-size:11px;padding:8px 10px}

/* AI Commander workspace. */
#harness .hc-workspace{grid-template-columns:240px minmax(420px,1fr) 260px;border-radius:8px;min-height:720px;box-shadow:0 8px 24px rgba(30,36,50,.05)}
#harness .hc-history{padding:18px 14px;gap:13px;background:#f7f9fc}
.hc-sidebar-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:2px 4px 4px}.hc-sidebar-title>div{display:flex;flex-direction:column;gap:5px}.hc-sidebar-title strong{font-size:14px;color:#2c3546}.hc-sidebar-title .text-button{font-size:11px;margin:0;padding:4px 2px;color:#3976dc}
.hc-agent-search{height:38px;border:1px solid #dce3ee;border-radius:6px;background:#fff;display:flex;align-items:center;gap:7px;padding:0 10px;color:#8390a3}.hc-agent-search input{border:0;background:transparent;outline:0;width:100%;min-width:0;font:inherit;font-size:12px;color:#334155;padding:0}.hc-agent-search input::placeholder{color:#9ba7b7}
.hc-agent-list{display:flex;flex-direction:column;gap:5px}.hc-agent-item{width:100%;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;padding:9px;border:1px solid transparent;border-radius:7px;background:transparent;text-align:left;color:#3d4657}.hc-agent-item:hover{background:#fff;border-color:#dce3ee}.hc-agent-item.active{background:#eaf2ff;border-color:#bdd3fa;color:#185ec4}.hc-agent-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:#fff;border:1px solid #d8e1ee;color:#286fd2;font-size:12px;font-weight:700}.hc-agent-item.active .hc-agent-avatar{background:#2475e8;color:#fff;border-color:#2475e8}.hc-agent-meta{display:flex;flex-direction:column;gap:3px;min-width:0}.hc-agent-meta strong{font-size:12px;font-weight:650}.hc-agent-meta small{font-size:10px;color:#8a96a7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hc-agent-empty{font-size:11px;padding:8px}
#harness .hc-history>.primary{border-radius:6px;padding:10px;font-size:12px}.hc-recent{border-top:1px solid #dfe5ed;padding-top:12px;margin-top:2px}.hc-recent>summary{display:flex;justify-content:space-between;gap:8px;cursor:pointer;font-size:11px;font-weight:650;color:#667085;list-style:none;padding:3px 4px 8px}.hc-recent>summary::-webkit-details-marker{display:none}.hc-recent>summary span{font-size:9px;font-weight:400;color:#a0a9b7}.hc-recent .hc-history-item{padding:8px 9px;border-radius:5px;margin-bottom:2px}.hc-recent .hc-history-item strong{font-size:11px}.hc-recent .hc-history-item span{font-size:9px}
#harness .hc-chat-head{padding:14px 18px;min-height:64px;background:#fff}.hc-agent-heading,.hc-head-actions{display:flex;align-items:center;gap:10px}.hc-agent-heading h2{font-size:14px}.hc-head-actions label{font-size:10px;color:#7d8898;white-space:nowrap}.hc-head-actions select{width:190px;padding:8px 28px 8px 9px;border:1px solid #dce3ee;border-radius:6px;background:#fff;color:#465268;font-size:11px}.hc-head-actions button{width:34px;height:34px;padding:0;font-size:16px;border-radius:6px}.hc-transcript{background:#fbfcfe}.hc-welcome{margin-top:64px}.hc-spark{border-radius:50%;background:#fff;border-color:#cfe0f8;color:#2475e8;box-shadow:0 8px 24px rgba(36,117,232,.09)}.hc-welcome h2{letter-spacing:0;color:#243044}.hc-suggestions button{border-radius:7px}.hc-suggestions button:hover{background:#f6f9ff;border-color:#bcd2f6}.hc-context{background:#fff}.hc-composer textarea,.hc-composer-footer{background:#fff}.hc-composer textarea{border-radius:8px 8px 0 0}.hc-composer-footer{border-radius:0 0 8px 8px}
.hc-manager-head{display:flex;align-items:flex-start;gap:24px;margin-bottom:22px}.hc-manager-head>div{flex:1}.hc-manager-head h2{font-size:22px;margin:4px 0 6px}.hc-agent-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.hc-agent-card{border-radius:8px;min-height:190px;display:flex;flex-direction:column;align-items:flex-start}.hc-agent-card-head{width:100%;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.hc-agent-card-title{display:flex;align-items:center;gap:10px}.hc-agent-card-title h3{font-size:14px;margin:0 0 4px}.hc-agent-card-title p{font-size:11px;margin:0}.hc-agent-card>p{font-size:11px;margin:22px 0}.hc-agent-card>button{margin-top:auto}
@media(max-width:1250px){#harness .hc-workspace{grid-template-columns:215px minmax(340px,1fr)}.hc-agent-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){#harness .hc-history{display:block}.hc-sidebar-title,.hc-agent-search,.hc-agent-list,#harness .hc-history>.primary,.hc-recent{margin-bottom:10px}.hc-agent-list{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr));overflow-x:auto}.hc-agent-item{min-width:130px}.hc-head-actions label{display:none}.hc-head-actions select{width:140px}.hc-chat-head{align-items:flex-start}.hc-agent-heading .hc-agent-avatar{display:none}.hc-agent-cards{grid-template-columns:1fr}.hc-manager-head{flex-direction:column}.hc-manager-head>button{order:2}}

/* White command-center layout approved for the main AI workspace. */
#harness{--hc-surface:#fff;--hc-canvas:#f8faff;--hc-line:#e5eaf2;--hc-text:#152033;--hc-blue:#246ff2}
#harness .hc-workspace{grid-template-columns:260px minmax(420px,1fr) 300px;border-color:var(--hc-line);border-radius:18px;background:var(--hc-surface);box-shadow:0 16px 44px rgba(28,48,84,.08)}
#harness .hc-history{background:#fff;border-color:var(--hc-line)}
#harness .hc-main{background:#f8faff;background-image:radial-gradient(circle at 50% 16%,rgba(65,125,244,.07),transparent 30%)}
#harness .hc-transcript{background:transparent;padding:26px 34px}
#harness .hc-welcome{max-width:680px;margin-top:68px}#harness .hc-welcome h2{font-size:28px;color:var(--hc-text)}#harness .hc-welcome .eyebrow{color:#3977e8;font-weight:750;letter-spacing:1.8px}
#harness .hc-suggestions{display:flex;flex-wrap:wrap;justify-content:center;gap:9px}#harness .hc-suggestions button{display:block;padding:9px 13px;border-radius:999px;box-shadow:0 3px 10px rgba(44,69,110,.04)}#harness .hc-suggestions strong{color:#4a5870;font-size:10px}
#harness .hc-composer{padding:0 34px 20px}#harness .hc-composer textarea{min-height:112px;border-radius:16px 16px 0 0;box-shadow:0 12px 34px rgba(35,62,108,.08)}#harness .hc-composer-footer{border-radius:0 0 16px 16px}
#harness .hc-context{padding:22px 18px;border-color:var(--hc-line);background:#fff}.hc-context-title{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:7px}.hc-context-title h3{margin:5px 0 0;font-size:16px}.hc-tool-count{padding:4px 7px;border-radius:999px;background:#edf4ff;color:#3975dc;font-size:9px}
#harness .hc-context .hc-tool{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;margin-top:10px;padding:12px;border:1px solid var(--hc-line);border-radius:13px;background:#fff}#harness .hc-context .hc-tool:hover{border-color:#bfd3f8;box-shadow:0 5px 16px rgba(31,79,154,.07)}.hc-tool-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;color:#fff;font-size:12px;font-weight:750}.hc-tool-acquisition{background:linear-gradient(145deg,#08ad92,#49c9ae)}.hc-tool-creation{background:linear-gradient(145deg,#835be8,#aa72ef)}.hc-tool-knowledge{background:linear-gradient(145deg,#317ced,#6b9df5)}#harness .hc-tool>span:nth-child(2){gap:4px}#harness .hc-tool input{appearance:none;position:relative;width:30px;height:17px;margin:0;border:0;border-radius:999px;background:#e6ebf2!important}#harness .hc-tool input::after{content:"";position:absolute;top:2px;left:2px;width:13px;height:13px;border-radius:50%;background:#2e75ed;box-shadow:0 1px 3px rgba(20,32,55,.2);transition:.15s}#harness .hc-tool input:checked{background:#d8e8ff!important}#harness .hc-tool input:checked::after{transform:translateX(13px)}
.hc-device-card label{font-size:11px;font-weight:650}.hc-device-card select{margin:8px 0}.hc-device-card .muted{font-size:9px;line-height:1.7}
@media(max-width:1100px){#harness .hc-workspace{grid-template-columns:230px minmax(420px,1fr)}#harness .hc-context{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:10px 16px;border-top:1px solid var(--hc-line);border-left:0}.hc-context-title,#harness .hc-context>.muted,#harness .hc-context>.text-button,#harness .hc-context-divider,.hc-device-card,#harness-readiness,.hc-context-note,.hc-history-panel{grid-column:1/-1}#harness .hc-context .hc-tool{margin-top:0}}
@media(max-width:760px){#harness .hc-workspace{display:flex;flex-direction:column;min-height:0}.hc-context{display:block!important}#harness .hc-transcript{padding:17px}#harness .hc-composer{padding:0 12px 14px}#harness .hc-welcome h2{font-size:22px}}

.hc-model-picker{display:flex;align-items:center;gap:8px;color:#625b74;font-size:11px}.hc-model-picker select{max-width:240px;padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#39334a;font-size:12px}.hc-composer-footer #harness-model-note{font-size:10px}@media(max-width:700px){.hc-model-picker{width:100%;justify-content:space-between}.hc-model-picker select{max-width:65%}}
.hc-agent-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.hc-agent-row strong{min-width:120px}.hc-agent-row span{flex:1;color:#777188;font-size:12px}.hc-model-picker select{min-width:170px}
.hc-attachment-actions{display:flex;align-items:center;gap:10px;min-width:0}.hc-attachment-actions span{font-size:10px;color:#a59bae;overflow-wrap:anywhere}.hc-attach-button{padding:8px 11px;border:1px solid #ded7ec;border-radius:8px;color:#6754ce!important;background:white;cursor:pointer;font-size:11px!important;white-space:nowrap}.hc-pending-images{display:flex;gap:10px;flex-wrap:wrap;padding:8px 0}.hc-pending-image{display:flex;align-items:center;gap:8px;padding:6px 8px;border:1px solid var(--line);border-radius:8px;background:#fff;max-width:100%}.hc-pending-image img{width:48px;height:48px;object-fit:cover;border-radius:5px}.hc-pending-image span{font-size:10px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hc-pending-image button{font-size:10px;padding:3px}.hc-message-image{display:block;max-width:min(100%,360px);max-height:280px;object-fit:contain;border-radius:9px;margin:8px 0 0 auto;background:#f2f0f6}.hc-assistant .hc-message-image{margin-left:0;margin-right:auto}
.hc-skill-row{display:grid;gap:8px;padding:12px 0;border-bottom:1px solid var(--line)}.hc-skill-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.hc-skill-row p{margin:0}.hc-skill-row small{line-height:1.6}.hc-skill-row button{justify-self:start}

.hc-media-badge{display:inline-flex;align-items:center;justify-content:center;min-width:40px;padding:6px 9px;border-radius:7px;background:#eeeaf8;color:#6754ce;font-size:11px;margin:6px 0}

.hc-action-card{margin:14px 0;padding:16px;border:1px solid #d7e4f8;border-radius:12px;background:#fff;box-shadow:0 5px 16px rgba(33,76,145,.05);font-size:12px;line-height:1.8}.hc-action-card h3{margin:0 0 8px;font-size:13px;color:#263b5b}.hc-action-card p{margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere}.hc-action-card .hc-action-status{color:#246ff2;font-weight:650}.hc-action-card button{margin:12px 8px 0 0}.hc-action-result{display:flex;align-items:flex-start;gap:9px;padding:8px;border-top:1px solid #edf1f7;color:#48566d;font-size:11px}.hc-action-result input{margin:4px 0 0;accent-color:#246ff2}.hc-action-card .error{color:#b42318}
.hc-tool-outbound{background:linear-gradient(145deg,#ec8c3a,#f0b35f)}.hc-tool-map_leads{background:linear-gradient(145deg,#3b9d67,#71c58b)}

.hc-heading-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.hc-heading-title h2{margin:0}.hc-heading-title button{white-space:nowrap;font-size:13px}
.hc-manual-hint{display:flex;justify-content:center;align-items:center;gap:6px;flex-wrap:wrap}
.hc-manual-dialog{box-sizing:border-box;width:min(620px,calc(100vw - 32px));max-height:calc(100vh - 48px);padding:24px;border:1px solid #e5e1ef;border-radius:16px;background:#fff;color:#302943;box-shadow:0 20px 80px #20123830}
.hc-manual-dialog::backdrop{background:#17102966}.hc-manual-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.hc-manual-head h2{font-size:20px;margin:0}.hc-manual-head button{flex-shrink:0}.hc-manual-content p{line-height:1.7}.hc-manual-content a{display:inline-block}
@media(max-width:760px){.hc-chat-head{flex-wrap:wrap;gap:12px}.hc-head-actions{flex-wrap:wrap;max-width:100%}.hc-agent-heading{min-width:0}.hc-heading-title{gap:4px 10px}.hc-manual-dialog{padding:18px}}

#workspace #harness .hc-chat-head{flex-wrap:wrap;flex-shrink:0;height:auto}
.hc-agent-heading{flex:1 1 220px;min-width:0}.hc-agent-heading>div{min-width:0}.hc-head-actions{flex-wrap:wrap}
