/* PestBooking dashboards: shared design system */
:root {
  --pb-primary: #C8261D;
  --pb-primary-600: #A81F17;
  --pb-primary-50: #FDF1F0;
  --pb-dark: #14213D;
  --pb-dark-2: #1D2D52;
  --pb-accent: #F2A900;
  --pb-bg: #F4F5F7;
  --pb-surface: #FFFFFF;
  --pb-surface-2: #F8F9FB;
  --pb-text: #1B1F2A;
  --pb-muted: #5F6675;
  --pb-line: #E3E5EA;
  --pb-success: #0E9F5B;
  --pb-danger: #D92D20;
  --pb-warn: #DC6803;
  --pb-info: #1570EF;
  --pb-radius: 12px;
  --pb-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --pb-shadow-lg: 0 20px 50px -12px rgba(16, 24, 40, .28);
  --pb-font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pb-head: "DM Sans", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --pb-bg: #0E121A; --pb-surface: #161B26; --pb-surface-2: #1C2230; --pb-text: #E8EAEE; --pb-muted: #9AA2B1;
    --pb-line: #2A3142; --pb-primary-50: #2A1715; --pb-shadow: 0 1px 2px rgba(0,0,0,.4); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --pb-bg: #0E121A; --pb-surface: #161B26; --pb-surface-2: #1C2230; --pb-text: #E8EAEE; --pb-muted: #9AA2B1;
  --pb-line: #2A3142; --pb-primary-50: #2A1715; --pb-shadow: 0 1px 2px rgba(0,0,0,.4); color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--pb-font); color: var(--pb-text); background: var(--pb-bg); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--pb-primary); }
h1, h2, h3, h4 { font-family: var(--pb-head); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 24px; } h2 { font-size: 19px; } h3 { font-size: 16px; }
.muted { color: var(--pb-muted); } .small { font-size: 13px; } .tiny { font-size: 12px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.nowrap { white-space: nowrap; } .right { text-align: right; } .center { text-align: center; }
.row { display: flex; gap: 12px; align-items: center; } .row.wrap { flex-wrap: wrap; } .row.between { justify-content: space-between; } .row.start { align-items: flex-start; }
.grow { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 12px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.hide-sm { } @media (max-width: 700px) { .hide-sm { display: none !important; } }
.show-sm { display: none; } @media (max-width: 700px) { .show-sm { display: initial; } }

/* ---------- logo ---------- */
.pb-logo-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--pb-primary); color: #fff; display: grid; place-items: center; font-weight: 800; letter-spacing: .5px; font-size: 15px; flex: none; }

/* ---------- buttons ---------- */
.btn { appearance: none; font: inherit; font-weight: 600; font-size: 14px; line-height: 1.2; border-radius: 9px; padding: 9px 14px; border: 1px solid var(--pb-primary); background: var(--pb-primary); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, box-shadow .15s; }
.btn:hover { background: var(--pb-primary-600); border-color: var(--pb-primary-600); }
.btn:focus-visible, .in:focus-visible, .chip:focus-visible { outline: 2px solid var(--pb-primary); outline-offset: 2px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.ghost { background: var(--pb-surface); color: var(--pb-text); border-color: var(--pb-line); }
.btn.ghost:hover { border-color: var(--pb-muted); background: var(--pb-surface-2); }
.btn.dark { background: var(--pb-dark); border-color: var(--pb-dark); }
.btn.success { background: var(--pb-success); border-color: var(--pb-success); }
.btn.danger { background: var(--pb-surface); color: var(--pb-danger); border-color: color-mix(in srgb, var(--pb-danger) 40%, var(--pb-line)); }
.btn.danger:hover { background: var(--pb-danger); color: #fff; }
.btn.link { background: none; border-color: transparent; color: var(--pb-primary); padding-left: 4px; padding-right: 4px; }
.btn.link:hover { text-decoration: underline; background: none; }
.btn.sm { padding: 6px 10px; font-size: 13px; border-radius: 8px; }
.btn.lg { padding: 13px 22px; font-size: 16px; }
.btn.block { width: 100%; }
.btn.icon { padding: 7px; }

/* ---------- cards ---------- */
.card { background: var(--pb-surface); border: 1px solid var(--pb-line); border-radius: var(--pb-radius); padding: 18px; box-shadow: var(--pb-shadow); }
.card.flush { padding: 0; overflow: hidden; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--pb-line); }
.card-h h2, .card-h h3 { margin: 0; }
.card-b { padding: 18px; }

/* ---------- forms ---------- */
label.lbl, .lbl { display: block; font-size: 13px; font-weight: 600; margin: 0 0 5px; }
label { font-size: 13px; font-weight: 600; }
.field { margin-bottom: 14px; }
.field-l { display: block; font-size: 15px; font-weight: 400; margin: 0; }
.field-l > .lbl { margin-bottom: 5px; }
.hint { font-size: 12.5px; color: var(--pb-muted); margin-top: 4px; font-weight: 400; }
.in, input:not([type=checkbox]):not([type=radio]):not([type=color]), select, textarea { width: 100%; font: inherit; font-size: 15px; color: var(--pb-text); background: var(--pb-surface); border: 1px solid var(--pb-line); border-radius: 9px; padding: 9px 11px; outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--pb-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pb-primary) 15%, transparent); }
textarea { min-height: 84px; resize: vertical; }
input[type=color] { width: 44px; height: 38px; border: 1px solid var(--pb-line); border-radius: 8px; padding: 2px; background: var(--pb-surface); cursor: pointer; }
label.inline, .check { display: flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; margin: 6px 0; }
input[type=checkbox], input[type=radio] { width: 17px; height: 17px; accent-color: var(--pb-primary); margin: 0; }
.err-text { color: var(--pb-danger); font-size: 13px; margin-top: 4px; }
.in-group { display: flex; } .in-group > * + * { margin-left: -1px; }

/* ---------- alerts / badges ---------- */
.alert { border-radius: 10px; padding: 11px 14px; margin: 0 0 14px; border: 1px solid; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.alert.error { background: #FEF3F2; border-color: #FECDCA; color: #912018; }
.alert.warn { background: #FFFAEB; border-color: #FEDF89; color: #93370D; }
.alert.info { background: #EFF8FF; border-color: #B2DDFF; color: #194185; }
.alert.success { background: #ECFDF3; border-color: #ABEFC6; color: #085D3A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .alert { background: var(--pb-surface-2); color: var(--pb-text); } }

.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; line-height: 1.4; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.plain::before { display: none; }
.st-pending { background: #FFFAEB; color: #B54708; }
.st-confirmed { background: #EFF8FF; color: #175CD3; }
.st-assigned { background: #F4F3FF; color: #5925DC; }
.st-on_the_way { background: #ECFDFF; color: #0E7090; }
.st-completed { background: #ECFDF3; color: #067647; }
.st-cancelled { background: #F2F4F7; color: #475467; }
.st-no_show { background: #FEF3F2; color: #B42318; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) [class*="st-"].badge { background: var(--pb-surface-2); } }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
.t th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--pb-muted); font-weight: 700; padding: 10px 14px; border-bottom: 1px solid var(--pb-line); background: var(--pb-surface-2); white-space: nowrap; }
.t td { padding: 12px 14px; border-bottom: 1px solid var(--pb-line); vertical-align: middle; }
.t tr:last-child td { border-bottom: 0; }
.t tbody tr.click { cursor: pointer; } .t tbody tr.click:hover td { background: var(--pb-surface-2); }

/* ---------- app shell ---------- */
.shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side { background: var(--pb-dark); color: #C9D1E1; padding: 18px 12px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.side .brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; color: #fff; }
.side .brand strong { display: block; font-size: 15px; } .side .brand span { font-size: 12px; color: #8C98B3; }
.nav a { display: flex; align-items: center; gap: 10px; color: #C9D1E1; text-decoration: none; padding: 9px 12px; border-radius: 9px; font-weight: 500; font-size: 14.5px; }
.nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.nav a.on { background: var(--pb-primary); color: #fff; }
.nav .sec { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: #6F7B96; padding: 16px 12px 6px; font-weight: 700; }
.nav .count { margin-left: auto; background: var(--pb-accent); color: #1B1F2A; font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 999px; }
.side .me { margin-top: auto; padding: 12px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.side .me .row { flex-wrap: wrap; }
.main { min-width: 0; }
.top { display: flex; align-items: center; gap: 12px; padding: 14px 24px; background: var(--pb-surface); border-bottom: 1px solid var(--pb-line); position: sticky; top: 0; z-index: 20; }
.top h1 { margin: 0; font-size: 20px; }
.content { padding: 22px 24px 60px; max-width: 1400px; }
.burger { display: none; }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; bottom: 0; width: 260px; z-index: 60; transform: translateX(-100%); transition: transform .2s; }
  .side.open { transform: none; box-shadow: var(--pb-shadow-lg); }
  .burger { display: inline-flex; }
  .content { padding: 16px 14px 60px; }
  .top { padding: 12px 14px; }
}
.scrim { position: fixed; inset: 0; background: rgba(10, 14, 24, .45); z-index: 55; }

/* ---------- KPI ---------- */
.kpi { background: var(--pb-surface); border: 1px solid var(--pb-line); border-radius: var(--pb-radius); padding: 16px 18px; box-shadow: var(--pb-shadow); }
.kpi .k { font-size: 13px; color: var(--pb-muted); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.kpi .v { font-size: 30px; font-weight: 800; letter-spacing: -.5px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .s { font-size: 12.5px; color: var(--pb-muted); }

/* ---------- modal / drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(10, 14, 24, .5); z-index: 80; display: flex; align-items: flex-start; justify-content: center; padding: 5vh 14px; overflow-y: auto; animation: fadein .15s; }
.modal { background: var(--pb-surface); border-radius: 14px; width: 100%; max-width: 640px; box-shadow: var(--pb-shadow-lg); animation: rise .18s ease-out; }
.modal.wide { max-width: 900px; }
.modal-h { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--pb-line); }
.modal-h h2 { margin: 0; font-size: 18px; }
.modal-b { padding: 20px; }
.modal-f { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--pb-line); background: var(--pb-surface-2); border-radius: 0 0 14px 14px; flex-wrap: wrap; }
.drawer-wrap { position: fixed; inset: 0; z-index: 70; background: rgba(10, 14, 24, .35); animation: fadein .15s; }
.drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(620px, 100%); background: var(--pb-surface); box-shadow: var(--pb-shadow-lg); display: flex; flex-direction: column; animation: slidein .2s ease-out; }
.drawer-h { padding: 16px 20px; border-bottom: 1px solid var(--pb-line); display: flex; gap: 12px; align-items: flex-start; }
.drawer-b { padding: 18px 20px 40px; overflow-y: auto; flex: 1; }
@keyframes fadein { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } }

/* ---------- misc ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--pb-line); margin-bottom: 18px; overflow-x: auto; }
.tabs button { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; font: inherit; font-weight: 600; color: var(--pb-muted); padding: 10px 12px; cursor: pointer; white-space: nowrap; }
.tabs button.on { color: var(--pb-text); border-bottom-color: var(--pb-primary); }
.chip { appearance: none; border: 1px solid var(--pb-line); background: var(--pb-surface); color: var(--pb-text); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.chip.on { background: var(--pb-dark); color: #fff; border-color: var(--pb-dark); }
.seg { display: inline-flex; border: 1px solid var(--pb-line); border-radius: 9px; overflow: hidden; background: var(--pb-surface); }
.seg button { appearance: none; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 600; padding: 7px 12px; cursor: pointer; color: var(--pb-muted); }
.seg button + button { border-left: 1px solid var(--pb-line); }
.seg button.on { background: var(--pb-dark); color: #fff; }
.empty { text-align: center; padding: 36px 16px; color: var(--pb-muted); }
.empty .ic { width: 40px; height: 40px; opacity: .5; margin-bottom: 8px; }
.spinner { width: 20px; height: 20px; border: 2.5px solid var(--pb-line); border-top-color: var(--pb-primary); border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-block { display: flex; justify-content: center; padding: 48px; }
.dl { display: grid; grid-template-columns: 140px 1fr; gap: 8px 14px; font-size: 14px; margin: 0; }
.dl dt { color: var(--pb-muted); } .dl dd { margin: 0; font-weight: 500; white-space: pre-line; word-break: break-word; }
@media (max-width: 520px) { .dl { grid-template-columns: 1fr; gap: 2px; } .dl dd { margin-bottom: 8px; } }
.divider { height: 1px; background: var(--pb-line); margin: 18px 0; border: 0; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 13px; flex: none; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 14px 22px; font-size: 13.5px; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--pb-line); box-shadow: 0 0 0 3px var(--pb-surface); }
.timeline li::after { content: ""; position: absolute; left: 8.5px; top: 16px; bottom: 0; width: 1px; background: var(--pb-line); }
.timeline li:last-child::after { display: none; }
.toasts { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--pb-dark); color: #fff; padding: 11px 16px; border-radius: 10px; box-shadow: var(--pb-shadow-lg); font-size: 14px; font-weight: 500; animation: rise .2s; pointer-events: auto; max-width: 90vw; }
.toast.error { background: var(--pb-danger); } .toast.success { background: var(--pb-success); }
.ic { flex: none; }
.pill-list { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { font-size: 12.5px; background: var(--pb-surface-2); border: 1px solid var(--pb-line); padding: 2px 9px; border-radius: 999px; }

/* ---------- slot picker ---------- */
.sp { display: grid; grid-template-columns: 290px 1fr; gap: 18px; }
@media (max-width: 700px) { .sp { grid-template-columns: 1fr; } }
.sp-cal { border: 1px solid var(--pb-line); border-radius: 12px; padding: 10px; }
.sp-cal .hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-weight: 700; }
.sp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.sp-grid .dow { font-size: 11px; color: var(--pb-muted); font-weight: 700; padding: 4px 0; }
.sp-day { appearance: none; border: 0; background: none; font: inherit; font-weight: 600; aspect-ratio: 1; border-radius: 8px; cursor: pointer; color: var(--pb-text); position: relative; font-size: 13.5px; }
.sp-day:disabled { opacity: .35; cursor: default; font-weight: 400; }
.sp-day.av::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--pb-primary); }
.sp-day.on { background: var(--pb-primary); color: #fff; } .sp-day.on::after { background: #fff; }
.sp-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 7px; }
.sp-slot { appearance: none; font: inherit; font-weight: 600; font-size: 14px; padding: 9px 4px; border-radius: 9px; border: 1px solid var(--pb-line); background: var(--pb-surface); color: var(--pb-text); cursor: pointer; }
.sp-slot:hover { border-color: var(--pb-primary); }
.sp-slot.on { background: var(--pb-primary); border-color: var(--pb-primary); color: #fff; }
.sp-slot small { display: block; font-weight: 500; font-size: 11px; opacity: .75; }

/* ---------- calendar (admin) ---------- */
.calv { display: grid; border: 1px solid var(--pb-line); border-radius: 12px; overflow: hidden; background: var(--pb-surface); }
.calv-head { display: grid; border-bottom: 1px solid var(--pb-line); background: var(--pb-surface-2); }
.calv-head div { padding: 8px 6px; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--pb-muted); border-left: 1px solid var(--pb-line); }
.calv-head div:first-child { border-left: 0; }
.calv-head .today { color: var(--pb-primary); }
.calv-head .closed { opacity: .55; }
.calv-body { display: grid; position: relative; }
.calv-times { border-right: 1px solid var(--pb-line); }
.calv-times div { font-size: 11px; color: var(--pb-muted); text-align: right; padding: 0 6px; transform: translateY(-7px); }
.calv-col { position: relative; border-left: 1px solid var(--pb-line); }
.calv-col:first-of-type { border-left: 0; }
.calv-col .hr { border-top: 1px solid var(--pb-line); }
.calv-col .hr.half { border-top-style: dashed; opacity: .5; }
.calv-col.closed { background: repeating-linear-gradient(135deg, transparent 0 8px, color-mix(in srgb, var(--pb-line) 55%, transparent) 8px 9px); }
.calv-slot { position: absolute; left: 0; right: 0; cursor: copy; }
.calv-slot:hover { background: color-mix(in srgb, var(--pb-primary) 7%, transparent); }
.ev { position: absolute; border-radius: 7px; padding: 4px 6px; font-size: 12px; line-height: 1.25; overflow: hidden; cursor: pointer; border-left: 4px solid var(--c, var(--pb-primary)); background: color-mix(in srgb, var(--c, var(--pb-primary)) 13%, var(--pb-surface)); color: var(--pb-text); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); transition: box-shadow .15s; }
.ev:hover { box-shadow: 0 4px 12px -2px rgba(0, 0, 0, .25); z-index: 3; }
.ev strong { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev .l2 { color: var(--pb-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev.st-cancelled, .ev.st-no_show { opacity: .5; text-decoration: line-through; }
.ev.st-pending { border-left-style: dashed; }
.ev.conflict { outline: 2px solid var(--pb-danger); outline-offset: -1px; }
.ev.conflict strong { color: var(--pb-danger); }
.blk { position: absolute; left: 2px; right: 2px; border-radius: 6px; background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--pb-muted) 14%, transparent) 0 6px, transparent 6px 12px); border: 1px dashed color-mix(in srgb, var(--pb-muted) 50%, transparent); font-size: 11px; color: var(--pb-muted); padding: 3px 5px; overflow: hidden; pointer-events: none; }
.nowline { position: absolute; left: 0; right: 0; height: 2px; background: var(--pb-primary); z-index: 4; pointer-events: none; }
.nowline::before { content: ""; position: absolute; left: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--pb-primary); }
.month { display: grid; grid-template-columns: repeat(7, 1fr); border: 1px solid var(--pb-line); border-radius: 12px; overflow: hidden; background: var(--pb-surface); }
.month .mh { font-size: 12px; font-weight: 700; color: var(--pb-muted); padding: 8px; background: var(--pb-surface-2); border-bottom: 1px solid var(--pb-line); text-align: center; }
.month .md { min-height: 110px; border-top: 1px solid var(--pb-line); border-left: 1px solid var(--pb-line); padding: 6px; font-size: 12px; cursor: pointer; }
.month .md:nth-child(7n+1) { border-left: 0; }
.month .md.out { background: var(--pb-surface-2); color: var(--pb-muted); }
.month .md.today .n { background: var(--pb-primary); color: #fff; border-radius: 999px; padding: 0 7px; }
.month .md .n { font-weight: 700; display: inline-block; margin-bottom: 4px; }
.month .mi { display: flex; gap: 5px; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 1px 0; }
.bars { display: flex; gap: 8px; align-items: flex-end; height: 120px; }
.bars .b { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bars .b i { display: block; width: 100%; max-width: 38px; background: var(--pb-dark); border-radius: 6px 6px 3px 3px; min-height: 3px; }
.bars .b.today i { background: var(--pb-primary); }
.bars .b span { font-size: 11.5px; color: var(--pb-muted); white-space: nowrap; }
.bars .b b { font-size: 12px; }
.code { background: #0F172A; color: #E2E8F0; border-radius: 10px; padding: 12px 14px; font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; white-space: pre-wrap; word-break: break-all; position: relative; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(1200px 600px at 10% -10%, color-mix(in srgb, var(--pb-primary) 18%, transparent), transparent), var(--pb-dark); }
.login { width: 100%; max-width: 400px; }
.login .card { padding: 26px; }
