.app-main { min-height: 70vh; padding-top: clamp(32px, 5vw, 72px); padding-bottom: 80px; }
.plain { min-height: 70vh; display: grid; align-content: center; justify-items: start; gap: 24px; padding-block: 60px; }
.plain__code { font-family: var(--font-mono); color: var(--ink-3); }
.plain__title { font-size: clamp(2.5rem, 6vw, 5rem); font-family: var(--font-display); font-weight: 460; }
.page-head { display: grid; gap: 14px; margin-bottom: 32px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 4rem); font-family: var(--font-display); font-weight: 460; letter-spacing: -0.045em; line-height: 1.05; overflow-wrap: anywhere; }
[data-content] { display: grid; gap: 28px; }
[data-page-notice]:not(:empty) { margin-bottom: 24px; }
.page-panel { padding: clamp(20px, 3vw, 36px); }
.page-panel > h2 { font-family: var(--font-display); font-weight: 460; font-size: 1.8rem; line-height: 1.2; }
.panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: clamp(28px, 6vw, 100px); align-items: center; }
.auth-aside { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 32px 0 32px 20px; }
.auth-aside h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 460; max-width: 15ch; line-height: 1.1; }
.auth-orbit { position: relative; width: min(160px, 100%); height: auto; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; margin-bottom: 28px; box-shadow: inset 0 0 45px color-mix(in srgb, var(--accent-fill) 20%, transparent); animation: orbit-breathe 9s ease-in-out infinite alternate; }
.auth-orbit::before, .auth-orbit::after { content: ''; position: absolute; inset: 18px; border: 1px solid var(--accent); border-radius: 50%; transform: rotateX(55deg) rotateY(-25deg); animation: orbit-spin 9s ease-in-out infinite alternate; }
.auth-orbit::after { inset: 37px; transform: rotateX(-35deg) rotateY(55deg); }
@keyframes orbit-breathe { to { box-shadow: inset 0 0 65px color-mix(in srgb, var(--accent-fill) 50%, transparent); } }
@keyframes orbit-spin { to { rotate: -35deg; } }
.page-actions { margin-bottom: 4px; }
.brand-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.brand-card { overflow: hidden; color: var(--ink); transition: transform 0.25s, box-shadow 0.25s; text-decoration: none; }
.brand-card:hover { transform: translateY(-5px); text-decoration: none; box-shadow: var(--shadow-panel), 0 16px 32px color-mix(in srgb, var(--ink) 8%, transparent); }
.brand-card__art { height: 240px; }
.brand-card__copy { display: grid; gap: 12px; padding: 24px; }
.brand-card h2 { font-size: 1.35rem; line-height: 1.3; overflow-wrap: anywhere; }
.brand-card__copy .tag { justify-self: start; }
.brand-card__copy .mono { overflow-wrap: anywhere; }
.brand-card__action { margin-top: 8px; font-weight: 700; }
.empty-state { display: grid; justify-items: center; text-align: center; gap: 18px; padding: 60px 24px; }
.empty-state > .icon { width: 52px; height: 52px; color: var(--accent); }
.empty-state p { max-width: 50ch; }
.review-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.onboard-preview { height: 700px; min-width: 0; overflow: hidden; border-radius: 24px; background: #101014; }
.layer-review { display: grid; max-height: 300px; overflow-y: auto; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 20px; }
.layer-review__row { display: grid; grid-template-columns: 20px minmax(0, 1fr) 112px; gap: 12px; align-items: center; font-size: 0.85rem; }
.layer-review__row .input { min-height: 38px; padding: 0 12px; }
.layer-review__swatch { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line); }
.room-tabs { justify-self: start; max-width: 100%; }
.brand-room { min-width: 0; }
.brand-room:focus { outline: none; }
.studio-host { height: 780px; min-width: 0; border-radius: 28px; overflow: hidden; background: #101014; box-shadow: var(--shadow-panel); }
.background-room { position: relative; height: 520px; overflow: hidden; isolation: isolate; background: var(--bg-base, #141418); }
.background-room__layer { position: absolute; inset: 0; z-index: -1; }
.background-room__copy { height: 100%; display: grid; align-content: center; gap: 20px; padding: clamp(28px, 6vw, 80px); pointer-events: none; color: #f6f3ec; }
.background-room[data-tone='light'] .background-room__copy { color: #141416; }
.background-room__copy h2 { font-family: var(--font-display); font-size: clamp(2.3rem, 6vw, 5rem); font-weight: 460; max-width: 14ch; line-height: 1.05; }
.background-room__copy .eyebrow { color: inherit; }
.background-room__copy p { max-width: 42ch; }
.background-controls { padding: 24px; margin-top: 24px; }
.background-controls [aria-pressed='true'] { background: var(--ink); color: var(--surface); }
.background-range { display: grid; grid-template-columns: 90px minmax(80px, 280px) 50px; gap: 16px; align-items: center; }
.background-range input { width: 100%; accent-color: var(--accent); }
.table-scroll { max-width: 100%; overflow: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th, .data-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; min-width: 100px; }
.data-table th { color: var(--ink-3); font-family: var(--font-mono); font-size: 0.78rem; font-weight: 400; }
.admin-lists { --stack-gap: 24px; }
@media (max-width: 1000px) { .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .review-grid { grid-template-columns: 1fr; } .onboard-preview { height: 650px; } }
@media (max-width: 700px) { .panel-grid, .auth-layout, .brand-grid { grid-template-columns: 1fr; } .auth-aside { display: none; } .app-main { padding-bottom: 48px; } .brand-card__art { height: 250px; } .studio-host { height: 710px; border-radius: 20px; } .onboard-preview { height: 680px; margin-inline: -8px; } .background-room { height: 440px; } .background-range { grid-template-columns: 70px minmax(0, 1fr) 40px; } .room-tabs button { padding: 10px 14px; } .topbar__end { gap: 3px; } .data-table th, .data-table td { min-width: 110px; } }
@media (prefers-reduced-motion: reduce) { .auth-orbit, .auth-orbit::before, .auth-orbit::after { animation: none; } }
