html,
body {
    background: #ffffff;
    color: #121212;
    font-family: "Futura Light", Futura, "Avenir Next", "Segoe UI Light", "Segoe UI", Arial, sans-serif;
    margin: 0;
}

.beta-gate-shell {
    align-items: center;
    background:
        radial-gradient(circle at top right, rgba(119, 149, 163, .18), transparent 24%),
        linear-gradient(180deg, #ffffff, #f7f9fa);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem;
}

.beta-gate-card {
    background: #ffffff;
    border: 1px solid rgba(119, 149, 163, .32);
    border-radius: 8px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .08);
    max-width: 32rem;
    padding: 2rem;
    width: min(100%, 32rem);
}

.beta-gate-loading {
    text-align: center;
}

.beta-gate-logo {
    display: block;
    height: 5.2rem;
    margin-bottom: 1rem;
    object-fit: contain;
    width: 5.2rem;
}

.beta-gate-card h1 {
    color: #111111;
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 300;
    line-height: 1.02;
    margin: 0;
}

.beta-gate-copy {
    color: #222222;
    line-height: 1.65;
    margin: 1rem 0 0;
}

.beta-gate-form {
    display: grid;
    gap: .75rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 1.35rem;
}

.beta-gate-form input {
    background: #ffffff;
    border: 1px solid rgba(119, 149, 163, .75);
    border-radius: 8px;
    color: #111111;
    font: inherit;
    min-height: 2.8rem;
    min-width: 0;
    padding: 0 .85rem;
    width: 100%;
}

.beta-gate-message {
    margin-top: 1rem !important;
}

.welcome-overlay {
    align-items: center;
    background: rgba(17, 17, 17, .64);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 1.25rem;
    position: fixed;
    z-index: 1200;
}

.welcome-card {
    background: #ffffff;
    border: 1px solid rgba(119, 149, 163, .32);
    border-radius: 8px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .14);
    max-width: 38rem;
    padding: 1.5rem;
    width: min(100%, 38rem);
}

.welcome-card h2 {
    color: #111111;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 300;
    line-height: 1.05;
    margin: 0;
}

.welcome-card p:not(.eyebrow) {
    color: #333333;
    line-height: 1.6;
    margin: .8rem 0 0;
}

.welcome-form {
    display: grid;
    gap: .8rem;
    margin-top: 1rem;
}

.welcome-form input[type="email"] {
    background: #ffffff;
    border: 1px solid rgba(119, 149, 163, .75);
    border-radius: 8px;
    color: #111111;
    font: inherit;
    min-height: 2.8rem;
    padding: 0 .85rem;
    width: 100%;
}

.terms-row {
    align-items: flex-start;
}

.terms-row span {
    color: #111111;
    line-height: 1.5;
}

.welcome-actions {
    display: flex;
    justify-content: flex-end;
}

