/* Awali Lab — official AWALI brand system, no build step or external CDN. */

@font-face {
    font-family: "Instrument Sans Variable";
    font-style: normal;
    font-display: swap;
    font-weight: 400 700;
    src: url("../fonts/InstrumentSans-Variable.woff2") format("woff2-variations");
}

:root {
    --plum-950: #250f38;
    --plum-900: #300048;
    --plum-700: #5f4677;
    --plum-500: #7d6c95;
    --ivory-50: #fbf8f4;
    --ivory-100: #f5efe8;
    --warm-gray-200: #ded6cf;
    --warm-gray-300: #cfc5bd;
    --warm-gray-500: #6f6862;
    --warm-gray-700: #625b57;
    --orange-100: #f4dfd3;
    --orange-500: #e07648;
    --orange-600: #c85f35;
    --orange-700: #b5522a;
    --orange-800: #9e4520;
    --insight-teal: #58aeb0;
    --insight-navy: #10252f;

    --bg: var(--ivory-50);
    --bg-raised: #ffffff;
    --bg-inset: var(--ivory-100);
    --border: var(--warm-gray-200);
    --text: var(--plum-950);
    --text-dim: var(--warm-gray-700);
    --accent: var(--orange-700);
    --accent-hover: var(--orange-800);
    --accent-bright: var(--orange-500);
    --accent-soft: var(--orange-100);
    --accent-border: #b5522a55;
    --green: #28745f;
    --red: #a83232;
    --yellow: #946d1e;
    --blue: #397f88;
    --green-soft: #28745f18;
    --radius: 2px;
    --font-sans: "Instrument Sans Variable", "Instrument Sans", system-ui, sans-serif;
    --shadow-subtle: 0 14px 32px rgba(37, 15, 56, 0.055);
    font-size: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

::selection { color: var(--plum-950); background: var(--orange-100); }
a { color: inherit; }
button,input,select,textarea { font-family: inherit; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.86em; background: var(--bg-inset); padding: 0.1em 0.35em; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---- Chrome ---- */

.topbar {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 5.25rem; padding: 1.1rem clamp(1.25rem, 0.8rem + 2.2vw, 3rem);
    border-bottom: 1px solid rgba(251, 248, 244, 0.08);
    background: rgba(37, 15, 56, 0.88);
    backdrop-filter: blur(14px);
    color: var(--ivory-50);
    position: sticky; top: 0; z-index: 10;
}
.impersonation-banner {
    display: flex; align-items: center; gap: 1rem; padding: 0.55rem 1.4rem;
    background: var(--insight-navy); border-bottom: 2px solid var(--insight-teal); color: var(--ivory-50);
    font-size: 0.76rem; position: sticky; top: 0; z-index: 12;
}
.impersonation-banner.mode-assist { background: var(--plum-900); border-bottom-color: var(--orange-500); color: var(--ivory-50); }
.impersonation-banner > div { flex: 1 1 auto; }
.impersonation-banner strong { text-transform: uppercase; letter-spacing: 0.07em; margin-right: 0.6rem; }
.impersonation-banner span { color: inherit; opacity: 0.82; }
.impersonation-expiry { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; }
.impersonation-banner .btn-ghost { color: var(--ivory-50); border-color: rgba(251, 248, 244, 0.4); }
.impersonation-banner .btn-ghost:hover { color: var(--ivory-50); border-color: var(--ivory-50); background: rgba(251, 248, 244, 0.08); }
body:has(.impersonation-banner) .topbar { top: 2.9rem; }

.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--ivory-50); text-decoration: none; font-weight: 600; }
.brand-mark {
    display: block; width: 2.625rem; height: 2rem; object-fit: contain;
}
.brand-word { font-size: 1.15rem; letter-spacing: 0.14em; font-weight: 700; }
.brand-sub { color: var(--warm-gray-300); border-left: 1px solid rgba(251, 248, 244, 0.25); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.18em; padding-left: 0.75rem; }

.page { max-width: 76rem; margin: 0 auto; padding: clamp(2rem, 1.5rem + 2vw, 3.5rem) clamp(1.25rem, 0.8rem + 2.2vw, 3rem) 5rem; }
.page-title { font-size: clamp(1.65rem, 1.45rem + 0.8vw, 2.15rem); line-height: 1.15; letter-spacing: -0.025em; margin-bottom: 0.3rem; }
.page-sub { color: var(--text-dim); margin-bottom: 1.6rem; max-width: 46rem; }
.display-title { font-family: var(--font-sans); font-size: clamp(2.5rem, 4.8vw, 4.45rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.025em; margin-bottom: 0.8rem; }
.eyebrow { color: var(--orange-800); font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.55rem; }
.back-link { display: inline-block; color: var(--text-dim); text-decoration: none; font-size: 0.86rem; margin-bottom: 1rem; }
.back-link:hover { color: var(--accent-hover); }

.panel { background: var(--bg-raised); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-subtle); }

/* ---- Notices ---- */

