/* ==========================================================================
   Module pages — leads, workouts, staff, inventory, messages, expenses, branches
   Shares tokens with admin.css
   ========================================================================== */

/* Shared bits */
.tag {
  display: inline-flex; align-items: center;
  padding: 2px 9px; border-radius: 99px;
  background: var(--surface-3); color: var(--text-2);
  font-size: 11px; font-weight: 600; white-space: nowrap;
}
.tag--brand { background: var(--brand-soft); color: var(--brand); }
.icon-btn--sm { width: 30px; height: 30px; }
.btn.is-active { background: var(--text); border-color: var(--text); color: var(--surface); }

/* --- Leads kanban ----------------------------------------------------- */
.kanban { display: grid; grid-template-columns: repeat(5, minmax(200px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 4px; }
.kanban__col { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.kanban__head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px; }
.kanban__head h2 { font-size: 13px; font-weight: 600; }
.kanban__count { font-size: 11px; font-weight: 700; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 99px; padding: 1px 8px; }
.kanban__cards { display: flex; flex-direction: column; gap: 10px; }
.kanban__add { display: flex; align-items: center; justify-content: center; gap: 6px; height: 34px; border: 1px dashed var(--surface-4); border-radius: var(--radius-sm); background: transparent; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; }
.kanban__add:hover { color: var(--brand); border-color: var(--brand); }

.lead { padding: 12px; display: flex; flex-direction: column; gap: 10px; border-radius: 14px; }
.lead .person strong { font-size: 13px; }
.lead .person small { font-size: 11px; }
.lead__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.lead__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lead__foot small { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; }
.lead__actions { display: flex; gap: 4px; }

.sources { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.sources__row { display: grid; grid-template-columns: 90px 1fr 36px; align-items: center; gap: 12px; color: var(--text-2); }
.sources__row strong { text-align: right; color: var(--text); font-family: var(--display); }

/* --- Workout & diet programs ------------------------------------------ */
.program, .branch { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.program__top, .branch__top { display: flex; align-items: center; justify-content: space-between; }
.program__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.program__icon--diet { background: var(--green-soft); color: var(--green); }
.program h3, .branch h3 { font-size: 16px; margin-top: 6px; }
.program p, .branch p { margin: 0; font-size: 12px; }
.program__foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 0 4px; margin-top: auto; border-top: 1px solid var(--border); font-size: 12px; }
.program__foot strong { font-family: var(--display); font-size: 15px; }

/* --- Staff permissions ------------------------------------------------- */
.perms td:not(:first-child), .perms th:not(:first-child) { text-align: center; }
.perm { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--muted); }
.perm--yes { background: var(--green-soft); color: var(--green); }

/* --- WhatsApp & reminders --------------------------------------------- */
.auto__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--green-soft); color: var(--green); flex-shrink: 0; }

.wa-preview { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 14px; background: #e7ddd3; }
.wa-preview small { color: #6b5e52; }
.wa-bubble { position: relative; align-self: flex-start; max-width: 90%; padding: 8px 10px 18px; border-radius: 0 10px 10px 10px; background: #fff; color: #111; font-size: 13px; line-height: 1.4; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.wa-bubble span { position: absolute; right: 8px; bottom: 3px; font-size: 10px; color: #53bdeb; }

/* --- Expenses ---------------------------------------------------------- */
.pnl { display: flex; flex-direction: column; gap: 14px; }
.pnl__row { display: grid; grid-template-columns: 70px 1fr 100px; align-items: center; gap: 12px; color: var(--text-2); }
.pnl__row strong { text-align: right; font-family: var(--display); color: var(--text); }
.pnl__bar { height: 12px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.pnl__bar span { display: block; height: 100%; border-radius: inherit; }
.expense-legend { margin-top: 14px; }
.expense-legend small { width: 34px; }

/* --- Branches ---------------------------------------------------------- */
.branch--current { border-color: rgba(var(--brand-rgb), .45); box-shadow: 0 8px 30px rgba(var(--brand-rgb), .12); }
.branch__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 0 6px; margin-top: auto; border-top: 1px solid var(--border); }
.branch__stats small { display: block; color: var(--muted); font-size: 11px; }
.branch__stats strong { display: block; font-family: var(--display); font-size: 17px; }
.rev-bar { position: relative; display: flex; align-items: center; height: 26px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.rev-bar span { position: absolute; inset: 0 auto 0 0; background: rgba(var(--brand-rgb), .18); border-radius: inherit; }
.rev-bar strong { position: relative; padding-left: 10px; font-family: var(--display); font-size: 13px; }

/* --- Staff ------------------------------------------------------------- */
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--muted); font-weight: 600; font-size: 12px; }
.back-link .icon { transform: scaleX(-1); }
.back-link:hover { color: var(--brand); }
.form-card { max-width: 820px; padding: 24px; }
.form-card .input, .form-card .select { width: 100%; height: 42px; }
.row-actions { display: flex; justify-content: flex-end; gap: 6px; }
.row-actions form { margin: 0; }
.person > span { min-width: 0; }

.role-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.role-pick__option { position: relative; cursor: pointer; }
.role-pick__option input { position: absolute; opacity: 0; }
.role-pick__card {
  position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 14px 40px 14px 16px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--surface);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.role-pick__card strong { font-family: var(--display); font-size: 14px; }
.role-pick__card small { color: var(--text-2); font-size: 12px; line-height: 1.45; }
.role-pick__tick {
  position: absolute; top: 12px; right: 12px; padding: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand); color: #fff; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s;
}
.role-pick__option:hover .role-pick__card { border-color: var(--surface-4); }
.role-pick__option input:checked + .role-pick__card { border-color: var(--brand); background: rgba(var(--brand-rgb), .04); box-shadow: 0 0 0 3px var(--brand-soft); }
.role-pick__option input:checked + .role-pick__card .role-pick__tick { opacity: 1; transform: none; }
.role-pick__option input:focus-visible + .role-pick__card { outline: 2px solid var(--brand); outline-offset: 2px; }

.danger-zone { max-width: 820px; margin-top: 18px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-color: rgba(220, 38, 38, .25); }
.danger-zone p { margin: 4px 0 0; }
.btn--danger { background: var(--red); border-color: var(--red); color: #fff; }
.btn--danger:hover { background: #b91c1c; border-color: #b91c1c; }

.empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 48px 20px; text-align: center; color: var(--text-2); }
.empty__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); }

