@import url('/static/fonts.css');
:root{--ink:#173133;--muted:#738182;--green:#227761;--mint:#b9efd6;--surface:#fff;--canvas:#f3f6f5;--line:#e1e8e5;--orange:#a7662c;--red:#b94949}*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #63b79a;outline-offset:3px}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:#112b2c;color:#dcebe4;padding:34px 20px 20px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;gap:12px;align-items:center;font-size:20px;font-weight:700;letter-spacing:-.7px;padding:0 8px}.brand small{display:block;font-size:8px;letter-spacing:1.5px;color:#8da9a2;margin-top:3px}.brand-mark{font-size:35px;color:#b9efd6;line-height:1;position:relative}.brand-mark>span{font-size:24px;position:absolute;top:-5px;right:-6px}.workspace-label{font-size:9px;letter-spacing:1.5px;color:#72958c;margin:42px 12px 14px}nav{display:flex;flex-direction:column;gap:4px}.nav-item{display:flex;align-items:center;gap:12px;padding:11px 13px;border-radius:7px;color:#a8beb7;font-size:13px;transition:background .15s}.nav-item:hover{background:#1e3939;color:#fff}.nav-item.active{background:#b9efd6;color:#153e34;font-weight:650}.nav-icon{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center}.nav-icon svg{width:18px;height:18px}.nav-item .count{margin-left:auto;font-size:10px;padding:1px 6px;border-radius:4px;background:#ffffff15}.sidebar-footer{margin-top:auto;padding:22px 12px 16px;border-top:1px solid #294443}.sidebar-footer strong{display:block;font-size:12px}.sidebar-footer p{color:#86a49a;font-size:11px;line-height:1.7}.shield-icon{color:#b9efd6;font-size:24px;margin-bottom:4px}.sidebar-bottom{font-size:9px;color:#7e9c94;padding:12px 10px 0;display:flex;gap:7px;align-items:center}.live-dot{width:6px;height:6px;background:#8ad5ad;display:inline-block;border-radius:50%}.main-shell{margin-left:238px;min-height:100vh}.topbar{height:77px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 36px}.breadcrumb{font-size:12px;color:#7d8986}.breadcrumb span{padding:0 13px;color:#bdc7c3}.breadcrumb strong{color:#405953;font-weight:500}.top-actions{display:flex;align-items:center;gap:20px}.avatar{background:#e8eee9;border:1px solid #dbe6df;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-size:10px;font-weight:700}.role-label{font-size:10px;color:var(--muted);display:flex;gap:8px;align-items:center}.role-label select{border:none;background:transparent;color:#48615a;font-size:11px;max-width:142px}.pill{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:5px;font-size:9px;line-height:1.4;letter-spacing:.5px;font-weight:650;white-space:nowrap}.pill.mint{background:#e0f3e8;color:#35715a}.sidebar .pill.mint{background:#274c40;color:#b9efd6}.pill.amber{background:#f6ecda;color:#97713c}.pill.red{background:#f9e7e5;color:#ae5353}.pill.gray{background:#eef1f0;color:#697c74}main{max-width:1580px;padding:34px 36px 40px;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:25px}.eyebrow{font-size:9px;letter-spacing:1.9px;color:#6e8980;font-weight:700;text-transform:uppercase;margin-bottom:8px}h1{font-size:29px;letter-spacing:-.9px;font-weight:650;line-height:1.2;margin:0 0 10px}h2{font-size:15px;letter-spacing:-.25px;margin:0;font-weight:650}h3{font-size:13px;margin:0}p{margin:0}small{font-size:11px}.subtitle{color:var(--muted);font-size:12px}.heading-actions{display:flex;gap:8px;align-items:center;margin-top:10px}.button{border:1px solid #d7e2dc;border-radius:6px;background:#fff;color:#3b5b50;padding:9px 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:11px;font-weight:600;white-space:nowrap}.button.primary{background:#246a54;color:#fff;border-color:#246a54}.button.danger{color:#a54848;background:#fff7f5;border-color:#edcaca}.button.small{padding:6px 9px;font-size:10px}.button.ghost{background:transparent;border:none;color:#39715b;padding:6px 0}.button:hover{filter:brightness(.97)}.filterbar{display:flex;align-items:center;gap:10px;margin-bottom:22px;flex-wrap:wrap}.input,select.filter{border:1px solid #dce5df;background:#fff;color:#3d5b50;border-radius:6px;padding:9px 12px;font-size:11px;min-height:35px}select.filter{min-width:200px}.filterbar .date-chip{font-size:10px;color:#6f817a;margin-left:auto;border:1px solid #dee6e1;padding:8px 12px;border-radius:6px;background:#f8faf9}.notice{padding:12px 16px;border-radius:7px;background:#e7f1ec;color:#4e7162;display:flex;align-items:center;gap:12px;font-size:11px;margin-bottom:23px;border:1px solid #dbe8e0}.notice .symbol{font-size:17px}.notice b{font-weight:650}.notice.warning{background:#fbf4e8;border-color:#eee1c9;color:#907343}.notice.danger{background:#fcf0ec;border-color:#ecd3cb;color:#a45c4a}.notice .right{margin-left:auto;font-size:10px;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{background:#fff;border:1px solid var(--line);border-radius:9px;padding:20px 20px 17px;min-height:126px;position:relative}.stat-top{color:#6e8278;font-size:11px;display:flex;align-items:center;justify-content:space-between}.stat-icon{color:#8aa99b;font-size:17px}.stat-value{font-size:29px;letter-spacing:-1.3px;font-weight:650;margin:9px 0 4px;line-height:1.2}.stat-note{font-size:10px;color:#8a9892}.stat-note .positive{color:#3c8262}.grid-two{display:grid;grid-template-columns:1.65fr 1fr;gap:20px;margin-bottom:22px}.grid-equal{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:22px}.card{background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden;margin-bottom:20px}.grid-two .card,.grid-equal .card{margin-bottom:0}.card-head{padding:21px 23px 17px;display:flex;align-items:center;justify-content:space-between;gap:10px}.card-head small{color:#8b9a92;display:block;margin-top:4px;font-size:10px}.card-body{padding:0 23px 22px}.card-head .meta{font-size:9px;color:#8b9a92}.accounts{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:24px}.account{background:#fff;border:1px solid var(--line);border-radius:9px;padding:20px 23px}.account-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px}.account-title>div{display:flex;align-items:center;gap:11px}.account-icon{width:35px;height:35px;border-radius:8px;background:#edf3ef;color:#48715c;font-size:14px;font-weight:600;display:grid;place-items:center}.account-name{font-size:13px;font-weight:600}.account-id{font-size:9px;color:#90a096}.account-metrics{display:flex;justify-content:space-between;gap:15px}.account-metrics span{display:block;color:#89978e;font-size:9px;margin-bottom:5px}.account-metrics strong{font-size:17px;font-weight:600}.account-foot{display:flex;justify-content:space-between;font-size:9px;margin-top:20px;padding-top:12px;border-top:1px solid #eef2ef;color:#8b9b92}.chart{width:100%;height:200px;display:block}.chart text{font-family:inherit;font-size:10px;fill:#8b9c93}.chart-caption{display:flex;gap:18px;font-size:10px;color:#87998e}.chart-caption span:before{content:"";display:inline-block;width:7px;height:7px;border-radius:2px;background:#78b396;margin-right:7px}.chart-caption span:last-child:before{background:#d5e7de}.timeline{padding:0 23px}.event{position:relative;padding:13px 0 14px 25px;border-top:1px solid #edf1ee;font-size:11px}.event:before{content:"";position:absolute;left:1px;top:18px;width:7px;height:7px;border-radius:50%;background:#8cbca3;border:3px solid #e5f0e9;box-sizing:content-box}.event-title{font-weight:550}.event p{color:#8a9990;font-size:10px;margin-top:5px}.event time{color:#9aaba1;font-size:9px;display:block;margin-top:5px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:9px;letter-spacing:.7px;text-transform:uppercase;color:#89998f;font-weight:600;padding:12px 22px;background:#f9fbfa;border-top:1px solid #edf2ee;border-bottom:1px solid #edf2ee;white-space:nowrap}td{font-size:11px;padding:15px 22px;border-bottom:1px solid #edf2ee;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfdfb}.cell-title{font-size:11px;font-weight:550;max-width:300px}.cell-sub{font-size:9px;color:#98a49c;margin-top:4px}.mono{font-family:Consolas,monospace;font-size:10px;color:#7d9285}.numeric{text-align:right;white-space:nowrap}.muted{color:#889b8f}.empty{padding:36px 22px;color:#85978a;text-align:center;font-size:12px}.empty strong{display:block;color:#466552;margin-bottom:7px}.mini-bars{display:flex;flex-direction:column;gap:18px;padding:8px 0}.city-bar-label{display:flex;justify-content:space-between;font-size:11px;margin-bottom:7px}.city-track{height:5px;background:#edf3ef;border-radius:4px}.city-fill{height:5px;fill:#78b497}.funnel{display:flex;flex-direction:column;gap:16px}.funnel-line{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf2ee;padding-bottom:13px;font-size:11px}.funnel-line:last-child{border:0;padding-bottom:0}.funnel-line .num{font-size:21px;font-weight:600}.funnel-line .num.unknown{color:#afbbb2}.funnel-label small{display:block;color:#91a096;font-size:9px;margin-top:3px}.safety-row{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #edf2ee;font-size:11px}.safety-row:last-child{border:0}.safety-indicator{width:28px;height:16px;border-radius:20px;background:#e1e9e3;position:relative}.safety-indicator:after{content:"";position:absolute;width:10px;height:10px;top:3px;left:3px;background:#fff;border-radius:50%}.source-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:22px}.integration-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:22px}.integration-card .pill{margin:10px 0}.integration-card p{font-size:11px;color:#84988a;line-height:1.8}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-field{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#6f8577}.form-field .input{font-size:12px}.form-field.full{grid-column:1/-1}.form-foot{display:flex;align-items:center;gap:14px;margin-top:20px}.form-foot small{color:#8e9f94}.upload-area{padding:28px;border:1px dashed #b9cec0;border-radius:8px;background:#f8fbf9;text-align:center;margin-bottom:20px}.upload-area p{color:#728879;font-size:12px;margin-bottom:14px}.file-input{max-width:100%;font-size:11px}.policy-flow{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:18px 0}.flow-node{background:#edf5ef;border:1px solid #d8e6db;border-radius:6px;padding:11px 15px;font-size:10px;min-width:125px;text-align:center}.flow-node.final{background:#fbf2df;border-color:#eee1c3;color:#9b7d41}.flow-arrow{color:#9db0a1}.decision{padding:18px 22px;border-top:1px solid #edf2ee}.decision-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px}.draft{margin-top:12px;background:#f4f8f5;border-left:3px solid #98c5a9;padding:13px 16px;color:#5f7b67;font-size:12px}.decision-note{font-size:10px;color:#8ca08f;margin-top:9px}.account-select-row{display:flex;justify-content:space-between;align-items:center;gap:15px}.diff-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.diff-box{padding:13px;border-radius:6px;background:#f7ece8;color:#9a665c;font-size:12px;white-space:pre-wrap;word-break:break-word}.diff-box.after{background:#eaf4ec;color:#53805c}.diff-box small{display:block;text-transform:uppercase;font-size:8px;margin-bottom:7px;letter-spacing:1px}.version-head{margin-top:24px;border-top:1px solid var(--line);padding-top:20px;font-size:12px;font-weight:650}.version-data{font-family:Consolas,monospace;font-size:11px;white-space:pre-wrap;background:#f7faf8;padding:16px;border-radius:6px;overflow-wrap:anywhere;max-height:300px;overflow:auto}dialog{border:1px solid #dbe5dd;border-radius:12px;padding:28px;max-width:800px;width:90%;max-height:88vh;color:var(--ink);box-shadow:0 20px 100px #132e2833}dialog::backdrop{background:#0b282755}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:20px}.close-button{border:0;background:#edf2ee;color:#6d8777;border-radius:50%;width:29px;height:29px;cursor:pointer}.page-footer{display:flex;justify-content:space-between;font-size:9px;color:#a0ada5;padding:0 36px 22px;gap:20px}#toast{position:fixed;bottom:26px;right:28px;background:#214e3c;color:#fff;border-radius:8px;padding:14px 20px;font-size:12px;z-index:100;box-shadow:0 5px 25px #12332733;display:none;max-width:450px}#toast.visible{display:block}#toast.error{background:#9b4a42}.loading{padding:80px;text-align:center;color:#849d8d}.blocked{color:#b07b39}.inline-links{display:flex;gap:16px;flex-wrap:wrap;margin-top:14px}.inline-links a{font-size:11px;color:#377859;text-decoration:underline;text-underline-offset:3px}.page-note{font-size:11px;color:#85998a;line-height:1.8;margin:16px 0}.hide{display:none!important}.badges{display:flex;gap:7px;align-items:center}.hero-status{background:#1c4037;color:#eff8f1;border-radius:9px;padding:23px;display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.hero-status p{font-size:11px;color:#a4c2ae;margin-top:7px}.hero-status strong{font-size:16px;font-weight:550}.two-col-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.contract-label{font-size:9px;letter-spacing:1.2px;color:#93aa99;margin-bottom:12px}.code{font-family:Consolas,monospace;background:#f2f6f3;padding:12px;border-radius:5px;font-size:10px;overflow-wrap:anywhere}.alert-card{border-left:3px solid #d5a261}.date-note{font-size:9px;color:#98aa9c}.segment-filter{min-width:150px!important}
@media(min-width:1600px){main{padding-top:40px}.stat{min-height:142px}.stat-value{font-size:34px}.chart{height:230px}}
@media(max-width:1180px){.sidebar{width:204px;padding-left:12px;padding-right:12px}.main-shell{margin-left:204px}.topbar{padding:0 24px}main{padding:28px 24px}.grid-two{grid-template-columns:1.35fr 1fr}.stat{padding:17px 14px}.stat-value{font-size:25px}.top-actions{gap:12px}.role-label{display:none}td,th{padding-left:16px;padding-right:16px}.source-grid{grid-template-columns:1fr 1fr}}
@media(max-width:900px){.sidebar{width:64px;padding:24px 8px}.brand{padding:0 9px}.brand>span:last-child,.workspace-label,.nav-item>span:not(.nav-icon),.sidebar-footer,.sidebar-bottom{display:none}nav{margin-top:35px}.nav-item{justify-content:center;padding:13px}.main-shell{margin-left:64px}.stats{grid-template-columns:1fr 1fr}.grid-two,.grid-equal{grid-template-columns:1fr}.topbar{height:65px}.breadcrumb{font-size:10px}.top-actions .avatar{display:none}.page-heading{gap:12px}h1{font-size:25px}.heading-actions{margin-top:4px}.accounts{gap:12px}.account{padding:16px}.account-metrics strong{font-size:15px}.page-footer{padding:0 24px 20px}.source-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){main{padding:22px 15px}.topbar{padding:0 15px}.breadcrumb{display:none}.top-actions{margin-left:auto}.page-heading{flex-direction:column;margin-bottom:18px}.heading-actions{margin:0}.stats{gap:10px}.stat{min-height:110px;padding:15px 12px}.stat-value{font-size:25px}.stat-top{font-size:10px}.accounts,.source-grid,.form-grid{grid-template-columns:1fr}.filterbar .date-chip{margin-left:0}.card-head{padding:18px}.card-body{padding:0 18px 20px}.timeline{padding:0 18px}.page-footer{padding:0 15px 20px;flex-direction:column;gap:6px}.notice{align-items:flex-start}.notice .right{display:none}.account-metrics strong{font-size:18px}.diff-grid{grid-template-columns:1fr}.hero-status{align-items:flex-start;gap:12px}.policy-flow{gap:6px}.flow-node{min-width:100px}.source-grid .integration-card{padding:18px}}
.provider-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px; }
.provider-top,.vpn-actions { display:flex;gap:10px;flex-wrap:wrap;align-items:center; }
.provider-top { margin-bottom:20px; }
.provider-form .form-field + .form-field { margin-top:16px; }
.vpn-config-label { margin-top:18px; }
.secret-input { width:100%;resize:vertical;font-family:monospace;overflow-wrap:anywhere; }
.vpn-profile { display:flex;justify-content:space-between;gap:15px;align-items:center;padding:20px 24px;border-top:1px solid var(--line,#e5ece7); }
.vpn-runtime { margin-bottom:16px; }
.network-checkbox { display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.5;margin-top:18px; }
.provider-check { margin:20px 0 14px;padding-top:16px;border-top:1px solid #e5ece7;font-size:13px; }
.provider-check small { display:block;color:#77877e;margin-top:6px; }
#vpn-import-result { color:#a54436;font-size:13px;line-height:1.5;margin-top:12px; }
@media(max-width:1000px){.provider-grid{grid-template-columns:1fr}.vpn-profile{align-items:flex-start;flex-direction:column}}

.login-card{max-width:520px;margin-top:28px}.login-card .form-field{margin-bottom:20px}
.rec-two,.rec-model-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.rec-two>.card{min-width:0}.rec-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:24px;align-items:start}.rec-start{display:flex;gap:16px;align-items:end;flex-wrap:wrap;padding:20px}.rec-start .form-field{flex:1;min-width:220px;margin:0}.rec-checks{display:flex;gap:16px;flex-wrap:wrap}.rec-check{display:block;margin:20px 0}.rec-version{margin-top:25px;padding:24px}.knowledge-item{border-bottom:1px solid #e5ebe7;padding:18px 0}.knowledge-item summary{cursor:pointer;line-height:1.8}.knowledge-item summary .pill{margin-left:8px}.knowledge-item[open] summary{margin-bottom:20px}.lab-chat{padding-bottom:24px}.lab-chat form,.lab-examples{margin:0 24px}.lab-examples{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.lab-examples .button{font-size:11px;padding:7px 10px}.chat-log{height:450px;overflow-y:auto;padding:24px;background:#f7f9f7;display:flex;flex-direction:column;gap:16px;margin-bottom:24px}.chat-bubble{padding:14px 18px;border-radius:14px;max-width:88%;border:1px solid #e1e8e2}.chat-bubble p{white-space:pre-wrap;line-height:1.6;margin:5px 0 0}.chat-bubble small{font-size:10px;color:#5c7467}.chat-bubble.user{align-self:flex-end;background:#e4f3e8}.chat-bubble.assistant{align-self:flex-start;background:white}.chat-event{font-size:13px;color:#845a29;padding:14px;border:1px dashed #d9c5a7;border-radius:8px}.rec-inspector .card{padding:20px}.rec-inspector .card-head{padding:0 0 18px}.rec-inspector .button{margin:5px 5px 5px 0}.fact-list{margin:0}.fact-list>div{padding:12px 0;border-bottom:1px solid #edf1ee}.fact-list dt{font-size:11px;color:#63766c}.fact-list dd{margin:4px 0;font-size:14px}.fact-list small{display:block;color:#72877a;font-size:10px;margin-top:4px}.blocker-list{line-height:1.7;padding:0 20px 20px 40px}.blocker-list li{margin:12px 0}#recruiter-config-form>.card,#recruiter-config-form .rec-two>.card{padding:24px}#recruiter-config-form .card-head{padding:0 0 18px}#recruiter-config-form textarea{width:100%;resize:vertical}.rec-inspector details p{overflow-wrap:anywhere}.onboarding-result{white-space:pre-wrap;overflow:auto;max-height:400px}.ocr-field{display:grid;grid-template-columns:140px 1fr 90px;gap:14px;margin-bottom:12px;align-items:center}.sidebar nav{max-height:calc(100vh - 300px);overflow-y:auto}@media(max-width:1100px){.rec-layout{grid-template-columns:1fr}.rec-two{grid-template-columns:1fr}}@media(max-width:700px){.rec-model-row{grid-template-columns:1fr}.chat-log{height:380px}.ocr-field{grid-template-columns:1fr}}

#recruiter-config-form input:not([type=checkbox]),#recruiter-config-form textarea,#recruiter-config-form select,.rec-start select,#lab-chat-form textarea,#rec-version,.ocr-field input{width:100%;box-sizing:border-box;border:1px solid #cedbd1;border-radius:8px;padding:11px 12px;background:#fff;color:#203c30;font:inherit;font-size:13px;line-height:1.5}#rec-version{width:auto;max-width:100%;margin:12px 0}.lab-chat textarea:focus{outline:2px solid #a1cdb5;outline-offset:2px}#ocr-review-form{padding:20px 24px}.card:has(>#ocr-review-form)>.rec-checks,.card:has(>#ocr-review-form)>h3,.card:has(>#ocr-review-form)>p{margin:20px 24px}

/* Business configuration workspace */
.builder-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 22px;background:#fff;border:1px solid #dce6df;border-radius:14px;margin:20px 0}.builder-toolbar small{display:block;color:#5c7268;margin-top:6px}.builder-toolbar .button{margin-left:6px}.builder-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:20px}.builder-tabs button{border:1px solid #dce6df;background:#fff;padding:10px 13px;border-radius:10px;font:inherit;color:#375347;cursor:pointer}.builder-tabs button.active{background:#173d30;color:#fff;border-color:#173d30}.builder-item{border-top:1px solid #e3ebe6}.builder-item>summary{display:flex;justify-content:space-between;gap:15px;cursor:pointer;padding:20px 22px}.builder-item>summary span{color:#65796e;font-size:13px}.builder-item[open]>summary{background:#f4f8f5}.builder-body{padding:22px}.builder-body .form-field,.builder-preview{margin-bottom:16px}.builder-body textarea{resize:vertical}.builder-ref{border:1px solid #e2e9e4;border-radius:10px;margin:14px 0;padding:12px;display:flex;gap:14px;flex-wrap:wrap}.builder-ref legend{font-size:13px;color:#3c5549;padding:0 5px}.builder-ref label{font-size:13px;display:flex;align-items:center;gap:6px}.builder-technical{margin:18px 0;padding:16px;background:#f4f7f5;border-radius:10px}.builder-token-help{padding:12px;background:#f4f7f5;border-radius:10px;font-size:13px}.builder-conditions{background:#f5f8f6;padding:14px;margin:12px 0;border-radius:10px}.condition-row{display:grid;grid-template-columns:1.1fr 1fr 1fr auto;align-items:end;gap:10px}.builder-model{display:grid;grid-template-columns:1fr 1fr 1.5fr 1fr;align-items:end;gap:14px;padding:16px 0}.builder-model h3{font-size:15px}.builder-preview{padding:22px}.builder-preview ul{padding-left:20px}.builder-preview pre,.rec-inspector pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:400px;overflow:auto;font-size:12px}.builder-preview h2{margin-bottom:12px}.builder-body small{color:#708175;line-height:1.5}.builder-item+.button,.card>.button{margin:15px 20px}.comparison-turn{border-bottom:1px solid #e3ebe6;padding:14px}.comparison-turn small{color:#6b8174}.comparison-turn p{white-space:pre-wrap}.rec-start{flex-wrap:wrap}.rec-start .form-field{min-width:180px}.sidebar nav{overflow-y:auto;max-height:calc(100vh - 260px)}
@media(max-width:1000px){.builder-toolbar{display:block}.builder-toolbar>div+div{margin-top:12px}.condition-row,.builder-model{grid-template-columns:1fr 1fr}.builder-item>summary{display:block}.builder-item>summary span{display:block;margin-top:6px}}

.builder-tabs{flex-direction:row;margin-top:0}.builder-tabs button{flex:0 1 auto}.builder-body [data-bind]:not([type=checkbox]),.builder-tabs~.card [data-bind]:not([type=checkbox]),#builder-version,#builder-effective,#compare-left,#compare-right{width:100%;border:1px solid #cedbd1;border-radius:8px;padding:10px 12px;background:#fff;color:#203c30;font:inherit;font-size:13px;line-height:1.5}.builder-body .form-field,.builder-tabs~.card .form-field{display:flex;flex-direction:column;gap:6px;min-width:0}.builder-tabs~.card{padding:0 22px 22px}.builder-tabs~.card>.card-head{padding-left:0}.builder-tabs~.card:has(.builder-item){padding:0}.builder-tabs~.card:has(.builder-item)>.card-head{padding-left:22px}.builder-body label span,.builder-tabs~.card>.form-field span{font-size:12px;font-weight:600;color:#456456}.builder-tabs~.card>.form-field,.builder-tabs~.card>.rec-two{margin-bottom:18px}.builder-toolbar .button{white-space:normal}#b-system_prompt{min-height:240px}.rec-check input{width:auto}
.connection-status{margin:16px 36px 0;padding:10px 16px;border:1px solid #d7e6db;border-radius:10px;background:#edf5ef;color:#315b42;font-size:13px;display:flex;justify-content:space-between;align-items:center;gap:14px}.connection-status.offline{background:#fff0ed;border-color:#e7b6ac;color:#a12e22}.connection-status.expired{background:#fff6e7;border-color:#e6cea6;color:#815820}#reauth-dialog{width:min(460px,90vw);padding:28px;border:1px solid #d5e3d9;border-radius:16px}#reauth-dialog::backdrop{background:#10251b77}#reauth-dialog .form-field{margin:18px 0}#reauth-result{color:#a12e22}@media(max-width:700px){.connection-status{margin:12px 16px 0;align-items:flex-start;flex-direction:column}}
.learning-scope{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:20px 0}.learning-scope label{display:flex;flex-direction:column;gap:8px}.learning-scope select{min-width:240px}.learning-tabs{margin-top:24px}.learning-item{padding:24px;border-top:1px solid #e0e9e2}.learning-item:first-child{border-top:0}.learning-item p{line-height:1.7}.learning-item-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.learning-item h3{margin:0 0 10px}.learning-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.learning-item details{margin:18px 0}.learning-item pre{max-height:260px;overflow:auto}.learning-new{padding:24px;margin-bottom:24px}.learning-new summary{cursor:pointer;font-weight:600}.learning-new form{margin-top:24px;max-width:780px}.learning-new .form-field{margin-bottom:18px}.learning-new textarea{min-height:90px}.learning-error{color:#a33f2c}@media(max-width:800px){.learning-scope,.learning-item-head{align-items:stretch;flex-direction:column}.learning-item{padding:18px}}
