/* ============================================================================
   packages/hub/public/css/hub.css - THE HUB'S STYLESHEET (kit ship 11)
   ============================================================================
   Written for the hub's two pages (sign-in and one project's Dev Queue) from Bundle Builder's
   public/css/styles.css at 57c8bb51: BB's token names and values (light, [data-theme="dark"] and the
   prefers-color-scheme fallback - three blocks, so nothing is theme-blind), its button, badge, table,
   toast, warning-bar and sign-in rules, and its .dq-* rules for the parts ship 11 builds. BB's file is
   3,289 lines of its whole product; the phone cards, the installed app's tabs and the push switch
   are ship 23's and are not here. Kit-native: the rules are BB's, the file is not a lift of BB's.
   ============================================================================ */

:root {
    --bg: #F1F5F9;
    --surface: #FFFFFF;
    --surface-2: #F8FAFC;
    --surface-3: #F1F5F9;
    --text: #0F172A;
    --text-muted: #64748B;
    --text-subtle: #94A3B8;
    --border: #E2E8F0;
    --border-strong: #CBD5E1;
    --header-bg: #0F172A;
    --header-text: #F1F5F9;
    --header-muted: #94A3B8;
    --accent: #F97316;
    --accent-hover: #EA580C;
    --accent-soft: #FFEDD5;
    --accent-text: #9A3412;
    --success: #10B981;
    --success-soft: #D1FAE5;
    --success-text: #065F46;
    --success-btn: #047857;
    --warning: #F59E0B;
    --warning-soft: #FEF3C7;
    --warning-text: #92400E;
    --danger: #EF4444;
    --danger-soft: #FEE2E2;
    --danger-text: #991B1B;
    --info: #3B82F6;
    --info-soft: #DBEAFE;
    --info-text: #1E3A8A;
    --dq-pause-red: #B91C1C;
    --dq-pause-red-fg: #FFFFFF;
    --dq-pause-yellow: var(--warning);
    --dq-pause-yellow-fg: #111827;
    --dq-pause-green: var(--success-btn);
    --dq-pause-green-fg: #FFFFFF;
    --dq-text-muted: #475569;
    --dq-btn-primary: #C2410C;
    --dq-btn-primary-hover: #9A3412;
    --dq-btn-danger: #B91C1C;
    --dq-btn-danger-hover: #991B1B;
    --dq-link: var(--accent-text);
    --shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 8px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
    --radius-sm: 4px;
    --radius: 6px;
    --font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --mono: 'SF Mono', Consolas, 'Courier New', monospace;
    color-scheme: light;
}
[data-theme="dark"] {
    --bg: #0B1220;
    --surface: #111827;
    --surface-2: #1A2236;
    --surface-3: #243049;
    --text: #E5E7EB;
    --text-muted: #9CA3AF;
    --text-subtle: #6B7280;
    --border: #2A3447;
    --border-strong: #3B475C;
    --header-bg: #060B17;
    --header-text: #F1F5F9;
    --header-muted: #94A3B8;
    --accent: #F97316;
    --accent-hover: #FB923C;
    --accent-soft: #3A1F0B;
    --accent-text: #FED7AA;
    --success-soft: #0B2E25;
    --success-text: #A7F3D0;
    --success-btn: #059669;
    --warning-soft: #3A2A0A;
    --warning-text: #FDE68A;
    --danger-soft: #3A1818;
    --danger-text: #FECACA;
    --info: #60A5FA;
    --info-soft: #1A2A47;
    --info-text: #BFDBFE;
    --dq-pause-green: #047857;
    --dq-text-muted: var(--text-muted);
    --dq-link: var(--accent);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.55), 0 2px 4px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
    html:not([data-theme]) {
        --bg: #0B1220;
        --surface: #111827;
        --surface-2: #1A2236;
        --surface-3: #243049;
        --text: #E5E7EB;
        --text-muted: #9CA3AF;
        --text-subtle: #6B7280;
        --border: #2A3447;
        --border-strong: #3B475C;
        --header-bg: #060B17;
        --accent-hover: #FB923C;
        --accent-soft: #3A1F0B;
        --accent-text: #FED7AA;
        --success-soft: #0B2E25;
        --success-text: #A7F3D0;
        --success-btn: #059669;
        --warning-soft: #3A2A0A;
        --warning-text: #FDE68A;
        --danger-soft: #3A1818;
        --danger-text: #FECACA;
        --info: #60A5FA;
        --info-soft: #1A2A47;
        --info-text: #BFDBFE;
        --dq-pause-green: #047857;
        --dq-text-muted: var(--text-muted);
        --dq-link: var(--accent);
        --shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.35);
        --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.55), 0 2px 4px rgba(0, 0, 0, 0.35);
        color-scheme: dark;
    }
}

