/* SK Kitchen Staff — mobile-first, premium, calm. */
@font-face {
  font-family: 'Manrope';
  src: url('fonts/Manrope-400.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('fonts/Manrope-600.ttf') format('truetype');
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('fonts/Manrope-700.ttf') format('truetype');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/PlayfairDisplay.ttf') format('truetype');
  font-weight: 400 900; font-display: swap;
}
@font-face {
  font-family: 'Noto Sans Kannada';
  src: url('fonts/NotoSansKannada-Regular.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Noto Sans Kannada';
  src: url('fonts/NotoSansKannada-Bold.ttf') format('truetype');
  font-weight: 700; font-display: swap;
}

:root {
  --ink: #1C1815;
  --ink-soft: #2A241F;
  --ivory: #F7F1E3;
  --sand: #ECE1C9;
  --white: #FFFFFF;
  --royal: #2B45A8;
  --peacock: #12A06F;
  --peacock-deep: #0C7A55;
  --teal: #13808A;
  --teal-deep: #0E6870;
  --gold: #D6B86A;
  --gold-light: #EBD69A;
  --gold-deep: #9A7428;
  --gold-text: #7A5A1A;
  --red: #B3261E;
  --muted: #4A4038;
  --mark-gradient: linear-gradient(135deg, #2B45A8, #13808A 55%, #12A06F);
  --card-shadow: 0 1px 2px rgba(28,24,21,.06), 0 4px 16px rgba(28,24,21,.05);
  --kannada: 'Noto Sans Kannada', 'Manrope', system-ui, sans-serif;
  --ui: 'Manrope', system-ui, sans-serif;
  --serif: 'Playfair Display', 'Manrope', serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 15px;
  line-height: 1.5;
  overflow-x: hidden;
}
:lang(kn) body { font-family: var(--kannada); line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--royal); text-decoration: none; }
button { font: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--royal); color: #fff;
  padding: 8px 14px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip:focus { left: 0; }

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

/* Header */
.topbar {
  position: sticky; top: 0; z-index: 50;
  height: 56px; background: var(--ink); color: var(--ivory);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px;
  border-bottom: 1px solid rgba(214, 184, 106, 0.4);
}
.brand { display: inline-flex; align-items: center; height: 34px; }
.brand img { height: 40px; width: auto; display: block; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.lang-form { display: inline-flex; }
.lang-toggle {
  background: transparent; border: 1px solid rgba(214,184,106,.5); color: var(--gold-light);
  border-radius: 8px; padding: 5px 10px; cursor: pointer; min-height: 34px; font-size: 13px;
}
.avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: var(--mark-gradient); color: #fff; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
}
.avatar-off { background: #8a8078; }

/* Shell */
.shell { display: flex; min-height: calc(100vh - 56px); }
.content {
  flex: 1; min-width: 0; width: 100%;
  padding: 14px 12px calc(64px + env(safe-area-inset-bottom) + 16px);
  max-width: 1100px; margin: 0 auto;
}
.sidebar { display: none; }

/* Tab bar (mobile) */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  height: 64px; padding-bottom: env(safe-area-inset-bottom);
  background: var(--white); border-top: 1px solid var(--sand);
  display: flex;
}
.tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: var(--muted); font-size: 11px; min-width: 0;
}
.tab svg { width: 22px; height: 22px; }
.tab-icon { display: inline-flex; }
.tab.active { color: var(--royal); }
.tab.active .tab-label { font-weight: 700; }

/* Desktop sidebar */
@media (min-width: 901px) {
  .content { padding: 20px 24px 40px; }
  .tabbar { display: none; }
  .sidebar {
    display: flex; flex-direction: column; justify-content: space-between;
    width: 220px; flex: none; background: var(--ink); color: var(--ivory);
    min-height: calc(100vh - 56px); position: sticky; top: 56px;
  }
  .sidenav { display: flex; flex-direction: column; padding: 12px 8px; }
  .sidenav-link {
    display: flex; align-items: center; gap: 12px; color: var(--ivory);
    padding: 11px 14px; border-radius: 10px; border-left: 3px solid transparent; font-size: 15px;
  }
  .sidenav-link:hover { background: rgba(255,255,255,.06); }
  .sidenav-link.active { border-left-color: var(--gold); background: rgba(255,255,255,.08); }
  .sidenav-link.active .sidenav-icon { color: var(--gold); }
  .sidenav-icon { display: inline-flex; }
  .sidenav-icon svg { width: 20px; height: 20px; }
  .sidebar .lang-form { padding: 12px; }
}

/* Page head + titles */
.page-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  flex-wrap: wrap; margin-bottom: 12px;
}
.page-title { font-size: 24px; color: var(--ink); line-height: 1.2; }
.head-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.section-title { font-size: 20px; color: var(--ink); margin: 8px 0 14px; }
.section-title span {
  display: inline-block; padding-bottom: 4px;
  border-bottom: 2px solid var(--gold-deep);
}

