:root {
    --vmr-bg: #08111f;
    --vmr-panel: #111c2d;
    --vmr-panel-alt: #0d1727;
    --vmr-line: #203148;
    --vmr-text: #ecf3ff;
    --vmr-muted: #8ca2c0;
    --vmr-accent: #17c3b2;
    --vmr-danger: #ef4444;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: "Segoe UI", "Aptos", sans-serif;
    background: radial-gradient(circle at top left, rgba(23, 195, 178, 0.12), transparent 24%), #08111f;
    color: var(--vmr-text);
}

body {
    overflow: auto;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

#blazor-error-ui {
    background: #fff4d6;
    bottom: 0;
    color: #111827;
    display: none;
    left: 0;
    padding: 0.75rem 1.25rem;
    position: fixed;
    right: 0;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.account-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 18px;
    background: #f4f7fb;
    color: #172033;
}

.account-card {
    width: min(100%, 480px);
    background: #fff;
    border: 1px solid #dce5f1;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.account-card__header {
    display: grid;
    gap: 8px;
    margin-bottom: 20px;
}

.account-card__header h1 {
    margin: 0;
    font-size: 2rem;
    line-height: 1.1;
}

.account-card__header p,
.account-card__footer {
    margin: 0;
    color: #5b687b;
    line-height: 1.5;
}

.account-card form {
    display: grid;
    gap: 14px;
}

.account-card .room-input {
    color: #172033;
    background: #fff;
    border-color: #cbd5e1;
}

.account-card__check label {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: #344256;
}

.account-card__submit {
    width: 100%;
    margin-top: 4px;
}

.account-card__footer {
    text-align: center;
}

.account-card__footer a {
    color: #0f766e;
    font-weight: 700;
}

.text-danger,
.validation-message {
    color: #b91c1c;
}

.dashboard-page {
    min-height: 100vh;
    overflow: auto;
    padding: 32px;
    background: #f4f7fb;
    color: #172033;
}

.dashboard-header {
    max-width: 1180px;
    margin: 0 auto 22px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
}

.dashboard-header h1 {
    margin: 8px 0;
    font-size: 2rem;
}

.dashboard-header p,
.dashboard-muted {
    margin: 0;
    color: #596579;
}

.dashboard-grid {
    max-width: 1180px;
    margin: 0 auto 22px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 18px;
}

.dashboard-panel,
.admin-metric {
    background: #fff;
    border: 1px solid #dce5f1;
    padding: 20px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.dashboard-panel h2 {
    margin: 0 0 16px;
    font-size: 1.1rem;
}

.dashboard-panel form {
    display: grid;
    gap: 14px;
}

.dashboard-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

.dashboard-page .room-input {
    color: #172033;
    background: #fff;
    border-color: #cbd5e1;
}

.dashboard-check {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: #344256;
}

.dashboard-check--inline {
    min-height: 48px;
}

.dashboard-details {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 10px 14px;
    margin: 0;
}

.dashboard-details dt {
    font-weight: 700;
    color: #344256;
}

.dashboard-details dd {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.dashboard-table-wrap {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
}

.dashboard-table th,
.dashboard-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e3e9f2;
    text-align: left;
}

.dashboard-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    white-space: nowrap;
}

.dashboard-link-button {
    border: 0;
    background: transparent;
    padding: 0;
    color: #0f766e;
    font-weight: 700;
    cursor: pointer;
}

.dashboard-role-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dashboard-role-form select {
    min-width: 110px;
}

.dashboard-table th {
    color: #5b687b;
    font-size: 0.84rem;
    text-transform: uppercase;
}

.admin-metric-grid {
    max-width: 1180px;
    margin: 0 auto 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.admin-metric {
    display: grid;
    gap: 8px;
}

.admin-metric span {
    color: #5b687b;
    font-size: 0.86rem;
}

.admin-metric strong {
    font-size: 2rem;
}

@media (max-width: 860px) {
    .dashboard-page {
        padding: 18px;
    }

    .dashboard-grid,
    .admin-metric-grid,
    .dashboard-form-row {
        grid-template-columns: 1fr;
    }

    .dashboard-details {
        grid-template-columns: 1fr;
    }
}

.dashboard-page {
    min-height: 100vh;
    padding: 0;
    background:
        linear-gradient(180deg, #eef4fb 0%, #f8fafc 42%, #eef3f8 100%);
    color: #111827;
}

.dashboard-shell {
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 44px;
    display: grid;
    gap: 18px;
}

.dashboard-header {
    max-width: none;
    margin: 0;
    padding: 20px 22px;
    border: 1px solid #d9e2ee;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.dashboard-header h1 {
    margin: 6px 0 6px;
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    line-height: 1.05;
    letter-spacing: 0;
    color: #0f172a;
}

.dashboard-header h1:focus,
.dashboard-header h1:focus-visible,
.meeting-join-shell__content h1:focus,
.meeting-join-shell__content h1:focus-visible,
.landing-copy h1:focus,
.landing-copy h1:focus-visible {
    outline: 0;
    border: 0;
    box-shadow: none;
}

.dashboard-header p {
    max-width: 68ch;
    color: #536174;
    line-height: 1.55;
}

.dashboard-header__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.dashboard-secondary-action,
.dashboard-table-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #0f172a;
    text-decoration: none;
    font-weight: 700;
}

.dashboard-secondary-action:hover,
.dashboard-table-action:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.dashboard-kicker {
    color: #0f766e;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dashboard-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.dashboard-stat {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    border: 1px solid #dbe4ef;
    background: #fff;
}

.dashboard-stat span {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dashboard-stat strong {
    color: #0f172a;
    font-size: 2rem;
    line-height: 1;
}

.dashboard-alert {
    padding: 12px 16px;
    border: 1px solid #b7eadf;
    background: #ecfdf5;
    color: #065f46;
    font-weight: 700;
}

.dashboard-alert--error {
    border-color: #fecaca;
    background: #fff1f2;
    color: #991b1b;
}

.dashboard-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
    gap: 18px;
}

.dashboard-grid {
    max-width: none;
    margin: 0;
}

.dashboard-panel {
    border: 1px solid #dbe4ef;
    background: #fff;
    padding: 0;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.055);
}

.dashboard-panel--primary,
.dashboard-panel--side,
.dashboard-panel {
    display: grid;
    align-content: start;
}

.dashboard-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.dashboard-panel__header h2,
.dashboard-panel h2 {
    margin: 4px 0 0;
    color: #0f172a;
    font-size: 1.05rem;
    line-height: 1.2;
}

.dashboard-panel form,
.dashboard-panel > .dashboard-table-wrap,
.dashboard-panel > .dashboard-empty,
.dashboard-panel > .dashboard-details {
    margin: 18px;
}

.dashboard-panel form {
    gap: 16px;
}

.dashboard-page .field-stack {
    gap: 7px;
}

.dashboard-page .field-stack label {
    color: #334155;
    font-size: 0.84rem;
    font-weight: 750;
}

.dashboard-page .room-input {
    min-height: 42px;
    padding: 0.68rem 0.78rem;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #0f172a;
}

.dashboard-page textarea.room-input {
    min-height: 86px;
    resize: vertical;
}

.dashboard-page .room-input:focus {
    outline: 3px solid rgba(20, 184, 166, 0.16);
    border-color: #0f766e;
}

.dashboard-page .primary-action {
    min-height: 42px;
    border: 1px solid #0f766e;
    background: #0f766e;
    color: #fff;
    box-shadow: none;
}

.dashboard-page .primary-action:hover:not(:disabled) {
    background: #115e59;
}

.dashboard-check {
    width: fit-content;
    padding: 9px 11px;
    border: 1px solid #dbe4ef;
    background: #f8fafc;
    color: #334155;
    font-weight: 700;
}

.dashboard-check input {
    accent-color: #0f766e;
}

.dashboard-details {
    grid-template-columns: 1fr;
    gap: 6px;
}

.dashboard-details dt {
    color: #64748b;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-details dd {
    color: #0f172a;
    font-weight: 650;
}

.dashboard-details--stacked {
    display: grid;
}

.dashboard-url {
    display: block;
    padding: 10px 12px;
    border: 1px solid #dbe4ef;
    background: #f8fafc;
    color: #0f5ea8;
    text-decoration: none;
    overflow-wrap: anywhere;
    font-weight: 700;
}

.dashboard-url:hover {
    text-decoration: underline;
}

.dashboard-code {
    display: inline-flex;
    max-width: 100%;
    padding: 0.34rem 0.52rem;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
    font-family: "Cascadia Mono", "Consolas", monospace;
    font-size: 0.82rem;
    overflow-wrap: anywhere;
}

.dashboard-empty {
    min-height: 144px;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 22px;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    color: #64748b;
}

.dashboard-empty--table {
    min-height: 110px;
}

.dashboard-empty strong {
    color: #0f172a;
    font-size: 1rem;
}

.dashboard-empty span {
    line-height: 1.5;
}

.dashboard-qr-card {
    margin: 18px;
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid #dbe4ef;
    background: #f8fafc;
}

.dashboard-qr-card strong {
    display: block;
    margin-top: 4px;
    color: #0f172a;
    font-size: 1rem;
}

.dashboard-qr-card img {
    width: min(100%, 260px);
    aspect-ratio: 1;
    padding: 12px;
    border: 1px solid #cbd5e1;
    background: #fff;
}

.dashboard-table-wrap {
    border: 1px solid #e2e8f0;
    background: #fff;
}

.dashboard-table {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 760px;
}

.dashboard-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 10px 12px;
    border-bottom: 1px solid #dbe4ef;
    background: #f8fafc;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.dashboard-table td {
    padding: 12px;
    border-bottom: 1px solid #edf2f7;
    color: #1e293b;
    vertical-align: middle;
}

.dashboard-table tbody tr:hover td {
    background: #f8fafc;
}

.dashboard-table tbody tr:last-child td {
    border-bottom: 0;
}

.dashboard-strong {
    color: #0f172a;
    font-weight: 750;
}

.dashboard-muted-cell {
    color: #64748b;
}

.dashboard-actions {
    justify-content: flex-end;
}

.dashboard-link-button {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #fecaca;
    background: #fff;
    color: #b91c1c;
}

.dashboard-link-button:hover {
    background: #fff1f2;
}

.dashboard-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #334155;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dashboard-badge--scheduled,
.dashboard-badge--public {
    border-color: #a7f3d0;
    background: #ecfdf5;
    color: #047857;
}

.dashboard-badge--private {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.dashboard-badge--cancelled {
    border-color: #fecaca;
    background: #fff1f2;
    color: #b91c1c;
}

.dashboard-badge--completed {
    border-color: #d8b4fe;
    background: #faf5ff;
    color: #7e22ce;
}

@media (max-width: 980px) {
    .dashboard-shell {
        width: min(100% - 24px, 1320px);
        padding: 16px 0 32px;
    }

    .dashboard-header,
    .dashboard-workspace {
        grid-template-columns: 1fr;
    }

    .dashboard-header {
        align-items: stretch;
    }

    .dashboard-header__actions {
        justify-content: flex-start;
    }

    .dashboard-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .dashboard-stat-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-header__actions,
    .dashboard-header__actions .primary-action,
    .dashboard-secondary-action {
        width: 100%;
    }

    .dashboard-form-row {
        grid-template-columns: 1fr;
    }
}

.landing-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 32px 20px 56px;
}

.landing-panel {
    max-width: 720px;
    margin: 7vh auto 0;
    padding: 32px;
    display: grid;
    gap: 28px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #d7e0ec;
    border-radius: 24px;
    color: #152235;
}

.landing-kicker,
.meeting-stage__eyebrow {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--vmr-accent);
}

.landing-copy h1 {
    margin: 10px 0 8px;
    font-size: clamp(2rem, 3vw, 3.3rem);
    line-height: 1;
    display: block;
    border: 0;
    outline: 0;
    box-shadow: none;
    background: transparent;
    appearance: none;
}

.landing-copy p {
    margin: 0;
    color: #60748a;
    line-height: 1.6;
}

.landing-form,
.meeting-join-form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: end;
}

.field-stack {
    flex: 1 1 260px;
    display: grid;
    gap: 10px;
}

.field-stack label {
    font-size: 0.9rem;
    font-weight: 600;
}

.room-input {
    width: 100%;
    border: 1px solid #314155;
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
    padding: 0.95rem 1rem;
}

.room-input:focus {
    outline: 2px solid rgba(23, 195, 178, 0.28);
    border-color: var(--vmr-accent);
}

.primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.1rem;
    border: 0;
    text-decoration: none;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background 0.18s ease, opacity 0.18s ease;
    background: linear-gradient(135deg, var(--vmr-accent) 0%, #2563eb 100%);
    color: white;
}

.primary-action:disabled {
    opacity: 0.7;
}

.landing-hint {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    color: #60748a;
}

.landing-hint a {
    font-weight: 700;
    color: #0f766e;
}

.meeting-room-screen {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    min-height: 100vh;
    min-height: 100dvh;
    background: #08111f;
}

.meeting-rail {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 18px;
    padding: 12px 10px;
    background: #09111d;
    border-right: 1px solid var(--vmr-line);
}

.meeting-rail__brand {
    display: grid;
    place-items: center;
}

.meeting-rail__brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(23, 195, 178, 0.9), rgba(37, 99, 235, 0.95));
    color: white;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.meeting-rail__controls,
.meeting-rail__nav {
    display: grid;
    gap: 10px;
    align-content: start;
}

.meeting-rail__button,
.meeting-mobile__dock-button {
    display: grid;
    place-items: center;
    border: 1px solid var(--vmr-line);
    background: #101a2a;
    color: var(--vmr-text);
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.meeting-rail__button {
    width: 100%;
    aspect-ratio: 1;
}

.meeting-rail__button svg,
.meeting-mobile__dock-button svg {
    width: 20px;
    height: 20px;
}

.meeting-rail__button:hover:not(:disabled),
.meeting-mobile__dock-button:hover:not(:disabled) {
    background: #16263d;
}

.meeting-rail__button:disabled,
.meeting-mobile__dock-button:disabled {
    opacity: 0.65;
}

.meeting-rail__button--active,
.meeting-mobile__dock-button--active {
    border-color: rgba(23, 195, 178, 0.55);
    background: rgba(23, 195, 178, 0.12);
    color: #d1fae5;
}

.meeting-rail__button--off,
.meeting-mobile__dock-button--off {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(61, 17, 21, 0.92);
    color: #fecaca;
}

.meeting-rail__button--screen {
    color: #dbeafe;
}

.meeting-rail__button--screen.meeting-rail__button--active {
    border-color: rgba(59, 130, 246, 0.55);
    background: rgba(37, 99, 235, 0.16);
    color: #eff6ff;
}

.meeting-rail__button--danger,
.meeting-mobile__dock-button--danger {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(91, 15, 19, 0.96);
    color: #fecaca;
}

.meeting-rail__button--nav {
    background: #0d1727;
    color: var(--vmr-muted);
}

.meeting-stage {
    position: relative;
    overflow: hidden;
    padding: 0;
    display: grid;
    grid-template-rows: auto auto 1fr;
}

.meeting-stage__topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--vmr-line);
    background: rgba(10, 20, 35, 0.94);
}