/* --- Members ----------------------------------------------------------- */
.member-form { display: flex; flex-direction: column; gap: 16px; max-width: 820px; }
.member-form .form-card { max-width: none; }
.form-card .form-card__title { margin-bottom: 18px; font-size: 15px; }
.form-card .textarea { width: 100%; }
.form-card__actions { display: flex; justify-content: flex-end; gap: 8px; }
.search--inline { width: 260px; height: 36px; }
.search--inline input { width: 100%; }
.pagination span.btn[aria-disabled] { opacity: .45; cursor: default; }
.health-note { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 14px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--amber-soft); color: var(--amber); font-weight: 500; }
.health-note .icon { margin-top: 2px; }
.coming-soon { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 16px 20px; color: var(--muted); border-style: dashed; }
.profile__actions form { margin: 0; }

/* --- Membership plans --------------------------------------------------- */
.plan-tabs { margin-bottom: 20px; }
.plan-group + .plan-group { margin-top: 28px; }
.plan-group .grid--cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.plan-group__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.plan-group__head h2 { font-size: 16px; }
.plan__actions { display: flex; gap: 8px; align-items: center; }
.plan__actions form { margin: 0; }
.plan--archived { opacity: .7; }
.plan--archived .plan__price { color: var(--text-2); }
.input-pair { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 8px; }
.input-suffix { display: flex; }
.input-suffix .input { border-top-right-radius: 0; border-bottom-right-radius: 0; min-width: 0; }
.input-suffix span {
  display: grid; place-items: center; padding: 0 12px;
  border: 1px solid var(--border); border-left: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--surface-2); color: var(--text-2); font-weight: 600;
}
.field__hint { color: var(--muted); font-size: 12px; }
.form-card .check { align-self: start; }

