/* C1's own page styles. Tokens, type and the shared elements come from
   styles/cphr.css (C1-21), loaded first; nothing here sets a colour of its own
   except through those tokens. The accent fills only .btn.pri / button.pri:
   the one main button of a screen. */
:root { --radius: 12px; }
* { box-sizing: border-box; }
body { margin: 0; }
h1 { font-size: 30px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; margin: 8px 0 16px; }
h2 { font-size: 20px; font-weight: 600; margin: 24px 0 8px; }
h3 { font-size: 17px; font-weight: 600; margin: 16px 0 6px; }
p { margin: 6px 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }

/* Arabic and other right-to-left text sits in its own isolated run */
.rtl { direction: rtl; unicode-bidi: isolate; text-align: right; display: block; font-size: 1.05rem; }


/* plain buttons; .btn (and .btn.pri, .sec, .out) is the shared sheet's */
button:not(.btn):not(.opt):not(.disc):not(.fold):not(.btn-link) {
  font: inherit; font-size: 16px; font-weight: 500; border: 1px solid transparent; background: var(--panel); color: var(--fg);
  border-radius: var(--radius); padding: 9px 16px; cursor: pointer; min-height: 44px; min-width: 44px;
}
button.pri:not(.btn) { background: var(--accent); color: var(--onaccent); font-weight: 600; min-height: 48px; }
button.secondary { background: transparent; color: var(--fg); border-color: var(--line); }
button.danger { background: var(--r); border-color: var(--r); color: var(--bg); font-weight: 600; }
button.link { background: none; border: none; color: var(--muted); padding: 0; min-height: 0; text-decoration: underline; text-underline-offset: 3px; }
button:disabled { opacity: .5; cursor: default; }
a { color: var(--fg); text-underline-offset: 3px; }
input, select, textarea {
  font: inherit; font-size: 16px; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; background: var(--card); color: var(--fg); width: 100%;
  min-height: 44px;
}
label { display: block; font-size: 14px; color: var(--muted); margin: 10px 0 4px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row > * { flex: 0 0 auto; }
.grow { flex: 1 1 auto; }

.card { background: var(--card); border: 1px solid var(--edge); border-radius: 16px; padding: 16px; margin: 0 0 12px; }
.note { border-radius: var(--radius); padding: 10px 12px; margin: 10px 0; font-size: 15px; background: var(--card); color: var(--fg);
  border: 1px solid var(--edge); border-left: 4px solid var(--muted); }
.note.info { border-left-color: var(--muted); }
.note.warn { border-left-color: var(--a); }
.note.bad { border-left-color: var(--r); }
.note.ok { border-left-color: var(--g); }

.badge { display: inline-block; font-size: 13px; padding: 2px 8px;
  border-radius: 99px; background: var(--panel); color: var(--fg); white-space: nowrap; }
.badge.claimed, .badge.allocated, .badge.pending, .badge.ok { background: var(--panel); color: var(--fg); }
.badge.urgent { background: var(--panel); color: var(--fg); box-shadow: inset 0 0 0 1px var(--r); }

table { border-collapse: collapse; width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--fg); }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
th { background: var(--panel); font-weight: 600; color: var(--muted); font-size: 13px; }
td.num, th.num { text-align: right; }

/* ---------- sign in ---------- */
.signin { max-width: 420px; margin: 0 auto; padding: 48px 20px; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; }
.signin .firm { font-size: 15px; color: var(--muted); margin: 0 0 4px; }
.signin .vmline { color: var(--muted); margin: 4px 0 28px; }
.signin input { min-height: 52px; margin: 0 0 10px; }
.signin label { margin: 0 0 4px; }
.signin .btn-link { align-self: center; }

/* ---------- broker: phone first ---------- */
.phone { max-width: 560px; margin: 0 auto; min-height: 100vh; padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
.phone header { background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top)); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 2; }
.phone header .who { font-size: .85rem; color: var(--muted); }
.phone main { padding: 12px 16px; }
/* the bottom tab bar sits clear of the iPhone's home indicator and Safari's
   floating address bar (13 Oct, iPhone check) */
