/*
 * app.css
 * =======
 * Base/global styles plus the app chrome (header + toolbar) and the login
 * screen. Relies on the variables in tokens.css. Component styles for the
 * individual calendar views get their own files in later phases.
 *
 * Sections:
 *   1. Reset & base
 *   2. Buttons (shared)
 *   3. App layout shell
 *   4. Header (brand, search, identity menu + popover)
 *   5. Toolbar (tabs, range, legend, manager actions, worker summary)
 *   6. View area + placeholder
 *   7. Login screen
 */

/* ====================================================================== */
/* 1. Reset & base                                                        */
/* ====================================================================== */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
}

::selection { background: #CFE0FB; }
a { color: inherit; text-decoration: none; }

/* Utility: render numeric times/dates left-to-right inside the RTL layout. */
.ltr { direction: ltr; }

/* Popover entrance animation (used by the identity menu). */
@keyframes rpop {
  from { transform: translateY(-6px) scale(.97); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

/* ====================================================================== */
/* 2. Buttons (shared)                                                    */
/* ====================================================================== */
.btn-ghost {
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: var(--r-input);
  padding: 9px 14px;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
}
.btn-ghost:hover { background: var(--bg); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--r-input);
  padding: 12px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover { background: var(--primary-hover); }

/* Disabled chrome buttons (Phase 1: not yet wired to their actions). */
button[disabled] { opacity: .55; cursor: default; }

/* ====================================================================== */
/* 3. App layout shell                                                    */
/* ====================================================================== */
/* Full-height column: header + toolbar stay put, only the view area scrolls. */
.app {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ====================================================================== */
/* 4. Header                                                              */
/* ====================================================================== */
.app-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 13px 22px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex: none;
}

.brand { display: flex; align-items: center; gap: 11px; }
/* Brand is the "ShiftTidy" wordmark only (no logo square). LTR so the Latin
   wordmark reads the same in he/RTL and en/LTR. */
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: -.02em; direction: ltr; }

/* Worker greeting (header): hello + closest upcoming shift. Sits next to the
   search; padded symmetrically and separated from the brand by a hairline. */
.greet {
  display: flex; flex-direction: column; gap: 1px;
  padding-inline: 14px; margin-inline-start: 2px;
  border-inline-start: 1px solid var(--border);
  line-height: 1.2;
}
.greet-hi { font-size: 13.5px; font-weight: 800; color: var(--ink); }
.greet-next { font-size: 11px; font-weight: 600; color: var(--muted); }
.greet-next.muted { color: var(--faint); }

/* Team search. */
.search { flex: 1; max-width: 320px; position: relative; }
.search input {
  width: 100%;
  padding: 9px 14px;
  border-radius: var(--r-input);
  border: 1px solid var(--border);
  background: var(--surface-warm);
  font-family: inherit;
  font-size: 13.5px;
  color: var(--text);
  outline: none;
}
.search input:focus { border-color: var(--primary); background: #fff; }
/* Clear "×" sits at the trailing edge of the box (left in RTL, right in LTR). */
.search-clear {
  position: absolute; top: 50%; inset-inline-end: 10px; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--border); color: var(--muted);
  font-size: 14px; line-height: 1; font-weight: 700;
}
.search-clear:hover { background: var(--primary); color: #fff; }

.header-spacer { flex: 1; }

/* Notifications bell (header). */
.bell-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px; margin-inline-end: 8px;
  text-decoration: none; background: var(--surface);
  border: 1px solid var(--border); color: var(--ink);
}
.bell-btn svg { width: 21px; height: 21px; display: block; }
.bell-btn:hover { background: var(--bg); border-color: var(--faint-2); }
.bell-badge {
  position: absolute; top: -5px; inset-inline-start: -5px;
  min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 800; border-radius: 9px;
  border: 2px solid var(--surface);
}

/* Identity menu. */
.user-menu { position: relative; }
.user-btn {
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 7px 16px;
  cursor: pointer;
  font-family: inherit;
}
.user-btn:hover { background: var(--bg); }
.user-btn .meta { text-align: center; line-height: 1.2; }
.user-btn .meta .name { font-size: 13px; font-weight: 700; }
.user-btn .meta .role { font-size: 11px; color: var(--muted); }

/* Avatars removed in the Phase-Bands redesign — identity is text only. */

.popover {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 15px;
  box-shadow: var(--shadow-popover);
  padding: 7px;
  z-index: 41;
  animation: rpop .16s ease;
}
.pop-company {
  font-size: 10.5px; font-weight: 700; color: var(--faint);
  padding: 8px 10px 6px; letter-spacing: .04em;
}
.pop-item {
  display: block;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 13px; font-weight: 700;
}
.pop-item:hover { background: var(--surface-warm); }

/* Language switcher inside the identity popover. */
.pop-langs {
  display: flex; gap: 4px;
  margin: 6px 0; padding: 6px 6px 0;
  border-top: 1px solid var(--hairline);
}
.pop-lang {
  flex: 1; text-align: center;
  padding: 6px 4px; border-radius: 8px;
  font-size: 11.5px; font-weight: 700; color: var(--muted);
}
.pop-lang:hover { background: var(--surface-warm); }
.pop-lang.active { background: var(--ink); color: #fff; }

/* Language switcher on the pre-login pages. */
.lang-switch {
  display: flex; justify-content: center; gap: 6px;
  margin-top: 16px;
}
/* Inside an auth card: a subtle, centered footer separated by a hairline. */
.login-langs {
  margin-top: 22px; padding-top: 16px;
  border-top: 1px solid var(--border-2);
}
.login-langs .lang-switch { margin-top: 0; gap: 4px; }
.login-langs .lang-opt { padding: 4px 11px; font-size: 11.5px; }
.lang-opt {
  padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: var(--muted);
}
.lang-opt:hover { background: var(--surface-warm); }
.lang-opt.active { background: var(--ink); color: #fff; }

/* ====================================================================== */
/* 5. Toolbar                                                             */
/* ====================================================================== */
.toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex: none;
}

/* Segmented view tabs. */
.tabs {
  display: flex; align-items: center; gap: 2px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 3px;
  border-radius: 9px;
}
.tab {
  padding: 7px 16px;
  border-radius: 7px;
  font-size: 13.5px; font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;      /* a two-word tab ("Message board") must not wrap */
}
.tab.active { background: #fff; color: var(--accentD); box-shadow: 0 1px 3px rgba(20, 30, 50, .12); }
.tab-badge {
  background: var(--primary); color: #fff;
  font-size: 10px; font-weight: 800;
  min-width: 16px; height: 16px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 4px;
}

.range { line-height: 1.15; text-align: center; min-width: 96px; }
.range-main { font-size: 15px; font-weight: 800; }
.range-sub { font-size: 11.5px; color: var(--muted); }

/* Date navigation cluster: ‹ prev ›  range  next  [היום] */
.range-nav { display: flex; align-items: center; gap: 6px; }
.nav-arrow {
  width: 28px; height: 28px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: var(--text);
  border: 1px solid var(--border); background: var(--surface);
  text-decoration: none; transition: background .12s;
}
.nav-arrow:hover { background: var(--surface-warm); }
.nav-today {
  margin-inline-start: 4px; padding: 5px 10px; border-radius: 8px;
  font-size: 12px; font-weight: 700; color: var(--text);
  border: 1px solid var(--border); background: var(--surface); text-decoration: none;
}
.nav-today:hover { background: var(--surface-warm); }

.toolbar-spacer { flex: 1; }

/* Status legend. */
.legend { display: flex; align-items: center; gap: 13px; }
.legend-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--muted); font-weight: 600;
}
.legend-item .dot { width: 9px; height: 9px; border-radius: 3px; }

/* Worker "focus on me" toggle (Week view) — segmented control mirroring .tabs. */
.focus-toggle {
  display: inline-flex; align-items: center; gap: 2px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 3px;
  border-radius: 9px;
}
.focus-opt {
  padding: 6px 13px;
  border-radius: 7px;
  font-size: 12.5px; font-weight: 700;
  color: var(--muted);
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.focus-opt.active { background: #fff; color: var(--accentD); box-shadow: 0 1px 3px rgba(20, 30, 50, .12); }

/* Manager actions. */
.mgr-actions { display: flex; align-items: center; gap: 10px; }
.inbox-btn { display: inline-flex; align-items: center; gap: 7px; }
.badge-count {
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 800;
  min-width: 19px; height: 19px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 5px;
}
.btn-new {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--primary); color: #fff;
  border: none;
  padding: 9px 16px;
  border-radius: var(--r-input);
  font-family: inherit;
  font-weight: 700; font-size: 13.5px;
  cursor: pointer;
  box-shadow: var(--shadow-primary);
}
.btn-new:hover { background: var(--primary-hover); }

/* Worker 'my week' summary strip. */
.summary {
  display: flex; align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 7px 4px;
  font-weight: 700;
}
.summary .cell { padding: 0 14px; text-align: center; }
.summary .num { font-size: 15px; font-weight: 800; }
.summary .num.req { color: var(--accent); }
.summary .lbl { font-size: 10.5px; color: var(--muted); font-weight: 600; }
.summary .sep { width: 1px; height: 26px; background: var(--border-3); }

/* ====================================================================== */
/* 6. View area + placeholder                                             */
/* ====================================================================== */
/* Flex column so a view whose root is `flex:1` (the Week's .wk-scroll) is
   height-bounded and becomes its OWN scroll container — that's what lets the
   Week's day-header row stay `sticky`. Plain-block views (team/month/roster/
   stats) still scroll here via overflow:auto, unchanged. */
.view-area { flex: 1; overflow: auto; display: flex; flex-direction: column; }

.view-placeholder {
  height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  color: var(--muted);
}
.ph-title { font-size: 18px; font-weight: 800; color: var(--text); }
.ph-sub { font-size: 13.5px; }

/* ====================================================================== */
/* 7. Login screen                                                        */
/* ====================================================================== */
.login-wrap {
  position: relative; overflow: hidden;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  /* Café photo backdrop + a soft light wash and a gentle vignette so the white
     card stays crisp over the bright image. (Image: app/static/img/login-bg.webp) */
  background: url("../img/login-bg.webp") center / cover no-repeat;
  background-color: var(--bg);
}
/* "Sun dust": a layer of soft motes (built by static/js/sun-dust.js) that rise
   and fade over the photo, behind the card. Each span gets randomized
   left / size / duration / delay / --x drift inline. */
.sun-dust { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.sun-dust span {
  position: absolute; bottom: -6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 250, 235, .95) 0%, rgba(255, 244, 214, .45) 55%, transparent 72%);
  opacity: 0;
  will-change: transform, opacity;
  animation-name: sun-rise;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes sun-rise {
  0%   { transform: translate(0, 0) scale(.9); opacity: 0; }
  12%  { opacity: .85; }
  88%  { opacity: .75; }
  100% { transform: translate(var(--x, 0), -108vh) scale(1.1); opacity: 0; }
}
/* Reduced-motion: the script skips building the motes, but hide the layer too. */
@media (prefers-reduced-motion: reduce) { .sun-dust { display: none; } }
.login-card {
  position: relative; z-index: 1;     /* above the sun-dust layers */
  width: 380px; max-width: 100%;
  background: var(--surface);
  border-radius: var(--r-modal);
  box-shadow: var(--shadow-modal);
  padding: 30px 28px;
}
.login-card .brand { justify-content: center; margin-bottom: 6px; }
.login-title {
  text-align: center;
  font-size: 15px; color: var(--muted); font-weight: 600;
  margin-bottom: 22px;
}
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 12px; font-weight: 700; color: var(--muted);
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  padding: 11px 13px;
  border-radius: var(--r-input);
  border: 1px solid var(--border);
  background: var(--surface-warm);
  font-family: inherit;
  font-size: 14px; color: var(--text);
  outline: none;
}
.field input:focus { border-color: var(--primary); background: #fff; }
.login-card .btn-primary { width: 100%; margin-top: 6px; }
.flash {
  background: var(--primary-soft);
  color: var(--primary-hover);
  border: 1px solid var(--swap-border);
  border-radius: var(--r-input);
  padding: 10px 13px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 16px; text-align: center;
}
.login-hint {
  margin-top: 18px;
  font-size: 11.5px; color: var(--faint);
  text-align: center; line-height: 1.6;
}
/* "New here?" actions — prominent accent links, set off by a hairline divider. */
.login-alts {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
}
.login-alt {
  color: var(--primary); font-size: 13.5px; font-weight: 700;
  text-decoration: none;
}
.login-alt:hover { color: var(--primary-hover); text-decoration: underline; }
.login-alt-sep { color: var(--faint-2); font-weight: 700; }

/* "Forgot password?" link under the login button. */
.login-forgot { margin-top: 12px; text-align: center; }
.login-forgot a { color: var(--muted); font-size: 12.5px; text-decoration: none; }
.login-forgot a:hover { color: var(--primary); text-decoration: underline; }

/* Informational note on the forgot/reset pages (e.g. "check your email"). */
.login-note {
  margin-top: 14px; font-size: 13.5px; color: var(--text); line-height: 1.5;
  text-align: center;
}

/* ====================================================================== */
/* 8. Settings page                                                       */
/* ====================================================================== */
.settings-wrap { max-width: 640px; margin: 0 auto; padding: 28px 22px 60px; }
.settings-title { font-size: 22px; font-weight: 800; margin: 0 0 18px; }
.settings-saved {
  background: var(--confirmed-bg); color: var(--confirmed-text);
  border: 1px solid var(--confirmed-border);
  border-radius: var(--r-input);
  padding: 10px 14px; font-size: 13px; font-weight: 700;
  margin-bottom: 16px;
}

.settings-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-container);
  padding: 20px 22px;
  margin-bottom: 16px;
}
.settings-head { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.settings-hint { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }

.radio-row, .check-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; font-size: 13.5px; cursor: pointer;
}
.radio-row span b, .check-row span b { font-weight: 700; }
.radio-row input, .check-row input { width: 17px; height: 17px; accent-color: var(--primary); flex: none; }

.num-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0; border-bottom: 1px solid var(--border-3);
}
.num-row label { font-size: 13.5px; font-weight: 600; }
.num-row input { width: 90px; }
.check-row { margin-top: 8px; }

