/* PhD Tutor Bookings — styles */
:root {
  --bg: #f4f6f5;
  --surface: #ffffff;
  --surface-2: #f8faf9;
  --border: #dde3e0;
  --border-strong: #c5cfca;
  --text: #1f2a26;
  --muted: #5b6b65;
  --faint: #8a9893;
  --brand: #1d6363;
  --brand-hover: #164e4e;
  --brand-soft: #e2f0ef;
  --focus: #2a7f7e;
  --danger: #b4372f;
  --danger-soft: #fbeaea;
  --warn: #9a6400;
  --warn-soft: #fdf3dc;

  /* status colours */
  --st-available: #1f8a5b;  --st-available-bg: #e2f5ec;
  --st-booked: #2c5fb8;     --st-booked-bg: #e5edfb;
  --st-completed: #5d6b78;  --st-completed-bg: #eceff2;
  --st-cancelled: #b4372f;  --st-cancelled-bg: #fbeaea;
  --st-blocked: #6b4e16;    --st-blocked-bg: #f3ead8;
  --st-pending: #9a6400;    --st-pending-bg: #fdf3dc;
  --st-closed: #6f7a76;     --st-closed-bg: #eef1f0;
  --st-regular: #56606a;    --st-regular-bg: #e9ebee;

  --radius: 10px;
  --radius-sm: 7px;
  --shadow: 0 1px 2px rgba(16, 32, 26, .06), 0 4px 16px rgba(16, 32, 26, .05);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5rem; }
