html #root #app .op-tabs { flex-wrap: wrap; overflow: visible; }
html #root #app .op-table-wrap { overflow: visible; }
html #root #app .op-price-table { table-layout: fixed; width: 100%; font-size: 12px; }
html #root #app .op-price-table th,
html #root #app .op-price-table td { padding: 12px 8px; white-space: normal; overflow-wrap: anywhere; vertical-align: middle; }
html #root #app .op-price-table th:first-child { width: 20%; }
html #root #app .op-price-table th:nth-child(2) { width: 7%; }
html #root #app .op-price-table th:nth-child(3) { width: 12%; }
html #root #app .op-price-table th:nth-child(n+4):nth-child(-n+6) { width: 18%; }
html #root #app .op-price-table td:first-child { line-height: 1.8; }
html #root #app .op-price-table bdi { display: block; color: var(--muted, #64748b); font-size: 11px; }
html #root #app .op-price-table tbody tr:nth-child(even) { background: var(--surface, #f7f8fc); }
html #root #app .op-price-table button { padding: 6px 9px; font-size: 11px; min-height: 36px; max-width: 100%; }
html #root #app .op-price-table .op-correct { display: block; margin-top: 6px; }
html #root #app .op-product-title { display: flex; align-items: center; gap: 8px; }
html #root #app .op-product-title strong { min-width: 0; }
html #root #app .op-price-table .op-passport { display: inline-flex; align-items: center; justify-content: center; width: 32px; min-height: 32px; padding: 6px; flex: 0 0 32px; border-radius: 9px; }
html #root #app .op-passport svg { width: 19px !important; height: 19px !important; flex: none; }
html #root #app .op-price-field { display: grid; gap: 5px; margin: 0; min-width: 0; }
html #root #app .op-price-control { display: flex; align-items: center; gap: 4px; min-width: 0; }
html #root #app .op-price-control input { width: 100%; min-width: 0 !important; flex: 1 1 0; min-height: 40px; padding: 8px 6px !important; text-align: center; font-size: 12px !important; border-radius: 9px; }
html #root #app .op-price-control button { flex: none; min-height: 40px; padding: 6px !important; white-space: nowrap; }
html #root #app .op-price-control button[hidden] { display: none !important; }
html #root #app .op-price-field [data-error] { color: #b42318; line-height: 1.7; }
html #root #app .op-price-field [data-error]:empty { display: none; }
html #root #app .op-readonly { color: var(--muted, #64748b); }
html body .op-edit { max-height: calc(100dvh - 32px); overflow-y: auto; }
html body .op-cost-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
html body .op-cost-summary > div { display: flex; flex-direction: column; align-items: start; gap: 10px; padding: 14px; border-radius: 12px; background: var(--surface, #f7f8fc); }
html body .op-cost-summary span,
html body .op-cost-summary small { color: var(--muted, #64748b); font-size: 12px; line-height: 1.8; }
@media (max-width: 1100px) {
 html #root #app .op-price-table thead { display: none; }
 html #root #app .op-price-table tbody { display: grid; gap: 12px; }
 html #root #app .op-price-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line, #e2e5ed); border-radius: 14px; overflow: hidden; }
 html #root #app .op-price-table td { display: block; border: 0; }
 html #root #app .op-price-table td:first-child { grid-column: 1 / -1; }
 html #root #app .op-price-table td.op-private-cost { display: none; }
 html #root #app .op-price-table td[data-label]::before { content: attr(data-label); display: block; color: var(--muted, #64748b); font-size: 11px; margin-bottom: 6px; }
}
@media (max-width: 540px) {
 html #root #app .op-price-table tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 html body .op-cost-summary { grid-template-columns: minmax(0, 1fr); }
}