.meeting-stage__room {
    display: grid;
    gap: 4px;
}

.meeting-stage__room strong {
    font-size: 1rem;
    letter-spacing: 0.04em;
}

.meeting-stage__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--vmr-muted);
    font-size: 0.88rem;
}

.meeting-stage__size-controls {
    display: inline-flex;
    gap: 6px;
}

.meeting-stage__size-button {
    min-width: 34px;
    height: 34px;
    border: 1px solid var(--vmr-line);
    background: #101a2a;
    color: var(--vmr-muted);
    font-weight: 700;
}

.meeting-stage__size-button--active {
    border-color: rgba(23, 195, 178, 0.55);
    background: rgba(23, 195, 178, 0.12);
    color: #d1fae5;
}

.meeting-banner {
    padding: 12px 18px;
    border-bottom: 1px solid var(--vmr-line);
    background: rgba(17, 28, 45, 0.92);
    color: var(--vmr-text);
}

.meeting-banner--error {
    background: rgba(69, 10, 10, 0.92);
    color: #fecaca;
}

.meeting-join-shell,
.meeting-empty-wall {
    display: grid;
    place-items: center;
    min-height: 100%;
    padding: 32px;
}

.meeting-join-shell__content,
.meeting-empty-wall {
    width: min(720px, 100%);
    padding: 32px;
    background: rgba(13, 23, 39, 0.96);
    border: 1px solid var(--vmr-line);
}

.meeting-join-shell__content h1,
.meeting-empty-wall strong {
    margin: 10px 0;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.meeting-join-shell__content h1 {
    display: block;
    border: 0;
    outline: 0;
    box-shadow: none;
    background: transparent;
    appearance: none;
}

.meeting-join-shell__content p,
.meeting-empty-wall p {
    margin: 0;
    color: var(--vmr-muted);
    line-height: 1.6;
}

.meeting-empty-wall {
    text-align: center;
    align-content: center;
}

.meeting-desktop-layout {
    display: block;
    min-height: 0;
    height: 100%;
}

.meeting-mobile-layout {
    display: none;
}

.video-wall {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: clamp(180px, 24vh, 320px);
    gap: 2px;
    padding: 2px;
    min-height: 0;
    height: 100%;
    background: #050b15;
    align-content: start;
    overflow-y: auto;
}

.video-wall__tile {
    position: relative;
    overflow: hidden;
    background: #0d1727;
    border: 1px solid rgba(255, 255, 255, 0.04);
    grid-column: span 4;
    min-height: 0;
    max-height: clamp(180px, 24vh, 320px);
}

.video-wall__tile--active {
    grid-column: span 8;
    grid-row: span 2;
    max-height: clamp(360px, 48vh, 640px);
}

.video-wall__tile,
.meeting-mobile__speaker-frame,
.meeting-mobile__filmstrip-tile {
    cursor: zoom-in;
}

.video-wall--compact .video-wall__tile--active {
    grid-column: span 6;
}

.video-wall--medium .video-wall__tile--active {
    grid-column: span 8;
}

.video-wall--large .video-wall__tile--active {
    grid-column: span 12;
}

.video-wall__tile video,
.meeting-mobile__speaker-frame video,
.meeting-mobile__filmstrip-tile video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #050b15;
}

.video-wall__tile--self video,
.meeting-mobile__speaker-frame--self video,
.meeting-mobile__filmstrip-tile--self video {
    transform: scaleX(-1);
}

.meeting-room-screen--screen-sharing .video-wall__tile--self video,
.meeting-room-screen--screen-sharing .meeting-mobile__speaker-frame--self video,
.meeting-room-screen--screen-sharing .meeting-mobile__filmstrip-tile--self video {
    transform: none;
}

.video-wall__meta,
.meeting-mobile__speaker-meta {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 12px;
    padding: 16px;
    color: white;
    background: linear-gradient(180deg, transparent, rgba(3, 7, 18, 0.82));
}

.video-wall__meta strong,
.meeting-mobile__speaker-meta strong {
    display: block;
    font-size: 1rem;
}

.video-wall__meta span,
.meeting-mobile__speaker-meta span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.82rem;
}

.video-wall__meta-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 8px;
}

.video-wall__tag,
.video-wall__badge {
    padding: 0.4rem 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
}

.video-wall__tag {
    background: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}

.video-wall__badge {
    background: rgba(23, 195, 178, 0.24);
    color: #d1fae5;
}

@media (max-width: 1100px) {
    .video-wall__tile {
        grid-column: span 6;
    }

    .video-wall__tile--active {
        grid-column: span 12;
    }

    .video-wall--compact .video-wall__tile--active,
    .video-wall--medium .video-wall__tile--active,
    .video-wall--large .video-wall__tile--active {
        grid-column: span 12;
    }
}

@media (max-width: 920px) {
    body {
        overflow: auto;
    }

    .meeting-room-screen {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr);
    }

    .meeting-rail,
    .meeting-stage__topbar {
        display: none;
    }

    .meeting-stage {
        grid-template-rows: auto 1fr;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .meeting-desktop-layout {
        display: none;
    }

    .meeting-mobile-layout {
        display: grid;
        grid-template-rows: auto minmax(0, 1fr) auto auto;
        min-height: 0;
        height: 100%;
        background: #050b15;
    }

    .meeting-mobile__header {
        display: grid;
        gap: 8px;
        padding: 12px 14px;
        border-bottom: 1px solid var(--vmr-line);
        background: rgba(10, 20, 35, 0.96);
    }

    .meeting-mobile__header strong {
        font-size: 1rem;
    }

    .meeting-mobile__header-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        color: var(--vmr-muted);
        font-size: 0.82rem;
    }

    .meeting-mobile__header-speaker {
        color: #d1fae5;
        font-size: 0.84rem;
        font-weight: 600;
    }

    .meeting-mobile__speaker-stage {
        min-height: 0;
        padding: 0;
    }

    .meeting-mobile__speaker-frame {
        position: relative;
        height: 100%;
        min-height: 46vh;
        max-height: 60vh;
        background: #050b15;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .meeting-mobile__filmstrip {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 34vw;
        gap: 8px;
        overflow-x: auto;
        padding: 10px 12px;
        background: #0a1423;
        border-top: 1px solid var(--vmr-line);
    }

    .meeting-mobile__filmstrip-tile {
        position: relative;
        height: 96px;
        background: #0d1727;
        border: 1px solid rgba(255, 255, 255, 0.04);
        overflow: hidden;
    }

    .meeting-mobile__filmstrip-meta {
        position: absolute;
        inset: auto 0 0 0;
        padding: 8px 10px;
        background: linear-gradient(180deg, transparent, rgba(3, 7, 18, 0.82));
    }

    .meeting-mobile__filmstrip-meta strong {
        font-size: 0.78rem;
        color: white;
    }

    .meeting-mobile__dock {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        padding: 12px;
        background: rgba(9, 17, 29, 0.98);
        border-top: 1px solid var(--vmr-line);
    }

    .meeting-mobile__dock-button {
        min-height: 54px;
    }

    .meeting-join-shell,
    .meeting-empty-wall {
        padding: 20px;
    }
}

.landing-page {
    position: relative;
    height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    color: #0f172a;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.14), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, #edf3fb 100%);
}

.landing-page,
.landing-page * {
    scroll-behavior: smooth;
}

.landing-container {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

.landing-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(248, 251, 255, 0.78);
    backdrop-filter: blur(18px);
}

.landing-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.landing-brand__mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #2563eb 0%, #0f766e 100%);
    color: white;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    border-radius: 16px;
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.18);
}

.landing-brand__copy {
    display: grid;
    gap: 2px;
    line-height: 1.05;
}

.landing-brand__copy strong {
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.landing-brand__copy span {
    color: #64748b;
    font-size: 0.9rem;
}

.landing-nav__links,
.landing-nav__actions,
.landing-pills,
.landing-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.landing-nav__links a,
.landing-nav__secondary,
.landing-footer__links a,
.landing-link {
    color: #0f5ea8;
    text-decoration: none;
    font-weight: 700;
}

.landing-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}

.landing-nav__links a:hover,
.landing-nav__secondary:hover,
.landing-footer__links a:hover,
.landing-link:hover {
    text-decoration: underline;
}

.landing-nav__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    background: rgba(255, 255, 255, 0.68);
    color: #0f172a;
}

.landing-nav__primary,
.landing-join__button,
.landing-cta__button {
    min-height: 48px;
}

.landing-main {
    display: grid;
    gap: 26px;
    padding: 26px 0 44px;
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 28px;
    align-items: center;
}

.landing-hero__copy h1 {
    margin: 14px 0 16px;
    max-width: 11ch;
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: 0.94;
    letter-spacing: -0.05em;
    color: #0f172a;
}

.landing-hero__copy p {
    margin: 0;
    max-width: 58ch;
    color: #475569;
    font-size: clamp(1.02rem, 1.45vw, 1.16rem);
    line-height: 1.7;
}

.landing-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 24px;
}

.landing-pills {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.landing-pills li {
    padding: 0.58rem 0.85rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.24);
    color: #1e293b;
    font-size: 0.9rem;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.landing-preview {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: linear-gradient(180deg, #0f172a 0%, #0b1220 100%);
    color: #e2e8f0;
    box-shadow: 0 32px 72px rgba(15, 23, 42, 0.16);
}

.landing-preview__chrome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-preview__chrome-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
}

.landing-preview__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #94a3b8;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.04);
}

.landing-preview__dot--live {
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.18);
}

.landing-preview__room {
    color: #8ca2c0;
}

.landing-preview__stage {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(180px, 0.85fr);
    gap: 12px;
    padding: 12px;
}

.landing-preview__speaker {
    position: relative;
    min-height: 320px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background:
        radial-gradient(circle at 20% 18%, rgba(37, 99, 235, 0.34), transparent 24%),
        radial-gradient(circle at 78% 12%, rgba(20, 184, 166, 0.18), transparent 22%),
        linear-gradient(160deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.88));
}

.landing-preview__speaker-glow {
    position: absolute;
    inset: auto -20% -30% 40%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%);
    filter: blur(8px);
}

.landing-preview__speaker-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    max-width: 20ch;
}

.landing-preview__speaker-copy span {
    color: #8ca2c0;
    text-transform: uppercase;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    font-weight: 700;
}

.landing-preview__speaker-copy strong {
    font-size: 1.65rem;
    line-height: 1.05;
}

.landing-preview__speaker-copy p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.6;
}

.landing-preview__speaker-badge {
    position: absolute;
    right: 16px;
    top: 16px;
    padding: 0.45rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: rgba(34, 197, 94, 0.18);
    color: #dcfce7;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.landing-preview__participants {
    display: grid;
    gap: 12px;
}

.landing-preview__tile {
    position: relative;
    display: grid;
    align-items: end;
    min-height: 0;
    padding: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.92));
}

.landing-preview__tile:nth-child(1) {
    background: linear-gradient(160deg, rgba(30, 64, 175, 0.85), rgba(15, 23, 42, 0.9));
}

.landing-preview__tile:nth-child(2) {
    background: linear-gradient(160deg, rgba(15, 118, 110, 0.82), rgba(15, 23, 42, 0.92));
}

.landing-preview__tile:nth-child(3) {
    background: linear-gradient(160deg, rgba(71, 85, 105, 0.82), rgba(15, 23, 42, 0.92));
}

.landing-preview__tile span {
    display: block;
    color: #e2e8f0;
    font-weight: 700;
}

.landing-preview__tile small {
    color: #cbd5e1;
}

.landing-preview__dock {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 16px 16px;
    background: rgba(15, 23, 42, 0.92);
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.landing-preview__dock-button {
    min-height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #0f172a;
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-preview__dock-button--active {
    background: rgba(37, 99, 235, 0.18);
    border-color: rgba(37, 99, 235, 0.42);
    color: #dbeafe;
}

.landing-preview__dock-button--danger {
    background: rgba(127, 29, 29, 0.95);
    border-color: rgba(239, 68, 68, 0.38);
    color: #fecaca;
}

.landing-join {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    gap: 20px;
}

.landing-join__panel,
.landing-join__aside,
.landing-feature-card,
.landing-cta {
    border: 1px solid rgba(148, 163, 184, 0.26);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.landing-join__panel {
    display: grid;
    gap: 24px;
    padding: 28px;
}

.landing-join__copy {
    display: grid;
    gap: 10px;
}

.landing-join__copy h2 {
    margin: 0;
    font-size: clamp(1.7rem, 2.4vw, 2.5rem);
    line-height: 1.08;
}

.landing-join__copy p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
    max-width: 54ch;
}

.landing-join__form {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: end;
}

.landing-join__input {
    background: rgba(248, 250, 252, 0.92);
    border-color: rgba(148, 163, 184, 0.38);
    color: #0f172a;
}

.landing-join__button {
    min-width: 168px;
    padding-inline: 1.4rem;
}

.landing-join__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    color: #64748b;
    font-size: 0.93rem;
}

.landing-join__foot a {
    color: #0f5ea8;
    font-weight: 700;
    text-decoration: none;
}

.landing-join__foot a:hover {
    text-decoration: underline;
}

.landing-join__aside {
    display: grid;
    gap: 14px;
    align-content: start;
    padding: 18px;
}

.landing-note-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: linear-gradient(180deg, rgba(247, 250, 255, 0.96), rgba(235, 243, 252, 0.9));
}

.landing-note-card strong {
    font-size: 1rem;
    color: #0f172a;
}

.landing-note-card p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
    font-size: 0.95rem;
}

.landing-features {
    display: grid;
    gap: 22px;
    padding-top: 6px;
}

.landing-section-heading {
    display: grid;
    gap: 10px;
    max-width: 68ch;
}

.landing-section-heading h2 {
    margin: 0;
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.05;
}

.landing-section-heading p {
    margin: 0;
    color: #516176;
    line-height: 1.7;
}

.landing-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.landing-feature-card {
    display: grid;
    gap: 14px;
    padding: 22px;
}

.landing-feature-card__index {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: rgba(37, 99, 235, 0.12);
    color: #0f5ea8;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.landing-feature-card h3 {
    margin: 0;
    font-size: 1.2rem;
}

