:root {
    --ink:#172436; --blue:#003fc4; --navy:var(--blue); --navy-hover:#002d91;
    --yellow:#ffcf00; --red:#d91930; --muted:#566273; --line:#d8dfe9; --surface:#f3f5f8;
    --teal:var(--blue); --bs-primary:#003fc4; --bs-link-color:#003fc4; --bs-link-hover-color:#002d91;
    --bs-body-color:#172436; --bs-body-font-family:Arial,Helvetica,sans-serif; --bs-border-radius:0;
}

/* Blog: shared public article typography and administrator Markdown preview. */
.blog-breadcrumbs { margin-bottom:28px; font-size:.8rem; color:var(--muted); }
.blog-breadcrumbs ol { list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:8px; }
.blog-breadcrumbs li+li::before { content:"/"; margin-right:8px; color:#8b96a6; }
.blog-heading { max-width:800px; margin-bottom:32px; }
.blog-heading h1,.blog-article-heading h1 { overflow-wrap:anywhere; }
.blog-categories { display:flex; flex-wrap:wrap; gap:10px; border-block:1px solid var(--line); padding:18px 0; margin-bottom:32px; }
.blog-categories a { padding:8px 12px; background:var(--surface); text-decoration:none; font-size:.85rem; font-weight:600; }
.blog-categories a:hover,.blog-categories a[aria-current] { background:var(--blue); color:#fff; }
.blog-empty { padding:32px; border:1px solid var(--line); }
.blog-card { border:1px solid var(--line); display:flex; flex-direction:column; }
.blog-card-body { display:flex; flex-direction:column; gap:14px; padding:24px; flex:1; }
.blog-card h2,.blog-card p { margin:0; }
.blog-card h2 a { text-decoration:none; color:var(--ink); }
.blog-card h2 a:hover { color:var(--blue); text-decoration:underline; }
.blog-category { font-size:.75rem; font-weight:700; text-decoration:none; }
.blog-card-meta { margin-top:auto; padding-top:12px; display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; font-size:.75rem; color:var(--muted); }
.blog-cover { display:block; width:100%; aspect-ratio:16/9; height:auto; object-fit:cover; }
.blog-cover-hero { aspect-ratio:auto; margin-top:28px; }
.blog-article-heading { max-width:800px; margin:0 auto 40px; }
.blog-byline { font-size:.85rem; color:var(--muted); }
.blog-article-layout { max-width:800px; margin-inline:auto; }
.blog-article-layout.has-toc { max-width:none; display:grid; grid-template-columns:220px minmax(0,800px); gap:40px; }
.blog-toc { font-size:.85rem; align-self:start; padding:20px; background:var(--surface); border-left:3px solid var(--blue); }
.blog-toc summary { font-weight:700; margin-bottom:12px; }
.blog-toc ol { list-style:none; padding:0; margin:0; display:grid; gap:10px; }
.blog-toc .toc-nested { padding-left:12px; }
.blog-toc a { text-decoration:none; }
.blog-toc a:hover { text-decoration:underline; }
.blog-prose { min-width:0; font-size:1.0625rem; line-height:1.85; overflow-wrap:anywhere; }
.blog-prose h2,.blog-prose h3,.blog-prose h4,.blog-prose h5,.blog-prose h6 { scroll-margin-top:24px; margin:1.6em 0 .7em; line-height:1.25; }
.blog-prose > :first-child { margin-top:0; }
.blog-prose h2 { font-size:1.75rem; }.blog-prose h3 { font-size:1.35rem; }
.blog-prose p,.blog-prose ul,.blog-prose ol { margin-bottom:1.2em; }
.blog-prose li+li { margin-top:.4em; }
.blog-prose blockquote { border-left:4px solid var(--blue); background:var(--surface); padding:20px 24px; margin:24px 0; }
.blog-prose blockquote p:last-child { margin-bottom:0; }
.blog-prose table { width:100%; min-width:360px; border-collapse:collapse; font-size:.9rem; margin-bottom:20px; }
.blog-prose th,.blog-prose td { padding:12px; border:1px solid var(--line); vertical-align:top; }
.blog-prose th { background:var(--surface); }
.blog-prose pre { padding:20px; background:var(--surface); overflow-x:auto; font-size:.85rem; }
.blog-prose code { color:var(--ink); }
.blog-inline-image { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:contain; background:var(--surface); }
.blog-related { margin-top:60px; border-top:1px solid var(--line); padding-top:32px; }
.blog-article-footer { max-width:800px; margin:40px auto 0; }
.blog-feedback,.blog-author { padding:28px; border:1px solid var(--line); background:#fff; }
.blog-feedback { text-align:center; margin-bottom:24px; }
.blog-feedback h2 { font-size:1.2rem; margin-bottom:18px; }
.blog-feedback-actions { display:flex; justify-content:center; gap:10px; }
.blog-feedback-actions .btn { padding:9px 16px; display:inline-flex; align-items:center; gap:8px; }
.blog-feedback-actions [aria-pressed="true"] { color:#fff; background:var(--blue); border-color:var(--blue); }
.blog-feedback-message { min-height:1.5em; margin:12px 0 0; color:var(--muted); font-size:.85rem; }
.blog-author-details { display:grid; grid-template-columns:130px minmax(0,1fr); align-items:center; gap:24px; }
.blog-author-brand .brand-logo { width:130px; max-width:100%; }
.blog-author .eyebrow { margin:0 0 8px; }
.blog-author h2 { font-size:1.3rem; margin:0 0 8px; overflow-wrap:anywhere; }
.blog-author p:not(.eyebrow) { font-size:.9rem; line-height:1.6; margin-bottom:12px; }
.blog-article-dates { display:flex; flex-wrap:wrap; gap:8px 24px; border-top:1px solid var(--line); margin-top:24px; padding-top:18px; font-size:.8rem; color:var(--muted); }
.blog-article-dates small { width:100%; }
.blog-article-pagination { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin-top:28px; }
.blog-article-pagination a { display:flex; flex-direction:column; gap:10px; border:1px solid var(--line); padding:22px; text-decoration:none; overflow-wrap:anywhere; }
.blog-article-pagination a:hover { background:var(--surface); }
.blog-article-pagination span { font-size:.8rem; display:flex; align-items:center; gap:8px; }
.blog-article-pagination strong { font-size:.95rem; color:var(--ink); line-height:1.6; }
.blog-next-article { grid-column:2; }
@media(max-width:575px) { .blog-feedback,.blog-author { padding:22px 20px; }.blog-author-details { grid-template-columns:1fr; gap:20px; }.blog-article-pagination { grid-template-columns:1fr; gap:12px; }.blog-next-article { grid-column:auto; } }
.blog-editor-toolbar { display:flex; flex-wrap:wrap; gap:8px; padding:12px; background:var(--surface); border:1px solid var(--line); }
.blog-editor-toolbar .btn { padding:7px 10px; font-size:.8rem; }
.blog-markdown-editor { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; line-height:1.6; }
.blog-editor-preview { padding:24px; border:1px solid var(--line); min-height:300px; }
.blog-editor-cover { max-width:260px; }
@media(max-width:991px) { .blog-article-layout.has-toc { display:block; }.blog-toc { margin-bottom:28px; } }
@media(max-width:575px) { .blog-card-body { padding:20px; }.blog-heading,.blog-article-heading { margin-bottom:24px; }.blog-prose { font-size:1rem; }.blog-editor-preview { padding:16px; } }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:#fff; line-height:1.6; }
a { color:var(--blue); text-underline-offset:4px; }
a:hover { color:var(--navy-hover); }
h1,h2,h3,h4 { color:var(--ink); line-height:1.15; letter-spacing:-.035em; font-weight:700; }
h1 { font-size:clamp(2.15rem,4vw,3.25rem); }
h2 { font-size:clamp(1.75rem,2.8vw,2.5rem); }
h3 { font-size:1.25rem; }
p:last-child { margin-bottom:0; }
.container { max-width:1200px; padding-inline:32px; }
.text-secondary,.text-muted { color:var(--muted)!important; }
.small,small { font-size:.85rem; }
.lead { font-size:1.12rem; line-height:1.8; }
.eyebrow { display:flex; align-items:center; gap:12px; font-size:.7rem; font-weight:700; letter-spacing:.12em; color:var(--muted); line-height:1.6; }
.ecuador-mark { display:inline-flex; gap:2px; width:34px; height:12px; flex-shrink:0; }
.ecuador-mark i:nth-child(1) { width:16px; background:var(--yellow); }
.ecuador-mark i:nth-child(2) { width:8px; background:var(--blue); }
.ecuador-mark i:nth-child(3) { width:8px; background:var(--red); }
.tiny-line { width:20px; height:4px; background:var(--blue); }
.site-header { position:relative; z-index:10; background:#fff; border-bottom:1px solid var(--line); }
.navbar { min-height:90px; padding-block:16px; }
.navbar-actions { display:flex; align-items:center; gap:8px; flex-shrink:0; margin-left:24px; }
.navbar-actions .nav-account { display:inline-flex; align-items:center; gap:10px; margin:0; }
.brand { display:inline-flex; align-items:center; gap:10px; text-decoration:none; color:var(--blue); font-size:1.55rem; font-weight:800; letter-spacing:-.06em; white-space:nowrap; }
.brand-logo { display:block; width:216px; max-width:100%; height:auto; }
.site-header .brand-logo { width:190px; }
.brand-on-dark { padding:12px 16px; background:#fff; }
.navbar-nav .nav-link { border-radius:0; padding:10px 14px; font-size:.88rem; font-weight:600; color:var(--ink); }
.navbar-nav .nav-link:hover,.navbar-nav .nav-link.active { background:#edf2ff; color:var(--blue); }
.navbar-nav .nav-link.active { font-weight:700; }
.dropdown-menu { padding:8px; border:1px solid var(--line); border-radius:0; min-width:275px; }
.dropdown-item { padding:10px 12px; font-size:.87rem; color:var(--ink); }
.dropdown-item.active,.dropdown-item:active { background:var(--blue); color:#fff; }
.dropdown-item:hover { background:#edf2ff; color:var(--blue); }
.consultas-menu .dropdown-header { padding:10px 12px 5px; color:var(--muted); font-size:.7rem; font-weight:700; letter-spacing:.04em; }
.consultas-menu .dropdown-divider { margin:8px 4px; border-color:var(--line); }
.consultas-menu .dropdown-item { min-height:44px; display:flex; align-items:center; gap:10px; }
.navbar-toggler { border:1px solid var(--line); border-radius:0; display:flex; align-items:center; gap:8px; padding:10px 12px; color:var(--blue); font-size:.85rem; font-weight:700; }
.navbar-toggler:focus { box-shadow:none; }
.menu-lines { width:16px; height:12px; border-block:2px solid var(--blue); position:relative; }
.menu-lines:after { content:""; position:absolute; top:3px; left:0; right:0; height:2px; background:var(--blue); }
.btn { border-radius:0; padding:13px 22px; font-size:.9rem; line-height:1.5; font-weight:700; }
.btn-primary { --bs-btn-bg:var(--blue); --bs-btn-border-color:var(--blue); --bs-btn-hover-bg:var(--navy-hover); --bs-btn-hover-border-color:var(--navy-hover); --bs-btn-active-bg:var(--navy-hover); --bs-btn-active-border-color:var(--navy-hover); --bs-btn-disabled-bg:#64718a; --bs-btn-disabled-border-color:#64718a; }
.btn-outline-primary { --bs-btn-color:var(--blue); --bs-btn-border-color:var(--blue); --bs-btn-hover-bg:var(--blue); --bs-btn-hover-border-color:var(--blue); --bs-btn-active-bg:var(--blue); }
.btn-yellow { --bs-btn-color:var(--ink); --bs-btn-bg:var(--yellow); --bs-btn-border-color:var(--yellow); --bs-btn-hover-color:var(--ink); --bs-btn-hover-bg:#efc100; --bs-btn-hover-border-color:#efc100; --bs-btn-active-color:var(--ink); --bs-btn-active-bg:#e5b900; --bs-btn-active-border-color:#e5b900; }
.btn-outline-danger { --bs-btn-color:var(--red); --bs-btn-border-color:var(--red); --bs-btn-hover-bg:var(--red); --bs-btn-hover-border-color:var(--red); }
.btn-link { color:var(--blue); padding:0; }
.btn-lg { padding:16px 24px; font-size:1rem; }
.nav-account { padding:11px 17px; }
.nav-account span { margin-left:14px; }
a:focus-visible,.btn:focus-visible,button:focus-visible,summary:focus-visible { outline:3px solid var(--blue); outline-offset:4px; box-shadow:none; }
.text-action { display:inline-flex; align-items:center; gap:24px; font-weight:700; font-size:.9rem; text-decoration:none; }
.text-action:hover { text-decoration:underline; }
.text-action span { font-size:1.2rem; }
.home-intro { padding-top:42px; background:#fdfbfa; }
.intro-grid { display:grid; grid-template-columns:1.1fr 1fr; align-items:center; gap:36px; padding-bottom:32px; }
.intro-copy h1 { font-size:clamp(2.8rem,4.9vw,4.2rem); letter-spacing:-.055em; line-height:1.04; margin:22px 0; }
.intro-copy h1 span { color:var(--blue); }
.hero-description { max-width:570px; color:var(--muted); font-size:1.08rem; line-height:1.75; margin-bottom:24px; }
.intro-illustration img { display:block; width:100%; height:auto; }
.intro-illustration .home-hero-car { aspect-ratio:14/9; object-fit:cover; }
.illustration-caption { display:flex; justify-content:space-between; font-size:.68rem; color:var(--muted); margin-top:-10px; padding-inline:18px; }
.illustration-caption span:first-child { font-weight:700; letter-spacing:.15em; color:var(--blue); }
.lookup-workspace { scroll-margin-top:24px; background:var(--surface); }
.provider-tabs { display:flex; border-bottom:1px solid var(--line); background:#fff; }
.provider-tabs>a,.provider-tabs>.selected,.provider-tabs>button { display:flex; flex-direction:column; gap:3px; flex:1; padding:15px 24px; font-weight:700; color:var(--ink); font-size:.95rem; text-decoration:none; border:1px solid var(--line); border-bottom:0; }
.provider-tabs>a+a,.provider-tabs>.selected+a,.provider-tabs>button+button { border-left:0; }
.provider-tabs span span,.provider-tabs a span,.provider-tabs button span { font-size:.73rem; font-weight:400; opacity:.8; }
.provider-tabs>.selected,.provider-tabs>button.active { background:var(--blue); border-color:var(--blue); color:#fff; }
.provider-tabs>a:hover,.provider-tabs>button:not(.active):hover { background:#edf2ff; color:var(--blue); }
.quick-query { padding:28px; display:grid; grid-template-columns:.75fr 1.25fr; align-items:center; gap:40px; }
.query-intro h2 { font-size:1.35rem; margin-bottom:8px; }
.query-intro p { color:var(--muted); font-size:.85rem; max-width:300px; }
.quick-form { display:grid; grid-template-columns:1fr auto; align-items:end; gap:0 16px; }
.quick-form>.btn { min-height:58px; margin-bottom:0; }
.query-hint { grid-column:1/-1; font-size:.72rem; color:var(--muted); margin:8px 0 0; }
.query-footer { display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; margin-inline:28px; padding:14px 0; border-top:1px solid var(--line); font-size:.7rem; color:var(--muted); }
.query-footer a { color:var(--muted); }
.tool-page { padding-block:32px 64px; }
.tool-query { padding-block:44px; }
.tool-query .query-intro { display:block; }
.tool-query h1 { font-size:clamp(1.8rem,2.8vw,2.5rem); margin-bottom:16px; }
.tool-query .query-intro>p:last-child { max-width:360px; font-size:.92rem; }
.tool-query .eyebrow { margin-bottom:16px; }
.ownership-results .check-summary-heading h2 { margin-bottom:0; }
.ownership-facts { margin:0; overflow-wrap:anywhere; }
.ownership-facts dt { font-size:.75rem; color:var(--muted); font-weight:500; margin-bottom:5px; }
.ownership-facts dd { margin-bottom:18px; font-weight:600; }
.ownership-facts dd:last-child { margin-bottom:0; }
.ownership-estimate { color:var(--blue); font-size:2.5rem; font-weight:700; line-height:1.2; margin-bottom:8px; }
.related-tools { margin-top:32px; }
.related-tools>.eyebrow { margin-bottom:14px; }
.related-tools-row { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); border-block:1px solid var(--line); overflow-x:auto; }
.related-tool { display:flex; flex-direction:column; justify-content:space-between; gap:12px; min-width:0; padding:16px 12px; color:var(--blue); font-size:.8rem; font-weight:700; line-height:1.4; text-decoration:none; transition:background-color .16s ease; }
.related-tool+.related-tool { border-left:1px solid var(--line); }
.related-tool-arrow { display:grid; place-items:center; align-self:flex-end; width:28px; height:28px; font-size:1.15rem; font-weight:400; transition:background-color .16s ease,color .16s ease; }
.related-tool:hover,.related-tool:focus-visible { color:var(--blue); background:var(--surface); }
.related-tool:hover .related-tool-arrow,.related-tool:focus-visible .related-tool-arrow { color:var(--ink); background:var(--yellow); }
.related-tool:focus-visible { outline:2px solid var(--blue); outline-offset:-2px; }
@media(max-width:991px) { .related-tools-row { grid-auto-columns:170px; } }
.tool-explanation { display:grid; grid-template-columns:1fr 1fr; gap:56px; padding-top:36px; margin-top:28px; border-top:1px solid var(--line); }
.tool-explanation h2 { font-size:1.2rem; margin-bottom:16px; }
.tool-explanation p { color:var(--muted); font-size:.9rem; }
.tool-explanation a { font-size:.85rem; }
@media(max-width:767px) { .tool-page { padding-block:24px 44px; }.tool-explanation { grid-template-columns:1fr; gap:28px; margin-top:20px; padding-top:28px; } }
.tool-content { max-width:880px; margin-top:36px; }
.tool-content-section { padding-block:28px; border-top:1px solid var(--line); }
.tool-content-section h2 { font-size:clamp(1.35rem,2.4vw,1.75rem); margin-bottom:22px; }
.tool-content-section h3 { font-size:1.13rem; font-weight:700; margin:26px 0 12px; }
.tool-content-section p,.tool-steps,.tool-faq .accordion-body { font-size:.95rem; line-height:1.75; }
.tool-content-section p { margin-bottom:16px; }
.tool-steps { padding-left:1.5rem; margin-bottom:18px; }
.tool-steps li { padding-left:6px; margin-bottom:8px; }
.tool-steps li::marker { color:var(--blue); font-weight:700; }
.tool-content .tool-access-note { color:var(--muted); font-size:.85rem; }
.tool-content a { text-underline-offset:3px; overflow-wrap:anywhere; }
.tool-content-sources { margin-top:24px; font-size:.85rem; }
.tool-content-sources ul { padding-left:1.25rem; margin:0; }
.tool-content-sources li { margin-top:8px; }
.tool-faq { --bs-accordion-border-color:var(--line); --bs-accordion-border-radius:0; --bs-accordion-inner-border-radius:0; --bs-accordion-active-bg:var(--surface); --bs-accordion-active-color:var(--blue); --bs-accordion-btn-focus-box-shadow:none; }
.tool-faq .accordion-header { margin:0; font-size:1rem; }
.tool-faq .accordion-button { font-size:.95rem; font-weight:700; line-height:1.5; gap:16px; padding:20px; }
.tool-faq .accordion-button:focus-visible { outline:2px solid var(--blue); outline-offset:-3px; }
.tool-faq .accordion-body { padding:0 20px 20px; background:var(--surface); }
@media(max-width:575px) { .tool-content { margin-top:24px; }.tool-content-section { padding-block:24px; }.tool-faq .accordion-button { padding:16px; }.tool-faq .accordion-body { padding:0 16px 16px; } }
.independence-note { display:flex; align-items:flex-start; gap:10px; font-size:.75rem; color:var(--muted); padding:18px 0 0; }
.independence-note>span { color:var(--red); font-weight:700; font-family:Georgia,serif; font-size:1rem; }
.form-label { font-size:.83rem; font-weight:700; margin-bottom:8px; }
.form-control:not(.plate-input),.form-select { border:1px solid #abb8ca; border-radius:0; padding:12px; font-size:.96rem; }
.form-select { padding-right:36px; }
.form-control:focus,.form-select:focus { border-color:var(--blue); box-shadow:0 0 0 3px #003fc41f; }
.form-check-input { border-color:#9aa8bb; }
.form-check-input:checked { background-color:var(--blue); border-color:var(--blue); }
.form-check-label { font-size:.9rem; }
.plate-input-wrap { display:flex; border:1px solid #9eacc0; background:#fff; min-width:0; }
.plate-input-wrap:focus-within { outline:3px solid #003fc42b; border-color:var(--blue); }
.plate-country { display:flex; align-items:center; justify-content:center; width:48px; flex-shrink:0; background:var(--blue); color:#fff; font-size:.76rem; font-weight:700; }
.plate-input { border:1px solid #9eacc0; border-radius:0; font-size:1.65rem; letter-spacing:.12em; text-transform:uppercase; font-weight:700; padding:9px 14px; }
.plate-input-wrap .plate-input { border:0; min-width:0; }
.plate-input::placeholder { color:#8994a5; font-weight:400; }
.plate-input:focus { box-shadow:none; }
.privacy-note,.card-footnote { color:var(--muted); font-size:.75rem; line-height:1.65; }
.card-footnote { border-top:1px solid var(--line); }
.section-space { padding-block:64px; }
/* Repository-authored public guides; scoped to the homepage and ANT content. */
.home-information h2 { max-width:850px; }
.home-information .section-space>h2 { margin-bottom:30px; }
.content-band { background:var(--surface); }
.explainer-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); list-style:none; padding:0; margin:30px 0 0; counter-reset:guide-step; }
.explainer-steps>li { position:relative; border-top:3px solid var(--blue); padding:24px 28px 12px 0; margin-right:28px; }
.explainer-steps>li:last-child { margin-right:0; padding-right:0; }
.step-number { display:block; color:var(--blue); font-size:2.25rem; font-weight:700; line-height:1; letter-spacing:-.05em; margin-bottom:24px; }
.explainer-steps h3 { font-size:1.15rem; margin:0 0 12px; }
.explainer-steps p { color:var(--muted); font-size:.94rem; line-height:1.75; }
.step-footnote { display:inline-block; border-top:1px solid var(--line); padding-top:10px; font-size:.76rem; color:var(--blue); font-weight:600; }
.example-plate { display:inline-flex; align-items:center; gap:14px; background:#fff; border:1px solid var(--line); padding:8px 12px; color:var(--blue); font-size:.7rem; }
.example-plate strong { color:var(--ink); letter-spacing:.1em; font-size:1.2rem; }
.consultation-cards,.scope-map,.result-examples { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.consultation-cards>article { display:flex; flex-direction:column; background:#fff; padding:28px; border:1px solid var(--line); }
.source-label { display:block; font-size:.7rem; font-weight:700; color:var(--blue); letter-spacing:.04em; margin-bottom:16px; }
.consultation-cards h3,.scope-map h3 { font-size:1.25rem; margin-bottom:14px; }
.consultation-cards p,.scope-map p { color:var(--muted); font-size:.92rem; line-height:1.75; }
.consultation-cards .text-action { margin-top:auto; padding-top:16px; font-size:.85rem; }
.city-links { display:flex; flex-wrap:wrap; gap:10px 20px; margin-top:auto; padding-top:10px; font-size:.82rem; }
.scope-map { gap:0; border:1px solid var(--line); }
.scope-map>article { padding:28px; border-right:1px solid var(--line); }
.scope-map>article:last-child { border-right:0; }
.scope-map a { font-size:.84rem; }
.scope-symbol { display:grid; place-items:center; width:42px; height:42px; margin-bottom:24px; background:var(--yellow); color:var(--ink); font-size:1.5rem; font-weight:700; }
.scope-symbol svg { width:24px; height:24px; }
.content-note { color:var(--muted); font-size:.86rem; line-height:1.75; margin:20px 0 0; }
.official-reference { font-size:.78rem!important; color:var(--muted); line-height:1.7; margin-top:18px; }
.faq-layout { display:grid; grid-template-columns:1fr 2fr; gap:60px; }
.faq-layout h2 { margin-bottom:20px; }
.home-information .accordion-header { margin:0; }
.home-information .accordion-body { font-size:.94rem; line-height:1.75; }
.content-next { padding-block:20px 50px; }
.ant-guide { max-width:none; }
.ant-guide .tool-content-section { padding-block:36px; }
.ant-guide .tool-content-section>p { max-width:850px; }
.ant-steps { margin-bottom:24px; }
.ant-guide .explainer-steps h3 { margin-top:0; }
.form-explainer { padding:24px; background:var(--surface); border:1px solid var(--line); }
.form-explainer figcaption { font-size:.78rem; color:var(--muted); margin-bottom:20px; }
.form-explainer-row { display:flex; align-items:end; gap:24px; flex-wrap:wrap; }
.form-explainer .example-plate { height:48px; min-width:230px; }
.example-submit { display:inline-flex; gap:22px; align-items:center; background:var(--yellow); color:var(--ink); padding:12px 22px; min-height:48px; font-size:.9rem; font-weight:700; }
.example-result { display:flex; align-items:center; gap:8px; min-height:48px; font-size:.83rem; color:var(--blue); }
.form-explainer p { margin:16px 0 0; font-size:.76rem!important; color:var(--muted); }
.guide-table-wrap { border:1px solid var(--line); }
.guide-table { width:100%; border-collapse:collapse; font-size:.91rem; line-height:1.7; }
.guide-table th,.guide-table td { padding:16px 20px; text-align:left; vertical-align:top; border-bottom:1px solid var(--line); overflow-wrap:anywhere; }
.guide-table thead th { background:var(--blue); color:#fff; font-size:.8rem; }
.guide-table tbody th { width:25%; background:var(--surface); font-size:.86rem; }
.guide-table tbody td { color:var(--muted); }
.guide-table tbody tr:last-child>* { border-bottom:0; }
.institution-table tbody th { width:18%; }
.institution-table td:last-child { width:24%; }
.official-table-link { display:block; margin-top:8px; font-size:.78rem; }
.result-example { padding:24px; border:1px solid var(--line); border-top:4px solid var(--blue); display:flex; flex-direction:column; }
.result-example.is-unavailable { border-top-color:var(--red); }
.ant-guide .result-example h3 { margin:4px 0 18px; font-size:1.12rem; min-height:2.7em; line-height:1.4; }
.ant-guide .result-example p { font-size:.9rem; }
.ant-guide .result-example .example-kicker { font-size:.66rem; color:var(--muted); margin-bottom:12px; }
.example-status { font-size:.74rem; font-weight:700; color:var(--blue); }
.example-status>span { display:inline-grid; place-items:center; width:20px; height:20px; margin-right:5px; background:var(--surface); }
.is-unavailable .example-status { color:var(--red); }
.example-value { display:grid; gap:6px; padding-block:24px; }
.example-value strong { font-size:1.75rem; line-height:1.2; letter-spacing:-.035em; }
.example-value>span { font-size:.75rem; color:var(--muted); }
.result-example>p:last-child { margin-bottom:0; }
.action-list { list-style:none; padding:0; counter-reset:actions; }
.action-list li { counter-increment:actions; position:relative; padding-left:54px; max-width:900px; }
.action-list li::before { content:counter(actions,decimal-leading-zero); position:absolute; left:0; top:1px; color:var(--blue); font-size:1.2rem; font-weight:700; }
.ant-guide .action-list h3 { margin-top:24px; }
.cache-explainer { display:flex; align-items:flex-start; gap:14px; background:var(--surface); padding:20px; border-left:3px solid var(--yellow); }
.cache-explainer>svg { flex-shrink:0; color:var(--blue); margin-top:5px; }
.ant-guide .cache-explainer p { margin:0; font-size:.88rem; }
.problem-list { display:grid; grid-template-columns:1fr 1fr; gap:0 40px; }
.problem-list>article { border-bottom:1px solid var(--line); padding:4px 0 8px; }
.problem-list>article:last-child { grid-column:1/-1; max-width:850px; border-bottom:0; }
.follow-up-explainer { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.follow-up-explainer>article { padding:24px; background:var(--surface); }
.ant-guide .follow-up-explainer h3 { margin-top:0; }
.ant-guide .tool-faq .accordion-header { margin:0; }
@media(max-width:991px) {
    .consultation-cards>article,.scope-map>article,.result-example { padding:22px; }
    .faq-layout { grid-template-columns:1fr; gap:20px; }
    .example-value strong { font-size:1.5rem; }
}
@media(max-width:767px) {
    .explainer-steps,.consultation-cards,.scope-map,.result-examples,.follow-up-explainer,.problem-list { grid-template-columns:1fr; }
    .explainer-steps { gap:24px; }
    .explainer-steps>li,.explainer-steps>li:last-child { margin:0; padding:20px 0 0 58px; border-top:1px solid var(--line); }
    .step-number { position:absolute; left:0; top:20px; font-size:1.7rem; }
    .scope-map>article { border-right:0; border-bottom:1px solid var(--line); }
    .scope-map>article:last-child { border-bottom:0; }
    .scope-symbol { float:left; margin-right:18px; margin-bottom:12px; }
    .scope-map h3 { min-height:42px; display:flex; align-items:center; }
    .scope-map p { clear:both; }
    .ant-guide .result-example h3 { min-height:0; }
    .result-examples { gap:16px; }
    .form-explainer { padding:20px; }
    .form-explainer-row { gap:14px; }
    .form-explainer-row>div { width:100%; }
    .form-explainer .example-plate { min-width:0; width:100%; }
    .guide-table { font-size:.85rem; }
    .guide-table th,.guide-table td { padding:13px 12px; }
    .guide-table tbody th { width:34%; }
    .institution-table thead { display:none; }
    .institution-table tr { display:grid; grid-template-columns:1fr; border-bottom:1px solid var(--line); }
    .institution-table tr:last-child { border-bottom:0; }
    .institution-table tbody th,.institution-table td:last-child { width:auto; }
    .institution-table tbody td,.institution-table tbody th { border:0; }
    .institution-table tbody th { color:var(--blue); padding-bottom:8px; }
    .institution-table td:last-child { display:flex; flex-wrap:wrap; gap:12px 24px; padding-top:0; }
    .institution-table .official-table-link { margin:0; }
    .problem-list>article:last-child { grid-column:auto; }
    .ant-guide .tool-content-section { padding-block:28px; }
}
.section-title-row { display:flex; align-items:end; justify-content:space-between; gap:40px; margin-bottom:32px; }
.section-title-row h2 { margin-bottom:0; }
.section-title-row>p { max-width:330px; color:var(--muted); font-size:.88rem; margin:0; }
.service-directory { border-top:1px solid var(--line); }
.directory-row { position:relative; display:grid; grid-template-columns:140px 1fr 180px; gap:32px; align-items:center; padding:30px 0; border-bottom:1px solid var(--line); transition:background-color .16s ease; }
.directory-provider>span { display:block; font-size:2rem; letter-spacing:-.04em; font-weight:700; color:var(--blue); }
.directory-provider small { color:var(--muted); font-size:.73rem; }
.directory-copy h3 { font-size:1.2rem; }
.directory-copy p { max-width:530px; color:var(--muted); font-size:.86rem; margin-bottom:0; }
.directory-action { display:flex; flex-direction:column; align-items:flex-start; gap:12px; }
.directory-action .text-action { min-height:44px; padding:8px 14px; margin-left:-14px; transition:background-color .16s ease,color .16s ease; }
.directory-action .text-action::after { content:""; position:absolute; inset:0; z-index:1; }
.directory-row:focus-within { background:var(--surface); }
.directory-row:focus-within .directory-action .text-action { background:var(--yellow); color:var(--ink); text-decoration:none; }
.directory-action .text-action:focus-visible { outline:2px solid var(--blue); outline-offset:3px; }
@media(hover:hover) and (pointer:fine) {
    .directory-row:hover { background:var(--surface); }
    .directory-row:hover .directory-action .text-action { background:var(--yellow); color:var(--ink); text-decoration:none; }
}
.service-availability { font-size:.7rem; color:var(--blue); font-weight:600; }
.service-availability:before { content:""; display:inline-block; background:var(--blue); width:5px; height:5px; margin-right:7px; vertical-align:middle; }
.service-availability.is-unavailable { color:var(--red); }
.service-availability.is-unavailable:before { background:var(--red); }
.garage-invitation { background:var(--blue); color:#fff; }
.garage-invitation-grid { display:grid; grid-template-columns:1fr 1fr; gap:90px; padding-block:56px; }
.garage-invitation h2 { color:#fff; font-size:clamp(2.3rem,4vw,3.5rem); }
.garage-invitation .eyebrow { color:#fff; opacity:.8; }
.garage-invitation a:focus-visible { outline-color:var(--yellow); }
.garage-benefits { display:grid; gap:24px; }
.garage-benefits>div { display:flex; gap:22px; }
.garage-benefits>div>span { color:var(--yellow); font-size:.8rem; padding-top:3px; }
.garage-benefits h3 { color:#fff; font-size:1.08rem; letter-spacing:-.02em; }
.garage-benefits p { color:#e1eaff; font-size:.88rem; }
.garage-promo-wrap { padding-bottom:64px; }
.garage-promo { display:grid; grid-template-columns:1fr 1fr; background:#f1f4fc; border:1px solid var(--line); overflow:clip; }
.garage-promo-copy { padding:56px 40px; position:relative; z-index:1; }
.garage-promo-copy .eyebrow { color:var(--blue); margin-bottom:24px; }
.garage-promo-copy .eyebrow>span { width:10px; height:10px; background:var(--yellow); }
.garage-promo h2 { font-size:clamp(2.3rem,3.5vw,3.1rem); margin-bottom:24px; }
.garage-promo h2 span { color:var(--blue); }
.garage-promo-description { color:var(--muted); max-width:410px; font-size:.97rem; line-height:1.75; }
.garage-promo-benefits { display:flex; gap:12px 20px; flex-wrap:wrap; list-style:none; padding:0; margin:28px 0; font-size:.74rem; font-weight:600; }
.garage-promo-benefits li { display:flex; align-items:center; gap:7px; }
.garage-promo-benefits li>span { display:inline-grid; place-items:center; width:17px; height:17px; background:var(--yellow); color:var(--ink); }
.garage-promo-actions { display:flex; flex-wrap:wrap; gap:12px; }
.garage-promo-actions .btn { padding:13px 18px; font-size:.83rem; }
.garage-promo-actions .btn-primary span { margin-left:12px; }
.garage-promo-scene { position:relative; min-height:450px; background:#e5ecfc; isolation:isolate; }
.garage-promo-orbit { position:absolute; width:470px; height:470px; right:-90px; top:-65px; border:1px solid #b3c5f2; border-radius:50%; box-shadow:0 0 0 48px #dbe5fc,0 0 0 49px #c3d1f4,0 0 0 98px #e5ecfc,0 0 0 99px #cbd7f3; z-index:-1; }
.garage-promo-road { position:absolute; width:130%; height:130px; top:57%; left:-10%; border-block:1px solid #c3d1ef; transform:rotate(-18deg); z-index:-1; }
.garage-promo-car { position:absolute; width:112%; max-width:none; height:auto; left:-6%; top:50%; transform:translateY(-44%); }
.garage-promo-label { position:absolute; display:flex; align-items:center; gap:12px; background:#fff; color:var(--ink); padding:14px 18px; box-shadow:0 10px 28px #1724360d; }
.garage-promo-label-top { top:32px; right:28px; }
.garage-promo-label-bottom { bottom:30px; left:28px; }
.garage-promo-icon { display:grid; place-items:center; width:38px; height:38px; background:var(--yellow); color:var(--blue); }
.garage-promo-label small { display:block; font-size:.56rem; letter-spacing:.1em; font-weight:700; color:var(--muted); margin-bottom:3px; }
.garage-promo-label strong { display:block; font-size:.75rem; line-height:1.3; }
@media(max-width:991px) {
    .garage-promo { grid-template-columns:1fr; }.garage-promo-copy { padding:40px; }.garage-promo h2 { font-size:2.8rem; }.garage-promo-description { max-width:510px; }
    .garage-promo-scene { min-height:380px; overflow:clip; }.garage-promo-car { width:620px; max-width:95%; left:50%; transform:translate(-50%,-44%); }.garage-promo-orbit { right:5%; top:-45px; }
}
@media(max-width:575px) {
    .garage-promo-wrap { padding-bottom:40px; }.garage-promo-copy { padding:30px 24px; }.garage-promo h2 { font-size:2.25rem; }.garage-promo-description { font-size:.9rem; }
    .garage-promo-copy .eyebrow { margin-bottom:20px; }.garage-promo-benefits { display:grid; margin-block:24px; }.garage-promo-actions { flex-direction:column; }.garage-promo-actions .btn { width:100%; }
    .garage-promo-scene { min-height:320px; }.garage-promo-car { max-width:104%; width:104%; }.garage-promo-orbit { width:320px; height:320px; right:-90px; top:-30px; }
    .garage-promo-label { padding:10px 12px; gap:9px; }.garage-promo-label-top { top:18px; right:16px; }.garage-promo-label-bottom { bottom:18px; left:16px; }.garage-promo-icon { width:32px; height:32px; }.garage-promo-label strong { font-size:.68rem; }
}
.guide-links { display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
.guide-links article { border-top:1px solid var(--line); padding-top:22px; }
.guide-links h3 { font-size:1.2rem; }
.guide-links h3 a { display:flex; justify-content:space-between; gap:12px; text-decoration:none; }
.guide-links p { color:var(--muted); font-size:.88rem; }
.reading-callout { margin-top:48px; border-block:1px solid var(--line); padding:28px 0; display:flex; align-items:center; justify-content:space-between; gap:32px; }
.reading-callout p { color:var(--muted); font-size:.88rem; }
.reading-callout .text-action { white-space:nowrap; }
.hero { background:var(--surface); border-bottom:1px solid var(--line); }
.service-hero h1 { max-width:850px; color:var(--blue); }
.service-hero .hero-description { max-width:750px; }
.breadcrumb { font-size:.78rem; margin-bottom:28px; }
.breadcrumb a { color:var(--muted); }
.service-heading { padding-block:32px 40px; }
.service-heading h1 { color:var(--blue); }
.service-workspace { display:grid; grid-template-columns:1.15fr .85fr; gap:64px; align-items:start; padding-block:34px 50px; }
.service-overview { max-width:550px; }
.service-overview h1 { margin:20px 0; }
.service-facts { display:grid; grid-template-columns:1fr 1fr; gap:20px; padding-block:22px; margin-top:24px; border-block:1px solid var(--line); }
.service-facts dt { font-size:.7rem; color:var(--muted); font-weight:400; margin-bottom:6px; }
.service-facts dd { font-size:.9rem; font-weight:700; margin:0; }
.service-form { background:var(--surface); padding:30px; }
.service-form .lookup-card { padding:0; border:0; background:transparent; }
.service-form .lookup-card h2 { font-size:1.3rem; }
.service-form .btn { min-height:52px; }
.service-detail-grid { display:grid; grid-template-columns:230px 1fr; gap:64px; border-top:1px solid var(--line); padding-block:44px 64px; }
.service-detail-grid aside h2 { font-size:1.15rem; }
.service-detail-grid aside p { color:var(--muted); font-size:.85rem; }
.service-notes { padding-left:20px; color:var(--muted); line-height:1.8; }
.service-notes li+li { margin-top:12px; }
.lookup-card,.setup-card { background:#fff; border:1px solid var(--line); padding:30px; width:100%; }
.tool-card { border:1px solid var(--line); background:white; padding:26px; display:flex; flex-direction:column; align-items:flex-start; height:100%; }
.tool-card h3 { font-size:1.15rem; }
.tool-card p { font-size:.9rem; color:var(--muted); }
.tool-card .tool-status { margin-top:auto; font-weight:700; font-size:.85rem; }
.source-tag,.status-pill { display:inline-flex; align-items:center; gap:6px; font-size:.7rem; padding:4px 8px; color:var(--muted); background:var(--surface); line-height:1.5; }
.status-pill.is-ready { color:var(--blue); background:#edf2ff; }
.status-pill.is-ready:before { content:""; width:5px; height:5px; background:var(--blue); }
.account-banner { border-block:1px solid var(--line); padding:28px 0; display:flex; align-items:center; justify-content:space-between; gap:32px; }
.account-banner p { max-width:650px; color:var(--muted); }
.account-banner .btn { white-space:nowrap; }
.explanation-panel,.contact-aside,.vehicle-aside { padding:28px; background:var(--surface); }
.explanation-panel p,.contact-aside p,.vehicle-aside { color:var(--muted); font-size:.9rem; }
.availability-note { background:#fff4f1; border:1px solid #efc5c3; color:#952433; padding:18px; font-size:.9rem; }
.alert { border-radius:0; padding:18px 22px; }
.alert-warning,.alert-danger { background:#fff4f1; color:#952433; border-color:#efc5c3; }
.alert-info { background:#edf2ff; color:#00349f; border-color:#cbd9ff; }
.alert-success { background:#eaf7ef; color:#14532d; border-color:#a9d8ba; }
.empty-state { background:var(--surface); border:1px solid var(--line); padding:24px; font-size:.9rem; }
.empty-state strong { color:var(--blue); }
.guide-content { max-width:1040px; }
.back-link { font-size:.85rem; }
.page-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.reading-column { max-width:760px; }
.prose h2 { font-size:1.35rem; margin-top:36px; margin-bottom:16px; }
.prose h3 { font-size:1.1rem; margin-top:24px; }
.prose p,.prose li { color:var(--muted); line-height:1.85; }
.prose li+li { margin-top:9px; }
.prose strong { color:var(--ink); }
.prose .table { font-size:.87rem; }
.info-layout { display:grid; grid-template-columns:220px 1fr; gap:64px; }
.info-nav { list-style:none; padding:0; margin:0; display:grid; font-size:.86rem; }
.info-nav a { display:block; padding:13px 0; border-bottom:1px solid var(--line); text-decoration:none; color:var(--muted); }
.info-nav a[aria-current=page] { color:var(--blue); font-weight:700; }
.info-nav a:hover { color:var(--blue); }
.contact-trap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.contact-method { height:100%; padding:26px; border:1px solid var(--line); display:flex; flex-direction:column; align-items:flex-start; }
.contact-method p { color:var(--muted); font-size:.9rem; margin-bottom:24px; }
.contact-method .btn { margin-top:auto; display:inline-flex; align-items:center; justify-content:center; gap:10px; }
.contact-method svg { width:20px; height:20px; flex-shrink:0; }
.btn-whatsapp { --bs-btn-color:#fff; --bs-btn-bg:#147d42; --bs-btn-border-color:#147d42; --bs-btn-hover-color:#fff; --bs-btn-hover-bg:#106735; --bs-btn-hover-border-color:#106735; --bs-btn-active-color:#fff; --bs-btn-active-bg:#0d572c; --bs-btn-active-border-color:#0d572c; }
#contact-form { scroll-margin-top:24px; }
@media(max-width:575px) { .contact-method { padding:22px 20px; }.contact-method .btn { width:100%; } }
.info-meta { font-size:.75rem; color:var(--muted); margin-top:32px; }
.site-footer { background:#111e35; color:#bac6d9; }
.site-footer a:focus-visible { outline:2px solid var(--yellow); outline-offset:5px; }
.public-site-footer { position:relative; background:#102c61; color:#c2d4f2; }
.public-site-footer:before { content:""; display:block; height:3px; background:linear-gradient(90deg,var(--yellow) 0 55%,var(--blue) 55% 85%,var(--red) 85%); }
.public-site-footer .footer-container { max-width:1320px; padding-inline:40px; }
.footer-masthead-band { padding:48px 0 36px; background:#e1ecfc; }
.footer-navigation-band { padding:36px 0 40px; background:#e1edfc; }
.footer-legal-band { padding:12px 0; background:#cbdcf6; }
.footer-disclosure-band { padding:18px 0 26px; background:#102c61; }
.footer-masthead-band a:focus-visible,.footer-navigation-band a:focus-visible,.footer-legal-band a:focus-visible { outline-color:var(--blue); }
.footer-masthead { display:flex; align-items:center; justify-content:space-between; gap:40px; }
.footer-identity { flex-shrink:0; }
.footer-identity .brand-on-dark { padding:12px 16px; border-radius:10px; }
.footer-identity .brand-logo { width:190px; }
.footer-country { display:flex; align-items:center; gap:10px; margin:16px 0 0; color:#4c6382; font-size:.63rem; font-weight:700; letter-spacing:.12em; }
.footer-country .ecuador-mark { transform:scale(.75); transform-origin:left center; width:25px; }
.footer-tagline { margin:0; color:#153563; font-size:clamp(1.75rem,3.3vw,2.75rem); font-weight:700; letter-spacing:-.045em; line-height:1.15; text-align:right; }
.footer-tagline span { display:block; color:var(--blue); }
.footer-grid { display:grid; grid-template-columns:minmax(260px,1.5fr) repeat(4,minmax(0,1fr)); gap:28px; }
.footer-brand { min-width:0; align-self:start; padding:24px; border:1px solid #bfd2ef; border-radius:16px; background:#f8fbff; }
.footer-contact-title { color:#153563; font-size:1.1rem; font-weight:600; letter-spacing:-.025em; margin:0 0 10px; }
.footer-intro { max-width:280px; margin:0 0 22px; color:#425a7a; font-size:.875rem; line-height:1.7; }
.footer-whatsapp { display:inline-flex; align-items:center; gap:9px; width:100%; padding:12px; border-radius:8px; font-size:.75rem; text-align:left; --bs-btn-bg:#173d35; --bs-btn-border-color:#2d6052; --bs-btn-hover-bg:#215443; --bs-btn-hover-border-color:#41836b; --bs-btn-color:#e1ffef; }
.footer-whatsapp svg { width:20px; height:20px; flex-shrink:0; }
.footer-heading { color:#153563; font-size:.75rem; line-height:1.5; font-weight:700; margin:4px 0 16px; letter-spacing:.07em; text-transform:uppercase; }
.footer-links { list-style:none; padding:0; margin:0 -8px; display:grid; gap:2px; font-size:.825rem; }
.footer-links a { display:flex; align-items:center; justify-content:space-between; gap:6px; min-height:44px; padding:9px 8px; border-radius:6px; color:#425a7a; text-decoration:none; line-height:1.6; transition:background-color .15s,color .15s; }
.footer-links a>span { min-width:0; overflow-wrap:anywhere; }
.footer-links .footer-link-arrow { width:13px; height:13px; flex:0 0 13px; opacity:0; transform:translate(-3px,3px); transition:opacity .15s,transform .15s; }
.footer-links a:hover,.footer-links a[aria-current=page],.footer-links a:focus-visible { background:#f5f9ff; color:var(--blue); }
.footer-links a:hover .footer-link-arrow,.footer-links a:focus-visible .footer-link-arrow,.footer-links a[aria-current=page] .footer-link-arrow { opacity:1; transform:none; }
.footer-bottom a:hover,.footer-bottom a[aria-current=page] { color:var(--yellow); text-decoration:underline; }
.footer-bottom { font-size:.75rem; }
.footer-bottom p { margin:0; }
.footer-bottom a { color:#d8e5fb; text-decoration:none; }
.footer-legal-band a { color:#345277; }
.footer-legal-band a:hover,.footer-legal-band a[aria-current=page] { color:var(--blue); }
.footer-legal-row,.footer-disclosure-row { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.footer-copyright { color:#153563; white-space:nowrap; }
.footer-legal-links { display:flex; flex-wrap:wrap; gap:8px 24px; padding:0; margin:0; list-style:none; }
.footer-legal-links a { display:inline-flex; align-items:center; min-height:44px; padding-block:8px; }
.footer-disclosure-row { align-items:flex-start; gap:32px; }
.footer-note { max-width:590px; color:#c2d4f2; line-height:1.8; }
.footer-attribution { flex-shrink:0; line-height:1.8; }
.footer-attribution a { display:inline-block; padding-block:8px; }
@media(max-width:1199px) {
    .footer-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px; }
    .footer-brand { grid-column:1 / -1; display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:32px; align-items:center; }
    .footer-contact-title { grid-column:1; }
    .footer-intro { max-width:480px; margin-bottom:0; grid-column:1; }
    .footer-whatsapp { grid-column:2; grid-row:1 / 3; }
    .footer-disclosure-row { flex-direction:column; gap:12px; }
}
@media(max-width:767px) {
    .footer-masthead { align-items:flex-start; flex-direction:column; gap:28px; }
    .footer-tagline { text-align:left; }
    .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:575px) {
    .public-site-footer .footer-container { padding-inline:24px; }
    .footer-masthead-band { padding-block:36px 28px; }
    .footer-navigation-band { padding-block:28px; }
    .footer-legal-band { padding-block:20px; }
    .footer-disclosure-band { padding-block:22px 28px; }
    .footer-grid { gap:28px 22px; }
    .footer-brand { display:block; padding:22px; }
    .footer-intro { margin-bottom:20px; }
    .footer-whatsapp { justify-content:center; min-height:48px; font-size:.8rem; }
    .footer-heading { font-size:.7rem; margin-bottom:12px; }
    .footer-links { font-size:.8rem; }
    .footer-legal-row { flex-direction:column; align-items:flex-start; gap:16px; }
    .footer-legal-links { display:grid; gap:0; }
    .footer-attribution { flex-shrink:1; }
}
@media(prefers-reduced-motion:reduce) { .footer-links a,.footer-links .footer-link-arrow { transition:none; } }
.skip-link { position:absolute; top:4px; left:4px; background:white; padding:10px; z-index:100; }
.result-container { max-width:1100px; }
.result-vehicle { border-block:1px solid var(--line); background:var(--surface); }
.plate-badge,.plate-chip { display:inline-block; border:1px solid var(--ink); background:#fff; font-size:1.3rem; font-weight:700; letter-spacing:.1em; padding:8px 15px; white-space:nowrap; }
.plate-chip { font-size:1rem; padding:6px 12px; }
.summary-card { display:flex; flex-direction:column; gap:8px; background:#edf2ff; padding:24px; }
.summary-card strong { font-size:2.5rem; line-height:1.15; color:var(--blue); }
.summary-card span { font-size:.85rem; }
.result-table,.seo-table { border:1px solid var(--line); }
.table>:not(caption)>*>* { padding:14px; color:var(--ink); border-color:var(--line); }
.table thead th { background:var(--surface); color:var(--muted); font-size:.75rem; font-weight:700; }
.result-table td { font-size:.83rem; }
.seo-table { max-height:70vh; }
.seo-table th { white-space:nowrap; position:sticky; top:0; }
.seo-table td { min-width:130px; max-width:320px; font-size:.78rem; overflow-wrap:anywhere; }
.seo-table td:nth-child(1),.seo-table td:nth-child(5) { min-width:280px; }
.account-shell { display:grid; grid-template-columns:190px minmax(0,1fr); gap:40px; }
.account-sidebar { border-right:1px solid var(--line); padding-right:24px; }
.account-sidebar-title { color:var(--blue); font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; padding:12px 0 20px; }
.account-nav { display:flex; flex-direction:column; gap:5px; font-size:.86rem; }
.account-nav>a { padding:12px; text-decoration:none; color:var(--muted); }
.account-nav>a:hover { color:var(--blue); background:var(--surface); }
.account-nav>a[aria-current=page] { color:#fff; background:var(--blue); font-weight:700; }
.account-nav form { border-top:1px solid var(--line); padding:20px 12px; margin-top:20px; }
.account-main { min-width:0; }
.account-main h1 { font-size:clamp(2rem,3.5vw,2.75rem); }
.card { border-color:var(--line); border-radius:0; }
.card-body { padding:28px; }
.account-narrow { max-width:500px; }
.auth-shell { padding-block:60px; }
.auth-layout { display:grid; grid-template-columns:1fr 1fr; border:1px solid var(--line); }
.auth-side { padding:48px; background:var(--blue); color:#fff; }
.auth-side h1 { color:#fff; font-size:clamp(2.2rem,4vw,3.2rem); }
.auth-side .eyebrow { color:var(--yellow); }
.auth-side p { color:#e1eaff; }
.auth-side img { width:100%; height:auto; margin-top:16px; }
.auth-benefits { list-style:none; padding:0; margin-top:30px; font-size:.87rem; }
.auth-benefits li { display:flex; gap:12px; padding:14px 0; border-bottom:1px solid #ffffff40; }
.auth-benefits li span { color:var(--yellow); }
.auth-card { padding:48px; border:0; display:flex; flex-direction:column; justify-content:center; }
.auth-card h2 { font-size:1.65rem; }
.auth-step { font-size:.7rem; color:var(--muted); margin-bottom:26px; }
.onboarding-shell { max-width:1020px; }
.onboarding-title { font-size:clamp(2rem,4vw,2.8rem); }
.wizard-steps { list-style:none; display:flex; gap:14px; padding:0; }
.wizard-steps li { flex:1; display:flex; align-items:center; gap:10px; border-bottom:1px solid var(--line); padding:16px 0; color:var(--muted); font-size:.86rem; }
.wizard-steps li span { display:grid; place-items:center; background:var(--surface); width:28px; height:28px; flex-shrink:0; font-size:.8rem; font-weight:700; }
.wizard-steps .current { color:var(--blue); font-weight:700; border-color:var(--blue); }
.wizard-steps .current span { background:var(--yellow); color:var(--ink); }
.wizard-steps .done span { background:var(--blue); color:#fff; }
.wizard-steps a { text-decoration:none; }
.vehicle-aside ul { padding-left:20px; }
.vehicle-aside li { margin:12px 0; }
.service-choice { padding:24px; border:1px solid var(--line); background:#fff; }
.service-option { display:flex; gap:12px; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; margin-bottom:12px; }
.vehicle-figure { position:relative; background:var(--surface); overflow:hidden; }
.vehicle-figure img { display:block; width:100%; height:auto; aspect-ratio:12/7; object-fit:cover; }
.vehicle-figure figcaption { color:var(--muted); font-size:.7rem; padding:8px; text-align:center; }
.garage-card { border:1px solid var(--line); overflow:hidden; }
.garage-photo { display:flex; align-items:center; background:var(--surface); }
.garage-photo .vehicle-figure { width:100%; }
.garage-observations { padding:24px; border-top:1px solid var(--line); background:var(--surface); font-size:.83rem; }
.garage-observations strong { font-size:.95rem; }
.vehicle-status { display:flex; align-items:center; gap:8px; font-size:.82rem; font-weight:600; }
.status-dot { width:7px; height:7px; background:var(--yellow); flex-shrink:0; }
.initial-check-list { list-style:none; padding:0; margin:16px 0; display:grid; gap:10px; font-size:.8rem; }
.initial-check-list li { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; }
.empty-garage { max-width:760px; margin:0 auto; }
.confirmed-change { background:#fff4f1; color:#952433; padding:12px; font-size:.85rem; }
details>summary { cursor:pointer; font-weight:600; }
section { scroll-margin-top:24px; }
@media(min-width:992px) { .navbar-toggler { display:none; } }
@media(max-width:1199px) { .navbar-nav .nav-link { padding-inline:10px; }.brand .ecuador-mark { display:none; }.quick-query { grid-template-columns:.65fr 1.35fr; gap:20px; }.quick-form { gap:0 12px; }.quick-form>.btn { padding-inline:14px; } }
@media(max-width:991px) {
    .row.g-5 { --bs-gutter-x:1.5rem; }.navbar { min-height:76px; }.brand .ecuador-mark { display:inline-flex; }
    .navbar-collapse { margin-top:16px; border-top:1px solid var(--line); padding-top:12px; }.navbar-nav .nav-link { text-align:left; width:100%; }.nav-account { margin:10px 0; }
    .dropdown-menu { border:0; border-left:1px solid var(--line); margin:6px 12px; }.intro-grid { gap:20px; }.intro-copy h1 { font-size:3.2rem; }
    .quick-query { grid-template-columns:1fr; gap:20px; }.query-intro { display:flex; justify-content:space-between; gap:24px; align-items:center; }.query-intro h2 { margin:0; }
    .garage-invitation-grid { gap:48px; }.directory-row { grid-template-columns:110px 1fr 150px; gap:24px; }.service-workspace { gap:32px; }
    .service-detail-grid { grid-template-columns:200px 1fr; gap:32px; }.info-layout { grid-template-columns:170px 1fr; gap:32px; }
    .auth-side,.auth-card { padding:32px; }.account-shell { grid-template-columns:150px minmax(0,1fr); gap:24px; }.account-sidebar { padding-right:16px; }
}
@media(max-width:767px) {
    .container { padding-inline:24px; }.home-intro { padding-top:32px; }.intro-grid { grid-template-columns:1fr; padding-bottom:28px; }.intro-copy h1 { font-size:3.25rem; }.intro-illustration { display:none; }
    .intro-copy .text-action { display:none; }.hero-description { margin-bottom:0; font-size:1rem; }.intro-copy h1 { margin:18px 0; }.provider-tabs>a,.provider-tabs>.selected,.provider-tabs>button { padding:12px 14px; font-size:.85rem; }
    .section-space { padding-block:44px; }.section-title-row { display:block; margin-bottom:24px; }.section-title-row>p { margin-top:16px; max-width:100%; }
    .directory-row { grid-template-columns:95px 1fr; gap:16px; padding:24px 0; }.directory-action { grid-column:2; flex-direction:row; align-items:center; flex-wrap:wrap; gap:12px; }.directory-provider>span { font-size:1.7rem; }
    .garage-invitation-grid { grid-template-columns:1fr; gap:40px; padding-block:44px; }.garage-invitation h2 { font-size:2.6rem; }.guide-links { gap:24px; }
    .reading-callout { display:block; }.reading-callout .text-action { margin-top:20px; }.service-workspace { grid-template-columns:1fr; gap:28px; padding-top:8px; }.service-overview { max-width:none; }
    .service-detail-grid { grid-template-columns:1fr; gap:28px; }.service-detail-grid aside { border-bottom:1px solid var(--line); padding-bottom:24px; }.service-heading { padding-bottom:24px; }
    .info-layout { grid-template-columns:1fr; gap:32px; }.info-nav { grid-template-columns:repeat(3,1fr); gap:0 14px; font-size:.8rem; }
    .auth-shell { padding-block:32px; }.auth-layout { grid-template-columns:1fr; }.auth-side { padding:28px; }.auth-side h1 { font-size:2.2rem; }.auth-benefits { display:none; }.auth-card { padding:28px; }
    .account-shell { grid-template-columns:1fr; gap:28px; }.account-sidebar { border:0; padding:0; }.account-sidebar-title { display:none; }.account-nav { flex-direction:row; flex-wrap:wrap; border-bottom:1px solid var(--line); padding-bottom:12px; font-size:.8rem; }
    .account-nav>a { padding:9px 12px; }.account-nav form { padding:9px 12px; margin:0; border:0; }.account-banner { align-items:flex-start; flex-direction:column; }
}
@media(max-width:575px) {
    .container { padding-inline:20px; }.navbar { padding-inline:20px; }.brand { font-size:1.35rem; }.brand-logo { width:180px; }.site-header .brand-logo { width:160px; }
    .intro-copy h1 { font-size:2.8rem; }.eyebrow { font-size:.64rem; letter-spacing:.08em; }.provider-tabs>a,.provider-tabs>.selected,.provider-tabs>button { padding:12px 9px; font-size:.76rem; }.provider-tabs span span,.provider-tabs a span,.provider-tabs button span { font-size:.66rem; }
    .quick-query { padding:20px; }.query-intro { display:block; }.query-intro h2 { font-size:1.2rem; margin-bottom:6px; }.query-intro p { font-size:.78rem; }
    .quick-form { grid-template-columns:1fr; gap:10px; }.quick-form>.btn { grid-row:3; min-height:50px; }.query-hint { grid-row:2; margin:0; }.query-footer { margin-inline:20px; font-size:.66rem; }
    .plate-input { font-size:1.6rem; padding:10px 12px; }.independence-note { font-size:.7rem; }.directory-row { grid-template-columns:70px 1fr; }.directory-provider small { font-size:.65rem; }.directory-provider>span { font-size:1.45rem; }.directory-copy h3 { font-size:1.05rem; }.directory-copy p { font-size:.8rem; }.directory-action .text-action { font-size:.82rem; }
    .guide-links { grid-template-columns:1fr; gap:24px; }.guide-links article { padding-top:20px; }.guide-links p { margin-bottom:8px; }.garage-benefits>div { gap:16px; }
    .service-form,.lookup-card,.setup-card,.card-body { padding:24px 20px; }.service-form .lookup-card { padding:0; }.summary-card { padding:20px; }.summary-card strong { font-size:2rem; }
    .wizard-steps { gap:9px; }.wizard-steps li { flex-direction:column; align-items:flex-start; font-size:.72rem; gap:8px; }.garage-observations { padding:22px; }.garage-observations section+section { border-top:1px solid var(--line); padding-top:16px; }
    .initial-check-list li { display:block; }.initial-check-list .status-pill { display:table; margin-top:5px; }.service-choice,.vehicle-aside,.explanation-panel,.contact-aside { padding:22px; }
    .page-heading .btn { width:100%; }.reading-column h1 { font-size:2rem; }.result-vehicle h2 { font-size:1.3rem; }.result-table th,.result-table td { padding:12px; }
}
@media(prefers-reduced-motion:reduce) { *,*:before,*:after { animation-duration:.01ms!important; transition-duration:.01ms!important; scroll-behavior:auto!important; } }

/* Inline consultation results stay within the existing visual system. */
.ajax-result:empty { display: none; }
.ajax-result > .container { padding-inline: 0; max-width: none; }
.ajax-result { scroll-margin-top: 5rem; overflow-wrap: anywhere; }
.consultation-section dl { overflow-wrap: anywhere; }

/* One searchable field per catalog choice; match the existing square Bootstrap forms. */
[data-lookup-status]:empty,[data-catalog-status]:empty {display:none}
[data-vehicle-form]:has(#plate:invalid) [data-vehicle-details] {display:none}
form:has([data-vehicle-form] #plate:invalid) [data-vehicle-actions] {display:none!important}
[data-vehicle-form] .ts-wrapper {padding:0;border:1px solid #abb8ca;min-height:50px;border-radius:0}
[data-vehicle-form] .ts-control {min-height:50px;border:1px solid #abb8ca;border-radius:0;padding:12px 36px 12px 12px;font-size:.96rem;box-shadow:none}
[data-vehicle-form] .ts-control input {font-size:.96rem;min-width:5rem}
[data-vehicle-form] .ts-wrapper.focus {border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,63,196,.12)}
[data-vehicle-form] .ts-wrapper.disabled .ts-control {background:#f3f5f8;opacity:1;color:#667085}
[data-vehicle-form] .ts-dropdown {border:1px solid #abb8ca;border-radius:0;font-size:.96rem;box-shadow:0 8px 20px rgba(20,40,70,.1);z-index:20}
[data-vehicle-form] .ts-dropdown .option {padding:10px 12px}
[data-vehicle-form] .ts-dropdown .active {background:#eaf0ff;color:#003fc4}
[data-vehicle-form] .ts-dropdown-content {max-height:260px}
[data-vehicle-form] .ts-dropdown .loading-more-results,[data-vehicle-form] .ts-dropdown .no-more-results {padding:10px 12px;color:#667085;font-size:.85rem}
.plate-input-wrap .plate-lookup {flex:0 0 56px;border:0;margin:0;display:flex;align-items:center;justify-content:center;padding:0;border-radius:0}
.plate-lookup[aria-busy="true"] svg {animation:lookup-pulse .8s ease-in-out infinite alternate}
@keyframes lookup-pulse {to {opacity:.35}}
@media(prefers-reduced-motion:reduce){.plate-lookup[aria-busy="true"] svg{animation:none}}

/* Vehicle profile: one identity block and independent source cards. */
.vehicle-overview { display:grid;grid-template-columns:minmax(0, .85fr) minmax(0, 1.4fr);gap:32px;padding:28px;border:1px solid var(--line);align-items:center; }
.vehicle-overview-image .vehicle-figure { margin:0; }
.vehicle-overview-body { min-width:0; }
.vehicle-heading { display:flex;justify-content:space-between;align-items:flex-start;gap:16px; }
.vehicle-heading h1 { font-size:clamp(1.8rem,3vw,2.6rem);margin-bottom:8px; }
.vehicle-heading .eyebrow { margin-bottom:12px; }
.vehicle-heading .plate-chip { display:inline-flex;align-items:center;padding:0 12px 0 0;font-size:.9rem;flex-shrink:0; }
.vehicle-heading .plate-country { background:var(--blue);color:white;font-size:.65rem;letter-spacing:0;padding:12px 7px;margin-right:10px; }
.vehicle-profile-data { margin-top:18px; }
.vehicle-profile-data summary { font-size:.9rem;color:var(--blue); }
.vehicle-profile-data dl>div { display:grid;grid-template-columns:1fr 1.2fr;gap:12px;margin-bottom:8px;font-size:.84rem; }
.vehicle-profile-data dd { margin:0;overflow-wrap:anywhere; }
.vehicle-primary-actions { display:flex;align-items:stretch;gap:10px; }
.vehicle-primary-actions form { flex:1;max-width:350px;min-width:0; }
.vehicle-consult-button { display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:56px;padding:14px 18px;font-size:1.05rem;white-space:nowrap; }
.vehicle-consult-button svg { flex-shrink:0; }
.vehicle-edit-button { display:flex;align-items:center;justify-content:center;flex:0 0 56px;min-height:56px;padding:0; }
@media(max-width:575px){.vehicle-consult-button{font-size:.93rem;padding-inline:10px;gap:8px}.vehicle-edit-button{flex-basis:52px}.vehicle-primary-actions{gap:8px}}
.vehicle-check-card { padding:22px; }
.vehicle-check-card h2 { font-size:1.1rem;line-height:1.4;margin-bottom:18px; }
.vehicle-check-state { background:var(--surface);padding:12px;width:100%;font-size:.85rem; }
.vehicle-check-actions { margin-top:auto;padding-top:8px;display:flex;flex-direction:column;gap:14px;width:100%; }
.vehicle-integrated-checks:empty { display:none; }
@media(max-width:1199px){.vehicle-heading{flex-wrap:wrap}.vehicle-overview{gap:24px;padding:24px}}
@media(max-width:767px){.vehicle-overview{grid-template-columns:1fr;padding:20px;gap:24px}.vehicle-overview-image{max-width:380px;width:100%;margin:auto}.vehicle-heading h1{font-size:1.9rem}.vehicle-profile-data dl>div{grid-template-columns:1fr 1fr}}

/* Check summaries stay compact; complete, preloaded results live in Bootstrap modals. */
.vehicle-check-result { min-width: 0; }
.check-summary { height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 20px; background: #fff; border: 1px solid var(--line); }
.check-summary-heading h3 { font-size: 1.05rem; line-height: 1.45; margin: 0 0 10px; }
.check-statuses { display: flex; flex-wrap: wrap; gap: 6px; }
.check-status { display: inline-block; font-size: .75rem; font-weight: 600; padding: 4px 8px; background: #edf1ff; color: #1636a7; }
.check-status-warning { background: #fff3d1; color: #735000; }
.check-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
.check-metrics dt { font-size: .8rem; color: #53617a; font-weight: 400; margin-bottom: 5px; }
.check-metrics dd { font-size: 1.1rem; font-weight: 700; line-height: 1.4; margin: 0; overflow-wrap: anywhere; }
.check-metrics > div:only-child { grid-column: 1 / -1; }
.check-summary-footer { margin-top: auto; }
.check-summary-footer .btn { min-height: 44px; padding: 9px 18px; }
.check-summary-footer p { font-size: .75rem; margin-bottom: 14px; }
.check-summary-footer strong { font-weight: 500; }
.check-details-modal .modal-body { overflow-wrap: anywhere; }
.check-details-modal .table { font-size: .875rem; min-width: 640px; }
.check-details-modal .table th:first-child { min-width: 140px; }
.check-details-modal .modal-header, .check-details-modal .modal-footer { flex-shrink: 0; }
.check-details-modal .modal-title { font-size: 1.1rem; }
.check-details-modal .modal-content { border-radius: 0; }
.check-details-modal .modal-body > section > :last-child { margin-bottom: 0; }
@media (max-width: 575.98px) {
    .check-summary { padding: 20px; gap: 12px; }
    .check-details-modal .modal-body { padding: 20px 16px; }
    .check-details-modal .modal-header, .check-details-modal .modal-footer { padding: 16px; }
}

/* Honest progress: each step advances only when its existing request settles. */
.check-spinner { display:inline-block;flex:0 0 auto;width:18px;height:18px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:check-spin .75s linear infinite; }
.check-button-loading { display:inline-flex;align-items:center;justify-content:center;gap:10px;opacity:1!important;cursor:progress; }
.btn-primary.check-button-loading:disabled { background:var(--blue);border-color:var(--blue);color:#fff; }
.check-progress { margin-bottom:22px; }
.check-progress-label { display:flex;align-items:center;gap:10px;margin:0 0 10px;color:var(--blue);font-size:.85rem;font-weight:600; }
.check-progress progress { display:block;width:100%;height:4px;border:0;border-radius:0;background:#e7edfb;appearance:none; }
.check-progress progress::-webkit-progress-bar { background:#e7edfb; }
.check-progress progress::-webkit-progress-value { background:var(--blue);transition:width .3s ease; }
.check-progress progress::-moz-progress-bar { background:var(--blue); }
.check-progress-finished .check-progress-label { color:var(--muted);font-weight:400; }
.check-statuses { position:relative; }
.check-loading-label { position:absolute;inset:0;display:flex;align-items:center;gap:7px;font-size:.75rem;font-weight:600;color:var(--blue); }
.check-loading-label .check-spinner { width:13px;height:13px; }
.is-checking .check-statuses > :not(.check-loading-label) { visibility:hidden; }
.is-checking > .check-summary { border-color:var(--blue);animation:check-card-pulse 1.6s ease-in-out infinite; }
.check-metrics { transition:opacity .2s ease; }
.is-checking .check-metrics { opacity:.45; }
.check-result-arrived { animation:check-result-arrive .3s ease-out; }
@keyframes check-spin { to { transform:rotate(360deg); } }
@keyframes check-card-pulse { 50% { box-shadow:0 0 0 3px rgba(0,63,196,.12); } }
@keyframes check-result-arrive { from { opacity:.55;transform:translateY(5px); } to { opacity:1;transform:translateY(0); } }
@media(prefers-reduced-motion:reduce) {
    .check-spinner,.is-checking > .check-summary,.check-result-arrived { animation:none; }
    .check-metrics,.check-progress progress::-webkit-progress-value { transition:none; }
}

.result-next-step { padding:clamp(24px,4vw,40px); background:#fff9df; border:1px solid #eadc9c; border-top:4px solid var(--yellow); }
.result-next-step .eyebrow { color:var(--blue); margin-bottom:14px; }
.result-next-step-title { max-width:920px; margin-bottom:16px; font-size:clamp(1.9rem,4.5vw,3.25rem); font-weight:800; line-height:1.08; }
.result-next-step-title>span { color:var(--blue); white-space:nowrap; }
.result-next-step-description { max-width:780px; margin-bottom:22px; font-size:1rem; }
.result-next-step-benefits { display:grid; gap:12px; padding:0; margin:0 0 28px; list-style:none; }
.result-next-step-benefits li { display:flex; align-items:flex-start; gap:10px; line-height:1.5; }
.result-next-step-benefits li>span { display:grid; place-items:center; width:20px; height:20px; margin-top:2px; flex:0 0 20px; border-radius:50%; background:var(--blue); color:#fff; }
.result-next-step-benefits .nav-icon { width:14px; height:14px; }
.result-next-step-actions { display:flex; flex-wrap:wrap; gap:12px; }
.result-next-step-actions form { margin:0; }
.result-next-step-actions .btn { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:48px; }
.result-next-step-note { margin:14px 0 0; color:var(--muted); font-size:.8rem; }
@media(max-width:575px) { .result-next-step-actions { flex-direction:column; align-items:stretch; }.result-next-step-actions .btn { width:100%; }.result-next-step-title>span { display:block; margin-top:4px; } }
.modal-content{border-radius:0}#loginModal .modal-dialog{max-width:480px}#loginModal .form-control{min-height:48px}
.is-verifying .modal-header { position:relative; justify-content:center; padding-block:22px 10px; }
.is-verifying .modal-header .brand { margin-inline:auto; }
.is-verifying .modal-header .btn-close { position:absolute; right:16px; top:20px; margin:0; }
.auth-mail-illustration { display:grid; place-items:center; width:88px; height:88px; margin:0 auto 20px; border-radius:50%; background:var(--surface); color:var(--blue); }
.auth-mail-illustration .nav-icon { width:52px; height:52px; }
.login-code-step h1,.login-code-step h2 { margin-bottom:12px; }
.login-recipient { color:var(--ink); overflow-wrap:anywhere; }
.form-control.login-code-input { text-align:center; font-size:1.5rem; font-weight:600; letter-spacing:.3em; padding-left:calc(.75rem + .3em); font-variant-numeric:tabular-nums; }
.login-divider { display:flex; align-items:center; gap:18px; margin:25px 0 20px; color:var(--muted); }
.login-divider::before,.login-divider::after { content:''; flex:1; border-top:1px solid var(--line); }
.login-link-hint { display:flex; align-items:center; justify-content:center; gap:10px; font-size:.88rem; color:var(--muted); }
.login-code-actions { display:grid; grid-template-columns:1fr 1fr; align-items:start; margin-block:24px; }
.login-code-actions > :first-child { padding-right:12px; border-right:1px solid var(--line); }
.login-code-actions > :last-child { padding-left:12px; }
.login-text-action { display:inline-flex; justify-content:center; align-items:center; gap:8px; padding:0; border:0; background:none; color:var(--blue); font-size:.85rem; font-weight:600; text-decoration:none; }
.login-text-action:hover { color:var(--navy-hover); text-decoration:underline; }
.login-text-action:disabled { color:var(--muted); cursor:default; text-decoration:none; }
.login-text-action[aria-disabled="true"] { pointer-events:none; opacity:.65; }
.login-resend-timer { display:block; min-height:1.4em; margin-top:7px; color:var(--muted); font-size:.75rem; }
.is-verifying .login-legal { text-align:center; border-top:1px solid var(--line); padding-top:18px; }
@media(max-width:360px) { .login-code-actions { grid-template-columns:1fr; gap:18px; } .login-code-actions > :first-child { border:0; padding:0; } .login-code-actions > :last-child { padding:0; } }

.follow-up-channel-label { float:none; width:auto; font-size:.96rem; }
.follow-up-channels { display:flex; align-items:center; gap:4px; width:fit-content; max-width:100%; margin-inline:auto; padding:4px; border:1px solid var(--line); border-radius:999px; background:#fff; }
.follow-up-channel { display:flex; align-items:center; justify-content:center; min-height:40px; padding:9px 17px; border-radius:999px; color:var(--muted); font-size:.875rem; font-weight:700; line-height:1.4; cursor:pointer; }
.follow-up-channels .btn-check:not(:disabled):not(:checked)+.follow-up-channel:hover { background:var(--surface); }
.follow-up-channels .btn-check:checked+.follow-up-channel { color:#fff; background:var(--blue); }
.follow-up-channels .btn-check:focus-visible+.follow-up-channel { outline:2px solid var(--blue); outline-offset:2px; }
.follow-up-channels .btn-check:disabled+.follow-up-channel { opacity:.5; cursor:not-allowed; }

.provider-tabs>button { background:#fff; text-align:left; min-width:0; }
[data-home-tabs] { scroll-margin-top:24px; }
.query-service { grid-column:1/-1; margin-bottom:14px; }
/* Invisible Turnstile stays in the form without an extra grid row or margin. */
.query-challenge { line-height:0; }
@media(max-width:575px) {
    .quick-form-municipales>.query-service { grid-row:1; }
    .quick-form-municipales>.query-field { grid-row:2; }
    .quick-form-municipales>.query-hint { grid-row:3; }
    .quick-form-municipales>.btn { grid-row:4; }
}

/* Private administration: compact metrics and a chart without external dependencies. */
.admin-metrics { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:16px; }
.admin-metrics .summary-card { height:100%; padding:20px; min-width:0; }
.admin-metrics .summary-card strong { font-size:2rem; overflow-wrap:anywhere; }
.admin-metrics .summary-card .admin-balance-value { font-size:1.7rem; }
.admin-metrics .summary-card small { font-size:.75rem; color:var(--muted); }
.admin-metrics .summary-card > a { margin-top:auto; font-size:.8rem; }
.admin-chart-scroll { overflow-x:auto; }
.admin-usage-chart { display:block; width:100%; min-width:620px; }
.admin-chart-label { fill:#53627a; font-size:12px; }
.admin-usage-chart rect:focus { outline:2px solid #132d5f; }
.admin-chart-today { font-size:.85rem; border-bottom:3px dashed #b88400; padding-bottom:6px; }
@media(max-width:575.98px) { .admin-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } .admin-metrics .summary-card { padding:16px; } .admin-metrics .summary-card strong { font-size:1.6rem; } }
.admin-metrics .summary-card > span { min-height:3.4em; }
@media(min-width:1200px) { .admin-metrics { grid-template-columns:repeat(5,minmax(0,1fr)); } .admin-metrics .summary-card { padding:16px; } .admin-metrics .summary-card .admin-balance-value { font-size:1.5rem; } }

/* Account switching is kept in one menu, separate from workspace navigation. */
.nav-icon { width:19px; height:19px; flex:0 0 19px; }
.nav-icon.inline-icon { display:inline-block; width:1em; height:1em; flex:0 0 auto; vertical-align:-.125em; }
.profile-menu-toggle { display:inline-flex; align-items:center; gap:10px; padding:11px 17px; }
.profile-menu-toggle::after { margin-left:5px; }
.profile-dropdown .profile-menu { width:310px; max-width:calc(100vw - 40px); min-width:0; padding:12px; margin-top:10px; border:1px solid var(--line); box-shadow:0 12px 30px #11213b14; }
.profile-menu-identity { display:flex; align-items:center; gap:12px; padding:10px 8px 14px; }
.profile-menu-identity > div { min-width:0; }
.profile-menu-identity strong { display:block; font-size:.94rem; overflow-wrap:anywhere; }
.profile-menu-email { display:block; color:var(--muted); font-size:.8rem; overflow-wrap:anywhere; }
.profile-menu-avatar { display:grid; place-items:center; width:40px; height:40px; flex:0 0 40px; background:var(--surface); color:var(--blue); border:1px solid var(--line); border-radius:50%; }
.profile-menu .dropdown-item { display:flex; align-items:center; gap:12px; padding:12px 10px; white-space:normal; }
.profile-menu .dropdown-divider { margin:5px 0; border-color:var(--line); }
.profile-menu-logout { width:100%; text-align:left; }
.admin-header-nav { display:flex; align-items:center; gap:22px; min-height:90px; padding-block:16px; }
.admin-workspace-label { padding-left:22px; border-left:1px solid var(--line); color:var(--muted); font-size:.85rem; font-weight:600; }
.admin-clocks { display:flex; align-items:center; gap:24px; }
.admin-clock { display:grid; gap:2px; min-width:94px; font-variant-numeric:tabular-nums; }
.admin-clock-label { color:var(--muted); font-size:.7rem; font-weight:600; white-space:nowrap; }
.admin-clock time { color:var(--blue); font-size:1.15rem; font-weight:700; line-height:1.25; }
.admin-clock-date { color:var(--muted); font-size:.7rem; }
@media(max-width:991.98px) {
    .admin-header-nav { flex-wrap:wrap; }
    .admin-clocks { order:3; flex-basis:100%; justify-content:center; gap:48px; border-top:1px solid var(--line); padding-top:12px; }
}
.admin-site-footer { font-size:.8rem; }
@media(max-width:991.98px) {
    .site-header .navbar-collapse { order:3; }
    .navbar-actions { margin-left:auto; }
    .navbar-actions .profile-menu-toggle { width:44px; height:44px; justify-content:center; padding:0; }
    .navbar-actions .profile-menu-toggle > span { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
    .navbar-actions .profile-menu-toggle::after { display:none; }
    .navbar-actions .profile-menu { right:0; left:auto; margin:10px 0 0; max-width:calc(100vw - 150px); max-height:calc(100dvh - 90px); overflow-y:auto; }
    .navbar-actions .navbar-toggler { min-height:44px; }
}
@media(max-width:575.98px) {
    .site-header .navbar-brand { margin-right:8px; }
    .navbar-actions .navbar-toggler,.navbar-actions .nav-account { width:44px; height:44px; padding:0; justify-content:center; }
    .navbar-actions .menu-label,.navbar-actions .nav-account-label { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
    .navbar-actions .profile-menu { right:-52px; max-width:calc(100vw - 40px); }
    .admin-header-nav { min-height:76px; gap:12px; }
    .admin-workspace-label { display:none; }
    .admin-header-nav .profile-menu-toggle { padding:10px 12px; gap:7px; font-size:.82rem; }
}

/* Private mentions workspace; source HTML is rendered as plain text. */
.mention-text { white-space:pre-wrap; overflow-wrap:anywhere; max-height:32rem; overflow-y:auto; }
.mention-title-cell { min-width:230px; max-width:440px; overflow-wrap:anywhere; }

.admin-filters { margin-block:16px 24px; }
.admin-filters-toggle { display:inline-flex; align-items:center; gap:8px; min-height:40px; padding:7px 12px; font-size:.82rem; list-style:none; }
.admin-filters-toggle::-webkit-details-marker { display:none; }
.admin-filters-toggle .nav-icon { width:17px; height:17px; }
.admin-filters-count { padding:2px 6px; background:var(--surface); color:var(--blue); font-size:.7rem; }
.admin-filters[open] > .admin-filters-toggle { background:var(--blue); color:#fff; }
.admin-filters[open] .admin-filters-chevron { transform:rotate(180deg); }
.admin-filters-panel { margin-top:12px; padding:16px; border:1px solid var(--line); background:var(--surface); }
.admin-filters-panel .form-label { margin-bottom:4px; font-size:.75rem; line-height:1.4; }
.admin-filters-panel .form-control,.admin-filters-panel .form-select { min-height:36px; padding:6px 9px; font-size:.85rem; }
.admin-filters-panel .form-select { padding-right:30px; }
.admin-filters-panel .btn { min-height:36px; padding:7px 12px; font-size:.8rem; }
.admin-filters-panel a { font-size:.82rem; }
@media(max-width:575.98px) { .admin-filters-toggle { min-height:44px; }.admin-filters-panel { padding:12px; }.admin-filters-panel .form-control,.admin-filters-panel .form-select { min-height:40px; font-size:1rem; }.admin-filters-panel .btn { min-height:44px; } }