/* Cards */
.card {
  background: var(--white); border: 1px solid var(--sand); border-radius: 14px;
  box-shadow: var(--card-shadow); padding: 14px; margin-bottom: 14px;
}
.card-title { font-size: 18px; margin-bottom: 10px; }
.list-card { padding: 6px 12px; }
.form-card { padding: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 10px 16px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; font-weight: 600; font-size: 15px; text-align: center;
}
.btn-primary { background: var(--mark-gradient); color: #fff; }
.btn-secondary { background: var(--white); color: var(--royal); border-color: var(--sand); }
.btn-danger { background: var(--white); color: var(--red); border-color: #e7c7c4; }
.btn-ghost { background: transparent; color: var(--royal); }
.btn-block { width: 100%; }
.btn-text { background: none; border: none; color: inherit; cursor: pointer; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Chips */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 12px; -webkit-overflow-scrolling: touch; }
.chip {
  flex: none; display: inline-flex; flex-direction: column; gap: 2px;
  background: var(--white); border: 1px solid var(--sand); border-radius: 12px;
  padding: 8px 12px; color: var(--ink); font-size: 13px; min-height: 44px; justify-content: center;
}
.chip.active { border-color: var(--royal); color: var(--royal); box-shadow: inset 0 0 0 1px var(--royal); }
.chip-badge { color: var(--muted); font-size: 11px; }
.chip.active .chip-badge { color: var(--royal); }

/* Date nav */
.date-nav { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.date-arrow {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--sand); border-radius: 10px; color: var(--ink); font-size: 22px;
}
.date-value { font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }

/* Summary KPI strip */
.summary-strip {
  display: flex; gap: 8px; margin-bottom: 14px; overflow-x: auto; padding-bottom: 4px;
}
.kpi {
  flex: 1; min-width: 62px; background: var(--white); border: 1px solid var(--sand);
  border-radius: 12px; padding: 10px 8px; text-align: center; box-shadow: var(--card-shadow);
}
.kpi-num { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi-label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 2px; }
.kpi-present .kpi-num { color: var(--peacock-deep); }
.kpi-absent .kpi-num { color: var(--red); }
.kpi-late .kpi-num { color: var(--gold-deep); }
.kpi-half .kpi-num { color: var(--royal); }
.kpi-ot .kpi-num { color: var(--teal-deep); }

/* Staff rows + segmented control */
.staff-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.staff-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--white); border: 1px solid var(--sand); border-radius: 14px;
  padding: 10px; box-shadow: var(--card-shadow);
}
.staff-main { flex: 1; min-width: 120px; }
.staff-name { font-weight: 600; overflow-wrap: anywhere; }
.staff-kn { display: block; color: var(--muted); font-size: 13px; }
.staff-code { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }

.seg { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; width: 100%; }
.seg input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.seg label {
  min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 12px; border-radius: 10px; border: 1px solid var(--sand); background: var(--white);
  color: var(--ink); cursor: pointer; font-weight: 600; font-size: 14px; user-select: none;
}
.seg input:checked + label { color: #fff; border-color: transparent; }
.seg input[value="P"]:checked + label { background: var(--peacock-deep); }
.seg input[value="A"]:checked + label { background: var(--red); }
.seg input[value="L"]:checked + label { background: var(--gold-deep); }
.seg input[value="H"]:checked + label { background: var(--royal); }
.late-min { display: none; flex-basis: 100%; align-items: center; gap: 8px; }
.seg input.radio-late:checked ~ .late-min { display: flex; }
.late-min-label { font-size: 12px; color: var(--muted); }
.late-min input { width: 72px; }

.row-side { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; max-width: 100%; }
.ot-pill {
  display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--sand);
  border-radius: 999px; padding: 3px 4px 3px 10px; background: var(--white);
}
.ot-label { font-size: 12px; font-weight: 700; color: var(--teal-deep); }
.ot-step {
  width: 32px; height: 32px; border: none; background: var(--ivory); border-radius: 50%;
  cursor: pointer; font-size: 16px; line-height: 1;
}
.ot-input { width: 38px; border: none; text-align: center; font-weight: 700; font-size: 14px; background: transparent; font-variant-numeric: tabular-nums; }
.ot-unit { font-size: 12px; color: var(--muted); padding-right: 6px; }
.ot-flag {
  display: none; align-items: center; min-height: 22px; padding: 2px 8px;
  border-radius: 999px; background: #e6e9f6; color: var(--royal);
  font-size: 11px; font-weight: 700; white-space: nowrap;
}
.ot-flag.visible { display: inline-flex; }
.ot-details-toggle {
  border: 1px solid var(--sand); background: var(--white); color: var(--royal);
  border-radius: 8px; min-height: 32px; padding: 4px 8px; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.ot-details {
  flex-basis: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--sand);
}
.ot-details[hidden] { display: none; }
@media (max-width: 480px) { .ot-details { grid-template-columns: 1fr; } }

/* Save bar */
.savebar {
  position: fixed; left: 0; right: 0; bottom: 64px; z-index: 55;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.95); border-top: 1px solid var(--sand);
}
.save-btn { width: 100%; min-height: 48px; }

/* OT pool */
.pool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pool-absentees { border: 1px solid var(--sand); border-radius: 10px; padding: 10px; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.pool-absentees legend { font-size: 13px; font-weight: 700; padding: 0 4px; }
.checkbox { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; min-height: 32px; }
.pool-computed { font-size: 14px; margin-bottom: 10px; color: var(--muted); }
.pool-computed strong { color: var(--peacock-deep); font-size: 18px; }
.pool-entry { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--sand); font-size: 13px; }
.pool-entry:last-child { border-bottom: none; }
.pool-entry-main { overflow-wrap: anywhere; }
.pool-entry-side { white-space: nowrap; }
.extra-picker { display: flex; gap: 8px; margin: 12px 0 88px; }
.extra-picker .input { flex: 1; }

/* Tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-card { padding: 0; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { padding: 8px 10px; text-align: left; white-space: nowrap; }
thead th { background: var(--ivory); font-weight: 700; position: sticky; top: 0; }
tbody td { border-top: 1px solid var(--sand); }
tfoot td { border-top: 2px solid var(--sand); font-weight: 600; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }

.sheet-table th, .sheet-table td { padding: 6px; font-size: 13px; text-align: center; }
.sheet-table .sticky-name {
  position: sticky; left: 0; z-index: 1; background: var(--white); text-align: left; min-width: 150px; max-width: 180px;
}
.sheet-table thead .sticky-name { background: var(--ivory); z-index: 2; }
.cell-name { font-weight: 600; white-space: normal; overflow-wrap: anywhere; }
.cell-code { color: var(--muted); font-size: 11px; }
.cell { min-width: 30px; }
.cell.st-P { background: #e4f4ee; color: var(--peacock-deep); }
.cell.st-A { background: #fbe6e4; color: var(--red); }
.cell.st-L { background: #f7eecf; color: var(--gold-deep); }
.cell.st-H { background: #e6e9f6; color: var(--royal); }
.cell.st-W { background: #eee; color: var(--muted); }

/* Tabs */
.tabs { display: flex; gap: 6px; margin-bottom: 12px; overflow-x: auto; }
.tab-link {
  flex: none; padding: 10px 14px; min-height: 44px; border-radius: 10px; border: 1px solid var(--sand);
  background: var(--white); color: var(--muted); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center;
}
.tab-link.active { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-grid .span2 { grid-column: span 2; }
@media (max-width: 480px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span2 { grid-column: span 1; }
  .pool-grid { grid-template-columns: 1fr; }
}
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.input {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--sand);
  border-radius: 10px; font: inherit; font-size: 15px; background: var(--white); color: var(--ink);
}
.input.big { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.input.file { padding: 8px; }
.hint { color: var(--muted); font-size: 12px; }
.cat-chips { border: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cat-chips legend { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; width: 100%; }
.chip-radio input { position: absolute; opacity: 0; }
.chip-radio span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px;
  border: 1px solid var(--sand); border-radius: 999px; background: var(--white); cursor: pointer; font-size: 14px;
}
.chip-radio input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* Payroll */
.payroll-table th, .payroll-table td { font-size: 13px; }
.net-cell { font-weight: 700; }
.net-note { display: block; font-size: 11px; color: var(--red); font-weight: 400; }
.ded-details { display: block; font-size: 11px; color: var(--muted); white-space: normal; font-weight: 400; max-width: 220px; }
.row-negative td { color: var(--red); }
.pay-cards { display: none; }
@media (max-width: 760px) {
  .payroll-table { display: none; }
  .pay-cards { display: flex; flex-direction: column; gap: 10px; }
}
.pay-card { border: 1px solid var(--sand); border-radius: 12px; padding: 12px; }
.pay-card-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.pay-net { font-family: var(--serif); font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.mini-grid > div { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.mini-grid span { color: var(--muted); }
.mini-grid b { font-variant-numeric: tabular-nums; }
.recon-table td { padding: 6px 10px; }
.recon-total td { font-weight: 700; border-top: 2px solid var(--sand); }

/* Staff items */
.staff-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--sand); }
.staff-item:last-child { border-bottom: none; }
.staff-actions { margin-left: auto; }
.role-tag { background: var(--ivory); border: 1px solid var(--sand); border-radius: 999px; padding: 2px 8px; font-size: 11px; font-weight: 700; color: var(--gold-text); }
.search-form { display: inline-flex; }
.search-input { min-width: 150px; }
.inline-filter { display: inline-flex; }
.inline-filter .input { min-width: 120px; }

/* More */
.more-link {
  display: flex; justify-content: space-between; align-items: center; min-height: 48px;
  padding: 10px 4px; border-bottom: 1px solid var(--sand); color: var(--ink); font-weight: 600;
}
.more-link:last-child { border-bottom: none; }
.more-identity { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--sand); margin-bottom: 4px; }
.more-lang { display: block; }

