/* Dirección D — solo apariencia. Se carga después de tintorero.css. */
:root {
  --font: 'Inter', system-ui, sans-serif;
  --verde-oscuro: #0F2E26;
  --verde-ingles: #0A7A62;
  --aqua: #7FE0B0;
  --gris-fondo: #E3EAE6;
  --blanco: #ffffff;
  --border: #E1E7E4;
  --border-soft: #E4E9E7;
  --text: #13201C;
  --muted: #7C8985;
  --accent: #0A7A62;
  --surface: #ffffff;
  --surface2: #F6F8F7;
  --bg: #E3EAE6;
  --text-on-dark: #FBFCFB;
  --muted-on-dark: #B5CEC5;
  --radius: 13px;
}

html { font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
body {
  font-family: Inter, system-ui, sans-serif;
  background: #E3EAE6;
  color: #13201C;
  align-items: stretch;
  justify-content: flex-start;
  padding: 12px;
}

#mainApp {
  background: #FBFCFB;
  border: 1px solid #DCE4E0;
  border-radius: 18px;
  min-height: calc(100vh - 24px);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15,46,38,.06), 0 12px 40px -18px rgba(15,46,38,.18);
}

/* Barra */
.nav {
  position: sticky;
  top: 0;
  left: auto;
  right: auto;
  height: 54px;
  min-height: 54px;
  padding: 0 14px 0 16px;
  gap: 2px;
  background: #fff;
  border-bottom: 1px solid #E7ECEA;
  box-shadow: none;
  flex-wrap: nowrap;
}
.nav-brand {
  border-right: none;
  margin-right: 14px;
  padding: 0 4px 0 0;
  gap: 10px;
}
.nav-brand-logo { height: 30px; max-width: 158px; }
.nav-ctx {
  font-size: 12.5px;
  font-weight: 500;
  font-style: normal;
  color: #7C8985;
  padding-left: 10px;
  border-left: 1px solid #DCE3E0;
  white-space: nowrap;
}
.nav-ctx-staff { display: none; }
.nav:has(#nav-dashboard[style*="display:none"]) .nav-ctx-office,
.nav:has(#nav-dashboard[style*="display: none"]) .nav-ctx-office { display: none; }
.nav:has(#nav-dashboard[style*="display:none"]) .nav-ctx-staff,
.nav:has(#nav-dashboard[style*="display: none"]) .nav-ctx-staff { display: inline; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #4E5C57;
  background: transparent;
  line-height: 1;
}
.nav-link::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--ni) center / contain no-repeat;
  mask: var(--ni) center / contain no-repeat;
}
.nav-link:hover:not(.active) { color: #0F2E26; background: #F0F3F2; }
.nav-link:active:not(.active) { color: #0F2E26; }
.nav-link.active,
.nav-link.active:hover {
  background: #0F2E26;
  color: #fff;
}
.nav-link.active::before { background: #7FE0B0; }

#nav-dashboard { --ni: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E"); }
#nav-grabacion { --ni: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='23 7 16 12 23 17 23 7'/%3E%3Crect x='1' y='5' width='15' height='14' rx='2'/%3E%3C/svg%3E"); }
#nav-listado { --ni: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01'/%3E%3C/svg%3E"); }
#nav-manual { --ni: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E"); }
#nav-staff { --ni: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
#nav-zonas { --ni: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M12 21s7-6.2 7-11a7 7 0 1 0-14 0c0 4.8 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.2'/%3E%3C/svg%3E"); }
#nav-tipologias { --ni: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.2'/%3E%3C/svg%3E"); }
#nav-presentacion { --ni: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='14' rx='2'/%3E%3Cpath d='M8 21h8M12 18v3'/%3E%3C/svg%3E"); }
a.nav-link { --ni: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M18 20V10M12 20V4M6 20v-6'/%3E%3C/svg%3E"); }

.nav-more { position: relative; display: flex; align-items: center; }
.nav-more:not(:has(.nav-link:not([style*="display:none"]):not([style*="display: none"]))) { display: none; }
.nav-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: none;
  border-radius: 99px;
  background: transparent;
  color: #4E5C57;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.nav-more-btn::before {
  content: "";
  width: 15px;
  height: 15px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='5' cy='12' r='1'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='19' cy='12' r='1'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='5' cy='12' r='1'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='19' cy='12' r='1'/%3E%3C/svg%3E") center / contain no-repeat;
}
.nav-more-btn::after {
  content: "";
  width: 12px;
  height: 12px;
  background: #93A09B;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
}
.nav-more:hover .nav-more-btn,
.nav-more:focus-within .nav-more-btn { background: #F0F3F2; color: #0F2E26; }
.nav-more:has(.nav-link.active) .nav-more-btn { background: #0F2E26; color: #fff; }
.nav-more:has(.nav-link.active) .nav-more-btn::before { background: #7FE0B0; }
.nav-more:has(.nav-link.active) .nav-more-btn::after { background: #fff; }
.nav-more-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 196px;
  padding: 6px;
  background: #fff;
  border: 1px solid #E4E9E7;
  border-radius: 12px;
  box-shadow: 0 10px 28px -12px rgba(15,46,38,.28);
  z-index: 80;
  flex-direction: column;
  gap: 2px;
}
.nav-more:hover .nav-more-menu,
.nav-more:focus-within .nav-more-menu { display: flex; }
.nav-more-menu .nav-link { width: 100%; justify-content: flex-start; border-radius: 8px; }

.nav-user-area {
  border-left: 1px solid #E7ECEA;
  gap: 10px;
  padding-left: 12px;
}
.nav-user-label {
  color: #4E5C57;
  font-style: normal;
  font-size: 12.5px;
  font-weight: 500;
  max-width: 240px;
}
.btn-logout {
  background: #fff;
  color: #26332F;
  border: 1px solid #E1E7E4;
  border-radius: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 12px;
}
.btn-logout:hover { background: #F6F8F7; border-color: #DCE4E0; }

/* Páginas */
.page { margin-top: 0; padding: 8px 22px 36px; animation: none; }
.page-kicker {
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 500;
  color: #7C8985;
  margin-bottom: 4px;
}
.page-header { align-items: center; margin-bottom: 16px; }
.page-header h2,
.dash-toolbar h2,
.result-done-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.025em;
  color: #0F2E26;
}
.page-header p,
.zl-intro { font-style: normal; color: #7C8985; }

/* Tarjetas y formularios */
.card,
.card-tinto,
.dash-card,
.landing-card,
.staff-card,
.table-wrap,
.modal {
  background: #fff;
  border: 1px solid #E4E9E7;
  border-radius: 13px;
  box-shadow: none;
}
.card-tinto { overflow: hidden; }
.card-tinto-head {
  background: #fff;
  border-bottom: 1px solid #F0F3F2;
  padding: 14px 16px;
  align-items: center;
}
.card-tinto-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  color: #0A7A62;
  border: 1px solid #E4E9E7;
  box-shadow: none;
  font-size: 16px;
}
.card-tinto-title { color: #13201C; font-size: 15px; font-weight: 600; }
.card-tinto-sub { color: #7C8985; font-style: normal; font-weight: 400; }
.card-tinto-body { background: #fff; }
.card-label { color: #0A7A62; letter-spacing: .04em; }

label { color: #3B4844; font-weight: 600; font-size: 12px; }
input[type=text],
input[type=password],
select.field-select,
.filter-select,
.date-input,
input.search-input,
.modal-field input,
.modal-field select,
.dash-filters .date-input,
.dash-filters .filter-select,
.dash-localidad-wrap input,
.dash-chart-mode,
.landing-card textarea,
.landing-rich-editor,
.landing-rich-inline {
  background: #fff;
  border: 1px solid #E1E7E4;
  border-radius: 10px;
  color: #13201C;
  font-family: Inter, system-ui, sans-serif;
}
input[type=text]:focus,
input[type=password]:focus,
select.field-select:focus,
.filter-select:focus,
.date-input:focus,
input.search-input:focus,
.modal-field input:focus,
.modal-field select:focus,
.landing-rich-editor:focus,
.landing-rich-inline:focus,
.login-pass-wrap input:focus,
.login-card input[type=text]:focus {
  border-color: #0A7A62;
  box-shadow: 0 0 0 3px #E2F6EC;
  outline: none;
}

.btn { border-radius: 99px; font-weight: 600; }
.btn-primary,
.btn-preparar,
.btn-listado-adjuntar,
.btn-modal-confirm { background: #0A7A62; color: #fff; border: none; border-radius: 99px; }
.btn-primary:not(:disabled):hover,
.btn-preparar:not(:disabled):hover,
.btn-listado-adjuntar:hover,
.btn-modal-confirm:hover { background: #086B56; color: #fff; }
.btn-ghost,
.btn-staff-action,
.btn-clear-filters,
.zl-toolbar button,
.landing-toolbar button,
.btn-copy,
.btn-pag {
  background: #fff;
  color: #26332F;
  border: 1px solid #E1E7E4;
  border-radius: 10px;
  box-shadow: none;
  font-weight: 600;
}
.btn-staff-action.edit,
.btn-iniciar {
  background: #0A7A62;
  color: #fff;
  border-color: #0A7A62;
  border-radius: 99px;
}
.btn-iniciar:not(:disabled):hover { background: #086B56; box-shadow: none; }
.btn-success { border-radius: 99px; }
.hint-aqua { font-style: normal; color: #4E5C57; }
.hint-aqua::before { background: #0A7A62; }
.staff-correo-hint { font-style: normal; }

/* Dashboard */
.dashboard-wrap { max-width: 1240px; padding-top: 18px; }
#page-dashboard .page-kicker { display: none; }
#page-dashboard .dash-toolbar h2 { font-size: 22px; font-weight: 700; letter-spacing: -.025em; color: #0F2E26; }
.dash-toolbar { align-items: center; margin-bottom: 12px; }
.dash-toolbar-actions .btn-staff-action {
  height: 34px;
  padding: 0 13px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #E1E7E4;
  color: #26332F;
  font-size: 12.5px;
  font-weight: 600;
}
.dash-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 14px;
}
.dash-filters .filter-select,
.dash-filters .date-input,
.dash-localidad-wrap input {
  height: 34px;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 12.5px;
  background: #fff;
  border: 1px solid #E1E7E4;
  color: #26332F;
}
#dash-preset {
  background: #F0F3F2;
  border-color: #E7ECEA;
  font-weight: 600;
  color: #0F2E26;
}
.dash-filters .btn-staff-action {
  height: 34px;
  padding: 0 14px;
  border-radius: 99px;
  font-size: 12.5px;
}
.dash-filters .btn-staff-action:first-of-type {
  background: #0A7A62;
  color: #fff;
  border-color: #0A7A62;
}
.dash-card:has(#dash-localidad-resumen) { padding: 12px 14px; }
#dash-localidad-resumen { color: #7C8985; font-size: 12.5px; opacity: 1; }
.dash-kpis { gap: 14px; }
.dash-kpi {
  position: relative;
  background: #fff;
  border: 1px solid #E4E9E7;
  border-radius: 13px;
  padding: 14px 52px 14px 16px;
  min-height: 108px;
}
.dash-kpi::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 99px;
  border: 1px solid #E4E9E7;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E5C57' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.dash-kpis .dash-kpi:nth-child(3)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E5C57' stroke-width='2'%3E%3Ccircle cx='12' cy='8' r='3'/%3E%3Cpath d='M5 19c1.2-3 3.6-4.5 7-4.5S17.8 16 19 19'/%3E%3C/svg%3E");
}
.dash-kpis .dash-kpi:nth-child(4)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E5C57' stroke-width='2'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M8 3v4M16 3v4M4 10h16'/%3E%3C/svg%3E");
}
.dash-kpi .kpi-label { font-style: normal; font-size: 12px; font-weight: 500; color: #6E7B76; }
.dash-kpi .kpi-value { font-size: 30px; font-weight: 700; letter-spacing: -.035em; color: #0F2E26; line-height: 1.1; margin-top: 8px; }
.dash-kpis .dash-kpi:nth-child(3) .kpi-value,
.dash-kpis .dash-kpi:nth-child(4) .kpi-value { font-size: 18px; letter-spacing: -.02em; line-height: 1.25; }
.dash-kpis .dash-kpi:first-child { background: #0F2E26; border-color: #0F2E26; }
.dash-kpis .dash-kpi:first-child .kpi-label { color: #B5CEC5; }
.dash-kpis .dash-kpi:first-child .kpi-value { color: #fff; }
.dash-kpis .dash-kpi:first-child::after {
  border: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2E26' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.dash-grid-2 { gap: 14px; }
.dash-grid-2:has(#dash-timeline-bars) { grid-template-columns: 1.45fr .9fr; }
.dash-card { padding: 14px 16px; }
.dash-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #13201C;
}
.dash-card h3::before {
  content: "";
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 7px;
  border: 1px solid #E4E9E7;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7A62' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 19V10M12 19V5M19 19v-7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.dash-card-head { margin-bottom: 12px; align-items: center; }
.dash-chart-mode {
  height: 28px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid #E4E9E7;
  background: #fff;
  color: #4E5C57;
  font-size: 12px;
  font-weight: 500;
}
.bar-row { grid-template-columns: minmax(110px, 190px) 1fr 32px; font-size: 12.5px; font-weight: 500; color: #13201C; }
.bar-track { height: 8px; background: #EEF2F0; }
.bar-fill { background: #B7E4CC; border-radius: 99px; }
.dash-table th {
  background: #F6F8F7;
  color: #7C8985;
  font-style: normal;
  font-weight: 500;
  font-size: 11.5px;
}
.dash-table td { border-bottom-color: #F0F3F2; }
.dash-rank.top { background: #0F2E26; }
.storage-meter { height: 8px; background: #EEF2F0; border-color: #E4E9E7; }
.storage-fill { background: #0A7A62; }
.storage-meta strong { color: #13201C; font-weight: 600; }
.dash-detail { border-radius: 13px; }
.dash-detail > summary { color: #13201C; font-weight: 600; padding: 2px 0; }

/* Listado */
.listado-wrap { max-width: 1180px; padding-top: 18px; }
.filters { gap: 8px; }
.stat-pill {
  background: #fff;
  border: 1px solid #E4E9E7;
  box-shadow: none;
  border-radius: 99px;
  color: #13201C;
}
.stat-pill .dot { background: #0A7A62; }
thead th {
  background: #F6F8F7;
  color: #7C8985;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: none;
  border-bottom: 1px solid #EDF1EF;
}
tbody tr { border-bottom: 1px solid #F0F3F2; }
tbody tr:hover { background: #F7FBF9; }
.badge-status { border-radius: 99px; font-weight: 600; }
.badge-finalizado { background: #E2F6EC; color: #0A7A62; border-color: transparent; }
.badge-procesando { background: #F0F3F2; color: #4E5C57; border-color: transparent; }
.listado-bulk-bar {
  background: #E2F6EC;
  border-color: #C9EBDA;
  border-radius: 12px;
  color: #0F2E26;
}
.btn-pag.active-page { background: #0F2E26; border-color: #0F2E26; color: #fff; }
.results-summary, .pag-info, .td-dur, .td-size, .td-nombre-sub { font-style: normal; }

/* Grabación en curso y resultado */
#controlsPanel {
  background: #fff;
  border: 1px solid #E4E9E7;
  border-radius: 13px;
  box-shadow: none;
  max-width: 640px;
}
.controls-header h2 { font-style: normal; color: #7C8985; font-weight: 500; }
.tasacion-name { color: #0F2E26; }
.big-timer { font-weight: 600; letter-spacing: -.04em; color: #0F2E26; }
.pip-hint {
  background: #F3FAF6;
  border: 1px solid #D7EFE4;
  font-style: normal;
  border-radius: 12px;
}
.rec-badge { font-style: normal; }
.big-btn { border-radius: 12px; }
.result-done-success, .result-sub, .result-done-hint, .upload-progress-label { font-style: normal; }
.upload-progress-track { background: #EEF2F0; border-color: #E4E9E7; height: 8px; }
.upload-progress-fill { background: #0A7A62; }
.link-box { background: #F6F8F7; border-color: #E4E9E7; border-radius: 10px; }
#countdownOverlay { background: rgba(15,46,38,.92); }
.countdown-number { color: #7FE0B0; font-weight: 600; }
.countdown-label { font-style: normal; color: #D5E4DE; }

/* Staff, catálogos, presentación */
.staff-wrap, .zl-page, .landing-wrap { padding-top: 18px; }
.staff-wrap { max-width: 980px; }
.staff-card { align-items: flex-start; border-radius: 13px; }
.staff-avatar-big { border-radius: 10px; width: 44px; height: 44px; font-size: 16px; }
.staff-role, .staff-count { font-style: normal; text-align: left; }
.staff-add-card { border-radius: 13px; border-style: dashed; border-color: #D5DED9; background: #fff; }
.staff-add-card:hover { background: #F3FAF6; border-color: #0A7A62; }
.zl-macro { border-radius: 13px; border-color: #E4E9E7; }
.zl-macro-h { color: #0F2E26; }
.zl-macro[data-tone="caba"] .zl-macro-h,
.zl-macro[data-tone="norte"] .zl-macro-h,
.zl-macro[data-tone="oeste"] .zl-macro-h,
.zl-macro[data-tone="sur"] .zl-macro-h { background: #F3FAF6; }
.zl-macro-body { background: #FBFCFB; }
.zl-partido-card { border-color: #E4E9E7; border-radius: 12px; }
.landing-preview { border-style: solid; border-color: #E4E9E7; border-radius: 12px; background: #fff; }
.landing-inline-italic.active { border-color: #0A7A62; color: #0A7A62; }

/* Login, modales, toasts */
.login-screen { background: #E3EAE6; }
.login-card {
  border: 1px solid #DCE4E0;
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(15,46,38,.06), 0 12px 40px -18px rgba(15,46,38,.18);
}
.login-card .header h1 { color: #0F2E26; letter-spacing: -.025em; }
.login-card .field label { color: #3B4844; }
.modal-overlay { background: rgba(15,46,38,.45); }
.modal { border-radius: 16px; }
.modal-title { color: #0F2E26; letter-spacing: -.02em; }
.modal-field label { letter-spacing: .04em; }
.toast {
  background: #0F2E26;
  color: #fff;
  border: none;
  border-radius: 99px;
}
#browserBlockOverlay { font-family: Inter, system-ui, sans-serif !important; background: #0F2E26 !important; }
#diagModal { font-family: Inter, system-ui, sans-serif !important; }

@media (max-width: 1180px) {
  .nav-ctx { display: none; }
  .nav-user-label { max-width: 120px; }
  .nav-link { padding: 6px 9px; font-size: 12.5px; }
}
@media (max-width: 860px) {
  body { padding: 0; }
  #mainApp { border-radius: 0; min-height: 100vh; border-left: none; border-right: none; }
  .nav { flex-wrap: wrap; height: auto; padding: 8px 10px; row-gap: 4px; }
  .nav-brand { margin-right: 8px; }
  .nav-user-area {
    width: 100%;
    margin-left: 0;
    border-left: none;
    border-top: 1px solid #E7ECEA;
    padding: 8px 0 0;
    justify-content: space-between;
  }
  .page { padding: 8px 14px 28px; }
  .content-inner { padding-top: 12px; }
}
