@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap";:root{font-family:Inter,Noto Sans SC,system-ui,sans-serif;color:#172033;background:#f4f6f8;font-synthesis:none;letter-spacing:0;--border:#e3e7ed;--muted:#6b7280;--primary:#0f766e;--primary-dark:#0b5e58;--nav:#111827;--danger:#c2413b;--warning:#b45309;--success:#168061}*{box-sizing:border-box}html,body,#app{min-height:100%;margin:0}body{min-width:320px}button,input,select{font:inherit;letter-spacing:0}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{text-decoration:none;color:inherit}h1,h2,h3,p{margin:0}input,select{width:100%;height:40px;border:1px solid #d8dde5;border-radius:5px;background:#fff;color:#172033;padding:0 11px;outline:none}input:focus,select:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e1a}label{display:grid;gap:7px;font-size:13px;font-weight:600;color:#374151}label small{font-size:12px;font-weight:400;color:var(--muted)}.shell{display:grid;grid-template-columns:236px minmax(0,1fr);min-height:100vh}.shell.collapsed{grid-template-columns:68px minmax(0,1fr)}.sidebar{position:sticky;top:0;z-index:30;height:100vh;background:var(--nav);color:#9da7b6;display:flex;flex-direction:column;transition:width .2s}.brand{height:64px;display:flex;align-items:center;padding:0 16px;border-bottom:1px solid rgba(255,255,255,.08);gap:11px}.brand-mark{width:34px;height:34px;display:grid;place-items:center;border-radius:6px;background:#0f766e;color:#fff;flex:none}.brand-mark.large{width:44px;height:44px}.brand-copy,.login-brand>div:last-child{display:grid;gap:2px;white-space:nowrap}.brand-copy strong{color:#f8fafc;font-size:14px}.brand-copy span,.login-brand span{font-size:9px;letter-spacing:1.4px;color:#718096}.sidebar nav{padding:13px 9px;display:grid;gap:3px;flex:1;overflow-y:auto}.sidebar nav a{position:relative;display:flex;height:42px;align-items:center;gap:11px;padding:0 12px;border-radius:5px;font-size:13px;font-weight:500}.sidebar nav a:hover{background:#ffffff0e;color:#e5e7eb}.sidebar nav a.router-link-active{background:#0f766e;color:#fff}.nav-count{margin-left:auto;min-width:20px;height:20px;border-radius:10px;display:grid;place-items:center;background:#b73e38;color:#fff;font-size:11px}.sidebar-footer{padding:10px;border-top:1px solid rgba(255,255,255,.08)}.security-note{height:36px;display:flex;align-items:center;gap:8px;padding:0 8px;font-size:11px;color:#7e8a99}.collapse-btn{border:0;background:transparent;color:#9da7b6;height:36px;width:100%;display:flex;align-items:center;gap:10px;padding:0 9px;border-radius:5px}.collapse-btn:hover{background:#ffffff0d}.main-area{min-width:0}.topbar{position:sticky;top:0;z-index:20;height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;background:#fffffff5;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.topbar h1{font-size:16px}.topbar-title,.topbar-actions,.heading-actions{display:flex;align-items:center;gap:10px}.topbar-actions{gap:7px}.icon-btn{position:relative;width:36px;height:36px;border:0;background:transparent;color:#596273;border-radius:5px;display:inline-grid;place-items:center}.icon-btn:hover{background:#eef1f4;color:#172033}.notification-dot{position:absolute;right:7px;top:7px;width:6px;height:6px;background:#d94c45;border:1px solid white;border-radius:50%}.user-block{display:flex;align-items:center;gap:8px;padding:0 8px;font-size:13px}.avatar{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#e0f2f1;color:#0f766e;font-weight:700}.demo-badge{font-size:11px;color:#9a6700;background:#fff3cd;border:1px solid #f6df9c;border-radius:4px;padding:4px 7px}.menu-btn,.mobile-close{display:none}.page-content{padding:24px;max-width:1680px;margin:0 auto}.page-stack{display:grid;gap:18px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.page-heading h2{font-size:23px;line-height:1.3;margin:2px 0 5px}.page-heading p:not(.eyebrow){font-size:13px;color:var(--muted)}.eyebrow{font-size:10px!important;letter-spacing:1.3px;color:#0f766e!important;font-weight:700}.btn{height:38px;border-radius:5px;border:1px solid transparent;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:13px;font-weight:600;white-space:nowrap}.btn.primary{background:var(--primary);color:#fff}.btn.primary:hover{background:var(--primary-dark)}.btn.secondary{background:#fff;color:#374151;border-color:#d8dde5}.btn.secondary:hover,.btn.ghost:hover{background:#f5f7f9}.btn.ghost{background:transparent;color:#495466;border-color:transparent}.btn.compact{height:32px;padding:0 9px;font-size:12px}.btn.wide{width:100%}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-tile{position:relative;background:#fff;border:1px solid var(--border);border-radius:6px;padding:17px 18px;display:grid;gap:5px;min-width:0}.metric-tile>span{font-size:12px;color:var(--muted)}.metric-tile>strong{font-size:22px;line-height:1.25;overflow-wrap:anywhere}.metric-tile>small{font-size:11px;color:#8a93a1}.metric-icon{position:absolute;right:15px;top:15px;width:34px;height:34px;display:grid;place-items:center;border-radius:6px}.metric-icon.teal{background:#e5f4f2;color:#0f766e}.metric-icon.green{background:#e7f4ed;color:#168061}.metric-icon.amber{background:#fff2dc;color:#b45309}.metric-icon.blue{background:#e9f0ff;color:#2563eb}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.8fr);gap:14px}.dashboard-grid.lower{grid-template-columns:repeat(2,minmax(0,1fr))}.panel,.table-panel{background:#fff;border:1px solid var(--border);border-radius:6px;min-width:0}.panel{padding:17px}.panel-header{display:flex;justify-content:space-between;align-items:flex-start;color:#687386}.panel-header h3,.section-title h3,.settings-header h3{font-size:14px;color:#172033}.panel-header p,.section-title p,.settings-header p{font-size:11px;color:var(--muted);margin-top:3px}.chart{height:250px;margin-top:7px}.chart.tall{height:310px}.text-link{display:inline-flex;align-items:center;gap:4px;color:#0f766e;font-size:12px;font-weight:600}.status-list{display:grid;margin-top:9px}.status-row{display:flex;align-items:center;gap:10px;padding:10px 1px;border-top:1px solid #edf0f3}.status-row>div{display:grid;gap:2px;min-width:0;flex:1}.status-row strong,.event-list strong{font-size:12px}.status-row small,.event-list small{font-size:10px;color:var(--muted)}.status-dot{width:8px;height:8px;border-radius:50%;background:#9ca3af;flex:none}.status-dot.online{background:#1a936f}.status-dot.degraded{background:#d48a12}.status-dot.offline{background:#d04d46}.status-dot.unknown{background:#9ca3af}.status-pill,.severity-pill,.mode-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:4px;font-size:10px;font-weight:700;padding:4px 7px;white-space:nowrap}.status-pill.online{background:#e8f6f0;color:#147459}.performance-grid{display:grid;grid-template-columns:repeat(3,1fr);margin-top:17px;border:1px solid #edf0f3;border-radius:5px}.performance-grid>div{padding:17px;display:grid;gap:7px;border-left:1px solid #edf0f3}.performance-grid>div:first-child{border-left:0}.performance-grid span{font-size:11px;color:var(--muted)}.performance-grid strong{font-size:16px}.event-list{display:grid;margin-top:9px}.event-list>div{display:flex;gap:9px;align-items:center;padding:10px 0;border-top:1px solid #edf0f3}.event-list>div>div{display:grid;gap:2px;flex:1}.event-list time{font-size:10px;color:var(--muted)}.severity-mark{width:3px;height:28px;border-radius:2px}.severity-mark.critical{background:#d04d46}.severity-mark.warning{background:#d48a12}.toolbar,.collection-banner,.formula-strip{display:flex;align-items:center;justify-content:space-between;gap:12px}.search{width:min(400px,100%);height:38px;border:1px solid #d8dde5;border-radius:5px;background:#fff;display:flex;align-items:center;padding:0 10px;color:#7b8492}.search input{border:0;height:36px;box-shadow:none}.upstream-list{display:grid;gap:9px}.upstream-row{display:grid;grid-template-columns:minmax(280px,1.5fr) 100px repeat(3,80px) 70px 36px;align-items:center;gap:12px;background:#fff;border:1px solid var(--border);border-radius:6px;padding:13px 14px;cursor:pointer}.upstream-row:hover{border-color:#b5c7c5;box-shadow:0 3px 12px #1924340d}.site-ident{display:flex;align-items:center;gap:11px;min-width:0}.site-ident>div:last-child{display:grid;gap:3px;min-width:0}.site-ident strong{font-size:13px}.site-ident small{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis}.type-logo{width:36px;height:36px;display:grid;place-items:center;border-radius:5px;background:#e5f4f2;color:#0f766e;font-weight:800}.type-tag{font-size:10px;color:#536071;background:#eef1f4;padding:5px 7px;border-radius:4px;width:max-content}.row-stat{display:grid;gap:3px}.row-stat span{font-size:10px;color:var(--muted)}.row-stat strong{font-size:13px}.drawer-backdrop,.modal-backdrop{position:fixed;inset:0;z-index:50;background:#11182761;display:flex;justify-content:flex-end}.drawer{height:100%;width:min(620px,100%);background:#f7f8fa;box-shadow:-16px 0 40px #0000001f;overflow-y:auto;padding:22px}.drawer-header,.modal-header,.section-title,.settings-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.drawer-header h2{font-size:20px;margin:3px 0}.drawer-header>div>p:last-child{font-size:12px;color:var(--muted)}.detail-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#e1e5ea;border:1px solid #e1e5ea;border-radius:6px;overflow:hidden;margin:20px 0}.detail-summary>div{background:#fff;padding:14px;display:grid;gap:4px}.detail-summary span,.key-stats span{font-size:10px;color:var(--muted)}.detail-summary strong,.key-stats strong{font-size:12px}.section-title{margin:22px 0 11px}.key-list{display:grid;gap:10px}.key-item{background:#fff;border:1px solid var(--border);border-radius:6px;padding:14px}.key-item-head,.key-actions{display:flex;justify-content:space-between;align-items:center;gap:10px}.key-item-head>div{display:grid;gap:3px}.key-item-head strong{font-size:13px}.key-item-head small{font-size:10px;color:var(--muted)}.key-stats{display:grid;grid-template-columns:repeat(2,1fr);padding:12px 0;margin:12px 0;border-top:1px solid #edf0f3;border-bottom:1px solid #edf0f3}.key-stats>div{display:grid;gap:4px}.key-actions{justify-content:flex-end}.modal-backdrop{justify-content:center;align-items:center;padding:16px}.modal{width:min(460px,100%);max-height:calc(100vh - 32px);overflow-y:auto;background:#fff;border-radius:7px;box-shadow:0 18px 50px #0003;padding:20px;display:grid;gap:15px}.modal-header h3{font-size:17px}.modal-header p{font-size:11px;color:var(--muted);margin-top:4px}.modal-actions,.form-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #edf0f3;padding-top:15px}.secret-hint,.precision-note,.retention-note{display:flex;align-items:center;gap:7px;font-size:11px;color:#526071;background:#f3f6f8;border-radius:5px;padding:9px 10px}.empty-state{min-height:260px;border:1px dashed #ccd2da;border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#7b8492;gap:7px}.empty-state h3{font-size:14px;color:#374151}.empty-state p{font-size:12px}.empty-state.small{min-height:150px}.formula-strip{background:#fff;border:1px solid var(--border);border-radius:6px;padding:13px 15px;justify-content:flex-start}.formula-strip>div{display:flex;align-items:flex-end;gap:7px}.formula-strip label{width:180px}.formula-strip>div>span{font-size:11px;color:var(--muted);height:40px;display:flex;align-items:center}.formula-strip .precision-note{margin-left:auto;align-self:center}.table-scroll{overflow:auto}.table-panel table{width:100%;border-collapse:collapse;min-width:760px}.table-panel th{text-align:left;background:#f7f8fa;color:#657081;font-size:10px;text-transform:uppercase;font-weight:700;padding:11px 13px;border-bottom:1px solid var(--border);white-space:nowrap}.table-panel td{font-size:12px;padding:12px 13px;border-bottom:1px solid #edf0f3;vertical-align:middle}.table-panel tr:last-child td{border-bottom:0}.table-panel td>small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.number-cell{font-variant-numeric:tabular-nums;font-family:SFMono-Regular,Consolas,monospace;white-space:nowrap}.number-cell.accent{color:#0f766e;font-weight:700}.number-cell.price{color:#9a5a05;font-weight:700}.inline-number{width:126px;height:34px;font-family:SFMono-Regular,Consolas,monospace}.table-footer{min-height:52px;border-top:1px solid var(--border);padding:9px 13px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted)}.table-footer>span{display:flex;align-items:center;gap:7px}.segmented,.tabs{display:flex;align-items:center;background:#e8ebef;padding:3px;border-radius:5px;gap:2px}.segmented button,.tabs button{height:32px;border:0;background:transparent;border-radius:4px;padding:0 11px;display:flex;align-items:center;gap:6px;color:#667182;font-size:12px}.segmented button.active,.tabs button.active{background:#fff;color:#172033;box-shadow:0 1px 3px #00000014}.tabs{width:max-content}.severity-pill.critical{background:#fcebea;color:#ba3d37}.severity-pill.warning{background:#fff3dc;color:#a35f00}.condition{display:flex;gap:5px}.condition select{width:60px}.condition input{width:130px}.input-suffix{position:relative}.input-suffix input{padding-right:54px}.input-suffix span{position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:11px;color:var(--muted);font-weight:400}.switch input{display:none}.switch span{display:block;width:34px;height:19px;border-radius:10px;background:#c7cdd5;position:relative;transition:.2s}.switch span:after{content:"";position:absolute;width:15px;height:15px;border-radius:50%;background:#fff;left:2px;top:2px;transition:.2s}.switch input:checked+span{background:#0f766e}.switch input:checked+span:after{left:17px}.muted{color:var(--muted);font-size:11px}.collection-banner{background:#eaf5f3;border:1px solid #c7e4df;border-radius:6px;padding:13px 15px}.collection-banner>div{display:flex;align-items:center;gap:10px}.collection-banner strong{font-size:12px}.collection-banner p{font-size:10px;color:#5d726f;margin-top:2px}.pulse-dot{width:9px;height:9px;border-radius:50%;background:#168061;box-shadow:0 0 0 4px #16806121}.mode-pill.light{background:#e9f0ff;color:#285fb7}.mode-pill.heavy{background:#f2eafa;color:#7650a5}.metric-tile.large{min-height:160px;align-content:center}.settings-copy{margin-top:18px;font-size:12px;color:var(--muted);line-height:1.7}.formula-code{margin-top:12px;padding:12px;background:#f4f6f8;border-radius:5px;font-family:Consolas,monospace;color:#0f766e}.settings-layout{display:grid;grid-template-columns:210px minmax(0,760px);gap:16px}.settings-nav{display:grid;align-content:start;gap:3px}.settings-nav button{height:42px;border:0;background:transparent;border-radius:5px;display:flex;align-items:center;gap:9px;padding:0 12px;color:#596475;font-size:12px}.settings-nav button.active{background:#fff;color:#0f766e;box-shadow:0 1px 4px #19243414}.settings-panel{background:#fff;border:1px solid var(--border);border-radius:6px;padding:20px}.settings-panel form{display:grid;gap:18px}.settings-header{padding-bottom:15px;border-bottom:1px solid #edf0f3}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.form-grid .full{grid-column:1/-1}.configured-state{display:flex;align-items:center;gap:10px;background:#f6f8fa;padding:12px;border-radius:5px}.configured-state>div{display:grid;gap:2px}.configured-state strong{font-size:12px}.configured-state small{font-size:10px;color:var(--muted)}.form-error{font-size:12px;color:#b42318;background:#fff0ef;padding:9px;border-radius:4px}.actor{font-family:Consolas,monospace;font-size:11px;background:#eef1f4;padding:4px 6px;border-radius:4px}.toast{position:fixed;z-index:100;right:22px;bottom:22px;background:#172033;color:#fff;border-radius:5px;padding:11px 15px;font-size:12px;box-shadow:0 8px 24px #0003}.toast-enter-active,.toast-leave-active{transition:.2s}.toast-enter-from,.toast-leave-to{opacity:0;transform:translateY(8px)}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(400px,45%) minmax(0,1fr);background:#fff}.login-panel{padding:42px clamp(32px,7vw,110px);display:flex;flex-direction:column}.login-brand{display:flex;align-items:center;gap:12px}.login-brand strong{font-size:16px}.login-panel form{margin:auto 0;width:min(380px,100%);display:grid;gap:17px}.login-heading{margin-bottom:7px}.login-heading h1{font-size:24px}.login-heading p{font-size:12px;color:var(--muted);margin-top:5px}.input-icon{position:relative}.input-icon svg{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:#7a8493}.input-icon input{padding-left:37px}.login-footnote{font-size:10px;color:#8a93a1}.login-context{position:relative;background:#111827;color:#fff;padding:clamp(42px,8vw,120px);display:flex;flex-direction:column;justify-content:center;overflow:hidden}.login-context:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(15,118,110,.18),transparent 48%),repeating-linear-gradient(90deg,transparent 0,transparent 59px,rgba(255,255,255,.025) 60px),repeating-linear-gradient(0deg,transparent 0,transparent 59px,rgba(255,255,255,.025) 60px)}.login-context>div{position:relative;z-index:1}.login-context h2{font-size:clamp(28px,4vw,50px);max-width:700px;line-height:1.15;margin:12px 0 18px}.login-context p{color:#aeb8c6;max-width:560px;line-height:1.7}.context-stats{display:flex;gap:35px;margin-top:75px}.context-stats span{display:grid;gap:5px;font-size:11px;color:#8e99a9}.context-stats strong{font-size:18px;color:#fff}@media(max-width:1050px){.metric-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.upstream-row{grid-template-columns:minmax(220px,1fr) 90px 70px 70px}.upstream-row .row-stat:nth-of-type(n+3){display:none}.login-page{grid-template-columns:1fr}.login-context{display:none}.login-panel{min-height:100vh}.settings-layout{grid-template-columns:180px minmax(0,1fr)}}@media(max-width:760px){.shell,.shell.collapsed{display:block}.sidebar{position:fixed;left:0;transform:translate(-100%);width:236px!important;transition:transform .2s;visibility:hidden;pointer-events:none;overflow:hidden}.sidebar.mobileOpen{transform:translate(0);visibility:visible;pointer-events:auto}.sidebar .brand-copy,.sidebar nav a span:not(.nav-count),.sidebar .security-note,.sidebar .collapse-btn span{display:initial!important}.sidebar .collapse-btn{display:none}.mobile-close{display:grid;margin-left:auto;color:#9da7b6}.backdrop{position:fixed;inset:0;background:#00000061;z-index:25}.menu-btn{display:grid}.topbar{padding:0 12px}.topbar h1{font-size:14px}.user-block span:last-child{display:none}.page-content{padding:15px}.page-heading{align-items:flex-start;flex-direction:column}.page-heading>.btn,.page-heading>.heading-actions{width:100%}.heading-actions{flex-wrap:wrap}.heading-actions>*{flex:1}.metric-grid,.metric-grid.three,.dashboard-grid.lower{grid-template-columns:1fr}.toolbar{align-items:stretch;flex-direction:column}.toolbar .search{width:100%}.upstream-row{grid-template-columns:minmax(0,1fr) auto 36px}.upstream-row .type-tag,.upstream-row .row-stat{display:none}.formula-strip{align-items:stretch;flex-direction:column}.formula-strip>div,.formula-strip label{width:100%}.formula-strip .precision-note{margin-left:0}.performance-grid{grid-template-columns:1fr}.performance-grid>div{border-left:0;border-top:1px solid #edf0f3}.performance-grid>div:first-child{border-top:0}.settings-layout{grid-template-columns:1fr}.settings-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.settings-nav button{min-width:0;white-space:nowrap}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.settings-panel{padding:15px}.detail-summary{grid-template-columns:1fr}.key-stats{grid-template-columns:1fr;gap:10px}.table-footer{align-items:flex-start;flex-direction:column}.segmented{width:100%}.segmented button{flex:1;justify-content:center}.tabs{max-width:100%;overflow-x:auto}.context-stats{flex-direction:column}.login-panel{padding:28px 22px}.chart{height:220px}.toast{left:15px;right:15px;bottom:15px;text-align:center}}.checkbox-row{display:flex;align-items:center;gap:9px;min-height:40px;font-weight:500}.checkbox-row input[type=checkbox]{width:16px;height:16px;flex:none;accent-color:var(--primary)}.checkbox-row>span{display:grid;gap:2px}.checkbox-row>span strong{font-size:12px}.checkbox-row>span small{font-size:10px}select[multiple]{height:auto;min-height:96px;padding:7px 10px}.btn.ghost.force-delete{color:var(--danger)}.formula-strip>.precision-note{align-items:center}.key-actions{flex-wrap:wrap}.site-collection-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:-8px}.spin{animation:spin .8s linear infinite}.browser-login-status{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px;border:1px solid #d7dce3;border-radius:5px;background:#f6f8fa;color:#526071}.browser-login-status>div{display:grid;gap:3px}.browser-login-status strong{font-size:12px;color:#172033}.browser-login-status p{font-size:11px;line-height:1.45}.browser-login-status.needs_verification,.browser-login-status.opening,.browser-login-status.waiting{border-color:#ead39e;background:#fff8e8;color:#8a5b00}.browser-login-status.completed{border-color:#b9ddcf;background:#edf8f3;color:#147459}.browser-login-status.failed{border-color:#efc1be;background:#fff1f0;color:#a9342f}.row-stat strong.balance-change-red{color:var(--danger)}.row-stat strong.balance-change-orange{color:var(--warning)}.row-stat strong.balance-change-yellow{color:#9a6700}.row-stat strong.balance-change-green{color:var(--success)}.row-stat strong.balance-change-cyan{color:#0e7490}.row-stat strong.balance-change-blue{color:#245ba7}.row-stat strong.balance-change-purple{color:#7650a5}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.daily-usage-records{display:grid;gap:16px}.daily-usage-records .page-heading{align-items:center}.daily-record-notice{display:flex;align-items:flex-start;gap:9px;padding:11px 13px;border:1px solid #ead7a8;border-radius:6px;background:#fff9e9;color:#795b18;font-size:12px;line-height:1.55}.daily-record-notice svg{flex:none;margin-top:1px}.daily-record-preset-row{align-self:end;min-width:0}.daily-record-presets{width:max-content;max-width:100%;gap:5px;overflow-x:auto}.daily-record-presets button{flex:none;min-width:58px;border:1px solid #d8dde5;background:#fff;font-weight:600;white-space:nowrap}.daily-record-presets button:hover{border-color:#9ebfbb;color:var(--primary)}.daily-record-presets button.active{border-color:var(--primary);background:#e8f4f2;color:var(--primary);box-shadow:none}.daily-record-filters{display:grid;gap:10px;padding:12px 14px 14px;border-bottom:1px solid var(--border)}.daily-record-filter-main{display:grid;grid-template-columns:auto repeat(2,minmax(180px,1fr)) auto;gap:10px;align-items:end}.daily-record-filter-custom{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:10px;padding-top:10px;border-top:1px solid #edf0f3;align-items:end}.daily-record-filter-custom .keyword-field{grid-column:span 2}.daily-record-filter-actions{display:flex;gap:8px}.daily-record-filter-actions .btn{min-width:82px}.daily-record-table table{min-width:1420px}.daily-record-table td{max-width:230px}.daily-record-table .record-name{display:grid;gap:3px}.daily-record-table .record-name small{color:var(--muted);overflow-wrap:anywhere}.daily-record-table .record-actions{display:flex;gap:3px}.daily-record-table .record-actions .icon-btn{width:31px;height:31px}.daily-record-pagination>div{display:flex;align-items:center;gap:6px}.daily-record-pagination .icon-btn{border:1px solid var(--border)}.daily-record-pagination select{width:82px;height:34px}.daily-record-modal-note{font-size:11px;line-height:1.55;color:#6f541a;background:#fff9e9;border:1px solid #ead7a8;border-radius:5px;padding:9px 10px}.daily-record-delete-copy{font-size:13px;line-height:1.65;color:#374151}.daily-record-delete-copy strong{color:var(--danger)}@media(max-width:1100px){.daily-record-filter-main{grid-template-columns:repeat(2,minmax(140px,1fr)) auto}.daily-record-preset-row{grid-column:1/-1}.daily-record-filter-custom{grid-template-columns:repeat(3,minmax(140px,1fr))}.daily-record-filter-custom .keyword-field{grid-column:span 2}}@media(max-width:760px){.daily-records-heading-actions,.daily-records-heading-actions .btn,.daily-record-presets{width:100%}.daily-record-filter-main,.daily-record-filter-custom{grid-template-columns:1fr}.daily-record-preset-row,.daily-record-filter-custom .keyword-field{grid-column:auto}.daily-record-filter-actions{width:100%}.daily-record-filter-actions .btn{flex:1}.daily-record-pagination{align-items:center;flex-direction:row}.daily-record-pagination>div:first-child{display:none}}.upstream-row{grid-template-columns:minmax(280px,1.5fr) 100px repeat(3,80px) 112px 36px}.detail-summary{grid-template-columns:repeat(3,1fr)}.status-stack{display:grid;justify-items:start;gap:4px}.status-stack.horizontal{display:flex;justify-content:flex-end;flex-wrap:wrap}.status-pill.enabled{background:#eaf2ff;color:#245ba7}.status-pill.configured{background:#edf1f7;color:#40536d}.status-pill.incomplete{background:#fff3dc;color:#a35f00}.status-pill.disabled{background:#edf0f3;color:#6b7280}.status-pill.stale{background:#fff3dc;color:#8a5200}.key-checks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-top:12px;border:1px solid #edf0f3;border-radius:5px;background:#edf0f3;overflow:hidden}.key-checks>div{display:grid;gap:4px;min-width:0;padding:10px;background:#f9fafb}.key-checks span,.key-checks small{font-size:10px;color:var(--muted)}.key-checks small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.check-status{font-size:11px}.check-status.online{color:#147459}.check-status.degraded,.check-status.incomplete,.check-status.stale{color:#a35f00}.check-status.offline{color:#ba3d37}.check-status.unknown,.check-status.disabled{color:#6b7280}@keyframes spin{to{transform:rotate(360deg)}}.mode-pill.rate{background:#fff3dc;color:#9a5a05}.mode-pill.balance{background:#e8f6f0;color:#147459}.mode-pill.recharge{background:#fff0e6;color:#a8551f}.rate-formula-strip{flex-wrap:wrap}.rate-formula{height:32px;padding:0 10px;border-right:1px solid var(--border);font-family:SFMono-Regular,Consolas,monospace;color:#374151;font-size:11px}.rate-formula:first-child{color:var(--primary)}.rate-table{min-width:1260px!important}.rate-table input[type=checkbox]{width:16px;height:16px;accent-color:var(--primary)}.price-detail-link{color:#9a5a05;font-weight:600;white-space:nowrap}.model-price-modal{width:min(1120px,100%);max-height:calc(100vh - 32px);overflow-x:hidden}.profit-editor{display:grid;gap:10px;padding-bottom:14px;border-bottom:1px solid var(--border)}.profit-editor>div:first-child,.preview-toolbar>div,.local-preview-heading>div{display:grid;gap:3px}.profit-editor strong,.preview-toolbar strong,.local-preview-heading strong{font-size:13px}.profit-editor small,.preview-toolbar small,.local-preview-heading small{font-size:10px;color:var(--muted)}.profit-presets{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.profit-presets button{height:34px;min-width:58px;border:1px solid #d8dde5;border-radius:4px;background:#fff;color:#495466;font-size:12px;font-weight:600}.profit-presets button:hover{border-color:#9ebfbb;color:var(--primary)}.profit-presets button.active{border-color:var(--primary);background:#e8f4f2;color:var(--primary)}.custom-profit{width:min(260px,100%)}.local-preview{display:grid;gap:9px;background:#f7f9fa;border:1px solid var(--border);border-radius:6px;padding:12px}.local-preview-heading,.preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.local-rate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--border);border:1px solid var(--border);border-radius:5px;overflow:hidden}.local-rate-grid>div{display:grid;grid-template-columns:minmax(150px,1fr) repeat(3,auto);align-items:center;gap:13px;padding:10px;background:#fff;font-family:SFMono-Regular,Consolas,monospace;font-size:10px}.local-rate-grid strong{font-family:Inter,Noto Sans SC,system-ui,sans-serif;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.local-rate-grid .accent{color:var(--primary);font-weight:700}.preview-loading,.empty-channel{padding:18px;border:1px dashed #ccd2da;border-radius:5px;text-align:center;color:var(--muted);font-size:11px}.batch-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border:1px solid var(--border);border-radius:5px;overflow:hidden}.batch-summary>div{display:grid;gap:4px;padding:10px 12px;border-left:1px solid var(--border)}.batch-summary>div:first-child{border-left:0}.batch-summary span{font-size:10px;color:var(--muted)}.batch-summary strong{font-size:16px}.batch-tree{display:grid;border:1px solid var(--border);border-radius:6px;overflow:hidden}.batch-key{background:#fff;border-bottom:1px solid var(--border);min-width:0}.batch-key:last-child{border-bottom:0}.batch-key>summary,.batch-channel>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none}.batch-key>summary::-webkit-details-marker,.batch-channel>summary::-webkit-details-marker{display:none}.batch-key>summary{padding:12px 13px;background:#f7f8fa}.batch-key>summary>div,.batch-channel>summary>div{display:grid;gap:3px;min-width:0}.batch-key>summary strong,.batch-channel>summary strong{font-size:12px}.batch-key>summary small,.batch-channel>summary small{font-size:10px;color:var(--muted);overflow-wrap:anywhere}.batch-channel{margin:0 13px;border-top:1px solid var(--border);min-width:0}.batch-channel>summary{padding:10px 0}.sync-message{margin:0 13px 8px;font-size:10px;color:#9a5a05}.model-price-table{width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;touch-action:pan-x;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;margin-bottom:11px;border:1px solid var(--border);border-radius:5px}.model-price-table:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.model-price-table table{width:100%;min-width:760px;border-collapse:collapse}.model-price-table th{padding:8px 9px;background:#fafbfc;color:#657081;font-size:9px;text-align:left;border-bottom:1px solid var(--border);white-space:nowrap}.model-price-table td{padding:9px;font-size:11px;border-bottom:1px solid #edf0f3}.model-price-table tr:last-child td{border-bottom:0}.model-price-table td>small{display:block;margin-top:3px;color:var(--muted);font-size:9px;max-width:360px;white-space:normal}.model-price-table .price-before{color:#526071;background:#fafbfc}.model-price-table .price-after{background:#fff8e8}.empty-channel{margin:10px 13px}.status-pill.degraded{background:#fff3dc;color:#a35f00}.status-pill.offline{background:#fcebea;color:#ba3d37}.status-pill.unknown{background:#edf0f3;color:#6b7280}@media(max-width:900px){.local-rate-grid{grid-template-columns:1fr}.batch-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.batch-summary>div:nth-child(4){border-left:0;border-top:1px solid var(--border)}.batch-summary>div:nth-child(5),.batch-summary>div:nth-child(6){border-top:1px solid var(--border)}}@media(max-width:760px){.rate-formula{border-right:0}.model-price-modal{padding:15px}.local-preview-heading,.preview-toolbar{align-items:flex-start;flex-direction:column}.preview-toolbar .btn{width:100%}.local-rate-grid>div{grid-template-columns:1fr 1fr}.local-rate-grid strong{grid-column:1/-1}.batch-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.batch-summary>div:nth-child(odd){border-left:0}.batch-summary>div:nth-child(n+3){border-top:1px solid var(--border)}.batch-summary>div:nth-child(4){border-left:1px solid var(--border)}.batch-key>summary,.batch-channel>summary{align-items:flex-start}.modal-actions{flex-wrap:wrap}.modal-actions .btn{width:100%}}.stale-banner{display:flex;align-items:center;gap:8px;min-height:38px;padding:8px 24px;background:#fff4dd;border-bottom:1px solid #f0d39a;color:#8a5200;font-size:12px}.stale-banner svg{flex:none}@media(max-width:760px){.stale-banner{padding:8px 15px}}.price-import-modal{width:min(920px,100%)}.price-import-filters{display:grid;grid-template-columns:220px minmax(0,1fr);gap:12px}.price-import-search{display:flex;gap:8px}.price-import-search input{min-width:0}.price-import-result{font-size:12px;color:#147459;background:#edf8f3;border:1px solid #b9ddcf;border-radius:5px;padding:9px 10px}.price-import-table{max-height:min(430px,50vh);overflow:auto;border:1px solid var(--border);border-radius:5px}.price-import-table table{width:100%;min-width:800px;border-collapse:collapse}.price-import-table th{text-align:left;background:#f7f8fa;color:#657081;font-size:10px;text-transform:uppercase;font-weight:700;padding:10px 11px;border-bottom:1px solid var(--border);white-space:nowrap}.price-import-table td{font-size:12px;padding:10px 11px;border-bottom:1px solid #edf0f3;vertical-align:middle}.price-import-table tr:last-child td{border-bottom:0}.price-import-table td>small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.price-import-table input[type=checkbox]{width:16px;height:16px;accent-color:var(--primary)}.price-import-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:11px}@media(max-width:760px){.price-import-filters{grid-template-columns:1fr}.price-import-search{align-items:stretch}.price-import-meta{align-items:flex-start;flex-direction:column}}.business-owner-select{display:flex;align-items:center;gap:7px;font-size:11px;white-space:nowrap}.business-owner-select>span{color:var(--muted)}.business-owner-select select{width:190px;height:34px;font-size:12px}.business-summary-row{cursor:pointer}.business-summary-row:hover{background:#f7faf9}.business-summary-actions{display:flex;justify-content:flex-end}@media(max-width:760px){.business-owner-select>span,.topbar-actions>.user-block{display:none}.business-owner-select select{width:min(38vw,150px)}.topbar-actions{gap:2px}}.daily-usage-filters{display:flex;align-items:end;gap:16px;padding:16px 13px;border-bottom:1px solid var(--border)}.daily-usage-filters label{width:182px}.daily-usage-filters .btn{flex:none;margin-bottom:0}@media(max-width:760px){.daily-usage-filters{align-items:stretch;flex-wrap:wrap}.daily-usage-filters label{width:100%;flex:1 1 160px}.daily-usage-filters .btn{width:100%}}@media(max-width:1050px){.upstream-row{grid-template-columns:minmax(0,1fr) auto 36px;grid-template-areas:"identity status action" "balance status action";row-gap:6px}.upstream-row .type-tag,.upstream-row .row-stat{display:none}.upstream-row>.site-ident{grid-area:identity}.upstream-row>.row-stat.balance-stat{display:grid;grid-area:balance;grid-template-columns:auto auto;justify-content:start;align-items:baseline;gap:6px}.upstream-row>.status-stack{grid-area:status}.upstream-row>.icon-btn{grid-area:action}}@media(max-width:760px){.upstream-row{grid-template-columns:minmax(0,1fr) auto 36px;grid-template-areas:"identity status action" "balance status action";row-gap:6px}.upstream-row>.site-ident{grid-area:identity}.upstream-row>.row-stat.balance-stat{display:grid;grid-area:balance;grid-template-columns:auto auto;justify-content:start;align-items:baseline;gap:6px}.upstream-row>.status-stack{grid-area:status}.upstream-row>.icon-btn{grid-area:action}.key-item-head{align-items:flex-start;flex-direction:column}.status-stack.horizontal{justify-content:flex-start}.key-checks{grid-template-columns:repeat(2,minmax(0,1fr))}}.distribution-detail-summary{grid-template-columns:repeat(4,1fr)}@media(max-width:1050px){.distribution-channel-row{grid-template-columns:minmax(0,1fr) auto 36px;grid-template-areas:"identity status action" "today status action" "month status action";row-gap:6px}.distribution-channel-row .row-stat{display:none}.distribution-channel-row .distribution-earned-stat{display:grid;grid-template-columns:auto auto;justify-content:start;align-items:baseline;gap:6px}.distribution-channel-row .today-earned-stat{grid-area:today}.distribution-channel-row .month-earned-stat{grid-area:month}.distribution-channel-row>.site-ident{grid-area:identity}.distribution-channel-row>.status-stack{grid-area:status}.distribution-channel-row>.icon-btn{grid-area:action}}@media(max-width:760px){.distribution-detail-summary{grid-template-columns:1fr}}.recharge-filter-panel{display:grid;gap:12px;padding:14px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.recharge-preset-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.recharge-preset-row>span{font-size:11px;color:var(--muted);white-space:nowrap}.recharge-presets{overflow-x:auto}.recharge-presets button{white-space:nowrap}.recharge-filters{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr)) minmax(220px,1.5fr);gap:10px;align-items:end}.recharge-filters label{min-width:0}.recharge-order-search span{display:flex;gap:7px}.recharge-order-search input{min-width:0}.recharge-custom-query{align-self:end}.recharge-report-error{display:flex;align-items:center;justify-content:space-between;gap:12px}.recharge-report-error .text-link{border:0;background:transparent;white-space:nowrap}.recharge-summary .metric-tile>strong{font-size:19px;padding-right:0}.recharge-charts{grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr)}.recharge-chart{height:280px}.recharge-ranking{display:grid;margin-top:10px}.recharge-ranking>div{display:grid;gap:7px;padding:11px 0;border-top:1px solid #edf0f3}.recharge-ranking>div>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.recharge-ranking strong{font-size:12px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recharge-ranking span{font-size:10px;color:var(--muted);white-space:nowrap}.recharge-ranking-track{display:block;height:5px;border-radius:3px;background:#edf0f3;overflow:hidden}.recharge-ranking-track i{display:block;height:100%;border-radius:3px;background:#0f766e}.recharge-table-heading{padding:14px 13px;border-bottom:1px solid var(--border)}.recharge-records table{min-width:1180px}.recharge-records td{max-width:220px}.recharge-records td:nth-child(8){white-space:normal;overflow-wrap:anywhere}.recharge-pagination>div{display:flex}.recharge-pagination .icon-btn{border:1px solid var(--border);margin-left:6px}textarea{width:100%;min-height:78px;resize:vertical;border:1px solid #d8dde5;border-radius:5px;background:#fff;color:#172033;padding:9px 11px;outline:none;font:inherit;letter-spacing:0}textarea:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e1a}.btn.primary.danger-action{background:var(--danger)}.btn.primary.danger-action:hover{background:#a93631}@media(max-width:1200px){.recharge-filters{grid-template-columns:repeat(3,minmax(140px,1fr))}.recharge-charts{grid-template-columns:1fr}}@media(max-width:760px){.recharge-preset-row{align-items:flex-start;flex-direction:column}.recharge-preset-row>span{white-space:normal}.recharge-presets{width:100%}.recharge-presets button{flex:none}.recharge-filters{grid-template-columns:1fr}.recharge-order-search span{align-items:stretch}.recharge-summary{grid-template-columns:1fr}.recharge-pagination{align-items:center;flex-direction:row}.recharge-charts .panel{padding:14px}}.dashboard-metric-grid .metric-tile{min-height:160px}.profit-report{display:grid;gap:16px}.profit-filter-panel{display:grid;gap:12px;padding:14px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.profit-preset-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.profit-preset-row>span{font-size:11px;color:var(--muted);white-space:nowrap}.profit-presets{overflow-x:auto}.profit-presets button{white-space:nowrap}.profit-filters{display:grid;grid-template-columns:repeat(3,minmax(140px,1fr)) auto auto;gap:10px;align-items:end}.profit-filters label{min-width:0}.profit-filters .btn{align-self:end}.profit-report-error{display:flex;align-items:center;justify-content:space-between;gap:12px}.profit-report-error .text-link{border:0;background:transparent;white-space:nowrap}.profit-quality-warning{display:flex;align-items:flex-start;gap:10px;padding:11px 13px;border:1px solid #ead39e;border-radius:5px;background:#fff8e8;color:#8a5b00}.profit-quality-warning svg{flex:none}.profit-quality-warning>div{display:grid;gap:3px}.profit-quality-warning strong{font-size:12px}.profit-quality-warning span{font-size:11px;line-height:1.5}.profit-summary .metric-tile>strong{font-size:20px;padding-right:0}.profit-summary .metric-tile>strong.negative{color:var(--danger)}.profit-balance-strip{display:grid;grid-template-columns:auto minmax(180px,1fr) minmax(100px,.45fr) minmax(220px,1fr);align-items:center;gap:14px;padding:13px 16px;border:1px solid var(--border);border-radius:6px;background:#fff}.profit-balance-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:6px;background:#e9f0ff;color:#2563eb}.profit-balance-strip>div:not(.profit-balance-icon){display:grid;gap:3px;min-width:0}.profit-balance-strip span{font-size:10px;color:var(--muted)}.profit-balance-strip strong{font-size:13px;overflow-wrap:anywhere}.profit-chart-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.8fr);gap:14px}.profit-chart{height:290px}.profit-table-grid{display:grid;gap:14px}.profit-table-heading{padding:14px 13px;border-bottom:1px solid var(--border)}.profit-detail-table table{min-width:790px}.profit-detail-table td{white-space:nowrap}.profit-data-as-of{display:flex;flex-wrap:wrap;gap:7px 16px;color:var(--muted);font-size:10px;padding:2px 1px}.profit-data-as-of span:first-child{color:#374151;font-weight:600}@media(max-width:1200px){.profit-filters{grid-template-columns:repeat(3,minmax(140px,1fr))}.profit-chart-grid{grid-template-columns:1fr}}@media(max-width:760px){.finance-tabs{width:100%;overflow-x:auto}.finance-tabs button{flex:none}.profit-preset-row{align-items:flex-start;flex-direction:column}.profit-preset-row>span{white-space:normal}.profit-presets{width:100%}.profit-presets button{flex:none}.profit-filters{grid-template-columns:1fr}.profit-filters .btn{width:100%}.profit-summary{grid-template-columns:1fr}.profit-balance-strip{grid-template-columns:auto minmax(0,1fr)}.profit-balance-strip>div:nth-child(n+3){grid-column:2}.profit-chart-grid .panel{padding:14px}.profit-chart{height:250px}}.settings-layout.dictionary-active{grid-template-columns:210px minmax(0,1100px)}.settings-panel.dictionary-settings-panel{padding:0}.data-dictionary-panel{padding:20px;display:grid;gap:14px;min-width:0}.dictionary-heading{margin:0}.dictionary-success{font-size:12px;color:#147459;background:#edf8f3;border:1px solid #b9ddcf;border-radius:5px;padding:9px 10px}.dictionary-workspace{display:grid;grid-template-columns:minmax(250px,300px) minmax(0,1fr);min-height:500px;border:1px solid var(--border);border-radius:6px;overflow:hidden}.dictionary-master{display:grid;grid-template-rows:auto auto minmax(0,1fr);align-content:start;border-right:1px solid var(--border);background:#f8f9fa;min-width:0}.dictionary-detail{padding:15px;display:grid;align-content:start;gap:13px;min-width:0}.dictionary-section-header{min-height:56px;padding:11px 13px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--border)}.dictionary-section-header>div:first-child{display:grid;gap:3px;min-width:0}.dictionary-section-header strong{font-size:13px}.dictionary-section-header small{font-size:10px;color:var(--muted);overflow-wrap:anywhere}.dictionary-detail-header{padding:0 0 12px}.dictionary-detail-header .heading-actions{align-items:center}.data-dictionary-panel form.dictionary-search{margin:10px;display:flex;align-items:center;gap:7px;height:38px;padding-left:10px;color:var(--muted);border:1px solid #d8dde5;border-radius:5px;background:#fff}.dictionary-search input{height:36px;min-width:0;padding:0;border:0;box-shadow:none}.dictionary-search .icon-btn{flex:none;border-left:1px solid var(--border);border-radius:0}.data-dictionary-panel form.dictionary-item-search{margin:0}.dictionary-item-search .btn{height:36px;border-radius:0 4px 4px 0}.dictionary-type-list{overflow:auto}.dictionary-type-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:11px 10px 11px 13px;border-bottom:1px solid #e6e9ed;cursor:pointer}.dictionary-type-row:hover{background:#f0f3f4}.dictionary-type-row.active{background:#e8f3f1;box-shadow:inset 3px 0 #0f766e}.dictionary-type-row>div{display:grid;gap:3px;min-width:0}.dictionary-type-row strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dictionary-type-row code{font-size:10px;color:#526071;overflow-wrap:anywhere}.dictionary-type-row small{font-size:10px;color:var(--muted)}.dictionary-row-actions{display:flex;gap:2px}.dictionary-row-actions .icon-btn{width:29px;height:29px}.dictionary-description{font-size:11px;line-height:1.55;color:var(--muted)}.dictionary-item-table{border:1px solid var(--border);border-radius:5px}.dictionary-item-table table{width:100%;min-width:650px;border-collapse:collapse}.dictionary-item-table th{text-align:left;background:#f7f8fa;color:#657081;font-size:10px;font-weight:700;padding:10px 11px;border-bottom:1px solid var(--border);white-space:nowrap}.dictionary-item-table td{font-size:12px;padding:10px 11px;border-bottom:1px solid #edf0f3;vertical-align:middle}.dictionary-item-table tr:last-child td{border-bottom:0}.dictionary-item-table td>small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.dictionary-item-table td:nth-child(3){max-width:240px;overflow-wrap:anywhere}.dictionary-item-table .heading-actions{flex-wrap:nowrap}.data-dictionary-panel .modal label{display:grid;gap:6px}@media(max-width:1050px){.settings-layout.dictionary-active{grid-template-columns:180px minmax(0,1fr)}.dictionary-workspace{grid-template-columns:minmax(220px,270px) minmax(0,1fr)}}@media(max-width:760px){.settings-layout.dictionary-active{grid-template-columns:1fr}.data-dictionary-panel{padding:15px}.dictionary-workspace{grid-template-columns:1fr;min-height:0}.dictionary-master{border-right:0;border-bottom:1px solid var(--border);max-height:360px}.dictionary-detail{padding:13px}.dictionary-detail-header{align-items:flex-start;flex-direction:column}.dictionary-detail-header .heading-actions{width:100%;justify-content:space-between}.dictionary-item-search{align-items:center}.dictionary-item-search .btn{width:auto;flex:none}}.local-rate-grid.single{grid-template-columns:1fr}.rate-filter-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) minmax(170px,220px) minmax(150px,190px) auto;align-items:end;gap:12px}.rate-filter-toolbar .search{width:100%}.rate-filter-field{gap:5px}.rate-filter-field>span{font-size:10px;color:var(--muted)}@media(max-width:900px){.rate-filter-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.rate-filter-toolbar .search{min-width:0}.rate-filter-toolbar>.btn{width:100%}}@media(max-width:760px){.rate-filter-toolbar{grid-template-columns:1fr}}.scheduler-runtime{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;border:1px solid #dce3e8;border-radius:6px;overflow:hidden;background:#dce3e8}.scheduler-runtime>div{display:grid;gap:4px;padding:12px;background:#f8fafb;min-width:0}.scheduler-runtime span,.scheduler-runtime small{font-size:10px;color:var(--muted)}.scheduler-runtime strong{font-size:14px;overflow-wrap:anywhere}.scheduler-runtime .status-pill{width:max-content}.scheduler-capacity{width:min(280px,100%)}.scheduler-group,.scheduler-retention{display:grid;gap:10px}.scheduler-group>header,.scheduler-retention>header{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.scheduler-group h3,.scheduler-retention h3{font-size:13px}.scheduler-group p{font-size:10px;color:var(--muted);margin-top:3px}.scheduler-table{border:1px solid var(--border);border-radius:6px;overflow:hidden}.scheduler-row{display:grid;grid-template-columns:minmax(230px,1.4fr) 54px minmax(150px,.7fr) minmax(132px,.58fr) minmax(210px,1fr);gap:12px;align-items:center;padding:10px 12px;border-top:1px solid #edf0f3}.scheduler-row:first-child{border-top:0}.scheduler-row>div:first-child{display:grid;gap:3px;min-width:0}.scheduler-row strong{font-size:12px}.scheduler-row small{font-size:10px;line-height:1.45;color:var(--muted);overflow-wrap:anywhere}.scheduler-row-head{background:#f7f8fa;color:#657081;font-size:10px;font-weight:700;text-transform:uppercase}.scheduler-row-head span{white-space:nowrap}.scheduler-row .input-suffix{display:grid;gap:4px}.scheduler-row .input-suffix small{white-space:normal}.scheduler-row .switch{justify-self:start}.scheduler-retention{border-top:1px solid #edf0f3;padding-top:16px}.sync-run-filter-panel{display:grid;grid-template-columns:minmax(210px,1.3fr) repeat(4,minmax(120px,.7fr)) auto;align-items:end;gap:10px;padding:13px;border:1px solid var(--border);border-radius:6px;background:#fff}.sync-run-filter-panel label{min-width:0}.sync-run-filter-panel .btn{height:38px}.sync-run-row{cursor:pointer}.sync-run-row:hover,.sync-run-row:focus{background:#f4faf9;outline:0}.sync-run-table td:nth-child(2),.sync-run-table td:nth-child(3),.sync-run-table td:nth-child(8){max-width:260px;overflow-wrap:anywhere}.sync-run-summary{grid-template-columns:repeat(2,minmax(0,1fr));margin:18px 0}.sync-run-section{display:grid;gap:9px;margin-top:22px}.sync-run-section h3{font-size:13px}.sync-run-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#dfe5e8;border:1px solid #dfe5e8;border-radius:6px;overflow:hidden}.sync-run-facts>div{display:grid;gap:4px;padding:10px;background:#fff;min-width:0}.sync-run-facts dt{font-size:10px;color:var(--muted)}.sync-run-facts dd{margin:0;font-size:11px;line-height:1.45;overflow-wrap:anywhere}.sync-run-attempts{display:grid;gap:0;margin:0;padding:0;list-style:none;border:1px solid var(--border);border-radius:6px;overflow:hidden}.sync-run-attempts li{display:grid;gap:4px;padding:11px 12px;border-top:1px solid #edf0f3}.sync-run-attempts li:first-child{border-top:0}.sync-run-attempts li>div{display:flex;justify-content:space-between;gap:10px}.sync-run-attempts strong{font-size:12px}.sync-run-attempts span,.sync-run-attempts small{font-size:10px;color:var(--muted)}.sync-run-attempts p{font-size:11px;line-height:1.5;overflow-wrap:anywhere}@media(max-width:1100px){.sync-run-filter-panel{grid-template-columns:repeat(3,minmax(0,1fr))}.scheduler-row{grid-template-columns:minmax(180px,1.2fr) 52px minmax(135px,.75fr) minmax(115px,.55fr) minmax(160px,1fr)}}@media(max-width:760px){.scheduler-runtime{grid-template-columns:repeat(2,minmax(0,1fr))}.scheduler-row{grid-template-columns:minmax(0,1fr) auto;align-items:start}.scheduler-row-head{display:none}.scheduler-row>div:first-child{grid-column:1/-1}.scheduler-row>div:last-child{grid-column:1/-1}.scheduler-row .input-suffix{width:150px}.sync-run-filter-panel{grid-template-columns:1fr}.sync-run-filter-panel .btn{width:100%}.sync-run-summary,.sync-run-facts{grid-template-columns:1fr}.sync-run-attempts li>div{align-items:flex-start;flex-direction:column}.collection-scheduler-settings .form-actions{align-items:stretch;flex-direction:column-reverse}.collection-scheduler-settings .form-actions .btn{width:100%}}.settings-layout.collection-active{grid-template-columns:210px minmax(0,1120px)}.collection-scheduler-settings .scheduler-table{overflow-x:auto}.collection-scheduler-settings .scheduler-row{grid-template-columns:minmax(240px,1.35fr) 54px minmax(150px,.7fr) minmax(132px,.58fr) minmax(260px,1.15fr)}@media(max-width:1050px){.settings-layout.collection-active{grid-template-columns:180px minmax(0,1fr)}}@media(max-width:760px){.settings-layout.collection-active{grid-template-columns:1fr}.collection-scheduler-settings .scheduler-row{grid-template-columns:minmax(0,1fr) auto;align-items:start}}.settings-panel,.settings-panel form,.collection-scheduler-settings,.scheduler-group,.scheduler-retention,.scheduler-table,.scheduler-row{min-width:0}.scheduler-group>header,.scheduler-retention>header,.settings-header{min-width:0}.scheduler-group>header>div,.scheduler-retention>header>div,.settings-header>div,.scheduler-row>div,.scheduler-row>label{min-width:0}.scheduler-row>div:first-child,.scheduler-row>div:last-child,.scheduler-row small,.scheduler-group p{overflow-wrap:anywhere}.collection-scheduler-settings .input-suffix>span{top:20px}.collection-scheduler-settings .form-grid>label{align-content:start}@media(max-width:900px)and (min-width:761px){.shell:has(.settings-layout) .topbar{padding:0 12px}.shell:has(.settings-layout) .topbar-title{flex:none}.shell:has(.settings-layout) .topbar-title h1{white-space:nowrap}.shell:has(.settings-layout) .business-owner-select>span,.shell:has(.settings-layout) .user-block>span:last-child{display:none}.shell:has(.settings-layout) .business-owner-select select{width:166px}.shell:has(.settings-layout) .topbar-actions{gap:3px}.settings-layout.collection-active{grid-template-columns:1fr;width:100%;min-width:0}.settings-layout.collection-active>.settings-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-layout.collection-active .settings-nav button{min-height:42px;height:auto;white-space:normal;overflow-wrap:anywhere}.collection-scheduler-settings .scheduler-runtime{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-scheduler-settings .scheduler-table{min-width:0;overflow-x:visible}.collection-scheduler-settings .scheduler-row{grid-template-columns:48px minmax(150px,1fr) minmax(120px,140px);align-items:start;min-width:0}.collection-scheduler-settings .scheduler-row-head{display:none}.collection-scheduler-settings .scheduler-row>*{min-width:0}.collection-scheduler-settings .scheduler-row>div:first-child,.collection-scheduler-settings .scheduler-row>div:last-child{grid-column:1/-1}.collection-scheduler-settings .scheduler-row .input-suffix{width:100%}.collection-scheduler-settings .scheduler-row .input-suffix input{min-width:0}.collection-scheduler-settings .scheduler-row .switch{margin-top:10px}.collection-scheduler-settings .form-actions{align-items:stretch;flex-direction:column-reverse}.collection-scheduler-settings .form-actions .btn{width:100%}}@media(max-width:760px){body:has(.settings-layout){min-width:0}.shell:has(.settings-layout) .topbar-title{flex:none}.shell:has(.settings-layout) .topbar-title h1{white-space:nowrap}.shell:has(.settings-layout) .topbar-actions{min-width:0;flex:1;justify-content:flex-end}.shell:has(.settings-layout) .business-owner-select{min-width:0}.shell:has(.settings-layout) .business-owner-select select{width:120px;min-width:0;overflow:hidden;text-overflow:ellipsis}.settings-layout.collection-active{width:100%;min-width:0}.settings-panel{width:100%;max-width:100%;min-width:0}.settings-nav button{min-height:42px;height:auto;white-space:normal;overflow-wrap:anywhere}.collection-scheduler-settings .scheduler-table{min-width:0;overflow-x:visible}.collection-scheduler-settings .scheduler-row{grid-template-columns:48px minmax(150px,1fr) minmax(120px,140px);align-items:start;min-width:0}.collection-scheduler-settings .scheduler-row>*{min-width:0}.collection-scheduler-settings .scheduler-row .input-suffix{width:100%}.collection-scheduler-settings .scheduler-row .input-suffix input{min-width:0}.collection-scheduler-settings .scheduler-row .switch{margin-top:10px}.collection-scheduler-settings .form-actions{align-items:stretch;flex-direction:column-reverse}.collection-scheduler-settings .form-actions .btn{width:100%}}@media(max-width:480px){.shell:has(.settings-layout) .topbar-title h1{display:none}.settings-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-scheduler-settings .scheduler-row{grid-template-columns:minmax(0,1fr);gap:10px}.collection-scheduler-settings .scheduler-row>div:first-child,.collection-scheduler-settings .scheduler-row>div:last-child{grid-column:1}.collection-scheduler-settings .scheduler-row .input-suffix{width:100%}.collection-scheduler-settings .scheduler-row .switch{justify-self:start;margin-top:0}.scheduler-runtime{grid-template-columns:1fr}}.rate-formula-strip{display:grid;grid-template-columns:minmax(230px,280px) minmax(620px,1fr) minmax(300px,360px);align-items:stretch;gap:0;padding:0;overflow:hidden}.rate-formula-strip>.rate-formula-title{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#f7f9fa;border-right:1px solid var(--border);color:var(--primary)}.rate-formula-title>div{display:grid;gap:3px}.rate-formula-title strong{font-size:12px;color:#172033}.rate-formula-title small{font-size:9px;line-height:1.45;color:var(--muted)}.rate-formula-strip>.rate-formula-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:0}.rate-formula-item{display:grid;grid-template-columns:26px minmax(0,1fr);align-items:center;gap:8px;padding:11px 12px;border-right:1px solid var(--border);min-width:0}.rate-formula-item>span{width:26px;height:26px;display:grid;place-items:center;border-radius:4px;background:#e8f4f2;color:var(--primary);font-family:SFMono-Regular,Consolas,monospace;font-size:12px;font-weight:800}.rate-formula-item>div{display:grid;gap:3px;min-width:0}.rate-formula-item strong{font-size:11px;color:#374151}.rate-formula-item code{font-family:SFMono-Regular,Consolas,monospace;font-size:9px;color:#657081;white-space:nowrap}.rate-formula-strip>.rate-formula-source{align-self:center;align-items:center;margin:9px 12px;height:auto}.rate-formula-source>span{height:auto!important;line-height:1.5}@media(max-width:1500px){.rate-formula-strip{grid-template-columns:minmax(230px,280px) minmax(0,1fr)}.rate-formula-strip>.rate-formula-source{grid-column:1/-1;margin:0;border-radius:0;border-top:1px solid var(--border)}.rate-formula-item code{white-space:normal}}@media(max-width:760px){.rate-formula-strip{grid-template-columns:1fr}.rate-formula-strip>.rate-formula-title{border-right:0;border-bottom:1px solid var(--border)}.rate-formula-title small{white-space:normal}.rate-formula-strip>.rate-formula-grid{grid-template-columns:1fr}.rate-formula-item{border-right:0;border-bottom:1px solid var(--border)}.rate-formula-item code{white-space:normal}.rate-formula-strip>.rate-formula-source{grid-column:auto}}.model-selection-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--border);border-radius:5px;background:#f7f9fa}.model-selection-toolbar>div:first-child{display:grid;gap:3px}.model-selection-toolbar strong{font-size:12px}.model-selection-toolbar small{font-size:10px;color:var(--muted)}.selection-warning{font-size:11px;color:#a35f00;background:#fff7e8;border:1px solid #f0d7a5;border-radius:5px;padding:8px 10px}.channel-selection-heading{display:flex!important;align-items:center;gap:9px}.channel-selection-heading>div{display:grid;gap:3px;min-width:0}.channel-selection-heading input,.model-select-cell input{width:16px;height:16px;accent-color:var(--primary);flex:none}.model-price-table table{min-width:760px}.model-select-cell{width:48px;text-align:center;color:var(--muted)}.local-preview-heading>.number-cell,.local-rate-grid>div>span{max-width:100%;overflow-wrap:anywhere}.local-rate-grid>div>span{display:grid;gap:2px;min-width:0}.local-rate-grid>div>span small{font-family:Inter,Noto Sans SC,system-ui,sans-serif;font-size:9px;color:var(--muted);white-space:nowrap}.local-rate-grid>div>span.accent small{color:#407f78}@media(max-width:760px){.model-selection-toolbar{align-items:stretch;flex-direction:column}.model-selection-toolbar .heading-actions{width:100%}.model-selection-toolbar .heading-actions .btn{width:auto;flex:1}.channel-selection-heading{align-items:flex-start}.local-rate-grid>div>span small{white-space:normal}}.rate-auto-policy{display:grid;background:#fff;border:1px solid var(--border);border-radius:6px;overflow:hidden}.rate-auto-policy-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border-bottom:1px solid #edf0f3}.policy-effective-summary{display:grid;gap:3px;min-width:245px;padding-left:18px;border-left:1px solid #edf0f3}.policy-effective-summary>span,.policy-effective-summary small{font-size:10px;color:var(--muted)}.policy-effective-summary strong{font-size:13px;color:#147459}.policy-effective-summary strong.muted{color:#6b7280}.policy-editor{padding:17px 18px}.policy-editor-heading{display:flex;align-items:baseline;gap:8px;margin-bottom:13px}.policy-editor-heading strong{font-size:13px}.policy-editor-heading small{font-size:11px;color:var(--muted)}.policy-settings-grid{display:grid;grid-template-columns:minmax(200px,.7fr) minmax(360px,1.3fr);gap:22px;align-items:start}.policy-profit-field{max-width:290px}.policy-direction-list{display:grid;border-top:1px solid #edf0f3}.policy-direction{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;padding:11px 0;border-bottom:1px solid #edf0f3;font-weight:400;cursor:pointer}.policy-direction input{position:absolute;opacity:0;pointer-events:none}.policy-direction>span:last-child{display:grid;gap:3px;min-width:0}.policy-direction strong{display:flex;align-items:center;gap:7px;font-size:12px;color:#374151}.policy-direction small{font-size:11px;font-weight:400;color:var(--muted);line-height:1.5}.policy-direction em{font-style:normal;font-size:10px;font-weight:700;color:#6b7280;background:#edf0f3;border-radius:4px;padding:3px 6px;white-space:nowrap}.policy-direction em.enabled{color:#147459;background:#e8f6f0}.policy-direction em.pending{color:#a35f00;background:#fff3dc}.policy-checkbox{width:18px;height:18px;border:1px solid #aeb7c2;border-radius:4px;background:#fff;color:#fff;display:grid;place-items:center;margin-top:1px}.policy-direction input:checked+.policy-checkbox{border-color:#0f766e;background:#0f766e}.policy-direction input:focus-visible+.policy-checkbox{box-shadow:0 0 0 3px #0f766e29}.policy-direction input:disabled+.policy-checkbox{opacity:.55}.policy-savebar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 18px;background:#f7f8fa;border-top:1px solid #edf0f3}.policy-savebar.dirty{background:#fffaf0;border-top-color:#f0d7a5}.policy-savebar>div:first-child{display:grid;gap:3px}.policy-savebar strong{font-size:12px}.policy-savebar small{font-size:11px;color:var(--muted)}.policy-savebar>div:last-child{display:flex;align-items:center;justify-content:flex-end;gap:8px}.policy-savebar .form-error{margin:0;max-width:260px;padding:7px 9px}@media(max-width:900px){.policy-settings-grid{grid-template-columns:1fr}.policy-profit-field{max-width:340px}.policy-effective-summary{min-width:220px}}@media(max-width:640px){.rate-auto-policy-header{align-items:flex-start;flex-direction:column}.policy-effective-summary{width:100%;padding:12px 0 0;border-top:1px solid #edf0f3;border-left:0}.policy-editor{padding:15px}.policy-editor-heading{align-items:flex-start;flex-direction:column;gap:3px}.policy-savebar{align-items:stretch;flex-direction:column;padding:12px 15px}.policy-savebar>div:last-child{align-items:stretch;flex-direction:column}.policy-savebar .btn{width:100%}.policy-savebar .form-error{max-width:none}}.sidebar nav{scrollbar-width:none;-ms-overflow-style:none}.sidebar nav::-webkit-scrollbar{width:0;height:0}.rate-auto-policy-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(245px,auto) 36px;align-items:center;gap:18px;padding:13px 18px}.rate-auto-policy-header.expanded{border-bottom:1px solid #edf0f3}.policy-effective-summary{min-width:0}.policy-collapse-button{border:1px solid var(--border);background:#fff}.policy-collapse-button:hover{border-color:#9ebfbb;background:#f4faf9;color:var(--primary)}.policy-collapse-button svg{transition:transform .18s ease}.policy-collapse-button svg.rotated{transform:rotate(180deg)}@media(max-width:640px){.rate-auto-policy-header{display:grid;grid-template-columns:minmax(0,1fr) 36px;align-items:start;gap:10px}.rate-auto-policy-header .policy-effective-summary{grid-column:1/-1;width:100%;padding:10px 0 0;border-top:1px solid #edf0f3;border-left:0}.policy-collapse-button{grid-column:2;grid-row:1}.policy-effective-summary small{overflow-wrap:anywhere}}@media(max-width:1450px)and (min-width:761px){.rate-table{min-width:0!important;table-layout:fixed}.rate-table th,.rate-table td{padding-left:8px;padding-right:8px}.rate-table th:nth-child(3),.rate-table td:nth-child(3),.rate-table th:nth-child(7),.rate-table td:nth-child(7),.rate-table th:nth-child(8),.rate-table td:nth-child(8){display:none}.rate-table th:nth-child(1){width:42px}.rate-table th:nth-child(2){width:22%}.rate-table th:nth-child(4),.rate-table th:nth-child(5),.rate-table th:nth-child(6){width:15%}.rate-table th:nth-child(9){width:14%}.rate-table th:nth-child(10){width:74px}.rate-table td:nth-child(2){overflow:hidden;text-overflow:ellipsis}.rate-table td:nth-child(2) strong,.rate-table td:nth-child(2) small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rate-table .btn.compact{padding:0 8px}.rate-table .btn.compact svg{display:none}}.rate-table-scroll{overflow:hidden}.rate-table{min-width:0!important;width:100%;table-layout:fixed}.rate-table th:nth-child(1){width:48px}.rate-table th:nth-child(2){width:28%}.rate-table th:nth-child(3),.rate-table th:nth-child(4),.rate-table th:nth-child(5){width:14%}.rate-table th:nth-child(6){width:16%}.rate-table th:nth-child(7){width:82px}.rate-table td:nth-child(2){overflow:hidden;text-overflow:ellipsis}.rate-table td:nth-child(2) strong,.rate-table td:nth-child(2) small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rate-table td:nth-child(2) small{max-width:100%}.rate-table .btn.compact{padding:0 8px}.rate-table .btn.compact svg{display:none}@media(max-width:760px){.rate-table th:nth-child(3),.rate-table td:nth-child(3),.rate-table th:nth-child(4),.rate-table td:nth-child(4){display:none}.rate-table th:nth-child(2){width:42%}.rate-table th:nth-child(5){width:22%}.rate-table th:nth-child(6){width:22%}.rate-table th:nth-child(7){width:64px}.rate-table th,.rate-table td{padding-left:7px;padding-right:7px}.rate-table .number-cell{font-size:10px}.rate-table .btn.compact{width:36px;padding:0}.rate-table .btn.compact svg{display:block}}.sync-task-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--border);border-radius:6px;background:#fff;overflow:hidden}.sync-task-action-group{min-width:0;padding:14px 15px 15px;border-left:1px solid var(--border)}.sync-task-action-group:first-child{border-left:0}.sync-task-action-group>header{min-height:46px;margin-bottom:10px}.sync-task-action-group h3{font-size:13px}.sync-task-action-group p{margin-top:3px;font-size:10px;line-height:1.45;color:var(--muted)}.sync-task-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.sync-task-action-button{width:100%;min-width:0;height:38px;padding:0 10px;justify-content:flex-start}.sync-task-action-button span{min-width:0;overflow:hidden;text-overflow:ellipsis}.sync-task-action-button svg{flex:none}.sync-run-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 13px;border-bottom:1px solid var(--border);background:#fbfcfd}.sync-run-list-toolbar h3{font-size:13px}.sync-run-list-toolbar p{margin-top:3px;font-size:10px;color:var(--muted)}.sync-run-cleanup{color:var(--danger)}.sync-run-cleanup:hover{background:#fff0ef!important;color:#a9342f!important}.task-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:4px;font-size:10px;font-weight:700;padding:4px 7px;white-space:nowrap}.task-pill.key{background:#e5f4f2;color:#0f6d66}.task-pill.account{background:#e9f0ff;color:#285fb7}.task-pill.system{background:#fff2dc;color:#9a5a05}.sync-run-table table{min-width:1100px}.sync-run-table td:nth-child(2),.sync-run-table td:nth-child(3),.sync-run-table td:nth-child(4),.sync-run-table td:nth-child(6){max-width:none}.sync-task-parameter-modal{width:min(480px,100%)}.sync-task-parameter-modal label small{color:#a35f00}.sync-task-parameter-modal select,.sync-task-parameter-modal input{font-variant-numeric:tabular-nums}@media(max-width:1180px){.sync-task-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.sync-task-action-group:nth-child(3){grid-column:1/-1;border-top:1px solid var(--border);border-left:0}.sync-task-action-group:nth-child(2){border-left:1px solid var(--border)}.sync-task-action-group:nth-child(3) .sync-task-action-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:760px){.sync-task-actions{grid-template-columns:1fr}.sync-task-action-group,.sync-task-action-group:nth-child(2),.sync-task-action-group:nth-child(3){grid-column:auto;border-left:0;border-top:1px solid var(--border)}.sync-task-action-group:first-child{border-top:0}.sync-task-action-group>header{min-height:0}.sync-task-action-group:nth-child(3) .sync-task-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sync-run-list-toolbar{align-items:flex-start}.sync-run-list-toolbar p{max-width:220px}.sync-run-cleanup{flex:none}}@media(max-width:480px){.sync-task-action-grid,.sync-task-action-group:nth-child(3) .sync-task-action-grid{grid-template-columns:1fr}.sync-run-list-toolbar{align-items:stretch;flex-direction:column}.sync-run-cleanup{width:100%}}@media(max-width:1450px)and (min-width:761px){.rate-table th:nth-child(3),.rate-table td:nth-child(3),.rate-table th:nth-child(7),.rate-table td:nth-child(7){display:table-cell}}.sync-page{min-width:0}.sync-task-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:52px;padding:8px 11px;border:1px solid var(--border);border-radius:6px;background:#fff}.sync-worker-compact{display:flex;align-items:center;gap:10px;min-width:0}.sync-worker-compact>div{display:grid;gap:3px;min-width:0}.sync-worker-compact strong{font-size:12px}.sync-worker-compact p{font-size:10px;color:var(--muted);overflow-wrap:anywhere}.sync-worker-compact .text-link{margin-left:7px;font-size:11px;white-space:nowrap}.sync-create-task{margin-left:auto;white-space:nowrap}.sync-run-filter-shell{display:grid;gap:10px;padding:12px;border:1px solid var(--border);border-radius:6px;background:#fff}.sync-run-filter-main{display:grid;grid-template-columns:minmax(210px,1.3fr) minmax(150px,.8fr) minmax(130px,.7fr) auto;align-items:end;gap:10px}.sync-run-filter-main label,.sync-run-filter-more label{min-width:0}.sync-run-search span{height:38px;border:1px solid #d8dde5;border-radius:5px;display:flex;align-items:center;gap:7px;padding:0 10px;color:#7b8492}.sync-run-search input{min-width:0;height:36px;padding:0;border:0;box-shadow:none}.sync-run-filter-actions{display:flex;gap:7px}.sync-run-filter-actions .btn{height:38px;white-space:nowrap}.sync-run-filter-actions svg{transition:transform .18s ease}.sync-run-filter-actions svg.rotated{transform:rotate(180deg)}.sync-run-filter-more{display:grid;grid-template-columns:minmax(220px,1fr) minmax(160px,.7fr);gap:10px;padding-top:10px;border-top:1px solid #edf0f3}.sync-run-list-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0}.sync-update-notice{display:flex;align-items:center;gap:8px;padding:5px 7px 5px 10px;border:1px solid #ead7a8;border-radius:5px;background:#fff9e9;color:#795b18;font-size:11px;white-space:nowrap}.sync-run-refresh{border:1px solid var(--border)}.sync-run-table .table-scroll{max-height:clamp(320px,calc(100vh - 340px),720px);overflow:auto}.sync-run-table thead th{position:sticky;top:0;z-index:2;box-shadow:0 1px 0 var(--border)}.sync-run-table table{min-width:1120px}.sync-run-table th:nth-child(1){width:145px}.sync-run-table th:nth-child(2){width:190px}.sync-run-table th:nth-child(3){width:220px}.sync-run-table th:nth-child(4){width:165px}.sync-run-table th:nth-child(5){width:90px}.sync-run-table th:nth-child(6){width:180px}.sync-run-created{font-variant-numeric:tabular-nums;white-space:nowrap}.sync-run-site strong,.sync-run-target strong{display:block;font-size:13px;color:#172033;overflow-wrap:anywhere}.sync-run-target small{font-family:SFMono-Regular,Consolas,monospace}.sync-run-schedule strong{display:block;font-size:11px}.sync-run-result{min-width:250px;line-height:1.5;overflow-wrap:anywhere}.sync-run-table .table-footer .icon-btn{border:1px solid var(--border);margin-left:6px}.sync-run-drawer{width:min(700px,100%)}.sync-task-drawer{width:min(560px,100%)}.sync-task-drawer-groups{display:grid;gap:12px;margin-top:20px}.sync-task-drawer-group{border:1px solid var(--border);border-radius:6px;background:#fff;overflow:hidden}.sync-task-drawer-group>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:13px 14px;border-bottom:1px solid #edf0f3;background:#f8fafb}.sync-task-drawer-group>header>div{display:grid;gap:3px;min-width:0}.sync-task-drawer-group h3{font-size:13px}.sync-task-drawer-group p{font-size:10px;line-height:1.45;color:var(--muted)}.sync-task-drawer-group>header>span{font-size:10px;color:#667182;background:#eef1f4;border-radius:4px;padding:4px 7px;white-space:nowrap}.sync-task-drawer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}.sync-task-drawer-action{display:flex;align-items:flex-start;gap:9px;min-width:0;min-height:64px;padding:10px;border:1px solid #dfe5ea;border-radius:5px;background:#fff;color:#172033;text-align:left}.sync-task-drawer-action:hover{border-color:#9ebfbb;background:#f4faf9}.sync-task-drawer-action svg{flex:none;margin-top:1px;color:var(--primary)}.sync-task-drawer-action>span{display:grid;gap:3px;min-width:0}.sync-task-drawer-action strong{font-size:12px}.sync-task-drawer-action small{font-size:10px;line-height:1.45;color:var(--muted);overflow-wrap:anywhere}.sync-task-parameter-form{display:grid;gap:18px;margin-top:22px}.sync-task-parameter-form label small{color:#a35f00}.sync-task-parameter-form select,.sync-task-parameter-form input{font-variant-numeric:tabular-nums}.sync-task-parameter-form .form-actions{margin-top:4px}.pulse-dot.offline{background:#d04d46;box-shadow:0 0 0 4px #d04d4621}@media(max-width:1100px){.sync-run-filter-main{grid-template-columns:repeat(2,minmax(0,1fr))}.sync-run-search{grid-column:1/-1}.sync-run-filter-actions{justify-content:flex-end}.sync-run-filter-actions .btn{flex:1;justify-content:center}.sync-run-filter-more{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px)and (min-width:761px){.shell:has(.sync-page) .topbar{padding:0 12px}.shell:has(.sync-page) .topbar-title{flex:none}.shell:has(.sync-page) .topbar-title h1{white-space:nowrap}.shell:has(.sync-page) .business-owner-select>span,.shell:has(.sync-page) .user-block>span:last-child{display:none}.shell:has(.sync-page) .business-owner-select select{width:166px}.shell:has(.sync-page) .topbar-actions{gap:3px}}@media(max-width:760px){.shell:has(.sync-page) .topbar-title{flex:none}.shell:has(.sync-page) .topbar-title h1{white-space:nowrap}.shell:has(.sync-page) .topbar-actions{min-width:0;flex:1;justify-content:flex-end}.shell:has(.sync-page) .business-owner-select{min-width:0}.shell:has(.sync-page) .business-owner-select select{width:120px;min-width:0;overflow:hidden;text-overflow:ellipsis}.sync-task-toolbar{align-items:stretch;flex-direction:column}.sync-worker-compact{align-items:flex-start;flex-wrap:wrap}.sync-worker-compact .text-link{flex-basis:100%;margin-left:19px}.sync-create-task{width:100%;justify-content:center}.sync-run-filter-main,.sync-run-filter-more{grid-template-columns:1fr}.sync-run-search{grid-column:auto}.sync-run-filter-actions{width:100%}.sync-run-filter-actions .btn{flex:1}.sync-run-list-toolbar{align-items:flex-start;flex-direction:column}.sync-run-list-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}.sync-update-notice{flex:1;justify-content:space-between;min-width:220px}.sync-run-cleanup{flex:none}.sync-run-table .table-scroll{max-height:clamp(300px,calc(100vh - 330px),620px)}.sync-task-drawer{padding:17px 15px}.sync-task-drawer-grid{grid-template-columns:1fr}.sync-task-drawer-action{min-height:58px}}@media(max-width:480px){.sync-run-filter-actions{align-items:stretch;flex-direction:column}.sync-run-filter-actions .btn{width:100%}.sync-update-notice{min-width:0;width:100%}.sync-run-refresh{margin-left:auto}.sync-run-cleanup{width:100%}}.sync-run-table .table-scroll{max-height:none;overflow-x:auto;overflow-y:visible}.page-content:has(.sync-page){padding-top:0}.sync-page{gap:0}.sync-task-toolbar{min-height:48px;padding:6px 10px}.sync-run-filter-shell{gap:8px;padding:8px 10px}.sync-run-filter-main{grid-template-columns:minmax(220px,1.25fr) repeat(3,minmax(135px,.65fr)) auto;gap:8px}.sync-run-filter-main label,.sync-run-filter-more label{gap:4px}.sync-run-filter-shell input,.sync-run-filter-shell select,.sync-run-search span{height:36px}.sync-run-search input{height:34px}.sync-run-filter-actions .btn{height:36px}.sync-run-list-toolbar,.sync-run-table th{padding:8px 11px}.sync-run-table td{padding:7px 11px}.sync-run-table .table-footer{min-height:42px;padding:5px 11px}.sync-run-site strong,.sync-run-target strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sync-run-result>span{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.sync-run-change-table{border:1px solid var(--border);border-radius:6px;background:#fff}.sync-run-change-table table{width:100%;min-width:600px;border-collapse:collapse}.sync-run-change-table th{text-align:left;padding:8px 10px;border-bottom:1px solid var(--border);background:#f7f8fa;color:#657081;font-size:10px}.sync-run-change-table td{padding:9px 10px;border-bottom:1px solid #edf0f3;font-size:11px;vertical-align:top}.sync-run-change-table tr:last-child td{border-bottom:0}.sync-run-change-table td>strong,.sync-run-change-table td>small{display:block}.sync-run-change-table td>small{margin-top:3px;color:var(--muted);font-size:10px;line-height:1.4}.sync-run-change-table code{font-family:SFMono-Regular,Consolas,monospace;color:#172033;white-space:nowrap}@media(max-width:1100px){.sync-run-filter-main{grid-template-columns:repeat(2,minmax(0,1fr))}.sync-run-search{grid-column:1/-1}}@media(max-width:760px){.sync-run-filter-main,.sync-run-filter-more{grid-template-columns:1fr}.sync-run-search{grid-column:auto}.sync-run-filter-shell input,.sync-run-filter-shell select,.sync-run-search span,.sync-run-filter-actions .btn{height:40px}.sync-run-search input{height:38px}}@media(max-width:480px){.sync-run-filter-actions .btn{width:100%;height:40px;flex:none}.sync-run-list-actions{flex-wrap:nowrap;justify-content:flex-start}.sync-run-refresh{margin-left:0}.sync-run-cleanup{width:auto;flex:none}}.alert-rules-panel{background:#fff;border:1px solid var(--border);border-radius:6px;min-width:0;overflow:hidden}.alert-rules-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border-bottom:1px solid var(--border)}.alert-rules-overview h3,.alert-rule-group-header h3{font-size:14px}.alert-rules-overview p,.alert-rule-group-header p{font-size:11px;color:var(--muted);margin-top:3px}.alert-rule-counts{display:flex;align-items:center;gap:18px;color:var(--muted);font-size:11px;white-space:nowrap}.alert-rule-counts span{display:flex;align-items:baseline;gap:5px}.alert-rule-counts strong{font-size:16px;color:#172033}.alert-rule-groups{display:grid;gap:18px;padding:16px 18px 20px}.alert-rule-group{display:grid;gap:9px}.alert-rule-group-header{display:flex;align-items:flex-end;justify-content:space-between;gap:14px}.alert-rule-group-header>span{font-size:10px;font-weight:700;color:#5f6a79;background:#eef1f4;border-radius:4px;padding:4px 7px;white-space:nowrap}.alert-rule-group.disabled{padding-top:16px;border-top:1px solid #edf0f3}.alert-rule-list{border:1px solid var(--border);border-radius:6px;overflow:hidden}.alert-rule-row{background:#fff;border-top:1px solid #edf0f3}.alert-rule-row:first-child{border-top:0}.alert-rule-row.disabled{background:#fafbfc}.alert-rule-row.expanded{box-shadow:inset 3px 0 0 var(--primary)}.alert-rule-row-header{display:grid;grid-template-columns:9px minmax(260px,1fr) auto;align-items:center;gap:13px;padding:14px 14px 14px 16px;min-width:0}.alert-rule-state-dot{width:8px;height:8px;border-radius:50%}.alert-rule-state-dot.enabled{background:#168061;box-shadow:0 0 0 3px #1680611f}.alert-rule-state-dot.disabled{background:#aeb6c1}.alert-rule-copy{display:grid;gap:4px;min-width:0}.alert-rule-copy>div{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.alert-rule-copy strong{font-size:13px}.alert-rule-copy p{font-size:12px;line-height:1.5;color:#374151;overflow-wrap:anywhere}.alert-rule-copy small{font-size:10px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}.alert-rule-row.disabled .alert-rule-copy p{color:#667182}.alert-rule-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px}.alert-rule-reminder{font-size:10px;color:var(--muted);white-space:nowrap;margin-right:4px}.alert-rule-expand{width:34px;height:34px;border:1px solid var(--border);background:#fff}.alert-rule-expand:hover{border-color:#9ebfbb;background:#f4faf9;color:var(--primary)}.alert-rule-editor{display:grid;grid-template-columns:minmax(300px,1.45fr) minmax(260px,1.15fr) minmax(150px,.65fr) minmax(190px,.8fr);gap:18px;padding:15px 16px 17px 38px;border-top:1px solid #e4e9ed;background:#f8fafb}.alert-rule-setting{display:grid;align-content:start;gap:7px;min-width:0}.alert-rule-setting>label{font-size:11px;font-weight:700;color:#374151}.alert-rule-setting>small{font-size:10px;line-height:1.5;color:var(--muted)}.alert-rule-setting select{max-width:180px}.alert-condition-builder,.alert-recovery-builder{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-height:40px;font-size:11px;color:#4b5563}.alert-condition-builder .input-suffix{width:145px}.alert-recovery-builder .input-suffix{width:112px}.alert-condition-builder .input-suffix input,.alert-recovery-builder .input-suffix input{font-variant-numeric:tabular-nums}.alert-rule-static-value{min-height:40px;display:flex;align-items:center;font-size:11px;line-height:1.45;color:#374151}.alert-rules-panel>.table-footer{background:#fbfcfd}.alert-rule-saved{display:inline-flex;align-items:center;gap:4px;color:#147459;font-size:10px;font-weight:700}.alert-rule-setting [aria-invalid=true]{border-color:#c2413b;box-shadow:0 0 0 3px #c2413b17}.alert-rule-setting>.alert-rule-field-error{color:#b42318;font-weight:500}.alert-rule-edit-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:13px;border-top:1px solid #f0d7a5}.alert-rule-edit-actions>div:first-child{display:grid;gap:3px;min-width:0}.alert-rule-edit-actions strong{font-size:12px;color:#9a5f00}.alert-rule-edit-actions small{font-size:10px;line-height:1.45;color:#7a6544;overflow-wrap:anywhere}.alert-rule-edit-actions>div:last-child{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:none}.alert-rule-edit-actions.error strong,.alert-rule-edit-actions.error small{color:#b42318}@media(max-width:1450px){.alert-rule-row-header{grid-template-columns:9px minmax(230px,1fr) minmax(250px,auto)}.alert-rule-actions{flex-wrap:wrap}.alert-rule-reminder{width:100%;text-align:right;margin-right:0}.alert-rule-editor{grid-template-columns:repeat(2,minmax(0,1fr));padding-left:38px}}@media(max-width:760px){.alert-rules-overview{align-items:flex-start;flex-direction:column;padding:14px 15px}.alert-rule-counts{width:100%;justify-content:space-between}.alert-rule-groups{padding:14px 15px 17px}.alert-rule-group-header{align-items:flex-start}.alert-rule-row-header{grid-template-columns:8px minmax(0,1fr);align-items:start;gap:10px;padding:13px}.alert-rule-copy{grid-column:2}.alert-rule-actions{grid-column:2;display:grid;grid-template-columns:minmax(0,1fr) auto 34px;width:100%;justify-content:stretch;margin-top:3px}.alert-rule-reminder{width:auto;text-align:left;margin:0;align-self:center}.alert-rule-actions .btn{width:auto;flex:none}.alert-rule-editor{grid-template-columns:1fr;padding:14px 15px 16px 31px}.alert-rule-edit-actions{align-items:stretch;flex-direction:column}.alert-rule-edit-actions>div:last-child{width:100%}.alert-rule-edit-actions .btn{flex:1}}@media(max-width:480px){.alert-rule-counts{gap:10px}.alert-rule-actions{grid-template-columns:1fr 34px}.alert-rule-reminder{grid-column:1/-1}.alert-rule-actions .btn{width:100%}.alert-rule-expand{grid-column:2;grid-row:2}.alert-condition-builder,.alert-recovery-builder{align-items:stretch;flex-direction:column}.alert-condition-builder .input-suffix,.alert-recovery-builder .input-suffix,.alert-rule-setting select{width:100%;max-width:none}.alert-rule-static-value{min-height:0}}
