/* The redesigned BaoCampus app frame, shared by every variation.
   A proposal for the app itself: same screens and words, clearer hierarchy. */
.ph {
  --ink: #1c1917; --ink-2: #57534e; --ink-3: #8a837c; --line: #e7e5e2; --fill: #f3f2ef;
  --brand: #0b5fa5; --ok: #1e7b4f; --ok-bg: #e6f4ec; --bad: #b42318; --bad-bg: #fdecea;
  --warn: #a15c07; --warn-bg: #fdf3e2;
  position: relative; width: var(--ph-w, 264px); flex: none; background: #1a1a1a; border-radius: 38px; padding: 9px;
  box-shadow: 0 40px 70px -30px rgba(10, 20, 30, .55), inset 0 0 0 1.5px #3a3a3a;
  font-family: "Geist", system-ui, sans-serif; color: var(--ink); text-align: left;
}
.ph-screen { position: relative; background: #fff; border-radius: 30px; overflow: hidden; height: var(--ph-h, 520px);
             display: flex; flex-direction: column; font-size: 11.5px; line-height: 1.35; }
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 9px 18px 4px; font-size: 10.5px; font-weight: 600; }
.ph-status i { display: inline-block; width: 18px; height: 9px; border: 1.5px solid var(--ink); border-radius: 3px; position: relative; }
.ph-status i::after { content: ""; position: absolute; inset: 1px 4px 1px 1px; background: var(--ink); border-radius: 1px; }
.ph-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 8px; }
.ph-head h3 { margin: 0; font-size: 19px; font-weight: 650; letter-spacing: -.01em; }
.ph-head small { display: block; color: var(--ink-2); font-size: 11px; font-weight: 400; margin-top: 1px; }
.ph-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--fill); display: grid; place-items: center; color: var(--ink-2); font-size: 14px; }
.ph-search { margin: 0 14px; display: flex; gap: 6px; align-items: center; background: var(--fill); border-radius: 10px; padding: 8px 10px; color: var(--ink-3); }
.ph-chips { display: flex; gap: 6px; padding: 9px 14px 4px; }
.ph-chip { border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; font-size: 10.5px; color: var(--ink-2); white-space: nowrap; }
.ph-chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.ph-count { padding: 6px 14px 6px; color: var(--ink-2); font-size: 10.5px; }
.ph-list { list-style: none; margin: 0; padding: 0; overflow: hidden; flex: 1; }
.ph-row { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-top: 1px solid var(--line); cursor: pointer;
          transition: background .2s; }
.ph-row:active, .ph-row:hover { background: #fafaf9; }
.ph-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 650; flex: none; }
.ph-who { flex: 1; min-width: 0; }
.ph-who b { display: block; font-weight: 600; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-who span { color: var(--ink-3); font-size: 10.5px; }
.ph-amt { text-align: right; }
.ph-amt b { display: block; font-size: 12.5px; font-variant-numeric: tabular-nums; font-weight: 650; }
.ph-amt b small { font-size: 9px; font-weight: 500; color: var(--ink-3); margin-right: 2px; }
.ph-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 9.5px; font-weight: 600; border-radius: 999px; padding: 1px 6px; margin-top: 2px; }
.ph-tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.ph-tag.bad { color: var(--bad); background: var(--bad-bg); }
.ph-tag.warn { color: var(--warn); background: var(--warn-bg); }
.ph-tag.ok { color: var(--ok); background: var(--ok-bg); }
.ph-tag.up { color: var(--brand); background: #e8f1fa; }
.ph-hint { text-align: center; color: var(--ink-3); font-size: 10px; padding: 6px 0 10px; }
.ph-flash { animation: phflash 1.2s ease; }
@keyframes phflash { 0% { background: var(--ok-bg); } 100% { background: transparent; } }

/* the Record payment sheet and its result; an open sheet brings its phone in front of any paper laid over it */
.ph.ph:has(.sheet-open) { z-index: 10; }
.ph-veil { position: absolute; inset: 0; background: rgba(20, 20, 20, .32); opacity: 0; pointer-events: none; transition: opacity .25s; }
.ph-sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 18px 18px 0 0; padding: 8px 14px 14px;
            transform: translateY(105%); transition: transform .32s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 -10px 30px -12px rgba(0,0,0,.3); }