.admin-shell {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.admin-login-card,
.admin-card {
    background: #ffffff;
    border: 1px solid rgba(119, 149, 163, .32);
    border-radius: 8px;
    padding: 1.35rem;
}

.admin-login-card {
    margin: 2rem auto 0;
    max-width: 34rem;
    width: min(100%, 34rem);
}

.admin-login-card h1,
.admin-header h1,
.admin-card h2,
.admin-chip-card h3 {
    color: #111111;
    font-weight: 300;
    margin: 0;
}

.admin-login-form,
.admin-search,
.admin-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.admin-login-form {
    margin-top: 1rem;
}

.admin-login-form input,
.admin-search input,
.admin-form-grid input,
.admin-form-grid select,
.admin-chip-actions select,
.admin-import-area {
    background: #ffffff;
    border: 1px solid rgba(119, 149, 163, .75);
    border-radius: 8px;
    color: #111111;
    font: inherit;
}

.admin-login-form input,
.admin-search input,
.admin-form-grid input,
.admin-form-grid select,
.admin-chip-actions select {
    min-height: 2.75rem;
    min-width: 0;
    padding: 0 .8rem;
}

.admin-import-area {
    min-height: 11rem;
    padding: .8rem;
    resize: vertical;
    width: 100%;
}

.admin-header {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.admin-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-form-grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 1rem 0;
}

.admin-form-grid label,
.admin-chip-actions label {
    display: grid;
    gap: .4rem;
}

.admin-form-grid span,
.admin-chip-actions span {
    color: #111111;
    font-size: .86rem;
}

.admin-token-box {
    display: grid;
    gap: .55rem;
    margin-top: 1rem;
}

.admin-token-box textarea {
    background: #f7f9fa;
    border: 1px solid rgba(119, 149, 163, .32);
    border-radius: 8px;
    color: #111111;
    font: inherit;
    padding: .8rem;
    width: 100%;
}

.admin-list-card {
    display: grid;
    gap: 1rem;
}

.admin-list-header {
    align-items: end;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.admin-list-header p {
    color: #4b5d65;
    margin: .45rem 0 0;
}

.admin-search input {
    min-width: min(100%, 20rem);
}

.admin-chip-list {
    display: grid;
    gap: .85rem;
}

.admin-chip-card {
    align-items: start;
    border: 1px solid rgba(119, 149, 163, .24);
    border-radius: 8px;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.3fr) minmax(220px, .7fr);
    padding: 1rem;
}

.admin-chip-meta p {
    color: #333333;
    margin: .35rem 0 0;
    overflow-wrap: anywhere;
}

.admin-chip-actions {
    display: grid;
    gap: .7rem;
    justify-items: stretch;
}

h1:focus {
    outline: none;
}

a,
.btn-link {
    color: #7795a3;
}

.start-hero {
    background: #ffffff;
    border-bottom: 1px solid rgba(18, 18, 18, .12);
    border-radius: 0;
    box-shadow: none;
    min-height: 24rem;
    overflow: hidden;
    padding: 1.4rem 0 2.5rem;
    position: relative;
}

.start-hero::before {
    display: none;
}

.hero-logo {
    display: block;
    height: 5.75rem;
    margin-bottom: 1.3rem;
    object-fit: contain;
    width: 5.75rem;
}

.start-copy h1 {
    color: #111111;
    font-size: clamp(2.7rem, 7vw, 5.4rem);
    font-weight: 300;
    line-height: 1.02;
    margin: 0;
    max-width: 12ch;
}

.start-copy p {
    color: #222222;
    font-size: 1.12rem;
    line-height: 1.65;
    margin: 1.2rem 0 0;
    max-width: 39rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 1.5rem;
}

.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.link-action,
.secondary-action {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-weight: 400;
    min-height: 2.9rem;
    padding: 0 1rem;
    text-decoration: none;
}

.secondary-action {
    background: transparent;
    border: 1px solid rgba(119, 149, 163, .8);
    color: #121212;
}

.start-steps {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 1rem;
}

.access-panel {
    background: #ffffff;
    border: 1px solid rgba(18, 18, 18, .14);
    border-radius: 8px;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(260px, .8fr) minmax(320px, .9fr);
    margin-top: 0;
    padding: 1.4rem;
}

.access-intro h2 {
    color: #111111;
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    font-weight: 300;
    line-height: 1;
    margin: 0;
    max-width: 11ch;
}

.access-intro p:not(.eyebrow) {
    color: #222222;
    line-height: 1.6;
    margin: .85rem 0 0;
}

.mobile-copy {
    display: none;
}

.access-methods {
    display: grid;
    gap: .85rem;
    grid-template-columns: minmax(0, 1fr);
}

.access-method {
    background: #f7f9fa;
    border: 1px solid rgba(119, 149, 163, .4);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: .85rem;
    min-height: 14rem;
    padding: 1rem;
}

.mobile-scan-method {
    display: none;
}

.primary-code-method {
    background: #ffffff;
}

.method-kicker {
    color: #7795a3;
    display: block;
    font-size: .78rem;
    margin-bottom: .65rem;
}

.access-method h3 {
    color: #111111;
    font-size: 1.25rem;
    font-weight: 300;
    margin: 0;
}

.access-method p {
    color: #333333;
    line-height: 1.5;
    margin: .55rem 0 0;
}

.secondary-button {
    background: transparent;
    border: 1px solid rgba(119, 149, 163, .55);
    border-radius: 8px;
    color: #111111;
    cursor: pointer;
    font-weight: 400;
    min-height: 2.75rem;
    padding: 0 1rem;
}

.method-message {
    background: rgba(119, 149, 163, .14);
    border-radius: 8px;
    color: #111111 !important;
    font-size: .9rem;
    margin-top: auto !important;
    padding: .7rem;
}

.manual-code {
    display: grid;
    gap: .55rem;
    margin-top: auto;
}

.manual-code input {
    background: #ffffff;
    border: 1px solid rgba(119, 149, 163, .85);
    border-radius: 8px;
    color: #111111;
    min-height: 2.75rem;
    padding: 0 .85rem;
    width: 100%;
}

.manual-code input::placeholder {
    color: #8ea9b5;
}

.qr-preview {
    aspect-ratio: 4 / 3;
    background: #111719;
    border: 1px solid rgba(119, 149, 163, .26);
    border-radius: 8px;
    display: none;
    object-fit: cover;
    width: 100%;
}

.qr-preview.is-active {
    display: block;
}

.info-tabs-section {
    background: #ffffff;
    border: 1px solid rgba(18, 18, 18, .12);
    border-radius: 8px;
    margin-top: 1rem;
    padding: 1.25rem;
}

.info-tabs-intro {
    max-width: 48rem;
}

.info-tabs-intro h2 {
    color: #111111;
    font-size: clamp(1.8rem, 4vw, 3.1rem);
    font-weight: 300;
    line-height: 1.08;
    margin: 0;
}

.info-tabs-intro p:not(.eyebrow) {
    color: #333333;
    line-height: 1.65;
    margin: .85rem 0 0;
}

.info-tab-buttons {
    border-bottom: 1px solid rgba(119, 149, 163, .32);
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: 1.1rem;
}

.info-tab-button {
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    color: #333333;
    cursor: pointer;
    font: inherit;
    padding: .7rem .8rem;
}

.info-tab-button.active {
    border-bottom-color: #7795a3;
    color: #111111;
}

.info-tab-panel {
    margin-top: 1.2rem;
}

.memory-explainer,
.flow-panel {
    align-items: center;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(230px, .85fr) minmax(0, 1fr);
}

.warm-photo {
    aspect-ratio: 1 / 1;
    background: #f5f0eb;
    border-radius: 8px;
    margin: 0;
    overflow: hidden;
}

.warm-photo img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.memory-explainer h3,
.use-case-grid h3 {
    color: #111111;
    font-size: 1.35rem;
    font-weight: 300;
    margin: 0;
}

.memory-explainer p,
.use-case-grid p,
.flow-panel span {
    color: #333333;
    line-height: 1.55;
}

.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: 1rem;
}

