/* CitizenGuide v0.12.9 — DMW eRegistration intent UX */
.ereg-intent-panel{margin:24px 0 22px;padding:24px;border:1px solid #cfe2e6;border-radius:18px;background:linear-gradient(145deg,#f5fbfc 0%,#eef8fa 100%);box-shadow:0 14px 34px rgba(16,49,78,.06)}
.ereg-intent-heading{max-width:760px;margin-bottom:18px}.ereg-kicker{display:block;margin-bottom:5px;color:#0c8984;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.ereg-intent-heading h2{margin:0 0 6px;font-size:26px;line-height:1.2;font-weight:500}.ereg-intent-heading p{margin:0;color:#53687d;font-size:15px;line-height:1.55}
.ereg-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ereg-action-card{display:grid;grid-template-columns:44px minmax(0,1fr) auto;grid-template-areas:"icon copy go";align-items:center;gap:12px;min-height:94px;padding:15px 16px;border:1px solid #d7e5e9;border-radius:14px;background:#fff;color:#0b2f56;text-decoration:none;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.ereg-action-card:hover{border-color:#87c9c7;box-shadow:0 10px 24px rgba(12,70,99,.08);transform:translateY(-1px)}.ereg-action-card.is-primary{border-color:#b7d9df;background:#fff}.ereg-action-icon{grid-area:icon;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#e5f6f5;color:#098b85}.ereg-action-icon svg{width:22px;height:22px}.ereg-action-copy{grid-area:copy;min-width:0}.ereg-action-copy strong{display:block;margin-bottom:3px;font-size:15px;font-weight:600;line-height:1.3}.ereg-action-copy small{display:block;color:#60768a;font-size:12.5px;line-height:1.4}.ereg-action-go{grid-area:go;color:#087f7a;font-size:12.5px;font-weight:600;white-space:nowrap}
.ereg-fact-row{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:16px;padding-top:15px;border-top:1px solid #d6e7ea;color:#415b71;font-size:13px}.ereg-fact-row span{display:inline-flex;align-items:center;gap:6px}.ereg-fact-row svg{width:16px;height:16px;color:#0a918a}.ereg-fact-row b{color:#173c60;font-weight:600}
.ereg-help-section{margin:34px 0 8px;padding-top:30px;border-top:1px solid #dfe8ed}.ereg-help-section>h2{margin:3px 0 18px}.ereg-help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ereg-help-grid article{padding:20px;border:1px solid #dce7eb;border-radius:16px;background:#fff}.ereg-help-icon{display:grid;place-items:center;width:40px;height:40px;margin-bottom:12px;border-radius:11px;background:#e8f7f6;color:#078983}.ereg-help-icon svg{width:21px;height:21px}.ereg-help-grid h3{margin:0 0 8px;font-size:18px;font-weight:500}.ereg-help-grid p{margin:0 0 12px;color:#53697d;font-size:14px;line-height:1.6}.ereg-help-grid a{font-size:13px;font-weight:600;color:#087f7a;text-decoration:none}.ereg-help-grid a:hover{text-decoration:underline}
.ereg-next-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.ereg-next-steps>div{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;padding:15px 16px;border-radius:14px;background:#f3f8fb;border:1px solid #dfe8ed}.ereg-next-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#fff;color:#0a8782}.ereg-next-icon svg{width:20px;height:20px}.ereg-next-steps strong{display:block;font-size:14px;font-weight:600;color:#163c61}.ereg-next-steps small{display:block;margin-top:2px;color:#60768a;font-size:12px;line-height:1.4}.ereg-next-steps a{font-size:12.5px;font-weight:600;color:#087f7a;text-decoration:none;white-space:nowrap}
html[data-theme="dark"] .ereg-intent-panel{border-color:#24465c;background:linear-gradient(145deg,#102d45,#12334c)}html[data-theme="dark"] .ereg-intent-heading p,html[data-theme="dark"] .ereg-action-copy small,html[data-theme="dark"] .ereg-fact-row,html[data-theme="dark"] .ereg-help-grid p,html[data-theme="dark"] .ereg-next-steps small{color:#adc0cf}html[data-theme="dark"] .ereg-action-card,html[data-theme="dark"] .ereg-help-grid article{border-color:#2a4b60;background:#102d45;color:#eaf4fb}html[data-theme="dark"] .ereg-action-icon,html[data-theme="dark"] .ereg-help-icon{background:#153e4e}html[data-theme="dark"] .ereg-fact-row{border-color:#315064}html[data-theme="dark"] .ereg-fact-row b,html[data-theme="dark"] .ereg-next-steps strong{color:#eaf4fb}html[data-theme="dark"] .ereg-help-section{border-color:#29495c}html[data-theme="dark"] .ereg-next-steps>div{border-color:#29495c;background:#102d45}
@media(max-width:900px){.ereg-action-grid,.ereg-help-grid{grid-template-columns:1fr}.ereg-next-steps{grid-template-columns:1fr}.ereg-action-card{grid-template-columns:42px minmax(0,1fr);grid-template-areas:"icon copy" "icon go"}.ereg-action-go{white-space:normal}}
@media(max-width:600px){.ereg-intent-panel{margin:18px 0;padding:18px;border-radius:16px}.ereg-intent-heading h2{font-size:23px}.ereg-action-card{min-height:0;padding:14px}.ereg-fact-row{display:grid;gap:9px}.ereg-help-section{margin-top:28px;padding-top:24px}.ereg-help-grid article{padding:17px}.ereg-next-steps>div{grid-template-columns:36px minmax(0,1fr);}.ereg-next-steps a{grid-column:2;white-space:normal}}

/* v0.13.2 — visitor UX polish for the high-impression eRegistration guide */
.ereg-action-card.is-primary{border-color:#12395f;background:#0d3157;color:#fff;box-shadow:0 12px 26px rgba(9,43,76,.14)}
.ereg-action-card.is-primary:hover{border-color:#0d3157;box-shadow:0 15px 32px rgba(9,43,76,.2)}
.ereg-action-card.is-primary .ereg-action-icon{background:#dff7f4;color:#078a84}
.ereg-action-card.is-primary .ereg-action-copy strong,.ereg-action-card.is-primary .ereg-action-go{color:#fff}
.ereg-action-card.is-primary .ereg-action-copy small{color:#d5e4ef}

.ereg-returning-strip{display:flex;align-items:center;gap:14px;margin-top:14px;padding:11px 13px;border:1px solid #d8e6ea;border-radius:12px;background:rgba(255,255,255,.72);color:#27455f;font-size:13px}
.ereg-returning-strip>strong{flex:0 0 auto;color:#153b60;font-weight:600}
.ereg-returning-links{display:flex;flex-wrap:wrap;gap:7px}
.ereg-returning-links a{display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border:1px solid #d2e2e7;border-radius:999px;background:#fff;color:#087f7a;font-size:12.5px;font-weight:600;text-decoration:none}
.ereg-returning-links a:hover{border-color:#86c9c6;background:#f2fbfa;text-decoration:none}

/* Keep the long TOC useful without making the first screen feel overwhelming. */
.toc-card.is-ereg-compact:not(.is-expanded) .toc-list-v2>li:nth-child(n+8){display:none}
.ereg-toc-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding:10px 12px;border:1px solid #dbe7eb;border-radius:10px;background:#f7fbfc;color:#153b60;font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}
.ereg-toc-toggle small{color:#718599;font-size:11.5px;font-weight:500}
.ereg-toc-toggle:hover{border-color:#9ccfce;background:#eff9f8}

/* Display-only content treatments: same words, easier scanning. */
.guide-entry-content .ereg-content-callout{position:relative;margin:18px 0;padding:15px 16px 15px 48px;border:1px solid #bfe2de;border-radius:13px;background:#f0fbf9;color:#234a5f}
.guide-entry-content .ereg-content-callout::before{content:"!";position:absolute;left:15px;top:15px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#d8f5f1;color:#078a84;font-size:14px;font-weight:700}
.guide-entry-content .ereg-content-callout.is-email::before{content:"@"}
.guide-entry-content .ereg-content-callout strong{color:#123b5f}

.guide-entry-content .ereg-number-checklist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0 24px;padding:0;list-style:none}
.guide-entry-content .ereg-number-checklist li{position:relative;margin:0;padding:13px 13px 13px 38px;border:1px solid #d9e8eb;border-radius:12px;background:#f8fbfc;line-height:1.45}
.guide-entry-content .ereg-number-checklist li::before{content:"✓";position:absolute;left:13px;top:13px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#dcf5f2;color:#078a84;font-size:11px;font-weight:700}

.guide-entry-content .ereg-troubleshoot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0 28px;padding:0;list-style:none}
.guide-entry-content .ereg-troubleshoot-grid li{margin:0;padding:14px 15px;border:1px solid #dce7eb;border-radius:13px;background:#fff;line-height:1.55;box-shadow:0 5px 16px rgba(17,56,81,.035)}
.guide-entry-content .ereg-troubleshoot-grid li strong{display:block;margin-bottom:3px;color:#153b60;font-weight:600}

.guide-entry-content .ereg-warning-heading{margin-bottom:0!important;padding:15px 16px 8px;border:1px solid #eed9bf;border-bottom:0;border-radius:14px 14px 0 0;background:#fff9f1}
.guide-entry-content .ereg-warning-heading+.ereg-warning-copy{margin-top:0;padding:5px 16px 15px;border:1px solid #eed9bf;border-top:0;border-radius:0 0 14px 14px;background:#fff9f1;color:#5b4a37}

html[data-theme="dark"] .ereg-action-card.is-primary{border-color:#3b6f8d;background:#0b2946}
html[data-theme="dark"] .ereg-returning-strip{border-color:#2c4c60;background:#102d45;color:#b8cad7}
html[data-theme="dark"] .ereg-returning-strip>strong{color:#edf6fb}
html[data-theme="dark"] .ereg-returning-links a{border-color:#31566b;background:#17384f;color:#72ddd5}
html[data-theme="dark"] .ereg-toc-toggle{border-color:#2b4c60;background:#12334a;color:#eaf4fb}
html[data-theme="dark"] .ereg-toc-toggle small{color:#a9bdcb}
html[data-theme="dark"] .guide-entry-content .ereg-content-callout{border-color:#285b60;background:#102f42;color:#c0d2dd}
html[data-theme="dark"] .guide-entry-content .ereg-content-callout strong{color:#eff8fb}
html[data-theme="dark"] .guide-entry-content .ereg-number-checklist li,html[data-theme="dark"] .guide-entry-content .ereg-troubleshoot-grid li{border-color:#29495c;background:#102d45;color:#c3d3df}
html[data-theme="dark"] .guide-entry-content .ereg-troubleshoot-grid li strong{color:#eff8fb}
html[data-theme="dark"] .guide-entry-content .ereg-warning-heading,html[data-theme="dark"] .guide-entry-content .ereg-warning-heading+.ereg-warning-copy{border-color:#66563f;background:#302a22;color:#e5d7c4}

@media(max-width:900px){
  .guide-entry-content .ereg-number-checklist{grid-template-columns:1fr}
  .guide-entry-content .ereg-troubleshoot-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
  .ereg-returning-strip{align-items:flex-start;flex-direction:column;gap:8px;padding:12px}
  .ereg-returning-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .ereg-returning-links a{justify-content:center;text-align:center}
  .guide-entry-content .ereg-content-callout{padding:14px 14px 14px 45px}
  .guide-entry-content .ereg-content-callout::before{left:13px;top:14px}
  .ereg-toc-toggle{padding:10px 11px}
}
