/* Volcanarias · Ubicación de flota — estilos. Ligero: sin sombras pesadas ni desenfoques (móviles modestos). */
:root{
  --volvo:#26386e;--volvo-dark:#1b2a55;--volvo-bg:#eef1f8;
  --naranja:#e8541c;--naranja-bg:#fff1ea;
  --verde:#15803d;--verde-bg:#f0fdf4;--verde-bd:#bbf7d0;
  --rojo:#dc2626;--rojo-bg:#fef2f2;--rojo-bd:#fecaca;
  --ambar:#b45309;--ambar-bg:#fff7ed;--ambar-bd:#fed7aa;
  --steel:#1b2530;
  --g9:#111827;--g7:#374151;--g5:#6b7280;--g4:#9ca3af;--g3:#d1d5db;--g2:#e5e7eb;--g1:#f3f4f6;--g0:#f9fafb;
  --page:#f4f5f7;--radius:14px;--nav-h:62px;--brand-h:52px;
  --sh:0 1px 2px rgba(16,24,40,.06);
}
*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{font-family:'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;background:var(--page);color:var(--g9);
  padding-bottom:calc(var(--nav-h) + 12px);-webkit-tap-highlight-color:transparent;-webkit-font-smoothing:antialiased;font-size:15px;}
button,input,select,textarea{font-family:inherit;font-size:inherit;color:inherit;}
button{cursor:pointer;}
a{color:var(--volvo);}
svg.i{width:1.25em;height:1.25em;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:-.22em;}
.hide{display:none !important;}

#app{max-width:720px;margin:0 auto;min-height:100vh;background:var(--page);box-shadow:0 0 0 1px var(--g2);}