/* --- Memberships -------------------------------------------------------- */
.sale { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.sale__main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sale__group { margin: 4px 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sale__group:not(:first-of-type) { margin-top: 18px; }
.plan-pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.plan-pick-grid__price { font-family: var(--display); font-weight: 700; font-size: 17px; }
.plan-pick-grid__price small { font-family: "Inter", sans-serif; font-weight: 500; font-size: 12px; color: var(--muted); }
.sale__side { position: sticky; top: 84px; }
.sale__summary { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.sale__summary h2 { font-size: 15px; }
.sale__summary dl { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.sale__summary dl div { display: flex; justify-content: space-between; gap: 12px; color: var(--text-2); }
.sale__summary dl div[hidden] { display: none; }
.sale__summary dd { margin: 0; text-align: right; color: var(--text); font-weight: 600; }
.sale__total { padding-top: 10px; border-top: 1px solid var(--border); }
.sale__total dt { color: var(--text); font-weight: 700; }
.sale__total dd { font-family: var(--display); font-size: 22px; }
.sale__pay { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 12px; background: var(--surface-2); }
.sale__pay h3 { font-size: 13px; }
.sale__pay .input { width: 100%; height: 40px; }
.pay-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-pills label { position: relative; cursor: pointer; }
.pay-pills input { position: absolute; opacity: 0; }
.pay-pills span { display: inline-block; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface); font-weight: 600; font-size: 12px; color: var(--text-2); }
.pay-pills input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.pay-pills input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.member-memberships { display: flex; flex-direction: column; gap: 18px; margin: 20px 0 18px; }
.membership-current { display: flex; flex-direction: column; gap: 16px; }
.membership-current__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.membership-current__plan { margin-right: 8px; font-family: var(--display); font-size: 20px; }
.membership-current__top .muted { margin-top: 4px; }
.membership-current__days { text-align: right; }
.membership-current__days strong { display: block; font-family: var(--display); font-size: 30px; line-height: 1; }
.membership-current__days small { color: var(--muted); }
.membership-current__meter { height: 8px; }
.details--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.collect { display: grid; grid-template-columns: auto 150px 140px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 12px; border-radius: 12px; background: var(--amber-soft); }
.collect__label { font-weight: 700; color: var(--amber); }
.collect .input, .collect .select { height: 38px; width: 100%; }
.membership-current__cancel { margin: 0; align-self: flex-start; }
.link-danger { padding: 0; border: 0; background: none; font: inherit; font-size: 12px; font-weight: 600; color: var(--red); cursor: pointer; }
.link-danger:hover { text-decoration: underline; }
.kpi--link { color: inherit; transition: background .15s; }
.kpi--link:hover { background: var(--surface-2); }
.kpi--link.is-active { box-shadow: inset 0 -3px 0 var(--brand); }
@media (max-width: 1180px) {
  .sale { grid-template-columns: minmax(0, 1fr); }
  .sale__side { position: static; }
  .collect { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collect__label { grid-column: 1 / -1; }
}

/* --- Payments ----------------------------------------------------------- */
.kpi--wide { grid-column: span 2; }
.method-stack { margin: 8px 0 10px; }
.method-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--text-2); }
.method-legend span { display: inline-flex; align-items: center; gap: 6px; }
.method-legend i { width: 9px; height: 9px; border-radius: 3px; }
.method-legend strong { color: var(--text); }
.method-stack--upi { background: var(--brand); }
.method-stack--cash { background: var(--green); }
.method-stack--card { background: var(--orange); }
.method-stack--bank_transfer { background: var(--blue); }
.date-range { display: flex; align-items: center; gap: 6px; padding: 2px; border-radius: 12px; }
.date-range .input { height: 36px; width: 150px; }
.date-range.is-active { box-shadow: 0 0 0 2px var(--brand); }
.receipt-link { font-family: var(--display); font-weight: 600; color: var(--brand); }
tr.is-voided .amount, tr.is-voided .receipt-link { text-decoration: line-through; color: var(--muted); }
.void-reason { margin-top: 10px; width: min(360px, 100%); height: 38px; }

.due-list { display: flex; flex-direction: column; gap: 8px; max-height: 420px; overflow-y: auto; padding: 2px; }
.due-list__option { position: relative; cursor: pointer; }
.due-list__option input { position: absolute; opacity: 0; }
.due-list__card { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--border); }
.due-list__option input:checked + .due-list__card { border-color: var(--brand); background: rgba(var(--brand-rgb), .04); box-shadow: 0 0 0 3px var(--brand-soft); }
.due-list__option input:focus-visible + .due-list__card { outline: 2px solid var(--brand); outline-offset: 2px; }
.due-list__who { flex: 1; min-width: 0; }
.due-list__who strong { display: block; }
.due-list__who small { color: var(--muted); }
.due-list__due { text-align: right; font-family: var(--display); font-weight: 700; color: var(--red); }
.due-list__due small { display: block; font-family: "Inter", sans-serif; font-weight: 500; font-size: 11px; color: var(--muted); }

.receipt { position: relative; max-width: 760px; padding: 36px 40px; overflow: hidden; }
.receipt__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 22px; border-bottom: 2px solid var(--text); }
.receipt__gym { display: flex; align-items: center; gap: 12px; }
.receipt__gym strong { display: block; font-family: var(--display); font-size: 20px; }
.receipt__gym small { color: var(--muted); }
.receipt__no { text-align: right; }
.receipt__no span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.receipt__no strong { display: block; font-family: var(--display); font-size: 22px; }
.receipt__no small { color: var(--text-2); }
.receipt__parties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 22px 0; }
.receipt__parties small { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.receipt__parties strong { display: block; font-size: 16px; }
.receipt__parties span { display: block; color: var(--text-2); }
.receipt__lines { width: 100%; border-collapse: collapse; }
.receipt__lines th { padding: 10px 0; border-bottom: 1px solid var(--border); text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.receipt__lines td { padding: 14px 0; border-bottom: 1px solid var(--border); }
.receipt__lines td small { margin-left: 6px; color: var(--muted); }
.receipt__lines .num { text-align: right; font-family: var(--display); font-weight: 600; }
.receipt__lines tfoot td { border-bottom: 0; font-weight: 700; font-size: 16px; }
.receipt__lines tfoot .num { font-size: 22px; }
.receipt__words { margin: 0 0 22px; font-style: italic; color: var(--text-2); }
.receipt__summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 16px; border-radius: 12px; background: var(--surface-2); }
.receipt__summary dt { font-size: 11px; color: var(--muted); }
.receipt__summary dd { margin: 2px 0 0; font-weight: 700; }
.receipt__foot { margin-top: 22px; font-size: 12px; color: var(--muted); text-align: center; }
.receipt__void { display: flex; align-items: center; gap: 12px; margin: -36px -40px 24px; padding: 12px 40px; background: var(--red-soft); color: var(--red); }
.receipt__void strong { letter-spacing: .2em; }
.receipt--voided .receipt__lines, .receipt--voided .receipt__words { text-decoration: line-through; opacity: .6; }

@media print {
  .sidebar, .sidebar-backdrop, .topbar, .no-print, .flash-bar { display: none !important; }
  body.admin { background: #fff; }
  .main { margin: 0; }
  .content { padding: 0; }
  .receipt { max-width: none; border: 0; box-shadow: none; }
}

/* --- Attendance ------------------------------------------------------- */
.stack-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.date-nav { align-items: center; }
.date-nav form { margin: 0; }
.date-nav .input { height: 36px; }
.icon.flip { transform: scaleX(-1); }
.icon-btn.is-disabled { opacity: .35; cursor: default; }
.checkin-card .checkin { display: flex; gap: 8px; }
.checkin-card .checkin .input { flex: 1; height: 46px; font-size: 15px; }
.checkin-card .checkin .btn { height: 46px; }
.checkin-empty { margin: 14px 0 0; }
.checkin-results { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.checkin-result { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); }
.checkin-result--allowed { border-color: rgba(22, 163, 74, .35); background: rgba(22, 163, 74, .04); }
.checkin-result--no_membership, .checkin-result--frozen, .checkin-result--inactive, .checkin-result--upcoming { border-color: rgba(220, 38, 38, .25); background: rgba(220, 38, 38, .03); }
.checkin-result__status { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.checkin-result__status small { color: var(--text-2); }
.checkin-result__action { display: flex; gap: 6px; align-items: flex-start; justify-content: flex-end; }
.checkin-result__action form { margin: 0; }
.override { position: relative; }
.override summary { list-style: none; cursor: pointer; }
.override summary::-webkit-details-marker { display: none; }
.override[open] summary { background: var(--surface-2); }
.override__form { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; display: flex; gap: 6px; width: 320px; padding: 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 16px 40px rgba(15, 23, 42, .14); }
.override__form .input { flex: 1; height: 32px; min-width: 0; }
.hour-bars { display: flex; align-items: flex-end; gap: 4px; height: 140px; }
.hour-bars__col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.hour-bars__track { flex: 1; width: 100%; display: flex; align-items: flex-end; }
.hour-bars__bar { width: 100%; min-height: 2px; border-radius: 4px 4px 2px 2px; background: rgba(var(--brand-rgb), .3); }
.hour-bars__col.is-now .hour-bars__bar { background: var(--brand); }
.hour-bars__col span { height: 14px; font-size: 10px; color: var(--muted); white-space: nowrap; }
.hour-bars__note { margin: 12px 0 0; font-size: 13px; }
.attendance-card { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 28px; align-items: start; }
.details--stack { grid-template-columns: 1fr 1fr; margin-bottom: 14px; }
.mini-log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-2); }
.mini-log li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 10px; border-radius: 8px; background: var(--surface-2); }
.visit-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.visit-grid span { aspect-ratio: 1; border-radius: 5px; background: var(--surface-3); }
.visit-grid span.is-visit { background: var(--green); }
.visit-grid span.is-today { box-shadow: 0 0 0 2px var(--brand); }
.visit-grid span.is-future { background: transparent; }
.visit-grid__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-bottom: 6px; font-size: 10px; color: var(--muted); text-align: center; }