.landing-feature-card p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

.landing-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.92));
    color: white;
}

.landing-cta__copy {
    display: grid;
    gap: 8px;
}

.landing-cta__copy h2 {
    margin: 0;
    font-size: clamp(1.6rem, 2.3vw, 2.4rem);
    line-height: 1.08;
}

.landing-cta__copy p {
    margin: 0;
    max-width: 50ch;
    color: rgba(226, 232, 240, 0.86);
    line-height: 1.65;
}

.landing-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 6px 0 12px;
    color: #64748b;
    font-size: 0.92rem;
}

.landing-footer__brand {
    display: grid;
    gap: 4px;
}

.landing-footer__brand strong {
    color: #0f172a;
}

.landing-footer__links {
    justify-content: flex-end;
}

.landing-page :where(a, button, input):focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.55);
    outline-offset: 3px;
}

.landing-page .primary-action:focus-visible {
    outline-color: rgba(15, 118, 110, 0.7);
}

@media (max-width: 1120px) {
    .landing-hero {
        grid-template-columns: 1fr;
    }

    .landing-preview__stage {
        grid-template-columns: minmax(0, 1fr);
    }

    .landing-preview__participants {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .landing-join {
        grid-template-columns: 1fr;
    }

    .landing-feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .landing-container {
        width: min(100%, calc(100% - 24px));
    }

    .landing-nav__inner {
        gap: 12px;
    }

    .landing-nav__links {
        display: none;
    }

    .landing-nav__secondary {
        display: none;
    }

    .landing-brand__copy span {
        display: none;
    }

    .landing-main {
        gap: 20px;
        padding: 20px 0 32px;
    }

    .landing-hero__copy h1 {
        max-width: 100%;
        font-size: clamp(2.4rem, 10vw, 3.8rem);
    }

    .landing-hero__actions {
        align-items: stretch;
    }

    .landing-hero__actions .primary-action,
    .landing-hero__actions .landing-link {
        width: 100%;
        justify-content: center;
    }

    .landing-pills {
        gap: 8px;
    }

    .landing-pills li {
        flex: 1 1 100%;
        text-align: center;
    }

    .landing-preview__speaker {
        min-height: 240px;
    }

    .landing-preview__speaker-copy strong {
        font-size: 1.35rem;
    }

    .landing-preview__participants {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .landing-preview__dock {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-join__panel,
    .landing-join__aside,
    .landing-feature-card,
    .landing-cta {
        padding: 20px;
    }

    .landing-join__button,
    .landing-cta__button {
        width: 100%;
    }

    .landing-join__foot,
    .landing-cta {
        align-items: stretch;
    }

    .landing-cta {
        flex-direction: column;
    }

    .landing-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Mintlify design system override */
:root {
    --vmr-bg: #ffffff;
    --vmr-panel: #ffffff;
    --vmr-panel-alt: #fafafa;
    --vmr-line: rgba(0, 0, 0, 0.05);
    --vmr-line-medium: rgba(0, 0, 0, 0.08);
    --vmr-text: #0d0d0d;
    --vmr-muted: #666666;
    --vmr-accent: #18e299;
    --vmr-accent-light: #d4fae8;
    --vmr-accent-deep: #0fa76e;
    --vmr-danger: #d45656;
    --vmr-shadow: rgba(0, 0, 0, 0.03) 0 2px 4px;
    --vmr-font: "Inter", "Inter Fallback", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --vmr-mono: "Geist Mono", "Geist Mono Fallback", ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

html,
body {
    font-family: var(--vmr-font);
    background: #ffffff;
    color: var(--vmr-text);
}

a {
    color: var(--vmr-text);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--vmr-accent-deep);
}

button,
input,
select,
textarea {
    font-family: inherit;
}

.landing-page,
.dashboard-page,
.account-page,
.meeting-join-shell {
    background:
        radial-gradient(circle at 50% 0%, rgba(24, 226, 153, 0.16), transparent 34%),
        #ffffff;
    color: var(--vmr-text);
}

.landing-container,
.dashboard-shell {
    width: min(1200px, calc(100% - 40px));
}

.landing-nav,
.meeting-stage__topbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--vmr-line);
    color: var(--vmr-text);
    backdrop-filter: blur(12px);
}

.landing-brand__mark,
.meeting-rail__brand-mark {
    border: 1px solid var(--vmr-line-medium);
    border-radius: 9999px;
    background: var(--vmr-accent);
    color: var(--vmr-text);
    font-family: var(--vmr-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.6px;
}

.landing-brand__copy strong,
.landing-nav__links a,
.landing-nav__secondary,
.dashboard-header h1,
.account-card__header h1,
.landing-hero__copy h1,
.landing-hero__copy h3,
.landing-section-heading h2,
.landing-join__copy h2,
.landing-cta__copy h2,
.meeting-stage__room strong {
    color: var(--vmr-text);
    letter-spacing: 0;
}

.landing-brand__copy span,
.landing-hero__copy p,
.landing-join__copy p,
.landing-section-heading p,
.landing-cta__copy p,
.dashboard-header p,
.dashboard-muted,
.account-card__header p,
.account-card__footer,
.meeting-stage__stats,
.dashboard-muted-cell {
    color: var(--vmr-muted);
}

.landing-kicker,
.dashboard-kicker,
.meeting-stage__eyebrow,
.dashboard-stat span,
.dashboard-table th,
.dashboard-details dt,
.landing-feature-card__index {
    color: var(--vmr-accent-deep);
    font-family: var(--vmr-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.landing-hero,
.dashboard-header,
.admin-hero {
    border: 1px solid var(--vmr-line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--vmr-shadow);
}

.landing-hero__copy h1,
.landing-hero__copy h3,
.dashboard-header h1,
.account-card__header h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: 0;
}

.dashboard-panel,
.dashboard-stat,
.admin-metric,
.account-card,
.landing-preview,
.landing-join__panel,
.landing-note-card,
.landing-feature-card,
.landing-cta,
.meeting-banner,
.dashboard-alert,
.admin-toggle-card {
    border: 1px solid var(--vmr-line);
    border-radius: 24px;
    background: #ffffff;
    color: var(--vmr-text);
    box-shadow: var(--vmr-shadow);
}

.dashboard-panel,
.dashboard-stat,
.landing-feature-card,
.landing-note-card,
.account-card {
    padding: 24px;
}

.dashboard-panel {
    padding: 0;
}

.dashboard-panel__header {
    border-bottom: 1px solid var(--vmr-line);
    border-radius: 24px 24px 0 0;
    background: #ffffff;
}

.dashboard-panel__header h2,
.dashboard-panel h2,
.landing-feature-card h3,
.landing-note-card strong,
.admin-toggle-card strong {
    color: var(--vmr-text);
    font-weight: 600;
    letter-spacing: 0;
}

.primary-action,
.landing-nav__primary,
.landing-nav__secondary,
.landing-link,
.dashboard-secondary-action,
.dashboard-table-action,
.dashboard-link-button,
.meeting-rail__button,
.meeting-mobile__dock-button {
    border-radius: 9999px;
    font-size: 0.94rem;
    font-weight: 500;
    letter-spacing: 0;
    box-shadow: rgba(0, 0, 0, 0.06) 0 1px 2px;
}

.primary-action,
.dashboard-page .primary-action {
    border: 1px solid #0d0d0d;
    background: #0d0d0d;
    color: #ffffff;
    padding: 0.62rem 1.5rem;
}

.primary-action:hover:not(:disabled),
.dashboard-page .primary-action:hover:not(:disabled) {
    background: #0d0d0d;
    color: #ffffff;
    opacity: 0.9;
}

.landing-nav__secondary,
.landing-link,
.dashboard-secondary-action,
.dashboard-table-action,
.dashboard-link-button {
    border: 1px solid var(--vmr-line-medium);
    background: #ffffff;
    color: var(--vmr-text);
    text-decoration: none;
}

.landing-nav__secondary:hover,
.landing-link:hover,
.dashboard-secondary-action:hover,
.dashboard-table-action:hover,
.dashboard-link-button:hover {
    border-color: rgba(0, 0, 0, 0.14);
    background: #ffffff;
    color: var(--vmr-accent-deep);
}

.room-input,
.dashboard-page .room-input,
.account-card .room-input {
    min-height: 44px;
    border: 1px solid var(--vmr-line-medium);
    border-radius: 9999px;
    background: #ffffff;
    color: var(--vmr-text);
    padding: 0.65rem 1rem;
}

textarea.room-input,
.dashboard-page textarea.room-input {
    border-radius: 18px;
}

.room-input:focus,
.dashboard-page .room-input:focus,
.account-card .room-input:focus {
    border-color: var(--vmr-accent);
    outline: 1px solid var(--vmr-accent);
    box-shadow: 0 0 0 3px rgba(24, 226, 153, 0.18);
}

.field-stack label,
.dashboard-page .field-stack label {
    color: var(--vmr-text);
    font-size: 0.81rem;
    font-weight: 500;
    letter-spacing: 0.65px;
    text-transform: uppercase;
}

.dashboard-check {
    border: 1px solid var(--vmr-line);
    border-radius: 9999px;
    background: #ffffff;
    color: var(--vmr-text);
}

.dashboard-check input,
.admin-switch input {
    accent-color: var(--vmr-accent);
}

.dashboard-stat {
    gap: 10px;
}

.dashboard-stat strong,
.admin-metric strong {
    color: var(--vmr-text);
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1;
}

.dashboard-table-wrap {
    border: 1px solid var(--vmr-line);
    border-radius: 16px;
    background: #ffffff;
}

.dashboard-table th {
    border-bottom: 1px solid var(--vmr-line);
    background: #ffffff;
}

.dashboard-table td {
    border-bottom: 1px solid var(--vmr-line);
    color: #333333;
}

.dashboard-table tbody tr:hover td {
    background: #fafafa;
}

.dashboard-badge {
    border-radius: 9999px;
    font-family: var(--vmr-mono);
    font-size: 0.75rem;
    letter-spacing: 0.6px;
}

.dashboard-badge--scheduled,
.dashboard-badge--public {
    border-color: rgba(24, 226, 153, 0.35);
    background: var(--vmr-accent-light);
    color: var(--vmr-accent-deep);
}

.dashboard-badge--private {
    border-color: rgba(55, 114, 207, 0.24);
    background: rgba(55, 114, 207, 0.08);
    color: #3772cf;
}

.dashboard-badge--cancelled,
.dashboard-alert--error,
.meeting-banner--error {
    border-color: rgba(212, 86, 86, 0.25);
    background: rgba(212, 86, 86, 0.08);
    color: #9e3030;
}

.dashboard-badge--completed {
    border-color: rgba(24, 226, 153, 0.22);
    background: #f7fffb;
    color: var(--vmr-accent-deep);
}

.dashboard-alert,
.meeting-banner {
    border-color: rgba(24, 226, 153, 0.28);
    background: #f7fffb;
    color: var(--vmr-accent-deep);
}

.account-page {
    place-items: start center;
    padding-top: 64px;
}

.account-card {
    border-radius: 24px;
    box-shadow: var(--vmr-shadow);
}

.account-card form {
    gap: 16px;
}

.account-card__footer a {
    color: var(--vmr-accent-deep);
    font-weight: 500;
}

.account-notice {
    display: grid;
    gap: 8px;
    margin: 18px 0;
    padding: 18px;
    border: 1px solid var(--vmr-line);
    border-radius: 16px;
    background: #fafafa;
    color: var(--vmr-muted);
}

.account-notice strong {
    color: var(--vmr-text);
    font-size: 1rem;
    font-weight: 600;
}

.admin-page .dashboard-shell {
    gap: 18px;
}

.admin-layout,
.admin-two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
    gap: 18px;
}

.admin-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-toggle-card {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 18px;
    box-shadow: none;
}

.admin-toggle-card p {
    margin: 8px 0 0;
    color: var(--vmr-muted);
    line-height: 1.5;
}

.admin-switch {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.admin-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.admin-switch span {
    width: 52px;
    height: 30px;
    position: relative;
    display: inline-block;
    border: 1px solid var(--vmr-line-medium);
    border-radius: 9999px;
    background: #f5f5f5;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.admin-switch span::after {
    content: "";
    width: 22px;
    height: 22px;
    position: absolute;
    top: 3px;
    left: 4px;
    border-radius: 9999px;
    background: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.12) 0 1px 3px;
    transition: transform 0.18s ease;
}

.admin-switch input:checked + span {
    border-color: rgba(24, 226, 153, 0.42);
    background: var(--vmr-accent);
}

.admin-switch input:checked + span::after {
    transform: translateX(21px);
}

.admin-form-actions {
    justify-content: flex-start;
}

.admin-health-panel .dashboard-details {
    margin: 18px;
}

.admin-role-select {
    min-width: 132px;
}

.admin-room-link {
    display: inline-flex;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--vmr-accent-deep);
    font-weight: 500;
}

.landing-preview,
.landing-preview__stage,
.landing-preview__speaker,
.landing-preview__tile,
.landing-preview__dock-button {
    border-color: var(--vmr-line);
    background: #ffffff;
    color: var(--vmr-text);
}

.landing-preview__chrome,
.landing-preview__dock {
    border-color: var(--vmr-line);
    background: #fafafa;
    color: var(--vmr-muted);
}

.landing-preview__dot--live {
    background: var(--vmr-accent);
}

.landing-pills li {
    border: 1px solid var(--vmr-line);
    border-radius: 9999px;
    background: #ffffff;
    color: var(--vmr-text);
}

.meeting-room-screen {
    background: #ffffff;
    color: var(--vmr-text);
}

.meeting-rail {
    border-right: 1px solid var(--vmr-line);
    background: #ffffff;
}

.meeting-rail__button,
.meeting-mobile__dock-button {
    border-color: var(--vmr-line-medium);
    background: #ffffff;
    color: var(--vmr-text);
}

.meeting-rail__button:hover:not(:disabled),
.meeting-mobile__dock-button:hover:not(:disabled) {
    background: #fafafa;
}

.meeting-rail__button--active,
.meeting-mobile__dock-button--active {
    border-color: rgba(24, 226, 153, 0.45);
    background: var(--vmr-accent-light);
    color: var(--vmr-accent-deep);
}

.meeting-rail__button--off,
.meeting-mobile__dock-button--off,
.meeting-rail__button--danger,
.meeting-mobile__dock-button--danger {
    border-color: rgba(212, 86, 86, 0.25);
    background: rgba(212, 86, 86, 0.08);
    color: #9e3030;
}

.meeting-rail__button--screen,
.meeting-rail__button--nav {
    color: var(--vmr-text);
}

.meeting-stage {
    background: #ffffff;
}

.text-danger,
.validation-message {
    color: var(--vmr-danger);
}

@media (max-width: 980px) {
    .landing-container,
    .dashboard-shell {
        width: min(100% - 24px, 1200px);
    }

    .admin-layout,
    .admin-two-column,
    .admin-settings-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-page--compact .dashboard-shell--tabbed {
    gap: 16px;
    padding-bottom: 28px;
}

.dashboard-page--compact .dashboard-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.dashboard-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 8px;
    border: 1px solid var(--vmr-line);
    border-radius: 9999px;
    background: #ffffff;
    box-shadow: var(--vmr-shadow);
}

.dashboard-tab {
    min-height: 38px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 9999px;
    background: transparent;
    color: var(--vmr-muted);
    font-size: 0.94rem;
    font-weight: 500;
    cursor: pointer;
}

.dashboard-tab:hover {
    color: var(--vmr-text);
    background: #fafafa;
}

.dashboard-tab--active {
    border-color: #0d0d0d;
    background: #0d0d0d;
    color: #ffffff;
}

.dashboard-tab--active:hover {
    color: #ffffff;
    background: #0d0d0d;
}

.dashboard-tab-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 16px;
    align-items: start;
}

.dashboard-tab-grid--split {
    grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.28fr);
}

