/* Isolated toolbox refinement: current data and controls retain their original owners. */
html.ru-toolbox-refined{--tool-ink:#172842;--tool-blue:#2459D8;--tool-line:#cfd8e6;--tool-ground:#f5f7fa;--tool-muted:#586b83;--tool-paper:#fff;--tool-nav-offset:91px}
html.ru-toolbox-refined body{background:var(--tool-ground);color:var(--tool-ink)}
html.ru-toolbox-refined :is(.tool-portal,.tool-workspace){border:1px solid var(--tool-line);border-top:3px solid var(--tool-blue);border-radius:0;background:var(--tool-paper);box-shadow:none}
html.ru-toolbox-refined .tool-portal-head{padding:28px 32px;border-bottom:1px solid var(--tool-line)}
html.ru-toolbox-refined .tool-portal-head h2{font-size:38px;line-height:1.2}
html.ru-toolbox-refined .tool-index{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--tool-line)}
html.ru-toolbox-refined .tool-index-row{display:grid;grid-template-columns:26px minmax(0,1fr) 64px;gap:16px;min-height:170px;padding:24px;border:0;border-radius:0;background:var(--tool-paper);color:var(--tool-ink);transition:background-color .2s,color .2s}
html.ru-toolbox-refined .tool-index-row:hover,html.ru-toolbox-refined .tool-index-row:focus-visible{padding-left:24px;background:var(--brand-wash,#E9EFFC);outline:2px solid var(--tool-blue);outline-offset:-2px}
html.ru-toolbox-refined .tool-num{padding-top:5px;font-size:11px;line-height:1.4;color:var(--tool-muted)}
html.ru-toolbox-refined .tool-row-copy strong{font-size:26px;line-height:1.35;letter-spacing:-.02em}
html.ru-toolbox-refined .tool-row-copy small{font-size:13px;line-height:1.7;margin-top:10px;color:var(--tool-muted)}
html.ru-toolbox-refined .tool-index-row .tool-art{display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin:0;transform:none;overflow:hidden}
html.ru-toolbox-refined .tool-index-row .tool-art-practical svg{width:64px;height:52px}
html.ru-toolbox-refined .tool-index-row .tool-art-language i{padding:3px;font-size:14px;min-width:0}
html.ru-toolbox-refined .tool-index-row .tool-art-language i:first-child,html.ru-toolbox-refined .tool-index-row .tool-art-language i:last-child{display:none}
html.ru-toolbox-refined .tool-index-row .tool-art-exchange i{font-size:25px}
html.ru-toolbox-refined .tool-index-row .tool-art-exchange svg,html.ru-toolbox-refined .tool-index-row .tool-arrow{display:none}
html.ru-toolbox-refined .tool-secondary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:18px 24px;border-top:1px solid var(--tool-line);background:var(--tool-paper)}
html.ru-toolbox-refined .tool-secondary>strong{font-size:12px;font-weight:600;color:var(--tool-muted);margin-right:auto}
html.ru-toolbox-refined .tool-secondary button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:9px 14px;border:1px solid var(--tool-line);border-radius:0;background:var(--tool-paper);color:var(--tool-ink);font:inherit;font-size:14px;font-weight:600;line-height:1.5;cursor:pointer}
html.ru-toolbox-refined .tool-secondary button:hover,html.ru-toolbox-refined .tool-secondary button:focus-visible{background:var(--brand-wash,#E9EFFC);border-color:var(--tool-blue);outline:2px solid var(--tool-blue);outline-offset:2px}
html.ru-toolbox-refined .tool-workspace-head{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;row-gap:8px;align-items:center;padding:24px 28px;border-bottom:1px solid var(--tool-line)}
html.ru-toolbox-refined .tool-position{grid-column:1;grid-row:1;float:none;color:var(--tool-muted);font-size:11px}
html.ru-toolbox-refined .tool-workspace-head h2{grid-column:1;grid-row:2;margin:0;font-size:34px;line-height:1.3;letter-spacing:-.02em;overflow-wrap:anywhere}
html.ru-toolbox-refined .tool-workspace-head>p{grid-column:1;grid-row:3;margin:0;font-size:14px;line-height:1.7;color:var(--tool-muted)}
html.ru-toolbox-refined .tool-back{grid-column:2;grid-row:1/4;justify-self:end;align-self:center;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 14px;border:1px solid #bac9df;border-radius:0;background:var(--tool-paper);color:var(--tool-ink);font:inherit;font-size:14px;font-weight:600;line-height:1.5;white-space:nowrap}
html.ru-toolbox-refined .tool-back:hover,html.ru-toolbox-refined .tool-back:focus-visible{background:var(--brand-wash,#E9EFFC);border-color:var(--tool-blue);outline:2px solid var(--tool-blue);outline-offset:2px}
html.ru-toolbox-refined .tool-workspace-columns{display:grid;grid-template-columns:minmax(0,1fr) 224px;align-items:start;min-height:0}
html.ru-toolbox-refined .tool-stage{min-width:0;max-width:100%;padding:26px 28px 36px;overflow:visible}
html.ru-toolbox-refined .tool-alternatives{position:sticky;top:var(--tool-nav-offset);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:8px;padding:14px;min-height:0;border-left:1px solid var(--tool-line);background:#f5f7fa}
html.ru-toolbox-refined .tool-alternatives-label{grid-column:1/-1;padding:2px 0 8px;border:0;font-size:12px;font-weight:600;letter-spacing:0;color:var(--tool-muted)}
html.ru-toolbox-refined .tool-switch-row{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;aspect-ratio:1;width:100%;min-width:0;min-height:0;padding:13px 5px 10px;border:1px solid var(--tool-line);border-radius:0;background:var(--tool-paper);color:var(--tool-ink);text-align:center;font:inherit;font-size:13px;font-weight:600;line-height:1.4;transition:background-color .2s,color .2s,border-color .2s}
html.ru-toolbox-refined .tool-switch-row[hidden]{display:none!important}
html.ru-toolbox-refined .tool-switch-row:hover,html.ru-toolbox-refined .tool-switch-row:focus-visible{background:var(--tool-blue);border-color:var(--tool-blue);color:#fff;outline:2px solid var(--tool-blue);outline-offset:2px}
html.ru-toolbox-refined .tool-switch-row .tool-mini-number{position:absolute;right:7px;top:5px;font-size:9px;font-weight:500;color:#7f90a9}
html.ru-toolbox-refined .tool-switch-row:hover .tool-mini-number,html.ru-toolbox-refined .tool-switch-row:focus-visible .tool-mini-number{color:#dce5ff}
html.ru-toolbox-refined .tool-mini-icon{display:block;width:25px;height:25px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:square;stroke-linejoin:miter}
html.ru-toolbox-refined .tool-mini-label{font-size:13px;line-height:1.45;font-weight:600;white-space:normal;overflow-wrap:anywhere}
html.ru-toolbox-refined .tool-mobile-switch{display:none}
html.ru-toolbox-refined :is(.tool-stage,.tool-workspace,.tool-workspace-columns,.tool-module,.table-scroll,.grammar-output,.reference-nav,.tool-mobile-switch,.tool-alternatives){overscroll-behavior:auto!important}
html.ru-toolbox-refined .tool-module{min-width:0;max-width:100%}
html.ru-toolbox-refined .table-scroll{max-width:100%;height:auto;max-height:none;overflow-x:auto;overflow-y:visible;touch-action:pan-x pan-y;scrollbar-width:thin}
html.ru-toolbox-refined .grammar-output{max-width:100%;overflow-x:auto;scrollbar-width:thin}
html.ru-toolbox-refined .grammar{scroll-margin-top:var(--tool-nav-offset)!important}
html.ru-toolbox-refined .reference-nav{max-width:100%;scrollbar-width:thin;touch-action:pan-x pan-y}
html.ru-toolbox-refined .reference-actions{display:flex;float:none;flex-wrap:wrap;gap:8px;margin:0 0 16px}
html.ru-toolbox-refined .reference-actions :is(.reference-find-word,.print-reference){display:inline-flex;align-items:center;justify-content:center;min-width:104px;width:104px;height:44px;min-height:44px;padding:0 12px;font-size:13px;line-height:1.5}
html.ru-toolbox-refined :is(.reference-panel,.quick-reference-head,.grammar){border-radius:0}
html.ru-toolbox-refined .tool-auxiliary{color:var(--tool-ink)}
html.ru-toolbox-refined .tool-auxiliary>p{margin:0 0 20px;color:var(--tool-muted);font-size:14px;line-height:1.8}
html.ru-toolbox-refined .tool-aux-clocks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;border:1px solid var(--tool-line);background:var(--tool-line)}
html.ru-toolbox-refined .tool-aux-clock{display:grid;gap:8px;padding:24px;background:var(--tool-paper)}
html.ru-toolbox-refined .tool-aux-clock>span{font-size:14px;color:var(--tool-muted)}
html.ru-toolbox-refined .tool-aux-clock>strong{font-size:32px;line-height:1.3;font-variant-numeric:tabular-nums;white-space:nowrap}
html.ru-toolbox-refined .tool-aux-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
html.ru-toolbox-refined .tool-aux-field{display:grid;gap:8px;font-size:14px;font-weight:600;line-height:1.6}
html.ru-toolbox-refined .tool-aux-field>input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:9px 12px;border:1px solid #b7c7dd;border-radius:0;background:var(--tool-paper);color:var(--tool-ink);font:inherit;font-size:16px;font-weight:400;line-height:1.5}
html.ru-toolbox-refined .tool-aux-field>input:focus-visible{outline:2px solid var(--tool-blue);outline-offset:2px}
html.ru-toolbox-refined .tool-aux-result{display:block;margin:20px 0;padding:16px;border:1px solid var(--tool-line);border-left:3px solid var(--tool-blue);background:var(--brand-wash,#E9EFFC);font-size:15px;line-height:1.75;overflow-wrap:anywhere}
html.ru-toolbox-refined .tool-aux-days{max-width:340px}
html.ru-toolbox-refined .tool-module [tabindex="-1"]:focus{outline:0}
@media(max-width:1000px){html.ru-toolbox-refined .tool-workspace-columns{grid-template-columns:minmax(0,1fr) 192px}html.ru-toolbox-refined .tool-alternatives{padding:10px;gap:6px}html.ru-toolbox-refined .tool-mini-label{font-size:12px}html.ru-toolbox-refined .tool-row-copy strong{font-size:23px}}
@media(max-width:760px){
 html.ru-toolbox-refined .tool-portal-head{padding:24px 20px}
 html.ru-toolbox-refined .tool-index{grid-template-columns:1fr}
 html.ru-toolbox-refined .tool-index-row{grid-template-columns:24px minmax(0,1fr) 54px;min-height:138px;padding:20px;gap:12px}
 html.ru-toolbox-refined .tool-index-row:hover,html.ru-toolbox-refined .tool-index-row:focus-visible{padding-left:20px}
 html.ru-toolbox-refined .tool-row-copy strong{font-size:23px}
 html.ru-toolbox-refined .tool-index-row .tool-art{width:54px;height:54px}
 html.ru-toolbox-refined .tool-secondary{padding:16px 20px;gap:8px}
 html.ru-toolbox-refined .tool-secondary>strong{flex-basis:100%;margin:0}
 html.ru-toolbox-refined .tool-secondary button{flex:1;justify-content:center;padding:8px;font-size:13px}
 html.ru-toolbox-refined .tool-workspace-head{padding:20px;column-gap:12px;row-gap:6px}
 html.ru-toolbox-refined .tool-workspace-head h2{grid-column:1/-1;font-size:26px}
 html.ru-toolbox-refined .tool-back{grid-row:1;min-height:44px;padding:9px 10px;font-size:13px}
 html.ru-toolbox-refined .tool-workspace-head>p{grid-column:1/-1;font-size:13px}
 html.ru-toolbox-refined .tool-position{font-size:10px}
 html.ru-toolbox-refined .tool-workspace-columns{display:block}
 html.ru-toolbox-refined .tool-stage{padding:20px 18px 28px}
 html.ru-toolbox-refined .tool-alternatives{display:none}
 html.ru-toolbox-refined .tool-mobile-switch{display:flex;gap:6px;width:100%;max-width:100%;padding:10px 12px;border-bottom:1px solid var(--tool-line);overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#9eafc9 transparent;background:#f5f7fa;touch-action:pan-x pan-y}
 html.ru-toolbox-refined .tool-mobile-switch button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;flex:0 0 72px;min-width:72px;min-height:64px;padding:8px 4px;border:1px solid var(--tool-line);border-radius:0;background:var(--tool-paper);color:var(--tool-ink);font:inherit;font-size:12px;font-weight:600;line-height:1.4}
 html.ru-toolbox-refined .tool-mobile-switch button[aria-current=page]{border-color:var(--tool-blue);background:var(--tool-blue);color:#fff}
 html.ru-toolbox-refined .tool-mobile-switch .tool-mini-icon{width:21px;height:21px}
 html.ru-toolbox-refined .tool-mobile-switch .tool-mini-label{font-size:12px;line-height:1.4;white-space:nowrap}
 html.ru-toolbox-refined .tool-mobile-switch button:focus-visible{outline:2px solid var(--tool-blue);outline-offset:-3px}
 html.ru-toolbox-refined .rates-board-head{display:block;min-width:0}
 html.ru-toolbox-refined .rates-board-head h3{font-size:22px;line-height:1.4}
 html.ru-toolbox-refined .rates-board-head>span{display:block;margin-top:5px;font-size:10px;line-height:1.5}
 html.ru-toolbox-refined .rates-reference strong{font-size:30px;line-height:1.35;overflow-wrap:anywhere}
 html.ru-toolbox-refined .tool-aux-clocks,html.ru-toolbox-refined .tool-aux-fields{grid-template-columns:1fr}
 html.ru-toolbox-refined .tool-aux-clock{padding:20px}
 html.ru-toolbox-refined .tool-aux-clock>strong{font-size:30px}
}
@media(max-width:360px){html.ru-toolbox-refined .tool-workspace-head{padding:18px 14px}html.ru-toolbox-refined .tool-workspace-head h2{font-size:23px}html.ru-toolbox-refined .tool-back{padding:8px;font-size:12px}html.ru-toolbox-refined .tool-stage{padding:18px 12px 24px}html.ru-toolbox-refined .tool-row-copy strong{font-size:21px}}
@media(prefers-reduced-motion:reduce){html.ru-toolbox-refined :is(.tool-index-row,.tool-switch-row){transition:none}}
html[data-ru-theme=dark].ru-toolbox-refined{--tool-ink:#e6edf7;--tool-blue:#7d9bff;--tool-line:#40516d;--tool-ground:#101b2d;--tool-muted:#b0bfd3;--tool-paper:#142238}
html[data-ru-theme=dark].ru-toolbox-refined :is(.tool-alternatives,.tool-mobile-switch,.tool-aux-result){background:#1a2b43}
html[data-ru-theme=dark].ru-toolbox-refined .tool-switch-row:hover,html[data-ru-theme=dark].ru-toolbox-refined .tool-switch-row:focus-visible{background:#2459D8;color:#fff}
@media print{html.ru-toolbox-refined .tool-secondary{display:none}}

/* Embedded tools already have the Dock title and frame; keep only their own return control. */
html:root.ru-toolbox-refined.ru-tool-panel body{padding:0!important;margin:0!important}
html:root.ru-toolbox-refined.ru-tool-panel body main.shell{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
html.ru-toolbox-refined.ru-tool-panel :is(.ru-sidebar,.ru-journey-breadcrumb,#ruJourneyFooter,.ru-utility-bar,#ruGlassRail){display:none!important}
html.ru-toolbox-refined.ru-tool-panel :is(.tool-portal,.tool-workspace){max-width:none!important;margin:0!important;border:0!important}
html.ru-toolbox-refined.ru-tool-panel .tool-workspace-head{position:sticky;top:0;z-index:4;display:flex!important;justify-content:flex-end;align-items:center;min-height:45px;padding:0 12px!important;gap:0;background:var(--tool-paper)}
html.ru-toolbox-refined.ru-tool-panel .tool-workspace-head :is(.tool-position,h2,p){display:none!important}
html.ru-toolbox-refined.ru-tool-panel .tool-back{min-height:44px!important;margin:0;font-size:13px}
html.ru-toolbox-refined.ru-tool-panel .tool-stage{padding:16px 18px 24px!important}
html.ru-toolbox-refined.ru-tool-panel .tool-alternatives{top:57px}

/* The verified homepage Dock supplies navigation; this frame only renders the active tool. */
html.ru-toolbox-refined.ru-tool-panel.ru-tool-dock-embed :is(.tool-portal,.tool-workspace-head,.tool-back,.tool-alternatives,.tool-mobile-switch){display:none!important}
html.ru-toolbox-refined.ru-tool-panel.ru-tool-dock-embed .tool-workspace-columns{display:block!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important}
html.ru-toolbox-refined.ru-tool-panel.ru-tool-dock-embed .tool-stage{box-sizing:border-box;width:100%!important;max-width:none!important}


/* Compact embed: clear 12–14px labels, usable controls, no horizontal scroll. */
html:root.ru-toolbox-refined.ru-tool-panel.ru-tool-dock-embed .tool-stage{padding:10px 12px 14px!important}
html:root.ru-toolbox-refined.ru-tool-panel.ru-tool-dock-embed .tool-mobile-switch{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important;padding:6px!important;position:static!important;overflow:visible!important}
html:root.ru-toolbox-refined .tool-mobile-switch button{min-width:0!important;min-height:48px!important;padding:5px 2px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:3px!important;border:1px solid var(--tool-line);background:#fff;color:var(--tool-ink);font:600 11px/1.3 var(--ru-font)}
html:root.ru-toolbox-refined .tool-mobile-switch button[aria-current=page]{background:var(--brand-wash)!important;color:var(--brand)!important}
html:root.ru-toolbox-refined .tool-mobile-switch .tool-mini-icon{width:19px!important;height:19px!important}
html:root.ru-toolbox-refined .tool-mobile-switch .tool-mini-label{font-size:11px!important;line-height:1.3!important;overflow-wrap:anywhere}
html:root.ru-toolbox-refined .rates-board-head{display:flex!important;align-items:center!important;padding-bottom:6px!important}
html:root.ru-toolbox-refined .rates-board-head h3{font-size:18px!important;line-height:1.4!important}
html:root.ru-toolbox-refined .rates-board-head>span{font-size:9px!important;margin:0!important}
html:root.ru-toolbox-refined .rates-currencies{margin-top:8px!important}
html:root.ru-toolbox-refined .rates-currencies button{min-height:40px!important;padding:5px!important;font-size:12px!important}
html:root.ru-toolbox-refined .rates-reference{grid-template-columns:minmax(0,1fr) auto!important;min-height:0!important;padding:12px!important;gap:10px!important}
html:root.ru-toolbox-refined .rates-reference-label{font-size:12px!important}
html:root.ru-toolbox-refined .rates-reference strong{font-size:26px!important;line-height:1.25!important;margin:6px 0 3px!important;overflow-wrap:anywhere}
html:root.ru-toolbox-refined .rates-swap{min-width:90px!important;min-height:36px!important;padding:6px 8px!important;font-size:11px!important}
html:root.ru-toolbox-refined .rates-swap span{font-size:16px!important}
html:root.ru-toolbox-refined .rates-calc{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;margin-top:10px!important;padding:12px!important;gap:8px 14px!important}
html:root.ru-toolbox-refined .rates-calc h4{font-size:17px!important}
html:root.ru-toolbox-refined .rates-amount-label input{height:38px!important;font-size:16px!important}
html:root.ru-toolbox-refined .rates-calc-result strong{font-size:20px!important;overflow-wrap:anywhere}
html:root.ru-toolbox-refined .rates-source{margin-top:10px!important;padding-top:8px!important;font-size:10px!important;line-height:1.6!important}
html:root.ru-toolbox-refined .grammar,html:root.ru-toolbox-refined .reference-panel,html:root.ru-toolbox-refined .quick-reference-head{padding:12px!important}
html:root.ru-toolbox-refined :is(.grammar h2,.quick-reference h2){font-size:19px!important}
html:root.ru-toolbox-refined .reference-actions{gap:5px!important;margin:0 0 8px!important}
html:root.ru-toolbox-refined .reference-actions :is(button,a){height:34px!important;min-height:34px!important;width:auto!important;min-width:80px!important;font-size:11px!important;padding:0 8px!important}
html:root.ru-toolbox-refined .reference-nav{display:flex!important;flex-wrap:wrap!important;overflow:visible!important}
html:root.ru-toolbox-refined .reference-nav button{flex:1 1 auto!important;min-width:0!important;padding:7px 9px!important;font-size:11px!important}
html:root.ru-toolbox-refined .reference-table,html:root.ru-toolbox-refined .grammar-output table{min-width:0!important;width:100%!important;table-layout:fixed!important;font-size:11px!important}
html:root.ru-toolbox-refined :is(.reference-table,.grammar-output table) :is(th,td){padding:6px 4px!important;overflow-wrap:anywhere!important;white-space:normal!important}
html:root.ru-toolbox-refined .reference-flow div{padding:8px!important}
html:root.ru-toolbox-refined .reference-card{padding:10px!important}
html:root.ru-toolbox-refined .reference-lead,html:root.ru-toolbox-refined .reference-note{font-size:12px!important;margin-block:8px!important}
html:root.ru-toolbox-refined .table-scroll,html:root.ru-toolbox-refined .grammar-output{overflow-x:visible!important}
.compact-tool-note{font:12px/1.6 var(--ru-font);color:#667994;margin:0 0 8px}
.budget-compact-settings{display:grid;grid-template-columns:1fr 1.5fr auto;gap:8px;align-items:end;margin-bottom:8px}
.budget-compact-settings label,.budget-compact-item,.compact-city-select{display:grid;gap:4px;font:600 12px/1.4 var(--ru-font);color:#354D70;min-width:0}
.compact-budget :is(input,select),.compact-city-select select{box-sizing:border-box;width:100%;min-width:0;min-height:36px;border:1px solid #C5D2E6;border-radius:0;background:#fff;color:#1B2A4A;font:14px/1.4 var(--ru-font);padding:5px 8px}
.compact-budget fieldset{min-width:0;margin:0 0 8px;border:1px solid #D4DEED;padding:8px 10px 10px}
.compact-budget legend{padding:0 5px;font:700 14px/1.5 var(--ru-font);color:#1B2A4A}
.budget-compact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 9px}
.budget-deposit-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:center;font:12px/1.5 var(--ru-font);margin:8px 0}
.compact-budget [hidden]{display:none!important}
.budget-compact-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #C9D5E7;background:#F2F6FD;margin-top:8px}
.budget-compact-totals>div{padding:7px 9px;min-width:0;display:flex;justify-content:space-between;align-items:baseline;gap:8px;border-bottom:1px solid #D5DEED;font:12px/1.5 var(--ru-font)}
.budget-compact-totals strong{font-size:14px;color:#1B2A4A;overflow-wrap:anywhere}
.budget-compact-totals>div:last-child{background:#E9EFFC}
.compact-budget .practical-button,.overseas-forms .practical-button{min-height:36px;font:600 12px/1.4 var(--ru-font);padding:7px 9px;white-space:normal}
.compact-city-select{margin-bottom:10px}
html:root.ru-toolbox-refined .tool-aux-clocks{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html:root.ru-toolbox-refined .tool-aux-clock{padding:14px!important;gap:5px!important;min-width:0}
html:root.ru-toolbox-refined .tool-aux-clock>strong{font-size:26px!important}
html:root.ru-toolbox-refined .tool-aux-clock>span{font-size:12px!important;overflow-wrap:anywhere}
html:root.ru-toolbox-refined .tool-aux-result{margin:10px 0!important;padding:10px!important;font-size:13px!important}
.overseas-form-row{padding:10px 0;border-bottom:1px solid #D3DEEC}
.overseas-form-row:first-child{padding-top:0}.overseas-form-row h3{font:700 15px/1.5 var(--ru-font);margin:0 0 4px;color:#1B2A4A}.overseas-form-row p{font:12px/1.6 var(--ru-font);color:#687C97;margin:0 0 7px}.overseas-form-actions{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:520px){.budget-compact-settings{grid-template-columns:1fr 1.4fr}.budget-compact-settings>button{grid-column:1/-1;justify-self:end}.budget-compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.budget-compact-totals{grid-template-columns:1fr}html:root.ru-toolbox-refined .rates-reference{grid-template-columns:1fr!important}.rates-swap{justify-self:start}.ru-compact-wide-table{display:block}.ru-compact-wide-table tbody{display:block}.ru-compact-wide-table .ru-wide-table-heading{display:none}.ru-compact-wide-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:8px;border:1px solid #CBD7E8}.ru-compact-wide-table tr :is(td,th){display:block!important;min-width:0}.ru-compact-wide-table tr :is(td,th):first-child{grid-column:1/-1;background:#E9EFFC}.ru-compact-wide-table tr :is(td,th)::before{content:attr(data-label);display:block;color:#7B8BA4;font:10px/1.4 var(--ru-font)}}
@media print{html:root:root.ru-toolbox-refined [data-tool-module]{display:none!important}html:root:root.ru-toolbox-refined [data-tool-module][data-print-active=true]{display:block!important}.tool-mobile-switch,.tool-alternatives,.tool-workspace-head,.budget-compact-settings>button{display:none!important}.compact-budget{font-size:12px}body{background:#fff!important}}

@media(min-width:521px){#budgetOneOff{grid-template-columns:repeat(4,minmax(0,1fr))}}
#budgetValidation:empty{display:none}
.budget-transit-reference{border:1px solid #c7d5ea;margin-top:8px;background:#fff}
.budget-transit-reference>summary{padding:7px 9px;cursor:pointer;color:#173053;font-weight:700;font-size:12px}
.budget-transit-body{padding:0 9px 9px;overflow-wrap:anywhere}
.budget-transit-selectors{display:grid;grid-template-columns:1fr 2fr;gap:8px}
.budget-transit-selectors label{min-width:0;font-size:12px}
.budget-transit-selectors select{display:block;width:100%;min-width:0;max-width:100%;height:34px;margin-top:4px}
.budget-transit-result{border:1px solid #d3dff2;padding:8px;margin-top:8px;font-size:12px;line-height:1.6}
.budget-transit-result p{margin:4px 0}.budget-transit-result small{display:block;margin-top:4px}
@media(max-width:400px){.budget-transit-selectors{grid-template-columns:1fr}}
:root{--ru-tool-ui-font:-apple-system,system-ui,"Microsoft YaHei","PingFang SC",sans-serif}
.tool-stage,.tool-stage input,.tool-stage select,.tool-stage button{font-family:var(--ru-tool-ui-font)!important}
.tool-print-actions{display:flex;justify-content:flex-end;margin:0 0 8px}
.tool-print-actions{position:sticky;top:0;z-index:8;background:#fff;padding-bottom:5px}
html.ru-toolbox-refined .tool-print-button{position:relative;isolation:isolate;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;min-height:34px;width:auto;padding:7px 12px;border:1px solid #2459D8!important;border-radius:0;background:#fff!important;color:#2459D8!important;font:600 12px/1.4 var(--ru-tool-ui-font)!important;cursor:pointer;box-sizing:border-box;text-decoration:none;white-space:nowrap}
html.ru-toolbox-refined .tool-print-button::before{content:"";position:absolute;inset:0;background:var(--accent,#ff8a24);z-index:-1;transform:scaleX(0);transform-origin:left;transition:transform 220ms ease-out}
html.ru-toolbox-refined .tool-print-button:is(:hover,:focus-visible){color:#172842!important;border-color:var(--accent,#ff8a24)!important}
html.ru-toolbox-refined .tool-print-button:is(:hover,:focus-visible)::before{transform:scaleX(1)}
html.ru-toolbox-refined .tool-print-button:disabled{opacity:.5;cursor:wait}
.budget-compact-settings{grid-template-columns:1fr 1.5fr!important}
.tool-time-list{display:grid;gap:9px;padding:3px}
.tool-time-row{position:relative;padding:11px 14px;border:1px solid #c7d5ea;background:#fff;transition:transform 220ms cubic-bezier(.2,.9,.25,1.25),box-shadow 220ms;transform-origin:center}
.tool-time-row:is(:hover,:focus-visible){transform:scale(1.018);z-index:1;box-shadow:0 8px 18px rgb(27 42 74 / .1);outline:none;border-color:#8ea8d4}
.tool-time-row h3{margin:0 0 7px;color:#173053;font:700 13px/1.4 var(--ru-tool-ui-font)}
.tool-time-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tool-time-cell{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:2px 8px;min-width:0}
.tool-time-cell>span{font-size:11px;color:#687c97}.tool-time-cell>strong{font-variant-numeric:tabular-nums;font-size:24px;line-height:1.2;color:#173053;letter-spacing:.02em}
.tool-time-cell>small{grid-column:2;font-size:10px;color:#687c97}
.tool-time-difference{margin:7px 0 0;padding-top:6px;border-top:1px solid #e3e8f2;color:#5673a6;font-size:11px;line-height:1.5}
.overseas-form-row{position:relative;padding:13px 98px 13px 0!important;border-bottom:1px solid #c7d5ea}
.overseas-form-row h3{margin:0 0 5px!important;font-family:var(--ru-tool-ui-font)!important}
.overseas-form-title{padding:0;border:0;background:none;color:#172842;font:700 15px/1.5 var(--ru-tool-ui-font)!important;text-align:left;cursor:pointer;transition:color 160ms}
.overseas-form-title:is(:hover,:focus-visible){color:#2459D8}
html.ru-toolbox-refined .tool-stage .overseas-form-title{background:none!important;border:0!important;color:#172842!important}
html.ru-toolbox-refined .tool-stage .overseas-form-title:is(:hover,:focus-visible){color:#2459D8!important}
.overseas-download{position:absolute;right:0;top:10px;min-height:30px!important;padding:5px 8px!important;font-size:11px!important;text-decoration:none}
.overseas-form-row p{margin:0!important;font:12px/1.6 var(--ru-tool-ui-font)!important;color:#687c97}
.overseas-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}
.overseas-preview-back{padding:7px 10px;border:1px solid #c7d5ea;background:#fff;color:#173053;font:600 12px/1.4 var(--ru-tool-ui-font);cursor:pointer}
.overseas-preview-back:hover{background:#E9EFFC}
.overseas-preview-title{font:700 17px/1.5 var(--ru-tool-ui-font);color:#2459D8;margin:0 0 12px}
html.ru-toolbox-refined .tool-stage .overseas-preview-title{color:#2459D8!important}
.overseas-pdf-page{display:block;margin:0 0 12px;border:1px solid #d3dff2;box-sizing:border-box;max-width:100%;background:#fff}
@media(max-width:520px){.tool-time-row{padding:10px}.tool-time-cell{display:flex;flex-direction:column;gap:2px}.tool-time-cell>strong{font-size:23px}.tool-time-row:is(:hover,:focus-visible){transform:scale(1.01)}.overseas-form-row{padding-right:83px!important}.overseas-form-title{font-size:14px!important}}
@media print{.tool-print-actions,.tool-print-button,.overseas-preview-head,.overseas-form-list,.overseas-preview-title,.budget-transit-reference{display:none!important}.overseas-pdf-page{border:0;margin:0;width:100%!important;height:auto!important;break-after:page}.overseas-pdf-page:last-child{break-after:auto}}
@media print{html.ru-toolbox-refined :is(body,.shell,.tool-workspace,.tool-workspace-columns,.tool-stage,.overseas-forms,.overseas-form-preview,.overseas-preview-pages){height:auto!important;max-height:none!important;overflow:visible!important}.tool-stage{display:block!important}}

html:root.ru-toolbox-refined.ru-tool-panel.ru-tool-dock-embed .tool-mobile-switch{grid-template-columns:repeat(6,minmax(0,1fr))!important}
html:root.ru-toolbox-refined,html:root.ru-toolbox-refined body,html:root.ru-toolbox-refined :is(.tool-stage,.tool-module,.tool-workspace,.tool-workspace-columns){overscroll-behavior:contain!important}
html:root.ru-toolbox-refined .overseas-form-row{box-sizing:border-box;border:1px solid #d1dced;margin:0 0 9px;padding:13px 102px 13px 12px!important;cursor:pointer;transition:transform 180ms cubic-bezier(.2,.8,.2,1),box-shadow 180ms,background-color 180ms;transform-origin:center}
html:root.ru-toolbox-refined .overseas-form-row:is(:hover,:focus-visible){transform:translateY(-3px) scale(1.01);box-shadow:0 8px 16px #1b2a4a0e;background:#f7f9ff;outline:none;border-color:#9fb2db}
html:root.ru-toolbox-refined .overseas-form-row:is(:hover,:focus-visible) .overseas-form-title{color:#3156d3!important}
html:root.ru-toolbox-refined .overseas-form-title{pointer-events:none}
html:root.ru-toolbox-refined .overseas-download{right:9px;top:9px}
@media(max-width:420px){html:root.ru-toolbox-refined.ru-tool-panel.ru-tool-dock-embed .tool-mobile-switch{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