/* --- Trainers ---------------------------------------------------------- */
.trainer-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.trainer-card { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.trainer-card__top { display: flex; align-items: center; gap: 14px; }
.trainer-card__top .avatar { width: 56px; height: 56px; font-size: 19px; }
.trainer-card h3 { font-size: 17px; }
.trainer-card h3 a:hover { color: var(--brand); }
.trainer-card p { margin: 2px 0 0; font-size: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.trainer-card__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 8px; margin: 0; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trainer-card__stats dt { font-size: 11px; color: var(--muted); }
.trainer-card__stats dd { margin: 2px 0 0; font-family: var(--display); font-size: 18px; font-weight: 700; }
.trainer-card__actions { display: flex; gap: 8px; align-items: center; margin-top: auto; }
.due-list__left { text-align: right; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--brand); }
.due-list__left small { display: block; font-family: "Inter", sans-serif; font-weight: 500; font-size: 11px; color: var(--muted); }
.due-list__option input:disabled + .due-list__card { opacity: .5; cursor: not-allowed; }
.notes-cell { max-width: 260px; white-space: normal; }
.session-packs { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--border); }
.session-pack { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.session-pack > div { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.session-pack .meter { max-width: 360px; }

/* --- Payroll ---------------------------------------------------------- */
.toolbar__title { margin: 0; font-size: 15px; }
.pay-all { display: flex; gap: 6px; align-items: center; margin: 0; }
.pay-all .select { height: 30px; font-size: 12px; }
.cell-sub { display: block; font-size: 11px; font-weight: 400; font-family: "Inter", sans-serif; }
.table-total td { font-weight: 700; background: var(--surface-2); border-top: 1px solid var(--border); }
.override__form .select { height: 32px; }
.receipt__void--draft { background: var(--amber-soft); color: var(--amber); }

/* --- Expenses (real) ---------------------------------------------------- */
.pnl__note { margin: 14px 0 0; font-size: 12px; }
.expense-legend .legend__name:hover { color: var(--brand); }
.notice-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 14px 20px; background: var(--amber-soft); border-color: rgba(217, 119, 6, .25); color: var(--text-2); }
.notice-row .icon { color: var(--amber); }
.notice-row span { flex: 1; }
.notice-row form { margin: 0; }
.date-nav .btn--primary { margin-left: 8px; }

/* --- Leads (real) ------------------------------------------------------- */
.kanban { grid-template-columns: repeat(4, minmax(210px, 1fr)) minmax(200px, .8fr); }
.lead { position: relative; }
.lead--overdue { border-color: rgba(220, 38, 38, .35); }
.lead .person:hover strong { color: var(--brand); }
.lead__owner { display: inline-flex; align-items: center; gap: 3px; margin-left: auto; font-size: 11px; }
.lead__actions a { display: grid; }
.kanban__col--closed { gap: 12px; }
.closed-stat { display: flex; align-items: baseline; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.closed-stat strong { font-family: var(--display); font-size: 24px; }
.closed-stat--joined strong { color: var(--green); }
.closed-stat--lost strong { color: var(--red); }
.closed-sources { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.closed-sources .sources__row { grid-template-columns: 70px 1fr 24px; font-size: 12px; gap: 8px; }
.lead-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; }
.due-strip { margin-bottom: 18px; }
.due-strip__list { list-style: none; margin: 0; padding: 6px 12px 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 8px; }
.due-strip__list li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--surface-2); }
.due-strip__list .person { flex: 1; min-width: 0; }
.due-strip__when { font-size: 12px; font-weight: 600; white-space: nowrap; }
.due-strip__list a.icon-btn { display: grid; }
.notice-row--info { background: var(--blue-soft); border-color: rgba(37, 99, 235, .2); }
.notice-row--info .icon { color: var(--blue); }
.stage-bar { display: flex; align-items: center; gap: 6px; margin: 18px 0; padding: 10px; flex-wrap: wrap; }
.stage-bar__form { margin: 0; flex: 1; min-width: 120px; }
.stage-bar__step { width: 100%; padding: 9px 12px; border: 0; border-radius: 10px; background: var(--surface-2); color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; }
.stage-bar__step:hover:not(:disabled) { background: var(--brand-soft); color: var(--brand); }
.stage-bar__step.is-reached { background: var(--brand-soft); color: var(--brand); }
.stage-bar__step.is-current { background: var(--brand); color: #fff; cursor: default; }
.stage-bar__lost { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; color: var(--red); font-weight: 600; }
.log-form { display: flex; flex-direction: column; gap: 10px; padding: 16px 22px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.log-form .textarea { width: 100%; }
.log-form__foot { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.log-form__date { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--text-2); }
.log-form__date .input { height: 34px; }
.quick-dates { display: flex; gap: 4px; margin-right: auto; }
.timeline { list-style: none; margin: 0; padding: 16px 22px; display: flex; flex-direction: column; gap: 14px; }
.timeline__item { display: grid; grid-template-columns: 12px 1fr; gap: 12px; }
.timeline__dot { width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--surface-4); }
.timeline__item--call .timeline__dot { background: var(--brand); }
.timeline__item--whatsapp .timeline__dot { background: #25d366; }
.timeline__item--visit .timeline__dot { background: var(--orange); }
.timeline__item--stage .timeline__dot { background: var(--violet); }
.timeline__meta { font-size: 12px; color: var(--muted); }
.timeline__meta strong { color: var(--text); }
.timeline p { margin: 2px 0 0; color: var(--text-2); white-space: pre-line; }
.lead-notes { margin: 6px 0 0; padding: 12px; border-radius: 10px; background: var(--surface-2); color: var(--text-2); white-space: pre-line; }

/* --- Inventory & POS (real) ------------------------------------------- */
.product-name { display: flex; flex-direction: column; }
.product-name:hover strong { color: var(--brand); }
.stock-count { font-family: var(--display); font-size: 15px; margin-right: 4px; }
.product-icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 20px; background: var(--brand-soft); color: var(--brand); }
.stock-card { padding: 22px; display: flex; flex-direction: column; gap: 2px; }
.stock-card strong { font-family: var(--display); font-size: 44px; line-height: 1.1; }
.stock-card--low strong { color: var(--amber); }
.stock-card--out strong { color: var(--red); }
.stock-form { display: flex; flex-direction: column; gap: 12px; }
.stock-form .input { width: 100%; height: 40px; }
.pos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.pos-product {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 12px 14px; text-align: left;
  border-radius: 12px; border: 1.5px solid var(--border); background: var(--surface); font: inherit; cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .1s;
}
.pos-product:hover:not(:disabled) { border-color: var(--brand); }
.pos-product:active:not(:disabled) { transform: scale(.98); }
.pos-product.is-in-cart { border-color: var(--brand); background: rgba(var(--brand-rgb), .05); box-shadow: 0 0 0 3px var(--brand-soft); }
.pos-product.is-out { opacity: .45; cursor: not-allowed; }
.pos-product strong { font-size: 13px; line-height: 1.3; }
.pos-product__price { font-family: var(--display); font-weight: 700; font-size: 16px; }
.pos-product small { font-size: 11px; color: var(--muted); }
.pos-cart { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pos-cart__line { display: grid; grid-template-columns: minmax(0, 1fr) auto 70px; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); }
.pos-cart__name { font-weight: 600; font-size: 13px; }
.pos-cart__qty { display: flex; align-items: center; gap: 6px; }
.pos-cart__qty b { min-width: 18px; text-align: center; }
.pos-cart__amount { text-align: right; font-family: var(--display); }
.pos-empty { margin: 0; }
.pos-discount { display: flex; align-items: center; gap: 4px; }
.pos-discount .input { width: 90px; height: 32px; text-align: right; }
.pos .sale__summary .input, .pos .sale__summary .select { width: 100%; height: 40px; }
.pos .sale__summary .pos-discount .input { width: 90px; height: 32px; }
.pos .sale__summary dt label { font-weight: inherit; color: inherit; }

/* --- WhatsApp (real) ----------------------------------------------------- */
.wa-connection { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 16px 20px; }
.wa-connection > div { flex: 1; display: flex; flex-direction: column; }
.wa-connection__dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.wa-connection--on { border-color: rgba(22, 163, 74, .3); background: rgba(22, 163, 74, .05); }
.wa-connection--on .wa-connection__dot { background: #25d366; box-shadow: 0 0 0 4px rgba(37, 211, 102, .2); }
.wa-connection--test { border-color: rgba(217, 119, 6, .3); background: var(--amber-soft); }
.wa-connection--test .wa-connection__dot { background: var(--amber); box-shadow: 0 0 0 4px rgba(217, 119, 6, .2); }
.automation-list { list-style: none; margin: 0; padding: 0; }
.automation-list li { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-top: 1px solid var(--border); }
.automation-list li:first-child { border-top: 0; }
.automation-list__main { flex: 1; min-width: 0; }
.automation-list__main strong { margin-right: 8px; }
.automation-list__main p { margin: 4px 0 0; color: var(--text-2); font-size: 12px; }
.automation-toggle { margin: 0; }
.wide-form { max-width: 980px; }
.wa-composer { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; }
.wa-composer__edit { display: flex; flex-direction: column; gap: 10px; }
.wa-composer__edit .textarea, .wa-composer__edit .select { width: 100%; }
.wa-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wa-chip { padding: 3px 8px; border-radius: 6px; border: 1px dashed var(--border); background: var(--surface-2); font: 600 11px/1.4 ui-monospace, monospace; color: var(--text-2); cursor: pointer; }
.wa-chip:hover { border-color: var(--brand); color: var(--brand); }
.wa-preview { align-self: start; min-height: 180px; }
.wa-preview .wa-bubble { white-space: pre-line; max-width: 100%; }
.wa-bubble__time { position: absolute; right: 8px; bottom: 3px; font-size: 10px; color: #53bdeb; }
.list__meta--stack { display: flex; flex-direction: column; align-items: flex-end; }
.msg-cell { min-width: 300px; max-width: 460px; white-space: normal !important; color: var(--text-2); }
.setup-steps { margin: 0 0 18px; padding-left: 20px; color: var(--text-2); display: flex; flex-direction: column; gap: 6px; }
.setup-steps code { padding: 1px 6px; border-radius: 4px; background: var(--surface-3); font-size: 12px; }

/* --- Branches ----------------------------------------------------------- */
.branch-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.branch__stats { grid-template-columns: 1fr 1fr; row-gap: 12px; }
.branch__actions { display: flex; gap: 8px; align-items: center; }
.branch__switch { flex: 1; margin: 0; }
.brand-switch { position: relative; }
.brand-switch > summary { list-style: none; cursor: pointer; border-radius: var(--radius-sm); }
.brand-switch > summary::-webkit-details-marker { display: none; }
.brand-switch > summary:hover { background: var(--surface-2); }
.brand-switch__chevron { margin-left: auto; color: var(--muted); transition: transform .15s; }
.brand-switch[open] .brand-switch__chevron { transform: rotate(180deg); }
.brand-switch__menu {
  position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% - 8px);
  display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: 0 16px 40px rgba(15, 23, 42, .14);
}
.brand-switch__label { padding: 4px 8px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.brand-switch__form { margin: 0; }
.brand-switch__item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px; border: 0; border-radius: 8px; background: none; font: inherit; font-weight: 500; color: var(--text-2); text-align: left; cursor: pointer; }
.brand-switch__item:hover { background: var(--surface-2); color: var(--text); }
.brand-switch__item.is-current { color: var(--brand); font-weight: 600; cursor: default; }
.brand-switch__all { padding: 8px; font-size: 12px; font-weight: 600; color: var(--brand); }

/* --- Settings ------------------------------------------------------------ */
.settings-tabs { margin-bottom: 18px; }
.settings-fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.settings-fieldset:disabled .input, .settings-fieldset:disabled .select, .settings-fieldset:disabled .textarea { opacity: .75; cursor: not-allowed; }
.settings-note { margin: 0; font-size: 13px; }
.form-card .form-card__actions { margin-top: 18px; }
.settings-card { max-width: 820px; }
.input.mono { font-family: ui-monospace, monospace; letter-spacing: .05em; text-transform: uppercase; }
.plan-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.plan-summary > div { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 12px; background: var(--surface-2); }
.plan-summary strong { font-family: var(--display); font-size: 20px; }
.plan-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.plan-option { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 12px; border: 1px solid var(--border); }
.plan-option span { font-family: var(--display); font-weight: 700; }
.receipt__gst { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: -8px 0 18px; padding: 12px 14px; border-radius: 10px; border: 1px dashed var(--border); }
.receipt__gst dt { font-size: 11px; color: var(--muted); }
.receipt__gst dd { margin: 2px 0 0; font-weight: 700; }
.user-chip__who { flex: 1; min-width: 0; color: inherit; }
.user-chip__who:hover strong { color: var(--brand); }
.user-chip__who strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; line-height: 1.2; }
.user-chip__who small { color: var(--muted); font-size: 12px; }

/* --- Classes ------------------------------------------------------------- */
.date-nav .btn.is-active { background: var(--text); border-color: var(--text); color: var(--surface); }
.timetable { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); overflow-x: auto; }
.timetable__day { display: flex; flex-direction: column; gap: 8px; min-height: 260px; min-width: 130px; padding: 12px 10px; border-left: 1px solid var(--border); }
.timetable__day:first-child { border-left: 0; }
.timetable__day.is-today { background: rgba(var(--brand-rgb), .04); }
.timetable__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.timetable__head span { font-size: 12px; color: var(--muted); }
.timetable__day.is-today .timetable__head strong { color: var(--brand); }
.timetable__none { color: var(--surface-4); text-align: center; padding-top: 12px; }
.class-block {
  display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 10px;
  border-left: 4px solid var(--class-color); background: color-mix(in srgb, var(--class-color) 9%, var(--surface));
  color: var(--text); transition: transform .1s, box-shadow .15s;
}
.class-block:hover { box-shadow: 0 6px 16px rgba(15, 23, 42, .1); transform: translateY(-1px); }
.class-block small { font-size: 11px; color: var(--text-2); font-weight: 600; }
.class-block strong { font-size: 13px; line-height: 1.25; }
.class-block__meta { font-size: 11px; color: var(--muted); }
.class-block__bar { height: 4px; margin-top: 4px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.class-block__bar span { display: block; height: 100%; background: var(--class-color); }
.class-block.is-cancelled { opacity: .55; text-decoration: line-through; }
.class-block.is-past { opacity: .7; }
.class-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.color-pick { display: flex; gap: 8px; padding-top: 4px; }
.color-pick label { position: relative; cursor: pointer; }
.color-pick input { position: absolute; opacity: 0; }
.color-pick span { display: block; width: 28px; height: 28px; border-radius: 8px; }
.color-pick input:checked + span { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--text); }
.color-pick input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 4px; }
.week-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.week-grid__day { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 13px; color: var(--text-2); }
.week-grid__day .input { height: 40px; padding: 0 8px; }
.class-head__icon { background: color-mix(in srgb, var(--class-color) 14%, var(--surface)); color: var(--class-color); }
.class-head__count { margin-left: auto; text-align: right; }
.class-head__count strong { display: block; font-family: var(--display); font-size: 30px; line-height: 1.1; }
.book-form { display: flex; flex-direction: column; gap: 10px; }
.book-form .select { width: 100%; height: 42px; }
.waitlist__pos { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--amber-soft); color: var(--amber); font-weight: 700; font-size: 12px; }

