:root{--nav:#11232d;--nav-muted:#91a4ad;--teal:#079781;--teal-light:#e6f6f1;--bg:#f5f7f9;--text:#263943;--muted:#819097;--line:#e8edf0;--red:#d86262;--amber:#c68b37;--white:#fff;--shadow:0 3px 18px #172f3e05;font-family:Inter,"Segoe UI","Microsoft YaHei",Arial,sans-serif;color:var(--text);font-size:14px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:var(--teal);text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #77cfc0;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:none;border-color:#58b5a7;box-shadow:0 0 0 3px #0797810b}svg.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}.initial-loading{display:grid;place-items:center;height:100vh;color:var(--muted)}.shell{display:flex;min-height:100vh}.sidebar{width:226px;background:var(--nav);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:30px 18px 20px;z-index:20;color:white}.brand{display:flex;gap:12px;align-items:center;padding:0 12px;margin-bottom:36px}.brand img{width:38px;height:38px}.brand-name{font-size:22px;font-weight:650;letter-spacing:3px;line-height:1.25}.brand-sub{font-size:10px;letter-spacing:2.3px;color:#9cbbb9;margin-top:4px}.workspace{margin:0 3px 30px;border:1px solid #31434c;border-radius:9px;padding:12px;display:flex;align-items:center;gap:9px}.workspace .workspace-icon{padding:7px;background:#293c45;border-radius:6px;color:#b7ccc9}.workspace strong{font-size:12px;font-weight:500;display:block;max-width:118px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.workspace small{font-size:10px;color:#90a4ac;display:block;margin-top:4px}.nav-label{font-size:10px;letter-spacing:1.5px;color:#6e8893;margin:0 15px 11px}.nav{display:flex;flex-direction:column;gap:6px}.nav button{display:flex;align-items:center;gap:13px;border:0;background:none;color:#a6b7bf;text-align:left;padding:13px 15px;border-radius:7px;font-size:13px;position:relative}.nav button:hover{background:#203540;color:white}.nav button.active{background:#1d4947;color:#77d8c5}.nav button.active:before{content:"";position:absolute;left:-18px;width:3px;height:20px;background:#48c9b0;border-radius:0 3px 3px 0}.nav .separator{height:20px}.sidebar-bottom{margin-top:auto;padding-top:60px}.service-status{margin:0 12px 23px;display:flex;align-items:center;gap:8px;font-size:11px;color:#8facb1}.dot{width:6px;height:6px;border-radius:50%;background:#35bf9e;display:inline-block;flex-shrink:0}.profile{display:flex;gap:10px;align-items:center;border-top:1px solid #2b3d46;padding:20px 6px 0}.avatar{width:33px;height:33px;background:#d8eee9;border:1px solid #c7e5de;color:#397165;border-radius:50%;display:grid;place-items:center;font-size:13px}.profile strong{font-size:12px;font-weight:500}.profile small{display:block;color:#809ba6;font-size:10px;margin-top:4px}.profile button{background:none;border:0;color:#859ea7;padding:5px;margin-left:auto}.main{margin-left:226px;flex:1;min-width:0}.topbar{height:73px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 37px;gap:12px}.breadcrumb{font-size:12px;color:#95a0a5;display:flex;gap:13px;align-items:center}.breadcrumb strong{color:#52616a;font-weight:500}.top-right{display:flex;align-items:center;gap:18px;font-size:11px;color:var(--muted)}.environment{border:1px solid var(--line);border-radius:5px;padding:6px 9px;display:flex;gap:7px;align-items:center;color:#687a82}.icon-btn{background:transparent;border:0;padding:6px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;color:#72818a}.icon-btn:hover{background:#edf4f2;color:var(--teal)}.content{max-width:1600px;margin:auto;padding:31px 37px 25px}.heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:26px}.eyebrow{color:var(--teal);font-size:10px;letter-spacing:2px;font-weight:650;margin-bottom:9px}h1{font-size:25px;letter-spacing:1px;line-height:1.3;margin:0;font-weight:650}h2{font-size:15px;margin:0;font-weight:600}h3{font-size:14px;margin:0;font-weight:600}p.subtitle{font-size:12px;color:var(--muted);margin:10px 0 0;line-height:1.7}.heading-actions{display:flex;align-items:center;gap:10px}.btn{border:1px solid #dfe7e9;background:white;border-radius:6px;min-height:35px;padding:8px 13px;display:inline-flex;justify-content:center;align-items:center;gap:7px;font-size:12px;line-height:1.4;white-space:nowrap}.btn:hover{border-color:#9bc9c0;background:#f8fcfb}.btn.primary{background:var(--teal);border-color:var(--teal);color:white;box-shadow:0 2px 3px #04917c10}.btn.primary:hover{background:#078572}.btn.danger{color:var(--red)}.btn.small{min-height:28px;font-size:11px;padding:5px 9px}.btn.ghost{border:0;box-shadow:none;background:transparent;color:var(--teal)}.btn svg.icon{width:15px;height:15px}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:4px;padding:4px 8px;font-size:10px;line-height:1.2;white-space:nowrap;background:#edf1f4;color:#77868f}.badge.normal,.badge.success{background:#eaf6f1;color:#2e9879}.badge.fraud,.badge.failed{background:#fff0ee;color:#cd6861}.badge.harassment{background:#fff5e6;color:#bd893d}.badge.keyword{background:#edf3fa;color:#6182a4}.badge.phrase{background:#f1effc;color:#8a78b7}.badge.understanding{background:#edf5f4;color:#648f8a}.badge.demo{background:#e6f3ef;color:#448d7d}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px}.metric{background:white;border:1px solid var(--line);border-radius:9px;padding:20px 21px 17px;box-shadow:var(--shadow)}.metric-top{display:flex;align-items:center;justify-content:space-between;color:#7c8b93;font-size:12px}.metric-icon{width:32px;height:32px;border-radius:8px;background:#ecf7f3;display:grid;place-items:center;color:#54a993}.metric-icon.blue{background:#eef4fb;color:#7a9dbf}.metric-icon.red{background:#fff1ee;color:#d9998c}.metric-icon.amber{background:#fcf5e9;color:#c3a269}.metric-value{font-size:31px;font-weight:600;letter-spacing:-.8px;margin:13px 0 12px;color:#263941;font-variant-numeric:tabular-nums}.metric-value small{font-size:11px;letter-spacing:0;font-weight:400;color:#8b989f;margin-left:6px}.metric-foot{font-size:10px;color:#9aa4a9;display:flex;gap:6px;align-items:center}.metric-foot strong{font-size:11px;color:#54a58e;font-weight:500}.metric-foot.warning strong{color:#ca9a5a}.row-charts{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(280px,1fr);gap:20px;margin-bottom:21px}.panel{background:white;border:1px solid var(--line);border-radius:9px;box-shadow:var(--shadow);overflow:hidden}.panel-head{padding:21px 23px 0;display:flex;justify-content:space-between;align-items:center;gap:12px}.panel-head p{margin:6px 0 0;color:#98a1a7;font-size:10px}.panel-body{padding:23px}.legend{display:flex;align-items:center;gap:15px;color:#94a0a7;font-size:10px}.legend span{display:flex;gap:6px;align-items:center}.legend i{display:inline-block;width:7px;height:7px;border-radius:2px;background:#82cbbc}.legend i.risk{background:#e7b187}.chart-wrap{display:flex;height:181px;margin:26px 25px 0 23px;gap:13px}.y-axis{display:flex;flex-direction:column;justify-content:space-between;font-size:9px;color:#aab2b7;padding-bottom:1px;min-width:15px}.bars{flex:1;display:flex;align-items:flex-end;justify-content:space-around;gap:7px;position:relative;background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#f0f3f5 calc(25% - 1px),#f0f3f5 25%);border-bottom:1px solid var(--line)}.bar-group{height:100%;flex:1;display:flex;align-items:flex-end;justify-content:center;gap:3px;max-width:38px;position:relative}.bar{width:11px;max-width:45%;border-radius:3px 3px 0 0;min-height:0;background:#8bcfc0}.bar.risk{background:#e5b692}.bar-group:hover .bar{filter:saturate(1.5)}.chart-labels{display:flex;justify-content:space-around;margin:10px 25px 19px 51px;color:#9aa6ac;font-size:9px}.chart-labels span{flex:1;text-align:center}.chart-note{padding:12px 23px;border-top:1px solid #f2f4f5;color:#98a4aa;font-size:10px}.donut-area{display:flex;align-items:center;justify-content:center;gap:25px;padding:34px 23px 29px}.donut{width:148px;height:148px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.donut-hole{width:115px;height:115px;background:white;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column}.donut-hole strong{font-size:29px;font-weight:600;letter-spacing:-1px}.donut-hole span{font-size:10px;color:#98a5ab;margin-top:5px}.distribution{display:flex;flex-direction:column;gap:18px;min-width:105px}.distribution .item{font-size:10px;color:#7b8c94;display:grid;grid-template-columns:8px 1fr auto;gap:7px;align-items:center}.distribution .item i{height:6px;width:6px;border-radius:50%}.distribution .item b{font-size:12px;color:#4c636d;font-weight:500}.distribution .item small{grid-column:2/4;font-size:9px;color:#a9b2b6}.flow-panel{margin-bottom:22px}.flow-head{display:flex;align-items:center;justify-content:space-between;padding:18px 23px;border-bottom:1px solid #f0f3f4}.flow-head small{font-size:10px;color:#98a5aa}.flow{display:flex;align-items:center;justify-content:space-between;padding:23px 25px;gap:18px}.flow-step{display:flex;align-items:center;gap:12px;flex:1}.step-icon{width:36px;height:36px;border-radius:9px;background:#f0f6f4;color:#80aaa0;display:grid;place-items:center}.flow-step strong{display:block;font-weight:500;font-size:12px}.flow-step small{display:block;font-size:10px;color:#9aa6ab;margin-top:5px}.flow-step .step-count{margin-left:auto;font-size:20px;color:#507367}.flow-arrow{color:#ced8dc;font-size:19px}.table-wrapper{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:11px}th{text-align:left;font-size:10px;color:#95a0a7;font-weight:500;background:#fafbfc;padding:13px 22px;border-bottom:1px solid var(--line)}td{padding:17px 22px;border-bottom:1px solid #eff2f4;color:#657780}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfefd}.table-head{padding:20px 23px;display:flex;align-items:center;justify-content:space-between}.table-head small{font-size:10px;color:#9aa6ab;margin-left:10px}.call-id{font-size:11px;color:#385766;font-variant-numeric:tabular-nums;display:block}.subcell{display:block;font-size:9px;color:#a0abb0;margin-top:5px}.risk-quote{max-width:190px;overflow:hidden;text-overflow:ellipsis;color:#84949c;font-size:10px}.cell-action{color:var(--teal);border:0;background:transparent;font-size:11px;cursor:pointer;padding:5px}.footer{display:flex;justify-content:space-between;color:#aab3b8;font-size:9px;margin-top:24px;letter-spacing:.2px}.footer span:last-child{display:flex;align-items:center;gap:6px}.notice{display:flex;gap:10px;padding:13px 16px;border:1px solid #dcebe7;background:#eff8f4;border-radius:6px;color:#668e80;font-size:11px;line-height:1.7;margin-bottom:20px}.notice.amber{background:#fffbf2;border-color:#f2e7c9;color:#9c834e}.notice svg{width:17px;flex-shrink:0;margin-top:2px}.toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:19px}.search-field{position:relative;flex:1;min-width:230px;max-width:360px}.search-field svg{position:absolute;left:12px;top:11px;width:16px;height:16px;color:#9ca8ad}.search-field input{padding-left:37px;width:100%}input,select,textarea{border:1px solid #dde5e8;background:#fff;border-radius:6px;color:#4a606a;padding:10px 12px;font-size:12px;min-width:0}select{cursor:pointer}textarea{resize:vertical;line-height:1.8;min-height:100px}input::placeholder,textarea::placeholder{color:#a5b0b5}.pagination{padding:16px 22px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:#98a4aa;font-size:10px}.pagination-actions{display:flex;gap:10px;align-items:center}.tabs{display:flex;gap:26px;border-bottom:1px solid var(--line);margin-bottom:24px}.tabs button{padding:0 2px 14px;border:0;background:transparent;color:#8b9ba4;font-size:12px;position:relative}.tabs button.active{color:var(--teal);font-weight:600}.tabs button.active:after{content:"";height:2px;background:var(--teal);position:absolute;bottom:-1px;left:0;right:0}.empty{padding:55px 20px;text-align:center;white-space:normal}.empty .empty-icon{color:#9dbbb2;background:#eff6f3;width:52px;height:52px;border-radius:13px;margin:0 auto 16px;display:grid;place-items:center}.empty h3{font-size:14px;font-weight:500;margin-bottom:8px}.empty p{font-size:12px;color:#91a0a7;line-height:1.8;margin:0 0 18px}.rule-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:22px}.summary-box{padding:18px 20px;background:#fff;border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;justify-content:space-between}.summary-box span{font-size:11px;color:#87969e}.summary-box strong{font-size:22px;font-weight:500}.rule-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.rule-card{padding:18px 22px;border-bottom:1px solid var(--line)}.rule-card:last-child{border-bottom:0}.rule-card-head{display:flex;gap:10px;align-items:center;justify-content:space-between}.rule-card-head strong{font-size:12px;font-weight:550}.rule-card-actions{display:flex;gap:3px}.rule-card-actions .icon{width:14px;height:14px}.chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.chip{font-size:10px;border:1px solid #e4ecef;background:#f8fafb;border-radius:4px;padding:5px 8px;color:#7a8e97}.rule-description{font-size:11px;color:#87979e;line-height:1.9;margin:10px 0 0}.version-panel{margin-top:20px}.version-list{display:flex;flex-wrap:wrap;gap:10px;padding:19px 23px}.version-list button{padding:8px 13px;background:#f8faf9;border:1px solid #e5edea;border-radius:5px;color:#6a8c7f;font-size:11px}.config-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.config-card{padding:24px}.config-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.config-card-header .lead{display:flex;gap:12px;align-items:center}.config-card-header .lead .icon-holder{display:grid;place-items:center;width:40px;height:40px;background:#eff6f4;border-radius:9px;color:#72a695}.config-card-header small{display:block;font-size:10px;color:#92a0a7;margin-top:5px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:17px}.field label{font-size:11px;color:#6f838d}.field small{font-size:10px;line-height:1.65;color:#9aa6ac}.form-grid .field{margin:0}.field.full{grid-column:1/-1}.form-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:22px;padding-top:19px;border-top:1px solid var(--line)}.code-block{background:#f5f8f9;border:1px solid #e5edef;color:#6b858f;border-radius:6px;padding:15px;font-size:11px;line-height:1.8;white-space:pre-wrap;word-break:break-all;max-height:360px;overflow:auto;font-family:ui-monospace,Consolas,monospace}.md-preview{white-space:pre-wrap;line-height:1.9;background:#f8faf9;border:1px solid #e5eeea;padding:20px;border-radius:6px;font-size:12px;max-height:350px;overflow:auto}.source-list{display:grid;gap:18px}.source-card{padding:23px}.source-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px;gap:15px}.source-title{display:flex;align-items:center;gap:12px}.source-title>svg{width:35px;height:35px;color:#79ab9c;background:#eef7f2;border-radius:8px;padding:7px}.source-title small{display:block;margin-top:6px;color:#97a3a9;font-size:10px}.source-details{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;background:#f9fbfb;border:1px solid #edf1f2;border-radius:6px;padding:17px}.source-details small{display:block;font-size:10px;color:#96a5ad;margin-bottom:7px}.source-details strong{font-size:15px;font-weight:500;color:#56736f}.source-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:17px}.modal-backdrop{position:fixed;inset:0;background:#0b253747;z-index:90;display:flex;align-items:center;justify-content:center;padding:30px;backdrop-filter:blur(3px)}.modal{background:white;border-radius:12px;width:580px;max-width:100%;max-height:90vh;overflow:auto;box-shadow:0 24px 80px #0b253730}.modal.wide{width:930px}.modal-header{position:sticky;top:0;z-index:1;background:white;border-bottom:1px solid var(--line);padding:21px 25px;display:flex;align-items:center;justify-content:space-between;border-radius:12px 12px 0 0}.modal-header h2{font-size:16px}.modal-body{padding:24px 25px}.modal p.explain{font-size:12px;color:#8a9aa3;line-height:1.8;margin-top:0}.detail-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding-bottom:20px;border-bottom:1px solid var(--line)}.detail-meta small{display:block;font-size:10px;color:#9aa7ae;margin-bottom:8px}.detail-meta strong{font-size:11px;font-weight:500}.result-card{padding:18px;background:#f7fbf9;border:1px solid #e5efea;border-radius:8px;margin:20px 0}.result-card.fraud{background:#fff9f8;border-color:#f2e5e1}.result-card.harassment{background:#fffdf8;border-color:#f1eadc}.result-card .result-title{display:flex;justify-content:space-between;align-items:center}.result-card p{font-size:12px;line-height:1.8;color:#81919a;margin:13px 0 0}.evidence{border-left:3px solid #d9b2a8;padding:9px 14px;margin:12px 0;background:#fffdfc;color:#a9786f;font-size:12px;line-height:1.7}.evidence small{display:block;color:#a39f9e;font-size:10px;margin-top:7px}.detail-columns{display:grid;grid-template-columns:1.35fr 1fr;gap:23px}.transcript{max-height:350px;overflow:auto;padding:16px;background:#fafcfc;border:1px solid var(--line);border-radius:7px;margin-top:12px;white-space:pre-wrap;font-size:12px;line-height:2.2;color:#6a808b}.detail-title{font-size:12px;color:#546d76;margin:18px 0 10px}audio{width:100%;height:36px;margin-top:12px}.review-form{margin-top:12px}.review-form select,.review-form textarea{width:100%;margin-bottom:10px}.detail-stage{display:flex;gap:6px;flex-wrap:wrap;margin-top:15px}.detail-stage span{padding:7px 10px;background:#f1f5f4;color:#83a098;font-size:10px;border-radius:5px}.detail-stage span.done{background:#e4f3ec;color:#4e9a7c}.auth-page{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr}.auth-hero{background:#112b32;display:flex;flex-direction:column;justify-content:center;padding:70px 11%;position:relative;overflow:hidden;color:white}.auth-hero .brand{position:absolute;top:45px;left:9%;margin:0}.hero-caption{font-size:11px;letter-spacing:4px;color:#73b8a9;margin-bottom:21px}.auth-hero h1{font-size:43px;line-height:1.55;font-weight:500;letter-spacing:2px}.auth-hero p{font-size:13px;line-height:2.1;color:#91b0b6;max-width:350px;margin-top:25px}.sound-art{height:130px;display:flex;align-items:center;gap:9px;margin:34px 0}.sound-art i{width:5px;background:linear-gradient(#53b59d,#297567);border-radius:8px;opacity:.65}.hero-bottom{font-size:10px;color:#6b929b;position:absolute;bottom:35px;letter-spacing:1px}.auth-form-side{display:flex;align-items:center;justify-content:center;padding:40px}.auth-card{width:375px}.auth-card h2{font-size:25px;margin-bottom:10px}.auth-card>p{color:#92a0a8;line-height:1.9;font-size:12px;margin-bottom:25px}.auth-card .btn{width:100%;margin-top:8px;padding:12px}.auth-card .field{margin-bottom:16px}.auth-card input{padding:12px}.auth-card .divider{text-align:center;position:relative;margin:23px 0 15px;color:#acb5ba;font-size:10px}.auth-card .divider:before,.auth-card .divider:after{content:"";position:absolute;width:40%;height:1px;background:var(--line);top:50%}.auth-card .divider:before{left:0}.auth-card .divider:after{right:0}.auth-note{font-size:10px!important;text-align:center;margin-top:14px!important}.error-message{font-size:12px;color:#cc7267;line-height:1.8;padding:10px 0}.inline-error{padding:30px;background:#fff7f4;border:1px solid #f3dfd6;color:#ad7867;border-radius:8px;line-height:1.8}.inline-error button{margin-top:12px}#toast{position:fixed;bottom:27px;left:50%;transform:translateX(-50%) translateY(20px);padding:13px 22px;border-radius:8px;background:#203b40;color:#fff;font-size:12px;box-shadow:0 6px 30px #183d392a;z-index:150;opacity:0;pointer-events:none;transition:.2s;max-width:90vw;text-align:center;line-height:1.6}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.mobile-menu{display:none}.help-list{font-size:12px;color:#788c95;line-height:2}.help-list li{margin-bottom:12px}.provider-note{font-size:11px;line-height:1.9;color:#95a2a8;margin-top:20px}.busy{pointer-events:none;opacity:.55}.clean-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.clean-columns h3{margin-bottom:12px}.clean-keywords{max-height:250px;overflow:auto}.settings-stack{display:grid;gap:20px}.audit-row{display:flex;justify-content:space-between;gap:16px;padding:13px 23px;border-bottom:1px solid var(--line);font-size:11px;color:#7d9099}.audit-row time{font-size:10px;color:#a0acb2}.config-card select,.config-card input{width:100%}.source-details strong.small{font-size:12px}.auth-tabs{display:flex;gap:8px;margin-bottom:22px}.auth-tabs button{flex:1;border:1px solid var(--line);background:white;padding:9px;border-radius:5px;color:#8a9ba3;font-size:12px}.auth-tabs button.active{color:var(--teal);background:#eaf6f0;border-color:#cfe6dd}
@media(min-width:1550px){.content{padding-top:37px}.metric{padding:24px}.chart-wrap{height:220px}.donut-area{padding-top:48px;padding-bottom:48px}.donut{width:168px;height:168px}.donut-hole{width:133px;height:133px}}
@media(max-width:1200px){.sidebar{width:204px}.main{margin-left:204px}.content{padding:25px}.topbar{padding:0 25px}.metric{padding:16px}.cards{gap:12px}.row-charts{grid-template-columns:1.5fr 1fr}.donut-area{flex-direction:column;gap:17px;padding:20px}.donut{width:120px;height:120px}.donut-hole{width:92px;height:92px}.distribution{flex-direction:row;gap:16px}.distribution .item{grid-template-columns:6px auto;gap:5px}.distribution .item b{grid-column:2}.distribution .item small{display:none}.flow{gap:10px;padding:20px}.flow-step{gap:8px}.flow-step .step-count{font-size:17px}.flow-step small{font-size:9px}.step-icon{width:30px;height:30px}.config-grid{grid-template-columns:1fr}.auth-hero{padding:60px 9%}.auth-hero h1{font-size:35px}.risk-quote{max-width:140px}}
@media(max-width:900px){.sidebar{width:184px;padding-inline:12px}.main{margin-left:184px}.nav button.active:before{left:-12px}.brand{padding-inline:7px}.brand-name{font-size:20px}.brand-sub{font-size:9px}.content{padding:22px 20px}.topbar{padding:0 20px}.top-right .date-label{display:none}.cards{grid-template-columns:repeat(2,1fr)}.row-charts{grid-template-columns:1fr}.donut-area{flex-direction:row;padding:25px}.distribution{flex-direction:column;gap:14px}.distribution .item{grid-template-columns:6px 1fr auto}.distribution .item b{grid-column:auto}.flow{flex-wrap:wrap}.flow-step{min-width:130px}.flow-arrow{display:none}.rule-columns{grid-template-columns:1fr}.source-details{grid-template-columns:1fr 1fr}.auth-hero{padding:55px 9%}.auth-hero h1{font-size:28px}.auth-form-side{padding:30px}.sound-art{gap:6px}.detail-columns{grid-template-columns:1fr}.clean-columns{grid-template-columns:1fr}.heading-actions{flex-wrap:wrap;justify-content:flex-end}.heading h1{font-size:22px}.heading{align-items:flex-start}}
@media(max-width:640px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:226px}.sidebar.open{transform:translateX(0);box-shadow:15px 0 50px #0b253730}.main{margin-left:0}.mobile-menu{display:inline-flex}.topbar{height:60px;padding:0 16px}.content{padding:23px 15px}.top-right{gap:8px}.top-right>.icon-btn{display:none}.environment{font-size:9px}.breadcrumb{gap:8px}.heading{display:block;margin-bottom:20px}.heading-actions{justify-content:flex-start;margin-top:15px}.cards{gap:10px}.metric{padding:15px 13px}.metric-top{font-size:10px}.metric-value{font-size:28px}.metric-icon{width:27px;height:27px}.metric-foot{font-size:9px}.metric-foot strong{font-size:10px}.metric-value small{font-size:9px}.metric-foot{flex-wrap:wrap}.panel-head{padding:18px 17px 0}.legend{gap:8px;font-size:9px}.chart-wrap{margin-right:17px;margin-left:17px;height:155px}.chart-labels{margin-right:17px;margin-left:45px;font-size:8px}.flow{flex-direction:column;align-items:stretch}.flow-step{padding:3px 0}.flow-head{padding-inline:17px}.flow-head small{max-width:135px;font-size:9px;text-align:right}.table-head{padding:18px 17px}.table-head small{display:none}th,td{padding-inline:17px}.footer{gap:15px;font-size:8px}.toolbar{gap:8px}.toolbar select{flex:1;max-width:100%}.search-field{max-width:none;min-width:100%}.rule-summary{gap:9px}.summary-box{display:block;padding:14px}.summary-box strong{display:block;margin-top:9px;font-size:21px}.summary-box span{font-size:9px}.config-card,.source-card{padding:18px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.source-top{align-items:flex-start;flex-wrap:wrap}.source-actions{flex-wrap:wrap}.source-details{gap:15px}.modal-backdrop{padding:12px}.modal{max-height:94vh}.modal-header{padding:18px}.modal-body{padding:18px}.detail-meta{grid-template-columns:1fr 1fr}.modal-header h2{font-size:14px}.auth-page{grid-template-columns:1fr}.auth-hero{display:none}.auth-form-side{padding:35px 25px}.auth-card{width:100%;max-width:375px}.notice{font-size:10px}.rule-card{padding-inline:17px}.tabs{gap:21px}.tabs button{font-size:11px}.chart-labels span:nth-child(even){visibility:hidden}.donut-area{gap:30px}.audit-row{flex-direction:column;gap:5px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Keep account controls accessible on short and narrow screens. */
.sidebar{overflow-y:auto}.sidebar>.brand,.sidebar>.workspace,.sidebar>.nav,.sidebar>.sidebar-bottom{flex-shrink:0}.sidebar-bottom{padding-top:24px}.tenant-logout{flex-shrink:0;white-space:nowrap}
@media(max-width:480px){.top-right:has(.tenant-logout) .environment{display:none}}

.prompt-excerpt{white-space:pre-wrap;max-height:160px;overflow:auto;font-size:13px;line-height:1.8}.keyword-conditions{padding:12px;background:#f4f8f8;border-radius:8px;font-size:12px;line-height:1.7;margin-top:10px}.field input[type=checkbox]{width:auto;min-height:0;margin-right:6px}.run-history{padding:12px 0;border-bottom:1px solid #e4eded}

/* Versioned tenant inspection and source settings. */
#inspection-form .panel,.inspection-history { padding:24px; margin-top:20px; }
#inspection-form h3,.inspection-history h3 { font-size:18px; font-weight:650; margin:20px 0 14px; }
#inspection-form h3:first-child { margin-top:0; }
#inspection-form h4,.inspection-history h4 { font-size:15px; font-weight:600; margin:16px 0 12px; }
#inspection-form .field { margin-bottom:16px; }
#inspection-form .field label { display:block; font-size:13px; line-height:1.7; }
#inspection-form .field input,#inspection-form .field textarea,#inspection-form .field select { display:block; width:100%; margin-top:6px; }
#inspection-form .rule-card { padding:20px; border:1px solid #dbe4ea; border-radius:10px; margin-bottom:14px; background:#f8fafb; }
#inspection-form p,.inspection-history p { color:#637788; line-height:1.8; margin:12px 0; }
#inspection-form [data-inspection-add] { margin-bottom:20px; }
#inspection-form input[type=checkbox] { width:auto; margin-right:8px; }
#inspection-message { display:block; color:#b42318; margin-top:12px; }
.inspection-history details { border-top:1px solid #e6edf1; padding:14px 0; }
.inspection-history summary { cursor:pointer; color:#245e68; }
#inspection-form [hidden] { display:none !important; }
.calls-table .call-fixed{width:180px;min-width:180px;max-width:180px;white-space:nowrap;box-sizing:border-box}
.calls-table .call-id{font-family:ui-monospace,Consolas,monospace;font-size:13px}
#call-search{flex-wrap:wrap;align-items:center}
#call-search label{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px;white-space:nowrap}
tfoot td{padding:18px 22px;border-top:1px solid #e3e9e7;background:#f5faf8}

.billing-head{display:flex;align-items:center;justify-content:flex-start;gap:22px;flex-wrap:wrap}
.billing-head h2{white-space:nowrap;flex-shrink:0}
.billing-date-filter{display:flex;align-items:center;gap:10px;font-size:12px;flex-wrap:wrap}
.billing-date-filter input{width:145px;min-width:0}
.billing-date-filter input,.billing-date-filter .btn{height:36px;min-height:36px}
.billing-time-note{margin-left:auto;font-size:11px;color:var(--muted)}
.billing-versions{width:100%;margin-top:18px}
.billing-versions summary{padding:20px 22px;cursor:pointer;font-size:15px;font-weight:600;list-style:none;display:flex;align-items:center;gap:10px}
.billing-versions summary::-webkit-details-marker{display:none}
.billing-versions summary::after{content:'▸';font-size:13px;color:var(--muted)}
.billing-versions[open] summary::after{transform:rotate(90deg)}
.billing-versions p{margin:0;padding:0 22px 18px;font-size:12px;line-height:1.8}
#call-search input,#call-search select,#call-search .btn,#call-search .search-field{height:38px;min-height:38px}
#call-search .search-field{display:flex;align-items:center}
@media(max-width:640px){.billing-head{gap:14px}.billing-time-note{margin-left:0}.billing-date-filter{gap:8px}.billing-date-filter input{width:125px}.billing-versions summary{padding:18px 17px}.billing-versions p{padding-inline:17px}#call-search label{white-space:normal}}
#call-search .call-time-range{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--muted)}
#call-search .call-time-range>span{white-space:nowrap}
#call-search .call-time-range input{flex:0 0 auto;width:184px;max-width:100%}
