/* v741 THE GROWTH BOARD (owner, 2026-10-23: "1A 2A 3A 4A 5A, build it" on /artifact/VsDyZEV7TvNHTK2gb1cSTS) - the Partner app's
   Dashboard drawn as an OHM board: OHM's blk- look (a bar with the board, Refresh, Arrange, + Add block; a 12-column grid of white cards;
   a block title with its pills and the door to the list behind it; a footnote under a hairline), at OHM's sizes - the Partner app runs
   at .8 as OHM's page does. Weights stop at 600. A phone gets one column and the tables scroll on their own. */
.mb { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: #1B2432; padding: 2px 2px 24px; }
.mb-wait { padding: 40px 12px; text-align: center; color: #5B6470; font-size: 14px; }
.mb-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.mb-lbl { font-size: 12px; color: #5B6470; }
.mb-pick { height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid #E1E4EA; border-radius: 6px; background: #fff; font-size: 15px; font-weight: 600; }
.mb-chip { font-size: 11px; padding: 3px 9px; border-radius: 10px; background: #DBEAFE; color: #1B2432; white-space: nowrap; }
.mb-find { position: relative; flex: 1 1 280px; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px; border: 1px solid #E1E4EA; border-radius: 6px; background: #F7F8FA; color: #5B6470; }
.mb-find input { flex: 1; min-width: 0; height: 30px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 13.5px; color: #1B2432; }
.mb-find .mg-find-res { top: 42px; }
.mb-btn { height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid #E1E4EA; border-radius: 6px; background: #fff; color: #1B2432; font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
.mb-btn:hover { border-color: #9BBCE6; }
.mb-btn.pri { background: #9BCCF2; border-color: #9BCCF2; color: #111827; font-weight: 600; }
.mb-btn.on { border-color: #1F4E9C; background: #EEF2F9; color: #1F4E9C; font-weight: 600; }
.mb-btn:focus-visible, .mb-tile:focus-visible, .mb-need:focus-visible, .mb-go:focus-visible, .mb-row:focus-visible, .mb-now button:focus-visible { outline: 2px solid #1F4E9C; outline-offset: 1px; }
.mb-libw { position: relative; }
.mb-lib { position: absolute; right: 0; top: 42px; z-index: 60; width: 340px; max-width: 80vw; background: #fff; border: 1px solid #E1E4EA; border-radius: 8px; box-shadow: 0 10px 28px rgba(15,23,42,.16); padding: 6px; display: grid; gap: 2px; }
.mb-libi { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px; border-radius: 6px; font-size: 13px; }
.mb-libi:hover { background: #F7F8FA; }
.mb-libi span { display: grid; gap: 2px; min-width: 0; } .mb-libi small { color: #5B6470; font-size: 11.5px; }
.mb-libi .mb-btn { height: 28px; padding: 0 12px; }
.mb-info { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; color: #5B6470; margin: 2px 0 12px; }
.mb-info b { color: #1B2432; font-weight: 600; } .mb-info .r { margin-left: auto; }
.mb-keep { margin: -4px 0 12px; font-size: 12.5px; color: #7A5A12; background: #FBF3E4; border: 1px solid #F0E2C4; border-radius: 6px; padding: 7px 10px; }
.mb-keep[hidden] { display: none; }
.mb-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; grid-auto-flow: row dense; }
.mb-cell { min-width: 0; position: relative; }
.mb-cell.s5 { grid-column: span 5; } .mb-cell.s6 { grid-column: span 6; } .mb-cell.s7 { grid-column: span 7; } .mb-cell.s12 { grid-column: span 12; }
.mb-cell.arr > .mb-card, .mb-cell.arr .mb-tgrid { outline: 2px dashed #9BBCE6; outline-offset: 2px; }
.mb-tools { position: absolute; z-index: 5; top: -10px; right: 10px; display: flex; gap: 4px; }
.mb-tools button { height: 26px; min-width: 28px; padding: 0 9px; border: 1px solid #9BBCE6; border-radius: 6px; background: #fff; color: #1F4E9C; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; box-shadow: 0 2px 6px rgba(15,23,42,.08); }
.mb-tools button:disabled { opacity: .4; cursor: default; }
.mb-card { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; background: #fff; border: 1px solid #E1E4EA; border-radius: 8px; min-width: 0; }
.mb-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .mb-h b { font-size: 14.5px; font-weight: 600; }
.mb-pill { font-size: 11px; padding: 2px 8px; border-radius: 10px; background: #F4F5F7; color: #5B6470; white-space: nowrap; } .mb-pill.w { background: #DBEAFE; color: #1B2432; }
.mb-go { margin-left: auto; border: 0; background: none; color: #2B5FAE; font-size: 19px; line-height: 1; padding: 0 2px; cursor: pointer; }
.mb-note { font-size: 11.8px; color: #5B6470; line-height: 1.5; margin-top: auto; padding-top: 8px; border-top: 1px solid #EEF0F3; }
.mb-none { font-size: 13px; color: #5B6470; padding: 18px 0; }
.mb-sub { font-size: 12px; color: #5B6470; margin-top: 4px; }
.mb-scroll { overflow-x: auto; }
/* Needs you */
.mb-needs { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 10px; border-left: 4px solid #B7791F; padding: 10px 14px; }
.mb-needs.calm { border-left-color: #1E7B4B; }
.mb-needs-h { display: flex; align-items: center; gap: 6px; margin-right: 6px; } .mb-needs-h b { font-size: 14px; font-weight: 600; }
.mb-cnt { font-size: 11px; font-weight: 600; background: #FBF3E4; color: #7A5A12; border-radius: 999px; padding: 0 7px; }
.mb-need { display: inline-flex; align-items: center; gap: 10px; min-height: 30px; padding: 4px 10px; border: 1px solid #F0E2C4; border-radius: 6px; background: #FFFBF3; font: inherit; font-size: 12.5px; color: #1B2432; cursor: pointer; text-align: left; }
.mb-need:hover { border-color: #D9B877; } .mb-need span { color: #2B5FAE; font-weight: 600; white-space: nowrap; }
.mb-calm { font-size: 13px; color: #1E7B4B; }
/* the six numbers */
.mb-tgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.mb-tcell { min-width: 0; }
.mb-tile { width: 100%; gap: 2px; padding: 12px 14px 8px; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.mb-tile:hover { border-color: #9BBCE6; }
.mb-tile small { font-size: 12px; color: #5B6470; }
.mb-tv { font-size: 27px; font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-tv small { font-size: 14px; color: #5B6470; font-weight: 500; }
.mb-td { font-size: 11.8px; font-weight: 600; min-height: 16px; }
.mb-tn { font-size: 10.8px; color: #7C8494; }
.mb-spark { display: block; width: 100%; height: 34px; margin-top: 4px; }
.mb-chg { font-weight: 600; white-space: nowrap; } .mb-flat { color: #7C8494; font-weight: 500; white-space: nowrap; }
/* the Growth MIS */
.mb-mis { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; min-width: 640px; }
.mb-mis th { font-size: 10.5px; letter-spacing: .05em; color: #5B6470; font-weight: 600; text-align: right; padding: 8px 10px; background: #F4F6FA; border-bottom: 1px solid #E1E4EA; vertical-align: bottom; }
.mb-mis th small { display: block; font-size: 10px; letter-spacing: 0; font-weight: 400; } .mb-mis th:first-child { text-align: left; }
.mb-mis td { padding: 7px 10px; border-bottom: 1px solid #F1F3F5; } .mb-mis td small { display: block; font-size: 11px; color: #7C8494; }
.mb-mis td.n, .mb-tab td.n { text-align: right; white-space: nowrap; } .mb-mis td.b, .mb-tab td.b { font-weight: 600; } .mb-mis td.m { color: #5B6470; }
.mb-mis td.go, .mb-tab td.go { width: 14px; color: #2B5FAE; text-align: right; }
.mb-row { cursor: pointer; } .mb-row:hover td { background: #F7F9FD; }
.mb-mis tr.mb-sec td { font-size: 10.5px; letter-spacing: .06em; color: #5B6470; padding-top: 14px; border-bottom: 0; }
.mb-mis tr.mb-sec td i { font-style: normal; letter-spacing: 0; }
/* charts */
.mb-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 11.5px; color: #5B6470; }
.mb-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.mb-chart { width: 100%; height: auto; display: block; } .mb-chart .ax { font-size: 10.5px; fill: #7C8494; } .mb-chart .lb { font-size: 12px; font-weight: 600; fill: #1B2432; }
.mb-fun { display: grid; gap: 14px; margin: 8px 0 6px; }
.mb-fr { display: grid; grid-template-columns: 104px minmax(0, 1fr) 40px; align-items: center; column-gap: 10px; row-gap: 2px; }
.mb-fl { font-size: 13px; } .mb-ft { height: 22px; background: #F4F5F7; border-radius: 4px; overflow: hidden; display: block; } .mb-ft span { display: block; height: 100%; border-radius: 4px; }
.mb-fr b { font-size: 16px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; } .mb-fr small { grid-column: 2 / 4; font-size: 11.5px; color: #5B6470; }
.mb-now { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.mb-now button { border: 0; border-radius: 6px; padding: 8px 10px; font: inherit; font-size: 11.5px; text-align: left; cursor: pointer; color: #1B2432; }
.mb-now b { display: block; font-size: 18px; font-weight: 600; }
.mb-now .st-invited { background: #F4F5F7; } .mb-now .st-waiting { background: #FBF3E4; } .mb-now .st-setting { background: #C7D8F3; }
.mb-now .st-using { background: #6F97DB; color: #fff; } .mb-now .st-paying { background: #1F4E9C; color: #fff; }
.mb-trio { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mb-trio div { background: #F6F7F9; border-radius: 6px; padding: 8px 10px; min-width: 0; }
.mb-trio b { display: block; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-trio small { font-size: 11.5px; color: #5B6470; font-weight: 600; }
.mb-coh { width: 100%; border-collapse: separate; border-spacing: 4px; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.mb-coh th { font-size: 10.5px; color: #5B6470; font-weight: 600; text-align: center; } .mb-coh th:first-child, .mb-coh td:first-child { text-align: left; white-space: nowrap; }
.mb-coh td.n { text-align: center; color: #5B6470; }
.mb-heat { display: block; text-align: center; border-radius: 4px; padding: 7px 0; font-weight: 600; font-size: 12px; white-space: nowrap; }
.mb-tab { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.mb-tab th { font-size: 10.5px; letter-spacing: .04em; color: #5B6470; font-weight: 600; text-align: right; padding: 7px 8px; background: #F4F6FA; border-bottom: 1px solid #E1E4EA; white-space: nowrap; }
.mb-tab th:first-child { text-align: left; }
.mb-tab td { padding: 8px; border-bottom: 1px solid #F1F3F5; } .mb-tab td .mb-spark { width: 110px; height: 24px; margin: 0 0 0 auto; }
.mb-tab tr.cold td { background: #FFFBF3; }
.mb-lv { font-size: 10.5px; font-weight: 600; padding: 1px 6px; border-radius: 6px; background: #EEF2F9; color: #1F4E9C; margin-left: 4px; }
.mb-cr { display: grid; grid-template-columns: 150px minmax(0, 1fr) 28px 64px; align-items: center; gap: 10px; font-size: 13px; }
.mb-ct { display: flex; height: 16px; background: #F4F5F7; border-radius: 3px; overflow: hidden; } .mb-ct span { display: block; height: 100%; }
.mb-cr b { text-align: right; font-weight: 600; } .mb-cr small { font-size: 11.5px; color: #1F4E9C; font-weight: 600; }
.mb-mix { display: flex; height: 14px; border-radius: 4px; overflow: hidden; gap: 2px; } .mb-mix span { display: block; height: 100%; }
.mb-add { width: 100%; height: 48px; border: 1px dashed #C9CED6; border-radius: 8px; background: none; color: #5B6470; font: inherit; font-size: 13px; cursor: pointer; }
.mb-add:hover { border-color: #9BBCE6; color: #1F4E9C; }
.mb-foot { font-size: 11.8px; color: #5B6470; margin-top: 12px; }
/* the list behind a line - under the Manager's dialogs, above the page */
.mb-veil { position: fixed; inset: 0; z-index: 100001; background: rgba(15,23,42,.38); display: grid; place-items: center; padding: 16px; }
.mb-popw { width: min(760px, 100%); max-height: 84vh; display: flex; flex-direction: column; background: #fff; border-radius: 10px; box-shadow: 0 18px 50px rgba(15,23,42,.3);
           font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: #1B2432; zoom: .8; }
.mb-ph { display: flex; align-items: baseline; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #EEF0F3; } .mb-ph b { font-size: 16px; font-weight: 600; }
.mb-ph small { color: #5B6470; font-size: 12.5px; }
.mb-x { margin-left: auto; border: 0; background: none; font-size: 22px; line-height: 1; color: #5B6470; cursor: pointer; }
.mb-pb { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 12px 16px; overflow-y: auto; }
.mb-pcol h4 { margin: 0 0 6px; font-size: 12px; letter-spacing: .04em; color: #5B6470; font-weight: 600; text-transform: uppercase; }
.mb-pcol h4 span { color: #1B2432; margin-left: 6px; }
.mb-pi { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid #F1F3F5; font-size: 13.5px; }
.mb-pi small { color: #5B6470; font-size: 12px; white-space: nowrap; }
.mb-plink { border: 0; background: none; padding: 0; font: inherit; color: #1F4E9C; cursor: pointer; text-align: left; }
.mb-plink:hover { text-decoration: underline; }
.mb-pf { padding: 10px 16px 14px; border-top: 1px solid #EEF0F3; display: flex; justify-content: flex-end; }
@media (max-width: 1100px) { .mb-tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .mb-grid { grid-template-columns: minmax(0, 1fr); }
  .mb-cell.s5, .mb-cell.s6, .mb-cell.s7, .mb-cell.s12 { grid-column: auto; }
  .mb-tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mb-trio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mb-info .r { margin-left: 0; }
}
@media (max-width: 768px) {
  .mb-find { display: none; }                                                /* the Partner app's own top row carries Find here */
  .mb-now { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mb-cr { grid-template-columns: 110px minmax(0, 1fr) 24px 56px; }
  .mb-pb { grid-template-columns: minmax(0, 1fr); }
  .mb-popw { zoom: 1; }
}
@media (prefers-reduced-motion: reduce) { .mb * { transition: none !important; } }

/* v771 THE TWO TABS (owner, 2026-10-30: "create two tabs like we have in voucher section of ohm" -> "1B 2B ... build it" on
   /artifact/WPzNr7aeY6XJ2XhFE8c4kV) - OHM's sheet tabs: a grey strip, the open tab white with a blue line on top */
.mb-tabs { display: flex; align-items: flex-end; height: 38px; box-sizing: border-box; padding: 6px 10px 0; margin: 0 0 12px; background: #E8ECF1; box-shadow: inset 0 -1px 0 #C9D1DC; border-radius: 8px 8px 0 0; overflow-x: auto; scrollbar-width: none; }
.mb-tabs::-webkit-scrollbar { display: none; }
.mb-tabs button { position: relative; flex: none; height: 32px; padding: 0 18px; border: 1px solid transparent; border-bottom: 0; border-radius: 7px 7px 0 0; background: transparent; color: #4A5462; font: inherit; font-size: 13.5px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.mb-tabs button + button::before { content: ''; position: absolute; left: -1px; top: 9px; bottom: 9px; width: 1px; background: #C3CBD6; }
.mb-tabs button.on::before, .mb-tabs button.on + button::before { display: none; }
.mb-tabs button:hover:not(.on) { background: #F1F4F7; }
.mb-tabs button.on { background: #fff; border-color: #C9D1DC; color: #111827; font-weight: 600; box-shadow: inset 0 2px 0 #1F5FA8; }
.mb-tabs button:focus-visible { outline: 2px solid #1F5FA8; outline-offset: -2px; }
.mb-tabn { display: inline-block; min-width: 17px; margin-left: 4px; padding: 0 5px; border-radius: 9px; background: #FBF3E4; color: #7A5A12; font-size: 11px; font-weight: 700; line-height: 17px; text-align: center; }

/* v771 THE LINKS TAB (static/manager/links.js) - boxes with words wear the light scale and black words (light buttons, black text);
   the dark blues only on bars and dots */
.lk-sel { height: 36px; padding: 0 10px; border: 1px solid #E1E4EA; border-radius: 6px; background: #fff; font: inherit; font-size: 13px; color: #1B2432; max-width: 220px; }
.lk-steps { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); margin: 6px 0 4px; }
.lk-step { position: relative; padding: 11px 12px 9px; border: 1px solid #E1E4EA; border-radius: 8px; background: #fff; display: grid; gap: 2px; margin-right: 30px; align-content: start; min-width: 0; }
.lk-step:last-child { margin-right: 0; }
.lk-step small { font-size: 11.5px; color: #5B6470; line-height: 1.3; } .lk-step b { font-size: 24px; font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; }
.lk-step span { font-size: 11px; color: #5B6470; line-height: 1.35; }
.lk-step .lk-bar { height: 6px; border-radius: 3px; background: #F4F5F7; overflow: hidden; margin-top: 4px; } .lk-step .lk-bar i { display: block; height: 100%; border-radius: 3px; }
.lk-arrow { position: absolute; right: -30px; top: 42%; transform: translateY(-50%); width: 30px; text-align: center; font-size: 10.5px; font-weight: 700; color: #1F4E9C; line-height: 1.2; }
.lk-arrow::after { content: '\2192'; display: block; font-size: 14px; color: #9AA6B8; }
.lk-now { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.lk-now button { border: 1px solid transparent; border-radius: 6px; padding: 8px 10px; font: inherit; font-size: 11px; text-align: left; cursor: pointer; color: #1B2432; line-height: 1.3; }
.lk-now button.on { border-color: #1F4E9C; }
.lk-now b { display: block; font-size: 17px; font-weight: 600; }
.lk-went .mb-cr { grid-template-columns: 230px minmax(0, 1fr) 40px 104px; }
.lk-went .mb-cl small { display: block; color: #5B6470; font-weight: 400; font-size: 11.5px; }
.lk-filt { display: flex; gap: 6px; flex-wrap: wrap; }
.lk-filt button { font: inherit; font-size: 12px; padding: 4px 10px; border: 1px solid #E1E4EA; border-radius: 999px; background: #fff; color: #1B2432; white-space: nowrap; cursor: pointer; }
.lk-filt button.on { background: #EEF2F9; border-color: #1F4E9C; color: #1F4E9C; font-weight: 600; }
.lk-tab { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 900px; font-size: 13px; }
.lk-tab th { font-size: 10.5px; letter-spacing: .05em; color: #5B6470; font-weight: 600; text-align: left; padding: 8px 10px; background: #F4F6FA; border-bottom: 1px solid #E1E4EA; white-space: nowrap; }
.lk-tab td { padding: 8px 10px; border-bottom: 1px solid #F1F3F5; vertical-align: middle; } .lk-tab td small { display: block; font-size: 11px; color: #7C8494; }
.lk-tab td.n, .lk-tab th.n { text-align: right; }
.lk-num { font-family: Consolas, "Courier New", monospace; font-size: 12.5px; white-space: nowrap; }
.lk-dots { display: inline-flex; gap: 2px; vertical-align: middle; } .lk-dots i { width: 12px; height: 6px; border-radius: 3px; display: block; }
.lk-st { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 10px; white-space: nowrap; display: inline-block; color: #1B2432; }
.lk-act { height: 28px; padding: 0 10px; border: 1px solid #E1E4EA; border-radius: 6px; background: #fff; font: inherit; font-size: 12px; color: #1B2432; cursor: pointer; white-space: nowrap; }
.lk-act.pri { background: #9BCCF2; border-color: #9BCCF2; color: #111827; font-weight: 600; }
.lk-wait { padding: 16px; border: 1px solid #F0E2C4; border-radius: 8px; background: #FFFBF3; font-size: 13.5px; color: #1B2432; }
.lk-back { position: fixed; inset: 0; background: rgba(17, 24, 39, .32); z-index: 20000; display: grid; place-items: start center; padding: 56px 16px 16px; overflow-y: auto; }
.lk-win { width: min(660px, 100%); box-sizing: border-box; background: #fff; border-radius: 12px; box-shadow: 0 24px 60px rgba(17, 24, 39, .25); padding: 20px 22px; display: grid; gap: 11px; font-size: 13.5px; color: #1B2432; }
.lk-win h3 { margin: 0; font-size: 17px; font-weight: 600; } .lk-win p { margin: 0; color: #5B6470; font-size: 13px; }
.lk-win label { font-size: 12px; font-weight: 600; }
.lk-win textarea { width: 100%; box-sizing: border-box; border: 1px solid #DCE2EC; border-radius: 8px; padding: 9px 11px; font: 13px/1.55 Consolas, "Courier New", monospace; color: #1B2432; resize: vertical; }
.lk-src { display: flex; gap: 8px; flex-wrap: wrap; }
.lk-src button, .lk-src label { font: inherit; font-size: 12.5px; padding: 5px 11px; border: 1px solid #E1E4EA; border-radius: 999px; background: #fff; color: #1B2432; cursor: pointer; font-weight: 400; }
.lk-src .on { background: #EEF2F9; border-color: #1F4E9C; color: #1F4E9C; font-weight: 600; }
.lk-rows { border: 1px solid #E1E4EA; border-radius: 8px; overflow: hidden; max-height: 320px; overflow-y: auto; }
.lk-r { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 12px; border-top: 1px solid #F1F3F5; }
.lk-r:first-child { border-top: 0; } .lk-r small { color: #5B6470; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-done { font-size: 12px; font-weight: 600; color: #1E7B4B; white-space: nowrap; }
.lk-foot { display: flex; justify-content: flex-end; align-items: center; gap: 10px; flex-wrap: wrap; } .lk-foot small { color: #5B6470; font-size: 12px; margin-right: auto; max-width: 400px; }
.lk-err { color: #B42318; font-size: 12.5px; margin-right: auto; }
@media (max-width: 900px) { .lk-steps, .lk-now { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 8px; } .lk-step:nth-child(4n) { margin-right: 0; } .lk-step:nth-child(4n) .lk-arrow { display: none; } .lk-went .mb-cr { grid-template-columns: 130px minmax(0, 1fr) 34px 84px; } }

/* v798 THE FUNNEL ON A PHONE (owner, 2026-10-31, a customer's screenshots: "customer complaint, bad view ... never ever it should happen"). Four
   or five boxes a row left a phone 60px per box: the words ran past the borders and the % arrows sat on the words. On a phone each step is one
   full-width row - the number on the left, its words beside it, the bar under them - and the % with a down arrow sits in the gap below it;
   the "Right now" tiles go two a row. The !important beats the five-column inline grid of "Already in the network" (links.js). */
@media (max-width: 640px) {
  .lk-steps { grid-template-columns: minmax(0, 1fr) !important; row-gap: 0; }
  .lk-step, .lk-step:nth-child(4n) { margin: 0 0 28px; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 10px 12px; }
  .lk-step:last-child { margin-bottom: 0; }
  .lk-step b { grid-column: 1; grid-row: 1 / span 3; align-self: center; min-width: 48px; font-size: 22px; }
  .lk-step small, .lk-step span { grid-column: 2; }
  .lk-step small { font-size: 12.5px; font-weight: 600; color: #1B2432; }
  .lk-step .lk-bar { grid-column: 1 / -1; }
  .lk-step .lk-arrow, .lk-step:nth-child(4n) .lk-arrow { display: flex; align-items: center; justify-content: center; gap: 4px; left: 0; right: auto;
    top: auto; bottom: -25px; width: 100%; transform: none; font-size: 11px; }
  .lk-step .lk-arrow::after { content: '\2193'; order: -1; display: inline; font-size: 13px; }
  .lk-now { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* v864 (owner, 2026-11-02: "make its header like that of voucher section of books" - the Growth | Links switch is this board's own): on a phone, where OHM's bar
   stands, the board's tabs are pills, Books' way - round, the chosen one light blue; a computer keeps its folder tabs */
@media (max-width: 768px) {
  html.yb-partner #users-view .mb-tabs { height: auto; padding: 0; margin: 0 0 12px; background: none; box-shadow: none; border-radius: 0; gap: 8px; align-items: center; }
  html.yb-partner #users-view .mb-tabs button { height: 36px; padding: 0 14px; border: 1px solid #DCE2EC; border-radius: 999px; background: #fff; color: #334155; font-size: 14px; }
  html.yb-partner #users-view .mb-tabs button + button::before { display: none; }
  html.yb-partner #users-view .mb-tabs button.on { background: #EAF2FC; border-color: #BFD7F3; color: #0B1F3A; font-weight: 600; box-shadow: none; }
}

/* v1002 - Projections, a CP's first tab under Overview (static/manager/projections.js) */
.mgp-ask { background: #fff; border: 1px solid #E3E6EB; border-radius: 12px; padding: 22px 24px; max-width: 640px; display: grid; gap: 12px; box-sizing: border-box; }
.mgp-ask h3 { margin: 0; font-size: 17px; font-weight: 700; color: #0B1F3A; text-wrap: balance; }
.mgp-ask p { margin: 4px 0 0; font-size: 13px; color: #5B6470; line-height: 1.45; }
.mgp-askf { display: flex; gap: 10px; }
.mgp-askf input { flex: 0 0 120px; width: 120px; height: 44px; box-sizing: border-box; border: 1px solid #CBD5E1; border-radius: 8px; padding: 0 12px; font-family: inherit; font-size: 16px; font-weight: 600; color: #111827; background: #fff; }
.mgp-askf button { height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid #9BCCF2; background: #9BCCF2; color: #111827; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.mgp-askf button:hover { background: #8AC2EE; }
.mgp-err { color: #B42318; font-size: 13px; }
.mgp { background: #fff; border: 1px solid #E3E6EB; border-radius: 12px; padding: 16px 18px; box-sizing: border-box; }
.mgp-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.mgp-top h3 { margin: 0; flex: 1 1 auto; font-size: 15px; font-weight: 700; color: #0B1F3A; }
.mgp-top span { font-size: 12.5px; color: #5B6470; }
.mgp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 24px; }
.mgp-nums { display: grid; gap: 8px; align-content: start; min-width: 0; }
.mgp-h { display: none; }
.mgp-fs { display: grid; gap: 8px; }
.mgp-f { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; font-size: 13px; color: #111827; }
.mgp-f .in { display: flex; align-items: center; gap: 6px; }
.mgp-f input, .mgp-f select { height: 34px; box-sizing: border-box; border: 1px solid #CBD5E1; border-radius: 8px; font-family: inherit; font-weight: 600; color: #111827; background: #fff; }
.mgp-f input { width: 84px; padding: 0 9px; font-size: 14px; text-align: right; font-variant-numeric: tabular-nums; }
.mgp-f select { padding: 0 8px; font-size: 13px; }
.mgp-f .u { min-width: 52px; font-size: 12px; color: #5B6470; white-space: nowrap; }
.mgp-fee { background: #F7FAFD; border: 1px solid #E3E6EB; border-radius: 8px; padding: 8px 10px; font-size: 12.5px; color: #111827; }
.mgp-how { font-size: 12.5px; color: #5B6470; line-height: 1.55; margin-top: 6px; }
.mgp-how b { display: block; color: #111827; font-weight: 600; margin-bottom: 2px; }
.mgp-res { display: grid; gap: 10px; min-width: 0; align-content: start; }
.mgp-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mgp-t { background: #F7FAFD; border: 1px solid #E3E6EB; border-radius: 10px; padding: 10px 12px; min-width: 0; }
.mgp-t.hi { background: #EEF5FD; border-color: #BBD7F2; }
.mgp-t b { display: block; font-size: 19px; font-weight: 700; color: #0B1F3A; font-variant-numeric: tabular-nums; }
.mgp-t span { display: block; font-size: 12px; color: #5B6470; margin-top: 2px; }
.mgp-cht { font-size: 12.5px; font-weight: 600; color: #111827; margin-bottom: 4px; }
.mgp-ch svg { display: block; width: 100%; max-width: 524px; height: auto; }
.mgp-leg { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: #374151; margin-top: 4px; }
.mgp-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.mgp-leg i.s { background: #9BCCF2; }
.mgp-leg i.p { background: #1F4E9C; }
.mgp input:focus-visible, .mgp select:focus-visible, .mgp-askf input:focus-visible, .mgp-askf button:focus-visible { outline: 2px solid #1F5FA8; outline-offset: 1px; }
@media (max-width: 768px) {
  .mgp-ask { padding: 16px 14px; max-width: none; }
  .mgp-askf input { flex: 0 0 110px; width: 110px; }
  .mgp-askf button { flex: 1 1 auto; }
  .mgp { padding: 14px; }
  .mgp-top h3 { font-size: 16px; }
  .mgp-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .mgp-h { display: block; font-size: 13.5px; font-weight: 600; color: #111827; }
  .mgp-fs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mgp-f { grid-template-columns: minmax(0, 1fr); gap: 4px; min-width: 0; }
  .mgp-f.w, .mgp-fee { grid-column: 1 / -1; }
  .mgp-f > span:first-child { font-size: 13px; color: #374151; }
  .mgp-f .in { min-width: 0; }
  .mgp-f input { flex: 1 1 auto; width: 100%; min-width: 0; height: 42px; font-size: 16px; }
  .mgp-f select { width: 100%; min-width: 0; height: 42px; font-size: 15px; }
  .mgp-f .u { min-width: 0; flex: 0 0 auto; font-size: 12.5px; }
  .mgp-fee, .mgp-how, .mgp-cht, .mgp-leg { font-size: 13.5px; }
  .mgp-t b { font-size: 18px; }
}
