:root {
  --bg: #f5f6fa;
  --panel: #ffffff;
  --ink: #1d2233;
  --muted: #6b7185;
  --line: #e4e6ee;
  --brand: #5b3cc4;
  --brand-ink: #ffffff;
  --brand-soft: #efeafd;
  --green: #1f9d55; --green-soft: #e3f6ec;
  --amber: #b7791f; --amber-soft: #fdf3dc;
  --red: #d64545; --red-soft: #fde8e8;
  --blue: #2f6fd6; --blue-soft: #e5eefc;
  --grey: #6b7185; --grey-soft: #eef0f4;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(20, 24, 40, .06), 0 2px 8px rgba(20, 24, 40, .04);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-size: 14.5px; line-height: 1.45; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 22px; margin: 0; letter-spacing: -.01em; }
h2 { font-size: 17px; margin: 0 0 12px; }
h3 { font-size: 15px; margin: 18px 0 10px; }
.muted { color: var(--muted); }
small { font-size: 12.5px; }
.num { font-variant-numeric: tabular-nums; }

/* Layout */
.app { display: flex; min-height: 100vh; }
.sidebar { width: 230px; background: #1d1a33; color: #cfcbe6; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; flex-shrink: 0; }
.brand { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; color: #fff; font-weight: 650; }
.logo { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #8b6cf0, #e5487d); display: grid; place-items: center; font-size: 13px; }
.sidebar nav { display: flex; flex-direction: column; padding: 6px 10px; gap: 2px; flex: 1; }
.sidebar nav a { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 9px; color: #cfcbe6; }
.sidebar nav a:hover { background: rgba(255,255,255,.06); text-decoration: none; color: #fff; }
.sidebar nav a.active { background: rgba(139,108,240,.25); color: #fff; }
.sidebar-foot { padding: 14px 16px; border-top: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.who { color: #fff; font-size: 13.5px; display: flex; flex-direction: column; }
.who small { color: #9d97c2; }
.sidebar .btn.ghost { color: #cfcbe6; border-color: rgba(255,255,255,.18); background: transparent; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: 12px; padding: 12px 24px; background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.topbar .search { flex: 1; max-width: 520px; }
.topbar .search input { width: 100%; }
.menu-btn { display: none; background: none; border: 0; padding: 4px; cursor: pointer; color: var(--ink); }
.content { padding: 22px 24px 60px; max-width: 1400px; width: 100%; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head p { margin: 4px 0 0; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Cards & grids */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin-bottom: 18px; }
.card > h2:first-child { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card.flush { padding: 0; overflow: hidden; }
.card.flush > h2 { padding: 16px 18px 0; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; }
.cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.cols.even { grid-template-columns: 1fr 1fr; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.stat .label { color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; }
.stat .value { font-size: 26px; font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat .sub { color: var(--muted); font-size: 12.5px; }
.stat a.value { display: block; color: var(--ink); }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; background: #fafbfd; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafaff; }
td.r, th.r { text-align: right; }
.empty { text-align: center; color: var(--muted); padding: 28px; }

/* Forms */
.form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted); font-weight: 500; }
.form label.check { flex-direction: row; align-items: center; gap: 8px; color: var(--ink); }
input, select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid #d5d8e3; border-radius: 9px; padding: 8px 11px; min-height: 38px; width: 100%; }
input[type=checkbox], input[type=radio] { width: auto; min-height: 0; accent-color: var(--brand); }
textarea { min-height: 70px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--brand) 35%, transparent); border-color: var(--brand); }
.form .row-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.inline-form { display: inline; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 14px; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--muted); }
.filters input, .filters select { width: auto; min-width: 150px; }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; }
legend { padding: 0 6px; font-weight: 600; font-size: 13.5px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 14px; border-radius: 9px; border: 1px solid #d5d8e3; background: #fff; color: var(--ink); font: inherit; font-weight: 550; cursor: pointer; min-height: 38px; white-space: nowrap; }
.btn:hover { text-decoration: none; background: #f6f7fb; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.primary:hover { background: #4b2fb0; }
.btn.danger { color: var(--red); border-color: #f0c4c4; }
.btn.danger:hover { background: var(--red-soft); }
.btn.success { background: var(--green); border-color: var(--green); color: #fff; }
.btn.sm { padding: 4px 10px; min-height: 30px; font-size: 13px; border-radius: 8px; }
.btn.ghost { background: transparent; }
.btn-group { display: inline-flex; gap: 4px; flex-wrap: wrap; }

/* Badges / chips */
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge.green { background: var(--green-soft); color: var(--green); }
.badge.amber { background: var(--amber-soft); color: var(--amber); }
.badge.red { background: var(--red-soft); color: var(--red); }
.badge.blue { background: var(--blue-soft); color: var(--blue); }
.badge.grey { background: var(--grey-soft); color: var(--grey); }
.badge.purple { background: var(--brand-soft); color: var(--brand); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 2px 9px 2px 7px; border-radius: 999px; background: color-mix(in srgb, var(--c) 14%, white); color: color-mix(in srgb, var(--c) 75%, black); white-space: nowrap; }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.credits { font-weight: 700; font-variant-numeric: tabular-nums; }
.credits.low { color: var(--red); }

/* Alerts */
.alert { padding: 11px 14px; border-radius: 10px; margin-bottom: 14px; border: 1px solid; }
.alert.success { background: var(--green-soft); border-color: #bfe8cf; color: #13653a; }
.alert.error { background: var(--red-soft); border-color: #f3c2c2; color: #9b2c2c; }
.alert.info { background: var(--blue-soft); border-color: #c5d8f8; color: #1f4c96; }
.alert.warn { background: var(--amber-soft); border-color: #f1dca6; color: #7a5212; }

/* Progress */
.meter { height: 7px; background: var(--grey-soft); border-radius: 99px; overflow: hidden; min-width: 80px; }
.meter > span { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.meter.warn > span { background: var(--amber); }
.meter.bad > span { background: var(--red); }

/* Schedule (week grid) */
.week-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.week { display: grid; grid-template-columns: 64px repeat(7, minmax(120px, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); min-width: 940px; }
.week .h { background: #fafbfd; font-weight: 600; font-size: 13px; padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.week .h.today { background: var(--brand-soft); color: var(--brand); }
.week .h small { display: block; color: var(--muted); font-weight: 500; }
.week .t { font-size: 12px; color: var(--muted); padding: 8px 6px; text-align: right; border-bottom: 1px solid var(--line); }
.week .cell { border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 4px; min-height: 64px; display: flex; flex-direction: column; gap: 4px; }
.week .cell.closed { background: repeating-linear-gradient(45deg, #fafafa, #fafafa 6px, #f3f3f6 6px, #f3f3f6 12px); }
.slot { display: block; border-radius: 8px; padding: 6px 8px; color: #fff; background: var(--c); font-size: 12.5px; line-height: 1.3; position: relative; }
.slot:hover { text-decoration: none; filter: brightness(1.07); }
.slot b { display: block; font-weight: 650; }
.slot .cap { display: inline-block; margin-top: 3px; background: rgba(0,0,0,.2); padding: 0 6px; border-radius: 99px; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.slot.full .cap { background: #fff; color: var(--red); font-weight: 700; }
.slot.cancelled { background: #c9ccd6; text-decoration: line-through; }
.slot.past { opacity: .72; }

/* Session roster */
.roster td .btn-group .btn.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Auth pages */
.auth-page { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, #1d1a33, #3b2a7a); padding: 20px; }
.auth-card { background: #fff; border-radius: 16px; padding: 30px; width: 100%; max-width: 400px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.auth-card.wide { max-width: 640px; }
.auth-card h1 { margin-bottom: 16px; }
.auth-card .form label { margin-bottom: 12px; }
.auth-card .btn { width: 100%; margin-top: 6px; }

/* Public register */
.public { background: linear-gradient(160deg, #fff6fb, #f1ecff); min-height: 100vh; padding: 30px 16px; }
.public .box { max-width: 620px; margin: 0 auto; background: #fff; border-radius: 16px; padding: 28px; box-shadow: 0 10px 40px rgba(60, 40, 120, .12); }

/* Bars (reports) */
.bars { display: flex; flex-direction: column; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 150px 1fr 110px; gap: 10px; align-items: center; font-size: 13px; }
.bar-row .track { background: var(--grey-soft); border-radius: 6px; height: 16px; overflow: hidden; }
.bar-row .fill { height: 100%; background: var(--brand); border-radius: 6px; }
.bar-row .v { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.vbars { display: flex; align-items: flex-end; gap: 8px; height: 180px; padding-top: 10px; }
.vbars .col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; font-size: 11.5px; color: var(--muted); }
.vbars .col .b { width: 100%; max-width: 46px; background: var(--brand); border-radius: 6px 6px 0 0; min-height: 2px; }
.vbars .col .n { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

.kv { display: grid; grid-template-columns: 130px 1fr; gap: 6px 12px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: 9px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.list-plain li:last-child { border-bottom: 0; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; flex-wrap: wrap; }
.tabs a { padding: 9px 14px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 550; }
.tabs a.active { color: var(--brand); border-color: var(--brand); }
.tabs a:hover { text-decoration: none; color: var(--ink); }
.pill-count { background: var(--grey-soft); color: var(--muted); border-radius: 99px; padding: 0 7px; font-size: 12px; margin-left: 4px; }

@media (min-width: 801px) {
  .app { background: linear-gradient(to right, #1d1a33 230px, var(--bg) 230px); }
}
@media (max-width: 1000px) {
  .cols, .cols.even { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .sidebar { position: fixed; left: -240px; z-index: 20; transition: left .2s; }
  .sidebar.open { left: 0; box-shadow: 0 0 40px rgba(0,0,0,.4); }
  .menu-btn { display: block; }
  .topbar { padding: 10px 16px; }
  .content { padding: 16px 16px 60px; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 100px 1fr 80px; }
  .topbar .btn.primary { display: none; }
}
@media print {
  .sidebar, .topbar, .actions, .no-print { display: none !important; }
  .card { box-shadow: none; }
}

/* In-class booking search */
.booker .booker-q { font-size: 16px; min-height: 46px; padding: 10px 14px; }
.booker-results { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.booker-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.booker-row:hover { background: #fafaff; }
.booker-info .badge { margin-left: 6px; }
.booker-credits { text-align: right; white-space: nowrap; }
.booker-act { display: flex; gap: 6px; justify-content: flex-end; }
.booker-empty { color: var(--muted); padding: 10px 2px; }
tr.dim td { opacity: .55; }
tr.dim td:last-child { opacity: 1; }

/* Status buttons */
.status-btns .btn.st-booked.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.status-btns .btn.st-present.on { background: var(--green); border-color: var(--green); color: #fff; }
.status-btns .btn.st-present:not(.on):hover { background: var(--green-soft); }
.status-btns .btn.st-cancel { color: var(--red); }
.status-btns .btn.st-resched { color: var(--amber); }

/* Reschedule picker */
.day-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.day-card { margin: 0; }
.pick { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; width: 100%; text-align: left; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font: inherit; cursor: pointer; margin-bottom: 6px; }
.pick:hover { border-color: var(--brand); background: var(--brand-soft); }
.pick.disabled { cursor: default; opacity: .6; }
.pick.disabled:hover { border-color: var(--line); background: #fff; }

/* Month calendar */
.month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.month .mh { background: #fafbfd; font-weight: 600; font-size: 12.5px; text-align: center; padding: 8px 4px; border-bottom: 1px solid var(--line); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.month .md { min-height: 118px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 6px; display: flex; flex-direction: column; gap: 3px; color: var(--ink); }
.month .md:nth-child(7n) { border-right: 0; }
.month .md:hover { background: #fafaff; text-decoration: none; }
.month .md.other { background: #fbfbfd; }
.month .md.other .dn { color: #b6b9c6; }
.month .md.today .dn { background: var(--brand); color: #fff; }
.month .md.closed { background: repeating-linear-gradient(45deg, #fafafa, #fafafa 6px, #f3f3f6 6px, #f3f3f6 12px); }
.month .dn { font-weight: 700; font-size: 13px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.month .mline { font-size: 11.5px; display: flex; gap: 4px; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.month .mline i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex-shrink: 0; }
.month .msum { margin-top: auto; font-size: 11.5px; color: var(--muted); }
.month .msum b { color: var(--ink); }
@media (max-width: 800px) {
  .booker-row { grid-template-columns: 1fr; gap: 6px; }
  .booker-credits, .booker-act { text-align: left; justify-content: flex-start; }
  .month .md { min-height: 64px; }
  .month .mline { display: none; }
}
@media (max-width: 800px) {
  .roster table, .roster tbody, .roster tr, .roster td { display: block; width: 100%; }
  .roster thead { display: none; }
  .roster tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .roster td { border: 0; padding: 3px 0; text-align: left !important; }
  .roster td.empty { text-align: center !important; padding: 20px 0; }
  .roster .status-btns { margin-top: 6px; }
  .roster .status-btns .btn { min-height: 38px; padding: 6px 12px; }
}
.nowrap{white-space:nowrap}
table.log td{vertical-align:top}
.filters input[type=checkbox]{min-width:0;min-height:0}
.filters label.check{padding-bottom:10px}

/* Trial + last class flags */
.trial-banner { border: 2px solid var(--red); background: var(--red-soft); color: #b42318; font-weight: 700; padding: 10px 14px; border-radius: 10px; margin: 0 0 14px; }
.trial-flag { color: #d92d20; font-weight: 700; font-size: 12.5px; margin-top: 3px; display: inline-block; }
.badge.solid.red, .badge.red.solid { background: var(--red); color: #fff; }
.btn.danger-solid { background: var(--red); border-color: var(--red); color: #fff; }
.btn.danger-solid:hover { background: #b42318; }
.alert.warn { font-weight: 600; }

/* Booking calendar */
.week .h.today { background: var(--brand); color: #fff; }
.week .h.today small { color: rgba(255,255,255,.85); }
.week .h.today a { color: #fff !important; }
.week .h.pastday { color: #b6b9c6; }
.today-tag { display: block; font-size: 10.5px; letter-spacing: .12em; font-weight: 800; margin-bottom: 2px; }
.week .cell.todaycol { background: color-mix(in srgb, var(--brand) 7%, white); box-shadow: inset 2px 0 0 var(--brand), inset -2px 0 0 var(--brand); }
.bslot { display: block; position: relative; border-radius: 8px; padding: 6px 8px 6px 28px; font-size: 12.5px; line-height: 1.3; cursor: pointer;
  background: color-mix(in srgb, var(--c) 14%, white); border: 1.5px solid color-mix(in srgb, var(--c) 45%, white); color: var(--ink); }
.bslot b { display: block; font-weight: 650; color: color-mix(in srgb, var(--c) 70%, black); }
.bslot .st { display: block; font-size: 11.5px; color: var(--muted); }
.bslot input { position: absolute; left: 8px; top: 8px; width: 15px; height: 15px; margin: 0; accent-color: var(--brand); }
.bslot:hover { border-color: var(--c); }
.bslot:has(input:checked) { background: var(--c); color: #fff; border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 30%, transparent); }
.bslot:has(input:checked) b, .bslot:has(input:checked) .st { color: #fff; }
.bslot.mine { padding-left: 8px; background: var(--green-soft); border-color: var(--green); text-decoration: none; }
.bslot.mine .st { color: var(--green); font-weight: 700; }
.bslot.off { opacity: .45; cursor: default; padding-left: 8px; }
.book-bar { position: sticky; bottom: 0; z-index: 4; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: flex-end;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-top: 12px; box-shadow: 0 -4px 16px rgba(20,24,40,.08); }
.book-bar > span { margin-right: auto; }
.trial-check { color: #b42318; font-weight: 700; }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 14px; }
.tpl-grid label.check { font-size: 13.5px; }
.month .md.today { background: color-mix(in srgb, var(--brand) 8%, white); box-shadow: inset 0 0 0 2px var(--brand); }

a.stat { color: var(--ink); text-decoration: none; }
a.stat:hover { border-color: var(--brand); text-decoration: none; }
.dupe-warn { border: 2px solid var(--amber); background: var(--amber-soft); border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
.dupe-title { font-weight: 800; color: #93370d; }
.dupe-kids { font-size: 13.5px; }
.dupe-same { border: 2px solid var(--red); background: var(--red-soft); color: #b42318; font-weight: 700; padding: 8px 10px; border-radius: 8px; }
.dupe-q { font-weight: 700; margin-top: 4px; }
.bslot.na { border-style: dashed; border-color: var(--amber); background: repeating-linear-gradient(135deg, #fffaf0, #fffaf0 6px, #fdf3dc 6px, #fdf3dc 12px); }
.bslot.na .st { color: var(--amber); font-weight: 600; }
.bslot.na:has(input:checked) { background: var(--amber); border-color: var(--amber); border-style: solid; }
.pick.na { border-style: dashed; border-color: var(--amber); }
.na-check { color: var(--amber); }
.badge.solid-amber { background: var(--amber); color: #fff; }
.bslot.na { opacity: .7; }
.bslot.na:hover, .bslot.na:has(input:checked) { opacity: 1; }
.booker-info .trial-flag { display: block; }

.trial-banner { display: flex; gap: 10px 14px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.trial-charge { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.trial-charge select { width: auto; min-height: 30px; padding: 2px 8px; font-size: 13px; }

.lead-quick { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.lead-quick select, .lead-quick input { width: auto; min-height: 30px; padding: 3px 8px; font-size: 12.5px; }
.lead-quick input[name=note] { width: 130px; }
table.leads td { vertical-align: top; }

.badge.ctype { font-size: 11px; }
.mini-select { width: auto !important; min-height: 30px !important; padding: 2px 6px !important; font-size: 12.5px; margin-right: 4px; }
.booker-info .badge { margin-left: 6px; }
.stat.sel { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }

.block-flag { font-weight: 700; font-size: 12.5px; margin-top: 3px; }
.block-flag.expired { color: #b42318; }
.block-flag.finished { color: #b54708; }
.btn.warn-solid { background: var(--amber); border-color: var(--amber); color: #fff; }
