/* Origen: gestor-comercios, tablero.css @ 870e340e91aad4344301dacb221347473bc01b8e.
   Estilos compartidos acotados al contenedor; sin selectores de negocio ni Bootstrap. */
.gesterum-ui {
  --gu-accent: #a4430b;
  --gu-accent-dark: #843507;
  --gu-ink: #24272b;
  --gu-muted: #62676f;
  --gu-line: #dedfe3;
  --gu-paper: #fff;
  --gu-wash: #f3f4f6;
  --gu-soft: #f8ede4;
  --gu-focus: #0c7780;
  --gu-shell-width: 430px;
  color: var(--gu-ink);
  font: 1rem/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
.gesterum-ui, .gesterum-ui *, .gesterum-ui *::before, .gesterum-ui *::after { box-sizing: border-box; }
.gesterum-ui.gu-shell { max-width: var(--gu-shell-width); min-height: 100dvh; margin-inline: auto; background: var(--gu-wash); position: relative; }
.gesterum-ui .gu-header { background: var(--gu-accent); color: #fff; padding: 20px 18px 16px; }
.gesterum-ui h1 { font-size: 1.3rem; font-weight: 750; margin: 0; }
.gesterum-ui h2 { font-size: 1.05rem; font-weight: 750; margin: 0 0 12px; }
.gesterum-ui h3 { font-size: 1rem; font-weight: 650; }
.gesterum-ui p { margin: 8px 0; }
.gesterum-ui .gu-main { padding: 20px 16px calc(100px + env(safe-area-inset-bottom)); overflow-wrap: anywhere; }
.gesterum-ui .gu-card { background: var(--gu-paper); padding: 16px; border: 1px solid var(--gu-line); border-radius: 8px; margin: 0 0 12px; }
.gesterum-ui .gu-card > :last-child { margin-bottom: 0; }
.gesterum-ui .gu-muted { color: var(--gu-muted); font-size: .875rem; }
.gesterum-ui .gu-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gesterum-ui .gu-button { min-height: 44px; border: 1px solid var(--gu-line); background: var(--gu-paper); color: var(--gu-accent); border-radius: 6px; padding: 10px 12px; font: inherit; font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; touch-action: manipulation; cursor: pointer; }
.gesterum-ui .gu-button-primary { background: var(--gu-accent); color: #fff; border-color: var(--gu-accent); }
.gesterum-ui .gu-button:hover { filter: brightness(.94); }
.gesterum-ui .gu-button:disabled { opacity: .55; cursor: default; }
.gesterum-ui :is(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--gu-focus); outline-offset: 3px; }
.gesterum-ui .gu-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.gesterum-ui .gu-metrics .gu-card { margin: 0; padding: 13px; }
.gesterum-ui dl, .gesterum-ui dd { margin: 0; }
.gesterum-ui dt { color: var(--gu-muted); font-size: .875rem; }
.gesterum-ui .gu-metric-value { font-size: 1.35rem; font-weight: 750; color: var(--gu-accent); overflow-wrap: anywhere; }
.gesterum-ui .gu-field { display: block; margin-top: 12px; }
.gesterum-ui .gu-field > :is(span, label) { display: block; font-size: .85rem; margin-bottom: 4px; }
.gesterum-ui .gu-input { min-height: 44px; max-width: 100%; width: 100%; padding: 9px 10px; border: 1px solid var(--gu-line); border-radius: 6px; background: var(--gu-paper); color: var(--gu-ink); font: inherit; }
.gesterum-ui .gu-input[aria-invalid="true"] { border-color: #a7202e; }
.gesterum-ui .gu-error { color: #a7202e; background: #fff0f1; padding: 12px; border-radius: 6px; }
.gesterum-ui .gu-status { color: var(--gu-accent-dark); background: var(--gu-soft); padding: 12px; border-radius: 6px; }
.gesterum-ui .gu-nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: var(--gu-shell-width); background: var(--gu-paper); display: flex; border-top: 1px solid var(--gu-line); padding-bottom: env(safe-area-inset-bottom); z-index: 20; }
.gesterum-ui .gu-nav > a { flex: 1 1 0; min-width: 0; background: transparent; color: var(--gu-muted); border-top: 3px solid transparent; padding: 12px 4px; min-height: 66px; display: grid; place-items: center; font-size: .85rem; text-decoration: none; overflow-wrap: anywhere; }
.gesterum-ui .gu-nav > a[aria-current="page"] { color: var(--gu-accent); border-top-color: var(--gu-accent); font-weight: 700; }
.gesterum-ui .gu-skip { position: absolute; left: 8px; top: 8px; z-index: 30; transform: translateY(-200%); background: var(--gu-paper); color: var(--gu-ink); padding: 12px; }
.gesterum-ui .gu-skip:focus { transform: none; }
.gesterum-ui summary { min-height: 44px; padding: 10px 0; cursor: pointer; }
@media (min-width: 431px) { .gesterum-ui.gu-shell { box-shadow: 0 0 35px #00000015; } }
@media (prefers-reduced-motion: reduce) { .gesterum-ui *, .gesterum-ui *::before, .gesterum-ui *::after { scroll-behavior: auto; transition: none; animation: none; } }

/* Variantes y componentes adicionales. Los estados siempre conservan texto visible. */
.gesterum-ui .gu-button-danger { background: #a7202e; border-color: #a7202e; color: #fff; }
.gesterum-ui .gu-tone-neutral { --gu-tone-bg: #edf1f5; --gu-tone-ink: #364456; --gu-tone-border: #ced7e0; }
.gesterum-ui .gu-tone-success { --gu-tone-bg: #e9f5ee; --gu-tone-ink: #236042; --gu-tone-border: #b9d9c6; }
.gesterum-ui .gu-tone-warning { --gu-tone-bg: #fff4da; --gu-tone-ink: #725010; --gu-tone-border: #e4cc91; }
.gesterum-ui .gu-tone-danger { --gu-tone-bg: #fff0f1; --gu-tone-ink: #a7202e; --gu-tone-border: #efbfc5; }
.gesterum-ui .gu-badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 5px; background: var(--gu-tone-bg); color: var(--gu-tone-ink); font-size: .75rem; font-weight: 650; }
.gesterum-ui .gu-alert { padding: 14px 16px; border: 1px solid var(--gu-tone-border); border-radius: 8px; background: var(--gu-tone-bg); color: var(--gu-tone-ink); }
.gesterum-ui .gu-alert-title { display: block; margin-bottom: 4px; }
.gesterum-ui .gu-alert > :last-child { margin-bottom: 0; }
.gesterum-ui .gu-empty { padding: 32px 20px; text-align: center; border: 1px dashed var(--gu-line); border-radius: 8px; background: var(--gu-paper); }
.gesterum-ui .gu-empty .gu-actions { justify-content: center; }
.gesterum-ui .gu-disclosure { background: var(--gu-paper); border: 1px solid var(--gu-line); border-radius: 8px; padding: 4px 16px; }
.gesterum-ui .gu-disclosure summary { font-weight: 650; }
.gesterum-ui .gu-disclosure[open] { padding-bottom: 16px; }
.gesterum-ui .gu-table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--gu-line); border-radius: 8px; }
.gesterum-ui .gu-table { width: 100%; border-collapse: collapse; background: var(--gu-paper); text-align: left; font-size: .875rem; }
.gesterum-ui .gu-table caption { text-align: left; padding: 14px 16px; font-weight: 650; }
.gesterum-ui .gu-table :is(th, td) { padding: 12px 16px; border-top: 1px solid var(--gu-line); }
.gesterum-ui .gu-table thead { background: var(--gu-wash); }
.gesterum-ui .gu-table .gu-numeric { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gesterum-ui .gu-check { display: flex; align-items: start; gap: 10px; min-height: 44px; padding: 10px 0; }
.gesterum-ui .gu-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gu-accent); flex-shrink: 0; }
.gesterum-ui .gu-skeleton { display: block; height: 14px; background: var(--gu-line); border-radius: 4px; margin: 10px 0; }
.gesterum-ui .gu-skeleton-heading { height: 24px; width: 45%; }
.gesterum-ui .gu-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
