/* 3D Hotel — visual limpo no estilo Apple (tipografia SF, cartões brancos, vidro fosco). Cor e logotipo são editáveis em Configurações. */
:root {
  --accent: #0071e3; --accent-ink: #fff;
  --bg: #f5f5f7; --card: #fff; --win-solid: #fff; --side: rgba(246,246,248,.82); --bar: rgba(255,255,255,.78);
  --ink: #1d1d1f; --ink2: #5f6368; --ink3: #8e9196;
  --line: rgba(0,0,0,.08); --line2: rgba(0,0,0,.14); --fill: rgba(0,0,0,.04); --fill2: rgba(0,0,0,.07);
  --ok: #1f9d55; --warn: #b86e00; --bad: #d63a3a; --info: #0071e3;
  --ok-bg: rgba(31,157,85,.12); --warn-bg: rgba(230,150,0,.15); --bad-bg: rgba(214,58,58,.11); --info-bg: rgba(0,113,227,.1);
  --shadow: 0 18px 50px rgba(20,20,40,.2), 0 0 0 .5px rgba(0,0,0,.14);
  --r: 12px; --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #1c1c1e; --card: #2a2a2d; --win-solid: #2a2a2d; --side: rgba(38,38,40,.85); --bar: rgba(40,40,43,.8);
  --ink: #f5f5f7; --ink2: #b4b6bb; --ink3: #85888e; --line: rgba(255,255,255,.1); --line2: rgba(255,255,255,.18); --fill: rgba(255,255,255,.06); --fill2: rgba(255,255,255,.11);
  --ok: #4cd085; --warn: #f0b04a; --bad: #ff7b7b; --info: #5aa9ff; --shadow: 0 18px 50px rgba(0,0,0,.55), 0 0 0 .5px rgba(255,255,255,.14); } }
:root[data-theme="dark"] {
  --bg: #1c1c1e; --card: #2a2a2d; --win-solid: #2a2a2d; --side: rgba(38,38,40,.85); --bar: rgba(40,40,43,.8);
  --ink: #f5f5f7; --ink2: #b4b6bb; --ink3: #85888e; --line: rgba(255,255,255,.1); --line2: rgba(255,255,255,.18); --fill: rgba(255,255,255,.06); --fill2: rgba(255,255,255,.11);
  --ok: #4cd085; --warn: #f0b04a; --bad: #ff7b7b; --info: #5aa9ff; --shadow: 0 18px 50px rgba(0,0,0,.55), 0 0 0 .5px rgba(255,255,255,.14);
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { font: 14px/1.45 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); } [hidden] { display: none !important; }

/* Estrutura: menu lateral + conteúdo */
#shell { position: fixed; inset: 0; display: flex; }
#side { width: 252px; flex: none; display: flex; flex-direction: column; background: var(--side); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); border-right: .5px solid var(--line2); padding: 14px 10px; overflow-y: auto; z-index: 30; }
#side .brand { display: flex; align-items: center; gap: 10px; padding: 6px 10px 16px; font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
#side .brand img, #side .brand .logo { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; flex: none; }
#side .brand .logo { background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #b86cff)); display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; }
#side .grp { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); padding: 14px 12px 5px; }
.nav { display: flex; align-items: center; gap: 11px; width: 100%; border: 0; background: none; text-align: left; padding: 8px 12px; border-radius: 8px; cursor: pointer; color: var(--ink); font-weight: 500; position: relative; }
.nav svg { width: 19px; height: 19px; fill: none; stroke: var(--ink2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nav:hover { background: var(--fill); } .nav.on { background: var(--accent); color: var(--accent-ink); } .nav.on svg { stroke: var(--accent-ink); }
.nav .badge { margin-left: auto; } .nav .dot { margin-left: auto; }
#side .foot { margin-top: auto; padding: 14px 10px 2px; font-size: 12px; color: var(--ink3); }
#content { flex: 1; min-width: 0; display: flex; flex-direction: column; }
#top { height: 56px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 22px; background: var(--bar); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); border-bottom: .5px solid var(--line2); z-index: 20; }
#top h1 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; margin: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#burger { display: none; }
.mb-btn { background: none; border: 0; border-radius: 8px; padding: 6px 10px; cursor: pointer; position: relative; display: flex; align-items: center; gap: 6px; color: var(--ink); }
.mb-btn:hover { background: var(--fill2); } .mb-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.badge { background: var(--bad); color: #fff; border-radius: 9px; font-size: 10px; font-weight: 700; padding: 0 5px; min-width: 16px; text-align: center; line-height: 16px; display: inline-block; }
#bell-badge { position: absolute; top: 0; right: 2px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink3); display: inline-block; } .dot.ok { background: var(--ok); } .dot.warn { background: var(--warn); } .dot.bad { background: var(--bad); }
#clock { color: var(--ink2); font-size: 13px; font-variant-numeric: tabular-nums; padding: 0 6px; }
#main { flex: 1; overflow: auto; padding: 22px 26px 60px; }
.page { max-width: 1500px; margin: 0 auto; }
#scrim { display: none; }
.menu-pop { position: fixed; top: 52px; right: 14px; z-index: 6000; min-width: 240px; background: var(--win-solid); border: .5px solid var(--line2); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; }
.menu-pop button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 8px 10px; border-radius: 7px; cursor: pointer; } .menu-pop button:hover { background: var(--accent); color: var(--accent-ink); }
.menu-pop .who { padding: 8px 10px; border-bottom: .5px solid var(--line); margin-bottom: 4px; } .menu-pop .who small { color: var(--ink2); display: block; }

/* Componentes */
h1, h2, h3, h4 { margin: 0; }
.h-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.h-row h2 { font-size: 22px; letter-spacing: -.02em; flex: 1; min-width: 160px; } .h-row h3 { font-size: 16px; flex: 1; }
.sub { color: var(--ink2); font-size: 12.5px; }
.btn { border: .5px solid var(--line2); background: var(--card); border-radius: 9px; padding: 6px 14px; cursor: pointer; font-weight: 500; box-shadow: 0 1px 1px rgba(0,0,0,.05); }
.btn:hover { filter: brightness(.97); } .btn:active { filter: brightness(.92); }
.btn.pri { background: var(--accent); color: var(--accent-ink); border-color: transparent; } .btn.bad { color: var(--bad); } .btn.sm { padding: 3px 10px; font-size: 12.5px; border-radius: 7px; } .btn[disabled] { opacity: .5; cursor: not-allowed; }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=number], input[type=time], input[type=search], input[type=tel], select, textarea { width: 100%; padding: 7px 10px; border: .5px solid var(--line2); border-radius: 9px; background: var(--card); outline: none; }
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 3.5px color-mix(in srgb, var(--accent) 30%, transparent); border-color: var(--accent); }
textarea { resize: vertical; min-height: 64px; }
label.f { display: block; font-size: 12px; font-weight: 600; color: var(--ink2); margin-bottom: 4px; }
.fg { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: 12px; } .fg > div > .hint { font-size: 11.5px; color: var(--ink3); margin-top: 3px; }
.card { background: var(--card); border: .5px solid var(--line); border-radius: var(--r); padding: 14px 16px; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin-bottom: 16px; }
.kpi { cursor: pointer; transition: transform .12s, box-shadow .12s; } .kpi:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.1); }
.kpi .l { font-size: 12px; color: var(--ink2); font-weight: 500; } .kpi .v { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin: 2px 0; font-variant-numeric: tabular-nums; } .kpi .s { font-size: 11.5px; color: var(--ink3); }
.sec { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink2); font-weight: 700; margin: 20px 0 8px; }
.chip { display: inline-block; padding: 1px 8px; border-radius: 20px; font-size: 11.5px; font-weight: 600; background: var(--fill2); color: var(--ink2); white-space: nowrap; }
.chip.ok { background: var(--ok-bg); color: var(--ok); } .chip.warn { background: var(--warn-bg); color: var(--warn); } .chip.bad { background: var(--bad-bg); color: var(--bad); } .chip.info { background: var(--info-bg); color: var(--info); }
.tbl-wrap { overflow: auto; border: .5px solid var(--line); border-radius: var(--r); background: var(--card); }
table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
table.t th { text-align: left; font-size: 11.5px; color: var(--ink2); font-weight: 600; padding: 9px 12px; border-bottom: .5px solid var(--line2); background: var(--fill); position: sticky; top: 0; white-space: nowrap; }
table.t td { padding: 9px 12px; border-bottom: .5px solid var(--line); vertical-align: top; } table.t tr:last-child td { border-bottom: 0; }
table.t tbody tr.click { cursor: pointer; } table.t tbody tr.click:hover { background: var(--fill); }
table.t td.n, table.t th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; } table.t tfoot td { font-weight: 700; background: var(--fill); }
.tabs { display: inline-flex; background: var(--fill2); border-radius: 9px; padding: 2px; margin-bottom: 14px; gap: 2px; flex-wrap: wrap; }
.tabs button { border: 0; background: none; padding: 5px 14px; border-radius: 7px; cursor: pointer; font-weight: 500; color: var(--ink2); } .tabs button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.empty { text-align: center; color: var(--ink3); padding: 28px 10px; }
.note { background: var(--info-bg); border-radius: 10px; padding: 9px 12px; font-size: 12.5px; margin-bottom: 12px; } .note.warn { background: var(--warn-bg); } .note.bad { background: var(--bad-bg); } .note.ok { background: var(--ok-bg); }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .grow { flex: 1; } .right { margin-left: auto; } .mt { margin-top: 12px; } .mb { margin-bottom: 12px; }
.muted { color: var(--ink2); } .neg { color: var(--bad); } .pos { color: var(--ok); }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 4px 12px; font-size: 13px; } .kv dt { color: var(--ink2); } .kv dd { margin: 0; }
.h-row input:not([type=checkbox]), .h-row select, .row input:not([type=checkbox]):not([readonly]), .row select { width: auto; min-width: 0; } .row input[type=search], .row input[type=text] { min-width: 180px; } .row label.row { cursor: pointer; }