.tabs { position: fixed; bottom: 0; left: 0; right: 0; display: flex; background: var(--bg); border-top: 1px solid var(--line); z-index: 3;
  padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
.tabs a { flex: 1; text-align: center; padding: 14px 0; min-height: 56px; color: var(--muted); text-decoration: none; font-size: 14px; border-top: 2px solid transparent; }
.tabs a.on { color: var(--fg); font-weight: 600; border-top-color: var(--tabind); }
.lead { display: block; text-decoration: none; color: inherit; }
.lead .name { font-weight: 600; font-size: 1.05rem; }
.lead .where { color: var(--muted); font-size: .9rem; margin-top: 2px; }
.lead .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.days { font-weight: 600; }
.days.urgent { color: var(--r-t); }
.outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.outcomes button { background: transparent; color: var(--fg); border-color: var(--line); min-height: 48px; }
.outcomes button.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 4px 10px; font-size: .95rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; min-width: 0; }
.copyrow { margin-bottom: 4px; }
.copyrow { flex-wrap: nowrap; }
.copyrow .value { overflow-wrap: anywhere; min-width: 0; flex: 1 1 auto; }
.copyrow button.copy { padding: 4px 12px; font-size: .9rem; }

/* ---------- manager / owner: laptop ---------- */
.desk { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.desk > nav { background: var(--card); color: var(--muted); padding: 16px 0; border-right: 1px solid var(--line); }
.desk > nav .brand { color: var(--fg); font-weight: 700; padding: 0 18px 4px; }
.desk > nav .who { font-size: .82rem; padding: 0 18px 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.desk > nav a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; padding: 0 18px; font-size: 15px; }
.desk > nav a.on { background: var(--panel); color: var(--fg); font-weight: 600; box-shadow: inset 2px 0 0 var(--tabind); }
.desk > nav .group { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 14px 18px 4px; }
.desk > nav .count { background: var(--panel); color: var(--fg); border-radius: 99px; font-size: .75rem; padding: 0 7px; font-weight: 700; }
.desk > nav .signout { margin: 18px; width: calc(100% - 36px); background: transparent; border-color: var(--line); color: var(--fg); }
.desk main { padding: 22px 28px; max-width: 1200px; }
.desk main.narrow, .phone main.narrow { max-width: 720px; margin: 0 auto; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.tile .n { font-size: 26px; font-weight: 600; font-family: var(--mono); }
.tile .l { color: var(--muted); font-size: .85rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.formgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }

/* ---------- dialogs ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); display: flex; align-items: center; justify-content: center; z-index: 10; padding: 16px; }
.dialog { background: var(--card); color: var(--fg); border: 1px solid var(--line); border-radius: 20px; max-width: 520px; width: 100%; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.dialog .actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }

.refusal { max-width: 460px; margin: 60px auto; padding: 0 16px; text-align: center; }

/* owner and manager at phone width: the menu behind a "Menu" button (13 Oct) */
.deskbar, .menu-scrim { display: none; }
@media (max-width: 760px) {
  .desk { grid-template-columns: 1fr; }
  .deskbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--bg);
    border-bottom: 1px solid var(--line); padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top));
    position: sticky; top: 0; z-index: 21; }
  .deskbar .who { font-size: .85rem; color: var(--muted); }
  .desk > nav { display: none; padding: 8px 0; }
  /* stops short of the bottom, so there is always somewhere outside to tap */
  .desk > nav.open { display: block; position: fixed; left: 0; right: 0; top: var(--deskbar-h, 64px); overflow-y: auto;
    max-height: calc(100vh - var(--deskbar-h, 64px) - 72px); max-height: calc(100dvh - var(--deskbar-h, 64px) - 72px);
    z-index: 22; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
  .menu-scrim.open { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 20; }
  .desk > nav .brand, .desk > nav .who { display: none; }   /* already in the header */
  /* owner and manager on a phone: menu links big enough to tap (UI-10) */
  .desk > nav a { min-height: 44px; align-items: center; }
  .desk main > p > a { display: inline-flex; align-items: center; min-height: 44px; }
  .tiles, .split, .formgrid { grid-template-columns: 1fr 1fr; }
}