.dashboard-created-card {
    grid-column: 1 / -1;
}

.dashboard-list {
    display: grid;
    gap: 10px;
    margin: 18px;
}

.dashboard-list-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--vmr-line);
    border-radius: 16px;
    background: #ffffff;
}

.dashboard-list-item div {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.dashboard-list-item strong {
    color: var(--vmr-text);
    font-weight: 600;
}

.dashboard-list-item span {
    color: var(--vmr-muted);
    font-size: 0.88rem;
}

.dashboard-date-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.dashboard-table-wrap--fixed {
    max-height: min(58vh, 620px);
    overflow: auto;
}

.dashboard-qr-card--large {
    justify-items: start;
}

.dashboard-qr-card--large img {
    width: min(100%, 320px);
}

@media (max-width: 1040px) {
    .dashboard-tab-grid,
    .dashboard-tab-grid--split {
        grid-template-columns: 1fr;
    }

    .dashboard-date-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .dashboard-tabs {
        border-radius: 24px;
    }

    .dashboard-tab {
        flex: 1 1 calc(50% - 8px);
    }

    .dashboard-date-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-list-item {
        align-items: stretch;
        flex-direction: column;
    }
}

/* Dashboard workspace fixes: use screen width and prevent control overlap */
.dashboard-page--compact .dashboard-shell--tabbed {
    width: min(100% - 40px, 1760px);
    max-width: none;
}

.dashboard-page--compact .dashboard-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
}

.dashboard-page--compact .dashboard-stat-grid {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
}

.dashboard-page--compact .dashboard-tab-grid {
    grid-template-columns: minmax(420px, 0.65fr) minmax(0, 1.35fr);
}

.dashboard-page--compact .dashboard-tab-grid--split {
    grid-template-columns: minmax(420px, 0.52fr) minmax(0, 1.48fr);
}

.dashboard-page--compact .dashboard-date-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-page--compact .dashboard-date-grid .field-stack {
    min-width: 0;
}

.dashboard-page--compact .dashboard-date-grid .room-input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.dashboard-page--compact .dashboard-table-wrap--fixed {
    max-height: calc(100vh - 420px);
    min-height: 280px;
}

.dashboard-page--compact .dashboard-table {
    min-width: 980px;
}

.dashboard-page--compact .dashboard-table th,
.dashboard-page--compact .dashboard-table td {
    white-space: nowrap;
}

.dashboard-page--compact .dashboard-table td:first-child,
.dashboard-page--compact .dashboard-table td:nth-child(3) {
    white-space: normal;
}

.dashboard-page--compact .dashboard-actions {
    flex-wrap: nowrap;
}

@media (min-width: 1500px) {
    .dashboard-page--compact .dashboard-tab-grid--split {
        grid-template-columns: minmax(460px, 0.42fr) minmax(0, 1.58fr);
    }
}

@media (max-width: 1120px) {
    .dashboard-page--compact .dashboard-header,
    .dashboard-page--compact .dashboard-tab-grid,
    .dashboard-page--compact .dashboard-tab-grid--split {
        grid-template-columns: 1fr;
    }

    .dashboard-page--compact .dashboard-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-page--compact .dashboard-table-wrap--fixed {
        max-height: 560px;
    }
}

@media (max-width: 680px) {
    .dashboard-page--compact .dashboard-shell--tabbed {
        width: min(100% - 20px, 1760px);
    }

    .dashboard-page--compact .dashboard-date-grid,
    .dashboard-page--compact .dashboard-stat-grid {
        grid-template-columns: 1fr;
    }
}

/* UI/UX repair pass */
:root {
    --vmr-radius: 8px;
    --vmr-surface: #ffffff;
    --vmr-surface-muted: #f7f9fc;
    --vmr-line-strong: rgba(15, 23, 42, 0.12);
    --vmr-text-soft: #475569;
    --vmr-ring: rgba(24, 226, 153, 0.32);
}

* {
    box-sizing: border-box;
}

:where(a, button, input, select, textarea):focus-visible {
    outline: 2px solid var(--vmr-accent);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px var(--vmr-ring);
}

:where(h1, h2, h3)[tabindex="-1"]:focus,
:where(h1, h2, h3)[tabindex="-1"]:focus-visible {
    outline: 0;
    box-shadow: none;
}

.landing-hero,
.dashboard-header,
.admin-hero,
.dashboard-panel,
.dashboard-stat,
.admin-metric,
.account-card,
.landing-preview,
.landing-join__panel,
.landing-join__aside,
.landing-note-card,
.landing-feature-card,
.landing-cta,
.meeting-banner,
.dashboard-alert,
.admin-toggle-card,
.dashboard-empty,
.dashboard-qr-card,
.dashboard-list-item,
.utility-card,
.account-manage-header,
.account-manage-content,
.account-manage-sidebar {
    border-radius: var(--vmr-radius);
}

.landing-preview__speaker,
.landing-preview__tile,
.landing-preview__dock-button,
.landing-pills li,
.dashboard-table-wrap,
.dashboard-url,
.dashboard-code,
.account-notice,
.utility-status {
    border-radius: var(--vmr-radius);
}

.primary-action,
.landing-nav__primary,
.landing-nav__secondary,
.landing-link,
.dashboard-secondary-action,
.dashboard-table-action,
.dashboard-link-button,
.dashboard-tab,
.meeting-rail__button,
.meeting-mobile__dock-button,
.meeting-stage__size-button {
    border-radius: var(--vmr-radius);
}

.room-input,
.dashboard-page .room-input,
.account-card .room-input,
.account-manage-content .form-control,
.account-manage-content .form-select {
    border-radius: var(--vmr-radius);
}

.landing-page,
.dashboard-page,
.account-page,
.utility-page,
.account-manage-page {
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 1) 36%),
        radial-gradient(circle at 20% 0%, rgba(24, 226, 153, 0.13), transparent 28%),
        #ffffff;
}

.landing-nav {
    border-bottom-color: var(--vmr-line-strong);
}

.landing-main {
    gap: 24px;
}

