@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    color: #f8fafc;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 760px;
    margin: 0 auto;
    padding: 24px;
    background: rgba(15, 23, 42, 0.85);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

h1, h2 {
    margin-top: 0;
}

.panel {
    margin-bottom: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

select, textarea, button {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    margin-bottom: 10px;
    font-size: 16px;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.recognition-status {
    margin: 2px 0 12px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(15, 23, 42, 0.45);
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.3;
}

.recognition-status-hidden {
    display: none;
}

.recognition-status-listening {
    border-color: rgba(74, 222, 128, 0.35);
    background: rgba(22, 101, 52, 0.28);
    color: #dcfce7;
}

.recognition-status-paused {
    border-color: rgba(250, 204, 21, 0.35);
    background: rgba(161, 98, 7, 0.28);
    color: #fef3c7;
}

.recognition-status-resuming {
    border-color: rgba(96, 165, 250, 0.35);
    background: rgba(30, 64, 175, 0.28);
    color: #dbeafe;
}

.recognition-status-error {
    border-color: rgba(248, 113, 113, 0.35);
    background: rgba(153, 27, 27, 0.28);
    color: #fee2e2;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.compact-buttons button {
    width: auto;
    flex: 1 1 180px;
}

button {
    cursor: pointer;
    background: #38bdf8;
    color: white;
    font-weight: bold;
}

button:hover {
    background: #0ea5e9;
}

.stats-container { max-width: 1180px; }
.stats-header, .active-filters, .stats-columns { display: grid; gap: 1rem; }
.stats-header { grid-template-columns: 1fr auto; align-items: end; }
.stats-header h1, .stats-section h2 { margin-bottom: 0.35rem; }
.eyebrow, .active-filters small { color: #cbd5e1; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.button-link { display: inline-block; padding: 0.65rem 0.9rem; background: #38bdf8; color: #fff; text-decoration: none; border-radius: 4px; }
.stats-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: end; }
.stats-filters fieldset { border: 0; padding: 0; margin: 0; }
.stats-filters legend, .stats-filters label { display: block; font-weight: 600; }
.radio-label { display: inline-block !important; margin: 0.4rem 0.7rem 0 0; font-weight: 400 !important; }
.active-filters { grid-template-columns: repeat(3, max-content) 1fr; align-items: center; padding: 0.75rem 0; }
.active-filters span { padding: 0.35rem 0.6rem; background: rgba(255,255,255,0.12); border-radius: 4px; }
.active-filters small { justify-self: end; text-transform: none; letter-spacing: normal; }
.stats-section { margin-top: 2rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.stat-card span { display: block; color: #cbd5e1; font-size: 0.9rem; }
.stat-card strong { display: block; margin-top: 0.45rem; font-size: 1.55rem; }
.stats-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.metric-list > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid rgba(226,232,240,0.18); }
.metric-list > div:last-of-type { border-bottom: 0; }
.table-wrap { overflow-x: auto; }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 720px; }
.table-wrap th, .table-wrap td { padding: 0.65rem; border-bottom: 1px solid rgba(226,232,240,0.18); text-align: left; white-space: nowrap; }
.table-wrap th { color: #cbd5e1; font-size: 0.8rem; text-transform: uppercase; }

.host-diagnostics-panel {
    margin-top: 2.5rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.45);
}

.host-diagnostics-panel summary {
    cursor: pointer;
    font-weight: bold;
    color: #e2e8f0;
}

.host-diagnostics-panel p {
    color: #cbd5e1;
}

.host-diagnostics-results {
    margin-top: 1rem;
}

.host-diagnostics-results h3 {
    margin-bottom: 0.75rem;
}

.host-diagnostic-row {
    display: grid;
    grid-template-columns: minmax(180px, 0.45fr) 1fr;
    gap: 1rem;
    padding: 0.7rem 0;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.host-diagnostic-row small {
    display: block;
    margin-top: 0.2rem;
    color: #94a3b8;
    font-size: 0.75rem;
}

.diagnostic-ok strong { color: #86efac; }
.diagnostic-error strong { color: #fca5a5; }
.diagnostic-warning strong { color: #fde68a; }
.diagnostic-not_checked strong, .diagnostic-running strong { color: #cbd5e1; }

@media (max-width: 760px) {
    .stats-header, .stats-filters, .stats-columns, .stats-grid, .host-diagnostic-row { grid-template-columns: 1fr; }
    .active-filters { grid-template-columns: 1fr; }
    .active-filters small { justify-self: start; }
}

#result {
    font-size: 20px;
    line-height: 1.6;
    white-space: pre-wrap;
}

#transcript-history {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.history-item {
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.history-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.history-provider {
    color: #94a3b8;
    font-size: 0.9rem;
}

.history-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.history-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.history-column-label {
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: bold;
}

.history-source,
.history-translation {
    white-space: pre-wrap;
    line-height: 1.5;
}

.history-column-original {
    color: #e2e8f0;
}

.history-column-translation {
    color: #f8fafc;
}

@media (max-width: 800px) {
    .history-columns {
        grid-template-columns: 1fr;
    }
}

#qrcode {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    margin-bottom: 10px;
    font-size: 16px;
}

.auth-shell {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: min(460px, 100%);
    padding: 24px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.92);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 14px;
}

.checkbox-row input {
    width: auto;
    margin: 0;
}

.status-panel-grid,
.host-language-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}

.meta-label {
    color: #94a3b8;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.meta-value {
    font-size: 1.05rem;
    line-height: 1.4;
    color: #f8fafc;
}

.qr-url {
    word-break: break-all;
    color: #bae6fd;
    margin-bottom: 10px;
}

.event-log {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
    color: #e2e8f0;
    font-family: Consolas, Monaco, monospace;
    font-size: 0.92rem;
}

.host-logout-form {
    margin-bottom: 0;
}

.audio-input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 12px;
}

.audio-level-shell {
    width: 100%;
    height: 14px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.24);
}

.audio-level-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #facc15, #ef4444);
    transition: width 80ms linear;
}

