
/* Scoped budget calculator: inherited ANODPO styles never define numbers or FAQ markers here. */
.ot-page .budget-calc{font-family:inherit;background:#fffafa;border:1px solid #f1cfca;border-radius:17px;padding:24px;margin:20px 0 26px;box-shadow:0 8px 25px rgba(42,23,23,.03)}
.ot-page .budget-calc *{box-sizing:border-box}
.ot-page .budget-head{margin-bottom:16px}.ot-page .budget-head strong{display:block;font-size:20px;color:#c8000b;margin-bottom:8px}.ot-page .budget-head p{margin:0;color:#465064;line-height:1.6}
.ot-page .budget-tablewrap{border-radius:12px;overflow:auto;max-width:100%;background:#fff}
.ot-page .budget-table{min-width:735px;width:100%;margin:0;border-collapse:collapse}
.ot-page .budget-table th,.ot-page .budget-table td{padding:11px 12px;vertical-align:middle;border-bottom:1px solid #e7e9ef;text-align:left}
.ot-page .budget-table thead th{background:#f7f7f9;color:#243044;font-size:13px}
.ot-page .budget-table tbody th{width:43%;font-weight:650;font-size:14px;line-height:1.4}
.ot-page .budget-table tbody th small{display:block;font-size:11px;color:#778094;font-weight:400;margin-top:5px}
.ot-page .budget-input{width:100%;height:44px;min-width:90px;background:#fff!important;color:#172033!important;border:1px solid #c7cbd5!important;border-radius:9px!important;padding:8px 10px!important;box-shadow:none!important;font:600 15px/1.4 inherit!important}
.ot-page .budget-input:focus-visible{outline:3px solid rgba(226,21,35,.2);border-color:#dd1625!important}
.ot-page .budget-line-sum{font-size:14px;font-weight:700;white-space:nowrap}
.ot-page .budget-other{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}
.ot-page .budget-other label{display:flex;flex-direction:column;font-size:13px;font-weight:650;color:#242a35;gap:7px;margin:0}
.ot-page .budget-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:18px}
.ot-page .budget-actions button{appearance:none;border:0;border-radius:10px;padding:12px 18px;font:700 14px/1.4 inherit;min-height:46px;cursor:pointer;transition:transform .15s,background .15s;color:#fff}
.ot-page .budget-actions button:hover:not([disabled]){transform:translateY(-1px)}
.ot-page .budget-run{background:#e31b23!important;color:#fff!important}
.ot-page .budget-download{background:#253247!important;color:#fff!important}
.ot-page .budget-download[disabled]{opacity:.45;cursor:not-allowed}
.ot-page .budget-status{margin-top:14px;border-left:4px solid #c3cad7;border-radius:5px;background:#f5f6f8;padding:12px 14px;color:#2e3b4d;font-size:14px;line-height:1.55}
.ot-page .budget-status.is-success{border-color:#167149;background:#f2fbf5;color:#155839}
.ot-page .budget-status.is-stale{border-color:#e1a400;background:#fffbeb;color:#755310}
.ot-page .budget-status.is-error{border-color:#c41a27;background:#fff1f1;color:#9c1420}
.ot-page .budget-result{margin-top:16px;border-radius:12px;border:1px solid #e0e6e8;background:#fff;padding:14px}
.ot-page .budget-result[hidden]{display:none!important}
.ot-page .budget-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ot-page .budget-results>div{background:#f7f8fa;border-radius:9px;padding:13px;min-width:0}
.ot-page .budget-results span{display:block;color:#546273;font-size:12px;line-height:1.5;margin-bottom:5px}
.ot-page .budget-results strong{display:block;font-size:clamp(19px,2.1vw,26px);line-height:1.15;overflow-wrap:anywhere;color:#b71320}
.ot-page #bg-explain{margin:13px 0 0;color:#364357;font-size:13px;line-height:1.6}
.ot-page .budget-foot{color:#5c6875;font-size:12px;line-height:1.6;margin:15px 0 0}
.ot-page .budget-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:810px){.ot-page .budget-calc{padding:15px}.ot-page .budget-other{grid-template-columns:1fr 1fr}}
@media(max-width:550px){.ot-page .budget-other{grid-template-columns:1fr}.ot-page .budget-results{grid-template-columns:1fr}.ot-page .budget-actions button{width:100%}.ot-page .budget-result{padding:10px}}
@media(max-width:600px){
 .ot-page .budget-table{min-width:0!important;width:100%!important;border-collapse:separate}
 .ot-page .budget-table thead{display:none!important}
 .ot-page .budget-table tbody{display:block!important}
 .ot-page .budget-table tbody tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:13px;border:1px solid #e5e6ec;border-radius:12px;margin-bottom:10px;background:#fff}
 .ot-page .budget-table tbody th{grid-column:1/-1;width:auto!important;border:0!important;padding:0 0 6px!important}
 .ot-page .budget-table tbody td{display:block!important;padding:0!important;border:0!important;min-width:0}
 .ot-page .budget-table tbody td:nth-of-type(1)::before{content:'Учебных мест';display:block;color:#647184;font-size:11px;margin-bottom:6px}
 .ot-page .budget-table tbody td:nth-of-type(2)::before{content:'Ставка, ₽';display:block;color:#647184;font-size:11px;margin-bottom:6px}
 .ot-page .budget-table tbody td:nth-of-type(3){grid-column:1/-1;border-top:1px solid #eceef2!important;padding-top:9px!important;display:flex!important;justify-content:space-between;align-items:center}
 .ot-page .budget-table tbody td:nth-of-type(3)::before{content:'Сумма по направлению';display:inline-block;color:#647184;font-size:11px;margin-right:8px}
 .ot-page .budget-table .budget-input{min-width:0!important;height:42px}
}
@media(prefers-reduced-motion:reduce){.ot-page .budget-actions button{transition:none}}