.notice { border-radius: var(--radius); padding: 0.85rem 1.1rem; margin: 0 0 1.2rem; border: 1px solid; }
.notice ul { margin: 0.4rem 0 0 1.2rem; }
.notice-warn { border-color: #b9974c; background: #fff8df; color: #735517; }
.notice-error { border-color: #cf8b8b; background: #fff1f1; color: #842727; }
.notice-success { border-color: #7cae9d; background: #edf7f3; color: #205947; }

/* ---- Portal (login / dashboard / downloads) ---- */

.topbar-right { display: flex; align-items: center; gap: clamp(0.75rem, 0.4rem + 0.8vw, 1.4rem); }
.topbar-user { color: var(--warm-gray-300); font-size: 0.86rem; }
.topbar-link { color: rgba(251, 248, 244, 0.8); font-size: 0.88rem; font-weight: 500; text-decoration: none; }
.topbar-link:hover { color: var(--ivory-50); }
.case-context { color: var(--warm-gray-300); font-size: 0.8rem; }
.timer { color: var(--orange-500); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8rem; font-weight: 700; }
.topbar .btn-ghost { color: var(--ivory-50); border-color: rgba(251, 248, 244, 0.35); }
.topbar .btn-ghost:hover { color: var(--ivory-50); border-color: var(--ivory-50); background: rgba(251, 248, 244, 0.08); }
.mobile-menu-toggle { display: none; min-width: 2.75rem; min-height: 2.75rem; align-items: center; justify-content: center; color: var(--ivory-50); background: transparent; border: 1px solid rgba(251, 248, 244, 0.35); border-radius: 2px; cursor: pointer; }
.mobile-menu { position: fixed; inset: 5.25rem 0 0; z-index: 9; overflow-y: auto; padding: 1rem clamp(1.25rem, 0.8rem + 2.2vw, 3rem) 1.4rem; background: var(--plum-900); border-bottom: 1px solid rgba(251, 248, 244, 0.12); color: var(--ivory-50); }
.mobile-menu[hidden] { display: none; }
.mobile-menu > a { display: block; padding: 0.9rem 0; border-bottom: 1px solid rgba(251, 248, 244, 0.12); color: var(--ivory-50); font-size: 1.05rem; font-weight: 600; text-decoration: none; }
.mobile-menu-context { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; padding-bottom: 0.8rem; border-bottom: 1px solid rgba(251, 248, 244, 0.12); }
.mobile-menu-context .case-context { display: inline; }
.mobile-menu-account { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; color: var(--warm-gray-300); }
.mobile-menu .btn-ghost { color: var(--ivory-50); border-color: rgba(251, 248, 244, 0.35); }
body.menu-open { overflow: hidden; }

.login-wrap { display: flex; justify-content: center; padding-top: clamp(2rem, 4vh, 4rem); }
.login-card { width: 100%; max-width: 27rem; padding: 2.4rem 2.4rem 2.2rem; border-top: 4px solid var(--orange-600); text-align: left; }
.login-brand { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 2.2rem; }
.login-brand img { display: block; width: 2.625rem; height: 2rem; object-fit: contain; }
.login-brand span { color: var(--plum-950); font-size: 1.12rem; font-weight: 700; letter-spacing: 0.14em; }
.login-brand small { color: var(--warm-gray-500); border-left: 1px solid var(--warm-gray-300); padding-left: 0.7rem; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.16em; }
.login-form { display: flex; flex-direction: column; gap: 0.9rem; text-align: left; margin-top: 1.2rem; }
.btn-block { width: 100%; }

.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.dash-card {
    display: block; padding: 1.2rem 1.3rem; color: var(--text); text-decoration: none;
    transition: border-color 120ms ease, transform 120ms ease;
}
a.dash-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.dash-card-title { font-weight: 650; font-size: 1.05rem; margin-bottom: 0.35rem; }
.dash-card p { color: var(--text-dim); font-size: 0.9rem; }
.dash-card-cta { display: inline-block; margin-top: 0.7rem; color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.dash-systems { margin: 0.5rem 0 0 1.2rem; font-size: 0.9rem; }
.dash-systems a { color: var(--accent); }
.dash-note { margin-top: 0.7rem; font-size: 0.8rem !important; font-style: italic; }

.section-title { font-size: 1.05rem; margin: 1.6rem 0 0.7rem; }
.download-list { display: flex; flex-direction: column; gap: 0.6rem; }
.download-row { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 1.1rem; }
.download-meta { flex: 1 1 auto; min-width: 0; }
.download-name { font-weight: 600; }
.download-file { color: var(--text-dim); font-size: 0.82rem; }
.download-missing { color: var(--yellow); font-size: 0.85rem; }

/* ---- Roster ---- */

.call-setup { display: flex; gap: 1.4rem; padding: 1rem 1.2rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field label { font-size: 0.8rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; }

input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="date"], input[type="datetime-local"], select, textarea {
    background: #fff; color: var(--text);
    border: 1px solid var(--warm-gray-300); border-radius: 2px;
    padding: 0.67rem 0.78rem; font: inherit;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="number"]:focus, input[type="date"]:focus, input[type="datetime-local"]:focus, select:focus, textarea:focus { outline: 3px solid var(--accent-soft); outline-offset: 0; border-color: var(--accent); }

.roster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; }

.persona-card {
    display: flex; align-items: center; gap: 0.9rem;
    background: var(--bg-raised); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1rem 1.1rem;
    box-shadow: var(--shadow-subtle);
    transition: border-color 180ms ease, transform 180ms cubic-bezier(.22, 1, .36, 1);
}
.persona-card:hover { border-color: var(--accent); transform: translateY(-1px); }

.persona-avatar {
    flex: 0 0 auto;
    width: 2.6rem; height: 2.6rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent-soft); color: var(--accent);
    font-weight: 700; font-size: 1.1rem;
    border: 1px solid var(--accent);
}
.persona-avatar-lg { width: 3.2rem; height: 3.2rem; font-size: 1.35rem; }

.persona-meta { flex: 1 1 auto; min-width: 0; }
.persona-name { font-weight: 650; }
.persona-title { color: var(--text); font-size: 0.9rem; }
.persona-dept { color: var(--text-dim); font-size: 0.8rem; }

/* ---- Buttons ---- */

.btn {
    font: inherit; font-weight: 600; cursor: pointer;
    border-radius: 2px; border: 1px solid transparent;
    padding: 0.65rem 1.05rem; text-decoration: none; display: inline-block;
    white-space: nowrap; transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms cubic-bezier(.22, 1, .36, 1);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-danger { background: transparent; color: var(--red); border-color: var(--red); }
.btn-danger:hover { background: #a8323214; }
.btn-ghost { background: transparent; color: var(--text-dim); border-color: var(--border); }
.btn-ghost:hover { color: var(--plum-950); border-color: var(--plum-500); background: #fff; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-large { padding: 0.75rem 1.15rem; }
.btn.is-disabled { opacity: 0.5; cursor: default; text-align: center; }
.hidden { display: none !important; }
.inline-form { display: inline; }

/* ---- Awali Lab LMS ---- */

.lobby-head {
    display: grid; grid-template-columns: minmax(0, 1fr) 13rem; gap: 2rem;
    align-items: end; padding: clamp(2.5rem, 2rem + 2vw, 4rem); border-bottom: 0;
    margin-bottom: 1.8rem; background: var(--plum-950); color: var(--ivory-50);
}
.lobby-head .display-title { max-width: 13ch; color: var(--ivory-50); }
.lobby-head .eyebrow { color: var(--orange-500); }
.lobby-head .page-sub { color: var(--warm-gray-300); margin-bottom: 0; }
.lobby-stat { padding: 1.1rem; display: grid; gap: 0.2rem; }
.lobby-stat.panel { background: rgba(251, 248, 244, 0.06); border-color: rgba(251, 248, 244, 0.2); box-shadow: none; }
.lobby-stat strong { font-family: var(--font-sans); font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--orange-500); }
.lobby-stat span:last-child { color: var(--warm-gray-300); font-size: 0.78rem; }
.stat-label { color: var(--warm-gray-300); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.67rem; }
.engagement-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 1.1rem; }
.engagement-card { padding: 1.25rem; display: flex; flex-direction: column; min-height: 25rem; }
.engagement-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.status-badge {
    display: inline-flex; border-radius: 2px; padding: 0.28rem 0.55rem;
    font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.08em;
    background: var(--accent-soft); color: var(--orange-800); border: 1px solid var(--accent-border);
}
.status-ready,.status-active { background: var(--green-soft); color: var(--green); border-color: #28745f55; }
.status-provisioning,.status-accepted { color: var(--blue); border-color: #397f8855; background: #397f8815; }
.case-code { color: var(--text-dim); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.66rem; }
.company-monogram {
    display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1rem;
    border: 1px solid var(--accent-border); background: var(--accent-soft); border-radius: 2px;
    font-family: var(--font-sans); font-size: 1.35rem; font-weight: 700; color: var(--orange-800);
}
.engagement-card h2 { font-family: var(--font-sans); font-size: 1.65rem; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 0.35rem; }
.engagement-card > p { color: var(--text-dim); font-size: 0.9rem; flex: 1 1 auto; }
.case-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.45rem; margin: 1.1rem 0; }
.case-facts span { background: var(--bg-inset); border: 1px solid var(--border); border-radius: 2px; padding: 0.55rem; color: var(--text-dim); font-size: 0.69rem; text-align: center; }
.case-facts b { display: block; color: var(--text); font-size: 1rem; }
.engagement-meta { display: flex; justify-content: space-between; gap: 0.7rem; color: var(--text-dim); font-size: 0.72rem; padding-top: 0.8rem; border-top: 1px solid var(--border); margin-bottom: 0.9rem; }
.lobby-note { color: var(--text-dim); font-size: 0.8rem; text-align: center; margin-top: 1.2rem; }
.empty-state { max-width: 37rem; margin: 3rem auto; text-align: center; padding: 2.5rem; }
.empty-state h2 { font-family: var(--font-sans); font-size: 1.7rem; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 0.4rem; }
.empty-state p { color: var(--text-dim); }
.empty-mark { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem; }
.empty-mark img { display: block; width: 2.625rem; height: 2rem; object-fit: contain; }

.brief-shell { overflow: hidden; }
.brief-mast {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem;
    align-items: end; padding: 2rem; border-bottom: 1px solid var(--border);
    background: var(--plum-950); color: var(--ivory-50);
}
.brief-mast .display-title { color: var(--ivory-50); }
.brief-mast .eyebrow { color: var(--orange-500); }
.brief-headline { color: var(--warm-gray-300); font-family: var(--font-sans); font-size: 1.15rem; max-width: 42rem; }
.brief-identity { display: grid; gap: 0.25rem; color: var(--warm-gray-300); font-size: 0.78rem; text-align: right; }
.brief-grid { display: grid; grid-template-columns: 1.35fr 1fr; }
.brief-grid > section,.brief-grid > aside { padding: 0.5rem 2rem 1.5rem; }
.brief-grid > aside { border-left: 1px solid var(--border); background: var(--bg-inset); }
.brief-section { padding-top: 1.4rem; }
.brief-section p { color: var(--text-dim); }
.brief-section h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; margin: 0.8rem 0 0.2rem; }
.clean-list,.compact-list,.check-list { list-style: none; margin: 0.45rem 0; }
.clean-list li { color: var(--text-dim); margin: 0.45rem 0; padding-left: 1rem; position: relative; }
.clean-list li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.compact-list li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--border); padding: 0.45rem 0; }
.compact-list li span { color: var(--text-dim); font-size: 0.78rem; }
.check-list li { padding: 0.35rem 0 0.35rem 1.4rem; position: relative; }
.check-list li::before { content: "□"; position: absolute; left: 0; color: var(--accent); }
.brief-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 2rem; border-top: 1px solid var(--border); }
.brief-actions p { color: var(--text-dim); font-size: 0.76rem; }
.brief-actions > div { display: flex; gap: 0.6rem; align-items: center; }