.info-tip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    border-radius: 50%;
    box-sizing: border-box;
    background: #fff;
    border: 1.5px solid var(--g-green);
    color: var(--g-green);
    font-size: 0;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
}

.info-tip::before {
    content: '?';
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.info-tip:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 2px;
}

.info-tip-text {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 260px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38);
    color: #f8fafc;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.35;
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
    white-space: normal;
    z-index: 30;
}

.info-tip:hover .info-tip-text,
.info-tip:focus .info-tip-text,
.info-tip:focus-within .info-tip-text,
.info-tip.info-tip-open .info-tip-text {
    display: block;
}

.status-cell .info-tip {
    display: inline-flex !important;
}

.status-cell .info-tip-text {
    display: none !important;
}

.status-cell .info-tip:hover .info-tip-text,
.status-cell .info-tip:focus .info-tip-text,
.status-cell .info-tip:focus-within .info-tip-text,
.status-cell .info-tip.info-tip-open .info-tip-text {
    display: block !important;
}

.client-status-strip .info-tip {
    display: inline-flex !important;
}

.client-status-strip .info-tip-text {
    display: none !important;
}

.client-status-strip .info-tip:hover .info-tip-text,
.client-status-strip .info-tip:focus .info-tip-text,
.client-status-strip .info-tip:focus-within .info-tip-text,
.client-status-strip .info-tip.info-tip-open .info-tip-text {
    display: block !important;
}

.help-panel summary {
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: #f8fafc;
}

.help-panel ol,
.help-panel ul {
    margin: 10px 0 0;
    padding-left: 20px;
    color: #e2e8f0;
    line-height: 1.5;
}

.help-panel li {
    margin-bottom: 6px;
}

.help-note {
    margin-top: 10px;
    color: #bae6fd;
    line-height: 1.45;
}

#host-qrcode canvas,
#host-qrcode img {
    width: 220px;
    height: 220px;
    background: #ffffff;
    padding: 8px;
    border-radius: 10px;
}