/* ---- base ------------------------------------------------------------------ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 13px; line-height: 1.45; }
a { color: var(--dq-link); }
h1 { font-size: 20px; margin: 0 0 6px; }
h3 { font-size: 15px; margin: 0 0 8px; }
.mono { font-family: var(--mono); }
.text-xs { font-size: 12px; }
.loading { padding: 24px; color: var(--text-muted); }
input, textarea, select, button { font: inherit; }
input, textarea, select { color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 6px 8px; }

/* ---- the shell: header, warning-bar host, content ---------------------------- */
.hub-app { display: grid; grid-template-rows: auto auto 1fr; min-height: 100vh; }
.hub-header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 10px 16px; background: var(--header-bg); color: var(--header-text); }
.hub-brand { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 8px; font-weight: 700; }
.hub-brand-mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--accent); color: #fff; font-weight: 700; }
.hub-where { display: flex; align-items: center; gap: 6px; color: var(--header-muted); }
.hub-project-name { color: var(--header-text); font-weight: 600; }
.hub-projects { display: flex; flex-wrap: wrap; gap: 6px; }
.hub-projects a.hub-project { color: var(--header-muted); text-decoration: none; padding: 3px 8px; border-radius: var(--radius-sm); }
.hub-projects a.hub-project-on { color: var(--header-text); background: rgba(255, 255, 255, 0.10); }
.hub-user-box { margin-left: auto; display: flex; align-items: center; gap: 10px; color: var(--header-muted); }
.hub-user-box .btn { background: transparent; color: var(--header-text); border-color: rgba(255, 255, 255, 0.25); }
.warning-bar-host:empty { display: none; }
.hub-content { padding: 16px; max-width: 1400px; width: 100%; margin: 0 auto; min-width: 0; }
.page-header { margin-bottom: 12px; }
.page-title p { margin: 0; color: var(--dq-text-muted); max-width: 900px; }

/* ---- buttons and badges (BB's) ------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font-size: 12px; font-weight: 500; cursor: pointer; }
.btn:hover { background: var(--surface-2); }
.btn-primary { background: var(--accent); border-color: transparent; color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-danger { background: var(--danger); border-color: transparent; color: #fff; }
.btn-sm { padding: 5px 10px; font-size: 11px; }
.btn-lg { padding: 10px 18px; font-size: 13px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-block { width: 100%; }
.badge { display: inline-block; padding: 1px 7px; border-radius: 999px; background: var(--surface-3); color: var(--text-muted); font-size: 11px; font-weight: 600; white-space: nowrap; }
.badge-info { background: var(--info-soft); color: var(--info-text); }
.badge-success { background: var(--success-soft); color: var(--success-text); }
.badge-warning { background: var(--warning-soft); color: var(--warning-text); }
.badge-danger { background: var(--danger-soft); color: var(--danger-text); }

/* ---- the list table ------------------------------------------------------------ */
.list-table { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; }
.list-table table { width: 100%; border-collapse: collapse; }
.list-table th { text-align: left; padding: 8px 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--dq-text-muted); border-bottom: 1px solid var(--border); background: var(--surface-2); }
.list-table td { padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }

