/* Control de Viajes 2.29 — presentación logística */
:root{--green-950:#09291f;--green-900:#124c39;--green-800:#147952;--green-700:#18764f;--green-600:#22875d;--green-100:#e0f5eb;--green-50:#eff8f3;--gray-950:#173e31;--gray-800:#375b4b;--gray-700:#527364;--gray-600:#527364;--gray-500:#5e7d6e;--gray-300:#c9dfd5;--gray-200:#dbe9e1;--gray-100:#f0f6f2;--shadow:0 10px 30px #083c290a;--danger:#b42318;--warning:#946011}
body{background:radial-gradient(ellipse at 100% 0,#dff5e999,transparent 45%),#f3f8f5;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.sidebar{background:radial-gradient(ellipse at 0 0,#24654a,transparent 65%),linear-gradient(180deg,#103d2e,#08281f);border-right:1px solid #296049;padding:24px 16px}
.side-brand{padding-bottom:24px}.side-logo,.side-mark{border-radius:14px;box-shadow:0 0 24px #55e6a522}.side-mark{background:linear-gradient(135deg,#187d52,#32ab76);border:1px solid #6fdfb0}.side-title{font-size:14px;letter-spacing:.015em}.side-sub{color:#b9dfcb}.nav-label{color:#91bfa7;letter-spacing:.18em}.side-link{border:1px solid transparent;transition:background .18s,border-color .18s}.side-link:hover{background:#ffffff0b;border-color:#ffffff22}.side-link.active{background:linear-gradient(105deg,#187d52,#279b6a);box-shadow:0 6px 20px #00382066;border-color:#57ce98;color:#fff}.side-icon{font-size:18px}.user-card{background:#ffffff08;border:1px solid #ffffff14}.user-card span{color:#bddfce}
.topbar{background:#ffffffed;backdrop-filter:blur(16px);box-shadow:0 4px 18px #083c2906}.topbar h1{letter-spacing:-.025em}.top-icon-link{border:1px solid #dbe9e1;color:#147952;background:#f1faf5}.top-icon-link:hover{background:#e0f5eb}.container{padding-top:26px}.card,.form-section,.form-footer{border-radius:18px;box-shadow:var(--shadow)}.card h1,.card h2,.section-heading h2{letter-spacing:-.025em}.card h2{font-size:19px}
.welcome-strip,.assignment-hero,.page-hero.compact{position:relative;overflow:hidden;background:radial-gradient(ellipse at 95% 0,#38cd9044,transparent 52%),linear-gradient(110deg,#124c39,#09291f);border:1px solid #34775a;border-radius:20px;color:#fff;padding:30px 32px;box-shadow:0 12px 30px #083c2918;border-left-width:1px}.welcome-strip{min-height:215px;align-items:center;gap:28px}.welcome-strip h1{font-size:clamp(26px,2.3vw,36px);letter-spacing:-.035em;margin:10px 0}.welcome-strip p,.assignment-hero p,.page-hero p{color:#c9e6d6;line-height:1.65}.welcome-strip .eyebrow,.assignment-hero .eyebrow,.page-hero .eyebrow{color:#88efbe}.welcome-copy{max-width:620px}.welcome-actions{margin-top:20px;display:flex;gap:10px;flex-wrap:wrap}.welcome-actions .btn{background:#ffffff0d;border:1px solid #ffffff40;box-shadow:none}.welcome-actions .btn:hover{background:#ffffff20;border-color:#88efbe}.hero-route{width:300px;flex:0 0 300px;border:1px solid #ffffff20;border-radius:16px;padding:18px;background:#ffffff06}.hero-route .eyebrow{font-size:9px}.hero-route svg{width:100%;display:block;margin:20px 0 10px}.route-labels{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#dcefe4}.route-caption{font-size:11px;color:#b5ddc7;margin-top:14px;border-top:1px solid #ffffff19;padding-top:12px}.route-caption span{color:#ffcf82}
.btn{background:linear-gradient(110deg,#187d52,#30a672);border-radius:10px;box-shadow:0 6px 14px #187d5220;transition:box-shadow .18s,background .18s}.btn:hover{background:linear-gradient(110deg,#116942,#25865c);box-shadow:0 8px 20px #187d5230}.btn.secondary{background:#527364}.btn.light{background:#f1f8f3;color:#265b43;box-shadow:none}.btn.success{background:linear-gradient(110deg,#08795c,#00886d)}
.metric-card{position:relative;border-top:1px solid var(--gray-200);border-radius:17px;padding:23px 20px 20px;overflow:hidden;transition:transform .18s,box-shadow .18s}.metric-card:before{content:"";position:absolute;left:20px;right:20px;top:0;height:3px;border-radius:0 0 4px 4px;background:linear-gradient(90deg,#187d52,#55e6a5)}.metric-card:nth-child(2):before{background:linear-gradient(90deg,#23815e,#7de2b1)}.metric-card:nth-child(3):before{background:linear-gradient(90deg,#08795c,#37cfa8)}.metric-card:nth-child(4):before,.metric-card.alert-metric:before{background:linear-gradient(90deg,#df8c22,#ffcc78)}.metric-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px #083c2912}.metric{color:#185338;font-size:36px;letter-spacing:-.04em}.metric-label{color:#375b4b;font-size:13px}.metric-note{color:#5e7d6e}.alert-metric .metric{color:#946011}
.quick-link{background:linear-gradient(120deg,#eff8f3,#fff);border-radius:12px;color:#265b43;transition:background .18s,border-color .18s}.quick-link:hover{border-color:#63bd90;background:#eaf8ef}.activity-icon,.audit-icon{background:#e0f5eb;color:#147952;border:1px solid #c6ead9}.attention-card{border-left:3px solid #e3a043}.alert-row{border-radius:12px;background:#fdfefe}.alert-row.danger .alert-dot{box-shadow:0 0 0 4px #b4231812}.alert-row.warning .alert-dot{box-shadow:0 0 0 4px #b56a0012}.eyebrow{color:#18764f;letter-spacing:.15em;font-size:10px}
th{background:#edf7f1;color:#265b43;font-size:11px;padding-top:15px;padding-bottom:15px}td{font-size:13px}tbody tr:nth-child(even){background:#f8fcf9}tbody tr:hover{background:#edf9f1}.table-wrap{border-radius:13px}.badge{padding:5px 10px}.badge.ok{background:#dcf4ec;color:#12684f}.badge.warn{background:#fff1d6;color:#7b520f}.flash,.notice{background:#e6f7ed;color:#185438}.notice.success{background:#dcf4ec;color:#12684f}.badge.danger,.flash.danger{background:#fff0ee;color:#a62a20;border-left-color:#b42318}
input,select,textarea{background:#fbfdff;border-color:#c9dfd5;border-radius:10px;min-height:43px}input:focus,select:focus,textarea:focus{outline:3px solid #32ab7620;border-color:#22875d}input[type=checkbox],input[type=radio]{width:auto;min-height:0;accent-color:#187d52}.progress{background:#e5f0e9}.progress span{background:linear-gradient(90deg,#187d52,#54cb8e)}.summary-hero{border-top-color:#39a873}.stage-summary{border-left-color:#39a873}.stage-step.done .stage-circle{background:linear-gradient(135deg,#08795c,#00886d)}.stage-step.current .stage-circle{background:#e0f5eb;border-color:#39a873;color:#147952}.module-tab.active,.module-tab:hover{background:linear-gradient(110deg,#187d52,#289b6a);border-color:#187d52}.expediente-nav a:hover{background:#edf9f1}.section-number{background:#edf7f1;color:#147952}.catalog-heading{background:linear-gradient(105deg,#edf7f1,#f8fcf9)}.catalog-icon{background:linear-gradient(135deg,#187d52,#32ab76);border-radius:12px}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #22875d;outline-offset:3px}.sidebar a:focus-visible{outline-color:#88efbe}.mobile-menu{background:#147952}.menu-overlay{display:none}.menu-overlay.visible{display:block;position:fixed;inset:0;background:#06142699;z-index:25;backdrop-filter:blur(3px)}
@media(max-width:1100px){.hero-route{width:245px;flex-basis:245px}.welcome-strip{padding:26px}}@media(max-width:980px){.welcome-strip{flex-direction:row;align-items:center}.welcome-copy{min-width:0}.welcome-strip h1{font-size:28px}}@media(max-width:700px){.hero-route{display:none}.welcome-strip{padding:24px 20px;min-height:0}.welcome-strip h1{font-size:27px}.metric-card{padding:20px 16px 16px}.metric{font-size:30px}.assignment-hero,.page-hero.compact{padding:24px 20px}.page-hero.compact{align-items:flex-start;flex-direction:column}.topbar h1{font-size:16px}.topbar-date{font-size:10px}.container{padding-top:18px}.grid-5{gap:12px}.alert-row,.expanded .alert-row{grid-template-columns:12px minmax(0,1fr)}.alert-action{grid-column:2}.sidebar{max-width:calc(100vw - 40px)}.side-link{min-height:44px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Acceso */
.auth-card .btn{display:flex;align-items:center;justify-content:center;border:0;color:#fff;padding:13px 15px;cursor:pointer;text-decoration:none}.auth-card label{color:#375b4b}
.auth-page{min-height:100svh;background:radial-gradient(ellipse at 10% 12%,#285f46,transparent 55%),radial-gradient(ellipse at 95% 95%,#16704d66,transparent 45%),#09291f;color:#fff;display:grid;place-items:center;padding:56px 28px;position:relative}.auth-layout{width:min(1160px,100%);display:grid;grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);gap:70px;align-items:center}.auth-kicker{display:inline-flex;align-items:center;gap:9px;color:#ffce80;font-size:10px;letter-spacing:.18em;font-weight:800;border:1px solid #ffffff26;border-radius:30px;padding:10px 14px;background:#ffffff07}.auth-kicker:before{content:"";width:6px;height:6px;border-radius:50%;background:#ffbe55}.auth-presentation h1{font-size:clamp(42px,4.6vw,66px);line-height:1.05;letter-spacing:-.05em;margin:26px 0 22px;font-weight:850}.auth-presentation h1 span{color:#a8efad}.auth-presentation>p{font-size:16px;line-height:1.75;color:#c3dfce;max-width:480px;margin:0}.auth-features{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}.auth-features span{font-size:11px;color:#dceee3;border:1px solid #ffffff24;background:#ffffff08;border-radius:8px;padding:9px 12px}.auth-visual{width:100%;max-width:470px;display:block;margin:30px 0 10px;filter:drop-shadow(0 15px 24px #00281955)}.auth-card{width:100%;max-width:455px;justify-self:end;padding:36px;border-radius:24px;border:1px solid #d7eadf;background:#fff;color:#173e31;box-shadow:0 30px 90px #021c1080;position:relative;overflow:hidden}.auth-card:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,#187d52,#55e6a5 68%,#ffb75c)}.auth-logo{display:block;width:210px;height:100px;object-fit:contain;margin:0 auto 24px}.auth-mark{width:76px;height:76px;margin:0 auto 24px;display:grid;place-items:center;background:linear-gradient(135deg,#187d52,#32ab76);border-radius:20px;font-size:26px;font-weight:900;color:#fff;box-shadow:0 12px 25px #187d522b}.auth-brand{text-align:center;color:#147952;font-size:11px;letter-spacing:.14em;font-weight:800;margin:0 0 8px}.auth-system{text-align:center;color:#5e7d6e;font-size:12px;margin:0 0 26px}.auth-card h2{font-size:28px;letter-spacing:-.035em;margin:0 0 10px}.auth-sub{font-size:13px;line-height:1.6;color:#5e7d6e;margin:0 0 26px}.auth-card label{font-size:12px}.auth-card input{min-height:48px;background:#f6fbf7}.auth-card .btn{width:100%;margin-top:6px;min-height:48px;font:inherit;font-size:13px;font-weight:800}.auth-footer{border-top:1px solid #e3eee7;margin-top:24px;padding-top:18px;color:#5e7d6e;font-size:11px;text-align:center}.password-wrap{position:relative}.password-wrap input{padding-right:70px}.password-toggle{position:absolute;right:8px;top:7px;background:#e7f4ec;border:0;border-radius:7px;padding:9px 7px;color:#255c41;font-size:11px;font-weight:750;cursor:pointer}.auth-card .flash{font-size:13px}
@media(max-width:1100px){.auth-layout{gap:32px}.auth-presentation h1{font-size:48px}}@media(max-width:800px){.auth-layout{grid-template-columns:1fr;gap:30px;max-width:500px}.auth-page{padding:32px 22px}.auth-presentation h1{font-size:39px;margin:18px 0 14px}.auth-presentation>p{font-size:14px}.auth-visual{max-width:310px;margin:18px auto 0}.auth-card{justify-self:center;max-width:500px}.auth-features{gap:6px}.auth-features span{font-size:10px;padding:7px 9px}}@media(max-width:650px){.auth-page{padding:26px 18px}.auth-presentation h1{font-size:36px}.auth-visual{display:none}.auth-card{padding:28px 24px}.auth-logo{height:85px;margin-bottom:18px}.auth-kicker{font-size:9px}}
