/* =====================================================================
   HOUSBE — DOCUMENT CENTRE  (js/hb-doc-center.js)
   ---------------------------------------------------------------------
   One design, two places: the sheet "Take Action" opens, and the first
   section of the Documents stage. Deep-blue glass like the rest of the
   room, gold for what you press, cyan for documents (the Documents
   planet's own colour), green / amber / red for state.
   Every selector is prefixed .hbdc so nothing here reaches the room's
   own styles, and nothing there reaches in.
   ===================================================================== */
.hbdc {
    --hbdc-bg1: rgba(13, 34, 60, 0.92);
    --hbdc-bg2: rgba(6, 18, 34, 0.96);
    --hbdc-line: rgba(98, 183, 242, 0.24);
    --hbdc-line2: rgba(98, 183, 242, 0.40);
    --hbdc-text: #F4F7FA;
    --hbdc-mute: #8FA4BC;
    --hbdc-dim: #64788f;
    --hbdc-gold: #F4D995;
    --hbdc-gold2: #DDB760;
    --hbdc-cyan: #22d3ee;
    --hbdc-green: #3ee98c;
    --hbdc-amber: #ffd894;
    --hbdc-red: #ff8a8a;
    color: var(--hbdc-text);
    font-family: inherit;
    text-align: left;
    box-sizing: border-box;
}
.hbdc *, .hbdc *::before, .hbdc *::after { box-sizing: border-box; }
.hbdc button { font-family: inherit; }