/* --- Workout & diet ------------------------------------------------------ */
.plan-library { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.plan-library .program { color: inherit; transition: box-shadow .15s, transform .1s; }
.plan-library .program:hover { box-shadow: 0 10px 26px rgba(15, 23, 42, .08); transform: translateY(-1px); }
.program.is-retired { opacity: .6; }
.plan-head-icon { width: 76px; height: 76px; border-radius: 20px; }
.plan-description { margin: 0 0 16px; color: var(--text-2); }
.plan-sheet { display: flex; flex-direction: column; gap: 18px; }
.plan-sheet__section h3 { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 2px solid var(--border); font-size: 15px; }
.plan-sheet__section h3 small { font-size: 12px; color: var(--muted); font-weight: 500; }
.plan-sheet__table { width: 100%; border-collapse: collapse; }
.plan-sheet__table td { padding: 7px 0; border-bottom: 1px solid var(--surface-3); vertical-align: top; }
.plan-sheet__table td small { display: block; color: var(--muted); font-size: 12px; }
.plan-sheet__table .num { text-align: right; white-space: nowrap; padding-left: 12px; }
.plan-sheet__note { margin: 6px 0 0; font-size: 12px; font-style: italic; color: var(--text-2); }
.plan-print__meta { padding: 18px 0; }
.plan-print__meta strong { font-family: var(--display); font-size: 18px; margin-right: 8px; }
.plan-print__meta p { margin: 8px 0 0; }
.plan-sections-editor { display: flex; flex-direction: column; gap: 14px; margin-bottom: 14px; }
.plan-section-editor { padding: 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface-2); display: flex; flex-direction: column; gap: 10px; }
.plan-section-editor__head { display: flex; gap: 8px; align-items: center; }
.plan-section-editor__title { flex: 1; font-weight: 700; }
.plan-section-editor .input { height: 36px; width: 100%; min-width: 0; padding: 0 10px; }
.plan-section-editor__add { align-self: flex-start; margin-top: 4px; }
.plan-items-head, .plan-item-row { display: grid; gap: 6px; align-items: center; }
.plan-items-head { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 0 2px 4px; }
.plan-item-row { margin-bottom: 6px; }
.plan-items--workout { grid-template-columns: minmax(0, 2.2fr) 64px 80px 80px minmax(0, 1.4fr) 30px; }
.plan-items--diet { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) 80px minmax(0, 1.4fr) 30px; }
.macro-fields__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.member-plans { display: flex; flex-direction: column; gap: 14px; }
.member-plan { display: flex; align-items: center; gap: 10px; }
.member-plan .program__icon { width: 34px; height: 34px; border-radius: 10px; }
.member-plan__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.member-plan form { margin: 0; }
.assign-form { flex-direction: column; width: 280px; }
.assign-form .select, .assign-form .input { width: 100%; }
.weight-chart { display: block; width: 100%; height: 80px; }
.weight-chart__axis { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 12px; color: var(--muted); }
.measure-table td, .measure-table th { padding: 7px 10px; }
.measure-add { margin-top: 14px; }
.measure-add summary { list-style: none; cursor: pointer; display: inline-flex; }
.measure-add summary::-webkit-details-marker { display: none; }
.measure-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; align-items: end; }
.measure-form .input { width: 100%; height: 38px; }