.feature-pills span {
    background: rgba(119, 149, 163, .16);
    border-radius: 999px;
    color: #111111;
    padding: .45rem .75rem;
}

.flow-panel {
    grid-template-columns: minmax(180px, .55fr) minmax(0, 1fr);
}

.flow-panel img {
    background: #050505;
    border-radius: 8px;
    max-width: 18rem;
    width: 100%;
}

.flow-panel ol {
    display: grid;
    gap: .75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.flow-panel li {
    background: #f7f9fa;
    border: 1px solid rgba(119, 149, 163, .28);
    border-radius: 8px;
    padding: .9rem;
}

.flow-panel strong,
.flow-panel span {
    display: block;
}

.flow-panel strong {
    color: #111111;
    font-weight: 300;
}

.flow-panel span {
    margin-top: .25rem;
}

.use-case-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.use-case-grid article {
    background: #f7f9fa;
    border: 1px solid rgba(119, 149, 163, .28);
    border-radius: 8px;
    padding: 1rem;
}

.use-case-grid span {
    color: #7795a3;
    display: block;
    font-size: .78rem;
    margin-bottom: .6rem;
    text-transform: uppercase;
}

.start-steps article {
    background: #ffffff;
    border: 1px solid rgba(18, 18, 18, .12);
    border-radius: 8px;
    padding: 1rem;
}

.start-steps strong {
    align-items: center;
    background: #7795a3;
    border-radius: 50%;
    color: #050505;
    display: flex;
    font-weight: 700;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.start-steps h2 {
    color: #111111;
    font-size: 1rem;
    font-weight: 300;
    margin: .8rem 0 .3rem;
}

.start-steps p {
    color: #333333;
    margin: 0;
}

.memory-header {
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid rgba(18, 18, 18, .12);
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.25rem;
}

.memory-header h1 {
    color: #111111;
    font-size: clamp(2rem, 6vw, 3.8rem);
    font-weight: 300;
    line-height: 1;
    margin: 0;
    max-width: 12ch;
}

.memory-header p {
    color: #333333;
    margin: .75rem 0 0;
    max-width: 42rem;
}

.plan-panel,
.pro-slideshow-panel,
.pro-config-panel,
.password-panel {
    background: #ffffff;
    border: 1px solid rgba(119, 149, 163, .32);
    border-radius: 8px;
    margin-top: 1rem;
    padding: 1.1rem;
}

.plan-panel.is-pro {
    background: linear-gradient(135deg, rgba(119, 149, 163, .12), rgba(255, 255, 255, 1) 55%);
}

.plan-panel h2,
.pro-slideshow-panel h2,
.pro-config-panel h2,
.password-panel h2 {
    color: #111111;
    font-size: 1.45rem;
    font-weight: 300;
    margin: 0;
}

.plan-panel p:not(.eyebrow),
.pro-slideshow-panel p:not(.eyebrow),
.pro-config-panel p:not(.eyebrow),
.password-panel p:not(.eyebrow) {
    color: #333333;
    line-height: 1.6;
    margin: .45rem 0 0;
}

.plan-grid,
.pro-config-grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 1rem;
}

.plan-stat,
.pro-config-card {
    background: #f7f9fa;
    border: 1px solid rgba(119, 149, 163, .22);
    border-radius: 8px;
    display: grid;
    gap: .4rem;
    padding: .9rem;
}

.plan-stat strong,
.pro-config-card strong {
    color: #111111;
    font-size: 1rem;
    font-weight: 400;
}

.plan-stat span,
.pro-config-card span,
.helper-copy {
    color: #333333;
    line-height: 1.5;
}

.slideshow-track {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 1rem;
}

.slide-card {
    aspect-ratio: 4 / 5;
    background: #050505;
    border-radius: 8px;
    overflow: hidden;
}

.password-form {
    display: grid;
    gap: .75rem;
    margin-top: 1rem;
}

.toggle-row {
    align-items: center;
    display: inline-flex;
    gap: .65rem;
}

.toggle-row input {
    accent-color: #7795a3;
}

.eyebrow {
    color: #7795a3 !important;
    font-size: .78rem;
    font-weight: 400;
    letter-spacing: 0;
    margin: 0 0 .5rem !important;
    text-transform: uppercase;
}

.status-pill {
    background: rgba(119, 149, 163, .2);
    border-radius: 999px;
    color: #111111;
    font-weight: 400;
    padding: .45rem .8rem;
    white-space: nowrap;
}

.header-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    justify-content: flex-end;
}