.landing-hero {
    align-items: center;
    min-height: min(680px, calc(100dvh - 112px));
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.landing-hero__copy h1 {
    margin: 12px 0 12px;
    max-width: 12ch;
    color: #0f172a;
    font-size: clamp(2.65rem, 6vw, 5.4rem);
    font-weight: 650;
    line-height: 0.98;
}

.landing-hero__copy p,
.landing-join__copy p,
.landing-section-heading p,
.landing-feature-card p,
.landing-note-card p {
    color: var(--vmr-text-soft);
}

.landing-preview {
    overflow: hidden;
}

.landing-preview__speaker {
    min-height: 310px;
}

.landing-preview__speaker-badge,
.video-wall__badge,
.video-wall__tag,
.dashboard-badge {
    border-radius: 9999px;
}

.dashboard-page--compact .dashboard-shell--tabbed,
.admin-page .dashboard-shell {
    width: min(100% - 32px, 1680px);
    gap: 14px;
}

.dashboard-header,
.account-manage-header {
    padding: 18px;
    border-color: var(--vmr-line-strong);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.dashboard-header h1,
.account-manage-header h1,
.utility-card h1 {
    font-size: clamp(1.9rem, 3.5vw, 3rem);
    line-height: 1.05;
}

.dashboard-stat-grid {
    gap: 10px;
}

.dashboard-stat {
    min-height: 110px;
    padding: 16px;
    border-color: var(--vmr-line-strong);
}

.dashboard-stat strong,
.admin-metric strong {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.dashboard-tabs {
    width: fit-content;
    max-width: 100%;
    border-radius: var(--vmr-radius);
    overflow-x: auto;
}

.dashboard-tab {
    white-space: nowrap;
}

.dashboard-panel {
    border-color: var(--vmr-line-strong);
}

.dashboard-panel__header {
    border-radius: var(--vmr-radius) var(--vmr-radius) 0 0;
    padding: 14px 16px;
}

.dashboard-panel form,
.dashboard-panel > .dashboard-table-wrap,
.dashboard-panel > .dashboard-empty,
.dashboard-panel > .dashboard-details {
    margin: 16px;
}

.dashboard-table-wrap {
    overflow: auto;
    border-color: var(--vmr-line-strong);
}

.dashboard-table th,
.dashboard-table td {
    padding: 10px 12px;
}

.dashboard-page--compact .dashboard-table-wrap--fixed {
    max-height: calc(100dvh - 390px);
}

.dashboard-actions {
    gap: 8px;
}

.dashboard-link-button {
    border-color: rgba(212, 86, 86, 0.3);
}

.admin-layout,
.admin-two-column {
    gap: 14px;
}

.admin-toggle-card {
    align-items: flex-start;
}

.admin-role-select {
    min-width: 150px;
}

.meeting-stage__topbar {
    color: #0f172a;
}

.meeting-stage__stats {
    gap: 10px;
}

.video-wall {
    gap: 6px;
    padding: 6px;
    background: #f1f5f9;
}

.video-wall__tile,
.meeting-mobile__speaker-frame,
.meeting-mobile__filmstrip-tile {
    border-radius: var(--vmr-radius);
    border-color: rgba(15, 23, 42, 0.12);
    background: #020617;
}

.video-wall__meta {
    border-radius: 0 0 var(--vmr-radius) var(--vmr-radius);
}

.meeting-join-shell__content,
.meeting-empty-wall {
    border-radius: var(--vmr-radius);
    border-color: var(--vmr-line-strong);
    background: #ffffff;
    color: #0f172a;
}

.meeting-join-shell__content p,
.meeting-empty-wall p {
    color: var(--vmr-text-soft);
}

.utility-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: start center;
    padding: 64px 18px 40px;
    color: #0f172a;
}

.utility-page--wide {
    place-items: start center;
}

.utility-card {
    width: min(100%, 560px);
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--vmr-line-strong);
    background: var(--vmr-surface);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.utility-card--wide {
    width: min(100%, 960px);
}

.utility-card h1,
.utility-card p {
    margin: 0;
}

.utility-lead,
.utility-card > p {
    color: var(--vmr-text-soft);
    line-height: 1.6;
}

.utility-counter {
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--vmr-line-strong);
    border-radius: var(--vmr-radius);
    background: var(--vmr-surface-muted);
}

.utility-counter span,
.utility-status span {
    color: var(--vmr-text-soft);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.utility-counter strong {
    font-size: 2.4rem;
    line-height: 1;
}

.utility-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.utility-status {
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--vmr-line-strong);
    background: var(--vmr-surface-muted);
}

.utility-status code,
.utility-status strong {
    overflow-wrap: anywhere;
}

.utility-table {
    min-width: 680px;
}

.account-manage-page {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 28px 0 44px;
    color: #0f172a;
}

.account-manage-shell {
    width: min(100% - 32px, 1280px);
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.account-manage-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: end;
    border: 1px solid var(--vmr-line-strong);
    background: #ffffff;
}

.account-manage-header h1,
.account-manage-header p {
    margin: 0;
}

.account-manage-header p {
    margin-top: 8px;
    color: var(--vmr-text-soft);
}

.account-manage-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.account-manage-sidebar,
.account-manage-content {
    border: 1px solid var(--vmr-line-strong);
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.account-manage-sidebar {
    position: sticky;
    top: 16px;
    padding: 10px;
}

.account-manage-nav {
    display: grid;
    gap: 6px;
}

.account-manage-nav__link {
    display: flex;
    min-height: 40px;
    align-items: center;
    padding: 0 12px;
    border-radius: var(--vmr-radius);
    color: var(--vmr-text-soft);
    text-decoration: none;
    font-weight: 600;
}

.account-manage-nav__link:hover {
    background: var(--vmr-surface-muted);
    color: #0f172a;
}

.account-manage-nav__link.active {
    background: #0d0d0d;
    color: #ffffff;
}

.account-manage-content {
    min-width: 0;
    padding: 24px;
}

.account-manage-content h3 {
    margin: 0 0 16px;
    color: #0f172a;
    font-size: 1.5rem;
}

.account-manage-content .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

.account-manage-content .col-xl-6,
.account-manage-content .col-md-6,
.account-manage-content .col-md-4,
.account-manage-content .col-lg-6 {
    width: min(100%, 680px);
    max-width: 100%;
}

.account-manage-content .form-floating,
.account-manage-content .mb-3 {
    margin-bottom: 14px !important;
}

.account-manage-content .form-control,
.account-manage-content .form-select {
    min-height: 44px;
    border: 1px solid var(--vmr-line-strong);
    background: #ffffff;
    color: #0f172a;
}

.account-manage-content .form-control:focus,
.account-manage-content .form-select:focus {
    border-color: var(--vmr-accent);
    box-shadow: 0 0 0 4px var(--vmr-ring);
}

.account-manage-content .btn-primary,
.account-manage-content .btn-danger,
body > .row .btn-primary,
body > .row .btn-danger {
    min-height: 42px;
    border-radius: var(--vmr-radius);
    border: 1px solid #0d0d0d;
    background: #0d0d0d;
    color: #ffffff;
    font-weight: 600;
}

.account-manage-content .btn-danger,
body > .row .btn-danger {
    border-color: #991b1b;
    background: #991b1b;
}

.account-card .alert,
.account-manage-content .alert,
body > .alert {
    border-radius: var(--vmr-radius);
    border: 1px solid var(--vmr-line-strong);
    background: var(--vmr-surface-muted);
    color: #0f172a;
}

.account-card .alert-danger,
.account-manage-content .alert-danger,
body > .alert-danger {
    border-color: rgba(212, 86, 86, 0.3);
    background: rgba(212, 86, 86, 0.08);
    color: #9e3030;
}

body > h1,
body > h2,
body > h3,
body > p,
body > .row,
body > form,
body > .alert,
body > hr {
    width: min(100% - 32px, 560px);
    margin-left: auto;
    margin-right: auto;
}

body > h1:first-child,
body > h2:first-child,
body > h3:first-child {
    margin-top: 64px;
}

body > h1,
body > h2,
body > h3 {
    color: #0f172a;
}

body > p {
    color: var(--vmr-text-soft);
    line-height: 1.6;
}

body > .row,
body > form {
    padding: 24px;
    border: 1px solid var(--vmr-line-strong);
    border-radius: var(--vmr-radius);
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

body > .row [class^="col-"],
body > .row [class*=" col-"] {
    width: 100%;
    max-width: 100%;
}

body > .row .form-control,
body > form .form-control {
    min-height: 44px;
    border: 1px solid var(--vmr-line-strong);
    border-radius: var(--vmr-radius);
}

body > hr {
    border-color: var(--vmr-line-strong);
    opacity: 1;
}

@media (max-width: 980px) {
    .landing-hero {
        min-height: auto;
    }

    .dashboard-page--compact .dashboard-shell--tabbed,
    .admin-page .dashboard-shell,
    .account-manage-shell {
        width: min(100% - 20px, 1680px);
    }

    .account-manage-header,
    .account-manage-grid,
    .dashboard-page--compact .dashboard-header {
        grid-template-columns: 1fr;
    }

    .account-manage-sidebar {
        position: static;
    }

    .account-manage-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-tabs {
        width: 100%;
    }
}

@media (max-width: 680px) {
    .landing-hero__copy h1 {
        max-width: 100%;
        font-size: clamp(2.25rem, 11vw, 3.4rem);
    }

    .utility-page,
    .account-page {
        padding: 24px 12px;
    }

    .utility-card,
    .account-card,
    .account-manage-content {
        padding: 18px;
    }

    .utility-actions,
    .utility-actions .primary-action,
    .utility-actions .dashboard-secondary-action,
    .dashboard-header__actions,
    .dashboard-header__actions .primary-action,
    .dashboard-header__actions .dashboard-secondary-action {
        width: 100%;
    }

    .utility-actions .primary-action,
    .utility-actions .dashboard-secondary-action,
    .dashboard-header__actions .primary-action,
    .dashboard-header__actions .dashboard-secondary-action {
        justify-content: center;
    }

    .account-manage-nav {
        grid-template-columns: 1fr;
    }

    .dashboard-tabs {
        border-radius: var(--vmr-radius);
    }

    .dashboard-tab {
        flex: 1 1 100%;
    }

    .meeting-mobile__dock {
        gap: 8px;
        padding: 10px;
    }

    .meeting-mobile__speaker-frame {
        min-height: 42vh;
    }
}

/* Retail meeting flow and user-management surfaces */
.meeting-join-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 20px 0;
    padding: 14px;
    border: 1px solid var(--vmr-line-strong);
    border-radius: var(--vmr-radius);
    background: #f8fafc;
}

.meeting-join-meta span {
    min-width: 0;
    display: grid;
    gap: 3px;
    color: var(--vmr-text-soft);
    font-size: 0.88rem;
    overflow-wrap: anywhere;
}

.meeting-join-meta strong {
    color: var(--vmr-text);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.meeting-join-shell .meeting-join-form {
    margin-top: 20px;
}

.admin-user-create {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--vmr-line-strong);
}

.admin-user-toolbar {
    margin: 0 16px 16px;
    padding: 16px;
    border: 1px solid var(--vmr-line-strong);
    border-radius: var(--vmr-radius);
    background: #f8fafc;
}

.admin-user-actions {
    min-width: 220px;
    flex-wrap: nowrap;
}

.admin-user-actions .dashboard-table-action,
.admin-user-actions .dashboard-link-button {
    white-space: nowrap;
}

.meeting-stage__host-controls,
.video-wall__host-actions,
.meeting-mobile__host-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.meeting-stage__host-button,
.video-wall__host-actions button,
.meeting-mobile__host-panel button {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--vmr-line-strong);
    border-radius: 10px;
    background: #ffffff;
    color: var(--vmr-text);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.meeting-stage__host-button--danger,
.video-wall__host-actions .video-wall__host-remove,
.meeting-mobile__host-panel .meeting-mobile__host-danger {
    border-color: rgba(220, 38, 38, 0.35);
    background: #fff1f2;
    color: #b91c1c;
}

.meeting-stage__host-button:disabled,
.video-wall__host-actions button:disabled,
.meeting-mobile__host-panel button:disabled {
    cursor: wait;
    opacity: 0.55;
}

.video-wall__host-actions {
    position: absolute;
    z-index: 3;
    top: 10px;
    right: 10px;
    padding: 6px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(8px);
}

.meeting-mobile__host-panel {
    display: grid;
    gap: 8px;
    margin: 0 12px 10px;
    padding: 10px;
    border: 1px solid var(--vmr-line-strong);
    border-radius: var(--vmr-radius);
    background: #ffffff;
}

.meeting-mobile__host-actions {
    justify-content: flex-end;
}

.meeting-mobile__host-participant {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid var(--vmr-line);
}

.meeting-mobile__host-participant span {
    overflow: hidden;
    font-size: 0.85rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .meeting-join-shell {
        padding: 14px;
    }

    .meeting-join-shell__content {
        padding: 22px;
    }

    .meeting-join-meta,
    .admin-user-toolbar {
        grid-template-columns: 1fr;
    }

    .meeting-join-form,
    .meeting-join-form .field-stack,
    .meeting-join-form .primary-action {
        width: 100%;
    }

    .meeting-join-form .primary-action {
        justify-content: center;
    }

    .admin-user-actions {
        min-width: 190px;
    }

    .meeting-stage__host-controls {
        width: 100%;
        justify-content: flex-end;
    }

    .meeting-mobile__host-participant {
        grid-template-columns: minmax(0, 1fr) auto auto;
    }
}

/* --------------------------------------------------------------------------
   Dark meeting room experience
   -------------------------------------------------------------------------- */

.meeting-room-screen {
    --meeting-bg: #05070d;
    --meeting-surface: #0c1019;
    --meeting-surface-raised: #121823;
    --meeting-surface-soft: rgba(18, 24, 35, 0.78);
    --meeting-line: rgba(255, 255, 255, 0.09);
    --meeting-line-strong: rgba(255, 255, 255, 0.15);
    --meeting-text: #f7f8fb;
    --meeting-muted: #98a2b3;
    --meeting-accent: #72e2bd;
    --meeting-accent-strong: #42c99a;
    --meeting-accent-soft: rgba(80, 213, 170, 0.14);
    --meeting-danger: #ff6678;
    --meeting-danger-soft: rgba(255, 84, 106, 0.15);
    --meeting-focus: #78a9ff;
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    color: var(--meeting-text);
    color-scheme: dark;
    background:
        radial-gradient(circle at 10% -10%, rgba(64, 126, 164, 0.18), transparent 38%),
        radial-gradient(circle at 92% 105%, rgba(37, 143, 112, 0.12), transparent 34%),
        var(--meeting-bg);
    isolation: isolate;
}

.meeting-room-screen::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    opacity: 0.3;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.017) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.017) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.meeting-room-screen .meeting-rail {
    display: none;
}

.meeting-room-screen .meeting-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    color: var(--meeting-text);
    background: transparent;
}

.meeting-room-screen button,
.meeting-room-screen input,
.meeting-room-screen a {
    -webkit-tap-highlight-color: transparent;
}

.meeting-room-screen button:focus-visible,
.meeting-room-screen input:focus-visible,
.meeting-room-screen a:focus-visible,
.meeting-room-screen [tabindex]:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--meeting-focus) 75%, transparent);
    outline-offset: 3px;
}

/* Joined room header */

.meeting-room-screen .meeting-stage__topbar {
    z-index: 5;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    padding: 11px 18px;
    gap: 20px;
    color: var(--meeting-text);
    border-bottom: 1px solid var(--meeting-line);
    background: rgba(6, 9, 15, 0.82);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(20px) saturate(130%);
}

.meeting-stage__identity,
.meeting-stage__actions,
.meeting-stage__stats,
.meeting-stage__host-controls {
    display: flex;
    align-items: center;
}

.meeting-stage__identity {
    min-width: 0;
    gap: 12px;
}

.meeting-stage__brand {
    display: inline-grid;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #06120e;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    background: linear-gradient(145deg, #9cf2d4, #44c99b);
    box-shadow: 0 8px 24px rgba(51, 199, 151, 0.22);
}

.meeting-stage__room {
    display: grid;
    min-width: 0;
    gap: 1px;
}

.meeting-room-screen .meeting-stage__eyebrow {
    color: var(--meeting-accent);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.2;
    text-transform: uppercase;
}

.meeting-stage__room strong {
    max-width: min(32vw, 470px);
    overflow: hidden;
    color: var(--meeting-text);
    font-size: 0.96rem;
    font-weight: 750;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.meeting-stage__room-code {
    color: var(--meeting-muted);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.7rem;
    line-height: 1.3;
}

.meeting-stage__actions {
    justify-content: flex-end;
    min-width: 0;
    gap: 9px;
}

.meeting-stage__stats {
    gap: 7px;
}

.meeting-status-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    gap: 7px;
    color: #c8ced9;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid var(--meeting-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
}

.meeting-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--meeting-accent);
    box-shadow: 0 0 0 4px rgba(86, 221, 175, 0.1), 0 0 12px rgba(86, 221, 175, 0.55);
}

.meeting-stage__size-controls,
.meeting-stage__host-controls {
    padding: 3px;
    gap: 3px;
    border: 1px solid var(--meeting-line);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.035);
}

.meeting-room-screen .meeting-stage__size-button,
.meeting-stage__host-button,
.meeting-stage__people-button {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    color: #b7c0cf;
    font-size: 0.7rem;
    font-weight: 800;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    transition: color 140ms ease, background-color 140ms ease, transform 140ms ease;
}

.meeting-room-screen .meeting-stage__size-button:hover,
.meeting-stage__host-button:hover,
.meeting-stage__people-button:hover {
    color: var(--meeting-text);
    background: rgba(255, 255, 255, 0.08);
}

.meeting-room-screen .meeting-stage__size-button--active {
    color: #06120e;
    background: var(--meeting-accent);
}

.meeting-stage__people-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--meeting-line);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.035);
}

.meeting-stage__people-button svg {
    width: 17px;
    height: 17px;
}

.meeting-stage__host-button--danger {
    color: #ff9eaa;
}

.meeting-stage__host-button--danger:hover {
    color: #fff;
    background: var(--meeting-danger-soft);
}

.meeting-room-screen button:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

/* Notices */

.meeting-room-screen .meeting-banner {
    z-index: 4;
    flex: 0 0 auto;
    align-self: center;
    width: min(760px, calc(100% - 32px));
    margin: 10px auto 0;
    padding: 10px 14px;
    color: #d5f8eb;
    font-size: 0.78rem;
    font-weight: 650;
    text-align: center;
    border: 1px solid rgba(84, 213, 171, 0.24);
    border-radius: 12px;
    background: rgba(31, 110, 86, 0.25);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px);
}

.meeting-room-screen .meeting-banner--error {
    color: #ffd7dc;
    border-color: rgba(255, 102, 120, 0.3);
    background: rgba(139, 37, 52, 0.3);
}

/* Pre-join */

.meeting-room-screen .meeting-join-shell {
    position: relative;
    display: grid;
    flex: 1 1 auto;
    min-height: 0;
    padding: clamp(24px, 5vw, 72px);
    place-items: center;
    overflow: auto;
    background: transparent;
}

.meeting-join-shell__orb {
    position: absolute;
    width: min(38vw, 520px);
    aspect-ratio: 1;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.16;
}

.meeting-join-shell__orb--one {
    top: -18%;
    left: -8%;
    background: #4ca9d5;
}

.meeting-join-shell__orb--two {
    right: -8%;
    bottom: -22%;
    background: #36c894;
}

.meeting-room-screen .meeting-join-shell__content {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    padding: 0;
    overflow: hidden;
    color: var(--meeting-text);
    border: 1px solid var(--meeting-line-strong);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(18, 25, 37, 0.96), rgba(8, 12, 20, 0.96));
    box-shadow: 0 36px 90px rgba(0, 0, 0, 0.52), inset 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px);
}

.meeting-join-shell__brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--meeting-line);
}

.meeting-join-shell__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--meeting-text);
    font-size: 0.82rem;
    text-decoration: none;
}

.meeting-join-shell__brand span {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #07130f;
    font-size: 0.68rem;
    font-weight: 900;
    border-radius: 11px;
    background: linear-gradient(145deg, #9cf2d4, #44c99b);
}

.meeting-join-shell__brand strong {
    font-weight: 800;
    letter-spacing: -0.01em;
}

.meeting-join-shell__secure {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #b6c1d0;
    font-size: 0.72rem;
    font-weight: 650;
}

.meeting-join-shell__secure svg {
    width: 16px;
    height: 16px;
    color: var(--meeting-accent);
}

.meeting-join-shell__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
    align-items: stretch;
}

.meeting-join-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(34px, 5vw, 68px);
    border-right: 1px solid var(--meeting-line);
}

.meeting-join-intro h1 {
    max-width: 720px;
    margin: 11px 0 14px;
    color: var(--meeting-text);
    font-size: clamp(2rem, 4.5vw, 4.1rem);
    font-weight: 770;
    letter-spacing: -0.055em;
    line-height: 0.98;
    overflow-wrap: anywhere;
}

.meeting-join-intro > p {
    max-width: 590px;
    margin: 0;
    color: #acb6c5;
    font-size: clamp(0.92rem, 1.5vw, 1.05rem);
    line-height: 1.65;
}

.meeting-room-screen .meeting-join-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 30px 0 0;
    padding: 0;
    overflow: hidden;
    color: #aeb8c6;
    border: 1px solid var(--meeting-line);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.025);
}

.meeting-join-meta span {
    display: grid;
    min-width: 0;
    padding: 13px 15px;
    gap: 4px;
    font-size: 0.78rem;
    line-height: 1.4;
    border-right: 1px solid var(--meeting-line);
    border-bottom: 1px solid var(--meeting-line);
}

.meeting-join-meta span:nth-child(2n) {
    border-right: 0;
}

