:root{--green:#261d6f;--green-dark:#1a154d;--green-light:#f0eff8;--ink:#201e34;--text:#363446;--muted:#7b8981;--line:#e6e5eb;--background:#f8f8fa;--red:#be4f43;--amber:#a27625;--shadow:0 8px 32px #1a163d12;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:var(--text);font-size:14px;background:var(--background)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:var(--green);text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #7871b8;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.52}svg{width:20px;height:20px;flex-shrink:0}h1,h2,h3,h4,p{margin:0}h1{font-size:29px;letter-spacing:-.6px;color:var(--ink);font-weight:650}h2{font-size:17px;font-weight:650;color:var(--ink)}h3{font-size:15px;color:var(--ink)}h4{font-size:13px}p{line-height:1.75}small{font-size:12px}.sidebar{position:fixed;inset:0 auto 0 0;width:232px;background:white;border-right:1px solid var(--line);padding:32px 20px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:12px;padding:0 12px;color:var(--ink);font-size:24px;font-weight:750;letter-spacing:1px}.brand small{font-size:8px;letter-spacing:1.35px;display:block;color:#8c9891;line-height:1.9;font-weight:550}.brand-icon{height:41px;width:41px;border-radius:13px;background:var(--green);color:white;display:grid;place-items:center;font-size:24px;box-shadow:0 4px 10px #261d6f19}.workspace-label{font-size:10px;color:#95a199;margin:34px 10px 18px;letter-spacing:.5px}.nav-label{color:#a1aaa5;font-size:10px;padding:24px 13px 10px;letter-spacing:1px}.nav-item{display:flex;align-items:center;gap:13px;border-radius:9px;color:#718077;padding:13px 15px;margin:4px 0;font-size:13px;font-weight:500;transition:.15s}.nav-item:hover{background:#f6f6f9;color:var(--green)}.nav-item.active{color:var(--green);background:#ebeaf5;font-weight:650}.nav-item svg{width:18px;height:18px}.nav-item .nav-dot{height:5px;width:5px;border-radius:50%;background:var(--green);margin-left:auto}.sidebar-bottom{margin-top:auto;padding:24px 12px 0;border-top:1px solid var(--line)}.sidebar-bottom p{font-size:10px;margin:10px 0 23px;color:#98a29c}.local-indicator{font-size:11px;color:#738279;display:flex;align-items:center;gap:8px}.local-indicator i,.connection i{height:6px;width:6px;border-radius:50%;background:#5249a3;display:inline-block}.version{font-size:9px;color:#a3ada7;letter-spacing:2px}.app-shell{margin-left:232px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:77px;border-bottom:1px solid var(--line);background:white;display:flex;align-items:center;justify-content:space-between;padding:0 38px}.breadcrumb{font-size:12px;color:#909c94;display:flex;gap:15px;align-items:center}.breadcrumb strong{font-weight:500;color:#504e61}.breadcrumb span{color:#cccbd3}.topbar-right{display:flex;align-items:center;gap:21px}.connection{font-size:10px;color:#8c9890;display:flex;align-items:center;gap:7px}.connection.offline i{background:var(--red)}.avatar{background:#f0eff4;border:1px solid #e5e4eb;color:#76748b;font-size:11px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center}.icon-btn{background:transparent;border:0;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;color:#859389;border-radius:6px}.icon-btn:hover{background:#f0f0f5;color:var(--green)}.icon-btn svg{width:17px;height:17px}main{padding:35px 38px;flex:1;max-width:1660px;width:100%;margin:0 auto;outline:none}.page-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.eyebrow{font-size:10px;letter-spacing:1.5px;color:#828097;margin-bottom:8px}.page-description{margin-top:9px;color:#88958d;font-size:12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:7px;padding:10px 16px;background:white;color:#555366;font-size:12px;font-weight:550;white-space:nowrap;line-height:1.35}.btn:hover{border-color:#b9b7ce;background:#fcfcfe}.btn svg{width:16px;height:16px}.btn-primary{background:var(--green);border-color:var(--green);color:white;box-shadow:0 3px 7px #261d6f12}.btn-primary:hover{background:var(--green-dark);border-color:var(--green-dark)}.btn-light{background:#f1f0f7;border-color:#e1e0ee;color:var(--green)}.btn-danger{color:var(--red);border-color:#efdbd7}.btn-small{padding:7px 10px;font-size:11px}.button-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.text-btn{border:0;background:transparent;color:var(--green);font-size:12px;cursor:pointer;padding:5px 0}.text-btn:hover{text-decoration:underline}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:25px}.metric{padding:21px 23px 19px;background:white;border:1px solid var(--line);border-radius:11px;min-width:0}.metric-top{display:flex;align-items:center;justify-content:space-between;color:#839188;font-size:11px}.metric-icon{width:29px;height:29px;border-radius:8px;background:#f2f1f7;color:#7d79a3;display:grid;place-items:center}.metric-icon svg{width:15px;height:15px}.metric-value{font-size:29px;font-weight:600;letter-spacing:-.7px;color:#28263e;margin:8px 0}.metric-value .unit{font-size:12px;font-weight:400;margin-left:5px;letter-spacing:0;color:#8a978d}.metric-note{font-size:10px;color:#9aa59e}.metric-note strong{color:var(--green);font-weight:500}.card{background:white;border:1px solid var(--line);border-radius:11px;overflow:hidden}.card-pad{padding:23px}.card-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 23px;border-bottom:1px solid #efeff3}.card-title{display:flex;align-items:center;gap:10px}.card-title .count{font-size:10px;padding:3px 7px;background:#f1f1f6;border-radius:5px;color:#8b998e}.card-header p{color:#94a095;font-size:11px;margin-top:5px}.two-col{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(270px,1fr);gap:21px;margin-bottom:23px}.wide-left{grid-template-columns:minmax(0,2.3fr) minmax(260px,1fr)}.section-gap{margin-bottom:23px}.hero{padding:25px 27px;background:linear-gradient(115deg,#efeef7 0%,#f1f0f8 65%,#f3f2fa);border:1px solid #e1dfee;border-radius:11px;margin-bottom:24px;display:flex;align-items:center;gap:22px;justify-content:space-between;position:relative;overflow:hidden}.hero h2{font-size:19px;font-weight:600;line-height:1.5}.hero p{font-size:12px;color:#807e92;margin-top:7px;max-width:630px}.hero-symbol{color:#c8c6dc;flex-shrink:0;border:1px solid #dad8e9;border-radius:50%;width:94px;height:94px;display:grid;place-items:center;margin-right:22px}.hero-symbol svg{width:46px;height:46px;stroke-width:1}.hero-label{font-size:9px;color:#75719d;letter-spacing:1px;margin-bottom:7px}.hero-actions{display:flex;gap:12px;margin-top:17px}.pipeline{display:grid;grid-template-columns:repeat(4,1fr);padding:24px 22px;gap:16px}.pipeline-step{position:relative}.pipeline-step:not(:last-child):after{content:'→';position:absolute;right:0;top:9px;font-size:15px;color:#c9c8d5}.step-number{width:28px;height:28px;background:#f1f0f7;color:#605a98;border-radius:8px;display:grid;place-items:center;font-size:11px;margin-bottom:13px}.pipeline h4{color:#585570;font-weight:550;margin-bottom:7px}.pipeline p{font-size:10px;line-height:1.6;color:#99a69b;max-width:130px}.domain-list{padding:8px 23px 18px}.domain-row{padding:14px 0;border-bottom:1px solid #efeff3}.domain-row:last-child{border-bottom:0}.domain-top{display:flex;justify-content:space-between;font-size:11px;color:#5c5a71;gap:8px}.domain-top span{font-size:10px;color:#9aa69d}.domain-track{background:#efeef4;height:4px;border-radius:4px;margin-top:10px;overflow:hidden}.domain-fill{height:100%;background:#8782b6;border-radius:4px}.table-wrap{width:100%;overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th{font-size:10px;font-weight:500;color:#95a095;background:#fbfbfd;white-space:nowrap;border-bottom:1px solid #ecebf1;padding:13px 19px}td{border-bottom:1px solid #edecf2;padding:16px 19px;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfbfe}.table-name{font-weight:550;font-size:12px;color:#4b4962}.subline{font-size:10px;display:block;color:#99a59d;line-height:1.6;margin-top:5px}.badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;padding:4px 7px;border-radius:5px;white-space:nowrap;background:#f0f0f5;color:#819081;font-weight:500}.badge.green{background:#ebeaf6;color:#443b94}.badge.amber{background:#fcf5e7;color:#aa8748}.badge.red{background:#fcf0eb;color:#bd7362}.badge.blue{background:#eff3f9;color:#6c8bad}.badge.gray{background:#f1f1f4;color:#8a978b}.progress-stack{min-width:115px;max-width:180px}.progress-meta{display:flex;justify-content:space-between;font-size:10px;color:#93a394;margin-bottom:6px}.progress-bar{height:5px;background:#ecebf3;overflow:hidden;border-radius:5px}.progress-bar i{display:block;height:100%;background:#6b64a6;border-radius:5px}.event-list{padding:1px 23px 14px}.event-row{padding:13px 0;display:flex;gap:11px;border-bottom:1px solid #f0eff4}.event-row:last-child{border:0}.event-dot{width:6px;height:6px;border-radius:50%;background:#aeaacd;margin-top:7px;flex-shrink:0}.event-row p{font-size:11px;color:#727085;line-height:1.5;overflow-wrap:anywhere}.event-row small{color:#a4afa5;font-size:9px;display:block;margin-top:4px}.empty-state{padding:43px 25px;text-align:center;color:#a2ada3}.empty-state svg{width:32px;height:32px;color:#b6b4ca;margin-bottom:14px;stroke-width:1.4}.empty-state h3{font-size:13px;font-weight:550;color:#807e94;margin-bottom:8px}.empty-state p{font-size:11px;max-width:490px;margin:0 auto 17px;line-height:1.8}.loading-state{display:flex;gap:12px;align-items:center;justify-content:center;padding:90px 20px;color:#8c8a9d;font-size:13px}.spinner{width:18px;height:18px;border:2px solid #dbdae8;border-top-color:var(--green);border-radius:50%;display:inline-block;animation:spin .8s linear infinite}.spinner.small{width:13px;height:13px;vertical-align:-2px}@keyframes spin{to{transform:rotate(360deg)}}footer{margin:0 38px;padding:19px 0;border-top:1px solid var(--line);color:#a7b0a7;font-size:9px;display:flex;justify-content:space-between;gap:12px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;flex-wrap:wrap}.filters{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.search-wrap{position:relative}.search-wrap svg{position:absolute;left:11px;top:11px;width:15px;height:15px;color:#9ba99d}.search-wrap input{padding-left:34px;width:265px}.form-control,input[type=text],input[type=password],input[type=number],input[type=date],input[type=search],select,textarea{background:white;border:1px solid #e0dfe8;border-radius:7px;padding:10px 11px;color:#403d59;outline:none;font-size:12px;max-width:100%;line-height:1.5;transition:border-color .15s}input:focus,select:focus,textarea:focus{border-color:#8883b8;box-shadow:0 0 0 3px #f0eff7}input::placeholder,textarea::placeholder{color:#afb8b0}textarea{width:100%;resize:vertical;line-height:1.8}.form-control{width:100%}select{max-width:100%;min-width:120px}label.field{display:block;font-size:12px;color:#5f5d73;min-width:0}label.field>input,label.field>select,label.field>textarea{width:100%;display:block;margin-top:8px}.field-help{display:block;font-size:10px;color:#95a496;line-height:1.75;margin-top:6px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field-grid.three{grid-template-columns:repeat(3,1fr)}.field-grid.four{grid-template-columns:repeat(4,1fr)}.field-grid.five{grid-template-columns:repeat(5,1fr)}.span-all{grid-column:1/-1}.form-section{margin:23px 0}.form-section h3{margin-bottom:13px;font-size:13px;font-weight:600}.notice{padding:13px 15px;border-radius:7px;background:#f0eff7;border:1px solid #e0dfed;color:#767390;font-size:11px;line-height:1.9;overflow-wrap:anywhere}.notice.amber{background:#fffaf0;border-color:#f3e8ca;color:#ab8e54}.notice.red{background:#fff7f3;border-color:#f3e0d7;color:#ae7864}.notice a{text-decoration:underline}.inline-check{display:flex;align-items:center;gap:9px;color:#6f6d85;font-size:11px;line-height:1.7;cursor:pointer}.inline-check input[type=checkbox]{accent-color:var(--green);width:15px;height:15px}.inline-check input[type=date]{width:155px;height:37px}.check-list{display:flex;gap:10px;flex-wrap:wrap}.check-option{display:flex;align-items:center;gap:8px;border:1px solid #e0dfeb;border-radius:7px;padding:10px 12px;font-size:11px;color:#706e84;cursor:pointer;background:white}.check-option:has(input:checked){background:#f0eff8;border-color:#9c98c2;color:#383177}.check-option input{accent-color:var(--green)}.check-option small{color:#9ba89b;font-size:9px}.tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:23px}.tab{border:0;border-bottom:2px solid transparent;background:none;color:#93a095;font-size:12px;padding:13px 0;margin-bottom:-1px;cursor:pointer;white-space:nowrap}.tab.active{border-color:var(--green);color:var(--green);font-weight:600}.tab-panel[hidden]{display:none}.segmented{display:flex;background:#f0eff5;border-radius:7px;padding:3px;width:max-content;max-width:100%}.segmented button{border:0;color:#9aa59a;font-size:11px;background:transparent;padding:7px 14px;border-radius:5px}.segmented button.active{background:white;color:#5a5777;box-shadow:0 1px 3px #3531560b}.pagination{display:flex;align-items:center;justify-content:space-between;padding:15px 20px;border-top:1px solid var(--line);font-size:10px;color:#9aa59a;gap:15px}.pagination .button-row{gap:7px}.pagination button{background:white;border:1px solid #e0dfe9;border-radius:5px;font-size:10px;padding:5px 10px;color:#75738a}.question-preview{max-width:540px;line-height:1.85;font-size:12px;color:#626074;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}.question-full{white-space:pre-wrap;overflow-wrap:anywhere;color:#5f5d74;font-size:12px;line-height:1.95;padding:20px;background:#f8f8fc;border-radius:8px;border:1px solid #e4e3ee;max-height:520px;overflow:auto}.metadata{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0}.item-actions{white-space:nowrap}.provider-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.provider-card{padding:23px;border:1px solid var(--line);border-radius:11px;background:white}.provider-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.provider-logo{height:39px;width:39px;border:1px solid #deddea;background:#f2f1f9;border-radius:10px;display:grid;place-items:center;color:#8480a3;flex-shrink:0}.provider-title{display:flex;gap:12px;align-items:center}.provider-title h3{font-weight:600;font-size:14px}.provider-title small{font-size:10px;color:#908ea2;display:block;margin-top:5px}.provider-url{font-size:11px;color:#9997aa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#f6f6fb;padding:11px;border-radius:5px;margin:18px 0 15px}.provider-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:20px}.provider-stats span{font-size:10px;color:#9b99aa;display:block}.provider-stats strong{font-size:13px;display:block;color:#5b5876;font-weight:500;margin-top:7px}.provider-footer{display:flex;align-items:center;justify-content:space-between;padding-top:14px;border-top:1px solid #eae9f2;gap:10px}.mask{font-size:10px;color:#9b99ac;font-family:Consolas,monospace}.mini-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.mini-stat{background:#f4f3fa;border:1px solid #e6e5f2;border-radius:7px;padding:13px}.mini-stat small{color:#908ea5;font-size:10px}.mini-stat strong{font-size:19px;color:#4b4770;font-weight:550;display:block;margin-top:8px}.log-box{max-height:260px;overflow:auto;background:#f8f8fc;border:1px solid #e1e0ec;border-radius:7px;padding:15px;white-space:pre-wrap;line-height:1.85;font-size:11px;color:#73708e}.method-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.method-card{padding:23px;background:white;border:1px solid var(--line);border-radius:10px}.method-card h3{margin-bottom:13px}.method-card p,.method-card li{font-size:12px;color:#84829b;line-height:1.9}.method-card ul{padding-left:17px;margin:10px 0 0}.method-number{font-size:11px;color:#908cb5;letter-spacing:1px;margin-bottom:13px}.key-value{display:flex;justify-content:space-between;gap:20px;padding:11px 0;border-bottom:1px solid #eae9f3;font-size:11px;color:#777492}.key-value strong{font-weight:500;color:#545079;text-align:right;overflow-wrap:anywhere}.key-value:last-child{border:0}.material-card{padding:18px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.material-card:last-child{border:0}.material-card h3{font-size:12px}.material-card p{font-size:10px;color:#8f8da5;margin-top:5px}.material-excerpt{font-size:11px;color:#7f7c99;line-height:1.8;padding:8px 0;white-space:pre-wrap}.upload-zone{padding:32px;border:1px dashed #bbb8d9;border-radius:9px;background:#f7f6fc;text-align:center;margin-bottom:20px}.upload-zone svg{width:29px;height:29px;color:#8e8ab7}.upload-zone h3{font-size:13px;color:#676293;margin:12px 0 7px}.upload-zone p{font-size:11px;color:#9491ad;margin-bottom:16px}.busy-line{display:flex;align-items:center;gap:9px;font-size:11px;color:#746fa0;margin-top:10px}.balance-note{font-size:10px;color:#9593ac;line-height:1.8}.billing-row-details{padding:18px 22px;background:#f8f8fc}.billing-row-details summary{cursor:pointer;font-size:11px;color:#7b77a2}.stage-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.stage-chip{background:#e8e6f5;border-radius:5px;padding:3px 7px;color:#645e9b;font-size:9px}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid var(--line);padding:23px 26px;gap:20px}.modal-header h2{font-size:19px;font-weight:600}.modal-header p{font-size:11px;color:#8a87a4;margin-top:7px}.modal-body{padding:21px 26px;overflow:auto;max-height:calc(90vh - 165px)}.modal-footer{padding:16px 26px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;background:#fafafd;gap:16px}.modal-footer>small{font-size:10px;color:#9694ad}.modal-footer .button-row{margin-left:auto}dialog{border:1px solid #dad8e9;border-radius:14px;padding:0;max-width:920px;width:calc(100vw - 48px);max-height:90vh;background:white;box-shadow:0 20px 100px #23203b30;color:var(--text)}dialog::backdrop{background:#16142c45;backdrop-filter:blur(3px)}dialog.narrow{max-width:610px}dialog.wide{max-width:1080px}.toasts{position:fixed;right:26px;bottom:26px;z-index:100;display:flex;flex-direction:column;gap:9px;max-width:410px}.toast{padding:14px 20px;border:1px solid #d1cfe6;border-radius:9px;background:white;color:#524e7b;font-size:12px;box-shadow:var(--shadow);line-height:1.7;animation:slide .2s ease-out}.toast.error{border-color:#ecd4ca;color:#a96755}.toast strong{display:block;margin-bottom:3px}@keyframes slide{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.mono{font-family:Consolas,monospace;font-size:11px}.muted{color:#908ea7}.spacer{height:18px}.nowrap{white-space:nowrap}.error-inline{font-size:12px;color:var(--red);line-height:1.8;margin-top:12px}.edit-section{margin:17px 0}.edit-section label{font-size:12px;color:#706c90;display:block;margin-bottom:8px}.edit-section textarea{min-height:160px}.tag{background:#eae9f6;padding:3px 7px;border-radius:4px;color:#6d689b;font-size:10px}.word-count{font-size:10px;text-align:right;color:#9794af;margin-top:4px}.toggle-note{font-size:11px;line-height:1.8;color:#6d6996;padding:9px 0 0}.danger-zone{border-top:1px solid #f2e5d9;margin-top:24px;padding-top:17px}.result-detail{padding:14px;border-radius:7px;background:#f0eff9;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.8;color:#6b6699;max-height:250px;overflow:auto}.split-count{font-size:11px;color:#7a769d;line-height:1.9}.job-detail-header{padding:23px}.job-detail-header .progress-stack{max-width:none;margin:20px 0 0}.helper-links{display:flex;gap:19px;font-size:11px;color:#7671a2;margin-top:18px}.details-panel{padding:17px 0}.details-panel summary{cursor:pointer;color:#6b6792;font-size:12px}.details-panel[open] summary{margin-bottom:17px}.estimate-box{margin-top:18px;border:1px solid #d0cde9;background:#f2f1fb;border-radius:8px;padding:17px}.estimate-box h4{color:#544e8a;margin-bottom:10px}.estimate-box p{font-size:11px;color:#75709f}.estimate-box strong{color:#433c82}.running-notice{padding:10px 15px;border-radius:6px;background:#e9e7f7;color:#5c559b;font-size:11px;line-height:1.8;margin-bottom:20px}input[type=range]{accent-color:var(--green);width:100%;padding:0}.range-header{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#6c6988}.range-header strong{font-weight:500;color:var(--green)}.quota-label{font-size:10px;margin-top:6px;color:#9391a8}.review-flag{font-size:10px;line-height:1.6;color:#ab8d5b;max-width:170px;white-space:normal}.form-error{display:none}.form-error.visible{display:block}.page-notice{margin-bottom:21px}.compact-table td{padding:12px 15px}.compact-table th{padding:11px 15px}.answer-mark{display:inline-block;border:1px solid #d1cfe7;padding:4px 7px;color:#736da6;border-radius:4px;font-size:10px;margin-bottom:12px}.hidden{display:none!important}@media(min-width:1500px){main{padding-top:40px}.two-col{gap:25px}.metric-grid{gap:20px}}@media(max-width:1150px){.sidebar{width:199px;padding:28px 14px}.app-shell{margin-left:199px}main{padding:26px}.topbar{padding:0 26px}.two-col{grid-template-columns:minmax(0,1.5fr) minmax(255px,1fr)}.metric{padding:18px}.metric-value{font-size:26px}.hero-symbol{display:none}.field-grid.four{grid-template-columns:repeat(2,1fr)}.provider-grid{gap:15px}.provider-card{padding:19px}}@media(max-width:900px){.sidebar{width:76px;align-items:center;padding:23px 10px}.brand{padding:0;gap:0}.brand>span:last-child,.workspace-label,.nav-item>span,.nav-label,.sidebar-bottom{display:none}.nav-item{padding:14px;margin:9px 0}.nav-item .nav-dot{display:none}.nav-item svg{width:19px;height:19px}.app-shell{margin-left:76px}.two-col{grid-template-columns:1fr}.metric-grid{gap:12px}.metric{padding:15px}.metric-top{font-size:10px}.metric-icon{display:none}.metric-note{font-size:9px}.provider-grid{grid-template-columns:1fr}.hero{padding:23px}.topbar{height:65px}.topbar-right{gap:12px}.method-grid{grid-template-columns:1fr}footer{margin:0 26px}footer span{max-width:50%;text-align:right}.field-grid.five{gap:10px}.tabs{gap:17px}}@media(max-width:600px){.sidebar{width:58px;padding:20px 6px}.brand-icon{width:33px;height:33px;font-size:20px;border-radius:10px}.nav-item{padding:12px 10px}.app-shell{margin-left:58px}main{padding:22px 16px}.topbar{padding:0 16px}.connection{display:none}.breadcrumb{font-size:10px;gap:9px}.page-header{align-items:flex-start;gap:12px}.page-header h1{font-size:23px}.page-description{font-size:11px}.page-header .btn{padding:9px 10px;font-size:11px}.metric-grid{grid-template-columns:repeat(2,1fr);gap:10px}.metric-value{font-size:25px}.hero h2{font-size:17px}.hero p{font-size:11px}.hero{padding:21px}.hero-actions{flex-wrap:wrap}.card-header{padding:18px}.pipeline{grid-template-columns:repeat(2,1fr);gap:23px;padding:21px}.pipeline-step:nth-child(2):after{display:none}.field-grid,.field-grid.three,.field-grid.four{grid-template-columns:1fr}.field-grid.five{grid-template-columns:repeat(3,1fr)}.modal-header,.modal-footer{padding:19px}.modal-body{padding:17px 19px}.tabs{gap:18px;overflow:auto}.tab{font-size:11px}dialog{width:calc(100vw - 22px)}.search-wrap input{width:210px}.mini-stat-grid{grid-template-columns:1fr}.provider-stats{gap:8px}.toolbar .filters{width:100%}.pagination{padding:14px}.connection{font-size:9px}footer{margin:0 16px;display:block;line-height:1.8}footer span{max-width:none;display:block;text-align:left;margin-top:5px}.toasts{left:75px;right:15px;bottom:15px}.modal-footer>small{display:none}.card-title h2{font-size:15px}.event-list{padding:0 18px 13px}}
/* V2: governance workspace, white surfaces and readable typography. */
:root{font-size:15px;background:#fff;--ink:#24213d;--text:#37344f;--muted:#5e5c74;--background:#fff;--line:#dddce6}body,main,.app-shell,.topbar,.hero,.card,.provider-card,.method-card{background:#fff}.sidebar{width:238px;padding:18px 17px}.app-shell{margin-left:238px}.brand{display:flex;flex-direction:column;gap:0;padding:0 0 20px;border-bottom:1px solid var(--line);margin-bottom:15px}.brand strong{font-size:15px;letter-spacing:.5px;margin-top:5px}.logo-crop{width:160px;height:105px;display:block;position:relative;overflow:hidden;background:white;flex-shrink:0}.logo-crop img{position:absolute;width:310px;height:auto;max-width:none;left:-75px;top:-57px}.nav-item{font-size:14px;padding:10px 12px;margin:3px 0;color:#454261}.nav-label{font-size:12px;color:#64617c;padding:16px 12px 7px}.sidebar-bottom{padding:16px 9px 0}.sidebar-bottom strong{font-size:14px;display:block;color:#3c385c}.sidebar-bottom small{font-size:12px;display:block;color:#595677;margin:6px 0;line-height:1.6}.sidebar-bottom .text-btn{margin-top:7px}#navigation{overflow:auto;scrollbar-width:none}.user-label{font-size:13px;font-weight:550;color:#423e61}.breadcrumb{font-size:14px;color:#626079}.breadcrumb strong{color:#38345e}.connection{font-size:12px;color:#565278}.page-description{font-size:14px;line-height:1.85;color:#53506f}.page-header h1{font-size:29px}.btn,.text-btn,.tab{font-size:14px}.btn-small{font-size:13px}.metric-top{font-size:14px;color:#4f4c6c}.metric-note{font-size:12px;color:#5d5a78;line-height:1.7}.metric-value{color:#282545}.hero h2{font-size:22px}.hero p{font-size:14px;color:#4e4b6d}.hero-label,.eyebrow{font-size:11px;color:#59557e}.card-header p{font-size:13px;color:#5f5c7a}.subline,.field-help,.word-count,.revision-tag{font-size:12px;color:#595676;line-height:1.8}.badge,.tag{font-size:12px}.badge.green{color:#2e2869}.badge.amber{color:#8c6526}.badge.red{color:#a04b36}.badge.blue{color:#3f6699}.table-name{font-size:14px;color:#38345b}table{font-size:14px}th{font-size:13px;color:#4d4a6c;background:#f6f5fa}td{color:#393654}label.field,.inline-check{font-size:14px;color:#413e5f}.form-control,input[type=text],input[type=password],input[type=number],input[type=date],input[type=search],select,textarea{font-size:14px;color:#302d4b;border-color:#cbc9db}input::placeholder,textarea::placeholder{color:#7b8e7b}.notice{font-size:14px;color:#444068;background:#f5f4fc;border-color:#d3d1e8}.notice.amber{color:#87662f}.notice.red{color:#a15034}.check-option{font-size:14px;color:#423e68}.check-option small{font-size:12px}.question-preview,.question-full,.result-detail,.prompt-preview{font-size:14px;line-height:1.95;color:#33304d}.question-full,.result-detail,.prompt-preview{background:#fff;border:1px solid #d5d3e8;border-radius:8px;padding:19px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:550px;overflow:auto}.question-full.muted-block{background:#f6f5fc}.key-value{font-size:14px;color:#4b4770;line-height:1.8}.key-value strong{color:#332f53}.event-row p{font-size:14px;color:#454264}.event-row small{font-size:12px;color:#5f5b81}.event-dot{background:#706b9b}.pipeline h4{font-size:15px;color:#413d65}.pipeline p{font-size:13px;color:#54507b;max-width:none}.empty-state h3{font-size:16px;color:#494570}.empty-state p{font-size:14px;color:#54507a;max-width:590px}.provider-title h3{font-size:16px}.provider-title small,.provider-url,.mask{font-size:13px;color:#534f7a}.provider-url{background:#f4f3fb}.provider-stats span{font-size:12px;color:#504c78}.provider-stats strong{font-size:15px;color:#383366}.method-card p,.method-card li{font-size:14px;color:#4a4575}.method-number{font-size:12px;color:#4e4881}.pagination,.pagination button{font-size:13px;color:#433e72}.details-panel summary{font-size:14px;color:#3c3672}.edit-section label{font-size:14px;color:#413c6d}.modal-header h2{font-size:21px}.modal-header p{font-size:14px;color:#545079}.modal-footer{background:#fff}.modal-footer>small{font-size:12px;color:#534e83}.error-inline{font-size:14px;color:#af4a31}.toast{font-size:14px;color:#302b5f}.toast.error{color:#a54d31}.running-notice{font-size:14px;color:#3b3573}.loading-state{font-size:14px;color:#484374}.balance-note,.split-count{font-size:13px;color:#4a457a}.range-header{font-size:14px}.material-card h3{font-size:15px}.material-card p{font-size:12px;color:#514c7c}.material-excerpt{font-size:14px;color:#3b3570}.upload-zone{background:#fff}.upload-zone h3{font-size:16px;color:#322c6c}.upload-zone p{font-size:14px;color:#49437f}.billing-row-details{background:#fff}.billing-row-details summary{font-size:14px;color:#443e7b}footer{font-size:12px;color:#54507d}.muted{color:#544f80}.hidden,[hidden]{display:none!important}.auth-mode .sidebar,.auth-mode .app-shell{display:none}.auth-mode #auth-root{display:flex}#auth-root{display:none;min-height:100vh;align-items:center;justify-content:center;padding:35px 22px;background:white}.auth-layout{display:grid;grid-template-columns:minmax(340px,1fr) minmax(390px,460px);gap:85px;align-items:center;width:100%;max-width:1080px}.auth-intro .logo-crop{width:205px;height:135px;margin:0 0 24px -10px}.auth-intro .logo-crop img{width:390px;left:-90px;top:-70px}.auth-intro h1{font-size:35px;line-height:1.6;max-width:500px}.auth-intro p{font-size:16px;line-height:1.95;color:#4d4971;margin:19px 0;max-width:465px}.auth-steps{display:flex;gap:10px;flex-wrap:wrap}.auth-steps span{font-size:13px;color:#4c4779;border:1px solid #cecce4;background:#f9f8fd;padding:7px 10px;border-radius:6px}.auth-card{border:1px solid #d0cee6;border-radius:15px;padding:33px;box-shadow:0 12px 45px #2a26530d;background:white}.auth-card h2{font-size:25px;margin-bottom:10px}.auth-card>p{font-size:14px;color:#4b4674;margin-bottom:25px}.auth-card .field{margin-bottom:19px}.auth-card .btn-primary{width:100%;margin-top:9px}.auth-links{display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:14px;margin-top:20px}.auth-note{font-size:12px;color:#585481;line-height:1.85;margin-top:24px}.catalog-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:22px}.catalog-tree{padding:12px}.tree-button{display:flex;justify-content:space-between;align-items:center;width:100%;padding:13px;border:0;background:#fff;border-radius:6px;text-align:left;font-size:14px;color:#3b366c;margin:3px 0;gap:10px}.tree-button.active{background:#e6e4f6;color:var(--green);font-weight:650}.tree-button:hover{background:#f1f0fa}.catalog-breadcrumb{font-size:14px;color:#433d75;margin-bottom:16px;line-height:1.8}.selection-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 16px;border:1px solid #bebadd;border-radius:8px;background:#eae9f8;margin-bottom:18px;color:#312a6f;font-size:14px}.row-check{width:17px;height:17px;accent-color:var(--green)}.review-block{padding:19px;border:1px solid #cdcae6;border-radius:9px;background:white;margin-top:21px}.review-block h3{margin-bottom:12px}.approval-callout{font-size:14px;line-height:1.9;color:#322c6b;background:#f0effb;border-left:3px solid #6f68ac;padding:14px 16px}.disabled-row{opacity:.6}.copy-paste textarea{font-family:Consolas,monospace;font-size:13px}.two-col.equal{grid-template-columns:1fr 1fr}
@media(max-width:1180px){.sidebar{width:216px;padding:18px 12px}.app-shell{margin-left:216px}.catalog-layout{grid-template-columns:210px minmax(0,1fr)}.auth-layout{gap:45px}.two-col{grid-template-columns:1fr}}@media(max-width:950px){.sidebar{width:76px;align-items:center;padding:17px 9px}.app-shell{margin-left:76px}.brand{width:55px;height:69px;overflow:hidden;padding-bottom:9px;flex-direction:column}.brand .logo-crop{width:55px;height:45px;display:block}.brand .logo-crop img{width:110px;left:-27px;top:-20px}.brand strong,.nav-item>span,.nav-label,.sidebar-bottom{display:none}.nav-item{padding:12px;margin:5px 0}.metric-grid{grid-template-columns:repeat(2,1fr)}.connection{display:none}.catalog-layout{grid-template-columns:1fr}.catalog-tree{display:flex;gap:8px;flex-wrap:wrap}.tree-button{width:auto;min-width:120px}.auth-layout{grid-template-columns:1fr;max-width:510px;gap:25px}.auth-intro p,.auth-steps{display:none}.auth-intro h1{font-size:29px}.auth-intro .logo-crop{transform:scale(.8);transform-origin:left center;height:108px;margin:0 0 8px}.provider-grid,.method-grid{grid-template-columns:1fr}.hero-symbol{display:none}.brand>span:last-child{display:block}}@media(max-width:650px){.sidebar{width:60px;padding:15px 5px}.app-shell{margin-left:60px}.sidebar .nav-item{padding:11px 10px}.topbar-right .user-label{display:none}.page-header h1{font-size:25px}.breadcrumb{font-size:12px}.page-description{font-size:14px}.field-grid,.field-grid.three,.field-grid.four{grid-template-columns:1fr}.field-grid.five{grid-template-columns:repeat(3,1fr)}.selection-bar{align-items:flex-start;flex-direction:column}.two-col.equal{grid-template-columns:1fr}.metric-top{font-size:13px}.metric-note{font-size:12px}.hero p{font-size:14px}.auth-card{padding:24px}.auth-intro h1{font-size:25px}.auth-intro .logo-crop{height:93px;margin-top:-13px}.provider-footer{align-items:flex-start;flex-direction:column}.modal-header p{font-size:14px}.card-header p{font-size:13px}.btn-small{font-size:13px}.toasts{left:74px;right:14px}footer{font-size:12px}}
/* Explicitly style native text fields whose HTML omits the default type. */
input:not([type]){background:white;border:1px solid #cbc9db;border-radius:7px;padding:10px 11px;color:#302d4b;outline:none;font-size:14px;line-height:1.5;max-width:100%;min-height:44px}input[type=text],input[type=password],input[type=number],input[type=date],input[type=search],select{min-height:44px}input:not([type]):focus{border-color:#736da5;box-shadow:0 0 0 3px #eae9f6}.auth-card input{min-height:44px}

/* V3 admin: white console with blue and purple accents. */
:root{--green:#5953cc;--green-dark:#443ca8;--green-light:#f3f1fd;--ink:#242333;--text:#353440;--muted:#6f6b7c}body,main,.app-shell,.sidebar,.topbar,.card,.hero,.provider-card,.method-card,.notice,.question-full,.result-detail,.modal-footer,.auth-card{background:#fff}.page-description,.metric-note,.subline,.field-help,.notice,.key-value,.event-row p,.question-preview,.question-full,.result-detail,.method-card p,.method-card li,.auth-intro p,.auth-note,.modal-header p,.empty-state p,.provider-url,.provider-title small,td{color:#565163}.key-value strong,.table-name,.edit-section label,label.field,.metric-value,.auth-intro h1,.page-header h1{color:#282532}.nav-item{color:#615a70}.nav-item.active{background:#f3f0fc;color:#6453a7}.sidebar-bottom small,.connection,.breadcrumb{color:#746b83}.badge.green{background:#f2ecfb;color:#7752a4}.tab.active{color:#6750a4}.text-btn{color:#6950aa}.admin-workspace-link{font-size:13px;color:#6c56a3;border:1px solid #e4daf0;border-radius:6px;padding:7px 10px}.offer-flags{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0}.offer-description{font-size:14px;line-height:1.8;color:#625971;min-height:26px}

/* Consistent secondary text contrast across the admin console. */
:root{--muted:#626572}.sidebar-bottom small,.connection,.breadcrumb,.modal-footer>small,.metric-note,.subline,.field-help,.word-count,.revision-tag,.provider-url,.mask,.auth-note,.balance-note,.split-count,.pagination,.card-header p,footer{color:#626572}.nav-item,.tab,.provider-stats span{color:#555d6d}.nav-item.active,.tab.active{color:#5144a3}input::placeholder,textarea::placeholder{color:#707585;opacity:1}

/* Keep admin dialog headers and actions visible while forms scroll. */
dialog{overflow:hidden}#modal-content{display:flex;flex-direction:column;max-height:90vh;min-height:0}#modal-content>form{display:flex;flex-direction:column;min-height:0;overflow:hidden}.modal-header,.modal-footer{flex-shrink:0}.modal-body{flex:1;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden}.tabs{overflow-x:auto;overflow-y:hidden;min-height:48px;flex-shrink:0}.tab{flex-shrink:0}

/* Keep expert identity and progress readable on smaller desktop windows. */
.expert-progress-table{min-width:1120px}
.expert-progress-table th,.expert-progress-table td{white-space:nowrap}
.expert-progress-table th:first-child,.expert-progress-table td:first-child{min-width:165px}
.expert-progress-table td:first-child .subline{white-space:normal;max-width:220px}
