/* ===== Paleta: gris verde oliva + mostaza ===== */
:root {
  --bg: #f4f3ec;
  --surface: #ffffff;
  --sidebar: #3a4034;        /* oliva oscuro */
  --sidebar-2: #4a5142;
  --sidebar-txt: #d8dccb;

  --olive: #6b7353;          /* gris verde oliva */
  --olive-d: #565d43;
  --olive-l: #8a9270;
  --mustard: #d4a017;        /* mostaza */
  --mustard-d: #b5860b;
  --mustard-l: #e8c766;

  --primary: #6b7353;        /* acción principal = oliva */
  --primary-d: #565d43;

  --text: #2c2f26;
  --muted: #7a7d6f;
  --border: #e3e2d6;
  --line: #eceadf;

  --green: #4b8b5a;  --green-bg: #dbeede;
  --red: #c0563f;    --red-bg: #f6e0da;
  --amber: #d4a017;  --amber-bg: #f7ecc9;
  --blue: #5a94c4;   --blue-bg: #dceaf5;
  --slate-bg: #eeede3;

  /* Estados del calendario / reservas */
  --st-confirmada: #7cb2dd;  /* celeste */
  --st-encasa: #6db77e;      /* verde */
  --st-checkout: #e39a4e;    /* naranja */
  --st-tentativa: #b8a3d6;   /* lila */
  --st-bloqueada: #cf6b5a;   /* rojo */
  --st-limpieza: #e8cf6a;    /* amarillo */
  --st-disponible: #86c5e0;  /* celeste */

  --radius: 12px;
  --shadow: 0 1px 3px rgba(58,64,52,.10), 0 1px 2px rgba(58,64,52,.06);
  --shadow-lg: 0 12px 34px rgba(58,64,52,.22);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: 14px; -webkit-font-smoothing: antialiased; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
h1,h2,h3,h4 { margin: 0; font-weight: 700; }
a { color: var(--olive-d); }

/* ===== Login ===== */
.login-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(1200px 600px at 70% -10%, #6b7353 0%, #3a4034 55%); padding: 24px; }
.login-card { width: 380px; max-width: 100%; background: var(--surface); border-radius: 18px; padding: 32px 28px; box-shadow: var(--shadow-lg); }
.login-brand { text-align: center; margin-bottom: 22px; }
.login-logo { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 14px;
  background: linear-gradient(135deg, var(--olive), var(--mustard)); color: #fff; font-weight: 800; font-size: 20px;
  display: flex; align-items: center; justify-content: center; overflow: hidden; }
.login-logo img { width: 100%; height: 100%; object-fit: cover; }
.login-brand h1 { font-size: 22px; }
.login-brand p { color: var(--muted); margin: 4px 0 0; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #4a4d40; }
.field input, .field select, .inp { width: 100%; padding: 10px 12px; font-size: 14px; border: 1px solid var(--border);
  border-radius: 10px; background: #fff; color: var(--text); font-family: var(--font); }
.field input:focus, .inp:focus { outline: 2px solid var(--olive-l); border-color: var(--olive); }
.login-error { color: var(--red); font-size: 13px; min-height: 18px; margin: 8px 0 0; text-align: center; }
.login-hint { margin-top: 18px; font-size: 12px; color: var(--muted); text-align: center; line-height: 1.7; border-top: 1px solid var(--border); padding-top: 14px; }
.login-hint span { background: var(--slate-bg); padding: 2px 6px; border-radius: 6px; }

/* ===== Botones ===== */
.btn { cursor: pointer; border: 1px solid transparent; border-radius: 10px; padding: 9px 14px; font-size: 14px;
  font-weight: 600; font-family: var(--font); background: var(--surface); color: var(--text);
  display: inline-flex; align-items: center; gap: 7px; transition: all .12s; }
.btn:hover { filter: brightness(.97); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--olive); color: #fff; border-color: var(--olive); }
.btn-primary:hover { background: var(--olive-d); }
.btn-mustard { background: var(--mustard); color: #3a2f07; border-color: var(--mustard); }
.btn-mustard:hover { background: var(--mustard-d); color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.18); color: var(--sidebar-txt); }
.btn-outline { background: #fff; border-color: var(--border); }
.btn-success { background: var(--green); color: #fff; border-color: var(--green); }
.btn-danger { background: var(--red); color: #fff; border-color: var(--red); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 6px 10px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ===== Layout ===== */
.app { display: flex; min-height: 100vh; }
.sidebar { width: 244px; background: var(--sidebar); color: var(--sidebar-txt); display: flex; flex-direction: column;
  flex-shrink: 0; position: sticky; top: 0; height: 100vh; }
.sidebar-brand { display: flex; align-items: center; gap: 12px; padding: 18px 16px; }
.sidebar-logo { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--olive), var(--mustard));
  color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sidebar-logo img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-brand strong { color: #fff; display: block; font-size: 15px; }
.sidebar-brand small { color: #9aa088; font-size: 12px; }
.nav { flex: 1; padding: 8px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.nav-item { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 9px; color: var(--sidebar-txt);
  cursor: pointer; font-weight: 600; font-size: 14px; border: none; background: transparent; width: 100%; text-align: left; font-family: var(--font); }
.nav-item:hover { background: var(--sidebar-2); color: #fff; }
.nav-item.active { background: var(--mustard); color: #3a2f07; }
.nav-item .ico { width: 20px; text-align: center; font-size: 16px; }
.sidebar-foot { padding: 12px; border-top: 1px solid var(--sidebar-2); }
.caja-chip { font-size: 12px; padding: 8px 10px; border-radius: 8px; margin-bottom: 10px; line-height: 1.4; }
.caja-chip.open { background: rgba(109,183,126,.18); color: #cfe8d4; }
.caja-chip.closed { background: rgba(207,107,90,.18); color: #f0cabf; }
.user-chip { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13px; color: #e6e8da; }
.user-chip .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--sidebar-2); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; }
.user-chip small { display: block; color: #9aa088; font-size: 11px; text-transform: capitalize; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 26px; background: var(--surface);
  border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 5; }
.topbar h2 { font-size: 20px; }
.topbar p { margin: 2px 0 0; font-size: 13px; }
.chip { background: var(--slate-bg); color: #4a4d40; padding: 7px 12px; border-radius: 999px; font-weight: 600; font-size: 13px; }
.view { padding: 22px 26px; }

/* ===== Cards / grid ===== */
.cards { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); }
@media (max-width:1100px){ .grid-4{grid-template-columns:repeat(2,1fr);} .grid-3{grid-template-columns:repeat(2,1fr);} }
@media (max-width:720px){ .grid-2,.grid-3,.grid-4{grid-template-columns:1fr;} }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.card h3 { font-size: 15px; margin-bottom: 4px; }
.section { margin-bottom: 24px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.section-head h3 { font-size: 17px; }

.kpi { display: flex; flex-direction: column; gap: 6px; }
.kpi .kpi-label { color: var(--muted); font-size: 13px; font-weight: 600; }
.kpi .kpi-val { font-size: 26px; font-weight: 800; }
.kpi .kpi-sub { font-size: 12px; color: var(--muted); }

.room-type-card .rt-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.room-type-card .rt-name { font-weight: 700; font-size: 15px; }
.room-type-card .rt-price { font-size: 12px; color: var(--muted); }
.room-type-card .rt-big { font-size: 32px; font-weight: 800; line-height: 1; }
.room-type-card .rt-of { color: var(--muted); font-weight: 600; font-size: 14px; }
.bar { height: 8px; border-radius: 99px; background: var(--slate-bg); margin-top: 12px; overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 99px; background: var(--olive); }

/* ===== Tabs ===== */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.tab { padding: 11px 18px; cursor: pointer; font-weight: 600; color: var(--muted); border: none; background: transparent;
  border-bottom: 2px solid transparent; font-size: 14px; font-family: var(--font); }
.tab:hover { color: var(--text); }
.tab.active { color: var(--olive-d); border-bottom-color: var(--mustard); }
.tab .count { background: var(--slate-bg); border-radius: 99px; padding: 1px 8px; font-size: 12px; margin-left: 6px; }
.tab.active .count { background: var(--mustard-l); color: #3a2f07; }
.tab-body { padding: 18px; }

/* ===== Tablas ===== */
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
table.tbl th, table.tbl td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.tbl th { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); background: #fafaf4; }
table.tbl tbody tr:hover { background: #faf9f2; }
table.tbl td.num, table.tbl th.num { text-align: right; }
.empty { text-align: center; color: var(--muted); padding: 30px; }

/* ===== Badges ===== */
.badge { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.b-green { background: var(--green-bg); color: var(--green); }
.b-red { background: var(--red-bg); color: var(--red); }
.b-amber { background: var(--amber-bg); color: var(--mustard-d); }
.b-blue { background: var(--blue-bg); color: #3f7196; }
.b-slate { background: var(--slate-bg); color: #5b5e50; }
.b-lila { background: #ece5f5; color: #7a5ea8; }

/* ===== Disponibilidad calendario simple ===== */
.cal-controls { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 16px; }
.cal-controls .field { margin: 0; min-width: 160px; }
.avail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px,1fr)); gap: 10px; }
.avail-day { border: 1px solid var(--border); border-radius: 10px; padding: 12px; text-align: center; background: #fff; }
.avail-day .ad-date { font-size: 12px; color: var(--muted); font-weight: 600; }
.avail-day .ad-num { font-size: 26px; font-weight: 800; margin: 4px 0; }
.avail-day .ad-lbl { font-size: 11px; color: var(--muted); }
.avail-day.full { background: var(--red-bg); } .avail-day.full .ad-num { color: var(--red); }
.avail-day.low .ad-num { color: var(--mustard-d); }

/* ===== Toolbar ===== */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 16px; }
.toolbar .grow { flex: 1; }
.search { position: relative; min-width: 220px; }
.search input { padding-left: 34px; }
.search::before { content: "🔎"; position: absolute; left: 11px; top: 9px; font-size: 13px; opacity: .6; }

/* ===== Modal ===== */
.modal-back { position: fixed; inset: 0; background: rgba(44,47,38,.5); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 50; }
.modal { background: #fff; border-radius: 16px; width: 560px; max-width: 100%; max-height: 92vh; overflow: auto; box-shadow: var(--shadow-lg);
  resize: both; min-width: 300px; min-height: 180px; }
.modal.wide { width: 820px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #fff; z-index: 2; cursor: move; user-select: none; }
.modal-head h3 { pointer-events: none; }
.modal-head h3 { font-size: 17px; }
.modal-body { padding: 20px 22px; }
.modal-foot { padding: 14px 22px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; position: sticky; bottom: 0; background: #fff; }
.modal .close { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--muted); line-height: 1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width:560px){ .form-row,.form-row-3{ grid-template-columns: 1fr; } }

/* ===== Toast ===== */
.toast-root { position: fixed; bottom: 20px; right: 20px; z-index: 100; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--sidebar); color: #fff; padding: 13px 18px; border-radius: 10px; box-shadow: var(--shadow-lg);
  font-weight: 600; font-size: 14px; animation: slidein .2s; display: flex; align-items: center; gap: 10px; min-width: 240px; }
.toast.ok { background: var(--green); } .toast.err { background: var(--red); }
@keyframes slidein { from { transform: translateX(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ===== Estatus de habitaciones ===== */
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px,1fr)); gap: 12px; }
.room-tile { border: 1px solid var(--border); border-radius: 12px; padding: 14px; background: #fff; cursor: pointer;
  border-left: 5px solid var(--muted); transition: box-shadow .12s; }
.room-tile:hover { box-shadow: var(--shadow); }
.room-tile.s-disponible { border-left-color: var(--st-disponible); }
.room-tile.s-ocupada { border-left-color: var(--st-encasa); }
.room-tile.s-limpieza { border-left-color: var(--st-limpieza); }
.room-tile.s-checkout { border-left-color: var(--st-checkout); }
.room-tile.s-bloqueada { border-left-color: var(--st-bloqueada); }
.room-tile.s-mantenimiento { border-left-color: #7a7d6f; }
.room-tile .rt-no { font-size: 20px; font-weight: 800; }
.room-tile .rt-tp { font-size: 12px; color: var(--muted); margin: 2px 0 8px; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; margin-bottom: 16px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }

/* ===== Calendario grilla ===== */
.gridcal-wrap { overflow: auto; max-height: 68vh; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
table.gridcal { border-collapse: collapse; font-size: 12px; min-width: 100%; }
table.gridcal th, table.gridcal td { border: 1px solid var(--line); text-align: center; }
table.gridcal thead th { background: #fafaf4; padding: 7px 4px; font-weight: 700; color: #5b5e50; position: sticky; top: 0; z-index: 2; }
table.gridcal thead th.wknd { background: #f0efe4; }
table.gridcal thead th .cal-dow { font-size: 11px; color: #8a8d7c; font-weight: 700; }
table.gridcal thead th .cal-day { font-size: 15px; font-weight: 800; color: var(--text); }
/* Fila del mes (encima de las fechas) y desplazamiento sticky de la segunda fila */
table.gridcal thead th.cal-monthrow { top: 0; height: 22px; padding: 2px 6px; font-size: 12px; font-weight: 800;
  color: var(--olive-d, #6b7a2f); background: #eef0e2; text-transform: uppercase; letter-spacing: .4px; z-index: 2; }
table.gridcal thead tr:nth-child(2) th { top: 26px; }
table.gridcal .price-col { text-align: right; padding: 3px 8px; white-space: nowrap; position: sticky; left: 0; background: #fff; z-index: 1; width: 78px; min-width: 78px; }
table.gridcal .price-col .rc-price { font-size: 11px; color: var(--olive-d); font-weight: 700; }
table.gridcal thead .price-col { z-index: 3; background: #fafaf4; font-size: 11px; }
table.gridcal .room-col { text-align: left; padding: 3px 10px; white-space: nowrap; position: sticky; left: 78px; background: #fff; z-index: 1; min-width: 140px; font-weight: 600; font-size: 12.5px; }
table.gridcal thead .room-col { z-index: 3; background: #fafaf4; }
table.gridcal td.cell { width: 40px; min-width: 40px; height: 30px; cursor: pointer; padding: 0; position: relative; }
table.gridcal thead th:not(.room-col) { min-width: 46px; }
table.gridcal td.cell:hover { outline: 2px solid var(--mustard); outline-offset: -2px; }
.cell-res { position: absolute; inset: 2px; border-radius: 5px; color: #22301f; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; overflow: hidden; }
.r-confirmada { background: var(--st-confirmada); }
.r-in-house { background: var(--st-encasa); }
.r-checked-out { background: var(--st-checkout); }
.r-tentativa { background: var(--st-tentativa); }
.r-bloqueada { background: var(--st-bloqueada); color: #fff; }
.cell-res.vip { box-shadow: inset 0 0 0 2px var(--mustard-d); }
.cell-res.vip::before { content: "★"; margin-right: 1px; }
.cell-res.no-show { opacity: .72; box-shadow: inset 0 0 0 2px var(--red);
  background-image: repeating-linear-gradient(45deg, rgba(190,30,30,.20) 0, rgba(190,30,30,.20) 5px, transparent 5px, transparent 11px); }
.cell-res.no-show::after { content: "NS"; position: absolute; top: 1px; right: 3px; font-size: 9px; font-weight: 900; color: var(--red); }
.saldo-dot { position: absolute; top: 3px; right: 3px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 1.5px #fff; z-index: 3; pointer-events: none; }
.cell-tag { position: absolute; font-size: 10px; font-weight: 800; color: #22301f; line-height: 1; }
.cell-tag.tl { top: 2px; left: 3px; }
.cell-tag.br { bottom: 2px; right: 3px; }
.cell-split { position: absolute; inset: 2px; display: flex; gap: 1px; }
.cell-half { flex: 1; border-radius: 4px; display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 700; color: #22301f; overflow: hidden; cursor: pointer; }
.cell-half.vip { box-shadow: inset 0 0 0 2px var(--mustard-d); }
.ctx-menu { position: absolute; z-index: 200; background: #fff; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: var(--shadow-lg); min-width: 180px; overflow: hidden; padding: 4px; }
.ctx-title { font-size: 12px; color: var(--muted); padding: 8px 10px 6px; border-bottom: 1px solid var(--line); margin-bottom: 4px; font-weight: 700; }
.ctx-item { padding: 8px 10px; border-radius: 7px; cursor: pointer; font-size: 13px; font-weight: 600; }
.ctx-item:hover { background: var(--slate-bg); }
.ctx-item.cur { color: var(--olive-d); }
.ctx-item.cur::after { content: " ✓"; }
.cal-month-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.cal-arrow { font-size: 15px; line-height: 1; padding: 6px 10px; font-weight: 800; color: var(--olive-d); }
.cal-arrow:hover { background: var(--slate-bg); border-color: var(--olive); }
.cal-month-head .mtitle { font-size: 18px; font-weight: 700; min-width: 190px; text-align: center; }

/* ===== POS Tiendita ===== */
.pos { display: grid; grid-template-columns: 1fr 340px; gap: 18px; }
@media (max-width: 900px){ .pos { grid-template-columns: 1fr; } }
.pos-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px,1fr)); gap: 10px; align-content: start; }
.pos-prod { border: 1px solid var(--border); border-radius: 10px; padding: 12px; background: #fff; cursor: pointer; text-align: center; }
.pos-prod:hover { border-color: var(--olive); box-shadow: var(--shadow); }
.pos-prod .pp-name { font-weight: 700; font-size: 13px; }
.pos-prod .pp-price { color: var(--olive-d); font-weight: 700; margin-top: 4px; }
.pos-prod .pp-stock { font-size: 11px; color: var(--muted); margin-top: 2px; }
.cart { border: 1px solid var(--border); border-radius: 12px; background: #fff; display: flex; flex-direction: column; max-height: 72vh; }
.cart-head { padding: 14px 16px; border-bottom: 1px solid var(--border); font-weight: 700; }
.cart-items { flex: 1; overflow-y: auto; padding: 6px 0; }
.cart-item { display: flex; align-items: center; gap: 8px; padding: 8px 16px; }
.cart-item .ci-name { flex: 1; font-size: 13px; }
.cart-item .qtybtn { width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--border); background: #fff; cursor: pointer; font-weight: 700; }
.cart-foot { padding: 14px 16px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 800; margin: 8px 0; }

/* ===== Detalle reserva (modal) ===== */
.res-summary { background: var(--slate-bg); border-radius: 10px; padding: 14px; margin-bottom: 14px; }
.res-summary .rs-row { display: flex; justify-content: space-between; padding: 3px 0; }
.saldo-pill { font-weight: 800; }
.mover-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width:600px){ .mover-grid{ grid-template-columns:1fr; } }
.room-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.room-pick label { border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; cursor: pointer; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.room-pick label.sel { border-color: var(--olive); background: var(--slate-bg); }
.room-pick input { display: none; }

/* Config */
.cfg-logo-prev { width: 72px; height: 72px; border-radius: 12px; border: 1px dashed var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--slate-bg); }
.cfg-logo-prev img { width: 100%; height: 100%; object-fit: cover; }

/* utilidades */
.flex { display: flex; gap: 10px; align-items: center; }
.wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.right { text-align: right; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.nowrap { white-space: nowrap; }
.money { font-variant-numeric: tabular-nums; }
.text-red { color: var(--red); } .text-green { color: var(--green); } .text-mustard { color: var(--mustard-d); }
.fw7 { font-weight: 700; } .fw8 { font-weight: 800; }
.small { font-size: 12px; }
.divider { height: 1px; background: var(--border); margin: 16px 0; }

/* ===== Panel super-admin ===== */
.superapp { min-height: 100vh; background: var(--bg); }
.super-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 26px;
  background: var(--sidebar); color: #fff; }
.super-head strong { color: #fff; }
.super-logo { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--olive), var(--mustard));
  color: #fff; font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.super-body { padding: 24px 26px; max-width: 1100px; margin: 0 auto; }

@media print {
  .sidebar, .topbar, .no-print { display: none !important; }
  .view { padding: 0; }
  body { background: #fff; }
}
