/*
 * Area tecnica - estilos consolidados.
 * Conserva la cascada del archivo original y elimina declaraciones anuladas.
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=DM+Mono:wght@400;500&display=swap');
:root {
    --tecnico-azul: #1f4e86; --tecnico-azul-oscuro: #17375d; --tecnico-azul-suave: #eaf2fb; --tecnico-borde: #d8dde6;
    --tecnico-fondo: #f3f5f8; --tecnico-card: #ffffff; --tecnico-texto: #17212f; --tecnico-mutado: #5d6a7d;
    --tecnico-amarillo: #f6c344; --tecnico-naranja: #f28a2e; --tecnico-rojo: #d94b4b; --tecnico-verde: #2f9d62;
    --tecnico-gris: #7a8798; --tecnico-radio: 10px; --tecnico-sombra: 0 12px 30px rgba(18, 38, 63, 0.08);
    --tecnico-font: "Inter", Arial, sans-serif;
}
body.tecnico-body.tecnico-dashboard::before,
body.tecnico-body.tecnico-dashboard::after { content: none !important; }
body.tecnico-body.tecnico-dashboard .tecnico-header,
body.tecnico-body.tecnico-dashboard .tecnico-stat-card,
body.tecnico-body.tecnico-dashboard .tecnico-lista-wrap,
body.tecnico-body.tecnico-dashboard .tecnico-form-wrap,
body.tecnico-body.tecnico-dashboard .tecnico-card-item,
body.tecnico-body.tecnico-dashboard .tecnico-vacio,
body.tecnico-body.tecnico-dashboard .tecnico-flash {
    background: #ffffff !important; border: 1px solid #e4ebf3 !important;
    box-shadow: 0 10px 30px rgba(20, 40, 70, 0.06) !important; backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-stat-filter.is-active { background: #f5f9ff !important; border-color: #cfdced !important; }
body.tecnico-body.tecnico-dashboard .tecnico-panel-header input,
body.tecnico-body.tecnico-dashboard .tecnico-card-meta,
body.tecnico-body.tecnico-dashboard .tecnico-antiguedad {
    background: #ffffff !important; border: 1px solid #dbe5f0 !important; box-shadow: none !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-card-meta { color: #5f7087 !important; }
body.tecnico-body.tecnico-dashboard .tecnico-panel-header h2,
body.tecnico-body.tecnico-dashboard .tecnico-header-copy h1,
body.tecnico-body.tecnico-dashboard .tecnico-card-top h3,
body.tecnico-body.tecnico-dashboard .tecnico-stat-card strong {
    color: #1b2a3b !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-header-copy p,
body.tecnico-body.tecnico-dashboard .tecnico-card-top p,
body.tecnico-body.tecnico-dashboard .tecnico-stat-label,
body.tecnico-body.tecnico-dashboard .tecnico-saludo,
body.tecnico-body.tecnico-dashboard .tecnico-panel-header input::placeholder {
    color: #6f8097 !important;
}
*,
*::before,
*::after { box-sizing: border-box; }
body.tecnico-body {
    margin: 0; font-family: var(--tecnico-font);
    background: radial-gradient(circle at top right, rgba(31, 78, 134, 0.08), transparent 24%),
        linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
    color: var(--tecnico-texto);
}
body.tecnico-body.tecnico-dashboard { position: relative; min-height: 100vh; }
body.tecnico-body.tecnico-dashboard::before,
body.tecnico-body.tecnico-dashboard::after {
    content: ""; position: fixed; inset: auto; pointer-events: none; z-index: 0; border-radius: 999px;
    filter: blur(10px);
}
body.tecnico-body.tecnico-dashboard::before {
    top: 88px; left: -70px; width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(116, 121, 255, 0.28) 0%, rgba(116, 121, 255, 0) 72%);
}
body.tecnico-body.tecnico-dashboard::after {
    right: -90px; bottom: 80px; width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(72, 82, 96, 0.22) 0%, rgba(72, 82, 96, 0) 72%);
}
.tecnico-shell { max-width: 1180px; margin: 0 auto; padding: 22px; }
body.tecnico-body.tecnico-dashboard .tecnico-shell { position: relative; z-index: 1; }
.tecnico-header {
    background: var(--tecnico-card); border: 1px solid var(--tecnico-borde); border-radius: 16px; padding: 22px;
    box-shadow: var(--tecnico-sombra);
}
.tecnico-header-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.tecnico-logo { width: 240px; max-width: 100%; justify-self: center; }
.tecnico-logo-login { display: block; margin: 0 auto 18px auto; }
.tecnico-link-secundario { color: var(--tecnico-azul); text-decoration: none; font-weight: bold; }
body.tecnico-body.tecnico-dashboard .tecnico-link-secundario { opacity: 1; }
.tecnico-link-secundario:last-child { justify-self: end; }
.tecnico-header-copy { margin-top: 18px; }
.tecnico-header-copy h1 { margin: 0 0 6px 0; font-size: 30px; }
.tecnico-header-copy p { margin: 0; color: var(--tecnico-mutado); }
.tecnico-main { margin-top: 20px; }
.tecnico-actions-row,
.tecnico-panel-header,
.tecnico-form-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tecnico-actions-inline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tecnico-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px;
    padding: 10px 16px; border-radius: 10px; border: none; background: var(--tecnico-azul); color: #fff;
    text-decoration: none; font-weight: bold; cursor: pointer;
}
.tecnico-btn:hover { background: var(--tecnico-azul-oscuro); }
body.tecnico-body.tecnico-dashboard .tecnico-btn {
    border-radius: 14px; background: linear-gradient(180deg, rgba(38, 52, 72, 0.92) 0%, rgba(22, 31, 45, 0.92) 100%);
    box-shadow: 0 12px 24px rgba(74, 91, 116, 0.2);
}
body.tecnico-body.tecnico-dashboard .tecnico-btn:hover {
    background: linear-gradient(180deg, rgba(50, 67, 91, 0.96) 0%, rgba(28, 40, 58, 0.96) 100%);
}
.tecnico-btn-secundario { background: #eef3f8; color: var(--tecnico-azul); border: 1px solid var(--tecnico-borde); }
.tecnico-btn-light { background: #fff; color: var(--tecnico-texto); border: 1px solid var(--tecnico-borde); }
body.tecnico-body.tecnico-dashboard .tecnico-btn-secundario,
body.tecnico-body.tecnico-dashboard .tecnico-btn-light {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.38) 100%); color: #243a58;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 10px 24px rgba(130, 150, 178, 0.14);
}
.tecnico-saludo {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
    border: 1px solid rgba(31, 78, 134, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 246, 253, 0.96) 100%);
    box-shadow: 0 10px 26px rgba(31, 78, 134, 0.08); color: var(--tecnico-azul); font-weight: bold;
    letter-spacing: 0.01em;
}
body.tecnico-body.tecnico-dashboard .tecnico-saludo {
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.64) 0%, rgba(255, 255, 255, 0.38) 100%);
    box-shadow: 0 12px 26px rgba(130, 150, 178, 0.14); color: #26425f;
}
.tecnico-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.tecnico-stat-card,
.tecnico-lista-wrap,
.tecnico-form-wrap {
    background: var(--tecnico-card); border: 1px solid var(--tecnico-borde); border-radius: 16px;
    box-shadow: var(--tecnico-sombra);
}
body.tecnico-body.tecnico-dashboard .tecnico-stat-card,
body.tecnico-body.tecnico-dashboard .tecnico-lista-wrap,
body.tecnico-body.tecnico-dashboard .tecnico-form-wrap {
    border: 1px solid rgba(255, 255, 255, 0.46);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.54) 0%, rgba(255, 255, 255, 0.32) 100%);
    box-shadow: 0 22px 54px rgba(130, 150, 178, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        inset 0 -1px 0 rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(26px) saturate(135%); -webkit-backdrop-filter: blur(26px) saturate(135%);
}
.tecnico-stat-card {
    position: relative; overflow: hidden; padding: 22px 20px; border-radius: 22px;
    width: 100%; font: inherit; text-align: left;
    background: radial-gradient(circle at top right, rgba(159, 195, 255, 0.26) 0%, rgba(159, 195, 255, 0) 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 250, 255, 0.98) 100%);
    box-shadow: 0 18px 40px rgba(18, 47, 84, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.tecnico-stat-filter { cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease; }
.tecnico-stat-filter:hover {
    transform: translateY(-3px); border-color: rgba(92, 135, 191, 0.34);
    box-shadow: 0 22px 40px rgba(18, 47, 84, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}
.tecnico-stat-filter:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.28);
    outline-offset: 3px;
}
.tecnico-stat-filter.is-active {
    border-color: rgba(82, 127, 187, 0.5);
    box-shadow: 0 0 0 2px rgba(31, 78, 134, 0.1),
        0 22px 42px rgba(18, 47, 84, 0.12);
    background: radial-gradient(circle at top right, rgba(104, 160, 255, 0.22) 0%, rgba(104, 160, 255, 0) 44%),
        linear-gradient(180deg, #ffffff 0%, #edf5ff 100%);
}
.tecnico-stat-label { display: block; color: #5b708d; margin-bottom: 12px; font-size: 14px; font-weight: 600; }
.tecnico-stat-card strong { display: block; font-size: 40px; line-height: 1; letter-spacing: -0.02em; color: #102746; }
.tecnico-lista-wrap,
.tecnico-form-wrap {
    margin-top: 22px; padding: 24px; border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.98) 100%);
    box-shadow: 0 24px 56px rgba(19, 48, 86, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.tecnico-panel-header h2 { margin: 0; font-size: 32px; line-height: 1; letter-spacing: -0.02em; }
.tecnico-panel-header input {
    width: min(340px, 100%); min-height: 46px; padding: 0 16px; border-radius: 14px; border: 1px solid #d6e0ec;
    background: rgba(255, 255, 255, 0.96); box-shadow: inset 0 1px 2px rgba(15, 37, 66, 0.03);
}
body.tecnico-body.tecnico-dashboard .tecnico-panel-header input {
    border: 1px solid rgba(255, 255, 255, 0.48);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.66) 0%, rgba(255, 255, 255, 0.42) 100%); color: #243a58;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 10px 24px rgba(130, 150, 178, 0.12);
}
body.tecnico-body.tecnico-dashboard .tecnico-panel-header input::placeholder { color: #7f8fa2; }
.tecnico-cards-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.tecnico-card-item {
    position: relative; overflow: hidden; border: 1px solid rgba(200, 214, 231, 0.85); border-radius: 22px;
    padding: 20px;
    background: radial-gradient(circle at top right, rgba(122, 169, 243, 0.1) 0%, rgba(122, 169, 243, 0) 40%),
        linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
    box-shadow: 0 16px 34px rgba(17, 42, 77, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}
.tecnico-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.tecnico-card-top h3 { margin: 0 0 6px 0; font-size: 24px; line-height: 1.08; letter-spacing: -0.02em; }
.tecnico-card-top p { margin: 0; color: var(--tecnico-mutado); }
.tecnico-caso-ref { margin: 0 0 4px 0 !important; color: var(--tecnico-azul) !important; font-size: 14px; font-weight: bold; }
.tecnico-card-meta {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; padding: 14px 16px;
    border: 1px solid rgba(210, 221, 235, 0.8); border-radius: 16px; background: rgba(246, 249, 253, 0.88);
    color: #5a6d87; font-size: 14px;
}
.tecnico-card-meta > span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; flex-wrap: wrap; }
.tecnico-card-meta > span > b { flex: 0 0 auto; }
.tecnico-card-meta .tecnico-meta-icon { flex: 0 0 auto; }
.tecnico-card-meta-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.tecnico-body.tecnico-dashboard .tecnico-card-meta {
    border: 1px solid rgba(255, 255, 255, 0.44); background: rgba(255, 255, 255, 0.3); color: #62758f;
}
.tecnico-servicio-badge {
    display: inline; padding: 0; border: 0; background: transparent; color: #475569;
    font-size: inherit; font-weight: 700; font-style: normal; line-height: inherit; white-space: normal;
}
.tecnico-servicio-badge.servicio-visita { color: #1d4ed8; }
.tecnico-servicio-badge.servicio-instalacion { color: #047857; }
.tecnico-servicio-badge.servicio-reparacion { color: #c2410c; }
.tecnico-servicio-badge.servicio-mantenimiento { color: #6d28d9; }
.tecnico-servicio-badge.servicio-garantia { color: #047857; }
.tecnico-servicio-badge.servicio-diagnostico { color: #0e7490; }
.tecnico-servicio-badge.servicio-traslado { color: #334155; }
.tecnico-card-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.tecnico-badge-break { flex-basis: 100%; height: 0; }
.tecnico-antiguedad {
    display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 4px 12px;
    border-radius: 999px; background: #eef4fb; border: 1px solid #d4e1ef; color: var(--tecnico-azul); font-size: 13px;
    font-weight: bold; white-space: nowrap;
}
.tecnico-fecha-asignada {
    display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 4px 12px;
    border-radius: 999px; background: #fef2f2; border: 1px solid #fca5a5; color: #b91c1c;
    font-size: 13px; font-weight: bold; white-space: nowrap; margin-left: auto;
}
body.tecnico-body.tecnico-dashboard .tecnico-antiguedad { border-color: rgba(255, 255, 255, 0.5); }
.tecnico-card-footer { display: grid; gap: 12px; margin-top: 18px; }
.tecnico-card-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tecnico-card-actions .tecnico-btn { width: 100%; padding-inline: 10px; font-size: 14px; border-radius: 12px; }
.tecnico-card-actions button { font-family: var(--tecnico-font); }
.tecnico-card-vendedor { color: #6b7d96; font-size: 13px; font-weight: bold; text-align: right; }
.tecnico-input-help { display: block; margin-top: 6px; color: var(--tecnico-mutado); font-size: 12px; line-height: 1.4; }
.tecnico-modal-open { overflow: hidden; }
.tecnico-modal-backdrop {
    position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center;
    padding: 20px; background: rgba(16, 28, 44, 0.45);
}
.tecnico-modal-backdrop.is-open { display: flex; }
.tecnico-modal-card {
    width: min(600px, 100%); background: #fff; border-radius: 16px; border: 1px solid var(--tecnico-borde);
    box-shadow: 0 20px 50px rgba(9, 22, 40, 0.22); padding: 20px;
}
.tecnico-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.tecnico-modal-head h3 { margin: 0; font-size: 22px; }
.tecnico-modal-close {
    border: 1px solid var(--tecnico-borde); background: #fff; color: var(--tecnico-texto); border-radius: 10px;
    min-width: 38px; min-height: 38px; cursor: pointer; font-weight: bold;
}
.tecnico-modal-copy,
.tecnico-modal-cliente { margin: 0 0 12px 0; color: var(--tecnico-mutado); line-height: 1.5; }
.tecnico-modal-cliente { font-weight: bold; color: var(--tecnico-azul); }
.tecnico-modal-card label { display: block; font-weight: bold; font-size: 14px; }
.tecnico-modal-card select,
.tecnico-modal-card input[type="date"] {
    width: 100%; margin-top: 6px; min-height: 42px; padding: 10px 12px; border-radius: 10px;
    border: 1px solid var(--tecnico-borde); background: #fff; font-family: var(--tecnico-font);
    font-size: 14px; box-sizing: border-box;
}
.tecnico-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.tecnico-estado {
    display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 4px 14px;
    border-radius: 999px; font-size: 13px; font-weight: bold; color: #fff; white-space: nowrap;
}
.estado-pendiente { background: var(--tecnico-amarillo); color: #3d3210; }
.estado-coordinado { background: var(--tecnico-azul); }
.estado-proceso { background: var(--tecnico-naranja); }
.estado-repuesto { background: var(--tecnico-rojo); }
.estado-finalizado { background: var(--tecnico-verde); }
.estado-cancelado,
.estado-default { background: var(--tecnico-gris); }
.tecnico-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.tecnico-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tecnico-form-grid label { display: block; font-weight: bold; font-size: 14px; }
.tecnico-form-grid input,
.tecnico-form-grid textarea,
.tecnico-form-grid select,
.tecnico-panel-header input {
    width: 100%; margin-top: 6px; min-height: 42px; padding: 10px 12px; border-radius: 10px;
    border: 1px solid var(--tecnico-borde); background: #fff; font-family: var(--tecnico-font);
}
.tecnico-form-grid textarea { min-height: 120px; resize: vertical; }
.tecnico-span-2 { grid-column: span 2; }
.tecnico-span-3 { grid-column: span 3; }
.tecnico-alerta-error,
.tecnico-vacio,
.tecnico-flash { padding: 14px; border-radius: 10px; }
body.tecnico-body.tecnico-dashboard .tecnico-vacio,
body.tecnico-body.tecnico-dashboard .tecnico-flash {
    border-radius: 18px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.tecnico-alerta-error { margin-bottom: 14px; color: #9f1c1c; background: #fdeceb; border: 1px solid #f3c6c3; }
body.tecnico-body.tecnico-dashboard .tecnico-vacio {
    background: rgba(255, 255, 255, 0.34); border: 1px dashed rgba(255, 255, 255, 0.46); color: #72839a;
}
body.tecnico-body.tecnico-dashboard .tecnico-flash {
    border: 1px solid rgba(124, 224, 177, 0.18); background: rgba(47, 157, 98, 0.16); color: #e9fff3;
}
.tecnico-vacio { background: #f8fbff; border: 1px dashed var(--tecnico-borde); color: var(--tecnico-mutado); }
.tecnico-flash { margin-top: 16px; border: 1px solid #c8e7d5; background: #edf9f1; color: #1f6b43; }
.tecnico-collapse-wrap { display: flex; justify-content: flex-start; }
.tecnico-collapse { display: none; width: 100%; }
.tecnico-collapse.is-open { display: block; }
.tecnico-panel-collapse { display: none; }
.tecnico-panel-collapse.is-open { display: block; }
.tecnico-form-grid-interno { margin-top: 12px; }
.tecnico-bloque { border: 1px solid #dce4ee; border-radius: 14px; padding: 18px; background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%); }
.tecnico-bloque-tecnico { border-color: #cfd9e6; background: linear-gradient(180deg, #fbfcff 0%, #f6f9fd 100%); }
.tecnico-bloque-header {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 14px;
    margin-bottom: 16px; border-bottom: 1px solid #e6edf5;
}
.tecnico-bloque-header h2 { margin: 0 0 4px 0; font-size: 22px; }
.tecnico-bloque-header p { margin: 0; color: var(--tecnico-mutado); }
.tecnico-bloque-header-split { display: grid; gap: 4px; }
.tecnico-bloque-header-info { display: grid; justify-items: end; gap: 4px; text-align: right; }
.tecnico-bloque-header-label { color: var(--tecnico-mutado); font-size: 12px; font-weight: bold; text-transform: uppercase; }
.tecnico-bloque-header-info strong { font-size: 18px; color: var(--tecnico-texto); }
.tecnico-bloque-chip {
    display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 4px 10px;
    border-radius: 999px; background: #eef4fb; border: 1px solid #d4e1ef; color: var(--tecnico-azul); font-size: 12px;
    font-weight: bold; white-space: nowrap;
}
.tecnico-form-grid-seccion { gap: 14px 16px; }
.tecnico-caso-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); gap: 16px; align-items: start; }
.tecnico-caso-copy { display: grid; gap: 14px; }
.tecnico-checklist-panel { display: grid; gap: 10px; padding: 14px; border-radius: 12px; border: 1px dashed #d3deec; background: #f9fbfe; }
.tecnico-vendedor-checklist-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr); gap: 16px; align-items: end; }
.tecnico-checklist-panel-compacto { padding: 10px 12px; }
.tecnico-checklist-panel-compacto strong { font-size: 13px; }
.tecnico-caso-prueba-opcion {
    margin-top: 12px; padding: 10px 12px; border: 1px dashed #d3deec; border-radius: 10px; background: #f9fbfe;
}
.tecnico-caso-prueba-opcion small { display: block; margin-top: 3px; color: var(--tecnico-mutado); font-weight: normal; line-height: 1.35; }
.tecnico-filtro-estado { margin: 6px 0 0; color: var(--tecnico-mutado); font-size: 13px; text-align: right; }
.tecnico-checklist-panel-compacto .tecnico-check-item { min-height: 42px; padding: 8px 10px; }
.tecnico-checklist-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tecnico-check-item {
    display: flex; align-items: center; gap: 10px; min-height: 46px; margin: 0; padding: 10px 12px;
    border-radius: 10px; border: 1px solid #dce5f0; background: #fff; font-size: 14px; font-weight: bold;
}
.tecnico-check-item input { width: 18px; height: 18px; margin: 0; min-height: 0; }
.tecnico-fotos-panel { border: 1px dashed #cdd8e6; border-radius: 14px; padding: 16px; background: #fff; }
.tecnico-fotos-collapsible { padding: 12px 16px 16px 16px; }
.tecnico-fotos-panel h3 { margin: 0 0 8px 0; font-size: 18px; }
.tecnico-fotos-panel p { margin: 0; color: var(--tecnico-mutado); line-height: 1.5; }
.tecnico-fotos-panel-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.tecnico-fotos-panel-detalle { margin-top: 2px; }
.tecnico-panel-toggle {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 4px 0;
    border: none; background: transparent; cursor: pointer; text-align: left;
}
.tecnico-panel-toggle-copy { display: grid; gap: 4px; }
.tecnico-panel-toggle-copy strong { font-size: 18px; color: var(--tecnico-texto); }
.tecnico-panel-toggle-copy small { color: var(--tecnico-mutado); font-size: 13px; }
.tecnico-panel-toggle-icon {
    width: 16px; height: 16px; flex: 0 0 16px; border-right: 2px solid var(--tecnico-azul);
    border-bottom: 2px solid var(--tecnico-azul); transform: rotate(45deg); transition: transform 0.2s ease;
    margin-right: 4px;
}
.tecnico-panel-toggle[aria-expanded="true"] .tecnico-panel-toggle-icon { transform: rotate(225deg); }
.tecnico-subseccion-head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding-bottom: 10px;
    border-bottom: 1px solid #e6edf5;
}
.tecnico-subseccion-head h3 { margin: 0 0 4px 0; font-size: 22px; }
.tecnico-subseccion-head p { margin: 0; color: var(--tecnico-mutado); }
.tecnico-subseccion-head-simple { margin-top: 4px; }
.tecnico-resumen-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.tecnico-mini-tag {
    display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 5px 12px;
    border-radius: 999px; border: 1px solid #d7e2f0; background: #f4f8fd; color: var(--tecnico-azul); font-size: 12px;
    font-weight: bold; white-space: nowrap;
}
.tecnico-mini-tag.is-on { background: #eaf6ee; border-color: #c9e4d4; color: #1d6a43; }
.tecnico-apertura-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.tecnico-reporte-topbar { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 14px; align-items: end; }
.tecnico-trabajo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.tecnico-campo-readonly textarea[readonly] { background: #f7f9fc; color: #304055; }
.tecnico-foto-upload { display: grid; gap: 8px; font-weight: bold; font-size: 14px; }
.tecnico-foto-upload input[type="file"] {
    width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--tecnico-borde); background: #fff;
}
.tecnico-fotos-acciones { margin: 10px 0 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.tecnico-fotos-placeholder {
    display: grid; gap: 6px; margin-top: 16px; padding: 14px; border-radius: 12px; background: #f5f9ff;
    border: 1px solid #dbe7f5;
}
.tecnico-fotos-placeholder strong { color: var(--tecnico-azul); }
.tecnico-fotos-placeholder span { color: var(--tecnico-mutado); font-size: 14px; }
.tecnico-fotos-galeria { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.tecnico-fotos-item {
    display: block; padding: 12px; border-radius: 12px; border: 1px solid #dce5f0; background: #fff;
    text-decoration: none; color: var(--tecnico-texto);
}
.tecnico-fotos-item-imagen {
    display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: #f3f6fb;
    border: 1px solid #e3eaf3; margin-bottom: 10px;
}
.tecnico-fotos-item-imagen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tecnico-fotos-item:hover { border-color: #b8cae2; background: #f9fbff; }
.tecnico-fotos-item-nombre { display: block; font-size: 14px; font-weight: bold; line-height: 1.4; word-break: break-word; }
.tecnico-cierre-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.tecnico-doc-auto { min-height: 58px; padding: 10px 12px; border: 1px solid var(--tecnico-borde); border-radius: 12px; background: #f9fbfe; }
.tecnico-doc-auto span { display: block; margin-bottom: 4px; color: var(--tecnico-mutado); font-size: 12px; font-weight: bold; }
.tecnico-doc-auto strong { display: block; font-size: 16px; color: var(--tecnico-texto); }
.tecnico-evidencias-grid { display: grid; grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr); gap: 16px; align-items: start; }
.tecnico-datos-cierre-panel { padding: 14px; border: 1px solid var(--tecnico-borde); border-radius: 12px; background: #fbfcfe; }
.tecnico-datos-cierre-panel h4 { margin: 0 0 12px 0; font-size: 16px; }
.tecnico-cierre-columna,
.tecnico-repuestos-panel { min-width: 0; }
.tecnico-cierre-columna { display: grid; gap: 14px; align-content: start; }
.tecnico-cierre-columna textarea { min-height: 320px; }
.tecnico-cierre-datos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tecnico-campo-bajo { display: block; }
.tecnico-repuestos-panel { border: 1px solid var(--tecnico-borde); border-radius: 12px; padding: 14px; background: #fbfcfe; }
.tecnico-repuestos-panel-principal { display: grid; gap: 12px; align-content: start; }
.tecnico-costos-repuestos-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr); gap: 16px; align-items: start; }
.tecnico-costos-columna-izquierda,
.tecnico-costos-columna-derecha { display: grid; gap: 12px; align-content: start; min-width: 0; }
.tecnico-repuestos-listado { min-width: 0; }
.tecnico-repuestos-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.tecnico-repuestos-head h3 { margin: 0; font-size: 16px; }
.tecnico-repuestos-head p { margin: 4px 0 0 0; color: var(--tecnico-mutado); font-size: 13px; line-height: 1.4; }
.tecnico-repuesto-selector {
    display: grid; grid-template-columns: minmax(0, 2fr) 110px 130px auto; gap: 10px; align-items: end;
    margin-bottom: 12px;
}
.tecnico-repuesto-nuevo { margin-bottom: 12px; padding: 12px; border: 1px dashed #d7dfe8; border-radius: 10px; background: #fff; }
.tecnico-repuesto-nuevo-copy { display: grid; gap: 4px; margin-bottom: 10px; }
.tecnico-repuesto-nuevo-copy span { color: var(--tecnico-mutado); font-size: 13px; }
.tecnico-repuesto-nuevo-form { display: grid; grid-template-columns: minmax(0, 1.8fr) 140px auto; gap: 10px; align-items: end; }
.tecnico-repuesto-feedback { min-height: 20px; margin-top: 8px; font-size: 13px; color: var(--tecnico-mutado); }
.tecnico-repuesto-feedback.ok { color: var(--tecnico-verde); }
.tecnico-repuesto-feedback.error { color: #9f1c1c; }
.tecnico-repuesto-feedback.info { color: var(--tecnico-azul); }
.tecnico-btn-mini,
.tecnico-btn-icon { min-height: 36px; padding: 8px 12px; font-size: 13px; }
.tecnico-btn-icon { min-width: 36px; padding: 8px; }
.tecnico-repuestos-tabla-wrap { overflow-x: auto; }
.tecnico-repuestos-tabla { width: 100%; border-collapse: collapse; table-layout: fixed; }
.tecnico-repuestos-tabla th,
.tecnico-repuestos-tabla td {
    padding: 8px 6px; border-bottom: 1px solid #e7ecf2; text-align: left; vertical-align: middle; font-size: 13px;
}
.tecnico-repuestos-tabla th:nth-child(1) { width: 42%; }
.tecnico-repuestos-tabla th:nth-child(2) { width: 14%; }
.tecnico-repuestos-tabla th:nth-child(3) { width: 18%; }
.tecnico-repuestos-tabla th:nth-child(4) { width: 18%; }
.tecnico-repuestos-tabla th:nth-child(5) { width: 8%; }
.tecnico-repuestos-tabla input { margin-top: 0; min-height: 36px; padding: 8px 10px; font-size: 13px; }
.tecnico-repuesto-subtotal { display: inline-block; min-width: 78px; font-weight: bold; }
.tecnico-repuestos-vacio { margin-top: 10px; color: var(--tecnico-mutado); font-size: 13px; }
.tecnico-repuestos-totales { display: grid; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #e2e8f0; }
.tecnico-repuestos-totales-limpios { padding: 0; margin-top: 8px; border-top: none; align-content: start; }
.tecnico-repuestos-totales label { font-size: 14px; font-weight: bold; }
.tecnico-total-linea { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.tecnico-total-linea strong { font-size: 16px; }
.tecnico-total-general { padding-top: 10px; border-top: 1px dashed #ccd6e2; }
.tecnico-reporte-shell { max-width: 980px; width: 100%; margin: 0 auto; }
.tecnico-reporte-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.tecnico-btn-toolbar {
    display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px;
    border: 1px solid var(--tecnico-borde); border-radius: 12px; background: #fff; text-decoration: none;
}
.tecnico-reporte-header .tecnico-header-copy { text-align: center; }
.tecnico-reporte-header-doc { padding-top: 14px; }
.tecnico-doc-head-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 14px; align-items: stretch; }
.tecnico-doc-brand { display: grid; align-content: start; justify-items: center; gap: 8px; text-align: center; }
.tecnico-doc-brand .tecnico-logo { width: 270px; justify-self: center; }
.tecnico-doc-brand-copy span { display: block; font-size: 15px; color: var(--tecnico-mutado); text-transform: uppercase; letter-spacing: 0.2px; }
.tecnico-doc-brand-copy p { margin: 0 0 4px 0; font-size: 18px; line-height: 1.35; color: var(--tecnico-texto); }
.tecnico-doc-brand-copy strong { display: block; margin-top: 2px; font-size: 38px; color: var(--tecnico-azul-oscuro); }
.tecnico-doc-intervencion { display: grid; gap: 10px; }
.tecnico-doc-intervencion-metas { display: grid; gap: 0; }
.tecnico-doc-intervencion-metas-resumen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tecnico-doc-head-cell,
.tecnico-doc-cliente-box { border: 1px solid #cfd8e4; background: #fff; }
.tecnico-doc-head-cell { min-width: 0; padding: 8px 10px; }
.tecnico-doc-head-cell span,
.tecnico-doc-cliente-box span,
.tecnico-doc-cliente-meta span { display: block; font-size: 12px; line-height: 1.2; }
.tecnico-doc-head-cell strong { display: block; margin-top: 6px; font-size: 17px; line-height: 1.2; text-align: center; }
.tecnico-doc-cliente-box { padding: 8px 10px; background: #fff; }
.tecnico-doc-cliente-box > div > strong { display: block; margin-top: 6px; color: var(--tecnico-texto); font-size: 20px; }
.tecnico-doc-cliente-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin-top: 10px; }
.tecnico-doc-cliente-meta strong { display: block; margin-top: 4px; font-size: 14px; color: var(--tecnico-texto); }
.tecnico-reporte-header,
.tecnico-reporte-section,
.tecnico-firmas-wrap { max-width: 980px; margin-left: auto; margin-right: auto; }
.tecnico-doc-panel { border-radius: 8px; }
.tecnico-doc-band {
    margin: -14px -16px 12px -16px; padding: 8px 14px; background: #244f84; color: #fff; font-size: 14px;
    font-weight: bold; letter-spacing: 0.2px;
}
.tecnico-reporte-section h2 { margin: 0 0 8px 0; font-size: 16px; }
.tecnico-reporte-span { grid-column: span 2; }
.tecnico-reporte-texto { min-height: 0; line-height: 1.45; }
.tecnico-reporte-texto-compacto { min-height: 0; }
.tecnico-reporte-parrafo { margin: 0 0 0.75em; orphans: 3; widows: 3; }
.tecnico-reporte-parrafo:last-child { margin-bottom: 0; }
.tecnico-doc-detalle-col { display: grid; align-content: start; gap: 18px; min-width: 0; }
.tecnico-doc-note h2 { break-after: avoid; page-break-after: avoid; }
.tecnico-reporte-tabla { width: 100%; border-collapse: collapse; margin-top: 6px; }
.tecnico-reporte-tabla th,
.tecnico-reporte-tabla td { padding: 7px 8px; border-bottom: 1px solid #dfe5ec; text-align: left; font-size: 13px; }
.tecnico-reporte-tabla tfoot td { font-weight: bold; }
.tecnico-reporte-tabla-resumen td:last-child,
.tecnico-reporte-total-final td:last-child { text-align: right; font-weight: bold; }
.tecnico-reporte-total-final td { font-weight: bold; }
.tecnico-firmas-wrap { margin-bottom: 20px; }
.tecnico-firmas-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 18px; }
.tecnico-firma-box {
    min-height: 72px; border-top: 2px solid #aeb8c6; display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 10px; padding-top: 12px; text-align: center; color: var(--tecnico-mutado);
    font-weight: bold;
}
.tecnico-firma-nombre { display: block; color: var(--tecnico-texto); font-size: 15px; }
.tecnico-firma-digital-panel {
    border: 1px solid rgba(148, 163, 184, 0.34); border-radius: 18px; padding: 18px;
    background: rgba(255, 255, 255, 0.78);
}
.tecnico-bloque-header-compacto { margin-bottom: 12px; padding-bottom: 10px; }
.tecnico-firma-digital-wrap { border: 1px dashed rgba(37, 85, 140, 0.34); border-radius: 16px; padding: 10px; background: rgba(255, 255, 255, 0.86); }
.tecnico-firma-canvas { display: block; width: 100%; height: 180px; border-radius: 12px; background: #fff; cursor: crosshair; touch-action: none; }
.tecnico-firma-digital-actions {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px;
    color: var(--tecnico-mutado); font-size: 13px;
}
.tecnico-firma-digital-form {
    width: 100%; margin-top: 14px; padding: 12px; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 14px;
    background: rgba(248, 250, 252, 0.84);
}
.tecnico-firma-digital-form .tecnico-firma-canvas { height: 150px; }
.tecnico-firma-imagen { display: block; max-width: 240px; max-height: 72px; margin: 0 auto 8px; object-fit: contain; }
.tecnico-doc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.tecnico-doc-field { display: grid; gap: 4px; min-width: 0; }
.tecnico-doc-field span { color: var(--tecnico-mutado); font-size: 12px; font-weight: bold; text-transform: uppercase; }
.tecnico-doc-field strong { font-size: 14px; line-height: 1.35; word-break: break-word; }
.tecnico-doc-two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tecnico-doc-one-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.tecnico-doc-two-col-cierre { align-items: start; }
.tecnico-doc-note { min-width: 0; }
.tecnico-doc-one-col .tecnico-doc-note { padding: 10px 12px; border: 1px solid #dbe4ef; border-radius: 8px; background: #fff; }
.tecnico-doc-one-col .tecnico-doc-note + .tecnico-doc-note { margin-top: 2px; }
.tecnico-doc-totals { display: grid; gap: 8px; margin-top: 12px; padding: 12px; border: 1px solid #dbe4ef; border-radius: 8px; background: #f9fbfd; }
.tecnico-doc-total-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }
.tecnico-doc-total-final { padding-top: 8px; border-top: 1px dashed #cfd8e4; font-size: 14px; }
.tecnico-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
.tecnico-publico-constancia { display: grid; gap: 12px; margin-bottom: 18px; }
.tecnico-publico-constancia .tecnico-reporte-toolbar { margin-bottom: 0; }
.tecnico-publico-constancia-doc {
    border: 1px solid #cfd8e4; border-top: 2px solid #2458e6; border-radius: 10px;
    background: #ffffff; overflow: hidden;
}
.tecnico-publico-constancia-header {
    display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(160px, 0.8fr) minmax(140px, 0.7fr);
    border-bottom: 1px solid #d8e1ec;
}
.tecnico-publico-constancia-header > div { min-width: 0; padding: 12px 14px; border-right: 1px solid #d8e1ec; }
.tecnico-publico-constancia-header > div:last-child { border-right: 0; }
.tecnico-publico-constancia-header span,
.tecnico-publico-constancia-section h2 {
    color: #64748b; font-size: 12px; font-weight: 700; text-transform: uppercase;
}
.tecnico-publico-constancia-header strong {
    display: block; margin-top: 5px; color: #0f172a; font-size: 18px;
}
.tecnico-publico-constancia-section { padding: 14px; border-bottom: 1px solid #d8e1ec; }

.tecnico-login-lock .tecnico-shell { position: relative; }
.tecnico-lock-screen { position: relative; min-height: 520px; }
.tecnico-lock-preview {
    filter: blur(4px); opacity: 0.55; pointer-events: none; user-select: none;
}
.tecnico-login-overlay {
    position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 20px;
    background: rgba(15, 23, 42, 0.32);
}
.tecnico-login-card {
    width: min(420px, 100%); display: grid; gap: 14px; padding: 24px; border-radius: 18px;
    border: 1px solid #dbe4f0; background: #ffffff; box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
}
.tecnico-login-card h2 { margin: 0; font-size: 24px; color: #0f172a; }
.tecnico-login-card p { margin: 0; color: #64748b; line-height: 1.5; }
.tecnico-login-card label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: #0f172a; }
.tecnico-login-card input {
    width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #dbe4f0; border-radius: 10px;
    font-family: var(--tecnico-font); font-size: 15px;
}
.tecnico-login-card button { width: 100%; justify-content: center; }

.tecnico-card-actions-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tecnico-cotizacion-form .tecnico-repuestos-totales label + label { margin-top: 10px; }
.tecnico-cotizacion-documento,
.tecnico-documento {
    max-width: 980px; margin: 0 auto 24px; padding: 24px; border: 1px solid #cfd8e4; border-radius: 12px;
    background: #ffffff; color: #0f172a;
}
body.tecnico-cotizacion-print .tecnico-header { display: none; }
body.tecnico-cotizacion-print .tecnico-main { margin-top: 0; }
.tecnico-documento-header {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
    padding-bottom: 16px; border-bottom: 2px solid #244f84;
}
.tecnico-documento-label {
    margin: 0 0 4px; color: #64748b; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}
.tecnico-documento-header h2 { margin: 0; font-size: 30px; color: #102f57; }
.tecnico-documento-header p { margin: 4px 0 0; color: #475569; }
.tecnico-documento-estado { display: grid; justify-items: end; gap: 8px; text-align: right; }
.tecnico-documento-estado small { color: #64748b; font-weight: 700; }
.tecnico-documento-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.tecnico-documento-grid > div,
.tecnico-documento-bloque,
.tecnico-documento-totales {
    border: 1px solid #dbe4ef; border-radius: 10px; padding: 14px; background: #fbfcfe;
}
.tecnico-documento h3 { margin: 0 0 8px; color: #102f57; font-size: 15px; }
.tecnico-documento p { margin: 4px 0; line-height: 1.5; }
.tecnico-documento-bloque { margin-top: 14px; }
.tecnico-documento-tabla { width: 100%; border-collapse: collapse; }
.tecnico-documento-tabla th,
.tecnico-documento-tabla td { padding: 8px 10px; border-bottom: 1px solid #dbe4ef; text-align: left; font-size: 13px; }
.tecnico-documento-tabla th { color: #64748b; text-transform: uppercase; font-size: 11px; }
.tecnico-documento-tabla td:nth-child(n+2),
.tecnico-documento-tabla th:nth-child(n+2) { text-align: right; }
.tecnico-documento-totales { display: grid; gap: 8px; margin-top: 14px; margin-left: auto; width: min(440px, 100%); }
.tecnico-documento-totales > div { display: flex; justify-content: space-between; gap: 12px; }
.tecnico-documento-totales strong { white-space: nowrap; }

@media (max-width: 760px) {
    .tecnico-documento-header,
    .tecnico-documento-grid:not(.tecnico-documento-grid-cliente-equipo) { grid-template-columns: 1fr; display: grid; }
    .tecnico-documento-estado { justify-items: start; text-align: left; }
}
@media (max-width: 560px) {
    .tecnico-documento-grid-cliente-equipo { grid-template-columns: 1fr; }
}
.tecnico-publico-constancia-section h2 { margin: 0 0 10px; }
.tecnico-publico-constancia-footer {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 14px; background: #f8fafc; color: #475569; font-size: 13px;
}
.tecnico-publico-constancia-footer strong { color: #0f172a; font-size: 16px; }
@media (max-width: 980px) {
    .tecnico-stats-grid,
    .tecnico-cards-grid,
    .tecnico-form-grid,
    .tecnico-grid-3,
    .tecnico-cierre-grid,
    .tecnico-reporte-topbar,
    .tecnico-trabajo-grid,
    .tecnico-evidencias-grid,
    .tecnico-costos-repuestos-grid,
    .tecnico-caso-grid,
    .tecnico-doc-head-grid,
    .tecnico-doc-grid,
    .tecnico-doc-two-col {
        grid-template-columns: 1fr;
    }
    .tecnico-doc-brand { justify-items: center; }
    .tecnico-doc-intervencion-metas,
    .tecnico-doc-cliente-meta,
    .tecnico-publico-constancia-header { grid-template-columns: 1fr; }
    .tecnico-publico-constancia-header > div { border-right: 0; border-bottom: 1px solid #d8e1ec; }
    .tecnico-publico-constancia-header > div:last-child { border-bottom: 0; }
    .tecnico-fotos-galeria { grid-template-columns: 1fr; }
    .tecnico-repuesto-selector,
    .tecnico-repuesto-nuevo-form,
    .tecnico-cierre-datos,
    .tecnico-checklist-grid,
    .tecnico-apertura-grid {
        grid-template-columns: 1fr;
    }
    .tecnico-card-meta { grid-template-columns: 1fr; }
    .tecnico-span-2 { grid-column: span 1; }
    .tecnico-span-3 { grid-column: span 1; }
    .tecnico-reporte-span { grid-column: span 1; }
    .tecnico-firmas-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .tecnico-header-top,
    .tecnico-actions-row,
    .tecnico-panel-header,
    .tecnico-form-actions { grid-template-columns: 1fr; display: grid; }
    .tecnico-bloque-header { grid-template-columns: 1fr; display: grid; }
    .tecnico-fotos-panel-top { grid-template-columns: 1fr; display: grid; }
    .tecnico-card-footer,
    .tecnico-subseccion-head,
    .tecnico-resumen-tags,
    .tecnico-bloque-header {
        grid-template-columns: 1fr; display: grid;
    }
    .tecnico-card-vendedor { text-align: left; }
    .tecnico-bloque-header-info { justify-items: start; text-align: left; }
    .tecnico-card-actions { grid-template-columns: 1fr; }
    .tecnico-link-secundario:last-child,
    .tecnico-logo { justify-self: center; }
}
@media print {
    @page {
        size: A4;
        margin: 6mm;
    }
    * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .no-print { display: none !important; }
    .tecnico-reporte-toolbar,
    .tecnico-reporte-toolbar .no-print,
    .tecnico-header-top,
    .tecnico-header-top.no-print,
    .tecnico-header-top .no-print {
        display: none !important;
    }
    body.tecnico-body { background: #fff; color: #111; font-size: 11.5px; margin: 0; }
    .tecnico-shell,
    .tecnico-reporte-shell,
    .tecnico-main {
        display: block !important; width: 100% !important; max-width: none !important; min-height: auto !important;
        margin: 0 !important; padding: 0 !important;
    }
    .tecnico-header,
    .tecnico-form-wrap,
    .tecnico-reporte-section,
    .tecnico-publico-constancia-doc,
    .tecnico-reporte-header,
    .tecnico-firmas-wrap {
        display: block !important; width: 100% !important; max-width: none !important; margin: 0 0 5px 0 !important;
        padding: 7px 9px !important; border-radius: 0 !important; box-shadow: none !important;
        border-color: #d7dce3 !important;
    }
    .tecnico-publico-constancia { margin: 0 !important; }
    .tecnico-publico-constancia-doc {
        border: 1px solid #d7dce3 !important; border-top: 2px solid #2458e6 !important; padding: 0 !important;
    }
    .tecnico-publico-constancia-section { padding: 3mm !important; }
    .tecnico-publico-constancia-header > div,
    .tecnico-publico-constancia-footer { padding: 3mm !important; }
    .tecnico-publico-constancia-header { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.7fr) !important; }
    .tecnico-reporte-header { padding-top: 12px !important; padding-bottom: 12px !important; border: none !important; }
    .tecnico-doc-head-grid {
        display: grid !important; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) !important;
        gap: 12px !important; align-items: stretch !important;
    }
    .tecnico-doc-brand { display: grid !important; justify-items: center !important; gap: 6px !important; text-align: center !important; }
    .tecnico-doc-brand .tecnico-logo {
        width: 165px !important; max-width: 165px !important; display: block !important; margin: 0 !important;
        justify-self: center !important;
    }
    .tecnico-doc-brand-copy span { font-size: 11px !important; }
    .tecnico-doc-brand-copy p { font-size: 12px !important; margin: 0 0 2px 0 !important; line-height: 1.2 !important; }
    .tecnico-doc-brand-copy strong { font-size: 26px !important; margin-top: 0 !important; }
    .tecnico-doc-intervencion-metas-resumen { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .tecnico-doc-head-cell { padding: 6px 7px !important; }
    .tecnico-doc-head-cell span,
    .tecnico-doc-cliente-box span,
    .tecnico-doc-cliente-meta span { font-size: 9.5px !important; }
    .tecnico-doc-head-cell strong { margin-top: 5px !important; font-size: 13px !important; }
    .tecnico-doc-cliente-box { padding: 6px 7px !important; }
    .tecnico-doc-cliente-box > strong { margin-top: 5px !important; font-size: 15px !important; }
    .tecnico-doc-cliente-meta { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 6px 10px !important; margin-top: 10px !important; }
    .tecnico-doc-cliente-meta strong { font-size: 10.5px !important; margin-top: 2px !important; }
    .tecnico-reporte-section h2 { font-size: 10.5px !important; margin: 0 0 3px 0 !important; text-transform: uppercase; letter-spacing: 0.2px; }
    .tecnico-doc-panel { border-radius: 0 !important; }
    .tecnico-doc-band { margin: -7px -9px 7px -9px !important; padding: 5px 9px !important; font-size: 11.5px !important; }
    .tecnico-doc-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 9px 18px !important; }
    .tecnico-doc-two-col { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
    .tecnico-doc-one-col { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 6px !important; }
    .tecnico-doc-two-col-cierre { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) !important; }
    .tecnico-doc-field { display: grid !important; gap: 2px !important; min-width: 0 !important; }
    .tecnico-doc-field span,
    .tecnico-mini-tag,
    .tecnico-doc-total-row { font-size: 10.5px !important; }
    .tecnico-doc-field strong,
    .tecnico-firma-nombre { font-size: 12px !important; line-height: 1.2 !important; }
    .tecnico-doc-note,
    .tecnico-reporte-texto { min-height: 0 !important; }
    .tecnico-reporte-texto,
    .tecnico-reporte-tabla th,
    .tecnico-reporte-tabla td {
        font-size: 10.5px !important; line-height: 1.3 !important;
    }
    .tecnico-reporte-texto p,
    .tecnico-reporte-texto br { margin: 0 !important; }
    .tecnico-doc-totals { display: grid !important; gap: 5px !important; margin-top: 6px !important; padding: 7px 9px !important; }
    .tecnico-doc-total-final { padding-top: 5px !important; font-size: 10.5px !important; }
    .tecnico-reporte-tabla { margin-top: 3px !important; width: 100% !important; }
    .tecnico-reporte-tabla th,
    .tecnico-reporte-tabla td { padding: 4px 5px !important; font-size: 9.8px !important; }
    .tecnico-firmas-wrap { margin-top: 16mm !important; padding-top: 10px !important; }
    .tecnico-firmas-grid {
        display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px !important;
        padding-top: 8px !important;
    }
    .tecnico-firma-box {
        position: relative !important; min-height: 28mm !important; border-top: none !important;
        display: flex !important; flex-direction: column !important; justify-content: flex-end !important;
        align-items: center !important; gap: 2px !important; padding: 0 6px 2px 6px !important;
        text-align: center !important;
    }
    .tecnico-firma-box::before {
        content: "" !important; position: absolute !important; left: 0 !important; right: 0 !important;
        bottom: 20px !important; border-top: 1.5px solid #aeb8c6 !important;
    }
    .tecnico-firma-box span {
        font-size: 10px !important; position: relative !important; z-index: 1 !important; background: #fff !important;
        padding: 0 6px !important;
    }
    .tecnico-firma-imagen {
        max-width: 52mm !important; max-height: 16mm !important; margin: 0 auto 4px !important;
        position: relative !important; z-index: 2 !important; background: #fff !important;
    }
}
.tecnico-flash-ok,
.tecnico-flash.exito,
.tecnico-flash.ok {
    color: #0f5132 !important; background: #f0fff6 !important; border-color: #b9e8ce !important;
}
.tecnico-flash-error,
.tecnico-flash.error { color: #842029 !important; background: #fff5f5 !important; border-color: #f1b8bd !important; }
body.tecnico-body.tecnico-dashboard .tecnico-stat-filter.is-active,
body.tecnico-body.tecnico-dashboard .tecnico-stat-filter.is-active * {
    color: #102746 !important;
}
.tecnico-modal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tecnico-modal-grid-actions { align-items: end; margin-top: 14px; }
.tecnico-modal-grid-actions .tecnico-modal-actions {
    display: grid; grid-template-columns: minmax(96px, 0.95fr) minmax(142px, 1.25fr);
    align-items: end; gap: 10px; margin-top: 0;
}
.tecnico-modal-grid-actions .tecnico-modal-actions form { margin: 0; }
.tecnico-modal-grid-actions .tecnico-modal-actions .tecnico-btn {
    width: 100%; min-height: 42px; padding-inline: 10px; white-space: nowrap;
}
.tecnico-reporte-row-main { min-width: 0; }
.tecnico-reportes-lista { display: grid; gap: 10px; }
.tecnico-reporte-row {
    display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; padding: 14px 16px;
    border: 1px solid #dbe5f0; border-radius: 14px; background: #ffffff;
}
.tecnico-reporte-row-main { display: grid; grid-template-columns: 120px 1.4fr 1.4fr 1fr 1fr; align-items: center; gap: 12px; color: #52647b; }
.tecnico-reporte-row-main strong { color: #102746; }
.tecnico-repuesto-selector input[list],
#catalogoRepuestoInput { width: 100%; }
.tecnico-doc-head-cell-doc { grid-column: 1 / -1; text-align: center; }
.tecnico-doc-head-cell-doc strong { font-size: 22px; }
@media (max-width: 760px) {
    .tecnico-modal-grid,
    .tecnico-reporte-row,
    .tecnico-reporte-row-main { grid-template-columns: 1fr; }
    .tecnico-modal-grid-actions .tecnico-modal-actions { grid-template-columns: 1fr; }
}
.tecnico-reporte-row-equipos { grid-template-columns: 1fr 1fr 1.4fr; }
.tecnico-equipo-modelo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; }
.tecnico-equipos-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tecnico-equipo-grupo {
    padding: 14px; border: 1px solid #dbe5f0; border-radius: 18px; background: #ffffff;
    box-shadow: 0 12px 26px rgba(20, 40, 70, 0.04);
}
.tecnico-equipo-grupo-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.tecnico-equipo-grupo-header h3 { margin: 0; color: #102746; font-size: 18px; }
.tecnico-equipo-grupo-header span { color: #6f7f95; font-size: 13px; }
.tecnico-equipo-modelos { display: grid; gap: 8px; }
.tecnico-equipo-modelo {
    display: grid; grid-template-columns: minmax(90px, 0.75fr) minmax(120px, 1fr) auto; align-items: center;
    gap: 10px; min-height: 44px; padding: 8px 10px; border: 1px solid #edf2f8; border-radius: 12px;
    background: #fbfdff;
}
.tecnico-equipo-linea { color: #5f7087; font-size: 13px; }
.tecnico-equipo-modelo strong { color: #102746; }
@media (max-width: 760px) {
    .tecnico-reporte-row-equipos { grid-template-columns: 1fr; }
    .tecnico-equipo-modelo-grid,
    .tecnico-equipos-grid,
    .tecnico-equipo-modelo,
    .tecnico-vendedor-checklist-grid {
        grid-template-columns: 1fr;
    }
}
body.tecnico-reporte-moderno { background: #f3f6fb; }
body.tecnico-reporte-moderno .tecnico-reporte-shell { max-width: 1000px; }
body.tecnico-reporte-moderno .tecnico-reporte-toolbar { max-width: 1000px; margin: 0 auto 12px; }
body.tecnico-reporte-moderno .tecnico-btn-toolbar { border-radius: 10px; background: #ffffff; color: #244f84; }
body.tecnico-reporte-moderno .tecnico-reporte-header { padding: 0; overflow: hidden; border: 1px solid #d7e0eb; background: #ffffff; }
body.tecnico-reporte-moderno .tecnico-doc-head-grid { grid-template-columns: minmax(0, 1fr) minmax(420px, 0.94fr); gap: 0; }
body.tecnico-reporte-moderno .tecnico-doc-brand { align-content: center; border-right: 1px solid #dce4ee; }
body.tecnico-reporte-moderno .tecnico-doc-brand-copy { display: grid; gap: 4px; justify-items: center; }
body.tecnico-reporte-moderno .tecnico-doc-brand-copy p { margin: 0; line-height: 1.28; color: #16243a; }
body.tecnico-reporte-moderno .tecnico-doc-brand-copy span { margin-top: 4px; color: #66758b; font-size: 14px; letter-spacing: 0.7px; }
body.tecnico-reporte-moderno .tecnico-doc-brand-copy strong { margin-top: 0; color: #0f3a69; line-height: 1; }
body.tecnico-reporte-moderno .tecnico-doc-intervencion { gap: 10px; padding: 16px; }
body.tecnico-reporte-moderno .tecnico-doc-intervencion-metas-resumen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.tecnico-reporte-moderno .tecnico-doc-head-cell-doc { grid-column: 1 / -1; }
body.tecnico-reporte-moderno .tecnico-doc-head-cell,
body.tecnico-reporte-moderno .tecnico-doc-cliente-box {
    border-color: #cbd6e4; background: #ffffff;
}
body.tecnico-reporte-moderno .tecnico-doc-head-cell { min-height: 58px; padding: 10px 12px; }
body.tecnico-reporte-moderno .tecnico-doc-head-cell span,
body.tecnico-reporte-moderno .tecnico-doc-cliente-box span,
body.tecnico-reporte-moderno .tecnico-doc-cliente-meta span {
    color: #526176; font-size: 12px;
}
body.tecnico-reporte-moderno .tecnico-doc-head-cell strong { color: #050b17; font-size: 18px; }
body.tecnico-reporte-moderno .tecnico-doc-head-cell-doc strong { font-size: 34px; }
body.tecnico-reporte-moderno .tecnico-doc-cliente-box { padding: 12px; }
body.tecnico-reporte-moderno .tecnico-doc-cliente-box > div > strong { color: #0b1628; font-size: 22px; }
body.tecnico-reporte-moderno .tecnico-doc-panel {
    max-width: none; margin: 0; padding: 24px 30px 26px; border: 0; border-radius: 0; background: transparent;
    box-shadow: none;
}
body.tecnico-reporte-moderno .tecnico-reporte-section + .tecnico-reporte-section { border-top: 1px solid #d8e1ec; }
body.tecnico-reporte-moderno .tecnico-doc-band {
    display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 12px; align-items: center; margin: 0 0 20px;
    padding: 0; background: transparent; color: #0b1628; font-size: 16px;
}
body.tecnico-reporte-moderno .tecnico-doc-band span {
    display: inline-grid; width: 24px; height: 24px; place-items: center; border-radius: 999px; background: #dbe8ff;
    color: #2458e6; font-weight: 800; font-size: 13px;
}
body.tecnico-reporte-moderno .tecnico-doc-band strong { font-size: 16px; font-weight: 800; }
body.tecnico-reporte-moderno .tecnico-doc-band i { display: block; height: 1px; background: #d8e1ec; }
body.tecnico-reporte-moderno .tecnico-doc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 34px; }
body.tecnico-reporte-moderno .tecnico-doc-field span,
body.tecnico-reporte-moderno .tecnico-doc-note h2 {
    color: #66758b; font-size: 12px; font-weight: 800; letter-spacing: 0.45px; text-transform: uppercase;
}
body.tecnico-reporte-moderno .tecnico-doc-field strong { margin-top: 4px; color: #050b17; font-size: 15px; }
body.tecnico-reporte-moderno .tecnico-doc-detalle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 34px; }
body.tecnico-reporte-moderno .tecnico-doc-note { min-width: 0; }
body.tecnico-reporte-moderno .tecnico-reporte-texto { color: #111827; font-size: 15px; line-height: 1.55; }
body.tecnico-reporte-moderno .tecnico-reporte-parrafo,
body.tecnico-reporte-moderno .tecnico-doc-field strong,
body.tecnico-reporte-moderno .tecnico-doc-head-cell strong,
body.tecnico-reporte-moderno .tecnico-doc-cliente-box strong,
body.tecnico-reporte-moderno .tecnico-reporte-tabla th,
body.tecnico-reporte-moderno .tecnico-reporte-tabla td,
body.tecnico-reporte-moderno .tecnico-firma-nombre {
    overflow-wrap: anywhere;
    word-break: normal;
}
body.tecnico-reporte-moderno .tecnico-doc-costos-grid {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); gap: 34px; align-items: start;
}
body.tecnico-reporte-moderno .tecnico-reporte-tabla { margin-top: 8px; }
body.tecnico-reporte-moderno .tecnico-reporte-tabla th { color: #334155; font-weight: 800; }
body.tecnico-reporte-moderno .tecnico-reporte-tabla th,
body.tecnico-reporte-moderno .tecnico-reporte-tabla td {
    padding: 9px 10px; border-bottom: 1px solid #dce4ee; color: #111827; font-size: 14px;
}
body.tecnico-reporte-moderno .tecnico-reporte-tabla-resumen td:last-child { text-align: right; }
body.tecnico-reporte-moderno .tecnico-reporte-total-final td { color: #061022; font-weight: 900; }
body.tecnico-reporte-moderno .tecnico-doc-empty-line {
    margin-top: 12px; padding: 10px 0; color: #64748b; border-top: 1px solid #dce4ee;
    border-bottom: 1px solid #dce4ee;
}
body.tecnico-reporte-moderno .tecnico-firmas-wrap { margin-bottom: 0; }
body.tecnico-reporte-moderno .tecnico-firmas-grid { gap: 42px; padding-top: 22px; }
body.tecnico-reporte-moderno .tecnico-firma-box {
    position: relative; min-height: 168px; padding-top: 26px; border-top: 1.5px solid #94a3b8;
    justify-content: center;
}
body.tecnico-reporte-moderno .tecnico-firma-box span { color: #56657a; font-size: 15px; font-weight: 800; }
body.tecnico-reporte-moderno .tecnico-firma-digital-form { margin-top: 18px; border-color: #d8e1ec; background: #ffffff; }
body.tecnico-reporte-moderno .tecnico-firma-digital-wrap { border-color: #bfd0e4; background: #ffffff; }
body.tecnico-reporte-moderno .tecnico-firma-canvas { height: 150px; }
body.tecnico-reporte-moderno .tecnico-reporte-footer {
    display: flex; justify-content: space-between; gap: 14px; max-width: 1000px; margin: 12px auto 0;
    padding: 12px 20px; color: #66758b; font-size: 12px;
}
body.tecnico-reporte-moderno .tecnico-reporte-section,
body.tecnico-reporte-moderno .tecnico-firmas-wrap { width: 100%; }
@media (max-width: 820px) {
    body.tecnico-reporte-moderno .tecnico-doc-head-grid,
    body.tecnico-reporte-moderno .tecnico-doc-grid,
    body.tecnico-reporte-moderno .tecnico-doc-detalle-grid,
    body.tecnico-reporte-moderno .tecnico-doc-costos-grid,
    body.tecnico-reporte-moderno .tecnico-firmas-grid {
        grid-template-columns: 1fr;
    }
    body.tecnico-reporte-moderno .tecnico-doc-brand { min-height: auto; border-right: 0; border-bottom: 1px solid #dce4ee; }
}
@media print {
    body.tecnico-reporte-moderno { background: #ffffff !important; font-size: 11px !important; }
    body.tecnico-reporte-moderno .tecnico-reporte-shell,
    body.tecnico-reporte-moderno .tecnico-main,
    body.tecnico-reporte-moderno .tecnico-reporte-header,
    body.tecnico-reporte-moderno .tecnico-reporte-section,
    body.tecnico-reporte-moderno .tecnico-firmas-wrap,
    body.tecnico-reporte-moderno .tecnico-reporte-footer {
        width: 100% !important; max-width: none !important;
    }
    body.tecnico-reporte-moderno .tecnico-reporte-header {
        margin: 0 0 5px !important; border: 1px solid #d7dce3 !important; border-radius: 0 !important;
        box-shadow: none !important; overflow: hidden !important;
    }
    body.tecnico-reporte-moderno .tecnico-doc-head-grid {
        display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: 0 !important;
    }
    body.tecnico-reporte-moderno .tecnico-doc-brand {
        min-height: 62mm !important; padding: 9mm 8mm !important; border-right: 1px solid #d7dce3 !important;
        border-bottom: 0 !important;
    }
    body.tecnico-reporte-moderno .tecnico-doc-brand .tecnico-logo { width: 56mm !important; max-width: 56mm !important; }
    body.tecnico-reporte-moderno .tecnico-doc-brand-copy p { font-size: 10.5px !important; }
    body.tecnico-reporte-moderno .tecnico-doc-brand-copy strong { font-size: 23px !important; }
    body.tecnico-reporte-moderno .tecnico-doc-intervencion { padding: 0 !important; gap: 0 !important; }
    body.tecnico-reporte-moderno .tecnico-doc-head-cell,
    body.tecnico-reporte-moderno .tecnico-doc-cliente-box {
        border-color: #d7dce3 !important;
    }
    body.tecnico-reporte-moderno .tecnico-doc-head-cell { min-height: 12mm !important; padding: 2.4mm 3mm !important; }
    body.tecnico-reporte-moderno .tecnico-doc-head-cell-doc { min-height: 14mm !important; }
    body.tecnico-reporte-moderno .tecnico-doc-head-cell span,
    body.tecnico-reporte-moderno .tecnico-doc-cliente-box span,
    body.tecnico-reporte-moderno .tecnico-doc-cliente-meta span {
        font-size: 8.5px !important;
    }
    body.tecnico-reporte-moderno .tecnico-doc-head-cell strong { font-size: 10.5px !important; margin-top: 2mm !important; }
    body.tecnico-reporte-moderno .tecnico-doc-head-cell-doc strong { font-size: 19px !important; }
    body.tecnico-reporte-moderno .tecnico-doc-cliente-box { padding: 3mm !important; }
    body.tecnico-reporte-moderno .tecnico-doc-cliente-box > div > strong { font-size: 13px !important; }
    body.tecnico-reporte-moderno .tecnico-reporte-section,
    body.tecnico-reporte-moderno .tecnico-firmas-wrap {
        margin: 0 !important; padding: 5mm !important; border: 0 !important; border-radius: 0 !important;
        box-shadow: none !important;
    }
    body.tecnico-reporte-moderno .tecnico-main {
        display: block !important; max-width: none !important; margin: 0 !important;
        border: 1px solid #d7dce3 !important; border-top: 2px solid #2458e6 !important; border-radius: 0 !important;
        box-shadow: none !important; background: #fff !important;
    }
    body.tecnico-reporte-moderno .tecnico-reporte-section + .tecnico-reporte-section { border-top: 1px solid #d7dce3 !important; }
    body.tecnico-reporte-moderno .tecnico-doc-band {
        grid-template-columns: auto auto minmax(0, 1fr) !important; gap: 8px !important; margin: 0 0 4mm !important;
        padding: 0 !important; background: transparent !important; color: #111827 !important;
    }
    body.tecnico-reporte-moderno .tecnico-doc-band span {
        width: 18px !important; height: 18px !important; color: #2458e6 !important; background: #dbe8ff !important;
        font-size: 10px !important;
    }
    body.tecnico-reporte-moderno .tecnico-doc-band strong { color: #111827 !important; font-size: 11.5px !important; }
    body.tecnico-reporte-moderno .tecnico-doc-band i { background: #d7dce3 !important; }
    body.tecnico-reporte-moderno .tecnico-doc-grid {
        display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 4mm 8mm !important;
    }
    body.tecnico-reporte-moderno .tecnico-doc-detalle-grid,
    body.tecnico-reporte-moderno .tecnico-doc-costos-grid,
    body.tecnico-reporte-moderno .tecnico-firmas-grid {
        display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 7mm !important;
    }
    body.tecnico-reporte-moderno .tecnico-doc-field span,
    body.tecnico-reporte-moderno .tecnico-doc-note h2 { font-size: 8.8px !important; }
    body.tecnico-reporte-moderno .tecnico-doc-field strong,
    body.tecnico-reporte-moderno .tecnico-reporte-texto {
        font-size: 10.4px !important; line-height: 1.35 !important;
    }
    body.tecnico-reporte-moderno .tecnico-reporte-tabla th,
    body.tecnico-reporte-moderno .tecnico-reporte-tabla td {
        padding: 2.2mm 1.5mm !important; font-size: 9.4px !important;
    }
    body.tecnico-reporte-moderno .tecnico-firmas-wrap { margin-top: 5mm !important; }
    body.tecnico-reporte-moderno .tecnico-firma-box {
        min-height: 34mm !important; padding: 8mm 4mm 2mm !important; border-top: 1px solid #94a3b8 !important;
    }
    body.tecnico-reporte-moderno .tecnico-firma-box::before { display: none !important; }
    body.tecnico-reporte-moderno .tecnico-firma-box span { background: transparent !important; font-size: 10px !important; }
    body.tecnico-reporte-moderno .tecnico-firma-imagen { max-width: 62mm !important; max-height: 18mm !important; }
    body.tecnico-reporte-moderno .tecnico-reporte-footer {
        display: flex !important; margin: 2mm 0 0 !important; padding: 2mm 0 0 !important;
        border-top: 1px solid #d7dce3 !important; color: #64748b !important; font-size: 8.8px !important;
    }
}
.tecnico-nav-privada { margin-bottom: 20px; }
.tecnico-nav-privada .tecnico-actions-inline { flex-wrap: wrap; }
.tecnico-nav-privada .tecnico-btn { min-height: 40px; padding: 9px 16px; border-radius: 14px; }
body.tecnico-body.tecnico-dashboard .tecnico-nav-privada .tecnico-btn-secundario.tecnico-btn-activo {
    color: #102746 !important; background: #ffffff !important; border-color: #bfd0e4 !important;
    box-shadow: 0 0 0 2px rgba(31, 78, 134, 0.08),
        0 12px 24px rgba(20, 40, 70, 0.05) !important;
}
body.tecnico-body.tecnico-dashboard { background: #f3f4f6 !important; color: #0f172a !important; font-family: var(--tecnico-font) !important; }
body.tecnico-body.tecnico-dashboard::before,
body.tecnico-body.tecnico-dashboard::after { display: none !important; }
body.tecnico-body.tecnico-dashboard .tecnico-shell { max-width: 1068px !important; padding: 14px 28px 28px !important; }
body.tecnico-body.tecnico-dashboard .tecnico-header {
    background: #ffffff !important; border: 1px solid #dde5ef !important; border-radius: 22px !important;
    box-shadow: none !important; padding: 18px 28px !important; backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-header-top { min-height: 108px !important; }
body.tecnico-body.tecnico-dashboard .tecnico-logo {
    width: 250px !important; max-width: 100% !important; filter: drop-shadow(0 10px 22px rgba(15, 23, 42, 0.08));
}
body.tecnico-body.tecnico-dashboard .tecnico-header-copy { margin-top: 0 !important; }
body.tecnico-body.tecnico-dashboard .tecnico-header-copy h1 {
    margin: 0 !important; color: #0f172a !important; font-size: 40px !important; font-weight: 700 !important;
    line-height: 1.05 !important; letter-spacing: -0.02em !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-header-copy p {
    margin-top: 8px !important; color: #64748b !important; font-size: 16px !important; line-height: 1.35 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-link-secundario {
    color: #17375d !important; font-weight: 600 !important; text-decoration: none !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-main { margin-top: 20px !important; }
body.tecnico-body.tecnico-dashboard .tecnico-nav-privada {
    display: flex !important; align-items: center !important; justify-content: space-between !important;
    gap: 16px !important; margin: 0 0 22px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-nav-privada .tecnico-actions-inline {
    display: inline-flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 4px !important;
    padding: 4px !important; background: #ffffff !important; border: 1px solid #dbe4f0 !important;
    border-radius: 12px !important; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-nav-privada .tecnico-btn,
body.tecnico-body.tecnico-dashboard .tecnico-nav-privada .tecnico-btn-secundario,
body.tecnico-body.tecnico-dashboard .tecnico-nav-privada .tecnico-btn-light {
    min-height: 34px !important; padding: 8px 13px !important; border: 0 !important; border-radius: 9px !important;
    background: transparent !important; color: #475569 !important; box-shadow: none !important;
    font-size: 14px !important; font-weight: 600 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-nav-privada .tecnico-btn:hover,
body.tecnico-body.tecnico-dashboard .tecnico-nav-privada .tecnico-btn:focus-visible {
    background: #f1f5f9 !important; color: #0f172a !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-nav-privada .tecnico-btn-activo,
body.tecnico-body.tecnico-dashboard .tecnico-nav-privada .tecnico-btn-secundario.tecnico-btn-activo {
    background: #2563eb !important; color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.22) !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-nav-privada .tecnico-nav-calendario {
    background: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.26) !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-nav-privada .tecnico-nav-calendario:hover,
body.tecnico-body.tecnico-dashboard .tecnico-nav-privada .tecnico-nav-calendario:focus-visible {
    background: #1d4ed8 !important;
    color: #ffffff !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-panel-link,
body.tecnico-body.tecnico-dashboard .tecnico-saludo {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    min-height: 38px !important; padding: 9px 16px !important; border-radius: 16px !important;
    background: #dbeafe !important; border: 1px solid #93c5fd !important; color: #1d4ed8 !important;
    text-decoration: none !important; font-size: 14px !important; font-weight: 700 !important;
    box-shadow: none !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-actions-row:not(.tecnico-nav-privada) { margin-bottom: 16px !important; }
body.tecnico-body.tecnico-dashboard .tecnico-btn,
body.tecnico-body.tecnico-dashboard .tecnico-btn-secundario,
body.tecnico-body.tecnico-dashboard .tecnico-btn-light,
body.tecnico-body.tecnico-dashboard button.tecnico-btn {
    min-height: 38px !important; padding: 9px 16px !important; border-radius: 10px !important;
    border: 1px solid #dbe4f0 !important; background: #ffffff !important; color: #0f172a !important;
    box-shadow: none !important; font-size: 14px !important; font-weight: 600 !important;
    transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
body.tecnico-body.tecnico-dashboard .tecnico-btn:hover,
body.tecnico-body.tecnico-dashboard .tecnico-btn-secundario:hover,
body.tecnico-body.tecnico-dashboard .tecnico-btn-light:hover,
body.tecnico-body.tecnico-dashboard button.tecnico-btn:hover {
    background: #f8fafc !important; border-color: #cbd5e1 !important; color: #0f172a !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-form-actions .tecnico-btn:not(.tecnico-btn-secundario):not(.tecnico-btn-light),
body.tecnico-body.tecnico-dashboard .tecnico-bloque button[type="submit"].tecnico-btn {
    background: #2563eb !important; border-color: #2563eb !important; color: #ffffff !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-form-actions .tecnico-btn:not(.tecnico-btn-secundario):not(.tecnico-btn-light):hover,
body.tecnico-body.tecnico-dashboard .tecnico-bloque button[type="submit"].tecnico-btn:hover {
    background: #1d4ed8 !important; border-color: #1d4ed8 !important; color: #ffffff !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-stats-grid { gap: 12px !important; margin-top: 0 !important; }
body.tecnico-body.tecnico-dashboard .tecnico-stat-card {
    min-height: 76px !important; padding: 14px 18px !important; border-radius: 12px !important;
    background: #ffffff !important; border: 1px solid #dbe4f0 !important; box-shadow: none !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-stat-card:nth-child(1) { background: #fffbeb !important; border-color: #facc15 !important; }
body.tecnico-body.tecnico-dashboard .tecnico-stat-card:nth-child(2) { background: #eff6ff !important; border-color: #93c5fd !important; }
body.tecnico-body.tecnico-dashboard .tecnico-stat-card:nth-child(3) { background: #eef2ff !important; border-color: #a5b4fc !important; }
body.tecnico-body.tecnico-dashboard .tecnico-stat-card:nth-child(4) { background: #ecfdf5 !important; border-color: #86efac !important; }
body.tecnico-body.tecnico-dashboard .tecnico-stat-filter.is-active { box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12) !important; }
body.tecnico-body.tecnico-dashboard .tecnico-stat-label { color: #64748b !important; font-size: 13px !important; font-weight: 500 !important; }
body.tecnico-body.tecnico-dashboard .tecnico-stat-card strong {
    margin-top: 4px !important; color: #0f172a !important; font-size: 32px !important; font-weight: 700 !important;
    line-height: 1 !important; letter-spacing: -0.02em !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-lista-wrap,
body.tecnico-body.tecnico-dashboard .tecnico-form-wrap {
    margin-top: 22px !important; padding: 0 !important; background: transparent !important; border: 0 !important;
    border-radius: 0 !important; box-shadow: none !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-panel-header { margin-bottom: 12px !important; }
body.tecnico-body.tecnico-dashboard .tecnico-panel-header h2 {
    color: #0f172a !important; font-size: 20px !important; line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-panel-header input,
body.tecnico-body.tecnico-dashboard input,
body.tecnico-body.tecnico-dashboard select,
body.tecnico-body.tecnico-dashboard textarea {
    border: 1px solid #dbe4f0 !important; background: #ffffff !important; color: #0f172a !important;
    border-radius: 10px !important; box-shadow: none !important; font-family: var(--tecnico-font) !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-panel-header input {
    width: min(360px, 100%) !important; min-height: 36px !important; padding: 8px 12px !important;
}
@media (min-width: 1440px) {
    body.tecnico-body.tecnico-dashboard .tecnico-shell {
        max-width: 1540px !important;
    }
    body.tecnico-body.tecnico-dashboard .tecnico-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    body.tecnico-body.tecnico-dashboard .tecnico-card-top > div:first-child {
        min-width: 0 !important;
    }
    body.tecnico-body.tecnico-dashboard .tecnico-card-meta,
    body.tecnico-body.tecnico-dashboard .tecnico-card-meta-2 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    body.tecnico-body.tecnico-dashboard .tecnico-card-actions {
        grid-template-columns: minmax(82px, 0.9fr) minmax(140px, 1.2fr) minmax(90px, 0.9fr) !important;
    }
    body.tecnico-body.tecnico-dashboard .tecnico-card-actions .tecnico-btn,
    body.tecnico-body.tecnico-dashboard .tecnico-card-actions .tecnico-btn-light,
    body.tecnico-body.tecnico-dashboard .tecnico-card-actions .tecnico-btn-secundario {
        padding-inline: 8px !important;
        white-space: nowrap !important;
    }
}
body.tecnico-body.tecnico-dashboard input:focus,
body.tecnico-body.tecnico-dashboard select:focus,
body.tecnico-body.tecnico-dashboard textarea:focus {
    outline: 0 !important; border-color: #93c5fd !important; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-cards-grid { gap: 16px !important; margin-top: 12px !important; }
body.tecnico-body.tecnico-dashboard .tecnico-card-item {
    overflow: hidden !important; padding: 0 !important; border: 1px solid #dbe4f0 !important;
    border-radius: 12px !important; background: #ffffff !important; box-shadow: none !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-card-top {
    align-items: flex-start !important; gap: 12px !important; padding: 14px 18px 10px !important;
    border-bottom: 1px solid #e5e7eb !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-card-top h3 {
    color: #0f172a !important; font-size: 16px !important; font-weight: 700 !important; line-height: 1.25 !important;
    letter-spacing: 0 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-card-top p { color: #64748b !important; font-size: 13px !important; }
body.tecnico-body.tecnico-dashboard .tecnico-caso-ref { color: #3b68a0 !important; font-weight: 700 !important; }
body.tecnico-body.tecnico-dashboard .tecnico-card-meta,
body.tecnico-body.tecnico-dashboard .tecnico-card-meta-2 {
    display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 12px !important;
    margin: 0 !important; padding: 12px 18px !important; border: 0 !important; border-radius: 0 !important;
    background: #ffffff !important; box-shadow: none !important; color: #475569 !important;
    font-size: 13px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-card-footer {
    margin: 0 !important; padding: 12px 18px !important; border-top: 1px solid #e5e7eb !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-card-actions { gap: 10px !important; }
body.tecnico-body.tecnico-dashboard .tecnico-card-actions .tecnico-btn,
body.tecnico-body.tecnico-dashboard .tecnico-card-actions .tecnico-btn-light,
body.tecnico-body.tecnico-dashboard .tecnico-card-actions .tecnico-btn-secundario {
    min-height: 30px !important; padding: 6px 10px !important; border-radius: 8px !important;
    background: #ffffff !important; border: 1px solid #dbe4f0 !important; color: #0f172a !important;
    box-shadow: none !important; font-size: 13px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-card-actions .tecnico-action-update {
    background: #ffffff !important; border-color: #bfdbfe !important; color: #1d4ed8 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-card-actions .tecnico-action-finalize {
    background: #ecfdf5 !important; border-color: #86efac !important; color: #047857 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-card-secondary-actions {
    grid-column: 1 / -1 !important; display: flex !important; justify-content: center !important; gap: 10px !important;
    margin-top: 2px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-card-secondary-actions .tecnico-btn {
    width: min(210px, 100%) !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-card-secondary-actions .tecnico-action-quote,
body.tecnico-body.tecnico-dashboard .tecnico-card-actions .tecnico-action-quote {
    background: #ffffff !important; border-color: #fed7aa !important; color: #c2410c !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-card-secondary-actions .tecnico-action-quote-new {
    background: #ffffff !important; border-color: #fed7aa !important; color: #c2410c !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-card-actions .tecnico-btn:hover,
body.tecnico-body.tecnico-dashboard .tecnico-card-actions .tecnico-btn:focus-visible {
    background: #f8fafc !important; border-color: #cbd5e1 !important; color: #0f172a !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-card-actions .tecnico-action-finalize:hover,
body.tecnico-body.tecnico-dashboard .tecnico-card-actions .tecnico-action-finalize:focus-visible {
    background: #dcfce7 !important; border-color: #4ade80 !important; color: #047857 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-card-actions .tecnico-action-update:hover,
body.tecnico-body.tecnico-dashboard .tecnico-card-actions .tecnico-action-update:focus-visible {
    background: #eff6ff !important; border-color: #93c5fd !important; color: #1d4ed8 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-card-actions .tecnico-action-quote:hover,
body.tecnico-body.tecnico-dashboard .tecnico-card-actions .tecnico-action-quote:focus-visible {
    background: #fff7ed !important; border-color: #fdba74 !important; color: #c2410c !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-card-vendedor { color: #64748b !important; font-size: 12px !important; font-weight: 600 !important; }
body.tecnico-body.tecnico-dashboard .tecnico-estado {
    display: inline-flex !important; align-items: center !important; min-height: 26px !important;
    padding: 5px 11px !important; border-radius: 999px !important; border: 1px solid transparent !important;
    box-shadow: none !important; font-size: 12px !important; font-weight: 700 !important;
}
body.tecnico-body.tecnico-dashboard .estado-pendiente { background: #fef3c7 !important; border-color: #fbbf24 !important; color: #92400e !important; }
body.tecnico-body.tecnico-dashboard .estado-coordinado {
    background: #dbeafe !important; border-color: #93c5fd !important; color: #1d4ed8 !important;
}
body.tecnico-body.tecnico-dashboard .estado-proceso {
    background: #ede9fe !important; border-color: #c4b5fd !important; color: #6d28d9 !important;
}
body.tecnico-body.tecnico-dashboard .estado-repuesto {
    background: #ffedd5 !important; border-color: #fdba74 !important; color: #c2410c !important;
}
body.tecnico-body.tecnico-dashboard .estado-finalizado {
    background: #dcfce7 !important; border-color: #86efac !important; color: #047857 !important;
}
body.tecnico-body.tecnico-dashboard .estado-cancelado,
body.tecnico-body.tecnico-dashboard .estado-default {
    background: #f1f5f9 !important; border-color: #cbd5e1 !important; color: #475569 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-antiguedad {
    min-height: 26px !important; padding: 5px 10px !important; border-radius: 999px !important;
    background: #f8fafc !important; border: 1px solid #dbe4f0 !important; color: #64748b !important;
    font-size: 12px !important; font-weight: 700 !important; box-shadow: none !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-fecha-asignada {
    min-height: 26px !important; padding: 5px 10px !important; border-radius: 999px !important;
    background: #eff6ff !important; border: 1px solid #bfdbfe !important; color: #1d4ed8 !important;
    font-size: 12px !important; font-weight: 700 !important; box-shadow: none !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-fecha-asignada.fecha-vencida,
body.tecnico-body.tecnico-dashboard .tecnico-fecha-asignada.fecha-hoy {
    background: #fef2f2 !important; border-color: #fca5a5 !important; color: #b91c1c !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-fecha-asignada.fecha-manana {
    background: #fff7ed !important; border-color: #fdba74 !important; color: #c2410c !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-fecha-asignada.fecha-programada {
    background: #eff6ff !important; border-color: #bfdbfe !important; color: #1d4ed8 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-fecha-asignada.fecha-cerrada,
body.tecnico-body.tecnico-dashboard .tecnico-fecha-asignada.fecha-sin-asignar {
    background: #f8fafc !important; border-color: #dbe4f0 !important; color: #64748b !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-bloque,
body.tecnico-body.tecnico-dashboard .tecnico-fotos-panel,
body.tecnico-body.tecnico-dashboard .tecnico-repuestos-panel,
body.tecnico-body.tecnico-dashboard .tecnico-cierre-card,
body.tecnico-body.tecnico-dashboard .tecnico-firma-panel,
body.tecnico-body.tecnico-dashboard .tecnico-vacio,
body.tecnico-body.tecnico-dashboard .tecnico-flash {
    background: #ffffff !important; border: 1px solid #dbe4f0 !important; border-radius: 12px !important;
    box-shadow: none !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-flash-ok { background: #ecfdf5 !important; border-color: #86efac !important; color: #047857 !important; }
body.tecnico-body.tecnico-dashboard .tecnico-flash-error {
    background: #fee2e2 !important; border-color: #fca5a5 !important; color: #b91c1c !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-bloque-header h2,
body.tecnico-body.tecnico-dashboard .tecnico-bloque h2,
body.tecnico-body.tecnico-dashboard .tecnico-bloque h3 {
    color: #0f172a !important; letter-spacing: -0.01em !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-bloque-header p,
body.tecnico-body.tecnico-dashboard .tecnico-bloque p { color: #64748b !important; }
body.tecnico-body.tecnico-dashboard .tecnico-icon,
body.tecnico-body.tecnico-dashboard .tecnico-card-title-icon,
body.tecnico-body.tecnico-dashboard .tecnico-card-line-icon,
body.tecnico-body.tecnico-dashboard .tecnico-meta-icon {
    width: 16px !important; height: 16px !important; flex: 0 0 16px !important; fill: none !important;
    stroke: currentColor !important; stroke-width: 2 !important; stroke-linecap: round !important;
    stroke-linejoin: round !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-nav-privada .tecnico-icon,
body.tecnico-body.tecnico-dashboard .tecnico-panel-link .tecnico-icon {
    width: 15px !important; height: 15px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-stat-card {
    display: grid !important; grid-template-columns: 34px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important; align-items: center !important; column-gap: 14px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-stat-icon {
    grid-row: 1 / span 2 !important; display: inline-flex !important; align-items: center !important;
    justify-content: center !important; width: 34px !important; height: 34px !important;
    border-radius: 999px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-stat-icon .tecnico-icon { width: 19px !important; height: 19px !important; }
body.tecnico-body.tecnico-dashboard .tecnico-stat-card .tecnico-stat-label,
body.tecnico-body.tecnico-dashboard .tecnico-stat-card strong {
    grid-column: 2 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-stat-card:nth-child(1) .tecnico-stat-icon { color: #f59e0b !important; }
body.tecnico-body.tecnico-dashboard .tecnico-stat-card:nth-child(2) .tecnico-stat-icon { color: #2563eb !important; }
body.tecnico-body.tecnico-dashboard .tecnico-stat-card:nth-child(3) .tecnico-stat-icon { color: #4f46e5 !important; }
body.tecnico-body.tecnico-dashboard .tecnico-stat-card:nth-child(4) .tecnico-stat-icon { color: #059669 !important; }
body.tecnico-body.tecnico-dashboard .tecnico-card-top h3,
body.tecnico-body.tecnico-dashboard .tecnico-equipo-linea,
body.tecnico-body.tecnico-dashboard .tecnico-card-meta span {
    display: inline-flex !important; align-items: center !important; gap: 7px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-card-title-icon,
body.tecnico-body.tecnico-dashboard .tecnico-card-line-icon,
body.tecnico-body.tecnico-dashboard .tecnico-meta-icon {
    color: #94a3b8 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-card-meta span { min-width: 0 !important; }
body.tecnico-body.tecnico-dashboard .tecnico-card-meta b {
    color: #94a3b8 !important; font-size: 11px !important; font-weight: 700 !important;
    letter-spacing: 0.03em !important; text-transform: uppercase !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-clientes-form-card { overflow: hidden !important; padding: 0 !important; }
body.tecnico-body.tecnico-dashboard .tecnico-clientes-form-card .tecnico-bloque-header {
    margin: 0 !important; padding: 12px 18px !important; border-bottom: 1px solid #e5e7eb !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-clientes-form-card .tecnico-bloque-header h2 { font-size: 14px !important; font-weight: 700 !important; }
body.tecnico-body.tecnico-dashboard .tecnico-clientes-form-card .tecnico-bloque-header p { margin-top: 4px !important; font-size: 12px !important; }
body.tecnico-body.tecnico-dashboard .tecnico-clientes-form-grid {
    display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 12px !important;
    padding: 14px 18px 0 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-clientes-form-grid label {
    display: block !important; margin: 0 !important; color: #0f172a !important; font-size: 12px !important;
    font-weight: 700 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-clientes-form-grid input,
body.tecnico-body.tecnico-dashboard .tecnico-clientes-form-grid textarea {
    width: 100% !important; min-height: 36px !important; margin-top: 6px !important; padding: 8px 10px !important;
    border-radius: 9px !important; background: #eef2f7 !important; border: 1px solid #dbe4f0 !important;
    resize: vertical !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-clientes-form-grid textarea { resize: none !important; }
body.tecnico-body.tecnico-dashboard .tecnico-clientes-form-grid .tecnico-cliente-direccion { grid-column: span 2 !important; }
body.tecnico-body.tecnico-dashboard .tecnico-clientes-form-card .tecnico-form-actions { margin: 0 !important; padding: 16px 18px !important; }
body.tecnico-body.tecnico-dashboard .tecnico-clientes-form-card .tecnico-form-actions .tecnico-btn { min-width: 120px !important; }
body.tecnico-body.tecnico-dashboard .tecnico-clientes-wrap {
    overflow: hidden !important; background: #ffffff !important; border: 1px solid #dbe4f0 !important;
    border-radius: 12px !important; box-shadow: none !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-clientes-wrap .tecnico-panel-header {
    margin: 0 !important; padding: 12px 18px !important; border-bottom: 1px solid #e5e7eb !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-clientes-wrap .tecnico-panel-header h2 { font-size: 14px !important; font-weight: 700 !important; }
body.tecnico-body.tecnico-dashboard .tecnico-clientes-wrap .tecnico-panel-header input {
    min-height: 34px !important; background: #f8fafc !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-clientes-table-wrap { width: 100% !important; overflow-x: auto !important; }
body.tecnico-body.tecnico-dashboard .tecnico-clientes-table {
    width: 100% !important; border-collapse: collapse !important; background: #ffffff !important;
    font-size: 13px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-clientes-table th {
    padding: 10px 16px !important; color: #64748b !important; font-size: 11px !important; font-weight: 700 !important;
    letter-spacing: 0.06em !important; text-align: left !important; text-transform: uppercase !important;
    background: #fbfdff !important; border-bottom: 1px solid #e5e7eb !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-clientes-table td {
    padding: 10px 16px !important; color: #475569 !important; border-bottom: 1px solid #e5e7eb !important;
    vertical-align: middle !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-clientes-table tr:last-child td { border-bottom: 0 !important; }
body.tecnico-body.tecnico-dashboard .tecnico-clientes-table .tecnico-card-item {
    display: table-row !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
    background: transparent !important; box-shadow: none !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-clientes-table tr:hover td { background: #f8fafc !important; }
body.tecnico-body.tecnico-dashboard .tecnico-cliente-nombre { color: #0f172a !important; white-space: nowrap !important; }
body.tecnico-body.tecnico-dashboard .tecnico-cliente-avatar {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    width: 26px !important; height: 26px !important; margin-right: 9px !important; border-radius: 999px !important;
    background: #e8eefb !important; color: #2563eb !important; font-size: 12px !important;
    font-weight: 700 !important; vertical-align: middle !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-cliente-nombre strong {
    color: #0f172a !important; font-weight: 700 !important; vertical-align: middle !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-cliente-direccion-cell {
    max-width: 280px !important; overflow: hidden !important; text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-cliente-accion { text-align: right !important; white-space: nowrap !important; }
body.tecnico-body.tecnico-dashboard .tecnico-cliente-accion .tecnico-btn {
    min-height: 30px !important; padding: 6px 12px !important; border-color: #93c5fd !important;
    color: #1d4ed8 !important; background: #ffffff !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-vacio-tabla { padding: 16px !important; color: #64748b !important; text-align: center !important; }
body.tecnico-body.tecnico-dashboard .tecnico-clientes-lista { width: 100% !important; background: #ffffff !important; }
body.tecnico-body.tecnico-dashboard .tecnico-clientes-lista-head,
body.tecnico-body.tecnico-dashboard .tecnico-cliente-row {
    display: grid !important;
    grid-template-columns: minmax(190px, 1.3fr) minmax(100px, 0.65fr) minmax(110px, 0.7fr) minmax(190px, 1.25fr) minmax(220px, 1.5fr) 88px !important;
    align-items: center !important; gap: 16px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-clientes-lista-head {
    padding: 10px 16px !important; border-bottom: 1px solid #e5e7eb !important; background: #fbfdff !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-clientes-lista-head span {
    color: #64748b !important; font-size: 11px !important; font-weight: 700 !important;
    letter-spacing: 0.06em !important; text-transform: uppercase !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-clientes-lista .tecnico-cliente-row,
body.tecnico-body.tecnico-dashboard .tecnico-clientes-lista .tecnico-card-item.tecnico-cliente-row {
    margin: 0 !important; padding: 10px 16px !important; border: 0 !important;
    border-bottom: 1px solid #e5e7eb !important; border-radius: 0 !important; background: #ffffff !important;
    box-shadow: none !important; color: #475569 !important; font-size: 13px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-clientes-lista .tecnico-cliente-row:last-child { border-bottom: 0 !important; }
body.tecnico-body.tecnico-dashboard .tecnico-clientes-lista .tecnico-cliente-row:hover { background: #f8fafc !important; }
body.tecnico-body.tecnico-dashboard .tecnico-clientes-lista .tecnico-cliente-row > div { min-width: 0 !important; }
@media (max-width: 900px) {
    body.tecnico-body.tecnico-dashboard .tecnico-shell { padding: 10px 14px 24px !important; }
    body.tecnico-body.tecnico-dashboard .tecnico-stats-grid,
    body.tecnico-body.tecnico-dashboard .tecnico-cards-grid {
        grid-template-columns: 1fr !important;
    }
    body.tecnico-body.tecnico-dashboard .tecnico-card-meta,
    body.tecnico-body.tecnico-dashboard .tecnico-card-meta-2 {
        grid-template-columns: 1fr !important;
    }
}
@media (max-width: 760px) {
    body.tecnico-body.tecnico-dashboard .tecnico-header { padding: 16px !important; border-radius: 18px !important; }
    body.tecnico-body.tecnico-dashboard .tecnico-header-top {
        grid-template-columns: 1fr !important; min-height: auto !important; gap: 10px !important;
        text-align: center !important;
    }
    body.tecnico-body.tecnico-dashboard .tecnico-logo { width: 220px !important; justify-self: center !important; }
    body.tecnico-body.tecnico-dashboard .tecnico-header-copy h1 { font-size: 32px !important; }
    body.tecnico-body.tecnico-dashboard .tecnico-nav-privada { align-items: stretch !important; flex-direction: column !important; }
    body.tecnico-body.tecnico-dashboard .tecnico-nav-privada .tecnico-actions-inline,
    body.tecnico-body.tecnico-dashboard .tecnico-panel-link {
        width: 100% !important;
    }
    body.tecnico-body.tecnico-dashboard .tecnico-nav-privada .tecnico-btn { flex: 1 1 auto !important; }
    body.tecnico-body.tecnico-dashboard .tecnico-panel-header { display: grid !important; grid-template-columns: 1fr !important; }
}

.tecnico-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

[hidden] { display: none !important; }

.tecnico-tecnicos-menu { position: relative; }
.tecnico-tecnicos-summary { cursor: pointer; list-style: none; user-select: none; }
.tecnico-tecnicos-summary::-webkit-details-marker { display: none; }
.tecnico-tecnicos-summary:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.28);
    outline-offset: 3px;
}
.tecnico-tecnicos-panel {
    position: absolute;
    z-index: 20;
    top: calc(100% + 8px);
    right: 0;
    width: min(280px, calc(100vw - 32px));
    padding: 10px;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
}
.tecnico-tecnicos-panel ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.tecnico-tecnicos-legend {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 0 10px 4px;
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
}
.tecnico-tecnicos-panel li { margin: 0; padding: 0; }
.tecnico-tecnico-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #334155;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.tecnico-tecnico-filter.tecnico-stat-filter:hover,
.tecnico-tecnico-filter.tecnico-stat-filter.is-active {
    transform: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}
.tecnico-tecnicos-panel li:nth-child(even) .tecnico-tecnico-filter { background: #f8fafc; }
.tecnico-tecnico-filter:hover,
.tecnico-tecnico-filter:focus-visible,
.tecnico-tecnico-filter.is-active {
    background: #eef4ff !important;
    color: #0f172a;
    outline: 0;
}
.tecnico-tecnico-nombre {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tecnico-tecnico-conteos {
    display: inline-grid;
    grid-template-columns: 28px 28px;
    gap: 8px;
    align-items: center;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
body.tecnico-body.tecnico-dashboard .tecnico-tecnico-cp { color: #16a34a !important; }
body.tecnico-body.tecnico-dashboard .tecnico-tecnico-cf { color: #dc2626 !important; }

.tecnico-reportes-menu { position: relative; min-width: 0; }
.tecnico-reportes-summary {
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.tecnico-reportes-summary::-webkit-details-marker { display: none; }
.tecnico-reportes-summary::after {
    content: '';
    width: 7px;
    height: 7px;
    margin-left: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.18s ease;
}
.tecnico-reportes-menu[open] .tecnico-reportes-summary::after {
    transform: translateY(2px) rotate(225deg);
}
.tecnico-reportes-summary:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.24);
    outline-offset: 2px;
}
.tecnico-reportes-panel {
    margin-top: 6px;
    padding: 6px;
    border: 1px solid #dbe4f0;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}
.tecnico-reportes-panel ul { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.tecnico-reportes-panel a {
    display: block;
    padding: 7px 9px;
    border-radius: 7px;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
}
.tecnico-reportes-panel li:nth-child(even) a { background: #f8fafc; }
.tecnico-reportes-panel a:hover,
.tecnico-reportes-panel a:focus-visible { background: #eff6ff; color: #1e40af; }
.tecnico-reportes-panel a:focus-visible { outline: 2px solid rgba(37, 99, 235, 0.3); outline-offset: 1px; }

.tecnico-card-primary-actions { display: grid; align-content: start; gap: 6px; }
.tecnico-card-primary-actions .tecnico-eliminar-caso-form { display: flex; justify-content: center; margin: 0; }
.tecnico-btn-trash {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    min-height: 30px;
    padding: 5px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fff7f7;
    color: #b91c1c;
    cursor: pointer;
}
.tecnico-btn-trash:hover,
.tecnico-btn-trash:focus-visible { border-color: #ef4444; background: #fee2e2; color: #991b1b; }
.tecnico-btn-trash:focus-visible { outline: 3px solid rgba(239, 68, 68, 0.24); outline-offset: 2px; }
.tecnico-btn-trash .tecnico-icon { width: 18px; height: 18px; }

@media (max-width: 760px) {
    .tecnico-tecnicos-menu { width: 100%; }
    .tecnico-tecnicos-summary { width: 100%; }
    .tecnico-tecnicos-panel { position: static; width: 100%; margin-top: 8px; }
}
body.tecnico-reporte-moderno .tecnico-main {
    display: block !important; max-width: 1040px !important; margin: 0 auto !important; padding: 0 !important;
    gap: 0 !important; overflow: hidden !important; border: 1px solid #d8e1ec !important;
    border-top: 2px solid #2458e6 !important; border-radius: 0 0 12px 12px !important; background: #ffffff !important;
    box-shadow: 0 14px 38px rgba(15, 39, 68, 0.06) !important;
}
body.tecnico-reporte-moderno .tecnico-main > .tecnico-form-wrap.tecnico-reporte-section,
body.tecnico-reporte-moderno .tecnico-main > .tecnico-form-wrap.tecnico-reporte-section.tecnico-doc-panel,
body.tecnico-reporte-moderno .tecnico-main > .tecnico-form-wrap.tecnico-firmas-wrap {
    width: 100% !important; max-width: none !important; margin: 0 !important; padding: 24px 30px 26px !important;
    border: 0 !important; border-radius: 0 !important; background: transparent !important;
    box-shadow: none !important;
}
body.tecnico-reporte-moderno .tecnico-main > .tecnico-form-wrap.tecnico-reporte-section + .tecnico-form-wrap.tecnico-reporte-section {
    border-top: 1px solid #d8e1ec !important;
}
body.tecnico-reporte-moderno .tecnico-main .tecnico-doc-band {
    display: grid !important; grid-template-columns: auto auto minmax(0, 1fr) !important; gap: 12px !important;
    align-items: center !important; margin: 0 0 20px !important; padding: 0 !important;
    background: transparent !important; color: #0b1628 !important;
}
body.tecnico-reporte-moderno .tecnico-main .tecnico-doc-band span {
    display: inline-grid !important; width: 24px !important; height: 24px !important; place-items: center !important;
    border-radius: 999px !important; background: #dbe8ff !important; color: #2458e6 !important;
    font-size: 13px !important; font-weight: 800 !important;
}
body.tecnico-reporte-moderno .tecnico-main .tecnico-doc-band strong {
    color: #0b1628 !important; font-size: 16px !important; font-weight: 800 !important;
}
body.tecnico-reporte-moderno .tecnico-main .tecnico-doc-band i { display: block !important; height: 1px !important; background: #d8e1ec !important; }
body.tecnico-reporte-moderno .tecnico-main .tecnico-doc-grid {
    display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 22px 34px !important;
}
body.tecnico-reporte-moderno .tecnico-main .tecnico-doc-detalle-grid {
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px 34px !important;
}
body.tecnico-reporte-moderno .tecnico-main .tecnico-doc-costos-grid {
    display: grid !important; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr) !important;
    gap: 34px !important;
}
@media (max-width: 820px) {
    body.tecnico-reporte-moderno .tecnico-main .tecnico-doc-grid,
    body.tecnico-reporte-moderno .tecnico-main .tecnico-doc-detalle-grid,
    body.tecnico-reporte-moderno .tecnico-main .tecnico-doc-costos-grid {
        grid-template-columns: 1fr !important;
    }
}
body.tecnico-reporte-moderno .tecnico-doc-body {
    display: block !important; max-width: 1000px !important; margin: 0 auto !important; padding: 0 !important;
    overflow: hidden !important; border: 1px solid #d8e1ec !important; border-radius: 0 0 12px 12px !important;
    background: #ffffff !important;
}
body.tecnico-reporte-moderno .tecnico-reporte-header {
    max-width: 1000px !important; margin: 0 auto !important; border-bottom: 0 !important;
    border-radius: 14px 14px 0 0 !important; box-shadow: 0 14px 38px rgba(15, 39, 68, 0.06) !important;
}
body.tecnico-reporte-moderno .tecnico-doc-body {
    border-top: 2px solid #2458e6 !important; box-shadow: 0 18px 42px rgba(15, 39, 68, 0.06) !important;
}
body.tecnico-reporte-moderno .tecnico-reporte-header + .tecnico-doc-body { margin-top: 0 !important; }
body.tecnico-reporte-moderno .tecnico-doc-brand { min-height: 284px !important; padding: 24px 30px !important; }
body.tecnico-reporte-moderno .tecnico-doc-brand .tecnico-logo { width: 250px !important; max-width: 74% !important; }
body.tecnico-reporte-moderno .tecnico-doc-brand-copy p { font-size: 15px !important; }
body.tecnico-reporte-moderno .tecnico-doc-brand-copy strong { font-size: 38px !important; }
body.tecnico-reporte-moderno .tecnico-doc-section {
    display: block !important; width: 100% !important; max-width: none !important; margin: 0 !important;
    padding: 26px 30px !important; border: 0 !important; border-radius: 0 !important;
    background: transparent !important; box-shadow: none !important;
}
body.tecnico-reporte-moderno .tecnico-doc-section + .tecnico-doc-section { border-top: 1px solid #d8e1ec !important; }
body.tecnico-reporte-moderno .tecnico-doc-section .tecnico-doc-band {
    display: grid !important; grid-template-columns: auto auto minmax(0, 1fr) !important; gap: 12px !important;
    align-items: center !important; margin: 0 0 20px !important; padding: 0 !important;
    background: transparent !important; color: #0b1628 !important;
}
body.tecnico-reporte-moderno .tecnico-doc-section .tecnico-doc-band span {
    display: inline-grid !important; width: 24px !important; height: 24px !important; place-items: center !important;
    border-radius: 999px !important; background: #dbe8ff !important; color: #2458e6 !important;
    font-size: 13px !important; font-weight: 800 !important;
}
body.tecnico-reporte-moderno .tecnico-doc-section .tecnico-doc-band strong {
    color: #0b1628 !important; font-size: 16px !important; font-weight: 800 !important;
}
body.tecnico-reporte-moderno .tecnico-doc-section .tecnico-doc-band i {
    display: block !important; height: 1px !important; background: #d8e1ec !important;
}
body.tecnico-reporte-moderno .tecnico-doc-section .tecnico-doc-grid {
    display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 22px 34px !important;
}
body.tecnico-reporte-moderno .tecnico-doc-section .tecnico-doc-detalle-grid {
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px 34px !important;
}
body.tecnico-reporte-moderno .tecnico-doc-section .tecnico-doc-costos-grid {
    display: grid !important; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr) !important;
    gap: 34px !important;
}
body.tecnico-reporte-moderno .tecnico-doc-section.tecnico-firmas-wrap { margin: 0 !important; padding-bottom: 30px !important; }
body.tecnico-reporte-moderno .tecnico-doc-section .tecnico-firmas-grid {
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 42px !important;
    padding-top: 22px !important;
}
@media (max-width: 820px) {
    body.tecnico-reporte-moderno .tecnico-doc-section .tecnico-doc-grid,
    body.tecnico-reporte-moderno .tecnico-doc-section .tecnico-doc-detalle-grid,
    body.tecnico-reporte-moderno .tecnico-doc-section .tecnico-doc-costos-grid,
    body.tecnico-reporte-moderno .tecnico-doc-section .tecnico-firmas-grid {
        grid-template-columns: 1fr !important;
    }
}
@media print {
    body.tecnico-reporte-moderno .tecnico-doc-body {
        width: 100% !important; max-width: none !important; margin: 0 !important;
        border: 1px solid #d7dce3 !important; border-top: 2px solid #2458e6 !important; border-radius: 0 !important;
        box-shadow: none !important; overflow: visible !important;
    }
    body.tecnico-reporte-moderno .tecnico-doc-brand {
        min-height: 50mm !important; padding: 5mm 6mm !important;
    }
    body.tecnico-reporte-moderno .tecnico-doc-brand .tecnico-logo {
        width: 48mm !important; max-width: 48mm !important;
    }
    body.tecnico-reporte-moderno .tecnico-doc-head-cell {
        min-height: 10mm !important; padding: 1.8mm 2.5mm !important;
    }
    body.tecnico-reporte-moderno .tecnico-doc-head-cell-doc { min-height: 12mm !important; }
    body.tecnico-reporte-moderno .tecnico-doc-head-cell strong { margin-top: 1mm !important; }
    body.tecnico-reporte-moderno .tecnico-doc-cliente-box { padding: 2mm 2.5mm !important; }
    body.tecnico-reporte-moderno .tecnico-doc-cliente-meta { margin-top: 2mm !important; }
    body.tecnico-reporte-moderno .tecnico-doc-section {
        margin: 0 !important; padding: 3.2mm 5mm !important; border: 0 !important; border-radius: 0 !important;
        box-shadow: none !important; break-inside: auto !important; page-break-inside: auto !important;
    }
    body.tecnico-reporte-moderno .tecnico-doc-section + .tecnico-doc-section { border-top: 1px solid #d7dce3 !important; }
    body.tecnico-reporte-moderno .tecnico-doc-section .tecnico-doc-band { margin: 0 0 2.5mm !important; }
    body.tecnico-reporte-moderno .tecnico-reporte-header .tecnico-doc-head-grid {
        display: grid !important; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) !important;
        gap: 0 !important;
    }
    body.tecnico-reporte-moderno .tecnico-reporte-header .tecnico-doc-intervencion-metas-resumen {
        display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    body.tecnico-reporte-moderno .tecnico-doc-body .tecnico-doc-section .tecnico-doc-grid {
        display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 2.5mm 7mm !important;
    }
    body.tecnico-reporte-moderno .tecnico-doc-body .tecnico-doc-section .tecnico-doc-detalle-grid {
        display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 3mm 7mm !important;
    }
    body.tecnico-reporte-moderno .tecnico-doc-body .tecnico-doc-section .tecnico-doc-costos-grid {
        display: grid !important; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) !important;
        gap: 4mm !important;
    }
    body.tecnico-reporte-moderno .tecnico-doc-body .tecnico-doc-section .tecnico-firmas-grid,
    body.tecnico-reporte-moderno .tecnico-doc-body .tecnico-firmas-wrap .tecnico-firmas-grid {
        display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6mm !important; padding-top: 2mm !important;
    }
    body.tecnico-reporte-moderno .tecnico-doc-section.tecnico-firmas-wrap {
        padding-top: 3mm !important; padding-bottom: 2mm !important;
        break-inside: auto !important; page-break-inside: auto !important;
    }
    body.tecnico-reporte-moderno .tecnico-doc-section.tecnico-firmas-wrap .tecnico-firma-box {
        min-height: 23mm !important; padding: 3mm 3mm 1mm !important;
        break-inside: avoid !important; page-break-inside: avoid !important;
    }
    body.tecnico-reporte-moderno .tecnico-doc-section.tecnico-firmas-wrap .tecnico-firma-imagen {
        max-width: 52mm !important; max-height: 14mm !important; margin-bottom: 1mm !important;
    }
body.tecnico-reporte-moderno .tecnico-reporte-footer {
        margin-top: 1mm !important; padding-top: 1mm !important;
    }
}

body.tecnico-body.tecnico-dashboard .tecnico-servicio-filtros {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 12px 0 0 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-servicio-filtros + .tecnico-lista-wrap {
    margin-top: 10px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-servicio-filtros-label {
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-servicio-filtros-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-servicio-filter {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 34px !important;
    padding: 7px 12px !important;
    border: 1px solid #dbe4f0 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: none !important;
    cursor: pointer !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-servicio-filter span {
    font-size: 13px !important;
    font-weight: 700 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-servicio-filter strong {
    display: inline-grid !important;
    min-width: 22px !important;
    height: 22px !important;
    place-items: center !important;
    padding: 0 7px !important;
    border-radius: 999px !important;
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    font-size: 12px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-servicio-filter.is-active {
    border-color: #93c5fd !important;
    background: #eff6ff !important;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12) !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-calendario-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: end !important;
    gap: 16px !important;
    margin: 22px 0 14px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-calendario-head h2 {
    margin: 0 !important;
    color: #0f172a !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-calendario-head p {
    margin: 4px 0 0 !important;
    color: #64748b !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-calendario-toolbar {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    gap: 8px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-calendario-toolbar .tecnico-btn {
    min-height: 34px !important;
    padding: 7px 12px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-calendario-mes {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 34px !important;
    padding: 7px 13px !important;
    border: 1px solid #93c5fd !important;
    border-radius: 999px !important;
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-calendario-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 310px !important;
    align-items: start !important;
    gap: 16px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-calendario-tabla,
body.tecnico-body.tecnico-dashboard .tecnico-calendario-detalle {
    overflow: hidden !important;
    border: 1px solid #dbe4f0 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: none !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-calendario-semana,
body.tecnico-body.tecnico-dashboard .tecnico-calendario-dias {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-calendario-semana span {
    padding: 11px 8px !important;
    border-bottom: 1px solid #dbe4f0 !important;
    background: #f8fafc !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-cal-dia {
    display: block !important;
    min-height: 124px !important;
    padding: 8px !important;
    border-right: 1px solid #e5e7eb !important;
    border-bottom: 1px solid #e5e7eb !important;
    background: #ffffff !important;
    color: #0f172a !important;
    text-decoration: none !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-cal-dia:nth-child(7n) {
    border-right: 0 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-cal-dia.is-muted {
    background: #f8fafc !important;
    color: #94a3b8 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-cal-dia.is-today {
    background: #eff6ff !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-cal-dia.is-selected {
    box-shadow: inset 0 0 0 2px #2563eb !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-cal-dia-numero {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    min-height: 24px !important;
    margin-bottom: 6px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-cal-dia-numero strong {
    color: inherit !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-cal-dia-numero em {
    display: inline-grid !important;
    min-width: 22px !important;
    height: 22px !important;
    place-items: center !important;
    padding: 0 7px !important;
    border-radius: 999px !important;
    background: #dbeafe !important;
    color: #1d4ed8 !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 800 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-cal-evento {
    display: grid !important;
    gap: 1px !important;
    min-width: 0 !important;
    margin-top: 5px !important;
    padding: 6px 7px !important;
    border: 1px solid transparent !important;
    border-radius: 9px !important;
    line-height: 1.2 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-cal-evento strong {
    overflow: hidden !important;
    color: inherit !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-cal-evento span {
    overflow: hidden !important;
    color: inherit !important;
    opacity: 0.78 !important;
    font-size: 11px !important;
    font-weight: 650 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-cal-mas {
    display: inline-flex !important;
    margin-top: 6px !important;
    color: #1d4ed8 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}
body.tecnico-body.tecnico-dashboard .cal-pendiente {
    background: #fffbeb !important;
    border-color: #fcd34d !important;
    color: #92400e !important;
}
body.tecnico-body.tecnico-dashboard .cal-proceso {
    background: #eff6ff !important;
    border-color: #93c5fd !important;
    color: #1d4ed8 !important;
}
body.tecnico-body.tecnico-dashboard .cal-finalizado {
    background: #ecfdf5 !important;
    border-color: #86efac !important;
    color: #047857 !important;
}
body.tecnico-body.tecnico-dashboard .cal-sin-asignar {
    background: #fef2f2 !important;
    border-color: #fca5a5 !important;
    color: #b91c1c !important;
}
body.tecnico-body.tecnico-dashboard .cal-cancelado {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #475569 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-calendario-detalle {
    padding: 14px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-calendario-detalle-head span {
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-calendario-detalle-head h3 {
    margin: 3px 0 0 !important;
    color: #0f172a !important;
    font-size: 20px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-calendario-detalle-head p {
    margin: 3px 0 12px !important;
    color: #64748b !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-calendario-lista-dia {
    display: grid !important;
    gap: 10px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-cal-detalle-card {
    display: grid !important;
    gap: 10px !important;
    padding: 12px !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-cal-detalle-card h4 {
    margin: 0 !important;
    color: #0f172a !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-cal-detalle-card p {
    margin: 2px 0 0 !important;
    color: #3b68a0 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-cal-detalle-card dl {
    display: grid !important;
    gap: 6px !important;
    margin: 0 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-cal-detalle-card dl div {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 8px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-cal-detalle-card dt,
body.tecnico-body.tecnico-dashboard .tecnico-cal-detalle-card dd {
    margin: 0 !important;
    font-size: 12px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-cal-detalle-card dt {
    color: #64748b !important;
    font-weight: 800 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-cal-detalle-card dd {
    overflow-wrap: anywhere !important;
    color: #334155 !important;
    font-weight: 650 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-cal-detalle-card .tecnico-btn {
    min-height: 32px !important;
    padding: 7px 10px !important;
    border-radius: 8px !important;
}
@media (max-width: 980px) {
    body.tecnico-body.tecnico-dashboard .tecnico-calendario-head,
    body.tecnico-body.tecnico-dashboard .tecnico-calendario-layout {
        grid-template-columns: 1fr !important;
    }
    body.tecnico-body.tecnico-dashboard .tecnico-calendario-toolbar {
        justify-content: flex-start !important;
    }
}
@media (max-width: 760px) {
    body.tecnico-body.tecnico-dashboard .tecnico-servicio-filtros {
        grid-template-columns: 1fr !important;
    }
    body.tecnico-body.tecnico-dashboard .tecnico-cal-dia {
        min-height: 86px !important;
        padding: 6px !important;
    }
    body.tecnico-body.tecnico-dashboard .tecnico-cal-evento {
        padding: 5px !important;
    }
    body.tecnico-body.tecnico-dashboard .tecnico-cal-evento span {
        display: none !important;
    }
}

body.tecnico-body.tecnico-dashboard .tecnico-catalogo-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 16px 0 12px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-catalogo-tab {
    appearance: none !important;
    border: 1px solid #dbe5f0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.86) !important;
    color: #253b59 !important;
    min-height: 38px !important;
    padding: 8px 14px !important;
    font-family: var(--tecnico-font) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 10px 24px rgba(20, 40, 70, 0.04) !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-catalogo-tab span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 24px !important;
    height: 24px !important;
    padding: 0 7px !important;
    border-radius: 999px !important;
    background: #eef5ff !important;
    color: #1d4ed8 !important;
    font-size: 12px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-catalogo-tab.is-active {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-catalogo-tab.is-active span {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-catalogo-panel-hidden {
    display: none !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-panel-subtitle {
    margin: 4px 0 0 !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-tecnicos-catalogo-wrap {
    overflow: hidden !important;
    background: #ffffff !important;
    border: 1px solid #dbe4f0 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-tecnicos-catalogo-wrap .tecnico-panel-header {
    margin: 0 !important;
    padding: 12px 18px !important;
    border-bottom: 1px solid #e5e7eb !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-tecnicos-catalogo-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 320px !important;
    gap: 16px !important;
    padding: 16px 18px 18px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-tecnicos-lista {
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-tecnicos-lista-head,
body.tecnico-body.tecnico-dashboard .tecnico-tecnico-row {
    display: grid !important;
    grid-template-columns: minmax(180px, 1.2fr) 120px 110px minmax(190px, auto) !important;
    gap: 12px !important;
    align-items: center !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-tecnicos-lista-head {
    padding: 10px 16px !important;
    border-bottom: 1px solid #e5e7eb !important;
    background: #fbfdff !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-tecnicos-lista-head span {
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-tecnico-row,
body.tecnico-body.tecnico-dashboard .tecnico-tecnicos-lista .tecnico-card-item.tecnico-tecnico-row {
    margin: 0 !important;
    padding: 10px 16px !important;
    border: 0 !important;
    border-bottom: 1px solid #e5e7eb !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    color: #475569 !important;
    font-size: 13px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-tecnico-row:last-child {
    border-bottom: 0 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-tecnico-row:hover {
    background: #f8fafc !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-mini-status {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 28px !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-mini-status-ok {
    color: #047857 !important;
    background: #ecfdf5 !important;
    border: 1px solid #86efac !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-mini-status-muted {
    color: #64748b !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-tecnico-acciones {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-tecnico-acciones form {
    margin: 0 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-tecnico-form-card {
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    background: #fbfdff !important;
    padding: 14px !important;
    align-self: start !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-tecnico-form-card .tecnico-bloque-header {
    margin: 0 0 12px !important;
    padding: 0 0 12px !important;
    border-bottom: 1px solid #e5e7eb !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-tecnico-form-card .tecnico-bloque-header h2 {
    font-size: 14px !important;
    font-weight: 800 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-tecnico-form-card .tecnico-bloque-header p {
    margin-top: 4px !important;
    color: #64748b !important;
    font-size: 12px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-tecnico-form-card label {
    display: block !important;
    color: #0f172a !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    margin: 0 0 12px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-tecnico-form-card input[type="text"] {
    width: 100% !important;
    min-height: 36px !important;
    margin-top: 6px !important;
    padding: 8px 10px !important;
    border-radius: 9px !important;
    background: #eef2f7 !important;
    border: 1px solid #dbe4f0 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-check-inline {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-check-inline input {
    width: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
}
body.tecnico-body.tecnico-dashboard .tecnico-ayuda-texto {
    margin: 0 0 14px !important;
    color: #64748b !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}
@media (max-width: 980px) {
    body.tecnico-body.tecnico-dashboard .tecnico-tecnicos-catalogo-layout {
        grid-template-columns: 1fr !important;
    }
    body.tecnico-body.tecnico-dashboard .tecnico-tecnico-form-card {
        order: -1 !important;
    }
}
@media (max-width: 760px) {
    body.tecnico-body.tecnico-dashboard .tecnico-tecnicos-lista-head {
        display: none !important;
    }
    body.tecnico-body.tecnico-dashboard .tecnico-tecnico-row,
    body.tecnico-body.tecnico-dashboard .tecnico-tecnicos-lista .tecnico-card-item.tecnico-tecnico-row {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    body.tecnico-body.tecnico-dashboard .tecnico-tecnico-acciones {
        justify-content: stretch !important;
    }
    body.tecnico-body.tecnico-dashboard .tecnico-tecnico-acciones .tecnico-btn,
    body.tecnico-body.tecnico-dashboard .tecnico-tecnico-acciones form {
        width: 100% !important;
    }
}

/* Dashboard card refinement: balanced metadata and calmer actions. */
body.tecnico-body.tecnico-dashboard .tecnico-card-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    column-gap: 18px !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-card-meta .tecnico-meta-field {
    display: grid !important;
    grid-template-rows: auto auto !important;
    align-content: start !important;
    justify-items: center !important;
    gap: 5px !important;
    min-width: 0 !important;
    text-align: center !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-card-meta .tecnico-meta-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 0 !important;
    color: #8aa0bd !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-card-meta .tecnico-meta-value {
    display: block !important;
    min-width: 0 !important;
    color: #334155 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-card-meta .tecnico-servicio-badge.servicio-visita { color: #1d4ed8 !important; }
body.tecnico-body.tecnico-dashboard .tecnico-card-meta .tecnico-servicio-badge.servicio-instalacion { color: #047857 !important; }
body.tecnico-body.tecnico-dashboard .tecnico-card-meta .tecnico-servicio-badge.servicio-reparacion { color: #c2410c !important; }
body.tecnico-body.tecnico-dashboard .tecnico-card-meta .tecnico-servicio-badge.servicio-mantenimiento { color: #6d28d9 !important; }
body.tecnico-body.tecnico-dashboard .tecnico-card-meta .tecnico-servicio-badge.servicio-garantia { color: #047857 !important; }
body.tecnico-body.tecnico-dashboard .tecnico-card-meta .tecnico-servicio-badge.servicio-diagnostico { color: #0e7490 !important; }
body.tecnico-body.tecnico-dashboard .tecnico-card-meta .tecnico-servicio-badge.servicio-traslado { color: #334155 !important; }

body.tecnico-body.tecnico-dashboard .tecnico-card-actions .tecnico-action-update,
body.tecnico-body.tecnico-dashboard .tecnico-card-actions a.tecnico-action-update,
body.tecnico-body.tecnico-dashboard .tecnico-card-actions button.tecnico-action-update {
    background: #ffffff !important;
    border-color: #bfdbfe !important;
    color: #1d4ed8 !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-card-actions .tecnico-action-finalize,
body.tecnico-body.tecnico-dashboard .tecnico-card-actions a.tecnico-action-finalize,
body.tecnico-body.tecnico-dashboard .tecnico-card-actions button.tecnico-action-finalize {
    background: #ecfdf5 !important;
    border-color: #86efac !important;
    color: #047857 !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-card-secondary-actions .tecnico-action-quote,
body.tecnico-body.tecnico-dashboard .tecnico-card-secondary-actions .tecnico-action-quote-new,
body.tecnico-body.tecnico-dashboard .tecnico-card-actions .tecnico-action-quote,
body.tecnico-body.tecnico-dashboard .tecnico-card-actions .tecnico-action-quote-new {
    background: #ffffff !important;
    border-color: #fed7aa !important;
    color: #c2410c !important;
}

/* Dashboard view switch: card view and spreadsheet-style list view. */
body.tecnico-body.tecnico-dashboard .tecnico-panel-tools {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 8px 12px !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-dashboard-search {
    display: grid !important;
    gap: 6px !important;
    width: min(280px, 34vw) !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-panel-tools #filtroTecnico {
    width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    box-sizing: border-box !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-panel-tools .tecnico-filtro-estado {
    margin: 0 !important;
    text-align: right !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-vista-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 4px !important;
    height: 42px !important;
    min-height: 42px !important;
    box-sizing: border-box !important;
    border: 1px solid #dbe4f0 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-vista-toggle button {
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 13px !important;
    box-sizing: border-box !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
    color: #475569 !important;
    font-family: var(--tecnico-font) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-vista-toggle button:hover,
body.tecnico-body.tecnico-dashboard .tecnico-vista-toggle button:focus-visible {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    outline: 0 !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-vista-toggle button.is-active {
    background: #2563eb !important;
    color: #ffffff !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-dashboard-view[hidden] {
    display: none !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table-wrap {
    width: 100% !important;
    margin-top: 12px !important;
    overflow-x: auto !important;
    border: 1px solid #dbe4f0 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(20, 40, 70, 0.05) !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table-filtros {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    padding: 12px 14px !important;
    border-bottom: 1px solid #e5ebf3 !important;
    background: #ffffff !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table-filtros label {
    display: grid !important;
    gap: 5px !important;
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table-filtros select {
    min-width: 170px !important;
    min-height: 36px !important;
    padding: 7px 10px !important;
    border: 1px solid #dbe4f0 !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    font-family: var(--tecnico-font) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table {
    width: 100% !important;
    min-width: 1280px !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
    background: #ffffff !important;
    font-size: 13px !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table th {
    padding: 12px 14px !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #e5ebf3 !important;
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    text-align: left !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table td {
    padding: 12px 14px !important;
    border-bottom: 1px solid #edf2f7 !important;
    color: #334155 !important;
    line-height: 1.35 !important;
    vertical-align: top !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table tbody tr:nth-child(even) td {
    background: #fbfdff !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table tbody tr:hover td {
    background: #f1f7ff !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table tbody tr:last-child td {
    border-bottom: 0 !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table th:nth-child(1),
body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table td:nth-child(1) { width: 120px !important; }
body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table th:nth-child(2),
body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table td:nth-child(2) { width: 105px !important; }
body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table th:nth-child(3),
body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table td:nth-child(3) { width: 112px !important; white-space: nowrap !important; }
body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table th:nth-child(4),
body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table td:nth-child(4) { width: 210px !important; }
body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table th:nth-child(5),
body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table td:nth-child(5) { width: 230px !important; }
body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table th:nth-child(6),
body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table td:nth-child(6) { width: auto !important; }
body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table th:nth-child(7),
body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table td:nth-child(7) { width: 160px !important; }
body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table th:nth-child(8),
body.tecnico-body.tecnico-dashboard .tecnico-dashboard-table td:nth-child(8) { width: 130px !important; }

body.tecnico-body.tecnico-dashboard .tecnico-tabla-estado {
    display: inline-flex !important;
    width: fit-content !important;
    min-width: 0 !important;
    padding: 5px 10px !important;
    white-space: nowrap !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-tabla-caso {
    color: #1d4ed8 !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-tabla-caso:hover,
body.tecnico-body.tecnico-dashboard .tecnico-tabla-caso:focus-visible {
    text-decoration: underline !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-tabla-problema {
    color: #475569 !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-tooltip-trigger {
    position: relative !important;
    overflow: visible !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-card-item {
    overflow: visible !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-card-item:hover {
    z-index: 8 !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-btn-tooltip {
    position: absolute !important;
    left: 0 !important;
    top: auto !important;
    bottom: calc(100% + 8px) !important;
    z-index: 20 !important;
    width: calc(300% + 20px) !important;
    max-width: calc(100vw - 36px) !important;
    padding: 10px 12px !important;
    border: 1px solid #dbe4f0 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #334155 !important;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(6px) !important;
    transition: opacity 0.16s ease, transform 0.16s ease !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-btn-tooltip::after {
    content: "" !important;
    position: absolute !important;
    left: 26px !important;
    top: 100% !important;
    width: 10px !important;
    height: 10px !important;
    background: #ffffff !important;
    border-right: 1px solid #dbe4f0 !important;
    border-bottom: 1px solid #dbe4f0 !important;
    transform: translateY(-5px) rotate(45deg) !important;
}

body.tecnico-body.tecnico-dashboard .tecnico-tooltip-trigger:hover .tecnico-btn-tooltip,
body.tecnico-body.tecnico-dashboard .tecnico-tooltip-trigger:focus-visible .tecnico-btn-tooltip {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

@media (max-width: 760px) {
    body.tecnico-body.tecnico-dashboard .tecnico-panel-tools {
        align-items: stretch !important;
        justify-content: stretch !important;
        flex-wrap: wrap !important;
    }

    body.tecnico-body.tecnico-dashboard .tecnico-vista-toggle,
    body.tecnico-body.tecnico-dashboard .tecnico-vista-toggle button,
    body.tecnico-body.tecnico-dashboard .tecnico-dashboard-search,
    body.tecnico-body.tecnico-dashboard .tecnico-panel-tools #filtroTecnico {
        width: 100% !important;
    }

    body.tecnico-body.tecnico-dashboard .tecnico-btn-tooltip {
        width: min(320px, calc(100vw - 40px)) !important;
    }
}