.case-room-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding-bottom: 1rem; }
.workspace-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 0.7rem 1rem; padding: 0.7rem 1rem; margin-bottom: 1rem; color: var(--text-dim); font-size: 0.75rem; }
.workspace-strip strong { color: var(--text); }
.status-dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.dev-badge { margin-left: auto; color: var(--blue); border: 1px solid #397f8855; border-radius: 2px; padding: 0.2rem 0.5rem; }
.access-badge { color: var(--orange-800); border: 1px solid var(--accent-border); border-radius: 2px; padding: 0.2rem 0.5rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.case-panel { padding: 1.1rem; }
.case-panel-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--border); }
.case-panel-head h2 { font-family: var(--font-sans); font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.02em; }
.case-panel-head > span { color: var(--text-dim); font-size: 0.72rem; }
.people-list,.source-list { display: flex; flex-direction: column; }
.person-row,.source-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.person-row:last-child,.source-row:last-child { border-bottom: 0; }
.person-row .persona-meta { display: flex; flex-direction: column; }
.person-row .persona-meta span,.source-row div span { color: var(--text-dim); font-size: 0.75rem; display: block; }
.source-row > div { flex: 1 1 auto; }
.source-icon { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 2px; background: var(--bg-inset); border: 1px solid var(--border); color: var(--blue); font: 700 0.75rem ui-monospace, monospace; }
.source-state { color: var(--green); font-size: 0.72rem; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; padding: 1rem 0; }
.metric-row div { background: var(--bg-inset); border: 1px solid var(--border); border-radius: 2px; padding: 0.8rem; }
.metric-row strong { display: block; font-family: var(--font-sans); font-size: 1.55rem; font-weight: 700; color: var(--orange-800); }
.metric-row span { color: var(--text-dim); font-size: 0.7rem; }
.activity-steps { list-style: none; margin: 0.6rem 0 0; }
.activity-steps li { display: flex; gap: 0.7rem; padding: 0.55rem 0; color: var(--text-dim); }
.activity-steps li > span { display: grid; place-items: center; flex: 0 0 auto; width: 1.6rem; height: 1.6rem; border: 1px solid var(--border); border-radius: 50%; font-size: 0.7rem; }
.activity-steps li div { display: flex; flex: 1 1 auto; align-items: baseline; justify-content: space-between; gap: 1rem; }
.activity-steps li strong { font-size: 0.87rem; }
.activity-steps li small { font-size: 0.7rem; }
.activity-steps li small a { color: var(--accent); }
.activity-steps li.done > span { background: var(--green-soft); border-color: var(--green); color: var(--green); }
.activity-steps li.done strong,.activity-steps li.current strong { color: var(--text); }
.activity-steps li.current > span { border-color: var(--accent); color: var(--accent); }

