.create-presentation-header-content {
    flex: 1;
    min-width: 0;
}

.create-presentation-title-row {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    width: 100%;
}

.autosave-status {
    align-items: center;
    color: var(--mud-palette-text-secondary, #666);
    display: inline-flex;
    font-size: 0.875rem;
    gap: 0.5rem;
    margin-left: auto;
    min-height: 24px;
    white-space: nowrap;
}

.autosave-status--saved {
    color: var(--mud-palette-success, #00c853);
}

.default-title-slide {
    align-items: center;
    border: 2px solid color-mix(in srgb, var(--mud-palette-lines-default, #d7dde5) 78%, transparent);
    border-radius: 8px;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    justify-content: center;
    margin-inline: auto;
    max-width: 760px;
    padding: 1rem;
    transition: border-color 160ms ease, box-shadow 160ms ease;
    width: 100%;
}

.presentation-page-frame {
    margin-inline: auto;
    max-width: 844px;
    position: relative;
    width: 100%;
}

.presentation-page-frame__name {
    margin-top: 0.5rem;
}

.presentation-page-frame__reorder-controls {
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    right: -3.25rem;
    top: 0;
}

.default-title-slide:hover {
    border-color: color-mix(in srgb, var(--mud-palette-primary, #594ae2) 26%, transparent);
}

.default-title-slide--selected {
    border-color: var(--mud-palette-primary, #594ae2);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mud-palette-primary, #594ae2) 16%, transparent);
}

.default-title-slide__title-control {
    background: transparent;
    border: 2px solid transparent;
    border-radius: 8px;
    box-sizing: border-box;
    color: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    font: inherit;
    max-width: 100%;
    padding: 1rem;
    transition: border-color 160ms ease, box-shadow 160ms ease;
    width: 100%;
}

.default-title-slide__title-control--image {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
}

.default-title-slide__title-control:hover,
.default-title-slide__title-control:focus-visible {
    border-color: color-mix(in srgb, var(--mud-palette-primary, #594ae2) 42%, transparent);
    outline: none;
}

.default-title-slide__title-control--selected {
    border-color: var(--mud-palette-primary, #594ae2);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mud-palette-primary, #594ae2) 16%, transparent);
}

.default-title-slide__title {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.default-title-slide__paragraph {
    line-height: 1.6;
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
}

.default-title-slide__list {
    font-size: 1.15rem;
    line-height: 1.7;
    margin: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    padding-left: 1.5rem;
    text-align: left;
    white-space: normal;
}

.default-title-slide__image {
    display: block;
    max-height: calc(100% - 0.5rem);
    max-width: calc(100% - 0.5rem);
    object-fit: contain;
}

.default-title-slide__radio-selection {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: center;
    min-height: 100%;
    width: min(520px, 100%);
}

.default-title-slide__radio-options {
    display: grid;
    gap: 0.75rem;
    width: min(320px, 100%);
}

.default-title-slide__radio-option {
    align-items: center;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: auto minmax(0, 1fr);
    line-height: 1.4;
    overflow-wrap: anywhere;
    text-align: left;
}

.default-title-slide__radio-dot {
    border: 2px solid var(--mud-palette-primary, #594ae2);
    border-radius: 999px;
    height: 1rem;
    width: 1rem;
}

.lighthouse-mobile-slide-frame {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    border: 1px solid rgba(15, 23, 42, 0.26);
    border-radius: 34px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
    box-sizing: border-box;
    margin-inline: auto;
    max-width: min(700px, 100%);
    padding: 12px;
    width: 700px;
}

.lighthouse-mobile-slide-screen {
    align-items: center;
    aspect-ratio: 700 / 390;
    background: var(--mud-palette-background, #fff);
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 24px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 1.25rem;
    width: 100%;
}

.lighthouse-responsive-slide-surface {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    margin-inline: auto;
    min-height: min(72vh, 620px);
    padding: clamp(1.25rem, 4vw, 3rem);
    width: min(920px, 100%);
}

.lighthouse-feedback-option {
    align-items: center;
    background: color-mix(in srgb, var(--mud-palette-surface, #fff) 88%, var(--mud-palette-primary, #594ae2) 12%);
    border: 1px solid color-mix(in srgb, var(--mud-palette-lines-default, #d7dde5) 82%, transparent);
    border-radius: 8px;
    box-sizing: border-box;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: auto minmax(0, 1fr);
    line-height: 1.4;
    min-height: 48px;
    overflow-wrap: anywhere;
    padding: 0.75rem;
    text-align: left;
    width: 100%;
}

.lighthouse-feedback-option-selected {
    background: color-mix(in srgb, var(--mud-palette-success, #00c853) 14%, var(--mud-palette-surface, #fff));
    border-color: var(--mud-palette-success, #00c853);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mud-palette-success, #00c853) 16%, transparent);
    font-weight: 700;
}

.lighthouse-feedback-option-indicator {
    grid-column: 2;
    justify-self: start;
}

.lighthouse-feedback-status {
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
    padding: 0.45rem 0.75rem;
}

.lighthouse-feedback-status-waiting {
    background: color-mix(in srgb, var(--mud-palette-warning, #ff9800) 14%, transparent);
    color: color-mix(in srgb, var(--mud-palette-warning, #ff9800) 70%, #111827);
}

.lighthouse-feedback-status-answered {
    background: color-mix(in srgb, var(--mud-palette-success, #00c853) 14%, transparent);
    color: color-mix(in srgb, var(--mud-palette-success, #00c853) 70%, #111827);
}

.title-editor-panel {
    bottom: 0;
    max-width: 100vw;
    padding: 1.5rem;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition: transform 220ms ease-out, visibility 220ms ease-out;
    visibility: hidden;
    width: 360px;
    z-index: 1300;
}

.list-editor-item {
    align-items: center;
    display: grid;
    gap: 0.5rem;
    grid-template-columns: minmax(0, 1fr) auto;
}

.image-upload-button {
    align-items: center;
    background-color: var(--mud-palette-primary, #594ae2);
    border: 1px solid var(--mud-palette-primary, #594ae2);
    border-radius: var(--mud-default-borderradius, 4px);
    color: var(--mud-palette-primary-text, #fff);
    cursor: pointer;
    display: inline-flex;
    font-size: 0.875rem;
    font-weight: 500;
    gap: 0.5rem;
    justify-content: center;
    line-height: 1.75;
    min-height: 36px;
    padding: 6px 16px;
    text-transform: uppercase;
    transition: background-color 160ms ease, box-shadow 160ms ease;
}

.image-upload-button:hover,
.image-upload-button:focus-visible {
    background-color: color-mix(in srgb, var(--mud-palette-primary, #594ae2) 88%, black);
    box-shadow: var(--mud-elevation-2, 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12));
    outline: none;
}

.image-upload-input {
    display: none;
}

.title-editor-panel--open {
    pointer-events: auto;
    transform: translateX(0);
    visibility: visible;
}

.live-session-page-renderer {
    margin-inline: auto;
    max-width: 100%;
    width: 100%;
}

.viewer-layout {
    align-items: center;
    display: flex;
    min-height: 100vh;
    padding: 1rem;
}

.viewer-session-container {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 2rem);
    width: 100%;
}

.viewer-waiting-panel {
    margin-inline: auto;
    max-width: 480px;
}

.session-ended-page {
    align-items: center;
    background: #f8fafc;
    box-sizing: border-box;
    color: #111827;
    display: flex;
    min-height: 100vh;
    padding: 1.5rem;
}

.session-ended-panel {
    margin-inline: auto;
    max-width: 420px;
    text-align: center;
    width: 100%;
}

.session-ended-panel h1 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.session-ended-panel p {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0.75rem 0 1.5rem;
}

.session-ended-close-button {
    background: #111827;
    border: 1px solid #111827;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    min-height: 44px;
    padding: 0.75rem 1.25rem;
}

.session-ended-close-button:focus-visible {
    outline: 3px solid rgba(17, 24, 39, 0.28);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .title-editor-panel {
        width: min(360px, 88vw);
    }

    .presentation-page-frame__reorder-controls {
        right: 0.5rem;
    }
}

@media (max-width: 600px) {
    .lighthouse-mobile-slide-frame {
        border-radius: 24px;
        padding: 8px;
    }

    .lighthouse-mobile-slide-screen {
        border-radius: 18px;
        padding: 1rem;
    }

    .lighthouse-responsive-slide-surface {
        min-height: calc(100vh - 2rem);
        padding: 1rem;
    }
}
