/* ============================================================
   Not Today Coffee — POS
   Ganti warna brand cukup di :root
   ============================================================ */
:root {
  --bg: #F5F0E9;
  --surface: #FFFFFF;
  --surface-2: #FBF8F4;
  --ink: #2A1E17;
  --ink-2: #4A3A2F;
  --muted: #85756A;
  --line: #E8DFD4;
  --brand: #3A2A20;        /* espresso */
  --brand-ink: #FFFFFF;
  --accent: #C27A3A;       /* karamel */
  --accent-soft: #F6E7D8;
  --ok: #2F7A57;
  --ok-soft: #E2F2EA;
  --warn: #A86A12;
  --warn-soft: #FBF0DC;
  --danger: #B23E2C;
  --danger-soft: #F8E3DF;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(42,30,23,.06), 0 6px 20px rgba(42,30,23,.06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nav-w: 232px;
  --top-h: 60px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body, #app { height: 100%; }
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 15px; line-height: 1.45; overscroll-behavior: none;
}
/* Mode PWA terpasang: kunci rasa "aplikasi" */
@media (display-mode: standalone) {
  body { user-select: none; -webkit-user-select: none; }
  input, textarea, select, [contenteditable] { user-select: text; -webkit-user-select: text; }
}
button, input, select, textarea { font: inherit; color: inherit; }
/* font >=16px di input supaya browser tidak auto-zoom saat fokus */
input, select, textarea { font-size: 16px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; }
a { color: var(--accent); }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.grow { flex: 1; }
.row { display: flex; gap: 10px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.sep { height: 1px; background: var(--line); margin: 8px 0; }

/* ---------- Tombol & input ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font-weight: 600; cursor: pointer; transition: background .15s, transform .05s; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.primary { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.btn.accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.ok { background: var(--ok); color: #fff; border-color: var(--ok); }
.btn.danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--surface-2); }
.btn.sm { min-height: 34px; padding: 0 10px; font-size: 13px; }
.btn.lg { min-height: 56px; font-size: 17px; padding: 0 22px; }
.btn.block { width: 100%; }
.btn.icon { width: 44px; padding: 0; }
.btn.sm.icon { width: 34px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface); outline: none;
}
.textarea { min-height: 80px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.input.big { font-size: 26px; font-weight: 700; text-align: right; min-height: 60px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; min-height: 36px; }
.check input { width: 20px; height: 20px; accent-color: var(--brand); }

.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 3px; gap: 3px; }
.seg button { border: 0; background: transparent; padding: 8px 14px; border-radius: 8px; font-weight: 600; cursor: pointer; color: var(--muted); min-height: 38px; }
.seg button.on { background: var(--brand); color: #fff; }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.badge.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.badge.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.badge.danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.badge.accent { background: var(--accent-soft); color: var(--accent); border-color: transparent; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.card h3 { font-size: 16px; margin-bottom: 12px; }

/* ---------- Logo ---------- */
.logo { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; overflow: hidden; background: var(--brand); color: #fff; font-weight: 800; letter-spacing: .5px; flex: none; }
.logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.logo.xl { width: 96px; height: 96px; border-radius: 24px; font-size: 28px; }
.logo-drop { border: 2px dashed var(--line); border-radius: var(--radius); padding: 18px; display: flex; gap: 18px; align-items: center; background: var(--surface-2); }
.logo-drop .logo { width: 110px; height: 110px; border-radius: 20px; font-size: 26px; }

/* ---------- Login ---------- */
.login-wrap { min-height: 100%; display: grid; place-items: center; padding: 24px; background:
  radial-gradient(1200px 500px at 50% -10%, #EADBC9 0%, transparent 60%), var(--bg); }
.login-card { width: 100%; max-width: 400px; background: var(--surface); border-radius: 22px; padding: 30px 26px; box-shadow: 0 20px 60px rgba(42,30,23,.12); border: 1px solid var(--line); }
.login-card .head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin-bottom: 22px; }
.login-card h1 { font-size: 22px; }
.login-foot { text-align: center; margin-top: 14px; font-size: 12px; color: var(--muted); }

/* ---------- Shell ---------- */
.shell { display: grid; grid-template-columns: var(--nav-w) 1fr; grid-template-rows: var(--top-h) 1fr; height: 100%; }
.topbar { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 0 14px; background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.topbar .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; min-width: 0; }
.topbar .brand .logo { width: 38px; height: 38px; border-radius: 10px; font-size: 13px; }
.topbar .brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.userchip { display: flex; align-items: center; gap: 8px; padding: 4px 6px 4px 4px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; }
.userchip .av { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.userchip .meta { display: flex; flex-direction: column; line-height: 1.1; padding-right: 6px; }
.userchip .meta b { font-size: 13px; }
.userchip .meta small { font-size: 11px; color: var(--muted); text-transform: capitalize; }
.nav { background: var(--surface); border-right: 1px solid var(--line); padding: 12px 10px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 600; }
.nav a svg { width: 20px; height: 20px; flex: none; }
.nav a:hover { background: var(--surface-2); }
.nav a.on { background: var(--brand); color: #fff; }
.nav .group { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 14px 12px 6px; font-weight: 700; }
.main { overflow-y: auto; padding: 20px; -webkit-overflow-scrolling: touch; }
.main.flush { padding: 0; overflow: hidden; }
.page-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.page-head h2 { font-size: 22px; margin-right: auto; }
.navtoggle { display: none; }

/* Tablet potret / layar kecil: nav jadi laci */
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .nav { position: fixed; top: var(--top-h); left: 0; bottom: 0; width: 260px; transform: translateX(-100%); transition: transform .2s; z-index: 20; box-shadow: var(--shadow); }
  .nav.open { transform: none; }
  .navtoggle { display: inline-flex; }
  .main { padding: 14px; }
  .userchip .meta { display: none; }
}
/* Kasir: nav lebih ramping (ikon + label kecil) agar area POS luas */
.role-kasir { --nav-w: 92px; }
@media (min-width: 901px) {
  .role-kasir .nav a { flex-direction: column; gap: 4px; font-size: 11.5px; padding: 10px 4px; text-align: center; }
  .role-kasir .nav a svg { width: 24px; height: 24px; }
  .role-kasir .nav .group { display: none; }
}

/* ---------- Tabel ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th, table.t td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
table.t th { background: var(--surface-2); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); position: sticky; top: 0; }
table.t tr:last-child td { border-bottom: 0; }
table.t tr.click { cursor: pointer; }
table.t tr.click:hover td { background: var(--surface-2); }
table.t tr.void td { color: var(--muted); text-decoration: line-through; }
table.t tfoot td { font-weight: 800; background: var(--surface-2); }
.empty { padding: 36px 16px; text-align: center; color: var(--muted); }

/* ---------- KPI ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.kpi small { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.kpi b { display: block; font-size: 22px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi.accent { background: var(--brand); color: #fff; border-color: var(--brand); }
.kpi.accent small { color: #E9D9C8; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 1000px) { .cols2 { grid-template-columns: 1fr; } }
.bars { display: flex; flex-direction: column; gap: 8px; }
.bar { display: grid; grid-template-columns: 110px 1fr 120px; gap: 10px; align-items: center; font-size: 13px; }
.bar .track { height: 12px; background: var(--surface-2); border-radius: 99px; overflow: hidden; border: 1px solid var(--line); }
.bar .fill { height: 100%; background: var(--accent); border-radius: 99px; }

/* ---------- POS ---------- */
.pos { display: grid; grid-template-columns: 1fr 380px; height: 100%; }
.pos-menu { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.pos-filter { padding: 12px 14px 8px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); background: var(--surface); padding: 9px 16px; border-radius: 99px; font-weight: 700; cursor: pointer; min-height: 42px; }
.chip.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.search { position: relative; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search .input { padding-left: 40px; }
.menu-grid { flex: 1; overflow-y: auto; padding: 4px 14px 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; align-content: start; }
.menu-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; text-align: left; cursor: pointer; min-height: 104px; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; transition: border-color .15s, transform .05s; }
.menu-card:active { transform: scale(.97); }
.menu-card:hover { border-color: var(--accent); }
.menu-card .nm { font-weight: 700; font-size: 15px; line-height: 1.25; }
.menu-card .pr { font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.menu-card .pr s { color: var(--muted); font-weight: 600; font-size: 12px; margin-right: 4px; }
.menu-card .qtydot { position: absolute; top: 8px; right: 8px; min-width: 26px; height: 26px; border-radius: 99px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; padding: 0 6px; }
.menu-card .tag { align-self: flex-start; margin-bottom: -4px; font-size: 10.5px; padding: 2px 7px; border-radius: 99px; background: var(--ok); color: #fff; font-weight: 800; }
.cart { background: var(--surface); border-left: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.cart-head { padding: 12px 14px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.cart-lines { flex: 1; overflow-y: auto; padding: 6px 14px; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.cart-line .nm { font-weight: 700; }
.cart-line .note { font-size: 12.5px; color: var(--muted); }
.cart-line .lt { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty button { width: 38px; height: 36px; border: 0; background: var(--surface-2); cursor: pointer; font-size: 18px; font-weight: 700; }
.qty span { min-width: 34px; text-align: center; font-weight: 800; }
.cart-sum { padding: 12px 14px; border-top: 1px solid var(--line); background: var(--surface-2); display: flex; flex-direction: column; gap: 4px; }
.cart-sum .r { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.cart-sum .r.disc { color: var(--ok); font-weight: 600; }
.cart-sum .r.total { font-size: 22px; font-weight: 800; margin-top: 4px; }
.cart-mobile-btn { display: none; }
@media (max-width: 1100px) { .pos { grid-template-columns: 1fr 340px; } }
@media (max-width: 760px) {
  .pos { grid-template-columns: 1fr; }
  .cart { position: fixed; inset: var(--top-h) 0 0 0; z-index: 15; transform: translateY(100%); transition: transform .2s; }
  .cart.open { transform: none; }
  .cart-mobile-btn { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 14; }
  .menu-grid { padding-bottom: 80px; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

.no-shift { height: 100%; display: grid; place-items: center; padding: 20px; }
.no-shift .card { max-width: 440px; width: 100%; }

/* ---------- Modal ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(30,20,14,.45); display: grid; place-items: center; z-index: 100; padding: 16px; animation: fade .15s; }
.modal { background: var(--surface); border-radius: 18px; width: 100%; max-width: 520px; max-height: calc(100% - 20px); display: flex; flex-direction: column; box-shadow: 0 30px 80px rgba(0,0,0,.25); animation: pop .15s; }
.modal.wide { max-width: 820px; }
.modal-h { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.modal-h h3 { font-size: 18px; margin-right: auto; }
.modal-b { padding: 18px; overflow-y: auto; }
.modal-f { padding: 14px 18px; border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: translateY(8px) scale(.98); opacity: 0; } }

.paygrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.paygrid button { min-height: 58px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.paygrid button.on { border-color: var(--brand); background: var(--brand); color: #fff; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.quick button { flex: 1 1 22%; min-height: 46px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); font-weight: 700; cursor: pointer; font-variant-numeric: tabular-nums; }
.bigtotal { text-align: center; padding: 6px 0 14px; }
.bigtotal small { color: var(--muted); font-weight: 600; }
.bigtotal b { display: block; font-size: 34px; font-variant-numeric: tabular-nums; }
.change { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); font-weight: 800; font-size: 20px; }
.change.minus { background: var(--danger-soft); color: var(--danger); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts button { min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; cursor: pointer; }
.opts button.on { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- Toast ---------- */
.toasts { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 12px; font-weight: 600; box-shadow: var(--shadow); animation: pop .15s; max-width: 90vw; }
.toast.err { background: var(--danger); }
.toast.ok { background: var(--ok); }

/* ---------- Struk (preview & print fallback) ---------- */
.receipt { font-family: ui-monospace, "Courier New", monospace; font-size: 12.5px; background: #fff; color: #000; padding: 14px; width: 300px; margin: 0 auto; border: 1px solid var(--line); border-radius: 6px; white-space: pre; line-height: 1.35; overflow-x: auto; }
.receipt img { display: block; margin: 0 auto 6px; max-width: 140px; max-height: 90px; }

.printer-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); display: inline-block; }
.printer-dot.on { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }

.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.list-plain li:last-child { border-bottom: 0; }

.spinner { width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.boot { height: 100%; display: grid; place-items: center; }

/* ---------- Cetak laporan (laptop) ---------- */
@media print {
  .topbar, .nav, .no-print, .toasts { display: none !important; }
  .shell { display: block; }
  .main { overflow: visible; padding: 0; }
  body { background: #fff; }
  .card, .kpi, .table-wrap { box-shadow: none; break-inside: avoid; }
}

/* ---------- Presensi / absen ---------- */
.ab-grp { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 4px 0 8px; }
.ab-grp:not(:first-child) { margin-top: 16px; }
.ab-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ab-person { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; text-align: left; padding: 16px; min-height: 82px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.ab-person b { font-size: 17px; }
.ab-person small { color: var(--muted); font-size: 12.5px; }
.ab-person.in { border-color: var(--ok); background: var(--ok-soft); }
.ab-person.in small { color: var(--ok); font-weight: 700; }
.ab-person:active { transform: scale(.98); }
.ab-pin { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: center; }
@media (max-width: 640px) { .ab-pin { grid-template-columns: 1fr; } }
.ab-cam { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #1E1612; }
.ab-cam.big { max-width: 420px; }
.ab-cam video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); display: block; }
.ab-cam-msg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #E9D9C8; text-align: center; padding: 16px; font-size: 13.5px; }
.ab-cam-msg svg { width: 34px; height: 34px; }
.ab-dots { display: flex; gap: 12px; min-height: 18px; }
.ab-dots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--brand); display: block; }
.ab-dots i.on { background: var(--brand); }
.ab-pad { display: grid; grid-template-columns: repeat(3, 72px); gap: 10px; }
.ab-pad button { height: 60px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); font-size: 24px; font-weight: 700; cursor: pointer; }
.ab-pad button:active { background: var(--accent-soft); transform: scale(.96); }
.ab-pad button.go { background: var(--brand); color: #fff; border-color: var(--brand); font-size: 18px; }
.ab-msg { min-height: 20px; font-size: 13.5px; color: var(--danger); font-weight: 600; text-align: center; }
.ab-done { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 10px 0; font-size: 16px; }
.ab-done h3 { font-size: 22px; }
.ab-ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.ab-ic.warn { background: var(--warn-soft); color: var(--warn); }
.ab-ic svg { width: 36px; height: 36px; }
.sched-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.sched-week > div { border: 1px solid var(--line); border-radius: 10px; padding: 8px 2px; display: flex; flex-direction: column; gap: 4px; }
.sched-week > div.now { border-color: var(--brand); box-shadow: 0 0 0 2px var(--accent-soft); }
.sched-week small { color: var(--muted); font-weight: 700; font-size: 11.5px; }
.sched-week b { font-size: 13px; border-radius: 6px; padding: 2px 0; }
.sh-pagi { background: var(--warn-soft); color: var(--warn); }
.sh-sore { background: var(--accent-soft); color: var(--accent); }
.sh-libur { background: var(--surface-2); color: var(--muted); }
.sh-none { color: var(--muted); }
table.sched td, table.sched th { text-align: center; padding: 8px 6px; }
table.sched td:first-child, table.sched th:first-child { text-align: left; }
table.sched td.grp { text-align: left; background: var(--surface-2); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.sched-sel { min-height: 40px; border-radius: 8px; border: 1px solid var(--line); padding: 4px 6px; font-weight: 700; width: 100%; min-width: 78px; cursor: pointer; }
.sched-sel.sh-none { background: var(--surface); }