.runtime-preview { max-width: 54rem; margin: 6vh auto; }
.runtime-contract { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); overflow: hidden; margin: 1.4rem 0; }
.runtime-contract div { background: var(--bg-raised); padding: 1rem; }
.runtime-contract span { color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.07em; font-size: 0.65rem; display: block; margin-bottom: 0.25rem; }
.runtime-contract strong { font-size: 0.9rem; }
.text-action { border: 0; background: transparent; color: var(--accent); padding: 0; cursor: pointer; font: 600 0.72rem inherit; }
.text-action:hover { text-decoration: underline; }
.text-action.danger { color: var(--red); margin-top: 0.45rem; }
.muted { color: var(--text-dim); font-size: 0.78rem; }

.submission-head,.instructor-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; padding: 1rem 0 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 1rem; }
.submission-seal { color: var(--green); border: 2px solid var(--green); border-radius: 50%; width: 6rem; height: 6rem; display: grid; place-items: center; transform: rotate(-7deg); text-transform: uppercase; font: 700 0.68rem ui-monospace, monospace; letter-spacing: 0.08em; }
.submission-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.submission-panel { padding: 1.2rem; }
.submission-note { color: var(--text-dim); font-size: 0.82rem; }
.summary-list { margin-top: 0.45rem; }
.summary-list div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--border); padding: 0.55rem 0; }
.summary-list dt { color: var(--text-dim); font-size: 0.78rem; }
.summary-list dd { font: 0.76rem ui-monospace, SFMono-Regular, Menlo, monospace; }