/* ---------------- the sheet ---------------- */
.hbdc-modal {
    position: fixed; inset: 0; z-index: 100400;
    display: flex; align-items: center; justify-content: center;
    padding: 24px 16px;
    background: rgba(2, 8, 18, 0.72);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    opacity: 0; transition: opacity .22s ease;
}
.hbdc-modal.is-open { opacity: 1; }
/* stepped aside while the room's own "who can see it" picker is up */
.hbdc-modal.is-away { opacity: 0; pointer-events: none; }
.hbdc-sheet {
    position: relative; width: 640px; max-width: 100%;
    max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
    display: flex; flex-direction: column;
    border-radius: 24px; overflow: hidden;
    background:
        radial-gradient(70% 40% at 92% 0%, rgba(34, 211, 238, 0.16), transparent 70%),
        radial-gradient(60% 40% at 0% 100%, rgba(244, 217, 149, 0.08), transparent 72%),
        linear-gradient(180deg, #0A203A 0%, #071A31 55%, #061426 100%);
    border: 1px solid rgba(98, 183, 242, 0.30);
    box-shadow: inset 0 1px 0 rgba(191, 229, 255, 0.18), 0 30px 80px rgba(0, 0, 0, 0.62),
                0 0 0 1px rgba(34, 211, 238, 0.06);
    transform: translateY(14px) scale(.985); transition: transform .26s cubic-bezier(.2, .8, .2, 1);
}
.hbdc-modal.is-open .hbdc-sheet { transform: none; }
.hbdc-scroll {
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    padding: 0 26px 22px;
    scrollbar-width: thin; scrollbar-color: rgba(98, 183, 242, 0.35) transparent;
}
.hbdc-x {
    position: absolute; top: 16px; right: 16px; z-index: 2;
    width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center; font-size: 17px; color: #cbd5e1;
    background: linear-gradient(180deg, rgba(21, 61, 103, 0.46), rgba(5, 24, 45, 0.9));
    border: 1px solid rgba(98, 183, 242, 0.34);
    box-shadow: inset 0 1px 0 rgba(191, 229, 255, 0.28);
}
.hbdc-x:hover { color: #fff; border-color: rgba(98, 183, 242, 0.6); }
.hbdc-x:focus-visible { outline: 2px solid #8BCBFF; outline-offset: 3px; }

/* ---------------- header ---------------- */
.hbdc-head { display: flex; align-items: flex-start; gap: 15px; padding: 26px 60px 16px 0; }
.hbdc[data-mode="inline"] .hbdc-head { padding: 4px 0 14px; }
.hbdc-hic {
    flex: 0 0 auto; width: 50px; height: 50px; border-radius: 15px;
    display: grid; place-items: center; font-size: 21px; color: #04202a;
    background: linear-gradient(145deg, #a5f3fc 0%, #22d3ee 55%, #0891b2 100%);
    box-shadow: 0 8px 22px rgba(34, 211, 238, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.hbdc-ht { min-width: 0; }
.hbdc-kick {
    display: block; color: var(--hbdc-cyan); font-size: 11.5px; font-weight: 800;
    letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 4px;
}
.hbdc-ht h3 { margin: 0; font-size: 21px; line-height: 1.25; font-weight: 800; color: var(--hbdc-text); letter-spacing: .1px; }
.hbdc-ht h3 em { font-style: normal; color: var(--hbdc-gold); }
.hbdc-ht p { margin: 6px 0 0; color: var(--hbdc-mute); font-size: 13.5px; line-height: 1.55; }

/* ---------------- role line ---------------- */
.hbdc-role { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 14px; }
.hbdc-rolechip {
    display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 30px;
    font-size: 12.5px; font-weight: 800; letter-spacing: .04em; color: #1c1405;
    background: linear-gradient(145deg, #F8E4AB 0%, #F4D995 45%, #DDB760 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 4px 14px rgba(238, 196, 101, .22);
}
.hbdc-rolechip i { font-size: 11px; }
.hbdc-rolewhy { color: var(--hbdc-mute); font-size: 12.5px; }
.hbdc-rolewhy b { color: var(--hbdc-text); font-weight: 700; }

/* ---------------- progress ---------------- */
.hbdc-prog {
    display: flex; align-items: center; gap: 16px; margin: 0 0 16px; padding: 14px 16px;
    border-radius: 16px; border: 1px solid var(--hbdc-line);
    background: linear-gradient(180deg, var(--hbdc-bg1), var(--hbdc-bg2));
    box-shadow: inset 0 1px 0 rgba(191, 229, 255, 0.16);
}
.hbdc-ring {
    --p: 0; flex: 0 0 auto; width: 62px; height: 62px; border-radius: 50%;
    display: grid; place-items: center; position: relative;
    background: conic-gradient(var(--hbdc-green) calc(var(--p) * 1%), rgba(143, 164, 188, 0.18) 0);
}
.hbdc-ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #081a2e; }
.hbdc-ring b { position: relative; font-size: 15px; font-weight: 800; color: var(--hbdc-text); }
.hbdc-ring.is-done { background: conic-gradient(var(--hbdc-green) 100%, transparent 0); box-shadow: 0 0 22px -4px rgba(62, 233, 140, .6); }
.hbdc-progtx { flex: 1; min-width: 0; }
.hbdc-progtx b { display: block; font-size: 15px; font-weight: 800; color: var(--hbdc-text); }
.hbdc-progtx span { display: block; margin-top: 3px; color: var(--hbdc-mute); font-size: 13px; line-height: 1.45; }
.hbdc-bar { margin-top: 9px; height: 6px; border-radius: 6px; background: rgba(143, 164, 188, 0.16); overflow: hidden; }
.hbdc-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #22d3ee, #3ee98c); transition: width .5s ease; }

/* ---------------- list ---------------- */
.hbdc-gh {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin: 18px 2px 8px; color: var(--hbdc-mute); font-size: 11.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
}
.hbdc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hbdc-item {
    position: relative; display: flex; align-items: flex-start; gap: 13px; padding: 14px 15px;
    border-radius: 16px; border: 1px solid var(--hbdc-line);
    background: linear-gradient(180deg, rgba(14, 38, 66, 0.70), rgba(6, 18, 34, 0.92));
    box-shadow: inset 0 1px 0 rgba(191, 229, 255, 0.12);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.hbdc-item:hover { border-color: var(--hbdc-line2); }
.hbdc-item.is-drag { border-color: var(--hbdc-cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, .18), inset 0 1px 0 rgba(191, 229, 255, .2); transform: translateY(-1px); }
.hbdc-item.is-focus {
    border-color: rgba(244, 217, 149, 0.75);
    background: linear-gradient(180deg, rgba(244, 217, 149, 0.10), rgba(6, 18, 34, 0.94));
    box-shadow: 0 0 0 1px rgba(244, 217, 149, .25), 0 10px 30px -12px rgba(246, 184, 63, .55);
}
/* room for the "Requested now" tag that sits on the top edge */
.hbdc-item.is-focus { margin-top: 8px; }
.hbdc-item.is-focus::before {
    content: "Requested now"; position: absolute; top: -9px; left: 16px;
    padding: 2px 9px; border-radius: 20px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    color: #1c1405; background: linear-gradient(145deg, #F8E4AB, #DDB760);
}
.hbdc-iic {
    flex: 0 0 auto; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 17px;
    color: var(--hbdc-cyan); background: rgba(34, 211, 238, 0.10); border: 1px solid rgba(34, 211, 238, 0.28);
}
.hbdc-item.is-ok .hbdc-iic { color: var(--hbdc-green); background: rgba(62, 233, 140, .10); border-color: rgba(62, 233, 140, .32); }
.hbdc-item.is-fix .hbdc-iic { color: var(--hbdc-red); background: rgba(255, 138, 138, .10); border-color: rgba(255, 138, 138, .32); }
.hbdc-item.is-na { opacity: .62; }
.hbdc-itx { flex: 1; min-width: 0; }
.hbdc-iname { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; font-size: 15px; font-weight: 800; color: var(--hbdc-text); line-height: 1.3; }
.hbdc-pill { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 20px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hbdc-pill.req { color: var(--hbdc-gold); background: rgba(244, 217, 149, .10); border: 1px solid rgba(244, 217, 149, .38); }
.hbdc-pill.opt { color: var(--hbdc-mute); background: rgba(143, 164, 188, .08); border: 1px solid rgba(143, 164, 188, .28); }
.hbdc-iwhy { margin-top: 4px; color: var(--hbdc-mute); font-size: 13px; line-height: 1.5; }
.hbdc-st { display: inline-flex; align-items: center; gap: 6px; margin-top: 9px; font-size: 12.5px; font-weight: 700; }
.hbdc-st i { font-size: 11px; }
.hbdc-st.missing { color: var(--hbdc-amber); }
.hbdc-st.ok { color: var(--hbdc-green); }
.hbdc-st.fix { color: var(--hbdc-red); }
.hbdc-st.na { color: var(--hbdc-dim); }
.hbdc-st .hbdc-file { color: var(--hbdc-mute); font-weight: 600; max-width: 230px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbdc-st .hbdc-view { color: var(--hbdc-cyan); background: none; border: none; padding: 0; font: inherit; font-weight: 700; cursor: pointer; }
.hbdc-st .hbdc-view:hover { text-decoration: underline; }
.hbdc-iact { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; padding-top: 2px; }

/* ---------------- buttons ---------------- */
.hbdc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 40px; padding: 9px 16px; border-radius: 40px; cursor: pointer; white-space: nowrap;
    font-size: 13.5px; font-weight: 800; letter-spacing: .02em; color: #071A2E;
    background: linear-gradient(145deg, #F8E4AB 0%, #F4D995 42%, #DDB760 100%);
    border: 1px solid rgba(255, 235, 184, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 6px 18px rgba(238, 196, 101, 0.22);
    transition: filter .18s ease, transform .12s ease;
}
.hbdc-btn:hover { filter: brightness(1.06); }
/* while that row's file is on its way */
.hbdc-btn:disabled, .hbdc-ghost:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.4); transform: none; }
.hbdc-btn:active { transform: translateY(1px); }
.hbdc-btn:focus-visible, .hbdc-ghost:focus-visible, .hbdc-link:focus-visible { outline: 2px solid #8BCBFF; outline-offset: 3px; }
.hbdc-btn i { font-size: 13px; }
.hbdc-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    min-height: 36px; padding: 7px 13px; border-radius: 40px; cursor: pointer; white-space: nowrap;
    font-size: 12.5px; font-weight: 700; color: #cbd5e1;
    background: linear-gradient(180deg, rgba(21, 61, 103, 0.46), rgba(5, 24, 45, 0.9));
    border: 1px solid rgba(98, 183, 242, 0.34);
}
.hbdc-ghost:hover { color: #fff; border-color: rgba(98, 183, 242, 0.6); }
.hbdc-link { background: none; border: none; padding: 0; cursor: pointer; color: var(--hbdc-cyan); font: inherit; font-size: 13px; font-weight: 700; }
.hbdc-link:hover { text-decoration: underline; }

/* ---------------- upload progress (the loader) ---------------- */
.hbdc-up { margin-top: 11px; padding: 11px 12px; border-radius: 12px; background: rgba(4, 14, 28, 0.6); border: 1px solid rgba(34, 211, 238, 0.24); }
.hbdc-up-row { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--hbdc-text); }
.hbdc-up-row .hbdc-up-pct { margin-left: auto; color: var(--hbdc-cyan); font-variant-numeric: tabular-nums; }
.hbdc-up-name { display: block; margin-top: 2px; color: var(--hbdc-mute); font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbdc-up-bar { position: relative; margin-top: 9px; height: 6px; border-radius: 6px; overflow: hidden; background: rgba(143, 164, 188, 0.16); }
.hbdc-up-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 6px; background: linear-gradient(90deg, #22d3ee, #8BCBFF); transition: width .2s ease; }
/* the AI read has no percentage to report, so it is a travelling sweep */
.hbdc-up.is-reading .hbdc-up-bar i {
    width: 40% !important; background: linear-gradient(90deg, transparent, #a56bff, #22d3ee, transparent);
    animation: hbdcSweep 1.25s ease-in-out infinite;
}
.hbdc-up.is-done { border-color: rgba(62, 233, 140, 0.4); }
.hbdc-up.is-done .hbdc-up-bar i { width: 100% !important; background: linear-gradient(90deg, #22d3ee, #3ee98c); }
.hbdc-up.is-err { border-color: rgba(255, 138, 138, 0.45); }
.hbdc-up.is-err .hbdc-up-row { color: var(--hbdc-red); }
.hbdc-up.is-dupe { border-color: rgba(255, 216, 148, 0.45); }
.hbdc-up.is-dupe .hbdc-up-row { color: var(--hbdc-amber); }
.hbdc-up-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
@keyframes hbdcSweep { 0% { left: -40%; } 100% { left: 100%; } }
.hbdc-spin, .hbdc-spin-sm {
    display: inline-block; flex: 0 0 auto; width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid rgba(34, 211, 238, 0.25); border-top-color: #22d3ee;
    animation: hbdcSpin .8s linear infinite; vertical-align: -3px;
}
.hbdc-spin-sm { width: 13px; height: 13px; }
@keyframes hbdcSpin { to { transform: rotate(360deg); } }

/* ---------------- drop zone + footer ---------------- */
.hbdc-drop {
    display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 16px 18px;
    border-radius: 16px; cursor: pointer; border: 1.5px dashed rgba(34, 211, 238, 0.40);
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.06), rgba(34, 211, 238, 0.02));
    transition: border-color .2s ease, background .2s ease;
}
.hbdc-drop:hover, .hbdc-drop.is-drag { border-color: var(--hbdc-cyan); background: rgba(34, 211, 238, 0.10); }
.hbdc-drop:focus-visible { outline: 2px solid #8BCBFF; outline-offset: 3px; }
.hbdc-drop > i { font-size: 22px; color: var(--hbdc-cyan); }
.hbdc-drop b { display: block; font-size: 14px; font-weight: 800; color: var(--hbdc-text); }
.hbdc-drop span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--hbdc-mute); line-height: 1.45; }
.hbdc-drop .hbdc-up { margin-top: 10px; }
.hbdc-foot {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
    margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(143, 164, 188, 0.18);
    color: var(--hbdc-mute); font-size: 12.5px;
}
.hbdc-foot b { color: var(--hbdc-text); font-weight: 700; }
.hbdc-foot .hbdc-vis { display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.hbdc-others { margin-top: 6px; display: flex; flex-direction: column; gap: 6px; }
.hbdc-other {
    display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px;
    border: 1px solid rgba(143, 164, 188, 0.18); background: rgba(8, 22, 40, 0.55); font-size: 13px; color: #cbd5e1;
}
.hbdc-other i { color: var(--hbdc-mute); }
.hbdc-other span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbdc-other em { font-style: normal; color: var(--hbdc-mute); font-size: 12px; }
.hbdc-note { margin: 10px 2px 0; color: var(--hbdc-dim); font-size: 12px; line-height: 1.5; }
.hbdc-load { display: flex; align-items: center; gap: 10px; padding: 26px 4px; color: var(--hbdc-mute); font-size: 14px; }
.hbdc-skel { height: 74px; border-radius: 16px; margin-bottom: 10px; background: linear-gradient(90deg, rgba(98, 183, 242, .06), rgba(98, 183, 242, .13), rgba(98, 183, 242, .06)); background-size: 200% 100%; animation: hbdcShimmer 1.3s linear infinite; }
@keyframes hbdcShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.hbdc-empty { padding: 16px; border-radius: 14px; border: 1px dashed rgba(143, 164, 188, .3); color: var(--hbdc-mute); font-size: 13.5px; line-height: 1.5; }

/* ---------------- the Documents stage section ---------------- */
.hbdc-sec {
    margin: 0 0 14px !important; padding: 18px 18px 16px !important; border-radius: 20px !important;
    border: 1px solid rgba(34, 211, 238, 0.30) !important;
    background:
        radial-gradient(70% 50% at 100% 0%, rgba(34, 211, 238, 0.12), transparent 70%),
        linear-gradient(180deg, rgba(11, 31, 56, 0.92), rgba(6, 18, 34, 0.96)) !important;
    box-shadow: inset 0 1px 0 rgba(191, 229, 255, 0.16), 0 14px 34px -18px rgba(34, 211, 238, 0.45) !important;
}
.hbdc[data-mode="inline"] .hbdc-hic { width: 44px; height: 44px; font-size: 18px; border-radius: 13px; }
.hbdc[data-mode="inline"] .hbdc-ht h3 { font-size: 18px; }

/* ---------------- phones: a full-height sheet ---------------- */
@media (max-width: 640px) {
    .hbdc-modal { padding: 0; align-items: flex-end; }
    .hbdc-sheet {
        width: 100%; max-height: 94vh; max-height: 94dvh; border-radius: 22px 22px 0 0;
        transform: translateY(40px);
    }
    .hbdc-scroll { padding: 0 16px 18px; }
    .hbdc-head { padding: 22px 54px 12px 0; gap: 12px; }
    .hbdc-hic { width: 44px; height: 44px; font-size: 18px; }
    .hbdc-ht h3 { font-size: 18px; }
    .hbdc-item { flex-wrap: wrap; padding: 13px; }
    .hbdc-iact { flex-direction: row; width: 100%; padding-left: 55px; justify-content: flex-start; }
    .hbdc-iact .hbdc-btn { flex: 1 1 auto; }
    .hbdc-prog { gap: 13px; padding: 12px 13px; }
    .hbdc-ring { width: 54px; height: 54px; }
    .hbdc-sec { padding: 15px 13px 13px !important; }
}
@media (prefers-reduced-motion: reduce) {
    .hbdc-modal, .hbdc-sheet, .hbdc-item, .hbdc-bar i, .hbdc-up-bar i { transition: none; }
    .hbdc-up.is-reading .hbdc-up-bar i, .hbdc-spin, .hbdc-spin-sm, .hbdc-skel { animation: none; }
}

/* ---------------- the "Your Next Action" card, redesigned ----------------
   Scoped exactly like the card's own rules in inc/footer.php (#tempTimelineEmptyState
   .tna-…), so these win by order rather than by !important. */
#tempTimelineEmptyState .tna-hrow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
/* the display values below would otherwise beat the [hidden] attribute */
#tempTimelineEmptyState .tna-role[hidden],
#tempTimelineEmptyState .tna-prog[hidden],
#tempTimelineEmptyState .tna-sub[hidden] { display: none; }
#tempTimelineEmptyState .tna-role {
    display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 20px;
    font-size: 11.5px; font-weight: 800; letter-spacing: .05em; color: #d7f8ff;
    background: rgba(34, 211, 238, 0.12); border: 1px solid rgba(34, 211, 238, 0.38);
}
#tempTimelineEmptyState .tna-role i { font-size: 10px; color: #22d3ee; }
#tempTimelineEmptyState .tna-prog { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
#tempTimelineEmptyState .tna-prog .tna-pbar { flex: 1 1 auto; max-width: 220px; height: 6px; border-radius: 6px; overflow: hidden; background: rgba(143, 164, 188, 0.18); }
#tempTimelineEmptyState .tna-prog .tna-pbar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #22d3ee, #3ee98c); transition: width .5s ease; }
#tempTimelineEmptyState .tna-prog span { color: #8FA4BC; font-size: 13px; }
#tempTimelineEmptyState .tna-prog span b { color: #F4F7FA; }
#tempTimelineEmptyState .tna-acts { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
#tempTimelineEmptyState .tna-sub {
    display: inline-flex; align-items: center; gap: 7px; padding: 6px 2px; border: none; background: none; cursor: pointer;
    color: #8BCBFF; font-family: inherit; font-size: 14px; font-weight: 700;
}
#tempTimelineEmptyState .tna-sub:hover { color: #fff; }
#tempTimelineEmptyState .tna-sub:focus-visible { outline: 2px solid #8BCBFF; outline-offset: 3px; border-radius: 6px; }
/* a document action: the card takes on the Documents planet's cyan beside the gold */
#tempTimelineEmptyState .tna.tna-doc {
    background:
        radial-gradient(110% 150% at 0% 0%, rgba(246, 184, 63, .12) 0%, rgba(246, 184, 63, 0) 58%),
        radial-gradient(90% 120% at 100% 100%, rgba(34, 211, 238, .10) 0%, rgba(34, 211, 238, 0) 60%),
        linear-gradient(160deg, rgba(19, 26, 43, .97), rgba(11, 17, 30, .97));
}
#tempTimelineEmptyState .tna.tna-doc .tna-ic { background: linear-gradient(145deg, #F8E4AB 0%, #F4D995 45%, #DDB760 100%); }
@media (max-width: 559px) {
    #tempTimelineEmptyState .tna-acts { flex-direction: column; align-items: stretch; }
    #tempTimelineEmptyState .tna-sub { justify-content: center; }
    /* the bar gets its own line under the words instead of a sliver beside them */
    #tempTimelineEmptyState .tna-prog { flex-wrap: wrap; gap: 6px; }
    #tempTimelineEmptyState .tna-prog .tna-pbar { order: 2; flex-basis: 100%; max-width: none; }
}
