#manualLogisticsBillReasonField[hidden]{display:none!important}
#appointmentActualDialog {
  box-sizing: border-box;
  width: min(38rem, calc(100vw - 24px));
  min-width: 0;
  max-height: calc(100vh - 24px);
  margin: auto;
  overflow: auto;
}
#appointmentActualDialog form { display: grid; gap: .65rem; min-width: 0; }
#appointmentActualDialog section[hidden], #appointmentActualDialog button[hidden] { display: none; }
#appointmentActualDialog input:not([type=checkbox]), #appointmentActualDialog select,
#appointmentActualDialog textarea { width: 100%; min-width: 0; }
.wide-dialog {
  width: calc(100vw - 260px);
  max-width: none;
  height: calc(100vh - 36px);
  max-height: none;
  margin: 18px 18px 18px 242px;
  overflow: auto;
  border-radius: 14px;
}
.wide-dialog[open] { display: block; }
.wide-dialog form { min-height: 100%; display: flex; flex-direction: column; }
.wide-dialog .dialog-title-row {
  position: sticky;
  top: -25px;
  z-index: 3;
  margin: -25px -25px 14px;
  padding: 20px 25px 14px;
  background: #fff;
  border-bottom: 1px solid #e5ebf4;
}
.wide-dialog .dialog-actions {
  position: sticky;
  bottom: -25px;
  margin: 18px -25px -25px;
  padding: 14px 25px;
  background: #fff;
  border-top: 1px solid #e5ebf4;
}
@media (max-width: 900px) {
  .wide-dialog { width: 96vw; height: 94vh; margin: 3vh 2vw; }
}
.shipment-detail-dialog { width: min(1180px, 94vw); max-height: 92vh; overflow: auto; }
.shipment-void-inline{margin:14px 0;padding:12px;border:1px solid #e6c88b;border-radius:10px;background:#fffaf0}.shipment-void-inline summary{cursor:pointer;font-weight:700;color:#895907}.shipment-void-inline[open] summary{margin-bottom:10px}.shipment-void-inline p{margin:0 0 10px}.shipment-void-inline .dialog-actions{justify-content:flex-end;margin-top:8px}
.shipment-event-fields { display: grid; gap: 10px; margin: 14px 0; }
.shipment-event-row { display: grid; grid-template-columns: 150px 1fr 1.2fr 1.2fr; gap: 10px; align-items: end; padding: 10px 12px; border: 1px solid #e1e8f3; border-radius: 10px; background: #fbfcfe; }
.quantity-chain label:nth-child(2),.quantity-chain label:nth-child(3),.quantity-chain label:nth-child(4),.quantity-chain label:nth-child(5){display:none}
.quantity-chain{grid-template-columns:repeat(2,minmax(180px,1fr))}
.shipment-event-row label { margin: 0; }
.domestic-return-grid { display:grid; grid-template-columns:repeat(3,minmax(160px,1fr)); gap:10px; align-items:end; }
.domestic-return-grid label { margin:0; }
.domestic-return-grid .wide { grid-column:1/-1; }
.return-guidance { margin:0 0 10px; }
.ozon-inbound-summary{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}.ozon-inbound-summary span{padding:5px 8px;border-radius:99px;background:#edf5ff;color:#2766ae;font-size:12px;font-weight:600}.ozon-inbound-summary span.pending{background:#fff3db;color:#9b6400}.ozon-inbound-rows{display:grid;gap:10px;margin-bottom:10px}.ozon-inbound-row{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:8px;align-items:end;padding:11px;border:1px solid #d8e3f0;border-radius:10px;background:#fbfcfe}.ozon-inbound-row label{margin:0}.ozon-inbound-row label.wide{grid-column:span 2}.ozon-inbound-row .ghost{width:max-content;margin:0}.inventory-position-cell b,.inventory-position-cell small{display:block}.inventory-position-cell small{margin-top:3px;color:#9b6400;white-space:nowrap}
.domestic-reship-fields{margin:10px 0 2px;padding:12px;border:1px solid #bad3ef;border-radius:10px;background:#f5faff}.domestic-reship-fields>b{color:#245f9e}.domestic-reship-fields>p{margin:4px 0 0}.domestic-reship-fields label{margin:8px 0 0}
.batch-return-summary { display:block; width:max-content; margin-top:5px; padding:3px 7px; border-radius:99px; background:#fff3db; color:#a56500; font-size:11px; font-weight:600; }
.batch-return-summary.received { background:#e7f7ee; color:#198754; }
.batch-inbound-summary{display:block;width:max-content;margin-top:5px;padding:3px 7px;border-radius:99px;background:#edf5ff;color:#286bc0;font-size:11px;font-weight:600}
.quantity-chain { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.quantity-chain label { margin: 8px 0; }
.batch-detail-button { margin-top: 6px; padding: 6px 10px; }
@media (max-width: 900px) { .shipment-event-row, .quantity-chain, .domestic-return-grid,.ozon-inbound-row { grid-template-columns: 1fr; } }
.bill-import-dialog{width:min(1000px,94vw);max-height:90vh;overflow:auto}.bill-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.bill-summary article{padding:12px;border:1px solid #e1e8f3;border-radius:10px;background:#f8fbff}.bill-summary strong{display:block;font-size:22px}.bill-preview-table{max-height:420px}.bill-status{display:inline-block;padding:4px 8px;border-radius:99px;background:#e7f7ee;color:#198754}.bill-status.unmatched{background:#fff3db;color:#a56500}.bill-status.duplicate{background:#edf0f5;color:#657187}
.bill-import-dialog [hidden]{display:none!important}.bill-status.conflict{background:#fff0e9;color:#b44e17}.bill-status.outside_scope{background:#edf0f5;color:#657187}#billCorrectConflictsField{margin-top:12px;padding:10px;border:1px solid #f0ca9c;border-radius:8px;background:#fff9f0}#billCorrectionReasonField{margin-top:8px}
#bookingImportForm .dialog-actions{align-items:center;flex-wrap:wrap}
#bookingImportSummary{margin:0 auto 0 0;font-weight:600}
#bookingImportSummary:empty{display:none}
#bookingImportConfirm:disabled{background:#e8eef6;color:#42546c;cursor:default}
#billImportDialog .bill-summary{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:10px 0}#billImportDialog .bill-summary article{padding:8px 10px}#billImportDialog .bill-summary strong{font-size:18px}#billImportDialog .bill-preview-table{max-height:310px}#billImportDialog .dialog-actions{position:sticky;bottom:-25px;z-index:2;margin:12px -25px -25px;padding:12px 25px;background:#fff;border-top:1px solid #e1e8f3}@media(max-width:760px){#billImportDialog .bill-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
.cross-dock-manager{width:min(1180px,96vw)}.cross-dock-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 180px auto auto auto;gap:8px;align-items:center;margin:14px 0}.cross-dock-toolbar .inline-check{margin:0;white-space:nowrap}.cross-dock-table{max-height:560px}.cross-dock-table table{min-width:1040px}.cross-dock-table td{vertical-align:top}.cross-dock-table .actions{display:flex;gap:6px;white-space:nowrap}@media(max-width:900px){.cross-dock-toolbar{grid-template-columns:1fr}.cross-dock-toolbar>*{width:100%}}
.node-timeout{display:block;width:max-content;margin-top:5px;padding:3px 7px;border-radius:99px;background:#edf0f5;color:#667085;font-size:11px;font-weight:500}.node-timeout.ok{background:#e7f7ee;color:#198754}.node-timeout.warning{background:#fff3db;color:#a56500}.node-timeout.overdue{background:#ffebee;color:#c62828}
.node-timeout.pending{background:#edf0f5;color:#667085}.settings-grid .form-error{grid-column:1/-2;margin:0}.settings-grid button{min-height:42px}
.ozon-stock-alert{display:flex;flex-direction:column;gap:3px;min-width:235px;padding:8px 10px;border:1px solid transparent;border-radius:9px;line-height:1.35}.ozon-stock-alert strong{font-size:12px}.ozon-stock-alert small{font-size:11px;color:inherit;opacity:.86}.ozon-stock-alert.critical{border-color:#f3a7ae;background:#fff0f1;color:#b4232c;box-shadow:0 0 0 2px rgba(220,53,69,.08)}.ozon-stock-alert.warning{border-color:#efcf8c;background:#fff8e8;color:#915d00}.ozon-stock-alert.holding{border-color:#bdd7f2;background:#eef7ff;color:#1769a8}.logistics-table tr.ozon-stock-critical>td{background:#fff8f8}.logistics-table tr.ozon-stock-critical>td:first-child{box-shadow:inset 4px 0 0 #dc3545}.logistics-table tr.ozon-stock-warning>td{background:#fffdf7}.logistics-table tr.ozon-stock-warning>td:first-child{box-shadow:inset 3px 0 0 #e6a700}
.form-error:not(:empty){display:block;margin:10px 0;padding:9px 11px;border:1px solid #efb5b5;border-radius:8px;background:#fff3f3;color:#b42318;font-weight:600;line-height:1.45;white-space:normal}
input.explicit-invalid,select.explicit-invalid,textarea.explicit-invalid{border-color:#d92d20!important;background:#fff7f7!important;box-shadow:0 0 0 3px rgba(217,45,32,.12)!important;outline:none}
.group-card{display:grid;gap:14px}.group-card.disabled{opacity:.72}.group-member-search{margin:0}.group-members{max-height:230px;overflow:auto;border:1px solid #e5ebf4;border-radius:10px}.group-members>div{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 10px;border-bottom:1px solid #edf1f7}.group-members>div:last-child{border-bottom:0}.group-members small{display:block;color:#77869b;margin-top:3px}.group-card-actions{display:flex;justify-content:flex-end;gap:8px}.danger-text{color:#c62828!important}
.bill-review{display:inline-block;margin:0 6px 4px 0;padding:4px 8px;border-radius:99px;font-size:12px}.bill-review.unimported{background:#edf0f5;color:#657187}.bill-review.pending{background:#fff3db;color:#a56500}.bill-review.reviewed{background:#e7f7ee;color:#198754}.compact{padding:5px 8px;font-size:12px}
.profile-hero{display:grid;grid-template-columns:72px 1fr auto;gap:16px;align-items:center;margin-bottom:12px;padding:16px;border:1px solid #dfe7f2;border-radius:12px;background:#fff}.profile-hero h2{margin:0 0 6px;font-size:20px}.profile-hero p{margin:3px 0;color:#617086}.profile-hero-thumb{display:grid;place-items:center;width:64px;height:64px;border-radius:12px;background:#eef5ff;color:#2f78dc;font-weight:700;overflow:hidden}.profile-hero-thumb img{width:100%;height:100%;object-fit:contain}.profile-status-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}.profile-status-grid>div{min-height:66px;padding:12px!important;background:#fbfcfe}.profile-read-panels{display:grid;grid-template-columns:2fr 1fr;gap:12px;margin:12px 0}.profile-read-panels>.card{margin:0;padding:15px}.profile-read-panels .profile-cost{grid-column:1/2}.replenishment-card strong{display:block;color:#246ed0;font-size:26px;margin:8px 0}.season-note{padding:10px;border-radius:8px;background:#fff7e6;color:#7a5414}.collaboration-list{margin:10px 0;padding-left:22px}.collaboration-list li{margin:8px 0}.profile-editor{margin:12px 0!important;background:#fbfcfe}.profile-history-grid{grid-template-columns:1fr!important}.profile-history-grid section{min-width:0}.snapshot-grid{display:grid;grid-template-columns:1fr 1fr;gap:3px 10px;font-size:12px;white-space:nowrap}.data-center-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.data-center-grid>.card{padding:16px;margin:0}.section-title{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.section-title h3{margin-top:0}.button-link{display:inline-block;padding:7px 10px;border:1px solid #cddcf0;border-radius:7px;color:#3272cb;text-decoration:none}
@media(max-width:1200px){.profile-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.profile-read-panels,.data-center-grid{grid-template-columns:1fr}.profile-read-panels .profile-cost{grid-column:auto}}
.seasonality-grid{display:grid;grid-template-columns:repeat(6,minmax(95px,1fr));gap:8px;margin-top:8px}.seasonality-grid label{margin:0;padding:8px;border:1px solid #dfe7f2;border-radius:8px;background:#fff}.seasonality-grid select{margin-top:5px}.season-badge{display:inline-block;margin-top:4px;padding:3px 7px;border-radius:99px;background:#eef5ff;color:#286bc0;font-size:12px}.inline-check{display:flex!important;align-items:center;gap:8px}.inline-check input{width:auto!important}.bill-review-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:12px 0}.bill-review-metrics article{padding:10px;border:1px solid #dfe7f2;border-radius:8px;background:#f8fbff}.bill-review-metrics b{display:block;font-size:18px}.bill-change-up{color:#c0392b}.bill-change-down{color:#198754}.workflow-actions{display:flex;flex-wrap:wrap;gap:5px}.bill-review-detail{min-width:220px}.bill-review-detail small{display:block;margin-top:3px}.bill-pick{width:auto}
@media(max-width:900px){.seasonality-grid{grid-template-columns:repeat(3,1fr)}.bill-review-metrics{grid-template-columns:1fr}}
.logistics-table{min-width:1780px}.logistics-table th{white-space:nowrap}.logistics-product-image{display:grid;place-items:center;width:48px;height:48px;border:1px solid #dfe7f2;border-radius:9px;background:#f5f8fc;color:#8a98aa;font-size:10px;overflow:hidden}.logistics-product-image img{width:100%;height:100%;object-fit:contain;background:#fff}.logistics-sku b{display:block;font-size:14px}.logistics-sku small{display:block;margin-top:3px;color:#6d7c90;white-space:nowrap}.bill-price-cell{white-space:nowrap}.bill-price-cell b{display:block}.bill-price-cell small{display:block;color:#7b8798}.bill-change-pill{display:inline-block;padding:4px 8px;border-radius:99px;background:#edf1f7;color:#667085;font-weight:600;white-space:nowrap}.bill-change-pill.up{background:#ffebee;color:#c62828}.bill-change-pill.down{background:#e7f7ee;color:#198754}.bill-change-pill.alert{box-shadow:inset 0 0 0 1px currentColor}
.notification-button{position:relative}.notification-button span{position:absolute;right:-6px;top:-8px;min-width:19px;height:19px;padding:0 5px;border-radius:99px;background:#d92d20;color:#fff;font-size:11px;line-height:19px}.notification-center{width:min(430px,94vw);height:100vh;max-height:none;margin:0 0 0 auto;padding:0;border:0;border-radius:0}.notification-center::backdrop{background:rgba(18,35,58,.42)}.notification-panel{display:flex;flex-direction:column;height:100%;background:#fff}.notification-panel-title{display:flex;justify-content:space-between;align-items:flex-start;padding:18px;border-bottom:1px solid #e4eaf2}.notification-panel-title h3{margin:0 0 4px}.notification-toolbar{display:flex;gap:6px;padding:12px 16px;border-bottom:1px solid #edf1f6}.notification-toolbar button.active{background:#eaf3ff;color:#1769c2}.notification-list{flex:1;overflow:auto}.notification-item{display:grid;grid-template-columns:8px 1fr;gap:10px;padding:14px 16px;border-bottom:1px solid #edf1f6;cursor:pointer}.notification-item:hover{background:#f8fbff}.notification-item.resolved{opacity:.58}.notification-item.unread{background:#f4f8ff}.notification-dot{width:8px;height:8px;margin-top:6px;border-radius:99px;background:#8ca2bd}.notification-dot.important{background:#f5a623}.notification-dot.urgent{background:#d92d20}.notification-content b{display:block;margin-bottom:4px}.notification-content p{margin:0 0 5px;color:#53647a;line-height:1.45}.notification-meta{display:flex;gap:8px;color:#8491a3;font-size:12px}.notification-kind{padding:2px 6px;border-radius:99px;background:#edf2f8}.login-todo-dialog{width:min(650px,92vw);max-height:82vh;overflow:auto}.login-todo-list{display:grid;gap:8px;margin:14px 0}.login-todo-item{padding:12px;border:1px solid #dfe7f2;border-radius:10px;background:#fafcff;cursor:pointer}.login-todo-item.urgent{border-color:#f2b8b5;background:#fff6f5}.login-todo-item.important{border-color:#f3d29a;background:#fffaf0}.login-todo-item b{display:block;margin-bottom:4px}.login-todo-item p{margin:0;color:#607086}.notification-empty{padding:40px 20px;text-align:center;color:#8491a3}
.ticket-link{display:block;padding:0;border:0;background:transparent;color:#1769c2;font-weight:700;text-align:left;text-decoration:underline;text-underline-offset:3px}.ticket-overview-dialog{width:min(1180px,95vw);max-height:92vh;overflow:auto}.ticket-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0}.ticket-summary-grid article{padding:12px;border:1px solid #dfe7f2;border-radius:9px;background:#f8fbff}.ticket-summary-grid span,.ticket-summary-grid b{display:block}.ticket-summary-grid span{color:#708096;font-size:12px;margin-bottom:4px}.ticket-detail-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:14px}.ticket-detail-grid section{padding:14px;border:1px solid #dfe7f2;border-radius:10px}.ticket-timeline{display:grid;gap:8px}.ticket-timeline article{display:grid;grid-template-columns:130px 1fr 1fr;gap:8px;padding:9px;border-left:3px solid #3b82d0;background:#f7faff}.ticket-timeline small{grid-column:2/-1;color:#718096}.quantity-overview{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.quantity-overview span{padding:8px;border-radius:7px;background:#f4f7fb}.ticket-warning{display:grid;gap:5px;padding:12px;border:1px solid #efb1ad;border-radius:9px;background:#fff5f4;color:#a52820}.ticket-audits{display:grid;gap:6px}.ticket-audits article{display:flex;justify-content:space-between;gap:15px;padding:9px 10px;border-bottom:1px solid #e7edf4}.unmatched-bill-dialog{width:min(1180px,95vw);max-height:90vh;overflow:auto}.unmatched-bill-dialog table{min-width:900px}@media(max-width:900px){.ticket-summary-grid{grid-template-columns:repeat(2,1fr)}.ticket-detail-grid{grid-template-columns:1fr}.ticket-timeline article{grid-template-columns:1fr}.ticket-timeline small{grid-column:auto}}
.compact-sku{display:grid;grid-template-columns:46px minmax(100px,1fr);gap:9px;align-items:center}.compact-sku b,.compact-sku small{display:block}.compact-sku small{margin-top:3px;color:#718096;white-space:nowrap}.sku-thumb-button,.sku-thumb-empty{display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid #dce5f0;border-radius:8px;background:#f5f8fc;color:#8795a8;font-size:10px;overflow:hidden}.sku-thumb-button img{width:100%;height:100%;object-fit:contain;background:#fff}.sku-image-dialog{width:100vw;height:100vh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:rgba(9,20,35,.5);overflow:hidden}.sku-image-dialog[open]{display:grid;place-items:center}.sku-image-dialog::backdrop{background:rgba(8,18,32,.55);backdrop-filter:blur(10px)}.sku-image-dialog img{max-width:min(82vw,1100px);max-height:84vh;object-fit:contain;border-radius:14px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.45)}.sku-image-dialog>button{position:fixed;right:28px;top:22px;width:44px;height:44px;padding:0;border-radius:50%;font-size:28px;background:#fff;color:#21334a}.amount-chain{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:10px 0 16px}.amount-chain article{padding:11px;border:1px solid #dce7f3;border-radius:9px;background:#f7faff}.amount-chain span,.amount-chain b{display:block}.amount-chain span{color:#728196;font-size:12px;margin-bottom:4px}.dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}.dashboard-kpis>button,.dashboard-kpis>article{padding:15px;border:1px solid #dfe7f2;border-radius:11px;background:#fff;text-align:left;color:inherit}.dashboard-kpis strong{display:block;font-size:25px;color:#172b49}.dashboard-kpis span{display:block;margin-top:4px;color:#708096}.dashboard-main-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:12px}.dashboard-main-grid>.card,.dashboard-personal{margin:0}.dashboard-personal{margin-top:12px}.dashboard-action-list{display:grid;gap:7px;padding:12px}.dashboard-action{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:11px 12px;border:1px solid #e2e9f2;border-left:4px solid #75a7df;border-radius:9px;background:#f9fbfe;color:#20344f;text-align:left}.dashboard-action.urgent{border-left-color:#d92d20;background:#fff7f6}.dashboard-action.important,.dashboard-action.high{border-left-color:#f0a72f;background:#fffaf1}.dashboard-action span,.dashboard-action b,.dashboard-action small{display:block}.dashboard-action small{margin-top:3px;color:#718096;font-weight:400}.dashboard-action em{font-style:normal;color:#1769c2}.dashboard-empty{padding:26px;text-align:center;color:#7e8c9f}.metric-link{padding:2px 7px;background:#edf5ff;color:#1769c2}.flow-focus{border-color:#b9d6f7!important;background:#edf6ff!important}@media(max-width:1100px){.dashboard-main-grid{grid-template-columns:1fr}.dashboard-kpis{grid-template-columns:repeat(2,1fr)}.amount-chain{grid-template-columns:repeat(2,1fr)}}
.compact-sku{display:grid;grid-template-columns:46px minmax(100px,1fr);gap:9px;align-items:center}.compact-sku b,.compact-sku small{display:block}.compact-sku small{margin-top:3px;color:#718096;white-space:nowrap}.sku-thumb-button,.sku-thumb-empty{display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid #dce5f0;border-radius:8px;background:#f5f8fc;color:#8795a8;font-size:10px;overflow:hidden}.sku-thumb-button img{width:100%;height:100%;object-fit:contain;background:#fff}.sku-image-dialog{width:100vw;height:100vh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:rgba(9,20,35,.5);overflow:hidden}.sku-image-dialog[open]{display:grid;place-items:center}.sku-image-dialog::backdrop{background:rgba(8,18,32,.55);backdrop-filter:blur(10px)}.sku-image-dialog img{max-width:min(82vw,1100px);max-height:84vh;object-fit:contain;border-radius:14px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.45)}.sku-image-dialog>button{position:fixed;right:28px;top:22px;width:44px;height:44px;padding:0;border-radius:50%;font-size:28px;background:#fff;color:#21334a}.amount-chain{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:10px 0 16px}.amount-chain article{padding:11px;border:1px solid #dce7f3;border-radius:9px;background:#f7faff}.amount-chain span,.amount-chain b{display:block}.amount-chain span{color:#728196;font-size:12px;margin-bottom:4px}.dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}.dashboard-kpis>button,.dashboard-kpis>article{padding:15px;border:1px solid #dfe7f2;border-radius:11px;background:#fff;text-align:left;color:inherit}.dashboard-kpis strong{display:block;font-size:25px;color:#172b49}.dashboard-kpis span{display:block;margin-top:4px;color:#708096}.dashboard-main-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:12px}.dashboard-main-grid>.card,.dashboard-personal{margin:0}.dashboard-personal{margin-top:12px}.dashboard-action-list{display:grid;gap:7px;padding:12px}.dashboard-action{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:11px 12px;border:1px solid #e2e9f2;border-left:4px solid #75a7df;border-radius:9px;background:#f9fbfe;color:#20344f;text-align:left}.dashboard-action.urgent{border-left-color:#d92d20;background:#fff7f6}.dashboard-action.important,.dashboard-action.high{border-left-color:#f0a72f;background:#fffaf1}.dashboard-action span,.dashboard-action b,.dashboard-action small{display:block}.dashboard-action small{margin-top:3px;color:#718096;font-weight:400}.dashboard-action em{font-style:normal;color:#1769c2}.dashboard-empty{padding:26px;text-align:center;color:#7e8c9f}.metric-link{padding:2px 7px;background:#edf5ff;color:#1769c2}.flow-focus{border-color:#b9d6f7!important;background:#edf6ff!important}.issue-action-dialog{width:min(620px,92vw)}@media(max-width:1100px){.dashboard-main-grid{grid-template-columns:1fr}.dashboard-kpis{grid-template-columns:repeat(2,1fr)}.amount-chain{grid-template-columns:repeat(2,1fr)}}
.cost-chain-note{display:grid;grid-template-columns:auto 1fr;gap:6px 18px;align-items:center;margin-bottom:12px;padding:14px 16px}.cost-chain-note b{color:#0f3d75}.cost-chain-note span{font-weight:700;color:#1e293b}.cost-chain-note small{grid-column:2;color:#64748b}.cost-table{min-width:1680px}.cost-table td{vertical-align:top}.cost-table .compact-sku{min-width:185px}.cost-table th:nth-child(4),.cost-table td:nth-child(4){display:none}.cost-missing{max-width:180px;margin-top:6px;color:#b45309;font-size:12px;line-height:1.45}.cost-positive{color:#15803d}.cost-negative{color:#dc2626}@media(max-width:760px){.cost-chain-note{grid-template-columns:1fr}.cost-chain-note small{grid-column:1}}
/* Long lists scroll inside their own card so the active filters remain visible.
   The header belongs to the same table as its rows, preventing column drift. */
.view .table-wrap:not(.bill-preview-table){position:relative;max-height:max(300px,calc(100vh - 285px));overflow:auto;scrollbar-gutter:stable}
.view .table-wrap:not(.bill-preview-table) thead th{position:sticky;top:0;z-index:4;background:#f5f8fd;box-shadow:inset 0 -1px #cfdbea,0 2px 3px rgba(25,55,93,.05)}
#products>.table-wrap{max-height:max(300px,calc(100vh - 305px))}
#costs>.table-wrap{max-height:max(280px,calc(100vh - 410px))}
#productRiskSettingsForm{margin-top:16px}.settings-grid .wide{grid-column:1/-1}.settings-grid .wide h3{margin:0 0 4px}
.product-risk-overview{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:-2px 0 14px;padding:12px 14px;border:1px solid #dce7f5;border-radius:10px;background:#fff}.product-risk-overview>b{color:#1f3656}.product-risk-overview>div:first-child{display:grid;gap:3px}.product-risk-overview>div:first-child span{color:#718096;font-size:12px}.product-risk-overview-grid{display:grid;grid-template-columns:repeat(6,minmax(86px,1fr));gap:7px;flex:1;max-width:780px}.product-risk-overview-grid button{display:grid;gap:3px;padding:8px 10px;border:1px solid #dbe5f1;border-radius:8px;background:#f8fbff;color:#35516f;text-align:left}.product-risk-overview-grid button:hover{border-color:#77a9e8;background:#eef6ff}.product-risk-overview-grid strong{font-size:19px}.product-risk-overview-grid span{font-size:12px;white-space:nowrap}.product-risk-overview-grid .danger{background:#fff5f4;border-color:#f0c4c0;color:#bb3b34}.product-risk-overview-grid .warning{background:#fff9ee;border-color:#f0d5a6;color:#9a6613}.product-risk-overview-grid .muted{background:#f5f7fa;color:#6f7f93}@media(max-width:1100px){.product-risk-overview{align-items:flex-start;flex-direction:column}.product-risk-overview-grid{width:100%;max-width:none;grid-template-columns:repeat(3,minmax(100px,1fr))}}@media(max-width:600px){.product-risk-overview-grid{grid-template-columns:repeat(2,minmax(100px,1fr))}}
@media(max-width:900px){.view .table-wrap:not(.bill-preview-table){max-height:max(260px,calc(100vh - 235px))}#products>.table-wrap,#costs>.table-wrap{max-height:max(250px,calc(100vh - 260px))}}
.product-price-simulation{grid-column:1/-1}.simulation-price-sources,.simulation-quote-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.simulation-price-sources{margin:12px 0}.simulation-price-sources span,.simulation-quote-grid span{padding:9px 10px;border:1px solid #dfe7f2;border-radius:8px;background:#f8fbff;color:#6c7b90;font-size:12px}.simulation-price-sources b,.simulation-quote-grid b{display:block;margin-top:4px;color:#1f3554;font-size:14px}.simulation-editor{display:grid;grid-template-columns:minmax(180px,.55fr) 1.45fr;gap:10px;align-items:end;padding:12px;border:1px solid #d9e7f8;border-radius:10px;background:#f6faff}.simulation-editor label{margin:0}.simulation-editor .wide{min-width:0}.simulation-actions{display:flex;gap:8px;flex-wrap:wrap;grid-column:1/-1}.simulation-compare{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.simulation-compare section{padding:13px;border:1px solid #dfe7f2;border-radius:10px;background:#fff}.simulation-compare h4{margin:0 0 4px}.simulation-compare p{margin:0 0 10px}.simulation-quote-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.simulation-quote-grid .simulation-result{grid-column:1/-1;background:#f1f8f4;border-color:#cae8d4}.simulation-quote-grid .simulation-result.cost-negative{background:#fff4f3;border-color:#f1c4c0}.simulation-quote-grid small{display:block;margin-top:5px;color:inherit}.simulation-editor input{width:100%;box-sizing:border-box}@media(max-width:1000px){.simulation-price-sources{grid-template-columns:repeat(2,minmax(0,1fr))}.simulation-editor,.simulation-compare{grid-template-columns:1fr}}@media(max-width:600px){.simulation-price-sources,.simulation-quote-grid{grid-template-columns:1fr}}

/* Logistics quotation master-data dialogs */
.logistics-quote-dialog{width:min(1320px,96vw);max-height:92vh;overflow:auto}.logistics-editor-dialog{width:min(720px,94vw)}.logistics-quote-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.logistics-quote-section{margin-top:18px}.logistics-quote-section h4{margin:0 0 8px}.logistics-quote-table{min-width:1120px}.logistics-quote-section .table-wrap{max-height:360px}.logistics-quote-section td{vertical-align:top}.logistics-quote-section .actions{display:flex;flex-wrap:wrap;gap:5px}.logistics-editor-dialog textarea{width:100%;box-sizing:border-box}.logistics-quote-dialog .button-link{line-height:20px}.logistics-quote-dialog .tag{white-space:nowrap}@media(max-width:760px){.logistics-quote-toolbar>*{flex:1 1 auto}.logistics-quote-section .table-wrap{max-height:300px}}
.shipment-quote-estimate{display:flex;align-items:baseline;gap:5px;margin-top:6px;padding:6px 8px;border-radius:7px;white-space:nowrap;font-size:12px;line-height:1.25}.shipment-quote-estimate span{opacity:.82;font-size:11px}.shipment-quote-estimate b{font-size:13px;font-weight:700;letter-spacing:.05px}.shipment-quote-estimate.available{background:#edf7ff;color:#1769a8}.shipment-quote-estimate.unavailable{background:#fff7e9;color:#9a5a07}.shipment-quote-summary.available{border-color:#b8dcef!important;background:#eff8ff!important}.shipment-quote-summary.unavailable{border-color:#f0d7aa!important;background:#fffaf0!important}.shipment-quote-summary small,.shipment-quote-variance small{display:block;margin-top:4px;color:#6f7f93;font-size:11px;line-height:1.35}.shipment-quote-variance.within{border-color:#c9e7d3!important;background:#f1faf4!important;color:#197347}.shipment-quote-variance.above{border-color:#f0c8a4!important;background:#fff8ee!important;color:#a95d05}.shipment-quote-variance.below{border-color:#b8dcef!important;background:#eff8ff!important;color:#1769a8}.shipment-quote-variance small{color:inherit;opacity:.82}.logistics-table tr[hidden]{display:none}.batch-next-action{display:block;width:100%;margin-top:6px;padding:5px 7px;border:1px solid #93bff0;border-radius:6px;background:#eef6ff;color:#1769c2;font-size:12px;font-weight:650;white-space:nowrap}.batch-next-action:hover{border-color:#4e93df;background:#dfefff}.amount-chain .quote-cost{border-color:#b8dcef;background:#eff8ff}.amount-chain .quote-cost small{display:block;margin-top:4px;color:#5f728a;font-size:11px;line-height:1.35}

/* Internal-pilot confirmation and per-store continuation after the B-store gray run. */
.rollout-gray-run{display:grid;gap:10px;margin-top:11px}.rollout-gray-store-list{display:grid;gap:8px}.rollout-gray-store{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,.75fr) minmax(330px,1.2fr);gap:10px;align-items:center;padding:10px;border:1px solid #e0e7ef;border-radius:9px;background:#fafcff}.rollout-gray-store.selected{border-color:#9fc9ee;background:#f1f8ff}.rollout-gray-store .inline-check{margin:0}.rollout-gray-store small{color:#718096;font-size:12px;line-height:1.4}.rollout-gray-store-fields{display:grid;grid-template-columns:1fr 1.25fr;gap:8px;align-items:end}.rollout-gray-store-fields label{margin:0;font-size:12px}.rollout-gray-store-fields input[type="date"]{margin-top:4px}.rollout-gray-store-fields .inline-check{padding-bottom:7px}@media(max-width:900px){.rollout-gray-store{grid-template-columns:1fr}.rollout-gray-store-fields{grid-template-columns:1fr}}
.rollout-internal-pilot>.inline-check{margin-top:10px;padding:10px;border:1px dashed #bcd4ed;border-radius:9px;background:#fff}
.rollout-phase-four{display:grid;gap:10px;margin-top:11px}.rollout-current-store{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:11px 12px;border:1px solid #b9d9f5;border-radius:9px;background:#edf7ff}.rollout-current-store span,.rollout-current-store b,.rollout-current-store small{display:block}.rollout-current-store span{color:#1c6fbd;font-size:12px;font-weight:700}.rollout-current-store b{margin:2px 0;color:#193b61}.rollout-current-store small{color:#60758d;font-size:12px}.rollout-current-store>strong{display:grid;place-items:center;min-width:52px;height:36px;border-radius:8px;background:#fff;color:#1769c2}.rollout-store-list{display:grid;gap:6px}.rollout-store-status{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:9px 10px;border:1px solid #e0e7ef;border-radius:8px;background:#fafcff}.rollout-store-status.current{border-color:#9fc9ee;background:#f1f8ff}.rollout-store-status.passed{border-color:#cce7d5;background:#f5fcf7}.rollout-store-status b,.rollout-store-status small{display:block}.rollout-store-status b{font-size:13px;color:#2a405c}.rollout-store-status small{margin-top:2px;color:#708096;font-size:12px}.rollout-store-status>span{padding:3px 7px;border-radius:99px;background:#eef2f6;color:#66758a;font-size:11px;font-weight:700;white-space:nowrap}.rollout-store-status.current>span{background:#e2f1ff;color:#1769c2}.rollout-store-status.passed>span{background:#e4f7ea;color:#198754}.rollout-store-gates{margin-top:0}.rollout-phase-four .rollout-controls{margin-top:0}@media(max-width:760px){.rollout-current-store{align-items:flex-start;flex-direction:column}.rollout-store-status{align-items:flex-start;flex-direction:column;gap:5px}}

/* Compact control surface for the formal rollout gates.  Detail is in the
   dialog, while the dashboard exposes only the decision that is currently due. */
.rollout-governance-card{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:18px;align-items:center;margin:0 0 12px;padding:15px 17px;border:1px solid #b9d6f7;border-radius:12px;background:linear-gradient(105deg,#f2f8ff,#fff)}.rollout-governance-card h3{margin:2px 0 4px;color:#17395f}.rollout-governance-card p{margin:0;color:#60738a;font-size:13px}.rollout-eyebrow{color:#1c6fbd;font-size:12px;font-weight:700}.rollout-progress{display:grid;gap:2px;min-width:92px;padding:8px 12px;border-radius:9px;background:#e8f3ff;text-align:center}.rollout-progress b{font-size:20px;color:#165fa8}.rollout-progress span{font-size:11px;color:#58718d}.rollout-governance-dialog{width:min(980px,94vw);max-height:91vh;overflow:auto}.rollout-governance-dialog form{display:grid;gap:14px}.rollout-stage-grid{display:grid;gap:10px}.rollout-stage{padding:14px;border:1px solid #dce5f0;border-radius:11px;background:#fff}.rollout-stage.current{border-color:#8fc0ef;background:#f4f9ff;box-shadow:inset 3px 0 #3b82d0}.rollout-stage.passed{border-color:#c9e6d5;background:#fbfffc}.rollout-stage-heading{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:start}.rollout-stage-heading>span{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#e7f1fd;color:#1d67ad;font-size:12px;font-weight:700}.rollout-stage.passed .rollout-stage-heading>span{background:#dcf4e5;color:#197345}.rollout-stage-heading h4{margin:0 0 3px;color:#203a5b}.rollout-stage-heading p{margin:0;color:#708096;font-size:12px;line-height:1.45}.rollout-stage-heading>b{padding:4px 7px;border-radius:99px;background:#edf2f7;color:#65758a;font-size:12px;white-space:nowrap}.rollout-stage.current .rollout-stage-heading>b{background:#e2f1ff;color:#1769c2}.rollout-stage.passed .rollout-stage-heading>b{background:#e2f6e9;color:#198754}.rollout-gates{display:grid;gap:7px;margin:12px 0 0;padding:0;list-style:none}.rollout-gates li{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:8px;align-items:start;padding:8px 9px;border-radius:8px;background:#f8fafc;color:#66758a}.rollout-gates li.passed{background:#f0faf3;color:#236d43}.rollout-gates li>span{font-weight:800}.rollout-gates b,.rollout-gates small{display:block}.rollout-gates b{font-size:13px}.rollout-gates small{margin-top:2px;font-size:12px;line-height:1.4;color:inherit;opacity:.82}.rollout-gates em{font-style:normal;font-size:11px;white-space:nowrap;opacity:.85}.rollout-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:11px;padding:11px;border:1px dashed #bcd4ed;border-radius:9px;background:#fff}.rollout-controls .inline-check{grid-column:1/-1}.rollout-controls label{margin:0}.rollout-controls input,.rollout-controls select{margin-top:5px}.rollout-stage-note{margin:11px 0 0;padding:10px;border-radius:8px;background:#f7f9fc;color:#607086;font-size:12px;line-height:1.5}.rollout-stage> .inline-check{margin-top:11px;padding:10px;border:1px dashed #bcd4ed;border-radius:9px;background:#fff}.rollout-governance-dialog .dialog-actions{position:sticky;bottom:-25px;margin:4px -25px -25px;padding:14px 25px;background:#fff;border-top:1px solid #e5ebf4}.rollout-governance-dialog .dialog-title-row{position:sticky;top:-25px;z-index:3;margin:-25px -25px 0;padding:20px 25px 13px;background:#fff;border-bottom:1px solid #e5ebf4}@media(max-width:760px){.rollout-governance-card{grid-template-columns:1fr;gap:10px}.rollout-governance-card button{width:100%}.rollout-progress{justify-self:start}.rollout-stage-heading{grid-template-columns:auto minmax(0,1fr)}.rollout-stage-heading>b{grid-column:2}.rollout-controls{grid-template-columns:1fr}.rollout-gates li{grid-template-columns:18px minmax(0,1fr)}.rollout-gates em{grid-column:2}}

/* Store-aware queue for bills waiting on a future box-label/ticket import. */
.unmatched-bill-dialog{width:min(1320px,96vw);max-height:92vh}.unmatched-bill-dialog table{min-width:1080px}.bill-queue-toolbar{display:grid;grid-template-columns:160px 190px minmax(240px,1fr) auto auto;gap:8px;align-items:end;margin:12px 0}.bill-queue-toolbar label{margin:0}.bill-queue-bulk{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:8px 0;padding:10px;border:1px solid #dce7f4;border-radius:9px;background:#f7faff}.bill-queue-bulk>span{margin-right:auto}.bill-status.deferred{display:block;width:max-content;margin-bottom:5px;background:#eaf3ff;color:#1769c2}.exception-filter-bar{display:grid;grid-template-columns:190px 150px 190px minmax(220px,1fr) auto;gap:8px;margin:10px 0}.exception-filter-bar>*{min-width:0}@media(max-width:1050px){.bill-queue-toolbar,.exception-filter-bar{grid-template-columns:1fr 1fr}.bill-queue-toolbar button,.exception-filter-bar button{width:100%}}@media(max-width:900px){.bill-queue-bulk{align-items:stretch;flex-direction:column}.bill-queue-bulk>span{margin-right:0}}@media(max-width:620px){.bill-queue-toolbar,.exception-filter-bar{grid-template-columns:1fr}}
.todo-filter-bar{display:grid;grid-template-columns:220px 200px 1fr;gap:8px;align-items:center;margin:10px 0}.todo-filter-bar>*{min-width:0}.dashboard-action.waiting-external{border-left-color:#7a8ba3;background:#f7f9fc}.issue-wait-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.issue-wait-fields>p{grid-column:1/-1;margin:0}@media(max-width:700px){.todo-filter-bar,.issue-wait-fields{grid-template-columns:1fr}}

/* One-row packing detail copied directly into the existing WPS template. */
.packing-detail-dialog{width:min(1380px,96vw);max-height:92vh;overflow:auto}.packing-detail-grid{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:10px;margin:12px 0}.packing-detail-grid label{margin:0}.packing-detail-grid input,.packing-detail-grid select{width:100%;box-sizing:border-box}.packing-detail-grid input[readonly]{background:#f1f5f9;color:#475569}.packing-name-field{grid-column:span 2}.packing-product{display:flex;align-items:center;gap:12px;margin:12px 0;padding:11px;border:1px solid #dce7f3;border-radius:10px;background:#f8fbff}.packing-product-image{display:grid;place-items:center;width:72px;height:72px;border:1px solid #dce5ef;border-radius:8px;background:#fff;color:#8190a3;overflow:hidden}.packing-product-image img{width:100%;height:100%;object-fit:contain}.packing-product b,.packing-product small{display:block}.packing-product small{margin-top:5px;color:#6e7f94}.packing-preview{max-height:260px!important}.packing-preview table{min-width:1220px}.packing-preview td{vertical-align:middle}.packing-preview td img{display:block;width:72px;height:72px;object-fit:contain}.packing-ready{border-color:#bde0c8!important;background:#f1faf4!important;color:#197347!important}@media(max-width:900px){.packing-detail-grid{grid-template-columns:repeat(2,minmax(140px,1fr))}.packing-name-field{grid-column:1/-1}}@media(max-width:560px){.packing-detail-grid{grid-template-columns:1fr}.packing-name-field{grid-column:auto}}
.ticket-quantity-cell{min-width:108px}.ticket-quantity-cell b,.ticket-quantity-cell small{display:block;white-space:nowrap}.ticket-quantity-cell small{margin:3px 0;color:#52657d}.ticket-quantity-cell small.missing{color:#b15f00}.ticket-quantity-cell button{margin-top:4px}
.ticket-auto-fifo-panel{border-color:#bfd8f3;background:#f8fbff}.auto-fifo-empty{padding:12px;border:1px dashed #bfd3e9;border-radius:8px;color:#64748b;background:#fff}.auto-fifo-summary{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:9px}.auto-fifo-summary span{padding:6px 9px;border-radius:8px;background:#eaf4ff;color:#245d98;font-size:12px}.auto-fifo-warning{margin:0 0 9px;padding:8px 10px;border-radius:8px;background:#fff4de;color:#965e00;font-size:12px;line-height:1.45}.auto-fifo-list{display:grid;gap:7px}.auto-fifo-list article{display:grid;grid-template-columns:minmax(180px,1.2fr) 80px 85px 120px minmax(220px,1.4fr);gap:10px;align-items:center;padding:9px 10px;border:1px solid #dce8f5;border-radius:8px;background:#fff;font-size:12px}.auto-fifo-list article b,.auto-fifo-list article small{display:block}.auto-fifo-list article small{margin-top:3px;color:#718096}.auto-fifo-status{width:max-content;padding:4px 7px;border-radius:99px;background:#eef1f5;color:#64748b;font-weight:700}.auto-fifo-status.active{background:#e6f7ed;color:#197347}.auto-fifo-status.draft{background:#fff3db;color:#966000}.auto-fifo-status.void{background:#f0f1f3;color:#7a818c}@media(max-width:900px){.auto-fifo-list article{grid-template-columns:1fr 1fr}.auto-fifo-list article>span:last-child{grid-column:1/-1}}

/* Ozon disposal is a two-step, evidence-backed transfer into period loss. */
.ozon-disposal-panel{border-color:#efd7a8;background:#fffaf1}.ozon-disposal-rows{display:grid;gap:7px;margin:10px 0}.ozon-disposal-rows article{display:grid;grid-template-columns:minmax(220px,1.5fr) 110px 145px minmax(170px,auto);gap:10px;align-items:center;padding:10px;border:1px solid #eadfc9;border-radius:8px;background:#fff;font-size:12px}.ozon-disposal-rows article b,.ozon-disposal-rows article small{display:block}.ozon-disposal-rows article small{margin-top:3px;color:#718096;line-height:1.4}.ozon-disposal-rows article>span:last-child{display:flex;gap:6px;justify-content:flex-end}.ozon-disposal-form{display:grid;grid-template-columns:1.1fr .75fr .55fr 1.25fr;gap:9px;align-items:end;padding:11px;border:1px dashed #dcc89f;border-radius:9px;background:#fff}.ozon-disposal-form label{margin:0}.ozon-disposal-form .wide{grid-column:1/-2}.ozon-disposal-form button{min-height:38px}@media(max-width:900px){.ozon-disposal-rows article,.ozon-disposal-form{grid-template-columns:1fr 1fr}.ozon-disposal-rows article>span:last-child{justify-content:flex-start}.ozon-disposal-form .wide{grid-column:1/-1}}@media(max-width:560px){.ozon-disposal-rows article,.ozon-disposal-form{grid-template-columns:1fr}}

/* Anonymous production telemetry: compact enough to stay cheap for concurrent admins. */
.monitor-alert.info{background:#eef6ff;color:#285a91}
.monitor-banner{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 12px;padding:14px 16px;border:1px solid #cbdcf0;border-radius:11px;background:#f5f9ff;color:#285a91}.monitor-banner.healthy{border-color:#b9dfc8;background:#f1faf4;color:#197347}.monitor-banner.warning{border-color:#efd5a0;background:#fff9ee;color:#956000}.monitor-banner.critical{border-color:#efbbb7;background:#fff5f4;color:#b1322b}.monitor-banner span{font-size:12px}.monitor-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-bottom:12px}.monitor-kpis article{padding:13px 14px;border:1px solid #dce6f2;border-radius:10px;background:#fff}.monitor-kpis strong,.monitor-kpis span{display:block}.monitor-kpis strong{font-size:20px;color:#1d3554}.monitor-kpis span{margin-top:4px;color:#718096;font-size:12px}.monitor-alerts{display:grid;gap:7px;margin-bottom:12px}.monitor-alert{display:flex;gap:10px;padding:9px 12px;border-radius:8px;background:#fff8eb;color:#8a5900}.monitor-alert.critical{background:#fff2f1;color:#a92e28}.monitor-alert.healthy{background:#eef9f2;color:#197347}.monitor-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:12px;margin-bottom:12px}.monitor-grid>.card{margin:0;padding:0;overflow:hidden}.monitor-grid table{min-width:580px}.monitor-service-list{display:grid;padding:4px 16px 12px}.monitor-service-list article{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #edf1f6}.monitor-service-list article:last-child{border-bottom:0}.monitor-service-list small{display:block;margin-top:3px;color:#718096}.monitor-dot{width:9px;height:9px;border-radius:50%;background:#d92d20}.monitor-dot.ok{background:#23a15d}.monitor-service-list strong.ok{color:#197347}.monitor-service-list strong.bad{color:#bd3129}.monitor-privacy{margin:2px 0 0;padding:10px 12px;border-radius:8px;background:#f4f7fb}.monitor-grid code{font-size:12px;color:#2c5f98;white-space:nowrap}@media(max-width:1200px){.monitor-kpis{grid-template-columns:repeat(3,1fr)}.monitor-grid{grid-template-columns:1fr}}@media(max-width:650px){.monitor-banner{align-items:flex-start;flex-direction:column}.monitor-kpis{grid-template-columns:repeat(2,1fr)}}
.monitor-history-card{margin:0 0 12px;padding:0;overflow:hidden}.monitor-history-card table{min-width:820px}

/* Four-stage logistics surface.  Six audit events remain in the payload, but
   operators only see the physical stage that currently needs action. */
.shipment-stage-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 12px}.shipment-stage-progress article{display:grid;grid-template-columns:30px minmax(0,1fr);gap:2px 8px;align-items:center;padding:10px;border:1px solid #dce5ef;border-radius:9px;background:#f8fafc;color:#6b7c91}.shipment-stage-progress article>span{grid-row:1/3;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e9eef4;font-size:12px;font-weight:800}.shipment-stage-progress article b,.shipment-stage-progress article small{display:block}.shipment-stage-progress article b{color:#40566f;font-size:13px}.shipment-stage-progress article small{font-size:11px}.shipment-stage-progress article.complete{border-color:#c9e7d3;background:#f2faf5;color:#43805d}.shipment-stage-progress article.complete>span{background:#dff3e6;color:#197347}.shipment-stage-progress article.cancelled{border-color:#efc8c8;background:#fff5f5;color:#a64848}.shipment-stage-progress article.cancelled>span{background:#f9dddd;color:#a52626}.shipment-stage-progress article.cancelled b{color:#7f3535}.shipment-stage-progress article.current{border-color:#82b7ec;background:#eef7ff;color:#1769c2;box-shadow:inset 3px 0 #3282cf}.shipment-stage-progress article.current>span{background:#dbeeff;color:#1769c2}.shipment-stage-progress article.current b{color:#174d82}.shipment-current-stage{display:grid!important;grid-template-columns:160px repeat(3,minmax(160px,1fr));gap:10px;align-items:end;padding:13px;border:1px solid #9bc5ee;border-radius:10px;background:#f3f9ff}.shipment-current-stage>b{align-self:center;color:#174d82}.shipment-current-stage label{margin:0}.shipment-stage-history,.shipment-exception-disclosure{margin:0 0 11px;border:1px solid #dfe7f1;border-radius:9px;background:#fff}.shipment-stage-history>summary,.shipment-exception-disclosure>summary{cursor:pointer;padding:10px 12px;color:#365470;font-weight:700}.shipment-history-cards{display:flex;flex-wrap:wrap;gap:7px;padding:0 12px 12px}.shipment-history-cards>article{display:grid;grid-template-columns:minmax(120px,1fr) auto;gap:2px 9px;align-items:center;min-width:230px;padding:8px 9px;border-radius:7px;background:#f5f8fb;color:#697b91;font-size:11px}.shipment-history-cards>article b{color:#344b65;font-size:12px}.shipment-history-cards>article time{grid-column:1;white-space:nowrap}.shipment-history-cards>article button{grid-column:2;grid-row:1/3}.shipment-history-cards>article.pending-correction{background:#fff7e8;color:#9a6400}.shipment-time-correction{display:grid;grid-template-columns:minmax(190px,1fr) minmax(190px,1fr) minmax(230px,1.2fr) auto;gap:9px;align-items:end;margin:0 12px 12px;padding:11px;border:1px solid #efcf91;border-radius:8px;background:#fffaf0}.shipment-time-correction>div b,.shipment-time-correction>div small{display:block}.shipment-time-correction>div small{margin-top:4px;color:#7b6a4c;line-height:1.35}.shipment-time-correction label{margin:0}.shipment-time-correction>span{display:flex;gap:6px}.shipment-exception-disclosure{border-color:#e8d5ae;background:#fffaf1}.shipment-exception-disclosure>p{margin:-3px 12px 10px}.shipment-exception-disclosure>#shipmentExceptionSections{display:grid;gap:10px;padding:0 10px 10px}.shipment-exception-disclosure fieldset,.shipment-difference-block{margin:0;background:#fff}.shipment-difference-block{display:grid;gap:8px;padding:12px;border:1px solid #e5dfd1;border-radius:8px}.shipment-difference-block h4{margin:0}.shipment-exception-disclosure[open]>summary{border-bottom:1px solid #eadfc8;margin-bottom:10px}.shipment-stage-status{display:block;width:max-content}.ticket-auto-fifo-panel[hidden],.ozon-inbound-panel[hidden],.shipment-time-correction[hidden]{display:none!important}@media(max-width:1100px){.shipment-time-correction{grid-template-columns:1fr 1fr}.shipment-time-correction>div{grid-column:1/-1}}@media(max-width:900px){.shipment-stage-progress{grid-template-columns:repeat(2,minmax(0,1fr))}.shipment-current-stage{grid-template-columns:1fr 1fr}}@media(max-width:560px){.shipment-stage-progress,.shipment-current-stage,.shipment-time-correction{grid-template-columns:1fr}.shipment-time-correction>div{grid-column:auto}}

/* Progressive Ozon delivery form: routine booking stays compact; acceptance,
   rejection and retry controls appear only when their state needs them. */
.ozon-inbound-row{display:block;padding:0;border:1px solid #d6e3f1;border-radius:11px;background:#fff;overflow:hidden}.ozon-inbound-row>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;border-bottom:1px solid #e5edf6;background:#f6faff}.ozon-inbound-row>header b,.ozon-inbound-row>header small{display:block}.ozon-inbound-row>header b{color:#264b73;font-size:13px}.ozon-api-signal{margin-top:3px;color:#1b6f45;font-size:11px}.ozon-inbound-main,.ozon-inbound-result,.ozon-inbound-rejection{display:grid;gap:9px;padding:11px 12px}.ozon-inbound-main{grid-template-columns:minmax(230px,1.45fr) minmax(190px,1.1fr) minmax(110px,.65fr) minmax(160px,.9fr)}.ozon-inbound-result{grid-template-columns:repeat(3,minmax(150px,1fr));padding-top:0}.ozon-inbound-rejection{grid-template-columns:minmax(150px,.6fr) minmax(260px,1.4fr);padding-top:0}.ozon-inbound-row label{margin:0}.ozon-inbound-row input,.ozon-inbound-row select{width:100%;box-sizing:border-box}.ozon-inbound-row [hidden]{display:none!important}.cross-dock-preview{display:block;margin-top:4px;color:#24714b;font-size:11px;line-height:1.35}.cross-dock-preview.missing{color:#a36400}.ozon-inbound-more{margin:0 12px 11px;border:1px dashed #ccd9e8;border-radius:8px;background:#fafcff}.ozon-inbound-more>summary{cursor:pointer;padding:8px 10px;color:#60758e;font-size:12px;font-weight:600}.ozon-inbound-more>div{display:grid;grid-template-columns:minmax(230px,1fr) minmax(230px,1fr);gap:9px;padding:0 10px 10px}.ozon-inbound-more label>small{display:block;margin-top:4px;color:#718096;font-size:11px}.cost-auto-source{display:inline-block;padding:4px 7px;border-radius:99px;background:#e7f7ee;color:#197347;font-size:11px;font-weight:700}.cost-auto-detail{display:block;margin-top:4px;color:#6f8094;font-size:11px;line-height:1.35}@media(max-width:1050px){.ozon-inbound-main{grid-template-columns:1fr 1fr}.ozon-inbound-result{grid-template-columns:1fr 1fr 1fr}}@media(max-width:720px){.ozon-inbound-main,.ozon-inbound-result,.ozon-inbound-rejection,.ozon-inbound-more>div{grid-template-columns:1fr}}
.shipment-note-guidance{grid-column:1/-1;color:#657b92;line-height:1.5}
.shipment-current-stage [data-note-save-status]{display:block;min-height:1em;margin-top:4px;color:#657b92;font-size:11px}
.shipment-history-cards>article .shipment-history-note{grid-column:1/-1;margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;max-width:480px;color:#52677e;line-height:1.5}