.session-card { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 2rem; padding: 1rem 1.2rem; margin-bottom: 0.75rem; color: var(--text); text-decoration: none; transition: border-color 120ms ease, transform 120ms ease; }
.session-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.session-card h2 { font-family: var(--font-sans); font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.02em; margin: 0.45rem 0 0.15rem; }
.session-card p { color: var(--text-dim); font-size: 0.8rem; }
.session-card-stats { display: flex; gap: 1.4rem; color: var(--text-dim); font-size: 0.72rem; }
.session-card-stats span { text-align: center; }
.session-card-stats strong { display: block; color: var(--text); font-family: var(--font-sans); font-size: 1.2rem; font-weight: 700; }
.session-arrow { color: var(--accent); font-size: 1.4rem; }
.live-summary { display: flex; gap: 1px; background: var(--border); overflow: hidden; }
.live-summary div { background: var(--bg-raised); min-width: 6rem; padding: 0.8rem; text-align: center; }
.live-summary strong { display: block; color: var(--orange-800); font-family: var(--font-sans); font-size: 1.5rem; font-weight: 700; }
.live-summary span { color: var(--text-dim); font-size: 0.68rem; }
.roster-table-wrap { overflow-x: auto; }
.roster-table { width: 100%; border-collapse: collapse; min-width: 62rem; }
.roster-table th { color: var(--text-dim); font: 700 0.62rem ui-monospace, monospace; text-transform: uppercase; letter-spacing: 0.08em; text-align: left; border-bottom: 1px solid var(--border); padding: 0.7rem; }
.roster-table td { vertical-align: top; border-bottom: 1px solid var(--border); padding: 0.8rem 0.7rem; font-size: 0.82rem; }
.roster-table tr:last-child td { border-bottom: 0; }
.roster-table td > strong,.roster-table td > span { display: block; }
.roster-table td > span:not(.status-badge) { color: var(--text-dim); font-size: 0.72rem; }
.observe-form { display: flex; align-items: center; gap: 0.4rem; }
.observe-form input { min-width: 10rem; width: 100%; font-size: 0.74rem; padding: 0.42rem 0.55rem; }
.observe-form > div { display: flex; gap: 0.3rem; }
.observe-form .btn { font-size: 0.73rem; padding: 0.4rem 0.55rem; }

.instructor-actions { display: flex; justify-content: flex-end; gap: 0.6rem; margin: 1rem 0; }
.session-start { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0.9rem 1rem; margin-bottom: 1rem; border-color: var(--accent-border); }
.session-start > div { display: flex; flex-direction: column; }
.session-start span { color: var(--text-dim); font-size: 0.76rem; }
.cohort-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr); gap: 1rem; align-items: start; }
.cohort-card { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.15rem; margin-bottom: 0.7rem; color: var(--text); text-decoration: none; }
.cohort-card:hover { border-color: var(--accent); }
.cohort-card h2 { font-family: var(--font-sans); line-height: 1.2; letter-spacing: -0.02em; margin-top: 0.45rem; }
.cohort-card p,.cohort-card > span { color: var(--text-dim); font-size: 0.78rem; }
.cohort-create,.roster-panel,.cohort-sessions { padding: 1.1rem; }
.cohort-create h2,.roster-panel h2,.cohort-sessions h2,.builder-panel h2 { font-family: var(--font-sans); font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 0.7rem; }
.stack-form { display: grid; gap: 0.75rem; }
.stack-form label { display: grid; gap: 0.3rem; }
.stack-form label > span { color: var(--text-dim); font-size: 0.72rem; }
.stack-form label > small { color: var(--text-dim); font-size: 0.65rem; }
.form-pair,.form-triple { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
.form-triple { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.member-list { display: grid; }
.member-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.member-row:last-child { border-bottom: 0; }
.member-row > div:nth-child(2) { display: flex; flex: 1 1 auto; flex-direction: column; }
.member-row > div:nth-child(2) span { color: var(--text-dim); font-size: 0.72rem; }
.cohort-sessions > a { display: flex; justify-content: space-between; align-items: center; gap: 0.7rem; padding: 0.65rem 0; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; }
.cohort-sessions > a > div { display: flex; flex-direction: column; }
.cohort-sessions > a > div span { color: var(--text-dim); font-size: 0.68rem; }
.session-builder { display: grid; gap: 1rem; }
.builder-panel { padding: 1.2rem; }
.mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; }
.mode-grid label { display: flex; gap: 0.65rem; padding: 0.85rem; border: 1px solid var(--border); border-radius: 2px; background: var(--bg-inset); cursor: pointer; }
.mode-grid label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.mode-grid input { margin-top: 0.25rem; accent-color: var(--accent); }
.mode-grid label > span { display: flex; flex-direction: column; }
.mode-grid small { color: var(--text-dim); margin-top: 0.25rem; }
.lesson-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); gap: 0.65rem; margin-top: 0.8rem; }
.lesson-option { display: flex; align-items: center; gap: 0.7rem; padding: 0.75rem; background: var(--bg-inset); border: 1px solid var(--border); border-radius: 2px; cursor: pointer; }
.lesson-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.lesson-option input { accent-color: var(--accent); }
.lesson-option > span:last-child { display: flex; flex-direction: column; }
.lesson-option small { color: var(--text-dim); font-size: 0.68rem; }
.builder-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.builder-actions p { color: var(--text-dim); font-size: 0.76rem; }
.choice-pool { grid-column: 1 / -1; }
.choice-pool-head { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 0.8rem; }
.choice-pool-head h2 { font-family: var(--font-sans); font-size: 1.7rem; line-height: 1.2; letter-spacing: -0.02em; }
.choice-pool-head p,.choice-pool-head > span { color: var(--text-dim); font-size: 0.76rem; }
.company-choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0.8rem; }
.company-choice-card { display: flex; flex-direction: column; gap: 0.7rem; padding: 1rem; }
.company-choice-card h3 { font-family: var(--font-sans); font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.02em; }
.company-choice-card p { color: var(--text-dim); font-size: 0.76rem; }
.choice-card-meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 0.65rem; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 0.7rem; }
.choice-card-meta strong { color: var(--green); }

