@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
:root{font-family:'DM Sans',Arial,sans-serif;color:#1d2939;background:#f5f7fa;font-synthesis:none;text-rendering:optimizeLegibility;--navy:#153c66;--blue:#2878bd;--blue-dark:#1f639e;--muted:#667085;--line:#e5e9ef;--paper:#fff;--green:#12805c;--shadow:0 2px 8px rgba(16,24,40,.035)}*{box-sizing:border-box}body{margin:0;min-width:320px}.app-shell{min-height:100vh;display:flex}.sidebar{width:252px;background:#fff;border-right:1px solid var(--line);padding:26px 16px 20px;display:flex;flex-direction:column;flex-shrink:0}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:inherit;padding:0 10px 35px}.brand-mark{width:38px;height:38px;border-radius:11px;background:var(--navy);color:white;display:grid;place-items:center;font:800 21px Manrope}.brand strong{font:800 15px Manrope;letter-spacing:.06em;color:#163e68;display:block}.brand small{display:block;font-size:11px;color:#7e8998;margin-top:2px}.nav-label,.eyebrow{font-size:10px;font-weight:700;letter-spacing:.12em;color:#8591a1}.nav-label{padding:0 12px 12px}.sidebar nav{display:grid;gap:5px}.nav-item{border:0;background:none;text-align:left;padding:12px;border-radius:8px;color:#596579;font:600 13px 'DM Sans';display:flex;align-items:center;gap:11px;cursor:pointer;transition:background .18s,color .18s}.nav-item:hover{background:#f5f8fb}.nav-item.active{background:#edf5fc;color:#1c609b}.nav-icon{width:20px;text-align:center;font-size:17px}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:18px 7px 0;display:flex;gap:9px;align-items:flex-start;font-size:11px;color:#475467}.sidebar-bottom b,.sidebar-bottom small{display:block}.sidebar-bottom b{font-size:11px;font-weight:600}.sidebar-bottom small{font-size:10px;color:#8993a1;margin-top:4px}.connection-dot,.live-dot{width:8px;height:8px;border-radius:50%;background:#2ba779;display:inline-block;flex:none;margin-top:3px}.main-area{min-width:0;flex:1}.topbar{height:62px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 36px;justify-content:space-between}.breadcrumb{font-size:12px;color:#828c99}.breadcrumb span{padding:0 8px;color:#bdc4cd}.breadcrumb b{font-weight:600;color:#344054}.topbar-right{display:flex;align-items:center;gap:17px}.today{color:#667085;font-size:11px}.avatar{width:31px;height:31px;display:grid;place-items:center;background:#e7f0f8;border-radius:50%;color:#245d8e;font-size:10px;font-weight:700}.menu-button{display:none;border:0;background:none;color:#475467}.view{display:none;max-width:1440px;margin:0 auto;padding:34px 40px 20px}.view.active{display:block}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{color:#4381b4;margin-bottom:8px}h1,h2,p{margin:0}.page-heading h1{font:800 25px Manrope;letter-spacing:-.04em;color:#1d2939}.page-heading p{font-size:12px;color:#667085;margin-top:7px}.heading-tag{border:1px solid #e1e8ef;background:#fff;border-radius:20px;padding:8px 12px;font-size:10px;color:#516174;display:flex;gap:8px;align-items:center;white-space:nowrap}.live-dot{width:7px;height:7px;margin:0}.form-card,.report-card,.stat-card{background:var(--paper);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}.form-card{padding:21px 24px;margin-bottom:16px}.card-heading{display:flex;align-items:center;gap:12px;border-bottom:1px solid #edf0f3;padding-bottom:17px;margin-bottom:18px}.step{height:30px;width:30px;border-radius:8px;background:#edf5fc;display:grid;place-items:center;color:#2b72ad;font:700 10px Manrope}.card-heading h2{font:700 14px Manrope;color:#25364a}.card-heading p{color:#818b99;font-size:11px;margin-top:4px}.required-note{margin-left:auto;font-size:10px;color:#8a94a2}.field-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 18px}.field-grid label{font-size:11px;font-weight:600;color:#475467;display:flex;flex-direction:column;gap:7px;min-width:0}.field-grid label>span:first-child{color:#d25555}.field-grid label.wide{grid-column:span 2}.field-grid input,.field-grid select,.field-grid textarea,.date-filter input{width:100%;min-height:38px;border:1px solid #dce2e9;border-radius:6px;background:#fff;padding:0 11px;font:400 11px 'DM Sans';color:#344054;outline:none;transition:border .16s,box-shadow .16s}.field-grid textarea{padding:10px;resize:vertical;min-height:72px}.field-grid input:focus,.field-grid select:focus,.field-grid textarea:focus,.date-filter input:focus,.search-field:focus-within{border-color:#4a91c9;box-shadow:0 0 0 3px rgba(40,120,189,.11)}input::placeholder,textarea::placeholder{color:#a3acb8}.input-suffix,.input-prefix{display:flex;align-items:center;border:1px solid #dce2e9;border-radius:6px;overflow:hidden;min-height:38px}.input-suffix input,.input-prefix input{border:0;min-width:0;box-shadow:none!important}.input-suffix span,.input-prefix span{padding:0 10px;color:#8993a1;font-size:10px;white-space:nowrap}.input-suffix span{border-left:1px solid #e8ebef}.input-prefix span{border-right:1px solid #e8ebef}.optional{font-size:9px;color:#99a2af;font-weight:400}.form-actions{border-top:1px solid #edf0f3;margin-top:20px;padding-top:16px;display:flex;align-items:center;justify-content:flex-end;gap:9px}.form-message{margin-right:auto;font-size:11px;color:#b54747}.button{border:1px solid transparent;border-radius:6px;min-height:37px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font:600 11px 'DM Sans';cursor:pointer;transition:background .16s,border-color .16s,transform .16s;text-decoration:none}.button:active,.page-button:active{transform:translateY(1px)}.button-primary{background:var(--blue);color:white}.button-primary:hover{background:var(--blue-dark)}.button-quiet{color:#667085;background:#fff;border-color:#dfe4eb}.button-quiet:hover,.button-outline:hover{background:#f6f9fc}.button-outline{color:#445366;background:#fff;border-color:#dfe4eb}.stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:16px}.stat-card{padding:16px 18px}.stat-card>span{font-size:10px;color:#758091;display:block}.stat-card strong{font:800 23px Manrope;color:#234b70;display:block;margin:7px 0 3px}.stat-card small{font-size:9px;color:#a0a8b3}.report-card{overflow:hidden}.filters{display:flex;gap:10px;align-items:flex-end;padding:16px;border-bottom:1px solid #edf0f3}.search-field{height:36px;border:1px solid #dce2e9;border-radius:6px;display:flex;align-items:center;gap:8px;padding:0 10px;min-width:210px;flex:1;color:#8993a1}.search-field>span{font-size:18px}.search-field input{border:0;outline:0;min-width:0;flex:1;font:400 10px 'DM Sans';color:#344054}.date-filter{font-size:9px;color:#7c8796;display:grid;gap:4px}.date-filter input{height:36px;min-height:36px;width:140px;font-size:10px}.filters>.button{height:36px;min-height:36px;font-size:10px}.table-meta{padding:14px 16px;display:flex;align-items:center;justify-content:space-between;color:#818b99;font-size:10px}.table-meta b{color:#425166}.table-meta label{display:flex;align-items:center;gap:6px}.table-meta select{height:28px;border:1px solid #dfe4eb;border-radius:5px;background:white;color:#445366;font-size:10px}.table-wrap{overflow:auto;min-height:220px}table{border-collapse:collapse;width:100%;min-width:1050px;text-align:left}thead{background:#f7f9fb}th{padding:11px 12px;color:#778292;font-size:9px;font-weight:600;white-space:nowrap;border-top:1px solid #edf0f3;border-bottom:1px solid #edf0f3}td{padding:12px;color:#465466;font-size:9px;border-bottom:1px solid #f0f2f5;white-space:nowrap}tbody tr:hover{background:#fbfcfe}.date-cell b,.date-cell small{display:block}.date-cell b{font-weight:600;color:#344054}.date-cell small{font-size:9px;color:#9aa3ae;margin-top:3px}.empty-state{padding:42px 15px;text-align:center;color:#788496}.empty-state>span{display:block;font-size:24px;color:#b0bbc8;margin-bottom:8px}.empty-state b{font-size:12px;color:#465466}.empty-state p{font-size:10px;margin:6px 0 15px}.pagination{display:flex;justify-content:space-between;align-items:center;padding:13px 16px;color:#87919e;font-size:10px}.pagination>div{display:flex;gap:10px;align-items:center;color:#536175}.page-button{width:29px;height:29px;border:1px solid #dfe4eb;border-radius:5px;background:white;color:#566477;cursor:pointer}.page-button:disabled{opacity:.4;cursor:not-allowed}.footer{padding:14px 40px 20px;font-size:9px;color:#9aa3af}.footer span{padding:0 5px}.toast{position:fixed;right:24px;bottom:24px;background:#173e65;color:white;border-radius:8px;padding:12px 16px;font-size:11px;box-shadow:0 8px 25px #132d4833;opacity:0;transform:translateY(8px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translateY(0)}:focus-visible{outline:3px solid #72b5ea;outline-offset:2px}@media(max-width:1000px){.view{padding:28px 24px 18px}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{width:220px}.filters{flex-wrap:wrap}.search-field{flex-basis:100%}}@media(max-width:700px){.sidebar{position:fixed;z-index:10;inset:0 auto 0 0;width:252px;transform:translateX(-100%);transition:transform .2s;box-shadow:10px 0 30px #10243a16}.sidebar.open{transform:translateX(0)}.menu-button{display:block}.topbar{padding:0 16px;justify-content:flex-start;gap:14px}.topbar-right{margin-left:auto}.today{display:none}.view{padding:25px 15px 15px}.page-heading{align-items:flex-start}.page-heading h1{font-size:22px}.page-heading>.button{font-size:0;padding:0 10px}.heading-tag{display:none}.form-card{padding:17px 15px}.field-grid{grid-template-columns:1fr;gap:13px}.field-grid label.wide{grid-column:span 1}.required-note{display:none}.stats-row{grid-template-columns:1fr;gap:8px}.stat-card{padding:12px 15px}.stat-card strong{font-size:19px}.filters{align-items:stretch}.date-filter{flex:1}.date-filter input{width:100%}.filters>.button{flex:1}.table-meta{align-items:flex-start;gap:10px}.footer{padding-left:15px}.breadcrumb{font-size:11px}}

/* Acceso de demostración */
[hidden]{display:none!important}.login-screen{min-height:100vh;display:grid;grid-template-columns:minmax(380px,1.04fr) minmax(430px,.96fr);background:#fff}.login-art{position:relative;overflow:hidden;min-height:100vh;padding:34px 5.4vw 24px;color:#fff;background:radial-gradient(ellipse at 15% 85%,#1c6382 0,transparent 43%),radial-gradient(ellipse at 100% 5%,#264f77 0,transparent 45%),linear-gradient(145deg,#101d2c,#12273a 57%,#142e43)}.login-brand{display:inline-flex;align-items:center;gap:11px;color:white;text-decoration:none;position:relative;z-index:2}.login-brand .brand-mark,.login-mobile-brand .brand-mark{background:linear-gradient(145deg,#6fcac5,#338f9f);box-shadow:0 7px 22px #0a131b55}.login-brand strong{font:800 15px Manrope;letter-spacing:.13em;display:block}.login-brand small{font-size:10px;color:#b8c7d4;display:block;margin-top:3px}.art-copy{position:relative;z-index:2;margin-top:clamp(92px,16vh,166px);max-width:500px}.art-kicker{display:flex;align-items:center;gap:9px;font-size:9px;font-weight:700;letter-spacing:.18em;color:#b3cbd3}.art-kicker i,.login-lock i{height:7px;width:7px;border-radius:50%;background:#5ed2ae;box-shadow:0 0 12px #5ed2ae;display:inline-block}.art-copy h1{font:700 clamp(37px,4.7vw,65px)/1.06 Manrope;letter-spacing:-.065em;margin:20px 0 15px}.art-copy h1 em{font-style:normal;color:#74d0c2}.art-copy p{font-size:13px;color:#b9c8d4;line-height:1.7;max-width:340px}.route-visual{position:absolute;left:0;right:0;bottom:75px;height:clamp(220px,31vh,315px);opacity:.92}.route-grid{position:absolute;inset:0;background-image:linear-gradient(#ffffff08 1px,transparent 1px),linear-gradient(90deg,#ffffff08 1px,transparent 1px);background-size:40px 40px;mask-image:linear-gradient(90deg,transparent,#000 15%,#000 90%,transparent);transform:perspective(400px) rotateX(8deg) scale(1.08)}.route-visual svg{position:absolute;width:100%;height:100%;overflow:visible}.route-shadow{fill:none;stroke:#60bdb8;stroke-width:14;opacity:.12}.route-line{fill:none;stroke:#80dbcd;stroke-width:2;stroke-dasharray:5 8}.route-visual circle{fill:#17354b;stroke:#9de5d7;stroke-width:2.4}.route-label{position:absolute;font-size:8px;letter-spacing:.14em;color:#bbd4db}.route-label b{margin-left:8px;font:500 10px 'DM Sans';color:#79d5c7}.label-origin{left:8%;bottom:19%}.label-destination{right:11%;top:17%}.route-card{position:absolute;right:8%;bottom:8%;display:flex;align-items:center;gap:10px;padding:11px 13px;border:1px solid #ffffff28;border-radius:9px;background:#132b3bd9;box-shadow:0 12px 40px #06131c3d;backdrop-filter:blur(12px)}.route-pin{height:28px;width:28px;border-radius:8px;background:#ffffff12;display:grid;place-items:center;color:#8ee4d4}.route-card small,.route-card b{display:block}.route-card small{font-size:7px;letter-spacing:.14em;color:#a3bac7}.route-card b{font-size:10px;font-weight:600;margin-top:3px}.route-status{margin-left:10px;padding:5px 7px;border-radius:4px;background:#3eb59022;color:#81dfbf;font-size:7px;letter-spacing:.08em}.art-footer{position:absolute;left:5.4vw;right:5.4vw;bottom:24px;border-top:1px solid #ffffff25;padding-top:14px;display:flex;justify-content:space-between;color:#9eb1bd;font-size:8px;letter-spacing:.13em}.login-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:50px 40px 24px;position:relative}.login-content{width:min(100%,370px);margin:auto 0}.login-overline{display:flex;align-items:center;gap:9px;font-size:9px;font-weight:700;letter-spacing:.17em;color:#668093}.secure-icon{height:23px;width:23px;border-radius:7px;background:#eef6f7;display:grid;place-items:center;color:#1f8582;font-size:15px}.login-content h2{margin-top:23px;color:#192d3c;font:700 31px Manrope;letter-spacing:-.05em}.login-subtitle{margin-top:7px;font-size:12px;color:#758494}.login-form{margin-top:30px}.login-form>label,.password-heading label{display:block;font-size:10px;font-weight:700;color:#354a5b;margin:0 0 8px}.login-input-wrap{height:47px;display:flex;align-items:center;gap:10px;padding:0 12px;border:1px solid #dce4e9;border-radius:7px;background:#fff;color:#7c929f;transition:border .16s,box-shadow .16s}.login-input-wrap:focus-within{border-color:#4aa5a0;box-shadow:0 0 0 3px #248e8818}.login-input-wrap>span{font-size:13px}.login-input-wrap input{height:100%;min-width:0;flex:1;border:0!important;outline:0!important;box-shadow:none!important;background:transparent;color:#203847;font:400 11px 'DM Sans'}.login-input-wrap input::placeholder{color:#a7b2bb}.password-heading{display:flex;justify-content:space-between;align-items:center;margin-top:19px}.password-heading label{margin-bottom:8px}.password-heading>span{font-size:9px;color:#8798a3;margin-bottom:8px}.show-password{border:0;background:transparent;color:#267d7b;font:600 10px 'DM Sans';cursor:pointer;padding:6px}.show-password:hover{color:#135b5a}.login-options{display:flex;justify-content:space-between;align-items:center;margin-top:15px}.remember-option{display:flex;align-items:center;gap:7px;font-size:10px;color:#667b89;cursor:pointer}.remember-option input{accent-color:#258a83;width:13px;height:13px;margin:0}.login-lock{display:flex;align-items:center;gap:6px;color:#718692;font-size:9px}.login-lock i{width:6px;height:6px;box-shadow:none}.login-error{min-height:16px;margin:10px 0 2px;color:#b54747;font-size:10px}.login-submit{width:100%;height:46px;border:0;border-radius:7px;padding:0 15px;background:linear-gradient(105deg,#176b79,#258e87);color:#fff;display:flex;align-items:center;justify-content:space-between;font:600 11px 'DM Sans';cursor:pointer;box-shadow:0 7px 17px #16777729;transition:transform .16s,box-shadow .16s,filter .16s}.login-submit:hover{filter:brightness(1.06);transform:translateY(-1px);box-shadow:0 10px 24px #16777738}.login-submit span:last-child{font-size:16px}.demo-access{display:flex;align-items:center;gap:10px;border:1px solid #e5ebed;background:#f8faf9;border-radius:7px;padding:11px 12px;margin-top:18px}.demo-indicator{height:7px;width:7px;border-radius:50%;background:#50a78d;box-shadow:0 0 0 4px #50a78d16}.demo-access>span:nth-child(2){min-width:0;flex:1}.demo-access b,.demo-access small{display:block}.demo-access b{font-size:9px;color:#49616d}.demo-access small{font-size:9px;color:#7b8e99;margin-top:3px}.demo-access small i{font-style:normal;padding:0 3px;color:#bbc5cb}.demo-access button{border:0;background:none;color:#237d79;font:600 9px 'DM Sans';cursor:pointer;padding:6px}.login-legal{font-size:9px;line-height:1.5;color:#9aa7af;text-align:center;margin:16px 0 0}.login-panel-footer{width:min(100%,370px);display:flex;justify-content:space-between;color:#9ba7ad;font-size:8px;letter-spacing:.08em}.login-panel-footer i{font-style:normal;padding:0 3px;color:#c1c9cd}.login-mobile-brand{display:none}:focus-visible{outline:3px solid #57bcb3;outline-offset:3px}@media(max-height:760px) and (min-width:761px){.art-copy{margin-top:10vh}.route-visual{height:29vh}.login-panel{padding-top:30px}.login-content h2{margin-top:15px}.login-form{margin-top:20px}}@media(max-width:760px){.login-screen{display:block;background:#f4f7f8;padding:0 0 20px}.login-art{min-height:245px;height:32vh;padding:20px 23px;background:radial-gradient(ellipse at 80% 100%,#1c6382 0,transparent 48%),linear-gradient(145deg,#101d2c,#142e43)}.login-brand{display:none}.login-mobile-brand{display:flex;align-items:center;gap:9px;color:#fff;position:absolute;top:18px;left:22px}.login-mobile-brand .brand-mark{height:32px;width:32px;font-size:17px;border-radius:9px}.login-mobile-brand strong{font:800 12px Manrope;letter-spacing:.12em}.art-copy{margin-top:57px}.art-kicker{font-size:8px}.art-copy h1{font-size:32px;margin:10px 0 7px}.art-copy p{font-size:10px}.route-visual{height:105px;bottom:0;opacity:.55}.route-card,.route-label{display:none}.art-footer{display:none}.login-panel{margin:-1px auto 0;max-width:520px;padding:26px 23px 22px;background:#fff;border-radius:17px 17px 0 0;min-height:510px;justify-content:flex-start;box-shadow:0 -8px 30px #10283a0d}.login-content{margin:auto 0}.login-content h2{font-size:27px;margin-top:16px}.login-form{margin-top:24px}.login-panel-footer{margin-top:26px}.demo-access small{font-size:8px}}@media(max-width:380px){.login-art{height:29vh;min-height:220px}.login-panel{padding-left:17px;padding-right:17px}.art-copy h1{font-size:29px}.demo-access{gap:7px;padding:10px}.demo-access button{font-size:8px}}
.logout-button{height:30px;padding:0 10px;border:1px solid #e0e7eb;border-radius:6px;background:#fff;color:#637481;font:600 10px 'DM Sans';cursor:pointer;transition:background .15s,border-color .15s,color .15s}.logout-button:hover{background:#f6f9fa;border-color:#cbd8dc;color:#285f68}@media(max-width:700px){.logout-button{height:28px;padding:0 8px}.topbar-right{gap:9px}}

/* Panel con el mismo lenguaje visual del acceso */
:root{--navy:#122638;--blue:#187d84;--blue-dark:#12676e;--green:#16806f;--line:#e2e9ec}.sidebar{background:linear-gradient(180deg,#122638,#152f42);border-right:1px solid #233e50;color:#d8e4e9}.brand{border-bottom:1px solid #ffffff14;margin-bottom:23px;padding-bottom:24px}.brand-mark{background:linear-gradient(145deg,#6fcac5,#338f9f);box-shadow:0 5px 16px #08151e44}.brand strong{color:#f4fbfc;letter-spacing:.12em}.brand small{color:#a9bdc6}.nav-label{color:#92a9b5;font-size:9px;letter-spacing:.17em}.nav-item{color:#b8c9d1;font-size:12px}.nav-item:hover{background:#ffffff0b;color:#fff}.nav-item.active{background:linear-gradient(100deg,#278c8c35,#ffffff08);color:#a4e3d7;box-shadow:inset 2px 0 #66c9b4}.nav-icon{color:#8fcac4}.sidebar-bottom{border-color:#ffffff18;color:#dce7eb}.sidebar-bottom small{color:#9cb1bc}.connection-dot{box-shadow:0 0 10px #46d1a8}.topbar{height:66px}.breadcrumb b{color:#1d5361}.avatar{background:#e3f2f0;color:#24756e}.page-heading h1{color:#172f40}.eyebrow{color:#278b87}.heading-tag{border-color:#dce9e8;background:#f6fbfa;color:#4c6a70}.step{background:#e9f5f3;color:#267d77}.form-card{border-color:#e0e9eb;box-shadow:0 5px 20px #172c3a08}.card-heading h2{color:#203949}.field-grid input:focus,.field-grid select:focus,.field-grid textarea:focus,.date-filter input:focus,.search-field:focus-within{border-color:#49a29b;box-shadow:0 0 0 3px #328e8715}.button-primary{background:linear-gradient(105deg,#176d7a,#258e87);box-shadow:0 4px 12px #176d7a1a}.button-primary:hover{background:linear-gradient(105deg,#155d68,#1e7975)}.stat-card{position:relative;overflow:hidden;border-color:#e0e9eb}.stat-card:after{content:"";position:absolute;right:-18px;top:-28px;width:72px;height:72px;border-radius:50%;background:#eaf5f3}.stat-card>span,.stat-card strong,.stat-card small{position:relative;z-index:1}.stat-card strong{color:#216b70}.report-card{border-color:#e0e9eb}.table-wrap table{min-width:1300px}.row-actions{display:flex;gap:5px}.row-action{border:1px solid #e1e8eb;border-radius:5px;background:#fff;padding:5px 7px;color:#54717b;font:600 9px 'DM Sans';cursor:pointer}.row-action:hover{background:#f1f8f7;border-color:#9dc9c4;color:#176d70}.row-action.delete-action{color:#a54f53}.row-action.delete-action:hover{background:#fff5f4;border-color:#e7b9b7;color:#9d3c41}.field-grid .field-invalid,.field-grid .field-invalid:focus{border-color:#d45f5f!important;box-shadow:0 0 0 3px #c7505012!important}.input-suffix:has(.field-invalid),.input-prefix:has(.field-invalid){border-color:#d45f5f}.field-error{color:#b54747;font-size:9px;font-weight:500;line-height:1.3;margin-top:-2px}.field-invalid[aria-invalid="true"]{background-color:#fffafa}.filter-error{padding:0 16px 12px;margin-top:-5px;color:#b54747;font-size:10px}.form-message{color:#a84a4a}.toast{background:#142f40;display:flex;align-items:center;gap:16px}.toast-undo{border:1px solid #ffffff55;border-radius:5px;padding:5px 8px;background:#ffffff12;color:white;font:600 10px 'DM Sans';cursor:pointer}.toast-undo:hover{background:#ffffff25}.confirm-backdrop{position:fixed;z-index:30;inset:0;background:#0d1d2bb0;display:grid;place-items:center;padding:20px;backdrop-filter:blur(4px)}.confirm-dialog{width:min(100%,390px);padding:25px;background:white;border:1px solid #e6ebee;border-radius:13px;box-shadow:0 24px 80px #07172255}.confirm-icon{width:34px;height:34px;border-radius:10px;background:#fff1ee;color:#c26050;display:grid;place-items:center;font:700 16px Manrope}.confirm-dialog h2{font:700 17px Manrope;color:#203746;margin:16px 0 7px}.confirm-dialog p{font-size:11px;color:#71808a;line-height:1.6}.confirm-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:23px}.button-danger{background:#bf5149;color:white}.button-danger:hover{background:#a8433d}.footer{color:#8b9aa3}@media(max-width:700px){.sidebar{background:linear-gradient(180deg,#122638,#152f42)}.stat-card:after{width:52px;height:52px;right:-12px;top:-20px}.table-wrap table{min-width:1300px}.form-actions{flex-wrap:wrap}.form-message{flex-basis:100%}}

/* Módulos premium: operación y administración */
.nav-section-label{margin-top:24px;padding-top:18px;border-top:1px solid #ffffff15}.nav-count{margin-left:auto;min-width:21px;height:20px;padding:0 6px;border-radius:6px;background:#ffffff12;color:#bbd9d6;display:inline-grid;place-items:center;font-size:9px}.account-chip{display:flex;align-items:center;gap:8px}.account-name{font-size:10px;font-weight:600;color:#526875}.heading-actions{display:flex;align-items:center;gap:9px}.heading-actions .button{min-height:39px}.users-table-card{min-width:0;background:#fff;border:1px solid #e0e9eb;border-radius:10px;box-shadow:0 5px 20px #172c3a08;overflow:hidden}.user-layout{display:grid;grid-template-columns:minmax(270px,340px) minmax(0,1fr);gap:16px;align-items:start}.user-create-card{margin:0;padding:21px}.user-create-card>.card-heading{margin-bottom:18px}.user-create-card>label{display:flex;flex-direction:column;gap:7px;margin:0 0 14px;color:#405363;font-size:10px;font-weight:600}.user-create-card>label>span{color:#d25555}.user-create-card input,.user-create-card select{min-height:39px;border:1px solid #dce4e9;border-radius:6px;background:#fff;padding:0 10px;color:#344c5b;font:400 10px 'DM Sans';outline:0;transition:border .16s,box-shadow .16s}.user-create-card input:focus,.user-create-card select:focus{border-color:#49a29b;box-shadow:0 0 0 3px #328e8715}.user-help{color:#91a0a9;font-size:9px;font-weight:400;margin-top:-2px}.user-form-error{min-height:20px;color:#b54747;font-size:10px;line-height:1.5}.user-create-card .form-actions{justify-content:flex-end;margin-top:4px;padding-top:13px}.users-table-heading{display:flex;align-items:center;justify-content:space-between;padding:20px;border-bottom:1px solid #edf0f3}.users-table-heading h2{color:#203949;font:700 14px Manrope}.users-table-heading p{color:#87949e;font-size:10px;margin-top:5px}.users-count-badge{border:1px solid #dcece8;border-radius:20px;background:#f4faf8;color:#39816f;padding:6px 9px;font-size:9px;font-weight:600}.users-table{min-width:580px}.users-table th{padding:12px 15px}.users-table td{padding:13px 15px}.user-person{display:flex;align-items:center;gap:9px}.user-avatar{height:31px;width:31px;border-radius:9px;background:#e7f2f1;color:#247b76;display:grid;place-items:center;font:700 9px Manrope}.user-person b,.user-person small{display:block}.user-person b{font-size:10px;color:#304858}.user-person small{font-size:9px;color:#8796a0;margin-top:3px}.role-pill,.status-pill{display:inline-flex;align-items:center;gap:6px;border-radius:20px;padding:5px 8px;background:#f2f5f6;color:#637780;font-size:9px;font-weight:600;white-space:nowrap}.role-admin{background:#edf3fb;color:#55759a}.status-pill{background:#edf8f4;color:#39836d}.status-pill i{height:6px;width:6px;border-radius:50%;background:#48a883}.status-inactive{background:#f3f4f5;color:#87939a}.status-inactive i{background:#aeb8bd}.users-note{display:flex;gap:9px;align-items:flex-start;border-top:1px solid #edf0f3;padding:13px 16px;color:#81919b}.users-note>span{color:#438a85;font-size:14px}.users-note p{font-size:9px;line-height:1.5}.import-icon{background:#e9f5f3;color:#247d77}.import-errors{max-height:220px;overflow:auto;margin-top:15px;color:#65747d;font-size:10px}.import-errors>b{color:#344e5d}.import-errors ul{padding-left:18px;margin:8px 0}.import-errors li{margin:5px 0;color:#a9554e}.import-errors>small{color:#8c999f}.import-success{margin-top:9px;border:1px solid #dceddf;border-radius:7px;background:#f4faf6;padding:10px;color:#3c806e}.import-dialog{width:min(100%,480px)}.import-dialog .confirm-actions{margin-top:19px}.nav-item[hidden]{display:none!important}@media(max-width:1050px){.user-layout{grid-template-columns:minmax(240px,300px) minmax(0,1fr)}.heading-actions{flex-wrap:wrap;justify-content:flex-end}}@media(max-width:760px){.user-layout{grid-template-columns:1fr}.user-create-card{order:1}.users-table-card{order:2}.heading-actions{width:100%;justify-content:flex-start}.heading-actions .button{flex:1;padding:0 8px;font-size:10px}.page-heading{flex-wrap:wrap}.account-name{display:none}.nav-section-label{margin-top:17px}.users-table{min-width:580px}.user-create-card{padding:17px 15px}}

/* Reporte de cortesías */
.courtesy-toggle-label>span:first-child{color:#4b5d6b!important}.courtesy-toggle{position:relative;display:flex;align-items:center;gap:10px;min-height:54px;padding:8px 10px;border:1px solid #dce7e8;border-radius:7px;background:#f8fbfa;cursor:pointer}.courtesy-toggle input{position:absolute;opacity:0;width:1px!important;height:1px!important;min-height:1px!important;clip-path:inset(50%);overflow:hidden}.toggle-track{width:32px;height:19px;flex:none;border-radius:12px;background:#c7d1d5;position:relative;transition:background .18s}.toggle-track:after{content:"";position:absolute;left:3px;top:3px;width:13px;height:13px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #182c3b3b;transition:transform .18s}.courtesy-toggle input:checked+.toggle-track{background:#268e85}.courtesy-toggle input:checked+.toggle-track:after{transform:translateX(13px)}.courtesy-toggle:has(input:focus-visible){outline:3px solid #57bcb3;outline-offset:2px}.toggle-copy b,.toggle-copy small{display:block}.toggle-copy b{font-size:10px;color:#435d68}.toggle-copy small{font-size:9px;font-weight:400;color:#8a9aa2;margin-top:3px}.input-prefix input:disabled{background:#f3f7f6;color:#538079;opacity:1}.courtesy-pill{display:inline-flex;padding:5px 8px;border-radius:20px;background:#eaf6f1;color:#328168;font-size:9px;font-weight:700}.courtesy-filters{display:flex;align-items:flex-end;gap:10px;padding:14px 15px;margin-bottom:15px;background:#fff;border:1px solid #e0e9eb;border-radius:10px;box-shadow:0 5px 20px #172c3a08}.courtesy-filters>.button{height:36px;min-height:36px;font-size:10px}.courtesy-stats{margin-bottom:15px}.courtesy-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:15px;align-items:start}.courtesy-table-card,.courtesy-breakdown{border:1px solid #e0e9eb;overflow:hidden}.courtesy-card-heading{display:flex;align-items:center;justify-content:space-between;padding:17px 18px;border-bottom:1px solid #edf0f3}.courtesy-card-heading h2{font:700 13px Manrope;color:#203949}.courtesy-card-heading p{font-size:9px;color:#89969e;margin-top:4px}.courtesy-mark{display:flex;align-items:center;gap:6px;padding:6px 8px;border-radius:20px;background:#f0f8f5;color:#42816e;font-size:8px;letter-spacing:.1em;font-weight:700}.courtesy-mark i{height:6px;width:6px;border-radius:50%;background:#5bac8e}.courtesy-table{min-width:1040px}.courtesy-table th{padding:11px 12px}.courtesy-table td{padding:12px}.courtesy-table td:first-child b,.courtesy-table td:first-child small{display:block}.courtesy-table td:first-child b{color:#344b59;font-weight:600}.courtesy-table td:first-child small{margin-top:3px;color:#98a4ab;font-size:9px}.courtesy-breakdown{min-height:245px}.courtesy-clients{padding:17px 16px;display:grid;gap:16px}.client-bar-row>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#586e79;font-size:9px}.client-bar-row>div:first-child span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.client-bar-row>div:first-child b{color:#3a6069;font-size:10px}.client-bar-track{margin-top:7px;height:5px;border-radius:5px;background:#edf2f3;overflow:hidden}.client-bar-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#44aa9a,#7ac9b1)}.courtesy-no-clients{color:#8a989f;font-size:10px;line-height:1.5}.courtesy-filters .search-field{min-width:190px}.courtesy-filters .date-filter input{width:140px}@media(max-width:1050px){.courtesy-layout{grid-template-columns:1fr}.courtesy-breakdown{min-height:auto}.courtesy-clients{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.courtesy-filters{flex-wrap:wrap}.courtesy-filters .search-field{flex-basis:100%}.courtesy-filters .date-filter{flex:1}.courtesy-filters .date-filter input{width:100%}.courtesy-filters>.button{flex:1}.courtesy-clients{grid-template-columns:1fr}.courtesy-table{min-width:1040px}}

/* Reportes operativos orientados a decisión */
.report-filters{display:flex;align-items:center;gap:11px;padding:14px 15px;margin-bottom:15px;border:1px solid #e0e9eb;border-radius:10px;background:#fff;box-shadow:0 5px 20px #172c3a08}.report-filter-copy{display:flex;align-items:center;gap:9px;margin-right:auto}.report-filter-copy>b,.report-filter-copy small{display:block}.report-filter-copy b{color:#405665;font-size:10px}.report-filter-copy small{display:block;margin-top:4px;color:#8d9ba3;font-size:9px}.filter-icon{width:31px;height:31px;border-radius:8px;background:#edf6f4;color:#30887e;display:grid;place-items:center;font-size:16px}.report-filters .date-filter input{width:140px;height:36px;min-height:36px}.report-filters>.button{height:36px;min-height:36px;font-size:10px}.operations-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.operations-stats .stat-card{padding:16px 15px}.operations-stats .stat-card strong{font-size:21px}.report-insights{display:flex;align-items:center;gap:10px;margin:-2px 0 15px}.insight-chip{display:flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid #e4ebed;border-radius:8px;background:#fff;min-width:155px}.insight-icon{height:25px;width:25px;border-radius:7px;background:#eff6f5;color:#458e84;display:grid;place-items:center;font-size:13px}.insight-chip small,.insight-chip b{display:block}.insight-chip small{font-size:8px;color:#8998a0}.insight-chip b{font-size:10px;color:#405965;margin-top:3px}.analytics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px}.analytics-card{min-height:250px;padding:17px 18px}.analytics-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.analytics-heading h2{font:700 12px Manrope;color:#263f4d}.analytics-heading p{margin-top:4px;color:#8b999f;font-size:9px}.chart-legend{display:flex;align-items:center;gap:6px;color:#75868d;font-size:8px}.chart-legend i{width:7px;height:7px;border-radius:3px;background:#50ad9c}.bar-chart{height:171px;display:flex;align-items:stretch;gap:8px;margin-top:21px;border-bottom:1px solid #e8edef;padding:0 2px}.daily-bar-row{min-width:0;flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;color:#87969c;font-size:8px}.daily-track{height:125px;width:100%;display:flex;align-items:flex-end;justify-content:center;background:linear-gradient(to top,#f6f9f9 1px,transparent 1px);background-size:100% 25%;border-radius:5px 5px 0 0}.daily-track i{width:min(24px,76%);min-height:4px;border-radius:5px 5px 0 0;background:linear-gradient(180deg,#6dc3ae,#278982);box-shadow:0 3px 7px #248f8424}.daily-bar-row b{font-size:8px;font-weight:600;color:#506975}.rank-chart{display:grid;gap:14px;margin-top:19px}.rank-row{min-width:0}.rank-label{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#5c727c;font-size:9px}.rank-label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rank-label b{color:#3e626b;font-size:9px}.rank-track{height:5px;margin-top:6px;border-radius:5px;background:#eef3f3;overflow:hidden}.rank-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#3e9f92,#82cbb3)}.rank-row>small{display:block;margin-top:4px;color:#9aa6ab;font-size:8px}.chart-empty{margin-top:45px;text-align:center;color:#8b9aa0;font-size:10px}.client-summary-card{overflow:hidden}.client-summary-card>.analytics-heading{padding:17px 18px;border-bottom:1px solid #edf0f3}.summary-table{min-width:740px}.summary-table th,.summary-table td{padding:12px 15px}.summary-table td b{color:#405765;font-weight:600}.client-summary-card .empty-state{min-height:150px}@media(max-width:1050px){.operations-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.report-filter-copy{flex-basis:100%}.report-filters{flex-wrap:wrap}.report-filters .date-filter{flex:1}.report-filters .date-filter input{width:100%}.report-filters>.button{flex:1}.report-filters .report-filter-copy{margin-right:0}.report-insights{flex-wrap:wrap}.insight-chip{flex:1;min-width:140px}}@media(max-width:760px){.analytics-grid{grid-template-columns:1fr}.analytics-card{min-height:235px;padding:15px}.report-filter-copy{align-items:flex-start}.report-filter-copy small{max-width:225px}.operations-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.operations-stats .stat-card{padding:12px}.operations-stats .stat-card strong{font-size:18px}.report-filters .date-filter{min-width:calc(50% - 6px)}.report-filters>.button{flex-basis:100%}.report-insights{display:grid;grid-template-columns:1fr 1fr}.insight-chip{min-width:0;padding:8px}.bar-chart{gap:5px}}
