  /* Brand type: Plus Jakarta Sans, bundled as variable-weight woff2 subsets
     (shared with the desktop app; copied into public/fonts/). */
  @font-face {
    font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap;
    src: url("/fonts/PlusJakartaSans-cyrillic-ext.woff2") format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
  }
  @font-face {
    font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap;
    src: url("/fonts/PlusJakartaSans-vietnamese.woff2") format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
  }
  @font-face {
    font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap;
    src: url("/fonts/PlusJakartaSans-latin-ext.woff2") format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap;
    src: url("/fonts/PlusJakartaSans-latin.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  /* Brand palette (shared with the desktop app renderer): amber #C6851A as the
     one accent, light = reference (white surfaces, #F6F6F8 rail, #ECECEE
     hairlines), dark = the same scheme on near-black. Dark by default (:root),
     Light forced via :root[data-theme="light"], System (no attr) follows OS. */
  :root {
    --bg: #17171a; --card: #1e1e23; --card2: #26262c; --text: #f0f0f3;
    --muted: #a5a5ad; --faint: #8a8a92; --strong: #d2d2d8;
    --accent: #c6851a; --accent-tint: rgba(198, 133, 26, .16);
    /* Ink on an amber fill, white in every theme (docs/features/white-on-amber). */
    --on-accent: #fff;
    --link: #e0a957; --link-hover: #eec27f;
    --ok: #3ecf8e; --err: #ff5c5c; --line: #2a2a31; --line2: #3a3a42;
    --team: #6d7ff2; --team-tint: rgba(109, 127, 242, .18);
    /* The admin console's rail: one step darker than --bg (#131316 on
       this dark palette) — see docs on the console shell below. */
    --rail: #131316;
  }
  :root[data-theme="light"] {
    --bg: #ffffff; --card: #ffffff; --card2: #f6f6f8; --text: #17171a;
    --muted: #6e6e76; --faint: #9a9aa2; --strong: #3a3a40;
    --accent: #c6851a; --accent-tint: #fbf1de; --on-accent: #fff;
    --link: #a66e14; --link-hover: #7a4f0e;
    --ok: #12a150; --err: #d92d20; --line: #ececee; --line2: #d9d9de;
    --team: #4d5fd6; --team-tint: #e9ebfd;
    --rail: #f6f6f8;
  }
  @media (prefers-color-scheme: light) {
    :root:not([data-theme]) {
      --bg: #ffffff; --card: #ffffff; --card2: #f6f6f8; --text: #17171a;
      --muted: #6e6e76; --faint: #9a9aa2; --strong: #3a3a40;
      --accent: #c6851a; --accent-tint: #fbf1de; --on-accent: #fff;
      --link: #a66e14; --link-hover: #7a4f0e;
      --ok: #12a150; --err: #d92d20; --line: #ececee; --line2: #d9d9de;
      --team: #4d5fd6; --team-tint: #e9ebfd;
      --rail: #f6f6f8;
    }
  }
  /* The remote's own palette (docs/features/remote-command-bar): a web app,
     not the apps' window. Scoped to app.html's <html class="remote">, so the
     admin console keeps the palette above. Same theme mechanism. */
  :root.remote {
    --bg: #111113; --head: #141416; --rail: #131315; --card: #18181b; --card2: #1e1e22; --field: #18181b;
      --sel: #33333b; --filled: #5a5a64; --on: #26262c; --line: #222227; --line2: #2a2a31; --off: #5a5a62;
      --text: #f0f0f3; --strong: #d2d2d8; --muted: #a5a5ad; --faint: #8a8a92;
      --accent: #c6851a; --accent-tint: #2a2218; --on-accent: #fff; --link: #e0a957; --link-hover: #eec27f;
      --ok: #3ecf8e; --err: #ff5c5c; --team: #6d7ff2; --team-tint: rgba(109, 127, 242, .18);
  }
  :root.remote[data-theme="light"] {
    --bg: #ffffff; --head: #ffffff; --rail: #f6f6f8; --card: #ffffff; --card2: #f6f6f8; --field: #ffffff;
      --sel: #e6e6ea; --filled: #6e6e76; --on: #ebebef; --line: #ececee; --line2: #d9d9de; --off: #b8b8be;
      --text: #17171a; --strong: #3a3a40; --muted: #5c5c64; --faint: #6e6e76;
      --accent: #c6851a; --accent-tint: #fbf1de; --on-accent: #fff; --link: #a66e14; --link-hover: #7a4f0e;
      --ok: #12a150; --err: #d92d20; --team: #4d5fd6; --team-tint: #e9ebfd;
  }
  @media (prefers-color-scheme: light) {
    :root.remote:not([data-theme]) {
      --bg: #ffffff; --head: #ffffff; --rail: #f6f6f8; --card: #ffffff; --card2: #f6f6f8; --field: #ffffff;
      --sel: #e6e6ea; --filled: #6e6e76; --on: #ebebef; --line: #ececee; --line2: #d9d9de; --off: #b8b8be;
      --text: #17171a; --strong: #3a3a40; --muted: #5c5c64; --faint: #6e6e76;
      --accent: #c6851a; --accent-tint: #fbf1de; --on-accent: #fff; --link: #a66e14; --link-hover: #7a4f0e;
      --ok: #12a150; --err: #d92d20; --team: #4d5fd6; --team-tint: #e9ebfd;
    }
  }
  * { box-sizing: border-box; margin: 0; }
  body {
    background: var(--bg); color: var(--text);
    font: 14px/1.5 'Plus Jakarta Sans', -apple-system, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
  }
  .wrap { max-width: 1320px; margin: 0 auto; padding: 28px 16px 60px; }
  a { color: var(--link); text-decoration: none; }
  a:hover { color: var(--link-hover); }
  .hidden { display: none !important; }
  .muted { color: var(--muted); }
  .mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; }

  /* The brand's one primary: amber pill, white text, no all-caps. */
  button {
    background: var(--accent); color: var(--on-accent); border: 0; border-radius: 9px;
    padding: 9px 16px; font-family: inherit; font-weight: 700; font-size: 13px; letter-spacing: 0;
    cursor: pointer;
  }
  button:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
  /* Quiet companion actions: text-only until hovered. */
  button.ghost { background: transparent; color: var(--strong); border: 1px solid transparent; }
  button.ghost:hover { color: var(--text); background: var(--card2); }
  button.sm { padding: 5px 11px; font-size: 12px; }
  button:disabled { opacity: 0.4; cursor: default; }
  input {
    background: var(--card2); border: 1px solid var(--line); border-radius: 9px;
    color: var(--text); padding: 10px 12px; width: 100%; font-family: inherit; font-size: 14px;
  }
  input:focus { outline: none; border-color: var(--accent); }

  /* top bar (docs/features/remote-command-bar): logo · search · live status ·
     relay meter · Send · account, full width and sticky. */
  .topbar { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 16px;
    position: sticky; top: 0; z-index: 30; background: var(--head); border-bottom: 1px solid var(--line); }
  .brand, .brand:hover { display: flex; align-items: center; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; color: var(--text); }
  .brand .dot { color: var(--accent); }
  .spacer { flex: 1; }
  .num, .tbl, .live, .relay-meter, .fn { font-variant-numeric: tabular-nums; }
  button.tb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 34px; padding: 0 12px;
    flex: none; border-radius: 9px; border: 1px solid var(--line2); background: var(--field); color: var(--strong);
    font-size: 13px; font-weight: 600; white-space: nowrap; }
  button.tb-btn:hover { background: var(--on); color: var(--text); }
  button.tb-btn svg { width: 16px; height: 16px; flex: none; }
  .live { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 12px; flex: none; white-space: nowrap;
    border-radius: 9px; border: 1px solid var(--line2); background: var(--field); font-size: 12.5px; color: var(--muted); }
  .live-online { display: inline-flex; align-items: center; }
  button.live-moving { display: inline-flex; align-items: center; gap: 5px; padding: 0; background: transparent;
    color: var(--muted); font-size: 12.5px; font-weight: 500; border-radius: 0; }
  button.live-moving:hover { background: transparent; color: var(--text); }
  .live-moving svg { width: 14px; height: 14px; color: var(--accent); }
  .rm-label { color: var(--strong); }
  .rm-bar { width: 56px; height: 5px; border-radius: 3px; background: var(--line2); overflow: hidden; }
  .rm-bar > i { display: block; height: 100%; background: var(--accent); }
  .rm-bar.over > i { background: var(--err); }
  .rm-fig { color: var(--muted); font-size: 12px; font-weight: 500; }
  .remote .topbar .acct .who, .remote .topbar .acct .caret { display: none; }
  .remote .topbar .acct { padding: 2px; }
  .avatar {
    width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent);
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px;
    overflow: hidden; flex: none;
  }
  .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
  /* The remote is a full-window app; its sign-in column keeps its own gutter. */
  .remote .wrap { max-width: none; padding: 0; }
  .remote .login { max-width: 412px; padding: 0 16px 60px; }

  /* Account menu: the avatar is the trigger; toggles, Download app and sign
     out live inside the dropdown so the top bar stays clean. */
  .usermenu { position: relative; }
  .acct {
    display: flex; align-items: center; gap: 10px; cursor: pointer;
    background: transparent; border: 1px solid transparent; border-radius: 999px;
    padding: 4px 6px 4px 12px; color: var(--text);
  }
  .acct:hover { background: var(--card2); border-color: var(--line); }
  /* The top bar shows the avatar alone; the name and address are the menu's head. */
  .acct .who { text-align: right; line-height: 1.25; max-width: 180px; }
  .acct .who .n { font-weight: 700; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .acct .who .e { color: var(--muted); font-size: 12px; justify-content: flex-end; }
  /* Identity lines carry the provider mark: an account is keyed by (provider,
     email), so the same address via Google and via GitHub are two accounts —
     the address alone doesn't say which one you're on. The mark never shrinks,
     so the address is what ellipsizes. */
  .acct .who .e, .menu-head .e { display: flex; align-items: center; gap: 5px; }
  .acct .who .e .m, .menu-head .e .m { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .prov { display: inline-flex; flex: none; width: 13px; height: 13px; }
  .prov svg { width: 13px; height: 13px; display: block; }
  .prov:empty { display: none; }
  .acct .caret { width: 15px; height: 15px; color: var(--muted); flex: none; transition: transform .18s; }
  .usermenu.open .acct { background: var(--card2); border-color: var(--line); }
  .usermenu.open .caret { transform: rotate(180deg); }

  .menu {
    position: absolute; top: calc(100% + 8px); right: 0; z-index: 40;
    min-width: 224px; background: var(--card); border: 1px solid var(--line);
    border-radius: 12px; padding: 6px; box-shadow: 0 16px 40px rgba(0,0,0,.4);
  }
  .menu-head { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
  .menu-head .n { font-weight: 700; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .menu-head .e { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .menu-item {
    display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
    background: transparent; border: none; border-radius: 8px; padding: 9px 10px;
    color: var(--text); font-size: 13px; font-weight: 600;
  }
  .menu-item:hover { background: var(--card2); }
  .menu-item .mi-ic { display: flex; width: 17px; height: 17px; color: var(--muted); flex: none; }
  .menu-item .mi-ic svg { width: 17px; height: 17px; }
  .menu-item .mi-label { flex: 1; }
  .menu-item .mi-val { color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
  .menu-item.on { color: var(--accent); background: var(--accent-tint); }
  .menu-item.on .mi-ic { color: var(--accent); }
  .menu-item.danger { color: var(--err); }
  .menu-item.danger .mi-ic { color: var(--err); }
  .menu-item.danger:hover { background: color-mix(in srgb, var(--err) 12%, transparent); }
  /* A real button, not a row: the one common, reversible act in this menu. */
  .menu-item.btn { justify-content: center; border: 1px solid var(--err); margin: 2px 0; }
  .menu-item.btn .mi-ic { display: none; }
  .menu-item.btn .mi-label { flex: none; text-align: center; }
  .menu-sep { height: 1px; background: var(--line); margin: 6px 4px; }
  .icon-btn {
    width: 36px; height: 36px; padding: 0; display: flex; align-items: center; justify-content: center;
    background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 9px;
  }
  .icon-btn:hover { color: var(--text); background: var(--card2); border-color: var(--line2); }
  .icon-btn svg { width: 17px; height: 17px; }

  /* login */
  .login { max-width: 380px; margin: 8vh auto 0; text-align: center; }
  .login .logo { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
  .login .logo .dot { color: var(--accent); }
  .login h1 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 6px; }
  .login .tag { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
  .login .card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
  .provider { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-bottom: 10px; background: var(--card2); color: var(--text); border: 1px solid var(--line); font-weight: 700; font-size: 14px; padding: 12px; }
  .provider:hover { background: var(--card2); border-color: var(--line2); }
  /* Same brand marks as the identity line, at button size. Icon and label ride
     one centred flex group, so the row stays balanced whether the name is
     "Apple" or "Microsoft". */
  .provider .pmark { display: inline-flex; flex: none; width: 18px; height: 18px; }
  .provider .pmark svg { width: 18px; height: 18px; display: block; }
  .sep { display: flex; align-items: center; gap: 10px; color: var(--faint); font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin: 16px 0; }
  .sep::before, .sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
  .devrow { display: flex; gap: 8px; }
  .devrow input { flex: 1; }
  .devrow button { white-space: nowrap; }
  .redeem-row { margin-top: 10px; }
  .redeem-row input { font-family: var(--mono, ui-monospace, monospace); letter-spacing: .04em; }
  .err { color: var(--err); font-size: 13px; margin-top: 12px; }
  /* Get peeza CTA on the signed-out screen (mirrors the / landing) */
  .dl-link { text-decoration: none; display: block; }
  .dl-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 13px; font-size: 14px; }
  .dl-btn svg { width: 18px; height: 18px; }
  .site-link { margin-top: 14px; font-size: 13px; color: var(--muted); }

  /* Waitlist: signed in, but the account isn't approved for the closed beta
     yet. Borrows the login column so a person who just signed in stays in the
     same visual place instead of landing somewhere new. */
  .pd-icon { width: 52px; height: 52px; border-radius: 15px; margin: 0 auto 16px;
    background: var(--accent-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; }
  .pd-icon svg { width: 26px; height: 26px; }
  .pd-who { display: flex; align-items: center; gap: 10px; text-align: left; }
  .pd-who .avatar { width: 32px; height: 32px; font-size: 12px; }
  .pd-who .pd-lbl { color: var(--faint); font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
  .pd-who .pd-mail { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pd-note { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px;
    color: var(--muted); font-size: 13px; line-height: 1.5; text-align: left; }
  .pd-when { margin-top: 8px; color: var(--faint); font-size: 12.5px; }
  /* Disconnect stays a real button (bordered, since `.ghost`'s own border is
     transparent); Delete account drops to a plain link, well below it. Both
     `display: block` — as inline `<button>`s they would sit side by side,
     a few px apart, not stacked the way the margins imply. */
  .pd-out { display: block; width: fit-content; margin: 20px auto 0; padding-left: 16px; padding-right: 16px; }
  /* `.ghost` (two classes) beats `button.ghost` (class+element) on specificity,
     so this is where the border actually shows. */
  .ghost.pd-out { border-color: var(--line); }
  .ghost.pd-out:hover { border-color: var(--muted); }

  /* First-run onboarding: shown in place of the whole dashboard when the account
     has no machines yet — until peeza is installed and signed in, transfers /
     stats / devices are all empty and there's nothing to control. */
  .onboard { text-align: center; max-width: 460px; margin: 4vh auto 0;
    background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px 26px; }
  .onboard .ob-icon { width: 56px; height: 56px; border-radius: 15px; margin: 0 auto 16px;
    background: var(--accent-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; }
  .onboard .ob-icon svg { width: 28px; height: 28px; }
  .onboard h2 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 8px; }
  .onboard .ob-sub { color: var(--muted); font-size: 14px; line-height: 1.5; margin-bottom: 22px; }
  .onboard .ob-steps { text-align: left; display: flex; flex-direction: column; gap: 13px; margin-bottom: 24px; }
  .onboard .ob-step { display: flex; align-items: flex-start; gap: 12px; }
  .onboard .ob-num { width: 24px; height: 24px; border-radius: 50%; flex: none; font-size: 12px; font-weight: 800;
    background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; }
  .onboard .ob-text { font-size: 14px; line-height: 1.4; padding-top: 2px; }
  .onboard .ob-text b { font-weight: 700; }
  .onboard .ob-dl { width: 100%; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 13px; font-size: 14px; }
  .onboard .ob-dl svg { width: 18px; height: 18px; }
  .onboard .ob-foot { margin-top: 14px; font-size: 12.5px; color: var(--faint); }
  /* Same hero rendered inside the transfers list instead of over the page: it's
     one option among others there, not the only thing on screen, so it stops
     competing with the drop zone above it. It keeps a clear gap rather than
     hugging the zone — with the filter toolbar hidden in this exact state
     (nothing to filter), only this margin separates "send one now" from
     "install the app", and they're two different offers. */
  .onboard.ob-inline { margin-top: 34px; }

  /* The live dot, first in the top bar's status: breathing while the poll
     answers (the exact time is its tooltip), red with words when it fails. */
  .updated { display: flex; align-items: center; gap: 6px; color: var(--faint); font-size: 12px; min-width: 0; }
  .updated .lt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .updated .ld { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none;
    animation: live-pulse 2.4s ease-in-out infinite; }
  .updated.err { color: var(--err); }
  .updated.err .ld { background: var(--err); animation: none; }
  @keyframes live-pulse {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 45%, transparent); }
    70%, 100% { box-shadow: 0 0 0 5px transparent; }
  }
  @media (prefers-reduced-motion: reduce) { .updated .ld { animation: none; } }
  /* The drawer's head (brand + close) exists only while the rail is a drawer. */
  .rail-head { display: none; }

  /* ---- narrow-screen nav drawer (nav-drawer.js) ----
     Shared by the remote and the admin console (admin.css places its own
     rail). Hidden above each page's breakpoint; the burger's display is also
     what the script reads to know which side of it the window is on. */
  button.nav-burger, button.nav-close { display: none; align-items: center; justify-content: center;
    width: 38px; height: 38px; flex: none; padding: 0; border-radius: 9px;
    background: transparent; color: var(--strong); border: 1px solid var(--line); }
  button.nav-burger:hover, button.nav-close:hover { background: var(--card2); color: var(--text); }
  button.nav-close { border-color: transparent; }
  .nav-burger svg { width: 20px; height: 20px; }
  .nav-close svg { width: 18px; height: 18px; }
  .nav-scrim { display: none; position: fixed; inset: 0; z-index: 55;
    background: rgba(0, 0, 0, .45); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
  html.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
  /* The drawer itself is each page's rail, given its drawer geometry inside
     that page's breakpoint (.rail at 760px below, .adm-rail at 900px in
     admin.css). Off-canvas AND visibility:hidden when shut, so Tab never walks
     into a menu nobody can see; visibility flips only once the slide-out ends. */
  @media (prefers-reduced-motion: reduce) { .nav-scrim, .rail, .adm-rail { transition: none !important; } }

  /* ---- the dashboard (docs/features/remote-command-bar) ----
     Rail of places | the place's table | the details pane, edge to edge under
     the top bar. --hue is the place's colour, kept for its accents only. */
  .layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: stretch;
    background: var(--bg); min-height: calc(100vh - 57px); }
  .view { min-width: 0; position: relative; padding: 16px 20px 28px; }
  .rail { background: var(--rail); border-right: 1px solid var(--line); padding: 14px 10px 16px;
    display: flex; flex-direction: column; min-width: 0; }
  @media (min-width: 761px) {
    .rail { position: sticky; top: 57px; align-self: start; height: calc(100vh - 57px); overflow-y: auto; }
  }
  #railList { display: flex; flex-direction: column; gap: 2px; }
  .r-hero, .r-team, .r-dev { display: flex; align-items: center; gap: 10px; width: 100%; height: 32px; padding: 0 10px;
    text-align: left; font-family: inherit; font-size: 13px; font-weight: 500; color: var(--muted);
    border: 0; border-radius: 7px; cursor: pointer; background: transparent; }
  .r-hero:hover, .r-team:hover, .r-dev:hover { background: color-mix(in srgb, var(--on) 60%, transparent); color: var(--text); }
  .r-hero.on, .r-team.on, .r-dev.on, .r-hero.on:hover, .r-team.on:hover, .r-dev.on:hover { background: var(--sel); color: var(--text); }
  .r-hero .r-glyph { display: flex; color: currentColor; }
  .r-hero .r-glyph svg { width: 16px; height: 16px; }
  .r-head { display: flex; align-items: center; justify-content: space-between; margin: 16px 2px 6px 10px;
    font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
  button.r-add { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0;
    background: transparent; color: var(--faint); border-radius: 6px; }
  button.r-add:hover { background: var(--on); color: var(--text); }
  .r-add svg { width: 14px; height: 14px; }
  button.r-add:disabled { opacity: .4; cursor: default; background: transparent; }
  .r-team .r-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hue); flex: none; }
  .r-dev .r-os { display: flex; color: currentColor; flex: none; }
  .r-dev .r-os svg { width: 16px; height: 16px; }
  .r-dev.off { opacity: .55; }
  button.r-manage { padding: 1px 6px; border-radius: 5px; background: transparent; color: var(--link);
    font-size: 11px; font-weight: 600; letter-spacing: 0; text-transform: none; }
  button.r-manage:hover { background: var(--on); }
  button.r-manage.on { background: var(--accent-tint); }

  /* The Devices screen (docs/features/remote-devices-screen). */
  .dv-title { font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin: 4px 0 2px; }
  .dv-sub { color: var(--muted); margin-bottom: 16px; }
  .dv-table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card); }
  .dv-head, .dv-row { display: grid; align-items: center; gap: 12px; padding: 0 14px;
    grid-template-columns: 20px 32px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr) 110px; }
  .dv-head { height: 32px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
    color: var(--faint); background: var(--card2); border-bottom: 1px solid var(--line); }
  .dv-row { min-height: 58px; padding-top: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
  .dv-row:last-child { border-bottom: 0; }
  .dv-row.off .dv-os, .dv-row.off .dv-open { opacity: .6; }
  .dv-os { position: relative; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; background: var(--on); color: var(--strong); }
  .dv-os svg { width: 15px; height: 15px; }
  .dv-dot { position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%;
    background: var(--off); border: 2px solid var(--card); }
  .dv-dot.on { background: var(--ok); }
  .dv-name { min-width: 0; }
  button.dv-open { display: block; max-width: 100%; padding: 0; background: transparent; color: var(--text);
    font-size: 14px; font-weight: 600; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  button.dv-open:hover { color: var(--link); text-decoration: underline; }
  .dv-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; }
  .dv-chip { font-size: 11px; padding: 1px 7px; border-radius: 10px; background: var(--on); color: var(--strong); white-space: nowrap; }
  .dv-chip.net { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
  .dv-chip.upd { background: var(--accent-tint); color: var(--link); }
  .dv-status { color: var(--strong); min-width: 0; }
  .dv-status.on { color: var(--ok); font-weight: 600; }
  .dv-since { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
  .dv-ver { color: var(--strong); font-variant-numeric: tabular-nums; }
  .dv-facts { display: none; color: var(--muted); font-size: 12px; }
  .dv-act { text-align: right; }
  button.dv-btn { padding: 5px 11px; font-size: 12px; font-weight: 600; border-radius: 7px;
    background: transparent; color: var(--strong); border: 1px solid var(--line2); }
  button.dv-btn:hover { border-color: var(--err); color: var(--err); }
  .dv-foot { color: var(--faint); font-size: 12px; margin-top: 12px; }
  .dv-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .dv-pick { display: flex; align-items: center; }
  input.dv-check { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); cursor: pointer; }
  .dv-row.sel { background: var(--sel); }
  .dv-head:has(.dv-head-sel) { background: var(--accent-tint); }
  .dv-head-sel { grid-column: 5 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 10px;
    text-transform: none; letter-spacing: 0; font-size: 12px; color: var(--text); }
  .dv-count { font-weight: 600; white-space: nowrap; }
  .dv-head-sel button.dv-btn { padding: 3px 10px; }
  button.dv-btn.danger { background: var(--err); border-color: var(--err); color: #fff; }
  button.dv-btn.danger:hover { color: #fff; filter: brightness(1.08); }
  .r-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .r-n { padding: 1px 6px; border-radius: 10px; font-size: 12px; background: var(--card2); color: var(--muted); font-variant-numeric: tabular-nums; }
  .r-live { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--off); }
  .r-live.on { background: var(--ok); }
  .r-live.busy { background: var(--accent); animation: live-pulse 2.4s ease-in-out infinite; }
  .r-empty { color: var(--faint); font-size: 12px; line-height: 1.4; padding: 2px 10px 4px; }

  /* the place's header and filters stay under the top bar while the list scrolls */
  .place-top { position: sticky; top: 57px; z-index: 5; background: var(--bg);
    margin: -16px -20px 0; padding: 16px 20px 0; }
  .phead { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; min-width: 0; }
  .ph-glyph { width: 28px; height: 28px; border-radius: 7px; flex: none; display: flex; align-items: center;
    justify-content: center; background: var(--accent-tint); color: var(--link); }
  .ph-glyph svg { width: 16px; height: 16px; }
  .ph-text { flex: 1; min-width: 0; }
  .ph-name { font-size: 18px; font-weight: 600; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ph-sub { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ph-acts { display: flex; align-items: center; gap: 6px; flex: none; }

  /* the filters (Behavior 11) */
  .filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
  .fgroup { display: flex; gap: 6px; flex-wrap: wrap; }
  button.fbtn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 8px;
    border: 1px solid var(--line2); background: var(--field); color: var(--strong); font-size: 13px; font-weight: 500; }
  button.fbtn:hover { background: var(--on); color: var(--text); }
  button.fbtn.on { background: var(--on); color: var(--text); border-color: var(--line2); font-weight: 600; }
  .fn { font-size: 12px; color: var(--faint); }
  .ph-clear { max-width: 280px; overflow: hidden; text-overflow: ellipsis; }

  /* the table (Behaviors 10, 12): File · Route · Progress · Size · Speed · acts */
  .xlist { position: relative; }
  .tbl { border-top: 1px solid var(--line); }
  .tr { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1.7fr) 72px 80px 124px;
    gap: 14px; align-items: center; min-height: 54px; padding: 8px 12px; border-bottom: 1px solid var(--line);
    font-size: 13px; cursor: default; }
  .tbl.has-relay .tr:not(.notice) { grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1.7fr) 72px 80px 236px; }
  .tr:not(.thead):not(.notice):hover { background: color-mix(in srgb, var(--sel) 70%, transparent); }
  /* Selected is neutral: grey fill, hairline inside, no place hue (quiet-colour). */
  .tr.sel, .tr.sel:hover { background: var(--sel); box-shadow: inset 0 0 0 1px var(--line2); }
  .tr.off { opacity: .55; }
  .tr.thead { min-height: 0; padding-top: 8px; padding-bottom: 8px; }
  .th { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
  .td { min-width: 0; }
  .td-file { display: flex; align-items: center; gap: 10px; }
  .td-filetext { display: flex; flex-direction: column; min-width: 0; }
  .td-word { display: none; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .td-size, .td-speed { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .td-acts { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
  .c-disc { width: 28px; height: 28px; border-radius: 7px; flex: none; display: flex; align-items: center;
    justify-content: center; background: var(--on); color: var(--muted); }
  .c-disc svg { width: 13px; height: 13px; }
  .c-disc.run { background: var(--accent-tint); color: var(--link); }
  .c-disc.ok { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
  .c-disc.err { background: color-mix(in srgb, var(--err) 15%, transparent); color: var(--err); }
  .c-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  button.c-act { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; font-size: 12px; font-weight: 600;
    flex: none; white-space: nowrap;
    background: var(--field); color: var(--strong); border: 1px solid var(--line2); border-radius: 7px; }
  button.c-act svg { width: 13px; height: 13px; flex: none; }
  button.c-act:hover { background: var(--on); color: var(--text); }
  button.c-act.prominent { background: var(--filled); color: #fff; border-color: var(--filled); }
  button.c-act.prominent:hover { background: color-mix(in srgb, var(--filled) 88%, #000); }
  button.c-act.bin { display: inline-flex; padding: 4px 8px; }
  button.c-act.bin svg { width: 15px; height: 15px; }
  /* The …: its icon alone, outlined like every other app's (card-buttons-parity, Behavior 2). */
  button.c-more { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 28px; padding: 0;
    flex: none; background: transparent; color: var(--muted); border: 1px solid var(--line2); border-radius: 7px; }
  button.c-more:hover { background: var(--on); color: var(--text); }
  .c-more svg { width: 16px; height: 16px; }
  .c-route { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--muted); white-space: nowrap; }
  .c-end { display: inline-flex; align-items: center; gap: 5px; min-width: 0; flex: 0 1 auto; max-width: 58%; }
  .c-end svg { width: 14px; height: 14px; flex: none; color: var(--strong); }
  .c-endname { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .c-arr { width: 12px; height: 12px; flex: none; color: var(--off); }
  /* The status line wraps rather than truncating the longest words (French). */
  .c-sub { display: flex; align-items: center; flex-wrap: wrap; column-gap: 5px; row-gap: 1px; min-width: 0;
    font-size: 12px; color: var(--muted); line-height: 1.35; }
  .c-word { font-weight: 500; color: var(--muted); }
  .c-copies { color: var(--muted); }
  .c-word.ok { color: var(--ok); }
  .c-word.err { color: var(--err); }
  .c-dot { color: var(--faint); }
  .c-tag { font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 5px; }
  .c-tag.lan { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
  .c-tag.relay { background: var(--accent-tint); color: var(--link); display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
  .c-tag-glyph { width: 10px; height: 10px; flex: none; }
  .c-warn { color: var(--link); font-weight: 600; }
  .c-rate, .c-sub > .c-dot:has(+ .c-rate) { display: none; }
  /* Narrower windows: Speed folds into the status line (plan, Risks). */
  @media (max-width: 1399px) {
    .tr { grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr) minmax(0, 1.8fr) 68px 124px; }
    .tr.notice { grid-template-columns: minmax(0, 1fr) auto; }
    .tbl.has-relay .tr:not(.notice) { grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr) minmax(0, 1.8fr) 68px 236px; }
    .td-speed, .tr.thead .th:nth-child(5) { display: none; }
    .c-rate { display: inline; }
    .c-sub > .c-dot:has(+ .c-rate) { display: inline; }
  }
  .c-ask { color: var(--link); font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .c-hint { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .c-bar { height: 4px; margin-top: 6px; border-radius: 2px; background: var(--line2); overflow: hidden; }
  .c-bar.none { background: transparent; }
  .c-bar > i { display: block; height: 100%; background: var(--accent); transition: width .3s; }
  .c-bar.ok > i { background: var(--ok); }
  .c-bar.err > i { background: var(--err); }
  .c-bar.stop > i { background: var(--muted); }
  .c-bar.indet > i { width: 30%; animation: barSweep 1.3s ease-in-out infinite; }
  @keyframes barSweep { from { margin-left: -30%; } to { margin-left: 100%; } }
  @media (prefers-reduced-motion: reduce) { .c-bar.indet > i, .r-live.busy { animation: none; } }
  /* A notice that needs the person (a suspended team): a row, its button inline. */
  .tr.notice { grid-template-columns: minmax(0, 1fr) auto; background: var(--accent-tint); }
  .td-notice { display: flex; flex-direction: column; gap: 2px; }
  .td-notice .sm-sub { margin: 0; }

  /* a device's place: log rows by section (DESKTOP-SPEC §10) */
  .lsec { display: flex; align-items: center; gap: 8px; margin: 14px 2px 6px; font-size: 11px; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
  .lsec::after { content: ''; flex: 1; height: 1px; background: var(--line); }
  .xlist > .lsec:first-child { margin-top: 2px; }
  .log { position: relative; display: grid; grid-template-columns: 8px 14px minmax(0, 1fr) auto minmax(0, 180px) 30px;
    align-items: center; gap: 8px; height: 34px; padding: 0 6px 0 10px; border-radius: 7px; font-size: 12.5px; }
  .log:hover { background: color-mix(in srgb, var(--sel) 70%, transparent); }
  .log.sel { background: var(--sel); }
  .log.off { opacity: .55; }
  .l-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
  .l-dot.moving { background: var(--accent); }
  .l-dot.settled { background: var(--ok); }
  .l-dot.failed { background: var(--err); }
  .l-arr { color: var(--faint); font-weight: 700; }
  .l-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .l-word { color: var(--muted); white-space: nowrap; }
  .l-end { color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .c-more-gap { width: 30px; }
  .l-prog { position: absolute; left: 32px; right: 8px; bottom: 2px; height: 1.5px; overflow: hidden; }
  .l-prog > i { display: block; height: 100%; background: var(--accent); }

  /* empty, the drop veil */
  .pempty, .pn-empty { text-align: center; padding: 48px 16px; }
  .pe-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
  .pe-sub { color: var(--muted); font-size: 13px; max-width: 360px; margin: 0 auto; line-height: 1.45; }
  /* Nothing shows through (Eric, 2026-11-16): opaque edge to edge, the dashed wash 8px inside. */
  .dropveil { position: absolute; inset: 0; z-index: 5; display: flex; align-items: flex-start; justify-content: center;
    background: var(--bg); color: var(--link); font-size: 15px; font-weight: 700; pointer-events: none; }
  /* The veil is the whole list's height: its words stay mid-screen, however long the list. */
  .dropveil > span { position: sticky; top: 50vh; margin-top: calc(50vh - 70px); }
  .dropveil:not(.hidden) ~ .fab-dock { visibility: hidden; }  /* no + on the veil */
  .dropveil::before { content: ""; position: absolute; inset: 8px; z-index: -1;
    border: 2px dashed var(--accent); border-radius: 12px; background: color-mix(in srgb, var(--accent) 10%, var(--bg)); }

  /* the details pane (DESKTOP-SPEC §7): the right column on a wide window, a
     sheet below that, the whole screen on a phone (Behaviors 13, 16) */
  .pane { display: none; background: var(--rail); border-left: 1px solid var(--line); padding: 18px; min-width: 0; overflow-y: auto; }
  @media (min-width: 1100px) {
    .pane { position: sticky; top: 57px; align-self: start; max-height: calc(100vh - 57px); min-height: calc(100vh - 57px); }
    .layout.with-pane { grid-template-columns: 220px minmax(0, 1fr) 320px; }
    .layout.with-pane .pane { display: block; }
  }
  @media (max-width: 1099px) {
    .layout.with-pane.pane-open .pane { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
      max-height: 70vh; border: 1px solid var(--line); border-radius: 14px 14px 0 0;
      box-shadow: 0 -12px 40px rgba(0, 0, 0, .35); }
  }
  .pn-head { display: flex; align-items: flex-start; gap: 10px; }
  .pn-title { flex: 1; min-width: 0; }
  .pn-name { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
  .pn-size { color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
  button.pn-close { width: 28px; height: 28px; padding: 0; flex: none; background: transparent; color: var(--muted); font-size: 18px; }
  button.pn-close:hover { background: var(--on); color: var(--text); }
  @media (min-width: 1100px) { button.pn-close, button.pn-more { display: none; } }
  .pn-status { margin: 12px 0; font-size: 13px; }
  .pn-hint { color: var(--muted); font-size: 12px; margin-top: 4px; line-height: 1.4; }
  .pn-facts { margin: 0; }
  .pn-fact { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 12.5px; }
  .pn-fact dt { color: var(--muted); }
  .pn-fact dd { margin: 0; text-align: right; min-width: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
  .pn-sec { margin: 16px 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
  .pn-copy { padding: 8px 0; border-top: 1px solid var(--line); font-size: 12.5px; }
  .pn-copy-line { display: flex; justify-content: space-between; gap: 12px; }
  .pn-copy-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pn-copy .c-bar { margin-top: 5px; }
  .pn-people-line { font-size: 12.5px; margin-bottom: 8px; }
  .pn-people { display: flex; flex-wrap: wrap; gap: 6px; }
  .pn-person { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; border: 1.5px solid var(--line2); color: var(--muted); }
  .pn-person.has { border-color: var(--hue); color: var(--text); }

  /* a … menu (dash/card-menu.js) */
  .cmenu { position: fixed; z-index: 70; min-width: 220px; background: var(--card); border: 1px solid var(--line);
    border-radius: 10px; padding: 5px; box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }
  .cm-head { padding: 6px 10px 8px; margin-bottom: 4px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
  .cmenu .menu-item:disabled { opacity: .45; cursor: default; background: transparent; }
  .qr-box { background: #fff; border-radius: 10px; padding: 14px; margin: 4px auto 0; width: 240px; }
  .qr-box svg { display: block; width: 100%; height: auto; }
  .xlist .scard { margin-bottom: 10px; }

  /* ---- global search (docs/SEARCH-PLAN.md), in the top bar ---- */
  .xsearch { display: flex; align-items: center; gap: 8px; flex: 1 1 280px; min-width: 0; max-width: 460px; margin: 0 auto 0 0;
    height: 36px; padding: 0 8px 0 12px; background: var(--field); border: 1px solid var(--line2); border-radius: 9px; }
  .xsearch:focus-within { border-color: var(--accent); }
  .xsearch.off { visibility: hidden; }
  .xsearch .xs-ico { width: 16px; height: 16px; flex: none; color: var(--faint); }
  .xsearch:focus-within .xs-ico { color: var(--accent); }
  #xsInput { flex: 1; min-width: 0; background: transparent; border: 0; padding: 6px 2px;
    color: var(--text); font: inherit; font-size: 13px; }
  #xsInput:focus { outline: none; }
  #xsInput::placeholder { color: var(--faint); }
  .xs-x { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex: none;
    padding: 0; border-radius: 50%; background: transparent; color: var(--faint); cursor: pointer; }
  .xs-x:hover { color: var(--text); background: var(--on); }
  .xs-x svg { width: 12px; height: 12px; }
  .xs-kbd { flex: none; padding: 1px 6px; border: 1px solid var(--line2); border-radius: 5px; color: var(--faint);
    font: 500 11px/1.5 inherit; font-family: inherit; }
  .xsearch:focus-within .xs-kbd { display: none; }
  /* The Devices strip: machines the query named. */
  .xplaces { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
  .xplaces .xp-head { font-size: 11px; font-weight: 600; letter-spacing: .05em;
    text-transform: uppercase; color: var(--faint); }
  .xp-row { display: flex; align-items: center; gap: 9px; width: 100%; text-align: left;
    padding: 8px 11px; border-radius: 9px; cursor: pointer;
    background: var(--field); border: 1px solid var(--line2); color: var(--text); font-weight: 600; }
  .xp-row:hover { background: var(--on); }
  .xp-ico { width: 16px; height: 16px; flex: none; display: inline-flex; }
  .xp-ico svg { width: 16px; height: 16px; }
  .xp-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .chip { font-family: inherit; font-size: 12px; font-weight: 700; color: var(--muted);
    background: var(--card2); border: 1px solid var(--line); border-radius: 20px; padding: 5px 12px; cursor: pointer; }
  .chip:hover { color: var(--text); border-color: var(--line2); }
  .chip.on { color: var(--accent); border-color: var(--accent); background: var(--accent-tint); }

  .status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); display: inline-block; margin-right: 5px; vertical-align: middle; }
  .status-dot.on { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }

  /* stats tab: usage meter + pride stats. We meter ONLY relayed bytes; direct is free. */
  .scard { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin-bottom: 12px; }
  .plan-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
  .plan-badge { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 6px; background: var(--card2); color: var(--muted); border: 1px solid var(--line); }
  .plan-badge.pro { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
  .eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
  .meter-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
  .meter-used { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
  .meter-used .u { font-size: 15px; color: var(--muted); font-weight: 600; margin-left: 3px; }
  .meter-cap { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
  .meter { background: var(--card2); border: 1px solid var(--line); border-radius: 6px; height: 12px; overflow: hidden; }
  .meter > div { height: 100%; background: var(--accent); border-radius: 6px; transition: width .4s ease, background .3s; }
  .meter.over > div { background: var(--err); }
  .meter-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; font-size: 12.5px; color: var(--muted); }
  .meter-foot b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
  .warn-line { display: none; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 11px; border-radius: 8px;
    background: var(--accent-tint); color: var(--link); font-size: 12.5px; font-weight: 600; }
  .warn-line.show { display: flex; }
  .warn-line .wdot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
  /* Purchased-balance line under the monthly meter */
  .topup-line { display: none; margin-top: 9px; font-size: 12.5px; color: var(--muted); }
  .topup-line.show { display: block; }
  .topup-line b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
  /* Buy-relay card */
  .buy-sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
  .buy-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 10px; margin-top: 14px; }
  .buy-pack { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 10px;
    border: 1px solid var(--line); border-radius: 10px; background: var(--card2); cursor: pointer;
    font: inherit; color: var(--text); transition: border-color .15s, background .15s; }
  .buy-pack:hover { border-color: var(--accent); background: var(--accent-tint); }
  .buy-pack:disabled { opacity: .55; cursor: default; }
  .buy-pack b { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
  .buy-pack span { font-size: 12.5px; color: var(--muted); }
  /* Referral CTA card */
  .referral { border-color: var(--accent); }
  .ref-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
  .ref-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-tint);
    display: flex; align-items: center; justify-content: center; font-size: 19px; flex: none; }
  .ref-title { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
  .ref-sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
  .ref-link { display: flex; gap: 8px; }
  .ref-link input { flex: 1; min-width: 0; background: var(--card2); border: 1px solid var(--line);
    border-radius: 9px; padding: 9px 12px; color: var(--text); font-family: inherit;
    font-size: 13px; font-variant-numeric: tabular-nums; }
  .ref-link button { white-space: nowrap; }
  .ref-invite { display: flex; gap: 14px; align-items: flex-start; margin-top: 14px; }
  .ref-qr { flex: 0 0 auto; width: 96px; height: 96px; background: #fff; border-radius: 8px; padding: 6px; }
  .ref-qr svg { width: 100%; height: 100%; display: block; }
  .ref-send { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--muted); }
  .ref-sent { min-height: 1.2em; font-size: 12.5px; }
  .ref-pro { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
  @media (max-width: 520px) { .ref-invite { flex-direction: column; } }
  .ref-foot { display: flex; gap: 22px; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
  .ref-foot b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
  .sgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .sgrid .scard { margin: 0; }
  .stat-big { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
  .stat-sub { font-size: 12px; color: var(--muted); margin-top: 6px; }
  .split { display: flex; height: 8px; border-radius: 5px; overflow: hidden; margin-top: 12px; border: 1px solid var(--line); }
  .split .d { background: var(--ok); transition: width .4s ease; }
  .split .r { background: var(--accent); transition: width .4s ease; }
  .legend { display: flex; gap: 14px; margin-top: 9px; font-size: 11px; color: var(--muted); }
  .legend > span { display: flex; align-items: center; gap: 5px; }
  .legend i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
  /* Send-to-device chooser + early-beta download warning. */
  dialog#sendModal, dialog#betaModal, dialog#deleteModal, dialog#logoutAllModal, dialog#teamModal, dialog#confirmModal, dialog#qrModal { background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 18px; width: 360px; margin: auto; }
  dialog#sendModal::backdrop, dialog#betaModal::backdrop, dialog#deleteModal::backdrop, dialog#logoutAllModal::backdrop, dialog#teamModal::backdrop, dialog#confirmModal::backdrop, dialog#qrModal::backdrop { background: rgba(0,0,0,.5); }
  /* The Pro trial's dialog: the shared dialog look, wider for its list and
     three buttons. A tick per line of what Pro gives; S4's lines are what the
     account loses, so they wear a dash (.loss). */
  dialog#proModal { background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 20px; width: 420px; margin: auto; }
  dialog#proModal::backdrop { background: rgba(0,0,0,.5); }
  #proModal .sm-title { font-size: 16px; font-weight: 700; }
  #proModal .sm-sub { font-size: 13px; }
  .pm-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 7px; font-size: 13px; line-height: 1.4; }
  .pm-list li { display: flex; gap: 9px; }
  .pm-list li::before { content: '✓'; color: var(--accent); font-weight: 700; flex: none; width: 12px; }
  .pm-list.loss li::before { content: '–'; color: var(--muted); }
  #pmFoot { flex-wrap: wrap; }
  /* The account menu's Pro row: a fact and one quiet action, never a badge. */
  .menu-pro { display: flex; align-items: center; gap: 8px; padding: 6px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
  .menu-pro .mp-status { flex: 1; font-size: 12px; font-weight: 600; white-space: nowrap; }
  .menu-pro .mp-act { color: var(--accent); font-weight: 700; white-space: nowrap; }
  /* Account deletion: the one destructive confirm on the page, so the only red button. */
  .sm-err { color: var(--err); font-size: 12px; margin: 0 0 8px; line-height: 1.4; }
  button.dm-go { background: var(--err); border-color: var(--err); color: #fff; }
  button.dm-go:disabled { opacity: .6; cursor: default; }
  .pd-del {
    display: block; width: fit-content; margin: 20px auto 0;
    background: none; border: none; padding: 2px 4px;
    color: var(--err); font-weight: 500; text-decoration: underline;
  }
  .pd-del:hover { background: none; opacity: .75; }
  .sm-title { font-weight: 600; font-size: 14px; }
  .sm-sub { color: var(--muted); font-size: 12px; margin: 6px 0 12px; line-height: 1.4; }
  .sm-targets { display: flex; flex-direction: column; gap: 6px; max-height: 260px; overflow: auto; }
  .sm-target { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
    background: var(--card2); border: 1px solid var(--line); border-radius: 8px; color: var(--text);
    padding: 9px 11px; cursor: pointer; font-size: 13px; }
  .sm-target:hover { border-color: var(--accent); }
  .sm-target .st-name { font-weight: 600; }
  .sm-target .st-icon { display: flex; color: var(--accent); }
  .sm-target .st-icon svg { width: 15px; height: 15px; }
  .sm-target .st-meta { margin-left: auto; color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 6px; }
  .sm-empty { color: var(--muted); font-size: 13px; text-align: center; padding: 16px 8px; }
  .sm-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
  #betaModal .sm-title { display: flex; align-items: center; gap: 8px; }
  #betaModal .sm-title svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

  /* The standing "not in the cloud" note above the table (Behavior 14). This
     dashboard is the one peeza surface that LOOKS like a cloud drive — a
     website listing your files — so the fact the whole product stands on
     (files live on machines; nothing is stored in any cloud) is said in the
     view itself. One quiet line: wallpaper after the first read. */
  .nocloud { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; min-width: 0;
    color: var(--faint); font-size: 12px; line-height: 1.4; }
  .nocloud > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nocloud svg { width: 14px; height: 14px; flex: none; color: var(--faint); }
  .nocloud b { color: var(--muted); font-weight: 600; }

  /* Below 760px (Behavior 16): the rail is a drawer behind the burger, the top
     bar keeps the logo, search, Send and account, the table keeps File and
     Size, and a row's details open over the whole screen. */
  @media (max-width: 760px) {
    .layout { grid-template-columns: minmax(0, 1fr); min-height: calc(100vh - 57px); }
    .view { padding: 12px 12px 20px; }
    .place-top { margin: -12px -12px 0; padding: 12px 12px 0; }
    button.nav-burger, button.nav-close { display: inline-flex; }
    .nav-scrim { display: block; }
    .rail { position: fixed; top: 0; bottom: 0; left: 0; z-index: 60;
      width: min(272px, 84vw); padding: 14px 12px 20px; gap: 2px; overflow-y: auto;
      background: var(--rail); border-right: 1px solid var(--line);
      box-shadow: 0 0 40px rgba(0, 0, 0, .25);
      transform: translateX(-100%); visibility: hidden;
      transition: transform .22s ease, visibility 0s linear .22s; }
    html.nav-open .rail { transform: none; visibility: visible; transition: transform .22s ease; }
    .rail-head { display: flex; align-items: center; justify-content: space-between;
      padding: 0 0 12px 8px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
    html.nav-open { overflow: hidden; }
    .topbar { gap: 8px; padding: 0 12px; }
    .live, .relay-meter, .xs-kbd { display: none !important; }
    .xsearch { flex-basis: 0; margin: 0; }
    .tr { grid-template-columns: minmax(0, 1fr) 64px 112px; gap: 10px; padding: 8px 6px; }
    .tr.notice { grid-template-columns: minmax(0, 1fr) auto; }
    .tr.thead, .td-route, .td-prog, .td-speed { display: none; }
    .td-word { display: block; }
    .layout.with-pane.pane-open .pane { top: 0; max-height: none; border-radius: 0; border: 0; box-shadow: none; }
    dialog#sendModal, dialog#betaModal, dialog#deleteModal, dialog#logoutAllModal, dialog#teamModal, dialog#confirmModal, dialog#qrModal { width: min(360px, calc(100vw - 24px)); }
    dialog#proModal { width: min(420px, calc(100vw - 24px)); }
    .dv-head > span[aria-hidden], .dv-row .dv-status, .dv-row .dv-ver { display: none; }
    .dv-head { grid-template-columns: 20px 1fr; height: 36px; }
    .dv-head-sel { grid-column: 2 / -1; }
    .dv-row { grid-template-columns: 20px 32px minmax(0, 1fr) auto; padding: 10px 12px; row-gap: 2px;
      grid-template-areas: "pick os name act" "pick os facts act"; }
    .dv-row .dv-pick { grid-area: pick; align-self: start; padding-top: 7px; }
    .dv-row .dv-os { grid-area: os; align-self: start; }
    .dv-row .dv-name { grid-area: name; }
    .dv-row .dv-facts { grid-area: facts; display: block; }
    .dv-row .dv-act { grid-area: act; }
  }

  .pill { font-size: 10px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; padding: 2px 8px; border-radius: 20px; background: var(--card2); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
  .pill.active, .pill.connecting { color: var(--accent); border-color: var(--accent); background: var(--accent-tint); }
  .pill.completed { color: var(--ok); border-color: var(--ok); background: transparent; }
  .pill.failed { color: var(--err); border-color: var(--err); background: transparent; }
  .empty { color: var(--muted); font-size: 13px; padding: 16px 18px; }

  /* toast-place.js places it: a manual popover in the top layer, on the list
     column, 12 above the +. Without popover, the top z-index. */
  .toast { position: fixed; inset: auto; margin: 0; overflow: visible; z-index: 2147483000;
    left: 50%; bottom: max(var(--toast-bottom, 24px), calc(env(safe-area-inset-bottom) + 12px));
    transform: translateX(-50%) translateY(20px);
    background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 10px;
    padding: 12px 18px; font-size: 13.5px; line-height: 1.5;
    width: max-content; max-width: min(calc(100% - 32px), 480px);
    text-align: center; text-wrap: pretty;
    box-shadow: 0 12px 30px rgba(0,0,0,.4); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s; }
  .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
  @starting-style { .toast.show { opacity: 0; transform: translateX(-50%) translateY(20px); } }

  /* A team's members and settings (dash/teams.js), on .scard. */
  .team-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
  .team-trial { color: var(--muted); font-size: 12px; }
  .team-pill { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 20px; font-size: 11px; font-weight: 700; background: var(--card2); border: 1px solid var(--line); color: var(--err); }
  .team-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
  .team-title h2 { flex: 1; margin: 0; font-size: 20px; min-width: 0; overflow-wrap: anywhere; }
  .team-line { display: flex; gap: 8px; margin-bottom: 8px; }
  .team-line input { flex: 1; min-width: 0; }
  .team-note { color: var(--muted); font-size: 12px; line-height: 1.4; margin: 0 0 12px; }
  .team-member { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
  .team-member:first-of-type { border-top: 0; }
  .team-member .dinfo { flex: 1; min-width: 0; }
  .team-member .dname { font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
  .team-member .dsub { color: var(--muted); font-size: 12px; }
  button.team-danger { color: var(--err); }
  /* The team's colour: eleven swatches, the current one ringed (docs/features/team-colour). */
  .tc-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
  button.tc-sw, .tc-dot { width: 22px; height: 22px; padding: 0; border-radius: 50%; background: var(--sw);
    border: 0; box-shadow: 0 0 0 2px var(--card), 0 0 0 4px transparent; flex: none; }
  button.tc-sw { cursor: pointer; }
  button.tc-sw:hover { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--line2); background: var(--sw); }
  button.tc-sw.on, button.tc-sw.on:hover { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--text); }
  .tc-name { font-size: 14px; }
  #tmInput { width: 100%; margin-bottom: 8px; }

  /* ---- Settings (docs/features/remote-settings): its own menu, then one section ---- */
  .settings { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; max-width: 920px; width: 100%; margin: 0 auto; }
  .set-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 73px; align-self: start; }
  button.set-item { background: transparent; color: var(--muted); text-align: left; font-weight: 600; padding: 8px 10px; border-radius: 8px; }
  button.set-item:hover { background: var(--card2); color: var(--text); }
  button.set-item.on { background: var(--card2); color: var(--text); }
  button.set-item.accent, button.set-item.accent:hover { color: var(--link); }
  button.set-item.accent.on { background: var(--accent-tint); }
  .set-sep { height: 1px; background: var(--line); margin: 8px 6px; }
  button.set-back { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
  button.set-back svg { width: 15px; height: 15px; flex: none; }
  .set-body { min-width: 0; }
  .set-sec { max-width: 640px; }
  .set-sec#setDevices { max-width: none; }
  .set-title { font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin: 4px 0 14px; }
  .set-who { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  .set-who .avatar.set-face { width: 44px; height: 44px; font-size: 15px; cursor: default; }
  .set-id { flex: 1; min-width: 0; }
  .set-name { font-weight: 600; font-size: 15px; }
  .set-mail { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
  .set-plan-line { display: flex; align-items: center; gap: 10px; }
  .set-plan-st { font-size: 13px; font-weight: 600; color: var(--link); }
  .set-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .set-row .buy-sub { margin: 0; flex: 1; min-width: 200px; }
  .set-danger { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); }
  button.sm.danger { background: transparent; color: var(--err); border: 1px solid color-mix(in srgb, var(--err) 45%, transparent); }
  button.sm.danger:hover { background: color-mix(in srgb, var(--err) 12%, transparent); }
  .redeem-card { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
  .menu-item.accent, .menu-item.accent .mi-ic { color: var(--link); }
  .bh-row { display: grid; grid-template-columns: 100px minmax(0, 1fr) 96px 76px; gap: 10px; padding: 9px 0;
    border-top: 1px solid var(--line); font-size: 13px; align-items: baseline; }
  .bh-head { border-top: 0; padding-top: 0; font-size: 11.5px; color: var(--muted); font-weight: 600; }
  .bh-date, .bh-src { color: var(--muted); }
  .bh-amt { text-align: right; font-variant-numeric: tabular-nums; }
  .bh-empty { color: var(--muted); font-size: 13px; }
  button.bh-rcpt { margin-left: 8px; padding: 0; background: transparent; color: var(--link); font: inherit; font-size: 12px; cursor: pointer; }
  button.bh-rcpt:hover { text-decoration: underline; }
  .bh-note { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
  @media (max-width: 760px) {
    .settings { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .set-nav { flex-direction: row; overflow-x: auto; position: static; margin: 0 -12px; padding: 0 12px 6px;
      border-bottom: 1px solid var(--line); }
    button.set-item { white-space: nowrap; flex: none; }
    .set-sep { width: 1px; height: auto; margin: 6px 4px; }
    .bh-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "item amt" "date src"; row-gap: 2px; }
    .bh-head { display: none; }
    .bh-item { grid-area: item; } .bh-amt { grid-area: amt; } .bh-date { grid-area: date; } .bh-src { grid-area: src; text-align: right; }
  }

  /* ---- /app/purchase: what a checkout bought, centred, no rail ---- */
  .layout.no-rail { grid-template-columns: minmax(0, 1fr); }
  .layout.no-rail .rail { display: none; }
  .purchase { display: flex; justify-content: center; padding: 6vh 0 24px; }
  .pc-card { width: min(420px, 100%); text-align: center; padding: 28px 24px; }
  .pc-icon { width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; }
  .pc-icon svg { width: 22px; height: 22px; }
  .pc-done { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
  .pc-wait { background: var(--accent-tint); }
  .pc-spin { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--accent); border-right-color: transparent; animation: pc-spin .8s linear infinite; }
  @keyframes pc-spin { to { transform: rotate(360deg); } }
  @media (prefers-reduced-motion: reduce) { .pc-spin { animation: none; } }
  .pc-title { font-size: 20px; font-weight: 600; margin: 0 0 6px; }
  .pc-sub { color: var(--muted); font-size: 13px; line-height: 1.5; }
  .pc-sum { text-align: left; margin: 18px 0 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; }
  .pc-line { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 13.5px; }
  .pc-more { color: var(--muted); font-size: 12.5px; }
  .pc-acts { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
  .pc-btn { display: block; padding: 10px 16px; border-radius: 9px; font-weight: 700; font-size: 13px; text-decoration: none;
    background: var(--card2); color: var(--text); border: 1px solid var(--line); cursor: pointer; font-family: inherit; }
  .pc-btn:hover { background: var(--card2); border-color: var(--line2); }
  .pc-btn.primary, .pc-btn.primary:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
  button.pc-link { background: transparent; color: var(--muted); font-weight: 500; padding: 6px; }
  button.pc-link:hover { background: transparent; color: var(--text); }

  /* ---- This browser and 1:1: the whole column takes a drop, the floating +, the empty state ---- */
  .view { display: flex; flex-direction: column; }
  #viewPlace:not(.hidden) { flex: 1 0 auto; display: flex; flex-direction: column; }
  #viewPlace .xlist { flex: 1 0 auto; }
  #viewPlace.has-fab .xlist { padding-bottom: 74px; }
  .fab-dock { position: sticky; bottom: 14px; display: flex; justify-content: center; pointer-events: none; margin-top: -48px; z-index: 6; }
  button.fab { pointer-events: auto; width: 48px; height: 48px; padding: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--accent); color: #fff; box-shadow: 0 4px 9px color-mix(in srgb, var(--accent) 35%, transparent); }
  button.fab:hover { background: var(--accent); filter: brightness(1.06); }
  button.fab svg { width: 22px; height: 22px; }
  .pempty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12vh 16px 24px; }
  .pe-disc { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--hue, var(--accent)) 16%, transparent); color: var(--hue, var(--accent)); }
  .pe-disc svg { width: 28px; height: 28px; }
  .pempty .pe-title { font-size: 17px; margin: 0; }
  .pempty .pe-sub { max-width: 310px; }
  .pe-limits { list-style: none; margin: 6px 0 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px;
    color: var(--muted); font-size: 12.5px; text-align: left; max-width: 310px; line-height: 1.6; }
  .pe-limits li::before { content: "·"; margin-right: 6px; }
  .pe-limits a { color: var(--link); }
