/* ═══ DESKTOP v2 — bright dashboard (owner APPROVED Oct 21 2026: "approve the desktop sample") ═══
 * The phone v2 language (css/dash-lab.css, "PHONE v2") on desktop: a white top header instead of the dark
 * rail (wordmark left, tabs centred, avatar right), a light greeting card with ONE action beside a white
 * Master Signature card (orange frame + crown), and the signatures card (search · count · Remove Watermark ·
 * Create) over a grid of cards with the name / Master / Use Signature / ⋮ header row.
 * Scoped html.desk-v2: dashboard.html carries that class statically on <html>. Without it nothing here matches.
 * Dashboard only: account pages carry body.dash.acct and share #rail, so every rule is body.dash:not(.acct).
 * Loaded LAST (after tutorials.css). Undo = drop the class on <html> (or restore _backups/desk-v2-approved-2026-10-21/). */
@media not all and (max-width: 740px) {
  html.desk-v2 body.dash.brand:not(.acct) { font-family: var(--sf); background: #FFFFFF; padding-left: 0; }   /* white pages (Nov 2 2026): was #FEF8F4 */
  html.desk-v2 body.dash:not(.acct) .nav-tab,
  html.desk-v2 body.dash:not(.acct) .search-wrap input { font-family: var(--sf); }

  /* ── header: white top bar ─────────────────────────────────────────────── */
  html.desk-v2 body.dash:not(.acct) #rail { position: sticky; inset: auto; top: 0; z-index: 45; width: auto; height: 72px;
    display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 20px;
    padding: 0 max(24px, calc((100% - 1200px) / 2 + 24px));
    background: rgba(255, 255, 255, .97); border: 0; border-bottom: 1px solid rgba(30, 18, 9, .07); box-shadow: 0 1px 2px rgba(30, 18, 9, .03); }
  html.desk-v2 body.dash:not(.acct) #rail .rail-top { flex: 0 0 auto; display: flex; align-items: center; gap: 0; padding: 0; }
  html.desk-v2 body.dash:not(.acct) #rail .brand { padding: 0; }
  /* logo = S mark + wordmark together (owner, Oct 21) */
  html.desk-v2 body.dash:not(.acct) #rail .brand-logo { display: inline-flex; align-items: center; gap: 10px; height: auto; }
  html.desk-v2 body.dash:not(.acct) #rail .brand-logo picture { display: block; }
  html.desk-v2 body.dash:not(.acct) #rail .brand-logo picture img { display: block; height: 26px; width: auto; }
  html.desk-v2 body.dash:not(.acct) #rail .brand-logo .brand-mark { display: block; width: 38px; height: 38px; flex: 0 0 auto; }
  html.desk-v2 body.dash:not(.acct) #rail .rail-create { display: none; }   /* Create lives in the signatures card (#libCreate) */

  html.desk-v2 body.dash:not(.acct) #rail #mainNav { flex: 1 1 auto; display: flex; flex-direction: row; justify-content: center; align-items: center;
    gap: 4px; margin: 0; padding: 0; border: 0; background: none; }
  html.desk-v2 body.dash:not(.acct) #rail .nav-tab { flex: 0 0 auto; flex-direction: row; justify-content: center; width: auto; min-height: 42px; gap: 7px;
    padding: 0 14px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: #5E5149;
    font-size: 14.5px; font-weight: 500; white-space: nowrap; box-shadow: none; }
  html.desk-v2 body.dash:not(.acct) #rail .nav-tab svg { width: 17px; height: 17px; opacity: 1; }
  html.desk-v2 body.dash:not(.acct) #rail .nav-tab span { display: inline; font-size: 14.5px; }
  html.desk-v2 body.dash:not(.acct) #rail .nav-tab[data-view="dashboard"] span { font-size: 0; }          /* label = the ::after ("Signatures") */
  html.desk-v2 body.dash:not(.acct) #rail .nav-tab[data-view="dashboard"] span::after { font-size: 14.5px; }
  html.desk-v2 body.dash:not(.acct) #rail .nav-tab:hover { background: #FBF6F2; color: #161110; }
  html.desk-v2 body.dash:not(.acct) #rail .nav-tab.active { background: #FFF6EE; border-color: #FCD9B6; color: #161110; font-weight: 600;
    box-shadow: 0 1px 2px rgba(30, 18, 9, .04); }
  /* Analytics stays visible with "Soon" on desktop (owner, Sep 13) but must not look clickable */
  html.desk-v2 body.dash:not(.acct) #rail .nav-tab[data-view="analytics"] { cursor: default; color: #A69384; opacity: 1; }
  html.desk-v2 body.dash:not(.acct) #rail .nav-tab[data-view="analytics"]:hover { background: transparent; color: #A69384; }
  html.desk-v2 body.dash:not(.acct) #rail .soon-badge { display: inline-flex; align-items: center; position: static; margin: 0 0 0 2px; padding: 3px 7px;
    border: 1px solid #FCD9B6; border-radius: 6px; background: #FFF3E7; color: #F4761B; box-shadow: none;
    font: 700 10px/1 var(--sf); letter-spacing: .04em; text-transform: uppercase; }

  html.desk-v2 body.dash:not(.acct) #rail .rail-foot { flex: 0 0 auto; position: relative; display: block; margin: 0; padding: 0; border: 0; background: none; }
  html.desk-v2 body.dash:not(.acct) #rail .ws-chip { min-height: 0; padding: 0; border: 0; border-radius: 12px; background: none; box-shadow: none; }
  html.desk-v2 body.dash:not(.acct) #rail .ws-chip:hover { background: none; }
  html.desk-v2 body.dash:not(.acct) #rail .ws-txt,
  html.desk-v2 body.dash:not(.acct) #rail .ws-chip > svg { display: none; }
  html.desk-v2 body.dash:not(.acct) #rail .ws-avatar { width: 42px; height: 42px; border-radius: 12px; background: #5A3A2A; color: #FFFFFF;
    font: 600 18px/1 var(--sf); box-shadow: none; }
  /* the workspace menu drops DOWN from the avatar, right-aligned (the rail opened it upward) */
  html.desk-v2 body.dash:not(.acct) #rail #wsMenu { top: calc(100% + 10px); bottom: auto; left: auto; right: 0; min-width: 250px; }

  /* ── page ──────────────────────────────────────────────────────────────── */
  html.desk-v2 body.dash:not(.acct) main.view { max-width: 1200px; margin: 0 auto; padding: 28px 24px 48px; background-image: none; }
  html.desk-v2 body.dash:not(.acct) #viewDashboard { padding: 28px 24px 40px; }   /* dash-brand.css #viewDashboard (an ID) beats main.view */
  html.desk-v2 body.dash:not(.acct) .ws-head { display: none; }                   /* plan chip / logo pill / quota: the hero + count pill carry them */
  html.desk-v2 body.dash:not(.acct) .app-legal { max-width: 1200px; margin: 0 auto; padding: 0 24px 28px; text-align: center; font-size: 12.5px; }

  /* ── hero row: greeting card · Master Signature card ───────────────────── */
  html.desk-v2 body.dash:not(.acct) .dash-grid { display: block; margin: 0 0 20px; }
  html.desk-v2 body.dash:not(.acct) .col-left { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); justify-content: normal;
    align-items: stretch; gap: 20px; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }

  html.desk-v2 body.dash:not(.acct) #procCard { display: flex; flex-direction: column; max-width: none; margin: 0; padding: 30px 28px 26px;
    background: linear-gradient(180deg, #FFF4EA 0%, #FFFFFF 72%); border: 1.5px solid #FCD9B6; border-radius: 18px;
    box-shadow: 0 1px 2px rgba(30, 18, 9, .04), 0 14px 32px -18px rgba(251, 130, 33, .4); }
  html.desk-v2 body.dash:not(.acct) #procCard .proc-l { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
  html.desk-v2 body.dash:not(.acct) #procCard .proc-l h2 { margin: 0 0 10px; font: 700 30px/1.2 var(--sf); letter-spacing: -.024em; color: #161110; }
  html.desk-v2 body.dash:not(.acct) #procCard .proc-sub { margin: 0 0 26px; font-size: 16px; line-height: 1.5; font-weight: 400; color: #5E5149; }
  html.desk-v2 body.dash:not(.acct) #procCard .proc-sub small { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: #7B6F68; }
  html.desk-v2 body.dash.plan-free:not(.acct) #procCard .proc-sub b { color: #161110; font-weight: 600; }
  html.desk-v2 body.dash:not(.acct) #procCard #masterUpgrade { display: none; }   /* #heroAct does its job (same handler) */
  html.desk-v2 body.dash:not(.acct) #heroAct { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px;
    margin: 0; padding: 0 20px; border: 0; border-radius: 12px; cursor: pointer;
    background: linear-gradient(92deg, #FB8221, #FA962B); color: #FFFFFF; font: 600 16px/1 var(--sf); letter-spacing: -.01em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 1px rgba(254, 97, 17, .45), 0 10px 22px -10px rgba(251, 130, 33, .65);
    transition: filter .15s ease, transform .15s ease; }
  html.desk-v2 body.dash:not(.acct) #heroAct:hover { filter: brightness(1.04); transform: translateY(-1px); }
  html.desk-v2 body.dash:not(.acct) #heroAct .ha-ico { display: inline-flex; }
  html.desk-v2 body.dash:not(.acct) #lcChangeM { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%;
    margin: 12px 0 0; padding: 4px 0; border: 0; background: none; cursor: pointer; font: 500 13.5px/1.3 var(--sf); color: #7B6F68; }
  html.desk-v2 body.dash:not(.acct) #lcChangeM[hidden] { display: none; }
  html.desk-v2 body.dash:not(.acct) #lcChangeM u { text-decoration: none; color: #F4761B; font-weight: 600; }
  html.desk-v2 body.dash:not(.acct) #lcChangeM .lc-dot { width: 6px; height: 6px; border-radius: 50%; background: #FB8221; box-shadow: 0 0 0 3px rgba(251, 130, 33, .18); }

  html.desk-v2 body.dash:not(.acct) .col-left > .master-card { width: auto; min-width: 0; margin: 0; padding: 0; display: flex; flex-direction: column;
    background-color: #FFFFFF; background-image: radial-gradient(circle, rgba(30, 18, 9, .05) 1px, transparent 1px); background-size: 18px 18px;
    border: 1px solid #EAE6E4; border-radius: 18px; box-shadow: 0 1px 2px rgba(30, 18, 9, .05); overflow: visible; }
  html.desk-v2 body.dash:not(.acct) .master-card .card-head { position: relative; z-index: 4; display: flex; align-items: center; margin: 0;
    padding: 12px 14px 12px 22px; min-height: 66px; background: #FFFFFF; border-bottom: 1px solid #EAE6E4; border-radius: 18px 18px 0 0; }
  html.desk-v2 body.dash:not(.acct) .master-card .card-head h3 { margin: 0 auto 0 0; font: 600 20px/1.2 var(--sf); letter-spacing: -.015em;
    text-transform: none; color: #161110; text-shadow: none; }
  html.desk-v2 body.dash:not(.acct) .master-card .dropdown { display: inline-flex; position: relative; }
  html.desk-v2 body.dash:not(.acct) #masterKebab { width: 42px; height: 42px; padding: 0; display: grid; place-items: center; cursor: pointer;
    border: 1px solid #E6E4E3; border-radius: 12px; background: #FFFFFF; color: #161110; font-size: 18px; text-shadow: none; box-shadow: 0 1px 2px rgba(30, 18, 9, .05); }
  html.desk-v2 body.dash:not(.acct) #masterKebab:hover { background: #FBF6F2; }
  html.desk-v2 body.dash:not(.acct) #masterMenu { right: 0; left: auto; }
  html.desk-v2 body.dash:not(.acct) .master-card .ms-beam { display: none; }
  html.desk-v2 body.dash:not(.acct) .master-frame { position: relative; z-index: 1; flex: 1 1 auto; width: auto; min-height: 0; margin: 40px 24px 26px; padding: 30px 16px 20px;
    display: flex; align-items: center; justify-content: center; overflow: visible; background: #FFFFFF;
    border: 2px solid #FB8221; border-radius: 16px; box-shadow: 0 0 0 4px rgba(251, 130, 33, .08), 0 14px 30px -14px rgba(251, 130, 33, .45); }
  html.desk-v2 body.dash:not(.acct) .master-frame.empty { border-style: dashed; border-color: #FCD9B6; box-shadow: none; }
  html.desk-v2 body.dash:not(.acct) .master-frame .crown-badge { position: absolute; top: -23px; left: 50%; transform: translateX(-50%); z-index: 3;
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: #FFFFFF; border: 2px solid #FB8221; color: #FB8221; box-shadow: 0 4px 12px rgba(251, 130, 33, .28); }
  html.desk-v2 body.dash:not(.acct) .master-frame.empty .crown-badge { display: none; }

  /* ── signatures card ───────────────────────────────────────────────────── */
  html.desk-v2 body.dash:not(.acct) .lib { margin: 0; padding: 0; background: #FFFFFF; border: 1px solid #EAE6E4; border-radius: 18px; box-shadow: 0 1px 2px rgba(30, 18, 9, .05); }
  html.desk-v2 body.dash:not(.acct) .lib-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; padding: 16px;
    border: 0; border-bottom: 1px solid #EAE6E4; }
  html.desk-v2 body.dash:not(.acct) .lib-bar::before { content: none; }
  html.desk-v2 body.dash:not(.acct) .search-wrap { flex: 1 1 260px; max-width: 420px; min-width: 0; height: 46px; padding: 0 14px; gap: 9px;
    border: 1px solid #E6E4E3; border-radius: 12px; background: #FFFFFF; box-shadow: none; }
  html.desk-v2 body.dash:not(.acct) .search-wrap input { font-size: 15px; }
  html.desk-v2 body.dash:not(.acct) .lib-bar .count-pill { flex: 0 0 auto; height: 46px; display: inline-flex; align-items: center; gap: 7px; padding: 0 16px;
    border: 1.5px solid #FCD9B6; border-radius: 12px; background: #FFF8F1; box-shadow: none; font-size: 13.5px; font-weight: 400; line-height: 1; color: #5E5149; white-space: nowrap; }
  html.desk-v2 body.dash:not(.acct) .lib-bar .count-pill b { font-size: 15px; font-weight: 700; color: #161110; }
  html.desk-v2 body.dash:not(.acct) #rmWatermark { flex: 0 1 auto; display: flex; align-items: center; justify-content: flex-start; gap: 12px; height: auto; min-height: 46px;
    padding: 7px 12px 7px 8px; border-radius: 12px; text-align: left; cursor: pointer; background: #FFFFFF; border: 1.5px solid #FCD9B6;
    box-shadow: 0 0 0 3px rgba(251, 130, 33, .07); color: #161110; font-family: var(--sf); }
  html.desk-v2 body.dash:not(.acct) #rmWatermark .rw-ic { width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto; display: inline-flex;
    align-items: center; justify-content: center; background: #FFF3E7; color: #F4761B; }
  html.desk-v2 body.dash:not(.acct) #rmWatermark .rw-copy { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  html.desk-v2 body.dash:not(.acct) #rmWatermark .rw-t { display: inline-flex; align-items: center; gap: 6px; font: 600 14px/1.2 var(--sf); color: #161110; white-space: nowrap; }
  html.desk-v2 body.dash:not(.acct) #rmWatermark .pro-badge { display: inline-flex; padding: 2px 6px; border-radius: 4px; background: linear-gradient(92deg, #FB8221, #FA962B);
    color: #FFFFFF; font: 700 10px/1.2 var(--sf); letter-spacing: .06em; box-shadow: none; }
  html.desk-v2 body.dash:not(.acct) #rmWatermark small { display: block; font: 400 12.5px/1.3 var(--sf); color: #7B6F68; white-space: nowrap; }
  html.desk-v2 body.dash:not(.acct) #rmWatermark .rw-track { width: 38px; height: 24px; flex: 0 0 auto; margin-left: 6px; background: #E9E4DF; }   /* off = grey */
  html.desk-v2 body.dash:not(.acct) #rmWatermark .rw-knob { top: 3px; left: 3px; width: 18px; height: 18px; }
  html.desk-v2 body.dash:not(.acct) #rmWatermark.nudge .rw-knob { left: 17px; }
  @media (prefers-reduced-motion: reduce) { html.desk-v2 body.dash:not(.acct) #rmWatermark.nudge .rw-knob { left: 3px; } }
  html.desk-v2 body.dash:not(.acct) #libCreate { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px;
    margin: 0 0 0 auto; padding: 0 22px; border: 0; border-radius: 12px; cursor: pointer; background: linear-gradient(92deg, #FB8221, #FA962B);
    color: #FFFFFF; font: 600 15px/1 var(--sf); white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 1px rgba(254, 97, 17, .45), 0 8px 18px -8px rgba(251, 130, 33, .55); }
  html.desk-v2 body.dash:not(.acct) #libCreate:hover { filter: brightness(1.04); }

  /* cards: name · Master · Use Signature · ⋮ in one header row; no counts, no bottom Use button */
  html.desk-v2 body.dash:not(.acct) #sigGrid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; padding: 16px; }
  html.desk-v2 body.dash:not(.acct) #sigGrid .sig-card { gap: 10px; padding: 14px; border-radius: 14px; border: 1px solid #EAE6E4; box-shadow: none; background: #FFFFFF;
    transition: border-color .15s ease, box-shadow .15s ease; }
  html.desk-v2 body.dash:not(.acct) #sigGrid .sig-card:hover { transform: none; border-color: #F3D9C4; box-shadow: 0 10px 24px -16px rgba(30, 18, 9, .28); }
  html.desk-v2 body.dash:not(.acct) #sigGrid .sig-card-head { display: grid; grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name right" "tag right"; column-gap: 10px; row-gap: 4px; align-items: center; min-height: 36px; padding: 0; }
  html.desk-v2 body.dash:not(.acct) #sigGrid .sig-card-head:not(:has(.dep-tag)) { grid-template-areas: "name right"; row-gap: 0; }
  html.desk-v2 body.dash:not(.acct) #sigGrid .sig-name-lbl { grid-area: name; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden; font: 600 15px/1.25 var(--sf); color: #161110; }
  html.desk-v2 body.dash:not(.acct) #sigGrid .dep-tag { grid-area: tag; justify-self: start; margin: 0; }
  html.desk-v2 body.dash:not(.acct) #sigGrid .head-r { grid-area: right; display: inline-flex; align-items: center; gap: 6px; margin: 0; width: auto; }
  html.desk-v2 body.dash:not(.acct) #sigGrid .head-r .dropdown { margin-left: -2px; }
  html.desk-v2 body.dash:not(.acct) #sigGrid .master-pill { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 8px; border-radius: 6px;
    background: #FFF8F1; border: 1px solid #FCD9B6; color: #161110; font: 500 12.5px/1 var(--sf); }
  html.desk-v2 body.dash:not(.acct) #sigGrid .master-pill svg { width: 13px; height: 13px; color: #FB8221; }
  html.desk-v2 body.dash:not(.acct) #sigGrid .use-head { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 6px; cursor: pointer;
    border: 1px solid #F1E0D4; background: linear-gradient(92deg, #F6ECE4, #F1E0D4); color: #1A1817; font: 500 12.5px/1 var(--sf); white-space: nowrap; }
  html.desk-v2 body.dash:not(.acct) #sigGrid .use-head:hover { background: linear-gradient(92deg, #FB8221, #FA962B); border-color: transparent; color: #FFFFFF; }
  html.desk-v2 body.dash:not(.acct) #sigGrid .kebab { width: 30px; height: 32px; color: #161110; font-size: 18px; }
  html.desk-v2 body.dash:not(.acct) #sigGrid .use-mini { display: none !important; }   /* moved into the header row (.use-head) */
  html.desk-v2 body.dash:not(.acct) #sigGrid .sig-body { padding: 8px 0 4px; }
  /* a narrow card (two-up on tablets) gives the name its own row above the chips. The query measures the card's
   * CONTENT box (card width − 28px padding − 2px border): 312 ≈ a 342px card; a 362px card at 1280 keeps one row */
  html.desk-v2 body.dash:not(.acct) #sigGrid .sig-card { container-type: inline-size; }
  @container (max-width: 312px) {
    html.desk-v2 body.dash:not(.acct) #sigGrid .sig-card-head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "tag" "right"; row-gap: 8px; }
    html.desk-v2 body.dash:not(.acct) #sigGrid .sig-card-head:not(:has(.dep-tag)) { grid-template-areas: "name" "right"; row-gap: 8px; }
    html.desk-v2 body.dash:not(.acct) #sigGrid .head-r { justify-self: stretch; justify-content: flex-start; }
    html.desk-v2 body.dash:not(.acct) #sigGrid .head-r .dropdown { margin-left: auto; }
  }

  /* create card: solid hairline on a sunken fill, small rounded-square plus */
  html.desk-v2 body.dash:not(.acct) #sigGrid .upgrade-tile,
  html.desk-v2 body.dash:not(.acct) #sigGrid .create-card { min-height: 220px; gap: 12px; padding: 24px 16px;
    border: 1px solid #EAE6E4; border-radius: 14px; background: #FFFFFF; box-shadow: none; }   /* white (Nov 2 2026): was #FBFAF9 */
  html.desk-v2 body.dash:not(.acct) #sigGrid .upgrade-tile:hover,
  html.desk-v2 body.dash:not(.acct) #sigGrid .create-card:hover { border-color: #F3D9C4; background: #FFF8F1; }
  html.desk-v2 body.dash:not(.acct) #sigGrid .upgrade-tile .plus-circle,
  html.desk-v2 body.dash:not(.acct) #sigGrid .create-card .sm-primary { width: 36px; height: 36px; padding: 0; display: grid; place-items: center;
    border-radius: 9px; border: 1.5px solid #FB8221; background: #FFFFFF; color: #F4761B; font-size: 20px; line-height: 1;
    box-shadow: 0 3px 10px -4px rgba(251, 130, 33, .45); }
  html.desk-v2 body.dash:not(.acct) #sigGrid .create-card .sm-primary { order: -1; font-size: 0; gap: 0; }
  html.desk-v2 body.dash:not(.acct) #sigGrid .create-card .sm-primary svg { display: none; }
  html.desk-v2 body.dash:not(.acct) #sigGrid .create-card .sm-primary::before { content: '+'; font-size: 26px; font-weight: 400; }
  html.desk-v2 body.dash:not(.acct) #sigGrid .upgrade-tile p,
  html.desk-v2 body.dash:not(.acct) #sigGrid .upgrade-tile .cc-title,
  html.desk-v2 body.dash:not(.acct) #sigGrid .create-card .cc-title { font: 500 15px/1.35 var(--sf); color: #7B6F68; }

  /* narrower desktops / tablets: the hero stacks, the header tightens. Nested in the exact-complement block so
   * they start exactly where the phone query stops (no fractional-width gap under browser zoom). */
  @media (max-width: 1020px) {
    html.desk-v2 body.dash:not(.acct) .col-left { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    html.desk-v2 body.dash:not(.acct) #procCard { padding: 24px 22px 22px; }
    html.desk-v2 body.dash:not(.acct) #rail { gap: 12px; }
    html.desk-v2 body.dash:not(.acct) #rail .nav-tab { padding: 0 10px; gap: 6px; font-size: 13.5px; }
    html.desk-v2 body.dash:not(.acct) #rail .nav-tab span,
    html.desk-v2 body.dash:not(.acct) #rail .nav-tab[data-view="dashboard"] span::after { font-size: 13.5px; }
    html.desk-v2 body.dash:not(.acct) #rail .nav-tab[data-view="dashboard"] span { font-size: 0; }
    html.desk-v2 body.dash:not(.acct) #rail .brand-logo picture img { height: 24px; }
    html.desk-v2 body.dash:not(.acct) #rail .brand-logo .brand-mark { width: 34px; height: 34px; }
  }
  @media (max-width: 860px) {
    html.desk-v2 body.dash:not(.acct) #rail .soon-badge { display: none; }   /* the tab keeps its "Coming soon" title */
    html.desk-v2 body.dash:not(.acct) #libCreate { margin-left: 0; }
  }
}

/* Oct 26 2026: iPhone Safari zooms into any field under 16px when tapped (owner). Phones + touch screens (incl. landscape
 * iPhones wider than 740px) get 16px; desktop with a mouse is unchanged. */
@media (pointer: coarse) { html.desk-v2 body.dash:not(.acct) .search-wrap input { font-size: 16px; } }
