#stocksSection .ozon-movement-panel{padding:21px;border:1px solid #dae6f6;background:linear-gradient(120deg,#fff,#f5f9ff);border-radius:17px;margin:0 0 19px;box-shadow:0 6px 18px #385f9410}
#stocksSection .ozon-movement-panel[hidden]{display:none!important}
#stocksSection .ozon-movement-head{display:flex;align-items:center;justify-content:space-between;gap:15px}
#stocksSection .ozon-movement-head span{font-size:10px;letter-spacing:.09em;color:#3871bd;font-weight:850}
#stocksSection .ozon-movement-head h3{color:#172f4d;font-size:18px;margin:6px 0 5px;line-height:1.3}
#stocksSection .ozon-movement-head p{color:#667e9b;font-size:11px;margin:0 0 13px}
#stocksSection button#ozonMovementRefresh{width:auto!important;margin:0!important;background:#eff5ff!important;color:#255bb1!important;border:1px solid #cadaf3!important;box-shadow:none!important;padding:10px 13px!important;font-size:12px!important}
#stocksSection .ozon-movement-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;font-size:12px;color:#5d7190}
#stocksSection .ozon-movement-metric{background:#fff;border:1px solid #dfe9f7;border-radius:12px;padding:14px}
#stocksSection .ozon-movement-metric span{color:#516b8b;font-weight:650;font-size:11px}
#stocksSection .ozon-movement-metric strong{display:block;font-size:23px;margin:7px 0 3px;font-variant-numeric:tabular-nums;color:#1c3451}
#stocksSection .ozon-movement-metric small{color:#8596ab;font-size:10px}
#stocksSection .ozon-movement-products{margin-top:15px;overflow-x:auto;border:1px solid #dce7f4;border-radius:11px}
#stocksSection .ozon-movement-products table{width:100%;min-width:740px;border-collapse:collapse}
#stocksSection .ozon-movement-products th{background:#f0f5fc;color:#3b5373;font-size:11px;padding:11px 12px;text-align:left}
#stocksSection .ozon-movement-products td{color:#293f60;font-size:12px;padding:10px 12px;border-top:1px solid #e7eef7}
#stocksSection .ozon-movement-products td:not(:first-child){text-align:right;font-weight:700}
#stocksSection .ozon-movement-disclaimer{margin:13px 0 0;font-size:11px;color:#7185a0;line-height:1.5}
@media(max-width:750px){#stocksSection .ozon-movement-cards{grid-template-columns:repeat(2,minmax(0,1fr))}#stocksSection .ozon-movement-head{align-items:flex-start;flex-direction:column}}
@media(max-width:480px){#stocksSection .ozon-movement-cards{grid-template-columns:1fr}}

/* Ozon movement status drill-down — whole KPI card is a real button. */
#dashboard #stocksSection .ozon-movement-cards button.ozon-movement-metric {
  position:relative;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:flex-start!important;
  text-align:left!important;
  width:100%!important;
  min-height:134px!important;
  margin:0!important;
  padding:15px 16px!important;
  border:1px solid #d7e4f3!important;
  border-radius:13px!important;
  background:#fff!important;
  background-image:none!important;
  color:#1d3653!important;
  box-shadow:0 3px 12px rgba(36,68,111,.035)!important;
  text-shadow:none!important;
  opacity:1!important;
  cursor:pointer!important;
  transition:background .16s,border-color .16s,box-shadow .16s,transform .16s;
}
#dashboard #stocksSection .ozon-movement-cards button.ozon-movement-metric:hover{
  border-color:#8eb6ed!important;
  background:#f6faff!important;
  box-shadow:0 7px 20px rgba(34,97,185,.11)!important;
  transform:translateY(-1px);
}
#dashboard #stocksSection .ozon-movement-cards button.ozon-movement-metric:focus-visible {
  outline:2px solid #367cf2!important;
  outline-offset:2px!important;
}
#dashboard #stocksSection .ozon-movement-cards .ozon-movement-metric>span:first-child {
  font-size:12px!important;
  font-weight:750!important;
  line-height:1.35!important;
  color:#416080!important;
}
#dashboard #stocksSection .ozon-movement-cards .ozon-movement-metric>strong{
  display:block!important;
  margin:7px 0 4px!important;
  color:#172f4f!important;
  font-size:23px!important;
  font-weight:850!important;
  font-variant-numeric:tabular-nums;
  line-height:1.25!important;
}
#dashboard #stocksSection .ozon-movement-cards .ozon-movement-metric>small {
  font-size:11px!important;
  color:#69829e!important;
  line-height:1.45!important;
}
#dashboard #stocksSection .ozon-movement-cards .ozon-movement-metric-action{
  display:flex!important;
  align-items:center!important;
  gap:6px;
  margin-top:auto!important;
  padding-top:10px!important;
  color:#2468bc!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1.2!important;
}
#dashboard #stocksSection .ozon-movement-cards .ozon-movement-metric-action>span{
  font-size:17px!important;
  line-height:1!important;
}