h1 { font-size: 1.5rem; }
h2 { font-size: 1.15rem; }
h3 { font-size: 1rem; }
p { margin: 0 0 .75rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ---------- layout ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; min-height: 58px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; white-space: nowrap; flex: none; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 800; letter-spacing: -.5px;
}
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: .75rem; }
.nav { display: flex; gap: 2px; margin-left: 12px; flex-wrap: wrap; }
.nav a {
  text-decoration: none; color: var(--muted); padding: 7px 9px; border-radius: 7px; font-weight: 500; font-size: .9rem; white-space: nowrap;
}
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a.active { background: var(--brand-soft); color: var(--brand); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.topbar-right .btn { white-space: nowrap; }
@media (max-width: 1320px) { .user-chip { display: none; } }
.user-chip { font-size: .85rem; color: var(--muted); max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn.menu-toggle { display: none; }
.nav .mobile-only { display: none; }
@media (max-width: 600px) {
  .topbar-right .btn:not(.menu-toggle) { display: none; }
  .nav.open .mobile-only { display: block; }
}
#view:focus { outline: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 22px 16px 60px; }
.container.narrow { max-width: 720px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head p { margin: 0; }

@media (max-width: 1180px) {
  .btn.menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 8px 12px 12px; margin: 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 12px; }
  .user-chip { display: none; }
}

/* ---------- cards / grid ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px;
}
.card + .card { margin-top: 14px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.card-head h2, .card-head h3 { margin: 0; }
.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 16px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.stat .num { font-size: 1.7rem; font-weight: 700; line-height: 1.1; }
.stat .lbl { color: var(--muted); font-size: .85rem; }
.stat.accent { border-left: 4px solid var(--brand); }
.stat.warn { border-left: 4px solid var(--st-pending); }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ---------- buttons ---------- */
.btn {
  appearance: none; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
  font: inherit; font-weight: 600; font-size: .92rem;
  padding: 9px 15px; border-radius: var(--radius-sm); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  text-decoration: none; min-height: 40px; transition: background .12s, border-color .12s;
}
.btn:hover { background: var(--surface-2); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn-danger { color: var(--danger); border-color: #e3b7b3; }
.btn-danger:hover { background: var(--danger-soft); }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-sm { padding: 5px 10px; min-height: 32px; font-size: .84rem; }
.btn-lg { padding: 12px 20px; min-height: 48px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.btn .spinner { width: 14px; height: 14px; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.field label, .label { font-weight: 600; font-size: .88rem; }
.field .hint { color: var(--muted); font-size: .8rem; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number],
input[type=date], input[type=time], input[type=search], select, textarea {
  font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 9px 11px; min-height: 42px; width: 100%;
}
textarea { min-height: 80px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(42, 127, 126, .2); }
.form-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: .92rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-toggle { position: relative; }
.chip-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.chip-toggle span {
  display: inline-block; padding: 6px 11px; border: 1px solid var(--border-strong); border-radius: 999px;
  font-size: .84rem; cursor: pointer; user-select: none; background: var(--surface);
}
.chip-toggle input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip-toggle input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.error-text { color: var(--danger); font-size: .88rem; }
.seg { display: inline-flex; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); overflow: hidden; }
.seg button { border: 0; background: var(--surface); font: inherit; font-size: .88rem; padding: 7px 13px; cursor: pointer; }
.seg button + button { border-left: 1px solid var(--border-strong); }
.seg button.active { background: var(--brand); color: #fff; }

/* ---------- badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .76rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  background: var(--st-closed-bg); color: var(--st-closed);
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.available { background: var(--st-available-bg); color: var(--st-available); }
.badge.booked, .badge.confirmed { background: var(--st-booked-bg); color: var(--st-booked); }
.badge.completed { background: var(--st-completed-bg); color: var(--st-completed); }
.badge.cancelled, .badge.no_show { background: var(--st-cancelled-bg); color: var(--st-cancelled); }
.badge.blocked { background: var(--st-blocked-bg); color: var(--st-blocked); }
.badge.pending, .badge.late { background: var(--st-pending-bg); color: var(--st-pending); }
.badge.closed, .badge.withdrawn { background: var(--st-closed-bg); color: var(--st-closed); }
.badge.regular { background: var(--st-regular-bg); color: var(--st-regular); }
.badge.makeup, .badge.reported { background: #efe7fa; color: #6a3fb0; }
.badge.acknowledged { background: var(--st-available-bg); color: var(--st-available); }
.legend { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- lists / tables ---------- */
.list { list-style: none; margin: 0; padding: 0; }
.list-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border);
}
.list-item:last-child { border-bottom: 0; }
.list-item .grow { flex: 1; min-width: 0; }
.list-item .title { font-weight: 600; }
.date-tile {
  flex: none; width: 54px; text-align: center; border-radius: 8px; background: var(--brand-soft); color: var(--brand);
  padding: 6px 0; line-height: 1.1;
}
.date-tile .d { font-size: 1.3rem; font-weight: 700; }
.date-tile .m { font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.empty { text-align: center; color: var(--muted); padding: 26px 10px; }
.empty .big { font-size: 1.05rem; color: var(--text); font-weight: 600; margin-bottom: 4px; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; background: var(--surface-2); }
.table tr.clickable { cursor: pointer; }
.table tr.clickable:hover td { background: var(--surface-2); }
@media (max-width: 700px) {
  .table.stack thead { display: none; }
  .table.stack tr { display: block; border-bottom: 1px solid var(--border); padding: 8px 0; }
  .table.stack td { display: block; position: relative; border: 0; padding: 4px 4px 4px 100px; min-height: 26px; }
  .table.stack td::before { content: attr(data-label); position: absolute; left: 4px; top: 5px; width: 90px; color: var(--muted); font-size: .8rem; font-weight: 600; }
  .table.stack td:not([data-label]) { padding-left: 4px; }
}

/* ---------- toolbar ---------- */
.toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar .spacer { flex: 1; }
.toolbar input, .toolbar select { width: auto; min-width: 140px; }

/* ---------- wizard (parent booking) ---------- */
.steps { display: flex; gap: 6px; margin: 4px 0 18px; list-style: none; padding: 0; counter-reset: s; }
.steps li {
  flex: 1; font-size: .78rem; color: var(--faint); font-weight: 600; text-align: center;
  padding-top: 8px; border-top: 4px solid var(--border);
}
.steps li.done { color: var(--brand); border-color: var(--brand); }
.steps li.current { color: var(--text); border-color: var(--brand); }
@media (max-width: 520px) { .steps li span { display: none; } }

.choice-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.choice {
  display: flex; align-items: center; gap: 12px; text-align: left; width: 100%;
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px; cursor: pointer; font: inherit; color: inherit; min-height: 64px; text-decoration: none;
}
.choice:hover { border-color: var(--brand); }
.choice.selected { border-color: var(--brand); background: var(--brand-soft); }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 700; flex: none;
}
.choice .t { font-weight: 600; }
.choice .s { color: var(--muted); font-size: .84rem; }

/* month calendar (parent date picker) */
.month { user-select: none; }
.month-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.month-head strong { font-size: 1.02rem; }
.month-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.month-grid .dow { text-align: center; font-size: .72rem; color: var(--muted); font-weight: 600; padding: 4px 0; }
.day {
  aspect-ratio: 1 / 1; border-radius: 8px; border: 1px solid transparent; background: transparent;
  font: inherit; font-size: .92rem; color: var(--faint); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px; padding: 0;
}
.day.has {
  color: var(--text); background: var(--st-available-bg); border-color: #bfe6d3; cursor: pointer; font-weight: 600;
}
.day.has::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--st-available); }
.day.has:hover { border-color: var(--st-available); }
.day.selected { background: var(--brand); color: #fff; border-color: var(--brand); }
.day.selected::after { background: #fff; }
.day.today { box-shadow: inset 0 0 0 1.5px var(--border-strong); }
.day.blank { visibility: hidden; }

.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.time-btn {
  border: 1.5px solid var(--border-strong); background: var(--surface); border-radius: var(--radius-sm);
  padding: 10px 12px; font: inherit; cursor: pointer; text-align: left;
}
.time-btn:hover { border-color: var(--brand); }
.time-btn.selected { border-color: var(--brand); background: var(--brand-soft); }
.time-btn .t { font-weight: 700; font-size: 1rem; }
.time-btn .s { font-size: .78rem; color: var(--muted); }

.summary { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 16px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; }

.success-mark {
  width: 64px; height: 64px; border-radius: 50%; background: var(--st-available-bg); color: var(--st-available);
  display: grid; place-items: center; margin: 4px auto 12px; font-size: 32px;
}

/* ---------- admin calendar ---------- */
.cal-toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.cal-toolbar .title { font-weight: 700; font-size: 1.05rem; margin: 0 6px; }
.week {
  display: grid; grid-template-columns: 56px repeat(7, minmax(120px, 1fr));
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden;
}
.week.days-1 { grid-template-columns: 56px 1fr; }
.week-scroll { overflow-x: auto; }
.week .colhead {
  position: sticky; top: 0; background: var(--surface-2); border-bottom: 1px solid var(--border);
  padding: 8px 6px; text-align: center; font-size: .8rem; font-weight: 600; z-index: 2;
}
.week .colhead.today { color: var(--brand); }
.week .gutter { border-right: 1px solid var(--border); position: relative; }
.week .hour-label { position: absolute; right: 6px; font-size: .7rem; color: var(--faint); transform: translateY(-50%); }
.week .col { position: relative; border-right: 1px solid var(--border); }
.week .col:last-child { border-right: 0; }
.week .hline { position: absolute; left: 0; right: 0; border-top: 1px solid #edf0ee; }
.ev {
  position: absolute; left: 3px; right: 3px; border-radius: 6px; padding: 3px 6px; font-size: .74rem; line-height: 1.25;
  overflow: hidden; cursor: pointer; border: 1px solid transparent; border-left-width: 4px; text-align: left;
  font-family: inherit; color: var(--text);
}
.ev:hover { filter: brightness(.97); z-index: 3; }
.ev .et { font-weight: 700; }
.ev.available { background: var(--st-available-bg); border-color: var(--st-available); }
.ev.booked { background: var(--st-booked-bg); border-color: var(--st-booked); }
.ev.completed { background: var(--st-completed-bg); border-color: var(--st-completed); }
.ev.cancelled { background: var(--st-cancelled-bg); border-color: var(--st-cancelled); text-decoration: line-through; }
.ev.blocked { background: repeating-linear-gradient(135deg, var(--st-blocked-bg), var(--st-blocked-bg) 6px, #ece0c6 6px, #ece0c6 12px); border-color: var(--st-blocked); }
.ev.closed { background: var(--st-closed-bg); border-color: var(--st-closed); }
.ev.regular { background: var(--st-regular-bg); border-color: var(--st-regular); cursor: default; }
.ev.partial { background: linear-gradient(90deg, var(--st-booked-bg), var(--st-available-bg)); border-color: var(--st-booked); }

.monthcal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.monthcal .dow { background: var(--surface-2); text-align: center; font-size: .75rem; font-weight: 600; padding: 6px; color: var(--muted); border-bottom: 1px solid var(--border); }
.monthcal .cell { min-height: 104px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 4px; cursor: pointer; }
.monthcal .cell:nth-child(7n) { border-right: 0; }
.monthcal .cell.other { background: #fafbfa; color: var(--faint); }
.monthcal .cell.today .dn { background: var(--brand); color: #fff; }
.monthcal .dn { display: inline-block; font-size: .78rem; font-weight: 600; padding: 1px 6px; border-radius: 999px; margin-bottom: 2px; }
.monthcal .pill { display: block; font-size: .7rem; border-radius: 4px; padding: 1px 5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-left: 3px solid; }
.monthcal .pill.available { background: var(--st-available-bg); border-color: var(--st-available); }
.monthcal .pill.booked { background: var(--st-booked-bg); border-color: var(--st-booked); }
.monthcal .pill.completed { background: var(--st-completed-bg); border-color: var(--st-completed); }
.monthcal .pill.cancelled { background: var(--st-cancelled-bg); border-color: var(--st-cancelled); }
.monthcal .pill.blocked { background: var(--st-blocked-bg); border-color: var(--st-blocked); }
.monthcal .pill.closed { background: var(--st-closed-bg); border-color: var(--st-closed); }
.monthcal .pill.regular { background: var(--st-regular-bg); border-color: var(--st-regular); }
@media (max-width: 700px) {
  .monthcal .cell { min-height: 64px; }
  .monthcal .pill { font-size: 0; height: 6px; padding: 0; margin-top: 3px; }
}

/* ---------- drawer / modal ---------- */
.overlay {
  position: fixed; inset: 0; background: rgba(16, 26, 22, .45); z-index: 50;
  display: flex; align-items: center; justify-content: center; padding: 16px;
  animation: fade .12s ease-out;
}
.modal {
  background: var(--surface); border-radius: 12px; width: 100%; max-width: 560px; max-height: calc(100vh - 32px);
  overflow: auto; box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}
.modal.wide { max-width: 760px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--surface); z-index: 1; }
.modal-head h2 { margin: 0; font-size: 1.08rem; }
.modal-body { padding: 18px; }
.modal-foot { padding: 12px 18px 16px; display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; border-top: 1px solid var(--border); }
@media (max-width: 600px) {
  .overlay { align-items: flex-end; padding: 0; }
  .modal { border-radius: 14px 14px 0 0; max-height: 92vh; }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- toast ---------- */
.toasts { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 80; display: flex; flex-direction: column; gap: 8px; width: min(440px, calc(100vw - 32px)); }
.toast { background: #1f2a26; color: #fff; padding: 11px 14px; border-radius: 8px; font-size: .9rem; box-shadow: var(--shadow); animation: fade .15s; }
.toast.error { background: var(--danger); }
.toast.success { background: var(--brand); }

/* ---------- alerts ---------- */
.alert { border-radius: var(--radius-sm); padding: 10px 13px; font-size: .9rem; margin-bottom: 14px; border: 1px solid; }
.alert.info { background: var(--brand-soft); border-color: #bfdcd2; color: #16493d; }
.alert.warn { background: var(--warn-soft); border-color: #efd9a6; color: #6d4800; }
.alert.error { background: var(--danger-soft); border-color: #ecc0bc; color: #8a2a24; }

/* ---------- auth ---------- */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .brand { justify-content: center; margin-bottom: 18px; font-size: 1.1rem; }
.tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.tabs button { flex: 1; background: none; border: 0; padding: 10px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.tabs button.active { color: var(--brand); border-bottom-color: var(--brand); }

/* ---------- misc ---------- */
.spinner {
  width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--border); border-top-color: var(--brand);
  animation: spin .7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 40px; color: var(--muted); }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 6px 12px; font-size: .92rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.divider { height: 1px; background: var(--border); margin: 16px 0; }
.timeline { list-style: none; margin: 0; padding: 0; font-size: .84rem; }
.timeline li { padding: 4px 0 4px 14px; border-left: 2px solid var(--border); }
.skip-list { max-height: 180px; overflow: auto; font-size: .85rem; }
@media (max-width: 520px) {
  .list-item { flex-wrap: wrap; }
  .list-item > .btn-row { flex-direction: row !important; width: 100%; padding-left: 66px; }
}

/* ---------- logo ---------- */
.brand-logo { height: 44px; width: auto; display: block; }
.brand-sub { font-size: .75rem; color: var(--muted); font-weight: 500; border-left: 1px solid var(--border); padding-left: 10px; }
.auth-logo { display: block; width: min(240px, 70%); height: auto; margin: 0 auto 6px; }
.auth-sub { text-align: center; color: var(--muted); font-size: .85rem; margin-bottom: 14px; }
.avatar-logo { background: #fff !important; border: 1px solid var(--border); padding: 5px; }
.avatar-logo img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 1360px) { .brand-sub { display: none; } }
@media (max-width: 600px) { .brand-logo { height: 38px; } }
