/* ─────────────────────────────────────────────────────────────────────────
   lite.css — chrome + page styles for ZDIV2 Lite.

   Global (un-scoped) by intent — the .dh-lite-* class prefix prevents
   collisions with the desktop shell, and consolidating here avoids the
   Blazor CSS-isolation gotcha where ::deep on a layout's OWN elements
   leaves them un-styled.

   Linked from Components/App.razor alongside chrome.css + data-hub.css.
   ───────────────────────────────────────────────────────────────────────── */

/* ── LITE TOPBAR (rendered by LiteLayout.razor) ───────────────────────── */

.dh-lite-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* 44px of usable bar + the notch/status-bar inset (viewport-fit=cover
       lets the navy extend under the iPhone status bar; the padding keeps
       the controls below it). env() is 0 on non-notched devices. */
    height: calc(44px + env(safe-area-inset-top, 0px));
    padding: env(safe-area-inset-top, 0px) 14px 0;
    background: var(--dh-navy2, #0D1E38);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 100;
}

.dh-lite-brand {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
}
.dh-lite-brand img {
    width: 34px;
    height: auto;
    /* Logo carries the brand — 28 → 34px in the 07-30 header revamp
       ("make the logo slightly bigger"). Tap = home from anywhere. */
}
.dh-lite-brand span {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--dh-silver, #8AAED4);
    /* Silver-toned "Lite" — supporting label, not the headline. */
}

.dh-lite-title {
    flex: 1 1 auto;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* When PageTitle is empty (landing page), an invisible flex spacer keeps
   the avatar pinned right. Same flex value as the real title. */
.dh-lite-title-spacer {
    flex: 1 1 auto;
}

.dh-lite-avatar {
    border: 0;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    position: relative;         /* anchors the ::after hit-area extender */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--dh-blue, #1565BE);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
}

/* ZED chip in the Lite topbar — lightning icon on a purple disc.
   Icon-only on phones to keep the bar uncluttered; the lightning is
   recognizable as ZED across both shells. */
.dh-lite-zed {
    position: relative;         /* anchors the ::after hit-area extender */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(123, 47, 190, 0.30);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    flex-shrink: 0;
    border: 1px solid rgba(168, 85, 247, 0.50);
    transition: background .12s;
}
.dh-lite-zed:hover,
.dh-lite-zed:active {
    background: rgba(123, 47, 190, 0.55);
}

/* 40px effective tap targets for the 30px topbar discs (avatar / ZED /
   bell — bell is defined in the Phase 2f section below). The visual
   glyph stays 30px so the bar doesn't bloat; an invisible ::after
   extends the interactive box 5px on every side (30 + 5 + 5 = 40px).
   The topbar's 10px gap means adjacent extensions touch but never
   overlap, so taps stay unambiguous. */
.dh-lite-avatar::after,
.dh-lite-zed::after,
.dh-lite-bell::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
}

/* ── 07-30 HEADER REVAMP: hamburger + drawer + scrim + prefs sheet ────── */

.dh-lite-burger {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    padding: 0;
    margin-left: -8px;  /* visual alignment with the left edge */
    flex-shrink: 0;
    transition: background .12s;
}
.dh-lite-burger:hover,
.dh-lite-burger:active { background: rgba(255, 255, 255, 0.10); }
.dh-lite-burger svg { width: 22px; height: 22px; }

/* Shared scrim behind drawer/prefs. Sits under both panels (140/150)
   and over the topbar (100). */
.dh-lite-scrim {
    position: fixed;
    inset: 0;
    background: rgba(6, 14, 28, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
    z-index: 130;
}
.dh-lite-scrim.show { opacity: 1; pointer-events: auto; }

/* Left slide-in nav drawer. */
.dh-lite-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(300px, 82vw);
    background: var(--dh-navy2, #0D1E38);
    color: #fff;
    z-index: 140;
    display: flex;
    flex-direction: column;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 10px
             calc(10px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-102%);
    transition: transform .2s ease;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.35);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.dh-lite-drawer.open { transform: translateX(0); }

.dh-lite-drawer-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px 14px;
}
.dh-lite-drawer-head img { width: 38px; height: auto; }
.dh-lite-drawer-head span {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--dh-silver, #8AAED4);
}

.dh-lite-drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background .12s;
}
.dh-lite-drawer-link:hover,
.dh-lite-drawer-link:active { background: rgba(255, 255, 255, 0.08); }
.dh-lite-drawer-link svg { width: 19px; height: 19px; flex-shrink: 0; opacity: 0.85; }

.dh-lite-drawer-badge {
    margin-left: auto;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--dh-red, #C62828);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dh-lite-drawer-sep {
    height: 1px;
    background: rgba(255, 255, 255, 0.10);
    margin: 8px 10px;
}

.dh-lite-drawer-foot {
    margin-top: auto;
    padding: 14px 10px 4px;
}
.dh-lite-ver-chip {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    letter-spacing: 0.02em;
}

/* Bottom sheet — home-tile preferences (avatar tap). */
.dh-lite-prefs {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    color: var(--dh-ink, #16233A);
    z-index: 150;
    border-radius: 16px 16px 0 0;
    padding: 6px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    transform: translateY(104%);
    transition: transform .2s ease;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.30);
    max-height: 82dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.dh-lite-prefs.open { transform: translateY(0); }

.dh-lite-prefs-grab {
    width: 38px;
    height: 4px;
    border-radius: 2px;
    background: rgba(22, 35, 58, 0.18);
    margin: 6px auto 10px;
}
.dh-lite-prefs-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 10px;
}
.dh-lite-prefs-head > div { flex: 1; min-width: 0; }
.dh-lite-prefs-title { font-size: 16px; font-weight: 700; }
.dh-lite-prefs-sub {
    font-size: 12.5px;
    color: rgba(22, 35, 58, 0.60);
    margin-top: 2px;
}
.dh-lite-prefs-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 35, 58, 0.06);
    border: 0;
    border-radius: 50%;
    color: inherit;
    cursor: pointer;
    flex-shrink: 0;
}
.dh-lite-prefs-close svg { width: 17px; height: 17px; }

.dh-lite-prefs-group {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(22, 35, 58, 0.45);
    padding: 12px 4px 2px;
}

