/* ==========================================================================
   AsistaWeb · Diseño 2026
   Hoja única del sitio de administración (Site.Master) y de las páginas
   sueltas que la enlazan (Verificar, Propuesta, Fiscalización, BackOffice).
   Colores tomados del logo de Elipse. Todo bajo body.aw para no afectar
   páginas que no la usan.
   ========================================================================== */

@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

:root {
    --aw-ink: #13233A;          /* azul noche: menú y textos */
    --aw-ink-2: #1B2F4C;
    --aw-ink-3: #2B4466;
    --aw-text: #13233A;
    --aw-text-2: #4A5668;
    --aw-text-3: #5B6778;
    --aw-side-text: #C9D3E1;
    --aw-primary: #1F6FB2;      /* azul Elipse: acción principal */
    --aw-primary-dark: #174F80;
    --aw-primary-soft: #E6F0FA;
    --aw-sky: #4BA3DF;          /* celeste del logo */
    --aw-orange: #F39200;       /* naranjo del logo: destacados */
    --aw-orange-soft: #FFF1DC;
    --aw-orange-text: #8A4B00;
    --aw-green-soft: #E3F4EA;
    --aw-green-text: #17633A;
    --aw-red: #B42318;
    --aw-red-soft: #FDE8E8;
    --aw-red-text: #A11A1A;
    --aw-bg: #F3F5F9;
    --aw-surface: #FFFFFF;
    --aw-surface-2: #F7F9FC;
    --aw-border: #E3E8EF;
    --aw-border-2: #D5DCE6;
    --aw-radius: 14px;
    --aw-radius-sm: 10px;
    --aw-shadow: 0 1px 2px rgba(19, 35, 58, .05);
    --aw-shadow-lg: 0 12px 32px rgba(19, 35, 58, .10);
    --aw-font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --aw-mono: "JetBrains Mono", Consolas, "Courier New", monospace;
    --aw-side-w: 256px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
html { background: var(--aw-bg); -webkit-text-size-adjust: 100%; }
body.aw {
    margin: 0; padding: 0; border: 0;
    background: var(--aw-bg); color: var(--aw-text);
    font-family: var(--aw-font); font-size: 14px; line-height: 1.5;
}
.aw *, .aw *::before, .aw *::after { box-sizing: border-box; }
.aw a { color: var(--aw-primary); text-decoration: none; }
.aw a:hover { color: var(--aw-primary-dark); text-decoration: underline; }
.aw h1, .aw h2, .aw h3, .aw h4, .aw h5, .aw h6 { color: var(--aw-text); margin: 0 0 .5em; padding: 0; line-height: 1.25; font-weight: 700; }
.aw h1 { font-size: 24px; letter-spacing: -.01em; }
.aw h2 { font-size: 20px; }
.aw h3 { font-size: 18px; }
.aw h4 { font-size: 16px; }
.aw h5, .aw h6 { font-size: 14px; }
.aw p { margin: 0 0 .75em; }
.aw img { max-width: 100%; }
.aw :focus-visible { outline: 3px solid #9CC6EC; outline-offset: 1px; }
.aw .float-left { float: left; }
.aw .float-right { float: right; }
.aw .clear-fix::after { content: ""; display: table; clear: both; }
.aw .aw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.aw .aw-mono, .aw .hash { font-family: var(--aw-mono); }

/* --------------------------------------------------------------------------
   Estructura: menú lateral + barra superior + contenido
   -------------------------------------------------------------------------- */
.aw-shell { min-height: 100vh; display: flex; }
.aw-side {
    flex: 0 0 var(--aw-side-w); width: var(--aw-side-w);
    background: var(--aw-ink); color: #fff;
    display: flex; flex-direction: column; gap: 18px;
    padding: 18px 12px 24px;
}
.aw-side-logo { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 12px; padding: 10px 12px; }
.aw-side-logo img { height: 44px; width: auto; display: block; }
.aw-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }

.aw-top {
    position: sticky; top: 0; z-index: 50;
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
    padding: 12px 28px; background: var(--aw-surface); border-bottom: 1px solid var(--aw-border);
}
.aw-top-title { flex: 1 1 240px; min-width: 0; }
.aw-crumb { font-size: 12px; color: var(--aw-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw-top-title h1 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.aw-top-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.aw-top-tools .aw-empresa { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--aw-text-2); }
.aw-top-tools .aw-empresa select { width: auto; min-width: 200px; max-width: 360px; margin: 0; }
.aw-user { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--aw-text-2); }
.aw-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--aw-orange-soft); color: var(--aw-orange-text); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; text-transform: uppercase; }
.aw .aw-burger {
    display: none; width: 44px; min-height: 44px; height: 44px; border-radius: 12px;
    border: 1px solid var(--aw-border-2); background: #fff; color: var(--aw-text);
    align-items: center; justify-content: center; cursor: pointer; padding: 0; margin: 0;
}
.aw-top-logo { display: none; }
.aw-top-logo img { height: 40px; width: auto; display: block; }