.memory-showcase {
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid rgba(18, 18, 18, .12);
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, .75fr) minmax(260px, 1fr);
    margin-top: 1rem;
    padding: 1.25rem 0;
}

.memory-showcase h2 {
    color: #111111;
    font-size: clamp(1.8rem, 5vw, 3.4rem);
    font-weight: 300;
    line-height: 1.05;
    margin: 0;
    max-width: 11ch;
}

.memory-showcase p:not(.eyebrow) {
    color: #333333;
    line-height: 1.6;
    margin: .85rem 0 0;
    max-width: 33rem;
}

.showcase-preview {
    align-items: center;
    aspect-ratio: 16 / 10;
    background: #050505;
    border: 1px solid rgba(119, 149, 163, .24);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.showcase-preview img,
.showcase-preview video,
.viewer-preview img,
.viewer-preview video,
.manage-preview img,
.manage-preview video {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.viewer-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 1rem;
}

.viewer-card {
    background: #ffffff;
    border: 1px solid rgba(119, 149, 163, .32);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: .85rem;
    padding: .85rem;
}

.viewer-preview {
    align-items: center;
    aspect-ratio: 4 / 3;
    background: #050505;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.viewer-card span {
    color: #7795a3;
    display: block;
    font-size: .78rem;
}

.viewer-card h2 {
    color: #111111;
    font-size: 1rem;
    font-weight: 300;
    margin: .25rem 0 0;
    overflow-wrap: anywhere;
}

.empty-memory {
    background: #ffffff;
    border: 1px dashed rgba(119, 149, 163, .5);
    border-radius: 8px;
    margin-top: 1rem;
    padding: 1.25rem;
}

.empty-memory h2 {
    color: #111111;
    font-size: 1.25rem;
    font-weight: 300;
    margin: 0;
}

.empty-memory p {
    color: #333333;
    margin: .45rem 0 1rem;
}

.editor-panel {
    background: #f7f9fa;
    border: 1px solid rgba(119, 149, 163, .32);
    border-radius: 8px;
    margin-top: 1rem;
    padding: 1rem;
}

.editor-heading {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.editor-heading h2 {
    color: #111111;
    font-size: 1.45rem;
    font-weight: 300;
    margin: 0;
}

.editor-heading p:not(.eyebrow) {
    color: #333333;
    margin: .35rem 0 0;
}

.title-editor {
    background: #ffffff;
    border: 1px solid rgba(119, 149, 163, .32);
    border-radius: 8px;
    display: grid;
    gap: .65rem;
    margin-top: 1rem;
    padding: 1rem;
}

.title-editor label,
.manage-copy label {
    color: #111111;
    display: block;
    font-size: .85rem;
    margin-bottom: .35rem;
}

.title-editor-form,
.media-title-form {
    display: grid;
    gap: .55rem;
    grid-template-columns: minmax(0, 1fr) auto;
}

.title-editor input,
.media-title-form input,
.manage-textarea {
    background: #ffffff;
    border: 1px solid rgba(119, 149, 163, .75);
    border-radius: 8px;
    color: #111111;
    font: inherit;
    min-height: 2.6rem;
    min-width: 0;
    padding: 0 .75rem;
    width: 100%;
}

.manage-textarea {
    line-height: 1.5;
    margin-top: .55rem;
    min-height: 6rem;
    padding: .75rem;
    resize: vertical;
}

.field-message {
    background: rgba(119, 149, 163, .12);
    border-radius: 8px;
    color: #111111 !important;
    font-size: .86rem;
    padding: .45rem .6rem;
}

.manage-list {
    display: grid;
    gap: .75rem;
    margin-top: 1rem;
}

.manage-item {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(119, 149, 163, .32);
    border-radius: 8px;
    display: grid;
    gap: .85rem;
    grid-template-columns: auto 5.5rem minmax(0, 1fr) auto;
    padding: .75rem;
}

.order-controls {
    display: grid;
    gap: .35rem;
}

.icon-button {
    align-items: center;
    background: #f7f9fa;
    border: 1px solid rgba(119, 149, 163, .45);
    border-radius: 8px;
    color: #111111;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    height: 2.15rem;
    justify-content: center;
    line-height: 1;
    width: 2.15rem;
}

.icon-button:hover:not(:disabled) {
    background: rgba(119, 149, 163, .14);
}

.icon-button:disabled {
    cursor: not-allowed;
    opacity: .35;
}

.manage-preview {
    align-items: center;
    aspect-ratio: 1 / 1;
    background: #050505;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.manage-copy {
    min-width: 0;
}

.manage-copy h3 {
    color: #111111;
    font-size: 1rem;
    font-weight: 300;
    margin: 0;
    overflow-wrap: anywhere;
}

.manage-copy p {
    color: #333333;
    margin: .25rem 0 0;
}

.danger-button {
    background: #111111;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    font-weight: 400;
    min-height: 2.5rem;
    padding: 0 .9rem;
}

.danger-button:disabled {
    cursor: wait;
    opacity: .65;
}

.audio-stage {
    align-items: center;
    color: #d8e5ea;
    display: grid;
    gap: .75rem;
    padding: 1rem;
    width: 100%;
}

.audio-stage span {
    color: #d8e5ea;
}

.text-stage {
    background: #f7f9fa;
    color: #111111;
    display: grid;
    gap: .5rem;
    height: 100%;
    overflow: auto;
    padding: 1rem;
    width: 100%;
}

.text-stage strong {
    font-weight: 300;
}

.text-stage p {
    color: #333333;
    line-height: 1.55;
    margin: 0;
    white-space: pre-wrap;
}

.media-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 1rem;
}

.media-card,
.action-band,
.shop-band,
.message-box,
.info-row {
    background: #ffffff;
    border: 1px solid rgba(119, 149, 163, .32);
    border-radius: 8px;
}

.media-card {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: .85rem;
    padding: 1rem;
}

.media-preview {
    align-items: center;
    aspect-ratio: 16 / 10;
    background: #050505;
    border: 1px solid rgba(119, 149, 163, .24);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.media-preview img,
.media-preview video {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.media-preview audio {
    padding: 0 .6rem;
    width: 100%;
}

.media-icon {
    align-items: center;
    background: rgba(119, 149, 163, .2);
    border-radius: 8px;
    color: #d8e5ea;
    display: flex;
    font-weight: 400;
    height: 3.3rem;
    justify-content: center;
    min-width: 4.2rem;
}

.media-card h2,
.action-band h2 {
    color: #111111;
    font-size: 1rem;
    font-weight: 300;
    margin: 0;
}

.media-card p,
.action-band p,
.info-row span {
    color: #333333;
    margin: .35rem 0 0;
}

.action-band {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1rem;
    padding: 1.25rem;
    background: #ffffff;
}

.claim-panel,
.upload-panel,
.text-panel {
    background: #ffffff;
    border: 1px solid rgba(18, 18, 18, .12);
    border-radius: 8px;
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1.25rem;
}

.claim-panel h2,
.upload-panel h2,
.text-panel h2 {
    color: #111111;
    font-size: 1.25rem;
    font-weight: 300;
    margin: 0;
}

.claim-panel p,
.upload-panel p,
.text-panel p {
    color: #333333;
    margin: .35rem 0 0;
}

.text-form {
    display: grid;
    gap: .65rem;
}

.rich-text-toolbar {
    align-items: end;
    display: grid;
    gap: .65rem;
    grid-template-columns: repeat(4, minmax(0, auto));
}

.rich-text-toolbar label {
    display: grid;
    gap: .35rem;
}

.rich-text-toolbar span {
    color: #111111;
    font-size: .85rem;
}

.rich-text-toolbar select {
    background: #ffffff;
    border: 1px solid rgba(119, 149, 163, .75);
    border-radius: 8px;
    color: #111111;
    font: inherit;
    min-height: 2.6rem;
    padding: 0 .75rem;
}

.format-button {
    background: #ffffff;
    border: 1px solid rgba(119, 149, 163, .75);
    border-radius: 8px;
    color: #111111;
    cursor: pointer;
    font: inherit;
    min-height: 2.6rem;
    padding: 0 .9rem;
}

.rich-text-preview,
.text-stage {
    display: grid;
    gap: .45rem;
}

.rich-text-preview {
    background: #f7f9fa;
    border: 1px solid rgba(119, 149, 163, .22);
    border-radius: 8px;
    padding: .8rem;
}

.font-preview.font-futura,
.text-stage.font-futura {
    font-family: "Futura Light", Futura, "Avenir Next", "Segoe UI Light", "Segoe UI", Arial, sans-serif;
}

.font-preview.font-serif,
.text-stage.font-serif {
    font-family: Georgia, "Times New Roman", serif;
}

.font-preview.font-handwritten,
.text-stage.font-handwritten {
    font-family: "Segoe Print", "Bradley Hand", cursive;
}

.font-preview.size-small,
.text-stage.size-small {
    font-size: .92rem;
}

.font-preview.size-medium,
.text-stage.size-medium {
    font-size: 1rem;
}

.font-preview.size-large,
.text-stage.size-large {
    font-size: 1.18rem;
}

.font-preview.is-bold,
.text-stage.is-bold {
    font-weight: 700;
}

.font-preview.is-italic,
.text-stage.is-italic {
    font-style: italic;
}

.contact-form-grid {
    display: grid;
    gap: .65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.text-form input,
.text-form textarea {
    background: #ffffff;
    border: 1px solid rgba(119, 149, 163, .75);
    border-radius: 8px;
    color: #111111;
    font: inherit;
    padding: .75rem;
    width: 100%;
}

.text-form textarea {
    resize: vertical;
}

.claim-form {
    display: grid;
    gap: .75rem;
    grid-template-columns: minmax(0, 1fr) auto;
}

.claim-form input {
    background: #ffffff;
    border: 1px solid rgba(119, 149, 163, .75);
    border-radius: 8px;
    color: #111111;
    min-height: 2.75rem;
    padding: 0 .85rem;
}

.file-picker {
    align-items: center;
    background: #f7f9fa;
    border: 1px dashed rgba(119, 149, 163, .55);
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    min-width: 0;
    overflow: hidden;
    padding: .75rem;
    position: relative;
    width: 100%;
}

.file-picker-button {
    background: #ffffff;
    border: 1px solid rgba(119, 149, 163, .35);
    border-radius: 999px;
    color: #111111;
    font-weight: 400;
    min-height: 2.3rem;
    padding: .45rem .9rem;
    white-space: nowrap;
}

.file-picker span {
    color: #333333;
    flex: 1 1 10rem;
    min-width: 0;
    overflow-wrap: anywhere;
}

.file-picker-input {
    cursor: pointer;
    height: 100%;
    inset: 0;
    opacity: 0;
    position: absolute;
    width: 100%;
}

.selected-files {
    color: #333333;
    margin: 0;
    padding-left: 1.2rem;
}

.shop-band {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1rem;
    padding: 1.25rem;
    background: #222222;
}

.shop-band h2 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 300;
    margin: 0;
}

.shop-band p:not(.eyebrow) {
    color: #f5f5f5;
    margin: .45rem 0 0;
    max-width: 42rem;
}

.site-footer {
    background: #ffffff;
    border-top: 1px solid rgba(18, 18, 18, .12);
    margin-top: 1rem;
    padding: 1.4rem 0 2rem;
}

.footer-main {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    justify-content: center;
}

.footer-brand {
    align-items: center;
    display: flex;
    gap: .75rem;
    min-width: min(100%, 18rem);
}

.footer-brand img {
    background: #050505;
    border-radius: 8px;
    height: 3.1rem;
    object-fit: contain;
    width: 3.1rem;
}

.footer-brand strong,
.footer-brand span {
    display: block;
}

.footer-brand strong {
    color: #111111;
    font-weight: 300;
}

.footer-brand span,
.footer-note {
    color: #5d6f77;
    font-size: .88rem;
}

.social-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    justify-content: center;
}

.social-icon {
    align-items: center;
    border-radius: 6px;
    color: #ffffff;
    display: inline-flex;
    font-family: Arial, sans-serif;
    font-size: .9rem;
    font-weight: 700;
    height: 1.65rem;
    justify-content: center;
    text-decoration: none;
    width: 1.65rem;
}

.social-icon.pinterest {
    background: #bd081c;
}

.social-icon.tiktok {
    background: #050505;
}

.social-icon.youtube {
    background: #ff0000;
}

.social-icon.instagram {
    background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #515bd4);
}

.instagram-camera {
    border: 2px solid #ffffff;
    border-radius: 6px;
    box-sizing: border-box;
    display: block;
    height: 1rem;
    position: relative;
    width: 1rem;
}

.instagram-camera::before {
    border: 2px solid #ffffff;
    border-radius: 50%;
    content: "";
    height: .35rem;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: .35rem;
}

.instagram-camera::after {
    background: #ffffff;
    border-radius: 50%;
    content: "";
    height: .16rem;
    position: absolute;
    right: .14rem;
    top: .14rem;
    width: .16rem;
}

.social-icon.facebook {
    background: #4267b2;
}

.footer-mail {
    color: #7795a3;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.language-select {
    align-items: center;
    color: #111111;
    display: inline-flex;
    gap: .5rem;
}

.language-select select {
    background: #ffffff;
    border: 1px solid rgba(119, 149, 163, .55);
    border-radius: 8px;
    color: #111111;
    min-height: 2.35rem;
    padding: 0 .6rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem 1.8rem;
    justify-content: center;
    margin-top: 1.35rem;
}

.footer-links a {
    color: #5d6f77;
    font-size: .9rem;
}

.footer-note {
    margin: 1.2rem auto 0;
    max-width: 42rem;
    text-align: center;
}

.primary-action {
    background: #7795a3;
    border: 0;
    border-radius: 8px;
    color: #050505;
    cursor: pointer;
    font-weight: 400;
    min-height: 2.75rem;
    padding: 0 1rem;
}

.message-box {
    background: #ffffff;
    color: #111111;
    margin-top: 1rem;
    padding: 1rem;
}

.info-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-top: 1rem;
    padding: 1rem;
    background: #ffffff;
}

.info-row > div {
    min-width: 0;
}

.info-row strong,
.info-row span {
    display: block;
}

.info-row span {
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.info-row strong {
    color: #111111;
    font-weight: 300;
}

#blazor-error-ui {
    color-scheme: light only;
    background: #fff8c5;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: .7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: .75rem;
    top: .5rem;
}

.loading-progress {
    display: block;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto;
    position: absolute;
    width: 8rem;
}

.loading-progress circle {
    fill: none;
    stroke: rgba(119, 149, 163, .2);
    stroke-width: .6rem;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.loading-progress circle:last-child {
    stroke: #7795a3;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * .8), 500%;
    transition: stroke-dasharray .05s ease-in-out;
}

.loading-progress-text {
    color: #111111;
    font-weight: 300;
    inset: calc(20vh + 3.25rem) 0 auto .2rem;
    position: absolute;
    text-align: center;
}

.loading-progress-text::after {
    content: var(--blazor-load-percentage-text, "Loading");
}

code {
    color: #9fb7c2;
}

@media (max-width: 640.98px) {
    .beta-gate-form {
        grid-template-columns: 1fr;
    }

    .admin-header,
    .admin-list-header {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-grid,
    .admin-form-grid,
    .admin-chip-card {
        grid-template-columns: 1fr;
    }

    .admin-login-form,
    .admin-search,
    .admin-header-actions {
        flex-direction: column;
    }

    .start-hero,
    .start-steps,
    .access-panel,
    .access-methods,
    .memory-explainer,
    .flow-panel,
    .use-case-grid {
        grid-template-columns: 1fr;
    }

    .start-hero {
        min-height: auto;
    }

    .desktop-copy {
        display: none;
    }

    .mobile-copy {
        display: block;
    }

    .access-panel {
        margin-top: 1rem;
    }
    .hero-actions a {
        justify-content: center;
        width: 100%;
    }

    .info-tab-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .info-tab-button {
        border: 1px solid rgba(119, 149, 163, .32);
        border-radius: 8px;
        text-align: left;
    }

    .info-tab-button.active {
        background: rgba(119, 149, 163, .14);
        border-color: rgba(119, 149, 163, .7);
    }

    .flow-panel img {
        max-width: 12rem;
    }

    .memory-header,
    .action-band,
    .shop-band,
    .editor-heading {
        flex-direction: column;
    }

    .header-actions {
        align-items: stretch;
        justify-content: flex-start;
        width: 100%;
    }

    .header-actions .secondary-button,
    .header-actions .status-pill {
        text-align: center;
        width: 100%;
    }

    .memory-showcase {
        grid-template-columns: 1fr;
        padding-top: 1rem;
    }

    .plan-grid,
    .pro-config-grid,
    .slideshow-track,
    .rich-text-toolbar {
        grid-template-columns: 1fr 1fr;
    }

    .manage-item {
        align-items: start;
        grid-template-columns: auto 4.5rem;
    }

    .manage-preview {
        grid-column: 2;
        width: 4.5rem;
    }

    .manage-copy {
        grid-column: 1 / -1;
    }

    .title-editor-form,
    .media-title-form {
        grid-template-columns: 1fr;
    }

    .order-controls {
        grid-column: 1;
        grid-row: 1;
    }

    .manage-item .danger-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .claim-form {
        grid-template-columns: 1fr;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .plan-grid,
    .pro-config-grid,
    .slideshow-track,
    .rich-text-toolbar {
        grid-template-columns: 1fr;
    }

    .status-pill,
    .primary-action {
        text-align: center;
        width: 100%;
    }

    .file-picker {
        align-items: stretch;
    }

    .file-picker-button,
    .file-picker span {
        text-align: center;
        width: 100%;
    }

    .footer-main,
    .footer-brand,
    .language-select {
        align-items: stretch;
        flex-direction: column;
        text-align: center;
    }

    .footer-brand img {
        margin: 0 auto;
    }

    .language-select select {
        width: 100%;
    }
}
