:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172b40;background:#f4f7f9;line-height:1.45}*{box-sizing:border-box}body{margin:0}header{background:#123b55;color:#fff;padding:1rem max(1rem,calc((100vw - 1320px)/2));display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;position:sticky;top:0;z-index:20;box-shadow:0 1px 8px #0002}header>div{font-size:1.05rem;padding-top:.4rem}header a{color:#fff;text-decoration:none;padding:.35rem .15rem}nav{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}.navform{display:inline;background:transparent;border:0;padding:0;margin:0;box-shadow:none}.navform button{background:#fff;color:#123b55;padding:.42rem .7rem}main{max-width:1320px;margin:2rem auto;padding:0 1.1rem}.narrow{max-width:760px}h1{font-size:1.9rem;line-height:1.2;margin:.3rem 0 1rem}h2{font-size:1.3rem;margin:2.2rem 0 .8rem}h3{margin:1rem 0 .65rem}h4{margin:1rem 0 .5rem}.cards,.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1rem}.card,form,.notice,.error,.eligibility{background:#fff;border:1px solid #d7e1e7;border-radius:12px;padding:1rem 1.1rem;box-shadow:0 1px 2px #00000008}.card strong{display:block;font-size:1.55rem;color:#0b5975}.danger-card{border-color:#d9a1a1}.danger-card strong{color:#8a1f1f}label{display:block;font-weight:600;margin:.85rem 0}input,select,textarea{display:block;width:100%;padding:.7rem .75rem;border:1px solid #a7bac6;border-radius:7px;font:inherit;margin-top:.35rem;background:#fff;color:#172b40}input:focus,select:focus,textarea:focus{outline:3px solid #c9e5ef;border-color:#367c93}input.inline{display:inline-block;width:auto;margin:0 .35rem 0 0;vertical-align:middle}textarea{min-height:8rem;resize:vertical}button,.button{display:inline-block;background:#126179;color:#fff;border:0;border-radius:7px;padding:.72rem 1rem;font:inherit;font-weight:650;text-decoration:none;cursor:pointer}button:hover,.button:hover{filter:brightness(.94)}button:disabled{opacity:.5;cursor:not-allowed}a{color:#0b607b}.table-wrap{width:100%;overflow:auto;background:#fff;border:1px solid #d7e1e7;border-radius:10px;margin:.6rem 0 1rem}table{width:100%;border-collapse:collapse;min-width:720px}th,td{text-align:left;padding:.7rem .8rem;border-bottom:1px solid #e3eaee;vertical-align:top}th{background:#edf3f6;color:#27495e;font-size:.92rem;position:sticky;top:0}tbody tr:last-child td{border-bottom:0}.error{color:#7c1717;border-color:#cc9292;background:#fff8f8}.notice{color:#124b40;border-color:#8dc8b7;background:#f6fffc}.muted{color:#5a7180}.success{color:#16633e;font-weight:700}.pill{display:inline-block;background:#e3eef3;border-radius:1rem;padding:.15rem .6rem;font-size:.85rem}.actions{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}.eligibility ul{margin:.5rem 0;padding-left:1.2rem}.eligibility li{margin:.42rem 0}.eligibility.ok{border-left:5px solid #4f9c72}.eligibility.blocked{border-left:5px solid #b15e5e}.policy-body{max-height:22rem;overflow:auto;padding:.75rem;background:#f7f9fa;border-radius:7px;border:1px solid #e1e8ec}.print-card{max-width:900px;background:#fff;border:1px solid #ccd9e0;border-radius:12px;padding:2rem;margin:auto}footer{text-align:center;padding:2rem;color:#5a7180}@media(max-width:800px){header{position:static;display:block}nav{margin-top:.8rem}.table-wrap table{min-width:650px}main{margin-top:1rem}}@media print{header,footer,.button,button,form{display:none!important}body{background:#fff}main{max-width:none;margin:0;padding:0}.print-card{border:0;box-shadow:none;max-width:none;padding:.25in}a{color:#000;text-decoration:none}}
.warning{background:#fff9ed;border:1px solid #e8c67a;border-radius:10px;padding:.85rem 1rem;margin:.8rem 0;color:#6b4b00}.sensitive-card{border-left:5px solid #8ba6b5}

/* Correcciones de accesibilidad y presentacion 0.2.1 */
[hidden]{display:none!important}.auth-page{margin:2.25rem auto 1rem}.error-card{background:#fff;border:1px solid #d7e1e7;border-radius:14px;padding:clamp(1.2rem,3vw,2rem);box-shadow:0 6px 20px #123b5508}.error-card .error{margin:1.2rem 0 1.4rem}.error-card .actions{margin:1rem 0;gap:.8rem}.eyebrow{font-weight:700;letter-spacing:.07em;font-size:.8rem;color:#526e80;margin:0 0 1rem}.button.secondary{background:#eaf1f5;color:#123b55;border:1px solid #c8d7e0}button:focus-visible,.button:focus-visible,a:focus-visible{outline:3px solid #75adbf;outline-offset:3px}input:disabled,select:disabled{background:#edf2f5;color:#687d8c}header nav{font-size:.96rem}h2[id]{scroll-margin-top:10rem}.auth-page form{margin-top:1.25rem}.auth-page input{min-height:46px}.auth-page .actions a{min-height:44px;display:inline-flex;align-items:center}.auth-page p{overflow-wrap:anywhere}td{overflow-wrap:anywhere}.notice,.warning,.error{overflow-wrap:anywhere}.auth-page .error{line-height:1.65}@media(max-width:600px){.auth-page{margin-top:1rem}.error-card{padding:1.2rem}.auth-page .actions{align-items:stretch;flex-direction:column}.auth-page .actions a{justify-content:center}h1{font-size:1.65rem}header nav{font-size:.9rem}}

/* Phase 2: compact navigation, accessible progressive forms */
header{position:relative}header nav{gap:.45rem .85rem;font-size:.92rem}.p2-section{background:white;border:1px solid #d9e2e9;border-radius:12px;margin:1rem 0}.p2-section summary{cursor:pointer;font-weight:650;padding:1rem;color:#123b52}.p2-section-body{padding:0 1rem 1rem}.p2-section-body form{box-shadow:none}.p2-check{display:flex!important;align-items:center;gap:.6rem}.p2-check input{width:auto!important}.p2-filter{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:1rem;align-items:end}.p2-assignment-row{border:1px solid #cad9e1;border-radius:10px;padding:1rem;margin:1rem 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1rem}.prewrap{white-space:pre-wrap}.card a{text-decoration:underline}a.card{text-decoration:none;color:inherit}progress{width:100%;height:1.1rem;accent-color:#166a7c}th,td{overflow-wrap:anywhere}main{max-width:1450px}table{font-size:.92rem}form input[type=file]{max-width:100%}@media(max-width:650px){.p2-assignment-row{grid-template-columns:1fr}header nav{display:flex;overflow-x:auto;flex-wrap:nowrap;max-width:100%;padding-bottom:.7rem}header nav>a{white-space:nowrap}.table-wrap{overflow-x:auto}table{min-width:640px}.cards{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}}
@media(min-width:801px){header>div:first-child{flex:0 0 175px;line-height:1.5}}header nav:focus-within{scroll-behavior:smooth}
