/* ---- App Shell ---- */
body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
}

.app-shell {
    min-height: 100vh;
}

.app-shell--auth .header {
    display: none;
}

.app-shell--auth .main-content {
    padding: 0;
}

/* ---- Text Logo ---- */
.logo-text {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    user-select: none;
    display: inline-flex;
    align-items: baseline;
}

.logo-text--lg {
    font-size: 2rem;
}

.logo-text__ai {
    background: linear-gradient(135deg, var(--brand-cyan), var(--brand-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

/* ---- Header ---- */
.header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-xl);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header__left {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.header__brand {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
}

.header__title {
    font-size: var(--text-xl);
    font-weight: 700;
}

.header__brand-sub {
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-tertiary);
    letter-spacing: 0.02em;
}

.header__brand-sub .logo-text__ai {
    font-size: var(--text-xs);
    font-weight: 800;
}

.header__right {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* ---- Auth Card Brand Sub ---- */
.auth-card__brand-sub {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-tertiary);
    margin-top: var(--space-xs);
}

.auth-card__brand-sub .logo-text__ai {
    font-size: var(--text-sm);
    font-weight: 800;
}

/* ---- Main Content ---- */
.main-content {
    padding: var(--space-xl);
    min-height: calc(100vh - var(--header-height));
}