.meeting-join-meta span:last-child {
    border-bottom: 0;
}

.meeting-join-meta strong {
    color: #e4e8ef;
    font-size: 0.65rem;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.meeting-join-trust {
    display: flex;
    flex-wrap: wrap;
    margin-top: 18px;
    gap: 7px;
}

.meeting-join-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #8f9aa9;
    font-size: 0.67rem;
    font-weight: 650;
}

.meeting-join-trust span::before {
    width: 4px;
    height: 4px;
    content: "";
    border-radius: 50%;
    background: var(--meeting-accent);
}

.meeting-join-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 4vw, 46px);
    background: rgba(4, 7, 12, 0.38);
}

.meeting-join-card__header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    gap: 12px;
}

.meeting-join-card__icon {
    display: inline-grid;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--meeting-accent);
    border: 1px solid rgba(114, 226, 189, 0.18);
    border-radius: 14px;
    background: var(--meeting-accent-soft);
}

.meeting-join-card__icon svg {
    width: 21px;
    height: 21px;
}

.meeting-join-card__header div {
    display: grid;
    gap: 2px;
}

.meeting-join-card__header strong {
    color: var(--meeting-text);
    font-size: 0.98rem;
}

.meeting-join-card__header div span {
    color: var(--meeting-muted);
    font-size: 0.73rem;
}

.meeting-room-screen .meeting-join-form {
    display: grid;
    width: 100%;
    gap: 17px;
}

.meeting-room-screen .meeting-join-form .field-stack {
    display: grid;
    width: 100%;
    gap: 7px;
}

.meeting-room-screen .meeting-join-form label {
    color: #d7dce5;
    font-size: 0.73rem;
    font-weight: 700;
}

.meeting-room-screen .room-input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    color: var(--meeting-text);
    font-size: 0.9rem;
    border: 1px solid var(--meeting-line-strong);
    border-radius: 12px;
    outline: 0;
    background: rgba(255, 255, 255, 0.045);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.02);
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.meeting-room-screen .room-input::placeholder {
    color: #687385;
}

.meeting-room-screen .room-input:focus {
    border-color: rgba(114, 226, 189, 0.58);
    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 0 0 4px rgba(79, 210, 168, 0.1);
}

.meeting-room-screen .meeting-join-card__submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 52px;
    margin-top: 2px;
    padding: 0 17px;
    color: #06130f;
    font-size: 0.83rem;
    font-weight: 850;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #8cebc9, #46cb9c);
    box-shadow: 0 13px 30px rgba(55, 198, 151, 0.2);
    cursor: pointer;
    transition: transform 140ms ease, filter 140ms ease, box-shadow 140ms ease;
}

.meeting-room-screen .meeting-join-card__submit:hover:not(:disabled) {
    filter: brightness(1.06);
    box-shadow: 0 16px 36px rgba(55, 198, 151, 0.28);
    transform: translateY(-1px);
}

.meeting-join-card__submit svg {
    width: 18px;
    height: 18px;
}

.meeting-join-card__privacy {
    margin: 14px 0 0;
    color: #778293;
    font-size: 0.68rem;
    line-height: 1.5;
    text-align: center;
}

/* Desktop video wall */

.meeting-room-screen .meeting-desktop-layout {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    padding: 12px 16px 8px;
    overflow: hidden;
}

.meeting-room-screen .video-wall {
    display: grid;
    grid-auto-rows: minmax(180px, 1fr);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
    align-content: stretch;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    gap: 11px;
    overflow: auto;
    background: transparent;
}

.meeting-room-screen .video-wall--compact {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
}

.meeting-room-screen .video-wall--large {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
}

.meeting-room-screen .video-wall[data-count="1"] {
    grid-template-columns: minmax(0, min(1120px, 100%));
    justify-content: center;
}

.meeting-room-screen .video-wall__tile,
.meeting-room-screen .video-wall__tile--active {
    position: relative;
    grid-row: auto;
    grid-column: auto;
    width: 100%;
    min-width: 0;
    min-height: 180px;
    max-height: none;
    overflow: hidden;
    border: 1px solid var(--meeting-line);
    border-radius: 17px;
    background:
        radial-gradient(circle at 50% 30%, rgba(53, 68, 87, 0.46), transparent 55%),
        #090d14;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
    cursor: zoom-in;
    isolation: isolate;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.meeting-room-screen .video-wall__tile:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

.meeting-room-screen .video-wall__tile--active {
    border-color: rgba(114, 226, 189, 0.68);
    box-shadow: 0 0 0 1px rgba(114, 226, 189, 0.2), 0 18px 48px rgba(0, 0, 0, 0.36), 0 0 30px rgba(65, 205, 158, 0.09);
}

.meeting-room-screen .video-wall__tile video,
.meeting-room-screen .meeting-mobile__speaker-frame video,
.meeting-room-screen .meeting-mobile__filmstrip-tile video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #05070c;
}

.meeting-room-screen--screen-sharing .video-wall__tile--self video {
    object-fit: contain;
}

.meeting-room-screen .video-wall__meta {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    min-height: 74px;
    padding: 25px 13px 12px;
    gap: 12px;
    color: var(--meeting-text);
    background: linear-gradient(to top, rgba(3, 5, 9, 0.92), rgba(3, 5, 9, 0));
}

.video-wall__meta > div:first-child {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.meeting-room-screen .video-wall__meta strong {
    overflow: hidden;
    font-size: 0.78rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.meeting-room-screen .video-wall__meta > div:first-child span {
    color: #a4aebe;
    font-size: 0.64rem;
}

.meeting-room-screen .video-wall__meta-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
}

.meeting-room-screen .video-wall__tag,
.meeting-room-screen .video-wall__badge {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 3px 8px;
    color: #d4dae3;
    font-size: 0.61rem;
    font-weight: 750;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(11, 15, 22, 0.72);
    backdrop-filter: blur(10px);
}

.meeting-room-screen .video-wall__badge {
    color: #b9f5df;
    border-color: rgba(114, 226, 189, 0.25);
    background: rgba(32, 116, 87, 0.54);
}

.meeting-room-screen .video-wall__host-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: flex;
    padding: 4px;
    gap: 4px;
    opacity: 0;
    border: 1px solid var(--meeting-line);
    border-radius: 11px;
    background: rgba(5, 8, 13, 0.78);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
    transition: opacity 140ms ease;
}

.meeting-room-screen .video-wall__tile:hover .video-wall__host-actions,
.meeting-room-screen .video-wall__host-actions:focus-within {
    opacity: 1;
}

.meeting-room-screen .video-wall__host-actions button {
    min-height: 30px;
    padding: 0 9px;
    color: #d6dce5;
    font-size: 0.65rem;
    font-weight: 750;
    border: 0;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.06);
}

.meeting-room-screen .video-wall__host-actions .video-wall__host-remove {
    color: #ff9eaa;
    background: var(--meeting-danger-soft);
}

.meeting-room-screen .meeting-empty-wall {
    display: grid;
    flex: 1 1 auto;
    min-height: 0;
    margin: 16px;
    color: var(--meeting-text);
    text-align: center;
    place-content: center;
    border: 1px dashed var(--meeting-line-strong);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
}

.meeting-room-screen .meeting-empty-wall strong {
    font-size: 1.1rem;
}

.meeting-room-screen .meeting-empty-wall p {
    margin: 5px 0 0;
    color: var(--meeting-muted);
    font-size: 0.78rem;
}

/* Desktop control dock */

.meeting-desktop-dock {
    z-index: 6;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 82px;
    padding: 8px 16px 13px;
    pointer-events: none;
}

.meeting-desktop-dock__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    gap: 4px;
    pointer-events: auto;
    border: 1px solid var(--meeting-line-strong);
    border-radius: 18px;
    background: rgba(13, 18, 27, 0.84);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.46), inset 0 1px rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(22px) saturate(130%);
}

.meeting-desktop-dock__button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 57px;
    padding: 5px 4px;
    gap: 4px;
    color: #c0c8d4;
    border: 0;
    border-radius: 13px;
    background: transparent;
    cursor: pointer;
    transition: color 140ms ease, background-color 140ms ease, transform 140ms ease;
}

.meeting-desktop-dock__button:hover:not(:disabled) {
    color: var(--meeting-text);
    background: rgba(255, 255, 255, 0.075);
    transform: translateY(-1px);
}

.meeting-desktop-dock__button svg {
    width: 20px;
    height: 20px;
}