.ph-screen.sheet-open .ph-veil { opacity: 1; pointer-events: auto; }
.ph-screen.sheet-open .ph-sheet { transform: none; }
.ph-grab { width: 34px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto 10px; }
.ph-sheet h4 { margin: 0; font-size: 15px; font-weight: 650; }
.ph-sheet .sub { color: var(--ink-2); font-size: 11px; margin-bottom: 10px; }
.ph-field { border: 1.5px solid var(--brand); border-radius: 10px; padding: 7px 10px; display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.ph-field span { color: var(--ink-3); font-size: 10px; }
.ph-field b { font-size: 18px; font-variant-numeric: tabular-nums; font-weight: 650; }
.ph-seg { display: flex; gap: 5px; margin-bottom: 10px; }
.ph-seg span { flex: 1; text-align: center; border: 1px solid var(--line); border-radius: 8px; padding: 5px 0; font-size: 10.5px; color: var(--ink-2); }
.ph-seg span.on { border-color: var(--ink); color: var(--ink); font-weight: 600; box-shadow: inset 0 0 0 .5px var(--ink); }
.ph-covers { background: var(--fill); border-radius: 10px; padding: 8px 10px; margin-bottom: 10px; font-size: 10.5px; }
.ph-covers div { display: flex; justify-content: space-between; padding: 2px 0; }
.ph-covers div b { font-variant-numeric: tabular-nums; }
.ph-covers .left { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 6px; color: var(--ink-2); }
.ph-btn { display: block; width: 100%; border: 0; border-radius: 10px; background: var(--brand); color: #fff; font: 600 12.5px/1 "Geist", system-ui, sans-serif; padding: 11px; cursor: pointer; }
.ph-btn.quiet { background: var(--fill); color: var(--ink); margin-top: 6px; }
.ph-done { display: none; text-align: center; padding: 4px 0 2px; }
.ph-sheet.saved .ph-form { display: none; }
.ph-sheet.saved .ph-done { display: block; }
.ph-check { width: 40px; height: 40px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; margin: 2px auto 8px; font-size: 20px; font-weight: 700; }
.ph-done h4 { margin-bottom: 2px; }
.ph-rnum { font-variant-numeric: tabular-nums; font-weight: 600; margin: 6px 0 12px; font-size: 12px; }

/* register and report-card screens */
.ph-sum { margin: 2px 14px 6px; display: flex; gap: 6px; }
.ph-sum span { flex: 1; text-align: center; background: var(--fill); border-radius: 8px; padding: 5px 0; font-size: 10px; color: var(--ink-2); }
.ph-sum span b { display: block; font-size: 14px; color: var(--ink); }
.ph-reg { display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-top: 1px solid var(--line); }
.ph-reg .ph-who b { font-size: 11.5px; white-space: normal; line-height: 1.2; }
.ph-marks { display: flex; gap: 3px; flex: none; }
.ph-marks span, .ph-marks button { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 4px 4px; font: 9px/1 "Geist", system-ui, sans-serif; color: var(--ink-2); cursor: pointer; }
.ph-marks .abs { background: var(--bad-bg); border-color: #f4b4ad; color: var(--bad); font-weight: 600; }
.ph-marks .late { background: var(--warn-bg); border-color: #f1cf98; color: var(--warn); font-weight: 600; }
.ph-marks .nr { background: var(--fill); border-color: #cfccc6; color: var(--ink); font-weight: 600; }
.ph-foot { padding: 10px 14px 14px; border-top: 1px solid var(--line); }
.ph-banner { margin: 0 14px 6px; background: var(--ok-bg); color: var(--ok); border-radius: 8px; padding: 6px 9px; font-size: 10.5px; font-weight: 600; }
.ph-rank { display: flex; align-items: center; gap: 10px; padding: 7px 14px; border-top: 1px solid var(--line); }
.ph-rank .n { width: 18px; text-align: center; font-weight: 700; font-size: 12px; color: var(--ink-2); }
.ph-rank .avg { font-variant-numeric: tabular-nums; font-weight: 650; font-size: 12.5px; }
.ph-rank .avg small { color: var(--ink-3); font-weight: 500; font-size: 9px; }

/* the printed receipt (paper), shared */
.receipt { background: #fff; color: #1c1917; width: 250px; padding: 16px 16px 12px; font: 11px/1.4 "Geist", system-ui, sans-serif;
           box-shadow: 0 24px 50px -24px rgba(10, 20, 30, .45); }
.receipt .sch { font-weight: 700; font-size: 13px; }
.receipt .kind { color: #57534e; font-size: 9.5px; letter-spacing: .1em; margin: 1px 0 8px; }
.receipt .num { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid #1c1917; padding-bottom: 6px; margin-bottom: 4px; }
.receipt .num b { font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.receipt .num span { white-space: nowrap; margin-right: 8px; }
.receipt .kv { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px dotted #d6d3d1; }
.receipt .kv span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
.receipt .sig { display: flex; gap: 10px; margin-top: 14px; font-size: 9px; color: #57534e; }
.receipt .sig div { flex: 1; border-top: 1px solid #1c1917; padding-top: 3px; }
.receipt .sig .stamp { border: 1px dashed #a8a29e; height: 34px; padding: 3px; }

@media (prefers-reduced-motion: reduce) { .ph-sheet, .ph-veil, .ph-row { transition: none; } .ph-flash { animation: none; } }

/* report cards, live: tap a pupil on the class page and their card opens */
.ph-card { position: absolute; inset: 0; background: #fff; transform: translateX(105%); transition: transform .32s cubic-bezier(.2, .8, .2, 1);
           display: flex; flex-direction: column; }
.ph-screen.card-open .ph-card { transform: none; }
.ph-card-bar { display: flex; align-items: center; gap: 8px; padding: 30px 12px 8px; border-bottom: 1px solid var(--line); }
.ph-card-bar button { border: 0; background: var(--fill); border-radius: 50%; width: 26px; height: 26px; font-size: 13px; cursor: pointer; }
.ph-card-bar b { flex: 1; font-size: 12.5px; }
.ph-card-bar .pr { background: var(--brand); color: #fff; border-radius: 8px; width: auto; padding: 0 10px; font: 600 11px/26px "Geist", system-ui, sans-serif; }
.ph-sheetdoc { margin: 10px; border: 1px solid #d6d3d1; padding: 10px; font-size: 9.5px; line-height: 1.35; flex: 1; overflow: hidden; }
.ph-sheetdoc .school { text-align: center; font-weight: 700; font-size: 11px; }
.ph-sheetdoc .title { text-align: center; color: var(--ink-2); margin-bottom: 7px; }
.ph-sheetdoc .who { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; margin-bottom: 7px; }
.ph-sheetdoc .who span { color: var(--ink-3); } .ph-sheetdoc .who b { font-weight: 600; color: var(--ink); }
.ph-sheetdoc table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ph-sheetdoc th { background: #f2f1ee; font-weight: 600; text-align: right; padding: 3px 4px; font-size: 8.5px; }
.ph-sheetdoc td { text-align: right; padding: 3px 4px; border-bottom: 1px solid #eeece8; }
.ph-sheetdoc th:first-child, .ph-sheetdoc td:first-child { text-align: left; }
.ph-sheetdoc .more { color: var(--ink-3); padding: 3px 4px; }
.ph-sheetdoc .totals { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; margin: 7px 0; }
.ph-sheetdoc .totals div { background: #f7f6f3; padding: 4px; text-align: center; }
.ph-sheetdoc .totals b { display: block; font-size: 12px; }
.ph-sheetdoc .dec { display: flex; justify-content: space-between; border-top: 1.5px solid var(--ink); padding-top: 5px; }
.ph-sheetdoc .dec b { color: var(--ok); }
.ph-toast { position: absolute; left: 12px; right: 12px; bottom: 64px; background: var(--ink); color: #fff; border-radius: 10px; padding: 9px 11px;
            font-size: 11px; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; pointer-events: none; }
.ph-toast.show { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ph-card, .ph-toast { transition: none; } }

/* connection, unsent work, completed register */
.ph-net { font-size: 9px; font-weight: 600; color: var(--bad); }
.bc-offline .ph-net::before { content: "No connection"; }
.ph-pending { margin: -2px 14px 6px; background: var(--warn-bg); color: var(--warn); border-radius: 8px; padding: 5px 9px; font-size: 10.5px; font-weight: 600;
              display: flex; justify-content: space-between; }
.ph-pending[hidden] { display: none; }
.ph-pending.going { opacity: 0; transition: opacity .9s .3s; }
.ph-done-banner { margin: 0 14px 6px; background: var(--ok-bg); color: var(--ok); border-radius: 8px; padding: 6px 9px; font-size: 10.5px; font-weight: 600; }
.reg-done .ph-btn.complete { background: var(--ok-bg); color: var(--ok); }
.ph-sheet .sub.confirm-text { margin: 4px 0 12px; }

/* marks, a new pupil, menus */
.ph-entry { border-top: 6px solid var(--fill); }
.ph-mark { min-width: 44px; text-align: center; border: 1.5px solid var(--line); border-radius: 8px; padding: 4px 6px; font-weight: 650; font-variant-numeric: tabular-nums; }
.ph-mark.empty { border-color: var(--brand); color: var(--ink-3); font-weight: 400; }
.ph-steps { display: flex; gap: 4px; margin: 0 14px 10px; }
.ph-steps span { flex: 1; text-align: center; font-size: 9.5px; padding: 4px 0 5px; border-bottom: 2.5px solid var(--line); color: var(--ink-3); }
.ph-steps .done { border-color: var(--ok); color: var(--ink-2); }
.ph-steps .on { border-color: var(--brand); color: var(--ink); font-weight: 650; }
.ph-kv { display: flex; justify-content: space-between; padding: 6px 14px; border-top: 1px solid var(--line); }
.ph-kv span { color: var(--ink-2); } .ph-kv b { font-weight: 600; }
.ph-kv.miss b { color: var(--brand); }
.ph-menu { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.ph-menu .ic { width: 28px; height: 28px; border-radius: 8px; background: var(--fill); display: grid; place-items: center; font-size: 13px; }

/* journeys: justify, conduct, markbook, levels, wizard, guardian, plan */
.ph-pad { margin: 0 14px 8px; } .ph-pad2 { margin: 4px 14px 8px; line-height: 1.4; }
.ph-opts { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 14px 8px; }
.ph-opts span { border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; font-size: 10.5px; color: var(--ink-2); }
.ph-opts span.on { border-color: var(--ink); color: var(--ink); font-weight: 600; box-shadow: inset 0 0 0 .5px var(--ink); }
.ph-person { display: flex; align-items: center; gap: 6px; padding: 7px 14px; border-top: 1px solid var(--line); }
.ph-person b { flex: 1; font-weight: 600; } .ph-dur { font-size: 10px; color: var(--ink-2); background: var(--fill); border-radius: 6px; padding: 2px 6px; }
button.ph-mark { font: 650 12px/1 "Geist", system-ui, sans-serif; background: #fff; cursor: pointer; color: var(--ink); }
button.ph-mark.empty { color: var(--brand); font-weight: 500; font-size: 10.5px; }
.ph-btn:disabled { background: var(--fill); color: var(--ink-3); cursor: default; }
.ph-fieldrow { margin: 0 14px 8px; border: 1.5px solid var(--line); border-radius: 10px; padding: 6px 10px; }
.ph-fieldrow span { display: block; color: var(--ink-3); font-size: 9.5px; } .ph-fieldrow b { font-size: 13px; font-weight: 600; }
.ph-fieldrow.quiet b { font-weight: 500; color: var(--ink-2); font-size: 12px; }
.ph-tabs { display: flex; gap: 4px; padding: 0 14px 8px; overflow: hidden; }
.ph-tabs span { font-size: 10.5px; color: var(--ink-2); padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.ph-tabs span.on { background: var(--ink); color: #fff; }
.ph-gcard { margin: 0 14px 8px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.ph-gcard > b { display: block; font-size: 13px; } .ph-gcard > span { color: var(--ink-2); font-size: 11px; }
.ph-also a { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid var(--line); color: var(--brand); font-weight: 600; }
.ph-also a i { font-style: normal; color: var(--ink-3); font-weight: 400; }

/* close-up pictures for the features (vig.js) */
.vg-win, .vg-card, .vg-phoneish, .vg-doc, .vg-xls, .vg-menu { font: 11.5px/1.4 "Geist", system-ui, sans-serif; color: #1c1917; background: #fff;
  box-shadow: 0 24px 50px -26px rgba(20,20,15,.45), 0 0 0 1px rgba(26,26,23,.07); }
.vg-win { width: 620px; border-radius: 12px; overflow: hidden; }
.vg-bar { display: flex; gap: 6px; align-items: center; padding: 8px 12px; background: #f6f5f2; border-bottom: 1px solid #e7e5e2; }
.vg-bar i { width: 9px; height: 9px; border-radius: 50%; background: #dcdad4; } .vg-bar span { flex: 1; text-align: center; color: #8a877f; font-size: 10.5px; margin-right: 30px; }
.vg-wbody { display: flex; min-height: 300px; }
.vg-nav { width: 130px; border-right: 1px solid #e7e5e2; padding: 10px 6px; color: #57534e; flex: none; }
.vg-nav div { padding: 6px 8px; border-radius: 6px; } .vg-nav .on { background: #f2f1ee; color: #1c1917; font-weight: 600; }
.vg-main { flex: 1; padding: 14px 16px; min-width: 0; }
.vg-main h4, .vg-card h4 { margin: 0; font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.vg-sub { color: #78716c; margin: 2px 0 10px; }
.vg-ok { display: inline-block; background: #e6f4ec; color: #1e7b4f; border-radius: 6px; padding: 4px 8px; font-weight: 600; margin-bottom: 8px; }
.vg-t { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.vg-t th { text-align: right; color: #8a837c; font-weight: 500; font-size: 10px; padding: 5px 5px; border-bottom: 1px solid #e7e5e2; background: transparent; }
.vg-t td { text-align: right; padding: 5px; border-bottom: 1px solid #f0efec; }
.vg-t th:first-child, .vg-t td:first-child { text-align: left; }
.vg-card { width: 340px; border-radius: 14px; padding: 16px; }
.vg-kv { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid #efeeea; }
.vg-kv span { color: #57534e; } .vg-kv b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.vg-kv.ok b { color: #1e7b4f; } .vg-kv.warn b { color: #a15c07; } .vg-kv.comp b { color: #0b5fa5; } .vg-kv.new b { color: #1e7b4f; } .vg-kv.choose b { color: #a15c07; }
.vg-kv.total { border-top: 1.5px solid #1c1917; } .vg-kv.field b { border: 1.5px solid #0b5fa5; border-radius: 8px; padding: 2px 8px; }
.vg-note { background: #f3f2ef; border-radius: 10px; padding: 9px 11px; margin: 8px 0; color: #57534e; } .vg-note b { display: block; color: #1c1917; margin-bottom: 2px; }
.vg-note.warn { background: #fdf3e2; } .vg-note.warn b { color: #a15c07; }
.vg-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.vg-btns span { border-radius: 9px; padding: 7px 12px; font-weight: 600; } .vg-btns .q { background: #f2f1ee; } .vg-btns .p { background: #0b5fa5; color: #fff; }
.vg-seg { display: inline-flex; background: #ebeae6; border-radius: 999px; padding: 3px; margin-bottom: 12px; }
.vg-seg button { border: 0; background: none; border-radius: 999px; padding: 7px 14px; font: 500 13px/1 "Instrument Sans", system-ui; color: #5f5c55; cursor: pointer; }
.vg-seg button[aria-pressed="true"] { background: #fff; color: #1a1a17; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
[data-vig="printcard"] { display: flex; flex-direction: column; align-items: center; }
.vg-doc { width: 360px; padding: 16px; transform: rotate(-1deg); }
.vg-doc .sch { text-align: center; font-weight: 700; font-size: 13px; } .vg-doc .tt { text-align: center; color: #57534e; margin-bottom: 10px; }
.vg-doc .vg-t th { background: #f2f1ee; color: #1c1917; font-weight: 600; }
.vg-who { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 8px; } .vg-who span { display: block; color: #8a837c; font-size: 10px; } .vg-who b { font-weight: 600; }
.vg-tot { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 10px 0 8px; } .vg-tot div { background: #f7f6f3; padding: 6px; text-align: center; color: #57534e; font-size: 10px; } .vg-tot b { display: block; font-size: 14px; color: #1c1917; }
.vg-dec { display: flex; justify-content: space-between; border-top: 1.5px solid #1c1917; padding-top: 6px; font-weight: 600; } .vg-dec b { color: #1e7b4f; }
.vg-import { display: grid; gap: 12px; justify-items: start; }
.vg-xls { border-radius: 4px; overflow: hidden; } .vg-xls table { border-collapse: collapse; }
.vg-xls th, .vg-xls td { border: 1px solid #ecebe7; padding: 5px 8px; white-space: nowrap; text-align: left; } .vg-xls th { background: #f6f5f2; color: #57534e; font-weight: 600; }
.vg-xls td:first-child, .vg-xls th:first-child { color: #a8a29e; background: #fafaf8; text-align: center; }
.vg-checks { width: 380px; margin-left: 40px; padding: 12px 14px; }
.vg-phoneish { width: 330px; border-radius: 22px; padding: 14px; position: relative; overflow: hidden; }
.vg-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; } .vg-head b { font-size: 16px; flex: 1; } .vg-head span { color: #57534e; }
.vg-link { color: #0b5fa5 !important; font-weight: 600; }
.vg-chip { border: 1px solid #e7e5e2; border-radius: 999px; padding: 3px 9px; } .vg-chip.on { background: #1c1917; color: #fff !important; border-color: #1c1917; }
.vg-sel { display: flex; align-items: center; gap: 9px; padding: 8px 2px; border-top: 1px solid #efeeea; white-space: nowrap; } .vg-sel span { color: #8a837c; margin-left: auto; } .vg-sel b { font-variant-numeric: tabular-nums; }
.vg-sel i { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid #cfccc6; display: grid; place-items: center; font-style: normal; font-size: 11px; color: #fff; }
.vg-sel.on i { background: #0b5fa5; border-color: #0b5fa5; } .vg-sel .od { color: #b42318; background: #fdecea; border-radius: 999px; padding: 1px 6px; font-size: 9.5px; font-weight: 600; margin: 0; }
.vg-sheet { margin-top: 8px; border-radius: 14px; background: #fff; box-shadow: 0 -8px 24px -12px rgba(0,0,0,.3), 0 0 0 1px #efeeea; padding: 10px 12px; }
.vg-act { padding: 7px 0; border-top: 1px solid #efeeea; } .vg-act.on { color: #0b5fa5; font-weight: 650; }
.vg-barb { margin-top: 10px; background: #1c1917; color: #fff; border-radius: 10px; text-align: center; padding: 9px; font-weight: 600; }
.vg-h5 { font-weight: 650; margin: 4px 0 4px; }
.vg-resp { display: grid; grid-template-columns: 1fr auto; padding: 8px 0; border-top: 1px solid #efeeea; } .vg-resp span { color: #57534e; grid-column: 1; } .vg-resp i { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; color: #1e7b4f; font-weight: 600; background: #e6f4ec; border-radius: 999px; padding: 2px 8px; font-size: 10px; }
.vg-pills { display: flex; gap: 6px; margin: 4px 0 10px; } .vg-pills span { border: 1px solid #e7e5e2; border-radius: 999px; padding: 3px 10px; color: #57534e; } .vg-pills .on { background: #1c1917; color: #fff; border-color: #1c1917; }
.vg-cols2 { display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: start; } .vg-cols2 .vg-card { width: auto; padding: 10px 12px; }
.vg-per { padding: 5px 8px; border-radius: 6px; } .vg-per.sub { padding-left: 20px; color: #57534e; } .vg-per.on { background: #e8f1fa; color: #0b5fa5; font-weight: 600; }
.vg-menus { display: flex; gap: 10px; align-items: flex-start; } .vg-menu { width: 150px; border-radius: 16px; padding: 12px; }
.vg-menu b { display: block; font-size: 12px; } .vg-menu span { display: block; color: #8a837c; font-size: 10px; margin-bottom: 6px; } .vg-menu div { padding: 7px 0; border-top: 1px solid #efeeea; font-weight: 500; }

/* Bare frames: with <body data-frames="bare">, the app's screens show with no device drawn around them (v7, the features page). */
[data-frames="bare"] .ph { background: #fff; padding: 0; border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(26, 26, 23, .09), 0 2px 4px -2px rgba(26, 26, 23, .08), 0 34px 64px -30px rgba(30, 30, 25, .42); }
[data-frames="bare"] .ph-screen { border-radius: 16px; }
[data-frames="bare"] .ph-status { height: 10px; padding: 0; overflow: hidden; }
[data-frames="bare"] .ph-status > span:first-child, [data-frames="bare"] .ph-status > i { visibility: hidden; }
[data-frames="bare"].bc-offline .ph-status { height: auto; padding: 9px 14px 2px; }
[data-frames="bare"] .win-bar, [data-frames="bare"] .vg-bar { display: none; }

/* Overviews (ov.js): the top of each person's workspace on develop. Only red (act now) and the app's blue. */
.ov { --ink: #1c1917; --ink-2: #57534e; --ink-3: #8a837c; --line: #e7e5e2; --fill: #f3f2ef; --brand: #0b5fa5; --bad: #b42318;
  width: var(--ov-w, 380px); background: #fff; border-radius: 16px; overflow: hidden; font: 11.5px/1.4 "Geist", system-ui, sans-serif; color: var(--ink); text-align: left;
  box-shadow: 0 0 0 1px rgba(26, 26, 23, .09), 0 2px 4px -2px rgba(26, 26, 23, .08), 0 34px 64px -30px rgba(30, 30, 25, .42); }
.ov a { color: var(--brand); font-weight: 600; }
.ov-top { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #fafaf9; }
.ov-top b { font-size: 13px; font-weight: 650; }
.ov-tabs { display: flex; gap: 16px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.ov-tabs span { padding: 8px 0; color: var(--ink-3); font-weight: 600; } .ov-tabs .on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.ov-body { padding: 12px 14px 16px; }
.ov-scope, .ov-note { color: var(--ink-3); font-size: 10.5px; } .ov-scope { margin-bottom: 8px; }
.ov-lead { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; margin: 0 0 4px; }
.ov-lead b { font-weight: 600; }
.ov-big { font-size: 22px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: 6px; }
.ov-big small { display: block; font-size: 10.5px; color: var(--ink-3); font-weight: 500; letter-spacing: 0; } .ov-big small b { font-weight: 500; }
.ov-weeks { display: flex; align-items: flex-end; gap: 4px; height: 40px; margin: 8px 0 2px; } .ov-weeks i { flex: 1; background: #d9d6d0; border-radius: 2px 2px 0 0; } .ov-weeks i:last-child { background: var(--brand); }
.ov-h { font-size: 12px; font-weight: 650; margin: 14px 0 5px; display: flex; justify-content: space-between; align-items: baseline; } .ov-h a { font-weight: 500; font-size: 11px; }
.ov-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 6px 0; border-top: 1px solid #f0efec; }
.ov-row span { color: var(--ink-2); } .ov-row span small { color: var(--ink-3); font-size: 9.5px; margin-left: 3px; }
.ov-row b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; } .ov-row b small { color: var(--ink-3); font-weight: 500; margin-left: 5px; font-size: 10px; }
.ov-row.bad span, .ov-row.bad b { color: var(--bad); }
.ov-bar { display: flex; gap: 2px; height: 10px; border-radius: 3px; overflow: hidden; margin: 6px 0; } .ov-bar i { display: block; }
.ov-legend { display: flex; flex-wrap: wrap; gap: 3px 10px; color: var(--ink-2); font-size: 10px; }
.ov-legend span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-right: 4px; background: var(--c); }
.ov-hbar { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 8px; padding: 3px 0; } .ov-hbar > i { height: 7px; border-radius: 0 3px 3px 0; background: #cfcbc4; display: block; }
.ov-hbar span { color: var(--ink-2); white-space: nowrap; } .ov-hbar b { font-weight: 600; font-variant-numeric: tabular-nums; font-size: 10.5px; white-space: nowrap; }
.ov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .ov-grid div { background: var(--fill); border-radius: 8px; padding: 7px 8px; color: var(--ink-2); font-size: 10px; line-height: 1.3; }
.ov-grid b { display: block; font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; } .ov-grid .bad b { color: var(--bad); }
.ov-days { display: flex; gap: 5px; margin-bottom: 10px; } .ov-days span { border: 1px solid var(--line); border-radius: 8px; padding: 4px 7px; color: var(--ink-2); font-size: 10.5px; white-space: nowrap; }
.ov-days .on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ov-switch { display: inline-flex; background: var(--fill); border-radius: 999px; padding: 2px; margin-top: 12px; } .ov-switch span { padding: 4px 10px; border-radius: 999px; font-size: 10.5px; color: var(--ink-2); }
.ov-switch .on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.ov-lesson { display: flex; gap: 10px; align-items: baseline; padding: 7px 0; border-top: 1px solid #f0efec; } .ov-lesson time { width: 72px; color: var(--ink-2); font-variant-numeric: tabular-nums; flex: none; }
.ov-lesson b { font-weight: 600; } .ov-lesson .go { margin-left: auto; color: var(--brand); font-weight: 600; white-space: nowrap; } .ov-lesson .done { margin-left: auto; color: var(--ink-3); white-space: nowrap; }
.ov-list { margin-top: 14px; border-top: 1px solid var(--line); } .ov-list div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f0efec; } .ov-list b { font-weight: 600; } .ov-list span { color: var(--ink-3); }