/* Mapa de quartos */
.rooms { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); }
.room { cursor: pointer; border-left: 5px solid var(--ink3); } .room.occupied { border-left-color: var(--info); } .room.reserved_today { border-left-color: var(--warn); } .room.ready { border-left-color: var(--ok); } .room.blocked { border-left-color: var(--bad); } .room.dirty { border-left-color: var(--warn); }
.room .num { font-size: 22px; font-weight: 700; letter-spacing: -.02em; } .room .cat { font-size: 12px; color: var(--ink2); } .room .chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; } .room .g { font-size: 12.5px; margin-top: 6px; font-weight: 500; }

/* Calendário de quartos */
.cal { overflow: auto; border: .5px solid var(--line); border-radius: var(--r); background: var(--card); max-height: calc(100vh - 250px); }
.cal table { border-collapse: separate; border-spacing: 0; font-size: 12px; }
.cal th { position: sticky; top: 0; background: var(--card); padding: 6px 2px; min-width: 44px; z-index: 2; border-bottom: .5px solid var(--line2); font-weight: 600; color: var(--ink2); }
.cal th small { display: block; font-weight: 500; color: var(--ink3); }
.cal th.today { color: var(--accent); } .cal th.mo { border-left: 2px solid var(--line2); }
.cal th.rm, .cal td.rm { position: sticky; left: 0; min-width: 120px; text-align: left; padding: 6px 12px; background: var(--card); z-index: 3; border-right: .5px solid var(--line2); font-weight: 600; } .cal th.rm { z-index: 4; }
.cal td.rm .sub { font-weight: 400; font-size: 11px; }
.cal td { height: 40px; border-bottom: .5px solid var(--line); border-right: .5px solid var(--line); padding: 0; min-width: 44px; position: relative; }
.cal td.wk { background: var(--fill); } .cal td.today { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.cal td.free { cursor: pointer; } .cal td.free:hover { background: color-mix(in srgb, var(--accent) 16%, transparent); }
.cal .bk { position: absolute; top: 5px; bottom: 5px; left: 4px; border-radius: 7px; padding: 0 8px; display: flex; align-items: center; color: #fff; font-size: 11.5px; font-weight: 500; white-space: nowrap; overflow: hidden; z-index: 1; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.bk.pending { background: repeating-linear-gradient(45deg, #f6b73c, #f6b73c 7px, #f9c964 7px, #f9c964 14px); color: #3b2a00; } .bk.confirmed { background: #f59e0b; color: #3b2a00; } .bk.checked_in { background: #22a559; } .bk.finished { background: #c9c3b0; color: #3a3626; } .bk.block { background: repeating-linear-gradient(45deg, #d63a3a, #d63a3a 6px, #b72f2f 6px, #b72f2f 12px); }
.cal tfoot td { position: sticky; bottom: 0; background: var(--card); z-index: 2; height: 30px; text-align: center; font-weight: 600; color: var(--ink2); border-top: .5px solid var(--line2); } .cal tfoot td.rm { text-align: left; z-index: 4; }

/* Modal, avisos */
.ov { position: fixed; inset: 0; z-index: 7000; background: rgba(0,0,0,.34); display: grid; place-items: center; padding: 16px; backdrop-filter: blur(3px); }
.md { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); width: min(580px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; overflow: hidden; } .md.wide { width: min(980px, 100%); }
.md > header { padding: 15px 20px; border-bottom: .5px solid var(--line); display: flex; align-items: center; gap: 10px; } .md > header h3 { flex: 1; font-size: 17px; }
.md > .bd { padding: 16px 20px; overflow: auto; } .md > footer { padding: 12px 20px; border-top: .5px solid var(--line); display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; background: var(--fill); }
.x { border: 0; background: var(--fill2); width: 26px; height: 26px; border-radius: 50%; cursor: pointer; }
#toasts { position: fixed; top: 64px; right: 16px; z-index: 9000; display: grid; gap: 8px; }
.toast { background: var(--card); border: .5px solid var(--line2); border-left: 4px solid var(--info); border-radius: 10px; padding: 10px 14px; box-shadow: var(--shadow); max-width: 340px; animation: tin .2s ease; } .toast.ok { border-left-color: var(--ok); } .toast.bad { border-left-color: var(--bad); } @keyframes tin { from { transform: translateX(30px); opacity: 0; } }
.delta.up { color: var(--ok); } .delta.down { color: var(--bad); }
.qr { width: 240px; height: 240px; image-rendering: pixelated; background: #fff; padding: 10px; border-radius: 12px; border: .5px solid var(--line2); }
.notif { display: flex; gap: 10px; padding: 11px 4px; border-bottom: .5px solid var(--line); } .notif.unread .tt { font-weight: 700; }
.notif .sev { width: 8px; border-radius: 4px; flex: none; background: var(--info); } .notif .sev.warning { background: var(--warn); } .notif .sev.critical { background: var(--bad); }
.perm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 4px 14px; } .perm-grid label { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; }

/* Login */
#login { position: fixed; inset: 0; z-index: 8000; display: grid; place-items: center; padding: 16px; background: radial-gradient(60% 50% at 15% 10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), radial-gradient(50% 50% at 90% 90%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%), var(--bg); }
.lg { width: min(400px, 100%); background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 32px 28px; }
.lg .logo-big { width: 58px; height: 58px; border-radius: 15px; margin: 0 auto 12px; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #b86cff)); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 22px; overflow: hidden; } .lg .logo-big img { width: 100%; height: 100%; object-fit: cover; }
.lg h1 { text-align: center; font-size: 21px; } .lg p.sub { text-align: center; margin: 4px 0 18px; } .lg .btn { width: 100%; padding: 10px; } .lg .links { text-align: center; margin-top: 12px; font-size: 13px; }

/* Tablet e celular: menu lateral vira gaveta */
@media (max-width: 900px) {
  #side { position: fixed; left: 0; top: 0; bottom: 0; transform: translateX(-100%); transition: transform .22s ease; width: 280px; box-shadow: var(--shadow); background: var(--card); }
  #side.open { transform: none; } #scrim.open { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.3); z-index: 25; }
  #burger { display: flex; } #clock { display: none; } #top { padding: 0 12px; } #main { padding: 14px 14px 60px; } .kv { grid-template-columns: 110px 1fr; }
  .md, .md.wide { width: 100%; max-height: 100%; border-radius: 16px 16px 0 0; align-self: end; } .ov { padding: 0; align-items: end; }
}
@media print { body * { visibility: hidden; } }

.cal tr.grp td { height: 30px; background: var(--fill); font-weight: 600; font-size: 11.5px; color: var(--ink2); text-align: center; border-bottom: .5px solid var(--line2); cursor: pointer; white-space: nowrap; }
.cal tr.grp td.rm { text-align: left; color: var(--ink); background: var(--fill); }
.cal tr.grp td .full { color: var(--bad); }
.cal th .tot { display: block; font-weight: 600; font-size: 10.5px; color: var(--ink2); white-space: nowrap; }
.cal td.rm .caret { display: inline-block; width: 12px; color: var(--ink3); }

/* ---- Modo simples ---- */
#side { width: 224px; padding: 14px 8px; }
.nav { padding: 9px 12px; font-size: 14px; }
.grpbox { margin-top: 10px; }
.grpbox .grpbody { display: none; }
.grpbox.open .grpbody { display: block; }
#side .grp.tog { display: flex; align-items: center; width: 100%; border: 0; background: none; cursor: pointer; text-align: left; padding: 8px 12px; border-radius: 8px; }
#side .grp.tog:hover { background: var(--fill); }
#side .grp.tog .caret { margin-left: auto; transition: transform .15s; font-size: 14px; }
.grpbox.open .grp.tog .caret { transform: rotate(90deg); }
.page > .h-row:first-child > h2 { display: none; }
.page > .h-row:first-child { justify-content: flex-start; }
details.more { margin-top: 22px; }
details.more > summary { cursor: pointer; font-weight: 600; color: var(--accent); padding: 8px 2px; list-style: none; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::before { content: '▸ '; }
details.more[open] > summary::before { content: '▾ '; }
.cal th { padding: 8px 2px; }
.card { box-shadow: none; }
.kpi .v { font-size: 26px; }
#main { padding: 26px 32px 70px; }
/* ---- Reserva (estadia) numa tela só ---- */
.rv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.rv-title { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.rv-guest { font-size: 15px; margin: 2px 0 14px; color: var(--ink2); }
.tot3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 4px; }
.tot { background: var(--fill); border-radius: 12px; padding: 10px 14px; } .tot .v { font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lines { border: .5px solid var(--line); border-radius: 12px; overflow: hidden; }
.line { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: .5px solid var(--line); } .line:last-child { border-bottom: 0; }
.lines > .sub { padding: 10px 14px; }
details.dd { position: relative; } details.dd > summary { list-style: none; cursor: pointer; } details.dd > summary::-webkit-details-marker { display: none; }
.ddm { position: absolute; z-index: 20; top: 38px; left: 0; min-width: 220px; background: var(--card); border: .5px solid var(--line2); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; }
.ddm button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 8px; cursor: pointer; } .ddm button:hover { background: var(--fill2); } .ddm button.bad { color: var(--bad); }
@media (max-width: 600px) { .tot3 { grid-template-columns: 1fr; } }
/* ---- Painel ---- */
.occ { display: flex; align-items: center; gap: 22px; padding: 20px 24px; margin-bottom: 12px; }
.occ-n { font-size: 46px; font-weight: 800; letter-spacing: -.03em; color: var(--accent); min-width: 110px; }
.bar { height: 10px; border-radius: 6px; background: var(--fill2); overflow: hidden; margin-top: 10px; } .bar > i { display: block; height: 100%; background: var(--accent); border-radius: 6px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat .s { margin-top: 2px; line-height: 1.35; }
table.t tbody tr.click td .sub { font-weight: 400; }

/* ---- Calendário ---- */
.cal-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.cal-month { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin-left: 10px; }
.cal { max-height: calc(100vh - 270px); border-radius: 16px; }
.cal table { table-layout: fixed; }
.cal th.rm, .cal td.rm { min-width: 96px; width: 96px; }
.cal th.mh { text-align: left; padding: 10px 12px; font-size: 13px; color: var(--ink); background: var(--card); border-bottom: .5px solid var(--line); border-left: 1px solid var(--line2); }
.cal th.dh { min-width: var(--cw); width: var(--cw); padding: 6px 0; border-bottom: .5px solid var(--line2); top: 38px; }
.cal th.dh .wd { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink3); font-weight: 600; }
.cal th.dh .dn { display: inline-block; font-size: 15px; font-weight: 700; color: var(--ink); min-width: 26px; line-height: 26px; border-radius: 13px; margin-top: 2px; }
.cal th.dh.today .dn { background: var(--accent); color: #fff; } .cal th.dh.wk { background: var(--fill); }
.cal td { height: 52px; min-width: var(--cw); width: var(--cw); }
.cal td.rm { height: 52px; vertical-align: middle; } .cal .rn { font-size: 16px; font-weight: 700; } .cal .rf { font-size: 11px; color: var(--ink3); font-weight: 400; }
.cal td.free:hover::after { content: '+'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 20px; color: var(--accent); font-weight: 300; }
.cal tr.grp td.rm { position: static; background: var(--fill); padding: 8px 14px; text-align: left; font-size: 13px; width: auto; min-width: 0; }
.cal tr.grp .cnt { margin-left: 10px; color: var(--ink2); font-weight: 500; font-size: 12px; } .cal tr.grp .caret { display: inline-block; width: 16px; color: var(--ink3); }
.cal .bk { top: 8px; bottom: 8px; left: 2px; border-radius: 11px; padding: 0 10px; gap: 8px; font-size: 12.5px; font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.cal .bk .bn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cal .bk .bs { font-weight: 500; opacity: .85; font-size: 11px; white-space: nowrap; }
.cal .bk .bdot { margin-left: auto; font-size: 10px; font-weight: 800; background: rgba(255,255,255,.92); color: #b3261e; border-radius: 8px; padding: 1px 5px; }
.bk.pending { background: repeating-linear-gradient(45deg, #f0b13a, #f0b13a 8px, #f5c35e 8px, #f5c35e 16px); color: #3b2a00; }
.bk.confirmed { background: #f59e0b; color: #3b2a00; } .bk.checked_in { background: #1faa59; color: #fff; } .bk.finished { background: #c3beb0; color: #3a3626; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 12px; font-size: 12.5px; color: var(--ink2); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; } .cal-legend .lg { width: 14px; height: 14px; border-radius: 5px; display: inline-block; } .lgr { background: #fff; color: #b3261e; border: 1px solid #b3261e; border-radius: 6px; font-size: 9px; font-weight: 800; padding: 0 3px; font-style: normal; }
.cal-legend .lg.confirmed { background: #f59e0b; } .cal-legend .lg.pending { background: repeating-linear-gradient(45deg, #f0b13a, #f0b13a 4px, #f5c35e 4px, #f5c35e 8px); } .cal-legend .lg.checked_in { background: #1faa59; } .cal-legend .lg.finished { background: #c3beb0; } .cal-legend .lg.block { background: repeating-linear-gradient(45deg, #d63a3a, #d63a3a 4px, #b72f2f 4px, #b72f2f 8px); }

/* ---- Caixa ---- */
.cx-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.cx { cursor: pointer; border-left: 5px solid var(--ink3); transition: transform .12s, box-shadow .12s; } .cx:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.1); }
.cx.info { border-left-color: var(--info); } .cx.warn { border-left-color: var(--warn); } .cx.ok { border-left-color: var(--ok); } .cx.bad { border-left-color: var(--bad); }
.cx-n { display: flex; gap: 22px; margin-top: 14px; flex-wrap: wrap; } .cx-n b { font-size: 17px; font-variant-numeric: tabular-nums; }
.cx-title { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.steps { display: flex; gap: 8px; margin: 4px 0 14px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 22px; background: var(--fill); color: var(--ink3); font-weight: 600; font-size: 13px; }
.step i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--fill2); font-style: normal; font-size: 12px; }
.step.done { color: var(--ink); } .step.done i { background: var(--ok); color: #fff; } .step.now { background: var(--warn-bg); color: var(--warn); } .step.now i { background: var(--warn); color: #fff; }
.stat.main .v { color: var(--accent); }
.card.conf { border: 1.5px solid var(--accent); margin-bottom: 16px; }
@media (max-width: 700px) { .occ { flex-direction: column; align-items: flex-start; gap: 8px; } .cards.two { grid-template-columns: 1fr; } }
/* folha do caixa (produtos | quartos) e venda de produtos */
.sheet { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; margin-top: 14px; }
.sheet h3 { margin: 0 0 2px; }
.sheet .t td, .sheet .t th { padding-top: 6px; padding-bottom: 6px; }
@media (max-width: 900px) { .sheet { grid-template-columns: 1fr; } }
.sell-list { max-height: 46vh; overflow: auto; margin-top: 10px; border: 1px solid var(--line, #e5e5ea); border-radius: 12px; }
.sell-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--line, #e5e5ea); cursor: pointer; }
.sell-row:last-child { border-bottom: 0; }
.sell-row.on { background: color-mix(in srgb, var(--accent, #0071e3) 9%, transparent); }
.sell-n { min-width: 26px; text-align: center; }
.card.totals { max-width: 520px; margin-left: auto; }
.card.totals .tl { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed var(--line, #e5e5ea); }
.card.totals .tl.big { font-size: 1.15em; border-bottom: 1px solid var(--line, #e5e5ea); padding: 8px 0; }
.card.totals .tl.sm { padding-left: 14px; color: var(--sub, #6e6e73); font-size: .92em; }
/* mapa de quartos compacto, uma cor por situação */
.rooms { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.room { padding: 12px 14px; min-height: 86px; }
.room.ok { border-left-color: var(--ok); } .room.info { border-left-color: var(--info); } .room.warn { border-left-color: var(--warn); } .room.bad { border-left-color: var(--bad); }
.room .num { font-size: 24px; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.room .g { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* gráficos do painel */
.charts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.charts .chart.wide { grid-column: 1 / -1; }
.chart-box { margin: 10px 0 6px; } .chart-box svg { width: 100%; height: auto; display: block; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--ink2); } .legend.col { flex-direction: column; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.pie { display: flex; align-items: center; gap: 18px; margin-top: 10px; }
@media (max-width: 800px) { .charts { grid-template-columns: 1fr; } }

/* base comum: tabela, carregando, foco, comprovante */
.t th { position: relative; } .t th.sorted::after { content: ' ' attr(data-dir); font-size: 9px; }
.th-s { position: absolute; inset: 0; background: none; border: 0; cursor: pointer; padding: 0; }
.tbl-q { margin: 8px; width: calc(100% - 16px); max-width: 320px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px; } .pager:empty { display: none; }
.skel i { display: block; height: 72px; margin-bottom: 12px; border-radius: 14px; background: linear-gradient(90deg, var(--line), var(--card), var(--line)); background-size: 200% 100%; animation: skel 1.2s linear infinite; }
@keyframes skel { to { background-position: -200% 0; } }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.agent-top { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 14px; align-items: start; }
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.proof-img img { max-width: 100%; max-height: 66vh; display: block; margin: auto; border-radius: 10px; } .proof-img iframe { width: 100%; height: 66vh; border: 0; }
@media (max-width: 800px) { .agent-top, .proof { grid-template-columns: 1fr; } }

/* guia de check-in/out, breadcrumb, erros de campo */
.guide { display: grid; gap: 10px; text-align: left; } .gstep { display: flex; gap: 10px; align-items: flex-start; }
.gstep i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; background: var(--line); }
.gstep.done i { background: var(--ok); color: #fff; }
.crumb { color: var(--ink2); font-weight: 500; }
.ferr { color: var(--bad); font-size: 12px; margin-top: 3px; } [aria-invalid="true"] { border-color: var(--bad) !important; }

/* calendário: resumo do dia, barras claras, cartão ao passar o mouse, calor de ocupação */
.cal-sum { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.cal-st { display: flex; align-items: baseline; gap: 8px; padding: 9px 16px; background: var(--card); border: .5px solid var(--line); border-radius: 12px; font-size: 13px; color: var(--ink2); }
.cal-st b { font-size: 20px; color: var(--ink); } .cal-st.g b { color: #1faa59; } .cal-st.o b { color: #c97a00; } .cal-st.b b { color: var(--accent); }
.cal td { height: 56px; } .cal td.rm { height: 56px; }
.cal td.today { box-shadow: inset 1px 0 0 var(--accent), inset -1px 0 0 var(--accent); }
.cal .bk { top: 7px; bottom: 7px; border-radius: 8px; border-left: 4px solid; box-shadow: 0 1px 2px rgba(0,0,0,.08); transition: transform .12s, box-shadow .12s, opacity .12s; cursor: pointer; }
.cal .bk:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,.16); z-index: 2; }
.cal .bk.dim { opacity: .18; }
.bk.confirmed { background: #fff1d6; border-color: #f59e0b; color: #6b4400; }
.bk.pending { background: repeating-linear-gradient(45deg, #fff6e3, #fff6e3 8px, #ffeccb 8px, #ffeccb 16px); border-color: #f0b13a; color: #6b4400; }
.bk.checked_in { background: #dcf5e6; border-color: #1faa59; color: #0f5c31; }
.bk.finished { background: #eeece6; border-color: #b5b0a2; color: #5a5648; }
.bk.block { background: #fde4e4; border-color: #d63a3a; color: #8c1d1d; }
.cal .bk .bdot { background: #b3261e; color: #fff; }
.cal tfoot td { height: 42px; line-height: 1.15; } .cal tfoot td b { display: block; font-size: 13px; color: var(--ink); } .cal tfoot td small { font-size: 10px; font-weight: 500; }
.cal tfoot td.o-hi { background: #fbdcdc; } .cal tfoot td.o-mid { background: #fff1d6; } .cal tfoot td.o-lo { background: #e4f6ea; }
.cal-pop { position: fixed; z-index: 9000; width: 236px; padding: 10px 12px; background: var(--card); border: .5px solid var(--line2); border-radius: 12px; box-shadow: var(--shadow); font-size: 12.5px; line-height: 1.5; pointer-events: none; }
.hb { display: grid; gap: 8px; margin-top: 12px; } .hb-r { display: grid; grid-template-columns: minmax(0, 1.2fr) 1fr 28px; gap: 8px; align-items: center; font-size: 12.5px; } .hb-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-t { height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; } .hb-t i { display: block; height: 100%; background: var(--accent); border-radius: 5px; } .hb-r b { text-align: right; }

/* calendário no desenho do HotelFlow */
.hf { --tl: #1ab394; --td: #137f6b; min-width: 760px; }
.hf-bar { display: flex; gap: 6px; align-items: center; margin-bottom: 10px; } .hf-bar select { width: auto; }
.hf-b { background: var(--tl, #1ab394); background: #1ab394; color: #fff; border: 0; border-radius: 5px; padding: 6px 10px; font-weight: 600; font-size: 12.5px; cursor: pointer; }
.hf-help { margin-bottom: 12px; } .hf-leg { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 8px 0; font-size: 13px; } .hf-leg i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.hf-g { display: grid; grid-template-columns: 160px repeat(7, minmax(0, 1fr)); }
.hf-top { grid-template-columns: 160px 1fr; color: #fff; text-align: center; } .hf-sem { background: var(--td); padding: 8px; font-size: 15px; } .hf-mes { background: var(--tl); padding: 9px; font-size: 13px; }
.hf-head { background: var(--tl); color: #fff; border-top: 1px solid rgba(255,255,255,.5); } .hf-nav { text-align: center; padding: 5px 4px; font-size: 13px; } .hf-nav button { background: none; border: 0; color: #fff; font-size: 18px; cursor: pointer; padding: 0 9px; } .hf-nav a { color: #fff; font-size: 12px; display: block; }
.hf-day { display: flex; justify-content: space-between; gap: 4px; padding: 4px 4px; border-left: 1px solid rgba(255,255,255,.6); font-size: 12px; line-height: 1.35; } .hf-t { display: flex; flex-direction: column; text-align: right; font-weight: 700; white-space: nowrap; }
.hf-cat { background: #e9e9e9; border-radius: 10px; margin: 12px -8px 0; padding: 5px 8px; font-size: 12px; cursor: pointer; color: #555; } .hf-cn { font-weight: 700; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .hf-ct { display: flex; justify-content: center; gap: 8px; white-space: nowrap; font-weight: 600; }
.hf-row { border-bottom: 1px solid #dcdcdc; min-height: var(--hfr, 24px); } .hf-uh { background: #fde3dc; display: flex; align-items: center; justify-content: center; position: relative; font-size: 12.5px; color: #555; border-left: 1px solid #dcdcdc; overflow: hidden; white-space: nowrap; padding-right: 26px; }
.hf-uh button { position: absolute; right: 2px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: #efcfc8; cursor: pointer; font-size: 10px; padding: 0; }
.hf-lane { grid-column: 2 / -1; position: relative; display: grid; grid-template-columns: repeat(7, 1fr); height: var(--hfr, 24px); }
.hf-c { border-right: 1px solid #dcdcdc; cursor: pointer; background: #fff; } .hf-c:hover { background: #eefaf7; } .hf-c.hf-wk { background: #d5eee8; } .hf-c.hf-today { background: #76cab8; }
.hf-r { position: absolute; top: 1px; bottom: 1px; display: flex; align-items: center; gap: 4px; padding: 0 7px; border: 2px solid #111; border-radius: 10px; font-size: 12.5px; font-weight: 700; color: #111; white-space: nowrap; overflow: hidden; cursor: pointer; z-index: 1; } .hf-r span { overflow: hidden; text-overflow: ellipsis; }
.hf-r.cl { border-top-left-radius: 0; border-bottom-left-radius: 0; } .hf-r.cr { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.hf-r.pending, .hf-r.confirmed { background: #f39c12; } .hf-r.checked_in { background: #3cb043; } .hf-r.finished { background: #c9c3a1; } .hf-r.block { background: #22d3ee; }
.hf-ok { flex: none; width: 14px; height: 14px; line-height: 14px; text-align: center; background: #1ab394; color: #fff; font-style: normal; font-size: 10px; border-radius: 2px; } .hf-d { flex: none; margin-left: auto; font-style: normal; background: #111; color: #fff; border-radius: 50%; width: 14px; height: 14px; line-height: 14px; text-align: center; font-size: 10px; }
.page:has(.hf) { overflow-x: auto; }
.glink { color: #1ab394; font-weight: 500; } .gform { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 12px; } @media (max-width: 800px) { .gform { grid-template-columns: 1fr; } }

/* janela da reserva no desenho do HotelFlow */
.md:has(.rz) { width: min(1120px, 100%); }
.rz-bar { display: flex; flex-wrap: wrap; gap: 2px; margin: -6px 0 14px; border-bottom: 1px solid var(--line); }
.rz-t { background: none; border: 0; padding: 0; cursor: pointer; font-size: 12px; color: var(--ink2); }
button.rz-t, .rz-t > summary { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 72px; padding: 8px 8px; list-style: none; cursor: pointer; } .rz-t > summary::-webkit-details-marker { display: none; }
.rz-t i { font-style: normal; font-size: 17px; } button.rz-t.on, button.rz-t:hover, .rz-t > summary:hover, details.rz-t[open] > summary { background: #1ab394; color: #fff; }
.rz-t .ddm button.off { text-decoration: line-through; opacity: .55; cursor: default; }
.rz-grid { display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(190px, 1fr); gap: 18px; } @media (max-width: 800px) { .rz-grid { grid-template-columns: 1fr; } }
.rz-card { background: var(--card); box-shadow: 0 1px 4px rgba(0,0,0,.14); padding: 18px; border-radius: 3px; } .rz-title { font-size: 21px; font-weight: 300; margin-bottom: 12px; }
.rz-card dl, .rz-side dl { display: grid; grid-template-columns: max-content 1fr; gap: 3px 12px; margin: 0; font-size: 13px; } .rz-card dt { font-weight: 600; text-align: right; } .rz-card dd, .rz-side dd { margin: 0; }
.rz-st { margin-bottom: 10px !important; } .rz-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; } @media (max-width: 600px) { .rz-two { grid-template-columns: 1fr; } }
.rz-t2 { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 12px; } .rz-t2 th, .rz-t2 td { padding: 6px 4px; border-bottom: 1px solid var(--line); text-align: left; } .rz-t2 .n { text-align: right; white-space: nowrap; }
.rz-side h4 { margin: 12px 0 4px; font-size: 13.5px; } .rz-side h4:first-child { margin-top: 0; }
.rz-pay { max-width: 520px; display: grid; gap: 10px; } .rz-h { display: flex; justify-content: space-between; font-size: 21px; font-weight: 300; } .rz-go { background: #1ab394; color: #fff; border: 0; padding: 10px; font-weight: 600; border-radius: 3px; cursor: pointer; }

/* nova reserva, disponibilidade e visão geral no desenho do HotelFlow */
.nr-t { margin-bottom: 12px; } .nr-t b { font-size: 18px; } .nr-s { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; font-size: 12.5px; color: var(--ink2); border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 14px; } .nr-s i { display: block; width: 36px; height: 36px; line-height: 36px; margin: 0 auto 4px; border-radius: 50%; background: #55606a; color: #fff; font-style: normal; } .nr-s .on i { background: #f5a623; } .nr-s .ok i { background: #1ab394; }
.nr-f { display: flex; gap: 10px; margin-top: 16px; } .nr-f .bad { flex: 1; } .nr-f [hidden] { display: none; } .nr-go { flex: 1; }
.av-f { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 14px; align-items: end; margin-bottom: 18px; } @media (max-width: 700px) { .av-f { grid-template-columns: 1fr; } }
.av { overflow-x: auto; } .av table { border-collapse: separate; border-spacing: 4px 6px; } .av th { font-size: 12px; white-space: nowrap; padding: 4px; } .av tbody th { white-space: normal; min-width: 110px; text-align: center; } .av td span { display: block; min-width: 76px; text-align: center; padding: 5px 0; font-size: 12.5px; }
.ov-top { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 560px; margin: 0 0 14px auto; } .ov-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; align-items: start; }
.ov-c { padding: 14px; } .ov-h { display: flex; align-items: flex-start; gap: 6px; } .ov-h b { font-size: 15px; font-weight: 500; } .ov-b { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #f26d6d; cursor: pointer; font-size: 11px; padding: 0; } .ov-x { border: 0; background: none; cursor: pointer; color: var(--ink3); }
.hf-tag { display: inline-block; padding: 0 7px; margin-right: 3px; border-radius: 9px; font-size: 11px; color: #fff; background: #8a8a8a; } .hf-tag.pending, .hf-tag.confirmed { background: #f39c12; } .hf-tag.checked_in { background: #3cb043; } .hf-tag.finished { background: #c9c3a1; }
.ov-n { text-align: center; color: var(--ink2); padding: 22px 0 12px; font-size: 13px; } .ov-e { display: flex; align-items: center; margin-top: 8px; padding: 8px 10px; border-radius: 8px; color: #fff; font-size: 12.5px; cursor: pointer; } .ov-e b { font-weight: 600; } .ov-e.pending, .ov-e.confirmed { background: #f39c12; } .ov-e.checked_in { background: #3cb043; } .ov-e.finished { background: #bdb698; } .ov-a { font-size: 15px; font-weight: 800; white-space: nowrap; }

.fin-m { font-size: 17px; min-width: 150px; text-align: center; }

/* dashboard */
.db-top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; } @media (max-width: 800px) { .db-top { grid-template-columns: 1fr 1fr; } }
.db-k { background: var(--card); border: .5px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; } .db-k span { display: block; font-size: 12.5px; color: var(--ink2); } .db-k b { font-size: 22px; letter-spacing: -.02em; }
.db-todo { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; } .db-todo button { border: 0; border-radius: 16px; padding: 7px 13px; background: #fff1d6; color: #6b4400; font-weight: 600; font-size: 13px; cursor: pointer; }
.db-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } .db-grid .w2 { grid-column: span 2; } .db-grid .w3 { grid-column: 1 / -1; } @media (max-width: 900px) { .db-grid { grid-template-columns: 1fr; } .db-grid .w2, .db-grid .w3 { grid-column: auto; } }
.donut { text-align: center; margin-top: 8px; }

.tipbox { position: fixed; z-index: 9500; max-width: 300px; padding: 7px 11px; border-radius: 9px; background: #1d1d1f; color: #fff; font-size: 12.5px; line-height: 1.4; pointer-events: none; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
[data-tip] { cursor: help; }

.fin-next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }

.hb-r { grid-template-columns: minmax(0, 1.2fr) minmax(40px, 1fr) auto; }

/* Visão Geral: entradas e saídas do dia lado a lado (empilha no celular) */
.ov-dia { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 700px) { .ov-dia { grid-template-columns: 1fr; } }
.ov-blk { padding: 12px 14px; } .ov-bt { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ov-li { display: flex; gap: 10px; align-items: center; padding: 8px 4px; border-top: 1px solid var(--line, #e5e7eb); cursor: pointer; } .ov-li:hover { background: rgba(0,0,0,.03); }
.ov-q { min-width: 44px; }
/* Aviso de versão nova */
.upd { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 9500; width: min(560px, calc(100vw - 32px)); background: var(--card); border: .5px solid var(--line2); border-left: 4px solid var(--ok); border-radius: 12px; box-shadow: var(--shadow); padding: 12px 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.upd ul { margin: 6px 0 0 18px; font-size: 13px; } .upd .grow { flex: 1 1 260px; }

/* ===== Celular: tudo cabe na largura da tela ===== */
.hf-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.db-grid > *, .charts > *, .cards > * { min-width: 0; }
.chart-box svg, .card svg { max-width: 100%; }
@media (max-width: 700px) {
  /* tabelas viram cartões: cada linha um cartão, cada coluna "Nome: valor" */
  .tbl-wrap { border: none; background: transparent; overflow: visible; }
  table.t, table.t tbody, table.t tfoot { display: block; width: 100%; }
  table.t thead { display: none; }
  table.t tr { display: block; background: var(--card); border: .5px solid var(--line2); border-radius: 12px; padding: 6px 12px; margin-bottom: 10px; }
  table.t tfoot tr { background: var(--fill); }
  table.t td, table.t tfoot td { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 6px 0; border: none; text-align: right; white-space: normal; min-width: 0; overflow-wrap: anywhere; background: transparent; }
  table.t td::before { content: attr(data-l); flex: 0 0 38%; text-align: left; font-weight: 600; font-size: 12px; color: var(--ink2); }
  table.t td[data-l=""]::before, table.t td:not([data-l])::before { display: none; }
  table.t td[data-l=""], table.t td:not([data-l]) { justify-content: flex-end; }
  table.t td:empty { display: none; }
  table.t td .row { justify-content: flex-end; flex-wrap: wrap; }
  .fin-next, .tot3, .db-top { grid-template-columns: 1fr 1fr; }
  .fin-next { grid-template-columns: 1fr; }
  .h-row { flex-wrap: wrap; gap: 8px; }
  .row { flex-wrap: wrap; }
  .tabs { overflow-x: auto; max-width: 100%; }
}

/* Busca de hóspede (Visão Geral e Calendário) */
.gf { position: relative; margin-bottom: 14px; max-width: 560px; } .gf input { width: 100%; }
.gf-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; padding: 6px; max-height: 60vh; overflow: auto; box-shadow: var(--shadow); }
.gf-i { display: flex; width: 100%; gap: 10px; align-items: center; text-align: left; border: 0; background: none; padding: 8px; border-radius: 8px; cursor: pointer; color: var(--ink); font: inherit; }
.gf-i:hover, .gf-i:focus { background: var(--fill); } .gf-q { min-width: 44px; }

/* Escala e Ponto */
.pt-grid td { vertical-align: top; } .pt-grid th { white-space: nowrap; }
.pt-cell { width: 100%; min-width: 92px; border: 1px solid var(--line2); background: var(--card); border-radius: 8px; padding: 6px; font: inherit; color: var(--ink); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pt-cell.empty { color: var(--ink2); border-style: dashed; } .pt-cell.off { background: var(--fill); color: var(--ink2); }
.pt-cell.sug { border-color: #d97706; } .pt-cell small { font-size: 11px; color: #b45309; }
.pt-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 12px; }

/* reserva futura já paga (aguardando check-in), igual ao vermelho do HotelFlow */
.hf-r.pago, .ov-e.pago, .hf-tag.pago { background: #d9363e !important; color: #fff; } .cal-legend .lg.pago { background: #d9363e; }

/* calendário cabe na tela: linhas baixas usam letra menor */
.hf .hf-r { font-size: clamp(10px, calc(var(--hfr, 24px) * .52), 12.5px); } .hf .hf-uh { font-size: clamp(10px, calc(var(--hfr, 24px) * .52), 12.5px); } .hf .hf-uh button { width: min(22px, var(--hfr, 24px)); height: min(22px, var(--hfr, 24px)); }
.hf-cat { margin-top: 6px; padding: 3px 8px; }

/* Situação dos hóspedes no caixa */
.cx-stays { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; margin-top: 10px; }
.cx-st { display: flex; align-items: center; gap: 10px; text-align: left; border: 0; border-left: 6px solid; border-radius: 10px; padding: 8px 10px; font: inherit; color: var(--ink); cursor: pointer; background: var(--fill); }
.cx-st b { min-width: 38px; } .cx-st.green { border-color: #1faa59; background: #e7f6ec; } .cx-st.orange { border-color: #f59e0b; background: #fff3dc; } .cx-st.red { border-color: #d9363e; background: #fde8e8; }
@media (prefers-color-scheme: dark) { .cx-st.green { background: #163a24; } .cx-st.orange { background: #3d2c0b; } .cx-st.red { background: #3d1515; } }
:root[data-theme="dark"] .cx-st.green { background: #163a24; } :root[data-theme="dark"] .cx-st.orange { background: #3d2c0b; } :root[data-theme="dark"] .cx-st.red { background: #3d1515; }
:root[data-theme="light"] .cx-st.green { background: #e7f6ec; } :root[data-theme="light"] .cx-st.orange { background: #fff3dc; } :root[data-theme="light"] .cx-st.red { background: #fde8e8; }

.cx-photo { border-radius: 10px; padding: 8px 12px; border-left: 5px solid; } .cx-photo.ok { border-color: #1faa59; background: rgba(31,170,89,.1); } .cx-photo.warn { border-color: #f59e0b; background: rgba(245,158,11,.12); }

.cx-old > summary { cursor: pointer; font-weight: 600; color: var(--ink2); padding: 10px 0; }

/* contagem por cédula e prestação de contas */
.cx-notes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; } .cx-notes label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink2); } .cx-notes input { width: 100%; }
.cx-pend { margin: 8px 0 0 18px; color: var(--ink); } .cx-pend li { margin: 3px 0; } .tl.neg b, .tl.neg span { color: #d9363e; } .tl.pos b { color: #1faa59; }

.cx-day { margin-bottom: 18px; } .cx-day > h3 { margin: 6px 0 10px; font-size: 15px; color: var(--ink2); }

/* Início da recepção: botões grandes, fáceis de achar */
.in-turno { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 14px; margin-bottom: 16px; background: var(--card); border: 2px solid var(--line2); }
.in-turno.off { border-color: #1faa59; } .in-turno.on { border-color: var(--accent); }
.in-turno h2 { margin: 0 0 4px; font-size: 20px; } .in-turno p { margin: 0; color: var(--ink2); }
.in-big { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 22px; border-radius: 12px; border: 2px solid var(--line2); background: var(--card); color: var(--ink); font-size: 17px; font-weight: 700; cursor: pointer; }
.in-big small { font-weight: 400; font-size: 13px; color: var(--ink2); } .in-big.go { background: #1faa59; border-color: #1faa59; color: #fff; } .in-big.go small { color: #e8fff1; }
.in-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 18px; }
.in-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px; min-height: 118px; border-radius: 14px; border: 1px solid var(--line2); background: var(--card); color: var(--ink); text-align: left; cursor: pointer; font-size: 16px; }
.in-tile:hover { border-color: var(--accent); } .in-tile.dim { opacity: .45; } .in-tile.end { border-color: #d9363e; }
.in-tile small { color: var(--ink2); font-size: 13px; } .in-ic { font-size: 30px; line-height: 1; margin-bottom: 6px; }
.in-todo h3 { margin: 0 0 10px; } .in-li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); } .in-lic { font-size: 20px; }
.in-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.in-room { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px; border-radius: 12px; border: 1px solid var(--line2); background: var(--card); color: var(--ink); cursor: pointer; text-align: left; font-size: 15px; }
.in-room:hover { border-color: var(--accent); } .in-room span { color: var(--ink2); font-size: 13px; } .in-room small.neg { color: #d9363e; }
.in-step { font-size: 16px; font-weight: 600; margin: 0 0 10px; }
.in-prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 10px 0; max-height: 52vh; overflow: auto; }
.in-prod { border: 1px solid var(--line2); border-radius: 12px; background: var(--card); overflow: hidden; } .in-prod.on { border: 2px solid #1faa59; } .in-prod.out { opacity: .45; }
.in-pbtn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 12px; background: none; border: 0; color: var(--ink); cursor: pointer; text-align: left; font-size: 14px; }
.in-pbtn small { color: var(--ink2); } .in-q { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px; background: var(--fill); }
.in-bar { position: sticky; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 10px 0 0; background: var(--win-solid); font-size: 15px; }
.in-how { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0; }
@media (max-width: 600px) { .in-turno { flex-direction: column; align-items: stretch; } .in-how { grid-template-columns: 1fr; } .in-grid { grid-template-columns: 1fr 1fr; } }
.in-room small.pos { color: #1faa59; } .in-room small.warn { color: #c77c00; }

/* Calendário simples */
.cv-bar { display: flex; align-items: center; gap: 10px; margin: 8px 0 6px; flex-wrap: wrap; }
.cv-nav { display: flex; align-items: center; gap: 8px; } .cv-nav b { font-size: 16px; min-width: 130px; text-align: center; }
.cv-leg { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink2); margin-bottom: 8px; }
.cv-leg i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; }
.cv-in { --c: #1e7e43; --cb: #2fa35d; } .cv-res { --c: #c2610a; --cb: #f08a1c; } .cv-out { --c: #5f6368; --cb: #d5d7da; } .cv-blk { --c: #7c7c7c; --cb: repeating-linear-gradient(45deg, #ececec 0 6px, #dcdcdc 6px 12px); }
.cv-leg i.cv-in, .cv-leg i.cv-res, .cv-leg i.cv-out { background: var(--c); } .cv-leg i.cv-blk { background: var(--cb); }
.cv-dev { display: inline-block; background: #c62828; color: #fff; font-size: 10.5px; font-weight: 800; border-radius: 5px; padding: 1px 4px; margin-right: 6px; flex: none; }
.cv { min-width: 0; background: var(--card); border-radius: var(--r); border: .5px solid var(--line2); overflow: hidden; }
.cv-g { display: grid; grid-template-columns: 70px 1fr; }
.cv-head { grid-template-columns: 70px repeat(7, 1fr); background: var(--card); border-bottom: 1px solid var(--line2); }
.cv-uh { display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--ink); border-right: 1px solid var(--line); }
.cv-head .cv-uh { font-size: 12px; color: var(--ink3); font-weight: 600; }
.cv-day { padding: 8px 6px; text-align: center; border-left: 1px solid var(--line); } .cv-day b { display: block; font-size: 14px; } .cv-day span { font-size: 12px; color: var(--ink3); }
.cv-day.cv-today { background: var(--info-bg); } .cv-day.cv-today b { color: var(--info); }
.cv-row { border-bottom: 1px solid var(--line); } .cv-row:last-child { border-bottom: 0; }
.cv-lane { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); height: var(--cvr, 40px); }
.cv-g { grid-template-columns: 56px minmax(0, 1fr); } .cv-g.cv-head { grid-template-columns: 56px repeat(7, minmax(0, 1fr)); }
.cv-day { padding: 4px; } .cv-day b { display: inline; margin-right: 6px; }
.cv-r { font-size: clamp(11px, calc(var(--cvr, 40px) * .42), 13px); }
.cv-c { border-left: 1px solid var(--line); cursor: pointer; } .cv-c:hover { background: var(--fill); } .cv-c.cv-today { background: color-mix(in srgb, var(--info-bg) 60%, transparent); }
.cv-r { position: absolute; top: 3px; bottom: 3px; display: flex; align-items: center; gap: 4px; padding: 0 8px; border-radius: 8px; background: var(--cb); border-left: 4px solid var(--c); color: #1d1d1f; font-size: 13px; font-weight: 600; overflow: hidden; cursor: pointer; z-index: 1; }
.cv-r span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cv-r:hover { box-shadow: 0 1px 5px rgba(0,0,0,.18); }
.cv-r.cv-out { color: #3c4043; font-weight: 500; }
.cv-sum { font-size: 14px; color: var(--ink2); margin-bottom: 8px; }
.cv-list { display: flex; flex-direction: column; gap: 8px; }
.cv-card { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 12px; border: .5px solid var(--line2); border-left: 5px solid var(--c, var(--line2)); background: var(--card); cursor: pointer; }
.cv-card > b:first-child { min-width: 78px; font-size: 14px; } .cv-name { font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.cv-card.cv-free { border: 1px dashed var(--line2); color: var(--ink2); }
.cv-row .cv-uh { display: block; line-height: var(--cvr, 40px); padding: 0 4px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }

/* Escala da equipe */
.pt-cal td { vertical-align: top; } .pt-cal tr.pt-today td { background: var(--info-bg); }
.pt-pills { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pt-pill { border: .5px solid var(--line2); background: var(--ok-bg); border-radius: 999px; padding: 4px 10px; font-size: 13px; cursor: pointer; color: var(--ink); }
.pt-pill.off { background: var(--fill); color: var(--ink2); } .pt-pill.exc { border: 1.5px solid var(--warn); }
.pt-add { border: 1px dashed var(--line2); background: none; border-radius: 999px; width: 28px; height: 28px; cursor: pointer; color: var(--ink2); }
.pt-fx { gap: 4px; font-size: 12px; } .pt-fx input[type=time] { width: 92px; padding: 3px 4px; }
.in-esc { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 12px 16px; margin-bottom: 12px; }
.in-esc-i { display: flex; flex-direction: column; } .in-esc-i small { color: var(--ink3); font-size: 12px; } .in-esc-i b { font-size: 15px; } .in-esc-i span { font-size: 13px; color: var(--ink2); }
.in-aviso { margin-bottom: 12px; }

.in-renova { font-weight: 600; margin-top: 8px; }
.cv-r.cv-in, .cv-r.cv-res { color: #fff; } .cv-leg i.cv-in, .cv-leg i.cv-res { background: var(--cb); }
.cv-r { border: 2px solid #111; border-radius: 9px; font-weight: 700; } .cv-r.cv-in, .cv-r.cv-res { color: #111; } .cv-r.cv-in { background: #3bb54a; } .cv-r.cv-res { background: #f59b1c; } .cv-r.cv-out { background: #9aa0a6; color: #111; } .cv-leg i.cv-in { background: #3bb54a; border: 1.5px solid #111; } .cv-leg i.cv-res { background: #f59b1c; border: 1.5px solid #111; } .cv-leg i.cv-out { background: #9aa0a6; border: 1.5px solid #111; }
/* letras grandes no calendário (pedido 17/11) */
.cv-r { font-size: 19px !important; padding: 0 10px; } .cv-row .cv-uh { font-size: 19px; } .cv-day b { font-size: 18px; } .cv-day span { font-size: 15px; } .cv-head .cv-uh { font-size: 15px; } .cv-leg { font-size: 16px; } .cv-nav b { font-size: 20px; }
.cv-g { grid-template-columns: 72px minmax(0, 1fr); } .cv-g.cv-head { grid-template-columns: 72px repeat(7, minmax(0, 1fr)); }
.cv-card > b:first-child { font-size: 19px; min-width: 110px; } .cv-name { font-size: 21px; } .cv-card .sub { font-size: 16px; }

/* calendário HotelFlow (computador) */
.hf-help { margin: 0 0 8px; padding: 0; } .hf-help > b, .hf-help > .sub { display: none; } .hf-leg { margin: 0; font-size: 14px; }
.hf .hf-r { font-size: 14px !important; } .hf .hf-uh { font-size: 14px !important; } .hf-day { font-size: 13.5px; } .hf-cn { font-size: 14px; }
.hf-row { min-height: 26px; } .hf-lane { height: max(26px, var(--hfr, 26px)); }
.hf-uh { padding: 0 4px; overflow: hidden; } .hf-uh span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; } .hf .hf-uh.hf-long { font-size: 11px !important; }
.hf .hf-cn { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.15; font-size: 12.5px; }

/* nova reserva: diárias */
.nr-n { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .nr-n .btn { min-width: 40px; }
.nr-out { font-size: 16px; font-weight: 700; margin: 6px 0 0; color: var(--ok); }

.rz-comp { list-style: none; padding: 0; margin: 4px 0 8px; } .rz-comp li { padding: 6px 0; border-bottom: 1px solid var(--line); } .rz-comp .btn { margin-top: 4px; }
.nr-comp .row { gap: 6px; margin-bottom: 6px; } .nr-comp input { flex: 1; }

/* dashboard: quadro de produtos */
.db-top .db-k b { font-size: 26px; } .db-top .db-k span { font-size: 13px; }
.db-prod { margin: 14px 0; padding: 16px; }
.db-ph { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; } .db-ph h3 { margin: 0 auto 0 0; font-size: 18px; }
.db-pks { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 14px; }
.db-pk { background: var(--fill); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; } .db-pk span { font-size: 13px; color: var(--ink2); } .db-pk b { font-size: 24px; } .db-pk small { color: var(--ink3); font-size: 12px; }
.db-rank { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; } .db-rank > b { margin-bottom: 4px; }
.db-rr { display: grid; grid-template-columns: 32px minmax(110px, 1.4fr) 2fr 60px 90px 90px; align-items: center; gap: 8px; font-size: 14px; }
.db-rn { color: var(--ink3); font-weight: 700; } .db-rl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-rt { height: 14px; background: var(--fill); border-radius: 7px; overflow: hidden; } .db-rt i { display: block; height: 100%; background: linear-gradient(90deg, #f59b1c, #3bb54a); border-radius: 7px; }
.db-rv { text-align: right; font-variant-numeric: tabular-nums; } .db-low { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
@media (max-width: 700px) { .db-rr { grid-template-columns: 26px 1fr 50px 80px; } .db-rt, .db-rr .db-rv:last-child { display: none; } }
/* calendário anual */
.hf-pick { cursor: pointer; text-decoration: underline dotted; } .hf-pick:hover { color: var(--acc, #8f6f1f); }
.yc-bar { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 8px; } .yc-y { font-size: 26px; }
.yc-leg { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; font-size: 12px; margin-bottom: 12px; } .yc-leg i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 4px; vertical-align: middle; }
.yc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.yc-m > b { display: block; margin-bottom: 4px; } .yc-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.yc-h { font-size: 10px; text-align: center; color: var(--ink3); }
.yc-d { border: 0; border-radius: 4px; font-size: 11px; padding: 4px 0; cursor: pointer; color: #111; }
.l0 { background: #eceae4; } .l1 { background: #f8d9a0; } .l2 { background: #f39c12; } .l3 { background: #3cb043; color: #fff; }
.yc-d.yc-today { outline: 2px solid #d9363e; font-weight: 700; } .yc-d:hover { outline: 2px solid #333; }
/* pedido de suporte */
.sup-btn { font-weight: 700; color: #b42318; position: relative; } .sup-btn .badge { position: absolute; top: 2px; right: 2px; }
.sup-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 6px 0 4px; }
.sup-cat { display: flex; align-items: center; gap: 8px; padding: 12px; border: 2px solid var(--line, #ddd); border-radius: 12px; background: var(--card, #fff); font-weight: 600; cursor: pointer; text-align: left; }
.sup-cat span { font-size: 20px; } .sup-cat.on { border-color: #f59b1c; background: #fff6e6; }
.sup-item { border: 1px solid var(--line, #e3e3e3); border-radius: 12px; padding: 10px 12px; margin: 8px 0; } .sup-item.open { border-left: 4px solid #f59b1c; } .sup-item.answered { border-left: 4px solid #3bb54a; } .sup-item.done { opacity: .7; }
.sup-ih { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .sup-item p { margin: 6px 0; }
.sup-reply { background: #eef8f0; border-radius: 10px; padding: 8px 10px; margin-top: 6px; } .sup-reply p { margin: 4px 0 0; }
.sup-photo { max-width: 260px; max-height: 200px; border-radius: 8px; margin-top: 6px; cursor: zoom-in; }
.sup-item textarea { flex: 1; min-width: 200px; }

.sup-wait { background: #fff6e6; border-radius: 10px; padding: 8px 10px; margin-top: 6px; font-weight: 600; color: #8a5a00; display: flex; align-items: center; gap: 8px; }
.sup-wait.on { background: #e8f1ff; color: #1d4ed8; }
.sup-dots { display: inline-flex; gap: 3px; } .sup-dots i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: supd 1.2s infinite ease-in-out; } .sup-dots i:nth-child(2) { animation-delay: .2s; } .sup-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes supd { 0%, 80%, 100% { opacity: .2; transform: scale(.8); } 40% { opacity: 1; transform: scale(1); } }
.sup-item.working { border-left: 4px solid #2563eb; }
