:root {
  color-scheme: light;
  --green-950: #142d59;
  --green-900: #193e73;
  --green-800: #1d3e73;
  --green-700: #a6530a;
  --green-100: #e8eef8;
  --green-50: #f5f7fb;
  --ink: #172033;
  --muted: #64748b;
  --line: #e0e6ef;
  --surface: #fff;
  --page: #f9fafc;
  --amber: #89520b;
  --amber-bg: #fff6e9;
  --shadow: 0 12px 36px rgba(20, 45, 89, .08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; color: var(--ink); background: var(--page); font-size: 1rem; line-height: 1.6; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #d39837; outline-offset: 3px; }
[hidden] { display: none !important; }
.container { width: min(1160px, calc(100% - 2.5rem)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 10; top: .5rem; left: .5rem; padding: .65rem 1rem; transform: translateY(-150%); color: white; background: var(--green-950); border-radius: .4rem; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; z-index: 5; top: 0; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-logo { display: block; width: 38px; height: 38px; flex: 0 0 38px; }
.brand-copy { display: grid; line-height: 1.22; }
.brand-copy strong { color: var(--green-950); font-size: 1.06rem; letter-spacing: -.035em; }
.brand-copy strong span { color: var(--green-700); }
.brand-copy small { margin-top: .2rem; color: var(--muted); font-size: .69rem; letter-spacing: .015em; }
.primary-nav { display: flex; align-items: center; gap: 1.55rem; }
.primary-nav a { color: #405148; font-size: .88rem; font-weight: 650; text-decoration: none; }
.primary-nav a:hover, .footer-links a:hover { color: var(--green-700); }
.primary-nav > a:not(.nav-about) { position: relative; }
.primary-nav > a:not(.nav-about)::after { position: absolute; right: 0; bottom: -.35rem; left: 0; height: 2px; background: #f7931e; content: ""; transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.primary-nav > a:not(.nav-about):hover::after, .primary-nav > a:not(.nav-about):focus-visible::after { transform: scaleX(1); }
.primary-nav .nav-about { padding: .58rem .9rem; color: var(--green-900); border: 1px solid var(--line); border-radius: .55rem; }
.nav-more { position: relative; color: #405148; font-size: .88rem; font-weight: 650; }
.nav-more summary { padding-block: .4rem; cursor: pointer; list-style: none; }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary::after { margin-left: .25rem; color: var(--green-700); content: "⌄"; }
.nav-more-menu { position: absolute; z-index: 8; top: calc(100% + .5rem); right: 0; display: grid; width: 220px; padding: .45rem; background: white; border: 1px solid var(--line); border-radius: .65rem; box-shadow: var(--shadow); }
.nav-more-menu a { padding: .6rem .65rem; border-radius: .35rem; font-size: .82rem; }
.nav-more-menu a:hover { background: var(--green-50); }
.nav-preferences { display: flex; align-items: center; gap: .5rem; }
.nav-preferences label { display: grid; gap: .12rem; color: var(--muted); font-size: .61rem; font-weight: 700; line-height: 1.2; }
.nav-preferences select { max-width: 122px; min-height: 34px; padding: .25rem 1.35rem .25rem .45rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: .45rem; font-size: .72rem; }
.menu-toggle { display: none; padding: .5rem .7rem; color: var(--green-950); background: white; border: 1px solid var(--line); border-radius: .5rem; }
.menu-icon { margin-right: .35rem; }
.hero { overflow: hidden; color: white; background: radial-gradient(ellipse at 87% 16%, rgba(247, 147, 30, .17), transparent 34%), linear-gradient(120deg, #142d59 5%, #1d3e73 57%, #28518c 100%); background-size: 150% 150%; animation: hero-drift 22s ease-in-out infinite alternate; }
@keyframes hero-drift { to { background-position: 100% 40%; } }
.hero-inner { display: grid; grid-template-columns: 1.45fr .75fr; align-items: center; gap: 3.5rem; min-height: 440px; padding-block: 4rem; }
.eyebrow { display: flex; align-items: center; gap: .5rem; margin: 0 0 .9rem; color: #d8eade; font-size: .75rem; font-weight: 760; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; background: #a8d2ad; border-radius: 50%; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(2.2rem, 4.4vw, 3.75rem); line-height: 1.24; letter-spacing: -.035em; }
.hero h1 span { color: #ffd39c; }
.hero-description { max-width: 570px; margin: 1.35rem 0 1.7rem; color: #e1eee5; font-size: 1.03rem; line-height: 1.75; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: .5rem; padding: .64rem 1.05rem; border: 1px solid transparent; border-radius: .55rem; font-size: .88rem; font-weight: 720; text-decoration: none; transition: background-color .16s ease, transform .16s ease; }
.button:hover { transform: translateY(-1px); }
.button-light { color: var(--green-950); background: white; }
.button-light:hover { background: #eef5ef; }
.button-primary { color: white; background: var(--green-800); }
.button-primary:hover { background: var(--green-950); }
.button-outline { color: var(--green-900); background: white; border-color: #cad9ce; }
.button-outline:hover { background: var(--green-50); }
.hero-note { display: flex; align-items: flex-start; gap: 1rem; padding: 1.35rem; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.2); border-radius: .9rem; }
.note-icon { display: grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; color: var(--green-950); background: #ffd39c; border-radius: 50%; font-size: .85rem; font-weight: 850; }
.hero-note strong { font-size: .95rem; }
.hero-note p { margin: .45rem 0 0; color: #dfebe1; font-size: .87rem; line-height: 1.65; }
.directory-section, .tools-section, .official-section { padding-block: 5rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.6rem; }
.eyebrow-green { margin-bottom: .42rem; color: var(--green-700); }
.section-heading h2, .official-inner h2 { margin: 0; color: var(--green-950); font-size: clamp(1.8rem, 3vw, 2.45rem); line-height: 1.2; letter-spacing: -.045em; }
.heading-note { max-width: 420px; margin: 0 0 .15rem; color: var(--muted); font-size: .87rem; }
.search-panel { display: flex; gap: .65rem; padding: .7rem; background: white; border: 1px solid var(--line); border-radius: .8rem; box-shadow: 0 6px 20px rgba(20,45,89,.04); transition: box-shadow .18s ease, border-color .18s ease; }
.search-panel:focus-within { border-color: #a6b8d5; box-shadow: 0 0 0 3px rgba(29,62,115,.1); }
.search-field, .filter-field { display: flex; min-width: 0; align-items: center; gap: .55rem; }
.search-field { flex: 1; padding-inline: .75rem; color: var(--green-700); }
.search-field > span:not(.visually-hidden) { font-size: 1.4rem; line-height: 1; }
.search-field input, .filter-field select { width: 100%; min-height: 42px; color: var(--ink); background: transparent; border: 0; outline: 0; }
.filter-field { width: 220px; padding-inline: .65rem; border-left: 1px solid var(--line); }
.filter-field select { font-size: .87rem; }
.search-status { min-height: 1.25rem; margin: .5rem 0 .7rem; color: var(--muted); font-size: .78rem; }
.update-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.update-card { min-height: 230px; padding: 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: .8rem; box-shadow: 0 4px 14px rgba(20,45,89,.035); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.update-card:hover { transform: translateY(-3px); border-color: #c2cee0; box-shadow: var(--shadow); }
.update-card-featured { grid-column: span 2; background: linear-gradient(135deg, #fff 15%, #f1f4fa 100%); border-color: #c8d4e6; }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.category-icon { display: grid; width: 35px; height: 35px; place-items: center; color: var(--green-800); background: var(--green-100); border-radius: .55rem; font-size: 1.03rem; font-weight: 750; transition: transform .18s ease; }
.update-card:hover .category-icon { transform: translateY(-2px) rotate(-5deg); }
.status-pill { display: inline-flex; align-items: center; padding: .22rem .55rem; border-radius: 99px; font-size: .66rem; font-weight: 750; white-space: nowrap; }
.status-muted { color: #58685e; background: #eef1ee; }
.update-card h3 { margin: 1rem 0 .42rem; color: var(--green-950); font-size: 1.05rem; letter-spacing: -.018em; }
.update-card p { margin: 0 0 1rem; color: var(--muted); font-size: .83rem; line-height: 1.62; }
.text-link { display: inline-flex; align-items: center; gap: .36rem; color: var(--green-800); font-size: .82rem; font-weight: 720; text-decoration: none; }
.text-link:hover { color: var(--green-950); text-decoration: underline; text-underline-offset: 3px; }
.no-search-results { padding: 1.5rem; color: var(--muted); text-align: center; background: white; border: 1px dashed #cbd8ce; border-radius: .7rem; }
.feed-note { margin: 1.15rem 0 0; color: var(--muted); font-size: .76rem; }
.feed-note.is-loading { position: relative; width: min(100%, 420px); min-height: 1.4rem; overflow: hidden; color: transparent; background: linear-gradient(90deg, #edf1f5 20%, #f7f8fa 40%, #edf1f5 60%); background-size: 200% 100%; border-radius: .25rem; animation: skeleton-shimmer 1.5s ease-in-out infinite; }
.feed-note.is-loading::after { position: absolute; inset: 0; padding: .02rem .4rem; color: var(--muted); background: transparent; content: "Checking the Worker feed…"; font-size: .76rem; }
@keyframes skeleton-shimmer { to { background-position-x: -200%; } }
.source-directory { margin-top: 2.8rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: .8rem; }
.source-directory .section-heading { margin-bottom: .8rem; }
.source-directory-status { margin: .6rem 0 1rem; color: var(--muted); font-size: .78rem; }
.source-directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.source-group { min-width: 0; padding: 1rem; background: var(--page); border: 1px solid var(--line); border-radius: .65rem; }
.source-group h3 { margin: 0 0 .75rem; color: var(--green-950); font-size: 1rem; }
.source-list { display: grid; gap: .85rem; margin: 0; padding: 0; list-style: none; }
.source-list li { display: grid; gap: .2rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.source-list li:first-child { padding-top: 0; border-top: 0; }
.source-list li > strong { color: var(--ink); font-size: .87rem; }
.source-authority { color: var(--muted); font-size: .7rem; }
.source-list p { margin: .15rem 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.source-list a { width: fit-content; color: var(--green-800); font-size: .77rem; font-weight: 700; text-underline-offset: 3px; }
.ad-placeholder { display: grid; min-height: 90px; align-content: center; justify-items: center; gap: .2rem; margin-block: 0 3.5rem; color: #65736a; background: #f6f8f6; border: 1px dashed #cbd8ce; border-radius: .5rem; text-align: center; }
.ad-placeholder span { font-size: .75rem; font-weight: 750; }
.ad-placeholder small { font-size: .7rem; }
.ad-placeholder .text-link { margin-top: .3rem; }
.tools-section { background: #f3f6fb; border-block: 1px solid #e4eaf4; }
.tools-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: 1.7rem; }
.tool-card { align-self: start; background: white; border: 1px solid var(--line); border-radius: .75rem; }
.tool-card summary { display: flex; min-height: 88px; align-items: center; gap: 1rem; padding: 1rem 1.2rem; cursor: pointer; list-style: none; }
.tool-card summary::-webkit-details-marker { display: none; }
.tool-number { color: #53698f; font-size: .78rem; font-weight: 800; }
.tool-card summary strong, .tool-card summary small { display: block; }
.tool-card summary strong { color: var(--green-950); font-size: .96rem; }
.tool-card summary small { margin-top: .15rem; color: var(--muted); font-size: .77rem; }
.summary-plus { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; margin-left: auto; color: var(--green-800); background: var(--green-50); border-radius: 50%; font-size: 1.25rem; transition: transform .16s ease; }
.tool-card[open] .summary-plus { transform: rotate(45deg); }
.tool-form { display: grid; gap: .75rem; padding: 0 1.2rem 1.2rem; border-top: 1px solid #edf1ed; }
.tool-form > label, .form-row > label { display: grid; gap: .3rem; color: #425249; font-size: .77rem; font-weight: 680; }
.tool-form input:not([type="checkbox"]), .tool-form select, .tool-form textarea { width: 100%; min-height: 40px; padding: .5rem .65rem; color: var(--ink); background: white; border: 1px solid #cbd8ce; border-radius: .4rem; font-size: .84rem; }
.tool-form textarea { resize: vertical; }
.tool-form input[type="file"] { padding: .4rem; }
.tool-form button { justify-self: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.tool-output { margin: 0; padding: .7rem; color: #46564c; background: var(--green-50); border-radius: .4rem; font-size: .8rem; }
.tool-output:empty { display: none; }
.privacy-hint { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.55; }
.check-label { display: flex !important; grid-template-columns: auto 1fr; align-items: start; gap: .55rem !important; color: #425249; font-size: .81rem !important; font-weight: 500 !important; }
.check-label input { margin-top: .25rem; accent-color: var(--green-800); }
.resume-preview { padding: .9rem; background: #fbfcfa; border: 1px solid var(--line); border-radius: .5rem; }
.resume-preview h3 { margin: 0 0 .5rem; color: var(--green-950); font-size: .92rem; }
.resume-preview pre { overflow-wrap: anywhere; white-space: pre-wrap; font-family: inherit; font-size: .8rem; }
.resume-preview .privacy-hint { margin-top: .65rem; }
.resume-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.guides-section { padding-block: 4.25rem; background: white; border-bottom: 1px solid var(--line); }
.guides-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 2.5rem; }
.guides-grid h2, .media-panel h2 { margin: 0; color: var(--green-950); font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.2; letter-spacing: -.04em; }
.guides-grid > div > p:not(.eyebrow) { max-width: 620px; margin: .85rem 0 1.2rem; color: var(--muted); }
.guide-note { display: flex; gap: .8rem; padding: 1.2rem; background: #fff7ec; border: 1px solid #f3dfc4; border-radius: .75rem; }
.guide-note-icon { display: grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; color: #784806; background: #ffe3bd; border-radius: 50%; font-weight: 800; }
.guide-note p { margin: 0; color: #6a542f; font-size: .84rem; line-height: 1.65; }
.media-section { padding-block: 3rem; }
.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.media-panel { min-height: 230px; padding: 1.45rem; background: white; border: 1px solid var(--line); border-radius: .8rem; }
.media-panel > p:not(.eyebrow) { max-width: 520px; margin: .8rem 0 1rem; color: var(--muted); font-size: .86rem; }
.media-panel-international { border-top: 3px solid #d9e2f2; }
.official-section { background: white; }
.official-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.section-intro { max-width: 445px; margin: 1rem 0 0; color: var(--muted); font-size: .9rem; }
.official-links { border-top: 1px solid var(--line); }
.official-links a { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 1rem; color: #33463a; border-bottom: 1px solid var(--line); font-size: .88rem; font-weight: 620; text-decoration: none; }
.official-links a:hover { color: var(--green-700); }
.trust-section { padding-block: 2rem; background: var(--green-50); border-block: 1px solid #e1ebe3; }
.trust-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; }
.trust-symbol { display: grid; width: 42px; height: 42px; place-items: center; color: var(--green-800); background: #dcecdf; border-radius: 50%; font-weight: 850; }
.trust-inner h2 { margin: 0 0 .25rem; color: var(--green-950); font-size: 1rem; }
.trust-inner p { max-width: 770px; margin: 0; color: var(--muted); font-size: .8rem; }
.site-footer { color: #e3e9f3; background: #142d59; }
.footer-main { display: grid; grid-template-columns: minmax(230px, 1fr) repeat(3, auto); gap: 3rem; padding-block: 3rem; }
.brand-footer .brand-copy strong { color: white; }
.brand-footer .brand-copy strong span { color: #ffd39c; }
.brand-footer .brand-copy small { color: #c8d4e6; }
.footer-brand > p { max-width: 290px; margin: .9rem 0 0; color: #c8d4e6; font-size: .78rem; }
.footer-links { display: grid; align-content: start; gap: .45rem; min-width: 145px; }
.footer-links strong { margin-bottom: .3rem; color: white; font-size: .83rem; }
.footer-links a { color: #c8d4e6; font-size: .78rem; text-decoration: none; }
.verified-job-list { display: grid; gap: .8rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.verified-job-list li { display: grid; gap: .25rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.verified-job-list li > span, .verified-job-list li > p { margin: 0; color: var(--muted); font-size: .84rem; }
.verified-job-list .text-link { margin-top: .2rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1rem; color: #c8d4e6; border-top: 1px solid rgba(255,255,255,.15); font-size: .72rem; }

.legal-main { min-height: 65vh; padding-block: 3.5rem 5rem; }
.legal-wrap { max-width: 820px; }
.breadcrumb { margin: 0 0 1.4rem; color: var(--muted); font-size: .8rem; }
.breadcrumb a { color: var(--green-800); text-decoration: none; }
.legal-wrap h1 { margin: 0 0 .6rem; color: var(--green-950); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; letter-spacing: -.045em; }
.legal-updated { margin: 0 0 2rem; color: var(--muted); font-size: .8rem; }
.legal-wrap h2 { margin: 2rem 0 .55rem; color: var(--green-950); font-size: 1.22rem; }
.legal-wrap p, .legal-wrap li { color: #46564c; font-size: .93rem; }
.legal-wrap ul { padding-left: 1.25rem; }
.legal-notice { margin: 1.3rem 0; padding: 1rem 1.1rem; color: #634d27; background: var(--amber-bg); border: 1px solid #f0dfb9; border-radius: .55rem; font-size: .86rem; }
.legal-wrap a { color: var(--green-800); }
.official-statement { padding: 1.1rem; color: var(--green-950) !important; background: var(--green-50); border-left: 4px solid var(--green-700); font-weight: 700; }
.article-main { padding-block: 2rem 5rem; }
.article-container { max-width: 1160px; }
.article-header { max-width: 900px; margin: 0 auto; padding-block: 1.1rem 1.6rem; }
.article-header h1 { max-width: 850px; margin: 0; color: var(--green-950); font-size: clamp(2.1rem, 4.5vw, 3.7rem); line-height: 1.1; letter-spacing: -.045em; }
.article-deck { max-width: 760px; margin: 1rem 0; color: #46556b; font-size: 1.08rem; line-height: 1.7; }
.article-byline { display: flex; flex-wrap: wrap; gap: .55rem 1.2rem; color: var(--muted); font-size: .77rem; }
.article-warning { max-width: 900px; margin: 0 auto 1.7rem; padding: .9rem 1.1rem; color: #694a1d; background: #fff7ec; border-left: 4px solid #f7931e; font-size: .86rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 780px) minmax(220px, 280px); justify-content: center; align-items: start; gap: 2.5rem; }
.article-body { min-width: 0; color: #334155; }
.article-body > section { margin-block: 2rem; scroll-margin-top: 6rem; }
.article-body h2 { margin: 0 0 .75rem; color: var(--green-950); font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.3; letter-spacing: -.025em; }
.article-body h3 { margin: 1.2rem 0 .35rem; color: var(--green-950); font-size: 1.05rem; }
.article-body p, .article-body li { font-size: .98rem; line-height: 1.78; }
.article-body p { margin: .55rem 0 1rem; }
.article-body li { margin-block: .4rem; }
.article-body a { color: var(--green-800); text-underline-offset: 3px; }
.article-toc { margin-block: 1.5rem 2rem; padding: 1.1rem 1.25rem; background: var(--green-50); border: 1px solid var(--line); border-radius: .7rem; }
.article-toc h2 { margin: 0 0 .35rem; font-size: 1rem; }
.article-toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1.3rem; margin: .35rem 0 0; padding-left: 1.25rem; }
.article-toc li { margin: 0; color: var(--green-700); font-size: .83rem; }
.article-toc a { color: var(--green-800); text-decoration: none; }
.article-toc a:hover { text-decoration: underline; }
.article-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: .6rem; }
.article-table-wrap table { width: 100%; min-width: 560px; border-collapse: collapse; background: white; font-size: .84rem; }
.article-table-wrap caption { padding: .75rem; color: var(--muted); text-align: left; background: var(--green-50); font-size: .8rem; }
.article-table-wrap th, .article-table-wrap td { padding: .7rem .8rem; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-table-wrap thead th { color: var(--green-950); background: #f8f9fc; }
.article-table-wrap tbody th { min-width: 140px; color: #334155; }
.article-aside { position: sticky; top: 6rem; padding: 1.15rem; background: white; border: 1px solid var(--line); border-radius: .7rem; }
.article-aside h2 { margin: 0; color: var(--green-950); font-size: 1.05rem; }
.article-aside ul { display: grid; gap: .45rem; padding-left: 1.15rem; color: #475569; font-size: .82rem; }
.article-aside nav a { color: var(--green-800); text-decoration: none; }
.article-aside nav a:hover { text-decoration: underline; }
.article-aside .button { width: 100%; }
.article-aside p { margin: .9rem 0 0; color: var(--muted); font-size: .78rem; }
.article-disclaimer { margin-block: 2rem; padding: 1rem; color: #475569; background: var(--green-50); border: 1px solid var(--line); border-radius: .6rem; font-size: .82rem; line-height: 1.65; }
.video-empty { display: flex; gap: 1rem; margin-block: 1.5rem 2.4rem; padding: 1.25rem; background: var(--green-50); border: 1px solid var(--line); border-radius: .75rem; }
.video-empty-icon { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; color: var(--green-800); background: white; border: 1px solid var(--line); border-radius: 50%; font-size: .85rem; }
.video-empty h2 { margin: 0; color: var(--green-950); font-size: 1.1rem; }
.video-empty p { margin: .4rem 0 0; color: var(--muted); font-size: .88rem; }

@media (max-width: 900px) {
  .primary-nav { gap: 1rem; }
  .hero-inner { gap: 2rem; }
  .update-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .official-inner { gap: 2rem; }
  .footer-main { gap: 2.5rem; }
  .header-inner { position: relative; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .primary-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: .45rem 1rem .85rem; background: white; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 .7rem .7rem; box-shadow: 0 10px 16px rgba(20,45,89,.08); }
  .primary-nav.is-open { display: grid; }
  .primary-nav a { padding: .65rem .2rem; }
  .primary-nav .nav-about { padding: .65rem .7rem; margin-top: .35rem; }
  .nav-preferences { justify-content: flex-start; gap: .9rem; padding-top: .65rem; border-top: 1px solid var(--line); }
  .nav-preferences select { min-width: 140px; max-width: none; min-height: 40px; font-size: .82rem; }
  .nav-more { padding: .45rem .2rem; }
  .nav-more[open] .nav-more-menu { position: static; width: auto; margin-top: .25rem; padding: .25rem .6rem; border: 0; box-shadow: none; }
  .nav-more-menu a { padding: .55rem; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .article-aside { position: static; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 4.5rem; }
  .container { width: min(100% - 2rem, 560px); }
  .header-inner { min-height: 66px; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .primary-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: .45rem 1rem .85rem; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 10px 16px rgba(16,59,44,.08); }
  .primary-nav.is-open { display: grid; }
  .primary-nav a { padding: .72rem .2rem; }
  .primary-nav .nav-about { padding: .65rem .7rem; margin-top: .35rem; }
  .nav-preferences { flex-wrap: wrap; }
  .primary-nav { max-height: min(75vh, 520px); overflow-y: auto; }
  .nav-more { padding: .45rem .2rem; }
  .nav-more[open] .nav-more-menu { position: static; width: auto; margin-top: .25rem; padding: .25rem .6rem; border: 0; box-shadow: none; }
  .nav-more-menu a { padding: .55rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; min-height: 0; padding-block: 3.3rem; }
  .hero h1 { font-size: clamp(2.45rem, 11vw, 3.35rem); }
  .hero-description { font-size: .95rem; }
  .hero-note { max-width: 500px; }
  .directory-section, .tools-section, .official-section { padding-block: 3.5rem; }
  .section-heading { display: block; margin-bottom: 1.25rem; }
  .heading-note { margin-top: .75rem; }
  .search-panel { display: grid; grid-template-columns: 1fr auto; gap: .55rem; }
  .search-field { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .filter-field { width: auto; padding-left: .2rem; border-left: 0; }
  .search-panel .button { align-self: center; }
  .update-grid, .tools-grid { grid-template-columns: 1fr; }
  .source-directory { padding: 1rem; }
  .source-directory-grid { grid-template-columns: 1fr; }
  .update-card { min-height: 0; }
  .update-card-featured { grid-column: auto; }
  .official-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .trust-inner { grid-template-columns: auto 1fr; }
  .trust-inner > .text-link { grid-column: 2; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; padding-block: 2.4rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { display: grid; gap: .35rem; }
  .legal-main { padding-block: 2.5rem 3.5rem; }
  .guides-grid, .media-grid { grid-template-columns: 1fr; gap: 1rem; }
  .media-panel { min-height: 0; }
  .article-main { padding-block: 1rem 3.5rem; }
  .article-toc ol { grid-template-columns: 1fr; }
  .article-body p, .article-body li { font-size: .94rem; }
  .video-empty { padding: .9rem; }
}
@media (min-width: 681px) and (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .footer-brand { grid-column: 1 / -1; }
}

:root[data-theme="morning"] {
  --green-950: #503a22;
  --green-900: #72502b;
  --green-800: #835622;
  --green-700: #b65f13;
  --green-100: #f7e9d3;
  --green-50: #fff8eb;
  --ink: #332719;
  --muted: #78654e;
  --line: #eadcc7;
  --surface: #fffdf8;
  --page: #fff9ef;
  --shadow: 0 12px 36px rgba(91, 57, 17, .1);
}
:root[data-theme="night"] {
  color-scheme: dark;
  --green-950: #e5ecfb;
  --green-900: #d4dff4;
  --green-800: #b8c9eb;
  --green-700: #f3b36c;
  --green-100: #29364c;
  --green-50: #202b3e;
  --ink: #e6eaf2;
  --muted: #a8b3c5;
  --line: #354258;
  --surface: #1b2638;
  --page: #111a29;
  --amber: #f6c77e;
  --amber-bg: #382f25;
  --shadow: 0 12px 36px rgba(0, 0, 0, .25);
}
:root[data-theme="night"] body { color: var(--ink); }
:root[data-theme="night"] .site-header,
:root[data-theme="night"] .primary-nav,
:root[data-theme="night"] .nav-more-menu,
:root[data-theme="night"] .menu-toggle,
:root[data-theme="night"] .search-panel,
:root[data-theme="night"] .no-search-results,
:root[data-theme="night"] .tool-card,
:root[data-theme="night"] .tool-form input:not([type="checkbox"]),
:root[data-theme="night"] .tool-form select,
:root[data-theme="night"] .tool-form textarea,
:root[data-theme="night"] .guides-section,
:root[data-theme="night"] .media-panel,
:root[data-theme="night"] .official-section,
:root[data-theme="night"] .article-aside,
:root[data-theme="night"] .article-table-wrap table,
:root[data-theme="night"] .article-table-wrap thead th { background-color: var(--surface); }
:root[data-theme="night"] .site-header { background-color: rgba(27, 38, 56, .96); }
:root[data-theme="night"] .tools-section { background: #151f30; border-color: var(--line); }
:root[data-theme="night"] .update-card-featured { background: linear-gradient(135deg, #202d42 15%, #1a2638 100%); border-color: var(--line); }
:root[data-theme="night"] .button-primary { color: #111a29; background: #b8c9eb; }
:root[data-theme="night"] .button-primary:hover { background: #e5ecfb; }
:root[data-theme="night"] .button-outline { color: var(--ink); background: var(--surface); border-color: var(--line); }
:root[data-theme="night"] .button-light { color: #142d59; background: #fff; }
:root[data-theme="night"] .trust-symbol { color: #e5ecfb; background: #29364c; }
:root[data-theme="night"] .ad-placeholder { color: var(--muted); background: #202b3e; border-color: var(--line); }
:root[data-theme="night"] .article-table-wrap caption { color: var(--muted); background: var(--green-50); }
:root[data-theme="night"] .primary-nav a,
:root[data-theme="night"] .nav-more,
:root[data-theme="night"] .legal-wrap p,
:root[data-theme="night"] .legal-wrap li,
:root[data-theme="night"] .article-body,
:root[data-theme="night"] .article-body p,
:root[data-theme="night"] .article-body li,
:root[data-theme="night"] .article-deck,
:root[data-theme="night"] .article-table-wrap tbody th,
:root[data-theme="night"] .official-links a,
:root[data-theme="night"] .tool-form > label,
:root[data-theme="night"] .form-row > label,
:root[data-theme="night"] .check-label,
:root[data-theme="night"] .tool-output { color: var(--ink); }
:root[data-theme="night"] .article-warning,
:root[data-theme="night"] .guide-note,
:root[data-theme="night"] .legal-notice { color: #f3d5a3; background: #382f25; border-color: #665038; }
:root[data-theme="night"] .guide-note p { color: #e7d4b5; }
:root[data-theme="night"] .article-disclaimer,
:root[data-theme="night"] .article-toc,
:root[data-theme="night"] .tool-output,
:root[data-theme="night"] .resume-preview { background: var(--green-50); }
:root[data-theme="night"] .tool-form { border-color: var(--line); }
:root[data-theme="night"] .resume-preview { background: var(--surface); }
:root[data-theme="night"] .status-muted { color: #d2d9e5; background: #303b4b; }
:root[data-theme="night"] .brand-logo { filter: brightness(1.22); }
@media (max-width: 360px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-links { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .update-card:hover .category-icon { transform: none; }
}
@media print {
  body.printing-resume > * { visibility: hidden; }
  body.printing-resume #resume-preview, body.printing-resume #resume-preview * { visibility: visible; }
  body.printing-resume #resume-preview { position: fixed; inset: 0; overflow: visible; padding: 1.5cm; color: #172033; background: white; border: 0; }
  body.printing-resume #resume-preview pre { font-size: 11pt; }
  body.printing-resume .resume-actions, body.printing-resume .privacy-hint { display: none; }
}
.reveal { transition: opacity .32s ease, transform .32s ease; }
.reveal-ready .reveal:not(.is-revealed) { opacity: 0; transform: translateY(12px); }