/* Modal is intentionally mounted on <body> to escape dashboard transforms and
   clipping. Scoped here to avoid changing the existing dialog components. */
.ozon-movement-modal{
  position:fixed;
  inset:0;
  z-index:2147480030;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  box-sizing:border-box;
  font-family:inherit;
}
.ozon-movement-modal[hidden]{display:none!important}
.ozon-movement-modal *{box-sizing:border-box}
.ozon-movement-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(10,24,47,.55);
  backdrop-filter:blur(3px);
}
.ozon-movement-modal-dialog{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  width:min(960px,100%);
  max-height:min(830px,calc(100vh - 35px));
  overflow:hidden;
  border:1px solid #dbe6f3;
  border-radius:19px;
  background:#fff;
  box-shadow:0 24px 75px rgba(10,30,65,.28);
  color:#203855;
}
.ozon-movement-modal-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  padding:22px 25px 17px;
  border-bottom:1px solid #e4ebf5;
  background:linear-gradient(115deg,#f7faff,#eef5ff);
}
.ozon-movement-modal-head-copy{
  min-width:0;
  flex:1;
}
.ozon-movement-modal-eyebrow{
  display:block;
  font-size:10px;
  font-weight:850;
  letter-spacing:.09em;
  color:#316cbb;
  text-transform:uppercase;
  margin-bottom:8px;
}
.ozon-movement-modal-head h2{
  margin:0;
  font-size:23px;
  font-weight:850;
  letter-spacing:-.03em;
  line-height:1.25;
  color:#1a3455;
}
.ozon-movement-modal-head p{
  color:#5d7491;
  font-size:12px;
  line-height:1.5;
  margin:7px 0 0;
}
.ozon-movement-modal button.ozon-movement-modal-close{
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  height:34px!important;
  min-height:34px!important;
  flex:0 0 34px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #d5e2f0!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#47617d!important;
  font-size:26px!important;
  line-height:1!important;
  cursor:pointer;
  box-shadow:none!important;
}
.ozon-movement-modal button.ozon-movement-modal-close:hover{
  color:#173f74!important;
  background:#ecf4ff!important;
}
.ozon-movement-modal-content{
  overflow:auto;
  padding:19px 25px 24px;
  min-height:0;
  scrollbar-width:thin;
  overscroll-behavior:contain;
}
.ozon-movement-modal-intro{
  margin:0 0 15px;
  padding:12px 15px;
  border:1px solid #d7e6f8;
  border-radius:11px;
  background:#f1f7ff;
  font-size:12px;
  line-height:1.65;
  color:#365978;
}
.ozon-movement-modal-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:0 0 16px;
}
.ozon-movement-modal-summary>div{
  padding:13px 15px;
  border:1px solid #e0e9f3;
  border-radius:11px;
  background:#f8fbff;
}
.ozon-movement-modal-summary span{
  display:block;
  color:#637b96;
  font-size:11px;
  font-weight:700;
}
.ozon-movement-modal-summary strong{
  display:block;
  margin-top:5px;
  color:#193752;
  font-size:22px;
  font-weight:850;
  font-variant-numeric:tabular-nums;
}
.ozon-movement-modal-toolbar{
  display:flex;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:space-between;
  margin:0 0 12px;
}
.ozon-movement-modal-search{
  flex:1 1 270px;
  max-width:430px;
  display:flex;
  gap:9px;
  align-items:center;
  margin:0;
  padding:0 12px;
  height:41px;
  min-width:0;
  border:1px solid #d0dfef;
  border-radius:10px;
  background:#fff;
  color:#7089a3;
}
.ozon-movement-modal-search:focus-within{
  border-color:#84b5f4;
  box-shadow:0 0 0 3px rgba(38,108,222,.10);
}
.ozon-movement-modal-search>span{
  font-size:23px;
  line-height:1;
}
.ozon-movement-modal-search input{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  height:39px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  color:#18314e!important;
  font:inherit!important;
  font-size:12px!important;
  box-shadow:none!important;
}
.ozon-movement-modal-search input::placeholder{
  color:#869bb2;
}
.ozon-movement-modal-shown{
  font-size:11px;
  font-weight:700;
  color:#5a7493;
}
.ozon-movement-modal-products{
  display:grid;
  gap:10px;
}
.ozon-movement-detail-product{
  background:#fff;
  border:1px solid #e0e9f3;
  border-radius:12px;
  overflow:hidden;
}
.ozon-movement-detail-product-head{
  display:grid;
  grid-template-columns:55px minmax(0,1fr) minmax(80px,auto);
  align-items:center;
  gap:12px;
  padding:13px 15px;
}
.ozon-movement-detail-photo{
  display:grid;
  place-items:center;
  width:52px;
  height:61px;
  min-width:52px;
  overflow:hidden;
  border:1px solid #e2eaf4;
  border-radius:9px;
  background:#f3f7fc;
}
.ozon-movement-detail-image{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
}
.ozon-movement-detail-photo-fallback{
  color:#879ab3;
  font-size:13px;
  font-weight:850;
}
.ozon-movement-detail-identity{min-width:0}
.ozon-movement-detail-identity strong{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  font-size:13px;
  line-height:1.4;
  color:#1e3856;
  font-weight:800;
}
.ozon-movement-detail-identity small{
  display:block;
  margin-top:5px;
  font-size:11px;
  line-height:1.4;
  color:#68809a;
}
.ozon-movement-detail-qty{
  min-width:80px;
  text-align:right;
}
.ozon-movement-detail-qty strong{
  display:block;
  font-size:21px;
  font-weight:850;
  color:#1b4370;
  font-variant-numeric:tabular-nums;
}
.ozon-movement-detail-qty small{
  display:block;
  color:#6a819a;
  font-size:10px;
}
.ozon-movement-detail-clusters{
  border-top:1px solid #e8eef6;
  background:#fafcff;
  padding:11px 15px 13px;
}
.ozon-movement-detail-clusters-label{
  font-size:10px;
  font-weight:800;
  color:#647c98;
  margin:0 0 9px;
}
.ozon-movement-detail-clusters-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
}
.ozon-movement-detail-cluster{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-width:0;
  padding:8px 10px;
  border:1px solid #dbe6f4;
  border-radius:8px;
  background:#fff;
}
.ozon-movement-detail-cluster span{
  min-width:0;
  font-size:11px;
  line-height:1.4;
  color:#47627f;
  overflow-wrap:anywhere;
}
.ozon-movement-detail-cluster strong{
  font-size:11px;
  font-weight:850;
  color:#235785;
  text-align:right;
  white-space:nowrap;
}
.ozon-movement-modal-note{
  border-top:1px solid #e9eef6;
  padding-top:14px;
  margin:14px 0 0;
  color:#71869e;
  font-size:11px;
  line-height:1.6;
}
.ozon-movement-modal-empty,
.ozon-movement-modal-error{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:6px;
  min-height:110px;
  padding:19px;
  border-radius:11px;
  border:1px solid #e0e8f3;
  background:#f8fbff;
  color:#5f7691;
  font-size:12px;
  text-align:center;
}
.ozon-movement-modal-empty strong{
  font-size:22px;
  color:#26486e;
}
.ozon-movement-modal-error{
  background:#fff6f6;
  border-color:#f1d9dc;
  color:#a34450;
}
@media(max-width:760px){
  .ozon-movement-modal{padding:7px}
  .ozon-movement-modal-dialog{
    max-height:calc(100dvh - 14px);
    border-radius:13px;
  }
  .ozon-movement-modal-head{padding:15px 16px 13px}
  .ozon-movement-modal-head h2{font-size:19px}
  .ozon-movement-modal-content{padding:15px}
  .ozon-movement-detail-clusters-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ozon-movement-modal-summary{gap:7px}
  .ozon-movement-modal-summary>div{padding:10px}
  .ozon-movement-modal-summary strong{font-size:18px}
}
@media(max-width:480px){
  .ozon-movement-detail-clusters-grid{grid-template-columns:minmax(0,1fr)}
  .ozon-movement-detail-product-head{
    grid-template-columns:46px minmax(0,1fr) auto;
    gap:9px;
    padding:11px;
  }
  .ozon-movement-detail-photo{
    width:45px;
    height:52px;
    min-width:45px;
  }
  .ozon-movement-detail-identity strong{font-size:12px}
  .ozon-movement-detail-qty strong{font-size:18px}
  .ozon-movement-modal-summary span{font-size:10px}
}

