.thod,.thod-hub{--thod-ink:#153e41;--thod-teal:#287267;--thod-paper:#fbf8f3;--thod-sand:#f4ebe0;--thod-rule:#d7e1db;--thod-muted:#476766;box-sizing:border-box;background:var(--thod-paper);color:var(--thod-ink);font-family:inherit;border:1px solid var(--thod-rule);border-radius:18px;padding:clamp(18px,3vw,34px);margin:28px 0;max-width:100%}
.thod *,.thod-hub *{box-sizing:border-box}
.thod__heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin:0 0 22px}.thod__heading h2,.thod-hub h2{margin:5px 0 10px;color:var(--thod-ink);font-size:clamp(23px,3vw,33px);line-height:1.15}.thod__heading p{margin:0;max-width:65ch;line-height:1.6;font-size:15px}.thod__eyebrow{font-size:11px!important;letter-spacing:.14em;font-weight:800;color:#22695f}.thod__count{border-radius:14px;background:#e6eee8;border:1px solid #cfded4;min-width:114px;text-align:center;padding:16px 10px;font-size:31px;font-weight:800;line-height:1.1;flex-shrink:0}.thod__count span{display:block;font-size:10px;line-height:1.4;margin-top:5px;letter-spacing:.02em}
.thod__controls{display:grid;grid-template-columns:minmax(150px,1fr) minmax(160px,1fr) minmax(180px,1.1fr);gap:14px;background:#eef4ee;border-radius:13px;padding:19px;margin-bottom:14px;align-items:end}.thod__controls label{display:flex;flex-direction:column;font-size:13px;font-weight:750;gap:7px}.thod__controls input[type=number],.thod__controls select{background:#fff;border:1px solid #b1c5be;border-radius:9px;color:var(--thod-ink);height:44px;padding:8px 12px;font-size:16px;width:100%;font-family:inherit}.thod__controls input:focus-visible,.thod__controls select:focus-visible,.thod a:focus-visible{outline:3px solid #c39255;outline-offset:3px}.thod__controls .thod__checkbox{flex-direction:row;align-items:center;line-height:1.4;padding:9px 0 8px;font-weight:650}.thod__controls .thod__checkbox input{accent-color:var(--thod-teal);width:18px;height:18px;flex-shrink:0}.thod__message{font-size:13px;color:var(--thod-muted);margin:10px 0 14px;line-height:1.5}.thod__message.thod__error{color:#963a29;font-weight:700}
.thod__results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.thod__card{background:#fff;border:1px solid var(--thod-rule);border-radius:14px;padding:20px;min-width:0;box-shadow:0 7px 26px rgba(21,62,65,.035)}.thod__cardhead{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.thod__provider{text-transform:uppercase;color:#336d60;letter-spacing:.09em;font-size:10px!important;font-weight:800;margin:0 0 6px!important}.thod__card h3{font-size:19px;line-height:1.3;margin:0 0 12px;color:var(--thod-ink);overflow-wrap:anywhere}.thod__rate{text-align:right;white-space:nowrap}.thod__rate strong{font-size:25px;display:block;line-height:1.1}.thod__rate span{font-size:12px;font-weight:700;color:var(--thod-muted)}.thod__chips{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 14px}.thod__chips span{background:var(--thod-sand);border-radius:8px;padding:5px 8px;font-size:11px;line-height:1.35;font-weight:700}.thod__chips .thod__caution{background:#fff4e6;color:#755129}.thod__outcome{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#e9f2ec;padding:12px;border-radius:10px;margin-bottom:16px}.thod__outcome>div{display:flex;flex-direction:column;gap:5px}.thod__outcome span{font-size:11px;color:var(--thod-muted);line-height:1.4}.thod__outcome strong{font-size:clamp(15px,2vw,20px);color:var(--thod-ink);font-variant-numeric:tabular-nums}.thod__metadata{display:grid;grid-template-columns:110px minmax(0,1fr);gap:5px 10px;margin:0;font-size:12px;line-height:1.55}.thod__metadata dt{color:#5b7772;font-weight:700}.thod__metadata dd{margin:0;overflow-wrap:anywhere}.thod__notes{font-size:12px!important;line-height:1.55;margin:10px 0;color:var(--thod-muted)}.thod__checked{font-size:11px!important;color:var(--thod-muted);margin:12px 0!important}.thod__links{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:13px}.thod__links a{font-size:12px;font-weight:800;text-decoration:underline;text-underline-offset:3px;line-height:1.4}.thod__links .thod__cta{background:var(--thod-ink);color:#fff;text-decoration:none;padding:11px 14px;border-radius:8px}.thod__links .thod__source{color:#1a6259}.thod__commercial{font-size:11px!important;color:var(--thod-muted);margin:12px 0 0!important}.thod__footnote{border-top:1px solid var(--thod-rule);padding-top:13px;margin-top:20px;color:var(--thod-muted)}.thod__footnote p{margin:6px 0!important;font-size:12px!important;line-height:1.6}.thod__footnote a{color:#226b64}.thod__empty,.thod__nohits{padding:25px;background:#edf3ee;border-radius:12px}.thod__empty h3{font-size:21px;margin:0 0 10px}.thod__empty p{font-size:14px}.thod-hub__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.thod-hub__grid a{display:block;border:1px solid #b8d0c3;border-radius:12px;padding:22px;background:white;color:#153e41;text-decoration:none;font-weight:800}
@media(max-width:760px){.thod__controls{grid-template-columns:repeat(2,minmax(0,1fr))}.thod__controls .thod__checkbox{grid-column:1/-1}.thod__results{grid-template-columns:minmax(0,1fr)}.thod__count{min-width:92px;font-size:25px}}
@media(max-width:480px){.thod,.thod-hub{padding:17px;border-radius:13px;margin:20px 0}.thod__heading{gap:12px}.thod__count{font-size:22px;min-width:75px;padding:12px 6px}.thod__count span{font-size:9px}.thod__controls{grid-template-columns:minmax(0,1fr);padding:13px}.thod__controls .thod__checkbox{grid-column:auto}.thod__card{padding:15px}.thod__cardhead{gap:7px}.thod__rate strong{font-size:21px}.thod__metadata{grid-template-columns:92px minmax(0,1fr)}.thod__outcome{grid-template-columns:1fr 1fr}.thod__outcome strong{font-size:16px}.thod-hub__grid{grid-template-columns:minmax(0,1fr)}}

/* 4.1.1: reliable localized amount entry, accessible error state and contrast */
.thod .thod__controls input[data-thod-amount]{background:#fff;border:1px solid #b1c5be;border-radius:9px;color:var(--thod-ink);height:44px;padding:8px 12px;font-size:16px;width:100%;font-family:inherit}
.thod .thod__controls input[data-thod-amount][aria-invalid="true"]{border:2px solid #963a29}
.thod .thod__help{display:block;font-weight:400;color:#385b58;font-size:11px;line-height:1.4}
.thod .thod__jump{display:inline-block;margin-top:10px;text-underline-offset:3px;font-weight:700;color:#174f48}
.thod .thod__links a.thod__cta,.thod .thod__links a.thod__cta:visited{color:#fff !important;background:#153e41 !important;border:2px solid #153e41}
.thod .thod__links a.thod__cta:hover{color:#fff !important;background:#245760 !important;border-color:#245760}
.thod .thod__links a.thod__cta:focus-visible{outline:3px solid #b26f23;outline-offset:3px}
.thod .thod__unmodelled{grid-column:1/-1;background:#fff9ee;border:1px solid #d6b680;border-radius:13px;padding:18px;color:#294643;line-height:1.55}
.thod .thod__unmodelled h3{margin:0 0 8px;font-size:18px;line-height:1.3;color:#153e41}
.thod .thod__unmodelled p{margin:0 0 10px;font-size:13px}
.thod .thod__unmodelled ul{margin:5px 0 0;padding-left:19px;font-size:13px}
.thod .thod__unmodelled li{margin:8px 0}
.thod .thod__unmodelled a{color:#174f48;font-weight:750;text-underline-offset:3px}

/* 4.1.2: visible 3:1+ keyboard focus against the white card backdrop */
.thod .thod__links a.thod__cta:focus-visible { outline: 3px solid #85420f !important; outline-offset: 3px !important; box-shadow: none; }
.thod .thod__hard-excluded { grid-column:1/-1; background:#f6f2ed; border:1px solid #bca998; border-radius:13px; padding:18px; color:#294643; line-height:1.55; }
.thod .thod__hard-excluded h3 { margin:0 0 8px; font-size:18px; line-height:1.35; color:#153e41; }
.thod .thod__hard-excluded p { margin:0 0 10px; font-size:13px; }
.thod .thod__hard-excluded ul { margin:5px 0 0; padding-left:19px; font-size:13px; }
.thod .thod__hard-excluded li { margin:8px 0; }
.thod .thod__hard-excluded a { color:#174f48; font-weight:750; text-underline-offset:3px; }