/* Workspace timezone control (Settings). */
.tz-select {
  max-width: 260px; padding: 8px 10px; border: 1px solid var(--border);
  border-radius: 9px; background: var(--surface-warm);
  font-family: inherit; font-size: 13.5px; color: var(--text);
}
.tz-save { width: auto; margin-top: 12px; padding: 9px 22px; }

/* Number/text inputs inside settings. */
.settings-card input[type="number"] {
  padding: 9px 11px;
  border-radius: var(--r-input);
  border: 1px solid var(--border);
  background: var(--surface-warm);
  font-family: inherit; font-size: 14px; font-weight: 600;
  color: var(--text); outline: none;
}
.settings-card input[type="number"]:focus { border-color: var(--primary); background: #fff; }

/* One phase block, stacked + symmetric: a header line (enable + name · restore)
   over two aligned control lines (time, then capacity). */
.phase-row {
  display: flex; flex-direction: column; gap: 12px;
  padding: 16px 0; border-bottom: 1px solid var(--border-3);
}
.phase-row:last-child { border-bottom: none; }
.phase-row.off { opacity: .55; }
.phase-row.off .phase-controls { opacity: .7; }

/* Header line: name on the start edge, restore pushed to the end edge. */
.phase-head { display: flex; align-items: center; gap: 10px; }
.phase-name { font-size: 14px; font-weight: 700; }
.phase-show { display: flex; align-items: center; gap: 8px; flex: none; cursor: pointer; }
.phase-show input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); }
.phase-locked-hint { font-size: 10.5px; color: var(--faint); font-weight: 600; }
.restore-btn {
  margin-inline-start: auto;          /* pin to the end edge of the header */
  background: transparent; border: none;
  color: var(--primary); font-family: inherit;
  font-size: 12px; font-weight: 700; cursor: pointer;
  padding: 4px 6px;
}
.restore-btn:hover { text-decoration: underline; }