.dh-lite-prefs-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 4px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(22, 35, 58, 0.07);
    font-family: inherit;
    font-size: 15px;
    color: inherit;
    cursor: pointer;
    text-align: left;
}
.dh-lite-prefs-ic {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(21, 101, 190, 0.10);
    color: var(--dh-blue, #1565BE);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dh-lite-prefs-ic svg { width: 17px; height: 17px; }
.dh-lite-prefs-name { flex: 1; font-weight: 500; }
.dh-lite-prefs-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid rgba(22, 35, 58, 0.25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .12s, border-color .12s;
}
.dh-lite-prefs-check.on {
    background: var(--dh-blue, #1565BE);
    border-color: var(--dh-blue, #1565BE);
}
.dh-lite-prefs-check svg { width: 13px; height: 13px; }

.dh-lite-prefs-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
}
.dh-lite-prefs-reset {
    background: transparent;
    border: 0;
    padding: 8px 0;
    color: var(--dh-blue, #1565BE);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}
.dh-lite-prefs-signout {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--dh-red, #C62828);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 0;
}
.dh-lite-prefs-signout svg { width: 16px; height: 16px; }

/* Seal banner in the doc sheet — the document is terminal/locked. */
.dh-lite-sheet-sealed {
    display: flex;
    align-items: center;
    gap: 9px;
    background: #FFF8EC;
    border: 1px solid #FFE2B0;
    color: #7a5418;
    border-radius: 10px;
    padding: 10px 13px;
    font-size: 13px;
    font-weight: 600;
    margin: 10px 0 4px;
}
.dh-lite-sheet-sealed svg { width: 15px; height: 15px; flex-shrink: 0; }

/* All-hidden fallback on the landing grid. */
.dh-lite-empty-tiles {
    grid-column: 1 / -1;
    padding: 22px 16px;
    border: 1px dashed rgba(22, 35, 58, 0.25);
    border-radius: 12px;
    color: rgba(22, 35, 58, 0.60);
    font-size: 13.5px;
    text-align: center;
}

/* ── LITE MAIN CONTENT AREA ───────────────────────────────────────────── */

.dh-lite-main {
    margin-top: calc(44px + env(safe-area-inset-top, 0px));
    margin-bottom: calc(56px + env(safe-area-inset-bottom, 0px));  /* footer + home indicator */
    padding: 1rem;
    max-width: 768px;     /* Lite is a workflow mode, not a wide-monitor mode */
    margin-left: auto;
    margin-right: auto;
    /* dvh (not vh) — mobile Safari's vh includes the collapsed URL bar,
       which makes 100vh overflow and the page scroll behind the footer. */
    min-height: calc(100dvh - 44px - 56px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
}

/* ── LITE LANDING PAGE (rendered by Pages/Lite/Index.razor) ───────────── */

.dh-lite-page {
    color: var(--dh-text, #1a2535);
}

.dh-lite-hero {
    padding: 10px 2px 6px;
    margin-bottom: 2px;
    /* 07-30 diet: was 18/16 + a "Signed in as" sub-line — ~120px of prime
       real estate repeating the user's own name. One slim line now. */
}
.dh-lite-hello {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--dh-text, #1a2535);
}
.dh-lite-sub {
    font-size: 13px;
    color: var(--dh-text2, #4a6a8a);
    margin-top: 4px;
}
.dh-lite-sub strong {
    color: var(--dh-text, #1a2535);
    font-weight: 600;
}
.dh-lite-sub-link {
    color: var(--dh-blue, #1565BE);
    font-weight: 600;
}

.dh-lite-section {
    font-size: 11px;
    font-weight: 700;
    color: var(--dh-text2, #4a6a8a);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 22px 2px 10px;
}
/* The very first section after the hero gets less top margin —
   the hero already provides breathing room. */
.dh-lite-hero + .dh-lite-section { margin-top: 8px; }

.dh-lite-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.dh-lite-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 14px 10px 12px;
    text-align: center;
    cursor: pointer;
    transition: transform .14s, border-color .14s, box-shadow .14s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 110px;
}
.dh-lite-card:hover {
    border-color: var(--dh-blue, #1565BE);
    box-shadow: 0 2px 8px rgba(21, 101, 190, 0.08);
}
.dh-lite-card:active {
    transform: scale(0.98);
}
.dh-lite-card-icon {
    font-size: 28px;
    margin-bottom: 6px;
    line-height: 1;
}
.dh-lite-card-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--dh-text, #1a2535);
}
.dh-lite-card-sub {
    font-size: 10.5px;
    color: var(--dh-text2, #4a6a8a);
    margin-top: 2px;
    line-height: 1.3;
}
.dh-lite-card .dh-nw-badge { margin-top: 8px; display: inline-block; }

/* "Desktop UI" chip — tells the user the tile will route them to a
   non-Lite-shell page. Honest UX > silent fallback. Same amber-ish
   palette as the "UI not wired" chip so they read as the same family
   of "caveat" indicators. Slightly different copy + tone separates
   "available but not optimized" from "doesn't work yet". */
.dh-lite-desktop-chip {
    display: inline-block;
    font-size: 9px;
    font-weight: 600;
    color: var(--dh-text2, #4a6a8a);
    background: rgba(21, 101, 190, 0.08);
    border: 1px solid rgba(21, 101, 190, 0.18);
    padding: 1px 6px;
    border-radius: 8px;
    margin-top: 8px;
    letter-spacing: 0.02em;
}
.dh-lite-card:hover .dh-lite-desktop-chip {
    color: var(--dh-blue, #1565BE);
    border-color: rgba(21, 101, 190, 0.40);
}

.dh-lite-note {
    margin-top: 24px;
    padding: 12px 14px;
    background: rgba(21, 101, 190, 0.05);
    border: 1px solid rgba(21, 101, 190, 0.15);
    border-radius: 8px;
    font-size: 11px;
    color: var(--dh-text2, #4a6a8a);
    line-height: 1.5;
}

/* ── MY ASSISTANT CARD (first item on the Lite landing canvas, M1) ──────
   Full-width card above Quick Access. Same visual family as the tile
   cards (white, hairline border, 12px radius) but a stacked layout:
   name + live/safe pill, pending drafts, two thumb buttons. All touch
   targets ≥44px; subjects ellipsize so 375px never scrolls sideways. */

.dh-lite-asst {
    background: var(--zd-panel);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.dh-lite-asst-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.dh-lite-asst-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--zd-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dh-lite-asst-pill {
    flex-shrink: 0;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--zd-accent-soft);
    color: var(--zd-muted);
}
.dh-lite-asst-pill.live {
    background: var(--zd-ok-soft);
    color: var(--zd-ok);
}
.dh-lite-asst-count {
    font-size: 13px;
    color: var(--zd-muted);
}
.dh-lite-asst-count b { color: var(--zd-ink); }
.dh-lite-asst-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    background: var(--zd-panel-tint);
    text-decoration: none;
    color: inherit;
    min-width: 0;
    transition: transform .14s, border-color .14s;
}
.dh-lite-asst-row:hover { border-color: var(--zd-accent); }
.dh-lite-asst-row:active { transform: scale(0.98); }
.dh-lite-asst-row-co {
    font-size: 13px;
    font-weight: 700;
    color: var(--zd-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dh-lite-asst-row-subj {
    font-size: 12px;
    color: var(--zd-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dh-lite-asst-clear {
    font-size: 13px;
    color: var(--zd-muted);
    line-height: 1.45;
}
.dh-lite-asst-acts {
    display: flex;
    gap: 8px;
}
.dh-lite-asst-btn {
    flex: 1;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    background: var(--zd-accent-soft);
    color: var(--zd-accent);
    border: 1px solid var(--zd-accent-line);
    transition: transform .14s;
}
.dh-lite-asst-btn:active { transform: scale(0.98); }
.dh-lite-asst-btn.primary {
    background: var(--zd-accent);
    border-color: var(--zd-accent);
    color: var(--zd-bluebar-ink);
}
.dh-lite-asst-invite {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 44px;
    text-decoration: none;
    color: inherit;
    transition: transform .14s, border-color .14s;
}
.dh-lite-asst-invite:hover { border-color: var(--zd-accent); }
.dh-lite-asst-invite:active { transform: scale(0.98); }
.dh-lite-asst-invite-line {
    font-size: 13px;
    color: var(--zd-muted);
    line-height: 1.4;
}
.dh-lite-asst-invite-go {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--zd-accent);
    white-space: nowrap;
}

/* Wider tablets / desktop preview — switch to 3-col grid above 600px,
   4-col above 900px. Keeps everything scannable on iPad portrait
   (~768px → 3 cols) and tablet landscape (~1024px → 4 cols). */
@media (min-width: 600px) {
    .dh-lite-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
    .dh-lite-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── LITE FEATURE PLACEHOLDER (rendered by LiteFeaturePlaceholder.razor) ─
   Each /lite/<feature> page wraps this component. Big icon, name,
   one-line description, "in progress" chip, primary action to open
   the desktop version of the feature. Mobile-first vertical layout. */

.dh-lite-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 16px 24px;
    max-width: 440px;
    margin: 0 auto;
}

.dh-lite-feature-icon {
    font-size: 64px;
    line-height: 1;
    margin-bottom: 14px;
    /* Sit the line icon on a subtle disc so it has visual weight even
       against the page background. The disc reads as the feature's
       "container." */
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(21, 101, 190, 0.06);
    border: 1px solid rgba(21, 101, 190, 0.14);
}

.dh-lite-feature-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--dh-text, #1a2535);
    margin: 4px 0 6px;
    line-height: 1.2;
}

.dh-lite-feature-desc {
    font-size: 14px;
    line-height: 1.5;
    color: var(--dh-text2, #4a6a8a);
    margin: 0 0 20px;
}

.dh-lite-feature-status {
    margin-bottom: 24px;
}
.dh-lite-feature-chip {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(186, 117, 23, 0.10);
    color: #92400E;
    border: 1px solid rgba(186, 117, 23, 0.25);
    letter-spacing: 0.01em;
}

.dh-lite-feature-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--dh-blue, #1565BE);
    color: #fff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(21, 101, 190, 0.20);
    transition: background .14s, transform .14s;
}
.dh-lite-feature-action:hover {
    background: #114F95;
    color: #fff;
}
.dh-lite-feature-action:active { transform: scale(0.98); }
.dh-lite-feature-action span {
    font-size: 18px;
    line-height: 1;
}

.dh-lite-feature-action-sub {
    margin-top: 12px;
    font-size: 11px;
    color: var(--dh-text2, #4a6a8a);
    line-height: 1.5;
    max-width: 320px;
}

.dh-lite-feature-extra {
    margin-top: 24px;
    width: 100%;
}

/* ── LITE LOGIN (rendered by Pages/Lite/LogIn.razor) ──────────────────── */

.dh-lite-login {
    /* Frosted-glass overlay — covers the entire Lite viewport so the
       topbar (logo + Sign-In title) shows through blurred. Same intent
       as /v9/log-in's .login-wrap. z-index 9990 must beat all the
       Lite chrome (the dh-lite-topbar uses z 100). AuthGate is 9995
       so it can still pop over this if it ever fires here. */
    position: fixed; inset: 0;
    z-index: 9990;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Safe-center: flex-start here + margin:auto on the card (below).
       justify-content:center clipped the card's TOP edge unreachably
       when the viewport got short (iOS keyboard open) — with auto
       margins the card still centers when there's room, but a short
       viewport scrolls naturally from the top edge instead. */
    justify-content: flex-start;
    padding: 8px 4px 24px;
    overflow-y: auto;
}

.dh-lite-login-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 28px 22px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    /* Auto vertical margins = the safe-center half of the pattern (see
       .dh-lite-login above): centers in a tall viewport, collapses to 0
       in a short one so the card top stays reachable by scrolling. */
    margin: auto 0;
}

.dh-lite-login-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
}
.dh-lite-login-brand img {
    width: 70px;
    height: auto;
}
.dh-lite-login-tag {
    font-size: 13px;
    color: var(--dh-text2, #4a6a8a);
    font-weight: 500;
}

.dh-lite-login-field {
    display: block;
    margin-bottom: 16px;
}
.dh-lite-login-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--dh-text2, #4a6a8a);
    margin-bottom: 6px;
}
.dh-lite-login-input {
    display: block;
    width: 100%;
    padding: 12px 14px;        /* big touch target — 44px+ tall */
    font-size: 16px;            /* 16px+ stops iOS from zooming on focus */
    color: var(--dh-text, #1a2535);
    background: #fff;
    border: 1px solid #c5d9f1;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: inherit;
}
.dh-lite-login-input:focus {
    outline: none;
    border-color: var(--dh-blue, #1565BE);
    box-shadow: 0 0 0 3px rgba(21, 101, 190, 0.15);
}

.dh-lite-login-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--dh-text2, #4a6a8a);
    margin-bottom: 16px;
    cursor: pointer;
    user-select: none;
}
.dh-lite-login-check input[type=checkbox] {
    width: 18px;
    height: 18px;
    accent-color: var(--dh-blue, #1565BE);
    cursor: pointer;
}

.dh-lite-login-error {
    background: #FEE2E2;
    color: #B91C1C;
    border: 1px solid #FECACA;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    margin-bottom: 14px;
}

.dh-lite-login-btn {
    display: block;
    width: 100%;
    padding: 14px;             /* 50px+ tall, easy thumb tap */
    background: var(--dh-blue, #1565BE);
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}
.dh-lite-login-btn:hover { background: #114F95; }
.dh-lite-login-btn:disabled {
    background: #9DB7DF;
    cursor: progress;
}

.dh-lite-login-hint {
    margin-top: 18px;
    text-align: center;
    font-size: 12px;
    color: var(--dh-text2, #4a6a8a);
}
.dh-lite-login-hint a {
    color: var(--dh-blue, #1565BE);
    font-weight: 600;
    text-decoration: none;
}
.dh-lite-login-hint a:hover { text-decoration: underline; }

.dh-lite-login-loading {
    padding: 22px 0;
    text-align: center;
    color: var(--dh-text2, #4a6a8a);
    font-size: 13px;
}

.dh-lite-login-footer {
    margin-top: 18px;
    font-size: 11px;
    color: var(--dh-text2, #4a6a8a);
    text-align: center;
}

/* ─────────────────────────────────────────────────────────────────────────
   LITE ZED PAGE (rendered by Pages/Lite/Zed.razor at /lite/zed)
   Mobile-friendly take on the desktop ZedPanel. Same data, same accent
   color scheme per bucket (gold = OEM, coral = Stale).
   ───────────────────────────────────────────────────────────────────────── */

/* ZED PAGE wrapper — renamed from .dh-lite-zed 07-30: that name is the
   TOPBAR chip; sharing it leaked these negative margins into the header
   and piled the bell/ZED/avatar icons on top of each other. */
.dh-lite-zed-page {
    color: var(--dh-text, #1a2535);
    margin: -1rem -1rem 0;  /* full-bleed top edge against LiteLayout main padding */
}

.dh-lite-zed-hero {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 16px 14px;
    background: var(--dh-zed-bg, #1a1030);
    color: #fff;
    border-bottom: 1px solid rgba(123, 47, 190, 0.35);
}
.dh-lite-zed-mark {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: var(--dh-zed-purple, #7B2FBE);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.dh-lite-zed-titleblock { flex: 1; min-width: 0; }
.dh-lite-zed-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.dh-lite-zed-sub {
    font-size: 11px;
    color: rgba(230, 226, 243, 0.65);
    margin-top: 2px;
}
.dh-lite-zed-refresh {
    background: rgba(123, 47, 190, 0.30);
    color: #fff;
    border: 1px solid rgba(168, 85, 247, 0.50);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    flex-shrink: 0;
}
.dh-lite-zed-refresh:hover { background: rgba(123, 47, 190, 0.50); }
.dh-lite-zed-refresh:disabled { opacity: 0.6; cursor: wait; }

.dh-lite-zed-empty {
    padding: 40px 24px 32px;
    text-align: center;
}
.dh-lite-zed-empty-icon {
    font-size: 38px;
    margin-bottom: 8px;
    opacity: 0.5;
}
.dh-lite-zed-empty-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dh-text, #1a2535);
}
.dh-lite-zed-empty-sub {
    font-size: 12px;
    color: var(--dh-text2, #4a6a8a);
    margin-top: 6px;
    line-height: 1.5;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.dh-lite-zed-sec {
    padding: 14px 16px 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.dh-lite-zed-sec--oem   { border-left: 4px solid #FBBF24; padding-left: 12px; }
.dh-lite-zed-sec--stale { border-left: 4px solid #FB7185; padding-left: 12px; }

.dh-lite-zed-sec-lbl {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 10px;
    color: var(--dh-text, #1a2535);
}
.dh-lite-zed-sec--oem   .dh-lite-zed-sec-lbl { color: #B07415; }
.dh-lite-zed-sec--stale .dh-lite-zed-sec-lbl { color: #B53D55; }
.dh-lite-zed-count {
    font-weight: 500;
    color: var(--dh-text2, #4a6a8a);
    letter-spacing: 0.04em;
}

.dh-lite-zed-empty-bucket {
    font-size: 12px;
    color: var(--dh-text2, #4a6a8a);
    padding: 8px 0 14px;
    font-style: italic;
}

.dh-lite-zed-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: border-color .14s, box-shadow .14s;
}
.dh-lite-zed-card.open {
    border-color: rgba(21, 101, 190, 0.40);
    box-shadow: 0 2px 8px rgba(21, 101, 190, 0.08);
}

.dh-lite-zed-card-head {
    display: flex;
    align-items: center;
    width: 100%;
    background: transparent;
    border: 0;
    padding: 12px 14px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}
.dh-lite-zed-card-co { flex: 1; min-width: 0; }
.dh-lite-zed-card-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--dh-text, #1a2535);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Phase-1 liveness chip on mobile — a plain CSS dot next to the company
   name (no emoji — app-wide rule). Tooltip carries the detail; the dot
   carries the color signal at a glance. */
.dh-lite-zed-liveness {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
    cursor: help;
    background: #94A3B8; /* unknown fallback — callers skip Unknown anyway */
}
.dh-lite-zed-liveness--active { background: #2FA84F; }
.dh-lite-zed-liveness--aging  { background: #E0A100; }
.dh-lite-zed-liveness--zombie { background: #C93B4C; }

/* "✓ sent" chip + greyed card state on a candidate that was just
   acted on. Mobile equivalent of .dh-zed-need--sent — same purpose,
   prevent double-sends from a confused tap. */
.dh-lite-zed-sent-chip {
    display: inline-flex;
    align-items: center;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 8px;
    margin-left: 6px;
    background: rgba(59, 109, 17, 0.12);
    color: #3B6D11;
    border: 1px solid rgba(59, 109, 17, 0.30);
    letter-spacing: 0.02em;
    vertical-align: middle;
}
.dh-lite-zed-card.sent {
    opacity: 0.50;
    filter: grayscale(50%);
}
.dh-lite-zed-card.sent .dh-lite-zed-act-primary {
    pointer-events: none;
    cursor: default;
}
.dh-lite-zed-card-meta {
    font-size: 11px;
    color: var(--dh-text2, #4a6a8a);
    margin-top: 2px;
}
.dh-lite-zed-card-chev {
    font-size: 22px;
    color: var(--dh-text2, #4a6a8a);
    width: 28px;
    text-align: center;
    line-height: 1;
    flex-shrink: 0;
}

.dh-lite-zed-card-body {
    padding: 4px 14px 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(21, 101, 190, 0.02);
}

.dh-lite-zed-row {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    font-size: 12px;
}
.dh-lite-zed-row:last-child { border-bottom: none; }
.dh-lite-zed-row-lbl {
    width: 80px;
    flex-shrink: 0;
    color: var(--dh-text2, #4a6a8a);
    font-weight: 600;
}
.dh-lite-zed-row-val {
    flex: 1;
    color: var(--dh-text, #1a2535);
    word-break: break-word;
}

.dh-lite-zed-email {
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 11px;
    color: var(--dh-blue, #1565BE);
}
.dh-lite-zed-email.bad {
    color: #B53D55;
    text-decoration: line-through;
    text-decoration-color: rgba(181, 61, 85, 0.50);
}
.dh-lite-zed-bad-chip {
    display: inline-block;
    margin-left: 6px;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 6px;
    background: rgba(181, 61, 85, 0.10);
    color: #B53D55;
}

.dh-lite-zed-draft {
    margin-top: 10px;
    padding: 10px 12px;
    background: rgba(21, 101, 190, 0.04);
    border-radius: 8px;
    border: 1px solid rgba(21, 101, 190, 0.12);
}
.dh-lite-zed-draft-lbl {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dh-blue, #1565BE);
    margin-bottom: 4px;
}
.dh-lite-zed-draft-subj {
    font-size: 13px;
    font-weight: 600;
    color: var(--dh-text, #1a2535);
    margin-bottom: 6px;
}
.dh-lite-zed-draft-body {
    font-family: inherit;
    font-size: 12px;
    color: var(--dh-text2, #4a6a8a);
    line-height: 1.5;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    background: transparent;
    border: 0;
    padding: 0;
}

.dh-lite-zed-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.dh-lite-zed-act {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: #fff;
    color: var(--dh-text, #1a2535);
}
.dh-lite-zed-act-primary {
    background: var(--dh-blue, #1565BE);
    color: #fff;
    border-color: var(--dh-blue, #1565BE);
}
.dh-lite-zed-act:hover { filter: brightness(0.95); }

/* ── CONTACT MGR LITE (Phase 2 — entry + company card + doc sheet) ────── */

/* Entry: search bar */
.dh-lite-cm-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 10px;
    padding: 10px 12px;
    color: var(--dh-text2, #4a6a8a);
    box-shadow: 0 1px 3px rgba(13, 30, 56, 0.05);
}
.dh-lite-cm-search-in {
    flex: 1;
    border: 0;
    outline: none;
    font-size: 16px;   /* ≥16px stops iOS Safari from zooming the page on focus */
    font-family: inherit;
    color: var(--dh-text, #1a2535);
    background: transparent;
    min-width: 0;
}
.dh-lite-cm-search-clear {
    border: 0;
    background: transparent;
    color: var(--dh-text2, #4a6a8a);
    padding: 4px;
    cursor: pointer;
    display: flex;
}

.dh-lite-cm-hint {
    padding: 14px 4px;
    font-size: 13px;
    color: var(--dh-text2, #4a6a8a);
    line-height: 1.5;
}

/* Entry: company rows (recents + results share this) */
.dh-lite-cm-list {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
}
.dh-lite-cm-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    min-height: 44px;  /* tap target */
}
.dh-lite-cm-row:last-child { border-bottom: 0; }
.dh-lite-cm-row:active { background: rgba(21, 101, 190, 0.06); }
.dh-lite-cm-row-main { flex: 1; min-width: 0; }
.dh-lite-cm-row-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--dh-text, #1a2535);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dh-lite-cm-row-sub {
    font-size: 11.5px;
    color: var(--dh-text2, #4a6a8a);
    margin-top: 2px;
}
.dh-lite-cm-row-chev { color: rgba(0, 0, 0, 0.25); display: flex; flex-shrink: 0; }

/* Company card: header block */
.dh-lite-cmc-head {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 6px;
}
.dh-lite-cmc-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--dh-text, #1a2535);
    letter-spacing: -0.01em;
}
.dh-lite-cmc-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--dh-text2, #4a6a8a);
    margin-top: 4px;
    flex-wrap: wrap;
}
.dh-lite-cmc-chip {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 9px;
    background: rgba(21, 101, 190, 0.10);
    color: var(--dh-blue, #1565BE);
}
.dh-lite-cmc-meta2 {
    display: flex;
    gap: 14px;
    font-size: 11.5px;
    color: var(--dh-text2, #4a6a8a);
    margin-top: 6px;
    flex-wrap: wrap;
}
.dh-lite-cmc-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--dh-blue, #1565BE);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.dh-lite-cmc-call:active { filter: brightness(0.92); }

/* Company card: contact rows */
.dh-lite-cmc-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.dh-lite-cmc-contact:last-child { border-bottom: 0; }
.dh-lite-cmc-contact-main { flex: 1; min-width: 0; text-decoration: none; }
.dh-lite-cmc-contact-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--dh-text, #1a2535);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.dh-lite-cmc-contact-sub {
    font-size: 11.5px;
    color: var(--dh-text2, #4a6a8a);
    margin-top: 2px;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.dh-lite-cmc-tag {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1px 6px;
    border-radius: 7px;
}
.dh-lite-cmc-tag--s { background: rgba(47, 168, 79, 0.12);  color: #1F7A38; }
.dh-lite-cmc-tag--p { background: rgba(224, 161, 0, 0.14);  color: #8A6400; }
.dh-lite-cmc-tag--a { background: rgba(123, 47, 190, 0.12); color: #6B2AA5; }
.dh-lite-cmc-bad {
    font-size: 10px;
    font-weight: 600;
    color: #B53D55;
}
.dh-lite-cmc-contact-acts { display: flex; gap: 8px; flex-shrink: 0; }
.dh-lite-cmc-act {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(21, 101, 190, 0.08);
    color: var(--dh-blue, #1565BE);
    text-decoration: none;
    font-size: 15px;
}
.dh-lite-cmc-act:active { background: rgba(21, 101, 190, 0.18); }

/* Company card: recent-activity groups */
.dh-lite-cmc-group {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
}
.dh-lite-cmc-group-hd {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dh-text2, #4a6a8a);
    background: rgba(13, 30, 56, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.dh-lite-cmc-group-empty {
    padding: 12px 14px;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.35);
}
.dh-lite-cmc-doc {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: transparent;
    font-family: inherit;
    font-size: 12.5px;
    cursor: pointer;
    text-align: left;
    min-height: 44px;
}
.dh-lite-cmc-doc:last-child { border-bottom: 0; }
.dh-lite-cmc-doc:active { background: rgba(21, 101, 190, 0.06); }
.dh-lite-cmc-doc-no { font-weight: 700; color: var(--dh-text, #1a2535); flex-shrink: 0; }
.dh-lite-cmc-doc-date { color: var(--dh-text2, #4a6a8a); flex-shrink: 0; }
.dh-lite-cmc-doc-note {
    flex: 1;
    min-width: 0;
    color: var(--dh-text2, #4a6a8a);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dh-lite-cmc-doc-chev { color: rgba(0, 0, 0, 0.25); display: flex; flex-shrink: 0; }

/* Doc sheet — bottom sheet overlay */
.dh-lite-sheet-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(13, 30, 56, 0.45);
    z-index: 300;
    display: flex;
    align-items: flex-end;
}
.dh-lite-sheet {
    background: #fff;
    width: 100%;
    max-height: 82dvh;
    border-radius: 16px 16px 0 0;
    padding: 8px 16px calc(20px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.25);
}
.dh-lite-sheet-grab {
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.15);
    margin: 4px auto 10px;
}
.dh-lite-sheet-hd {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}
.dh-lite-sheet-title { flex: 1; min-width: 0; }
.dh-lite-sheet-kind {
    font-size: 16px;
    font-weight: 700;
    color: var(--dh-text, #1a2535);
}
.dh-lite-sheet-co {
    font-size: 12px;
    color: var(--dh-text2, #4a6a8a);
    margin-top: 2px;
}
.dh-lite-sheet-x {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: var(--dh-text2, #4a6a8a);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
.dh-lite-sheet-meta {
    background: rgba(13, 30, 56, 0.03);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 12px;
}
.dh-lite-sheet-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 12.5px;
    padding: 3px 0;
}
.dh-lite-sheet-meta-k { color: var(--dh-text2, #4a6a8a); flex-shrink: 0; }
.dh-lite-sheet-meta-v {
    color: var(--dh-text, #1a2535);
    font-weight: 600;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dh-lite-sheet-lines { display: flex; flex-direction: column; gap: 8px; }
.dh-lite-sheet-line {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 10px 12px;
}
.dh-lite-sheet-line-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.dh-lite-sheet-part {
    font-family: "DM Mono", ui-monospace, monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--dh-text, #1a2535);
    word-break: break-all;
}
.dh-lite-sheet-status {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--dh-text2, #4a6a8a);
    flex-shrink: 0;
}
.dh-lite-sheet-line-sub {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--dh-text2, #4a6a8a);
    margin-top: 5px;
    flex-wrap: wrap;
}
.dh-lite-sheet-ext { margin-left: auto; font-weight: 700; color: var(--dh-text, #1a2535); }
.dh-lite-sheet-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 4px 2px;
    font-size: 13px;
    color: var(--dh-text2, #4a6a8a);
}
.dh-lite-sheet-total strong { font-size: 15px; color: var(--dh-text, #1a2535); }
.dh-lite-sheet-open {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(21, 101, 190, 0.30);
    color: var(--dh-blue, #1565BE);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

/* ── PART LOOKUP LITE (Phase 2b) ──────────────────────────────────────── */

.dh-lite-pl-go {
    border: 0;
    border-radius: 8px;
    background: var(--dh-blue, #1565BE);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    padding: 8px 14px;
    cursor: pointer;
    flex-shrink: 0;
}
.dh-lite-pl-go:disabled { opacity: 0.6; cursor: wait; }

.dh-lite-pl-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 12px 0;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(21, 101, 190, 0.30);
    color: var(--dh-blue, #1565BE);
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
}

.dh-lite-pl .dh-lite-cmc-group { margin-top: 10px; }

.dh-lite-pl-part {
    font-family: "DM Mono", ui-monospace, monospace;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--dh-text, #1a2535);
    flex-shrink: 0;
    max-width: 42%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* "5+" badge — more rows exist than the phone head shows */
.dh-lite-pl-more {
    margin-left: auto;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 8px;
    background: rgba(21, 101, 190, 0.10);
    color: var(--dh-blue, #1565BE);
    letter-spacing: 0.03em;
}

/* Expanded contact detail (tap the contact row — stays in Lite) */
.dh-lite-cmc-contact-main {
    border: 0;
    background: transparent;
    font-family: inherit;
    text-align: left;
    padding: 0;
    cursor: pointer;
}
.dh-lite-cmc-contact.open { background: rgba(21, 101, 190, 0.04); }
.dh-lite-cmc-contact-detail {
    padding: 4px 14px 12px 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(21, 101, 190, 0.04);
}
.dh-lite-cmc-cd-row {
    display: flex;
    gap: 12px;
    padding: 6px 0;
    font-size: 12.5px;
    align-items: baseline;
}
.dh-lite-cmc-cd-k {
    width: 52px;
    flex-shrink: 0;
    color: var(--dh-text2, #4a6a8a);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.dh-lite-cmc-cd-v {
    color: var(--dh-blue, #1565BE);
    font-weight: 600;
    text-decoration: none;
    word-break: break-all;
}
.dh-lite-cmc-cd-v--plain { color: var(--dh-text, #1a2535); }
.dh-lite-cmc-cd-v.bad { color: #B53D55; }

/* Doc-sheet contact block (quote/SO/req — tap-to-call / tap-to-email) */
.dh-lite-sheet-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    background: rgba(13, 30, 56, 0.02);
}
.dh-lite-sheet-contact-main { flex: 1; min-width: 0; }
.dh-lite-sheet-contact-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--dh-text, #1a2535);
}
.dh-lite-sheet-contact-sub {
    font-size: 11px;
    color: var(--dh-text2, #4a6a8a);
    margin-top: 1px;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

/* Company Details block on the Lite company card */
.dh-lite-cmc-details { padding: 8px 14px 12px; }
.dh-lite-cmc-details .dh-lite-cmc-cd-k { width: 74px; }

/* ── TODAY TRACK LITE (Phase 2d) ──────────────────────────────────────── */

.dh-lite-tt-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}
.dh-lite-tt-select {
    flex: 1;
    min-width: 0;
    font-family: inherit;
    font-size: 16px;            /* ≥16px stops iOS Safari zooming on focus */
    padding: 8px 10px;          /* was 9px @ 14px font — keeps height ~same */
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 10px;
    background: #fff;
    color: var(--dh-text, #1a2535);
}
.dh-lite-tt-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.dh-lite-tt-chip {
    font-size: 11px;
    color: var(--dh-text2, #4a6a8a);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 4px 10px;
}
.dh-lite-tt-chip strong { color: var(--dh-text, #1a2535); font-size: 12px; }
.dh-lite-tt-chip--zero { opacity: 0.5; }
.dh-lite-tt .dh-lite-cmc-group { margin-top: 10px; }

/* ── ALARM BELL + ALARMS LITE (Phase 2f) ──────────────────────────────── */

.dh-lite-bell {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.dh-lite-bell:active { background: rgba(255, 255, 255, 0.18); }
.dh-lite-bell-badge {
    position: absolute;
    top: -5px;
    right: -6px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: #DC2626;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.dh-lite-al-filters { display: flex; gap: 6px; margin-bottom: 10px; }
.dh-lite-al-filter {
    flex: 1;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 10px;
    background: #fff;
    color: var(--dh-text2, #4a6a8a);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 4px;
    cursor: pointer;
}
.dh-lite-al-filter.on {
    background: var(--dh-blue, #1565BE);
    border-color: var(--dh-blue, #1565BE);
    color: #fff;
}

.dh-lite-al-row {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.dh-lite-al-row:last-child { border-bottom: 0; }
.dh-lite-al-row.overdue { border-left: 3px solid #DC2626; }
.dh-lite-al-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--dh-text2, #4a6a8a);
}
.dh-lite-al-due { font-weight: 700; color: var(--dh-text, #1a2535); }
.dh-lite-al-rec { display: flex; color: var(--dh-text2, #4a6a8a); }
.dh-lite-al-kind {
    margin-left: auto;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1px 7px;
    border-radius: 8px;
    background: rgba(21, 101, 190, 0.10);
    color: var(--dh-blue, #1565BE);
}
.dh-lite-al-msg {
    font-size: 13px;
    color: var(--dh-text, #1a2535);
    margin-top: 5px;
    line-height: 1.4;
    word-break: break-word;
}
.dh-lite-al-acts { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

/* ── DOC CHAIN (Phase 3) ──────────────────────────────────────────────── */

.dh-lite-sheet-chain {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    border: 0;
    border-radius: 10px;
    background: var(--dh-blue, #1565BE);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.dh-lite-sheet-chain:disabled { opacity: 0.6; cursor: wait; }
.dh-lite-sheet-chain--line {
    width: auto;
    margin-top: 8px;
    padding: 7px 12px;
    font-size: 11.5px;
    border-radius: 8px;
}

.dh-lite-cmc-newreq {
    margin-left: 10px;
    background: rgba(21, 101, 190, 0.10);
    color: var(--dh-blue, #1565BE);
}

.dh-lite-nr-form { margin-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.dh-lite-nr-split {
    font-size: 11px;
    color: var(--dh-text2, #4a6a8a);
    margin-top: 4px;
}
.dh-lite-nr-notes { min-height: 70px; resize: vertical; }

/* Phase 3g — sourcing banner, line-action rows, quote edit, send */
.dh-lite-pl-reqbanner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(21, 101, 190, 0.08);
    border: 1px solid rgba(21, 101, 190, 0.25);
    font-size: 12.5px;
    color: var(--dh-text, #1a2535);
}
.dh-lite-pl-src { margin: 0 14px 10px; }
.dh-lite-sheet-line-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.dh-lite-sheet-chain--ghost {
    background: rgba(21, 101, 190, 0.08);
    color: var(--dh-blue, #1565BE);
}
.dh-lite-sheet-chain--send { background: #1F7A38; }
.dh-lite-sheet-edit {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dh-lite-sheet-edit label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--dh-text2, #4a6a8a);
}
.dh-lite-sheet-edit label span { width: 60px; flex-shrink: 0; }
.dh-lite-sheet-edit input {
    flex: 1;
    min-width: 0;
    font-family: inherit;
    font-size: 16px;
    padding: 8px 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
}

/* Authorize button on the quote sheet (Phase 3i) */
.dh-lite-sheet-chain--auth { background: #6B2AA5; }

/* ── LITE ASSISTANT CHAT (/lite/assistant — Stage M2, 2026-08-07) ───────
   Full-screen mobile chat with the rep's assistant. The page is a fixed-
   height flex column between the Lite topbar (44px) and footer (56px);
   the -1rem margins reclaim .dh-lite-main's padding so the chat owns the
   full width. Only .dh-lite-chat-scroll scrolls (momentum); the composer
   never moves. Tokens only — no new raw hex (drift ratchet). */

.dh-lite-chat {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: -1rem;                       /* reclaim .dh-lite-main padding */
    height: calc(100dvh - 44px - 56px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
}

.dh-lite-chat-head {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px 8px 4px;
    background: var(--zd-panel);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.dh-lite-chat-back {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--zd-accent);
    text-decoration: none;
}
.dh-lite-chat-who {
    flex: 1;
    min-width: 0;
}
.dh-lite-chat-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--zd-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dh-lite-chat-role {
    font-size: 11px;
    color: var(--zd-muted);
}

.dh-lite-chat-scroll {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;   /* iOS momentum scroll */
    overscroll-behavior: contain;
    padding: 14px 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dh-lite-chat-intro {
    font-size: 13px;
    line-height: 1.5;
    color: var(--zd-muted);
    text-align: center;
    padding: 18px 20px;
}
.dh-lite-chat-msg {
    display: flex;
}
.dh-lite-chat-msg.me   { justify-content: flex-end; }
.dh-lite-chat-msg.them { justify-content: flex-start; }
.dh-lite-chat-bubble {
    max-width: 85%;
    padding: 9px 13px;
    border-radius: 16px;
    font-size: 14.5px;
    line-height: 1.45;
    white-space: pre-wrap;               /* the model's line breaks survive */
    overflow-wrap: anywhere;             /* long part numbers never widen 375px */
    min-width: 0;
}
.dh-lite-chat-msg.me .dh-lite-chat-bubble {
    background: var(--zd-accent);
    color: var(--zd-bluebar-ink);
    border-bottom-right-radius: 6px;
}
.dh-lite-chat-msg.me .dh-lite-chat-bubble a { color: inherit; }
.dh-lite-chat-msg.them .dh-lite-chat-bubble {
    background: var(--zd-panel);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--zd-ink);
    border-bottom-left-radius: 6px;
}
.dh-lite-chat-msg.them .dh-lite-chat-bubble a { color: var(--zd-accent); }

/* Assistant-is-replying dots */
.dh-lite-chat-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 20px;
}
.dh-lite-chat-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--zd-muted);
    animation: dh-lite-chat-blink 1.2s infinite ease-in-out;
}
.dh-lite-chat-typing span:nth-child(2) { animation-delay: .2s; }
.dh-lite-chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes dh-lite-chat-blink {
    0%, 80%, 100% { opacity: 0.25; }
    40%           { opacity: 1; }
}

/* Drafts-queued chip — real queue count, links the review rail */
.dh-lite-chat-chip {
    align-self: center;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--zd-accent-soft);
    border: 1px solid var(--zd-accent-line);
    color: var(--zd-ink);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.dh-lite-chat-chip-go {
    color: var(--zd-accent);
    font-weight: 700;
}

/* Sticky composer — last flex child of a fixed-height column, so it never
   moves; the footer below already carries the home-indicator inset. */
.dh-lite-chat-composer {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 10px 12px;
    background: var(--zd-panel);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.dh-lite-chat-input {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    max-height: 132px;                   /* zdLiteChat.grow caps here too */
    resize: none;
    font: inherit;
    font-size: 16px;                     /* kills iOS zoom-on-focus */
    line-height: 1.4;
    color: var(--zd-ink);
    background: var(--zd-panel-tint);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 11px 13px;
    box-sizing: border-box;
}
.dh-lite-chat-input:focus {
    outline: none;
    border-color: var(--zd-accent);
    box-shadow: var(--zd-focus-ring);
}
.dh-lite-chat-send {
    flex-shrink: 0;
    min-width: 64px;
    min-height: 44px;
    border: none;
    border-radius: 12px;
    background: var(--zd-accent);
    color: var(--zd-bluebar-ink);
    font-size: 14.5px;
    font-weight: 700;
    transition: transform .14s, opacity .14s;
}
.dh-lite-chat-send:active { transform: scale(0.97); }
.dh-lite-chat-send:disabled { opacity: 0.45; }

/* Composer busy overlay — BUSY-OVERLAY-EVERYWHERE, blocking + labeled */
.dh-lite-chat-busy {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.88);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--zd-muted);
}
.dh-lite-chat-spin {
    width: 18px;
    height: 18px;
    border: 2.5px solid var(--zd-accent-soft);
    border-top-color: var(--zd-accent);
    border-radius: 50%;
    animation: dh-lite-chat-spin .8s linear infinite;
}
@keyframes dh-lite-chat-spin { to { transform: rotate(360deg); } }

/* Boot + no-assistant states */
.dh-lite-chat-boot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 48px 16px;
    font-size: 13.5px;
    color: var(--zd-muted);
}
.dh-lite-chat-none {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--zd-panel);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 20px 16px;
    margin-top: 8px;
    text-align: center;
}
.dh-lite-chat-none-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--zd-ink);
}
.dh-lite-chat-none-sub {
    font-size: 13px;
    line-height: 1.5;
    color: var(--zd-muted);
}

/* ── LITE ZED SHEET (/lite/zed — Stage M3, 2026-08-07) ──────────────────
   Briefing-first mobile rethink of the ZED page: the whole page is the
   shared LiteChatSurface column (.dh-lite-chat + .dh-lite-zedsheet); the
   one scroller carries Today strip → Needs-you chips → Ask-ZED thread,
   with the sticky composer below. Candidate cards reuse the existing
   .dh-lite-zed-card block verbatim. Tokens + rgba only — no new raw hex
   (drift ratchet). */

.dh-lite-zedsheet-refresh {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--zd-accent-line);
    border-radius: 999px;
    background: var(--zd-accent-soft);
    color: var(--zd-accent);
    font-size: 12.5px;
    font-weight: 700;
}
.dh-lite-zedsheet-refresh:disabled { opacity: 0.6; cursor: wait; }

/* Today strip — the Morning Briefing prose + expandable buckets. */
.dh-lite-zedsheet-today {
    background: var(--zd-panel);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--zd-radius-lg);
    padding: 12px 14px;
}
.dh-lite-zedsheet-lbl {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--zd-muted);
    margin-bottom: 6px;
}
.dh-lite-zedsheet-when {
    font-weight: 600;
    letter-spacing: normal;
    text-transform: none;
    color: var(--zd-muted-2);
}
.dh-lite-zedsheet-prose {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--zd-ink);
}

/* Tap-to-expand briefing bucket inside the Today strip. */
.dh-lite-zedsheet-bucket {
    margin-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 4px;
}
.dh-lite-zedsheet-bucket-head {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 0;
    border: none;
    background: none;
    text-align: left;
    color: var(--zd-ink);
    font-size: 13.5px;
    font-weight: 700;
}
.dh-lite-zedsheet-bucket-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dh-lite-zedsheet-bucket-n {
    flex-shrink: 0;
    min-width: 22px;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--zd-accent-soft);
    color: var(--zd-accent);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}
.dh-lite-zedsheet-bucket-chev {
    flex-shrink: 0;
    width: 22px;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    color: var(--zd-muted-2);
}
/* Bucket accents piggyback the existing section kinds (gold=OEM, coral=stale). */
.dh-lite-zedsheet-bucket.dh-lite-zed-sec--oem,
.dh-lite-zedsheet-bucket.dh-lite-zed-sec--stale { border-left-width: 3px; }

/* Replaced-contact note (was inline-styled in v1). */
.dh-lite-zedsheet-swapnote {
    font-size: 11px;
    color: rgba(181, 61, 85, 1);
}
.dh-lite-zedsheet-swapnote strong { color: var(--zd-ink); }

/* Needs-you chips — 44px tap targets with count badges. */
.dh-lite-zedsheet-needs {
    background: var(--zd-panel);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--zd-radius-lg);
    padding: 12px 14px;
}
.dh-lite-zedsheet-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.dh-lite-zedsheet-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--zd-accent-soft);
    border: 1px solid var(--zd-accent-line);
    color: var(--zd-ink);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.dh-lite-zedsheet-chip svg { color: var(--zd-accent); }
.dh-lite-zedsheet-chip-n {
    min-width: 22px;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--zd-accent);
    color: var(--zd-bluebar-ink);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

/* Ask-ZED section label — marks where the thread starts in the sheet. */
.dh-lite-zedsheet-asklbl {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--zd-muted);
}
.dh-lite-zedsheet-newchat {
    margin-left: auto;
    min-height: 32px;
    padding: 0 10px;
    border: none;
    border-radius: 999px;
    background: none;
    color: var(--zd-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: normal;
    text-transform: none;
}

/* Today Track — full lists + company-first rows (2026-09-22) */
.dh-lite-tt-hd { width: 100%; text-align: left; background: transparent; cursor: pointer; }
.dh-lite-tt-hd .dh-lite-pl-more { margin-left: auto; }
.dh-lite-tt-hd-chev { display: flex; color: rgba(0, 0, 0, 0.35); transition: transform 0.15s ease; transform: rotate(90deg); }
.dh-lite-tt-hd-chev.is-collapsed { transform: none; }
.dh-lite-tt-row { display: flex; flex-direction: column; border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.dh-lite-tt-row:last-child { border-bottom: 0; }
.dh-lite-tt-co {
    display: block;
    padding: 10px 14px 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--zd-accent);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dh-lite-tt-co:active { opacity: 0.6; }
.dh-lite-tt-co--plain { color: var(--zd-ink); }
.dh-lite-tt-row .dh-lite-cmc-doc { border-bottom: 0; padding-top: 6px; }

/* Topbar back control — every Lite page but the landing / sign-in (2026-09-22) */
.dh-lite-back {
    width: 36px;
    height: 40px;
    margin-right: -6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--zd-bluebar-ink);
    border-radius: 8px;
    text-decoration: none;
    flex-shrink: 0;
}
.dh-lite-back:active { background: rgba(255, 255, 255, 0.12); }

/* Doc sheet — company as a link, tappable meta values (2026-09-22 one-standard header) */
.dh-lite-sheet-co--link { color: var(--zd-accent); text-decoration: none; display: block; }
.dh-lite-sheet-co--link:active { opacity: 0.6; }
.dh-lite-sheet-meta-link { color: var(--zd-accent); text-decoration: underline; text-underline-offset: 2px; }