.aw-main { flex: 1 0 auto; width: 100%; max-width: 1440px; padding: 24px 28px 32px; display: flex; flex-direction: column; gap: 18px; }
.aw-content { min-width: 0; overflow-x: auto; }
.aw-shell--out .aw-content { overflow: visible; }
.aw-content:empty { display: none; }
.aw-foot {
    padding: 14px 28px 20px; font-size: 12px; color: var(--aw-text-3);
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px;
    border-top: 1px solid var(--aw-border); background: var(--aw-surface);
}
.aw-foot b { color: var(--aw-text); }
.aw-foot p { margin: 0; }
.aw-scrim { display: none; }

/* Sin sesión: sin menú lateral, logo en la barra superior */
.aw-shell--out .aw-side, .aw .aw-shell--out .aw-burger { display: none !important; }
.aw-shell--out .aw-top-logo { display: block; }
.aw-shell--out .aw-top-title { display: none; }
.aw-shell--out .aw-top { justify-content: space-between; padding: 10px 28px; }
.aw-shell--out .aw-main { max-width: 1200px; margin: 0 auto; }
.aw-access { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.aw-access a {
    display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px;
    border-radius: var(--aw-radius-sm); font-weight: 600; font-size: 14px; color: var(--aw-text);
}
.aw-access a:hover { background: var(--aw-surface-2); text-decoration: none; color: var(--aw-text); }
.aw-access a.aw-access-dt { border: 1px solid var(--aw-border-2); }
.aw-access a img { height: 24px; width: 24px; }
.aw-access input[type="submit"] { margin: 0; }

/* --------------------------------------------------------------------------
   Menú lateral (generado desde Web.sitemap)
   -------------------------------------------------------------------------- */
.aw-nav { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.aw-nav details > summary { list-style: none; }
.aw-nav details > summary::-webkit-details-marker { display: none; }
.aw-nav summary, .aw-nav a {
    display: flex; align-items: center; gap: 10px;
    min-height: 40px; padding: 8px 10px; border-radius: 8px;
    color: var(--aw-side-text); cursor: pointer; text-decoration: none; line-height: 1.3;
}
.aw-nav summary:hover, .aw-nav a:hover { background: var(--aw-ink-2); color: #fff; text-decoration: none; }
.aw-nav svg { flex: 0 0 auto; }
.aw-nav .aw-chev { margin-left: auto; transition: transform .15s ease; opacity: .7; }
.aw-nav details[open] > summary > .aw-chev { transform: rotate(90deg); }
.aw-nav .aw-sec > summary { font-weight: 600; color: #fff; }
.aw-nav .aw-sec-body { display: flex; flex-direction: column; gap: 1px; padding: 2px 0 6px 18px; margin-left: 10px; border-left: 1px solid var(--aw-ink-3); }
.aw-nav .aw-grp > summary { font-size: 13px; }
.aw-nav .aw-grp .aw-sec-body { padding-left: 10px; margin-left: 6px; }
.aw-nav .aw-sec-body a { font-size: 13px; min-height: 36px; }
.aw-nav a.is-active { background: var(--aw-primary); color: #fff; font-weight: 600; }
.aw-nav a.aw-top-link { font-weight: 600; color: #fff; }

/* --------------------------------------------------------------------------
   Tarjetas: el bloque "featured" de cada página es su panel de filtros
   -------------------------------------------------------------------------- */
.aw section.featured,
.aw .aw-card {
    background: var(--aw-surface); border: 1px solid var(--aw-border); border-radius: var(--aw-radius);
    box-shadow: var(--aw-shadow); padding: 18px 20px; margin: 0;
}
.aw section.featured .content-wrapper,
.aw .content-wrapper { max-width: none; margin: 0; padding: 0; width: auto; }
.aw section.featured h1, .aw section.featured h2, .aw section.featured h3 { font-size: 18px; margin: 0 0 4px; }
.aw section.featured hgroup.title h1 { font-size: 22px; }
.aw .aw-content > div[style*="padding"] { padding: 0 !important; }
.aw .aw-content > table, .aw .aw-content > div > table { margin-top: 0; }
.aw hgroup.title { margin-bottom: 12px; }

/* Tabla de parámetros y filtros (TblParam) */
.aw .TblParam { border-collapse: separate; border-spacing: 0; max-width: 100%; }
.aw .TblParam > tbody > tr > td,
.aw .TblParam > tr > td { border: 0; padding: 6px 12px 6px 0; text-align: left; vertical-align: middle; }
.aw .TblParam td td { border: 0; padding: 0 4px 0 0; }
.aw .TblCellBottomBorder { border-bottom: 1px solid var(--aw-border) !important; }

/* --------------------------------------------------------------------------
   Formularios
   -------------------------------------------------------------------------- */
.aw label { font-weight: 600; font-size: 13px; color: var(--aw-text-2); }
.aw fieldset { border: 1px solid var(--aw-border); border-radius: var(--aw-radius); padding: 16px 18px; margin: 0 0 16px; background: var(--aw-surface); }
.aw fieldset legend { font-weight: 700; font-size: 14px; color: var(--aw-text); padding: 0 6px; }
.aw fieldset ol { list-style: none; padding: 0; margin: 0; }
.aw fieldset ol li { padding-bottom: 12px; }
.aw fieldset ol li label { display: block; margin-bottom: 6px; }

.aw input[type="text"], .aw input[type="password"], .aw input[type="email"], .aw input[type="number"],
.aw input[type="date"], .aw input[type="datetime-local"], .aw input[type="time"], .aw input[type="month"],
.aw input[type="search"], .aw input[type="tel"], .aw input[type="url"], .aw input:not([type]),
.aw select, .aw textarea {
    font-family: inherit; font-size: 14px; color: var(--aw-text);
    background: #fff; border: 1px solid var(--aw-border-2); border-radius: 8px;
    min-height: 38px; padding: 7px 10px; margin: 3px 0;
    width: 300px; max-width: 100%;
    transition: border-color .12s ease, box-shadow .12s ease;
}
.aw select { padding: 6px 4px 6px 8px; }
.aw select[multiple], .aw select[size] { min-height: 0; padding: 4px; }
.aw textarea { width: 500px; min-height: 80px; line-height: 1.45; }
.aw input[type="file"] { font-family: inherit; font-size: 13px; max-width: 100%; }
.aw input:focus, .aw select:focus, .aw textarea:focus {
    outline: none; border-color: var(--aw-primary); box-shadow: 0 0 0 3px #DCEAF7;
}
.aw input:disabled, .aw select:disabled, .aw textarea:disabled,
.aw input[readonly], .aw textarea[readonly] { background: var(--aw-surface-2); color: var(--aw-text-3); }
.aw input[type="checkbox"], .aw input[type="radio"] {
    width: 18px; height: 18px; margin: 0 6px; vertical-align: middle; accent-color: var(--aw-primary);
}
.aw .ChkBoxClass input { width: 18px; height: 18px; }
.aw span > label, .aw td > label { font-weight: 500; color: var(--aw-text); }

/* Botones: azul por defecto; cancelar/volver en blanco; eliminar en rojo */
.aw input[type="submit"], .aw input[type="button"], .aw input[type="reset"], .aw button,
.aw a.aw-btn {
    font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.2;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 38px; padding: 8px 16px; margin: 3px 6px 3px 0; width: auto;
    border-radius: var(--aw-radius-sm); border: 1px solid var(--aw-primary);
    background: var(--aw-primary); color: #fff; cursor: pointer;
    transition: background-color .12s ease, border-color .12s ease, color .12s ease;
    -webkit-appearance: none; appearance: none;
}
.aw input[type="submit"]:hover, .aw input[type="button"]:hover, .aw button:hover, .aw a.aw-btn:hover {
    background: var(--aw-primary-dark); border-color: var(--aw-primary-dark); color: #fff; text-decoration: none;
}
.aw input[type="submit"]:disabled, .aw input[type="button"]:disabled, .aw button:disabled {
    background: #E9EDF3; border-color: #E9EDF3; color: #8C97A7; cursor: not-allowed;
}
.aw .aw-btn-sec, .aw input.aw-btn-sec, .aw a.aw-btn.aw-btn-sec,
.aw input[type="reset"] {
    background: #fff; color: var(--aw-text); border-color: var(--aw-border-2);
}
.aw .aw-btn-sec:hover, .aw input.aw-btn-sec:hover { background: var(--aw-surface-2); color: var(--aw-text); border-color: #BFC9D6; }
.aw .aw-btn-danger, .aw input.aw-btn-danger { background: #fff; color: var(--aw-red); border-color: #F1B9B4; }
.aw .aw-btn-danger:hover, .aw input.aw-btn-danger:hover { background: var(--aw-red); color: #fff; border-color: var(--aw-red); }
.aw .aw-btn-accent, .aw input.aw-btn-accent { background: var(--aw-orange); border-color: var(--aw-orange); color: var(--aw-ink); }
.aw .aw-btn-accent:hover, .aw input.aw-btn-accent:hover { background: #DB8300; border-color: #DB8300; color: var(--aw-ink); }
.aw .aw-btn-sm, .aw table input[type="submit"], .aw table input[type="button"] { min-height: 32px; padding: 5px 12px; font-size: 13px; border-radius: 8px; }
.aw .TblParam input[type="submit"], .aw .TblParam input[type="button"] { min-height: 38px; padding: 8px 16px; font-size: 14px; border-radius: var(--aw-radius-sm); }
.aw input[type="image"] { width: auto; border: 0; background: none; padding: 0; min-height: 0; vertical-align: middle; }

/* Validación y mensajes */
.aw .field-validation-error, .aw .error, .aw .TextErrBox, .aw .validation-summary-errors, .aw .message-error { color: var(--aw-red-text); font-weight: 600; }
.aw .TextErrBox:not(:empty), .aw .validation-summary-errors:not(:empty) {
    display: block; background: var(--aw-red-soft); border: 1px solid #F6C7C7; border-radius: var(--aw-radius-sm); padding: 10px 14px; margin: 8px 0;
}
.aw .validation-summary-errors ul { margin: 0; padding-left: 18px; }
.aw .field-validation-valid, .aw .validation-summary-valid { display: none; }
.aw .message-info { border: 1px solid #C6DCF2; background: var(--aw-primary-soft); border-radius: var(--aw-radius-sm); padding: 10px 14px; }
.aw .message-success { color: var(--aw-green-text); font-weight: 700; }
.aw .aw-alert { border-radius: var(--aw-radius-sm); padding: 12px 14px; margin: 0 0 12px; border: 1px solid; }
.aw .aw-alert-info { background: var(--aw-primary-soft); border-color: #C6DCF2; color: var(--aw-primary-dark); }
.aw .aw-alert-warn { background: var(--aw-orange-soft); border-color: #F5D3A4; color: var(--aw-orange-text); }
.aw .aw-alert-ok { background: var(--aw-green-soft); border-color: #B7E1C6; color: var(--aw-green-text); }
.aw .aw-alert-err { background: var(--aw-red-soft); border-color: #F6C7C7; color: var(--aw-red-text); }

/* --------------------------------------------------------------------------
   Tablas de datos: ListView (clases ListView*) y GridView (table[rules])
   -------------------------------------------------------------------------- */
.aw table { border-collapse: collapse; }
.aw [id$="itemPlaceholderContainer"],
.aw table[rules],
.aw table.aw-grid,
.aw table.grid {
    background: #fff !important; border: 1px solid var(--aw-border) !important;
    border-collapse: separate !important; border-spacing: 0; border-radius: 12px; overflow: hidden;
    font-family: var(--aw-font) !important; font-size: 13px; color: var(--aw-text);
    box-shadow: var(--aw-shadow);
}
.aw [id$="itemPlaceholderContainer"] > tbody > tr > td,
.aw [id$="itemPlaceholderContainer"] > tbody > tr > th,
.aw table[rules] > tbody > tr > td, .aw table[rules] > tbody > tr > th,
.aw table.aw-grid td, .aw table.aw-grid th, .aw table.grid td, .aw table.grid th {
    border: 0 !important; border-bottom: 1px solid #EEF1F5 !important;
    padding: 8px 12px; vertical-align: middle; text-align: left;
}
.aw [id$="itemPlaceholderContainer"] > tbody > tr:last-child > td,
.aw table[rules] > tbody > tr:last-child > td { border-bottom: 0 !important; }

/* Encabezados */
.aw .ListViewHeader, .aw .ListViewHeader > th,
.aw table[rules] > tbody > tr > th, .aw table[rules] > thead > tr > th,
.aw table.aw-grid th, .aw table.grid th {
    background: var(--aw-surface-2) !important; color: var(--aw-text-2) !important;
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
    white-space: nowrap; border-bottom: 1px solid var(--aw-border) !important;
}
.aw .ListViewHeader > th, .aw .ListViewHeader > td { padding: 10px 12px !important; }
.aw table[rules] th a, .aw .ListViewHeader a { color: var(--aw-text-2); }

/* Filas */
.aw .ListViewItem, .aw .ListViewAlter { background: #fff !important; color: var(--aw-text) !important; }
.aw .ListViewAlter { background: #FAFBFD !important; }
.aw .ListViewItem:hover, .aw .ListViewAlter:hover { background: #F2F7FD !important; }
.aw .ListViewEdit, .aw .ListViewInsert { background: var(--aw-primary-soft) !important; color: var(--aw-text) !important; }
.aw .ListViewInsert > td { border-top: 2px solid #C6DCF2 !important; }
.aw .ListViewSelect { background: #FFF6E8 !important; color: var(--aw-text) !important; font-weight: 600; }
.aw .ListViewEmpty { background: #fff; border: 1px dashed var(--aw-border-2) !important; border-radius: 12px; }
.aw .ListViewEmpty td { padding: 16px; color: var(--aw-text-3); }
.aw .ListView td, .aw .ListView th { padding-left: 12px; padding-right: 12px; }

/* GridView: filas con colores fijos heredados (RowStyle/AlternatingRowStyle) */
.aw table[rules] > tbody > tr[style*="background-color"] { background: #fff !important; color: var(--aw-text) !important; }
.aw table[rules] > tbody > tr:nth-child(even)[style*="background-color"] { background: #FAFBFD !important; }
.aw table[rules] > tbody > tr:hover > td { background-color: #F2F7FD; }

/* Colores fijos de plantillas antiguas: filas celestes, pie azul y fuente Verdana */
.aw tr[style*="#E0FFFF" i], .aw tr[style*="#E2DED6" i] { background: #fff !important; color: var(--aw-text) !important; }
.aw td[style*="#5D7B9D" i], .aw tr[style*="#5D7B9D" i] { background: transparent !important; color: var(--aw-text-2) !important; font-family: var(--aw-font) !important; padding: 8px 0 !important; }
.aw td[style*="#7ac0da" i] { background: var(--aw-primary-soft) !important; color: var(--aw-primary-dark) !important; font-size: 14px !important; border-radius: 8px; padding: 8px 12px !important; }
.aw [style*="Verdana" i] { font-family: var(--aw-font) !important; }
.aw [id$="itemPlaceholderContainer"] input[type="text"],
.aw [id$="itemPlaceholderContainer"] select,
.aw table[rules] input[type="text"], .aw table[rules] select { min-height: 32px; padding: 4px 8px; font-size: 13px; }

/* Paginador */
.aw .aw-pager td, .aw table[rules] tr.pager td { background: var(--aw-surface-2) !important; }
.aw table[rules] td table td { border: 0 !important; padding: 2px 6px; }
.aw table[rules] td table td a, .aw table[rules] td table td span { display: inline-block; min-width: 30px; padding: 4px 8px; border-radius: 6px; }
.aw table[rules] td table td span { background: var(--aw-primary); color: #fff; font-weight: 700; }

/* Etiquetas de estado reutilizables */
.aw .aw-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--aw-surface-2); color: var(--aw-text-2); }
.aw .aw-tag-ok { background: var(--aw-green-soft); color: var(--aw-green-text); }
.aw .aw-tag-warn { background: var(--aw-orange-soft); color: var(--aw-orange-text); }
.aw .aw-tag-info { background: var(--aw-primary-soft); color: var(--aw-primary-dark); }
.aw .aw-tag-err { background: var(--aw-red-soft); color: var(--aw-red-text); }

/* Visor de Crystal Reports: se deja con su estilo, con scroll propio */
.aw .aw-content [id*="CrystalReportViewer"] { background: #fff; }

/* --------------------------------------------------------------------------
   Inicio y acceso (Default.aspx, Login.aspx)
   -------------------------------------------------------------------------- */
.aw-hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding: 24px 0 8px; }
.aw-hero-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding-top: 12px; }
.aw-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--aw-orange-soft); color: var(--aw-orange-text); font-size: 13px; font-weight: 600; }
.aw .aw-hero h1 { margin: 0; font-size: 42px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.aw-lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--aw-text-2); max-width: 540px; }
.aw-verify { background: var(--aw-ink); color: #fff; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; max-width: 540px; }
.aw .aw-verify h2 { color: #fff; margin: 0; font-size: 16px; }
.aw-verify p { margin: 0; font-size: 14px; color: var(--aw-side-text); }
.aw-verify .aw-row { display: flex; flex-wrap: wrap; gap: 8px; }
.aw .aw-verify input[type="text"] { flex: 1 1 240px; width: auto; margin: 0; border-color: var(--aw-ink-3); background: var(--aw-ink-2); color: #fff; font-family: var(--aw-mono); font-size: 13px; min-height: 44px; }
.aw .aw-verify input[type="text"]::placeholder { color: #8FA0B8; }
.aw .aw-verify .aw-btn-accent { min-height: 44px; margin: 0; }
.aw-login-card {
    flex: 1 1 360px; min-width: 0; max-width: 440px; background: var(--aw-surface); border: 1px solid var(--aw-border);
    border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--aw-shadow-lg);
}
.aw .aw-login-card h2 { margin: 0 0 2px; font-size: 22px; }
.aw-login-card .aw-sub { margin: 0; font-size: 14px; color: var(--aw-text-3); }
.aw-login-card .aw-field { display: flex; flex-direction: column; gap: 6px; }
.aw .aw-login-card input[type="text"], .aw .aw-login-card input[type="password"] { width: 100%; min-height: 44px; font-size: 15px; margin: 0; }
.aw .aw-login-card input[type="submit"] { width: 100%; min-height: 48px; font-size: 15px; margin: 4px 0 0; }
.aw-login-card hr { border: 0; height: 1px; background: var(--aw-border); margin: 4px 0; }
.aw-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.aw .aw-quick a { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 12px; background: #fff; border: 1px solid var(--aw-border); color: var(--aw-text); }
.aw .aw-login-card .aw-quick a { background: #F3F7FC; border-color: transparent; }
.aw .aw-quick a:hover { background: var(--aw-primary-soft); text-decoration: none; }
.aw-quick b { font-size: 14px; }
.aw-quick span { font-size: 12px; color: var(--aw-text-3); }
.aw-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 8px; }
.aw-feature { background: var(--aw-surface); border: 1px solid var(--aw-border); border-radius: var(--aw-radius); padding: 16px 18px; }
.aw .aw-feature h3 { font-size: 15px; margin: 8px 0 4px; }
.aw-feature p { margin: 0; font-size: 13px; color: var(--aw-text-2); }
.aw-feature svg { color: var(--aw-primary); }

/* --------------------------------------------------------------------------
   Páginas sueltas (Verificar, Propuesta, Fiscalización, BackOffice)
   -------------------------------------------------------------------------- */
.aw-solo { min-height: 100vh; display: flex; flex-direction: column; }
.aw-solo-top { background: var(--aw-surface); border-bottom: 1px solid var(--aw-border); }
.aw-solo-top > div { max-width: 1100px; margin: 0 auto; padding: 10px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.aw-solo-top img { height: 40px; width: auto; display: block; }
.aw-solo-top .aw-solo-name { font-size: 13px; font-weight: 600; color: var(--aw-text-2); }
.aw-solo-main { flex: 1 0 auto; width: 100%; max-width: 1100px; margin: 0 auto; padding: 28px 24px; overflow-x: auto; }
.aw-solo-main.aw-narrow { max-width: 720px; }
.aw-solo-foot { border-top: 1px solid var(--aw-border); background: var(--aw-surface); }
.aw-solo-foot > div { max-width: 1100px; margin: 0 auto; padding: 14px 24px; font-size: 12px; color: var(--aw-text-3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; }
.aw-kv { width: 100%; border-collapse: collapse; }
.aw-kv td { padding: 9px 10px; border-bottom: 1px solid #EEF1F5; vertical-align: top; }
.aw-kv td:first-child { color: var(--aw-text-3); width: 40%; }

/* --------------------------------------------------------------------------
   Celular y tablet
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
    .aw-side {
        position: fixed; z-index: 200; top: 0; bottom: 0; left: 0; overflow-y: auto;
        transform: translateX(-105%); transition: transform .2s ease; box-shadow: var(--aw-shadow-lg);
    }
    body.aw-nav-open .aw-side { transform: none; }
    body.aw-nav-open .aw-scrim { display: block; position: fixed; inset: 0; z-index: 150; background: rgba(19, 35, 58, .45); }
    .aw .aw-burger { display: inline-flex; }
    .aw .aw-burger:hover { background: var(--aw-surface-2); color: var(--aw-text); border-color: var(--aw-border-2); }
    .aw-top { padding: 10px 16px; }
    .aw-main { padding: 16px; }
    .aw-foot { padding: 14px 16px 18px; }
    .aw .aw-hero h1 { font-size: 32px; }
}
@media (max-width: 700px) {
    .aw-top { position: static; }
    .aw-top-tools { width: 100%; }
    .aw-user > span:not(.aw-avatar) { display: none; }
    .aw-top-tools .aw-btn-sec { margin-left: auto; }
    .aw-top-tools .aw-empresa { flex: 1 1 100%; }
    .aw-top-tools .aw-empresa select { flex: 1; min-width: 0; max-width: none; }
    /* Los filtros (TblParam) se apilan en una columna */
    .aw .TblParam, .aw .TblParam > tbody, .aw .TblParam > tbody > tr, .aw .TblParam > tbody > tr > td { display: block; width: 100% !important; }
    .aw .TblParam > tbody > tr > td { padding: 4px 0; }
    .aw section.featured, .aw .aw-card { padding: 14px; }
    .aw input[type="text"], .aw input[type="password"], .aw input[type="email"], .aw input[type="number"],
    .aw input[type="date"], .aw select, .aw textarea { max-width: 100%; }
    .aw-shell--out .aw-top { padding: 8px 16px; }
    .aw-access a { padding: 0 10px; }
    .aw-solo-main { padding: 18px 14px; }
}
@media print {
    .aw-side, .aw-top, .aw-foot, .aw-burger, .aw-scrim { display: none !important; }
    .aw-main { padding: 0; max-width: none; }
    body.aw, html { background: #fff; }
    .aw section.featured, .aw .aw-card { border: 0; box-shadow: none; padding: 0; }
}

/* BackOffice: formulario de incidentes */
.aw table.f td { padding: 6px 12px 6px 0; vertical-align: top; }
.aw table.f td:first-child { font-weight: 600; color: var(--aw-text-2); white-space: nowrap; padding-top: 14px; }
@media (max-width: 700px) { .aw table.f, .aw table.f tbody, .aw table.f tr, .aw table.f td { display: block; width: 100%; } .aw table.f td:first-child { padding-top: 8px; } }

/* Accesos directos de la página de inicio interna */
.aw a.aw-feature { display: block; color: var(--aw-text); transition: border-color .12s ease, box-shadow .12s ease; }
.aw a.aw-feature:hover { text-decoration: none; border-color: #BFD5EC; box-shadow: var(--aw-shadow-lg); color: var(--aw-text); }
.aw a.aw-btn { text-decoration: none; }