.catalog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; padding: 1rem 0 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 1rem; }
.catalog-head > div:first-child { max-width: 48rem; }
.catalog-head h1 { font-family: var(--font-sans); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -0.025em; margin: 0.2rem 0 0.5rem; }
.catalog-head > div:first-child > p:last-child { color: var(--text-dim); }
.catalog-summary { display: flex; width: 100%; gap: 1px; background: var(--border); overflow: hidden; flex: 0 1 auto; }
.catalog-summary div { min-width: 0; flex: 1 1 0; padding: 0.8rem; background: var(--bg-raised); text-align: center; }
.catalog-summary strong { display: block; color: var(--orange-800); font-family: var(--font-sans); font-size: 1.45rem; font-weight: 700; }
.catalog-summary span { color: var(--text-dim); font-size: 0.68rem; }
.catalog-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.75fr); gap: 1rem; align-items: start; }
.catalog-panel,.import-panel,.curriculum-panel,.release-panel,.release-import-panel,.lesson-publish-panel { padding: 1.15rem; }
.catalog-sidebar { display: grid; gap: 1rem; }
.company-list { display: grid; }
.company-row { display: flex; gap: 0.9rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.company-row:last-child { border-bottom: 0; }
.company-monogram { display: grid; place-items: center; flex: 0 0 auto; width: 2.6rem; height: 2.6rem; border: 1px solid var(--accent-border); border-radius: 2px; background: var(--accent-soft); color: var(--orange-800); font: 700 1rem var(--font-sans); }
.company-copy { min-width: 0; flex: 1 1 auto; }
.company-title { display: flex; justify-content: space-between; gap: 1rem; }
.company-title > span,.company-copy > p { color: var(--text-dim); font-size: 0.75rem; }
.company-copy > p { margin: 0.25rem 0 0.65rem; }
.version-list { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.version-chip { border: 1px solid var(--border); border-radius: 999px; padding: 0.22rem 0.45rem; font: 0.67rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.version-chip,.version-chip form { display: inline-flex; align-items: center; gap: 0.25rem; }
.version-chip button { border: 0; border-left: 1px solid var(--border); padding-left: 0.35rem; background: transparent; color: var(--text-dim); font: inherit; cursor: pointer; }
.version-chip button:hover { color: var(--red); }
.version-chip b { margin-left: 0.25rem; font-weight: 600; text-transform: uppercase; }
.status-published { color: var(--green); }
.status-validating { color: var(--blue); }
.status-retired { color: var(--text-dim); }
.import-panel h2,.curriculum-panel h2,.release-import-panel h2,.lesson-publish-panel h2 { font-family: var(--font-sans); font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.02em; margin: 0.2rem 0 0.45rem; }
.import-form { display: grid; gap: 0.8rem; margin: 1rem 0; }
.upload-field { display: grid; gap: 0.45rem; padding: 0.85rem; border: 1px dashed var(--warm-gray-300); border-radius: 2px; background: var(--bg-inset); font-size: 0.78rem; }
.upload-field input { padding: 0; border: 0; background: transparent; font-size: 0.75rem; }
.upload-field small { color: var(--text-dim); }
.package-contract { border-top: 1px solid var(--border); padding-top: 0.75rem; color: var(--text-dim); font-size: 0.75rem; }
.package-contract summary { cursor: pointer; color: var(--text); }
.package-contract pre { overflow-x: auto; margin-top: 0.65rem; padding: 0.7rem; background: var(--bg-inset); border: 1px solid var(--border); border-radius: 2px; font-size: 0.68rem; }
.level-list { list-style: none; margin-top: 0.55rem; }
.level-list li { display: flex; gap: 0.7rem; align-items: center; border-bottom: 1px solid var(--border); padding: 0.5rem 0; }
.level-list li:last-child { border-bottom: 0; }
.level-list li > span { display: grid; place-items: center; width: 1.55rem; height: 1.55rem; border: 1px solid var(--border); border-radius: 50%; color: var(--accent); font: 700 0.65rem ui-monospace, monospace; }
.level-list li div { display: flex; flex-direction: column; }
.level-list small,.release-row span { color: var(--text-dim); font-size: 0.65rem; }
.release-row { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.release-row:last-child { border-bottom: 0; }
.release-row > div { display: flex; flex-direction: column; }
.release-row code { color: var(--blue); font-size: 0.65rem; }
.empty-inline { padding: 2rem 0; color: var(--text-dim); text-align: center; }
.lesson-library { margin-top: 1rem; padding: 1.15rem; }
.lesson-library h2 { font-family: var(--font-sans); font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.02em; }
.lesson-library-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr)); gap: 0 1rem; }
.lesson-library-grid article { display: flex; gap: 0.75rem; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.lesson-library-grid article > div { display: flex; flex: 1 1 auto; flex-direction: column; }
.lesson-library-grid article > div span { color: var(--text-dim); font-size: 0.68rem; }

@media (max-width: 980px) {
    .desktop-nav { display: none; }
    .mobile-menu-toggle { display: inline-flex; }
}

@media (max-width: 760px) {
    .lobby-head,.brief-mast,.brief-grid { grid-template-columns: 1fr; }
    .lobby-stat { display: none; }
    .brief-identity { text-align: left; }
    .brief-grid > aside { border-left: 0; border-top: 1px solid var(--border); }
    .brief-actions,.case-room-head { align-items: stretch; flex-direction: column; }
    .brief-actions > div { flex-wrap: wrap; }
    .case-grid { grid-template-columns: 1fr; }
    .submission-grid { grid-template-columns: 1fr; }
    .session-card { grid-template-columns: 1fr auto; }
    .session-card-stats { display: none; }
    .submission-head,.instructor-head,.catalog-head { align-items: stretch; flex-direction: column; }
    .live-summary { align-self: stretch; }
    .catalog-grid { grid-template-columns: 1fr; }
    .catalog-summary { align-self: stretch; }
    .cohort-layout { grid-template-columns: 1fr; }
    .mode-grid,.form-triple { grid-template-columns: 1fr; }
    .builder-actions,.session-start,.choice-pool-head { align-items: stretch; flex-direction: column; }
    .runtime-contract { grid-template-columns: repeat(2, 1fr); }
    .case-context { display: none; }
}

@media (max-width: 520px) {
    .topbar { min-height: 4.75rem; padding-block: 0.85rem; }
    .brand-sub { display: none; }
    .mobile-menu { inset-block-start: 4.75rem; }
    .engagement-grid { grid-template-columns: 1fr; }
    .case-facts,.metric-row { grid-template-columns: 1fr; }
    .lobby-head { padding: 2rem 1.25rem; }
    .brief-mast,.brief-grid > section,.brief-grid > aside,.brief-actions { padding-left: 1.1rem; padding-right: 1.1rem; }
    .runtime-contract { grid-template-columns: 1fr; }
    .lesson-library-grid { grid-template-columns: minmax(0, 1fr); }
    .lesson-library-grid article { min-width: 0; }
    .impersonation-banner { flex-wrap: wrap; }
    .impersonation-banner > div span { display: none; }
    body:has(.impersonation-banner) .topbar { top: 4rem; }
}

/* ---- Call room ---- */

.call-room { display: flex; flex-direction: column; gap: 1rem; height: calc(100vh - 8.5rem); }

.call-header { display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 1.1rem; }
.call-header-actions { margin-left: auto; display: flex; align-items: center; gap: 0.7rem; }

.live-dot {
    width: 0.65rem; height: 0.65rem; border-radius: 50%;
    background: var(--green); box-shadow: 0 0 8px var(--green);
    animation: pulse 2s infinite;
}
.live-dot.ended { background: var(--text-dim); box-shadow: none; animation: none; }
@keyframes pulse { 50% { opacity: 0.45; } }

.transcript { flex: 1 1 auto; overflow-y: auto; padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.9rem; }
.transcript-empty { color: var(--text-dim); font-style: italic; margin: auto; max-width: 30rem; text-align: center; }

.turn { max-width: 82%; }
.turn-speaker { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); margin-bottom: 0.15rem; }
.turn-text {
    padding: 0.6rem 0.85rem; border-radius: var(--radius);
    background: var(--bg-inset); border: 1px solid var(--border);
    white-space: pre-wrap; word-wrap: break-word;
}
.turn-interviewer { align-self: flex-end; text-align: right; }
.turn-interviewer .turn-text { background: var(--accent-soft); border-color: var(--accent-border); text-align: left; }
.turn-persona { align-self: flex-start; }
.turn-text.streaming::after { content: "▌"; color: var(--accent); animation: pulse 1s infinite; }

.composer { display: flex; gap: 0.7rem; align-items: flex-end; }
.composer textarea { flex: 1 1 auto; resize: none; }
.composer-hint { min-height: 1.2rem; color: var(--red); font-size: 0.85rem; padding: 0.1rem 0.2rem; }

@media (max-width: 640px) {
    .call-room { height: auto; }
    .transcript { min-height: 50vh; }
    .turn { max-width: 100%; }
}

/* ── Voice layer ─────────────────────────────────────────────────────── */
.mic-btn {
    font-size: 1.25rem; padding: 0.55rem 0.8rem; border-radius: 999px;
    background: var(--bg-inset); border: 1px solid var(--border);
    cursor: pointer; user-select: none; -webkit-user-select: none;
    touch-action: none; align-self: flex-end;
}
.mic-btn:hover { border-color: var(--accent); }
.mic-btn.recording {
    background: #7f1d1d; border-color: var(--red);
    animation: mic-pulse 1.1s ease-in-out infinite;
}
@keyframes mic-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
    50% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
}
.voice-toggle {
    display: inline-flex; align-items: center; gap: 0.3rem;
    font-size: 0.82rem; color: var(--text-dim); cursor: pointer;
    padding: 0.3rem 0.55rem; border: 1px solid var(--border);
    border-radius: var(--radius); background: var(--bg-inset);
}
.voice-toggle input { accent-color: var(--accent); }
.voice-status { color: var(--text-dim); }

