:root {
    color: #f8fafc;
    font-synthesis: none;
    text-rendering: optimizelegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #09090b;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif
}

html,
body,
#root {
    min-height: 100%
}

body {
    background: radial-gradient(circle at 15% 15%, #7c3aed3d, #0000 28rem), radial-gradient(circle at 85% 20%, #22c55e29, #0000 24rem), #09090b;
    min-width: 320px;
    margin: 0
}

a {
    color: inherit
}

.placeholder-page {
    place-items: center;
    min-height: 100vh;
    padding: 32px 16px;
    display: grid
}

.login-card,
.placeholder-card {
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    background: #09090bc7;
    border: 1px solid #ffffff1f;
    border-radius: 28px;
    width: min(100%, 440px);
    padding: 32px;
    box-shadow: 0 24px 80px #00000059
}

.eyebrow {
    color: #a78bfa;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700
}

.login-card h1,
.placeholder-card h1 {
    color: #fafafa;
    letter-spacing: -.04em;
    margin: 0;
    font-size: clamp(32px, 7vw, 44px);
    line-height: 1
}

.login-subtitle,
.placeholder-card p {
    color: #a1a1aa;
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.6
}

.login-form {
    gap: 18px;
    margin-top: 32px;
    display: grid
}

.login-field {
    gap: 8px;
    display: grid
}

.login-field label {
    color: #e4e4e7;
    font-size: 14px;
    font-weight: 600
}

.login-field input {
    color: #fafafa;
    background: #ffffff0a;
    border: 1px solid #ffffff1f;
    border-radius: 999px;
    outline: none;
    width: 100%;
    height: 52px;
    padding: 0 18px;
    transition: border-color .2s, box-shadow .2s, background .2s
}

.login-field input::placeholder {
    color: #71717a
}

.login-field input:focus {
    background: #ffffff12;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 4px #8b5cf62e
}

.login-button {
    color: #fff;
    cursor: pointer;
    background: #7c3aed;
    border: 0;
    border-radius: 999px;
    height: 52px;
    font-weight: 700;
    transition: background .2s, opacity .2s, transform .2s
}

.login-button:hover:not(:disabled) {
    background: #8b5cf6;
    transform: translateY(-1px)
}

.login-button:disabled {
    cursor: not-allowed;
    opacity: .6
}

.login-message {
    border-radius: 16px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.5
}

.login-message.error {
    color: #fecaca;
    background: #7f1d1d40;
    border: 1px solid #f8717159
}

.login-message.info {
    color: #bfdbfe;
    background: #1e40af38;
    border: 1px solid #60a5fa59
}

.login-note {
    color: #71717a;
    margin: 20px 0 0;
    font-size: 12px;
    line-height: 1.5
}

.placeholder-button,
.placeholder-card a {
    color: #fff;
    cursor: pointer;
    background: #7c3aed;
    border: 0;
    border-radius: 999px;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    margin-top: 24px;
    padding: 0 18px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex
}

.auth-modal-backdrop {
    z-index: 50;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: #00000094;
    place-items: center;
    padding: 32px 16px;
    display: grid;
    position: fixed;
    inset: 0
}

.auth-modal-dialog {
    width: min(100%, 500px);
    max-height: calc(100vh - 64px);
    padding: 48px 40px;
    position: relative;
    overflow: auto
}

.auth-modal-close {
    color: #fafafa;
    cursor: pointer;
    background: #ffffff14;
    border: 0;
    border-radius: 999px;
    place-items: center;
    width: 34px;
    height: 34px;
    font-size: 24px;
    line-height: 1;
    display: inline-grid;
    position: absolute;
    top: 18px;
    right: 18px
}

.auth-modal-close:hover {
    background: #ffffff24
}

.sr-only {
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    position: absolute;
    overflow: hidden
}

@media (width<=640px) {
    .auth-modal-backdrop {
        padding: 0
    }

    .auth-modal-dialog {
        width: 100vw;
        min-height: 100dvh;
        max-height: 100dvh;
        padding: calc(72px + env(safe-area-inset-top)) 24px calc(32px + env(safe-area-inset-bottom));
        border: 0;
        border-radius: 0
    }
}

.restored-shell {
    --accent: #8b5cf6;
    --accent-soft: #8b5cf62e;
    background: radial-gradient(circle at top left, var(--accent-soft), transparent 34rem), linear-gradient(135deg, #18181bf5, #09090bfa);
    color: #fafafa;
    min-height: 100vh;
    padding: 28px
}

.accent-green {
    --accent: #22c55e;
    --accent-soft: #22c55e2e
}

.accent-amber {
    --accent: #f59e0b;
    --accent-soft: #f59e0b2e
}

.accent-blue {
    --accent: #38bdf8;
    --accent-soft: #38bdf82e
}

.restored-hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    align-items: stretch;
    gap: 28px;
    max-width: 1180px;
    margin: 0 auto;
    display: grid
}

.restored-copy,
.restored-preview-card,
.restored-detail-card,
.restored-extra,
.restored-metric,
.restored-panel {
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    background: #18181bb8;
    border: 1px solid #ffffff1a;
    box-shadow: 0 24px 70px #00000047
}

.restored-copy {
    border-radius: 34px;
    min-height: 520px;
    padding: clamp(28px, 5vw, 64px)
}

.restored-eyebrow {
    color: var(--accent);
    letter-spacing: .16em;
    text-transform: uppercase;
    margin: 0 0 16px;
    font-size: 12px;
    font-weight: 800
}

.restored-copy h1,
.restored-detail-card h2 {
    color: #fff;
    letter-spacing: -.055em;
    margin: 0
}

.restored-copy h1 {
    max-width: 840px;
    font-size: clamp(44px, 8vw, 92px);
    line-height: .92
}

.restored-subtitle {
    color: #e4e4e7;
    max-width: 700px;
    margin: 24px 0 0;
    font-size: clamp(20px, 2.5vw, 30px);
    line-height: 1.25
}

.restored-description,
.restored-detail-card p,
.restored-route-context,
.restored-status {
    color: #a1a1aa;
    max-width: 760px;
    line-height: 1.7
}

.restored-status,
.restored-route-context {
    background: #ffffff0d;
    border: 1px solid #ffffff1a;
    border-radius: 999px;
    width: fit-content;
    margin: 18px 10px 0 0;
    padding: 8px 12px;
    font-size: 13px;
    display: inline-flex
}

.restored-actions {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
    display: flex
}

.restored-button {
    background: var(--accent);
    color: #08080a;
    border: 1px solid #0000;
    border-radius: 999px;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 20px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex
}

.restored-button.secondary {
    color: #fafafa;
    background: #ffffff12;
    border-color: #ffffff24
}

.restored-preview-card {
    border-radius: 34px;
    padding: 24px
}

.preview-window {
    background: linear-gradient(160deg, #ffffff14, #ffffff03), #111113;
    border-radius: 26px;
    min-height: 100%;
    padding: 18px;
    display: grid
}

.preview-bar {
    gap: 7px;
    height: 24px;
    display: flex
}

.preview-bar span {
    background: #ffffff40;
    border-radius: 50%;
    width: 10px;
    height: 10px
}

.preview-phone {
    aspect-ratio: 9/16;
    background: #18181b;
    border: 10px solid #050506;
    border-radius: 34px;
    place-self: center;
    width: min(100%, 260px);
    padding: 14px
}

.preview-poster {
    background: radial-gradient(circle at 65% 20%, var(--accent), transparent 7rem), linear-gradient(160deg, #ffffff1f, #0003);
    border-radius: 22px;
    place-items: end start;
    height: 72%;
    padding: 18px;
    display: grid
}

.preview-poster span {
    color: #fff;
    letter-spacing: .1em;
    text-transform: uppercase;
    max-width: 160px;
    font-size: 12px;
    font-weight: 800
}

.preview-lines {
    gap: 9px;
    margin-top: 16px;
    display: grid
}

.preview-lines i {
    background: #ffffff24;
    border-radius: 999px;
    height: 10px
}

.preview-lines i:nth-child(2) {
    width: 72%
}

.preview-lines i:nth-child(3) {
    width: 48%
}

.restored-metrics,
.restored-grid,
.restored-extra {
    max-width: 1180px;
    margin: 28px auto 0
}

.restored-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    display: grid
}

.restored-metric {
    border-radius: 24px;
    padding: 22px
}

.restored-metric strong {
    color: #fff;
    font-size: 34px;
    line-height: 1;
    display: block
}

.restored-metric span {
    color: #a1a1aa;
    margin-top: 10px;
    display: block
}

.restored-grid {
    grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
    gap: 18px;
    display: grid
}

.restored-panel-list {
    gap: 12px;
    display: grid
}

.restored-panel {
    width: 100%;
    color: inherit;
    cursor: pointer;
    text-align: left;
    border-radius: 22px;
    padding: 18px
}

.restored-panel.active {
    border-color: color-mix(in srgb, var(--accent) 65%, white 10%);
    background: var(--accent-soft)
}

.restored-panel span,
.restored-panel small,
.restored-detail-card p,
.restored-timeline {
    color: #a1a1aa
}

.restored-panel strong {
    color: #fff;
    margin: 8px 0;
    font-size: 18px;
    display: block
}

.restored-panel small {
    line-height: 1.55;
    display: block
}

.restored-detail-card,
.restored-extra {
    border-radius: 28px;
    padding: 28px
}

.restored-detail-card h2 {
    font-size: clamp(30px, 4vw, 52px)
}

.restored-timeline {
    gap: 12px;
    margin: 24px 0 0;
    padding-left: 20px;
    display: grid
}

.local-form {
    gap: 16px;
    max-width: 620px;
    display: grid
}

.local-form label {
    color: #e4e4e7;
    gap: 8px;
    font-weight: 700;
    display: grid
}

.local-form input,
.local-form textarea,
.local-form select {
    color: #fafafa;
    background: #ffffff0f;
    border: 1px solid #ffffff1f;
    border-radius: 18px;
    outline: none;
    width: 100%;
    padding: 14px 16px
}

.local-form textarea {
    resize: vertical;
    min-height: 120px
}

.local-form-message {
    color: #bbf7d0;
    background: #22c55e1f;
    border: 1px solid #22c55e47;
    border-radius: 18px;
    padding: 14px 16px
}

@media (width<=900px) {
    .restored-shell {
        padding: 14px
    }

    .restored-hero,
    .restored-grid,
    .restored-metrics {
        grid-template-columns: 1fr
    }

    .restored-copy {
        min-height: auto
    }
}