*{box-sizing:border-box}html{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#1b3041;background:#f5f8fc}body{margin:0}a{color:#0963ac;text-decoration:none}a:hover{text-decoration:underline}.top{background:#102b44;color:white;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:.85rem max(1rem,calc((100vw - 1180px)/2))}.brand{display:flex;align-items:center;gap:.9rem;color:#fff;text-decoration:none}.brand:hover{text-decoration:none}.brand-logo{height:54px;max-width:260px;width:auto;display:block;background:transparent}.brand-text{font-weight:800;font-size:1.15rem;line-height:1.2;color:#fff}.top nav{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.top nav a{color:#e2eefb}.identity{opacity:.72;font-size:.86rem}.wrap{max-width:1180px;margin:2.3rem auto 5rem;padding:0 1rem;min-height:65vh}h1{font-size:clamp(1.7rem,3vw,2.25rem);margin:0 0 1.3rem}h2{margin-top:0;font-size:1.6rem}h3{margin-top:.3rem}p{line-height:1.6}.hero{background:linear-gradient(120deg,#183d60,#116e97);color:white;border-radius:18px;padding:2.5rem;margin-bottom:1.3rem}.hero p{max-width:650px;color:#e3f4ff}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.card{background:white;border:1px solid #e1e7ee;border-radius:14px;padding:1.4rem;margin:1rem 0;box-shadow:0 2px 12px #162c4210}.big{font-weight:800;font-size:3rem;color:#137bb6}.form{display:flex;flex-direction:column;gap:1.1rem;max-width:600px}.form.wide{max-width:760px}label{display:flex;flex-direction:column;gap:.4rem;font-weight:600;font-size:.94rem}input,select,textarea{width:100%;font:inherit;border:1px solid #c7d4e0;border-radius:8px;padding:.7rem .8rem;background:white;color:#1b3041}textarea{min-height:85px;resize:vertical}input[type=file]{padding:.55rem}input[type=checkbox]{width:auto}.check{display:flex;flex-direction:row;align-items:center;font-weight:400}.btn,button{display:inline-flex;justify-content:center;align-items:center;border:none;border-radius:8px;padding:.73rem 1.25rem;cursor:pointer;background:#126baa;color:white;font:inherit;font-weight:650;text-decoration:none;width:max-content}.btn:hover,button:hover{background:#07578d;color:white;text-decoration:none}.secondary{background:#e8f2fa;color:#135b8b}.secondary:hover{background:#d7e7f6;color:#135b8b}.small{font-size:.8rem;padding:.35rem .6rem;margin:.25rem}.actions{display:flex;gap:.7rem;flex-wrap:wrap;margin-top:1rem}.alert{background:#e4f6ed;padding:1rem;border-radius:8px;color:#146444;margin-bottom:1.2rem}.alert.danger{background:#ffe8e8;color:#9a2525}.muted{color:#617286;font-size:.85rem;margin-top:.25rem}.lead{max-width:750px;color:#53677c}.tablewrap{overflow:auto;background:white;border:1px solid #e1e7ee;border-radius:12px;margin-top:1rem}table{border-collapse:collapse;width:100%;min-width:760px}th,td{text-align:left;padding:.9rem;vertical-align:top;border-bottom:1px solid #edf1f6;font-size:.9rem}th{background:#eff5fa}td details{margin-top:.45rem}.mini{display:flex;flex-direction:column;gap:.5rem;padding:1rem;background:#f6f9fc;max-width:420px}.pill{background:#e8effa;color:#24577b;padding:.22rem .6rem;border-radius:16px;font-size:.86rem}.photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1rem}.photos figure{margin:0}.photos img{width:100%;height:260px;object-fit:contain;background:#f2f3f6;border-radius:10px}.photos figcaption{text-align:center;font-weight:650;padding:.5rem}.history{border-bottom:1px solid #edf1f6;padding-bottom:.6rem}.history small{color:#738394}.filter{display:flex;align-items:flex-end;gap:1rem;flex-wrap:wrap}.filter label{min-width:180px}summary{cursor:pointer}.qrwrap{text-align:center;padding:1rem}#qrBox svg{width:270px;max-width:100%;height:auto;display:block;margin:1rem auto;background:white}dialog{border:1px solid #cbd8e5;border-radius:14px;max-width:94vw;box-shadow:0 15px 55px #102b4455}dialog::backdrop{background:#112a3e88}footer{text-align:center;color:#7c8997;padding:2rem;font-size:.86rem}.honeypot{position:absolute;left:-99999px}@media(max-width:650px){.top{padding:1rem}.brand{width:100%;justify-content:flex-start}.brand-logo{height:42px;max-width:210px}.brand-text{font-size:1rem}.top nav{font-size:.88rem;gap:.65rem}.wrap{margin:1.4rem auto 4rem}.hero{padding:1.4rem}.btn,button{max-width:100%}}
/* Identidad corporativa y acceso empresarial */
.auth-page{background:#eef3f8;color:#142b40}
.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(420px,1.03fr) minmax(440px,1fr)}
.auth-promo{background:linear-gradient(154deg,#09263c 0%,#103d5b 60%,#086587 100%);color:#fff;padding:clamp(2rem,5vw,5rem);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}
.auth-promo::after{content:"";position:absolute;border:1px solid #ffffff20;border-radius:50%;width:560px;height:560px;right:-330px;bottom:-270px;pointer-events:none}
.auth-brand{display:inline-flex;align-self:flex-start;background:#fff;border-radius:14px;padding:11px 17px;box-shadow:0 10px 28px #001b3033}
.auth-brand img{width:230px;max-width:100%;height:auto;display:block}
.eyebrow{display:inline-block;letter-spacing:.15em;font-weight:750;font-size:.69rem}
.auth-promo .eyebrow{color:#9be4f1}
.auth-promo-content{position:relative;max-width:560px;padding:2rem 0}
.auth-promo-content h1{font-size:clamp(2.35rem,4.2vw,4.2rem);line-height:1.12;letter-spacing:-.035em;margin:1.1rem 0 1.25rem}
.auth-promo-content>p{font-size:1.08rem;line-height:1.75;color:#c7dfeb;max-width:490px}
.auth-benefits{display:grid;gap:1.15rem;margin-top:2.6rem}
.auth-benefits>div{display:flex;gap:1rem;align-items:center;color:#eefaff;font-size:.93rem}
.benefit-icon{height:29px;width:29px;flex:none;background:#ffffff22;border:1px solid #ffffff22;border-radius:50%;display:grid;place-items:center;color:#b4ffec}
.auth-promo-foot{font-size:.77rem;color:#a8cddd;position:relative}
.auth-panel{background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0;padding:2.5rem clamp(1.5rem,6vw,6rem)}
.auth-panel-inner{width:100%;max-width:430px;margin:auto 0}
.auth-eyebrow{color:#08739a}
.auth-panel h2{font-size:clamp(2rem,3vw,2.55rem);letter-spacing:-.035em;line-height:1.15;margin:.8rem 0 .7rem;color:#102b44}
.auth-intro{color:#67798a;font-size:.95rem;line-height:1.65;margin:0 0 2.25rem}
.auth-form{display:flex;flex-direction:column;gap:.55rem}
.auth-form>label{font-size:.85rem;font-weight:700;color:#223b50;margin:0 0 .12rem}
.auth-form>input,.password-field>input{height:51px;border:1px solid #cddae4;background:#fdfefe;border-radius:10px;font-size:.94rem;padding:0 1rem;outline:none}
.auth-form>input:focus,.password-field>input:focus{border-color:#117fa5;box-shadow:0 0 0 3px #117fa51a}
.auth-form>input{margin-bottom:1.1rem}
.password-field{position:relative;margin-bottom:1.35rem}
.password-field input{width:100%;padding-right:6rem}
.password-toggle{position:absolute;right:.55rem;top:50%;transform:translateY(-50%);background:transparent;color:#136587;width:auto;padding:.45rem;font-size:.78rem;border-radius:5px}
.password-toggle:hover{background:#eaf4f7;color:#0a4d73}
.auth-submit{width:100%;height:53px;background:#086caa;font-weight:750;display:flex;justify-content:space-between;padding:0 1.3rem;border-radius:10px}
.auth-submit:hover{background:#074e80}
.auth-submit span{font-size:1.4rem}
.auth-divider{display:flex;align-items:center;gap:1rem;margin:2.2rem 0 1.2rem;color:#9baab6;font-size:.66rem;font-weight:700;letter-spacing:.13em}
.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#e0e8ee;flex:1}
.auth-public-link{display:flex;align-items:center;justify-content:space-between;gap:1rem;border:1px solid #dce8ef;border-radius:10px;padding:1rem;color:#12608a;font-size:.87rem;font-weight:700}
.auth-public-link:hover{background:#f5fbff;text-decoration:none}
.auth-help{color:#7a8b98;font-size:.8rem;text-align:center;margin-top:1.8rem}
.auth-footer{font-size:.75rem;color:#97a5b1;padding:1.25rem 0 0}
.auth-mobile-logo{display:none}
/* Panel administrativo SST */
.dashboard-intro{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;margin-bottom:1.55rem}
.dashboard-intro .eyebrow{color:#117096}
.dashboard-intro h2{margin:.3rem 0;font-size:1.85rem;letter-spacing:-.03em}
.dashboard-intro p{margin:.45rem 0;color:#677a8a;max-width:680px;font-size:.92rem}
.dashboard-date{display:flex;flex-direction:column;gap:.25rem;background:white;padding:.8rem 1.2rem;border:1px solid #e0e8f0;border-radius:12px;min-width:156px}
.dashboard-date span{font-size:.73rem;color:#8392a1}.dashboard-date strong{font-size:.94rem;color:#193b54}
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1rem}
.metric-card{background:#fff;border:1px solid #e0e8f0;border-radius:14px;padding:1.4rem;box-shadow:0 3px 14px #102c4210;display:flex;flex-direction:column;min-height:155px}
.metric-label{font-size:.83rem;font-weight:700;color:#50687b}.metric-card strong{font-size:2.35rem;letter-spacing:-.04em;color:#102b44;margin:.5rem 0}.metric-note{font-size:.74rem;color:#8293a2}
.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.dashboard-section{margin:0;padding:1.45rem;min-width:0}
.section-heading{display:flex;align-items:start;justify-content:space-between;gap:1rem;margin-bottom:1.1rem}
.section-heading h3{font-size:1.07rem;color:#193b52;margin:0}.section-heading p{font-size:.77rem;margin:.32rem 0;color:#7d8e9b}
.completion-rate{font-weight:850;color:#086e9b;font-size:1.4rem}
.progress-track{height:11px;background:#e7edf3;border-radius:20px;overflow:hidden}.progress-fill{background:linear-gradient(90deg,#06819e,#1caf95);height:100%;border-radius:20px}
.progress-legend{display:flex;justify-content:space-between;gap:1rem;color:#708392;font-size:.77rem;margin-top:.65rem}
.status-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:2rem}
.status-breakdown>div{display:flex;align-items:center;gap:.55rem;font-size:.8rem;color:#50687b}.status-breakdown strong{margin-left:auto;color:#123149}
.status-dot{display:inline-block;width:9px;height:9px;border-radius:50%;flex:none}
.status-dot.status-pending{background:#d69a33}.status-dot.status-progress{background:#2283d0}.status-dot.status-review{background:#9173d4}.status-dot.status-done{background:#16a38b}
.quick-actions{display:grid;gap:.25rem}.quick-actions a{display:flex;align-items:center;gap:.8rem;padding:.75rem .5rem;border-radius:9px;color:#214761;text-decoration:none}
.quick-actions a:hover{background:#f0f7fc}.quick-actions a>span:nth-child(2){display:flex;flex:1;flex-direction:column;gap:.18rem}.quick-actions strong{font-size:.84rem}.quick-actions small{color:#8394a1;font-size:.72rem}
.quick-icon{background:#eaf3f9;color:#1673a2;border-radius:10px;min-width:38px;height:38px;display:grid;place-items:center;font-size:1.25rem}
.dashboard-alert{background:#fff8eb;border:1px solid #f7e8cc;padding:.85rem;border-radius:10px;display:flex;flex-direction:column;gap:.25rem;font-size:.78rem;margin-top:1rem}.dashboard-alert strong{color:#87601d}.dashboard-alert span{color:#8d7858}
.recent-section{margin-top:1rem}.section-link{font-size:.83rem;font-weight:700;white-space:nowrap}.dashboard-table{margin:0;border:0}.dashboard-table table{min-width:800px}
.status-chip{display:inline-flex;align-items:center;padding:.25rem .6rem;border-radius:30px;font-size:.72rem;font-weight:700;white-space:nowrap}
.status-chip.status-pending{background:#fff3d8;color:#9b6b20}.status-chip.status-progress{background:#e5f2ff;color:#2165a2}.status-chip.status-review{background:#f0ebff;color:#7354b1}.status-chip.status-done{background:#e1f6ed;color:#167c58}
.empty-state{color:#7b8d9a;padding:2rem;text-align:center;background:#f7fafc;border-radius:10px}.dashboard-footnote{font-size:.75rem;color:#889aa9;padding:1.5rem .2rem}
@media(max-width:1050px){.auth-layout{grid-template-columns:.9fr 1.1fr}.auth-promo{padding:2.5rem}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.auth-layout{grid-template-columns:1fr}.auth-promo{display:none}.auth-panel{min-height:100vh;padding:2rem 1.2rem}.auth-mobile-logo{display:inline-flex;margin:0 0 2.5rem}.auth-mobile-logo img{max-width:220px;width:100%;height:auto}.dashboard-grid{grid-template-columns:1fr}.dashboard-date{display:none}}
@media(max-width:480px){.metric-grid{gap:.6rem}.metric-card{min-height:138px;padding:1rem}.metric-card strong{font-size:2rem}.dashboard-intro h2{font-size:1.55rem}.status-breakdown{gap:.75rem}.dashboard-section{padding:1rem}}
