/* Control Center · Ozon store economics */
.analytics-tabs{display:flex;gap:6px;width:max-content;max-width:100%;padding:4px;margin-bottom:16px;border:1px solid var(--border,#273142);border-radius:12px;background:#0e141c}
.analytics-tabs button{border:0;border-radius:8px;background:transparent;color:#9ba9bc;padding:9px 14px;font:inherit;font-size:13px;cursor:pointer}
.analytics-tabs button.active{background:#1d3153;color:#fff}
.analytics-pane.hidden{display:none!important}
.store-economics-active>.section-intro{display:none}
.store-economics{display:grid;gap:15px;min-width:0;color:#e9eff8}
.store-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.store-heading h3{font-size:26px;letter-spacing:-.02em;margin:4px 0 0;line-height:1.25}
.store-heading-actions{display:flex;gap:8px;flex-wrap:wrap}
.store-heading-actions a{text-decoration:none}
.store-tabs{display:flex;gap:24px;border-bottom:1px solid #273142}
.store-tabs button{background:transparent;border:0;border-bottom:2px solid transparent;color:#8f9eb4;font:inherit;font-size:13px;padding:12px 0;cursor:pointer}
.store-tabs button.active{color:#eaf2ff;border-color:#4389ff}
.store-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.store-toolbar input,.store-toolbar select{width:100%;height:42px;border:1px solid #2a384d;border-radius:10px;background:#101822;color:#e8f0fc;padding:0 12px;font:inherit;font-size:12px;outline:none}
.store-toolbar input::placeholder{color:#94a3b9}
.store-toolbar input:focus,.store-toolbar select:focus{border-color:#5f9bff;box-shadow:0 0 0 2px #326bc433}
.store-toolbar>label{min-width:160px;max-width:240px;flex:1 1 175px}
.store-toolbar>.store-search{flex:1.5 1 230px;max-width:330px}
.store-toolbar-actions{display:flex;gap:8px;margin-left:auto;flex-wrap:wrap}
.store-toolbar-actions .btn{min-height:42px;white-space:nowrap;font-size:12px}
.store-toolbar .sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.store-period{position:relative;flex:0 0 auto}
.store-period>summary{list-style:none;padding:12px 14px;min-height:42px;border:1px solid #4389ff;border-radius:10px;background:#13233c;color:#d9e8ff;font-size:12px;cursor:pointer;box-sizing:border-box}
.store-period>summary::-webkit-details-marker{display:none}
.store-period>summary:after{content:'⌄';margin-left:10px;color:#85ace5}
.store-period-panel{position:absolute;top:calc(100% + 8px);left:0;z-index:20;width:330px;max-width:calc(100vw - 44px);padding:16px;box-sizing:border-box;border:1px solid #385278;border-radius:14px;background:#111b29;box-shadow:0 14px 40px #0008}
.store-period-presets{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin-bottom:12px}
.store-period-presets button{border:1px solid #2b3b52;border-radius:8px;background:#17243a;color:#c5d7ee;padding:9px 6px;cursor:pointer;font-size:12px}
.store-custom-period{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}
.store-custom-period label{font-size:11px;color:#a0b2c9;display:grid;gap:6px}
.store-custom-period input{min-width:0;box-sizing:border-box}
.store-period-panel p{margin:8px 0 0;color:#f2a3a3;font-size:12px}
.store-status-line{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#95a6bd;min-height:18px}
.store-status-line .working{color:#aacaff}.store-status-line .ok{color:#86cba6}.store-status-line .error{color:#f1a2a2}
.store-text-button{padding:4px 0;border:0;background:transparent;color:#8fbaff;font:inherit;font-size:12px;cursor:pointer}
.store-summary{display:grid;grid-template-columns:minmax(210px,1.1fr) minmax(360px,2fr) minmax(180px,.7fr);border:1px solid #32445e;border-radius:20px;background:linear-gradient(145deg,#111c2a,#0e151f);padding:22px;gap:24px}
.store-summary>div{min-width:0}
.store-summary-sales,.store-summary-charges{border-right:1px solid #28384d;padding-right:24px}
.store-summary h4{font-size:14px;margin:0 0 12px;color:#e4edf9;font-weight:700}
.store-summary strong{display:block;white-space:nowrap;font-size:23px;font-weight:750;letter-spacing:-.015em;font-variant-numeric:tabular-nums;line-height:1.35}
.store-charge-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.store-charge-columns>div{min-width:0}
.store-charge-columns small{display:block;font-size:10px;color:#a1b0c5;margin-bottom:3px}
.store-summary-total p{font-size:11px;line-height:1.7;color:#97a8c0;margin:16px 0 0}
.store-segment-bar{display:flex;gap:0;width:100%;height:6px;overflow:hidden;border-radius:999px;background:#202e41;margin:14px 0 14px}
.store-segment-bar i{display:block;height:100%}
.store-legend{display:grid;gap:12px}
.store-legend>div{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;font-size:11px}
.store-legend span{display:flex;align-items:flex-start;gap:7px;min-width:0;line-height:1.5;color:#c6d3e4;overflow-wrap:anywhere}
.store-legend i{display:inline-block;flex:0 0 10px;width:10px;height:10px;border-radius:3px;margin-top:3px}
.store-legend b{font-variant-numeric:tabular-nums;white-space:nowrap;color:#dce8f8;line-height:1.5;font-size:11px}
.store-summary-charges>.store-text-button{margin-top:10px}
.store-negative{color:#f0a7b4!important}.store-positive{color:#93d7bd!important}
.store-summary-placeholder{grid-column:1/-1;text-align:center;padding:25px 12px;color:#8fa3c0;font-size:13px}
.store-points-kpi>span{display:block;font-size:12px;color:#a0b2c9;margin-bottom:10px}
.store-points-kpi strong small{font-size:13px;font-weight:500;color:#99acc7}
.store-points-note,.store-data-note{border:1px solid #2c4260;border-radius:10px;padding:11px 14px;color:#a8bbd4;background:#0f1b29;font-size:12px;line-height:1.6}
.store-data-note{border-color:#564b32;color:#ddc595;background:#231f17}
.store-ledger{min-width:0;border:1px solid #253247;border-radius:14px;overflow:hidden;background:#0e151e}
.store-ledger-caption{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid #253247;font-size:12px;color:#9bacbf}
.store-ledger-caption label{display:flex;align-items:center;gap:7px;font-size:11px}
.store-ledger-caption select{padding:4px 8px;border:1px solid #2c3d55;border-radius:6px;background:#132033;color:#cbdef7}
.store-table-wrap{overflow:auto;max-height:620px;scrollbar-color:#3d5575 #0f1722}
.store-table{width:100%;min-width:940px;border-collapse:collapse;table-layout:fixed}
.store-table th{position:sticky;top:0;z-index:2;padding:13px 15px;background:#162134;color:#a6b6ca;font-size:11px;font-weight:600;text-align:left;border-bottom:1px solid #2b3a50;line-height:1.5}
.store-table th:nth-child(1){width:17%}.store-table th:nth-child(2){width:22%}.store-table th:nth-child(3){width:15%}.store-table th:nth-child(4){width:19%}.store-table th:nth-child(5){width:11%}.store-table th:nth-child(6){width:16%;text-align:right}
.store-table th button{border:0;padding:0;background:none;color:inherit;font:inherit;text-align:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.store-table th button span{color:#7ab0ff}
.store-table td{border-bottom:1px solid #213047;padding:15px;font-size:12px;line-height:1.55;vertical-align:top;color:#c8d6e7;overflow-wrap:anywhere}
.store-table td b{font-size:12px;font-weight:500}
.store-table td small{display:block;color:#8ca2bf;font-size:10px;margin-top:4px;line-height:1.5}
.store-table tbody tr[data-store-row]{cursor:pointer;transition:background .12s}
.store-table tbody tr[data-store-row]:hover{background:#142238}
.store-table tbody tr:focus-visible{outline:2px solid #619dff;outline-offset:-3px;background:#162840}
.store-table .store-amount{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:13px;font-weight:600}
.store-accrual-id{display:flex;align-items:center;gap:6px}
.store-accrual-id>span{overflow-wrap:anywhere;min-width:0}
.store-accrual-id button{flex:0 0 22px;background:none;border:0;padding:0;color:#849dbb;cursor:pointer;font-size:13px;width:22px;height:24px}
.store-unitemised-label{color:#d8bc86!important}
.store-empty{text-align:center!important;padding:40px 18px!important;color:#9aaec9!important;font-size:13px!important}
.store-pagination{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 16px;color:#92a6c2;font-size:11px}
.store-pagination>div{display:flex;gap:7px}.store-pagination .btn{min-width:38px;padding:7px 10px}
.store-detail-dialog{padding:0;border:1px solid #3a5275;border-radius:18px;background:#101a29;color:#dce8f8;max-width:calc(100vw - 30px);width:620px;max-height:85vh;overflow:auto}
.store-detail-dialog::backdrop{background:#040810b0;backdrop-filter:blur(3px)}
.store-dialog-card{padding:24px;font-size:13px;line-height:1.75}
.store-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}
.store-dialog-heading h3{font-size:21px;margin:3px 0 0;line-height:1.4}.store-dialog-heading small{font-size:10px;color:#85a9d8}
.store-dialog-card dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}
.store-dialog-card dl>div{border:1px solid #293d59;border-radius:9px;padding:10px 12px;min-width:0}
.store-dialog-card dt{color:#8fa8c9;font-size:11px}.store-dialog-card dd{margin:4px 0 0;font-weight:600;overflow-wrap:anywhere;line-height:1.55}
.store-dialog-card>a{margin-top:12px;text-decoration:none}
.store-source-details{font-size:11px;color:#87a0be;margin-top:18px;overflow-wrap:anywhere}
.store-source-details summary{cursor:pointer;color:#a4bfe1}.store-source-details p{margin:7px 0 0}
.store-economics button:focus-visible,.store-economics summary:focus-visible,.store-dialog-card button:focus-visible{outline:2px solid #79adff;outline-offset:3px}
@media(max-width:1450px){.store-summary{grid-template-columns:minmax(190px,1fr) minmax(340px,2fr) minmax(160px,.75fr);gap:16px;padding:18px}.store-summary-sales,.store-summary-charges{padding-right:16px}.store-summary strong{font-size:20px}.store-legend>div{font-size:10px}.store-charge-columns{gap:12px}.store-toolbar>.store-search{max-width:none}}
@media(max-width:1150px){.store-summary{grid-template-columns:1fr 2fr}.store-summary-charges{border-right:0;padding-right:0}.store-summary-total{grid-column:1/-1;border-top:1px solid #2a3b53;padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:20px}.store-summary-total h4{margin:0}.store-summary-total p{margin:0}.store-toolbar-actions{margin-left:0}.store-points-kpi{grid-column:auto}.store-points-kpi:last-child{grid-column:1/-1}.store-table td{padding:12px}}
@media(max-width:800px){.store-heading{align-items:flex-start}.store-heading h3{font-size:23px}.store-heading-actions{justify-content:flex-end}.store-summary{grid-template-columns:1fr;gap:18px}.store-summary-sales{border-right:0;border-bottom:1px solid #2a3b53;padding:0 0 18px}.store-summary-charges{padding:0}.store-summary-total{flex-wrap:wrap}.store-points-kpi:last-child{grid-column:auto}.store-toolbar>label{max-width:none}.store-period{flex:1 1 185px}.store-toolbar-actions{width:100%;justify-content:flex-end}.store-legend>div{font-size:12px}.store-legend b{font-size:12px}.store-summary strong{font-size:23px}.store-period-panel{left:0}.store-table-wrap{max-height:560px}}
@media(max-width:520px){.analytics-tabs{width:100%;box-sizing:border-box}.analytics-tabs button{flex:1;padding:9px 6px;font-size:12px}.store-heading{display:block}.store-heading-actions{justify-content:flex-start;margin-top:12px}.store-tabs{gap:18px}.store-tabs button{font-size:12px}.store-toolbar>label{flex:1 1 100%}.store-period{flex-basis:100%}.store-period-panel{width:100%;max-width:100%}.store-toolbar-actions{display:grid;grid-template-columns:1fr 1.35fr}.store-charge-columns{grid-template-columns:1fr;gap:18px}.store-summary-total p{width:100%}.store-dialog-card{padding:18px}.store-dialog-card dl{grid-template-columns:1fr}.store-status-line{flex-wrap:wrap;line-height:1.7}.store-pagination{padding:10px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.store-table tbody tr{transition:none}}