/* Barra de marca */
.brandbar{position:sticky;top:0;z-index:12;height:var(--brand-h);background:#f1f1f1;display:flex;align-items:center;gap:10px;padding:0 12px;border-bottom:2.5px solid var(--naranja);}
.brandbar img{height:36px;width:auto;display:block;}
.b-tag{white-space:nowrap;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--g5);font-weight:600;line-height:1.2;}
.b-tag b{display:block;color:var(--volvo);font-size:13px;letter-spacing:.04em;}
.sp{flex:1;}
.demo-badge{background:var(--naranja);color:#fff;font-size:9.5px;font-weight:800;letter-spacing:.06em;padding:4px 8px;border-radius:99px;white-space:nowrap;}

/* Barra de sección */
.topbar{position:sticky;top:var(--brand-h);z-index:10;background:#fff;padding:10px 14px;display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--g2);min-height:56px;}
.topbar h1{margin:0;font-size:17px;font-weight:800;color:var(--steel);flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.back{border:0;background:var(--volvo-bg);color:var(--volvo);width:38px;height:38px;border-radius:12px;display:grid;place-items:center;flex-shrink:0;}
.pad{padding:14px;}
.sub{font-size:13px;color:var(--g5);margin:0 0 12px;line-height:1.45;}
h2.sec{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--g5);margin:18px 2px 8px;font-weight:800;}
.card{background:#fff;border-radius:var(--radius);box-shadow:var(--sh);border:1px solid var(--g2);padding:14px;margin-bottom:12px;}
.muted{color:var(--g5);}
.small{font-size:12.5px;}

/* Botones */
.btn{border:0;border-radius:12px;padding:12px 16px;font-weight:700;background:var(--volvo);color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;text-decoration:none;}
.btn:active{background:var(--volvo-dark);}
.btn.or{background:var(--naranja);}
.btn.sec{background:#fff;color:var(--volvo);border:1.5px solid var(--g3);}
.btn.ghost{background:var(--volvo-bg);color:var(--volvo);}
.btn.sm{padding:8px 12px;min-height:36px;font-size:13px;border-radius:10px;}
.btn.block{display:flex;width:100%;}
.btn[disabled]{opacity:.5;}
.btn-ico{border:1.5px solid var(--g3);background:#fff;color:var(--g7);border-radius:12px;width:40px;height:40px;display:grid;place-items:center;flex-shrink:0;}
.btn-ico.on{background:var(--volvo);border-color:var(--volvo);color:#fff;}
.fab{position:fixed;right:16px;bottom:calc(var(--nav-h) + 14px);z-index:15;width:56px;height:56px;border-radius:18px;border:0;background:var(--naranja);color:#fff;display:grid;place-items:center;box-shadow:0 4px 12px rgba(232,84,28,.4);}
.fab svg{width:26px;height:26px;}
.fab-t{display:none;}

/* Buscador y filtros */
.search{font-size:16px;width:100%;border:1.5px solid var(--g3);border-radius:12px;padding:12px 14px 12px 42px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%239ca3af' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='9' r='6'/%3E%3Cpath d='m14 14 4 4'/%3E%3C/svg%3E") no-repeat 13px center;}
.search:focus,.fld input:focus,.fld select:focus,.fld textarea:focus,.filtros select:focus{outline:none;border-color:var(--volvo);box-shadow:0 0 0 3px rgba(38,56,110,.12);}
.filtros{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin:10px 0 4px;}
.filtros select{width:100%;min-width:0;border:1.5px solid var(--g3);border-radius:12px;padding:10px 8px;background:#fff;font-size:13.5px;font-weight:600;color:var(--g7);}
.filtros select.act{border-color:var(--volvo);background:var(--volvo-bg);color:var(--volvo);}
.fila-vista{display:flex;align-items:center;gap:8px;margin:8px 0 10px;}
.seg{display:inline-flex;background:var(--g1);border-radius:12px;padding:3px;gap:2px;}
.seg button{border:0;background:none;padding:7px 12px;border-radius:10px;font-weight:700;font-size:13px;color:var(--g5);display:inline-flex;align-items:center;gap:6px;}
.seg button.on{background:#fff;color:var(--volvo);box-shadow:0 1px 2px rgba(16,24,40,.12);}
.seg.full{display:flex;}.seg.full button{flex:1;justify-content:center;padding:9px 4px;font-size:12.5px;white-space:nowrap;}

/* Resumen (tiles) */
.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px;}
.tile{border:1px solid var(--g2);background:#fff;border-radius:12px;padding:10px 8px;text-align:left;box-shadow:var(--sh);}
.tile b{display:block;font-size:22px;font-weight:800;color:var(--steel);line-height:1.1;}
.tile span{font-size:11px;font-weight:700;color:var(--g5);letter-spacing:.02em;}
.tile.on{border-color:var(--volvo);background:var(--volvo-bg);}
.tile.warn b{color:var(--ambar);}.tile.rojo b{color:var(--rojo);}

/* Matrícula */
.plate{display:inline-flex;align-items:stretch;border:1.8px solid var(--steel);border-radius:6px;background:#fff;overflow:hidden;font-weight:800;letter-spacing:.06em;color:var(--steel);line-height:1;vertical-align:middle;}
.plate::before{content:"E";background:var(--volvo);color:#fff;font-size:9px;padding:5px 4px 0;letter-spacing:0;display:flex;align-items:flex-end;padding-bottom:3px;}
.plate span{padding:5px 8px;font-size:15px;}
.plate.sm span{padding:4px 7px;font-size:13px;}
.plate.nobrand::before{display:none;}
.chasis{font-family:ui-monospace,Consolas,monospace;font-size:12.5px;font-weight:700;color:var(--g7);letter-spacing:.02em;}

/* Tipos de vehículo / lugar */
.tp{display:grid;place-items:center;border-radius:12px;flex-shrink:0;}
.tp svg{width:55%;height:55%;}
.t-camion{background:#dbe4f7;color:#26386e;}.t-guagua{background:#ffe3d3;color:#c2410c;}.t-maquina{background:#fdf0c4;color:#92400e;}.t-otro{background:#e5e7eb;color:#374151;}
.t-carrocero{background:#ede9fe;color:#6d28d9;}.t-muelle{background:#dbeafe;color:#1d4ed8;}.t-taller{background:#fee2e2;color:#b91c1c;}.t-campa{background:#dcfce7;color:#15803d;}.t-cliente{background:#fef3c7;color:#92400e;}

/* Insignias de estado */
.bd{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:700;padding:3px 9px;border-radius:99px;background:var(--g1);color:var(--g7);white-space:nowrap;}
.bd.ok{background:var(--verde-bg);color:var(--verde);}
.bd.w1{background:var(--ambar-bg);color:var(--ambar);box-shadow:inset 0 0 0 1px var(--ambar-bd);}
.bd.w2{background:var(--rojo-bg);color:var(--rojo);box-shadow:inset 0 0 0 1px var(--rojo-bd);}
.bd.tr{background:#e0f2fe;color:#0369a1;}
.bd.na{background:var(--g1);color:var(--g5);}
.bd.nuevo{background:var(--naranja-bg);color:var(--naranja);}

/* Tarjeta de vehículo */
.veh{display:flex;gap:12px;width:100%;text-align:left;border:1px solid var(--g2);background:#fff;border-radius:var(--radius);box-shadow:var(--sh);padding:10px;margin-bottom:10px;align-items:center;position:relative;}
.veh:active{background:var(--g0);}
.veh.w1{border-left:5px solid #f59e0b;}.veh.w2{border-left:5px solid var(--rojo);}
.veh .th{width:76px;height:76px;border-radius:12px;overflow:hidden;flex-shrink:0;background:var(--g1);position:relative;}
.veh .th img{width:100%;height:100%;object-fit:cover;display:block;}
.veh .th .tp{width:100%;height:100%;border-radius:0;}
.veh-info{flex:1;min-width:0;display:block;}
.veh-l1{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.veh-int{font-size:12px;font-weight:700;color:var(--g5);}
.veh-l2{font-size:13.5px;color:var(--g7);margin:5px 0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.veh-l3{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.donde{font-weight:700;font-size:13px;color:var(--steel);display:inline-flex;align-items:center;gap:5px;min-width:0;}
.donde svg{color:var(--volvo);}
.more{width:100%;margin:4px 0 10px;}

/* Vista por lugar */
.grp{background:#fff;border:1px solid var(--g2);border-radius:var(--radius);margin-bottom:10px;overflow:hidden;box-shadow:var(--sh);}
.grp-h{display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--g0);border-bottom:1px solid var(--g2);}
.grp-h b{font-size:14.5px;color:var(--steel);flex:1;min-width:0;}
.grp-h .n{background:var(--volvo);color:#fff;border-radius:99px;font-size:12px;font-weight:800;padding:2px 9px;}
.grp-h .tp{width:32px;height:32px;border-radius:10px;}
.mini{display:flex;align-items:center;gap:10px;width:100%;border:0;background:#fff;padding:9px 12px;text-align:left;border-bottom:1px solid var(--g1);}
.mini:last-child{border-bottom:0;}
.mini:active{background:var(--g0);}
.mini .tp{width:30px;height:30px;border-radius:9px;}
.mini .mid{flex:1;min-width:0;font-size:13px;color:var(--g5);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

.empty{text-align:center;color:var(--g5);padding:28px 16px;font-size:14px;background:#fff;border-radius:var(--radius);border:1px dashed var(--g3);}

/* Ficha */
.hero{background:#fff;border:1px solid var(--g2);border-radius:var(--radius);overflow:hidden;margin-bottom:12px;box-shadow:var(--sh);}
.hero-img{width:100%;aspect-ratio:2/1;background:var(--g1);position:relative;display:block;border:0;padding:0;}
.hero-img img{width:100%;height:100%;object-fit:cover;display:block;}
.hero-img .tp{width:100%;height:100%;border-radius:0;}
.hero-img .tp svg{width:34%;height:34%;}
.hero-img .cnt{position:absolute;right:10px;bottom:10px;background:rgba(17,24,39,.7);color:#fff;font-size:12px;font-weight:700;border-radius:99px;padding:4px 10px;display:flex;gap:5px;align-items:center;}
.hero-b{padding:14px;}
.hero-b h2{margin:8px 0 2px;font-size:19px;color:var(--steel);font-weight:800;}
.estado{border-radius:var(--radius);padding:14px;margin-bottom:12px;border:1px solid var(--g2);background:#fff;box-shadow:var(--sh);}
.estado.w1{background:var(--ambar-bg);border-color:var(--ambar-bd);}.estado.w2{background:var(--rojo-bg);border-color:var(--rojo-bd);}.estado.tr{background:#f0f9ff;border-color:#bae6fd;}
.estado .lbl{font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--g5);}
.estado .lg{font-size:20px;font-weight:800;color:var(--steel);margin:3px 0 2px;line-height:1.2;}
.estado .dur{font-size:13.5px;color:var(--g7);}
.estado .acc{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;}
.estado .acc .btn{flex:1 1 150px;}
.kv{display:grid;grid-template-columns:110px 1fr;gap:7px 10px;font-size:14px;}
.kv dt{color:var(--g5);font-weight:600;}.kv dd{margin:0;color:var(--g9);font-weight:600;word-break:break-word;}

/* Línea de tiempo */
.tl{position:relative;margin:4px 0 0;padding-left:0;}
.ev{display:flex;gap:12px;position:relative;padding-bottom:16px;}
.ev::before{content:"";position:absolute;left:17px;top:36px;bottom:0;width:2px;background:var(--g2);}
.ev:last-child{padding-bottom:0;}.ev:last-child::before{display:none;}
.ev .dot{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;color:#fff;z-index:1;}
.ev .dot svg{width:18px;height:18px;}
.d-llegada{background:var(--verde);}.d-salida{background:var(--naranja);}.d-traslado{background:var(--volvo);}.d-nota{background:var(--g4);}
.ev-b{flex:1;min-width:0;background:#fff;border:1px solid var(--g2);border-radius:12px;padding:10px 12px;box-shadow:var(--sh);}
.ev.cur .ev-b{border-color:var(--volvo);box-shadow:0 0 0 2px rgba(38,56,110,.1);}
.ev-t{font-weight:800;color:var(--steel);font-size:14.5px;line-height:1.3;}
.ev-d{font-size:12.5px;color:var(--g5);margin-top:2px;}
.ev-n{font-size:14px;color:var(--g7);margin:7px 0 0;line-height:1.4;white-space:pre-wrap;}
.ev-est{font-size:12px;color:var(--g5);margin-top:7px;display:flex;align-items:center;gap:5px;}
.ev.anul .ev-b{background:var(--g0);}.ev.anul .ev-t{text-decoration:line-through;color:var(--g4);}
.ev .anul-tx{font-size:12.5px;color:var(--rojo);margin-top:5px;font-weight:600;}
.dchip{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:700;background:var(--volvo-bg);color:var(--volvo);border:0;border-radius:8px;padding:5px 9px;margin:7px 6px 0 0;max-width:100%;}
.dchip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.ev-act{margin-top:8px;}
.linkbtn{border:0;background:none;color:var(--g5);font-weight:700;font-size:12.5px;padding:4px 0;display:inline-flex;gap:5px;align-items:center;}
.linkbtn.red{color:var(--rojo);}

/* Documentos y fotos */
.doc{display:flex;gap:12px;align-items:center;padding:11px 12px;background:#fff;border:1px solid var(--g2);border-radius:12px;margin-bottom:8px;box-shadow:var(--sh);}
.doc .fi{width:42px;height:46px;border-radius:9px;display:grid;place-items:center;font-size:10px;font-weight:800;letter-spacing:.04em;flex-shrink:0;}
.f-pdf{background:#fee2e2;color:#b91c1c;}.f-img{background:#dbeafe;color:#1d4ed8;}.f-doc{background:#dbeafe;color:#1e40af;}.f-xls{background:#dcfce7;color:#15803d;}.f-otro{background:var(--g1);color:var(--g5);}
.doc-b{flex:1;min-width:0;}
.doc-b b{display:block;font-size:14.5px;color:var(--steel);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.doc-b span{font-size:12.5px;color:var(--g5);}
.doc-a{display:flex;gap:6px;}
.doc-a .btn-ico{width:38px;height:38px;}
.fotos{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;}
.fotos .f{position:relative;aspect-ratio:1;border-radius:12px;overflow:hidden;background:var(--g1);border:0;padding:0;}
.fotos .f img{width:100%;height:100%;object-fit:cover;display:block;}
.fotos .f .star{position:absolute;left:6px;top:6px;background:var(--naranja);color:#fff;border-radius:99px;font-size:10px;font-weight:800;padding:3px 7px;display:flex;gap:3px;align-items:center;}
.fotos .addf{border:2px dashed var(--g3);background:#fff;color:var(--volvo);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-weight:700;font-size:12.5px;aspect-ratio:1;border-radius:12px;}
.fotos .addf svg{width:26px;height:26px;}

/* Hojas (modales) */
.overlay{position:fixed;inset:0;background:rgba(17,24,39,.55);z-index:40;display:none;align-items:flex-end;justify-content:center;}
.overlay.open{display:flex;}
.sheet{background:#fff;width:100%;max-width:640px;border-radius:20px 20px 0 0;padding:18px 16px 20px;max-height:93vh;overflow-y:auto;overscroll-behavior:contain;}
.sheet h3{margin:0 0 14px;font-size:18px;font-weight:800;color:var(--steel);display:flex;align-items:center;gap:8px;}
.sheet h3 .x{margin-left:auto;border:0;background:var(--g1);border-radius:10px;width:34px;height:34px;display:grid;place-items:center;color:var(--g7);}
.fld{margin-bottom:13px;}
.fld>label{display:block;font-size:12px;font-weight:800;color:var(--g5);text-transform:uppercase;letter-spacing:.06em;margin-bottom:5px;}
.fld input,.fld select,.fld textarea{font-size:16px;width:100%;border:1.5px solid var(--g3);border-radius:12px;padding:12px;background:#fff;}
.fld textarea{min-height:84px;resize:vertical;}
.fld .hint{font-size:12px;color:var(--g5);margin-top:4px;}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.err{background:var(--rojo-bg);color:var(--rojo);border:1px solid var(--rojo-bd);padding:10px 12px;border-radius:12px;font-size:13.5px;font-weight:600;margin-bottom:12px;}
.info{background:var(--volvo-bg);color:var(--volvo);padding:10px 12px;border-radius:12px;font-size:13px;margin-bottom:12px;line-height:1.4;}
.sheet .botones{display:flex;gap:10px;margin-top:16px;}.sheet .botones .btn{flex:1;}
.opts{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.opt{border:1.8px solid var(--g3);background:#fff;border-radius:14px;padding:12px 8px;display:flex;flex-direction:column;align-items:center;gap:6px;font-weight:700;font-size:13px;color:var(--g7);text-align:center;}
.opt svg{width:26px;height:26px;}
.opt.on{border-color:var(--volvo);background:var(--volvo-bg);color:var(--volvo);}
.opts.tipos{grid-template-columns:repeat(4,1fr);}
.opts.tipos .opt{font-size:12px;padding:10px 4px;}
.adj{display:flex;gap:8px;align-items:center;background:var(--g0);border:1px solid var(--g2);border-radius:10px;padding:6px 8px;margin-top:6px;font-size:13px;}
.adj input{border:1.5px solid var(--g3);border-radius:8px;padding:6px 8px;flex:1;min-width:0;font-size:13px;}
.adj small{color:var(--g5);white-space:nowrap;}
.adj button{border:0;background:none;color:var(--g5);width:28px;height:28px;}
.bar{height:8px;background:var(--g2);border-radius:99px;overflow:hidden;margin-top:8px;}.bar i{display:block;height:100%;background:var(--naranja);width:0;transition:width .2s;}

/* Visor de fotos */
.lb{position:fixed;inset:0;background:#0b1020;z-index:60;display:none;flex-direction:column;}
.lb.open{display:flex;}
.lb-top{display:flex;align-items:center;gap:10px;padding:10px 12px;color:#fff;}
.lb-top b{flex:1;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.lb-top button{border:0;background:rgba(255,255,255,.14);color:#fff;border-radius:10px;height:38px;min-width:38px;padding:0 10px;display:flex;align-items:center;justify-content:center;gap:6px;font-weight:700;font-size:13px;}
.lb-img{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;position:relative;}
.lb-img img{max-width:100%;max-height:100%;object-fit:contain;}
.lb-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:64px;border:0;background:rgba(255,255,255,.14);color:#fff;border-radius:12px;display:grid;place-items:center;}
.lb-nav.l{left:8px;}.lb-nav.r{right:8px;}
.lb-bot{padding:10px 12px 16px;display:flex;gap:8px;justify-content:center;flex-wrap:wrap;}

/* Menú inferior */
.bottomnav{position:fixed;left:0;right:0;bottom:0;z-index:20;height:var(--nav-h);background:#fff;border-top:1px solid var(--g2);display:flex;max-width:720px;margin:0 auto;}
.nav-btn{flex:1;border:0;background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:11.5px;font-weight:700;color:var(--g5);position:relative;}
.nav-btn svg{width:23px;height:23px;}
.nav-btn.on{color:var(--volvo);}
.nav-btn.on::before{content:"";position:absolute;top:0;left:22%;right:22%;height:3px;background:var(--naranja);border-radius:0 0 4px 4px;}

#toast{position:fixed;left:50%;bottom:calc(var(--nav-h) + 80px);transform:translateX(-50%);background:var(--steel);color:#fff;padding:11px 18px;border-radius:99px;font-size:14px;font-weight:600;z-index:70;max-width:90vw;display:none;text-align:center;}
#toast.on{display:block;}
.cargando{text-align:center;padding:40px 16px;color:var(--g5);}
.spin{width:30px;height:30px;border:3px solid var(--g2);border-top-color:var(--volvo);border-radius:50%;animation:gira .8s linear infinite;margin:0 auto 10px;}
@keyframes gira{to{transform:rotate(360deg);}}

/* Movimientos (registro global) */
.mv{display:flex;gap:10px;align-items:flex-start;background:#fff;border:1px solid var(--g2);border-radius:12px;padding:10px 12px;margin-bottom:8px;width:100%;text-align:left;box-shadow:var(--sh);}
.mv .dot{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:#fff;flex-shrink:0;}
.mv .dot svg{width:17px;height:17px;}
.mv-b{flex:1;min-width:0;}
.mv-b .l1{display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.mv-b .t{font-weight:700;font-size:14px;color:var(--steel);margin-top:4px;}
.mv-b .d{font-size:12.5px;color:var(--g5);margin-top:2px;}
.mv-b .n{font-size:13px;color:var(--g7);margin-top:4px;}
.mv.anul{background:var(--g0);}.mv.anul .t{text-decoration:line-through;color:var(--g4);}
.dia{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--g5);margin:14px 2px 6px;}

.lugar{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid var(--g2);border-radius:var(--radius);padding:10px 12px;margin-bottom:8px;box-shadow:var(--sh);}
.lugar .tp{width:42px;height:42px;}
.lugar-b{flex:1;min-width:0;text-align:left;border:0;background:none;padding:0;}
.lugar-b b{display:block;color:var(--steel);font-size:15px;}
.lugar-b span{font-size:12.5px;color:var(--g5);}
.lugar .n{font-weight:800;font-size:13px;color:var(--volvo);background:var(--volvo-bg);border-radius:99px;padding:4px 10px;white-space:nowrap;display:inline-flex;gap:5px;align-items:center;}

/* ===== ORDENADOR ===== */
@media (min-width:1000px){
  body{padding-bottom:0;}
  #app{max-width:none;margin:0 0 0 220px;box-shadow:none;}
  .brandbar{padding:0 24px;position:fixed;left:0;right:0;}
  #app{padding-top:var(--brand-h);}
  .topbar{top:var(--brand-h);padding:14px 32px;}
  .topbar h1{font-size:20px;}
  .bottomnav{top:var(--brand-h);left:0;right:auto;bottom:0;width:220px;height:auto;max-width:none;margin:0;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:4px;padding:14px 10px;border-top:0;border-right:1px solid var(--g2);}
  .nav-btn{flex:none;flex-direction:row;justify-content:flex-start;gap:12px;padding:13px 14px;border-radius:12px;font-size:14.5px;}
  .nav-btn.on{background:var(--volvo-bg);}
  .nav-btn.on::before{top:12px;bottom:12px;left:0;right:auto;width:4px;height:auto;border-radius:0 4px 4px 0;}
  .pad{padding:22px 32px 48px;max-width:1240px;}
  .lista-g{display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:10px;align-items:start;}
  .lista-g .veh,.lista-g .grp{margin:0;}
  .filtros{max-width:760px;}
  .search{max-width:760px;}
  .tiles{max-width:760px;}
  .overlay{align-items:center;}
  .sheet{border-radius:20px;}
  .fab-t{display:inline;white-space:nowrap;}
  .fab{display:flex;align-items:center;height:52px;bottom:28px;right:32px;width:auto;padding:0 22px;gap:10px;font-weight:800;}
  #toast{bottom:28px;left:calc(50% + 110px);}
  .ficha{display:grid;grid-template-columns:380px 1fr;gap:22px;align-items:start;}
  .ficha .col-i{position:sticky;top:calc(var(--brand-h) + 76px);}
  .lista-m{display:grid;grid-template-columns:repeat(auto-fill,minmax(420px,1fr));gap:8px;align-items:start;}
  .lista-m .mv,.lista-m .lugar{margin:0;}
  .fotos{grid-template-columns:repeat(4,1fr);}
  .hero-img{aspect-ratio:16/10;}
}
@media (max-width:360px){.tiles{grid-template-columns:1fr 1fr;}.opts.tipos{grid-template-columns:1fr 1fr;}.kv{grid-template-columns:96px 1fr;}}
@media (prefers-reduced-motion:reduce){*{animation:none !important;transition:none !important;}}