.meeting-desktop-dock__button span {
    max-width: 100%;
    overflow: hidden;
    font-size: 0.61rem;
    font-weight: 700;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.meeting-desktop-dock__button--active {
    color: var(--meeting-accent);
}

.meeting-desktop-dock__button--off {
    color: #ff9eaa;
    background: var(--meeting-danger-soft);
}

.meeting-desktop-dock__button--danger {
    width: 74px;
    margin-left: 5px;
    color: #fff;
    background: linear-gradient(145deg, #e74c61, #c92e45);
    box-shadow: 0 9px 22px rgba(205, 45, 68, 0.25);
}

.meeting-desktop-dock__button--danger:hover:not(:disabled) {
    background: linear-gradient(145deg, #f1576b, #d5354d);
}

/* Participant panel */

.meeting-people-backdrop {
    position: fixed;
    inset: 0;
    z-index: 30;
    padding: 0;
    border: 0;
    background: rgba(1, 3, 7, 0.55);
    backdrop-filter: blur(3px);
    cursor: default;
    animation: meeting-fade-in 160ms ease-out both;
}

.meeting-people-panel {
    position: fixed;
    top: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 31;
    display: flex;
    flex-direction: column;
    width: min(380px, calc(100vw - 24px));
    min-height: 0;
    overflow: hidden;
    color: var(--meeting-text);
    border: 1px solid var(--meeting-line-strong);
    border-radius: 22px;
    background: rgba(13, 17, 26, 0.96);
    box-shadow: -20px 24px 70px rgba(0, 0, 0, 0.55), inset 0 1px rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px) saturate(130%);
    animation: meeting-panel-in 190ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.meeting-people-panel__header {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--meeting-line);
}

.meeting-people-panel__header h2 {
    margin: 4px 0 0;
    color: var(--meeting-text);
    font-size: 1.12rem;
    letter-spacing: -0.025em;
}

.meeting-people-panel__header h2 span {
    display: inline-grid;
    min-width: 23px;
    height: 23px;
    margin-left: 4px;
    padding: 0 6px;
    color: var(--meeting-accent);
    font-size: 0.68rem;
    vertical-align: 2px;
    place-items: center;
    border-radius: 999px;
    background: var(--meeting-accent-soft);
}

.meeting-people-panel__close {
    display: inline-grid;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    color: #aeb7c5;
    border: 1px solid var(--meeting-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.meeting-people-panel__close:hover {
    color: var(--meeting-text);
    background: rgba(255, 255, 255, 0.08);
}

.meeting-people-panel__close svg {
    width: 19px;
    height: 19px;
}

.meeting-people-panel__list {
    display: grid;
    align-content: start;
    flex: 1 1 auto;
    min-height: 0;
    padding: 10px;
    gap: 4px;
    overflow: auto;
}

.meeting-person {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    min-height: 61px;
    padding: 8px 10px;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: transparent;
    transition: border-color 140ms ease, background-color 140ms ease;
}

.meeting-person:hover {
    background: rgba(255, 255, 255, 0.035);
}

.meeting-person--speaking {
    border-color: rgba(114, 226, 189, 0.16);
    background: rgba(75, 196, 156, 0.06);
}

.meeting-person__avatar {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: #bff7e4;
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.02em;
    border: 1px solid rgba(114, 226, 189, 0.18);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(72, 185, 149, 0.24), rgba(43, 104, 119, 0.18));
}

.meeting-person__identity {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.meeting-person__identity strong {
    overflow: hidden;
    color: #ebedf2;
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.meeting-person__identity span {
    overflow: hidden;
    color: var(--meeting-muted);
    font-size: 0.65rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.meeting-person__state {
    padding: 4px 7px;
    color: #ffb1bb;
    font-size: 0.58rem;
    font-weight: 750;
    border-radius: 999px;
    background: var(--meeting-danger-soft);
}

.meeting-person__actions {
    display: flex;
    grid-column: 2 / -1;
    justify-content: flex-end;
    gap: 6px;
}

.meeting-person__actions button,
.meeting-people-panel__footer button {
    min-height: 31px;
    padding: 0 10px;
    color: #cbd2dc;
    font-size: 0.64rem;
    font-weight: 750;
    border: 1px solid var(--meeting-line);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.045);
    cursor: pointer;
}

.meeting-person__actions .meeting-person__remove,
.meeting-people-panel__footer .meeting-people-panel__danger {
    color: #ffabb5;
    border-color: rgba(255, 102, 120, 0.2);
    background: var(--meeting-danger-soft);
}

.meeting-people-panel__footer {
    display: flex;
    flex: 0 0 auto;
    padding: 12px;
    gap: 8px;
    border-top: 1px solid var(--meeting-line);
}

.meeting-people-panel__footer button {
    flex: 1 1 0;
    min-height: 42px;
}

@keyframes meeting-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes meeting-panel-in {
    from { opacity: 0; transform: translateX(18px) scale(0.985); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

/* Mobile room */

.meeting-room-screen .meeting-mobile-layout {
    display: none;
}

@media (max-width: 920px) {
    .meeting-room-screen::before {
        opacity: 0.18;
        background-size: 42px 42px;
    }

    .meeting-room-screen .meeting-stage__topbar,
    .meeting-room-screen .meeting-desktop-layout,
    .meeting-room-screen .meeting-desktop-dock {
        display: none;
    }

    .meeting-room-screen .meeting-mobile-layout {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        min-height: 0;
        overflow: hidden;
        color: var(--meeting-text);
        background: transparent;
    }

    .meeting-room-screen .meeting-mobile__header {
        z-index: 5;
        display: grid;
        flex: 0 0 auto;
        min-height: auto;
        padding: max(10px, env(safe-area-inset-top)) max(13px, env(safe-area-inset-right)) 9px max(13px, env(safe-area-inset-left));
        gap: 8px;
        color: var(--meeting-text);
        border-bottom: 1px solid var(--meeting-line);
        background: rgba(5, 8, 13, 0.84);
        backdrop-filter: blur(20px) saturate(130%);
    }

    .meeting-mobile__header-main {
        display: flex;
        align-items: center;
        min-width: 0;
        gap: 10px;
    }

    .meeting-mobile__brand {
        display: inline-grid;
        flex: 0 0 auto;
        width: 38px;
        height: 38px;
        place-items: center;
        color: #06120e;
        font-size: 0.68rem;
        font-weight: 900;
        text-decoration: none;
        border-radius: 12px;
        background: linear-gradient(145deg, #9cf2d4, #44c99b);
        box-shadow: 0 7px 20px rgba(51, 199, 151, 0.18);
    }

    .meeting-mobile__meeting {
        display: grid;
        flex: 1 1 auto;
        min-width: 0;
        gap: 2px;
    }

    .meeting-mobile__meeting strong {
        overflow: hidden;
        color: var(--meeting-text);
        font-size: 0.86rem;
        font-weight: 750;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .meeting-mobile__meeting span {
        overflow: hidden;
        color: var(--meeting-muted);
        font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
        font-size: 0.62rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .meeting-mobile__people-button {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        min-width: 46px;
        height: 40px;
        padding: 0 10px;
        gap: 6px;
        color: #d1d7e0;
        font-size: 0.7rem;
        font-weight: 750;
        border: 1px solid var(--meeting-line);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.045);
    }

    .meeting-mobile__people-button svg {
        width: 17px;
        height: 17px;
    }

    .meeting-room-screen .meeting-mobile__header-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0;
        gap: 10px;
        color: var(--meeting-muted);
        border: 0;
        background: transparent;
    }

    .meeting-mobile__header-meta .meeting-status-chip {
        min-height: 22px;
        padding: 2px 8px;
        font-size: 0.6rem;
    }

    .meeting-mobile__header-meta .meeting-status-dot {
        width: 5px;
        height: 5px;
        box-shadow: 0 0 0 3px rgba(86, 221, 175, 0.08);
    }

    .meeting-room-screen .meeting-mobile__header-speaker {
        min-width: 0;
        overflow: hidden;
        color: #8f9bab;
        font-size: 0.61rem;
        font-weight: 650;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .meeting-room-screen .meeting-banner {
        position: absolute;
        top: calc(max(10px, env(safe-area-inset-top)) + 76px);
        left: 50%;
        z-index: 9;
        width: calc(100% - 26px);
        margin: 0;
        transform: translateX(-50%);
    }

    .meeting-room-screen .meeting-mobile__speaker-stage {
        display: grid;
        flex: 1 1 auto;
        min-height: 0;
        padding: 9px 10px 6px;
        place-items: stretch;
        overflow: hidden;
        background: transparent;
    }

    .meeting-room-screen .meeting-mobile__speaker-frame {
        position: relative;
        width: 100%;
        height: 100%;
        min-height: 0;
        overflow: hidden;
        border: 1px solid var(--meeting-line);
        border-radius: 18px;
        background:
            radial-gradient(circle at 50% 28%, rgba(52, 68, 88, 0.46), transparent 56%),
            #090d14;
        box-shadow: 0 15px 38px rgba(0, 0, 0, 0.32);
        cursor: zoom-in;
    }

    .meeting-room-screen .meeting-mobile__speaker-frame--self {
        border-color: rgba(114, 226, 189, 0.25);
    }

    .meeting-room-screen .meeting-mobile__speaker-meta {
        position: absolute;
        inset: auto 0 0;
        z-index: 2;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        min-height: 72px;
        padding: 25px 13px 12px;
        gap: 10px;
        color: var(--meeting-text);
        background: linear-gradient(to top, rgba(3, 5, 9, 0.94), transparent);
    }

    .meeting-mobile__speaker-meta > div {
        display: grid;
        min-width: 0;
        gap: 1px;
    }

    .meeting-mobile__speaker-meta strong {
        overflow: hidden;
        font-size: 0.78rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .meeting-mobile__speaker-meta div span {
        color: var(--meeting-muted);
        font-size: 0.62rem;
    }

    .meeting-room-screen .meeting-mobile__filmstrip {
        display: flex;
        flex: 0 0 102px;
        min-height: 0;
        padding: 3px 10px 7px;
        gap: 7px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-padding-inline: 10px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        border: 0;
        background: transparent;
    }

    .meeting-mobile__filmstrip::-webkit-scrollbar {
        display: none;
    }

    .meeting-room-screen .meeting-mobile__filmstrip-tile {
        position: relative;
        flex: 0 0 130px;
        width: 130px;
        min-width: 130px;
        height: 92px;
        overflow: hidden;
        scroll-snap-align: start;
        border: 1px solid var(--meeting-line);
        border-radius: 13px;
        background: #090d14;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
    }

    .meeting-room-screen .meeting-mobile__filmstrip-meta {
        position: absolute;
        inset: auto 0 0;
        padding: 14px 8px 6px;
        color: var(--meeting-text);
        background: linear-gradient(to top, rgba(3, 5, 9, 0.9), transparent);
    }

    .meeting-mobile__filmstrip-meta strong {
        display: block;
        overflow: hidden;
        font-size: 0.62rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .meeting-room-screen .meeting-mobile__dock {
        z-index: 6;
        display: grid;
        flex: 0 0 auto;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        min-height: calc(73px + env(safe-area-inset-bottom));
        padding: 7px max(8px, env(safe-area-inset-right)) max(7px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
        gap: 4px;
        border-top: 1px solid var(--meeting-line);
        background: rgba(7, 10, 16, 0.93);
        box-shadow: 0 -14px 35px rgba(0, 0, 0, 0.22);
        backdrop-filter: blur(22px) saturate(130%);
    }

    .meeting-room-screen .meeting-mobile__dock-button {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: 0;
        min-height: 56px;
        padding: 5px 2px;
        gap: 4px;
        color: #b9c2cf;
        border: 0;
        border-radius: 13px;
        background: transparent;
    }

    .meeting-room-screen .meeting-mobile__dock-button svg {
        width: 21px;
        height: 21px;
    }

    .meeting-room-screen .meeting-mobile__dock-button span {
        max-width: 100%;
        overflow: hidden;
        font-size: 0.58rem;
        font-weight: 700;
        line-height: 1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .meeting-room-screen .meeting-mobile__dock-button--active {
        color: var(--meeting-accent);
        background: rgba(114, 226, 189, 0.07);
    }

    .meeting-room-screen .meeting-mobile__dock-button--off {
        color: #ff9eaa;
        background: var(--meeting-danger-soft);
    }

    .meeting-room-screen .meeting-mobile__dock-button--danger {
        color: #fff;
        background: linear-gradient(145deg, #e64a60, #c72d44);
        box-shadow: 0 7px 18px rgba(205, 45, 68, 0.22);
    }

    .meeting-people-panel {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        max-height: min(78dvh, 680px);
        padding-bottom: env(safe-area-inset-bottom);
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 24px 24px 0 0;
        animation-name: meeting-sheet-in;
    }

    .meeting-people-panel::before {
        align-self: center;
        flex: 0 0 auto;
        width: 42px;
        height: 4px;
        margin-top: 8px;
        content: "";
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.17);
    }

    .meeting-people-panel__header {
        padding: 14px 16px 13px;
    }

    .meeting-person {
        min-height: 64px;
    }

    @keyframes meeting-sheet-in {
        from { opacity: 0; transform: translateY(24px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .meeting-room-screen .meeting-join-shell {
        display: block;
        padding: max(14px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    }

    .meeting-room-screen .meeting-join-shell__content {
        width: min(620px, 100%);
        margin: auto;
        border-radius: 22px;
    }

    .meeting-join-shell__grid {
        grid-template-columns: 1fr;
    }

    .meeting-join-intro {
        padding: clamp(28px, 8vw, 46px) clamp(22px, 7vw, 40px);
        border-right: 0;
        border-bottom: 1px solid var(--meeting-line);
    }

    .meeting-join-intro h1 {
        font-size: clamp(2rem, 10vw, 3.25rem);
    }

    .meeting-join-card {
        padding: clamp(24px, 7vw, 38px);
    }
}

@media (max-width: 560px) {
    .meeting-join-shell__brand-row {
        padding: 14px 16px;
    }

    .meeting-join-shell__secure {
        font-size: 0;
    }

    .meeting-join-shell__secure svg {
        width: 18px;
        height: 18px;
    }

    .meeting-join-intro {
        padding: 27px 21px;
    }

    .meeting-room-screen .meeting-join-meta {
        grid-template-columns: 1fr;
        margin-top: 24px;
    }

    .meeting-join-meta span,
    .meeting-join-meta span:nth-child(2n) {
        border-right: 0;
    }

    .meeting-join-card {
        padding: 25px 21px 27px;
    }

    .meeting-join-trust {
        gap: 6px 10px;
    }

    .meeting-person__actions {
        grid-column: 1 / -1;
    }
}

@media (max-height: 610px) and (orientation: landscape) and (max-width: 920px) {
    .meeting-room-screen .meeting-mobile__header {
        padding-top: max(6px, env(safe-area-inset-top));
        padding-bottom: 6px;
        gap: 3px;
    }

    .meeting-mobile__brand {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .meeting-mobile__people-button {
        height: 34px;
    }

    .meeting-room-screen .meeting-mobile__filmstrip {
        display: none;
    }

    .meeting-room-screen .meeting-mobile__speaker-stage {
        padding: 6px 9px;
    }

    .meeting-room-screen .meeting-mobile__speaker-frame {
        border-radius: 14px;
    }

    .meeting-room-screen .meeting-mobile__dock {
        min-height: calc(59px + env(safe-area-inset-bottom));
        padding-top: 4px;
        padding-bottom: max(4px, env(safe-area-inset-bottom));
    }

    .meeting-room-screen .meeting-mobile__dock-button {
        min-height: 48px;
    }

    .meeting-room-screen .meeting-mobile__dock-button svg {
        width: 18px;
        height: 18px;
    }
}

@media (hover: none) {
    .meeting-room-screen .video-wall__host-actions {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .meeting-room-screen *,
    .meeting-room-screen *::before,
    .meeting-room-screen *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Final viewport containment: room content must never create horizontal scroll. */
.meeting-room-screen,
.meeting-room-screen *,
.meeting-room-screen *::before,
.meeting-room-screen *::after {
    box-sizing: border-box;
}

.meeting-room-screen .meeting-join-shell__content,
.meeting-room-screen .meeting-join-shell__grid,
.meeting-room-screen .meeting-join-intro,
.meeting-room-screen .meeting-join-card {
    max-width: 100%;
    min-width: 0;
}

.meeting-room-screen .meeting-join-intro h1 {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.meeting-room-screen h1[tabindex]:focus,
.meeting-room-screen h1[tabindex]:focus-visible {
    border: 0;
    outline: 0;
    box-shadow: none;
}

@media (max-width: 920px) {
    .meeting-room-screen .meeting-banner {
        position: relative;
        top: auto;
        left: auto;
        align-self: center;
        width: calc(100% - 24px);
        margin: 8px 12px 0;
        transform: none;
    }
}

@media (max-width: 560px) {
    .meeting-room-screen .meeting-join-intro h1 {
        font-size: clamp(1.85rem, 9vw, 2.6rem);
        letter-spacing: -0.045em;
        line-height: 1.02;
    }
}

/* --------------------------------------------------------------------------
   Clean retail home
   -------------------------------------------------------------------------- */

.home-page {
    --home-ink: #101512;
    --home-muted: #667069;
    --home-line: #dce2dd;
    --home-line-strong: #c7d0c9;
    --home-paper: #f7f9f6;
    --home-white: #ffffff;
    --home-soft: #eef3ef;
    --home-accent: #16a173;
    --home-accent-dark: #08744f;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: clip;
    color: var(--home-ink);
    background: var(--home-paper);
}

.home-page,
.home-page *,
.home-page *::before,
.home-page *::after {
    box-sizing: border-box;
}

.home-page a {
    color: inherit;
    text-decoration: none;
}

.home-page button,
.home-page input {
    font: inherit;
}

.home-page button,
.home-page a,
.home-page summary {
    -webkit-tap-highlight-color: transparent;
}

.home-page button:focus-visible,
.home-page a:focus-visible,
.home-page input:focus-visible,
.home-page summary:focus-visible {
    outline: 3px solid rgba(22, 161, 115, 0.28);
    outline-offset: 3px;
}

.home-page h1[tabindex]:focus,
.home-page h1[tabindex]:focus-visible {
    outline: 0;
}

.home-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

/* Navigation */

.home-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(199, 208, 201, 0.82);
    background: rgba(247, 249, 246, 0.92);
    backdrop-filter: blur(20px) saturate(125%);
}

.home-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 72px;
    gap: 34px;
}

.home-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 11px;
}

.home-brand:hover {
    color: var(--home-ink);
}

.home-brand__mark {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    border-radius: 10px;
    background: var(--home-ink);
}

.home-brand__name {
    display: grid;
    gap: 0;
    line-height: 1.15;
}

.home-brand__name strong {
    font-size: 0.79rem;
    font-weight: 820;
    letter-spacing: -0.015em;
}

.home-brand__name small {
    color: var(--home-muted);
    font-size: 0.58rem;
}

.home-navigation {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    gap: 24px;
}

.home-nav-links,
.home-nav-actions {
    display: flex;
    align-items: center;
}

.home-nav-links {
    gap: 3px;
}

.home-nav-links > a {
    padding: 10px 13px;
    color: #4f5952;
    font-size: 0.73rem;
    font-weight: 700;
    border-radius: 9px;
    transition: color 140ms ease, background-color 140ms ease;
}

.home-nav-links > a:hover {
    color: var(--home-ink);
    background: rgba(16, 21, 18, 0.045);
}

.home-nav-actions {
    justify-content: flex-end;
    gap: 8px;
}

.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 15px;
    gap: 9px;
    color: var(--home-ink);
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: color 140ms ease, background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.home-button:hover {
    color: var(--home-ink);
    transform: translateY(-1px);
}

.home-button svg {
    width: 17px;
    height: 17px;
}

.home-button--quiet {
    border-color: var(--home-line-strong);
    background: transparent;
}

.home-button--quiet:hover {
    background: #fff;
}

.home-page .home-button--primary {
    color: #fff;
    border-color: var(--home-ink);
    background: var(--home-ink);
    box-shadow: 0 8px 20px rgba(16, 21, 18, 0.12);
}

.home-page .home-button--primary:hover {
    color: #fff;
    background: #222b25;
}

.home-button--dark {
    color: #fff;
    border-color: #0e1712;
    background: #0e1712;
}

.home-button--dark:hover {
    color: #fff;
    background: #1a2a21;
}

.home-button--large {
    min-height: 50px;
    padding-inline: 20px;
    font-size: 0.78rem;
    border-radius: 12px;
}

.home-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--home-line-strong);
    border-radius: 10px;
    background: transparent;
}

.home-menu-toggle span {
    position: absolute;
    width: 17px;
    height: 1.5px;
    border-radius: 99px;
    background: var(--home-ink);
    transition: transform 160ms ease;
}

.home-menu-toggle span:first-child {
    transform: translateY(-3px);
}

.home-menu-toggle span:last-child {
    transform: translateY(3px);
}

.home-menu-toggle--open span:first-child {
    transform: rotate(45deg);
}

.home-menu-toggle--open span:last-child {
    transform: rotate(-45deg);
}

.home-account-menu {
    position: relative;
}

.home-account-menu > summary {
    display: flex;
    align-items: center;
    max-width: 220px;
    min-height: 42px;
    padding: 4px 9px 4px 5px;
    gap: 8px;
    list-style: none;
    border: 1px solid var(--home-line);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.58);
    cursor: pointer;
}

.home-account-menu > summary::-webkit-details-marker {
    display: none;
}

.home-account-menu > summary > svg {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    color: #7d877f;
    transition: transform 140ms ease;
}

.home-account-menu[open] > summary > svg {
    transform: rotate(180deg);
}

.home-account-menu__avatar {
    display: inline-grid;
    flex: 0 0 auto;
    width: 31px;
    height: 31px;
    place-items: center;
    color: #07583e;
    font-size: 0.62rem;
    font-weight: 850;
    border-radius: 8px;
    background: #d9f3e8;
}

.home-account-menu__identity {
    display: grid;
    min-width: 0;
    gap: 0;
    line-height: 1.15;
}

.home-account-menu__identity small {
    color: var(--home-muted);
    font-size: 0.52rem;
}

.home-account-menu__identity strong {
    overflow: hidden;
    font-size: 0.65rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-account-menu__panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 45;
    display: grid;
    width: 206px;
    padding: 6px;
    gap: 2px;
    border: 1px solid var(--home-line-strong);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(16, 21, 18, 0.16);
}

.home-account-menu__panel a,
.home-account-menu__panel button {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 38px;
    padding: 0 10px;
    color: #354039;
    font-size: 0.69rem;
    font-weight: 700;
    text-align: left;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.home-account-menu__panel a:hover,
.home-account-menu__panel button:hover {
    color: var(--home-ink);
    background: var(--home-soft);
}

.home-account-menu__panel form {
    padding-top: 3px;
    border-top: 1px solid var(--home-line);
}

.home-account-menu__panel form button {
    color: #a23443;
}

/* Hero and join */

.home-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.78fr);
    align-items: center;
    min-height: 650px;
    padding-block: clamp(64px, 8vw, 112px);
    gap: clamp(52px, 8vw, 110px);
}

.home-hero::after {
    position: absolute;
    right: calc(39% + 28px);
    bottom: 0;
    width: 1px;
    height: 76px;
    content: "";
    background: var(--home-line-strong);
}

.home-hero__copy {
    min-width: 0;
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--home-accent-dark);
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.105em;
    line-height: 1.3;
    text-transform: uppercase;
}

.home-eyebrow i {
    width: 18px;
    height: 1px;
    background: currentColor;
}

.home-hero__copy h1 {
    max-width: 760px;
    margin: 18px 0 24px;
    color: var(--home-ink);
    font-size: clamp(3.3rem, 7vw, 6.5rem);
    font-weight: 770;
    letter-spacing: -0.072em;
    line-height: 0.86;
}

.home-hero__copy > p {
    max-width: 590px;
    margin: 0;
    color: var(--home-muted);
    font-size: clamp(0.96rem, 1.6vw, 1.1rem);
    line-height: 1.7;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 31px;
    gap: 15px;
}

.home-text-link {
    color: #3f4a43;
    font-size: 0.74rem;
    font-weight: 750;
    text-decoration: underline;
    text-decoration-color: #abb5ad;
    text-underline-offset: 4px;
}

.home-text-link:hover {
    color: var(--home-accent-dark);
    text-decoration-color: currentColor;
}

.home-join-card {
    position: relative;
    width: 100%;
    min-width: 0;
    padding: clamp(28px, 4vw, 42px);
    overflow: hidden;
    border: 1px solid var(--home-line-strong);
    border-radius: 18px;
    background: var(--home-white);
    box-shadow: 0 28px 70px rgba(23, 38, 29, 0.09);
}

.home-join-card__topline {
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--home-accent), #70d2ae 55%, transparent 100%);
}

.home-join-card__header {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    gap: 13px;
}

.home-join-card__icon {
    display: inline-grid;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    place-items: center;
    color: var(--home-accent-dark);
    border: 1px solid #cce9dd;
    border-radius: 12px;
    background: #eaf7f2;
}

.home-join-card__icon svg {
    width: 21px;
    height: 21px;
}

.home-join-card__header > div {
    display: grid;
    gap: 2px;
}

.home-join-card h2 {
    margin: 0;
    color: var(--home-ink);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 770;
    letter-spacing: -0.045em;
}

.home-join-card > p {
    margin: 0 0 27px;
    color: var(--home-muted);
    font-size: 0.79rem;
    line-height: 1.65;
}

.home-join-form {
    display: grid;
    gap: 8px;
}

.home-join-form > label {
    color: #364139;
    font-size: 0.65rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-code-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-width: 0;
    padding: 5px;
    gap: 5px;
    border: 1px solid var(--home-line-strong);
    border-radius: 13px;
    background: #fafcfa;
    transition: border-color 140ms ease, box-shadow 140ms ease;
}

.home-code-field:focus-within {
    border-color: rgba(22, 161, 115, 0.58);
    box-shadow: 0 0 0 4px rgba(22, 161, 115, 0.09);
}

.home-code-input {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 10px;
    color: var(--home-ink);
    font-size: 0.79rem;
    border: 0;
    outline: 0;
    background: transparent;
}

.home-code-input::placeholder {
    color: #929c94;
}

.home-code-field button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    height: 44px;
    padding: 0 14px;
    gap: 8px;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    border: 0;
    border-radius: 9px;
    background: var(--home-accent-dark);
    cursor: pointer;
    transition: background-color 140ms ease, transform 140ms ease;
}

.home-code-field button:hover {
    background: #086443;
    transform: translateX(1px);
}

.home-code-field button svg {
    width: 16px;
    height: 16px;
}

.home-form-note {
    min-height: 18px;
    color: #7c867f;
    font-size: 0.61rem;
    line-height: 1.45;
}

.home-form-note--error {
    color: #b13b4a;
    font-weight: 700;
}

/* Supporting content */

.home-assurance {
    border-top: 1px solid var(--home-line);
    border-bottom: 1px solid var(--home-line);
    background: rgba(255, 255, 255, 0.42);
}

.home-assurance__inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-assurance__inner span {
    display: flex;
    align-items: center;
    min-height: 74px;
    padding: 0 25px;
    gap: 10px;
    color: #4f5952;
    font-size: 0.69rem;
    font-weight: 750;
    border-right: 1px solid var(--home-line);
}

.home-assurance__inner span:first-child {
    padding-left: 0;
}

.home-assurance__inner span:last-child {
    padding-right: 0;
    border-right: 0;
}

.home-assurance__inner i {
    width: 7px;
    height: 7px;
    border: 2px solid #c9eee0;
    border-radius: 50%;
    background: var(--home-accent);
    box-shadow: 0 0 0 3px #dff5ed;
}

.home-platform {
    padding-block: clamp(88px, 11vw, 145px);
}

.home-section-heading {
    display: grid;
    max-width: 700px;
    gap: 13px;
}

.home-section-heading h2 {
    margin: 0;
    color: var(--home-ink);
    font-size: clamp(2.25rem, 5vw, 4.25rem);
    font-weight: 760;
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.home-section-heading p {
    max-width: 570px;
    margin: 2px 0 0;
    color: var(--home-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

.home-platform-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: clamp(48px, 7vw, 78px);
    border-top: 1px solid var(--home-line-strong);
    border-bottom: 1px solid var(--home-line-strong);
}

.home-platform-grid article {
    position: relative;
    min-width: 0;
    padding: 40px 34px 42px;
    border-right: 1px solid var(--home-line-strong);
}

.home-platform-grid article:first-child {
    padding-left: 0;
}

.home-platform-grid article:last-child {
    padding-right: 0;
    border-right: 0;
}

.home-platform-grid article > svg {
    width: 27px;
    height: 27px;
    margin-bottom: 42px;
    color: var(--home-accent-dark);
}

.home-platform-grid__number {
    position: absolute;
    top: 43px;
    right: 28px;
    color: #9ca69e;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.61rem;
}

.home-platform-grid h3 {
    margin: 0 0 10px;
    color: var(--home-ink);
    font-size: 1.04rem;
    font-weight: 770;
    letter-spacing: -0.025em;
}

.home-platform-grid p {
    max-width: 285px;
    margin: 0;
    color: var(--home-muted);
    font-size: 0.76rem;
    line-height: 1.65;
}

.home-final {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: clamp(72px, 9vw, 112px);
    padding: clamp(34px, 5vw, 58px);
    gap: 38px;
    color: #fff;
    border-radius: 18px;
    background: var(--home-accent-dark);
    box-shadow: 0 25px 60px rgba(8, 116, 79, 0.17);
}

.home-final .home-eyebrow {
    color: #9de1c8;
}

.home-final h2 {
    max-width: 700px;
    margin: 11px 0 0;
    color: #fff;
    font-size: clamp(1.65rem, 3.7vw, 3.1rem);
    font-weight: 750;
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.home-final__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
}

.home-final .home-button--quiet {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.34);
}

.home-final .home-button--quiet:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.home-final .home-button--dark {
    color: #0d1711;
    border-color: #fff;
    background: #fff;
}

.home-final .home-button--dark:hover {
    color: #0d1711;
    background: #edf6f1;
}

.home-footer {
    border-top: 1px solid var(--home-line);
    background: #f2f5f2;
}

.home-footer__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 118px;
    gap: 28px;
}

.home-brand--footer .home-brand__mark {
    color: var(--home-ink);
    border: 1px solid var(--home-line-strong);
    background: transparent;
}

.home-footer p {
    margin: 0;
    color: var(--home-muted);
    font-size: 0.65rem;
    text-align: center;
}

.home-footer nav {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.home-footer nav a {
    color: #4f5952;
    font-size: 0.66rem;
    font-weight: 750;
}

.home-footer nav a:hover {
    color: var(--home-accent-dark);
}

/* Home responsiveness */

@media (max-width: 940px) {
    .home-header__inner {
        min-height: 66px;
        justify-content: space-between;
    }

    .home-menu-toggle {
        position: relative;
        display: grid;
        flex: 0 0 auto;
    }

    .home-navigation {
        position: absolute;
        top: calc(100% + 1px);
        right: -1px;
        left: -1px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 20px 20px;
        gap: 12px;
        border: 1px solid var(--home-line-strong);
        border-top: 0;
        border-radius: 0 0 14px 14px;
        background: rgba(247, 249, 246, 0.98);
        box-shadow: 0 22px 40px rgba(16, 21, 18, 0.13);
        backdrop-filter: blur(20px);
    }

    .home-navigation--open {
        display: flex;
    }

    .home-nav-links,
    .home-nav-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .home-nav-links {
        gap: 1px;
    }

    .home-nav-links > a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding-inline: 10px;
        border-bottom: 1px solid var(--home-line);
        border-radius: 0;
    }

    .home-nav-actions {
        gap: 7px;
    }

    .home-nav-actions .home-button,
    .home-account-menu,
    .home-account-menu > summary {
        width: 100%;
        max-width: none;
    }

    .home-account-menu__identity {
        flex: 1 1 auto;
    }

    .home-account-menu__panel {
        position: static;
        width: 100%;
        margin-top: 5px;
        box-shadow: none;
    }

    .home-nav-dashboard {
        margin-top: 1px;
    }

    .home-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-block: 84px;
        gap: 62px;
    }

    .home-hero::after {
        display: none;
    }

    .home-hero__copy {
        max-width: 720px;
    }

    .home-join-card {
        width: min(620px, 100%);
    }

    .home-platform-grid article {
        padding-inline: 25px;
    }

    .home-platform-grid article:first-child {
        padding-left: 0;
    }

    .home-platform-grid article:last-child {
        padding-right: 0;
    }

    .home-final {
        align-items: flex-start;
    }

    .home-footer__inner {
        grid-template-columns: 1fr auto;
    }

    .home-footer p {
        display: none;
    }
}

@media (max-width: 680px) {
    .home-shell {
        width: min(100% - 28px, 1180px);
    }

    .home-brand__name small {
        display: none;
    }

    .home-hero {
        padding-block: 62px 72px;
        gap: 44px;
    }

    .home-hero__copy h1 {
        margin-block: 15px 20px;
        font-size: clamp(3rem, 17vw, 4.7rem);
        line-height: 0.9;
    }

    .home-hero__copy > p {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .home-hero__actions {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 25px;
    }

    .home-join-card {
        padding: 26px 20px;
        border-radius: 15px;
    }

    .home-join-card__header {
        align-items: flex-start;
    }

    .home-code-field {
        grid-template-columns: 1fr;
        padding: 6px;
    }

    .home-code-field button {
        width: 100%;
        min-height: 46px;
    }

    .home-assurance__inner {
        grid-template-columns: 1fr;
        padding-block: 7px;
    }

    .home-assurance__inner span,
    .home-assurance__inner span:first-child,
    .home-assurance__inner span:last-child {
        min-height: 48px;
        padding-inline: 3px;
        border-right: 0;
        border-bottom: 1px solid var(--home-line);
    }

    .home-assurance__inner span:last-child {
        border-bottom: 0;
    }

    .home-platform {
        padding-block: 86px;
    }

    .home-section-heading h2 {
        font-size: clamp(2.35rem, 13vw, 3.55rem);
    }

    .home-platform-grid {
        grid-template-columns: 1fr;
        margin-top: 48px;
    }

    .home-platform-grid article,
    .home-platform-grid article:first-child,
    .home-platform-grid article:last-child {
        padding: 30px 4px 32px;
        border-right: 0;
        border-bottom: 1px solid var(--home-line-strong);
    }

    .home-platform-grid article:last-child {
        border-bottom: 0;
    }

    .home-platform-grid article > svg {
        margin-bottom: 25px;
    }

    .home-platform-grid__number {
        top: 32px;
        right: 4px;
    }

    .home-final {
        flex-direction: column;
        margin-bottom: 72px;
        padding: 31px 24px;
        gap: 28px;
        border-radius: 15px;
    }

    .home-final__actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .home-final > .home-button,
    .home-final__actions .home-button {
        width: 100%;
    }

    .home-footer__inner {
        grid-template-columns: 1fr;
        justify-items: start;
        padding-block: 27px;
        gap: 20px;
    }

    .home-footer nav {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page *,
    .home-page *::before,
    .home-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
