/* Portal v4, stage B3 (17 Nov 2026): the owner's desktop Holly dock (dock4.js) and the Holly
   page it expands to, with the v4 Apple finish (10-80-10-plan-v4.md): the dock reads like a
   macOS inspector (a slightly darker panel, flat white cards with no borders, sentence-case
   section headers, plain toolbar buttons). Every rule sits under html.v4-desk, which dock4.js
   sets only for the owner as himself on the computer or the iPad in landscape while
   CONFIG.PORTAL_V4 is on. Off, none of this applies. */
@media (min-width: 769px) {
  html.v4-desk {
    --v4-dock-w: clamp(340px, 24vw, 440px);
    --v4-tab-w: 44px;
    --v4-panel: #EFEFEA;
    --v4-ink: #111;
    --v4-mute: #6E6E68;
    --v4-line: #E3E3DC;
    --v4-fill: #E6E6E0;
    --v4-link: #8A6D00;
    --v4-red: #D6362B;
    --v4-y: #F5C500;
  }

  /* ---- room for the dock (docked) or the edge tab (folded, or the dock open over the page) ---- */
  html.v4-dock-wide #app-shell:not(.hidden) { padding-right: var(--v4-dock-w); }
  html.v4-dock-fold #app-shell:not(.hidden),
  html.v4-dock-over #app-shell:not(.hidden) { padding-right: var(--v4-tab-w); }

  /* Fluid width: pages fill the space between the sidebar and the dock (reading text keeps its own cap). */
  html.v4-desk .app-main { max-width: none; }
  html.v4-desk .on-page,
  html.v4-desk .d2-home,
  html.v4-desk.tt-today-on .d2-home,
  html.v4-desk .d2-page,
  html.v4-desk .d3-page,
  html.v4-desk .d4-page,
  html.v4-desk .d5-page,
  html.v4-desk .aa-wrap,
  html.v4-desk .wk .wk-list,
  html.v4-desk .wk .wk-sort,
  html.v4-desk #view-compliance.d2-on > .co-pane.d3-show { max-width: none; }
  html.v4-desk .d2-large { max-width: none; }

  /* Task, request and other side panels open inside the content, never over the dock. */
  html.v4-dock-wide .tt-panel, html.v4-dock-wide .cb.cb-rq, html.v4-dock-wide .bz-panel, html.v4-dock-wide .lb-panel,
  html.v4-dock-wide .d2-inspector, html.v4-dock-wide .pv2-drawer, html.v4-dock-wide .bk-insp-sheet { right: var(--v4-dock-w); }
  html.v4-dock-wide .tt-scrim { right: var(--v4-dock-w); }
  html.v4-dock-fold .tt-panel, html.v4-dock-fold .cb.cb-rq, html.v4-dock-fold .bz-panel, html.v4-dock-fold .lb-panel,
  html.v4-dock-fold .d2-inspector, html.v4-dock-fold .pv2-drawer, html.v4-dock-fold .bk-insp-sheet { right: var(--v4-tab-w); }
  html.v4-dock-fold .tt-scrim { right: var(--v4-tab-w); }
  html.v4-dock-wide.d2-insp-open .app-main { margin-right: 360px; width: calc(100% - 360px); }

  /* The toolbar: the search collapses to its glass on narrower windows, Team now steps aside below 1440. */
  html.v4-desk .v4-toggle {
    display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 9px; flex: 0 0 auto;
    border: 0; border-radius: 7px; background: none; color: #3a3a36; cursor: pointer;
    font: 600 13px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  }
  html.v4-desk .v4-toggle .v4-i { width: 15px; height: 15px; }
  html.v4-desk .v4-toggle.is-on { background: #EBEAE4; color: var(--v4-ink); }
  @media (hover: hover) { html.v4-desk .v4-toggle:hover { background: rgba(0, 0, 0, .05); } html.v4-desk .v4-toggle.is-on:hover { background: #E4E3DC; } }
  html.v4-desk .v4-toggle:focus-visible { outline: 2px solid var(--v4-ink); outline-offset: 1px; }
  html.v4-desk .v4-cnt { color: var(--v4-red); font-weight: 600; font-variant-numeric: tabular-nums; }
  html.v4-desk.v4-dock-wide #d2-topbar .d2-search,
  html.v4-desk.v4-dock-fold #d2-topbar .d2-search,
  html.v4-desk.v4-dock-over #d2-topbar .d2-search { flex: 0 0 auto; width: 32px; padding: 0; justify-content: center; }
  html.v4-desk.v4-dock-wide #d2-topbar .d2-search-lbl, html.v4-desk.v4-dock-wide #d2-topbar .d2-search kbd,
  html.v4-desk.v4-dock-fold #d2-topbar .d2-search-lbl, html.v4-desk.v4-dock-fold #d2-topbar .d2-search kbd,
  html.v4-desk.v4-dock-over #d2-topbar .d2-search-lbl, html.v4-desk.v4-dock-over #d2-topbar .d2-search kbd { display: none; }
  html.v4-desk #d2-topbar { min-width: 0; }
  html.v4-desk .d2-viewas { flex: 0 0 auto; }
}
@media (min-width: 769px) and (max-width: 1439px) {
  html.v4-desk:not(.v4-full) #d2-clock .d2-teamnow { display: none; }
}
@media (min-width: 769px) and (max-width: 1279px) {
  html.v4-desk #d2-topbar .d2-viewas > span { display: none; }
}

@media (min-width: 769px) {
  /* ---- the edge tab (below 1280, dock folded) ---------------------------------------------- */
  html.v4-desk .v4-tab { position: fixed; top: 0; right: 0; bottom: 0; z-index: 43; width: var(--v4-tab-w); background: var(--v4-panel); border-left: 1px solid var(--v4-line); }
  html.v4-desk .v4-tab[hidden] { display: none; }
  html.v4-desk .v4-tabbtn {
    width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 66px 0 0; border: 0; background: none; cursor: pointer;
    font: 400 12px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; color: var(--v4-mute);
  }
  @media (hover: hover) { html.v4-desk .v4-tabbtn:hover { background: rgba(0, 0, 0, .03); } }
  html.v4-desk .v4-tabbtn:focus-visible { outline: 2px solid var(--v4-ink); outline-offset: -3px; }
  html.v4-desk .v4-tcnt { color: var(--v4-red); font-size: 13px; font-weight: 600; }
  html.v4-desk .v4-tlbl { writing-mode: vertical-rl; letter-spacing: .1px; }
  html.v4-desk .v4-scrim { position: fixed; inset: 0; z-index: 61; background: rgba(17, 17, 17, .12); }
  html.v4-desk .v4-scrim[hidden] { display: none; }

  /* ---- the dock: #view-holly as a column on the right --------------------------------------- */
  html.v4-dock #view-holly {
    display: flex !important; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; z-index: 44;
    width: var(--v4-dock-w); margin: 0; padding: 0; box-sizing: border-box;
    background: var(--v4-panel); border-left: 1px solid var(--v4-line);
  }
  html.v4-dock-over #view-holly { z-index: 62; box-shadow: -14px 0 40px rgba(0, 0, 0, .14); border-left-color: transparent; }
  html.v4-dock #view-holly > :not(#holly-chat) { display: none !important; }
  html.v4-dock #view-holly #holly-chat {
    display: flex !important; flex-direction: column; flex: 1 1 auto; min-height: 0; height: auto; width: 100%; max-width: none;
    margin: 0; padding: 0; position: relative; --ck-bg: var(--v4-panel); background: var(--v4-panel);
  }
  html.v4-dock #view-holly .hc-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 8px 14px 12px; }
  html.v4-dock #view-holly .hc-list > *,
  html.v4-dock #view-holly .hc-composer > * { max-width: none; }
  html.v4-dock #view-holly .hc-composer { padding: 6px 12px 12px; border-top: 0; background: var(--v4-panel); }
  html.v4-dock #view-holly .hc-foot,
  html.v4-dock #view-holly .hc-needspin,
  html.v4-dock #view-holly [data-hc-threads] { display: none; }
  html.v4-dock #view-holly .ck-b { max-width: 92%; }
  html.v4-dock #view-holly .ck-cards { width: 100%; }
  html.v4-dock #view-holly .ck-card, html.v4-dock #view-holly .ck-q { max-width: none; }
  html.v4-desk #holly-chat > * { flex-shrink: 0; }
  html.v4-desk #holly-chat > .hc-list { flex-shrink: 1; }
  html.v4-dock #view-holly .ck-strip { width: 100%; padding: 0 14px 0 16px; box-sizing: border-box; }
  html.v4-full #view-holly .ck-strip { padding: 0 20px; }

  /* the header: Holly, the thread (switch), Expand, close */
  html.v4-desk #holly-chat .v4-dh {
    flex: 0 0 auto; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 10px 4px 14px; box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; color: var(--v4-ink);
  }
  html.v4-desk .v4-hav { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--v4-y); color: var(--v4-ink); display: grid; place-items: center; }
  html.v4-desk .v4-hav .v4-i { width: 15px; height: 15px; }
  html.v4-desk .v4-tt { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 2px 4px; margin-left: -4px; border: 0; border-radius: 6px; background: none; cursor: pointer; text-align: left; font: inherit; color: inherit; }
  @media (hover: hover) { html.v4-desk .v4-tt:hover { background: rgba(0, 0, 0, .04); } }
  html.v4-desk .v4-tt b { font-size: 15px; font-weight: 600; line-height: 19px; }
  html.v4-desk .v4-tsub { display: flex; align-items: center; gap: 2px; max-width: 100%; font-size: 12px; line-height: 15px; color: var(--v4-mute); }
  html.v4-desk .v4-tsub > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.v4-desk .v4-tsub .v4-i { width: 11px; height: 11px; flex: none; }
  html.v4-desk .v4-sp { flex: 1 1 auto; }
  html.v4-desk .v4-i { width: 14px; height: 14px; flex: none; }
  html.v4-desk .v4-tb {
    display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 8px; flex: none; border: 0; border-radius: 7px; background: none; cursor: pointer;
    font: 400 13px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; color: #3a3a36;
  }
  html.v4-desk .v4-tb.is-icon { width: 28px; padding: 0; justify-content: center; }
  html.v4-desk .v4-tb.is-link { color: var(--v4-link); }
  @media (hover: hover) { html.v4-desk .v4-tb:hover { background: rgba(0, 0, 0, .05); } }
  html.v4-desk .v4-tb:focus-visible, html.v4-desk .v4-tt:focus-visible, html.v4-desk .v4-row:focus-visible { outline: 2px solid var(--v4-ink); outline-offset: 1px; }

  /* the jobs strip opens the open jobs and their steps in place */
  html.v4-desk #holly-chat .ck-strip.is-open .ck-i { transform: rotate(90deg); }
  html.v4-desk .v4-jobs { flex: 0 0 auto; max-height: 40%; overflow-y: auto; padding: 2px 16px 10px 30px; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; }
  html.v4-desk .v4-jsec + .v4-jsec { margin-top: 10px; }
  html.v4-desk .v4-jt { display: block; padding: 0; margin: 0 0 3px; border: 0; background: none; cursor: pointer; text-align: left; font: 600 13px/1.3 inherit; font-family: inherit; color: var(--v4-ink); }
  html.v4-desk .v4-steps { list-style: none; margin: 0; padding: 0; }
  html.v4-desk .v4-step { display: flex; align-items: flex-start; gap: 8px; padding: 3px 0; font-size: 12.5px; line-height: 1.35; color: var(--v4-ink); }
  html.v4-desk .v4-step.is-done { color: var(--v4-mute); }
  html.v4-desk .v4-step .v4-stx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
  html.v4-desk .v4-step small { font-size: 12px; color: var(--v4-mute); }
  html.v4-desk .v4-sg { width: 14px; height: 14px; flex: none; margin-top: 1px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #C9C9C2; display: grid; place-items: center; color: var(--v4-mute); font-size: 10px; font-weight: 600; }
  html.v4-desk .v4-sg.is-done { box-shadow: none; }
  html.v4-desk .v4-sg.is-done .v4-i { width: 12px; height: 12px; }
  html.v4-desk .v4-sg.is-now { box-shadow: none; background: var(--v4-y); transform: scale(.6); }
  html.v4-desk .v4-sg.is-failed { box-shadow: none; color: var(--v4-red); }

  /* menus: the dock's thread switcher, File under */
  html.v4-desk .v4-menu {
    position: absolute; top: 54px; left: 10px; right: 10px; z-index: 8; max-height: min(70%, 560px); display: flex; flex-direction: column;
    background: #fff; border-radius: 10px; box-shadow: 0 12px 34px rgba(0, 0, 0, .16), 0 0 0 .5px rgba(0, 0, 0, .12); overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  }
  html.v4-desk .v4-mlist { flex: 1 1 auto; overflow-y: auto; padding: 4px 6px 6px; }
  html.v4-desk .v4-mfoot { flex: none; display: flex; justify-content: space-between; padding: 6px 8px; border-top: 1px solid #EFEFE9; }
  html.v4-desk .v4-fh { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 8px 2px 14px; font-size: 13px; }
  html.v4-desk .v4-menu.is-file { top: 96px; left: 10px; right: 10px; max-height: calc(100% - 120px); }

  /* rows */
  html.v4-desk .v4-sec + .v4-sec { margin-top: 6px; }
  html.v4-desk .v4-sh { margin: 0; padding: 10px 10px 4px; font-size: 13px; font-weight: 400; color: var(--v4-mute); letter-spacing: 0; text-transform: none; }
  html.v4-desk .v4-row {
    width: 100%; display: flex; align-items: center; gap: 10px; padding: 6px 8px; margin: 0; border: 0; border-radius: 8px; background: none; cursor: pointer;
    text-align: left; font: inherit; color: var(--v4-ink); position: relative;
  }
  @media (hover: hover) { html.v4-desk .v4-row:hover { background: rgba(0, 0, 0, .04); } }
  html.v4-desk .v4-row.is-cur { background: rgba(0, 0, 0, .07); }
  html.v4-desk .v4-av { width: 32px; height: 32px; flex: none; border-radius: 50%; background: #E3E3DC; color: #6A6A64; display: grid; place-items: center; font-size: 11.5px; font-weight: 600; letter-spacing: .2px; }
  html.v4-desk .v4-av .v4-i { width: 15px; height: 15px; }
  html.v4-desk .v4-av.is-holly { background: var(--v4-y); color: var(--v4-ink); }
  html.v4-desk .v4-rm { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
  html.v4-desk .v4-r1 { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
  html.v4-desk .v4-r1 b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.v4-desk .v4-tag { font-size: 12px; color: var(--v4-mute); flex: none; }
  html.v4-desk .v4-rt { margin-left: auto; flex: none; font-size: 12px; color: var(--v4-mute); font-variant-numeric: tabular-nums; }
  html.v4-desk .v4-r2 { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 12px; color: var(--v4-mute); }
  html.v4-desk .v4-r2 > span:first-child { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.v4-desk .v4-rc { flex: none; color: var(--v4-red); font-weight: 600; }
  html.v4-desk .v4-udot { position: absolute; left: 2px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--v4-y); }
  html.v4-desk .v4-tick { width: 15px; height: 15px; color: var(--v4-ink); }
  html.v4-desk .v4-more { display: block; width: 100%; padding: 8px 10px; border: 0; background: none; text-align: left; color: var(--v4-link); font: 400 13px/1.2 inherit; font-family: inherit; cursor: pointer; }
  html.v4-desk .v4-empty { margin: 14px 10px; font-size: 13px; color: var(--v4-mute); }
  html.v4-desk .v4-foot { margin: 8px 14px 12px; font-size: 12px; color: var(--v4-mute); }
  html.v4-desk .v4-mute { color: var(--v4-mute); }

  /* ---- Go through them: one card at a time, over the conversation -------------------------- */
  html.v4-desk #holly-chat .v4-layer {
    position: absolute; inset: 0; z-index: 7; display: flex; flex-direction: column; overflow-y: auto; background: var(--v4-panel);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  }
  html.v4-full #holly-chat .v4-layer { background: var(--ck-bg, #F6F6F2); }
  html.v4-desk .v4-lh { flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 52px; padding: 6px 10px; }
  html.v4-desk .v4-lh > b { font-size: 13px; font-weight: 600; }
  html.v4-desk .v4-lh > :last-child { justify-self: end; }
  html.v4-desk .v4-lh > :first-child { justify-self: start; }
  html.v4-desk .v4-bars { flex: none; display: flex; gap: 4px; padding: 0 16px 6px; }
  html.v4-desk .v4-bars i { flex: 1 1 0; height: 3px; border-radius: 2px; background: rgba(0, 0, 0, .1); }
  html.v4-desk .v4-bars i.on { background: var(--v4-ink); }
  html.v4-desk .v4-lbody { display: flex; flex-direction: column; gap: 12px; padding: 12px 16px 20px; max-width: 620px; width: 100%; box-sizing: border-box; margin: 0 auto; }
  html.v4-desk .v4-lbody > .ck-acts { margin-top: -2px; }
  html.v4-desk .v4-nextline { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; }
  html.v4-desk .v4-done { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 48px 20px; text-align: center; font-size: 13px; color: var(--v4-mute); }
  html.v4-desk .v4-done b { font-size: 17px; font-weight: 600; color: var(--v4-ink); }
  html.v4-desk .v4-bigtick { width: 34px; height: 34px; color: var(--v4-ink); }
  html.v4-desk .v4-done .ck-btn { margin-top: 10px; }

  /* ---- the Holly page: threads | conversation | the selected job ---------------------------- */
  html.v4-full #view-holly.active { display: flex; align-items: stretch; }
  html.v4-full #view-holly > #holly-home,
  html.v4-full #view-holly > #holly-board,
  html.v4-full #view-holly > .hb-dim { display: none !important; }
  html.v4-full #view-holly .v4-hl {
    flex: 0 0 288px; min-width: 0; height: calc(100dvh - var(--d2-top)); position: relative; display: flex; flex-direction: column;
    background: #F4F4EF; border-right: 1px solid var(--v4-line); box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; color: var(--v4-ink);
  }
  html.v4-full .v4-hlh { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 16px 10px 8px 16px; }
  html.v4-full .v4-hlh h2 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.2px; }
  html.v4-full .v4-search { flex: none; display: flex; align-items: center; gap: 6px; height: 28px; margin: 0 12px 6px 16px; padding: 0 8px; border-radius: 7px; background: #E8E8E2; color: var(--v4-mute); }
  html.v4-full .v4-search input { flex: 1 1 auto; min-width: 0; border: 0; background: none; outline: none; font: 400 13px -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; color: var(--v4-ink); }
  html.v4-full .v4-search input::-webkit-search-cancel-button { display: none; }
  html.v4-full .v4-hlb { flex: 1 1 auto; overflow-y: auto; padding: 0 8px 16px; }
  html.v4-full #view-holly #holly-chat { flex: 1 1 auto; min-width: 0; position: relative; height: calc(100dvh - var(--d2-top)); padding: 0; background: var(--ck-bg, #F6F6F2); }
  html.v4-full #view-holly #holly-chat .v4-dh.is-full { max-width: none; padding: 10px 20px; border-bottom: 1px solid #EAEAE4; }
  html.v4-full #view-holly #holly-chat .hc-list { padding: 16px 28px 14px; }
  html.v4-full #view-holly #holly-chat .hc-list > *,
  html.v4-full #view-holly #holly-chat .hc-composer > * { max-width: 720px; }
  html.v4-full #view-holly #holly-chat .hc-composer { border-top: 0; padding: 4px 28px 16px; }
  html.v4-full .v4-dh .v4-ht { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
  html.v4-full .v4-dh .v4-ht b { font-size: 15px; font-weight: 600; line-height: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.v4-full .v4-dh .v4-ht span { font-size: 12px; color: var(--v4-mute); }
  html.v4-full .v4-mono { width: 32px; height: 32px; flex: none; border-radius: 50%; background: #E3E3DC; color: #6A6A64; display: grid; place-items: center; font-size: 11.5px; font-weight: 600; }
  html.v4-full #view-holly .v4-job {
    flex: 0 0 300px; min-width: 0; height: calc(100dvh - var(--d2-top)); overflow-y: auto; box-sizing: border-box;
    background: #F4F4EF; border-left: 1px solid var(--v4-line);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; color: var(--v4-ink);
  }
  html.v4-full #view-holly .v4-job[hidden] { display: none; }
  html.v4-full .v4-jp { position: relative; padding: 18px 18px 24px; }
  html.v4-full .v4-jx { position: absolute; top: 12px; right: 10px; }
  html.v4-full .v4-jk { font-size: 12px; color: var(--v4-mute); }
  html.v4-full .v4-jt2 { margin: 2px 28px 4px 0; font-size: 17px; font-weight: 600; line-height: 1.3; }
  html.v4-full .v4-jl { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 12px; color: var(--v4-mute); }
  html.v4-full .v4-jpl { margin: 0 0 4px; font-size: 13px; line-height: 1.45; }
  html.v4-full .v4-job .v4-sh { padding: 16px 0 6px; }
  html.v4-full .v4-job .v4-steps .v4-step { font-size: 13px; padding: 4px 0; }
  html.v4-full .v4-logs { list-style: none; margin: 0; padding: 0; }
  html.v4-full .v4-log { display: flex; align-items: flex-start; gap: 8px; padding: 5px 0; font-size: 13px; line-height: 1.4; }
  html.v4-full .v4-log > .v4-i { width: 13px; height: 13px; margin-top: 3px; color: var(--v4-mute); }
  html.v4-full .v4-log .v4-lt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
  html.v4-full .v4-log small { font-size: 12px; color: var(--v4-mute); }
  html.v4-full .v4-log.is-live .v4-lt > span:first-child { font-weight: 600; }
  html.v4-desk .v4-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--v4-y); display: inline-block; margin-top: 5px; }
  html.v4-full .v4-jl .v4-dot { margin-top: 0; }
  html.v4-full .v4-hl .v4-menu.is-file { top: 96px; }
}
@media (min-width: 769px) and (max-width: 1279px) {
  html.v4-full #view-holly .v4-hl { flex-basis: 248px; }
  html.v4-full #view-holly .v4-job { position: fixed; top: var(--d2-top); right: 0; bottom: 0; z-index: 30; height: auto; flex: none; width: 300px; box-shadow: -12px 0 32px rgba(0, 0, 0, .12); }
}
@media (min-width: 769px) and (max-width: 1100px) {
  html.v4-full #view-holly .v4-hl { flex-basis: 220px; }
  html.v4-full #view-holly #holly-chat .hc-list { padding: 14px 16px 12px; }
  html.v4-full #view-holly #holly-chat .hc-composer { padding: 4px 16px 14px; }
}

/* ---- Today with the dock: Clients first, the other cards fit the width that is left ----------- */
@media (min-width: 769px) {
  html.v4-desk .tt-desk { container-type: inline-size; container-name: tt; }
  @container tt (max-width: 1060px) {
    .tt-desk.is-v4 .tt-grid { grid-template-columns: minmax(0, 1fr); }
    .tt-desk.is-v4 .tt-grid .tt-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; align-items: stretch; overflow: visible; }
    .tt-desk.is-v4 .tt-grid .tt-side > :last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
  }
  @container tt (max-width: 760px) {
    .tt-desk.is-v4 .tt-grid .tt-tr { grid-template-columns: minmax(110px, 1.1fr) minmax(76px, .7fr) minmax(0, 2.2fr) 64px; column-gap: 12px; }
    .tt-desk.is-v4 .tt-grid .tt-seg-o { padding: 0 9px; font-size: 13px; }
    .tt-desk.is-v4 .tt-grid .tt-nums .tt-faces { display: none; }
  }
  .tt-desk.is-v4 .tt-grid .tt-main > .tt-clients:first-child { margin-top: 0; }
}

/* ---- the chat kit's "Also waiting" row in the dock (as on the phone, desktop sizes) ----------- */
@media (min-width: 769px) {
  html.v4-desk #holly-chat .ck-waitwrap { display: flex; flex-direction: column; gap: 0; }
  html.v4-desk #holly-chat .ck-also { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 28px; margin: -2px 0 0; padding: 0 4px; background: none; border: 0;
    color: var(--v4-mute); font: 12.5px/1.3 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; text-align: left; cursor: pointer; }
  html.v4-desk #holly-chat .ck-also span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.v4-desk #holly-chat .ck-also .p4-i { width: 12px; height: 12px; flex: none; color: #BDBDB5; }
  /* Today with the dock: the v4 finish has no accent rails on the clients table */
  .tt-desk.is-v4 .tt-grid .tt-tr { border-left: 0; padding-left: 20px; }
  @container tt (max-width: 1060px) { .tt-desk.is-v4 .tt-grid .tt-nums .tt-faces { display: none; } }
}
