.editor-dialog:has(.pricing-dialog){max-width:1100px}
:root{--nav:#10243a;--nav-deep:#0c1b2c;--canvas:#f3f5f8;--surface:#fff;--ink:#192d44;--muted:#738196;--line:#e5eaf0;--teal:#008c84;--teal-soft:#e5f5f1;--blue:#3478d3;--blue-soft:#edf3fc;--amber:#a97520;--amber-soft:#fff7e6;--red:#b9474d;--red-soft:#fff0f0;--radius:13px;--shadow:0 2px 9px #1c304607;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);font-synthesis:none;font-weight:400}*{box-sizing:border-box}body{margin:0;background:var(--canvas);font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:var(--teal);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #69b5ff;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:29px;line-height:1.3;letter-spacing:-.8px;font-weight:660}h2{font-size:17px;font-weight:650;letter-spacing:-.25px}h3{font-size:14px;font-weight:650}p{color:var(--muted)}[hidden]{display:none!important}.skip-link{position:fixed;top:-50px;left:15px;background:white;padding:12px;z-index:200}.skip-link:focus{top:10px}.sidebar{position:fixed;inset:0 auto 0 0;width:260px;background:linear-gradient(180deg,var(--nav),var(--nav-deep));color:#c5d0df;display:flex;flex-direction:column;z-index:50}.brand{display:flex;align-items:center;gap:17px;color:#fff;margin:27px 27px 20px}.brand-mark{font-weight:800;letter-spacing:-5px;font-size:40px;line-height:1;position:relative;display:block;padding-right:7px}.brand-mark>span{width:6px;height:6px;background:#25c7b0;position:absolute;bottom:2px;right:-2px;border-radius:50%}.brand-caption{font-size:9px;font-weight:650;line-height:1.55;letter-spacing:1.35px;border-left:1px solid #ffffff29;padding-left:15px}.workspace-label{margin:0 23px 22px;font-size:11px;color:#95a8bd;display:flex;align-items:center;gap:8px}.workspace-dot{background:#3cc3ad;height:5px;width:5px;border-radius:50%}#navigation{overflow:auto;flex:1;padding:0 13px 18px;scrollbar-width:thin;scrollbar-color:#30465c transparent}.nav-item{color:#aabacd;display:flex;align-items:center;gap:10px;padding:10px 13px;border-radius:7px;font-size:12px;position:relative;transition:background .15s,color .15s;min-height:39px}.nav-item:hover{background:#ffffff09;color:white}.nav-item.active{background:#1f3c51;color:#65dfc5;box-shadow:inset 3px 0 #43c8af}.nav-icon{font-size:18px;line-height:1;width:20px;color:#8095ab;display:inline-flex;justify-content:center}.nav-item.active .nav-icon{color:#60d2bd}.nav-arrow{font-size:12px;margin-left:auto;color:#657f99}.nav-group{display:block;font-size:9px;letter-spacing:1.4px;color:#6e859e;margin:22px 13px 9px;font-weight:700}.sidebar-footer{border-top:1px solid #ffffff0b;padding:18px 20px;display:flex;flex-direction:row;gap:11px;align-items:center;flex-shrink:0}.avatar{width:34px;height:34px;border-radius:9px;background:#223d54;display:grid;place-items:center;font-size:11px;color:#b8d3e2;font-weight:650}.sidebar-footer strong{display:block;font-size:12px;color:#d9e3ee;max-width:145px;overflow:hidden;text-overflow:ellipsis}.sidebar-footer div>span{font-size:10px;color:#7b92a8}.sidebar-footer form{margin-left:auto}.logout{color:#9aacbe;background:none;border:0;font-size:22px}.app-shell{margin-left:260px;min-width:0}.topbar{height:67px;display:flex;justify-content:space-between;align-items:center;padding:0 37px;background:#ffffffda;border-bottom:1px solid var(--line);gap:15px}.breadcrumb{font-size:11px;color:#8692a1}.breadcrumb span{padding:0 12px;color:#c9d2dc}.breadcrumb strong{color:#4f6175;font-weight:500}.topbar-right{display:flex;align-items:center;gap:25px}.timezone-label{color:#8793a2;font-size:10px}.environment-pill{border:1px solid var(--line);background:#fcfdfe;border-radius:30px;padding:6px 11px;font-size:10px;color:#55667a;display:flex;align-items:center;gap:7px}.environment-pill>span{width:5px;height:5px;border-radius:50%;background:var(--teal)}main#main{padding:32px 37px 0;max-width:1920px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:27px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.65px;color:var(--teal);margin-bottom:8px}.page-heading p{font-size:12px;margin-top:8px;max-width:750px}.heading-actions{display:flex;gap:8px;flex-shrink:0}.button{border:1px solid transparent;border-radius:7px;padding:9px 14px;font-size:11px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;white-space:nowrap}.button span{font-size:16px;font-weight:400;line-height:1}.button.primary{color:white;background:var(--teal);border-color:var(--teal)}.button.primary:hover{background:#007a73}.button.secondary{background:white;border-color:#dbe3eb;color:#526477}.button.secondary:hover{background:#f9fbfc;border-color:#b9c8d6}.button.ghost{background:transparent;border-color:transparent;color:var(--teal);padding:6px 8px}.button.small{min-height:28px;padding:5px 9px;font-size:10px}.button.danger{background:var(--red);color:white}.icon-button{border:0;background:transparent;color:var(--muted);font-size:23px;border-radius:7px;width:32px;height:32px;padding:0}.mobile-menu{display:none}.filter-bar{display:flex;gap:13px;align-items:flex-end;background:white;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:var(--radius);padding:15px 18px;margin-bottom:24px;flex-wrap:wrap}.filter-bar label{font-size:9px;font-weight:600;color:#8090a2;display:flex;flex-direction:column;gap:5px}.filter-bar select,.filter-bar input{height:33px;font-size:11px;border:1px solid #e1e7ed;border-radius:6px;color:#42566f;background:#fff;padding:0 9px;max-width:200px}.filter-bar input[type=date]{max-width:142px}.date-divider{align-self:center;color:#acb9c5;margin-top:17px}.filter-apply{margin-left:auto;min-height:33px}.notice{padding:14px 17px;border-radius:9px;border:1px solid #dce8f8;background:var(--blue-soft);color:#4a668c;display:flex;align-items:flex-start;gap:11px;font-size:12px;margin-bottom:21px}.notice.warning{background:var(--amber-soft);border-color:#f0e2be;color:#8e713b}.notice.error{background:var(--red-soft);border-color:#f3d6d7;color:#a24348}.notice.success{background:var(--teal-soft);border-color:#c4e9df;color:#367b6b}.notice p{color:inherit}.notice-title{font-weight:650;margin-bottom:3px}.notice-symbol{font-size:17px;line-height:1.2}.notice-actions{margin-left:auto;flex-shrink:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:25px 0 13px}.section-heading h2{font-size:15px}.section-heading p{font-size:11px}.section-heading .muted{font-size:10px}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:0 0 21px}.metric-card{border:1px solid var(--line);border-radius:var(--radius);background:white;box-shadow:var(--shadow);padding:20px;position:relative;overflow:hidden}.metric-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.metric-label{font-size:11px;color:#78899c}.metric-symbol{display:grid;place-items:center;width:27px;height:27px;border-radius:7px;background:var(--teal-soft);color:var(--teal);font-size:14px}.metric-card:nth-child(2) .metric-symbol{color:#5883c0;background:#edf3fb}.metric-card:nth-child(3) .metric-symbol{color:#b68b35;background:#fcf6e9}.metric-card:nth-child(4) .metric-symbol{color:#8b78be;background:#f3f0fb}.metric-value{font-size:31px;line-height:1.15;font-weight:650;letter-spacing:-.9px;margin-top:13px}.metric-unit{font-size:16px;color:#75859b;font-weight:400;margin-left:6px;letter-spacing:0}.metric-detail{font-size:10px;color:#8b99a8;margin-top:10px;min-height:15px}.metric-card.unavailable .metric-value{color:#b7c3cf}.panels-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:20px;margin-bottom:20px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 20px;border-bottom:1px solid #edf1f5}.panel-header h2{font-size:13px}.panel-header p{font-size:10px;margin-top:3px}.panel-body{padding:20px}.panel-body>.notice:last-child{margin-bottom:0}.tag{display:inline-flex;align-items:center;gap:5px;font-size:9px;line-height:1.4;padding:4px 8px;border-radius:5px;font-weight:550;white-space:nowrap;background:#eff3f7;color:#7a899b}.tag.success{background:var(--teal-soft);color:#278877}.tag.warning{background:var(--amber-soft);color:#a5833f}.tag.error{background:var(--red-soft);color:#b65257}.tag.blue{background:var(--blue-soft);color:#5580b8}.tag-dot{height:4px;width:4px;border-radius:50%;background:currentColor}.source-list{display:flex;flex-direction:column}.source-row{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid #eff2f6}.source-row:last-child{border-bottom:0}.source-logo{width:33px;height:33px;display:grid;place-items:center;border-radius:8px;background:#edf5fb;color:#6294ba;font-weight:650;font-size:12px;flex-shrink:0}.source-logo.moysklad{background:#eef7ef;color:#69a372}.source-logo.quickrun{background:#fff4e9;color:#bc8b56}.source-info{flex:1;min-width:0}.source-info h3{font-size:11px}.source-info p{font-size:10px;margin-top:3px;overflow-wrap:anywhere}.source-status{display:flex;flex-direction:column;align-items:flex-end;gap:5px}.source-status small{font-size:9px;color:#98a4b3}.source-row .button{flex-shrink:0}.quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:22px}.quick-action{display:flex;align-items:center;gap:12px;padding:16px 17px;border:1px solid var(--line);border-radius:9px;background:white;color:var(--ink);min-width:0}.quick-action:hover{border-color:#9accc5}.quick-action-icon{height:34px;width:34px;display:grid;place-items:center;border-radius:8px;font-size:18px;background:#f0f6f8;color:#517a87;flex-shrink:0}.quick-action strong{display:block;font-size:11px}.quick-action small{display:block;color:#8b98a8;font-size:10px;margin-top:2px}.quick-action .arrow{margin-left:auto;color:#9aabba}.empty-state{padding:43px 22px;text-align:center;max-width:530px;margin:0 auto}.empty-icon{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;margin:0 auto 15px;background:#f1f5f8;color:#97adbf;font-size:24px}.empty-state h3{font-size:13px;margin-bottom:7px}.empty-state p{font-size:11px;line-height:1.8}.empty-state .button{margin-top:15px}.coverage-row{padding:13px 20px;background:#fbfcfd;border-top:1px solid #edf1f5;border-radius:0 0 var(--radius) var(--radius);font-size:10px;color:#8898aa;display:flex;justify-content:space-between;gap:12px}.chart{width:100%;height:220px;display:block}.chart text{font-size:10px;fill:#8b9aaa;font-family:inherit}.chart-grid{stroke:#edf1f5;stroke-dasharray:3 4}.chart-empty{height:220px;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;background:repeating-linear-gradient(to bottom,transparent 0,transparent 43px,#f0f3f7 44px,transparent 45px);margin:0 5px}.chart-empty .tag{background:white;padding:8px 12px;border:1px solid var(--line)}.chart-empty p{font-size:10px;margin-top:9px;background:white;padding:3px 10px}.tabs{display:flex;gap:7px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin:0 0 19px}.tab{border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:#8593a4;font-size:11px;padding:10px 13px 12px}.tab.active{color:var(--teal);border-bottom-color:var(--teal);font-weight:600}.table-toolbar{padding:15px 20px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.table-title h2{font-size:13px}.table-title p{font-size:10px;margin-top:3px}.table-search{border:1px solid var(--line);border-radius:6px;height:32px;width:220px;font-size:11px;padding:0 10px;background:#fcfdfe}.table-scroll{overflow-x:auto;max-width:100%}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;font-size:9px;text-transform:uppercase;letter-spacing:.5px;color:#8795a6;font-weight:600;background:#f9fafc;padding:12px 16px;border-bottom:1px solid var(--line)}th button{background:none;border:0;padding:0;color:inherit;font:inherit;text-transform:inherit;letter-spacing:inherit}td{font-size:11px;padding:13px 16px;border-bottom:1px solid #eff2f6;color:#516579;max-width:400px;overflow:hidden;text-overflow:ellipsis}tbody tr:hover{background:#fafcfd}tbody tr:last-child td{border-bottom:0}td.wrap{white-space:normal;min-width:180px;max-width:320px}.cell-muted{color:#a5b1be}.cell-strong{font-weight:600;color:var(--ink)}.table-footer{padding:13px 20px;border-top:1px solid var(--line);font-size:10px;color:#8c9bad;display:flex;align-items:center;justify-content:space-between;gap:12px}.pagination{display:flex;align-items:center;gap:7px}.pagination button{border:1px solid var(--line);border-radius:5px;background:white;min-height:27px;min-width:27px;color:#6a7c90;font-size:12px}.pagination button:disabled{cursor:default;opacity:.35}.page-footer{font-size:9px;color:#9aa8b6;padding:24px 0 22px;display:flex;justify-content:space-between;gap:15px}.loading-state{padding:80px 20px;display:flex;align-items:center;justify-content:center;gap:12px;color:#8c9aad;font-size:12px}.spinner{border:2px solid #d8e6e9;border-top-color:var(--teal);width:19px;height:19px;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.toast{position:fixed;bottom:24px;right:25px;max-width:490px;padding:14px 20px;color:white;background:#183349;box-shadow:0 5px 30px #12263c33;border-radius:9px;z-index:120;font-size:12px}.toast.error{background:#a34850}.muted{color:var(--muted)}.small-text{font-size:11px}.source-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:22px}.source-card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:20px;display:flex;flex-direction:column;gap:14px}.source-card-top{display:flex;align-items:center;gap:10px}.source-card-top h2{font-size:13px}.source-card-top .tag{margin-left:auto}.source-card p{font-size:11px}.source-card dl{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:9px;font-size:10px}.source-card dt{color:#8d9aaa}.source-card dd{margin:0;text-align:right;color:#586d81}.source-card .button{margin-top:auto}.import-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.import-card{padding:22px}.import-card h2{font-size:14px;margin-bottom:7px}.import-card p{font-size:11px;min-height:35px}.import-card label{display:flex;margin:16px 0 13px;flex-direction:column;gap:7px;font-size:10px;color:var(--muted)}input[type=file]{max-width:100%;border:1px dashed #ccd8e3;border-radius:7px;padding:12px;background:#f9fbfd;font-size:10px}input[type=file]::file-selector-button{border:0;border-radius:4px;background:#e9eff5;color:#566d81;padding:6px 9px;margin-right:8px;font:inherit}.import-plan{margin-top:15px;border-top:1px solid var(--line);padding-top:15px}.import-plan pre,.json-view{white-space:pre-wrap;word-break:break-word;background:#f7f9fc;border:1px solid var(--line);border-radius:6px;font-size:10px;color:#56708a;padding:12px;max-height:260px;overflow:auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#687d91}.field input,.field select,.field textarea{border:1px solid #d9e2eb;border-radius:6px;background:white;padding:10px 11px;font-size:12px;color:var(--ink);min-width:0;width:100%}.field textarea{min-height:90px;resize:vertical}.field.full{grid-column:1/-1}.field small{color:#9aa8b7;font-size:10px}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.editor-dialog{max-width:620px;width:calc(100% - 36px);padding:0;border:1px solid var(--line);border-radius:14px;box-shadow:0 22px 100px #10243a33;max-height:90vh}.editor-dialog::backdrop{background:#0b1d3488;backdrop-filter:blur(3px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--line)}.dialog-header h2{font-size:17px}#dialog-body{padding:23px}.editor-dialog .notice{font-size:11px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.settings-card{padding:21px}.settings-card h2{font-size:14px;margin-bottom:6px}.settings-card p{font-size:11px}.settings-card textarea{font-family:Consolas,monospace;min-height:190px;font-size:11px;width:100%;border:1px solid var(--line);border-radius:6px;padding:12px;margin:15px 0 8px;resize:vertical;color:#44617a;background:#fcfdff}.setting-version{font-size:10px;color:#92a0b1;margin-left:10px}.checkbox-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.check-label{display:flex;align-items:center;gap:7px;font-size:11px;color:#61788c}.check-label input{accent-color:var(--teal)}.map-container{height:430px;background:#e9eef3;border-radius:0 0 12px 12px;z-index:1}.map-controls{display:flex;gap:10px;font-size:11px;align-items:center}.map-popup-title{font-size:12px;font-weight:650}.map-popup-list{padding-left:16px;margin:7px 0;font-size:11px;max-height:180px;overflow:auto}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.detail-item dt{font-size:10px;color:#8899ab}.detail-item dd{font-size:12px;margin:5px 0 0;color:#465f77;overflow-wrap:anywhere}.detail-item.wide{grid-column:1/-1}.action-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.action-row p{font-size:11px}.action-row-buttons{display:flex;gap:8px}.auth-page{min-height:100vh;background:white}.auth-layout{min-height:100vh;display:grid;grid-template-columns:44% 56%}.auth-story{background:radial-gradient(ellipse at 90% 75%,#193e52 0,transparent 48%),linear-gradient(140deg,#102b40,#0d2036);color:#fff;padding:36px 12%;display:flex;flex-direction:column;position:relative;overflow:hidden}.auth-story:after{content:"";border:1px solid #ffffff08;border-radius:50%;position:absolute;width:620px;height:620px;bottom:-240px;right:-360px;box-shadow:0 0 0 90px #ffffff02,0 0 0 180px #ffffff01;pointer-events:none}.auth-story .brand{margin:0}.auth-story-content{margin:auto 0;padding:60px 0}.auth-story .eyebrow{color:#56cdb6;font-size:10px;letter-spacing:2px;margin-bottom:23px}.auth-story h1{font-size:clamp(30px,3.6vw,53px);font-weight:550;letter-spacing:-1.6px;line-height:1.22}.auth-story p{color:#92adc3;font-size:14px;line-height:1.9;margin:24px 0 30px}.auth-pills{display:flex;gap:9px;flex-wrap:wrap}.auth-pills span{font-size:9px;color:#8cb1c2;border:1px solid #ffffff16;border-radius:20px;padding:7px 11px}.auth-story-footer{font-size:10px;color:#668399}.auth-form-wrap{display:flex;align-items:center;justify-content:center;padding:50px 10%}.auth-form{width:100%;max-width:380px}.auth-form .eyebrow{font-size:9px;letter-spacing:1.4px}.auth-form h2{font-size:25px;line-height:1.35;letter-spacing:-.6px;margin:12px 0}.auth-form>p{font-size:12px;line-height:1.8;margin-bottom:31px}.auth-form>label{display:flex;flex-direction:column;font-size:11px;color:#627b8e;gap:8px;margin-bottom:18px}.auth-form input{border:1px solid #dce4ec;border-radius:7px;padding:13px 14px;font-size:12px;background:#fcfdfe;color:var(--ink)}.auth-form input::placeholder{color:#a4b2c1}.auth-form>.button{width:100%;height:44px;justify-content:space-between;font-size:12px;margin-top:9px}.auth-note{border-top:1px solid var(--line);margin-top:29px;padding-top:22px;font-size:10px;color:#9aa9b8;line-height:1.9}.code-label{font:10px Consolas,monospace;color:#7592ac;padding:2px 5px;background:#f0f5f9;border-radius:3px}.source-detail{margin-top:8px;font-size:10px;color:#8396a9;overflow-wrap:anywhere}.inline-code{font:11px Consolas,monospace}.rule-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:15px}.rule-chip{border:1px solid var(--line);border-radius:6px;padding:7px 10px;background:white;color:#657b91;font-size:10px}.rule-chip.active{border-color:#8bccbd;background:var(--teal-soft);color:var(--teal)}.rule-chip strong{margin-left:5px}.matrix-scroll{overflow:auto}.table-link{color:var(--teal);background:none;border:0;font:inherit;padding:0;text-align:left}.table-link:hover{text-decoration:underline}.status-legend{display:flex;gap:15px;font-size:10px;color:#8495a8;flex-wrap:wrap;margin-bottom:15px}.legend-dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px;background:var(--teal)}.legend-dot.blue{background:var(--blue)}.legend-dot.amber{background:#d3a553}.toolbar-actions{display:flex;gap:8px;align-items:center}.no-wrap{white-space:nowrap}.error-list{padding-left:20px;font-size:11px;color:var(--red);line-height:1.8}.successful-result{font-size:11px;color:var(--teal);padding:12px 0}.source-cards:empty{display:none}
.metrics-grid.metrics-pair{grid-template-columns:repeat(2,minmax(0,1fr))}.chart-caption{font-size:10px;color:#8b9bad;margin-bottom:7px}.settings-form{margin-top:20px}.settings-records{margin:16px 0;max-height:340px;overflow:auto}.settings-record{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid var(--line)}.settings-record:last-child{border-bottom:0}.settings-record strong{display:block;font-size:11px;font-weight:550}.settings-record small{display:block;font-size:9px;color:#8c9bab;margin-top:3px}.calendar-periods{display:flex;flex-direction:column;gap:13px}.calendar-period-row .button{grid-column:1/-1;justify-self:start;margin-top:-10px}.field input[type=checkbox]{width:14px;min-width:14px;height:14px;padding:0}.field.check-label{display:flex;flex-direction:row;align-items:center}.settings-form details summary{cursor:pointer;color:#658399}.source-progress{font-size:10px;color:var(--teal);min-height:15px}.settings-form .check-label{font-size:10px}
@media(min-width:1600px){main#main{padding:39px 48px 0}.topbar{padding:0 48px}.metric-card{padding:23px}.source-row{padding:20px}.nav-item{font-size:12px}}
@media(max-width:1180px){.sidebar{width:228px}.app-shell{margin-left:228px}.brand{margin-left:22px;gap:12px}.brand-caption{font-size:8px;padding-left:12px}.nav-item{font-size:11px;padding:9px 10px}.nav-group{font-size:8px}.topbar{padding:0 24px}main#main{padding:27px 24px 0}.timezone-label{display:none}.metrics-grid{gap:11px}.metric-card{padding:16px}.metric-value{font-size:27px}.source-cards{gap:12px}.source-card{padding:15px}.source-card-top{flex-wrap:wrap}.source-card-top .tag{margin-left:0}.filter-bar{gap:10px}.page-heading{align-items:flex-start}.heading-actions{padding-top:19px}.page-heading h1{font-size:26px}.button{padding:8px 11px}.source-row{padding:14px}.quick-action{padding:13px;gap:9px}.quick-action-icon{height:28px;width:28px}.quick-action small{font-size:9px}}
@media(max-width:920px){.panels-grid{grid-template-columns:1fr}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-actions{grid-template-columns:1fr}.source-cards{grid-template-columns:1fr}.source-card{display:grid;grid-template-columns:1fr 1fr}.source-card .button{grid-column:2}.settings-grid,.import-grid{grid-template-columns:1fr}.source-status{min-width:80px}.heading-actions{flex-direction:column;gap:5px}.filter-bar label{flex:1;min-width:100px}.filter-bar select,.filter-bar input{max-width:100%;width:100%}.date-divider{display:none}.filter-apply{margin-left:0}.auth-layout{grid-template-columns:40% 60%}.auth-story{padding:35px 10%}.auth-story h1{font-size:32px}.auth-story p{font-size:12px}.auth-form-wrap{padding:45px 10%}.auth-story .brand-caption{display:none}}
@media(max-width:700px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:250px;box-shadow:0 0 40px #10243a44}.sidebar.open{transform:translateX(0)}.app-shell{margin-left:0}.mobile-menu{display:block}.topbar{height:57px;padding:0 17px}.breadcrumb{margin-right:auto;font-size:10px}.breadcrumb span{padding:0 7px}.environment-pill{display:none}main#main{padding:23px 17px 0}.page-heading{gap:10px;margin-bottom:20px}.page-heading h1{font-size:23px}.page-heading p{font-size:11px}.eyebrow{font-size:8px}.heading-actions{padding-top:0}.heading-actions .button{font-size:0;width:34px;min-height:34px;padding:7px}.heading-actions .button span{font-size:17px}.filter-bar{padding:12px;gap:10px}.filter-bar label{min-width:110px}.filter-bar input[type=date]{max-width:100%}.filter-apply{flex:1}.metrics-grid{gap:10px}.metric-card{padding:14px}.metric-value{font-size:26px}.metric-label{font-size:10px}.metric-symbol{display:none}.metric-detail{font-size:9px}.table-toolbar{padding:13px;flex-wrap:wrap}.table-search{width:100%}.toolbar-actions{flex:1}.table-footer{padding:12px}.source-card{display:flex}.page-footer{font-size:8px}.source-row{gap:10px}.source-status small{display:none}.source-row .source-info p{max-width:150px}.source-row .button{font-size:9px}.auth-layout{grid-template-columns:1fr}.auth-story{padding:28px 8%;min-height:225px}.auth-story-content{padding:25px 0 5px}.auth-story h1{font-size:30px}.auth-story h1 br{display:none}.auth-story p,.auth-pills,.auth-story-footer,.auth-story-content .eyebrow{display:none}.auth-story .brand-mark{font-size:30px}.auth-story .brand-caption{display:block}.auth-form-wrap{padding:35px 8% 50px}.auth-form h2{font-size:23px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:1}.form-actions{flex-wrap:wrap}.checkbox-grid{grid-template-columns:1fr}.detail-grid{grid-template-columns:1fr}.detail-item.wide{grid-column:1}.action-row{flex-wrap:wrap}.map-container{height:350px}.notice-actions{display:none}}
.action-row-buttons{flex-wrap:wrap}
.reservation-links{list-style:none;padding:0;margin:0;min-width:210px;max-width:390px;display:flex;flex-direction:column;gap:11px;white-space:normal}.reservation-links li{display:flex;flex-direction:column;gap:3px;overflow-wrap:anywhere}.reservation-links small{color:var(--muted);font-size:10px;line-height:1.5}
.warehouse-sync{display:flex;align-items:center;justify-content:space-between;gap:22px;border:1px solid var(--line);border-radius:12px;padding:20px 22px;background:#fff;margin:18px 0 12px}.warehouse-sync-info{min-width:0}.warehouse-sync-info strong{font-size:13px}.warehouse-sync-info p{font-size:11px;line-height:1.7;margin-top:6px;max-width:740px}.warehouse-sync>.button{flex-shrink:0;white-space:normal}.warehouse-progress{padding:0 6px;margin-bottom:14px}.warehouse-sync-summary,.warehouse-explainer{font-size:11px;line-height:1.75;margin:12px 0 18px;color:var(--muted)}.warehouse-action-suggestion{display:flex;flex-direction:column;align-items:flex-start;gap:7px;border-radius:7px;background:var(--teal-soft);padding:12px;margin-top:15px}.field-help{font-size:11px;line-height:1.65;color:var(--muted);margin-top:12px}.warehouse-action-suggestion .field-help{margin:0}@media(max-width:700px){.warehouse-sync{align-items:flex-start;flex-direction:column;padding:17px;gap:14px}.warehouse-sync>.button{width:100%;justify-content:center}.warehouse-sync>.tag{white-space:normal}}
.filter-period-note{font-size:11px;line-height:1.6;margin:-13px 2px 21px;color:var(--muted)}
.report-group-controls{display:flex;align-items:flex-end;gap:20px;margin:0 0 18px;flex-wrap:wrap}.report-group-controls .field{min-width:220px;max-width:100%}.report-group-controls p{font-size:11px;max-width:650px;line-height:1.7;margin-bottom:8px}
.bar-chart{margin:0;min-width:0;width:100%;container-type:inline-size}.bar-chart .chart-caption{font-size:11px;margin-bottom:10px}.chart-scroll-note{font-size:10px;line-height:1.6;margin-bottom:8px}.bar-chart-scroll{min-width:0}.bar-chart-scroll.is-long{max-height:620px;overflow:auto;scrollbar-width:thin;scrollbar-color:#a6c5c0 transparent;padding-right:6px}.bar-chart-scroll:focus-visible{outline:2px solid #69b5ff;outline-offset:4px}.bar-chart-list{padding:0;margin:0;list-style:none;display:flex;flex-direction:column}.bar-chart-row{display:grid;grid-template-columns:minmax(0,42%) minmax(28px,1fr) minmax(42px,max-content);column-gap:12px;align-items:center;min-height:39px;padding:9px 0;border-bottom:1px solid #edf1f5}.bar-chart-row:last-child{border-bottom:0}.bar-chart-label{font-size:12px;line-height:1.55;color:#526477;white-space:normal;overflow-wrap:anywhere;min-width:0}.bar-chart-value{font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums;color:var(--ink);text-align:right;white-space:nowrap}.bar-chart-track{display:block;height:13px;min-width:0;position:relative;border-radius:3px;background:#f1f6f6}.bar-chart-fill{position:absolute;top:0;height:100%;border-radius:3px;background:#56b7a9}.bar-chart-fill.negative{background:#d98d91}.bar-chart-zero{position:absolute;top:-3px;height:19px;border-left:1px solid #90a4aa;z-index:1}.table-link{overflow-wrap:anywhere}.source-card dt{overflow-wrap:anywhere}.source-card dd{font-variant-numeric:tabular-nums}
@container(max-width:430px){.bar-chart-row{grid-template-columns:minmax(0,1fr) minmax(42px,max-content);row-gap:6px;padding:10px 0}.bar-chart-label{grid-column:1/-1}.bar-chart-track{height:12px}}
@media(max-width:500px){.bar-chart-row{grid-template-columns:minmax(0,1fr) minmax(42px,max-content);row-gap:6px;padding:10px 0}.bar-chart-label{grid-column:1/-1}.report-group-controls .field{width:100%}.table-panel td.wrap{min-width:160px}.source-card dl{grid-template-columns:minmax(0,1fr) minmax(80px,auto)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Source sync controls and progress remain readable with both API versions. */
.source-sync-form{display:flex;flex-direction:column;gap:12px;flex:1;min-width:0;grid-column:1/-1}.sync-period-caption{font-size:11px;font-weight:600;color:var(--ink)}.sync-period{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sync-period .field{font-size:10px;min-width:0}.sync-period input{font-size:11px;padding:8px 7px;min-width:0;width:100%}.sync-period input:disabled{background:#f5f7f9;color:#8999a9}.sync-period small{font-size:9px;line-height:1.4}.source-sync-form .sync-scope{font-size:10px;line-height:1.65}.source-sync-form>.button{align-self:flex-start;margin-top:auto;max-width:100%;white-space:normal}.source-progress{display:flex;flex-direction:column;gap:5px;overflow-wrap:anywhere}.source-progress:empty{display:none}.sync-progress-title{font-weight:600;line-height:1.6}.sync-progress-detail{color:#72869a;line-height:1.6}.sync-meter{appearance:none;width:100%;height:6px;border:0;border-radius:10px;overflow:hidden;background:#eaf0f4;margin:2px 0 5px}.sync-meter::-webkit-progress-bar{background:#eaf0f4;border-radius:10px}.sync-meter::-webkit-progress-value{background:var(--teal);border-radius:10px}.sync-meter::-moz-progress-bar{background:var(--teal);border-radius:10px}

/* Source schedules are independent forms and retain space for long statuses. */
.source-cards{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}.source-card{min-width:0}.source-sync-form{flex:none}.source-control-heading,.source-schedule h3{font-size:12px;font-weight:650;color:var(--ink);margin:0}.source-schedule{border-top:1px solid var(--line);padding-top:18px;min-width:0;grid-column:1/-1;display:flex;flex-direction:column;gap:13px}.schedule-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.schedule-heading .tag{font-size:9px;white-space:normal}.source-schedule-form{display:flex;flex-direction:column;gap:11px;min-width:0}.schedule-toggle{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.65;color:var(--ink);cursor:pointer}.schedule-toggle input{width:16px;height:16px;flex:0 0 16px;margin:2px 0 0;accent-color:var(--teal)}.schedule-interval{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px}.source-schedule .field{min-width:0;font-size:10px}.source-schedule .field input,.source-schedule .field select{font-size:11px;padding:9px 8px;min-width:0;max-width:100%}.source-schedule .field input:disabled,.source-schedule .field select:disabled{background:#f5f7f9;color:#718498}.source-schedule .schedule-help,.source-schedule .schedule-readonly{font-size:10px;line-height:1.65;overflow-wrap:anywhere}.source-schedule .schedule-readonly{padding:10px;background:#f3f6f9;border-radius:6px}.source-schedule .schedule-save{align-self:flex-start;margin-top:1px;max-width:100%;white-space:normal}.source-schedule .schedule-feedback:empty{display:none}.source-schedule .schedule-feedback .notice{padding:11px;margin:0 0 8px;gap:8px}.source-schedule .schedule-feedback .notice-title{font-size:11px}.source-schedule .schedule-feedback p{font-size:10px;line-height:1.6}.source-schedule .schedule-feedback .button{white-space:normal;max-width:100%;margin-top:8px}.source-schedule .schedule-details{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:8px;font-size:10px}.schedule-details dd{overflow-wrap:anywhere}.source-schedule .schedule-timezone{font-size:9px;color:#8194a5;overflow-wrap:anywhere}.source-schedule .schedule-reason{font-size:10px;line-height:1.65;padding:10px 11px;border-radius:6px;background:#f5f8fa;color:#60788b;overflow-wrap:anywhere}.settings-card>a.button{display:inline-flex;white-space:normal;margin-top:16px}
@media(max-width:1180px) and (min-width:921px){.source-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:920px){.source-cards{grid-template-columns:minmax(0,1fr)}.source-card{display:flex;flex-direction:column}.source-card .button{grid-column:auto}.source-schedule{width:100%}}
@media(max-width:380px){.source-card{padding:13px}.schedule-interval{grid-template-columns:minmax(0,1fr)}.source-schedule .schedule-details{grid-template-columns:minmax(0,1fr)}.source-schedule .schedule-details dd{text-align:left;margin-bottom:4px}.source-card-top .tag{max-width:100%;white-space:normal}}
