/* Mercury 2026: expressive type, asymmetric composition, quiet study surfaces. */
body.mercury-design {
  --ink:#202a34; --ink-2:#283641; --panel:#314652; --text:#26343d;
  --paper:#f5f6f3; --paper-2:#fff; --muted:#536571; --white:#fff;
  --gold:#ffc44c; --gold-2:#ffda83; --teal:#97500b; --line:#d7dedf;
  --forest:#253640; --forest2:#344c58; --sage:#4e6d60; --slate:#52616b;
  --slate2:#596b76; --cream:#f5f6f3; --cream2:#eaf0ed; --border2:#d7dedf;
  --amber:#ae5807; --amber2:#ae5807; --amber-glow:#ffc44c;
  --radius:18px; --r:18px; --max:1240px;
  --shadow:0 14px 42px rgba(32,42,52,.08);
  background:var(--paper)!important; color:var(--text)!important;
  font-family:Arial,Helvetica,system-ui,sans-serif!important; font-size:16px; line-height:1.65;
}
.mercury-design *, .mercury-design *::before, .mercury-design *::after {box-sizing:border-box;}
.mercury-design img {max-width:100%;}
.mercury-design [hidden] {display:none!important;}
.mercury-design :is(h1,h2,h3,h4) {font-family:Arial,Helvetica,system-ui,sans-serif; text-transform:none; font-style:normal; text-wrap:balance;}
.mercury-design h1 {font-weight:800;letter-spacing:-.055em;line-height:1.06;}
.mercury-design h2 {letter-spacing:-.035em;line-height:1.15;}
.mercury-design h3 {letter-spacing:-.02em;line-height:1.3;}
.mercury-design a {text-underline-offset:4px;}
.mercury-design :is(a,button,summary,input,select,textarea):focus-visible {outline:3px solid #a65a00!important;outline-offset:4px;}
.mercury-design :is(button,input,select,textarea) {font-family:inherit;}
.mercury-design input:not([type=checkbox]):not([type=radio]),.mercury-design select,.mercury-design textarea {font-size:16px;}
.mercury-design :is(.container,.content,.main,.article,.wrap,.dict-layout,.road-notes-shell) {min-width:0;}
.mercury-design .site-header {position:relative!important;top:0;background:#202a34!important;border:0!important;backdrop-filter:none;z-index:100;isolation:isolate;}
.mercury-design .site-header .nav-wrap {width:min(1240px,calc(100% - 48px))!important;max-width:none!important;margin:auto!important;padding:10px 0!important;min-height:88px;display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:32px!important;}
.mercury-design .site-header .brand {position:relative!important;display:block!important;flex:0 0 156px!important;width:156px!important;height:72px!important;min-height:72px!important;background:#202a34 url('images/mercury-logo-clean.webp') center/156px auto no-repeat!important;border:0!important;margin:0!important;padding:0!important;transform:none!important;}
.mercury-design .site-header .brand>* {position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;}
.mercury-design .site-header .nav-links {position:static!important;flex:1 1 auto!important;display:flex!important;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:4px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;background:transparent!important;box-shadow:none!important;}
.mercury-design .site-header .nav-links a,.mercury-design .site-header summary {display:block;min-height:44px;padding:10px 12px!important;border-radius:8px;color:#edf2f4!important;font-size:14px!important;line-height:24px;font-weight:650;white-space:nowrap;text-decoration:none;cursor:pointer;}
.mercury-design .site-header .nav-links a:hover,.mercury-design .site-header summary:hover {color:#fff!important;background:#354652!important;}
.mercury-design .site-header .nav-links .nav-cta {background:#ffc44c!important;color:#202a34!important;}
.mercury-design .site-header .nav-links .nav-cta:hover {background:#ffda83!important;color:#202a34!important;}
.mercury-design .mercury-nav-group {position:relative;border:0;background:none;padding:0;margin:0;}
.mercury-design .mercury-nav-group summary {list-style:none;}
.mercury-design .mercury-nav-group summary::-webkit-details-marker {display:none;}
.mercury-design .mercury-nav-group summary::after {content:'+';margin-left:8px;color:#ffc44c;font-weight:400;}
.mercury-design .mercury-nav-group[open] summary::after {content:'−';}
.mercury-design .mercury-nav-panel {position:absolute;top:calc(100% + 8px);left:0;width:260px;padding:10px;background:#fff;border:1px solid #d7dedf;border-radius:14px;box-shadow:0 18px 55px #14232b26;}
.mercury-design .site-header .mercury-nav-panel a {white-space:normal;color:#26343d!important;}
.mercury-design .site-header .mercury-nav-panel a:hover {background:#eef2ef!important;color:#26343d!important;}
.mercury-design .site-header a[aria-current=page] {background:#eef2ef;font-weight:800;}
.mercury-design .current-group {box-shadow:inset 0 -2px #ffc44c;}
.mercury-design .site-header .menu-button {display:none!important;color:#fff!important;border:1px solid #7c8c96!important;border-radius:8px;padding:10px 16px;font:700 14px Arial,sans-serif;min-height:44px;background:transparent;}
.mercury-design .status-bar {background:#e9efed;color:#415660;border-bottom:1px solid #d5dedd;}
.mercury-design .status-bar .inner {font-size:13px;font-weight:500;padding:10px 0;}
.mercury-design .eyebrow {font-size:13px;letter-spacing:.12em;color:#97500b;}
.mercury-design :is(.page-hero,.hero,.inspection-hero,.roadmap-hero,.endorsement-hero,.lesson-library-hero,.road-notes-hero) {background:#202a34!important;color:#fff!important;border:0;border-bottom:4px solid #ffc44c;padding:clamp(36px,5vw,64px) 0;}
.mercury-design :is(.hero,.inspection-hero)::before,.mercury-design :is(.hero,.inspection-hero)::after {display:none!important;}
.mercury-design :is(.page-hero,.hero,.inspection-hero,.roadmap-hero,.endorsement-hero,.road-notes-hero) :is(h1,.h-title,.dh-title) {font-family:Arial,Helvetica,sans-serif!important;font-size:clamp(34px,5vw,64px)!important;line-height:1.08!important;letter-spacing:-.045em!important;color:#fff!important;text-transform:none!important;text-shadow:none!important;max-width:920px;margin:0;}
.mercury-design :is(.hero,.page-hero,.inspection-hero,.roadmap-hero,.endorsement-hero,.road-notes-hero) :is(p,.h-sub,.lead) {color:#d8e3e7!important;font-weight:400;text-shadow:none;font-size:18px;line-height:1.65;}
.mercury-design :is(.hero,.page-hero,.inspection-hero,.roadmap-hero,.endorsement-hero,.road-notes-hero) :is(.eyebrow,.h-label) {color:#ffc44c!important;font-size:13px;}
.mercury-design :is(.hero-inner,.dh-inner,.inspection-hero-inner) {padding-top:0;padding-bottom:0;}
.mercury-design :is(.button,.btn,.calc-btn,.inspection-open,.rb-btn) {border-radius:10px!important;min-height:46px;font-size:15px;font-weight:750;text-transform:none;letter-spacing:0;box-shadow:none;}
.mercury-design .button {background:#ffc44c;border-color:#ffc44c;color:#202a34;}
.mercury-design .button:hover {background:#ffda83;border-color:#ffda83;color:#202a34;}
.mercury-design .button.dark {background:#202a34;border-color:#202a34;color:#fff;}
.mercury-design .button.secondary {background:#fff;border-color:#a3b2b9;color:#26343d;}
.mercury-design :is(.hero,.page-hero,.roadmap-hero,.section.dark) .button.secondary {background:transparent;color:#fff;border-color:#9aadb6;}
.mercury-design :is(.card,.tool-card,.panel,.cat-card,.form-card,.search-result,.lesson-feature,.lesson-boundary,.road-note-article,.road-note-feature,.road-notes-intro>div,.decision-discovery-card) {border-radius:18px!important;border:1px solid #d7dedf;box-shadow:none;}
.mercury-design .card:hover {transform:none;box-shadow:0 8px 30px #202a3412;border-color:#aebbbf;}
.mercury-design .card .number {background:#edf1ed;color:#97500b;font:700 22px Arial,sans-serif;border-radius:10px;}
.mercury-design :is(.section-head h2,.content h2,.home-market-brief h2) {font-family:Arial,Helvetica,sans-serif;text-transform:none;}
.mercury-design :is(.card p,.tool-sub,.input-hint,.content p,.content li,.resource-list p) {color:#536571;}
.mercury-design .content {max-width:820px;padding-top:48px;}
.mercury-design .content>p,.mercury-design .content>ul {font-size:18px;line-height:1.8;}
.mercury-design :is(.notice,.contact-note,.lesson-boundary) {background:#edf2ed;border-color:#9b6a22;}
.mercury-design :is(.road-note-feature,.road-notes-standards,.road-note-pullquote,.contact-boundaries,.sources-card,.inspection-promo) {background:#283b46!important;color:#fff;}
.mercury-design :is(.road-note-feature,.road-notes-standards,.road-note-pullquote,.contact-boundaries,.sources-card,.inspection-promo) :is(h2,h3,a) {color:#fff;}
.mercury-design :is(.road-note-feature,.road-notes-standards,.road-note-pullquote,.contact-boundaries,.sources-card,.inspection-promo) p {color:#dbe4e9;}
.mercury-design .inspection-promo {border-radius:16px;box-shadow:none;padding:24px;}
.mercury-design .inspection-promo .inspection-open {background:#ffc44c;color:#202a34;}
.mercury-design .tool-nav {position:relative;top:0;height:auto;background:#fff;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;padding:18px 24px;overflow:visible;border-bottom:1px solid #d7dedf;}
.mercury-design .tnav-btn {white-space:normal;min-height:44px;font-size:14px;color:#435966;border-radius:8px;}
.mercury-design .tnav-btn.on {background:#283b46;color:#fff;}
.mercury-design .resource-list a {border-radius:10px;min-height:48px;}
.mercury-design .road-note-feature h2,.mercury-design .road-note-reading-header h2 {font-family:Georgia,serif;font-weight:400;}
.mercury-design .site-footer {background:#202a34;border-top:4px solid #ffc44c;}
.mercury-design .editorial-credit {background:#e9efed;color:#435965;border-top:1px solid #d7dedf;}
.mercury-design .editorial-credit strong,.mercury-design .editorial-credit a {color:#26343d;}
.mercury-design .free-lesson-dialog {border-radius:20px;border-top-color:#ffc44c;}
.mercury-design table {max-width:100%;}
.mercury-design td,.mercury-design th {overflow-wrap:break-word;}
body.mercury-home main {width:min(1240px,calc(100% - 48px));margin:auto;padding:44px 0 0;}
.mercury-home .m-intro {display:grid;grid-template-columns:1.2fr .8fr;gap:32px;align-items:center;}
.mercury-home .m-kicker {font-size:13px;font-weight:750;letter-spacing:.14em;text-transform:uppercase;color:#97500b;margin:0 0 24px;}
.mercury-home .m-intro h1 {font-size:clamp(43px,6.3vw,82px);line-height:1.03;max-width:800px;margin:0;color:#202a34;letter-spacing:-.06em;}
.mercury-home .m-intro h1 span {color:#97500b;}
.mercury-home .m-deck {max-width:550px;color:#536571;font-size:19px;line-height:1.6;margin:26px 0 0;}
.mercury-home .m-intro figure {margin:0;border-radius:24px;overflow:hidden;position:relative;background:#202a34;}
.mercury-home .m-intro img {display:block;width:100%;height:430px;object-fit:cover;object-position:70% center;}
.mercury-home .m-intro figcaption {color:#dfe8ec;background:#202a34;padding:14px 20px;font-size:12px;letter-spacing:.07em;}
.mercury-home .m-actions {display:flex;flex-wrap:wrap;gap:12px;margin:28px 0;}
.mercury-home .m-actions .button {width:auto;padding:12px 20px;}
.mercury-home .m-bento {display:grid;grid-template-columns:1.15fr 1fr .85fr;gap:16px;margin:32px 0 64px;}
.mercury-home .m-path {position:relative;display:flex;flex-direction:column;align-items:start;padding:28px;min-height:224px;border-radius:18px;background:#202a34;color:#fff;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease;}
.mercury-home .m-path:nth-child(2) {background:#e6ece5;color:#26343d;}
.mercury-home .m-path:nth-child(3) {background:#ffc44c;color:#26343d;}
.mercury-home .m-path:hover {transform:translateY(-4px);box-shadow:0 14px 32px #202a3417;}
.mercury-home .m-path .m-no {font-size:13px;letter-spacing:.12em;opacity:.85;margin-bottom:32px;}
.mercury-home .m-path strong {font-size:24px;line-height:1.15;letter-spacing:-.02em;}
.mercury-home .m-path small {font-size:15px;line-height:1.5;margin-top:12px;max-width:32ch;}
.mercury-home .m-heading {display:flex;justify-content:space-between;align-items:end;gap:28px;margin-bottom:28px;}
.mercury-home .m-heading h2 {font-size:clamp(30px,3.8vw,48px);margin:0;color:#202a34;}
.mercury-home .m-heading p {max-width:360px;margin:0;color:#536571;}
.mercury-home .m-directory {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-bottom:64px;}
.mercury-home .m-directory h3 {font-size:20px;margin:0;padding:16px 0;border-top:2px solid #26343d;}
.mercury-home .m-directory a {display:block;text-decoration:none;padding:12px 0;border-bottom:1px solid #d7dedf;font-size:16px;color:#435965;}
.mercury-home .m-directory a:hover {text-decoration:underline;color:#97500b;}
.mercury-home .m-feature {display:grid;grid-template-columns:1fr 1fr;gap:48px;margin-bottom:64px;padding:40px;background:#202a34;color:#fff;border-radius:24px;}
.mercury-home .m-feature h2 {font:400 clamp(42px,5vw,66px)/1.04 Georgia,serif;letter-spacing:-.04em;margin:0 0 18px;color:#fff;}
.mercury-home .m-feature .m-kicker {color:#ffc44c;}
.mercury-home .m-feature p {color:#d9e3e8;font-size:17px;}
.mercury-home .m-feature aside {border-left:1px solid #7a8b95;padding-left:36px;}
.mercury-home .m-feature h3 {font-size:27px;color:#fff;}
.mercury-home .m-bottom {display:grid;grid-template-columns:1fr 1fr;gap:48px;padding-bottom:50px;}
.mercury-home .m-bottom h2 {font-size:32px;margin:0 0 12px;}
.mercury-home .m-bottom p {color:#536571;}
.mercury-home .m-status {border-top:1px solid #d7dedf;padding:30px 0 44px;font-size:15px;color:#536571;}
.mercury-home .m-status h2 {font-size:21px;color:#26343d;}
.mercury-home .m-status details {border:0;background:none;padding:0;}
.mercury-home .m-status summary {font-weight:700;cursor:pointer;padding:12px 0;color:#26343d;}
@media(max-width:1100px){
 .mercury-design .site-header .menu-button {display:block!important;margin-left:auto;}
 .mercury-design .site-header .nav-links {display:none!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;padding:16px 24px!important;background:#202a34!important;max-height:calc(100dvh - 100px)!important;overflow-y:auto!important;flex-direction:column;align-items:stretch;gap:6px!important;border-top:1px solid #52616b!important;}
 .mercury-design .site-header .nav-links.open {display:flex!important;}
 .mercury-design .mercury-nav-panel {position:static;width:100%;margin:4px 0 8px;border-radius:10px;box-shadow:none;}
 .mercury-design .mercury-nav-group {width:100%;}
 .mercury-design .site-header .nav-links a,.mercury-design .site-header summary {white-space:normal;}
}
@media(max-width:760px){
 .mercury-design .site-header .nav-wrap {width:calc(100% - 36px)!important;gap:16px!important;min-height:80px;}
 .mercury-design .site-header .brand {flex-basis:140px!important;width:140px!important;height:65px!important;min-height:65px!important;background-size:140px auto!important;}
 .mercury-design :is(.section,.content) {padding-top:38px;padding-bottom:42px;}
 .mercury-design .tool-nav {justify-content:flex-start;padding:14px 18px;}
 .mercury-design .tnav-btn {flex:1 1 140px;}
 body.mercury-home main {width:calc(100% - 36px);padding-top:30px;}
 .mercury-home .m-intro {grid-template-columns:1fr;gap:20px;}
 .mercury-home .m-intro h1 {font-size:clamp(42px,8vw,60px);}
 .mercury-home .m-intro figure {grid-row:2;}
 .mercury-home .m-intro img {height:260px;}
 .mercury-home .m-kicker {margin-bottom:18px;}
 .mercury-home .m-deck {font-size:17px;margin-top:20px;}
 .mercury-home .m-bento {grid-template-columns:1fr;gap:12px;margin:24px 0 44px;}
 .mercury-home .m-path {min-height:0;padding:24px;}
 .mercury-home .m-path .m-no {margin-bottom:14px;}
 .mercury-home .m-path strong {font-size:24px;}
 .mercury-home .m-directory,.mercury-home .m-feature,.mercury-home .m-bottom {grid-template-columns:1fr;gap:24px;}
 .mercury-home .m-heading {display:block;}
 .mercury-home .m-heading p {margin-top:14px;}
 .mercury-home .m-directory {margin-bottom:44px;}
 .mercury-home .m-feature {padding:28px;margin-bottom:44px;}
 .mercury-home .m-feature aside {border-left:0;border-top:1px solid #7a8b95;padding:20px 0 0;}
 .mercury-design .input-grid {grid-template-columns:1fr;}
 .mercury-design .section-head {display:block;}
 .mercury-design .section-head p {margin-top:16px;}
}
@media(prefers-reduced-motion:reduce){.mercury-design *, .mercury-design *::before, .mercury-design *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important;}}
@media print{.mercury-design .site-header,.mercury-design .status-bar,.mercury-design .editorial-credit {display:none!important;} .mercury-design {background:#fff!important;color:#111!important;} }

.mercury-language-control {display:block;margin:20px auto;padding:10px 18px;max-width:1240px;border:1px solid #9aadb6;border-radius:10px;background:#fff;color:#26343d;}

.mercury-design .legacy-nav-hidden,body.mercury-modernized>footer:not(.site-footer),body.mercury-modernized .mini-footer {display:none!important;}
.mercury-design .mercury-language-control {color:#26343d!important;background:#fff!important;min-height:44px;}
.mercury-design .mercury-language-toolbar {width:min(1240px,calc(100% - 48px));margin:auto;display:flex;justify-content:flex-end;gap:12px;}
.mercury-design .tool-title {font-family:Arial,Helvetica,sans-serif;font-weight:750;color:#26343d;letter-spacing:-.02em;}
.mercury-home .m-feature a {color:#ffc44c;}
.mercury-design .h-disclaimer {color:#d8e3e7;}
.mercury-design .controls {top:0;}
.mercury-design .controls :is(.lb,.mode-btn),.mercury-design .search-input::placeholder {color:#e3ebee;}
.mercury-design .controls .lb.on {color:#202a34;background:#ffc44c;}
@media(max-width:600px){.mercury-design .sign-grid {grid-template-columns:minmax(0,1fr);}.mercury-design .sign-card {min-width:0;}.mercury-design .ctrl-right {flex-wrap:wrap;}}
.mercury-design .weight-table {width:100%;table-layout:fixed;}
.mercury-design .weight-table :is(th,td) {overflow-wrap:anywhere;min-width:0;}
@media(max-width:600px){.mercury-design .weight-table :is(th,td){padding:8px 5px;font-size:12px;}.mercury-design .worksheet-grid{grid-template-columns:minmax(0,1fr);}.mercury-design .print-sheet{padding:18px;}}
@media print{.mercury-design .print-sheet{padding:0;border:0;}.mercury-design .mercury-language-toolbar{display:none;}}
