/* Radio Qualified's shared theme. Layout and interaction rules remain in product.css. */
:root {
    --ink: #292929;
    --muted: #696765;
    --green: #292929;
    --mint: #edece2;
    --line: #d5d3d1;
    --paper: #f2f0e9;
    --white: #fbfaf5;
    --nav: #262626;
    --radius: 3px;
    --accent: #b34322;
    --accent-light: #e28d57;
    --mono: Consolas, "Courier New", monospace;
}
body, .public-body { background: var(--paper); color: var(--ink); }
::selection { background: #e8c8a7; color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { color: var(--ink); }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(31px, 3vw, 40px); font-weight: 400; letter-spacing: -1.3px; line-height: 1.15; }
.eyebrow, .nav-label, .workspace-label, .count-label, .content-status { font-family: var(--mono); font-weight: 400; letter-spacing: .8px; }
.eyebrow { color: var(--accent); font-size: 10px; }
.card, .stat-card, .scenario-card { background: var(--white); border-color: var(--line); border-radius: 3px; box-shadow: none; }
.button { border-radius: 3px; min-height: 44px; background: var(--ink); border-color: var(--ink); color: #fffef8; box-shadow: none; gap: 17px; }
.button:hover { background: #494745; border-color: #494745; box-shadow: none; }
.button.secondary { background: transparent; border-color: #b3b1af; color: var(--ink); }
.button.secondary:hover { background: #e8e6e4; border-color: #868482; }
.button.danger { background: #9d3e32; border-color: #9d3e32; color: #fff; }
.button.danger:hover { background: #7d3027; border-color: #7d3027; }
.button:disabled { opacity: .52; }
.text-link { color: #4d4b49; }
.text-link:hover { color: var(--accent); }
.text-link.destructive, .destructive { color: #9d3e32; }
.icon-button, .icon-tile, .icon-tile.mint, .icon-tile.blue { border-radius: 3px; }
.icon-button:hover { background: #e7e5e3; }
.icon-tile, .icon-tile.mint, .icon-tile.blue { background: #edebe9; color: #6b6967; }
.pill { background: #edebe9; color: #5c5a58; border-radius: 2px; font-size: 10px; }
.pill.light { background: #eeecea; border-color: #d0cecc; color: #696765; }
.pill.draft, .content-status { color: #825420; background: #f4ead6; border-radius: 2px; }
.live-dot, .brand-dot { background: var(--accent); }
.avatar { border-radius: 3px; background: #e6e4e2; color: #504e4c; }
.progress-track { background: #e7e5e3; border-radius: 1px; }
.progress-track>span { background: #8b6644; border-radius: 1px; }
progress, .assignment-step progress { accent-color: #8b6644; }
.empty-state>.icon, .panel-heading>.icon { color: #807e7c; }
.app-footer { color: var(--muted); border-top-color: var(--line); }
.footer-divider { color: #a3a19f; }

/* Public pages, account screens and authentication share the homepage's masthead. */
.public-header, .public-main, .public-footer { max-width: 1360px; padding-left: 56px; padding-right: 56px; }
.public-header { padding-top: 24px; padding-bottom: 24px; min-height: 100px; border-bottom: 1px solid var(--line); }
.public-header .brand { padding: 0; color: var(--ink); font-size: 25px; }
.brand-symbol { border-radius: 3px; border: 1px solid #959391; background: transparent; color: inherit; }
.public-header .brand-symbol { color: var(--ink); }
.public-header nav { gap: 30px; color: #4e4c4a; }
.public-header nav a[aria-current=page] { color: var(--accent); }
.public-header nav a:not(.button):hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.public-header nav .button { border-radius: 3px; padding: 12px 18px; }
.public-footer { margin-top: 48px; border-top-color: var(--line); padding-top: 27px; padding-bottom: 28px; }
.footer-wordmark { color: var(--ink); }
.footer-wordmark span { color: var(--accent); }
.public-footer p, .public-footer>small { color: var(--muted); }
.public-footer>small { border-top-color: var(--line); }
.public-footer nav { color: #514f4d; }
.account-nav { gap: 18px; border-bottom-color: var(--line); padding-bottom: 0; }
.account-nav a { border-radius: 0; padding: 12px 0; border-bottom: 2px solid transparent; color: #6a6866; }
.account-nav .selected, .account-nav a:hover { background: transparent; color: var(--ink); border-bottom-color: var(--accent); }
.account-shell .page-heading { margin-top: 28px; }
.workspace-card { border-top: 2px solid #868482; }

/* Keep workspace selection, billing and setup in one clear content column. */
.workspace-picker { max-width: 1040px; margin: 32px auto 0; }
.workspace-picker .account-nav { margin-bottom: 30px; }
.workspace-picker .workspace-picker-heading { margin: 0 0 24px; }
.workspace-picker-heading h1 { font-size: 34px; letter-spacing: -.8px; }
.workspace-picker-heading p { max-width: 650px; margin-top: 10px; line-height: 1.6; }
.workspace-picker .workspace-cards { display: grid; gap: 12px; }
.workspace-picker .workspace-entry { display: flex; align-items: center; gap: 18px; padding: 24px; border: 1px solid var(--line); }
.workspace-entry>.icon-tile { flex: 0 0 42px; width: 42px; height: 42px; }
.workspace-entry-details { flex: 1; min-width: 0; }
.workspace-entry-details>small { display: block; font-size: 11px; color: var(--muted); }
.workspace-entry-details h2 { margin: 4px 0 5px; font-size: 20px; line-height: 1.35; overflow-wrap: anywhere; }
.workspace-entry-details p { font-size: 12px; line-height: 1.5; }
.workspace-picker .workspace-entry-actions { display: flex; flex-direction: column; align-items: stretch; flex: 0 0 auto; gap: 8px; margin: 0 0 0 16px; }
.workspace-entry-actions .button { padding: 10px 16px; }
.workspace-billing-link { align-self: center; background: none; border: 0; padding: 6px 12px; color: var(--muted); font-size: 12px; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; }
.workspace-billing-link:hover { color: var(--accent); }
.workspace-create { margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workspace-create>summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; }
.workspace-create>summary::-webkit-details-marker { display: none; }
.workspace-create>summary>span:first-child { min-width: 0; }
.workspace-create>summary strong { display: block; font-size: 15px; font-weight: 600; }
.workspace-create>summary>span>span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.workspace-create-action { display: flex; align-items: center; gap: 10px; flex-shrink: 0; font-size: 12px; }
.workspace-create-action .icon { width: 15px; height: 15px; transition: transform .15s; }
.workspace-create[open] .workspace-create-action .icon { transform: rotate(180deg); }
.workspace-create-content { padding: 0 0 24px; }
.workspace-create-form { display: grid; grid-template-columns: minmax(0, 1fr) 150px auto; align-items: end; gap: 16px; }
.workspace-create-form .field-label { margin-top: 0; }
.workspace-create-form .button { min-height: 45px; }
.workspace-create-content>p, .workspace-create-content>small { display: block; margin-top: 14px; font-size: 12px; line-height: 1.6; }
.workspace-create-content>small { margin-top: 5px; }
.workspace-security-note { display: flex; align-items: flex-start; gap: 12px; }
.workspace-security-note>.icon { color: var(--muted); }
.workspace-security-note p { margin-bottom: 8px; font-size: 13px; }

@media (max-width: 700px) {
    .workspace-picker { margin-top: 24px; }
    .workspace-picker .account-nav { gap: 18px; margin-bottom: 24px; }
    .workspace-picker .workspace-picker-heading h1 { font-size: 30px; }
    .workspace-picker .workspace-entry { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: start; gap: 14px; padding: 20px; }
    .workspace-entry>.icon-tile { width: 36px; height: 36px; }
    .workspace-entry-details h2 { font-size: 18px; }
    .workspace-picker .workspace-entry-actions { grid-column: 1 / -1; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin: 4px 0 0; }
    .workspace-picker .workspace-entry-actions .button { width: auto; }
    .workspace-create>summary { align-items: flex-start; flex-direction: column; gap: 14px; padding: 20px 0; }
    .workspace-create-form { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .workspace-create-form .button { justify-self: start; }
}

/* A solid instrument-panel navigation rail, with orange marking the current section. */
.sidebar { background: var(--nav); }
.sidebar-nav { scrollbar-color: #66635f transparent; }
.sidebar .brand { color: #f2f0e5; }
.sidebar .brand-symbol { border-color: #8e8c8a; }
.workspace-label, .nav-label { color: #b1afad; font-size: 9px; }
.workspace-switch { background: #ffffff03; border-color: #8785834d; border-radius: 3px; }
.workspace-switch label { color: #bcbab8; }
.workspace-avatar { background: #ffffff0b; border-color: #918f8d40; border-radius: 2px; color: #e6e4e2; font-family: var(--mono); }
.workspace-switch select, .workspace-switch select:focus { color: #f4f2f0; background: transparent; border: 0; border-radius: 0; }
.workspace-switch select:focus { outline-color: var(--accent-light); box-shadow: none; }
.workspace-switch option { background: var(--nav); color: #f4f2f0; }
.nav-item { color: #c8c6c4; border-radius: 2px; }
.nav-item .icon { color: #aaa8a6; }
.nav-item:hover { background: #ffffff09; color: #fffdf0; }
.nav-item.active { background: #ffffff09; border-color: #ffffff0c; border-left: 2px solid var(--accent-light); padding-left: 11px; color: #fff9e8; box-shadow: none; }
.nav-item.active .icon { color: var(--accent-light); }
.account-menu { border-top-color: #ffffff20; }
.account-menu>summary { color: #c5c3c1; border-radius: 2px; }
.account-menu>summary:hover { background: #ffffff09; }
.sidebar-profile { border-top-color: #ffffff20; }
.profile-link small { color: #b0aeac; }
.sidebar .avatar { border-radius: 3px; background: #d6d4d2; color: #444240; }
.sidebar-profile .icon-button { color: #c7c5c3; }
.topbar { background: #f2f0e9f5; border-bottom-color: var(--line); backdrop-filter: none; }
.breadcrumb .breadcrumb-workspace { color: #6f6d6b; }
.breadcrumb strong { color: #484644; }
.environment { background: transparent; border-color: #d1cfcd; border-radius: 2px; color: #6a6866; font-family: var(--mono); font-size: 9px; }
.environment .live-dot { background: var(--accent); }
.topbar .avatar { background: #e5e3e1; }
.demo-save-bar { border-radius: 3px; background: transparent; border-color: var(--line); border-left: 3px solid #8e7250; }

/* The dashboard is a working training record, with a numbered lesson as the focal point. */
.dashboard-heading { align-items: center; }
.dashboard-focus { grid-template-columns: minmax(0, 1.9fr) minmax(250px, 1fr); }
.focus-card { display: flex; align-items: stretch; background: var(--nav); border-color: var(--nav); border-radius: 3px; min-height: 300px; }
.focus-copy { flex: 1; width: auto; max-width: none; min-width: 0; padding: 29px; }
.focus-label { font-family: var(--mono); font-size: 9px; letter-spacing: .7px; color: #cfcdcb; }
.focus-label .live-dot { background: var(--accent-light); border-radius: 0; width: 6px; height: 6px; }
.focus-copy h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: #f5f2e8; font-size: clamp(27px, 2.6vw, 36px); line-height: 1.17; letter-spacing: -.7px; }
.focus-copy p { color: #c9c7c5; max-width: 440px; }
.focus-copy .button { background: #eceae8; border-color: #eceae8; color: #262626; font-weight: 600; }
.focus-copy .button:hover { background: #fffdf1; border-color: #fffdf1; }
.focus-meta { color: #c3c1bf; font-family: var(--mono); font-size: 9px; }
.focus-index { width: 135px; flex-shrink: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 27px 19px; border-left: 1px solid #ffffff24; text-align: right; }
.focus-index>span, .focus-index>small { font-family: var(--mono); text-transform: uppercase; font-size: 8px; color: #c6c4c2; letter-spacing: .4px; }
.focus-index>strong { font-family: var(--mono); color: var(--accent-light); font-weight: 400; font-size: 62px; line-height: 1; letter-spacing: -4px; }
.focus-index>small { font-size: 7px; line-height: 1.8; }
.next-step-panel { background: transparent; border: 0; border-top: 2px solid #706e6c; border-bottom: 1px solid var(--line); padding: 23px 0; }
.next-step-panel>.icon-tile { background: transparent; width: auto; height: auto; margin-bottom: 14px; }
.next-step-panel h2 { font-size: 21px; font-weight: 550; }
.path-sequence { color: #6a6866; font-family: var(--mono); font-size: 9px; }
.path-sequence i { color: #8a8886; }
.dashboard-stats { gap: 0; border-top: 1px solid #959391; border-bottom: 1px solid var(--line); margin: 26px 0; }
.dashboard-stats .stat-card { border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; padding: 21px; }
.dashboard-stats .stat-card:last-child { border-right: 0; }
.dashboard-stats .stat-card:hover { background: #eae8e6; }
.stat-label { color: #6a6866; }
.stat-card strong { color: var(--ink); font-family: var(--mono); font-weight: 400; font-size: 26px; }
.stat-icon { background: transparent; color: #807e7c; border-radius: 0; }
.panel-heading .eyebrow { color: #7e7c7a; font-size: 8px; }
.lesson-number { border-color: #d5d3d1; border-radius: 2px; background: #efedeb; color: #747270; font-family: var(--mono); }
.lesson-number.done { background: #eeecea; border-color: #c3c1bf; color: #605e5c; }
.lesson-row:hover, .recent-activity:hover { background: #efedeb; }
.lesson-row>.icon, .recent-activity>.icon { color: #9a9896; }
.recent-activity { border-bottom-color: var(--line); }
.activity-marker { border-radius: 2px; background: #efedeb; color: #787674; }
.recent-activity div>span, .recent-activity time { color: #716f6d; }
.scenario-card:hover { transform: none; border-color: #918f8d; box-shadow: none; }
.scenario-art, .scenario-art.fire, .scenario-card:nth-child(3) .scenario-art { height: 91px; background: #e9e7e5; color: #72706e; border-bottom: 1px solid var(--line); }
.scenario-art.fire { color: #94633c; }
.scenario-art>.icon { width: 36px; height: 36px; stroke-width: 1.3; }
.art-lines { display: none; }
.scenario-art>.pill { background: #f5f3f1; color: #646260; border: 1px solid #cccac8; }
.scenario-body>div { color: #747270; }
.library-discovery { background: transparent; border-radius: 3px; border-color: var(--line); border-left: 3px solid #8e7250; }
.library-discovery>.icon { color: #82807e; }

/* Plain, readable controls. Invalid, disabled, destructive and completed states remain distinct. */
.field-label { color: #514f4d; }
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]), select, textarea {
    background: #fffef8;
    color: var(--ink);
    border-color: #c3c1bf;
    border-radius: 3px;
    box-shadow: none;
}
input::placeholder, textarea::placeholder { color: #7e7c7a; }
input:not([type=checkbox]):not([type=radio]):focus, select:focus, textarea:focus { border-color: #a25232; box-shadow: 0 0 0 3px #b343221a; background: #fffefb; }
input[type=checkbox], input[type=radio] { accent-color: #665439; }
input:disabled, select:disabled, textarea:disabled, input[readonly], textarea[readonly] { background: #efedeb; color: #716f6d; }
[aria-invalid=true] { border-color: #9d3e32; }
.search-form, .builder-row, .member-picker, .group-empty { border-radius: 3px; background: #fbfaf4; border-color: var(--line); }
.search-form input[type=search] { background: transparent; border: 0; box-shadow: none; }
.builder-row .builder-row { border-radius: 0; background: transparent; }
.notice { border-color: #c9c7c5; background: #f0eeec; color: #4e4c4a; border-radius: 3px; border-left: 3px solid #8b8987; }
.notice.error { border-color: #d9b6a5; border-left-color: #9d3e32; background: #faf0e8; color: #8d3c2b; }
.info-strip, .auth-card .info-strip { background: #edebe9; border-color: #d5d3d1; border-radius: 3px; color: #646260; }
.info-strip>.icon { color: #797775; }
.info-strip p { color: #6a6866; }
.tabs { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0; gap: 20px; }
.tabs a { color: #706e6c; padding: 10px 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; }
.tabs a.selected, .tabs a:hover { background: transparent; border-color: var(--accent); color: var(--ink); box-shadow: none; }
.table-card th, .training-table th, .billing-invoices th, th { background: #efedeb; color: #6c6a68; font-family: var(--mono); font-size: 9px; text-transform: uppercase; font-weight: 400; border-bottom-color: var(--line); }
.table-card td, .training-table td, .billing-invoices td { border-bottom-color: var(--line); }
.table-card td small { color: #72706e; }
.table-card tbody tr:hover, .training-table tbody tr:hover { background: #f1efed; }
.disclosure-card>summary, .assignment-management>summary, .group-editor summary { color: var(--ink); }
.assignment-step { border-bottom-color: var(--line); }

/* Sign-in and account recovery are an extension of the public page, with a quiet form surface. */
.auth-layout { max-width: 1080px; gap: 90px; padding: 68px 0 28px; align-items: start; }
.auth-intro { padding-top: 22px; }
.auth-intro h1 { color: var(--ink); font-family: "Segoe UI Variable", "Segoe UI", sans-serif; font-size: clamp(36px, 4vw, 51px); font-weight: 650; line-height: 1.12; letter-spacing: -1.8px; margin: 24px 0; }
.auth-intro h1>span { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -1.5px; }
.auth-intro>p { color: var(--muted); line-height: 1.9; }
.auth-proof { max-width: 350px; gap: 0; border-top: 1px solid var(--line); margin-top: 30px; }
.auth-proof>span { padding: 13px 0; border-bottom: 1px solid var(--line); color: #6b6967; font-size: 12px; }
.auth-proof .icon { color: #858267; }
.auth-card { border-color: var(--line); border-top: 3px solid #464442; border-radius: 3px; background: #fbfaf4; box-shadow: none; padding: 31px; }
.auth-card h2 { font-family: Georgia, "Times New Roman", serif; font-size: 29px; font-weight: 400; letter-spacing: -.5px; }
.auth-options a, .auth-alternate a { color: #6e5538; }
.auth-options a:hover, .auth-alternate a:hover { text-decoration: underline; text-underline-offset: 3px; }
.password-toggle { color: #6c6148; border-radius: 2px; }
.password-toggle:hover { background: #efedeb; }
.auth-delivery-note { border-color: var(--line); background: #efedeb; border-radius: 3px; }
.company-signup-fields>small { color: var(--muted); }
.security-ready, .setup-key, .recovery-card, .recovery-codes, .qr-code, .invitation-link-card { border-radius: 3px; }
.security-ready { background: #eeecea; }
.setup-key, .recovery-card, .invitation-link-card { background: #efedeb; border-color: #cdcbc9; color: #646260; }
.recovery-codes { background: #fffef8; }
.management-preview { background: #edebe9; border-color: var(--line); color: #63615f; }

/* Individual and company billing use the same ledger-like panels and invoice tables. */
.billing-metrics { gap: 0; border-top: 1px solid #959391; border-bottom: 1px solid var(--line); }
.billing-metric { background: transparent; border: 0; border-right: 1px solid var(--line); border-radius: 0; }
.billing-metric:last-child { border-right: 0; }
.billing-metric>.eyebrow { color: #72706e; font-size: 9px; }
.billing-metric>strong { font-family: var(--mono); font-weight: 400; color: var(--ink); }
.billing-grid>.reading-card { border-top: 2px solid #848280; }
.billing-grid .section-heading { align-items: flex-start; }
.billing-estimate { background: #efedeb; border-color: #cccac8; border-radius: 3px; }
.billing-estimate>span { color: #666462; }
.billing-estimate>strong, .billing-price strong { color: var(--ink); font-family: var(--mono); font-weight: 400; }
.billing-payment .icon-tile { background: #efedeb; }
.billing-section { border-radius: 3px; }
.billing-activity time { font-family: var(--mono); font-size: 10px; }
.pricing-heading { text-align: left; padding-top: 58px; padding-bottom: 33px; border-bottom: 1px solid #868482; margin-bottom: 28px; }
.pricing-heading h1 { font-size: clamp(36px, 4.2vw, 52px); font-weight: 400; }
.pricing-heading>p { margin-left: 0; }
.pricing-card { background: transparent; border: 0; border-top: 2px solid #868482; border-bottom: 1px solid var(--line); border-radius: 0; padding: 26px 23px; }
.pricing-card.featured { background: #fbfaf4; border-color: var(--accent); box-shadow: none; }
.pricing-card h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.7px; }
.pricing-card h2 small { font-family: "Segoe UI", sans-serif; color: var(--muted); letter-spacing: 0; }
.pricing-card .plain-list li::before { color: #847c55; }
.pricing-faq { max-width: none; border-top: 1px solid #959391; padding-top: 30px; }
.pricing-faq summary { color: #52504e; }
.landing-caution { border-color: var(--line); border-radius: 3px; background: transparent; }
.landing-caution p { color: var(--muted); }
.landing-caution>.icon { color: #858381; }

/* Carry the instrument styling into the course library and voice practice. */
.learning-hero { background: var(--nav); border-radius: 3px; box-shadow: none; }
.learning-hero h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: #f4f1e5; letter-spacing: -.6px; }
.learning-hero p { color: #cac8c6; }
.learning-hero .pill.light { color: #ceccca; background: transparent; border-color: #ffffff30; border-radius: 2px; }
.learning-hero .button { background: #eceae8; color: #262626; border-color: #eceae8; }
.learning-hero .button:hover { background: #fffdf1; border-color: #fffdf1; }
.learning-loop>span { border-radius: 2px; border-color: #ffffff30; background: transparent; color: #e5e3e1; }
.learning-loop .icon { color: #c7b68c; }
.learning-loop i { color: var(--accent-light); }
.session-card:hover, .lesson-card:hover, .lecture-card:hover { transform: none; box-shadow: none; border-color: #959391; }
.lecture-thumbnail, .video-play, .video-length, .definition-editor, .review-note, .example { border-radius: 3px; }
.review-note { background: #edebe9; border-color: var(--line); }
.definition-editor { background: #fffef8; }
.question legend>span { border-radius: 2px; background: #efedeb; color: #7e7c7a; }
.answer, .mode-choice, .consent { border-radius: 3px; border-color: var(--line); }
.answer:hover, .answer:has(input:checked), .mode-choice:has(input:checked) { background: #efedeb; border-color: #a6a4a2; }
.consent { background: #efedeb; }
.question-feedback .explanation, .replay-entry details p { background: #efedeb; border-radius: 3px; color: #6b6967; }
.radio-console-panel { background: var(--nav); border-radius: 3px; box-shadow: none; }
.console-display { background: #242220; border-radius: 3px; color: #d3d1cf; }
.console-header, .console-label { color: #c6c4c2; }
.receive-button { background: #4d4b49; border-color: #777573; }
.incoming-caption .text-link { color: #d3c69e; }
.radio-console-panel .waveform i { background: #969492; }
.radio-console-panel .waveform.recording i { background: var(--accent-light); }
.transmission-card, .voice-mode-invite, .voice-consent, .voice-transcript, .voice-feedback, .voice-progress li { border-radius: 3px; }
.voice-mode-invite, .voice-transcript { background: #efedeb; border-color: #d0cecc; }
.voice-consent { background: var(--paper); }
.voice-feedback { background: #f0eeec; border-color: #ceccca; }
.voice-progress li.done { background: #edebe9; color: #5b5957; border-color: #c4c2c0; }
.ptt { background: #efedeb; border-color: #c9c7c5; color: #5e5c5a; box-shadow: none; }
.ptt.recording { background: #f8e5d7; border-color: #b65b39; color: #954323; }
.input-meter { background: #e8e6e4; }
.input-meter>span { background: #8e8c8a; }
.exchange-list .current>span { background: #eee6d4; border-color: #c6a177; color: #7e5932; }
.exchange-list .done>span { background: #edebe9; }
.score-ring { background: #f0eeec; }
.plain-list li::before { color: #8b6644; }
.state-published, .state-approved, .criterion-state.met { background: #eeeae4; color: #58524c; }
.example.good { background: #f1eee8; }
.response-panel select { background: #fffef8; }
.console-brand small, .connection-state, .receive-controls>span { color: #b6b0a5; }
.incoming-caption p { color: #d8d3ca; }
.incoming-caption small { color: #b0aaa0; }
.incoming-caption .eyebrow { color: #c2b6a4; }
.session-return, .learning-footnote { color: #6c6863; }

@media (max-width: 1200px) {
    .focus-copy { width: auto; padding: 26px; }
    .focus-index { width: 100px; padding: 24px 15px; }
    .focus-index>strong { font-size: 53px; }
}
@media (max-width: 1100px) {
    .public-header, .public-main, .public-footer { padding-left: 36px; padding-right: 36px; }
    .dashboard-focus { grid-template-columns: 1fr; }
    .next-step-panel { display: grid; grid-template-columns: 36px 1fr; gap: 0 15px; }
    .next-step-panel>.icon-tile { grid-row: 1 / 5; margin-top: 3px; }
    .next-step-panel .text-link { width: fit-content; }
    .next-step-panel .path-sequence { display: none; }
    .focus-index { width: 135px; }
    .auth-layout { gap: 50px; }
}
@media (max-width: 900px) {
    .auth-layout { padding-top: 45px; }
    .auth-layout-register .auth-intro { position: static; }
    .auth-proof { display: none; }
    .auth-intro { padding-top: 0; }
    .auth-intro h1 { margin-top: 18px; }
    .billing-metric { padding: 19px; }
    .billing-metric>strong { font-size: 24px; }
}
@media (min-width: 651px) and (max-width: 1000px) {
    .sidebar { width: 208px; }
    .app-shell { margin-left: 208px; }
    .sidebar .brand { font-size: 21px; padding-left: 7px; }
    .sidebar .brand-symbol { width: 29px; margin-right: 7px; }
    .sidebar .nav-item { font-size: 11px; padding-right: 9px; }
    .workspace-switch { padding: 10px 7px; }
}
@media (max-width: 850px) {
    .focus-index { display: none; }
}
@media (max-width: 650px) {
    h1 { font-size: 33px; }
    .public-header, .public-main, .public-footer { padding-left: 23px; padding-right: 23px; }
    .public-header { min-height: 82px; gap: 17px; padding-top: 20px; padding-bottom: 20px; }
    .public-header .brand { font-size: 22px; }
    .public-header .brand-symbol { width: 29px; height: 32px; margin-right: 7px; }
    .public-header nav { gap: 17px; font-size: 12px; }
    .public-header nav .button { padding: 10px 14px; font-size: 11px; min-height: 40px; }
    .sidebar>.mobile-menu { border-radius: 2px; color: #e5e3e1; background: #ffffff08; border-color: #ffffff24; }
    .sidebar>.mobile-menu:hover, .sidebar>.mobile-menu:focus-visible { color: #fff9e8; background: #ffffff14; border-color: #ffffff40; }
    .topbar { background: var(--paper); }
    .dashboard-heading { align-items: flex-start; }
    .focus-card { min-height: auto; }
    .focus-copy { padding: 25px 22px; width: auto; }
    .focus-copy h2 { font-size: 29px; }
    .focus-index { display: none; }
    .dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
    .dashboard-stats .stat-card { padding: 18px 14px; }
    .dashboard-stats .stat-card:nth-child(2) { border-right: 0; }
    .dashboard-stats .stat-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .dashboard-stats .stat-card:last-child { border-right: 0; }
    .dashboard-stats .stat-icon { display: none; }
    .dashboard-stats .stat-label { padding-right: 0; }
    .dashboard-stats .stat-card strong { font-size: 22px; }
    .next-step-panel { padding: 21px 0; }
    .tabs { gap: 15px; }
    .tabs a { padding: 9px 0; flex-grow: 0; }
    .account-nav { gap: 15px; }
    .account-nav a { font-size: 11px; padding: 10px 0; }
    .billing-metrics { grid-template-columns: 1fr; }
    .billing-metric { border-right: 0; border-bottom: 1px solid var(--line); padding: 21px 4px; }
    .billing-metric:last-child { border-bottom: 0; }
    .billing-metric>strong { font-size: 28px; }
    .auth-layout { padding-top: 31px; gap: 25px; }
    .auth-intro h1 { font-size: 39px; line-height: 1.1; margin-bottom: 15px; }
    .auth-intro>p { font-size: 13px; max-width: 400px; }
    .auth-card { padding: 25px 21px; }
    .auth-card h2 { font-size: 27px; }
    input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]), select, textarea { font-size: 16px; }
    .workspace-switch select { font-size: 12px; }
    .pricing-heading { padding-top: 36px; }
    .pricing-heading h1 { font-size: 38px; }
    .pricing-card { padding: 25px 21px; }
    .public-footer { margin-top: 30px; }
}
@media (max-width: 420px) {
    .public-header { display: grid; grid-template-columns: 1fr; gap: 17px; }
    .public-header nav { justify-content: space-between; width: 100%; gap: 13px; }
    .public-header nav>a[href="/plans"], .public-header nav>a.marketing-link { display: inline; }
}

/* Dashboard panels stay compact, including workspaces awaiting published content. */
.dashboard-page .dashboard-heading { margin-bottom: 22px; gap: 20px; }
.dashboard-page .dashboard-heading h1 { font-size: 32px; letter-spacing: -.8px; }
.dashboard-page .dashboard-heading p { margin-top: 8px; font-size: 13px; }
.dashboard-page .dashboard-focus { grid-template-columns: minmax(0, 1.6fr) minmax(230px, 1fr); gap: 18px; }
.dashboard-page .dashboard-focus-single { grid-template-columns: minmax(0, 1fr); }
.dashboard-page .focus-card { min-height: 0; }
.dashboard-page .focus-copy { width: auto; padding: 24px; }
.dashboard-page .focus-label { font-size: 10px; color: #d6d3ce; }
.dashboard-page .focus-copy h2 { font-size: 26px; line-height: 1.25; margin-top: 10px; max-width: none; }
.dashboard-page .focus-copy p { font-size: 13px; line-height: 1.65; margin: 10px 0 18px; max-width: 560px; }
.dashboard-next-action { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.dashboard-next-action>small { font-size: 11px; color: #c9c7c5; }
.dashboard-page .focus-copy .button { margin: 0; width: auto; }
.dashboard-page .next-step-panel { display: flex; align-items: flex-start; flex-direction: column; padding: 24px; background: var(--white); border: 1px solid var(--line); min-width: 0; }
.dashboard-page .next-step-panel .eyebrow { margin-bottom: 10px; }
.dashboard-page .next-step-panel h2 { font-size: 19px; line-height: 1.35; margin: 0; }
.dashboard-page .next-step-panel p { margin: 10px 0 0; font-size: 13px; line-height: 1.65; }
.dashboard-page .next-step-panel .text-link { margin: 18px 0 0; }
.dashboard-availability { display: flex; align-items: flex-start; gap: 16px; padding: 24px; }
.dashboard-availability>.icon-tile { flex: 0 0 40px; width: 40px; height: 40px; }
.dashboard-availability>div { min-width: 0; }
.dashboard-availability h2 { font-size: 20px; font-weight: 600; line-height: 1.4; }
.dashboard-availability p { max-width: 620px; font-size: 13px; line-height: 1.65; margin-top: 7px; }
.dashboard-availability .button, .dashboard-availability .text-link { margin-top: 16px; }
.dashboard-page .dashboard-stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 20px 0; gap: 0; }
.dashboard-page .dashboard-stats .stat-card { padding: 16px 18px; min-height: 0; border-bottom: 0; }
.dashboard-page .dashboard-stats .stat-label { padding: 0; font-size: 11px; }
.dashboard-page .dashboard-stats strong { font-family: "Segoe UI Variable", "Segoe UI", sans-serif; font-size: 24px; line-height: 1.3; font-weight: 600; letter-spacing: -.5px; margin-top: 7px; overflow-wrap: anywhere; }
.dashboard-page .dashboard-stats small { margin-top: 5px; font-size: 11px; }
.dashboard-page .dashboard-detail-grid { gap: 18px; }
.dashboard-page .dashboard-detail-single { grid-template-columns: minmax(0, 1fr); }
.dashboard-page .panel-heading { padding: 20px 22px 14px; gap: 16px; }
.dashboard-page .panel-heading h2 { font-size: 18px; }
.dashboard-page .foundation-progress { padding: 0 22px 14px; }
.dashboard-activity-empty { padding: 0 22px 22px; }
.dashboard-activity-empty p { font-size: 13px; }
.dashboard-activity-empty small { display: block; margin-top: 6px; line-height: 1.65; }
.dashboard-activity-empty .text-link { margin-top: 14px; }
.dashboard-page .section-heading { margin: 26px 0 14px; }
.dashboard-page .section-heading h2 { font-size: 20px; }
.dashboard-page .scenario-art { height: 74px; }
.dashboard-page .scenario-art>.icon { width: 30px; height: 30px; }
.dashboard-page .library-discovery { margin-top: 18px; }

@media (max-width: 1000px) {
    .dashboard-page .dashboard-focus { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 650px) {
    .dashboard-page .dashboard-heading h1 { font-size: 29px; }
    .dashboard-page .dashboard-focus { gap: 14px; }
    .dashboard-page .focus-copy, .dashboard-page .next-step-panel { padding: 21px; }
    .dashboard-page .focus-copy h2 { font-size: 25px; }
    .dashboard-page .dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-page .dashboard-stats .stat-card { padding: 15px 12px; }
    .dashboard-page .dashboard-stats .stat-card:nth-last-child(n+3),
    .dashboard-page .dashboard-stats .stat-card:nth-child(2):nth-last-child(2) { border-bottom: 1px solid var(--line); }
    .dashboard-page .dashboard-stats strong { font-size: 21px; }
    .dashboard-availability { gap: 12px; padding: 20px; }
    .dashboard-availability>.icon-tile { display: none; }
    .dashboard-availability h2 { font-size: 19px; }
    .dashboard-page .panel-heading { padding-left: 20px; padding-right: 20px; }
}

/* Shared utility screens: readable controls, restrained headings and contained content. */
.workspace-body .page-heading h1, .account-shell .page-heading h1 { font-size: 32px; line-height: 1.2; letter-spacing: -.8px; overflow-wrap: anywhere; }
.page-heading { gap: 18px; }
.page-heading>div { min-width: 0; }
.page-heading p { line-height: 1.65; }
.page-heading>.icon-tile { flex-shrink: 0; }
.sidebar .brand { padding: 0 5px; font-size: 22px; letter-spacing: -.8px; }
.sidebar .brand-symbol { flex-shrink: 0; }
.reading-card>:first-child { margin-top: 0; }
.reading-card>.section-heading { margin: 0 0 18px; align-items: flex-start; }
.reading-card>.section-heading h2 { font-size: 20px; line-height: 1.35; }
.reading-card h2, .reading-card h3 { overflow-wrap: anywhere; }
.reading-card>p { line-height: 1.7; }
.reading-card>form+p { margin-top: 14px; }
.assignment-grid { align-items: start; }
.reading-card .teaching { font-size: 14px; line-height: 1.8; }
.button { max-width: 100%; white-space: normal; text-align: center; overflow-wrap: anywhere; }
.button .icon { flex-shrink: 0; }
.account-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.account-nav a[aria-current=page] { color: var(--ink); border-bottom-color: var(--accent); }
.account-narrow { max-width: 640px; }
.account-narrow h1 { font-size: 30px; line-height: 1.2; }
.account-narrow>.reading-card { padding: 28px; }
.auth-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, 440px); gap: 56px; padding-top: 44px; }
.auth-intro { padding-top: 12px; }
.auth-intro h1 { font-size: clamp(32px, 3.2vw, 42px); margin: 18px 0; line-height: 1.15; }
.auth-layout.auth-layout-compact { display: block; max-width: 480px; margin: 0 auto; padding: 40px 0 20px; }
.auth-layout-compact .auth-card h1 { font-size: 29px; line-height: 1.2; margin-bottom: 12px; }
.auth-layout-compact .auth-card>p { font-size: 13px; line-height: 1.7; }
.security-grid>*, .assignment-grid>*, .team-layout>*, .reading-layout>*, .studio-editor-layout>* { min-width: 0; }
.reading-card input, .reading-card select, .reading-card textarea { min-width: 0; max-width: 100%; }
.setup-key, .invitation-link-card, .revision-hash { max-width: 100%; overflow-wrap: anywhere; word-break: normal; }
.setup-key { white-space: normal; }
.recovery-codes { min-width: 0; }
.recovery-codes li { min-width: 0; overflow-wrap: anywhere; }
.table-card { min-width: 0; width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
.table-card th, .training-table th, .billing-invoices th { font-size: 11px; letter-spacing: .3px; }
.table-card td, .training-table td, .billing-invoices td { font-size: 12px; line-height: 1.6; }
.table-card td strong { font-size: 12px; }
.table-card td small { font-size: 11px; }
.member-controls { gap: 10px; }
.member-controls label>span { font-size: 11px; }
.member-controls select { font-size: 12px; min-height: 36px; }
.member-controls .button { font-size: 12px; }
.billing-page .billing-date { font-size: 22px; line-height: 1.35; overflow-wrap: anywhere; }
.billing-page .billing-metric p { line-height: 1.6; }
.billing-diagnostics { margin-top: 24px; }
.billing-diagnostics>summary { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; cursor: pointer; padding: 20px 24px; font-size: 14px; font-weight: 600; list-style: none; }
.billing-diagnostics>summary::-webkit-details-marker { display: none; }
.billing-diagnostics>summary::before { content: "›"; font-size: 20px; line-height: 1; }
.billing-diagnostics[open]>summary::before { transform: rotate(90deg); }
.billing-diagnostics>summary>span:first-child { flex: 1; }
.billing-diagnostics-content { padding: 0 24px 24px; }
.billing-diagnostics-content>p { font-size: 13px; line-height: 1.7; }
.billing-update-alert, .billing-recovery { margin-top: 20px; }
.billing-update-alert { flex-wrap: wrap; }
.billing-recovery .button, .billing-recovery .text-link { margin-top: 12px; }
.console-header { flex-wrap: wrap; gap: 12px; align-items: center; }
.console-brand { min-width: 0; flex-wrap: wrap; white-space: normal; line-height: 1.5; gap: 7px; font-size: 12px; letter-spacing: .5px; }
.console-brand .icon { flex-shrink: 0; }
.connection-state { font-size: 10px; white-space: normal; }
.console-display { min-width: 0; }
.lecture-chapters, .session-steps, .assignment-step>div { min-width: 0; }
.lesson-title, .lecture-heading h1, .session-heading h1 { overflow-wrap: anywhere; }

@media (max-width: 850px) {
    .auth-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 540px; padding-top: 30px; }
    .auth-intro { padding-top: 0; }
    .auth-proof { display: none; }
}
@media (min-width: 651px) and (max-width: 1000px) {
    .sidebar .brand { font-size: 19px; padding: 0 3px; }
    .sidebar .brand-symbol { width: 26px; margin-right: 6px; }
}
@media (max-width: 650px) {
    .workspace-body .page-heading h1, .account-shell .page-heading h1 { font-size: 29px; }
    .page-heading { margin-bottom: 22px; }
    .page-heading>.icon-tile { display: none; }
    .reading-card>.section-heading { gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
    .reading-card>.section-heading h2 { font-size: 19px; }
    .account-narrow>.reading-card { padding: 22px; }
    .auth-layout.auth-layout-compact { padding-top: 28px; }
    .auth-layout-compact .auth-card h1 { font-size: 27px; }
    .auth-intro h1 { font-size: 30px; letter-spacing: -.8px; }
    .auth-intro h1>span { display: block; letter-spacing: -.7px; }
    .auth-options { gap: 14px; flex-wrap: wrap; }
    .account-nav { column-gap: 18px; row-gap: 0; }
    .account-nav a { font-size: 12px; }
    .tabs { flex-wrap: wrap; }
    .tabs a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
    .table-card td, .table-card th { padding: 12px 14px; }
    .member-controls { align-items: stretch; }
    .member-controls select { font-size: 16px; min-height: 44px; }
    .member-controls .button { min-height: 44px; }
    .billing-diagnostics>summary { padding: 18px 20px; }
    .billing-diagnostics-content { padding: 0 20px 20px; }
    .radio-console-panel { padding: 20px; }
    .console-brand { font-size: 11px; }
    .connection-state { flex-basis: 100%; }
}
