:root { color-scheme: light; --ink: #342b32; --muted: #70616c; --berry: #9e2e55; --line: #e6dce1; --green: #24644f; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.75 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--berry); text-underline-offset: 4px; }
a:hover { color: #6f1637; }
a:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
[hidden] { display: none !important; }
.skip-link { position: absolute; top: -90px; left: 12px; z-index: 30; background: white; padding: 12px; }
.skip-link:focus { top: 12px; }
.manual-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px max(24px, calc((100% - 1240px)/2)); background: #fff7fa; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 22px; font-weight: 800; color: var(--berry); text-decoration: none; white-space: nowrap; }
.wordmark span { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 14px; }
.action { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: var(--berry); color: #fff; padding: 10px 18px; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 750; line-height: 1.5; }
.action:hover { background: #741d3c; color: #fff; }
.manual-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 64px; max-width: 1240px; margin: auto; padding: 40px 24px 80px; }
.manual-index { align-self: start; position: sticky; top: 116px; max-height: calc(100vh - 132px); overflow: auto; padding: 4px 14px 20px 0; }
.manual-index label { display: block; font-weight: 750; font-size: 14px; }
input { width: 100%; font: inherit; font-size: 14px; background: #fff; border: 1px solid #c7b5bd; border-radius: 6px; padding: 10px 12px; margin-top: 8px; }
.search-status { font-size: 12px; min-height: 22px; margin: 5px 0; color: var(--muted); }
#indexToggle { display: none; border: 1px solid var(--line); border-radius: 6px; background: #fff1f6; color: var(--berry); font: inherit; font-size: 14px; padding: 8px 12px; width: 100%; margin-bottom: 10px; cursor: pointer; }
@media (max-width: 680px) { #indexToggle { display: block; } }
.manual-index nav { display: grid; gap: 3px; }
.manual-index nav a { font-size: 13px; text-decoration: none; color: var(--muted); padding: 5px 10px; border-left: 2px solid transparent; line-height: 1.65; }
.manual-index nav a:hover, .manual-index nav a[aria-current] { background: #fff1f6; color: var(--berry); border-color: var(--berry); }
.support-link { display: block; margin-top: 20px; font-size: 14px; font-weight: 700; }
main { min-width: 0; }
section { padding: 38px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 14px; }
.intro { padding-top: 0; }
.eyebrow { color: var(--berry); font-size: 12px; text-transform: uppercase; font-weight: 800; margin: 0 0 10px; }
h1, h2, h3 { line-height: 1.24; overflow-wrap: anywhere; }
h1 { font-size: 38px; max-width: 680px; margin: 0 0 20px; }
h2 { font-size: 27px; margin: 0 0 20px; }
h3 { font-size: 19px; margin: 30px 0 12px; }
p { margin: 12px 0 18px; }
.lead { font-size: 19px; color: var(--muted); }
ol, ul { padding-left: 25px; }
li { padding-left: 7px; margin: 12px 0; }
li::marker { color: var(--berry); font-weight: 700; }
.start-options { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 30px 0; }
.start-options a { border: 1px solid #d3c2ca; border-radius: 8px; padding: 20px; text-decoration: none; color: var(--ink); }
.start-options a:first-child { background: #fff4f8; border-color: #e9b9ca; }
.start-options a:last-child { background: #f2faf6; border-color: #a9caba; }
.start-options strong { display: block; font-size: 17px; line-height: 1.4; }
.start-options span { display: block; font-size: 14px; color: var(--muted); margin-top: 8px; }
.note, .tip, .example, .warning { padding: 16px 20px; border-left: 3px solid #bd7090; background: #fcf5f8; }
.tip { border-color: #43816a; background: #f0f9f4; }
.example { border-color: #77869a; background: #f4f6f8; }
.warning { border-color: #b28a33; background: #fff9e9; }
.route { columns: 2; font-size: 15px; }
.mode-figure { margin: 26px 0; }
.mode-figure img { display: block; width: 100%; max-width: 440px; height: auto; }
.mode-figure figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.route li { break-inside: avoid; margin: 7px 0; }
.table-scroll { overflow-x: auto; margin: 24px 0; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; line-height: 1.6; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 135px; }
th { background: #f7f1f4; font-weight: 750; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; color: var(--berry); font-weight: 700; line-height: 1.55; }
details p { padding-left: 20px; font-size: 15px; }
.glossary-ref { font-weight: 650; overflow-wrap: anywhere; }
.glossary-back-row { margin: 24px 0 4px; }
.glossary-back { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 13px; border: 1px solid #d9b4c3; border-radius: 6px; background: #fff4f8; font-weight: 750; text-decoration: none; }
.glossary-entry, #tarifa-base, #apartado { scroll-margin-top: 18px; }
.glossary-entry:target > summary { background: #fff1f6; outline: 2px solid #e9b9ca; outline-offset: 6px; }
details details { margin: 12px 0 0 20px; border-bottom: 0; padding: 8px 0; }
details details summary { font-size: 14px; color: var(--muted); }
.contact-band { margin-top: 40px; padding: 26px 0; border-top: 3px solid var(--berry); }
.contact-band h3 { margin-top: 0; }
.assistant-section { border-bottom: 0; padding-bottom: 18px; }
.assistant-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 26px 0 22px; padding: 26px; border: 1px solid #e6cbd6; border-radius: 8px; background: #fff8fb; }
.assistant-card h3 { margin-top: 0; }
.assistant-card ol, .assistant-card ul { margin-bottom: 0; }
.assistant-examples { padding-left: 26px; border-left: 1px solid #e6cbd6; }
.assistant-action { min-height: 52px; margin-top: 6px; padding-inline: 24px; }
footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; font-size: 12px; color: var(--muted); }
@media (max-width: 940px) { .manual-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 28px; } .wordmark span { display: none; } h1 { font-size: 32px; } .start-options { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .manual-top { padding: 14px 16px; gap: 12px; } .wordmark { font-size: 20px; } .action { font-size: 12px; padding: 10px 12px; } .manual-layout { display: block; padding: 24px 18px 60px; } .manual-index { position: static; max-height: none; padding: 0 0 24px; margin-bottom: 32px; border-bottom: 1px solid var(--line); } .manual-index nav { grid-template-columns: repeat(2, minmax(0,1fr)); } .manual-index nav a { font-size: 12px; } .manual-index .support-link { margin-top: 12px; } h1 { font-size: 30px; } h2 { font-size: 24px; } .lead { font-size: 17px; } .route { columns: 1; } section { padding: 30px 0; } .assistant-card { grid-template-columns: 1fr; padding: 20px; } .assistant-examples { padding: 22px 0 0; border-left: 0; border-top: 1px solid #e6cbd6; } .assistant-action { width: 100%; } footer { display: block; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .manual-top, .manual-index, .skip-link, .start-options, footer { display: none; } .manual-layout { display: block; padding: 0; max-width: none; } section { break-inside: auto; } h2, h3 { break-after: avoid; } body { font-size: 11pt; } .table-scroll { overflow: visible; } }
