.mocra-tool {color:#152b40;background:#f4f7f9;line-height:1.55}
.mocra-tool [hidden] {display:none!important}
.tool-wrap {width:min(1090px,calc(100% - 40px));margin-inline:auto}
.tool-hero {background:#092238;color:white;border-bottom:4px solid #41bdd0;padding:34px 0 40px}
.tool-hero h1 {max-width:780px;font-size:clamp(2.3rem,5vw,4.1rem);letter-spacing:-.045em;line-height:1.05;margin:15px 0}
.tool-hero p {font-size:1.13rem;max-width:720px;color:#e3eff7;margin:0}
.tool-crumb {display:flex;gap:12px;flex-wrap:wrap;align-items:center;font-size:.92rem;color:#c5e3e9}
.tool-crumb a {color:#fff}
.tool-layout {display:grid;grid-template-columns:minmax(0,1.85fr) minmax(230px,1fr);gap:32px;padding-block:32px;align-items:start}
.mocra-tool h2 {font-size:clamp(1.3rem,2.5vw,1.65rem);letter-spacing:-.025em;line-height:1.16;margin:0 0 12px}
.mocra-tool h3 {font-size:1.03rem;margin:0 0 4px}
.tool-card,.tool-note,.tool-sources,.tool-next {border:1px solid #cbd9df;background:#fff;border-radius:8px;padding:clamp(18px,3vw,30px)}
.tool-card>p,.tool-note p,.tool-sources p {margin:8px 0 16px}
.mocra-tool fieldset {margin:20px 0;padding:15px 17px 2px;border:1px solid #c1d0d9;border-radius:6px;min-width:0}
.mocra-tool legend,.tool-field label {font-weight:700;color:#163249}
.mocra-tool legend {padding:0 6px}
.tool-field {margin-bottom:16px}
.mocra-tool input,.mocra-tool select {background:white;color:#152b40;border:1px solid #7b909e;border-radius:5px;font:inherit;padding:9px 10px;width:100%;min-width:0;min-height:44px;display:block}
.tool-field p,.tool-card fieldset>p {font-size:.94rem;margin:2px 0 8px;color:#415565}
.tool-field label {display:block;margin-bottom:5px}
.tool-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;align-items:end}
.tool-question label {display:block;margin:0 0 8px}
.tool-question select {margin-bottom:13px}
.mocra-tool button {font:inherit;min-height:46px;line-height:1.2;font-weight:700;border-radius:5px;padding:10px 17px;cursor:pointer}
.tool-primary {background:#12496d;color:#fff;border:1px solid #12496d}
.tool-primary:hover {background:#0a3453}
.tool-secondary {background:white;color:#12496d;border:1px solid #12496d}
.mocra-tool :focus-visible {outline:3px solid #ad5b00;outline-offset:3px}
.tool-buttons {display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}
.tool-card .tool-privacy,.tool-sources p {font-size:.88rem;color:#485b69}
.tool-error,.tool-message {color:#7d241f;border-left:4px solid #ae3c39;padding:8px 12px;background:#fff3f0}
.tool-result {margin-top:20px;border-top:4px solid #137d85}
.tool-result h2 {scroll-margin-top:95px}
.tool-result ul,.tool-result ol,.tool-sources ul {padding-left:1.25rem}
.tool-result li,.tool-sources li {margin:5px 0}
.tool-result p {margin:6px 0 13px}
.tool-list {list-style:none;padding:0!important}
.tool-list li {border-top:1px solid #d7e1e6;padding:12px 0 6px;break-inside:avoid}
.tool-date {display:block;color:#116263;font-weight:750;margin:2px 0}
.tool-result table {width:100%;border-collapse:collapse;font-size:.95rem}
.tool-result th,.tool-result td {text-align:right;border-bottom:1px solid #d2dfe6;padding:8px 5px;overflow-wrap:anywhere}
.tool-result th:first-child,.tool-result td:first-child {text-align:left}
.tool-result tr:last-child th,.tool-result tr:last-child td {font-weight:700}
.tool-aside {display:grid;gap:16px}
.tool-sources {background:#edf4f6}
.tool-note a,.tool-sources a,.tool-links a,.tool-next a,.tool-result a {color:#075279;text-decoration:underline;text-underline-offset:.16em}
.tool-next {border-left:4px solid #167981;max-width:100%}
.tool-next p {margin:8px 0}
.tool-links {display:flex;flex-wrap:wrap;gap:8px 23px;padding:25px 0 38px}
.tool-links h2 {width:100%;font-size:1.12rem;margin:0}
@media(max-width:760px){.tool-layout{grid-template-columns:minmax(0,1fr);gap:18px}.tool-hero{padding:24px 0}.tool-wrap{width:min(100% - 28px,1090px)}.tool-links{gap:12px}.tool-card{padding:16px}}
@media(max-width:440px){.tool-grid{grid-template-columns:minmax(0,1fr)}.tool-card fieldset{padding-inline:10px}.tool-card,.tool-note,.tool-sources{border-radius:6px}.tool-result table{font-size:.87rem}}
@media print{
 @page{margin:16mm}
 .topbar,.footer,.analytics-choice,.analytics-settings,.skip-link,.tool-crumb,.tool-buttons,.tool-next,.tool-links,.tool-note,.tool-sources p,.tool-hero p,.tool-card form,form#tool-form{display:none!important}
 body,.mocra-tool,.tool-hero,.tool-result,.tool-sources{background:#fff!important;color:#111!important}
 .tool-wrap,.tool-layout{display:block;width:100%;padding:0}
 .tool-hero{padding:0 0 8px;border-bottom:1pt solid #555}.tool-hero h1{font-size:18pt;max-width:none}
 .tool-result,.tool-sources{padding:4px 0;border:0}.tool-sources h2{font-size:12pt}.tool-sources li{font-size:9pt}
 .tool-sources a::after{content:" (" attr(href) ")";overflow-wrap:anywhere}.tool-result h2{font-size:15pt}.tool-result li{padding:4px 0}
}

@media print { .mocra-tool, .mocra-tool * { visibility:visible } }

@media print {
  .tool-sources ul { margin-bottom: 0; }
  .tool-aside { display: block; }
  .tool-list li > p:last-child { margin-bottom: 0; }
}
