.dialog:has(.tariff-prices){width:min(94vw,1600px)}.dialog:has(.tariff-prices) .dialog-content{padding:24px}.tariff-prices{display:grid;gap:15px}.tariff-toolbar{display:flex;align-items:end;justify-content:space-between;gap:18px}.tariff-toolbar label{display:grid;gap:6px;min-width:300px;font-weight:700;font-size:.8rem}.tariff-toolbar select{min-width:300px}.tariff-toolbar p{margin:0;color:#687485;font-size:.86rem}.tariff-table-wrap{overflow:hidden;border:1px solid #dfe4e8;border-radius:14px}.tariff-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:.78rem}.tariff-table th{padding:11px 8px;background:#1a1a1a;color:#fff;text-align:left;white-space:normal;font-size:.69rem;line-height:1.25;text-transform:uppercase;letter-spacing:.02em}.tariff-table th:nth-child(n+3):not(:last-child),.tariff-table td:nth-child(n+3):not(:last-child){text-align:center}.tariff-table td{padding:10px 8px;border-bottom:1px solid #e3e6e8;vertical-align:middle;overflow-wrap:anywhere}.tariff-table th:nth-child(1),.tariff-table td:nth-child(1){width:10%}.tariff-table th:nth-child(2),.tariff-table td:nth-child(2){width:24%}.tariff-table th:nth-child(3),.tariff-table td:nth-child(3),.tariff-table th:nth-child(4),.tariff-table td:nth-child(4),.tariff-table th:nth-child(5),.tariff-table td:nth-child(5),.tariff-table th:nth-child(6),.tariff-table td:nth-child(6){width:9%}.tariff-table th:nth-child(7),.tariff-table td:nth-child(7){width:7%}.tariff-table th:nth-child(8),.tariff-table td:nth-child(8){width:7%}.tariff-table th:nth-child(9),.tariff-table td:nth-child(9){width:8%}.tariff-table th:nth-child(10),.tariff-table td:nth-child(10){width:8%}.tariff-table tbody tr{cursor:pointer}.tariff-table tbody tr:hover,.tariff-table tbody tr:focus{background:#fff8ce;outline:none}.tariff-table small{display:block;color:#9d3939;font-size:.7rem}.tariff-pair{display:grid;gap:2px;justify-items:center;line-height:1.15;white-space:normal}.tariff-pair strong{font-size:.76rem}.tariff-pair small{color:#687485}.tariff-edit{min-width:82px;padding:8px 10px;border:1px solid #ccd3d9;border-radius:9px;background:#fff;font-weight:700;white-space:nowrap;cursor:pointer;font-size:.78rem}.tariff-edit:hover{border-color:#dcbd00;background:#fffbea}.tariff-hint{margin:0;color:#687485;font-size:.8rem}.tariff-empty{text-align:center!important;padding:26px!important;color:#687485}.tariff-form{display:grid;gap:19px}.tariff-form header h3,.tariff-form header p{margin:0}.tariff-form header h3{font-size:1.3rem}.tariff-form header>p:last-child{margin-top:4px;color:#687485}.tariff-form section{padding-top:15px;border-top:1px solid #e5e7e9}.tariff-form h4{margin:0 0 12px;font-size:.95rem}.tariff-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.tariff-form-grid label{display:grid;gap:6px;font-size:.8rem;font-weight:700}.tariff-input{position:relative}.tariff-input input{width:100%;padding-right:40px}.tariff-input small{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#687485;font-size:.78rem;font-weight:600;pointer-events:none}.tariff-form .form-actions{justify-content:flex-end}@media(max-width:760px){.dialog:has(.tariff-prices){width:calc(100vw - 16px)}.dialog:has(.tariff-prices) .dialog-content{padding:18px}.tariff-toolbar{align-items:stretch;flex-direction:column}.tariff-toolbar label,.tariff-toolbar select{min-width:0;width:100%}.tariff-table{font-size:.64rem}.tariff-table th,.tariff-table td{padding:7px 3px}.tariff-edit{min-width:0;padding:6px 2px;font-size:clamp(.52rem,1.7vw,.68rem)}.tariff-form-grid{grid-template-columns:1fr}}
.tariff-table th:nth-child(10),.tariff-table td:nth-child(10){width:7%}.tariff-table th:nth-child(11),.tariff-table td:nth-child(11){width:8%}
