/* Presentación del prototipo NAXOS; los datos y acciones siguen en cada API. */
.area-help-safety{padding:20px;border:1px solid var(--line);border-radius:12px;margin:18px 0;background:var(--surface)}
.area-help-safety h2,.area-help-safety h3{margin-top:0}.area-help-topics .area-guide p{max-width:85ch}
.area-terms-preview{display:grid;gap:12px}.area-terms-preview>div{padding:12px;background:var(--surface-soft);border-radius:8px}.area-terms-preview dt{font-size:13px;font-weight:700;color:var(--muted)}.area-terms-preview dd{margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.area-plan-state[data-tone="late"]{color:#a12c24}.area-plan-state[data-tone="complete"]{color:#16614e}.area-choice-group{padding:10px 0;border-top:1px solid var(--line)}
html[data-theme="dark"] .area-plan-state[data-tone="late"]{color:#ffb4ac}html[data-theme="dark"] .area-plan-state[data-tone="complete"]{color:#72d7b7}
.has-area-navigation{--card:var(--surface);--panel:var(--surface)}
.access-page:not(.has-area-navigation) main{color:#1b3049;--ink:#1b3049;--muted:#526276;color-scheme:light}
.access-page:not(.has-area-navigation) :is(h1,h2,label){color:#1b3049}
html[data-theme="dark"] .shared-header .shared-brand{color:#ff738b}
html[data-theme="dark"] .access-page.has-area-navigation>main>header>strong{color:#ff738b}
html[data-theme="dark"] .shared-hh :focus-visible{outline-color:#ff8fa3}
.access-page.has-area-navigation{padding-top:0;padding-right:0;padding-bottom:0;background:var(--bg);color:var(--ink)}
.access-page.has-area-navigation>main{display:block;max-width:none;padding:0;margin:0;border:0;border-radius:0;box-shadow:none;background:var(--bg);color:var(--ink)}
.access-page.has-area-navigation>main>header{padding:20px 32px;background:var(--surface);border-color:var(--line)}
.access-page.has-area-navigation header span{color:var(--muted)}
.access-page.has-area-navigation #result{padding:0 32px 20px;color:var(--muted);font-size:13px}
.access-page.has-area-navigation .btn{margin:0;font-size:13px;line-height:1.5;background:var(--surface);border:1px solid var(--line);color:var(--ink);padding:10px 14px;border-radius:8px;display:inline-flex;text-decoration:none}
.access-page.has-area-navigation .btn.primary{background:#20344c;color:#fff;border-color:#20344c}
.access-page.has-area-navigation label{margin-top:0}
.access-page.has-area-navigation input{background:var(--control-bg);color:var(--ink);border-color:var(--line)}
.access-page.has-area-navigation .document-list{grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr))}
.access-page.has-area-navigation .document-list li{padding:22px;background:var(--surface);border-color:var(--line);border-radius:14px}
.access-page.has-area-navigation .document-list .btn{margin:6px 8px 0 0}
.access-page.has-area-navigation #detail{padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:14px;margin-top:24px}
.area-purchase-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));list-style:none;padding:0;gap:16px}
.area-purchase-list li{border:1px solid var(--line);border-radius:12px;padding:20px;display:flex;align-items:flex-start;flex-direction:column;gap:12px}
.area-receipt-row{padding:16px 0;border-bottom:1px solid var(--line)}
.plan-calendar-table{overflow:auto;border:1px solid var(--line);border-radius:12px;margin:18px 0;background:var(--surface)}
.plan-calendar-table table{width:100%;min-width:680px;border-collapse:collapse}.plan-calendar-table th,.plan-calendar-table td{padding:12px;border-bottom:1px solid var(--line);text-align:left}.plan-calendar-table th{font-size:12px;background:var(--surface-soft)}
.plan-calendar-table input[type=range]{width:130px;accent-color:#22765e;vertical-align:middle}.plan-calendar-table .plan-calendar-number{width:70px;margin:0 8px}
.plan-calendar-table small{display:block;color:var(--muted)}
#plan-large{width:calc(100vw - 32px);max-width:none;height:calc(100vh - 32px);max-height:none;background:var(--surface);color:var(--ink);padding:24px;overflow:auto;border:1px solid var(--line);border-radius:14px}#plan-large .plan-timeline{max-height:calc(100vh - 230px)}
#plan-large::backdrop{background:#14263799}body:has(#plan-large[open]){overflow:hidden}.plan-view-actions{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:20px}
.has-area-navigation{font-family:"Segoe UI",Arial,sans-serif;line-height:1.5}
.has-area-navigation .shared-header{background:var(--panel,var(--bg));min-height:76px;padding:16px 32px}
.has-area-navigation .shared-content{max-width:1480px;padding:28px 32px 48px}
.has-area-navigation .shared-nav{background:var(--panel,var(--bg));gap:12px;padding:10px 32px;font-size:13px}
.has-area-navigation .shared-nav #person{font-size:13px;color:var(--muted)}
.shared-content h1,.shared-content h2,.shared-content h3{color:var(--ink);overflow-wrap:anywhere}
.shared-content h1{font-size:clamp(24px,2.5vw,32px);letter-spacing:-.7px;line-height:1.2;margin-bottom:10px}
.shared-content h2{font-size:20px}.shared-content p{line-height:1.6}
.area-steps{list-style:none;padding:0;margin:20px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.area-steps li{display:flex;gap:12px;padding:18px;background:var(--card,var(--bg));border:1px solid var(--line);border-radius:12px;min-width:0}
.area-step-number{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;border-radius:9px;background:var(--brand-soft,#fcecef);color:var(--brand,#b42236);font-weight:750}
.area-steps a,.area-steps strong{font-weight:700;font-size:14px;color:var(--ink)}.area-steps p{font-size:13px;color:var(--muted);margin:5px 0 0}
.area-guide{border:1px solid var(--line);border-radius:12px;background:var(--card,var(--bg));margin:18px 0;padding:14px 18px}.area-guide summary{cursor:pointer;font-weight:650;color:var(--ink);min-height:24px}.area-guide .area-steps{margin-bottom:0}
.area-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px;margin:22px 0}
.area-stats>div{background:var(--card,var(--bg));border:1px solid var(--line);border-radius:14px;padding:18px 20px;border-top:3px solid var(--brand,#c4182c)}
.area-stats dt{color:var(--muted);font-size:13px;font-weight:650}.area-stats dd{margin:5px 0;font-size:30px;font-weight:750;color:var(--ink);line-height:1.3}.area-stats dd a{color:inherit}.area-stats p{font-size:12px;color:var(--muted);margin:0}
.area-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:18px;margin:20px 0}.area-record{padding:22px!important;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:0!important}
.area-record h2{margin:0;font-size:18px}.area-record p{margin:0;color:var(--muted);overflow-wrap:anywhere}.area-record .btn{margin-top:8px}.area-code{font-size:12px;font-weight:750;color:var(--brand,#b42236);letter-spacing:.4px}
.area-filter{display:flex;gap:18px;align-items:flex-end;flex-wrap:wrap;margin:20px 0}.area-filter .field{max-width:540px;flex:1;min-width:220px;margin:0}.area-filter p{font-size:13px;color:var(--muted);margin:0}
.area-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:22px 0}.area-toolbar h2{margin:0}.area-dashboard-tabs{display:flex;gap:12px;margin:20px 0;flex-wrap:wrap}
.area-dashboard-tabs a{display:block;padding:12px 18px;border:1px solid var(--line);border-radius:10px;background:var(--card,var(--bg));color:var(--ink);font-weight:650}
.area-dashboard-tabs a[aria-current]{background:var(--brand-soft,#fcecef);color:var(--brand,#b42236);border-color:currentColor}
.area-dashboard-tabs .btn[aria-pressed="true"]{background:var(--sidebar-active)!important;color:var(--sidebar-active-ink)!important;border-color:currentColor!important}
.area-dashboard-tabs .btn{font-weight:650}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
.area-section-title{margin-top:28px}.shared-content .purchase-section{border-radius:14px}.shared-content fieldset{min-width:0}.shared-content legend{font-weight:700;padding:0 8px;color:var(--ink)}
.area-badge{display:inline-flex;border:1px solid var(--line);border-radius:6px;padding:3px 8px;font-size:12px;color:var(--muted);background:var(--surface-soft)}
.shared-content .p4-work-list>.card{padding:22px}.shared-content .p4-work-list h2{font-size:19px}.shared-content .report-row{border:1px solid var(--line);border-radius:12px;padding:18px;margin:12px 0;background:var(--card,var(--bg));border-left:4px solid var(--brand,#c4182c)}
.area-progress{display:flex;gap:12px;align-items:center;margin:12px 0;font-size:13px;color:var(--muted)}.area-progress progress{width:160px;max-width:65%;height:12px;accent-color:#16827c}
.shared-content :is(#message,#shared-message):not(:empty){border-left:3px solid var(--brand,#c4182c);padding:12px 16px;background:var(--card,var(--bg));border-radius:6px;overflow-wrap:anywhere}
.shared-content .purchase-table,.shared-content .table-wrap{max-width:100%}.shared-content .card{min-width:0}.shared-content .field input,.shared-content .field select,.shared-content .field textarea{min-width:0;max-width:100%}
.shared-content .btn{min-height:40px}.shared-content [hidden]{display:none!important}
html[data-theme="dark"] .area-step-number,html[data-theme="dark"] .area-dashboard-tabs a[aria-current]{background:#39252e;color:#ff9cab}
html[data-theme="dark"] .area-code{color:#ff9cab}
@media(max-width:900px){.area-steps{grid-template-columns:1fr}.area-steps li{padding:14px}.area-stats{gap:12px}.has-area-navigation .shared-content{padding:22px 20px}}
@media(max-width:620px){.has-area-navigation .shared-content{padding:18px 14px 36px}.has-area-navigation .shared-header,.has-area-navigation .shared-nav{padding:12px 14px}.area-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.area-stats>div{padding:14px}.area-stats dd{font-size:26px}.area-filter .field{min-width:0;width:100%;flex-basis:100%}.area-cards{grid-template-columns:minmax(0,1fr)}.area-dashboard-tabs{gap:8px}.area-dashboard-tabs a{flex:1;text-align:center;font-size:13px}.area-record{padding:18px!important}}
@media(max-width:620px){.shared-content .actions>.btn{flex:1 1 140px;min-width:min(140px,100%)}.shared-content .area-dashboard-tabs>a{flex:1 1 130px}.area-progress progress{width:120px}}