/* Phone tap targets: every link a broker taps is at least 44 px tall (Apple's minimum) */
.phone main > p > a, .signin a, .refusal a {
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px;
}
.phone main > p > button.link { min-height: 44px; }
input[type=checkbox] { min-height: 0; width: auto; }
a.btn { display: inline-flex; align-items: center; text-decoration: none; }
/* Safari draws its own small dropdown and ignores the height above; a plain
   one keeps every dropdown 44 px tall on an iPhone too */
select {
  -webkit-appearance: none; appearance: none; padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2394A0B4' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}

/* BD and Clients: the two areas, at the top of every screen */
.areatabs { display: flex; background: var(--bg); border-bottom: 1px solid var(--line); }
.areatabs a { flex: 0 0 auto; min-width: 96px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 18px; color: var(--muted); text-decoration: none; font-weight: 600; }
.areatabs a.on { color: var(--fg); box-shadow: inset 0 -2px 0 var(--tabind); }
.phone .areatabs a { flex: 1 1 0; }
.deskmain { min-width: 0; }

/* ---------- slice 3b: the open owners list, one set of screens ---------- */
.bd-search { display: flex; gap: 8px; margin: 8px 0 10px; }
.bd-search input { flex: 1 1 auto; font-size: 1.05rem; }
.bd-filters { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 12px; margin-bottom: 8px; }
.bd-filters summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 600; color: var(--muted); }
.filterrow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding-bottom: 12px; }
.filter { margin: 0; color: var(--muted); font-size: .85rem; }
.filter select { margin-top: 4px; }
.ownerlist { display: flex; flex-direction: column; gap: 10px; }
.ownerhead { display: none; }
.ownerrow { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px;
  color: inherit; text-decoration: none; }
.ownerrow .o-name { font-weight: 600; font-size: 1.05rem; }
.ownerrow .o-props { margin-top: 4px; font-size: .9rem; }
.ownerrow .o-props .match { color: var(--fg); }
.ownerrow .o-last { margin-top: 6px; color: var(--muted); }
.ownerrow.dnc { opacity: .75; border-style: dashed; }
.copyrow .value.muted { font-style: italic; }