/* Flash */
.flash { border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; font-size: 14px; }
.flash-error { background: #fbe6e4; color: var(--red); border: 1px solid #e7c7c4; }
.flash-ok { background: #e4f4ee; color: var(--peacock-deep); border: 1px solid #c3e5d8; }

/* Login */
.login-body { background: var(--ink); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.login-body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 22%, rgba(18,160,111,.25), transparent 55%);
}
.login-wrap { width: 100%; max-width: 380px; display: flex; flex-direction: column; align-items: center; }
.login-logo { max-width: 220px; width: 100%; margin-bottom: 20px; }
.login-card { background: var(--ivory); border-radius: 16px; padding: 22px; width: 100%; box-shadow: var(--card-shadow); }
.login-title { font-size: 24px; margin-bottom: 4px; }
.login-sub { color: var(--muted); font-size: 13px; margin: 0 0 16px; }
.login-card .field { margin-bottom: 12px; }
.login-card .btn { margin-top: 4px; }
.login-forgot { color: var(--gold-light); margin-top: 16px; font-size: 14px; text-align: center; }
.login-lang { margin-top: 14px; display: flex; gap: 8px; }
.login-lang a { color: var(--gold-light); font-size: 14px; }
.login-footer { color: var(--gold); font-size: 12px; margin-top: 18px; }

/* Error */
.error-body { background: var(--ivory); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.error-card { background: var(--white); border: 1px solid var(--sand); border-radius: 14px; padding: 28px; text-align: center; max-width: 360px; box-shadow: var(--card-shadow); }
.error-card h1 { font-size: 40px; color: var(--red); }
.error-card .btn { margin-top: 12px; }

.site-row { padding: 8px 0; border-bottom: 1px solid var(--sand); }
.site-row:last-child { border-bottom: none; }

/* Utilities */
.mt0 { margin-top: 0; }
.w100 { width: 100%; }

@media (max-width: 900px) {
  body { padding-bottom: 64px; }
}

/* Payroll KPIs */
.pay-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.pay-kpis .kpi { text-align: left; padding: 12px 14px; min-width: 0; }
.pay-kpis .kpi-num { font-size: 24px; overflow-wrap: anywhere; }
.pay-kpis .kpi-net { background: var(--ink); border-color: var(--ink); }
.pay-kpis .kpi-net .kpi-num { color: var(--gold); }
.pay-kpis .kpi-net .kpi-label { color: var(--sand); }
@media (max-width: 900px) { .pay-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pay-kpis .kpi-num { font-size: 20px; } }
.avatar-none { background: var(--sand); color: var(--muted); }

/* Desktop density: one line per person, save bar clear of the sidebar */
@media (min-width: 901px) {
  .staff-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); }
  .staff-row { flex-wrap: nowrap; }
  .staff-row .seg { flex: none; width: auto; }
  .savebar { left: 220px; padding-left: 24px; padding-right: 24px; }
  .save-btn { max-width: 560px; margin: 0 auto; display: flex; justify-content: center; align-items: center; }
  .payroll-table th, .payroll-table td { padding-left: 8px; padding-right: 8px; white-space: nowrap; }
}
/* Expense list on phones: date, category, amount only */
@media (max-width: 600px) {
  .exp-table th:nth-child(2), .exp-table td:nth-child(2),
  .exp-table th:nth-child(4), .exp-table td:nth-child(4),
  .exp-table th:nth-child(5), .exp-table td:nth-child(5) { display: none; }
  .exp-table tfoot { display: none; }
}

.list-total { display: none; justify-content: space-between; padding: 12px 10px 4px; border-top: 1px solid var(--sand); font-variant-numeric: tabular-nums; }
.list-total strong { font-family: var(--serif); font-size: 20px; }
@media (max-width: 600px) { .list-total { display: flex; } }
.reimburse-line {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--white); border: 1px solid var(--sand); border-radius: 12px;
  padding: 10px 12px; margin-bottom: 14px; font-size: 14px; font-variant-numeric: tabular-nums;
}
.reimburse-line strong { color: var(--teal-deep); font-family: var(--serif); font-size: 18px; }
.add-jump { width: 100%; margin-bottom: 12px; display: flex; justify-content: center; align-items: center; }
@media (min-width: 901px) { .add-jump { width: auto; display: inline-flex; } }

/* Top bar help icon + sidebar footer */
.topbar-help {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold-light); border: 1px solid rgba(214,184,106,.5);
}
.topbar-help svg { width: 20px; height: 20px; }
.sidebar-foot { padding: 12px; border-top: 1px solid rgba(214,184,106,.3); }
.sidebar-foot .help-link { padding-left: 14px; }

/* Help page */
.help-search-card { padding: 14px; }
.help-noresults { color: var(--red); margin: 10px 0 0; }
.help-toc { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.help-toc-title { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 4px 2px; }
.help-toc a { padding: 6px 2px; color: var(--royal); font-weight: 600; }
.help-list { display: flex; flex-direction: column; gap: 12px; }
.help-section { padding: 16px; }
.help-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.help-title { font-size: 19px; }
.help-body p { margin: 0 0 8px; }
.help-body p:last-child { margin-bottom: 0; }
.help-section mark { background: var(--gold-light); color: var(--ink); border-radius: 3px; padding: 0 1px; }

/* Reminder banner */
.flash-reminder {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #f7eecf; color: var(--gold-deep); border: 1px solid #e6d7a8;
}
.banner-close { background: none; border: none; color: var(--gold-deep); font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px; }

/* Login remember checkbox */
.remember { margin: 2px 0 12px; }

/* Install + reminder cards */
.install-card .btn, .reminder-card .btn { margin-top: 8px; }
.reminder-actions { display: flex; gap: 8px; flex-wrap: wrap; }