/* 2026-11-15 — accuracy/freshness and Ozon movement application details. */
.ozon-movement-tracking-notice{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px 16px;
  margin:-3px 0 16px;
  padding:13px 15px;
  border:1px solid #cce0f6;
  border-radius:11px;
  background:#f3f8ff;
}
.ozon-movement-tracking-notice[hidden]{display:none!important}
.ozon-movement-tracking-text{
  flex:1 1 300px;
  min-width:0;
}
.ozon-movement-tracking-text strong{
  display:block;
  margin-bottom:5px;
  font-size:12px;
  font-weight:800;
  color:#244c76;
}
.ozon-movement-tracking-text>span{
  display:block;
  color:#557392;
  font-size:11px;
  line-height:1.6;
}
.ozon-movement-tracking-notice a.ozon-movement-tracking-link{
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  max-width:100%;
  min-height:36px;
  padding:9px 12px;
  border:1px solid #accaf0;
  border-radius:9px;
  background:#fff;
  color:#2360a7;
  font-size:11px;
  font-weight:800;
  text-decoration:none;
  text-align:center;
  line-height:1.3;
}
.ozon-movement-tracking-notice a.ozon-movement-tracking-link:hover{
  background:#e7f2ff;
  border-color:#7eb1eb;
}
.ozon-movement-detail-cluster.with-movement{
  display:block!important;
  padding:10px 11px;
  min-height:85px;
}
.ozon-movement-detail-cluster-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-width:0;
  gap:7px;
}
.ozon-movement-detail-cluster-head>span{
  min-width:0;
  color:#47627f;
  font-size:11px;
  line-height:1.45;
  overflow-wrap:anywhere;
}
.ozon-movement-detail-cluster-head>strong{
  white-space:nowrap;
  color:#235785;
  font-size:11px;
  font-weight:850;
  text-align:right;
}
.ozon-movement-ref-section{
  margin-top:10px;
  padding-top:9px;
  border-top:1px solid #e2eaf4;
  min-width:0;
}
.ozon-movement-ref-caption{
  margin-bottom:6px;
  color:#2e5178;
  font-size:10px;
  font-weight:850;
  line-height:1.3;
}
.ozon-movement-ref-unavailable{
  color:#6b829d;
  font-size:10px;
  line-height:1.5;
  margin:0 0 8px;
  overflow-wrap:anywhere;
}
.ozon-movement-ref-entry{
  display:flex;
  gap:7px;
  align-items:flex-start;
  justify-content:space-between;
  margin:6px 0;
  padding:9px;
  background:#f2f7fd;
  border:1px solid #d4e3f4;
  border-radius:8px;
  min-width:0;
  flex-wrap:wrap;
}
.ozon-movement-ref-entry>div{
  min-width:0;
  flex:1 1 110px;
}
.ozon-movement-ref-entry>div>span{
  display:block;
  font-size:11px;
  color:#245282;
  font-weight:850;
  line-height:1.4;
  overflow-wrap:anywhere;
}
.ozon-movement-ref-entry>div>strong{
  display:block;
  margin-top:4px;
  font-size:11px;
  color:#2d5b7d;
  line-height:1.35;
  font-weight:750;
}
.ozon-movement-ref-entry>div>small{
  display:block;
  margin-top:5px;
  color:#778da6;
  font-size:9px;
  line-height:1.35;
}
.ozon-movement-modal button.ozon-movement-ref-delete{
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  min-height:26px!important;
  flex:0 1 auto;
  padding:5px 7px!important;
  border:1px solid #efced6!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#a54856!important;
  font-size:10px!important;
  line-height:1.3!important;
  box-shadow:none!important;
}
.ozon-movement-modal button.ozon-movement-ref-add{
  width:auto!important;
  max-width:100%!important;
  min-height:29px!important;
  margin:3px 0 0!important;
  padding:6px 8px!important;
  border:1px solid #bfd7f2!important;
  border-radius:7px!important;
  background:#f4f9ff!important;
  color:#285d96!important;
  font-size:10px!important;
  font-weight:800!important;
  line-height:1.3!important;
  text-align:left!important;
  box-shadow:none!important;
}
.ozon-movement-modal button.ozon-movement-ref-add:hover{
  border-color:#8ebcea!important;
  background:#eaf4ff!important;
}
.ozon-movement-modal button.ozon-movement-ref-add[hidden]{
  display:none!important;
}
.ozon-movement-ref-form{
  display:flex;
  flex-direction:column;
  gap:9px;
  margin-top:10px;
  padding:10px;
  border:1px solid #d7e5f5;
  background:#f9fbfe;
  border-radius:8px;
}
.ozon-movement-ref-form[hidden]{display:none!important}
.ozon-movement-ref-form>label{
  display:flex;
  flex-direction:column;
  gap:5px;
  margin:0;
  color:#455f7c;
  font-size:10px;
  font-weight:750;
  line-height:1.35;
}
.ozon-movement-ref-form input{
  display:block!important;
  width:100%!important;
  min-height:35px!important;
  margin:0!important;
  padding:7px 9px!important;
  border:1px solid #d1deed!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#183451!important;
  font-size:11px!important;
  box-shadow:none!important;
}
.ozon-movement-ref-form input:focus{
  outline:2px solid #aed0f4!important;
  border-color:#7aaee9!important;
}
.ozon-movement-ref-actions{
  display:flex;
  gap:7px;
  align-items:center;
  flex-wrap:wrap;
}
.ozon-movement-modal .ozon-movement-ref-actions button{
  width:auto!important;
  flex:1 1 auto!important;
  min-height:30px!important;
  margin:0!important;
  padding:6px 9px!important;
  border:1px solid #cbddef!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#2b5482!important;
  font-size:11px!important;
  font-weight:750!important;
  box-shadow:none!important;
}
.ozon-movement-modal .ozon-movement-ref-actions button[type=submit]{
  background:#2067c8!important;
  border-color:#2067c8!important;
  color:#fff!important;
}
.ozon-movement-modal .ozon-movement-ref-actions button:disabled{
  opacity:.5;
  cursor:not-allowed;
}
.ozon-movement-ref-feedback{
  color:#476e91;
  font-size:10px;
  line-height:1.4;
  overflow-wrap:anywhere;
}
.ozon-movement-ref-feedback.is-error{
  color:#b04455;
}
@media(max-width:700px){
  .ozon-movement-tracking-notice{
    flex-direction:column;
    align-items:stretch;
  }
  .ozon-movement-tracking-notice a.ozon-movement-tracking-link{
    flex:0 0 auto;
    justify-content:flex-start;
  }
}