/* ---- toast and warning bar (BB's, Convention #30) ----------------------------- */
.toasts { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 100; }
.toast { padding: 10px 14px; border-radius: var(--radius); background: var(--text); color: var(--surface); box-shadow: var(--shadow-md); transition: opacity .3s; max-width: 360px; }
.toast.error { background: var(--danger); color: #fff; }
.warning-bar { margin: 0; padding: 8px 16px; background: var(--warning-soft); border-bottom: 1px solid #f59e0b; color: var(--warning-text); }
.warning-bar button { font: inherit; cursor: pointer; border-radius: 4px; }
.warning-bar-head { display: flex; align-items: center; gap: 8px; font-weight: 700; padding-bottom: 4px; }
.warning-bar-dismiss-all { margin-left: auto; padding: 1px 8px; background: transparent; border: 1px solid #f59e0b; color: inherit; }
.warning-bar-row { border-top: 1px dotted rgba(245, 158, 11, 0.65); padding: 3px 0; }
.warning-bar-row:first-child { border-top: 0; }
.warning-bar-row-danger { color: var(--danger-text); }
.warning-bar-line { display: flex; align-items: center; gap: 8px; }
.warning-bar-title { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.warning-bar-toggle, .warning-bar-x, .warning-bar-more { background: transparent; border: 0; color: inherit; padding: 0 6px; }
.warning-bar-items { margin: 4px 0 2px 20px; padding: 0; }

/* ---- sign-in ------------------------------------------------------------------- */
.auth-page { display: grid; place-items: center; min-height: 100vh; padding: 16px; }
.auth-card { width: 100%; max-width: 360px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 24px; box-shadow: var(--shadow-md); }
.auth-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.auth-logo-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 700; }
.auth-logo-name { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.auth-card h1 { font-size: 18px; margin: 0 0 4px; }
.auth-card .subtitle { color: var(--text-muted); font-size: 12px; margin: 0 0 20px; }
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.auth-form .field { display: flex; flex-direction: column; gap: 4px; }
.auth-form input { width: 100%; padding: 9px 10px; }
.auth-error { padding: 10px 12px; border-radius: var(--radius); background: var(--danger-soft); color: var(--danger-text); border: 1px solid var(--danger); overflow-wrap: anywhere; }

/* ---- the Dev Queue (BB's .dq-* rules for the parts ship 11 builds) -------------- */
:where(.dq-page) ::placeholder { color: var(--dq-text-muted); opacity: 1; }
.dq-page .dq-muted, .dq-page .dq-empty { color: var(--dq-text-muted); }
.dq-page .btn-primary { background: var(--dq-btn-primary); }
.dq-page .btn-primary:hover { background: var(--dq-btn-primary-hover); }
.dq-page .btn-danger { background: var(--dq-btn-danger); }
.dq-page .dq-live-stale { color: var(--warning-text); }
.dq-page .dq-live { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 12px; }
.dq-page .dq-live-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.dq-page .dq-filters { margin: 4px 0 6px; }
.dq-page .dq-search-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.dq-page .dq-search-label { font-weight: 500; }
.dq-page .dq-filters #dq-search { width: 320px; }
.dq-page .dq-search-snippet { color: var(--dq-text-muted); overflow-wrap: anywhere; margin-top: 2px; }
.dq-page .dq-search-hit { background: var(--accent-soft); color: inherit; padding: 0 1px; border-radius: 2px; }
.dq-page .dq-states { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.dq-page .dq-state-chip { display: inline-flex; align-items: center; gap: 5px; }
.dq-page button.dq-state-chip { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.dq-page .dq-state-chip-off { outline: 1px dashed var(--border-strong); outline-offset: 2px; }
.dq-page .dq-state-chip-off .badge, .dq-page .dq-state-chip-off .dq-state-count { background: transparent; color: var(--dq-text-muted); text-decoration: line-through; }
.dq-page .dq-state-count { font-size: 12px; color: var(--dq-text-muted); }
.dq-page .dq-title { font-weight: 500; overflow-wrap: anywhere; }
/* the priority label (kit queue item, ship 23's wish-list track): read at a glance - the cell's own colour, never muted */
.dq-page .dq-table td.dq-prio-cell { width: 1%; white-space: nowrap; }
.dq-page .dq-prio { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 600; color: inherit; }
.dq-page .dq-sort-h { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; text-transform: inherit; letter-spacing: inherit; }
.dq-page .dq-sort-note { min-height: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--dq-text-muted); }
.dq-page .dq-filter-note { min-height: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--dq-text-muted); }
.dq-page .dq-flags { min-height: 20px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dq-page .dq-blocked { min-height: 17px; font-size: 12px; color: var(--warning-text); }
.dq-page .dq-blocked .dq-hand-close { color: var(--dq-text-muted); }
.dq-page .dq-staging { min-height: 17px; font-size: 12px; color: var(--dq-text-muted); overflow-wrap: anywhere; }
.dq-staging .dq-staging-absent { font-size: 12px; color: var(--dq-text-muted); font-style: italic; }
.dq-requester { color: var(--dq-text-muted); }
.dq-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dq-form-grid { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.dq-field { display: block; }
.dq-field-grow { flex: 1 1 260px; }
.dq-field-wide { display: block; margin-top: 10px; }
.dq-field-check { display: inline-flex; align-items: center; gap: 6px; }
.dq-input { max-width: 100%; }
.dq-form .dq-field-grow .dq-input, .dq-form .dq-field-wide .dq-input { width: 100%; }
.dq-form textarea.dq-input { resize: vertical; }
.dq-form-title { margin-top: 0; }
.dq-panel { padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 18px; }
.dq-editing-note { margin: 0; color: var(--dq-text-muted); }
.dq-mark-done { padding: 10px 0; }
.dq-quick textarea.dq-input { width: 100%; resize: vertical; font-family: var(--mono); font-size: 12px; }
.dq-quick .dq-q-hint { color: var(--dq-text-muted); }
.dq-quick .dq-q-line { font-weight: 500; margin: 8px 0; overflow-wrap: anywhere; }
.dq-quick .dq-q-errors { margin: 8px 0; padding-left: 18px; }
.dq-quick .dq-q-err { color: var(--danger-text); overflow-wrap: anywhere; }
.dq-quick .dq-form { margin-top: 12px; }
.dq-top { display: flex; align-items: flex-start; gap: 14px; }
.dq-top > .dq-quick { flex: 1 1 auto; min-width: 0; }
.dq-pause-mount { flex: 0 0 280px; min-width: 0; min-height: 132px; margin-bottom: 18px; }
.dq-pause { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.dq-pause-words { min-height: 1.5em; overflow-wrap: anywhere; }
.dq-pause-sub { min-height: 4.5em; color: var(--dq-text-muted); overflow-wrap: anywhere; }
.dq-pause-btn { min-height: 44px; min-width: 44px; padding: 10px 18px; font-size: 15px; font-weight: 700; border: 0; cursor: pointer; }
.dq-pause-btn[data-dq-pause-tone="red"] { background: var(--dq-pause-red); color: var(--dq-pause-red-fg); }
.dq-pause-btn[data-dq-pause-tone="yellow"] { background: var(--dq-pause-yellow); color: var(--dq-pause-yellow-fg); }
.dq-pause-btn[data-dq-pause-tone="green"] { background: var(--dq-pause-green); color: var(--dq-pause-green-fg); }
.dq-pause-btn:hover { filter: brightness(0.92); }
.dq-pause-seg { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.dq-pause-seg-btn { flex: 1 1 auto; min-height: 32px; padding: 4px 8px; font-size: 12px; }
.dq-pause-seg-btn[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent-text); font-weight: 700; }
.dq-pause-timer { margin-top: 8px; font-weight: 700; overflow-wrap: anywhere; }
.dq-pause-timer-controls { display: flex; gap: 6px; margin-top: 8px; }
.dq-pause-timer-controls .btn { flex: 1 1 auto; min-height: 44px; }
.dq-pause-note { margin-top: 8px; overflow-wrap: anywhere; }
.dq-pause-notify { margin-top: 8px; font-size: 12px; }
.dq-form .dq-field-hold { align-self: center; }
.dq-form .dq-after-unresolved { outline: 2px solid var(--danger); outline-offset: 0; }
.dq-form .dq-after-unresolved-note { color: var(--danger-text); margin: 4px 0; overflow-wrap: anywhere; }
.dq-form .dq-after { position: relative; }
.dq-form .dq-after-row { display: flex; gap: 6px; align-items: center; }
.dq-form .dq-after-q { flex: 1 1 auto; min-width: 0; }
.dq-form .dq-after-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; margin-top: 2px; max-height: 260px; overflow-y: auto; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); box-shadow: var(--shadow); }
.dq-form .dq-after-list[hidden] { display: none; }
.dq-form .dq-after-opt { padding: 6px 10px; cursor: pointer; overflow-wrap: anywhere; }
.dq-form .dq-after-opt-hi { background: var(--accent-soft); color: var(--accent-text); }
.dq-form .dq-after-none { padding: 6px 10px; color: var(--dq-text-muted); }

@media (max-width: 720px) {
    .hub-content { padding: 12px 16px; }
    .dq-table table, .dq-table tbody, .dq-table tr, .dq-table td { display: block; width: 100%; }
    .dq-table thead { display: none; }
    .dq-table tr { border-bottom: 2px solid var(--border); padding: 8px 0; }
    .dq-table td { border-bottom: none; padding: 3px 10px; }
    .dq-table td[data-label]::before { content: attr(data-label) ": "; color: var(--dq-text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .03em; }
    .dq-table td.dq-actions::before { content: none; }
    .dq-page .dq-table td.dq-prio-cell { width: 100%; }
    .dq-table td.dq-prio-cell::before { content: none; }
    .dq-table td.dq-prio-cell .dq-prio { display: inline-block; font-size: 11px; padding: 1px 6px; border: 1px solid var(--border-strong); border-radius: var(--radius); }
    .dq-btn { min-height: 44px; min-width: 44px; padding: 10px 14px; }
    .dq-state-chip { min-height: 44px; min-width: 44px; }
    .dq-page .dq-filters #dq-search { width: 100%; min-height: 44px; }
    .dq-search-clear { min-height: 44px; min-width: 44px; }
    .dq-field-check { min-height: 44px; }
    .dq-form-grid { display: block; }
    .dq-field { width: 100%; margin-bottom: 10px; }
    .dq-input { width: 100%; }
    .dq-actions { flex-direction: column; align-items: stretch; }
    .dq-form .dq-after-row { flex-direction: column; align-items: stretch; }
    .dq-after-q { min-height: 44px; }
    .dq-after-clear { min-height: 44px; min-width: 44px; width: 100%; }
    .dq-after-opt { min-height: 44px; display: flex; align-items: center; }
    .dq-top { flex-direction: column; align-items: stretch; gap: 0; }
    .dq-pause-mount { flex: 0 0 auto; width: 100%; min-height: 150px; margin-bottom: 12px; }
    .dq-pause-btn { width: 100%; }
}

/* ---- the Dev Queue, the rest (kit ship 23): the paste of several blocks, the row actions, the keys ---- */
.dq-page .dq-q-multi-hint { color: var(--dq-text-muted); margin: -10px 0 14px; }
.dq-quick .dq-q-blocks { margin: 8px 0; padding-left: 0; list-style: none; }
.dq-quick .dq-q-block { padding: 6px 0; border-top: 1px solid var(--border); }
.dq-quick .dq-q-block:first-child { border-top: 0; }
.dq-quick .dq-q-block-n { font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--dq-text-muted); }
.dq-page .dq-actions .dq-move-slot { display: inline-block; width: 30px; }
.dq-page .dq-row-form > td { background: var(--surface-2); }
.dq-page .dq-editing-note { color: var(--dq-text-muted); font-size: 12px; }
.dq-page .btn-danger:hover { background: var(--dq-btn-danger-hover); }
.dq-keys .dq-key-raw { background: var(--surface-2); border: 1px solid var(--warning); }
.dq-keys .dq-key-revoked td { color: var(--dq-text-muted); }

/* ---- the Control Panel (kit ship 14; a functional first cut, ship 14b's design replaces it) ---- */
.panel-page .panel-row { cursor: pointer; }
.panel-page .panel-row:hover td { background: var(--surface-2); }
.panel-page .panel-link-row { cursor: default; }
.panel-page .panel-name { font-weight: 600; }
.panel-page .panel-why { font-size: 12px; }
.panel-page .panel-status { margin-top: 8px; font-size: 12px; }

/* ---- the site decisions (kit ship 13d): one row under a gated or a stopped item ---- */
.dq-page .dq-decision > td { background: var(--surface-2); }
.dq-page .dq-decision-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dq-page .dq-decision-notes { flex: 1 1 260px; min-width: 200px; font: inherit; font-size: 12px; }
.dq-page .dq-decision-reviewer { font: inherit; font-size: 12px; min-width: 140px; }
.dq-page .dq-decision-status { margin-top: 6px; color: var(--dq-text-muted); }
.dq-page .dq-decision-applied { color: var(--success, var(--dq-text-muted)); }
.dq-page .dq-decision-refused { color: var(--warning); }
.dq-page .dq-gate-q-wrap { margin-bottom: 6px; }
.dq-page .dq-gate-waiting { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 10px; background: var(--warning); color: #000; margin-right: 8px; }
.dq-page .dq-gate-q { display: inline-block; vertical-align: top; max-width: 100%; }
.dq-page .dq-gate-q > summary { cursor: pointer; font-size: 12px; }
.dq-page .dq-gate-q-list { margin: 6px 0 0 18px; padding: 0; }
.dq-page .dq-gate-q-item { margin-bottom: 6px; white-space: pre-wrap; overflow-wrap: anywhere; }
.dq-page .dq-gate-q-rec { color: var(--dq-text-muted); }
.dq-page .dq-gate-q-failed { color: var(--warning); }
/* kit ship 13al: the waiting spec's text - the box bounds what shows, never the text (it stays in the DOM whole) */
.dq-page .dq-gate-s-head { font-size: 12px; font-weight: 600; margin-top: 6px; }
.dq-page .dq-gate-s-text { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 24em; overflow: auto; margin: 4px 0; padding: 6px 8px; font-size: 12px; border: 1px solid var(--dq-text-muted); border-radius: 4px; }
.dq-page .dq-gate-s-redacted { color: var(--dq-text-muted); }
@media (max-width: 720px) { .dq-page .dq-decision-controls { flex-direction: column; align-items: stretch; } .dq-page .dq-decision-controls .dq-btn { min-height: 44px; } }