/* ── Voice mode overlay (hands-free conversation) ────────────────────── */
.voice-overlay {
    position: fixed; inset: 0; z-index: 60;
    background: rgba(37, 15, 56, 0.98); backdrop-filter: blur(8px);
    color: var(--ivory-50); display: flex; align-items: center; justify-content: center;
}
.voice-overlay-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.4rem; padding: 2rem; }
.voice-persona-name { font-size: 1.15rem; font-weight: 600; letter-spacing: 0.02em; }
.voice-state { color: var(--warm-gray-300); font-size: 0.95rem; min-height: 1.4rem; }
.voice-last-text { color: var(--warm-gray-300); font-size: 0.85rem; font-style: italic; max-width: 26rem; min-height: 1.2rem; }
.voice-overlay-actions { margin-top: 0.6rem; }
.voice-overlay .btn-ghost { color: var(--ivory-50); border-color: rgba(251, 248, 244, 0.4); }
.voice-overlay .btn-ghost:hover { color: var(--ivory-50); border-color: var(--ivory-50); background: rgba(251, 248, 244, 0.08); }

.voice-orb {
    width: 150px; height: 150px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.voice-orb-core {
    width: 110px; height: 110px; border-radius: 50%;
    background: radial-gradient(circle at 32% 30%, var(--orange-100), var(--insight-teal) 58%, var(--plum-700));
    box-shadow: 0 0 40px rgba(88, 174, 176, 0.45);
    transition: transform 0.25s ease, box-shadow 0.3s ease, background 0.4s ease;
}
/* idle-listening: slow breath */
.voice-orb.listening .voice-orb-core { animation: orb-breathe 3s ease-in-out infinite; }
@keyframes orb-breathe {
    0%, 100% { transform: scale(1); box-shadow: 0 0 34px rgba(88,174,176,0.35); }
    50% { transform: scale(1.07); box-shadow: 0 0 56px rgba(88,174,176,0.55); }
}
/* hearing you: tight fast pulse, brighter */
.voice-orb.hearing .voice-orb-core {
    background: radial-gradient(circle at 32% 30%, #a7f3d0, #059669 62%, #064e3b);
    animation: orb-hear 0.55s ease-in-out infinite;
}
@keyframes orb-hear {
    0%, 100% { transform: scale(1.02); box-shadow: 0 0 42px rgba(16,185,129,0.5); }
    50% { transform: scale(1.14); box-shadow: 0 0 70px rgba(16,185,129,0.75); }
}
/* thinking: shimmer spin */
.voice-orb.thinking .voice-orb-core,
.voice-orb.loading .voice-orb-core {
    background: conic-gradient(from 0deg, var(--plum-700), var(--insight-teal), var(--orange-500), var(--plum-700));
    animation: orb-spin 1.6s linear infinite;
    box-shadow: 0 0 46px rgba(224, 118, 72, 0.38);
}
@keyframes orb-spin { to { transform: rotate(360deg); } }
/* persona speaking: warm amber pulse */
.voice-orb.speaking .voice-orb-core {
    background: radial-gradient(circle at 32% 30%, var(--orange-100), var(--orange-500) 56%, var(--plum-700));
    animation: orb-speak 0.9s ease-in-out infinite;
}
@keyframes orb-speak {
    0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(224,118,72,0.45); }
    50% { transform: scale(1.1); box-shadow: 0 0 66px rgba(224,118,72,0.7); }
}
.voice-orb.error .voice-orb-core { background: radial-gradient(circle at 32% 30%, #fca5a5, #b91c1c 62%, #450a0a); }

/* ── Artifact handoff ────────────────────────────────────────────────── */
.attachments { padding: 0.7rem 1rem; margin-bottom: 0.8rem; }
.attachments-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); margin-bottom: 0.45rem; }
.attachments-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.attachment-chip {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.35rem 0.7rem; border-radius: 999px;
    background: var(--accent-soft); border: 1px solid var(--accent-border);
    color: var(--text); font-size: 0.85rem; text-decoration: none;
    animation: chip-in 0.35s ease;
}
.attachment-chip:hover { border-color: var(--accent); }
@keyframes chip-in { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.voice-attachments { margin-top: 0.4rem; }
.voice-attachments .attachments-list { justify-content: center; }
