/* Interface theme only. Customer-brand artwork and palettes keep their own identity. */
:root{--bg:#faf7ff;--ink:#352442;--muted:#6f617b;--line:#e9e0f0;--green:#7641b4;--lime:#edc9ff;--dark:#251335;--gradient:linear-gradient(125deg,#7f46c5 0%,#ab55c9 52%,#dc68a6 100%)}
body{font-size:15px;line-height:1.65;background:radial-gradient(ellipse at 90% 0%,#f9eafa 0,transparent 48%),var(--bg)}
.sidebar{background:linear-gradient(160deg,#301542 0%,#472052 60%,#612649 100%);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#8c579c transparent}
.wordmark small{color:#debedf;font-size:10px}.brand-symbol{color:#f3c8ee}.workspace{background:#ffffff0c;border-color:#ffffff25;font-size:13px}.workspace small{font-size:11px;color:#e4cce7}.workspace-icon{border-color:#a772bd;color:#f0c6e9}.nav-label{color:#d2b4da;font-size:10px}.nav-item{font-size:14px!important}nav .nav-item{color:#e6d6ed;padding:12px}nav .nav-item.active{background:linear-gradient(105deg,#e5ccfa,#f2c9e4);color:#48275d}nav .nav-item:hover:not(.active){background:#ffffff14}.sidebar-note{background:linear-gradient(130deg,#ffffff10,#eaa0d21a);border-color:#b686bd55}.sidebar-note h3{color:#fff0ff;font-size:18px}.sidebar-note p{color:#e4cced;font-size:12px}.sidebar-note button{color:#f6c7e8;font-size:12px}.small-star{color:#ecb8ed}.connection,.profile{font-size:13px}.connection small,.profile small{font-size:11px;color:#e2c9e7}.profile{border-color:#ffffff25}.avatar{background:linear-gradient(145deg,#efe0fc,#f4dbe9);color:#743f91}.avatar.pink{background:#fbe4ef;color:#aa5581}.avatar.mini{font-size:12px}.topbar{background:#fffaffdd}.breadcrumb{font-size:13px;color:#796383}.breadcrumb b{color:#563b68}.demo-label{font-size:10px;color:#7e668a}.top-actions{gap:14px}.icon-button{background:#fff8ff}.icon-button[aria-pressed=true]{background:#f2d8f4}.page-heading p{font-size:15px;color:#75627f}.eyebrow{font-size:11px;color:#886a98;letter-spacing:1.3px}h1{font-size:33px}h2{font-size:21px}h3{font-size:16px}button{font-size:14px}.primary{background:var(--gradient);border-color:transparent;box-shadow:0 5px 14px #9851b322}.primary:hover{background:linear-gradient(125deg,#6e35b3,#ce579e);color:#fff}.text-button{font-size:13px;color:#7e44a6}button:hover{background:#f8eefc}.row-open:hover{background:#efd8f8}.card{box-shadow:0 3px 13px #57316604}.stat:first-child{background:linear-gradient(135deg,#f1e7fe,#fbe8f2);border-color:#e8d2f0}.stat-label{font-size:14px;color:#735583}.stat-note{font-size:12px;color:#826a8e}.stat-number{font-size:36px;color:#614075}.stat-glyph{color:#ac5cba;background:#f6e7fb}.card-head h2{font-size:19px}.card-head p{font-size:12px}.tag{font-size:11px;background:#f5eef9;color:#7a5f8c;padding:5px 8px}.tag.green{background:#eef2fa;color:#4c6289}.tag.amber{background:#fff3df;color:#946a23}.tag.purple{background:#f3e4fa;color:#8b48a9}.filter-row{gap:17px}.filter-row button{font-size:13px}.filter-row .search{font-size:12px;background:#faf3fd;max-width:195px}.filter-row button.active{color:#8c45b5;border-color:#b56ac8}th{font-size:11px;color:#8a7199;background:#fcf9ff;letter-spacing:.7px}td,td strong{font-size:14px}td small{font-size:12px;color:#87708f}.row-open{font-size:12px;white-space:nowrap}.card-foot{font-size:11px}.person strong,.agent-row h3{font-size:14px}.person small{font-size:12px}.subline{font-size:12px;color:#8a7197}.agent-icon{background:#f4e6fc;color:#b562c9}.agent-row p{font-size:12px;color:#7f688c}.agent-row small{font-size:11px}.review-mini{background:linear-gradient(140deg,#f2e6ff,#fce8f4);border-color:#e8d7f2}.review-mini p{font-size:14px;color:#866293}.review-mini button{font-size:13px}.bottom-strip{background:linear-gradient(100deg,#eee2fc,#fae4f0);border-color:#e8d8f2}.bottom-strip h3{font-size:15px}.bottom-strip p{font-size:13px;color:#806189}.app-footer{font-size:11px;color:#8a7393}.brand-body p{font-size:13px}.brand-body button{font-size:14px}.brand-cover b{color:#efc7ea}.notice{font-size:13px;line-height:1.7}.sparse-text{font-size:14px;color:#786382}label{font-size:14px;color:#745386}label small{font-size:12px;color:#8d729b}input,select,textarea{font-size:14px;color:#563765;border-color:#e2d3ee;padding:11px 12px}input[type=file]{font-size:12px}.upload-box{background:#fcf7ff;border-color:#c8a4dc}.step-list span{font-size:12px;background:#f2eaf8;color:#806493}.step-list span.active{background:linear-gradient(100deg,#e8ccfa,#f5cde7);color:#743c8f}.step-list span.done{background:#f0e3fa;color:#8853a4}.rule-list li{font-size:14px}.rule-list small{font-size:12px}.rule-list b{color:#bd78cc}.code{font-size:13px;background:#fcf8ff;border-color:#ecdff6;color:#6e4a80}.reference-canvas,.preview-small{background:#f5eff9}.bubble{font-size:14px;background:#faf3ff;border-color:#eadbf3}.bubble.user{background:#fceef6;border-color:#f0dbe8}.bubble strong{font-size:12px;color:#9c5ba9}.chat-empty,.output-empty{font-size:14px;color:#8b7296}.chat-empty .small-star{color:#b36aca}.chat-input small{font-size:12px}.qa-row{font-size:13px}.qa-row span{color:#be7fbe}.qa-row small{font-size:11px}.file-list{font-size:12px;color:#886098}.matrix td,.matrix th{font-size:12px}.wizard-footer{background:#fcf8ff}.wizard-head h2{font-size:23px}.row-title{font-size:12px;color:#9676a6}.error{font-size:13px}.timeline article p{font-size:14px}.timeline article small{font-size:12px}.timeline{border-color:#dec8ed}.timeline article:before{background:#c18acb}.report-card p{font-size:15px;color:#765c85}.report-card a{color:#9d52b5}.reference-tile{background:#fff9fe}.reference-tile strong{font-size:14px}.reference-tile small{font-size:12px;color:#8c7297}.reference-pair{gap:15px}.reference-tile img{height:125px}.metrics{font-size:13px}.metrics strong{color:#9854b1}#toast{background:var(--gradient);font-size:14px}.source-label{display:inline-block;color:#a16bb2;font-size:11px;margin-top:3px}.agent-results{margin-top:20px;border-top:1px solid var(--line);padding-top:20px}.job-card{padding:14px;background:#fbf2fc;border:1px solid #eedcf2;border-radius:8px;margin-top:12px;font-size:13px}.job-card p{font-size:12px;color:#8a659b}.job-status{font-size:12px}.backend-badge{font-size:11px;color:#92659f}.personnel-mode{padding:15px;background:linear-gradient(120deg,#f2e5ff,#fce7f3);border:1px solid #ebd7ef;border-radius:9px;margin:12px 0 18px}.personnel-mode p{font-size:13px;color:#81578d}.app-footer span:last-child{white-space:nowrap}
@media(max-width:1400px){.desk-grid{grid-template-columns:minmax(0,1fr)}.right-stack{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.work-grid{grid-template-columns:290px minmax(0,1fr)}.work-grid>.output-panel{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:20px}.work-grid>.output-panel>.card{margin-top:0!important}}
@media(max-width:900px){.right-stack{grid-template-columns:1fr 1fr}.right-stack>:last-child{grid-column:1/-1}.wordmark small{font-size:9px}}
@media(max-width:640px){h1{font-size:28px}.page-heading p{font-size:14px}.work-grid,.right-stack{grid-template-columns:1fr}.work-grid>.output-panel{display:block;grid-column:auto}.work-grid>.output-panel>.card{margin-top:17px!important}.right-stack>:last-child{grid-column:auto}.reference-pair{grid-template-columns:1fr}.stats .stat-label{font-size:13px}.stat-note{font-size:11px}.topbar .breadcrumb{font-size:11px}.dimension-row{grid-template-columns:1fr 1fr}.dimension-row label:first-child{grid-column:1/-1}.dimension-row button{grid-column:1/-1}.wizard-footer{gap:10px;flex-wrap:wrap}.sidebar .profile{padding-left:7px}td,th{padding:14px 12px}.sidebar-note{display:none}}

.chat{max-height:650px;overflow-y:auto}.bubble details{margin-top:12px;white-space:normal}.bubble details summary{cursor:pointer;color:#a25ba9;font-size:13px}.bubble details pre{white-space:pre-wrap;font:inherit;overflow-wrap:anywhere}