/* Gudord final product UI */
:root {
    --g-green: #176b4d;
    --g-green-dark: #0f513a;
    --g-green-soft: #e8f2ec;
    --g-ink: #18312a;
    --g-muted: #66756f;
    --g-line: #dce3de;
    --g-warm: #f7f6f1;
    --g-white: #fffefb;
    --g-warning: #9a6a13;
    --g-danger: #a23a3a;
    --g-shadow: 0 8px 24px rgba(26, 55, 45, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body, button, select, textarea, input { font-family: 'Manrope', sans-serif; letter-spacing: 0; }
body.gudord-app-body, body.client-product-body, body.landing-body {
    margin: 0;
    padding: 0;
    background: var(--g-warm);
    color: var(--g-ink);
    overflow-x: hidden;
}
a { color: var(--g-green); }
button, .button-link {
    min-height: 46px;
    border: 1px solid var(--g-green);
    border-radius: 9px;
    background: var(--g-green);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    padding: 0.75rem 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
button:hover, .button-link:hover { background: var(--g-green-dark); }
button:focus-visible, a:focus-visible, select:focus-visible, textarea:focus-visible, input:focus-visible, summary:focus-visible {
    outline: 3px solid rgba(23, 107, 77, 0.28);
    outline-offset: 3px;
}
button:disabled { opacity: 0.48; cursor: not-allowed; }
.button-secondary { background: var(--g-white); color: var(--g-green); border-color: #b8cec2; }
.button-secondary:hover { background: var(--g-green-soft); }
.button-quiet { background: transparent; color: var(--g-ink); border-color: var(--g-line); }
.button-light { background: var(--g-white); color: var(--g-green-dark); border-color: var(--g-white); }
.panel, .product-card {
    background: var(--g-white);
    color: var(--g-ink);
    border: 1px solid var(--g-line);
    border-radius: 12px;
    box-shadow: var(--g-shadow);
    padding: 1.4rem;
    margin: 0;
}
.panel h1, .panel h2, .panel h3 { color: var(--g-ink); }
.panel p { color: var(--g-muted); }
label { color: var(--g-ink); font-size: 0.9rem; font-weight: 700; }
select, textarea, input[type="text"], input[type="password"] {
    color: var(--g-ink);
    background: #fff;
    border: 1px solid #cfd9d3;
    border-radius: 9px;
    padding: 0.8rem 0.9rem;
    margin: 0 0 0.85rem;
}
textarea { resize: none; }
.eyebrow { color: var(--g-green) !important; font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.09em; margin: 0 0 0.45rem; }
.brand-lockup { display: inline-flex; flex-direction: column; color: var(--g-ink); text-decoration: none; line-height: 1; }
.brand-lockup::before { content: ''; display: block; width: 198px; height: 54px; background: url('/static/gudord_logo.svg') left center / contain no-repeat; }
.brand-lockup strong, .brand-lockup span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.brand-lockup.brand-lockup-host-client {
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
}
.brand-lockup.brand-lockup-host-client::before {
    content: none;
    background-image: none;
}
.brand-lockup.brand-lockup-host-client img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}
.brand-lockup.brand-lockup-host-client .brand-lockup-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
}
.brand-lockup.brand-lockup-host-client .brand-lockup-name,
.brand-lockup.brand-lockup-host-client .brand-lockup-tagline {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
}
.brand-lockup.brand-lockup-host-client .brand-lockup-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--g-ink);
}
.brand-lockup.brand-lockup-host-client .brand-lockup-tagline {
    margin-top: 0.15rem;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--g-muted);
}
.brand-lockup.brand-lockup-host-client.centered-brand {
    justify-content: center;
}
.landing-nav .brand-lockup::before { width: 182px; height: 48px; }
.host-sidebar .brand-lockup::before { width: 198px; height: 54px; }
.client-brand-header .brand-lockup::before { width: 198px; height: 54px; }
.brand-lockup.centered-brand::before { width: 224px; height: 62px; }
.card-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; }
.card-heading h2 { font-size: 1.08rem; margin: 0 0 0.28rem; }
.card-heading p { margin: 0; font-size: 0.88rem; line-height: 1.5; }
.text-link { font-weight: 700; text-decoration: none; }
.text-link::after { content: ' →'; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.functional-internals { display: none !important; }
.empty-state { color: var(--g-muted); text-align: center; padding: 2rem; }

/* Host */
.host-app-shell { min-height: 100vh; display: grid; grid-template-columns: 238px minmax(0, 1fr); }
.host-sidebar { position: sticky; top: 0; height: 100vh; padding: 2rem 1.35rem 1.4rem; background: #f0f2ed; border-right: 1px solid var(--g-line); display: flex; flex-direction: column; }
.brand-context { color: var(--g-muted); font-size: 0.78rem; line-height: 1.5; margin: 1rem 0 2.2rem; }
.host-nav { display: flex; flex-direction: column; gap: 0.3rem; }
.host-nav a { color: #496059; text-decoration: none; padding: 0.72rem 0.8rem; border-radius: 8px; font-size: 0.88rem; font-weight: 650; }
.host-nav a.active, .host-nav a:hover { color: var(--g-green-dark); background: #dfeae3; }
.sidebar-church { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--g-line); display: flex; flex-direction: column; gap: 0.35rem; }
.sidebar-church span { color: var(--g-muted); font-size: 0.72rem; text-transform: uppercase; }
.sidebar-church strong { font-size: 0.9rem; }
.host-logout-form { margin-top: 0.8rem; }
.host-logout-form button { width: 100%; }
.host-main { padding: 1.8rem clamp(1.2rem, 3vw, 3rem) 3rem; min-width: 0; }
.app-topbar { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-bottom: 1.4rem; }
.app-topbar h1 { font-size: clamp(1.55rem, 3vw, 2.15rem); margin: 0; }
.app-topbar p:not(.eyebrow) { color: var(--g-muted); }
.topbar-actions { display: flex; align-items: center; gap: 0.7rem; }
.topbar-actions > span:first-child { font-size: 0; }
.topbar-actions > span:first-child::before { content: '◉'; font-size: 1rem; color: var(--g-green); }
.topbar-actions select { width: auto; min-width: 120px; margin: 0; }
.user-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--g-green-soft); color: var(--g-green-dark); display: grid; place-items: center; font-weight: 800; }
.status-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--g-white); border: 1px solid var(--g-line); border-radius: 12px; margin-bottom: 1.3rem; overflow: visible; }
.status-cell { padding: 1.05rem 1.2rem; border-right: 1px solid var(--g-line); min-width: 0; }
.status-cell:last-child { border-right: 0; }
.status-cell span, .status-cell small { display: block; color: var(--g-muted); font-size: 0.72rem; }
.status-cell strong { display: block; margin: 0.28rem 0; font-size: 1rem; overflow-wrap: anywhere; }
.status-cell small::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 0.38rem; border-radius: 50%; background: var(--g-green); }
.recognition-status { border-radius: 9px; background: #eef2ef; color: var(--g-ink); border: 1px solid var(--g-line); }
.recognition-status-listening { background: var(--g-green-soft); color: var(--g-green-dark); border-color: #b7d1c2; }
.recognition-status-paused { background: #fff6df; color: var(--g-warning); border-color: #ead39f; }
.recognition-status-error { background: #fff0f0; color: var(--g-danger); border-color: #e5baba; }
.host-content-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); gap: 1.2rem; }
.live-card, .translation-card { min-height: 250px; }
.live-card textarea { border: 0; background: #f5f6f2; min-height: 150px; font-size: 1.05rem; line-height: 1.65; }
.current-translation-copy { min-height: 150px; padding: 1rem; background: var(--g-green-soft); border-radius: 9px; font-size: 1.2rem; line-height: 1.7; white-space: pre-wrap; }
.live-mark { color: var(--g-green); background: var(--g-green-soft); border-radius: 999px; padding: 0.35rem 0.6rem; font-size: 0.72rem; font-weight: 800; }
.action-row { margin-top: 0.35rem; }
.action-row button { flex: 1 1 160px; }
.host-advanced-stt-shell { margin-top: 1rem; border-top: 1px solid var(--g-line); background: #fff; border: 1px solid var(--g-line); border-radius: 9px; }
.host-content-policy { margin-top: 1rem; padding: 0.9rem 0; border-top: 1px solid var(--g-line); }
.host-content-policy > .checkbox-row { margin-bottom: 0.7rem; }
.host-retention-row { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.content-retention-panel { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; margin-bottom: 1.2rem; padding: 1rem 1.1rem; }
.content-retention-panel h2 { margin: 0 0 0.25rem; font-size: 1rem; }
.content-retention-panel p { margin: 0; color: var(--g-muted); font-size: 0.82rem; }
.content-retention-panel .host-retention-row { margin: 0; flex: 0 1 auto; flex-wrap: nowrap; }
.content-retention-panel .assistive-value { margin: 0; min-width: 4.5rem; }
.host-retention-row label { font-size: 0.78rem; color: var(--g-muted); }
.host-retention-row select { width: auto; min-width: 110px; margin: 0; padding: 0.55rem 0.65rem; }
.host-retention-row button { margin: 0; }
.host-advanced-stt-summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.7rem; padding: 0.85rem 0.95rem; color: var(--g-ink); cursor: pointer; list-style: none; }
.host-advanced-stt-summary::-webkit-details-marker { display: none; }
.host-advanced-stt-summary::marker { display: none; }
.host-advanced-stt-summary:focus-visible { outline: 2px solid var(--g-green); outline-offset: -2px; border-radius: 8px; }
.host-advanced-stt-icon { width: 19px; height: 19px; fill: none; stroke: var(--g-green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.host-advanced-stt-summary-copy { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.host-advanced-stt-summary-copy strong { font-size: 0.92rem; line-height: 1.25; }
.host-advanced-stt-summary-copy small { color: var(--g-muted); font-size: 0.76rem; line-height: 1.35; }
.host-advanced-stt-chevron { width: 8px; height: 8px; border-right: 1.5px solid var(--g-green); border-bottom: 1.5px solid var(--g-green); transform: rotate(45deg) translateY(-2px); transition: transform 160ms ease; }
.host-advanced-stt-shell[open] .host-advanced-stt-chevron { transform: rotate(225deg) translate(-1px, -1px); }
.host-advanced-stt-content { padding: 0 0.95rem 0.95rem; }
.host-advanced-stt-shell p { margin: 0 0 0.75rem; font-size: 0.82rem; color: var(--g-muted); }
.host-advanced-stt-shell .host-advanced-stt-warning { padding: 0.65rem 0.75rem; border-left: 3px solid var(--g-warning); background: #fff6df; color: var(--g-warning); }
.host-advanced-stt-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
.host-advanced-stt-grid label { font-size: 0.78rem; color: var(--g-muted); }
.host-advanced-stt-grid input { margin: 0 0 0.35rem; }
.host-advanced-stt-grid small { margin: -0.2rem 0 0.45rem; color: var(--g-muted); font-size: 0.74rem; }
.host-advanced-stt-grid .host-advanced-checkbox { display: flex; align-items: center; gap: 0.55rem; margin: 0.35rem 0 0; color: var(--g-ink); }
.host-advanced-stt-grid .host-advanced-checkbox input { width: auto; margin: 0; }
#host-advanced-stt-status { margin-top: 0.6rem; }
.share-layout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.3rem; align-items: center; }
#host-qrcode canvas, #host-qrcode img { width: 180px; height: 180px; border: 1px solid var(--g-line); }
.qr-url { color: var(--g-muted); font-size: 0.78rem; }
.stacked-actions { flex-direction: column; align-items: stretch; }
.stacked-actions button { width: 100%; }
.assistive-value { color: var(--g-muted); font-size: 0.78rem; margin-bottom: 0.7rem; }
.audio-level-shell { background: #e6ebe7; border-color: var(--g-line); margin-bottom: 0.8rem; }
.audio-level-bar { background: linear-gradient(90deg, var(--g-green), #dbad42, #c95b54); }
.simple-steps { padding-left: 1.25rem; color: var(--g-muted); line-height: 1.6; }
.simple-steps li { margin-bottom: 0.5rem; }
.sessions-preview, .host-diagnostics-panel { margin-top: 1.2rem; }
.session-list { display: flex; flex-direction: column; }
.session-row { display: grid; grid-template-columns: minmax(220px, 1fr) repeat(3, auto); align-items: center; gap: 1.2rem; padding: 1rem 0.3rem; color: var(--g-ink); text-decoration: none; border-top: 1px solid var(--g-line); }
.session-row:first-child { border-top: 0; }
.session-row span { display: flex; flex-direction: column; gap: 0.2rem; }
.session-row small { color: var(--g-muted); }
.session-row-link { display: contents; color: inherit; text-decoration: none; }
.session-row-link:hover { color: var(--g-green-dark); }
.session-delete-button { display: inline-grid; place-items: center; width: 36px; height: 36px; min-height: 36px; padding: 0; margin: 0; border-radius: 7px; }
.session-delete-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.session-delete-button:hover, .session-delete-button:focus-visible { background: #fbe4e4; border-color: #c98686; }
.diagnostic-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; }
.host-diagnostics-panel { background: var(--g-white); border-color: var(--g-line); }
.host-diagnostic-row { border-color: var(--g-line); }
.host-diagnostic-row small, .host-diagnostics-panel p { color: var(--g-muted); }
.diagnostic-ok strong { color: var(--g-green); }
.session-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.2rem; }
.stat-card span { color: var(--g-muted); }
.stat-card strong { font-size: 1rem; overflow-wrap: anywhere; }
.language-metric-list > div { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; padding: 0.8rem 0; border-top: 1px solid var(--g-line); }
.two-column-detail, .help-steps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; margin-top: 1.2rem; }
.availability-note { min-height: 70px; }
.help-steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step-number { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--g-green-soft); color: var(--g-green); font-weight: 800; }
.calm-callout { margin-top: 1.2rem; }
.saved-content-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 1rem; }
.saved-content-actions .button-link { text-decoration: none; }
.saved-content-panel .card-heading { align-items: center; }
.saved-content-delete { display: inline-grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; min-height: 36px; padding: 0; margin: 0; border-radius: 7px; }
.saved-content-delete svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.saved-content-delete:hover, .saved-content-delete:focus-visible { background: #fbe4e4; border-color: #c98686; }
.delete-session-panel { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.2rem; border-color: #ead0d0; }
.delete-session-panel h2 { margin: 0 0 0.25rem; font-size: 1rem; }
.delete-session-panel p { margin: 0; color: var(--g-muted); }
.button-danger { background: #fff0f0; color: var(--g-danger); border: 1px solid #e5baba; }

/* Client */
.client-product-body { min-height: 100vh; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
.client-product-shell { width: min(720px, 100%); margin: 0 auto; padding: 1.2rem 1rem 3rem; }
.client-brand-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; }
.client-brand-header select { width: 112px; min-width: 0; max-width: 112px; margin: 0; flex: 0 1 112px; }
.client-welcome { margin-bottom: 1.4rem; }
.client-welcome h1 { font-size: clamp(1.8rem, 8vw, 2.7rem); margin: 0 0 0.5rem; }
.client-welcome p { color: var(--g-muted); }
.client-status-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--g-line); background: var(--g-white); border-radius: 12px; overflow: visible; margin-bottom: 1rem; }
.client-status-strip > div { padding: 0.9rem; border-right: 1px solid var(--g-line); min-width: 0; }
.client-status-strip > div:last-child { border: 0; }
.client-status-strip span { display: block; color: var(--g-muted); font-size: 0.68rem; }
.client-status-strip strong { display: block; margin-top: 0.35rem; font-size: 0.8rem; overflow-wrap: anywhere; }
.client-language-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 1rem; margin-bottom: 1rem; }
.client-language-card h2 { margin: 0 0 0.25rem; }
.client-language-card p { margin: 0; }
.client-language-select { width: 100%; min-width: 0; max-width: 100%; font-size: 1rem; min-height: 52px; margin: 0; }
.client-listen-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.client-listen-actions button { min-height: 54px; font-size: 1rem; margin: 0; }
.client-current-card { min-height: 330px; display: flex; flex-direction: column; justify-content: space-between; margin-bottom: 1rem; }
.client-translation-copy { flex: 1; display: flex; align-items: center; padding: 1.2rem 0; font-size: clamp(1.45rem, 5.5vw, 2.2rem); line-height: 1.55; font-weight: 550; white-space: pre-wrap; }
.sound-wave { height: 24px; display: flex; align-items: center; gap: 3px; }
.sound-wave i { width: 3px; height: 9px; background: var(--g-green); border-radius: 2px; }
.sound-wave i:nth-child(2), .sound-wave i:nth-child(4) { height: 18px; }
.client-how-card summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.client-how-card summary span:first-child { display: flex; flex-direction: column; gap: 0.2rem; }
.client-how-card summary small { color: var(--g-muted); }
.client-reassurance { color: var(--g-muted); text-align: center; font-size: 0.85rem; }

/* Landing */
.landing-nav { height: 78px; padding: 0 clamp(1rem, 5vw, 5rem); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.6rem; position: relative; z-index: 10; background: rgba(247,246,241,0.96); border-bottom: 1px solid var(--g-line); }
.landing-nav nav { display: flex; justify-content: center; gap: 1.4rem; min-width: 0; }
.landing-nav nav a, .landing-footer a { color: var(--g-ink); text-decoration: none; font-size: 0.84rem; }
.landing-nav-actions { display: flex; align-items: center; gap: 0.7rem; }
.landing-nav-actions select { width: 105px; min-width: 0; max-width: 105px; margin: 0; }
.landing-hero { min-height: calc(88vh - 78px); position: relative; display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr); align-items: center; gap: clamp(2.5rem, 6vw, 7rem); padding: clamp(4rem, 7vw, 7rem) clamp(1.2rem, 7vw, 7rem); color: var(--g-ink); overflow: hidden; background: #fbfaf6; }
.hero-content { position: relative; width: 100%; min-width: 0; max-width: 620px; z-index: 1; }
.hero-content h1 { font-size: clamp(3rem, 6vw, 5.8rem); line-height: 0.98; max-width: 680px; margin: 0 0 1.4rem; }
.hero-content > p:not(.eyebrow) { color: var(--g-muted); font-size: clamp(1rem, 1.6vw, 1.25rem); max-width: 520px; line-height: 1.7; }
.hero-actions { display: flex; gap: 0.8rem; margin-top: 2rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 2.2rem; color: var(--g-muted); font-size: 0.78rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: 0.42rem; }
.hero-media { position: relative; width: 100%; min-width: 0; max-width: 100%; aspect-ratio: 1.06; min-height: 420px; border-radius: 14px; overflow: hidden; box-shadow: 0 22px 60px rgba(22, 61, 46, 0.14); }
.hero-media > img { width: 100%; max-width: 100%; height: 100%; object-fit: cover; object-position: center 44%; display: block; }
.hero-media-note { position: absolute; right: 1.2rem; bottom: 1.2rem; display: inline-flex; align-items: center; gap: 0.6rem; max-width: 220px; padding: 0.85rem 1rem; border-radius: 10px; background: rgba(255, 254, 251, 0.94); color: var(--g-ink); box-shadow: var(--g-shadow); font-size: 0.8rem; font-weight: 700; }
.hero-next { position: absolute; left: clamp(1.2rem, 7vw, 7rem); bottom: 1.2rem; color: var(--g-green); text-decoration: none; font-size: 0.76rem; font-weight: 700; }
.landing-section { padding: clamp(4rem, 8vw, 8rem) clamp(1.2rem, 8vw, 8rem); }
.landing-section h2, .landing-final-cta h2 { font-size: clamp(2rem, 4.5vw, 4rem); line-height: 1.1; margin: 0 0 1.2rem; max-width: 850px; }
.section-copy { max-width: 760px; }
.section-copy > p:not(.eyebrow), .section-heading > p:not(.eyebrow) { color: var(--g-muted); font-size: 1.1rem; line-height: 1.8; }
.why-section { position: relative; overflow: hidden; background: var(--g-white); }
.why-editorial { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.why-image { aspect-ratio: 1.35; overflow: hidden; border-radius: 12px; }
.why-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.belonging-points, .landing-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); margin-top: 4rem; }
.why-section .belonging-points { margin-left: -1rem; margin-right: -1rem; padding: 1.25rem 1rem; border-radius: 12px; background: #f0f6ef; }
.belonging-points > div { padding-top: 1.2rem; border-top: 1px solid #cbd8d0; display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 0.8rem; align-items: center; }
.belonging-points > div > span:last-child { grid-column: 2; }
.landing-steps article { padding: 1.5rem; border: 1px solid #d8e1db; border-radius: 10px; display: flex; flex-direction: column; gap: 0.5rem; background: rgba(255, 254, 251, 0.64); }
.belonging-points span, .landing-steps p { color: var(--g-muted); line-height: 1.6; }
.landing-icon-disc { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--g-green-soft); color: var(--g-green); }
.landing-line-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 20px; }
.landing-step-icon { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.step-visual { min-height: 64px; display: flex; justify-content: space-between; align-items: flex-start; color: var(--g-green); }
.step-visual b { font-size: 0.76rem; }
.how-section { position: relative; overflow: hidden; background: #eef2ed; }
.how-section > .button-link { margin-top: 2rem; }
.how-section .landing-steps { margin-left: -1rem; margin-right: -1rem; padding: 1rem; border-radius: 12px; background: rgba(255,254,251,.5); }
.churches-section { position: relative; overflow: hidden; background: var(--g-green-dark); color: #fff; }
.churches-editorial { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(400px, 1fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.churches-section .eyebrow { color: #bbd7c7 !important; }
.churches-section p { color: #d4e1da; }
.churches-image { aspect-ratio: 1.55; border-radius: 12px; overflow: hidden; }
.churches-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-list { columns: 3; column-gap: 2.5rem; list-style: none; margin: 4rem 0 0; padding: 0; }
.feature-list li { break-inside: avoid; padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.18); }
.feature-list li::before { content: '✓'; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 0.55rem; border: 1px solid #9cd0b5; border-radius: 50%; color: #9cd0b5; font-size: 0.7rem; }
.attendees-section { position: relative; overflow: hidden; text-align: center; background: #fbfaf6; padding-bottom: 0; }
.attendees-section .section-heading { display: grid; justify-items: center; }
.attendee-flow { display: flex; align-items: center; justify-content: center; gap: clamp(0.7rem, 4vw, 3rem); margin-top: 3rem; }
.attendee-flow > div { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.flow-icon { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: var(--g-green-soft); color: var(--g-green); font-weight: 800; }
.attendees-image { position: relative; width: min(1100px, calc(100% + 2rem)); height: clamp(260px, 34vw, 440px); margin: 4rem auto 0; overflow: hidden; border-radius: 12px 12px 0 0; }
.attendees-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; display: block; }
.attendees-image span { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 0.55rem; width: max-content; max-width: calc(100% - 2rem); padding: 0.8rem 1rem; border-radius: 9px; background: rgba(255,254,251,0.94); color: var(--g-ink); font-size: 0.8rem; font-weight: 700; }
.landing-callout-band {
    width: min(1220px, calc(100% - 2.4rem));
    margin: -1.5rem auto 1.8rem;
    border: 1px solid #d8e3dc;
    border-radius: 12px;
    padding: 1rem 5.4rem 1rem 1rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.95rem;
    background: linear-gradient(180deg, #f8fbf8 0%, #f2f6f2 100%);
    position: relative;
    overflow: hidden;
}
.landing-callout-band.has-action {
    grid-template-columns: auto minmax(0, 1fr) auto;
}
.landing-callout-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    color: var(--g-green);
    background: #e5f0e9;
}
.landing-callout-copy strong {
    display: block;
    font-size: 1.02rem;
    color: #1d3a31;
}
.landing-callout-copy p {
    margin: 0.2rem 0 0;
    color: #5e7269;
    line-height: 1.45;
    font-size: 0.9rem;
}
.landing-callout-band .button-link {
    min-height: 38px;
    padding: 0.56rem 0.86rem;
    font-size: 0.82rem;
    z-index: 1;
}
.faq-section { background: #f0f2ed; display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 4rem; }
.faq-section .section-heading { position: relative; }
.faq-list details { border-top: 1px solid #cbd6cf; padding: 1.1rem 0; }
.faq-list summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-list summary::after { content: '+'; color: var(--g-green); font-size: 1.15rem; font-weight: 500; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { color: var(--g-muted); line-height: 1.6; }
.landing-final-cta { padding: 6rem 1.2rem; background: var(--g-green); color: #fff; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.landing-final-cta h2 { margin: 0; }
.landing-final-cta a:not(.button-link) { color: #fff; }
.landing-footer { padding: 3.5rem clamp(1.2rem, 8vw, 8rem); display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 2rem; background: #e6ebe6; }
.landing-footer > div { display: flex; flex-direction: column; gap: 0.7rem; }
.landing-footer p { color: var(--g-muted); line-height: 1.6; }
.landing-footer small { grid-column: 1 / -1; color: var(--g-muted); border-top: 1px solid #ccd5cf; padding-top: 1.3rem; }
.legal-page { max-width: 820px; margin: 4rem auto; padding: 3rem; }
.legal-page p { line-height: 1.8; }
.auth-page { min-height: 100vh; display: grid; place-items: center; align-content: center; gap: 1.5rem; padding: 1.2rem; }
.centered-brand { align-items: center; }
.auth-card { width: min(440px, 100%); background: var(--g-white); }

@media (max-width: 920px) {
    .host-app-shell { grid-template-columns: 1fr; }
    .host-sidebar { position: static; height: auto; padding: 1rem; display: grid; grid-template-columns: auto 1fr; gap: 0.8rem 1.5rem; align-items: center; }
    .host-sidebar .brand-context { display: none; }
    .host-nav { grid-column: 1 / -1; flex-direction: row; overflow-x: auto; padding-bottom: 0.2rem; }
    .host-nav a { white-space: nowrap; }
    .sidebar-church { margin: 0; padding: 0; border: 0; justify-self: end; }
    .host-logout-form { display: none; }
    .host-content-grid { grid-template-columns: 1fr; }
    .status-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .status-cell:nth-child(2) { border-right: 0; }
    .status-cell:nth-child(-n+2) { border-bottom: 1px solid var(--g-line); }
    .diagnostic-actions, .help-steps-grid { grid-template-columns: repeat(2, 1fr); }
    .landing-nav nav { display: none; }
    .landing-nav { display: flex; gap: 1rem; }
    .landing-nav-actions { margin-left: auto; }
    .landing-hero, .why-editorial, .churches-editorial, .faq-section { grid-template-columns: 1fr; gap: 2.5rem; }
    .landing-hero { min-height: auto; }
    .hero-media { min-height: 360px; }
    .feature-list { columns: 2; }
    .landing-callout-band { width: calc(100% - 2.2rem); margin: -1rem auto 1.5rem; }
}

@media (max-width: 620px) {
    .host-main { padding: 1.1rem 0.8rem 2rem; }
    .content-retention-panel { align-items: stretch; flex-direction: column; }
    .content-retention-panel .host-retention-row { flex-wrap: wrap; }
    .app-topbar { align-items: flex-start; }
    .topbar-actions .user-avatar { display: none; }
    .topbar-actions select { min-width: 100px; }
    .status-overview { border-radius: 10px; }
    .status-cell { padding: 0.8rem; }
    .share-layout { grid-template-columns: 1fr; justify-items: center; }
    .share-layout > div:last-child { width: 100%; }
    .session-row { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
    .session-summary-grid, .two-column-detail, .diagnostic-actions, .help-steps-grid { grid-template-columns: 1fr; }
    .language-metric-list > div { grid-template-columns: 1fr; }
    .client-product-shell { padding: 1rem 0.8rem 2.5rem; }
    .client-brand-header { margin-bottom: 2rem; }
    .client-status-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .client-status-strip > div:nth-child(2) { border-right: 0; }
    .client-status-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--g-line); }
    .client-language-card { grid-template-columns: 1fr; }
    .client-listen-actions { grid-column: auto; grid-template-columns: 1fr; }
    .client-current-card { min-height: 360px; }
    .landing-nav { height: 68px; padding: 0 0.8rem; }
    .landing-nav .brand-lockup::before { width: 148px; height: 40px; }
    .landing-nav-actions select { width: 82px; max-width: 82px; padding-left: 0.55rem; padding-right: 0.35rem; }
    .landing-nav-actions .button-link { display: none; }
    .landing-hero { min-height: auto; padding: 3.2rem 1.1rem 4rem; grid-template-columns: 1fr; align-items: start; gap: 2.5rem; }
    .landing-hero > * { min-width: 0; max-width: 100%; }
    .hero-content h1 { max-width: 100%; font-size: clamp(2.4rem, 12vw, 3.5rem); overflow-wrap: break-word; }
    .hero-content > p:not(.eyebrow) { max-width: 100%; font-size: 0.98rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-proof { gap: 0.65rem; margin-top: 1.4rem; }
    .hero-media { min-height: 0; aspect-ratio: 0.92; border-radius: 11px; }
    .hero-media-note { right: 0.75rem; bottom: 0.75rem; }
    .hero-next { display: none; }
    .landing-section { padding: 4rem 1.1rem; }
    .why-editorial, .churches-editorial { grid-template-columns: 1fr; }
    .why-image, .churches-image { min-width: 0; }
    .belonging-points, .landing-steps { grid-template-columns: 1fr; margin-top: 2.5rem; }
    .feature-list { columns: 1; }
    .attendee-flow { gap: 0.45rem; }
    .attendee-flow > div strong { font-size: 0.75rem; }
    .attendee-flow > span { font-size: 0.8rem; }
    .flow-icon { width: 58px; height: 58px; }
    .flow-icon .landing-step-icon { width: 30px; height: 30px; }
    .attendees-image { width: calc(100% + 2.2rem); margin-left: -1.1rem; border-radius: 0; }
    .landing-callout-band,
    .landing-callout-band.has-action {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 0.9rem 4.4rem 0.9rem 0.9rem;
    }
    .landing-callout-band.has-action .button-link {
        grid-column: 2;
        justify-self: start;
        margin-top: 0.5rem;
    }
    .landing-callout-copy strong { font-size: 0.96rem; }
    .landing-callout-copy p { font-size: 0.84rem; }
    .landing-footer { grid-template-columns: 1fr 1fr; }
    .landing-footer > div:first-child, .landing-footer small { grid-column: 1 / -1; }
    .legal-page { margin: 1rem; padding: 1.5rem; }
}

/* Final approved icon additions */
.gudord-icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.status-line-icon,
.detail-line-icon {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.status-label-with-icon {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.status-label-with-icon > span:last-child {
    display: inline !important;
    min-width: 0;
}

.status-icon-disc,
.session-icon-disc {
    display: inline-grid !important;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    background: var(--g-green-soft);
    color: var(--g-green);
}

.status-icon-disc-blue {
    background: #e9eef9;
    color: #3367ba;
}

.status-icon-disc-violet {
    background: #f0e9f4;
    color: #76508a;
}

.client-status-strip .status-label-with-icon {
    color: var(--g-muted);
}

.client-status-strip .status-line-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
    color: var(--g-green);
}

.session-row .session-primary {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.session-row .session-primary-copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.session-icon-disc {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
}

.detail-label-with-icon,
.detail-heading-with-icon {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.detail-line-icon {
    color: var(--g-green);
}

.detail-heading-with-icon {
    margin-top: 0;
}

@media (max-width: 620px) {
    .status-icon-disc {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .status-icon-disc .status-line-icon {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
    }
}