/* Control lines: each is a left-aligned row; both start at the same edge and
   share even spacing, so the four phases line up identically. */
.phase-controls { display: flex; flex-direction: column; gap: 14px; }
.phase-line { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.phase-line label { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.phase-line label.next-day { gap: 9px; }
/* 24-hour time entry: hour + minute dropdowns (templates/_time_select.html).
   The browser's own time picker shows AM/PM on English-language devices. */
.time-select { display: inline-flex; align-items: center; gap: 4px; }
.time-select select {
  padding: 8px 6px;
  border-radius: var(--r-input);
  border: 1px solid var(--border);
  background: var(--surface-warm);
  font-family: inherit; font-size: 14px; font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text); outline: none; cursor: pointer;
}
.time-select select:focus { border-color: var(--primary); background: #fff; }
.time-sep { color: var(--faint); font-weight: 700; }
.phase-line input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); }
.phase-cap input[type="number"] {
  width: 64px; padding: 7px 9px; border-radius: var(--r-input);
  border: 1px solid var(--border); background: var(--surface-warm);
  font-family: inherit; font-size: 13px; font-weight: 600; color: var(--text); outline: none;
}
.phase-cap input[type="number"]:focus { border-color: var(--primary); background: #fff; }
.phase-cap input[type="number"]:disabled { opacity: .45; }
.phase-unlimited { white-space: nowrap; }

/* Inline checkbox row (used under the create-modal time inputs). */
.check-row.inline { padding: 4px 0 0; font-size: 12.5px; color: var(--muted); }

.settings-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.settings-save { padding: 12px 22px; }

/* ====================================================================== */
/* 9. Owner admin portal                                                  */
/* ====================================================================== */
.admin-wrap { max-width: 980px; margin: 0 auto; padding: 24px 22px 60px; }
.admin-empty { color: var(--muted); text-align: center; padding: 40px; }
.admin-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-container); padding: 18px 20px; margin-bottom: 16px;
}
.admin-ws-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.admin-ws-name { font-size: 16px; font-weight: 800; }
.admin-ws-meta { font-size: 12px; color: var(--muted); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { text-align: start; font-size: 11px; color: var(--muted); font-weight: 700; padding: 6px 8px; border-bottom: 1px solid var(--border-3); }
.admin-table td { padding: 8px; border-bottom: 1px solid var(--border-3); vertical-align: middle; }
.admin-status { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.admin-status.active { background: var(--confirmed-bg); color: var(--confirmed-text); }
.admin-status.pending { background: var(--pending-bg); color: var(--pending-text); }
.admin-status.deactivated { background: var(--border-2); color: var(--muted); }
.admin-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.admin-actions form { display: flex; gap: 4px; margin: 0; }
.admin-actions input[type="password"] {
  width: 110px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--surface-warm); font-family: inherit; font-size: 12px; outline: none;
}
.btn-xs {
  padding: 6px 10px; border-radius: 8px; border: 1px solid var(--border);
  background: #fff; color: var(--muted); font-family: inherit; font-weight: 700;
  font-size: 12px; cursor: pointer;
}
.btn-xs:hover { background: var(--surface-warm); }
.btn-xs.danger-sm, .btn-sm.danger-sm { color: var(--danger-text); border-color: var(--danger-border); }
.btn-sm.danger-sm { background: #fff; }

/* Worker toolbar: "N h to reach the minimum" — shown only while below it. */
.min-hint {
  padding: 5px 10px; border-radius: 999px;
  background: var(--danger-bg); border: 1px solid var(--danger-border);
  color: var(--danger-text); font-size: 11.5px; font-weight: 800; white-space: nowrap;
}

/* Settings: hint beside a phase's "workers needed" field. */
.phase-needed-hint { font-size: 11.5px; color: var(--muted); }

/* Worker call-out cards — "a shift needs someone, will you take it?" — shown
   between the toolbar and the calendar. */
.callout-bar {
  display: flex; flex-direction: column; gap: 8px;
  padding: 10px 20px; flex: none;
  background: var(--primary-soft); border-bottom: 1px solid var(--border);
}
.callout-card {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--primary); border-radius: 12px;
  padding: 9px 12px;
}
.callout-info { flex: 1; min-width: 180px; }
.callout-title { font-size: 12px; font-weight: 800; color: var(--accentD); }
.callout-slot { font-size: 13.5px; font-weight: 700; }
.callout-card form { margin: 0; }
.callout-card .btn-sm { width: auto; padding: 8px 16px; white-space: nowrap; }
