#js-tool-container-ozon-seller-logistics-calculator .ozn-app { display: flex; flex-direction: column; gap: 14px; color: var(--text-primary, #12141a); --ozn-proc: #2a6f97; --ozn-line: #3d8b6e; --ozn-mile: #b57c17; --ozn-acq: #6366f1; --ozn-box: #c4a574; }
html[data-theme="dark"] #js-tool-container-ozon-seller-logistics-calculator .ozn-app { --ozn-proc: #5aa4c8; --ozn-line: #62b392; --ozn-mile: #d99a3d; --ozn-acq: #818cf8; --ozn-box: #8a7048; }
#js-tool-container-ozon-seller-logistics-calculator .tbcalc-section-note { display: block; width: 100%; max-width: none; box-sizing: border-box; }
#js-tool-container-ozon-seller-logistics-calculator .tbcalc-fieldset { border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 16px 18px 18px; margin: 0 0 14px; display: flex; flex-direction: column; gap: 14px; }
#js-tool-container-ozon-seller-logistics-calculator .tbcalc-legend { padding: 0 6px; font-weight: 600; font-size: 0.95rem; color: var(--text-secondary); }
#js-tool-container-ozon-seller-logistics-calculator .tb-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
#js-tool-container-ozon-seller-logistics-calculator .tbcalc-field { display: flex; flex-direction: column; gap: 6px; }
#js-tool-container-ozon-seller-logistics-calculator .tbcalc-hint { font-size: 0.82rem; line-height: 1.35; color: var(--text-muted); }
#js-tool-container-ozon-seller-logistics-calculator .tb-zone[data-tb-zone="outcome"] { display: flex; flex-direction: column; gap: 14px; }
#js-tool-container-ozon-seller-logistics-calculator .tb-zone[data-tb-zone="details"] { display: flex; flex-direction: column; gap: 14px; }
#js-tool-container-ozon-seller-logistics-calculator .ozn-slip { border: 1px dashed var(--border-color); border-left: 4px solid var(--ozn-proc); border-radius: var(--radius-md); background: var(--accent-light); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; min-height: 148px; }
#js-tool-container-ozon-seller-logistics-calculator .tb-hero-label { font-size: 0.9rem; color: var(--text-secondary); }
#js-tool-container-ozon-seller-logistics-calculator .tb-hero-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
#js-tool-container-ozon-seller-logistics-calculator .tb-hero-value { font-size: clamp(1.9rem, 5vw, 2.9rem); font-weight: 700; line-height: 1.05; }
#js-tool-container-ozon-seller-logistics-calculator .tb-hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
#js-tool-container-ozon-seller-logistics-calculator .tb-chip { display: inline-flex; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border-color); background: var(--bg-secondary); font-size: 0.8rem; color: var(--text-secondary); }
#js-tool-container-ozon-seller-logistics-calculator .tb-hero-note { margin: 0; font-size: 0.86rem; line-height: 1.4; color: var(--text-secondary); }
#js-tool-container-ozon-seller-logistics-calculator .tbcalc-unit { font-size: 1rem; color: var(--text-secondary); }
#js-tool-container-ozon-seller-logistics-calculator .tbcalc-status { border: 1px solid var(--border-color); border-left: 4px solid var(--accent-primary); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.9rem; line-height: 1.4; color: var(--text-secondary); }
#js-tool-container-ozon-seller-logistics-calculator .tbcalc-status.warn { border-left-color: var(--warning); background: var(--warning-light); color: var(--text-primary); }
#js-tool-container-ozon-seller-logistics-calculator .tbcalc-status.danger { border-left-color: var(--danger); background: var(--danger-light); color: var(--text-primary); }
#js-tool-container-ozon-seller-logistics-calculator .ozn-carton-row { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: stretch; }
#js-tool-container-ozon-seller-logistics-calculator .ozn-carton { position: relative; min-height: 88px; border: 2px solid var(--ozn-box); border-radius: 4px 4px 8px 8px; background: var(--bg-tertiary); overflow: hidden; display: flex; align-items: flex-end; }
#js-tool-container-ozon-seller-logistics-calculator .ozn-carton-fill { display: block; width: 100%; height: 30%; background: var(--ozn-box); opacity: 0.55; }
#js-tool-container-ozon-seller-logistics-calculator .ozn-carton-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 0.82rem; font-weight: 650; }
#js-tool-container-ozon-seller-logistics-calculator .tb-mix-bar { display: flex; min-height: 88px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); }
#js-tool-container-ozon-seller-logistics-calculator .tb-mix-seg { display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.72rem; font-weight: 650; min-width: 0; overflow: hidden; padding: 6px; text-align: center; }
#js-tool-container-ozon-seller-logistics-calculator .ozn-seg-proc { background: var(--ozn-proc); width: 40%; }
#js-tool-container-ozon-seller-logistics-calculator .ozn-seg-line { background: var(--ozn-line); width: 25%; }
#js-tool-container-ozon-seller-logistics-calculator .ozn-seg-mile { background: var(--ozn-mile); width: 15%; }
#js-tool-container-ozon-seller-logistics-calculator .ozn-seg-acq { background: var(--ozn-acq); width: 20%; }
#js-tool-container-ozon-seller-logistics-calculator .ozn-spec { display: block; border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; }
#js-tool-container-ozon-seller-logistics-calculator .tb-spec-row { display: grid; grid-template-columns: 1.1fr 0.8fr 1.1fr; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--border-color); }
#js-tool-container-ozon-seller-logistics-calculator .tb-spec-row:first-child { border-top: 0; }
#js-tool-container-ozon-seller-logistics-calculator .tb-spec-row output { font-weight: 650; text-align: right; }
#js-tool-container-ozon-seller-logistics-calculator .tb-spec-norm { font-size: 0.8rem; color: var(--text-muted); text-align: right; }
#js-tool-container-ozon-seller-logistics-calculator .tb-table-wrap { overflow-x: auto; border: 1px solid var(--border-color); border-radius: var(--radius-md); -webkit-overflow-scrolling: touch; }
#js-tool-container-ozon-seller-logistics-calculator .tb-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
#js-tool-container-ozon-seller-logistics-calculator .tb-table caption { padding: 12px 16px; font-weight: 600; text-align: left; color: var(--text-secondary); font-size: 0.9rem; caption-side: top; }
#js-tool-container-ozon-seller-logistics-calculator .tb-table th { text-align: left; color: var(--text-secondary); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; padding: 10px 14px; background: var(--bg-tertiary); border-bottom: 1px solid var(--border-color); white-space: nowrap; }
#js-tool-container-ozon-seller-logistics-calculator .tb-table td { padding: 10px 14px; border-top: 1px solid var(--border-color); font-variant-numeric: tabular-nums; }
#js-tool-container-ozon-seller-logistics-calculator .tb-table tbody tr:hover { background: var(--bg-tertiary); }
#js-tool-container-ozon-seller-logistics-calculator .tb-table td:nth-child(n+2) { text-align: right; }
#js-tool-container-ozon-seller-logistics-calculator .tb-table tfoot td { font-weight: 600; background: var(--accent-light); }
#js-tool-container-ozon-seller-logistics-calculator .ozn-limits { margin: 0; font-size: 0.84rem; line-height: 1.45; color: var(--text-muted); }
@media (max-width: 640px) {
  #js-tool-container-ozon-seller-logistics-calculator .ozn-app { gap: 10px; }
  #js-tool-container-ozon-seller-logistics-calculator .tb-grid-2 { grid-template-columns: 1fr; }
  #js-tool-container-ozon-seller-logistics-calculator .ozn-carton-row { grid-template-columns: 1fr; }
  #js-tool-container-ozon-seller-logistics-calculator .tb-mix-bar { flex-direction: column; min-height: 0; }
  #js-tool-container-ozon-seller-logistics-calculator .tb-mix-seg { min-height: 28px; width: 100%; }
  #js-tool-container-ozon-seller-logistics-calculator .tb-spec-row { grid-template-columns: 1fr; }
  #js-tool-container-ozon-seller-logistics-calculator .tb-spec-row output, #js-tool-container-ozon-seller-logistics-calculator .tb-spec-norm { text-align: left; }
}