/* a broker at a laptop: the same screens, full width, list as a table */
@media (min-width: 1024px) {
  .phone.wide-ok { max-width: none; display: flex; flex-direction: column; padding-bottom: 0; }
  .phone.wide-ok header { order: 0; }
  .phone.wide-ok .areatabs { order: 1; }
  .phone.wide-ok .tabs { order: 2; position: static; border-top: 0; border-bottom: 1px solid var(--line); justify-content: flex-start; }
  .phone.wide-ok .tabs a { flex: 0 0 auto; padding: 12px 22px; }
  .phone.wide-ok main { order: 3; width: 100%; max-width: 1280px; margin: 0 auto; padding: 18px 28px; }
  .filterrow { grid-template-columns: repeat(5, 1fr); }
  .ownerlist { gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
  .ownerhead, .ownerrow { display: grid; grid-template-columns: 1.1fr 2fr 1.3fr; gap: 16px; padding: 10px 14px; }
  .ownerhead { color: var(--muted); font-size: .82rem; font-weight: 600; background: var(--panel); border-bottom: 1px solid var(--line); }
  .ownerrow { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .ownerrow:hover { background: var(--panel); }
  .ownerrow .o-props, .ownerrow .o-last { margin-top: 0; }
}
.desk .ownerhead, .desk .ownerrow { display: grid; grid-template-columns: 1.1fr 2fr 1.3fr; gap: 16px; padding: 10px 14px; }
.desk .ownerlist { gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.desk .ownerhead { color: var(--muted); font-size: .82rem; font-weight: 600; background: var(--panel); border-bottom: 1px solid var(--line); }
.desk .ownerrow { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.desk .ownerrow .o-props, .desk .ownerrow .o-last { margin-top: 0; }
.desk .filterrow { grid-template-columns: repeat(5, 1fr); }
/* a phone number or email behind Show and Copy: text first, buttons wrap under it on a phone */
.revealrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 6px 0; }
.revealtext { flex: 1 1 180px; display: flex; gap: 10px; align-items: baseline; min-width: 0; }
.revealtext .small { flex: 0 0 64px; }
.revealtext .value { overflow-wrap: anywhere; min-width: 0; }
.revealtext .value.muted { font-style: italic; overflow-wrap: normal; white-space: nowrap; }
.revealbtns { display: flex; gap: 8px; flex: 0 0 auto; }

/* slice 3b, Stage C: list pages, order, "opened today" on a row */
.badge.warn { background: var(--panel); color: var(--fg); box-shadow: inset 0 0 0 1px var(--a); }
.ownerrow .badge { margin-left: 6px; white-space: normal; font-weight: 500; }
.ownerrow .opened-today { display: inline-block; margin-top: 4px; margin-left: 0; }
.pager { justify-content: space-between; margin: 8px 0; }
.pager button { min-height: 44px; }
.sortby select { min-width: 12rem; }

/* team activity (amendment 2026-10-09_1) */
.periodbar { justify-content: space-between; margin: 10px 0 14px; gap: 12px; }
.periodbar button { min-height: 44px; }
.periodbar .row { flex-wrap: nowrap; }
.periodbar .row > strong { flex: 1 1 6rem; text-align: center; min-width: 0; }
table.activity th.grp { text-align: center; border-bottom: 1px solid var(--line); }
table.activity td.num { text-align: right; font-variant-numeric: tabular-nums; }
table.activity tfoot th, table.activity tfoot td { border-top: 2px solid var(--line); font-weight: 600; }
table.activity .mix { margin: 0; padding: 0; list-style: none; font-size: .85rem; }
table.activity a.member { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; min-height: 44px; }
.activity-cards { display: none; }
.actcard h4 { margin: 10px 0 4px; }
.actcard .kv { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
.actcard .mix { margin: 6px 0 0; padding-left: 18px; font-size: .9rem; }
.actcard a.member { display: inline-flex; align-items: center; min-height: 44px; flex-wrap: wrap; gap: 4px; }
@media (max-width: 900px) {
  .activity-wide { display: none; }
  .activity-cards { display: block; }
  .tablebox { overflow-x: auto; }
}
@media (max-width: 480px) {
  /* on a phone the period's dates go on their own line above Previous and Next */
  .periodbar > .row { flex: 1 1 100%; min-width: 0; flex-wrap: wrap; }
  .periodbar .row > strong { order: -1; flex-basis: 100%; text-align: left; }
}

/* tables marked "stack" become one block per row on a phone */
@media (max-width: 600px) {
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: auto; }
  table.stack thead { display: none; }
  table.stack tr { border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; margin-bottom: 8px; background: var(--card); }
  table.stack td { border: 0; padding: 2px 0; }
  table.stack td button { min-height: 44px; margin-top: 4px; }
}

/* lists a tab configures (13 Oct 14:30): cards on a phone, a table on a laptop */
.subtabs { display: flex; gap: 4px; margin: 0 0 8px; border-bottom: 1px solid var(--line); }
.subtabs a { padding: 12px 16px; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; }
.subtabs a.on { color: var(--fg); border-bottom-color: var(--tabind); font-weight: 600; }
.tablist { display: flex; flex-direction: column; gap: 10px; }
.tabhead { display: none; }
.tabrow { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tabrow.blocked { border-style: dashed; opacity: .85; }
.tabcell { min-width: 0; overflow-wrap: anywhere; }
.tabactions { flex-wrap: wrap; gap: 8px; }
.tabactions .btn, .tabactions button { min-height: 44px; }
.filterrow { --filter-cols: 5; }
@media (min-width: 1024px) {
  .tablist { gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
  .tabhead, .tabrow { display: grid; grid-template-columns: var(--tab-cols) auto; gap: 12px; padding: 10px 12px; align-items: start; }
  .tabhead { color: var(--muted); font-size: .8rem; font-weight: 600; background: var(--panel); border-bottom: 1px solid var(--line); }
  .tabrow { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .filterrow { grid-template-columns: repeat(var(--filter-cols), minmax(0, 1fr)); }
}

/* owners list at phone width, every role (13 Oct, iPhone check): cards, not
   the laptop table; page buttons only below the list, so the first owner is on
   the first screen */
@media (max-width: 760px) {
  .desk main { padding: 12px 16px; }
  .desk .ownerhead { display: none; }
  .desk .ownerlist { gap: 10px; border: 0; background: none; }
  .desk .ownerrow { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; background: var(--card); }
  .desk .ownerrow .o-props { margin-top: 4px; }
  .desk .ownerrow .o-last { margin-top: 6px; }
  .pager[data-pager="top"] { display: none; }
  .sortby select { min-width: 0; }
}

/* Show number on each owners-list row (Nick, 14 Oct): the row and its number
   action sit together in one card on a phone, one table row on a laptop */
.ownerwrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.ownerwrap.dnc { opacity: .75; border-style: dashed; }
.ownerwrap > .ownerrow, .ownerwrap > .ownerrow.dnc { border: 0; border-radius: 0; background: none; opacity: 1; }
.ownerwrap .o-num { padding: 0 14px 12px; }
.ownerwrap .o-num:empty { display: none; }
.ownerwrap.revealed { box-shadow: inset 2px 0 0 var(--fg); }
.ownerwrap-head { display: none; }
.rowreveal .rownum { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rowreveal .num { font-weight: 700; font-size: 1.05rem; }
.rowreveal a.more { min-height: 44px; display: inline-flex; align-items: center; }
.rowreveal .rowout { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.rowreveal .rowout select { flex: 1 1 12rem; width: auto; }
@media (min-width: 761px) {
  .desk .ownerwrap, .desk .ownerwrap-head { display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 1.9fr); border: 0;
    border-bottom: 1px solid var(--line); border-radius: 0; }
  .desk .ownerwrap-head { background: var(--panel); }
  .desk .ownerwrap-head .ownerhead { border-bottom: 0; }
  .desk .ownerwrap > .ownerrow { border-bottom: 0; }
  .desk .ownerwrap .o-num, .desk .o-num-head { padding: 10px 14px; }
  .desk .o-num-head { color: var(--muted); font-size: .82rem; font-weight: 600; }
}
@media (min-width: 1024px) {
  .phone.wide-ok .ownerwrap, .phone.wide-ok .ownerwrap-head { display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 1.9fr); border: 0;
    border-bottom: 1px solid var(--line); border-radius: 0; }
  .phone.wide-ok .ownerwrap-head { background: var(--panel); }
  .phone.wide-ok .ownerwrap-head .ownerhead { border-bottom: 0; }
  .phone.wide-ok .ownerwrap > .ownerrow { border-bottom: 0; }
  .phone.wide-ok .ownerwrap .o-num, .phone.wide-ok .o-num-head { padding: 10px 14px; }
  .phone.wide-ok .o-num-head { color: var(--muted); font-size: .82rem; font-weight: 600; }
}

/* Team activity on a laptop (16 Oct): the wide table scrolls inside its own box,
   so the page never scrolls sideways (it was 44 px too wide at 1366 px) */
.activity-wide { overflow-x: auto; max-width: 100%; }


/* C1-23's elements, in C1-21's sheet.
   A number inside a settings sentence; teams as cards that stack on a phone. */
.setting { padding: 6px 0; border-bottom: 1px solid var(--line); }
.setting:last-child { border-bottom: 0; }
.setting-label { color: var(--fg); font-size: 1rem; }
.setting-label input.inline-num { display: inline-block; width: 6.5em; margin: 0 4px; }
.setting-label input#set-time_zone { display: inline-block; width: 14em; max-width: 100%; margin-left: 4px; }
.setting-line { margin: 4px 0 6px; }
.teamcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 12px; }
.teamcard .o-name { font-weight: 600; }
.team-leads label { margin: 2px 0; min-height: 44px; }
.followups .ownerrow { display: block; }
.follow-choices { display: flex; gap: 8px; flex-wrap: wrap; }

/* C1-21: a manager's and the owner's pages on a phone have the bottom tab bar */
.with-tabbar { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
.kv2 .kvrow { display: flex; justify-content: space-between; padding: 6px 0; }
.kv2 .kvrow b { font-weight: 500; }
#ranking-day { max-width: 240px; }
