@tailwindcss base;@tailwindcss components;@tailwindcss utilities;.login-page{box-sizing:border-box;color:#101a35;background:#f3f5f8;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:100vh;padding:32px 24px;font-family:Inter,Segoe UI,Arial,sans-serif;display:flex}.login-shell{background:#fff;border:1px solid #0a11280f;border-radius:18px;grid-template-columns:42% 58%;width:min(1080px,100vw - 60px);min-height:665px;display:grid;overflow:hidden;box-shadow:0 24px 60px #0a112824,0 4px 12px #0a11280f}.login-panel{color:#fff;background:linear-gradient(145deg,#3e49d5 0%,#3542c9 55%,#303cbc 100%);justify-content:center;align-items:center;padding:44px 38px;display:flex;position:relative;overflow:hidden}.login-panel:before{content:"";background:#ffffff0e;border-radius:50%;width:260px;height:260px;position:absolute;top:-130px;left:-100px}.login-panel:after{content:"";background:#0a112814;border-radius:50%;width:180px;height:180px;position:absolute;bottom:-90px;right:-70px}.login-panel-content{z-index:2;flex-direction:column;align-items:center;width:100%;max-width:310px;display:flex;position:relative}.user-avatar{background:#fffffff0;border-radius:50%;justify-content:center;align-items:center;width:64px;height:64px;margin-bottom:20px;display:flex;box-shadow:0 8px 22px #0a112824}.user-avatar svg{fill:#050505;stroke:#050505;stroke-width:1.5px;width:34px;height:34px}.login-heading{text-align:center;margin-bottom:26px}.login-eyebrow{letter-spacing:1.7px;opacity:.72;margin-bottom:7px;font-size:10px;font-weight:700;display:block}.login-heading h1{letter-spacing:-.4px;margin:0;font-size:27px;font-weight:700;line-height:1.15}.login-heading p{color:#ffffffc7;margin:8px 0 0;font-size:12px;line-height:1.5}.login-form{flex-direction:column;gap:15px;width:100%;display:flex}.login-field{width:100%}.login-field label{color:#ffffffe0;margin-bottom:6px;font-size:11px;font-weight:600;display:block}.input-wrapper{width:100%;position:relative}.input-wrapper input{box-sizing:border-box;color:#17213d;background:#fffffff7;border:1px solid #ffffff38;border-radius:8px;outline:none;width:100%;height:44px;padding:0 42px 0 40px;font-size:12px;transition:border-color .2s,box-shadow .2s,background .2s}.input-wrapper input::placeholder{color:#a0a7b5}.input-wrapper input:focus{background:#fff;border-color:#ffffffe6;box-shadow:0 0 0 3px #ffffff1f}.input-icon{fill:none;stroke:#6d7485;stroke-width:1.7px;pointer-events:none;width:17px;height:17px;position:absolute;top:50%;left:13px;transform:translateY(-50%)}.password-toggle{cursor:pointer;color:#72798a;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:30px;height:30px;transition:background .2s,color .2s;display:flex;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.password-toggle:hover{color:#202943;background:#eef0f5}.password-toggle svg{fill:none;stroke:currentColor;stroke-width:1.6px;width:17px;height:17px}.login-options{justify-content:space-between;align-items:center;gap:12px;margin-top:-2px;display:flex}.remember-option{color:#ffffffbf;cursor:pointer;align-items:center;gap:6px;font-size:10px;display:flex}.remember-option input{accent-color:#fff;cursor:pointer;width:13px;height:13px;margin:0}.forgot-password{color:#ffffffbf;cursor:pointer;background:0 0;border:none;padding:0;font-size:10px;transition:color .2s}.forgot-password:hover{color:#fff}.login-error{color:#fff;background:#7800002e;border:1px solid #ffffff29;border-radius:7px;align-items:center;gap:7px;padding:9px 10px;font-size:10px;line-height:1.35;display:flex}.login-error svg{fill:none;stroke:currentColor;stroke-width:1.7px;flex-shrink:0;width:15px;height:15px}.login-button{color:#fff;letter-spacing:.8px;cursor:pointer;background:linear-gradient(135deg,#071b58,#061544);border:none;border-radius:8px;justify-content:center;align-items:center;gap:10px;width:100%;height:44px;margin-top:2px;font-size:11px;font-weight:700;transition:transform .18s,box-shadow .18s,background .18s;display:flex;box-shadow:0 7px 16px #04114233}.login-button:hover{background:linear-gradient(135deg,#081f66,#07184e);transform:translateY(-1px);box-shadow:0 10px 20px #04114247}.login-button:active{transform:translateY(0)}.login-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;width:15px;height:15px}.login-security{color:#ffffff8c;align-items:center;gap:6px;margin-top:24px;font-size:9px;display:flex}.login-security svg{fill:none;stroke:currentColor;stroke-width:1.5px;width:13px;height:13px}.brand-panel{color:#fff;background:#01053c;position:relative;overflow:hidden}.brand-panel:before{content:"";background:linear-gradient(#0000,#596ce08c,#0000);width:1px;height:100%;position:absolute;top:0;left:0}.brand-content{box-sizing:border-box;flex-direction:column;justify-content:space-between;height:100%;padding:55px 68px 40px;display:flex;position:relative;overflow:hidden}.brand-logo{z-index:2;position:relative}.brand-logo-text{letter-spacing:-7px;color:#f3f4fb;text-shadow:0 8px 24px #00000040;font-size:76px;font-style:italic;font-weight:900;line-height:.8}.brand-line{background:linear-gradient(90deg,#fff,#ffffff14);width:180px;height:3px;margin:11px 0 8px 7px;transform:skew(-25deg)}.brand-name{letter-spacing:1.45px;color:#e1e5f5;white-space:nowrap;font-size:10px;font-weight:700}.brand-message{z-index:2;max-width:390px;position:relative}.brand-eyebrow{letter-spacing:2px;color:#8390db;margin-bottom:13px;font-size:9px;font-weight:700;display:block}.brand-message h2{letter-spacing:-.7px;color:#f4f6ff;margin:0;font-size:30px;font-weight:500;line-height:1.17}.brand-message p{color:#e4e9fa94;max-width:340px;margin:15px 0 0;font-size:12px;line-height:1.65}.brand-decoration{opacity:.7;width:300px;height:240px;position:absolute;bottom:70px;right:-20px;transform:rotate(-7deg)}.decoration-square{border:1px solid #6678e129;position:absolute;transform:rotate(18deg)}.square-one{width:150px;height:150px;bottom:15px;right:40px}.square-two{border-color:#7e8de63b;width:95px;height:95px;bottom:110px;right:145px}.decoration-line{background:linear-gradient(90deg,#0000,#7082e647,#0000);height:1px;position:absolute}.line-one{width:260px;bottom:90px;right:0;transform:rotate(-20deg)}.line-two{width:210px;bottom:155px;right:35px;transform:rotate(-20deg)}.brand-footer{z-index:3;color:#e4e9fa8c;flex-direction:column;align-items:flex-end;gap:3px;font-size:10px;line-height:1.2;display:flex;position:relative}.brand-footer strong{color:#f4f6ffe6;font-size:11px;font-weight:600}.login-page-footer{color:#9ca3af;letter-spacing:.2px;margin-top:18px;font-size:9px}@media (width<=800px){.login-page{padding:20px 15px}.login-shell{grid-template-columns:1fr;max-width:520px;min-height:auto}.brand-panel{min-height:300px}.brand-content{padding:38px 40px 30px}.brand-message{margin-top:45px}.brand-message h2{font-size:24px}.brand-decoration{opacity:.45;right:-50px}.brand-footer{margin-top:35px}}@media (width<=480px){.login-panel{padding:35px 25px}.login-panel-content{max-width:100%}.login-options{flex-direction:column;align-items:flex-start;gap:9px}.brand-panel{min-height:270px}.brand-content{padding:30px 28px 25px}.brand-logo-text{font-size:60px}.brand-name{letter-spacing:1px;font-size:8px}.brand-message{margin-top:30px}.brand-message h2{font-size:21px}.brand-message p{font-size:10px}}.brand-logo-image{-o-object-fit:contain;object-fit:contain;filter:none;width:390px;max-width:100%;height:auto;display:block}.dashboard-page{color:#101a35;background:#f3f5f8;width:100%;min-height:100vh;font-family:Inter,Segoe UI,Arial,sans-serif;display:flex}.dashboard-sidebar{color:#fff;box-sizing:border-box;background:#01053c;flex-direction:column;flex-shrink:0;width:235px;height:100vh;min-height:100vh;display:flex;position:sticky;top:0}.dashboard-sidebar-brand{box-sizing:border-box;border-bottom:1px solid #ffffff14;flex-direction:column;justify-content:center;align-items:center;gap:5px;height:96px;padding:0 18px;display:flex}.dashboard-sidebar-logo{-o-object-fit:contain;object-fit:contain;width:180px;height:auto;display:block}.dashboard-navigation{flex-direction:column;flex:1;gap:4px;padding:22px 12px 12px;display:flex}.dashboard-nav-item{color:#ffffff94;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:12px;width:100%;height:43px;padding:0 13px;font-family:inherit;font-size:13.2px;font-weight:500;transition:background .18s,color .18s,transform .18s;display:flex}.dashboard-nav-item:hover{color:#fff;background:#ffffff12;transform:translate(1px)}.dashboard-nav-item.active{color:#fff;background:#4858d757;box-shadow:inset 3px 0 #6d7bea}.dashboard-nav-item svg{fill:none;stroke:currentColor;stroke-width:1.6px;flex-shrink:0;width:18px;height:18px}.dashboard-sidebar-bottom{border-top:1px solid #ffffff14;padding:12px}.dashboard-main{flex-direction:column;flex:1;min-width:0;display:flex}.dashboard-header{box-sizing:border-box;background:#fff;border-bottom:1px solid #e6e9ef;justify-content:space-between;align-items:center;height:78px;padding:0 38px;display:flex}.dashboard-header-title{flex-direction:column;gap:3px;display:flex}.dashboard-header-eyebrow{letter-spacing:1.8px;color:#6570c9;font-size:9.6px;font-weight:700}.dashboard-header-title h1{color:#101a35;margin:0;font-size:25.2px;font-weight:700;line-height:1}.dashboard-user{cursor:pointer;align-items:center;gap:10px;display:flex}.dashboard-user-avatar{color:#303cae;background:#e7eaf9;border-radius:50%;justify-content:center;align-items:center;width:35px;height:35px;font-size:12px;font-weight:700;display:flex}.dashboard-user-data{flex-direction:column;gap:3px;display:flex}.dashboard-user-data strong{color:#1c2742;font-size:13.2px}.dashboard-user-data span{color:#8a92a3;font-size:9.6px}.dashboard-user-chevron{fill:none;stroke:#8a92a3;stroke-width:1.7px;width:14px;height:14px;margin-left:4px}.dashboard-content{box-sizing:border-box;width:100%;max-width:1280px;margin:0 auto;padding:34px 38px 22px}.dashboard-welcome{margin-bottom:27px}.dashboard-section-kicker{letter-spacing:1.7px;color:#6b75c8;margin-bottom:7px;font-size:9.6px;font-weight:700;display:block}.dashboard-welcome h2{letter-spacing:-.5px;color:#101a35;margin:0;font-size:31.2px;font-weight:650;line-height:1.15}.dashboard-welcome p{color:#7d8698;margin:7px 0 0;font-size:13.2px}.dashboard-error{color:#9e3434;background:#fff1f1;border:1px solid #f1d0d0;border-radius:8px;margin-bottom:20px;padding:11px 14px;font-size:13.2px}.dashboard-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:38px;display:grid}.metric-card{box-sizing:border-box;background:#fff;border:1px solid #e3e7ee;border-radius:12px;align-items:flex-start;gap:15px;min-height:126px;padding:19px;transition:transform .18s,box-shadow .18s;display:flex;box-shadow:0 3px 12px #0f193709}.metric-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px #0f193712}.metric-icon{border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.metric-icon svg{fill:none;stroke:currentColor;stroke-width:1.6px;width:20px;height:20px}.metric-icon-blue{color:#3d4bc4;background:#e9ecfc}.metric-icon-alert{color:#c47a1b;background:#fff1dd}.metric-icon-purple{color:#6d59ad;background:#eeeafa}.metric-icon-gray{color:#697384;background:#edf0f4}.metric-information{flex-direction:column;gap:3px;min-width:0;display:flex}.metric-information span{letter-spacing:.7px;color:#7a8394;font-size:9.6px;font-weight:700;line-height:1.3}.metric-information strong{color:#101a35;margin-top:2px;font-size:33.6px;font-weight:700;line-height:1}.metric-information small{color:#9aa1af;margin-top:2px;font-size:10.8px}.dashboard-section{margin-top:5px}.dashboard-section-heading{margin-bottom:16px}.dashboard-section-heading h3{color:#17213b;margin:0;font-size:20.4px;font-weight:650}.quick-access-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;display:grid}.quick-access-card{text-align:left;cursor:pointer;background:#fff;border:1px solid #e1e5ec;border-radius:12px;align-items:center;gap:13px;min-height:98px;padding:18px;font-family:inherit;transition:border-color .18s,transform .18s,box-shadow .18s;display:flex;box-shadow:0 3px 12px #0f193708}.quick-access-card:hover{border-color:#c7ccef;transform:translateY(-2px);box-shadow:0 8px 20px #0f193712}.quick-access-icon{color:#3543bd;background:#eef0fb;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.quick-access-icon svg{fill:none;stroke:currentColor;stroke-width:1.6px;width:21px;height:21px}.quick-access-card>div:nth-child(2){flex-direction:column;gap:5px;min-width:0;display:flex}.quick-access-card strong{color:#17213b;letter-spacing:.2px;font-size:13.2px}.quick-access-card span{color:#8a92a2;font-size:10.8px}.quick-access-arrow{fill:none;stroke:#8d95a5;stroke-width:1.7px;flex-shrink:0;width:15px;height:15px;margin-left:auto;transition:transform .18s,stroke .18s}.quick-access-card:hover .quick-access-arrow{stroke:#3543bd;transform:translate(3px)}.dashboard-footer{color:#9aa1af;border-top:1px solid #e4e7ed;justify-content:space-between;margin-top:48px;padding-top:16px;font-size:9.6px;display:flex}.dashboard-footer strong{color:#687181;font-weight:600}.dashboard-logout-button{color:#ffffffc7;margin-top:6px}.dashboard-logout-button:hover{color:#fff;background:#dc464629}.dashboard-logout-button:focus-visible{outline-offset:2px;outline:2px solid #8fa0ff}@media (width<=1050px){.dashboard-sidebar{width:210px}.dashboard-content,.dashboard-header{padding-left:28px;padding-right:28px}}@media (width<=850px){.dashboard-sidebar{width:72px}.dashboard-nav-item span{display:none}.dashboard-sidebar-brand{justify-content:center;padding:0}.dashboard-sidebar-logo{width:52px;height:auto}.dashboard-nav-item{justify-content:center;padding:0}.dashboard-nav-item.active{box-shadow:inset 3px 0 #6d7bea}.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){.dashboard-header{padding:0 18px}.dashboard-content{padding:25px 18px 18px}.dashboard-user-data,.dashboard-user-chevron{display:none}.dashboard-welcome h2{font-size:26.4px}.dashboard-metrics,.quick-access-grid{grid-template-columns:1fr}}.app-container{color:#1f2937;background:#f5f7fa;min-height:100vh;font-family:Arial,Helvetica,sans-serif;display:flex}.sidebar{color:#fff;background:#1f2937;flex-shrink:0;width:220px;min-height:100vh}.sidebar-logo{border-bottom:1px solid #374151;align-items:center;height:72px;padding:0 24px;font-size:26px;display:flex}.sidebar-menu{padding:20px 12px}.sidebar-item{color:#d1d5db;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:6px;width:100%;margin-bottom:6px;padding:12px 14px;font-size:14px}.sidebar-item:hover{color:#fff;background:#374151}.sidebar-item.active{color:#fff;background:#4b5563}.main-content{flex:1;min-width:0}.top-header{background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;height:72px;padding:0 32px;display:flex}.top-header h1{color:#111827;margin:0;font-size:24px;font-weight:600}.top-header p{color:#6b7280;margin:4px 0 0;font-size:13px}.user-info{color:#374151;font-size:14px;font-weight:500}.content-section{padding:32px}.section-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.section-header h2{color:#111827;margin:0;font-size:22px;font-weight:600}.section-header p{color:#6b7280;margin:5px 0 0;font-size:14px}.primary-button,.secondary-button{cursor:pointer;border:none;border-radius:6px;padding:9px 16px;font-size:13px;font-weight:600;transition:all .2s}.primary-button{color:#fff;background:#2563eb}.primary-button:hover{background:#1d4ed8}.secondary-button{color:#3730a3;background:#eef2ff}.secondary-button:hover{background:#e0e7ff}.primary-button:disabled,.secondary-button:disabled{opacity:.5;cursor:not-allowed}.error-message{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;margin-bottom:20px;padding:12px 16px;font-size:14px}.loading-message{text-align:center;color:#6b7280;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:40px}.empty-message{text-align:center;color:#6b7280;padding:40px!important}.table-container{background:#fff;border:1px solid #e5e7eb;border-radius:8px;overflow-x:auto;box-shadow:0 1px 2px #0000000a}.data-table{border-collapse:collapse;width:100%;font-size:13px}.data-table thead{background:#f9fafb}.data-table th{text-align:left;color:#6b7280;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap;border-bottom:1px solid #e5e7eb;padding:13px 14px;font-size:11px;font-weight:700}.data-table td{color:#374151;vertical-align:middle;border-bottom:1px solid #f0f1f3;padding:14px}.data-table tbody tr:hover{background:#f9fafb}.data-table tbody tr:last-child td{border-bottom:none}@media (width<=900px){.sidebar{width:180px}.content-section{padding:24px}.top-header{padding:0 24px}}@media (width<=700px){.sidebar{display:none}.content-section{padding:16px}.top-header{padding:0 16px}.user-info{display:none}.section-header{align-items:flex-start;gap:16px}}.status-cards{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px;display:grid}.status-card{text-align:left;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:18px 20px;transition:all .2s}.status-card:hover{border-color:#cbd5e1;box-shadow:0 2px 6px #0000000f}.status-card-active{border-color:#2563eb;box-shadow:0 0 0 1px #2563eb}.status-card-label{color:#6b7280;letter-spacing:.04em;margin-bottom:8px;font-size:11px;font-weight:700;display:block}.status-card-value{color:#111827;font-size:28px;font-weight:700;display:block}.filters-bar{align-items:center;gap:12px;margin-bottom:20px;display:flex}.search-box{flex:1;max-width:650px;position:relative}.search-box input{box-sizing:border-box;color:#1f2937;background:#fff;border:1px solid #d1d5db;border-radius:7px;width:100%;height:42px;padding:0 42px;font-size:13px}.search-box input::placeholder{color:#9ca3af}.search-box input:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 2px #2563eb1a}.search-icon{font-size:15px;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.clear-search{color:#6b7280;cursor:pointer;background:0 0;border:none;font-size:20px;line-height:1;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.clear-search:hover{color:#111827}.clear-filter{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:7px;height:42px;padding:0 15px;font-size:13px}.clear-filter:hover{background:#f9fafb}@media (width<=900px){.status-cards{grid-template-columns:repeat(2,1fr)}}@media (width<=600px){.status-cards{grid-template-columns:1fr}.filters-bar{flex-direction:column;align-items:stretch}.search-box{max-width:none}.clear-filter{width:100%}}.data-table{table-layout:fixed;min-width:1250px}.data-table th:first-child,.data-table td:first-child{width:45px}.data-table th:nth-child(2),.data-table td:nth-child(2){width:105px}.data-table th:nth-child(3),.data-table td:nth-child(3){width:130px}.data-table th:nth-child(4),.data-table td:nth-child(4){width:210px}.data-table th:nth-child(5),.data-table td:nth-child(5),.data-table th:nth-child(6),.data-table td:nth-child(6){width:140px}.data-table th:nth-child(7),.data-table td:nth-child(7){width:105px}.data-table th:nth-child(8),.data-table td:nth-child(8){width:85px}.data-table th:nth-child(9),.data-table td:nth-child(9){text-align:right;width:120px}.data-table th:nth-child(10),.data-table td:nth-child(10){width:95px}.data-table th:nth-child(11),.data-table td:nth-child(11){text-align:center;width:55px}.cell-manifiesto,.cell-cliente{overflow-wrap:anywhere}.cell-placa{letter-spacing:.03em;font-weight:600}.cell-flete{white-space:nowrap;font-variant-numeric:tabular-nums}.edit-button{color:#3730a3;cursor:pointer;background:#eef2ff;border:none;border-radius:6px;justify-content:center;align-items:center;width:34px;height:34px;font-size:20px;line-height:1;transition:background .2s,color .2s,transform .2s;display:inline-flex}.edit-button:hover{color:#1e1b4b;background:#e0e7ff;transform:translateY(-1px)}.edit-button:focus-visible{outline-offset:2px;outline:2px solid #2563eb}.modal-overlay{z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a94;justify-content:center;align-items:center;padding:3vh 3vw;display:flex;position:fixed;inset:0}.detalle-modal{background:#f6f8fb;border:1px solid #dfe4ea;border-radius:14px;flex-direction:column;width:94vw;max-width:1500px;height:92vh;max-height:920px;display:flex;overflow:hidden;box-shadow:0 24px 70px #0f172a3d}.detalle-header{background:#fff;border-bottom:1px solid #e5e7eb;flex-shrink:0;justify-content:space-between;gap:24px;padding:22px 30px 20px;display:flex}.detalle-header-main{min-width:0}.back-button{color:#64748b;text-transform:uppercase;letter-spacing:.04em;cursor:pointer;background:0 0;border:none;margin-bottom:12px;padding:0;font-size:12px;font-weight:700}.back-button:hover{color:#2563eb}.back-button:disabled{opacity:.5;cursor:not-allowed}.eyebrow,.section-kicker{color:#64748b;letter-spacing:.12em;text-transform:uppercase;font-size:10px;font-weight:800;display:block}.detalle-title-row{align-items:center;gap:16px;display:flex}.detalle-title-row h2{color:#0f172a;margin:2px 0 0;font-size:28px;font-weight:750;line-height:1}.detalle-cliente{color:#334155;max-width:950px;margin:10px 0 7px;font-size:16px;font-weight:600}.detalle-meta{color:#64748b;flex-wrap:wrap;gap:8px 24px;font-size:12px;display:flex}.detalle-meta strong{color:#475569;margin-right:5px}.header-close{flex-shrink:0}.detalle-body{flex:1;padding:28px 30px 36px;overflow-y:auto}.detail-section,.action-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 2px #0f172a08}.detail-section{margin-bottom:18px;padding:24px}.section-heading{margin-bottom:22px}.section-heading h3,.action-card h3{color:#172033;margin:4px 0 3px;font-size:18px;font-weight:700}.section-heading p,.action-card p{color:#64748b;margin:0;font-size:12px}.form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.form-group{flex-direction:column;gap:7px;min-width:0;display:flex}.form-group-wide{grid-column:span 2}.form-group label{color:#475569;letter-spacing:.025em;font-size:11px;font-weight:750}.form-group input,.form-group select,.form-group textarea{box-sizing:border-box;color:#172033;background:#fff;border:1px solid #cbd5e1;border-radius:7px;width:100%;padding:10px 11px;font-family:inherit;font-size:13px;transition:border-color .18s,box-shadow .18s,background .18s}.form-group input,.form-group select{height:40px}.form-group textarea{resize:vertical;min-height:76px}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb1a}.form-group input::placeholder{color:#94a3b8}.form-group input:disabled,.form-group select:disabled{color:#94a3b8;cursor:not-allowed;background:#f1f5f9}.readonly-field input{color:#64748b;cursor:default;background:#f8fafc}.readonly-status{box-sizing:border-box;border-radius:7px;align-items:center;gap:8px;height:40px;padding:0 11px;font-size:12px;font-weight:700;display:flex}.readonly-status.status-abierta{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0}.readonly-status.status-alerta{color:#9a3412;background:#fff7ed;border:1px solid #fed7aa}.readonly-status.status-cerrada{color:#475569;background:#f1f5f9;border:1px solid #cbd5e1}.status-default{color:#475569;background:#f1f5f9}.status-dot{background:currentColor;border-radius:50%;width:7px;height:7px}.section-actions{border-top:1px solid #eef2f6;justify-content:flex-end;margin-top:22px;padding-top:18px;display:flex}.action-card{margin-bottom:18px;padding:22px 24px}.action-card-header{align-items:center;gap:14px;margin-bottom:20px;display:flex}.action-icon{color:#3157b7;letter-spacing:.05em;background:#eff4ff;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:10px;font-weight:800;display:flex}.action-card-content{grid-template-columns:minmax(250px,1fr) auto;align-items:end;gap:18px;display:grid}.action-button{min-width:190px;height:40px}.action-facturacion{border-color:#dbe4f0}.action-facturacion .action-icon{color:#4338ca;background:#eef2ff}.action-facturacion.is-closed{background:#f8fafc}.closed-summary{background:#fff;border:1px solid #e2e8f0;border-radius:9px;grid-template-columns:1fr 1fr auto;align-items:center;gap:24px;padding:16px;display:grid}.closed-summary span{color:#64748b;letter-spacing:.09em;margin-bottom:5px;font-size:9px;font-weight:800;display:block}.closed-summary strong{color:#172033;font-size:14px}.closed-check{color:#15803d;background:#dcfce7;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-weight:800;display:flex}.status-badge{white-space:nowrap;border-radius:999px;align-items:center;gap:7px;padding:6px 11px;font-size:11px;font-weight:750;display:inline-flex}.status-badge:before{content:"";background:currentColor;border-radius:50%;width:7px;height:7px}.status-abierta{color:#166534;background:#dcfce7}.status-alerta{color:#9a3412;background:#ffedd5}.status-cerrada{color:#374151;background:#e5e7eb}.message-area{flex-shrink:0;padding:12px 30px 0}.message-area .success-message,.message-area .error-message{margin-bottom:0}.detalle-footer{background:#fff;border-top:1px solid #e5e7eb;flex-shrink:0;justify-content:space-between;align-items:center;gap:20px;display:flex}.footer-state{color:#64748b;align-items:center;gap:18px;font-size:12px;display:flex}.footer-state strong{color:#334155}@media (width<=1100px){.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-group-wide{grid-column:span 2}.action-card-content{grid-template-columns:1fr}.action-button{width:100%}}@media (width<=700px){.modal-overlay{padding:0}.detalle-modal{border-radius:0;width:100vw;height:100vh;max-height:none}.detalle-header,.detalle-body{padding-left:18px;padding-right:18px}.form-grid{grid-template-columns:1fr}.form-group-wide{grid-column:span 1}.detalle-cliente{font-size:14px}.closed-summary{grid-template-columns:1fr}.closed-check,.footer-state span:last-child{display:none}}.action-completed-summary{background:#f8fafc;border:1px solid #dbe4ee;border-radius:10px;justify-content:space-between;align-items:center;gap:24px;margin-top:18px;padding:18px 20px;display:flex}.completed-data{flex:1;align-items:center;gap:70px;display:flex}.completed-data>div{flex-direction:column;gap:5px;display:flex}.completed-data span{letter-spacing:.08em;color:#64748b;font-size:11px;font-weight:700}.completed-data strong{color:#1e293b;font-size:15px;font-weight:700}.completed-check{color:#16a34a;background:#dcfce7;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:24px;font-weight:700;display:flex}.creation-info-card{background:#f8fafc;border:1px solid #dbe4ee;border-radius:10px;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px;padding:18px 20px;display:grid}.creation-info-card>div{flex-direction:column;gap:5px;display:flex}.creation-info-card span{letter-spacing:.08em;color:#64748b;font-size:11px;font-weight:700}.creation-info-card strong{color:#1e293b;font-size:15px;font-weight:700}.footer-actions{align-items:center;gap:10px;display:flex}.stage-banner{border-radius:8px;flex-direction:column;grid-column:1/-1;gap:5px;margin:8px 0 2px;padding:12px 14px;font-size:12px;display:flex}.stage-banner strong{letter-spacing:.07em;font-size:11px}.stage-banner span{font-size:12px}.stage-client{color:#1e40af;background:#eff6ff;border:1px solid #bfdbfe}.stage-commercial{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0}.field-readonly,.readonly-field input{cursor:not-allowed;color:#64748b!important;background:#f1f5f9!important;border-color:#cbd5e1!important}.inline-check{align-items:center;gap:8px;display:flex;flex-direction:row!important}.inline-check input{width:auto!important;height:auto!important}.form-group input[readonly],.form-group textarea[readonly]{color:#64748b;cursor:not-allowed;background:#f1f5f9}.mts-sidebar{color:#fff;box-sizing:border-box;background:#01053c;flex-direction:column;width:290px;min-width:290px;min-height:100vh;display:flex}.mts-sidebar-brand{box-sizing:border-box;border-bottom:1px solid #ffffff14;flex-direction:column;justify-content:center;align-items:center;height:126px;display:flex}.mts-sidebar-logo{-o-object-fit:contain;object-fit:contain;width:230px;height:auto;display:block}.mts-sidebar-menu{flex-direction:column;gap:5px;padding:20px 10px;display:flex}.mts-sidebar-item,.mts-sidebar-group-title{box-sizing:border-box;color:#ffffffad;text-align:left;background:0 0;border:none;border-radius:9px;align-items:center;gap:14px;width:100%;min-height:48px;padding:0 16px;font-family:inherit;font-size:14px;font-weight:600;display:flex}.mts-sidebar-item{cursor:pointer}.mts-sidebar-item:hover{color:#fff;background:#ffffff0f}.mts-sidebar-icon{text-align:center;opacity:.85;width:22px;min-width:22px;font-size:18px}.mts-sidebar-item.active{color:#fff;background:#20297f;box-shadow:inset 4px 0 #6c7cff}.mts-sidebar-item.active.inicio{background:#20297f}.mts-sidebar-group{margin-top:2px;margin-bottom:2px}.mts-sidebar-group-title{color:#ffffffad}.mts-sidebar-group-title.active-parent{color:#fff}.mts-sidebar-subitem{color:#ffffff94;text-align:left;cursor:pointer;background:0 0;border:none;border-left:2px solid #ffffff1a;width:calc(100% - 18px);min-height:40px;margin-left:18px;padding:0 14px;font-family:inherit;font-size:13px;font-weight:500;transition:background .15s,color .15s,border-color .15s}.mts-sidebar-subitem:hover{color:#fff;background:#ffffff0d}.mts-sidebar-subitem.active-planillas{color:#fff;background:#315efb33;border-left-color:#4d6bff}.mts-sidebar-subitem.active-anticipos{color:#fff;background:#6d4aff3d;border-left-color:#8b6cff}@media (width<=900px){.mts-sidebar{width:230px;min-width:230px}}@media (width<=700px){.mts-sidebar{display:none}}.anticipos-container{color:#1f2937;background:#f5f7fa;width:100%;min-height:100vh;font-family:Arial,Helvetica,sans-serif;display:flex}.anticipos-sidebar-item:hover{color:#fff;background:#374151}.anticipos-sidebar-item.active{color:#fff;background:#4b5563}.anticipos-main{flex:1;min-width:0}.anticipos-top-header{background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;height:72px;padding:0 32px;display:flex}.anticipos-top-header h1{color:#111827;margin:0;font-size:24px;font-weight:600}.anticipos-top-header p{color:#6b7280;margin:4px 0 0;font-size:13px}.anticipos-user-info{color:#374151;font-size:14px;font-weight:500}.anticipos-module-label{letter-spacing:.16em;color:#6d4aff;margin-bottom:5px;font-size:10px;font-weight:800}.anticipos-content{padding:32px}.anticipos-section-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.anticipos-section-header h2{color:#111827;margin:0;font-size:22px;font-weight:600}.anticipos-section-header p{color:#6b7280;margin:5px 0 0;font-size:14px}.anticipos-primary-button{cursor:pointer;color:#fff;background:#6d4aff;border:none;border-radius:7px;padding:10px 17px;font-size:13px;font-weight:700;transition:all .2s}.anticipos-primary-button:hover{background:#1d4ed8}.anticipos-primary-button:disabled{opacity:.5;cursor:not-allowed}.anticipos-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;margin-bottom:20px;padding:12px 16px;font-size:14px}.anticipos-loading{text-align:center;color:#6b7280;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:40px}.anticipos-empty-message{text-align:center;color:#6b7280;padding:40px!important}.anticipos-status-cards{grid-template-columns:repeat(5,1fr);gap:16px;margin-bottom:20px;display:grid}.anticipos-status-card{text-align:left;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:18px 20px;transition:all .2s}.anticipos-status-card:hover{border-color:#cbd5e1;box-shadow:0 2px 6px #0000000f}.anticipos-status-card-active{border-color:#6d4aff;box-shadow:0 0 0 1px #6d4aff}.anticipos-status-card span{color:#6b7280;letter-spacing:.04em;margin-bottom:8px;font-size:11px;font-weight:700;display:block}.anticipos-status-card strong{color:#111827;font-size:28px;font-weight:700;display:block}.anticipos-filters-bar{align-items:center;gap:12px;margin-bottom:20px;display:flex}.anticipos-search-box{flex:1;position:relative}.anticipos-search-box input{box-sizing:border-box;color:#1f2937;background:#fff;border:1px solid #d1d5db;border-radius:7px;width:100%;height:42px;padding:0 42px;font-size:13px}.anticipos-search-box>span{font-size:15px;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.anticipos-search-box input:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 2px #2563eb1a}.anticipos-clear-search{color:#6b7280;cursor:pointer;background:0 0;border:none;font-size:20px;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.anticipos-filter-select{color:#374151;background:#fff;border:1px solid #d1d5db;border-radius:7px;min-width:230px;height:42px;padding:0 12px;font-size:13px}.anticipos-clear-filter{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:7px;height:42px;padding:0 15px;font-size:13px}.anticipos-table-container{background:#fff;border:1px solid #e5e7eb;border-radius:8px;overflow-x:auto;box-shadow:0 1px 2px #0000000a}.anticipos-data-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:1250px;font-size:13px}.anticipos-data-table thead{background:#f9fafb}.anticipos-data-table th{text-align:left;color:#6b7280;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap;border-bottom:1px solid #e5e7eb;padding:13px 14px;font-size:11px;font-weight:700}.anticipos-data-table td{color:#374151;vertical-align:middle;border-bottom:1px solid #f0f1f3;padding:14px}.anticipos-data-table tbody tr:hover{background:#f9fafb}.anticipos-data-table tbody tr:last-child td{border-bottom:none}.anticipos-data-table th:first-child,.anticipos-data-table td:first-child{text-align:center;width:42px}.anticipos-data-table th:nth-child(2),.anticipos-data-table td:nth-child(2){width:55px}.anticipos-data-table th:nth-child(3),.anticipos-data-table td:nth-child(3){width:95px}.anticipos-data-table th:nth-child(4),.anticipos-data-table td:nth-child(4){width:110px}.anticipos-data-table th:nth-child(5),.anticipos-data-table td:nth-child(5),.anticipos-data-table th:nth-child(6),.anticipos-data-table td:nth-child(6){width:190px}.anticipos-data-table th:nth-child(7),.anticipos-data-table td:nth-child(7){width:110px}.anticipos-data-table th:nth-child(8),.anticipos-data-table td:nth-child(8){text-align:right;width:120px}.anticipos-data-table th:nth-child(9),.anticipos-data-table td:nth-child(9){text-align:right;width:125px}.anticipos-data-table th:nth-child(10),.anticipos-data-table td:nth-child(10){width:150px}.anticipos-data-table th:nth-child(11),.anticipos-data-table td:nth-child(11){width:100px}.anticipos-data-table th:nth-child(12),.anticipos-data-table td:nth-child(12){text-align:center;width:55px}.anticipos-data-table input[type=checkbox]{cursor:pointer;width:16px;height:16px}.anticipos-data-table input[type=checkbox]:disabled{cursor:not-allowed;opacity:.35}.cell-id{font-weight:600;color:#111827!important}.cell-manifiesto{font-weight:600}.cell-money{white-space:nowrap;font-variant-numeric:tabular-nums}.cell-lote{font-weight:600}.tipo-anticipo,.tipo-adicional{white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:700;display:inline-flex}.tipo-anticipo{color:#1e40af;background:#dbeafe}.tipo-adicional{color:#6b21a8;background:#f3e8ff}.anticipo-status-badge{white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:5px 10px;font-size:11px;font-weight:700;display:inline-flex}.anticipo-status-badge:before{content:"";background:currentColor;border-radius:50%;width:7px;height:7px}.anticipo-status-pendiente{color:#92400e;background:#fef3c7}.anticipo-status-enviado{color:#1e40af;background:#dbeafe}.anticipo-status-aprobado{color:#166534;background:#dcfce7}.anticipo-status-rechazado{color:#991b1b;background:#fee2e2}.anticipos-edit-button{color:#3730a3;cursor:pointer;background:#eef2ff;border:none;border-radius:6px;justify-content:center;align-items:center;width:34px;height:34px;font-size:20px;display:inline-flex}.anticipos-edit-button:hover{background:#e0e7ff}.anticipos-edit-button:disabled{opacity:.35;cursor:not-allowed}.anticipos-batch-bar{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:10px;justify-content:space-between;align-items:center;gap:20px;margin-top:16px;padding:16px 20px;display:flex}.anticipos-batch-info{color:#4b5563;align-items:center;gap:24px;font-size:13px;display:flex}.anticipos-batch-info>div:first-child{white-space:nowrap}.anticipos-batch-info strong{color:#111827;font-size:16px}.anticipos-batch-total{color:#6b7280;border-left:1px solid #e5e7eb;align-items:center;gap:8px;padding-left:24px;display:flex}.anticipos-batch-total strong{color:#6d4aff;font-size:15px}.anticipos-batch-bar strong{color:#111827;font-size:16px}@media (width<=900px){.anticipos-sidebar{width:180px}.anticipos-content{padding:24px}.anticipos-status-cards{grid-template-columns:repeat(2,1fr)}}@media (width<=700px){.anticipos-sidebar{display:none}.anticipos-content{padding:16px}.anticipos-top-header{padding:0 16px}.anticipos-user-info{display:none}.anticipos-section-header{align-items:flex-start;gap:16px}.anticipos-filters-bar{flex-direction:column;align-items:stretch}.anticipos-filter-select{width:100%}}.modal-overlay{z-index:1000;background:#01053c8c;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modal-lote-anticipos{background:#fff;border-radius:18px;flex-direction:column;width:min(1100px,95vw);max-height:90vh;display:flex;overflow:hidden;box-shadow:0 20px 60px #01053c40}.modal-lote-header{border-bottom:1px solid #e8eaf2;justify-content:space-between;align-items:flex-start;padding:24px 28px 18px;display:flex}.modal-lote-kicker{color:#6d4aff;letter-spacing:1.2px;margin-bottom:6px;font-size:11px;font-weight:700}.modal-lote-header h2{color:#01053c;margin:0;font-size:24px}.modal-lote-header p{color:#687089;margin:6px 0 0;font-size:13px}.modal-lote-close{color:#7b8197;cursor:pointer;background:0 0;border:none;font-size:28px;line-height:1}.modal-lote-resumen{gap:14px;padding:18px 28px;display:flex}.modal-lote-card{background:#f6f4ff;border:1px solid #e7e1ff;border-radius:12px;min-width:180px;padding:13px 16px}.modal-lote-card span{color:#747b91;margin-bottom:5px;font-size:12px;display:block}.modal-lote-card strong{color:#6d4aff;font-size:20px}.modal-lote-table-wrapper{padding:0 28px;overflow:auto}.modal-lote-table{border-collapse:collapse;width:100%;font-size:13px}.modal-lote-table th{text-align:left;color:#737a91;letter-spacing:.6px;white-space:nowrap;background:#f7f8fb;border-bottom:1px solid #e5e7ef;padding:11px 10px;font-size:10px}.modal-lote-table td{color:#30364a;border-bottom:1px solid #eef0f5;padding:13px 10px}.modal-lote-footer{border-top:1px solid #e8eaf2;justify-content:flex-end;gap:10px;margin-top:18px;padding:18px 28px;display:flex}.btn-lote-cancelar,.btn-lote-confirmar{cursor:pointer;border-radius:9px;padding:10px 18px;font-size:13px;font-weight:600}.btn-lote-cancelar{color:#4f566c;background:#fff;border:1px solid #d9dce7}.btn-lote-confirmar{color:#fff;background:#6d4aff;border:1px solid #6d4aff}.btn-lote-confirmar:hover{background:#5b3ee0}.anticipos-table-container{width:100%;overflow-x:auto}.anticipos-data-table{table-layout:fixed;width:max-content;min-width:1250px}.anticipos-data-table .check-column{text-align:center;width:42px;min-width:42px}.anticipos-data-table th:nth-child(2),.anticipos-data-table td:nth-child(2){width:55px;min-width:55px}.anticipos-data-table th:nth-child(3),.anticipos-data-table td:nth-child(3){width:95px;min-width:95px}.anticipos-data-table th:nth-child(4),.anticipos-data-table td:nth-child(4){width:110px;min-width:110px}.anticipos-data-table th:nth-child(5),.anticipos-data-table td:nth-child(5){width:155px;min-width:155px}.anticipos-data-table th:nth-child(6),.anticipos-data-table td:nth-child(6){width:180px;min-width:180px}.anticipos-data-table th:nth-child(7),.anticipos-data-table td:nth-child(7),.anticipos-data-table th:nth-child(8),.anticipos-data-table td:nth-child(8),.anticipos-data-table th:nth-child(9),.anticipos-data-table td:nth-child(9){width:115px;min-width:115px}.anticipos-data-table th:nth-child(10),.anticipos-data-table td:nth-child(10){width:125px;min-width:125px}.anticipos-data-table th:nth-child(11),.anticipos-data-table td:nth-child(11){width:115px;min-width:115px}.anticipos-data-table th:nth-child(12),.anticipos-data-table td:nth-child(12){white-space:nowrap;width:135px;min-width:135px}.anticipos-data-table th:nth-child(13),.anticipos-data-table td:nth-child(13){text-align:center;width:65px;min-width:65px}.anticipos-data-table th,.anticipos-data-table td{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.anticipos-data-table .anticipo-status-badge{white-space:nowrap;align-items:center;display:inline-flex}.anticipos-data-table .cell-action{text-align:center;padding-left:5px;padding-right:5px}.anticipos-edit-button{justify-content:center;align-items:center;width:38px;min-width:38px;height:38px;display:inline-flex}.anticipos-modal-overlay{z-index:1000;background:#01053c73;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.anticipos-solicitud-modal{background:#fff;border-radius:16px;width:min(900px,100%);max-height:92vh;overflow-y:auto;box-shadow:0 24px 70px #00000038}.anticipos-modal-header{border-bottom:1px solid #e8eaf0;justify-content:space-between;align-items:flex-start;padding:26px 30px 22px;display:flex}.anticipos-modal-kicker{letter-spacing:.08em;color:#7655e8;margin-bottom:6px;font-size:11px;font-weight:700}.anticipos-modal-header h2{color:#01053c;margin:0;font-size:22px}.anticipos-modal-header p{color:#70778a;margin:6px 0 0;font-size:13px}.anticipos-modal-close{color:#73798b;cursor:pointer;background:0 0;border:none;font-size:28px;line-height:1}.anticipos-solicitud-body{padding:26px 30px}.anticipos-form-section{margin-bottom:25px}.anticipos-form-section-title{letter-spacing:.07em;color:#6d4aff;margin-bottom:14px;font-size:11px;font-weight:700}.anticipos-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.anticipos-form-group{flex-direction:column;gap:7px;display:flex}.anticipos-form-group label{color:#4e5568;font-size:12px;font-weight:600}.anticipos-form-group input,.anticipos-form-group select{box-sizing:border-box;color:#30374a;background:#fff;border:1px solid #dfe2ea;border-radius:8px;outline:none;width:100%;height:42px;padding:0 12px;font-size:13px}.anticipos-form-group input:focus,.anticipos-form-group select:focus{border-color:#8b6cff;box-shadow:0 0 0 3px #8b6cff1a}.anticipos-form-group input:disabled{color:#73798a;cursor:not-allowed;background:#f5f6f9}.anticipos-form-help{color:#777d8e;margin-top:9px;font-size:12px}.anticipos-form-error{color:#b42318;background:#fff1f1;border-radius:8px;margin-top:8px;padding:11px 13px;font-size:13px}.anticipos-modal-footer{border-top:1px solid #e8eaf0;justify-content:flex-end;gap:10px;padding:18px 30px;display:flex}.anticipos-secondary-button{color:#555c6e;cursor:pointer;background:#fff;border:1px solid #d9dce5;border-radius:8px;height:42px;padding:0 20px;font-size:12px;font-weight:700}.anticipos-secondary-button:hover{background:#f6f7fa}.anticipos-primary-button:disabled,.anticipos-secondary-button:disabled{opacity:.6;cursor:not-allowed}@media (width<=760px){.anticipos-form-grid{grid-template-columns:1fr}.anticipos-modal-header,.anticipos-solicitud-body,.anticipos-modal-footer{padding-left:20px;padding-right:20px}}.anticipos-manifiesto-button{color:#fff;cursor:pointer;white-space:nowrap;background:#6d4aff;border:none;border-radius:8px;height:42px;padding:0 18px;font-size:12px;font-weight:700}.anticipos-manifiesto-button:hover{background:#5b3ee0}@media (width<=760px){.anticipos-manifiesto-row{flex-direction:column;align-items:stretch}.anticipos-manifiesto-button{width:100%}}.anticipos-manifiesto-row{align-items:flex-end;gap:10px;display:flex}.anticipos-manifiesto-row .anticipos-form-group{flex:1}.anticipos-manifiesto-row .anticipos-primary-button{white-space:nowrap;height:42px}@media (width<=760px){.anticipos-manifiesto-row{flex-direction:column;align-items:stretch}.anticipos-manifiesto-row .anticipos-primary-button{width:100%}}.portal-page{color:#17243b;background:#f2f5f9;min-height:100vh;font-family:Inter,Segoe UI,Arial,Helvetica,sans-serif;font-size:14px;line-height:1.45;display:flex}.portal-page *{box-sizing:border-box}.portal-sidebar{color:#fff;background:#050b40;flex-direction:column;width:210px;min-width:210px;display:flex}.portal-brand{border-bottom:1px solid #ffffff1a;justify-content:center;align-items:center;height:96px;padding:14px 18px;display:flex}.portal-logo{-o-object-fit:contain;object-fit:contain;max-width:100%;max-height:66px;display:block}.portal-menu-label{color:#8e9dc4;letter-spacing:1.25px;margin:24px 14px 10px;font-size:11px;font-weight:700}.portal-navigation{flex-direction:column;gap:5px;padding:0 10px;display:flex}.portal-nav-item{color:#cbd4ed;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:11px;min-height:43px;padding:0 12px;font:600 13px/1.4 inherit;transition:background .2s,color .2s;display:flex}.portal-nav-item:hover,.portal-nav-item.active{color:#fff;background:#18255f}.portal-nav-item.active{box-shadow:inset 3px 0 #6486ff}.portal-nav-icon{text-align:center;flex-shrink:0;width:20px;font-size:18px}.portal-sidebar-bottom{margin-top:auto;padding:14px 10px}.portal-help-card{background:#ffffff0a;border:1px solid #ffffff21;border-radius:8px;align-items:center;gap:9px;margin-bottom:12px;padding:11px 9px;display:flex}.portal-help-copy{flex:1;min-width:0}.portal-whatsapp-link{color:#25d366;background:#25d3661a;border:1px solid #25d36673;border-radius:50%;flex:0 0 34px;place-items:center;width:34px;height:34px;text-decoration:none;transition:background .15s,transform .15s;display:grid}.portal-whatsapp-link:hover{background:#25d36638;transform:translateY(-1px)}.portal-whatsapp-link:focus-visible{outline-offset:3px;outline:2px solid #25d366}.portal-whatsapp-link svg{width:20px;height:20px;display:block}.portal-help-icon{color:#dbe4ff;border:1px solid #9eadd4;border-radius:50%;flex-shrink:0;place-items:center;width:20px;height:20px;font-size:12px;display:grid}.portal-help-card strong,.portal-help-card span:not(.portal-help-icon){display:block}.portal-help-card strong{margin-bottom:3px;font-size:11px}.portal-help-card div span{color:#aebcde;font-size:10px;line-height:1.45}.portal-logout{color:#d1d9ef;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:10px;width:100%;padding:10px 9px;font-size:12px;display:flex}.portal-logout:hover{color:#fff;background:#ffffff14}.portal-logout>span{font-size:18px}.portal-main{flex:1;min-width:0}.portal-header{background:#fff;border-bottom:1px solid #e1e7ef;justify-content:space-between;align-items:center;gap:20px;min-height:78px;padding:14px 26px;display:flex}.portal-header-eyebrow{color:#647798;letter-spacing:1.5px;font-size:10px;font-weight:700;display:block}.portal-header-title h1{color:#14213a;margin:3px 0 2px;font-size:23px;font-weight:750;line-height:1.2}.portal-header-title p{color:#657794;margin:0;font-size:12px}.portal-user{align-items:center;gap:10px;min-width:0;display:flex}.portal-user-avatar{color:#2459dc;background:#e9efff;border-radius:50%;flex-shrink:0;place-items:center;width:36px;height:36px;font-size:13px;font-weight:700;display:grid}.portal-user-data{min-width:0}.portal-user-data strong,.portal-user-data span{text-overflow:ellipsis;white-space:nowrap;max-width:220px;display:block;overflow:hidden}.portal-user-data strong{color:#26344c;font-size:12px}.portal-user-data span{color:#75839a;margin-top:2px;font-size:10px}.portal-content{max-width:1800px;margin:0 auto;padding:22px 26px 18px}.portal-welcome{background:linear-gradient(110deg,#fff 0%,#f8faff 70%,#edf3ff 100%);border:1px solid #dce5f4;border-radius:11px;justify-content:space-between;align-items:center;min-height:136px;padding:24px 26px;display:flex;position:relative;overflow:hidden}.portal-welcome-copy{z-index:1;min-width:0;position:relative}.portal-section-kicker{color:#647798;letter-spacing:1.35px;font-size:10px;font-weight:750;display:block}.portal-welcome h2{color:#15223b;margin:7px 0 6px;font-size:23px;font-weight:750;line-height:1.25}.portal-welcome p{color:#62738f;max-width:650px;margin:0;font-size:12px;line-height:1.55}.portal-welcome-watermark{display:none!important}.portal-welcome-client{color:#3d55c5;margin-top:7px;font-size:12px;font-weight:600}.portal-error{color:#b42318;background:#fff1f2;border:1px solid #fecaca;border-radius:7px;justify-content:space-between;align-items:center;gap:12px;margin:0 0 16px;padding:12px 14px;font-size:13px;display:flex}.portal-error button{color:#a51d2d;cursor:pointer;background:#fff;border:1px solid #f2b8bd;border-radius:6px;padding:7px 10px}.portal-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:16px;display:grid}.portal-metric-card{background:#fff;border:1px solid #e1e7ef;border-radius:9px;align-items:center;gap:12px;min-width:0;min-height:94px;padding:16px 14px;display:flex;box-shadow:0 3px 9px #16274709}.portal-metric-icon{border-radius:9px;flex-shrink:0;place-items:center;width:38px;height:38px;font-size:20px;font-weight:700;display:grid}.portal-icon-blue{color:#3569eb;background:#eaf0ff}.portal-icon-orange{color:#b77916;background:#fff2df}.portal-icon-red{color:#d14a37;background:#fff0ed}.portal-icon-green{color:#218653;background:#e7f8ee}.portal-metric-information{min-width:0}.portal-metric-information span,.portal-metric-information strong,.portal-metric-information small{display:block}.portal-metric-information span{color:#687995;letter-spacing:.55px;font-size:10px;font-weight:750;line-height:1.35}.portal-metric-information strong{color:#15213a;margin:3px 0 2px;font-size:25px;line-height:1.1}.portal-metric-information small{color:#8290a6;font-size:10px;line-height:1.4}.portal-operations{background:#fff;border:1px solid #e0e6ef;border-radius:10px;margin-top:17px;overflow:hidden;box-shadow:0 2px 7px #16274706}.portal-operations-header{justify-content:space-between;align-items:center;gap:18px;padding:19px 20px 14px;display:flex}.portal-operations-header h2{color:#18253e;margin:5px 0 4px;font-size:18px;font-weight:750;line-height:1.3}.portal-operations-header p{color:#72819a;margin:0;font-size:12px}.portal-section-actions{flex-shrink:0;justify-content:flex-end;align-items:center;gap:8px;display:flex}.portal-btn-primary,.portal-btn-secondary{color:#255bd9;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #d6e0f3;border-radius:6px;justify-content:center;align-items:center;min-height:34px;padding:8px 12px;font-family:inherit;font-size:11px;font-weight:700;line-height:1.2;text-decoration:none;transition:background .15s,border-color .15s;display:inline-flex}.portal-btn-primary{color:#fff;background:#3547c5;border-color:#3547c5}.portal-btn-primary:hover{background:#2637ad;border-color:#2637ad}.portal-btn-secondary:hover{background:#f2f6ff;border-color:#b8c9f2}.portal-filters{align-items:center;gap:10px;padding:0 20px 14px;display:flex}.portal-search{background:#fff;border:1px solid #d5deeb;border-radius:6px;align-items:center;gap:8px;width:min(100%,430px);min-height:36px;padding:0 10px;display:flex}.portal-search>span{color:#7d8ba4;font-size:19px}.portal-search input{color:#26344c;background:0 0;border:0;outline:none;width:100%;min-width:0;height:34px;font-family:inherit;font-size:12px}.portal-search input::placeholder{color:#99a5b8}.portal-status-filter{color:#455570;background:#fff;border:1px solid #d5deeb;border-radius:6px;min-width:145px;min-height:36px;padding:0 10px;font-family:inherit;font-size:12px}.portal-table-wrapper{width:100%;overflow-x:auto}.portal-table{border-collapse:collapse;text-align:left;white-space:nowrap;width:100%}.portal-table thead{background:#f8fafc}.portal-table th{color:#63738e;letter-spacing:.4px;border-top:1px solid #e8edf4;border-bottom:1px solid #e4e9f1;padding:11px 13px;font-size:10px;font-weight:750}.portal-table td{color:#33415b;vertical-align:middle;border-bottom:1px solid #edf0f5;padding:13px;font-size:12px}.portal-table tbody tr:hover{background:#f9fbff}.portal-table td strong{color:#1b376f;font-weight:750}.portal-status-badge{border-radius:20px;align-items:center;gap:6px;padding:5px 9px;font-size:10px;font-weight:700;display:inline-flex}.portal-status-badge:before{content:"";background:currentColor;border-radius:50%;flex-shrink:0;width:6px;height:6px}.portal-status-abierta{color:#177448;background:#e4f8ed}.portal-status-alerta{color:#a9510b;background:#fff0db}.portal-status-cerrada{color:#596579;background:#e9edf2}.portal-status-default{color:#385bb2;background:#edf2ff}.portal-table-message{text-align:center;height:82px;color:#7a879b!important}.portal-table-footer{color:#7b899f;justify-content:space-between;align-items:center;gap:14px;padding:12px 16px;font-size:10px;display:flex}.portal-footer{color:#8a96a9;justify-content:space-between;gap:18px;padding:17px 1px 4px;font-size:10px;display:flex}@media (width>=1500px){.portal-content{padding-left:30px;padding-right:30px}.portal-sidebar{width:220px;min-width:220px}}@media (width<=1100px){.portal-sidebar{width:190px;min-width:190px}.portal-content{padding:20px 18px}.portal-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-table th,.portal-table td{padding-left:10px;padding-right:10px}}@media (width<=760px){.portal-page{flex-direction:column}.portal-sidebar{width:100%;min-width:0}.portal-brand{height:70px}.portal-logo{max-height:48px}.portal-menu-label,.portal-sidebar-bottom{display:none}.portal-navigation{flex-direction:row;padding:7px 10px 10px}.portal-nav-item{flex:1;justify-content:center;min-height:40px;padding:0 8px}.portal-header{align-items:center;min-height:70px;padding:13px 15px}.portal-header-title h1{font-size:20px}.portal-user{gap:7px}.portal-user-data{display:none}.portal-content{padding:14px 12px}.portal-welcome{min-height:120px;padding:20px 17px}.portal-welcome h2{font-size:20px}.portal-welcome p{font-size:12px}.portal-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}.portal-metric-card{gap:8px;min-height:82px;padding:11px 9px}.portal-metric-icon{width:31px;height:31px;font-size:17px}.portal-metric-information span{font-size:9px}.portal-metric-information strong{font-size:22px}.portal-metric-information small{font-size:9px}.portal-operations-header{flex-direction:column;align-items:flex-start;padding:16px 13px 12px}.portal-section-actions{flex-wrap:wrap;justify-content:flex-start;width:100%}.portal-filters{flex-direction:column;align-items:stretch;padding:0 13px 13px}.portal-search,.portal-status-filter{width:100%;min-height:38px}.portal-table th,.portal-table td{padding:11px 10px}.portal-table-footer{flex-direction:column;align-items:flex-start}}@media (width<=420px){.portal-metrics{grid-template-columns:1fr}.portal-header{gap:10px}.portal-header-title h1,.portal-welcome h2{font-size:18px}.portal-footer{flex-direction:column;gap:5px}}.client-readonly-section{background:#f8fafc}.client-readonly-section .readonly-field input{color:#64748b;cursor:default;background:#eef2f7}.section-actions{border-top:1px solid #e5e7eb;justify-content:flex-end;margin:20px 0 8px;padding-top:18px;display:flex}.detalle-footer .secondary-button{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:7px;padding:10px 16px;font-weight:700}.detalle-footer .secondary-button:disabled{opacity:.6;cursor:not-allowed}
