/* 3.5.3 R2 · Materiales, composición y densidad de la referencia Gemini.
   Estilos acotados: no modifica tiles, canvases, permisos ni valores de negocio. */
:root{--navy:#122337;--blue:#087f89;--teal:#087f89;--muted:#647380;--line:#d6dee5;--canvas:#f0f3f7;--surface:#fff;--sidebar-width:216px;--header-height:64px;--v-radius:14px;--v-shadow:0 2px 3px #172a4010,0 9px 18px -9px #172a4048,inset 0 1px 0 #fff; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI Variable','Segoe UI',sans-serif;background:var(--canvas);color:#202124}
body{background:radial-gradient(ellipse at 75% 0,#e6eff450,transparent 55%),var(--canvas);color:#202124}
[hidden]{display:none!important}h1,h2,h3{color:#202124}p{color:#45474a}h2{font-weight:680;letter-spacing:-.6px}
button,.button{border-radius:8px;min-height:39px;font-weight:600;transition:background-color .16s,box-shadow .16s,transform .16s,border-color .16s;box-shadow:inset 0 1px 0 #ffffff3b,0 1px 2px #102e3d30;}
button:not(.secondary):not(.icon):not(.ghost):not(.dash-card):not(.fp-calendar-event32):not([role=tab]),a.button{--v-primary:#087f89}
button.secondary:not(.dash-card):not(.fp-calendar-event32):not([role=tab]),a.button.secondary{background:linear-gradient(#f7fafc,#e2ebf0);border-color:#aebec9;color:#202124;box-shadow:inset 0 1px 0 #fff,0 1px 2px #1931432b}
button.secondary:not(.dash-card):not(.fp-calendar-event32):not([role=tab]):hover,a.button.secondary:hover{background:linear-gradient(#fff,#dae8ed);border-color:#7f9fae;box-shadow:0 3px 7px #173d4a1a,inset 0 1px #fff}
button:active:not(:disabled){transform:translateY(1px)}button.danger,button.secondary.danger{background:#fff3f3!important;color:#b12840!important;border-color:#e9b6bf!important}button:disabled,.button:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}
button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #298fba;outline-offset:3px}
input,select,textarea{border:1px solid #c5cfd8;border-radius:8px;min-height:40px;background:#fff;color:#202124;box-shadow:inset 0 1px 3px #20374a08;padding:9px 11px;font-weight:400}
input:focus,select:focus,textarea:focus{border-color:#298e98;box-shadow:0 0 0 3px #168e961b;outline:0}input::placeholder,textarea::placeholder{color:#45474a}input[type=checkbox],input[type=radio]{accent-color:#087f89;min-height:17px}
label{color:#202124;font-size:12px;font-weight:550}input[type=file]::file-selector-button{background:#edf4f6;color:#202124;border-radius:6px;padding:7px 12px;border:1px solid #bdced8}
form button[type=submit],.dialogfoot button:not(.secondary):not(.icon),#v-new353,.v-new-case353{background:linear-gradient(#1196a0,#08737f);border-color:#056571;box-shadow:inset 0 1px 0 #ffffff38,0 2px 3px #194b5b26;color:white}form button[type=submit]:hover,.dialogfoot button:not(.secondary):not(.icon):hover,#v-new353:hover,.v-new-case353:hover{background:linear-gradient(#18a2aa,#087783)}
body.signed-in31>header{margin:0 0 0 var(--sidebar-width);height:64px;min-height:64px;position:sticky;top:0;padding:0 24px;border:0;border-bottom:1px solid #ced7df;border-radius:0;background:#ffffffd9;backdrop-filter:blur(20px) saturate(1.25);box-shadow:0 1px 0 #ffffffc0;gap:16px;z-index:8}
body.signed-in31>header>.brand{display:none}#header-location{font-size:11px;flex:1;min-width:0;gap:8px}#header-location>span{color:#45474a}#header-location strong{color:#202124;white-space:nowrap}
.topright{gap:10px;margin-left:0}.topright .tag{display:block;font-size:9px;color:#45474a;background:#f0f4f6;border-color:#dbe3e9;border-radius:5px;white-space:nowrap}
#v-search353{display:flex;align-items:center;gap:9px;width:min(360px,34%);margin:0;background:#edf2f580;border-radius:8px;padding:0 11px;border:1px solid #dbe3e9}#v-search353:focus-within{background:#fff;border-color:#71aeb8;box-shadow:0 0 0 3px #168e9610}#v-search353>svg:not(.v-spark353){width:17px;height:17px;flex:none;color:#45474a}#v-search353 input{background:transparent;border:0;box-shadow:none;min-height:35px;padding:7px 0;font-size:11px;min-width:0}
#v-new353,.v-new-case353{display:inline-flex;gap:7px;align-items:center;padding:10px 15px;white-space:nowrap;font-size:12px}#v-new353 svg{width:16px;height:16px}#v-header-user353{font-size:10px;color:#202124;white-space:nowrap}
.shell{display:block;min-height:calc(100dvh - 64px)}
.app-sidebar{position:fixed;inset:0 auto 0 0;height:100dvh;width:var(--sidebar-width);border:0;border-right:1px solid #ffffff30;border-radius:0;background:radial-gradient(ellipse at 96% 24%,#7498a938,transparent 37%),radial-gradient(ellipse at 5% 74%,#265f6433,transparent 60%),linear-gradient(135deg,#122333ee,#0c1b2bee);backdrop-filter:blur(24px);padding:0 12px 12px;display:flex;flex-direction:column;overflow:hidden;z-index:9;box-shadow:3px 0 14px #15253416,inset -1px 0 #9bb4c420}
.v-brand353{display:flex;align-items:center;gap:11px;margin:0 -12px;padding:12px 16px;height:64px;border-bottom:1px solid #cadde52b;color:#fff;flex:none;box-sizing:border-box}.v-brand353 img{width:31px;height:39px;flex:none;filter:drop-shadow(0 2px 3px #0004)}.v-brand353 strong{display:block;font-size:20px;font-weight:670;letter-spacing:-.5px}.v-brand353 small{display:block;font-size:9px;color:#b4c4d0;margin-top:2px}#v-close353{display:none}.sidebar-unit31{display:none}
.app-sidebar #nav{overflow-y:auto;overflow-x:hidden;min-height:0;flex:1;scrollbar-width:thin;scrollbar-color:#a3bec44d transparent;padding:13px 0 4px;isolation:isolate}.nav-marker31{display:none}.nav-group{border:0;border-bottom:1px solid #aec4d314;padding:0 0 10px;margin:0 0 8px}.nav-group:last-child{border:0}.nav-group>p{color:#9db5c4;letter-spacing:1.2px;font-size:8px;margin:13px 9px 9px;font-weight:600}.nav-group button{border:1px solid transparent;border-radius:7px;min-height:37px;padding:9px 10px;margin:3px 0;gap:11px;color:#e1e9ef;background:transparent;font-size:11px;font-weight:450;box-shadow:none}.nav-group svg{color:#91aebf;width:17px;height:17px}.nav-group button:hover{background:#91baca16;color:#fff;border-color:#a9c7d112}
.has-marker31 .nav-group button.active,.nav-group button.active{background:linear-gradient(100deg,#32768270,#6988964a);color:#fff;box-shadow:inset 0 1px 0 #c0e3e514,0 2px 5px #06182722;font-weight:550;padding-left:10px;border:1px solid #aacdd51c}.nav-group button.active svg{color:#9cddd9}.nav-group button.active::before{display:block;left:0;top:9px;bottom:9px;width:3px;height:auto;border-radius:4px;background:#5ed1cc}
.sidefoot{margin-top:8px;padding:10px 3px 0;border-color:#b3c8d01a;color:#b3c8d4;font-size:9px;flex:none}.sidefoot small{font-size:9px;color:#a7becc}.sidefoot #connection{display:block}.sidefoot #connection::before{background:#69ceb1}.sidefoot .v-profile353 span::before{display:none}
.v-profile353{display:grid;grid-template-columns:32px minmax(0,1fr);gap:8px;align-items:center;margin-top:10px;padding:11px 9px;background:linear-gradient(130deg,#60839338,#b2d9e41e);border:1px solid #c2e8f014;border-radius:9px;box-shadow:inset 0 1px #daf3f40b,0 5px 12px #091b2320}.v-avatar353{width:32px;height:32px;background:linear-gradient(145deg,#7992a7,#3a5a71);border:1px solid #bdd5df44;border-radius:50%;display:grid;place-items:center;color:white;font-size:11px;font-weight:600}#who{color:#e5edf2;max-width:none;white-space:normal;font-size:10px;line-height:1.5;overflow-wrap:anywhere}.v-profile353 #logout{grid-column:1/-1;text-align:left;background:transparent;color:#c4d5e1;min-height:28px;padding:4px 0 0;border:0;border-top:1px solid #cadce51a;font-size:10px;display:flex;gap:7px;align-items:center;box-shadow:none}.v-profile353 #logout:hover{color:white}.v-profile353 #logout svg{width:14px;height:14px}
.shell>main{width:auto;max-width:none;margin:0 0 0 var(--sidebar-width);padding:22px 26px 36px;min-width:0}#page{min-width:0}.pagehead{margin-bottom:22px;gap:18px}.pagehead h2{font-size:27px;font-weight:680;letter-spacing:-.6px;color:#202124}.pagehead p{font-size:12px;color:#45474a;line-height:1.65}.pagehead .actions{gap:9px}
.contextbar{background:#ffffffdf;border:1px solid #d6dee5;border-radius:12px;padding:14px 18px;box-shadow:var(--v-shadow)}.context-title>span{color:#45474a;letter-spacing:.8px}.contextbar summary{color:#202124}
.panel,.tablewrap,.stat,.case-preview,.dash-panel,.brigade-card30{border:1px solid #d6dee5;border-radius:var(--v-radius);box-shadow:var(--v-shadow);background:#ffffffed}.panel{padding:23px}.tablewrap{overflow:auto}table{font-size:12px}th{padding:14px 16px;background:linear-gradient(#f9fbfc,#f0f4f7);text-transform:none;letter-spacing:0;font-size:10px;font-weight:600;color:#45474a;white-space:normal}td{padding:15px 16px;border-bottom:1px solid #e2e8ed;color:#202124}td strong{color:#202124;font-weight:650}tbody tr:hover{background:#f3f9fa}tr.is-selected{background:#eaf5f5}.badge,.stage-badge20,.fp-state352,.mail-state33{border-radius:6px;padding:5px 8px;font-size:10px}.badge{background:#e1efec;color:#202124}.badge.warn{background:#fff1d4;color:#815400}.smallbutton{border-radius:7px;min-height:31px;padding:7px 10px}.row-more>summary{border-radius:7px;background:#edf2f5;color:#45474a}.notice{border-radius:10px}.selection-empty,.empty,.ui-empty{padding:34px 20px}
/* Panel: una sola búsqueda y acciones existentes; gráficos con altas reales. */
.v-home353>.pagehead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0;padding:0}.v-command353{display:flex;gap:18px;align-items:center;justify-content:space-between;border:1px solid #d6dee5;border-radius:13px;padding:16px 17px;background:#ffffffeb;box-shadow:var(--v-shadow);margin-bottom:17px}.v-command353 .search-label{margin:0;display:block;max-width:760px;flex:1;font-size:0}.v-command353 .search-input{display:flex;align-items:center;gap:10px;padding:0 11px;border:1px solid #c5cfd8;border-radius:8px;box-shadow:inset 0 1px 3px #23394b0b;background:#fff}.v-command353 .search-input>svg:not(.v-spark353){position:static;width:17px;height:17px;flex:none;color:#45474a}.v-command353 input{margin:0;background:transparent;border:0;box-shadow:none;padding:10px 0;min-height:39px;font-size:12px;width:100%;min-width:0}.v-command353 .search-input:focus-within{outline:3px solid #168e961b;border-color:#298e98}.v-command353 input:focus{outline:0;box-shadow:none}
.home-totals{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:22px}.home-totals>div,.home-totals>button{display:flex;flex-direction:row;align-items:center;gap:11px;border:1px solid #d3dce4;border-radius:13px;padding:17px 14px;min-height:110px;box-shadow:var(--v-shadow);background:linear-gradient(135deg,#fff,#fbfcff);text-align:left;position:relative;overflow:hidden}.home-totals>button:hover{background:#fff;border-color:#90b7c0;box-shadow:0 4px 5px #172a400c,0 12px 22px -8px #172a4050;transform:translateY(-2px)}.home-totals>div>svg,.home-totals>button>svg:not(.v-spark353){display:block;width:38px;height:40px;padding:10px;border-radius:10px;border:1px solid #bd7d781a;background:linear-gradient(130deg,#f9b3bc,#f9d3aa);box-shadow:inset 0 1px 1px #ffffff70,0 2px 3px #94546416;color:#614953;flex:none}.home-totals>div:nth-child(2)>svg:not(.v-spark353){background:linear-gradient(130deg,#86e2cc,#a1f1de);color:#202124;border-color:#6bcab866}.home-totals>div:nth-child(3)>svg:not(.v-spark353){background:linear-gradient(130deg,#b2c6f5,#b6b2ee);color:#45474a;border-color:#99a9dc66}.home-totals #home-field30>svg:not(.v-spark353){background:linear-gradient(130deg,#e9f0f4,#dce6ed);color:#202124;border-color:#c4d3db55}.home-totals #home-pericias32>svg:not(.v-spark353){background:linear-gradient(130deg,#daf2ef,#e3eef2);color:#202124;border-color:#c4dedc55}.home-totals span{display:flex;flex-direction:column;gap:0;position:relative;z-index:1}.home-totals strong{font-size:31px;line-height:1.05;letter-spacing:-.9px;color:#202124;font-weight:710;font-variant-numeric:tabular-nums}.home-totals small{font-size:10px;color:#202124;line-height:1.4;margin-top:5px;font-weight:450}.home-totals small+small{font-size:9px;line-height:1.4;margin-top:5px}.home-totals .home-field30[data-urgency=warning]{border-color:#dfb756;background:linear-gradient(#fffaf0,#fff0c9)}.home-totals .home-field30[data-urgency=urgent]{border-color:#e29daa;background:linear-gradient(#fff6f7,#fce0e4)}.home-totals .home-field30[data-urgency=urgent] strong{color:#ad2040}.home-totals .home-field30[data-urgency=urgent]>svg:not(.v-spark353){background:#f8bac6;color:#a8223e}.home-field30[aria-pressed=true]{outline:2px solid #168e96;outline-offset:1px}.home-totals #home-pericias32[data-urgency=normal] strong{color:#202124}
.home-totals>div>svg.v-spark353{display:block;padding:0;border:0;border-radius:0;background:none;stroke:none;box-shadow:none;position:absolute;bottom:17px;right:9px;width:36%;height:59px;overflow:visible;filter:drop-shadow(0 3px 5px #168e9620)}.v-spark353 title{display:none}.v-spark-empty353{position:absolute;right:10px;top:12px;font-size:8px;color:#45474a}
.home-search{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:13px 16px;background:#ffffffef;border:1px solid #d6dee5;border-radius:13px;box-shadow:var(--v-shadow);margin-bottom:17px}.home-search label{font-size:10px;min-width:135px;max-width:180px}.home-search select{font-size:12px;min-height:36px;padding:8px}.home-search>button{align-self:flex-end;min-height:36px;font-size:11px}.v-list-title353{margin-right:auto;min-width:0}.v-list-title353 h2{font-size:16px;margin:0 0 4px;letter-spacing:-.3px}.v-list-title353 p{font-size:10px;margin:0;color:#45474a}.case-workspace{gap:18px;grid-template-columns:minmax(0,1.85fr) minmax(300px,1fr);align-items:start}.v-home-rail353{min-width:0;display:grid;gap:17px}.case-preview{position:static;top:auto;padding:20px;min-width:0}.case-preview h3{font-size:18px;line-height:1.4;letter-spacing:-.3px}.case-preview-empty{padding:3px 2px;display:grid;grid-template-columns:36px 1fr;align-items:center;gap:2px 12px;text-align:left}.case-preview-empty>svg{grid-row:1/3}.case-preview-empty h3,.case-preview-empty p{grid-column:2}.case-preview-empty>svg:not(.v-spark353){width:36px;height:36px;border-radius:10px;background:#edf5f6;color:#45474a;padding:8px;flex:none}.case-preview-empty h3{font-size:12px;margin:0}.case-preview-empty p{font-size:10px;line-height:1.6;color:#45474a;margin:5px 0}#case-table th,#case-table td{padding:14px 12px}#case-table td{font-size:11px}#case-table .badge{background:linear-gradient(#85949f,#617480);color:#fff;border:1px solid #5b6d7944;box-shadow:inset 0 1px #fff3}#case-table .badge.warn{background:linear-gradient(#11978b,#057c73);color:#fff;border-color:#05645c33}.preview-actions{gap:8px}.preview-actions button{min-height:35px;border-radius:8px;font-size:11px}.fields dt{color:#45474a}.fields dd{color:#202124}.pagination{padding:13px 3px;font-size:10px}
/* Mapa de inicio: instancia y ciclo de vida propios, aislados de Estadística. */
.v-home-map353{background:#fff;border:1px solid #d1dce4;border-radius:13px;box-shadow:var(--v-shadow);overflow:hidden;min-width:0}.v-map-heading353{padding:14px 15px 11px;display:flex;gap:10px;align-items:center;justify-content:space-between}.v-map-heading353 h2{margin:0;font-size:15px;letter-spacing:-.3px}.v-map-heading353 p{font-size:9px;margin:4px 0 0;color:#45474a}.v-map-heading353 button{min-height:29px;padding:6px 9px;font-size:10px}.v-map-layers353{display:flex;gap:3px;margin:0 14px 12px;width:fit-content;padding:3px;background:#eaf0f3;border:1px solid #dce4e9;border-radius:8px}.v-map-layers353 button{border:0;background:transparent;color:#45474a;min-height:28px;padding:5px 11px;border-radius:5px;font-size:10px;box-shadow:none}.v-map-layers353 button[aria-pressed=true]{background:linear-gradient(#fff,#f7fafc);color:#202124;box-shadow:0 1px 3px #1a354328,inset 0 1px #fff}.v-home-map-canvas353{height:335px;isolation:isolate;z-index:0;background:#e1eff2}.v-home-map-canvas353 .leaflet-control-zoom{border:1px solid #a4bac7;border-radius:8px;overflow:hidden;box-shadow:0 3px 9px #1a354326}.v-home-map-canvas353 .leaflet-control-attribution{font-size:8px;background:#ffffffd9}.v-map-footer353{padding:11px 14px;display:flex;flex-wrap:wrap;align-items:center;gap:7px 12px;background:linear-gradient(#fff,#f8fafb);font-size:10px;color:#45474a}.v-map-footer353 [role=status]{width:100%;font-size:9px;color:#45474a;line-height:1.6}.v-map-footer353 button{font-size:10px;min-height:29px;padding:6px 9px}.v-map-pin353{background:transparent;border:0}.v-map-pin353>span{display:grid;place-items:center;width:31px;height:31px;border-radius:50% 50% 50% 4px;transform:rotate(-45deg);background:linear-gradient(135deg,#19394c,#102635);border:2px solid white;box-shadow:0 3px 7px #0c25364d}.v-map-pin353 b{transform:rotate(45deg);font-size:11px;font-weight:650;color:#71ddd4}.v-map-pin353.delivery b{color:#e1bbff}.v-map-pin353.raid b{color:#ffcfa6}.v-map-popup353{max-height:220px;overflow:auto;font-family:inherit}.v-map-popup353 p{font-size:11px;margin:6px 0;color:#45474a}.v-map-popup353 button{display:block;font-size:11px;min-height:31px;margin:6px 0 11px}.v-map-popup353 strong{font-size:12px}
/* Pestañas, editores y estados compartidos por todos los módulos. */
.tabs,.editor-tabs,.case-tabs,.parts-switch{gap:7px}.editor-tabs button,.tabs button,.case-tabs button{border-radius:11px;background:#f1f5f9;color:#45474a;border:1px solid transparent}
.editor-tabs button.active,.tabs button.active,.case-tabs button.active,.tabs button[aria-selected=true]{background:#edf8f8;border-color:#b4d9dc;color:#202124}
.parts-switch>button{border-radius:16px;padding:17px 20px}.parts-switch>button[aria-selected=true]{background:#edf8f8;color:#202124;border-color:#85bdc3;box-shadow:inset 0 -2px #087f89}.parts-switch small{color:#45474a}
.rowcard,.text-group,.text-preview,.text-section{border-radius:16px;border-color:#e2e8f0}.rowcard{padding:20px;background:#f8fafc}.rowcard:not([open]){background:#fff}.rowcard summary{color:#202124;font-size:13px}.text-preview{background:#f8fafc}.text-preview pre{border-radius:11px}.live-totals{border-radius:12px;background:#edf8f8;color:#202124}
dialog{border-radius:16px;border-color:#e2e8f0;box-shadow:0 28px 90px #0f172a35}dialog::backdrop{background:#0f172a66;backdrop-filter:blur(4px)}.dialoghead,#editor .dialoghead,#text-editor .dialoghead{background:#fff;padding:23px 26px;border-bottom:1px solid #e2e8f0}.dialoghead h2,#editor .dialoghead h2{font-size:23px;color:#202124;font-weight:700}.dialoghead .eyebrow{color:#45474a}.dialoghead .icon{background:#f1f5f9;color:#45474a;border-radius:12px}.dialogfoot{background:#fff;border-top-color:#e2e8f0;padding-top:16px;gap:10px}.dialogfoot button{min-height:42px}.fp-totals32>div{border-radius:14px;border-color:#e2e8f0;background:#fff;padding:22px}.fp-totals32 strong{color:#202124;font-size:32px}.fp-calendar32{border-radius:13px;overflow:hidden}.fp-add-actions352 .fp-choice352{border-radius:14px;box-shadow:none}.brigade-card30{border-top:3px solid #168e96}.brigade-numbers30 strong{color:#202124}.scan-drop30{border-radius:13px;background:#f8fafc;border-color:#cbd5e1}
/* Estadística conserva gráficos, interacciones y colores por tipo de resultado. */
.dash-hero{border-radius:16px;background:linear-gradient(115deg,#0f172a,#1e3a8a);padding:28px 30px}.dash-hero h1{font-size:29px;font-weight:700}.dash-hero-actions button{border-radius:11px;min-height:39px}.dash-filter{border-radius:14px;padding:18px;margin:20px 0;gap:12px}.dash-filter #dashboard-apply{background:#087f89;border-color:#087f89;border-radius:11px}.dash-filter input,.dash-filter select{border-radius:10px;min-height:39px}.dash-filter label{font-size:11px;color:#45474a}.dash-tabbar>div{background:#e2e8f080;padding:4px;border-radius:12px;border:0}.dash-tabbar button{border:0;border-radius:9px;padding:9px 16px;color:#45474a}.dash-tabbar button[aria-selected=true]{background:white;box-shadow:0 2px 6px #0f172a08;color:#202124}.dash-cards{gap:14px;margin:0 0 20px;grid-template-columns:repeat(4,minmax(0,1fr))}.dash-card{border-radius:14px;padding:19px;min-height:165px;border-top:2px solid var(--accent)}.dash-card strong{font-size:35px;margin:14px 0 6px}.dash-card-label{font-size:12px;line-height:1.4;min-height:25px;padding:0 33px 0 0}.dash-card-icon{left:auto;right:16px;top:16px;border-radius:12px;width:35px;height:35px;padding:8px}.dash-card-detail,.dash-card-link{font-size:10px}.dash-card-link{margin-top:10px}.dash-panel{padding:22px;border-radius:16px}.dash-panel h3{font-size:16px;color:#202124}.dash-panel-head p{font-size:11px;color:#45474a}.dashboard .dash-overview20,.dashboard .dash-lower20{gap:20px;margin:20px 0}.map-overview20 #dash-map-panel{padding:22px;border-radius:16px}.dash-highlights{border-radius:14px;padding:14px}.classification-card{border-radius:14px;padding:20px}.dash-secondary,.dash-item-card{border-radius:13px}.map-layers30 button{border-radius:10px}.map-layers30 button[aria-pressed=true]{background:#087f89;border-color:#087f89}.dashboard #dash-map-chart{border-radius:14px}.map-overview20 #dash-map-chart{min-height:280px}.dash-chart{height:315px}
/* Correspondencia: se conservan vistas, arrastre del separador y flujo de revisión. */
.m-page340{--mail-teal:#087f89;--mail-navy:#0f172a;--mail-line:#e2e8f0}.m-header340{margin-bottom:23px}.m-header340 h2{font-size:28px;font-weight:700}.m-header340 p{color:#45474a}.m-searchbar340{margin-bottom:20px;gap:10px}.m-searchbar340 form{border-radius:15px;background:#fff;padding:6px 10px 6px 16px}.m-shell340{border-radius:16px;border-color:#e2e8f0;grid-template-columns:194px minmax(0,1fr);box-shadow:var(--v-shadow)}.m-folder-column340{background:#f8fafc;padding:15px 10px;border-color:#e2e8f0}.m-folders340{gap:5px}.m-folders340 button{border-radius:12px;color:#45474a;font-size:11px;min-height:43px;padding:10px;gap:9px}.m-folders340 button:hover{background:#eef2f7}.m-folders340 button.selected{background:#d9efef;color:#202124}.m-folders340 button b{background:#e2e8f0;color:#45474a}.m-folders340 button.selected b{background:#b4d9dc;color:#202124}.m-heading340{padding:17px 20px}.m-heading340 h3{color:#202124;font-size:17px}.m-bulk340{background:#fff;padding:10px 14px;border-color:#e2e8f0;gap:6px}.m-bulk340>button{border-radius:9px}.m-label-heading340{color:#45474a}.m-row340{padding:16px 12px;border-bottom-color:#f1f5f9;gap:6px;background:#f8fafc}.m-row340.is-unread{background:#fff}.m-row340:hover{background:#edf8f8}.m-row340.selected{background:#edf8f8;border-left-color:#087f89}.m-row-sender340{font-size:12px;color:#45474a}.m-row340 .m-message340 strong{font-size:13px;line-height:1.55;color:#202124}.m-row340.is-unread strong,.m-row340.is-unread .m-row-sender340{color:#202124}.m-message340 time{font-size:10px;color:#45474a}.m-snippet340{color:#45474a;font-size:11px;line-height:1.7}.m-row-meta340{gap:6px;margin-top:3px}.m-status340{border-radius:999px;padding:5px 8px}.m-row-meta340 .m-status340{padding:4px 7px}.m-tag340{border-radius:6px;padding:4px 7px}.m-workspace340 .mail-divider331{background:#f1f5f9;border-color:#e2e8f0}.m-workspace340 .mail-divider331:hover,.m-workspace340 .mail-divider331:focus-visible{background:#d9efef}.m-workspace340 .mail-reader-head33{padding:24px}.m-workspace340 .mail-reader-head33 h2{font-weight:700;font-size:23px;color:#202124}.m-workspace340 .mail-text33{padding:24px;color:#202124}.m-workspace340 .mail-empty33{min-height:350px}.m-workspace340 .mail-empty33>svg:not(.v-spark353){color:#45474a;background:#edf8f8;width:64px;height:64px;padding:17px;border-radius:14px}.m-workspace340 .mail-empty33 p{color:#45474a}.mail-file33,.m-workspace340 .mail-reply33{border-radius:14px}.m-compose340{padding:24px}.m-compose340 h2{color:#202124}.m-recipient340{border-radius:14px;background:#edf8f8;border-color:#d9efef}.m-editor-toolbar340{border-radius:12px 12px 0 0;background:#f8fafc}.m-compose340 #m-rich-editor340{border-radius:0 0 12px 12px}.m-dropzone340{border-radius:14px;background:#f8fafc}.m-compose-footer340{margin:20px -24px -24px;padding:17px 24px}.m-quick340>button{border-radius:999px}
/* Acceso y estados globales. No se alteran autenticación ni notificaciones. */
body:not(.signed-in31){background:radial-gradient(ellipse at 15% 20%,#d9efef80,transparent 55%),#f1f5f9}body:not(.signed-in31)>header{margin:0;padding:0 30px}.access{border-radius:28px;border:0;box-shadow:0 25px 80px #0f172a12}.access .intro{background:linear-gradient(140deg,#0f172a,#1e293b);border-radius:0}.access .panel{border-radius:0}.access button[type=submit]{background:#087f89;border-color:#087f89;border-radius:12px}.access button[type=submit]:hover{background:#076773}.access h2{color:#202124}.login-input31 input{background:#f8fafc}.v-backdrop353{display:none}
body.dashboard-present .shell>main{margin:0;padding:24px;max-width:none}body.dashboard-present .v-backdrop353{display:none!important}

/* Adaptación fluida de todos los módulos y navegación por teclado. */
@media(min-width:1700px){:root{--sidebar-width:232px}.shell>main{padding:24px 30px 40px}.home-totals>div,.home-totals>button{min-height:118px;padding:20px}.home-totals strong{font-size:35px}.home-totals small{font-size:11px}.home-totals small+small{font-size:10px}.v-home-map-canvas353{height:385px}}
@media(max-width:1440px){:root{--sidebar-width:200px}.shell>main{padding:19px 22px 32px}.home-totals{gap:11px}.home-totals>div,.home-totals>button{gap:8px;padding:15px 11px;min-height:105px}.home-totals>div>svg,.home-totals>button>svg:not(.v-spark353){width:33px;height:36px;padding:8px}.home-totals strong{font-size:29px}.home-totals small{font-size:9px}.home-totals small+small{font-size:8px}.home-totals>div>svg.v-spark353{width:32%;right:7px;height:50px}.m-shell340{grid-template-columns:168px minmax(0,1fr)}.m-folders340 button{font-size:10px;padding:9px 7px;gap:6px}.dash-card{padding:16px}.dash-card-label{font-size:11px}.topright .tag{display:none}}
@media(max-width:1180px){#v-header-user353{display:none}.case-workspace{grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr)}.home-totals{grid-template-columns:repeat(3,minmax(0,1fr))}.home-totals>button{min-height:89px}.home-totals small{font-size:10px}.home-totals small+small{font-size:9px}.home-totals>div>svg.v-spark353{width:37%}.dash-overview20,.dash-lower20{grid-template-columns:1fr}.classification-cards{grid-template-columns:repeat(2,minmax(0,1fr))}#case-table th,#case-table td{padding:12px 9px}#case-table .smallbutton{padding:7px;font-size:10px}}
@media(max-width:980px){.case-workspace{grid-template-columns:1fr}.v-home-rail353{grid-template-columns:1fr 1fr;align-items:start}.v-home-map-canvas353{height:300px}.m-shell340,.m-shell340.folders-collapsed{grid-template-columns:1fr}.m-folder-column340{padding:12px}.m-folders340 button{font-size:11px;min-height:36px;padding:8px 10px}.m-heading340{padding:14px}.m-header340{flex-wrap:wrap}.m-header-actions340{max-width:none}#v-search353{width:42%}.dash-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.dash-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-filter label:nth-child(3){grid-column:1/-1}}
@media(max-width:820px){:root{--sidebar-width:264px;--header-height:60px}body.signed-in31{--header-height:60px}body.signed-in31>header{margin:0;padding:0 15px;top:0;border-radius:0;height:60px;min-height:60px;gap:11px;display:flex;flex-wrap:nowrap;grid-template:none;align-items:center}body.signed-in31>header>.brand{display:flex;background:none;width:auto;min-width:0;padding:0;gap:8px;flex:1}.brand-emblem31{width:27px;height:33px}.brand strong{color:#202124;font-size:19px}.brand small{display:none}body.signed-in31>header .topright{width:auto;min-width:0;flex:none;gap:6px}body.signed-in31>header #menu-toggle20{order:-1;flex:none;display:grid;place-items:center;width:33px;height:34px;min-height:34px;padding:5px;background:#ecf2f5;border-radius:7px;color:#202124;font-size:20px;box-shadow:inset 0 1px white,0 1px 2px #23405220}#header-location,#v-search353,#v-header-user353{display:none!important}.shell>main{margin:0;padding:18px 15px 28px}.app-sidebar,body.signed-in31 .app-sidebar{display:none;inset:0 auto 0 0;top:0;height:100dvh;width:264px;z-index:31;padding:0 13px 13px;border-radius:0 16px 16px 0}body.signed-in31.nav-open .app-sidebar{display:flex}.v-brand353{padding-right:40px}.v-brand353 strong{font-size:20px}#v-close353{display:grid;place-items:center;position:absolute;right:13px;top:17px;min-width:30px;min-height:30px;width:30px;height:30px;padding:3px;border:1px solid #bfd9e526;background:#4466753b;border-radius:8px;color:#dce9ef;font-size:22px;box-shadow:none}.v-backdrop353{position:fixed;inset:0;z-index:30;background:#142a3b6b;border:0;border-radius:0;width:100%;height:100%;backdrop-filter:blur(5px);cursor:default}.nav-open .v-backdrop353{display:block}.pagehead h2,.m-header340 h2{font-size:25px}.home-totals{gap:12px}.home-totals small{font-size:10px}.home-totals small+small{font-size:9px}.case-preview .fields{grid-template-columns:1fr}.dash-hero{padding:24px}.dashboard-present .shell>main{margin:0;padding:18px}.panel{padding:21px}.nav-group button{min-height:42px;font-size:12px}.nav-group>p{font-size:9px}.sidefoot{font-size:10px}#who{font-size:11px}.v-profile353 #logout{min-height:35px;font-size:11px}.skip31{left:15px}.v-command353{gap:10px;padding:13px}.v-command353 .search-label{max-width:none}.v-command353 input{font-size:11px}.v-command353 #v-new353,.v-new-case353{font-size:11px;padding:10px 12px}.home-totals>div,.home-totals>button{min-height:102px}}
@media(max-width:540px){.pagehead{flex-wrap:wrap;gap:12px;margin-bottom:20px}.pagehead p{font-size:12px}.home-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:17px}.home-totals>div,.home-totals>button{padding:15px 12px;min-height:108px;gap:9px}.home-totals strong{font-size:29px}.home-totals small{font-size:9px}.home-totals small+small{font-size:9px}.home-totals>button:last-child{grid-column:1/-1;min-height:88px}.home-totals>div>svg.v-spark353{width:32%;right:6px;height:40px;bottom:15px;opacity:.85}.home-search{padding:13px;gap:10px;flex-wrap:wrap}.home-search .v-list-title353{flex-basis:100%}.home-search label{flex:1;min-width:0;max-width:none}.home-search>button{min-height:39px}.home-search select{min-height:39px}.case-workspace{gap:15px}.v-home-rail353{grid-template-columns:1fr}#case-table th,#case-table td{padding:12px 9px}.case-preview{padding:18px}.parts-switch>button{padding:13px;font-size:12px}.parts-switch small{font-size:10px}.panel{padding:18px}.contextbar{padding:13px}.contextrow{gap:8px}.contextrow button{font-size:11px;padding:9px}.dash-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.dash-card{padding:15px;min-height:170px}.dash-card-icon{right:12px;top:12px;width:30px;height:30px;padding:6px}.dash-card-label{font-size:11px;padding-right:32px}.dash-card strong{font-size:32px}.dash-filter{padding:15px;gap:11px}.dash-panel,.map-overview20 #dash-map-panel{padding:17px}.dash-hero{padding:21px}.dash-hero h1{font-size:24px}.dash-hero-actions{gap:7px}.dash-hero-actions button{font-size:10px;padding:8px 10px}.dash-tabbar button{font-size:11px;padding:9px 10px}.dash-chart{height:280px}.classification-cards{grid-template-columns:1fr}.dialoghead,#editor .dialoghead,#text-editor .dialoghead{padding:19px}.dialoghead h2,#editor .dialoghead h2{font-size:21px}dialog{border-radius:16px}.rowcard{padding:16px}.m-shell340{border-radius:14px}.m-header-actions340{gap:7px}.m-folders340{gap:6px}.m-folders340 button{border-radius:8px;min-height:38px}.m-bulk340{padding:10px 7px;gap:3px}.m-row340{padding:15px 10px}.m-row340 .m-message340 strong{font-size:13px}.m-searchbar340 form{padding:5px 7px}.m-workspace340 .mail-reader-head33,.m-workspace340 .mail-text33{padding:19px}.m-workspace340 .mail-reader-head33 h2{font-size:21px}.m-compose340{padding:18px}.m-compose-footer340{margin:18px -18px -18px;padding:15px 18px}.fp-totals32>div{padding:16px}.fp-totals32 strong{font-size:29px}.access{border-radius:20px}.access .intro{padding:26px}.access .panel{padding:27px}.access .access-foot31{font-size:9px}.v-command353{flex-wrap:wrap}.v-command353 .search-label{flex-basis:100%}.v-command353 #v-new353,.v-new-case353{margin-left:auto}.v-backdrop353:hover{background:#142a3b6b;color:inherit}}
.topright .mail-notifications350{border:1px solid #cad5de;background:linear-gradient(#fff,#eef3f6);color:#202124;border-radius:8px;min-height:34px;padding:7px 10px;font-size:10px}.topright .mail-notifications350.has-new{background:linear-gradient(#edfcfa,#d1eeea);border-color:#a1cfcb;color:#202124}.topright .mail-notifications350.has-new b{background:#087f89;color:#fff}.topright .mail-notifications350:hover{background:#e3eff2}.m-page340 .m-row340.selected{border-left-color:#087f89}
@media(max-width:540px){.topright .mail-notifications350{min-height:34px;padding:7px;gap:5px}.topright .mail-notifications350 span{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.v-backdrop353,#v-search353,#v-new353,.v-new-case353{display:none!important}.shell>main{margin:0!important;padding:0!important}}
