:root{font-family:Segoe UI,Arial,sans-serif;color:#1d2935;background:#f4f6f8;font-synthesis:none;text-rendering:optimizeLegibility;--teal: #0f766e;--teal-dark: #095c57;--ink: #1d2935;--muted: #697580;--line: #dfe5ea;--panel: #ffffff}*{box-sizing:border-box}body{margin:0;min-height:100vh;overflow-x:hidden;background:radial-gradient(circle at 82% -20%,rgba(15,118,110,.08),transparent 34%),#f4f6f8}.auth-screen{display:grid;min-height:100vh;place-items:center;padding:32px;background:#edf2f5}.auth-card{width:min(420px,100%);padding:32px;border:1px solid #d7e2e8;border-radius:8px;background:#fff;box-shadow:0 18px 45px #182a3614}.auth-card-compact{text-align:center}.auth-mark{display:grid;width:42px;height:42px;margin-bottom:18px;place-items:center;border-radius:10px;color:#fff;background:#149489;font-weight:800}.auth-card-compact .auth-mark{margin-inline:auto}.auth-card h1{margin:0 0 8px;font-size:26px;line-height:1.2}.auth-card p{margin:0 0 22px;color:var(--muted)}.auth-card label,.admin-user-form label{display:grid;gap:7px;margin-bottom:14px;color:#526371;font-size:12px;font-weight:800}.auth-card input,.admin-user-form input,.admin-user-form select{width:100%;height:42px;border:1px solid #d7e2e8;border-radius:8px;padding:0 12px;color:var(--ink);background:#fff;outline:none}.auth-card input:focus,.admin-user-form input:focus,.admin-user-form select:focus{border-color:#149489;box-shadow:0 0 0 3px #1494891f}.auth-check{display:flex!important;grid-template-columns:none;align-items:center;gap:9px!important}.auth-check input{width:16px;height:16px}.auth-error{margin:10px 0 14px;border:1px solid #fecaca;border-radius:8px;padding:10px 12px;color:#b91c1c;background:#fef2f2;font-size:13px;font-weight:700}.auth-submit{width:100%;justify-content:center}.bitrix-login{display:block;margin-top:14px;color:var(--teal);font-size:13px;font-weight:800;text-align:center;text-decoration:none}.sidebar-user{margin-top:auto;margin-bottom:14px;border:1px solid rgba(255,255,255,.12);border-radius:8px;padding:12px;background:#ffffff0d}.sidebar-user strong,.sidebar-user small{display:block}.sidebar-user small{margin-top:3px;color:#ffffffa6;font-size:11px}.sidebar-user button{display:inline-flex;align-items:center;gap:7px;margin-top:10px;border:0;padding:0;color:#b7f4ed;background:transparent;font-weight:800}.admin-access-page{display:grid;gap:18px}.admin-access-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.admin-access-summary article{border:1px solid #d7e2e8;border-radius:8px;padding:14px 16px;background:#fff}.admin-access-summary span{display:block;color:#60717d;font-size:12px;font-weight:800}.admin-access-summary strong{display:block;margin-top:4px;color:var(--ink);font-size:24px;line-height:1}.admin-users-panel{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(360px,.55fr);gap:18px;align-items:start}.admin-users-list,.admin-user-form{border:1px solid #d7e2e8;border-radius:8px;padding:18px;background:#fff}.admin-user-cards{display:grid;gap:10px;margin-top:16px}.admin-user-cards article{display:grid;grid-template-columns:minmax(220px,1fr) 150px 96px auto;align-items:center;gap:14px;border:1px solid #e2e8ee;border-radius:8px;padding:14px;background:#fbfdfe}.admin-user-cards article.is-disabled{opacity:.62}.admin-user-cards strong,.admin-user-cards span,.admin-user-cards small{display:block}.admin-user-cards span,.admin-user-cards small{color:var(--muted);font-size:12px}.admin-user-cards b{color:var(--teal);font-size:12px}.admin-user-actions{display:flex;gap:8px}.bitrix-user-import{margin-top:16px}.admin-search{display:flex;align-items:center;gap:9px;margin:10px 0 12px;border:1px solid #d7e2e8;border-radius:8px;padding:0 12px;background:#fff}.admin-search input{width:100%;height:40px;border:0;outline:none;background:transparent}.bitrix-user-list{display:grid;max-height:540px;overflow:auto;border:1px solid #e2e8ee;border-radius:10px;background:#fbfdfe}.bitrix-user-list article{display:grid;grid-template-columns:38px minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:62px;padding:10px 12px;border-bottom:1px solid #e7eef2;background:#fff}.bitrix-user-list article.is-linked{background:#f4fbfa}.bitrix-user-list article:last-child{border-bottom:0}.bitrix-user-list strong,.bitrix-user-list span{display:block}.bitrix-user-list span{margin-top:2px;color:var(--muted);font-size:12px}.bitrix-user-list b{color:var(--teal);font-size:12px}.bitrix-user-avatar{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;color:#08766d;background:#dff4f1;font-size:12px;font-weight:900}.access-toggle{position:relative;width:46px;height:26px;border:0;border-radius:999px;background:#cbd5dc;transition:background .15s ease,opacity .15s ease}.access-toggle span{position:absolute;top:4px;left:4px;width:18px;height:18px;border-radius:999px;background:#fff;box-shadow:0 1px 4px #172a3638;transition:transform .15s ease}.access-toggle.is-on{background:#0f8f83}.access-toggle.is-on span{transform:translate(20px)}.access-toggle:disabled{cursor:not-allowed;opacity:.55}.secondary-button.compact{min-height:30px;padding:0 11px;font-size:11px}.admin-user-form{position:sticky;top:18px}.permissions-grid{display:grid;grid-template-columns:1fr;gap:8px;margin:12px 0 18px}.permissions-grid label{display:flex;align-items:center;gap:9px;margin:0;border:1px solid #e2e8ee;border-radius:8px;padding:9px 10px;color:var(--ink);background:#fbfdfe;font-size:12px}.permissions-grid input{width:16px;height:16px}.source-normalization-panel{display:grid;gap:14px;border:1px solid #d7e2e8;border-radius:8px;padding:18px;background:#fff}.source-normalization-actions,.source-priority-card header,.source-raw-list header,.source-group-list header,.source-rule-main,.source-rule-condition,.source-group-head{display:flex;align-items:center;gap:10px}.source-normalization-actions{flex-wrap:wrap;justify-content:flex-end}.source-priority-card{display:grid;gap:10px;border:1px solid #e2e8ee;border-radius:8px;padding:14px;background:#fbfdfe}.source-priority-card header,.source-raw-list header,.source-group-list header{justify-content:space-between}.source-priority-card header strong,.source-raw-list header strong,.source-group-list header strong,.source-rule-condition-head strong,.source-rule-priority>strong{color:#263842;font-size:13px}.source-priority-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.source-field-list{display:grid;gap:8px}.source-field-list.is-locked article{opacity:.84}.source-priority-warning{border:1px solid #ead9a8;border-radius:8px;padding:10px 12px;color:#6d5210;background:#fff8df;font-size:12px;font-weight:800;line-height:1.4}.source-field-list article{display:grid;grid-template-columns:34px minmax(160px,.75fr) minmax(260px,1fr) 92px 34px 34px 34px;align-items:end;gap:8px}.source-priority-number{display:grid;width:28px;height:34px;place-items:center;border-radius:8px;color:var(--teal);background:#e9f7f5;font-weight:900}.source-field-list label,.source-rule-condition label{display:grid;gap:4px;margin:0}.source-field-list small{color:#6f7d86;font-size:10px;font-weight:800}.source-field-list input,.source-field-list select,.source-raw-list input,.source-raw-list select,.source-group-head input,.source-rule-main input,.source-rule-condition-head select,.source-rule-condition input,.source-rule-condition select,.source-rule-priority select{width:100%;height:34px;border:1px solid #d9e2e8;border-radius:8px;padding:0 10px;color:#1d2935;background:#fff;font-size:12px}.source-field-list input:disabled,.source-field-list select:disabled,.source-checkbox input:disabled{color:#637480;background:#f3f7f9;cursor:not-allowed}.source-checkbox{display:flex!important;align-items:center;gap:6px;color:#60717d;font-size:11px;font-weight:800}.source-checkbox input{width:15px;height:15px}.source-matching-layout{display:grid;grid-template-columns:minmax(360px,.9fr) minmax(460px,1.1fr);gap:14px;align-items:start}.source-raw-list,.source-group-list{display:grid;gap:10px;min-width:0;border:1px solid #e2e8ee;border-radius:8px;padding:14px;background:#fbfdfe}.source-raw-list>div,.source-group-list>div,.source-rule-list{display:grid;gap:8px;max-height:640px;overflow:auto}.source-raw-section{display:grid;gap:8px}.source-raw-section+.source-raw-section{margin-top:8px;border-top:1px solid #e3ebef;padding-top:10px}.source-raw-section h3{display:flex;align-items:center;justify-content:space-between;margin:0;color:#526471;font-size:11px}.source-raw-section h3 span{display:grid;min-width:24px;height:22px;place-items:center;border-radius:999px;color:var(--teal);background:#e8f7f4;font-size:10px;font-weight:900}.source-raw-section.is-secondary article{opacity:.78}.source-raw-section article{display:grid;grid-template-columns:20px minmax(0,1fr) minmax(160px,.55fr);align-items:center;gap:9px;border:1px solid #e0e8ed;border-radius:8px;padding:10px;background:#fff;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.source-raw-section article:hover{border-color:#8bd2c9;box-shadow:0 8px 20px #14454e14;transform:translateY(-1px)}.source-raw-section article.is-mapped{border-color:#b8e3dc;background:#f3fbfa}.source-raw-section article svg{color:#8da1aa}.source-raw-section strong,.source-raw-section span{display:block}.source-raw-section strong{color:#20313b;font-size:12px;line-height:1.25}.source-raw-section span{margin-top:3px;color:#6f7d86;font-size:10px}.source-group-list article{display:grid;gap:8px;border:1px solid #e0e8ed;border-radius:8px;padding:10px;background:#fff}.source-group-head{display:grid;grid-template-columns:minmax(0,1fr) 92px 34px 34px}.source-group-drop{display:flex;min-height:38px;flex-wrap:wrap;gap:6px;align-items:center;border:1px dashed #c8d7dd;border-radius:8px;padding:8px;color:#7b8b94;background:#f7fafb;font-size:11px}.source-group-drop b{display:inline-flex;align-items:center;gap:5px;max-width:min(100%,420px);border-radius:7px;padding:4px 7px;color:#0b6f67;background:#e4f5f2;font-size:10px}.source-group-drop b span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source-group-drop b button{display:grid;width:16px;height:16px;flex:0 0 auto;place-items:center;border:0;border-radius:50%;padding:0;color:#0b6f67;background:transparent}.source-group-drop b button:hover{color:#fff;background:var(--teal)}.source-details-backdrop,.source-rules-backdrop{position:fixed;inset:0;z-index:1300;display:grid;place-items:center;padding:24px;background:#15262f94}.source-details-modal,.source-rules-modal{display:grid;gap:14px;width:min(1120px,100%);max-height:calc(100vh - 48px);overflow:auto;border:1px solid #d7e2e8;border-radius:10px;padding:18px;background:#fff;box-shadow:0 24px 70px #12263042}.source-details-modal{width:min(1540px,calc(100vw - 28px));max-height:calc(100vh - 28px);padding:14px}.source-details-modal header,.source-rules-modal header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.source-details-modal header h2{margin:2px 0 4px;font-size:20px}.source-details-modal header span{color:#667783;font-size:12px;font-weight:700}.source-details-summary{border:1px solid #c9e9e4;border-radius:8px;padding:8px 10px;color:#0a7066;background:#edf9f7;font-size:11px;font-weight:800}.source-details-list{display:grid;gap:7px;max-height:min(760px,calc(100vh - 210px));overflow:auto;padding-right:4px}.source-details-card{display:grid;gap:7px;border:1px solid #e0e8ed;border-radius:8px;padding:9px;background:#fbfdfe}.source-details-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid #e5edf1;padding-bottom:7px}.source-details-card-head span{display:block;margin-bottom:2px;color:#0a8176;font-size:10px;font-weight:900;text-transform:uppercase}.source-details-card-head a{color:inherit;text-decoration:none}.source-details-card-head a:hover strong{color:var(--teal);text-decoration:underline}.source-details-card-head strong{color:#142532;font-size:13px;line-height:1.25}.source-details-card-head time{flex:0 0 auto;color:#596b77;font-size:11px;font-weight:800}.source-details-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0}.source-details-meta div,.source-details-fields div{min-width:0;border-radius:8px;padding:6px 8px;background:#f2f7f8}.source-details-meta .source-details-trace{grid-column:1 / -1;border:1px solid #bee5de;background:#eaf8f5}.source-details-meta dt,.source-details-fields small{display:block;margin-bottom:2px;color:#71828c;font-size:10px;font-weight:800}.source-details-meta dd{margin:0;color:#1f303b;font-size:11px;font-weight:800}.source-details-trace dd{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center}.source-details-trace dd strong{color:#08786f}.source-details-trace dd span{color:#304653}.source-details-fields{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:6px}.source-details-fields b,.source-details-fields em{display:block}.source-details-fields b{color:#122432;font-size:11px;line-height:1.25;overflow-wrap:anywhere;white-space:pre-wrap}.source-details-fields em{margin-top:4px;color:#84939b;font-size:9px;font-style:normal;font-weight:700;overflow-wrap:anywhere}@media(max-width:1100px){.source-details-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.source-details-meta{grid-template-columns:1fr}}.source-rule-list article{position:relative;display:grid;gap:14px;border:1px solid #bfd7df;border-radius:8px;padding:14px 14px 14px 18px;background:#fff;box-shadow:0 8px 22px #0f384414}.source-rule-list article:before{content:"";position:absolute;inset:12px auto 12px 0;width:4px;border-radius:0 999px 999px 0;background:var(--teal)}.source-rule-main{display:grid;grid-template-columns:minmax(180px,.9fr) minmax(180px,.9fr) 90px 34px 34px 34px;gap:8px;align-items:center}.source-rule-conditions{display:grid;gap:10px;border:1px solid #b9dfe7;border-radius:8px;padding:12px;background:#eef9fb}.source-rule-condition-head{display:grid;grid-template-columns:minmax(120px,.45fr) minmax(220px,1fr) minmax(180px,240px);align-items:center;gap:8px}.source-rule-condition-head strong{display:inline-flex;align-items:center;gap:8px;color:#075c68}.source-rule-condition-head strong:before{content:"";width:8px;height:8px;border-radius:50%;background:#0ea5a5}.source-rule-match-count{display:inline-flex;flex-wrap:wrap;gap:4px 10px;align-items:center;min-height:34px;border:1px solid #bfe8e0;border-radius:8px;padding:6px 10px;color:#08786f;background:#fff;font-size:11px;font-weight:900}.source-rule-match-count em{color:#5f737f;font-size:10px;font-style:normal;font-weight:800}.source-rule-condition{display:grid;grid-template-columns:minmax(180px,.9fr) 150px minmax(200px,1fr) 34px;align-items:center;gap:8px;border-radius:8px;padding:8px;background:#fff}.source-rule-priority{display:grid;gap:8px;border:1px solid #ead7a8;border-radius:8px;padding:12px;background:#fff9e8}.source-rule-priority>strong{display:inline-flex;align-items:center;gap:8px;color:#6b510e}.source-rule-priority>strong:before{content:"";width:8px;height:8px;border-radius:2px;background:#d99a1b}.source-rule-priority>div{display:grid;grid-template-columns:28px minmax(0,1fr) 34px 34px 34px;align-items:center;gap:7px;border-radius:8px;padding:6px;background:#fff}.source-rule-priority>div>span{display:grid;width:26px;height:30px;place-items:center;border-radius:8px;color:#075c68;background:#dff5f2;font-size:11px;font-weight:900}@media(max-width:1400px){.source-field-list article,.source-matching-layout{grid-template-columns:1fr}.source-field-list article{align-items:stretch}}.instructions-page{display:grid;gap:16px}.instructions-panel{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 5px 18px #1b2a3309}.instructions-header{padding:22px;border-bottom:1px solid var(--line)}.instructions-header h2{margin-bottom:5px;font-size:20px}.instructions-header p:not(.eyebrow){margin-bottom:0;color:#7d8992;font-size:11px}.instruction-cards{display:grid;gap:12px;padding:18px 22px 22px}.instruction-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;padding:18px;border:1px solid var(--line);border-radius:12px;background:#fbfdfd}.instruction-card-icon{display:grid;width:44px;height:44px;place-items:center;border-radius:12px;color:var(--teal);background:#e8f7f5}.instruction-card span{display:block;margin-bottom:4px;color:var(--teal);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.instruction-card h3{margin:0 0 5px;font-size:17px}.instruction-card p{max-width:680px;margin:0;color:#6f7f8b;font-size:11px}.instruction-open-button{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}button,input,select{font:inherit}button{cursor:pointer}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;z-index:20;display:flex;width:236px;flex-direction:column;padding:26px 18px 22px;color:#fff;background:#152a30}.brand{display:flex;align-items:center;gap:12px;padding:0 8px 30px}.brand-mark{display:grid;width:38px;height:38px;place-items:center;border-radius:11px;color:#fff;background:#149489;font-weight:800}.brand span,.brand small{display:block}.brand span{font-size:16px;font-weight:800;letter-spacing:.04em}.brand small{margin-top:2px;color:#91a8ad;font-size:10px}.sidebar nav{display:grid;gap:6px}.sidebar nav button{display:flex;align-items:center;gap:11px;width:100%;padding:12px 14px;border:0;border-radius:10px;color:#aec0c4;background:transparent;text-align:left;line-height:1.25;white-space:normal;transition:.18s ease}.sidebar nav button svg{flex:0 0 auto}.sidebar nav button:hover,.sidebar nav button.active{color:#fff;background:#ffffff17}.sidebar nav button.active{box-shadow:inset 3px 0 #39c4b5}.sidebar-note{display:flex;align-items:flex-start;gap:10px;margin-top:auto;padding:14px 12px;border:1px solid rgba(255,255,255,.09);border-radius:11px;background:#ffffff0a}.sync-dot{width:8px;height:8px;margin-top:4px;border-radius:50%;background:#4bd2a8;box-shadow:0 0 0 4px #4bd2a81f}.sidebar-note.data-loading .sync-dot,.sidebar-note.data-syncing .sync-dot{background:#f0b34a;box-shadow:0 0 0 4px #f0b34a1f}.sidebar-note.data-error .sync-dot{background:#e46c6c;box-shadow:0 0 0 4px #e46c6c1f}.sidebar-note strong,.sidebar-note small{display:block}.sidebar-note strong{font-size:10px}.sidebar-note small{margin-top:3px;color:#8da3a8;font-size:9px}.main-content{width:calc(100% - 236px);margin-left:236px;padding:25px 28px 48px;min-width:0;overflow-x:hidden}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.eyebrow{margin:0 0 3px;color:var(--teal);font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}h1,h2,h3,p{margin-top:0}h1{margin-bottom:0;font-size:28px;letter-spacing:-.04em}.topbar-actions{display:flex;align-items:center;gap:10px}.icon-button{display:grid;width:38px;height:38px;place-items:center;border:1px solid var(--line);border-radius:9px;color:#52606d;background:#fff}.icon-button.is-spinning svg{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.primary-button,.secondary-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:0 16px;border-radius:9px;font-size:12px;font-weight:700}.primary-button{border:1px solid var(--teal);color:#fff;background:var(--teal)}.secondary-button{border:1px solid var(--line);color:#42515d;background:#fff}.avatar{display:grid;width:38px;height:38px;place-items:center;border-radius:50%;color:#7c4c12;background:#f5dfb9;font-size:11px;font-weight:800}.filter-bar{display:grid;grid-template-columns:auto 128px 128px minmax(150px,1fr) minmax(130px,.8fr) minmax(170px,1fr) 38px;align-items:end;gap:10px;margin-bottom:18px;padding:13px 14px;border:1px solid var(--line);border-radius:12px;background:#ffffffdb;box-shadow:0 4px 18px #1b2a3309}.filter-bar.filter-bar-compact{grid-template-columns:auto 150px 150px minmax(220px,1fr) minmax(180px,.8fr) 38px}.filter-bar.filter-bar-no-channel{grid-template-columns:auto 150px 150px minmax(220px,1fr) minmax(220px,1fr) 38px}.filter-title{display:flex;align-items:center;gap:8px;height:38px;padding-right:4px;color:#354450;font-size:11px;font-weight:800}.filter-bar label>span,.plan-month-control label{display:block;margin-bottom:5px;color:#78838c;font-size:9px;font-weight:700}.filter-bar input,.filter-bar select,.plan-month-control input{width:100%;height:36px;border:1px solid #d9e0e5;border-radius:8px;outline:none;color:#34434e;background:#fff;font-size:10px}.filter-bar input{padding:0 9px}.filter-bar select{appearance:none;padding:0 30px 0 10px}.select-wrap{position:relative}.select-wrap svg{position:absolute;top:11px;right:9px;pointer-events:none;color:#8b959d}.reset-button{display:grid;width:36px;height:36px;place-items:center;border:1px solid #d9e0e5;border-radius:8px;color:#697580;background:#fff}.kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:14px}.kpi-card{position:relative;min-height:157px;padding:15px;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 5px 18px #1b2a3309;cursor:pointer;transition:.18s ease}.kpi-card:hover,.kpi-card.selected{transform:translateY(-1px);border-color:#7ac2ba;box-shadow:0 7px 22px #0f766e17}.kpi-card.selected:before{position:absolute;inset:0 auto 0 0;width:3px;background:var(--teal);content:""}.kpi-card.inactive{background:repeating-linear-gradient(-45deg,#fff,#fff 9px,#fafbfc 9px 18px)}.kpi-heading{display:flex;min-height:31px;align-items:flex-start;justify-content:space-between;gap:8px;color:#596773;font-size:10px;font-weight:700}.kpi-heading small{padding:3px 5px;border-radius:5px;color:#7a858e;background:#edf1f3;font-size:7px;white-space:nowrap}.kpi-heading-actions{display:flex;flex:0 0 auto;align-items:center;gap:6px}.metric-info-button{display:grid;width:22px;height:22px;padding:0;place-items:center;border:1px solid #cbd8dd;border-radius:50%;color:var(--teal);background:#f7fbfa;cursor:pointer;transition:.16s ease}.metric-info-button:hover,.metric-info-button:focus-visible{border-color:var(--teal);color:#fff;background:var(--teal);outline:none}.metric-info-backdrop{position:fixed;z-index:1200;inset:0;display:grid;padding:24px;place-items:center;background:#15262f7a;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.metric-info-dialog{width:min(620px,100%);max-height:calc(100vh - 48px);overflow-y:auto;padding:22px;border:1px solid #d9e4e7;border-radius:16px;color:#24343d;background:#fff;box-shadow:0 24px 70px #1226303d}.metric-info-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}.metric-info-dialog header span{color:var(--teal);font-size:10px;font-weight:800;letter-spacing:.12em}.metric-info-dialog h2{margin:4px 0 0;color:#172b36;font-size:22px;line-height:1.2}.metric-info-dialog header button{display:grid;width:34px;height:34px;flex:0 0 auto;padding:0;place-items:center;border:1px solid #d7e0e4;border-radius:9px;color:#65747c;background:#fff;cursor:pointer}.metric-info-dialog header button:hover{color:#17333d;background:#f1f6f7}.metric-info-summary{display:grid;grid-template-columns:.8fr 1.2fr;gap:10px;margin-bottom:18px}.metric-info-summary>span{display:flex;min-height:64px;padding:10px 12px;flex-direction:column;gap:5px;border:1px solid #dce8e9;border-radius:10px;color:#7a888f;background:#f5faf9;font-size:10px}.metric-info-summary strong{color:#1f3a42;font-size:13px;line-height:1.35}.metric-info-dialog h3{margin:0 0 10px;color:#354a54;font-size:12px}.metric-info-dialog ol{display:grid;margin:0;padding-left:22px;gap:8px;color:#4b5d65;font-size:12px;line-height:1.5}.metric-info-dialog li::marker{color:var(--teal);font-weight:800}.metric-info-result{display:flex;margin-top:18px;padding:11px 13px;align-items:flex-start;justify-content:space-between;gap:16px;border-radius:10px;color:#52716d;background:#eaf6f3;font-size:10px}.metric-info-result strong{max-width:76%;color:#0b6f67;font-size:12px;line-height:1.4;text-align:right}.metric-info-trend{margin-top:12px;padding:12px;border:1px solid #cde6e1;border-radius:12px;background:#f1faf8}.metric-info-trend span{display:block;color:#0f766e;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.metric-info-trend strong{display:block;margin-top:5px;color:#1c3138;font-size:12px;line-height:1.45}.metric-info-trend p{margin:7px 0 0;color:#657780;font-size:11px;line-height:1.45}.metric-info-note{margin:10px 0 0;padding:10px 12px;border-left:3px solid #efad38;border-radius:0 8px 8px 0;color:#6f6045;background:#fff8e9;font-size:11px;line-height:1.45}.kpi-value-row{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}.kpi-value{margin:5px 0 10px;color:#20313b;font-size:21px;font-weight:800;letter-spacing:-.04em}.kpi-side-extra{max-width:106px;margin:5px 0 10px;text-align:right}.kpi-side-extra strong{display:block;color:#20313b;font-size:18px;font-weight:800;letter-spacing:-.04em}.kpi-side-extra span{display:block;margin-top:1px;color:#708089;font-size:8px;font-weight:700;line-height:1.15}.kpi-deal-amount{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:-3px 0 9px;padding:5px 7px;border-radius:6px;color:#60716f;background:#eef7f5}.kpi-deal-amount span{font-size:8px;font-weight:600}.kpi-deal-amount strong{color:#0f766e;font-size:10px;white-space:nowrap}.kpi-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.kpi-meta span{color:#89939b;font-size:8px}.kpi-meta strong{display:block;margin-top:2px;color:#4b5964;font-size:10px}.progress-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;margin-top:11px}.progress-track{height:5px;overflow:hidden;border-radius:4px;background:#edf1f3}.progress-track span{display:block;height:100%;border-radius:inherit}.good{color:#0f766e;background:#0f766e}.warning{color:#bd6c0c;background:#e6a23c}.bad{color:#bd4040;background:#d65a5a}.muted{color:#8a949c;background:#b8c0c6}.completion{background:transparent;font-size:10px}.details-link{display:flex;align-items:center;gap:4px;margin-top:7px;padding:0;border:0;color:var(--teal);background:transparent;font-size:8px;font-weight:700}.forecast-report{display:grid;gap:14px}.forecast-assumption{display:flex;align-items:flex-start;gap:9px;padding:11px 13px;border:1px solid #ecd9a5;border-radius:10px;color:#725923;background:#fff9e9;font-size:9px;line-height:1.5}.forecast-assumption span{max-width:980px}.forecast-assumption svg{flex:0 0 auto;margin-top:1px;color:#b98019}.forecast-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.forecast-kpi{display:flex;min-width:0;min-height:170px;padding:14px 15px;flex-direction:column;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 5px 18px #1b2a3309}.forecast-kpi-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px;color:#5a6872;font-size:10px;font-weight:700}.forecast-kpi-heading-actions{display:flex;flex:0 0 auto;align-items:center;gap:6px}.forecast-kpi-heading i{display:grid;width:31px;height:31px;flex:0 0 auto;place-items:center;border-radius:8px;color:var(--teal);background:#eaf6f3}.forecast-info-button{display:grid;width:25px;height:25px;padding:0;place-items:center;border:1px solid #cbd8dd;border-radius:50%;color:var(--teal);background:#f7fbfa;cursor:pointer}.forecast-info-button:hover,.forecast-info-button:focus-visible{border-color:var(--teal);color:#fff;background:var(--teal);outline:none}.forecast-kpi>strong,.forecast-kpi>b,.forecast-kpi>small{display:block}.forecast-kpi>strong{color:#20313b;font-size:20px;letter-spacing:-.03em}.forecast-kpi>b{margin-top:3px;color:var(--teal);font-size:13px}.forecast-kpi>small{margin-top:8px;color:#8b959d;font-size:8px}.forecast-kpi-actions{display:flex;margin-top:auto;padding-top:12px;border-top:1px solid #edf1f2}.forecast-kpi-actions button{display:flex;padding:0;align-items:center;gap:5px;border:0;color:var(--teal);background:transparent;cursor:pointer;font-size:8px;font-weight:700}.forecast-kpi-actions button:hover{color:#075d57}.forecast-kpi.amber .forecast-kpi-heading i{color:#a96811;background:#fff3df}.forecast-kpi.green .forecast-kpi-heading i{color:#4b8229;background:#edf7e7}.forecast-kpi.blue .forecast-kpi-heading i{color:#2864a8;background:#eaf2fb}.forecast-kpi.rose .forecast-kpi-heading i{color:#ad4e64;background:#fbeef1}.forecast-kpi.slate .forecast-kpi-heading i{color:#5d6974;background:#edf1f4}.forecast-details-drawer .drawer-list article{position:relative}.forecast-drawer-rule strong{text-align:right}.forecast-layout{display:grid;grid-template-columns:minmax(0,8fr) minmax(290px,4fr);gap:14px}.forecast-panel{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:0 5px 18px #1b2a3309}.forecast-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:16px 17px 8px;color:#7b8993}.forecast-panel>header h3{margin-bottom:3px;color:#2e3d48;font-size:13px}.forecast-panel>header p{margin-bottom:0;color:#89939b;font-size:9px}.forecast-chart-panel{padding-bottom:4px}.forecast-treemap-panel{padding-bottom:8px}.forecast-treemap-panel>header{padding-bottom:2px}.forecast-funnel-list{display:grid;gap:0;padding:5px 15px 15px}.forecast-funnel-list>div{display:grid;grid-template-columns:minmax(0,1fr) 65px 44px;align-items:center;gap:8px;min-height:36px;border-bottom:1px solid #edf1f3;color:#56656f;font-size:9px}.forecast-funnel-list>div:last-child{border-bottom:0}.forecast-funnel-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.forecast-funnel-list strong{color:#263842;text-align:right;font-size:11px}.forecast-funnel-list em{padding:3px 5px;border-radius:5px;color:#0f766e;background:#eaf6f3;text-align:center;font-size:8px;font-style:normal;font-weight:700}.forecast-money-matrix-panel>header{padding:18px 20px 14px;border-bottom:1px solid #e2ecef}.forecast-money-matrix-date{padding:8px 12px;border:1px solid #b8ebe3;border-radius:999px;color:#007c73;background:#eefbf8;font-size:11px;font-weight:800;white-space:nowrap}.forecast-money-matrix-wrap{overflow:auto;padding:14px 16px 18px}.forecast-money-matrix{width:100%;min-width:1380px;border-collapse:separate;border-spacing:0;table-layout:fixed;color:#253642;font-size:12px}.forecast-money-matrix .matrix-label-col{width:220px}.forecast-money-matrix .matrix-count-col{width:62px}.forecast-money-matrix .matrix-amount-col{width:156px}.forecast-money-matrix th,.forecast-money-matrix td{padding:9px 10px;border-right:1px solid #d9e5e8;border-bottom:1px solid #d9e5e8;vertical-align:middle}.forecast-money-matrix thead th{color:#0f3f46;background:#d8f4ef;text-align:center;font-weight:900}.forecast-money-matrix .matrix-date{color:#0b5f5a;background:#c8eee8;font-size:13px}.forecast-money-matrix .matrix-total-head{color:#063d38;background:#bdebe2}.forecast-money-matrix tbody th{position:sticky;left:0;z-index:2;color:#263842;background:#f8fbfb;text-align:left;font-size:12px;font-weight:800}.forecast-money-matrix td{color:#253642;background:#fff;text-align:center;font-weight:700}.forecast-money-matrix .count-col,.forecast-money-matrix .count-cell{color:#506370;text-align:center;font-size:12px}.forecast-money-matrix .money-cell{text-align:right;color:#0d2d3b;font-size:13px;font-weight:900;letter-spacing:-.01em}.forecast-money-matrix .money-cell.strong,.forecast-money-matrix .total-cell{font-weight:900}.forecast-money-matrix .total-cell{background-image:linear-gradient(0deg,#007c730d,#007c730d)}.forecast-money-matrix tbody tr.tone-cream th,.forecast-money-matrix tbody tr.tone-cream td{background-color:#fff6df}.forecast-money-matrix tbody tr.tone-green th,.forecast-money-matrix tbody tr.tone-green td{color:#153826;background-color:#e6f6ee}.forecast-money-matrix tbody tr.tone-gray th,.forecast-money-matrix tbody tr.tone-gray td{background-color:#f3f7f8}.forecast-money-matrix tbody tr.tone-rose th,.forecast-money-matrix tbody tr.tone-rose td{color:#7f3742;background-color:#fff0f2}.forecast-money-matrix tbody tr.tone-footer th,.forecast-money-matrix tbody tr.tone-footer td{background-color:#eaf2f3;font-weight:900}.forecast-table-panel>header{padding-bottom:14px;border-bottom:1px solid #e4e9ec}.forecast-table-wrap{overflow:auto}.forecast-table{width:100%;min-width:1180px;border-collapse:separate;border-spacing:0;font-size:9px}.forecast-table th,.forecast-table td{padding:10px 11px;border-right:1px solid #edf0f2;border-bottom:1px solid #e5e9ec;vertical-align:middle}.forecast-table thead th{color:#596873;background:#f5f7f8;text-align:center;white-space:nowrap}.forecast-table thead th:first-child,.forecast-table tbody th{position:sticky;left:0;z-index:1;min-width:135px;text-align:left}.forecast-table tbody th{color:#33434d;background:#fff}.forecast-table td{min-width:112px;color:#45545e;text-align:right}.forecast-table td strong,.forecast-table td span{display:block;white-space:nowrap}.forecast-table td strong{color:#31414b;font-size:9px}.forecast-table td span{margin-top:3px;color:#7f8a92;font-size:8px}.forecast-table tbody tr.total th,.forecast-table tbody tr.total td{border-bottom:0;background:#edf7f5;font-weight:800}.forecast-table td.good{color:#0f766e;background:#eaf6f3;font-size:11px;font-weight:800}.forecast-table td.warning{color:#a96a15;background:#fff4df;font-size:11px;font-weight:800}.forecast-table td.bad{color:#b04444;background:#fff0f0;font-size:11px;font-weight:800}.forecast-table td.neutral{color:#8a949c;background:#f7f9fa;font-size:11px;font-weight:800}.dashboard-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px;margin-bottom:14px}.span-3{grid-column:span 3}.span-4{grid-column:span 4}.span-5{grid-column:span 5}.span-7{grid-column:span 7}.span-12{grid-column:span 12}.chart-card{min-width:0;padding:17px 17px 7px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:0 5px 18px #1b2a3309}.chart-header{display:flex;align-items:flex-start;justify-content:space-between;min-height:45px;color:#789}.chart-header h3{margin-bottom:3px;color:#2e3d48;font-size:13px}.chart-header p{margin-bottom:0;color:#89939b;font-size:9px}.chart-header-actions,.chart-controls,.switch-control{display:flex;align-items:center}.chart-header-actions{gap:10px}.chart-controls{gap:9px}.segmented-control{display:flex;padding:2px;border:1px solid #e3e8ec;border-radius:8px;background:#f4f6f8}.segmented-control button{padding:5px 8px;border:0;border-radius:6px;color:#75818a;background:transparent;font-size:8px;font-weight:700}.segmented-control button.active{color:var(--teal);background:#fff;box-shadow:0 1px 4px #192d371f}.switch-control{gap:6px;color:#65727c;font-size:8px;font-weight:700;white-space:nowrap;cursor:pointer}.switch-control input{position:absolute;width:1px;height:1px;opacity:0}.switch-track{position:relative;width:28px;height:16px;border-radius:999px;background:#cbd3d9;transition:background .18s ease}.switch-track:after{position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #1f323c40;content:"";transition:transform .18s ease}.switch-control input:checked+.switch-track{background:var(--teal)}.switch-control input:checked+.switch-track:after{transform:translate(12px)}.switch-control.disabled{opacity:.45;cursor:not-allowed}.switch-control.disabled .switch-track{background:#d7dde1}.chart-select{max-width:185px;height:30px;padding:0 28px 0 9px;border:1px solid #dce3e8;border-radius:7px;color:#43515b;background:#fff;font-size:9px;font-weight:600}.hierarchy-widget{overflow:hidden;margin-bottom:14px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:0 5px 18px #1b2a3309}.hierarchy-widget-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border-bottom:1px solid #e1e7eb}.hierarchy-widget-header h3{margin-bottom:3px;color:#2e3d48;font-size:13px}.hierarchy-widget-header p{margin:0;color:#89939b;font-size:9px}.hierarchy-legend,.hierarchy-legend span{display:flex;align-items:center}.hierarchy-header-actions{display:flex;align-items:center;gap:14px}.hierarchy-legend{gap:14px;color:#697680;font-size:8px}.hierarchy-legend span{gap:5px}.hierarchy-legend i{width:8px;height:8px;border-radius:2px}.hierarchy-legend .manager{background:#9ca9b3}.hierarchy-legend .direct{background:#2563eb}.hierarchy-legend .agent{background:#d97706}.hierarchy-export-button{min-height:34px;padding:0 12px;font-size:9px;white-space:nowrap}.hierarchy-table-wrap{max-height:520px;overflow:auto}.hierarchy-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:9px}.hierarchy-table thead th{position:sticky;z-index:2;padding:9px 10px;border-bottom:1px solid #d8e0e5;color:#53616b;background:#f5f7f8;text-align:right;white-space:nowrap}.hierarchy-table thead tr:first-child th{top:0;height:42px}.hierarchy-table thead tr:nth-child(2) th{top:42px;height:42px}.hierarchy-table thead tr:first-child>th:first-child,.hierarchy-table tbody td:first-child{width:300px;min-width:300px;max-width:300px;text-align:left}.hierarchy-table thead tr:first-child>th:nth-child(2),.hierarchy-table tbody td:nth-child(2){width:95px;min-width:95px}.hierarchy-table thead tr:first-child>th:nth-child(3),.hierarchy-table tbody td:nth-child(3){width:110px;min-width:110px}.hierarchy-table thead tr:first-child>th:nth-child(4),.hierarchy-table tbody td:nth-child(4),.hierarchy-table thead tr:first-child>th:nth-child(5),.hierarchy-table tbody td:nth-child(5){width:95px;min-width:95px}.hierarchy-table thead tr:first-child>th:nth-child(6),.hierarchy-table tbody td:nth-child(6){width:100px;min-width:100px;box-shadow:8px 0 12px -12px #1e303acc}.hierarchy-table thead tr:first-child th:nth-child(-n+6),.hierarchy-table tbody td:nth-child(-n+6){position:sticky}.hierarchy-table thead tr:first-child th:nth-child(-n+6){z-index:5}.hierarchy-table tbody td:nth-child(-n+6){z-index:1}.hierarchy-table thead tr:first-child>th:first-child,.hierarchy-table tbody td:first-child{left:0}.hierarchy-table thead tr:first-child>th:nth-child(2),.hierarchy-table tbody td:nth-child(2){left:300px}.hierarchy-table thead tr:first-child>th:nth-child(3),.hierarchy-table tbody td:nth-child(3){left:395px}.hierarchy-table thead tr:first-child>th:nth-child(4),.hierarchy-table tbody td:nth-child(4){left:505px}.hierarchy-table thead tr:first-child>th:nth-child(5),.hierarchy-table tbody td:nth-child(5){left:600px}.hierarchy-table thead tr:first-child>th:nth-child(6),.hierarchy-table tbody td:nth-child(6){left:695px}.hierarchy-table .daily-group-heading{min-width:520px;color:#4e606b;background:#eef3f6;text-align:left}.hierarchy-table .daily-heading-row th,.hierarchy-table .daily-value{width:56px;min-width:56px;max-width:56px;text-align:center}.hierarchy-table .daily-heading-row th{padding:5px 4px;color:#4d5d67;background:#f3f6f8}.hierarchy-table .daily-heading-row strong,.hierarchy-table .daily-heading-row small{display:block}.hierarchy-table .daily-heading-row strong{font-size:9px}.hierarchy-table .daily-heading-row small{margin-top:3px;font-size:7px;font-weight:600}.hierarchy-table .daily-heading-row th.weekend{color:#d44747;background:#fff3f3}.hierarchy-table tbody td{padding:9px 14px;border-bottom:1px solid #e6ebee;color:#374650;text-align:right}.hierarchy-table tbody td:first-child{text-align:left}.hierarchy-table .daily-value{padding:9px 5px;border-left:1px solid #f0f3f5;font-variant-numeric:tabular-nums}.hierarchy-table .daily-value.weekend{color:#a84a4a}.hierarchy-table tbody tr:last-child td{border-bottom:0}.hierarchy-table .hierarchy-level-0 td{color:#304d4a;background:#edf7f5;font-weight:700}.hierarchy-table .hierarchy-level-1 td{background:#fafbfc}.hierarchy-table .hierarchy-level-1 .hierarchy-label strong{color:#42515c;font-weight:700}.hierarchy-table .hierarchy-level-2 td{color:#5a6872;background:#fff}.hierarchy-table tr.inactive{opacity:.55}.hierarchy-label{display:flex;align-items:center;gap:7px;min-height:20px}.hierarchy-label button{display:grid;width:22px;height:22px;padding:0;border:0;border-radius:5px;color:#66747e;background:transparent;place-items:center}.hierarchy-label button:hover{color:var(--teal);background:#0f766e14}.hierarchy-spacer{width:22px}.hierarchy-label small{margin-left:6px;color:#849099;font-size:7px;font-weight:600}.hierarchy-completion{display:inline-flex;min-width:44px;padding:4px 7px;justify-content:center;border-radius:999px;font-weight:700}.hierarchy-completion.good{color:#08736a;background:#dff3ee}.hierarchy-completion.warning{color:#94620d;background:#fff1d5}.hierarchy-completion.bad{color:#b44444;background:#fdeaea}.hierarchy-completion.muted{color:#7d8991;background:#edf1f3}.plans-panel{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 5px 18px #1b2a3309}.plans-header{display:flex;align-items:flex-start;justify-content:space-between;gap:30px;padding:22px;border-bottom:1px solid var(--line)}.plans-header h2{margin-bottom:5px;font-size:20px}.plans-header p:not(.eyebrow){margin-bottom:0;color:#7d8992;font-size:10px}.plans-header-actions{display:flex;align-items:flex-start;gap:18px}.directory-buttons{display:flex;gap:8px;padding-top:18px}.plan-month-control{width:190px}.plan-month-control>div{position:relative}.plan-month-control>div svg{position:absolute;top:10px;left:10px;color:#75818a}.plan-month-control input{padding:0 10px 0 34px}.lock-state{display:flex;align-items:center;gap:5px;margin-top:7px;font-size:9px;font-weight:700}.lock-state.open{color:#0f766e}.lock-state.locked{color:#a64b4b}.month-unlock-button{margin-top:7px;padding:7px 9px;border:1px solid #cfe2df;border-radius:8px;color:var(--teal);background:#f4fbfa;font-size:9px;font-weight:800;cursor:pointer}.month-unlock-button:hover{border-color:#8dc9c1;background:#e9f7f5}.lock-banner{display:flex;align-items:center;gap:8px;padding:10px 22px;color:#844;background:#fff4f2;font-size:10px;font-weight:700}.lock-banner.unlocked{color:#0f766e;background:#edf9f6}.table-toolbar{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-bottom:1px solid var(--line)}.search-box{position:relative;width:250px}.search-box svg{position:absolute;top:10px;left:10px;color:#89939b}.search-box input{width:100%;height:36px;padding:0 10px 0 34px;border:1px solid var(--line);border-radius:8px;background:#fafbfc;font-size:10px}.toolbar-summary{display:flex;align-items:center;gap:12px}.toolbar-summary>span{color:#7c8992;font-size:9px}.copy-month-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.copy-month-label{color:#64748b;font-size:10px;font-weight:800}.copy-month-select{height:36px;min-width:150px;padding:0 32px 0 10px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#102536;font-size:11px;font-weight:800}.formula-banner{display:flex;align-items:center;gap:9px;padding:10px 18px;color:#42605f;background:#edf7f5;font-size:9px}.object-conversion-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:11px 18px;border-bottom:1px solid var(--line);background:#fafbfc}.object-conversion-tools button{display:grid;grid-template-columns:auto 1fr;gap:4px 8px;min-width:0;padding:10px;border:1px solid #dce3e8;border-radius:9px;color:#66747e;background:#fff;text-align:left}.object-conversion-tools button>svg{grid-row:span 2;margin-top:2px;color:#7b8992}.object-conversion-tools button span,.object-conversion-tools button strong,.object-conversion-tools button small{display:block;min-width:0}.object-conversion-tools button strong{overflow:hidden;color:#34434e;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.object-conversion-tools button small{margin-top:3px;color:#8a959d;font-size:7px;white-space:normal}.object-conversion-tools button small span{display:block}.object-conversion-tools button em{grid-column:2;color:var(--teal);font-size:7px;font-style:normal;font-weight:700}.object-conversion-tools button.configured{border-color:#8dc8c0;background:#f1f9f7}.object-conversion-tools button:disabled{cursor:not-allowed;opacity:.55}.plans-table-wrap{max-height:calc(100vh - 385px);overflow:auto}.plans-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;font-size:9px}.plans-table th{position:sticky;top:0;z-index:4;min-width:106px;padding:11px 9px;border-bottom:1px solid #cfd8de;color:#52606b;background:#f3f6f7;text-align:right;white-space:nowrap}.plans-table th:first-child,.plans-table th:nth-child(2){text-align:left}.plans-table th:first-child{left:0;z-index:6;min-width:130px}.plans-table th:nth-child(2){left:130px;z-index:6;min-width:165px;box-shadow:7px 0 10px -10px #344}.plans-table td{height:58px;padding:5px 8px;border-bottom:1px solid #edf0f2;background:#fff;text-align:right}.plans-table tbody tr:hover td{background:#fbfdfd}.plans-table td:first-child,.plans-table td:nth-child(2){position:sticky;z-index:2;text-align:left}.plans-table td:first-child{left:0;min-width:130px}.plans-table td:nth-child(2){left:130px;min-width:165px;box-shadow:7px 0 10px -10px #344}.channel-badge{display:inline-flex;padding:4px 7px;border-radius:5px;font-size:8px;font-weight:700}.channel-233{color:#245caa;background:#e8f1ff}.channel-234{color:#9a5b0f;background:#fff1dc}.plan-input{width:82px;height:30px;padding:0 8px;border:1px solid transparent;border-radius:6px;outline:none;color:#31404b;background:#f5f8f8;text-align:right;font-size:9px}.plan-input:hover,.plan-input:focus{border-color:#6fbab2;background:#fff;box-shadow:0 0 0 3px #0f766e14}.plan-input:disabled{color:#8c969e;background:transparent}.plan-cell-stack{display:grid;justify-items:end;gap:3px;min-width:96px}.plan-cell-stack small,.plan-cell-stack label{color:#8a959d;font-size:7px}.plan-cell-stack strong{color:#30404a;font-size:10px}.primary-plan-cell .plan-input{border-color:#9ed2cc;background:#eff9f7;font-size:11px;font-weight:700}.channel-contract-plan,.channel-metric-plan{display:grid;gap:5px;min-width:118px}.channel-contract-plan label,.channel-metric-plan label{display:grid;grid-template-columns:8px 58px 58px;align-items:center;gap:5px}.channel-contract-plan small,.channel-metric-plan small{color:#6f7f89;font-size:7px}.channel-contract-plan .plan-input{width:58px;border-color:#9ed2cc;background:#eff9f7;font-weight:700}.channel-metric-plan .plan-input{width:58px;background:#f4f7f8;font-weight:700}.channel-metric-plan.money-channel-plan label{grid-template-columns:8px 58px 74px}.channel-metric-plan.money-channel-plan .plan-input{width:74px}.channel-contract-plan b,.channel-metric-plan b{justify-self:end;color:#7e8b94;font-size:7px}.money-input{width:94px}.ratio-plan-cell label,.revenue-plan-cell label{display:flex;align-items:center;gap:3px}.ratio-plan-cell label b,.revenue-plan-cell label b{color:#7d8992;font-size:7px;font-weight:600}.percent-input{width:48px;height:25px;padding:0 5px;background:#fff8e8}.check-input{width:48px;height:25px;padding:0 5px;background:#f2f5f7}.revenue-plan-cell{min-width:118px}.split-control{display:grid;gap:5px;min-width:123px}.split-control label{display:flex;align-items:center;justify-content:flex-end;gap:4px;color:#5c6973;font-size:8px}.split-control label strong{min-width:42px;color:#9a5b0f;text-align:right}.split-control label b{color:#75818a;font-size:8px}.channel-editor-button{width:100%;padding:4px 6px;border:1px solid #cfe2df;border-radius:6px;color:var(--teal);background:#f3faf8;font-size:7px;font-weight:700}.channel-editor-button:hover{border-color:#75bcb4;background:#eaf6f3}.split-dot{width:6px;height:6px;border-radius:50%}.split-dot.direct{background:#2563eb}.split-dot.agent{background:#d97706}.no-source-cell{display:grid;justify-items:end;color:#8a949c;font-weight:700}.no-source-cell small{margin-top:3px;color:#9aa3aa;font-size:7px;font-weight:400}.table-footnote{display:flex;gap:22px;padding:12px 18px;color:#849099;background:#fafbfc;font-size:8px}.drawer-backdrop{position:fixed;inset:0;z-index:40;width:100%;border:0;background:#111f2654;cursor:default}.directory-modal{position:fixed;top:50%;left:50%;z-index:42;width:430px;padding:24px;border-radius:16px;background:#fff;box-shadow:0 24px 70px #111f263d;transform:translate(-50%,-50%)}.conversion-modal{width:520px}.manager-visibility-modal{width:min(590px,calc(100vw - 32px))}.manager-visibility-modal .modal-heading{margin-bottom:12px}.manager-visibility-modal .modal-heading span{display:block;margin-top:4px;color:#7b8790;font-size:9px}.manager-visibility-explanation{margin:0 0 14px;padding:10px 12px;border-radius:9px;color:#46615e;background:#edf7f5;font-size:9px;line-height:1.5}.manager-visibility-toolbar{display:flex;align-items:center;gap:9px;margin-bottom:10px}.manager-visibility-toolbar .search-box{flex:1}.manager-visibility-toolbar .search-box input{width:100%;height:36px;padding:0 10px 0 32px;border:1px solid #d8e0e5;border-radius:8px;outline:none;color:#31404b;background:#fff;font-size:10px}.manager-visibility-toolbar>button{height:36px;padding:0 12px;border:1px solid #cfe2df;border-radius:8px;color:var(--teal);background:#f3faf8;font-size:9px;font-weight:700}.manager-visibility-list{max-height:min(410px,50vh);overflow:auto;border:1px solid #e0e6e9;border-radius:10px}.manager-visibility-list>label{position:relative;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;min-height:51px;padding:7px 12px;border-bottom:1px solid #edf0f2;cursor:pointer}.manager-visibility-list>label:last-of-type{border-bottom:0}.manager-visibility-list>label:hover{background:#fafcfc}.manager-visibility-avatar{display:grid;width:32px;height:32px;place-items:center;border-radius:50%;color:#176f67;background:#e5f4f1;font-size:10px;font-weight:800}.manager-visibility-name strong,.manager-visibility-name small{display:block}.manager-visibility-name strong{color:#34444e;font-size:10px}.manager-visibility-name small{margin-top:2px;color:#939da4;font-size:7px}.manager-visibility-list input{position:absolute;width:1px;height:1px;opacity:0}.manager-visibility-switch{position:relative;width:32px;height:18px;border-radius:20px;background:#cbd4d9;transition:background .15s ease}.manager-visibility-switch:after{position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #14272f33;content:"";transition:transform .15s ease}.manager-visibility-list input:checked+.manager-visibility-switch{background:var(--teal)}.manager-visibility-list input:checked+.manager-visibility-switch:after{transform:translate(14px)}.manager-visibility-empty{padding:28px;color:#87929a;text-align:center;font-size:10px}.manager-visibility-actions{padding-top:14px}.channel-plan-modal{width:min(820px,calc(100vw - 40px));max-height:90vh;overflow:auto}.channel-plan-modal .modal-icon{float:left;margin:0 12px 0 0}.channel-plan-modal .modal-heading{min-height:44px}.channel-plan-modal .modal-heading span{color:#78858e;font-size:9px}.channel-plan-explanation{clear:both;margin:2px 0 14px;padding:9px 11px;border-radius:8px;color:#53636e;background:#f2f7f6;font-size:9px;line-height:1.5}.channel-plan-table-wrap{overflow:auto;border:1px solid #dfe6ea;border-radius:10px}.channel-plan-table{width:100%;border-collapse:collapse}.channel-plan-table th,.channel-plan-table td{padding:8px 12px;border-bottom:1px solid #e9edf0}.channel-plan-table thead th{color:#56656f;background:#f4f7f8;font-size:9px;text-align:right}.channel-plan-table thead th:first-child{text-align:left}.channel-plan-table tbody th{width:38%;color:#354550;font-size:9px;text-align:left}.channel-plan-table tbody th small{display:block;margin-top:2px;color:#89949b;font-size:7px;font-weight:500}.channel-plan-table td{text-align:right}.channel-plan-table td .plan-input{width:112px}.channel-plan-table td:last-child{width:100px;color:#34444e;background:#fafcfc;font-size:10px}.channel-plan-table tbody tr:last-child th,.channel-plan-table tbody tr:last-child td{border-bottom:0}.conversion-explanation{margin:-4px 0 15px;color:#71808a;font-size:9px;line-height:1.55}.conversion-steps{display:grid;gap:7px}.conversion-steps-dual{gap:8px}.conversion-channel-head,.conversion-steps-dual>label{display:grid!important;grid-template-columns:minmax(170px,1fr) 90px 90px;align-items:center}.conversion-channel-head{padding:0 10px;color:#52636e;font-size:9px}.conversion-channel-head strong{text-align:center}.conversion-total-row{display:grid;grid-template-columns:minmax(170px,1fr) 90px 90px;align-items:center;gap:18px;padding:10px;border:1px solid #bee2dc;border-radius:8px;color:#0b7169;background:#edf7f5}.conversion-total-row>strong{text-align:center;font-size:11px}.conversion-total-row span strong,.conversion-total-row span small{display:block}.conversion-total-row span strong{font-size:9px}.conversion-total-row span small{margin-top:2px;color:#5f7773;font-size:8px}.conversion-steps>label{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:9px 10px;border:1px solid #e3e8ec;border-radius:8px;background:#fafbfc}.conversion-steps>label span strong,.conversion-steps>label span small{display:block}.conversion-steps>label span strong{color:#40505b;font-size:9px}.conversion-steps>label span small{margin-top:2px;color:#87929a;font-size:8px}.conversion-steps>label>div{display:flex;align-items:center;gap:5px}.conversion-steps-dual>label>div{justify-content:flex-end}.conversion-steps input{width:70px!important;height:32px!important;text-align:right}.conversion-steps b{color:#66747e;font-size:9px}.conversion-example{margin-top:13px;padding:10px 11px;border-radius:8px;color:#46615e;background:#edf7f5;font-size:9px}.modal-icon{display:grid;width:42px;height:42px;margin-bottom:16px;place-items:center;border-radius:11px;color:var(--teal);background:#eaf6f3}.modal-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:18px}.modal-heading h2{margin-bottom:0;font-size:20px}.directory-modal form{display:grid;gap:13px}.directory-modal form label>span{display:block;margin-bottom:5px;color:#66747e;font-size:9px;font-weight:700}.directory-modal form input{width:100%;height:40px;padding:0 11px;border:1px solid #d8e0e5;border-radius:8px;outline:none;color:#31404b;background:#fff;font-size:10px}.directory-modal form input:focus{border-color:#6fbab2;box-shadow:0 0 0 3px #0f766e14}.directory-modal form p{margin:0;color:#849099;font-size:8px;line-height:1.5}.modal-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:5px}.details-drawer{position:fixed;inset:0 0 0 auto;z-index:41;width:min(640px,100vw);overflow-y:auto;background:#f7f9fa;box-shadow:-18px 0 44px #1221282e;animation:drawer-in .22s ease-out}@keyframes drawer-in{0%{transform:translate(30px);opacity:0}}.drawer-header{display:flex;align-items:flex-start;justify-content:space-between;padding:24px;border-bottom:1px solid var(--line);background:#fff}.drawer-header h2{margin-bottom:4px;font-size:20px}.drawer-header span{color:#74808a;font-size:10px}.drawer-header p{margin:0;color:#6b7b88;font-size:11px;font-weight:700}.drawer-actions{display:flex;align-items:center;gap:8px;margin-left:16px}.drawer-actions button{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#243746;font-size:11px;font-weight:850;cursor:pointer}.drawer-actions button:disabled{opacity:.45;cursor:default}.drawer-actions .drawer-close{width:36px;padding:0;justify-content:center}.drawer-note,.drawer-empty{display:flex;align-items:center;gap:10px;margin:14px;padding:12px;border:1px solid #d6ece8;border-radius:12px;background:#eef9f6;color:#365f5c;font-size:10px;font-weight:700}.drawer-note span{flex:1}.drawer-note b{white-space:nowrap}.drawer-load-more{display:flex;justify-content:center;width:calc(100% - 28px);min-height:38px;margin:0 14px 24px;border:1px solid #bddbd6;border-radius:10px;background:#fff;color:#007d71;font-weight:900;cursor:pointer}.drawer-header-actions{display:flex;align-items:center;gap:8px;margin-left:16px}.details-export-button{white-space:nowrap}.details-tabs{display:inline-flex;gap:4px;margin:14px 14px 0;border:1px solid #d7e3e8;border-radius:10px;padding:4px;background:#fff}.details-tabs button{min-height:30px;border:0;border-radius:8px;padding:0 13px;color:#5b6973;background:transparent;font-size:10px;font-weight:900;cursor:pointer}.details-tabs button.active{color:#007d71;background:#eaf7f5}.drawer-rule{display:flex;align-items:flex-start;gap:8px;margin:14px;padding:11px 12px;border-radius:9px;color:#42605f;background:#eaf5f2;font-size:9px}.drawer-rule span{flex:1}.drawer-rule strong{white-space:nowrap}.drawer-list{display:grid;gap:9px;padding:0 14px 24px}.drawer-live-note{padding:16px;border:1px solid #bee2dc;border-radius:11px;color:#315d58;background:#eff9f7;font-size:10px;line-height:1.55}.drawer-list article{padding:14px;border:1px solid var(--line);border-radius:11px;background:#fff}.drawer-list article>div:first-child{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.drawer-list article strong{font-size:10px}.drawer-list article span{color:#849099;font-size:8px;white-space:nowrap}.drawer-list .details-source-id{margin:4px 0 0;color:#849099;font-size:8px;line-height:1.4}.drawer-list dl{display:grid;grid-template-columns:1fr 1fr;gap:9px 14px;margin:13px 0}.drawer-list dl div{min-width:0}.drawer-list dt{color:#98a1a8;font-size:7px}.drawer-list dd{margin:2px 0 0;overflow:hidden;color:#4a5862;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.drawer-list dl .marketing-source-fields{grid-column:1 / -1}.drawer-list dl .marketing-source-trace{grid-column:1 / -1;border:1px solid #bee5de;border-radius:7px;padding:7px 9px;background:#eaf8f5}.drawer-list .marketing-source-trace dd{display:flex;flex-wrap:wrap;gap:5px 12px;overflow:visible;white-space:normal}.drawer-list .marketing-source-trace dd strong{color:#08786f;font-size:9px}.drawer-list .marketing-source-trace dd span{color:#304653;font-size:8px}.drawer-list dd.marketing-source-field-list{display:grid;gap:5px;overflow:visible;white-space:normal}.drawer-list dd.marketing-source-field-list span{display:block;min-width:0;padding:5px 7px;border-radius:7px;color:#314653;background:#f3f8f7;font-size:8px;line-height:1.35;overflow-wrap:anywhere;white-space:normal}.drawer-list dd.marketing-source-field-list b{display:block;margin-bottom:2px;color:var(--teal);font-size:7px}.drawer-list article button,.drawer-list article a{display:flex;align-items:center;gap:5px;padding:0;border:0;color:var(--teal);background:transparent;font-size:8px;font-weight:700;text-decoration:none}.drawer-list article a.details-agency-link{display:inline;overflow:hidden;max-width:100%;color:var(--teal);font-size:inherit;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.drawer-error-note{border-color:#efc7c7;color:#934545;background:#fff3f3}.details-load-more{min-height:38px;border:1px solid #cfe2df;border-radius:9px;color:var(--teal);background:#f3faf8;font-size:9px;font-weight:700}.toast{position:fixed;right:24px;bottom:24px;z-index:60;padding:11px 15px;border-radius:9px;color:#fff;background:#1c3438;box-shadow:0 10px 30px #1221283d;font-size:10px;font-weight:700;animation:toast-in .18s ease-out}.receipts-report{display:grid;gap:14px}.receipts-demo-note{display:flex;align-items:flex-start;gap:9px;padding:10px 13px;border:1px solid #c9e5df;border-radius:10px;color:#315f59;background:#f0f9f7;font-size:9px;line-height:1.5}.receipts-demo-note svg{flex:0 0 auto;margin-top:1px}.receipts-demo-note span{max-width:980px}.receipts-demo-note.is-warning{border-color:#f2c46d;color:#7a4a08;background:#fff7e6}.receipts-demo-note.is-live{border-color:#a8ded6;color:#0b6f66;background:#eefaf7}.receipts-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.receipts-kpi{display:flex;min-width:0;padding:15px;flex-direction:column;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 2px 8px #12212806}.receipts-kpi-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#53616c;font-size:9px;font-weight:700}.receipts-kpi-heading-actions{display:flex;align-items:center;gap:6px}.receipts-kpi i{display:grid;width:31px;height:31px;place-items:center;border-radius:8px;color:#0f766e;background:#e5f5f2}.receipts-kpi.amber i{color:#a76400;background:#fff2d9}.receipts-kpi.blue i{color:#2367a8;background:#e8f2fc}.receipts-kpi.green i{color:#4b8a2a;background:#edf7e8}.receipts-kpi.rose i{color:#ad4d64;background:#fcebf0}.receipts-info-button{display:grid;width:25px;height:25px;padding:0;place-items:center;border:1px solid #cde1de;border-radius:50%;color:#0f8076;background:#f7fbfa}.receipts-info-button:hover,.receipts-info-button:focus-visible{color:#fff;background:var(--teal);outline:none}.receipts-kpi strong{display:block;margin-top:14px;color:#1f303b;font-size:19px;line-height:1}.receipts-kpi small{display:block;margin-top:8px;color:#91a0aa;font-size:8px}.receipts-kpi-actions{display:flex;margin-top:auto;padding-top:12px;border-top:1px solid #edf1f2}.receipts-kpi-actions button{display:inline-flex;align-items:center;gap:5px;padding:0;border:0;color:var(--teal);background:transparent;font-size:8px;font-weight:700}.receipts-kpi-actions button:hover{color:#075d57}.receipts-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.receipts-layout-main{grid-template-columns:minmax(0,1.7fr) minmax(330px,.8fr)}.receipts-panel{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff}.receipts-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:15px 16px 8px}.receipts-panel>header h3{margin:0;color:#2c3c46;font-size:11px}.receipts-panel>header p{margin:4px 0 0;color:#8b98a1;font-size:8px}.receipts-panel>header>svg{color:#76919a}.receipts-table-panel>header{align-items:center;padding-bottom:14px}.receipts-table-panel .export-button{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 13px;border:0;border-radius:9px;color:#fff;background:#0f766e;font-size:9px;font-weight:700}.receipts-table-wrap{overflow:auto;border-top:1px solid var(--line)}.receipts-table{width:100%;min-width:1120px;border-collapse:collapse;color:#4b5b65;font-size:8px}.receipts-table th,.receipts-table td{padding:10px 11px;border-bottom:1px solid #e7ecef;text-align:left;vertical-align:middle}.receipts-table thead th{position:sticky;top:0;z-index:2;color:#596873;background:#f4f7f8;font-size:8px;white-space:nowrap}.receipts-table th:nth-last-child(-n+3),.receipts-table td:nth-last-child(-n+3){text-align:right;white-space:nowrap}.receipts-table button{display:inline-flex;align-items:center;gap:7px;padding:0;border:0;color:inherit;background:transparent;font:inherit;font-weight:700}.receipts-table button span{color:#8a979f;font-size:7px;font-weight:500}.receipts-object-row{color:#265e58;background:#eaf6f3}.receipts-object-row th,.receipts-object-row td{border-bottom-color:#d1e8e2;font-weight:700}.receipts-contract-row th{padding-left:24px}.receipts-payment-row{color:#65747d;background:#fbfcfc}.receipts-payment-row td:first-child{padding-left:52px;color:#8b969d}.receipts-total-row{color:#244e49;background:#dcefe9;font-weight:800}.receipts-drawer-list dd{white-space:normal}@keyframes toast-in{0%{transform:translateY(8px);opacity:0}}@media(max-width:1350px){.filter-bar{grid-template-columns:auto 120px 120px minmax(140px,1fr) minmax(120px,.8fr) minmax(155px,1fr) 38px}.kpi-grid,.receipts-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.receipts-layout-main{grid-template-columns:minmax(0,1.35fr) minmax(300px,.8fr)}}.receipts-layout-single{grid-template-columns:minmax(0,1fr)}.receipts-toggle{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid #d8e3e6;border-radius:10px;background:#f6fafb}.receipts-toggle button{min-height:26px;padding:0 10px;border:0;border-radius:7px;color:#65747d;background:transparent;font-size:8px;font-weight:800}.receipts-toggle button.active{color:#075d57;background:#fff;box-shadow:0 1px 4px #122a361f}.receipts-table-actions{display:inline-flex;align-items:flex-end;gap:10px}.receipts-table-actions label{display:grid;gap:4px;color:#7a8a94;font-size:8px;font-weight:700}.receipts-table-actions select{min-height:34px;min-width:170px;border:1px solid #d8e3e6;border-radius:9px;padding:0 10px;color:#21313b;background:#fff;font-size:9px;font-weight:700}.debt-status{display:inline-flex;align-items:center;min-height:20px;padding:0 8px;border-radius:999px;font-size:7px;font-weight:800;white-space:nowrap}.debt-status.is-green,.receipts-payment-row.is-green{background:#edf8f1;color:#15734f}.debt-status.is-yellow,.receipts-payment-row.is-yellow{background:#fff6df;color:#9a640c}.debt-status.is-red,.receipts-payment-row.is-red{background:#fff0f0;color:#b42323}.marketing-report{display:grid;gap:18px;min-width:0;overflow:hidden}.marketing-note{display:none;margin:0}.marketing-toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;min-width:0;padding:16px;border:1px solid #d8e3e8;border-radius:18px;background:#fff;box-shadow:0 14px 32px #142f3d0f}.marketing-toolbar>div{display:flex;flex-wrap:wrap;gap:12px}.marketing-toolbar label{display:grid;gap:7px;color:#64748b;font-size:12px;font-weight:800}.marketing-toolbar select{min-width:230px;height:42px;padding:0 40px 0 14px;border:1px solid #d6e1e8;border-radius:12px;background:#f8fbfc;color:#243746;font-weight:800}.marketing-toolbar-copy{display:grid;gap:4px;color:#64748b;font-size:12px;font-weight:800}.marketing-toolbar-copy strong{color:#102536;font-size:13px}.marketing-toolbar-copy span{color:#007d71}.marketing-toolbar-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.marketing-expense-open{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 16px;border:1px solid #0f9f8d;border-radius:12px;background:#007d71;color:#fff;font-weight:900;cursor:pointer;box-shadow:0 10px 22px #007d7129}.marketing-expense-open:hover{background:#006f65}.marketing-source-settings-open{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 16px;border:1px solid #d6e1e8;border-radius:12px;background:#fff;color:#34434e;font-weight:900;cursor:pointer}.marketing-source-settings-open:hover,.marketing-source-settings-open.active{border-color:#0f9f8d;color:#007d71;background:#eef9f6}.marketing-table-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.manual-edit-hint{display:inline-flex;align-items:center;gap:8px;max-width:440px;padding:10px 12px;border-radius:12px;background:#eef9f6;color:#0b6d63;font-size:12px;font-weight:800}.marketing-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;min-width:0}.marketing-kpi{position:relative;display:grid;grid-template-rows:auto minmax(40px,1fr) auto auto;gap:12px;min-height:136px;padding:17px 18px 15px;border:1px solid #d8e3e8;border-radius:16px;background:#fff;box-shadow:0 8px 22px #142f3d0d;font-variant-numeric:tabular-nums;min-width:0}.marketing-kpi-head{display:grid;grid-template-columns:minmax(0,1fr) 24px;gap:10px;align-items:center}.marketing-kpi-head>span{color:#617181;font-size:12px;font-weight:800;line-height:1.2}.marketing-kpi-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,142px);gap:14px;align-items:start}.marketing-kpi.is-simple .marketing-kpi-body,.marketing-kpi.no-price .marketing-kpi-body{grid-template-columns:minmax(0,1fr)}.marketing-kpi-primary{display:grid;gap:6px;min-width:0}.marketing-kpi-primary strong{color:#102536;font-size:25px;font-weight:850;line-height:1;letter-spacing:0}.marketing-kpi-primary small{color:#788999;font-size:11px;font-weight:700;line-height:1.15}.marketing-kpi-price{display:grid;gap:7px;min-width:0;text-align:right}.marketing-kpi .marketing-kpi-price small{color:#08786f;font-size:10px;font-weight:800;line-height:1.1;white-space:nowrap}.marketing-kpi-price b{color:#102536;font-size:18px;font-weight:850;line-height:1;white-space:nowrap}.marketing-kpi-footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:10px;border-top:1px solid #edf2f5}.marketing-kpi-footer div{display:grid;gap:5px}.marketing-kpi-footer div:last-child{text-align:right}.marketing-kpi-footer span{color:#718091;font-size:11px;font-weight:700;line-height:1}.marketing-kpi-footer b{color:#243746;font-size:14px;font-weight:850;line-height:1;white-space:nowrap}.marketing-kpi-footer b.positive{color:#2f9e44}.marketing-kpi-footer b.negative{color:#d64545}.marketing-details-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:30px;padding:0 10px;border:1px solid #cce4e0;border-radius:9px;background:#f2fbfa;color:#007d71;font-size:11px;font-weight:900;cursor:pointer}.marketing-details-link:hover{background:#e5f7f4;color:#005f56}.marketing-kpi-info{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:1px solid rgba(0,125,113,.35);border-radius:999px;background:#f0fbfa;color:#007d71;cursor:pointer}.marketing-kpi-info:hover{border-color:#007d71;background:#dff7f4}.marketing-kpi.good .marketing-kpi-primary strong{color:#007d71}.marketing-kpi.bad .marketing-kpi-primary strong{color:#d64545}.marketing-finance-kpi{grid-column:span 1;grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:minmax(0,1fr);gap:0;padding:0;overflow:hidden;background:#fff;color:#102536}.marketing-finance-item{display:grid;grid-template-rows:auto 1fr;gap:14px;min-width:0;padding:17px 18px 15px;background:#fff;color:#102536}.marketing-finance-item+.marketing-finance-item{border-top:1px solid #edf2f5;border-left:0}.marketing-finance-item strong{align-self:center;color:#102536;font-size:clamp(20px,1.2vw,24px);font-weight:850;line-height:1.1;letter-spacing:0;overflow-wrap:anywhere;white-space:normal}.marketing-finance-item.roi-good strong{color:#007d71}.marketing-finance-item.roi-bad strong{color:#d64545}.marketing-finance-item.roi-good,.marketing-finance-item.roi-bad{background:#fff}.marketing-charts{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px}.marketing-card{padding:18px;border:1px solid #d8e3e8;border-radius:20px;background:#fff;box-shadow:0 12px 30px #142f3d0f;min-width:0}.marketing-card.span-8{grid-column:span 8}.marketing-card.span-4{grid-column:span 4}.marketing-card-head{display:flex;justify-content:space-between;gap:14px;margin-bottom:12px}.marketing-card-head h3{margin:0;color:#102536;font-size:17px}.marketing-card-head p{margin:4px 0 0;color:#7b8a9c;font-size:12px}.marketing-stage-card{grid-column:1 / -1;padding:20px 22px 22px}.marketing-stage-head{align-items:flex-start;gap:18px;margin-bottom:10px}.marketing-stage-legend{display:flex;justify-content:flex-end;gap:16px;margin:-2px 0 10px;color:#6b7a8c;font-size:12px;font-weight:700}.marketing-stage-legend span{display:inline-flex;align-items:center;gap:7px}.marketing-stage-legend i{width:18px;height:8px;border-radius:999px}.marketing-stage-legend i.is-fact{background:#7f96aa}.marketing-stage-legend i.is-plan{background:#d7a332}.marketing-stage-chart{display:grid;gap:0;margin-top:10px;overflow:hidden;border:1px solid #e5edf1;border-radius:14px;background:#fbfdfe}.marketing-stage-row{display:grid;grid-template-columns:minmax(128px,172px) minmax(280px,1fr) 72px 72px 56px;gap:16px;align-items:center;padding:13px 14px;border-top:1px solid #edf3f6}.marketing-stage-row:first-child{border-top:0}.marketing-stage-row:not(.marketing-stage-row-head):hover{background:#f8fbfc}.marketing-stage-row-head{padding-block:10px;background:#f4f8fa;color:#708091;font-size:11px;font-weight:800;line-height:1}.marketing-stage-row-head span:nth-child(n+3){text-align:right}.marketing-stage-chart.no-plan .marketing-stage-row{grid-template-columns:minmax(128px,172px) minmax(280px,1fr) 72px}.marketing-stage-label{color:#344456;font-size:13px;font-weight:800;text-align:left}.marketing-stage-track{position:relative;display:grid;gap:6px;padding:2px 0;background:linear-gradient(#edf3f6,#edf3f6) left 2px / 100% 10px no-repeat,linear-gradient(#f5f7f8,#f5f7f8) left 18px / 100% 10px no-repeat}.marketing-stage-chart.no-plan .marketing-stage-track{background:linear-gradient(#edf3f6,#edf3f6) left center / 100% 10px no-repeat}.marketing-stage-bar{display:block;height:10px;min-width:0;border-radius:999px}.marketing-stage-bar.is-fact{background:#8096a8}.marketing-stage-bar.is-plan{background:#d8a230}.marketing-stage-value{display:contents;color:#0f2537;line-height:1.1}.marketing-stage-value strong{color:#102536;font-size:14px;font-weight:850;line-height:1;text-align:right}.marketing-stage-value small{color:#b98516;font-size:11px;font-weight:800;line-height:1;text-align:right}.marketing-stage-value b{min-width:0;font-size:13px;font-weight:850;line-height:1;text-align:right}.marketing-stage-value b.positive{color:#70ae1b}.marketing-stage-value b.negative{color:#ee3f36}.marketing-stage-empty{margin:0;color:#7b8b9e;font-weight:800;text-align:center}.marketing-expense-inline-hidden{display:none}.marketing-expense-dialog{width:min(980px,calc(100vw - 32px));max-height:calc(100vh - 56px);overflow:auto;padding:24px;border:1px solid #d8e3e8;border-radius:24px;background:#fff;box-shadow:0 28px 80px #1025363d}.marketing-expense-dialog header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;align-items:start;margin-bottom:14px}.marketing-expense-dialog header span{color:#007d71;font-size:12px;font-weight:1000;letter-spacing:.12em;text-transform:uppercase}.marketing-expense-dialog header h2{margin:0;color:#102536;font-size:26px}.marketing-expense-dialog header button{grid-row:span 2;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #d8e3e8;border-radius:12px;background:#fff;color:#496071;cursor:pointer}.marketing-expense-dialog header button:hover{border-color:#0f9f8d;color:#007d71}.marketing-expense-dialog-note{margin:0 0 16px;padding:12px 14px;border:1px solid #c9ebe6;border-radius:14px;background:#eef9f6;color:#41606c;font-size:12px;font-weight:800;line-height:1.5}.marketing-expense-grid-dialog{max-height:min(56vh,560px);padding-right:4px}.marketing-expense-actions{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:flex-end;gap:10px}.marketing-expense-actions label{display:grid;gap:6px;color:#64748b;font-size:11px;font-weight:900}.marketing-expense-actions select{min-width:190px;height:38px;padding:0 36px 0 12px;border:1px solid #d6e1e8;border-radius:12px;background:#f8fbfc;color:#243746;font-weight:900}.marketing-expense-actions button{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 12px;border:1px solid #d6e1e8;border-radius:12px;background:#fff;color:#496071;font-weight:900;cursor:pointer}.marketing-expense-actions button:hover{border-color:#0f9f8d;color:#007d71}.marketing-expense-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px;max-height:360px;overflow:auto;padding:2px}.marketing-expense-empty{grid-column:1 / -1;margin:0;border:1px dashed #cbd9df;border-radius:12px;padding:16px;color:#718394;background:#f7fafb;font-size:13px;font-weight:800;text-align:center}.marketing-expense-cell{display:grid;grid-template-columns:minmax(0,1fr) 128px;align-items:center;gap:12px;padding:12px;border:1px solid #e1e9ef;border-radius:14px;background:#f8fbfc}.marketing-expense-cell span{display:grid;gap:4px;min-width:0}.marketing-expense-cell b{overflow:hidden;color:#102536;font-size:12px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.marketing-expense-cell small{overflow:hidden;color:#7b8a9c;font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.marketing-expense-cell input{width:100%;height:36px;padding:0 10px;border:1px solid #9dd8d1;border-radius:10px;background:#fff;color:#123043;text-align:right;font-weight:900}.marketing-expense-cell input:focus{outline:2px solid rgba(18,154,143,.2);border-color:#0f9f8d}.marketing-table-wrap{overflow:auto;border:1px solid #e1e9ef;border-radius:16px}.marketing-table{width:100%;min-width:1280px;table-layout:fixed;border-collapse:collapse;font-size:12px}.marketing-table th,.marketing-table td{padding:12px 10px;border-bottom:1px solid #e7eef3;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.marketing-table th:first-child,.marketing-table td:first-child,.marketing-table th:nth-child(2),.marketing-table td:nth-child(2){text-align:left}.marketing-table th:first-child,.marketing-table td:first-child{width:230px;white-space:normal}.marketing-table td:first-child>a,.marketing-table td:first-child>button:not(.marketing-table-detail):not(.marketing-row-details){display:none}.marketing-table-title-cell{display:grid;gap:5px;min-width:0}.marketing-row-details{width:fit-content;padding:0;border:0;background:transparent;color:#007d71;font-size:10px;font-weight:900;cursor:pointer}.marketing-row-details:hover{color:#005f56;text-decoration:underline;text-underline-offset:3px}.marketing-table th:nth-child(n+2),.marketing-table td:nth-child(n+2){width:82px}.marketing-table thead th{position:sticky;top:0;z-index:1;background:#f7fafc;color:#536374;font-weight:900}.marketing-table tbody tr:hover td{background:#f8fcfc}.marketing-table-detail{display:inline-flex;justify-content:flex-end;min-width:34px;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:900;cursor:pointer}.marketing-table-detail:hover{color:#007d71;text-decoration:underline;text-underline-offset:3px}.marketing-group-row td{background:#edf8f6;color:#083b37;font-weight:900}.marketing-nested-row td:first-child{color:#496071;padding-left:28px}.marketing-nested-title{display:inline-flex;align-items:center;gap:6px}.marketing-table tfoot td{background:#e9f8f5;color:#083b37;font-weight:900}.marketing-footer-row td{border-top:2px solid #b9ded7}.source-badge{display:inline-flex;align-items:center;max-width:100%;min-height:26px;padding:4px 10px 4px 8px;border-left:4px solid var(--source-color);border-radius:8px;background:#f2f7fa;color:#2b4051;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.marketing-money-input{width:120px;height:34px;padding:0 10px;border:1px solid #9dd8d1;border-radius:10px;background:#f3fbfa;color:#123043;text-align:right;font-weight:900}.marketing-money-input:focus{outline:2px solid rgba(18,154,143,.2);border-color:#0f9f8d}.positive{color:#007d71;font-weight:900}.negative{color:#d64545;font-weight:900}@media(max-width:1200px){.marketing-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.marketing-finance-kpi{grid-column:span 2}.marketing-card.span-8,.marketing-card.span-4{grid-column:span 12}}@media(max-width:760px){.marketing-toolbar{align-items:stretch;flex-direction:column}.marketing-toolbar select{min-width:100%}.marketing-kpi-grid{grid-template-columns:1fr}.marketing-finance-kpi{grid-column:span 1}.marketing-stage-head{flex-direction:column}.marketing-stage-controls{width:100%;justify-content:stretch}.marketing-stage-controls label,.marketing-stage-controls select{width:100%;min-width:0}.marketing-stage-row{grid-template-columns:1fr;gap:6px}.marketing-stage-label{text-align:left}}.chart-header h3,.forecast-panel>header h3,.receipts-panel>header h3,.marketing-card-head h3,.hierarchy-widget-header h3{font-size:14px;line-height:1.25}.chart-header p,.forecast-panel>header p,.receipts-panel>header p,.marketing-card-head p,.hierarchy-widget-header p{font-size:10px;line-height:1.35}.kpi-heading,.forecast-kpi-heading,.receipts-kpi-heading,.marketing-kpi-head>span{font-size:11px;line-height:1.25}.kpi-value,.forecast-kpi>strong,.receipts-kpi strong,.marketing-kpi-primary strong,.marketing-finance-item strong{font-size:24px;line-height:1.05}.forecast-kpi>b,.marketing-kpi-price b{font-size:16px;line-height:1.1}.kpi-meta span,.kpi-side-extra span,.kpi-deal-amount span,.forecast-kpi>small,.forecast-kpi-actions button,.receipts-kpi small,.receipts-kpi-actions button,.marketing-kpi-primary small,.marketing-kpi .marketing-kpi-price small,.marketing-kpi-footer span,.marketing-details-link{font-size:10px;line-height:1.25}.kpi-meta strong,.kpi-deal-amount strong,.marketing-kpi-footer b{font-size:12px;line-height:1.2}.forecast-table,.receipts-table,.marketing-table,.plans-table,.channel-plan-table,.hierarchy-table,.forecast-money-matrix,.forecast-money-matrix .matrix-date,.forecast-money-matrix .money-cell,.forecast-money-matrix .count-col,.forecast-money-matrix .count-cell,.forecast-money-matrix tbody th{font-size:11px}.marketing-toolbar label,.marketing-toolbar-copy,.manual-edit-hint,.marketing-stage-legend,.marketing-expense-dialog-note,.marketing-expense-actions label,.marketing-expense-cell b,.marketing-expense-cell small{font-size:10px;line-height:1.35}.registered-report{display:grid;gap:14px}.registered-report-panel{overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 5px 18px #1b2a3317}.registered-report-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px;border-bottom:1px solid #e5ecef}.registered-report-panel h2{margin:0 0 5px;color:#102536;font-size:22px;line-height:1.15}.registered-report-panel header span{color:#667785;font-size:12px;font-weight:700}.registered-report-status{display:flex;align-items:flex-start;gap:9px;margin:14px 18px;padding:12px 14px;border:1px solid #c9e5df;border-radius:10px;color:#315f59;background:#f0f9f7;font-size:12px;font-weight:800;line-height:1.45}.registered-table-wrap{overflow:auto;border-top:1px solid #e5ecef}.registered-table{width:100%;min-width:2400px;border-collapse:collapse;color:#263842;font-size:13px}.registered-table th,.registered-table td{padding:9px 10px;border-right:1px solid #e6edf0;border-bottom:1px solid #e6edf0;text-align:left;vertical-align:top}.registered-table thead th{position:sticky;top:0;z-index:2;color:#425363;background:#f6fafb;font-weight:900;white-space:nowrap}.registered-table thead tr:nth-child(2) th{top:34px;color:#71808d;background:#eef5f6;font-size:11px;font-weight:800}.registered-table tbody tr:hover td{background:#f9fcfc}.registered-table td{max-width:260px;white-space:pre-line}.registered-table td.is-right{text-align:right;white-space:nowrap}.registered-table a{display:inline-flex;align-items:center;gap:5px;color:var(--teal);font-weight:800;text-decoration:none;white-space:nowrap}.registered-contact-links{display:grid;gap:4px}.marketing-toolbar-copy strong,.marketing-stage-label,.marketing-stage-value strong,.marketing-stage-value b,.marketing-stage-row-head{font-size:12px}.marketing-stage-value small,.marketing-row-details{font-size:10px}.marketing-expense-dialog header h2,.metric-info-dialog h2,.directory-modal .modal-heading h2{font-size:22px;line-height:1.2}
