.preorder-panel{color:#233747;background:#fff;border:1px solid #d8e1e8;border-radius:16px;min-width:0;margin:20px 0;padding:18px}.preorder-panel header{justify-content:space-between;align-items:center;gap:12px;display:flex}.preorder-panel h2{margin:0;font-size:18px}.preorder-panel p,.preorder-panel span{color:#526777;font-size:13px;line-height:1.5}.preorder-panel button{cursor:pointer;font:inherit;color:inherit;background:#f5f8fa;border:1px solid #b8cad5;border-radius:9px;min-height:44px;padding:9px 12px}.preorder-panel ul{max-height:440px;margin:12px 0 0;padding:0;list-style:none;overflow:auto}.preorder-panel li{overflow-wrap:anywhere;border-top:1px solid #e3e9ed;grid-template-columns:1.2fr 1.3fr 1fr;gap:14px;padding:14px 0;display:grid}.preorder-panel li div{flex-direction:column;align-items:flex-start;gap:5px;min-width:0;display:flex}.preorder-panel strong{font-size:14px}.preorder-panel .preorder-order{text-align:left;overflow-wrap:anywhere;max-width:100%;font-weight:600}.preorder-panel button:focus-visible{outline-offset:3px;outline:2px solid #126a9a}@media (max-width:600px){.preorder-panel{padding:12px}.preorder-panel li{grid-template-columns:1fr;gap:8px}.preorder-panel header{align-items:flex-start}.preorder-panel h2{font-size:17px}.preorder-panel ul{max-height:520px}}
.project-queue-view{color:#263a4e;gap:22px;padding:24px 26px;display:grid}.queue-actions{justify-content:space-between;align-items:center;gap:18px;display:flex}.queue-actions p,.queue-footnote,.queue-reconciliation>p{color:#687e90;font-size:12px;line-height:1.6}.queue-actions button{flex-shrink:0}.queue-counters{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.queue-counters>div{background:#f8fafc;border:1px solid #e0e8ed;border-radius:12px;padding:15px}.queue-counters small,.queue-counters strong{display:block}.queue-counters small{color:#687e90;font-size:11px}.queue-counters strong{margin-top:6px;font-size:25px}.queue-dates{gap:9px;font-size:12px;display:grid}.queue-dates>div{justify-content:space-between;gap:12px;display:flex}.queue-dates dt{color:#687e90}.queue-dates dd{text-align:right}.queue-section-title{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.queue-section-title h3{font-size:16px}.queue-section-title small{color:#687e90;font-size:10px}.queue-reconciliation{border:1px solid #e0e8ed;border-radius:12px;gap:12px;padding:18px;display:grid}.queue-reconciliation .queue-section-title{margin-bottom:0}.queue-reconciliation .status{justify-self:start}.queue-reconciliation table{width:100%;min-width:0;font-size:12px}.queue-reconciliation th,.queue-reconciliation td{padding:11px 8px}.queue-issues{gap:10px;max-height:200px;display:grid;overflow:auto}.queue-issues p{font-size:12px}.queue-issues small{color:#687e90;margin-top:4px;font-size:11px;display:block}.queue-jobs{gap:10px;display:grid}.queue-jobs article{border:1px solid #e0e8ed;border-radius:10px;justify-content:space-between;gap:16px;padding:14px;display:flex}.queue-jobs article>div:first-child{min-width:0}.queue-jobs strong{font-size:12px}.queue-jobs small{color:#687e90;margin-top:6px;font-size:10px;display:block}.queue-jobs p{margin-top:8px;font-size:11px;line-height:1.5}.queue-job-actions{flex-direction:column;flex-shrink:0;justify-content:flex-start;align-items:flex-end;gap:10px;display:flex}.queue-job-actions button{font-size:11px}.queue-notice,.queue-warning{border-radius:10px;padding:13px 15px;font-size:12px;line-height:1.6}.queue-notice{color:#087e65;background:#eaf8f2}.queue-warning{color:#916715;background:#fff5de}.queue-correction{border:1px solid #d9e5e9;border-radius:12px;gap:14px;padding:18px;display:grid}.queue-correction h3,.queue-correction-history h3{font-size:16px}.queue-correction p{font-size:12px;line-height:1.6}.queue-correction label{gap:7px;font-size:12px;display:grid}.queue-correction input:not([type=checkbox]),.queue-correction textarea{width:100%;min-width:0;font:inherit;border:1px solid #d4e0e7;border-radius:8px;padding:12px}.queue-correction textarea{min-height:90px}.queue-correction .queue-confirm{align-items:flex-start;gap:9px;line-height:1.5;display:flex}.queue-confirm input{margin-top:3px}.queue-correction-history{gap:12px;display:grid}.queue-correction-history article{overflow-wrap:anywhere;border:1px solid #e0e8ed;border-radius:8px;padding:12px}.queue-correction-history strong,.queue-correction-history p{font-size:12px}.queue-correction-history p{margin:8px 0;line-height:1.5}.queue-correction-history small{color:#687e90;font-size:10px}.queue-issues button{margin-top:8px}@media (max-width:600px){.project-queue-view{padding:18px}.queue-actions{flex-direction:column;align-items:stretch}.queue-counters{gap:7px}.queue-counters>div{padding:11px}.queue-counters small{font-size:10px}.queue-section-title{flex-direction:column;align-items:flex-start;gap:6px}.queue-jobs article{flex-direction:column;gap:10px}.queue-job-actions{flex-direction:row;justify-content:space-between;align-items:center}.queue-reconciliation{padding:13px}.queue-dates{font-size:11px}}
.attention-panel .panel-head{flex-wrap:wrap;align-items:flex-start;gap:16px}.attention-panel .panel-head p{max-width:680px;line-height:1.5}.attention-panel .panel-head button{flex-shrink:0;min-height:42px}.attention-status{padding:0 22px}.attention-status>p{color:#52657b;margin:0 0 14px;font-size:14px;line-height:1.5}.attention-status .attention-check-error{color:#a23431;background:#fff2f1;border:1px solid #f2ceca;border-radius:10px;padding:12px}.attention-counts{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px;display:flex}.attention-counts>span{border-radius:7px;padding:5px 10px;font-size:14px;font-weight:650}.attention-counts .error{color:#a42c2c;background:#fdeced}.attention-counts .warning{color:#805400;background:#fff3d9}.attention-counts .task{color:#225b91;background:#eaf3fe}.attention-counts small{color:#617186;margin-left:auto;font-size:13px}.attention-items{gap:10px;padding:0 22px;display:grid}.attention-item{text-align:left;color:#24364d;cursor:pointer;background:#fff;border:1px solid #dee5ee;border-radius:12px;grid-template-columns:30px minmax(0,1fr) 16px;align-items:start;gap:12px;width:100%;min-width:0;padding:16px;display:grid}.attention-item:hover{background:#f8fafd;border-color:#a9bdd3}.attention-item:focus-visible{outline-offset:2px;outline:3px solid #3978d2}.attention-item i{border-radius:8px;place-items:center;width:28px;height:28px;font-style:normal;font-weight:750;display:grid}.attention-item.error i{color:#a42c2c;background:#fdeced}.attention-item.warning i{color:#805400;background:#fff3d9}.attention-item.task i{color:#225b91;background:#eaf3fe}.attention-item strong{overflow-wrap:anywhere;font-size:15px;line-height:1.5;display:block}.attention-item small{color:#617186;overflow-wrap:anywhere;margin-top:4px;font-size:14px;line-height:1.5;display:block}.attention-item b{color:#617186;align-self:center}.attention-expand{margin:14px 22px 0}.attention-panel{padding-bottom:22px}.attention-panel .attention-clear{margin:0 22px}.attention-panel .attention-clear small{font-size:14px;line-height:1.5}.attention-panel .attention-clear strong{font-size:15px}@media (max-width:640px){.attention-status,.attention-items{padding-inline:14px}.attention-item{grid-template-columns:28px minmax(0,1fr) 12px;gap:9px;padding:12px}.attention-counts small{width:100%;margin-left:0}.attention-panel .panel-head button{width:100%}.attention-panel .attention-clear,.attention-expand{margin-inline:14px}}
.home-warehouse-finance{margin-top:20px}.home-warehouse-finance h2{margin:0;font-size:20px;font-weight:650}.home-warehouse-finance-description,.home-warehouse-finance-note{color:var(--muted);font-size:12px;line-height:1.55}.home-warehouse-finance-description{margin:8px 0 0}.home-warehouse-finance-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 0;display:grid}.home-warehouse-finance-totals>div{border:1px solid var(--line);background:#f8f9fd;border-radius:10px;min-width:0;padding:16px}.home-warehouse-finance-totals dt{color:var(--muted);font-size:13px;line-height:1.5}.home-warehouse-finance-totals dd{color:var(--ink);overflow-wrap:anywhere;margin:8px 0;font-size:clamp(24px,2.6vw,32px);font-weight:650;line-height:1.25}.home-warehouse-finance-totals p{color:var(--muted);margin:0;font-size:12px;line-height:1.5}.home-warehouse-finance-note{margin:12px 0 0}.home-warehouse-finance-warning{color:#925318;margin:10px 0 0;font-size:12px;line-height:1.5}@media (max-width:600px){.home-warehouse-finance-totals{grid-template-columns:minmax(0,1fr)}.home-warehouse-finance-totals>div{padding:14px}}
.crm-shell .home-finance[aria-label=Общие\ финансы]{background:#f7f9ff;border-color:#d9e3f7;padding:12px}.crm-shell .home-finance-totals{gap:12px}.crm-shell .home-finance-totals>div{background:#eaf2ff;border:1px solid #ccddf5;border-radius:11px;padding:20px}.crm-shell .home-finance-totals>div:nth-child(2){background:#eaf7f0;border-color:#c8e4d5}.crm-shell .home-finance-totals>div:nth-child(3){background:#f2edfc;border-color:#ded1f3}.crm-shell .home-finance-totals>div:first-child .eyebrow{color:#315ba4}.crm-shell .home-finance-totals>div:nth-child(2) .eyebrow{color:#236553}.crm-shell .home-finance-totals>div:nth-child(3) .eyebrow{color:#64408b}.crm-shell .home-finance-totals span{color:#53627a}.crm-shell .home-p1-finance{min-height:0;margin-top:12px}.crm-shell .home-p1-totals{grid-template-columns:repeat(3,minmax(0,1fr))}.crm-shell .home-p1-totals>div:first-child{background:#fff6e8;border-color:#ecd8b6}.crm-shell .home-p1-totals>div:first-child .eyebrow{color:#815719}.crm-shell .home-p1-totals .soft-button{white-space:normal;max-width:100%;margin-top:12px}.crm-shell .home-project-finance .finance-card{--project-tint:#f3f0ff;--project-line:#dcd2f4;--project-accent:#72529c;background:var(--project-tint);border-color:var(--project-line);border-top:3px solid var(--project-accent)}.crm-shell .home-project-finance .finance-card.aibio{--project-tint:#eef5ff;--project-line:#cbdcf2;--project-accent:#4173b0}.crm-shell .home-project-finance .finance-card.kz_003{--project-tint:#fff3e9;--project-line:#ead2bf;--project-accent:#a56b40}.crm-shell .home-project-finance .finance-card .project-logo{color:var(--project-accent);border:1px solid var(--project-line);background:#ffffffb3;border-radius:10px}.crm-shell .home-project-finance .finance-card dl>div{border-color:var(--project-line)}.crm-shell .home-project-finance .finance-card dt{color:#53627a}.crm-shell .home-warehouse-finance{background:#f0f8f6;border-color:#cde4dc}.crm-shell .home-warehouse-finance-totals>div:first-child{background:#fff8ea;border-color:#ecddbb}.crm-shell .home-warehouse-finance-totals>div:nth-child(2){background:#e9f5f1;border-color:#c5dfd4}.crm-shell .home-warehouse-finance :is(.home-warehouse-finance-description,.home-warehouse-finance-note,dt,.home-warehouse-finance-totals p){color:#53627a}.crm-shell .home-attention .attention-panel{background:#fffaf1;border-color:#eadebf}.crm-shell .home-attention .attention-panel .panel-head{border-color:#eadebf}.crm-shell .home-attention .attention-item.error{background:#fff1f2;border-color:#efcdd1}.crm-shell .home-attention .attention-item.warning{background:#fff6e3;border-color:#ead7ac}.crm-shell .home-attention .attention-item.task{background:#edf4ff;border-color:#cfdff4}.crm-shell .home-attention .attention-item.error:hover{background:#ffe7ea;border-color:#d6a5ad}.crm-shell .home-attention .attention-item.warning:hover{background:#ffefcf;border-color:#ceb575}.crm-shell .home-attention .attention-item.task:hover{background:#e2eeff;border-color:#a9c5eb}.crm-shell .home-attention .attention-clear{color:#236553;background:#eaf7f0;border:1px solid #c8e4d5;border-radius:10px}@media (max-width:820px){.crm-shell .home-p1-totals{grid-template-columns:minmax(0,1fr)}.crm-shell .home-finance[aria-label=Общие\ финансы]{padding:10px}.crm-shell .home-finance-totals>div{padding:16px}}
.abc-owner{min-width:0;color:var(--p1-text,#172b4d);font-variant-numeric:tabular-nums;gap:14px;display:grid}.abc-owner *{box-sizing:border-box;min-width:0}.abc-owner button,.abc-owner select,.abc-owner input{font:inherit}.abc-owner button,.abc-owner summary{cursor:pointer}.abc-owner button{border:1px solid var(--p1-border,#dce5f2);color:#173b77;background:#fff;border-radius:8px;min-height:44px;padding:8px 12px;font-weight:600}.abc-owner button:disabled{opacity:.55;cursor:wait}.abc-owner :is(button,input,select,summary):focus-visible{outline-offset:2px;outline:3px solid #7da4ed}.abc-owner button:hover{background:#f0f5ff}.abc-filter-panel,.abc-workspace{border:1px solid var(--p1-border,#dce5f2);background:#fff;border-radius:12px;padding:12px}.abc-primary-filters{grid-template-columns:1fr 1fr;gap:10px;display:grid}.abc-owner label{color:#64748b;gap:5px;font-size:12px;font-weight:500;display:grid}.abc-owner :is(input:not([type=checkbox]),select){color:#172b4d;background:#fff;border:1px solid #dce5f2;border-radius:8px;width:100%;min-height:44px;padding:9px 10px;font-size:16px}.abc-dates{margin-top:10px}.abc-period-line{color:#64748b;justify-content:space-between;align-items:center;gap:8px;margin-top:5px;font-size:12px;display:flex}.abc-period-line button{background:0 0;border:0;padding:8px}.abc-kpis{grid-template-columns:1fr 1fr;gap:8px;display:grid}.abc-kpis article{overflow-wrap:anywhere;background:#fff;border:1px solid #dce5f2;border-radius:12px;flex-direction:column;gap:7px;padding:12px;display:flex}.abc-kpis span{color:#64748b;font-size:12px}.abc-kpis strong{letter-spacing:-.5px;font-size:clamp(17px,4.7vw,26px);line-height:1.2}.abc-kpis small{color:#64748b;font-size:10px;line-height:1.35}.abc-kpis .abc-kpi-accent{color:#fff;background:#173b77;border-color:#173b77}.abc-kpi-accent :is(span,small){color:#dce8ff}.abc-list-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}.abc-list-head h2{margin:0;font-size:17px;line-height:1.3}.abc-basis{max-width:155px}.abc-owner .abc-basis select{padding:8px;font-size:14px}.abc-groups{grid-template-columns:.8fr 1fr 1fr 1fr;gap:6px;margin-bottom:12px;display:grid}.abc-groups button{text-align:left;color:#475569;justify-content:space-between;align-items:center;gap:4px;padding:9px 8px;display:flex}.abc-groups b{font-size:16px}.abc-groups span{text-align:right;font-size:12px}.abc-groups small{margin-top:3px;font-size:10px;font-weight:400;display:block}.abc-groups b small{display:none}.abc-owner button.selected{color:#173b77;background:#eaf1ff;border-color:#173b77;box-shadow:inset 0 0 0 1px #173b77}.abc-groups .abc-group-A:not(.selected){background:#edf8f1;border-color:#d7eadf}.abc-groups .abc-group-B:not(.selected){background:#f0f5ff}.abc-groups .abc-group-C:not(.selected){background:#f6f7f9}.abc-secondary{flex-wrap:wrap;align-items:flex-start;gap:8px;margin-top:10px;display:flex}.abc-secondary>button{padding:8px 10px;font-size:12px}.abc-secondary details{flex:1}.abc-secondary summary,.abc-help summary{color:#173b77;align-items:center;min-height:44px;padding:8px;font-size:12px;font-weight:600;display:flex}.abc-secondary summary:before,.abc-help summary:before,.abc-product-details summary:before{content:"+";margin-right:8px;font-size:16px}.abc-owner details[open]>summary:before{content:"−"}.abc-extra-filters{gap:12px;padding:12px 0;display:grid}.abc-owner .abc-check{color:#172b4d;align-items:center;gap:10px;min-height:44px;display:flex}.abc-check input{accent-color:#173b77;flex-shrink:0;width:20px;height:20px}.abc-owner .abc-reset{border:0}.abc-results-count{color:#64748b;flex-wrap:wrap;justify-content:space-between;gap:4px;margin:12px 0;font-size:11px;display:flex}.abc-results-count span{font-size:10px}.abc-products{gap:10px;display:grid}.abc-product{border:1px solid #dce5f2;border-radius:10px;padding:12px}.abc-product-top{grid-template-columns:28px minmax(0,1fr);align-items:start;gap:8px;display:grid}.abc-letter{color:#64748b;background:#f1f5f9;border-radius:7px;place-items:center;width:28px;height:28px;font-size:13px;font-weight:700;display:grid}.abc-letter-A{color:#28613c;background:#e4f4e9}.abc-letter-B{color:#173b77;background:#eaf1ff}.abc-product-name h3{overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.4}.abc-product-name p{color:#64748b;margin:4px 0 0;font-size:12px;line-height:1.4}.abc-product-name p span{margin-top:3px;font-size:11px;display:block}.abc-product-value{overflow-wrap:anywhere;grid-column:2;font-size:18px}.abc-product-stats{border-top:1px solid #edf1f7;grid-template-columns:1fr .65fr 1.3fr;gap:8px;margin-top:12px;padding-top:10px;display:grid}.abc-product-stats span{color:#64748b;flex-direction:column;gap:5px;font-size:10px;display:flex}.abc-product-stats b{color:#172b4d;overflow-wrap:anywhere;width:max-content;max-width:100%;font-size:12px}.abc-product-stats .abc-stock-good,.abc-product-stats .abc-stock-low{color:#28613c;background:#eaf7ef;border-radius:5px;margin-top:-3px;padding:3px 6px}.abc-product-stats .abc-stock-low{color:#785c10;background:#fff7dc}.abc-product-details summary{color:#64748b;align-items:center;min-height:44px;font-size:11px;display:flex}.abc-product-details>div{color:#64748b;gap:8px;font-size:11px;display:grid}.abc-product-details span{overflow-wrap:anywhere;justify-content:space-between;gap:10px;display:flex}.abc-product-details b{color:#172b4d}.abc-more{width:100%;margin-top:12px}.abc-notice{color:#7a5a18;background:#fff8e6;border-radius:8px;padding:10px 12px;font-size:12px;line-height:1.5}.abc-workspace .abc-notice{margin-top:10px}.abc-error{color:#9b2c2c;background:#fff0ee;justify-content:space-between;align-items:center;gap:10px;display:flex}.abc-error button{flex-shrink:0}.abc-empty{text-align:center;padding:26px 10px;font-size:14px}.abc-empty p{color:#64748b;font-size:12px}.abc-help{color:#64748b;font-size:12px;line-height:1.6}.abc-help p{margin:8px 12px 12px}.abc-sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (min-width:700px){.abc-filter-panel,.abc-workspace{padding:16px}.abc-filter-panel{max-width:none}.abc-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.abc-kpis article{padding:16px}.abc-kpis small{font-size:11px}.abc-groups{grid-template-columns:repeat(4,1fr)}.abc-groups button{padding:12px}.abc-groups b small{display:block}.abc-product-top{grid-template-columns:32px minmax(0,1fr) minmax(100px,auto);align-items:center}.abc-product-value{text-align:right;grid-column:auto}.abc-product-name p span{margin-left:10px;display:inline}.abc-product-stats{grid-template-columns:1fr 1fr 1fr;margin-left:40px}.abc-product-details{margin-left:40px}.abc-product-details>div{max-width:500px}.abc-secondary details{flex:initial;min-width:220px}.abc-list-head h2{font-size:19px}.abc-product-name h3{font-size:15px}}@media (max-width:359px){.abc-filter-panel,.abc-workspace,.abc-kpis article{padding:10px}.abc-list-head h2{font-size:15px}.abc-basis{max-width:135px}.abc-groups button{flex-wrap:wrap;padding:8px 5px}.abc-owner .abc-basis select{font-size:13px}.abc-product{padding:10px}}@media (max-width:699px){.abc-owner .abc-basis select{font-size:16px}.abc-basis{max-width:160px}}
.mk-center{min-width:0;color:var(--p1-text,#172b4d);gap:14px;display:grid}.mk-center *{box-sizing:border-box}.mk-toolbar,.mk-meta,.mk-section-head,.mk-card-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.mk-tabs{flex-wrap:wrap;gap:4px;display:flex}.mk-tabs button{color:#173b77;background:#fff;border:1px solid #dce5f2;border-radius:8px;min-height:44px;padding:8px 12px}.mk-tabs button[aria-pressed=true]{color:#fff;background:#173b77}.mk-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.mk-filters label,.mk-import label{color:#64748b;gap:5px;font-size:12px;display:grid}.mk-filters input,.mk-filters select,.mk-import input,.mk-import select{color:#172b4d;background:#fff;border:1px solid #dce5f2;border-radius:8px;width:100%;min-width:0;min-height:44px;padding:8px;font-size:16px}.mk-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.mk-kpis>div{background:#fff;border:1px solid #dce5f2;border-radius:12px;gap:6px;min-width:0;padding:12px;display:grid}.mk-kpis strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:clamp(16px,4.4vw,24px)}.mk-kpis span,.mk-kpis small,.mk-meta,.mk-card-head small{color:#64748b;font-size:12px}.mk-kpis>div:last-child{color:#fff;background:#173b77}.mk-kpis>div:last-child span,.mk-kpis>div:last-child small{color:#eaf1ff}.mk-warning{color:#735014;background:#fff6df;border-radius:8px;margin:0;padding:10px 12px;font-size:13px}.mk-projects,.mk-agencies{gap:10px;min-width:0;display:grid}.mk-projects article,.mk-agencies article,.mk-details{background:#fff;border:1px solid #dce5f2;border-radius:12px;min-width:0;padding:12px}.mk-center h3{margin:0;font-size:15px}.mk-card-head strong{overflow-wrap:anywhere;font-size:14px}.mk-ok,.mk-warn{color:#24613c;background:#e9f5ed;border-radius:6px;padding:4px 7px;font-size:11px}.mk-warn{color:#735014;background:#fff6df}.mk-center dl{gap:6px;margin:12px 0;display:grid}.mk-center dl>div{justify-content:space-between;gap:10px;font-size:13px;display:flex}.mk-center dt{color:#64748b}.mk-center dd{font-variant-numeric:tabular-nums;margin:0;font-weight:600}.mk-result{border-top:1px solid #dce5f2;padding-top:8px}.mk-center summary{cursor:pointer;color:#173b77;align-items:center;min-height:44px;font-size:13px;display:flex}.mk-center summary:before{content:"＋";margin-right:8px}.mk-center details[open]>summary:before{content:"−"}.mk-center details p,.mk-center details small{color:#64748b;font-size:12px;line-height:1.5}.mk-expenses{gap:8px;display:grid}.mk-expenses article{border-bottom:1px solid #dce5f2;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 0;font-size:13px;display:flex}.mk-expenses article>div{flex:1;gap:5px;min-width:180px;display:grid}.mk-expenses b{white-space:nowrap}.mk-center a{color:#173b77;align-items:center;min-height:44px;font-size:13px;display:inline-flex}.mk-import{gap:14px;min-width:0;display:grid}.mk-import p{font-size:13px;line-height:1.5}.mk-preview{background:#f4f7fc;max-height:220px;padding:10px;overflow:auto}.mk-close{gap:10px;margin-top:15px;display:grid}.mk-close label{align-items:center;gap:8px;min-height:44px;font-size:13px;display:flex}.mk-center button{min-height:44px}.mk-center button:focus-visible,.mk-center summary:focus-visible{outline-offset:2px;outline:3px solid #7da4ed}.mk-center button:disabled{opacity:.5;cursor:default}@media (min-width:760px){.mk-projects{grid-template-columns:repeat(3,minmax(0,1fr))}.mk-agencies{grid-template-columns:repeat(2,minmax(0,1fr))}.mk-filters,.mk-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}}.mk-modal .mk-import{padding:16px;padding-bottom:max(16px,env(safe-area-inset-bottom));min-height:0;overflow:auto}.mk-modal .mk-import>button:last-child{flex-shrink:0;position:sticky;bottom:0}
body .crm-shell.p1-admin .owner-finance{min-width:0;color:var(--p1-text,#172b4d);font-variant-numeric:tabular-nums;gap:14px;display:grid}body .crm-shell.p1-admin .owner-finance *{box-sizing:border-box;min-width:0}.of-top{justify-content:space-between;align-items:center;gap:12px;display:flex}.of-tabs{background:#eaf1ff;border-radius:12px;flex:1;gap:4px;max-width:360px;padding:4px;display:flex}.of-tabs button{color:#173b77;min-height:44px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:1;padding:8px 14px;font-weight:650}.of-tabs button[aria-selected=true]{color:#fff;background:var(--p1-primary,#173b77);box-shadow:0 2px 5px #173b7714}.of-refresh{color:#173b77;cursor:pointer;background:#fff;border:1px solid #dce5f2;border-radius:10px;flex:none;width:44px;height:44px;font-size:25px}.of-filters,.of-expense-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.of-filters label,.of-expense-filters label{color:#64748b;gap:5px;font-size:12px;font-weight:600;display:grid}body .crm-shell.p1-admin .owner-finance select,body .crm-shell.p1-admin .owner-finance input:not([type=checkbox]){color:#172b4d;width:100%;max-width:100%;min-height:44px;font:inherit;background:#fff;border:1px solid #dce5f2;border-radius:8px;padding:10px 9px;font-size:16px;font-weight:500}body .crm-shell.p1-admin .owner-finance :is(button,input,select,summary):focus-visible{outline-offset:2px;outline:3px solid #7da4ed}body .crm-shell.p1-admin .owner-finance button:disabled{opacity:.55;cursor:wait}.of-range{color:#64748b;margin:0;font-size:12px}.of-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.of-metric{background:#fff;border:1px solid #dce5f2;border-radius:12px;flex-direction:column;justify-content:flex-start;gap:8px;min-height:112px;padding:14px 12px;display:flex}.of-metric>span{color:#64748b;font-size:12px;font-weight:600;line-height:1.3}.of-metric>strong{letter-spacing:-.5px;overflow-wrap:anywhere;font-size:clamp(18px,4.8vw,26px);font-weight:750;line-height:1.15}.of-metric>small{color:#64748b;font-size:11px;line-height:1.3}.of-metric.of-profit{color:#fff;background:#173b77;border-color:#173b77}.of-metric.of-profit>span,.of-metric.of-profit>small{color:#e5edff}.of-metric.of-loss{background:#7f2637;border-color:#7f2637}.of-panel{background:#fff;border:1px solid #dce5f2;border-radius:12px;min-width:0;padding:16px 14px}.of-panel h2{margin:0 0 14px;font-size:16px;font-weight:700;line-height:1.4}.of-breakdown{gap:0;margin:0;display:grid}.of-breakdown>div{border-bottom:1px solid #edf1f7;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.of-breakdown dt{color:#64748b;flex:1;font-size:13px}.of-breakdown dd{text-align:right;overflow-wrap:anywhere;max-width:55%;margin:0;font-size:14px;font-weight:650}.of-breakdown button{min-height:44px;font:inherit;color:#173b77;cursor:pointer;text-align:left;background:0 0;border:0;padding:0}.of-breakdown .of-result{border:0;padding-top:14px}.of-result dt,.of-result dd{color:#173b77;font-weight:750}.of-method{color:#64748b;margin-top:10px;font-size:12px;line-height:1.5}.of-method summary,.of-expense-details summary{cursor:pointer;color:#173b77;align-items:center;gap:8px;min-height:44px;font-size:13px;font-weight:600;list-style:none;display:flex}.of-method summary:before,.of-expense-details summary:before{content:"+";font-size:18px;font-weight:400}.of-method[open] summary:before,.of-expense-details[open] summary:before{content:"−"}.of-method p{margin:4px 0 8px}.of-projects{gap:0;display:grid}.of-project{color:#172b4d;cursor:pointer;text-align:left;min-height:64px;font:inherit;background:#fff;border:0;border-bottom:1px solid #edf1f7;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;display:flex}.of-project:last-child{border-bottom:0;padding-bottom:0}.of-project:first-child{padding-top:0}.of-project>span{flex:1;gap:5px;display:grid}.of-project>span:last-child{text-align:right}.of-project b{overflow-wrap:anywhere;font-size:14px}.of-project small{color:#64748b;font-size:11px;line-height:1.4}.of-notice{color:#745321;background:#fff6e5;border-radius:10px;margin:0;padding:12px;font-size:13px;line-height:1.5}.of-notice button{color:#173b77;min-height:44px;font:inherit;background:0 0;border:0;text-decoration:underline}.of-search{grid-column:1/-1}body .crm-shell.p1-admin .owner-finance .p1-expenses{gap:12px}body .crm-shell.p1-admin .owner-finance .sales-toolbar{text-align:left;flex-direction:row;align-items:center;gap:10px;display:flex}body .crm-shell.p1-admin .owner-finance .sales-toolbar h2,body .crm-shell.p1-admin .owner-finance .sales-toolbar h3{margin:0;font-size:16px}body .crm-shell.p1-admin .owner-finance .sales-toolbar-actions{flex-wrap:wrap;gap:6px;width:auto}body .crm-shell.p1-admin .owner-finance .p1-expenses>.sales-toolbar .soft-button{display:none}body .crm-shell.p1-admin .owner-finance .p1-expenses>.sales-toolbar .primary-button{min-height:44px;padding:10px 12px;font-size:13px}body .crm-shell.p1-admin .owner-finance .sales-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0;display:grid}body .crm-shell.p1-admin .owner-finance .sales-kpis>div{background:#fff;border:1px solid #dce5f2;border-radius:10px;padding:12px 8px}body .crm-shell.p1-admin .owner-finance .sales-kpis span{font-size:10px;line-height:1.35}body .crm-shell.p1-admin .owner-finance .sales-kpis strong{overflow-wrap:anywhere;font-size:15px}body .crm-shell.p1-admin .owner-finance .p1-expense-list{gap:8px;display:grid}body .crm-shell.p1-admin .owner-finance .p1-expense-card{box-shadow:none;background:#fff;border:1px solid #dce5f2;border-radius:12px;padding:12px}body .crm-shell.p1-admin .owner-finance .p1-expense-card-head{flex-direction:row;justify-content:space-between;align-items:start;gap:12px;display:flex}body .crm-shell.p1-admin .owner-finance .p1-expense-card-head>div:first-child{flex:1}body .crm-shell.p1-admin .owner-finance .p1-expense-card h4{overflow-wrap:anywhere;margin:0 0 5px;font-size:14px;line-height:1.4}body .crm-shell.p1-admin .owner-finance .p1-expense-card p{color:#64748b;overflow-wrap:anywhere;margin:5px 0;font-size:12px;line-height:1.45}body .crm-shell.p1-admin .owner-finance .p1-expense-amount{text-align:right;flex:none;max-width:42%}body .crm-shell.p1-admin .owner-finance .p1-expense-amount strong{overflow-wrap:anywhere;font-size:16px}body .crm-shell.p1-admin .owner-finance .of-expense-details summary{min-height:44px}body .crm-shell.p1-admin .owner-finance .operations-row-actions{flex-wrap:wrap;gap:8px;display:flex}body .crm-shell.p1-admin .owner-finance .operations-row-actions button{min-height:44px;padding:8px 12px;font-size:12px}@media (min-width:768px){body .crm-shell.p1-admin .owner-finance{gap:18px;max-width:1120px}.of-filters{max-width:580px}.of-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.of-metric{min-height:122px;padding:18px}.of-metric>strong{font-size:28px}.of-metric>span{font-size:13px}.of-expense-filters{grid-template-columns:minmax(220px,2fr) 1fr 1fr}.of-search{grid-column:auto}.of-panel{padding:20px}body .crm-shell.p1-admin .owner-finance .sales-kpis strong{font-size:21px}body .crm-shell.p1-admin .owner-finance .sales-kpis span{font-size:12px}}@media (prefers-reduced-motion:reduce){body .crm-shell.p1-admin .owner-finance *{scroll-behavior:auto!important;transition:none!important}}@media (max-width:360px){.of-filters{grid-template-columns:1fr}.of-metric{min-height:102px}.of-metric>strong{font-size:18px}}
.crm-shell .customers-workspace{gap:10px;container:customers/inline-size}.crm-shell .customers-workspace>.section-actions{gap:10px;min-height:0;margin:0 0 2px}.customers-workspace .section-actions h2{font-size:20px}.customers-workspace .section-actions p{margin-top:4px;font-size:12px}.customers-workspace .customer-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.customers-workspace .customer-kpis>:is(button,div){min-width:0;min-height:62px;color:inherit;font:inherit;text-align:left;box-shadow:none;background:#fff;border:1px solid #dfe6eb;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:10px 13px;display:flex}.customers-workspace .customer-kpis>button{cursor:pointer}.customers-workspace .customer-kpis>button:hover{background:#f3f8f9;border-color:#779ca5}.customers-workspace .customer-kpis>button[aria-pressed=true]{background:#eaf5f3;border-color:#367b80}.customers-workspace .customer-kpis>button[aria-pressed=true] span{color:#17656a;font-weight:700}.customers-workspace .customer-kpis span{color:#617482;font-size:12px;line-height:1.35}.customers-workspace .customer-kpis strong{flex-shrink:0;margin:0;font-size:21px}.customers-workspace .customer-kpis>div{flex-wrap:wrap}.customers-workspace .customer-kpis>div strong{overflow-wrap:anywhere;flex-shrink:1;max-width:100%;font-size:18px}.crm-shell .customers-workspace .customer-filters{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:10px;padding:10px 12px}.customers-workspace .customer-filters label>span{margin-bottom:4px;font-size:11px}.customers-workspace .customer-filters :is(input,select){min-height:40px;font-size:14px}.customers-workspace .customer-list-toolbar{color:#647785;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;min-height:24px;font-size:12px;display:flex}.customers-workspace .customer-list-toolbar button{color:#275e77;min-height:32px;font:inherit;cursor:pointer;background:#eaf1f5;border:0;border-radius:6px;padding:4px 8px}.customers-workspace .customer-sync-details{color:#6b7d89;font-size:12px}.customers-workspace .customer-sync-details>summary{cursor:pointer;min-height:32px;padding:5px 0}.customers-workspace .customer-sync-details>summary :is(span,b){color:#168878;margin-left:10px;font-size:11px}.customers-workspace .customer-sync-details>summary .customer-sync-warning{color:#a3632e}.customers-workspace .customer-sync-strip{gap:8px;margin-top:6px}.customers-workspace .customer-sync-strip>div{border-radius:9px;min-height:48px;padding:8px 12px}.customers-workspace .customer-list-head,.customers-workspace .customer-list>button{grid-template-columns:minmax(220px,1.5fr) minmax(100px,.8fr) 75px minmax(100px,.7fr) 115px 12px;gap:10px}.customers-workspace .customer-list-head{padding:10px 14px;font-size:10px}.customers-workspace .customer-list>button{min-height:62px;padding:9px 14px}.customers-workspace .customer-main{grid-template-columns:32px minmax(0,1fr) auto;gap:8px}.customers-workspace .customer-list .customer-avatar{border-radius:9px;width:32px;height:32px;font-size:11px}.customers-workspace .customer-main>span strong{font-size:13px}.customers-workspace .customer-main>span small{margin-top:3px;font-size:11px}.customers-workspace .customer-main .customer-status{grid-column:auto;padding:4px 6px;font-size:9px}.customers-workspace .customer-list .project-pill{padding:4px 6px;font-size:10px}.customers-workspace .customer-list>button>div:not(.customer-main) strong{font-size:12px}.customers-workspace .customer-list-empty{min-height:150px;padding:40px 16px}.customers-workspace :is(button,summary):focus-visible{outline-offset:2px;outline:3px solid #3999bd}@container customers (max-width:980px){.customers-workspace .customer-list-head{display:none}.customers-workspace .customer-list>button{grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;padding:10px 12px}.customers-workspace .customer-list .customer-main{grid-area:1/1/auto/-1}.customers-workspace .customer-list>button>div:not(.customer-main){justify-content:flex-start;align-items:center;gap:6px;min-width:0;display:flex}.customers-workspace .customer-list>button>div:not(.customer-main):before{color:#7c8c99;font-size:11px}.customers-workspace .customer-list>button>.customer-project-badges{grid-area:2/1;justify-content:flex-start}.customers-workspace .customer-list>button>.customer-project-badges:before{content:none}.customers-workspace .customer-list>button>div:nth-child(3){grid-area:2/2;justify-content:flex-end}.customers-workspace .customer-list>button>div:nth-child(3):before{content:"Заказы:"}.customers-workspace .customer-list>button>div:nth-child(3) small{display:none}.customers-workspace .customer-list>button>div:nth-child(4){grid-area:3/1}.customers-workspace .customer-list>button>div:nth-child(4):before{content:"Оплачено:"}.customers-workspace .customer-list>button>div:nth-child(5){grid-area:3/2;justify-content:flex-end}.customers-workspace .customer-list>button>div:nth-child(5):before{content:none}.customers-workspace .customer-list .customer-open{display:none}}@container customers (max-width:700px){.customers-workspace .customer-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.customers-workspace .customer-kpis>:is(button,div){min-height:56px;padding:8px 10px}.customers-workspace .customer-kpis strong{font-size:20px}.customers-workspace .customer-kpis>div strong{font-size:16px}.crm-shell .customers-workspace .customer-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}.customers-workspace .customer-search{grid-column:1/-1}.customers-workspace .customer-filters :is(input,select){min-height:42px;font-size:16px}.customers-workspace .section-actions p{display:none}.customers-workspace .section-actions>.ghost-button{min-height:40px}.customers-workspace .customer-list-toolbar{font-size:11px}}
body>.customer-drawer-backdrop{inset:auto 0;top:var(--customer-top,0px);height:var(--customer-height,100dvh);z-index:1000;overscroll-behavior:contain;color:#172b4d;background:#172b4d66;justify-content:flex-end;display:flex;position:fixed}.customer-drawer-backdrop .customer-drawer{background:#fff;flex-direction:column;width:min(600px,100%);max-width:100%;height:100%;min-height:0;display:flex;overflow:hidden;box-shadow:-12px 0 48px #172b4d26}.customer-drawer-backdrop .customer-drawer>header{min-height:72px;padding:12px 16px;padding-top:max(12px, env(safe-area-inset-top));background:#fff;border-bottom:1px solid #dce5f2;flex:none;gap:12px;position:relative}.customer-drawer>header>div>div{min-width:0}.customer-drawer-backdrop .customer-drawer>header h2{color:#172b4d;margin:2px 0 0;font-size:20px}.customer-drawer-backdrop .customer-drawer>header small{color:#64748b;font-size:11px}.customer-drawer-backdrop .customer-avatar{color:#173b77;background:#eaf1ff;border-radius:10px;flex:0 0 40px;width:40px;height:40px}.customer-drawer-backdrop .customer-drawer>header>button{color:#173b77;cursor:pointer;flex:0 0 44px;width:44px;height:44px}.customer-drawer-backdrop .customer-drawer-body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex-direction:column;flex:auto;gap:14px;min-height:0;padding:16px;display:flex;overflow:auto}.customer-drawer-body>*{flex-shrink:0;min-width:0}.customer-drawer-backdrop .customer-contact-actions{flex-wrap:wrap;gap:8px;display:flex}.customer-drawer-backdrop .customer-contact-actions a{color:#173b77;text-align:center;background:#eaf1ff;border-radius:8px;flex:1;min-height:44px;padding:10px 12px;font-size:14px;font-weight:600}.customer-drawer-backdrop .customer-edit-section,.customer-drawer-backdrop .customer-history{box-shadow:none;background:#fff;border:0;padding:0}.customer-drawer-backdrop h3{color:#172b4d;margin:0 0 10px;font-size:16px}.customer-drawer-backdrop .customer-contact-grid,.customer-drawer-backdrop .form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.customer-drawer-backdrop label{min-width:0}.customer-drawer-backdrop .customer-edit-section label>span{color:#64748b;margin-bottom:5px;font-size:12px;display:block}.customer-drawer-backdrop .customer-edit-section :is(input,select,textarea){box-sizing:border-box;color:#172b4d;width:100%;min-height:44px;font:inherit;background:#fff;border:1px solid #c6d5ec;border-radius:8px;padding:10px;font-size:16px;display:block}.customer-drawer-backdrop .customer-edit-section textarea{resize:vertical;min-height:76px}.customer-drawer-backdrop :is(input,select,textarea,button,a):focus-visible{outline-offset:2px;outline:2px solid #7da4ed}.customer-drawer-backdrop .customer-projects{background:#f4f7fc;border-radius:8px;padding:10px 12px}.customer-drawer-backdrop .customer-projects>span{font-size:11px}.customer-drawer-backdrop .project-pill{overflow-wrap:anywhere;font-size:12px}.customer-drawer-backdrop .customer-summary-cards{background:#f4f7fc;border:1px solid #dce5f2;border-radius:10px;grid-template-columns:1fr 1fr 1.5fr;display:grid}.customer-drawer-backdrop .customer-summary-cards>div{border-bottom:0;min-width:0;padding:10px}.customer-drawer-backdrop .customer-summary-cards span{font-size:11px}.customer-drawer-backdrop .customer-summary-cards strong{font:inherit;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:#172b4d;margin-top:4px;font-size:16px;font-weight:600}.customer-drawer-backdrop .customer-history{border-top:1px solid #dce5f2;padding-top:14px}.customer-drawer-backdrop .customer-history>div>span{font-size:12px}.customer-drawer-backdrop .customer-order-list{min-width:0}.customer-drawer-backdrop .customer-order-list article>header{flex-wrap:wrap;gap:8px}.customer-drawer-backdrop .customer-order-list article{overflow-wrap:anywhere}.customer-drawer-backdrop .customer-drawer-footer{padding:10px 16px max(10px, env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dce5f2;flex:none;box-shadow:0 -4px 16px #172b4d08}.customer-drawer-footer>div{justify-content:space-between;align-items:center;gap:12px;display:flex}.customer-drawer-footer span{color:#64748b;font-size:12px}.customer-drawer-backdrop .primary-button{color:#fff;cursor:pointer;background:#173b77;border:0;border-radius:8px;min-height:44px;padding:12px 24px;font-size:16px}.customer-drawer-backdrop button:disabled{opacity:.55;cursor:default}.customer-drawer-backdrop .form-error{color:#a52b32;margin:0 0 8px;font-size:13px}@media (max-width:420px){.customer-drawer-backdrop .customer-drawer-body{padding:12px}.customer-drawer-backdrop .customer-contact-grid{grid-template-columns:minmax(0,1fr);gap:10px}.customer-drawer-backdrop .customer-summary-cards>div{padding:8px}}
.modal.project-whatsapp-modal{width:min(100%,480px)}.p1-whatsapp{min-width:0;color:var(--p1-text,#172b4d);align-content:start;gap:14px;padding:16px;display:grid}.p1-whatsapp p,.p1-whatsapp ol{margin:0;font-size:14px;line-height:1.55}.p1-whatsapp ol{padding-left:22px}.p1-whatsapp li+li{margin-top:6px}.p1-whatsapp-status,.p1-whatsapp-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.p1-whatsapp-status strong{font-size:17px}.p1-whatsapp small{color:var(--p1-muted,#64748b)}.p1-whatsapp button{white-space:normal;min-height:44px}.p1-whatsapp-methods{background:#f4f7fc;border-radius:10px;grid-template-columns:1fr 1fr;gap:4px;padding:4px;display:grid}.p1-whatsapp-methods button{color:#172b4d;background:0 0;border:1px solid #0000;border-radius:8px}.p1-whatsapp-methods button[aria-pressed=true]{color:#173b77;background:#fff;border-color:#dce5f2;font-weight:600}.p1-whatsapp button:focus-visible{outline-offset:2px;outline:3px solid #7da4ed}.p1-whatsapp-pairing{text-align:center;border:1px solid #dce5f2;border-radius:12px;justify-items:center;gap:10px;padding:14px 8px;display:grid}.p1-whatsapp-pairing output{letter-spacing:.12em;-webkit-user-select:all;user-select:all;font:600 clamp(22px,7vw,32px)/1.4 monospace}.p1-whatsapp-pairing img{background:#fff;max-width:100%;height:auto}.p1-whatsapp-setup{border-top:1px solid #dce5f2;min-width:0;padding-top:12px}.p1-whatsapp-setup summary{cursor:pointer;color:#173b77;min-height:44px;padding-block:12px;font-weight:600}.p1-whatsapp-setup[open]>:not(summary){margin-top:12px}.p1-whatsapp-setup label,.p1-whatsapp-setup small{display:block}.p1-whatsapp-setup textarea{box-sizing:border-box;resize:vertical;border:1px solid #dce5f2;border-radius:8px;width:100%;min-width:0;padding:10px;font-size:16px}.p1-whatsapp-onboarding{gap:14px;min-width:0;display:grid}.p1-whatsapp-onboarding label{gap:6px;font-weight:600;display:grid}.p1-whatsapp-onboarding input,.p1-whatsapp-onboarding select{box-sizing:border-box;border:1px solid var(--p1-border,#dce5f2);width:100%;min-width:0;min-height:44px;color:var(--p1-text,#172b4d);background:#fff;border-radius:8px;padding:10px;font-size:16px}