@media print {
  .plan-print { padding: 0; }
}

@media (max-width: 860px) {
  .role-pick, .form-card .form { grid-template-columns: minmax(0, 1fr); }
  .search--inline { width: 100%; }
  .wa-composer { grid-template-columns: minmax(0, 1fr); }
  .plan-summary, .plan-options, .receipt__gst { grid-template-columns: minmax(0, 1fr); }
  .week-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-items-head { display: none; }
  .plan-items--workout, .plan-items--diet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-item-row > :first-of-type { grid-column: 1 / -1; }
  .measure-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkin-result { grid-template-columns: minmax(0, 1fr); }
  .attendance-card { grid-template-columns: minmax(0, 1fr); }
  .checkin-result__action { justify-content: flex-start; }
  .override__form { left: 0; right: auto; width: min(320px, 80vw); }
  .sale { grid-template-columns: minmax(0, 1fr); }
  .sale__side { position: static; }
  .collect { grid-template-columns: minmax(0, 1fr); }
  .details--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi--wide { grid-column: auto; }
  .receipt { padding: 24px 20px; }
  .receipt__void { margin: -24px -20px 20px; padding: 12px 20px; }
  .receipt__parties, .receipt__summary { grid-template-columns: minmax(0, 1fr); }
  .danger-zone { flex-direction: column; align-items: flex-start; }
  .kanban { grid-template-columns: repeat(5, 240px); }
}

/* Icon-rail sidebar: the branch switcher keeps just the logo, and its menu opens wider. */
@media (min-width: 861px) and (max-width: 1100px) {
  .brand-switch__chevron { display: none; }
  .brand-switch__menu { right: auto; width: 240px; }
}
