/* ============================================
   LemonInk — Interface Components
   Minimalist, focused reading experience
   ============================================ */

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */
.zen-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-family: var(--zen-font-body);
    font-size: var(--zen-text-sm);
    font-weight: 500;
    border-radius: var(--zen-radius-pill);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.zen-btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.5px;
}

.zen-btn-primary {
    background: var(--zen-accent);
    color: var(--zen-text);
}

.zen-btn-primary:hover {
    background: var(--zen-text);
    color: var(--zen-accent);
    box-shadow: var(--zen-shadow-md);
    transform: translateY(-1px);
}

.zen-btn-ghost {
    background: transparent;
    color: var(--zen-text-secondary);
    border: 1px solid var(--zen-border);
}

.zen-btn-ghost:hover {
    background: var(--zen-surface-hover);
    color: var(--zen-text);
    border-color: var(--zen-border-hover);
}

/* ══════════════════════════════════════
   CATEGORY CHIPS
   ══════════════════════════════════════ */
.zen-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--zen-space-xl);
}

.zen-category-chip {
    padding: 8px 18px;
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-pill);
    font-family: var(--zen-font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--zen-text-secondary);
    cursor: pointer;
    transition: all 0.15s;
}

.zen-category-chip:hover {
    border-color: var(--zen-text-muted);
    color: var(--zen-text);
}

.zen-category-chip.is-active {
    background: var(--zen-accent);
    color: var(--zen-text);
    border-color: var(--zen-accent);
    box-shadow: 0 6px 16px rgba(245, 166, 35, 0.15);
}

/* ══════════════════════════════════════
   BOOK CARDS — Minimal & Clean
   ══════════════════════════════════════ */
.zen-library-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--zen-space-md);
    margin-bottom: var(--zen-space-lg);
}

.zen-library-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-lg);
    box-shadow: var(--zen-shadow-sm);
}

.zen-library-stat-value {
    font-family: var(--zen-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--zen-text);
    line-height: 1;
}

.zen-library-stat-label {
    color: var(--zen-text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.zen-book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--zen-space-2xl) var(--zen-space-xl);
}

.zen-book-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    cursor: pointer;
    padding: 14px;
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-lg);
    box-shadow: var(--zen-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.zen-book-card:hover,
.zen-book-card:focus-visible {
    transform: translateY(-4px);
    border-color: var(--zen-border-hover);
    box-shadow: var(--zen-shadow-lg);
    outline: none;
}

.zen-book-card:hover .zen-book-card-cover {
    transform: scale(1.015);
    box-shadow: var(--zen-shadow-xl);
}

.zen-book-card-cover {
    height: 260px;
    border-radius: var(--zen-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 14px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: var(--zen-shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.zen-book-card-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.1) 0%, transparent 10%, transparent 90%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
}

.zen-book-card-cover--sm {
    height: 200px;
}

.zen-book-card-icon svg {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.zen-book-card-category {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--zen-text-muted);
    margin-bottom: 6px;
}

.zen-book-card-title {
    font-family: var(--zen-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--zen-text);
    margin-bottom: 6px;
    line-height: var(--zen-leading-tight);
}

.zen-book-card-author {
    font-size: var(--zen-text-sm);
    color: var(--zen-text-secondary);
    margin-bottom: 10px;
}

.zen-book-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--zen-text-muted);
    padding-top: 10px;
    border-top: 1px solid var(--zen-border);
}

.zen-book-card-meta svg {
    width: 14px;
    height: 14px;
    stroke-width: 1.5px;
    margin-right: 4px;
    vertical-align: -2px;
}

.zen-book-card[hidden] {
    display: none;
}

/* ══════════════════════════════════════
   SECTION HEADERS
   ══════════════════════════════════════ */
.zen-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--zen-space-xl);
}

.zen-section-title {
    font-family: var(--zen-font-heading);
    font-size: var(--zen-text-3xl);
    font-weight: 700;
    color: var(--zen-text);
    letter-spacing: -0.02em;
}

.zen-section-link {
    font-size: var(--zen-text-sm);
    color: var(--zen-text-secondary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s;
    white-space: nowrap;
    flex-shrink: 0;
}

.zen-section-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.zen-section-link:hover {
    color: var(--zen-text);
}

/* ══════════════════════════════════════
   PAGE HEADER
   ══════════════════════════════════════ */
.zen-page-header {
    padding: 56px 0 36px;
    border-bottom: 1px solid var(--zen-border);
    margin-bottom: 32px;
}

.zen-page-header h1 {
    font-family: var(--zen-font-heading);
    font-size: clamp(2.5rem, 3vw, 3.5rem);
    font-weight: 700;
    color: var(--zen-text);
    letter-spacing: 0;
    margin-bottom: var(--zen-space-md);
}

.zen-page-header p {
    max-width: 720px;
    font-size: var(--zen-text-lg);
    color: var(--zen-text-secondary);
    line-height: 1.6;
}

.zen-library-page {
    padding-top: 0;
    padding-bottom: var(--zen-space-4xl);
}

.zen-library-hero {
    padding: 56px 0 28px;
    border-bottom: 1px solid var(--zen-border);
    margin-bottom: 28px;
}

.zen-library-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--zen-space-xl);
    padding: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.zen-library-header h1 {
    margin-bottom: 0;
}

.zen-library-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    justify-content: flex-end;
    padding-bottom: 8px;
    color: var(--zen-text-muted);
    font-size: 12px;
    font-weight: 600;
}

.zen-library-meta-line span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.zen-library-meta-line--loading {
    min-height: 22px;
}

/* ══════════════════════════════════════
   LIBRARY CONTROLS
   ══════════════════════════════════════ */
.zen-library-toolbar {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto auto;
    gap: var(--zen-space-md);
    align-items: center;
    margin-bottom: var(--zen-space-md);
    padding: 18px 18px 16px;
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-lg);
    box-shadow: var(--zen-shadow-sm);
}

.zen-library-search {
    position: relative;
}

.zen-library-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    fill: none;
    stroke: var(--zen-text-muted);
    stroke-width: 1.6px;
    pointer-events: none;
}

.zen-library-search-input {
    width: 100%;
    padding: 13px 16px 13px 48px;
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-pill);
    font-family: var(--zen-font-body);
    font-size: var(--zen-text-sm);
    color: var(--zen-text);
    outline: none;
    transition: all 0.2s;
}

.zen-library-search-input:focus {
    border-color: var(--zen-accent);
    box-shadow: 0 0 0 4px var(--zen-accent-muted);
}

.zen-library-sort {
    display: flex;
    align-items: center;
    gap: var(--zen-space-sm);
    color: var(--zen-text-secondary);
    font-size: var(--zen-text-sm);
    font-weight: 500;
}

.zen-library-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    background: transparent;
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-pill);
    color: var(--zen-text-secondary);
    font-family: var(--zen-font-body);
    font-size: var(--zen-text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.zen-library-reset:hover {
    background: var(--zen-surface-hover);
    color: var(--zen-text);
    border-color: var(--zen-text-muted);
}

.zen-library-filters {
    margin-bottom: 8px;
    padding: 18px 18px 16px;
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-lg);
    box-shadow: var(--zen-shadow-sm);
}

.zen-library-filters .zen-categories {
    margin-bottom: 0;
}

.zen-library-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--zen-space-md);
    margin-bottom: 14px;
}

.zen-library-filter-label {
    color: var(--zen-text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.zen-library-filter-count {
    color: var(--zen-text-muted);
    font-size: 12px;
    font-weight: 500;
}

.zen-library-page .zen-library-grid {
    margin-bottom: var(--zen-space-4xl);
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--zen-space-2xl) var(--zen-space-lg);
}

.zen-library-page .zen-library-grid .zen-book-card {
    padding: 12px;
}

.zen-library-page .zen-library-grid .zen-book-card-cover {
    height: 240px;
}

.zen-empty-state {
    max-width: 520px;
    margin: 72px auto var(--zen-space-4xl);
    text-align: center;
}

.zen-empty-state[hidden] {
    display: none;
}

.zen-empty-state-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--zen-space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--zen-surface-hover);
    border: 1px solid var(--zen-border);
    border-radius: 50%;
    color: var(--zen-text-muted);
}

.zen-empty-state-icon svg {
    width: 30px;
    height: 30px;
}

.zen-empty-state h2 {
    font-family: var(--zen-font-heading);
    font-size: var(--zen-text-2xl);
    margin-bottom: var(--zen-space-sm);
}

.zen-empty-state p {
    color: var(--zen-text-secondary);
}

.zen-state {
    max-width: 760px;
    margin: 72px auto var(--zen-space-4xl);
    padding: 32px;
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-lg);
    box-shadow: var(--zen-shadow-sm);
}

.zen-state--loading {
    max-width: 1000px;
}

.zen-state-header {
    display: flex;
    align-items: center;
    gap: var(--zen-space-lg);
    margin-bottom: var(--zen-space-xl);
}

.zen-state-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--zen-surface-hover);
    border: 1px solid var(--zen-border);
    border-radius: 50%;
    color: var(--zen-text-muted);
}

.zen-state-icon svg {
    width: 30px;
    height: 30px;
}

.zen-state-icon--loading {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.14), rgba(245, 166, 35, 0.06));
    color: var(--zen-accent);
}

.zen-state-icon--error {
    background: var(--zen-error-muted);
    color: var(--zen-error);
    border-color: rgba(220, 38, 38, 0.18);
}

.zen-state-icon-fallback {
    font-family: var(--zen-font-heading);
    font-size: 28px;
    font-weight: 700;
}

.zen-state-kicker {
    margin-bottom: 6px;
    color: var(--zen-text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.zen-state h2 {
    margin-bottom: var(--zen-space-sm);
    font-family: var(--zen-font-heading);
    font-size: var(--zen-text-2xl);
    font-weight: 700;
    color: var(--zen-text);
}

.zen-state p {
    max-width: 640px;
    color: var(--zen-text-secondary);
    line-height: 1.7;
}

.zen-state-hint {
    margin-top: var(--zen-space-md);
    color: var(--zen-text-muted);
    font-size: var(--zen-text-sm);
}

.zen-state-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: var(--zen-space-xl);
}

.zen-state-loading-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--zen-space-md);
    margin-top: var(--zen-space-xl);
}

.zen-loading-card {
    padding: 12px;
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-lg);
    box-shadow: var(--zen-shadow-sm);
}

.zen-loading-cover {
    position: relative;
    height: 210px;
    overflow: hidden;
    border-radius: var(--zen-radius-lg);
    background: linear-gradient(135deg, #eef0f7 0%, #f7f7fb 45%, #eef0f7 100%);
}

.zen-loading-cover::after,
.zen-skeleton-bar::after,
.zen-skeleton-line::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
    animation: zenSkeletonShimmer 1.45s infinite;
}

.zen-loading-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 58px;
    height: 24px;
    border-radius: 999px;
    background: rgba(245, 166, 35, 0.14);
}

.zen-loading-icon {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(76, 80, 105, 0.12);
}

.zen-loading-body {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.zen-skeleton-chip {
    display: inline-flex;
    width: 92px;
    height: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #eef0f7 0%, #f4f5fa 50%, #eef0f7 100%);
    border-radius: 999px;
    position: relative;
}

.zen-skeleton-chip::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
    animation: zenSkeletonShimmer 1.45s infinite;
}

.zen-skeleton-chip--wide {
    width: 144px;
}

.zen-state-skeleton {
    display: grid;
    gap: 10px;
    margin-top: 4px;
}

.zen-skeleton-bar,
.zen-skeleton-line {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #eef0f7 0%, #f4f5fa 50%, #eef0f7 100%);
    border-radius: 999px;
}

.zen-skeleton-bar {
    height: 16px;
}

.zen-skeleton-bar--wide {
    width: min(560px, 100%);
    height: 18px;
}

.zen-skeleton-bar--medium {
    width: min(410px, 82%);
}

.zen-skeleton-bar--short {
    width: min(250px, 62%);
}

.zen-skeleton-line {
    height: 12px;
}

.zen-skeleton-line--xs {
    width: 38%;
}

.zen-skeleton-line--sm {
    width: 62%;
}

.zen-skeleton-line--md {
    width: 82%;
}

.zen-skeleton-line--lg {
    width: 100%;
}

@keyframes zenSkeletonShimmer {
    100% {
        transform: translateX(100%);
    }
}

/* ══════════════════════════════════════
   ACCOUNT, SETTINGS, BOOKMARKS
   ══════════════════════════════════════ */
.zen-content-panel {
    max-width: 760px;
    margin-bottom: var(--zen-space-4xl);
    padding: var(--zen-space-xl);
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-lg);
    box-shadow: var(--zen-shadow-sm);
}

.zen-page-header-with-action {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--zen-space-xl);
}

.zen-settings-group {
    margin-bottom: var(--zen-space-2xl);
    padding-bottom: var(--zen-space-xl);
    border-bottom: 1px solid var(--zen-border);
}

.zen-settings-group:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.zen-settings-title {
    display: flex;
    align-items: center;
    gap: var(--zen-space-sm);
    margin-bottom: var(--zen-space-lg);
    color: var(--zen-text);
    font-size: var(--zen-text-lg);
    font-weight: 600;
}

.zen-settings-title svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.zen-strong-value {
    font-weight: 500;
}

.zen-profile-layout {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: var(--zen-space-xl);
    align-items: start;
    margin-bottom: var(--zen-space-4xl);
}

.zen-profile-sidebar {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: var(--zen-space-lg);
}

.zen-profile-content {
    display: flex;
    flex-direction: column;
    gap: var(--zen-space-lg);
    min-width: 0;
}

.zen-profile-card {
    padding: var(--zen-space-xl);
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-lg);
    box-shadow: var(--zen-shadow-sm);
}

.zen-profile-card-hero {
    padding: calc(var(--zen-space-xl) + 2px);
}

.zen-profile-card-hero .zen-profile-summary {
    margin-bottom: var(--zen-space-lg);
    padding-bottom: var(--zen-space-lg);
}

.zen-profile-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: var(--zen-radius-pill);
    background: var(--zen-accent-muted);
    color: var(--zen-accent);
    font-size: var(--zen-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.zen-profile-pill-soft {
    margin-bottom: var(--zen-space-md);
    background: var(--zen-surface-hover);
    color: var(--zen-text-secondary);
}

.zen-profile-meta-list {
    display: grid;
    gap: 10px;
    margin-top: var(--zen-space-lg);
}

.zen-profile-meta-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--zen-space-md);
    padding: 12px 0;
    border-bottom: 1px solid var(--zen-border);
}

.zen-profile-meta-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.zen-profile-meta-label {
    color: var(--zen-text-muted);
    font-size: var(--zen-text-sm);
}

.zen-profile-meta-value {
    color: var(--zen-text);
    font-size: var(--zen-text-sm);
    font-weight: 600;
}

.zen-profile-actions {
    display: flex;
    gap: 10px;
    margin-top: var(--zen-space-lg);
}

.zen-profile-actions .zen-btn {
    flex: 1;
    justify-content: center;
}

.zen-profile-card-title {
    margin-bottom: var(--zen-space-md);
    color: var(--zen-text);
    font-size: var(--zen-text-lg);
    font-weight: 600;
}

.zen-profile-shortcuts {
    display: grid;
    gap: 10px;
}

.zen-profile-shortcut {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    background: var(--zen-surface-hover);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-md);
    transition: all 0.2s;
}

.zen-profile-shortcut:hover {
    border-color: var(--zen-border-hover);
    background: var(--zen-surface);
    transform: translateY(-1px);
}

.zen-profile-shortcut-title {
    color: var(--zen-text);
    font-size: var(--zen-text-sm);
    font-weight: 600;
}

.zen-profile-shortcut-desc {
    color: var(--zen-text-muted);
    font-size: var(--zen-text-xs);
    line-height: 1.5;
}

.zen-profile-summary {
    display: flex;
    align-items: center;
    gap: var(--zen-space-xl);
    margin-bottom: var(--zen-space-2xl);
    padding-bottom: var(--zen-space-xl);
    border-bottom: 1px solid var(--zen-border);
}

.zen-profile-avatar {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--zen-surface-hover);
    border: 1px solid var(--zen-border);
    border-radius: 50%;
    color: var(--zen-text);
    font-size: 32px;
    font-weight: 700;
}

.zen-profile-name {
    font-family: var(--zen-font-heading);
    font-size: var(--zen-text-3xl);
    font-weight: 700;
    color: var(--zen-text);
    margin-bottom: 4px;
}

.zen-profile-email {
    color: var(--zen-text-secondary);
    font-size: var(--zen-text-base);
}

.zen-settings-group-compact {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.zen-bookmark-page {
    padding-top: 0;
    padding-bottom: var(--zen-space-4xl);
}

.zen-bookmark-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: var(--zen-space-2xl);
    align-items: start;
    padding: 52px 0 32px;
    border-bottom: 1px solid var(--zen-border);
    margin-bottom: 32px;
}

.zen-bookmark-hero-copy h1 {
    font-family: var(--zen-font-heading);
    font-size: clamp(2.8rem, 3.4vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin: 10px 0 18px;
}

.zen-bookmark-eyebrow,
.zen-bookmark-filter-label,
.zen-bookmark-spotlight-label {
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--zen-text-muted);
}

.zen-bookmark-hero-copy p {
    max-width: 640px;
    font-size: var(--zen-text-lg);
    color: var(--zen-text-secondary);
    line-height: 1.7;
}

.zen-bookmark-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.zen-bookmark-spotlight {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zen-bookmark-spotlight-card {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-lg);
    box-shadow: var(--zen-shadow-md);
}

.zen-bookmark-spotlight-cover {
    min-height: 210px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--zen-radius-lg);
    box-shadow: var(--zen-shadow-md);
}

.zen-bookmark-spotlight-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.08));
}

.zen-bookmark-spotlight-icon svg {
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1;
}

.zen-bookmark-spotlight-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    min-width: 42px;
    padding: 6px 10px;
    border-radius: var(--zen-radius-pill);
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    backdrop-filter: blur(4px);
}

.zen-bookmark-spotlight-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.zen-bookmark-spotlight-category {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--zen-text-muted);
}

.zen-bookmark-spotlight-copy h2 {
    font-family: var(--zen-font-heading);
    font-size: 1.35rem;
    line-height: 1.15;
    margin-bottom: 0;
}

.zen-bookmark-spotlight-copy p {
    color: var(--zen-text-secondary);
    font-size: var(--zen-text-sm);
}

.zen-bookmark-progress {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zen-bookmark-progress-track {
    flex: 1;
    height: 5px;
    overflow: hidden;
    background: var(--zen-border);
    border-radius: var(--zen-radius-pill);
}

.zen-bookmark-progress-track span {
    display: block;
    height: 100%;
    background: var(--zen-accent);
    border-radius: inherit;
}

.zen-bookmark-progress strong {
    min-width: 42px;
    font-size: 12px;
    font-weight: 700;
    color: var(--zen-text);
}

.zen-bookmark-spotlight-meta,
.zen-bookmark-feature-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    color: var(--zen-text-muted);
}

.zen-bookmark-spotlight-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: 6px;
    padding: 10px 16px;
    border-radius: var(--zen-radius-pill);
    background: var(--zen-accent);
    color: var(--zen-text);
    font-size: var(--zen-text-sm);
    font-weight: 600;
}

.zen-bookmark-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--zen-space-md);
    margin-bottom: var(--zen-space-lg);
}

.zen-bookmark-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-lg);
    box-shadow: var(--zen-shadow-sm);
}

.zen-bookmark-stat-value {
    font-family: var(--zen-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.zen-bookmark-stat-label {
    color: var(--zen-text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.zen-bookmark-toolbar {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto auto;
    gap: var(--zen-space-md);
    align-items: center;
    margin-bottom: var(--zen-space-md);
    padding: 18px;
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-lg);
    box-shadow: var(--zen-shadow-sm);
}

.zen-bookmark-search {
    position: relative;
}

.zen-bookmark-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    fill: none;
    stroke: var(--zen-text-muted);
    stroke-width: 1.6px;
    pointer-events: none;
}

.zen-bookmark-search-input {
    width: 100%;
    padding: 13px 16px 13px 48px;
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-pill);
    font-family: var(--zen-font-body);
    font-size: var(--zen-text-sm);
    color: var(--zen-text);
    outline: none;
    transition: all 0.2s;
}

.zen-bookmark-search-input:focus {
    border-color: var(--zen-accent);
    box-shadow: 0 0 0 4px var(--zen-accent-muted);
}

.zen-bookmark-sort {
    display: flex;
    align-items: center;
    gap: var(--zen-space-sm);
    color: var(--zen-text-secondary);
    font-size: var(--zen-text-sm);
    font-weight: 500;
}

.zen-bookmark-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    background: transparent;
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-pill);
    color: var(--zen-text-secondary);
    font-family: var(--zen-font-body);
    font-size: var(--zen-text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.zen-bookmark-reset:hover {
    background: var(--zen-surface-hover);
    color: var(--zen-text);
    border-color: var(--zen-text-muted);
}

.zen-bookmark-filter-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--zen-space-md);
    margin-bottom: 14px;
}

.zen-bookmark-chips {
    margin-bottom: 0;
}

.zen-bookmark-count {
    color: var(--zen-text-muted);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.zen-bookmark-section {
    margin-top: var(--zen-space-2xl);
}

.zen-bookmark-continue-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--zen-space-lg);
}

.zen-bookmark-feature-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-lg);
    box-shadow: var(--zen-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.zen-bookmark-feature-card:hover,
.zen-bookmark-feature-card:focus-visible {
    transform: translateY(-3px);
    border-color: var(--zen-border-hover);
    box-shadow: var(--zen-shadow-lg);
    outline: none;
}

.zen-bookmark-feature-cover {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    overflow: hidden;
    border-radius: var(--zen-radius-lg);
    box-shadow: var(--zen-shadow-md);
}

.zen-bookmark-feature-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.06));
}

.zen-bookmark-feature-icon svg {
    width: 48px;
    height: 48px;
    position: relative;
    z-index: 1;
}

.zen-bookmark-feature-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    min-width: 42px;
    padding: 6px 10px;
    border-radius: var(--zen-radius-pill);
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    backdrop-filter: blur(4px);
}

.zen-bookmark-feature-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.zen-bookmark-feature-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.zen-bookmark-status {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--zen-text-muted);
}

.zen-bookmark-mini {
    font-size: 12px;
    color: var(--zen-text-muted);
}

.zen-bookmark-feature-body h3 {
    font-family: var(--zen-font-heading);
    font-size: 1.25rem;
    line-height: 1.1;
    color: var(--zen-text);
}

.zen-bookmark-feature-body p {
    color: var(--zen-text-secondary);
    font-size: var(--zen-text-sm);
}

.zen-bookmark-note {
    color: var(--zen-text-secondary);
    font-size: var(--zen-text-sm);
    line-height: 1.6;
}

.zen-bookmark-note--compact {
    margin-top: 2px;
    max-width: 56ch;
}

.zen-bookmark-card {
    position: relative;
}

.zen-bookmark-card-cover {
    height: 230px;
}

.zen-bookmark-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    padding: 6px;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(4px);
}

.zen-bookmark-badge svg {
    width: 16px;
    height: 16px;
}

.zen-bookmark-card-tags {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 1;
}

.zen-bookmark-card-tags span {
    padding: 5px 9px;
    border-radius: var(--zen-radius-pill);
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.zen-bookmark-grid {
    margin-top: var(--zen-space-md);
}

.zen-empty-state .zen-btn {
    margin-top: var(--zen-space-xl);
}

/* ══════════════════════════════════════
   CHAT PANEL
   ══════════════════════════════════════ */
.zen-chat-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: calc(var(--zen-z-sticky) + 4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-pill);
    background: var(--zen-surface);
    color: var(--zen-text);
    box-shadow: var(--zen-shadow-lg);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.zen-chat-fab:hover,
.zen-chat-fab.is-active {
    transform: translateY(-1px);
    border-color: var(--zen-border-hover);
    box-shadow: var(--zen-shadow-xl);
}

.zen-chat-fab svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.zen-chat-fab span {
    font-size: var(--zen-text-sm);
    font-weight: 600;
    white-space: nowrap;
}

.zen-chat-panel {
    position: fixed;
    right: 24px;
    bottom: 84px;
    width: min(430px, calc(100vw - 32px));
    height: min(650px, calc(100vh - 116px));
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: 24px;
    box-shadow: var(--zen-shadow-xl);
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px) scale(0.98);
    transition: opacity 0.24s var(--zen-ease), transform 0.24s var(--zen-ease);
    z-index: calc(var(--zen-z-sticky) + 3);
}

.zen-chat-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.zen-chat-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: var(--zen-surface);
    border-bottom: 1px solid var(--zen-border);
}

.zen-chat-brand-mark,
.zen-chat-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--zen-accent-muted);
    color: var(--zen-text);
    border: 1px solid rgba(245, 166, 35, 0.28);
    font-size: 13px;
    font-weight: 800;
}

.zen-chat-header-copy {
    min-width: 0;
}

.zen-chat-header-title {
    font-family: var(--zen-font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--zen-text);
    line-height: 1.05;
}

.zen-chat-header-desc {
    margin-top: 3px;
    color: var(--zen-text-muted);
    font-size: 12px;
    font-weight: 600;
}

.zen-chat-close,
.zen-chat-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--zen-duration-fast) var(--zen-ease);
}

.zen-chat-close {
    width: 40px;
    height: 40px;
    border: 1px solid var(--zen-border);
    border-radius: 50%;
    background: var(--zen-surface-hover);
    color: var(--zen-text-secondary);
    flex-shrink: 0;
}

.zen-chat-close:hover {
    background: var(--zen-surface);
    color: var(--zen-text);
    border-color: var(--zen-border-hover);
    transform: translateY(-1px);
}

.zen-chat-close svg {
    width: 16px;
    height: 16px;
}

.zen-chat-surface {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 14px 16px 0;
    background: linear-gradient(180deg, var(--zen-bg) 0%, var(--zen-surface) 100%);
    overflow: hidden;
}

.zen-chat-suggested {
    display: flex;
    gap: 8px;
    padding-bottom: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}

.zen-chat-suggested::-webkit-scrollbar {
    display: none;
}

.zen-chat-chip {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-pill);
    background: var(--zen-surface);
    color: var(--zen-text-secondary);
    font-family: var(--zen-font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--zen-duration-fast) var(--zen-ease);
}

.zen-chat-chip:hover {
    border-color: rgba(245, 166, 35, 0.48);
    background: var(--zen-accent-muted);
    color: var(--zen-text);
    box-shadow: 0 6px 16px rgba(245, 166, 35, 0.12);
}

.zen-chat-thread {
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.zen-chat-messages {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    padding: 2px 4px 16px 0;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(33, 38, 61, 0.18) transparent;
}

.zen-chat-messages::-webkit-scrollbar {
    width: 8px;
}

.zen-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.zen-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(33, 38, 61, 0.16);
    border: 2px solid transparent;
    border-radius: 999px;
    background-clip: padding-box;
}

.zen-chat-message {
    display: flex;
    align-items: flex-end;
    gap: 9px;
    max-width: 100%;
}

.zen-chat-message.ai {
    justify-content: flex-start;
}

.zen-chat-message.user {
    justify-content: flex-end;
}

.zen-chat-message.user .zen-chat-avatar {
    display: none;
}

.zen-chat-bubble {
    max-width: min(330px, calc(100% - 52px));
    padding: 12px 14px;
    border-radius: 18px;
    color: var(--zen-text);
    font-size: 14px;
    line-height: 1.62;
}

.zen-chat-message.ai .zen-chat-bubble {
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-bottom-left-radius: 6px;
    box-shadow: var(--zen-shadow-sm);
}

.zen-chat-message.user .zen-chat-bubble {
    max-width: min(300px, 78%);
    background: var(--zen-accent);
    border-bottom-right-radius: 6px;
    box-shadow: 0 8px 18px rgba(245, 166, 35, 0.18);
    font-weight: 500;
}

.zen-chat-bubble-label {
    margin-bottom: 4px;
    color: var(--zen-text-muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.zen-chat-bubble-text {
    white-space: pre-wrap;
}

.zen-chat-typing {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 20px;
}

.zen-chat-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--zen-text-muted);
    animation: zenChatTyping 1s infinite ease-in-out;
}

.zen-chat-typing span:nth-child(2) {
    animation-delay: 0.15s;
}

.zen-chat-typing span:nth-child(3) {
    animation-delay: 0.3s;
}

.zen-chat-input-area {
    flex-shrink: 0;
    padding: 12px 16px 14px;
    background: var(--zen-surface);
    border-top: 1px solid var(--zen-border);
}

.zen-chat-input-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 5px 5px 5px 16px;
    background: var(--zen-surface-hover);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-pill);
    transition: all var(--zen-duration-fast) var(--zen-ease);
}

.zen-chat-input-shell:focus-within {
    background: var(--zen-surface);
    border-color: var(--zen-accent);
    box-shadow: 0 0 0 4px var(--zen-accent-muted);
}

.zen-chat-input {
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--zen-text);
    font-family: var(--zen-font-body);
    font-size: 14px;
}

.zen-chat-input::placeholder {
    color: var(--zen-text-muted);
}

.zen-chat-send {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--zen-accent);
    color: var(--zen-text);
    flex-shrink: 0;
}

.zen-chat-send:hover {
    background: var(--zen-accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--zen-shadow-md);
}

.zen-chat-send svg {
    width: 17px;
    height: 17px;
    pointer-events: none;
}

@keyframes zenChatTyping {

    0%,
    80%,
    100% {
        transform: translateY(0);
        opacity: 0.45;
    }

    40% {
        transform: translateY(-3px);
        opacity: 1;
    }
}

/* ══════════════════════════════════════
   AUTH PAGES
   ══════════════════════════════════════ */
.auth-page {
    display: grid;
    grid-template-columns: minmax(480px, 1.1fr) minmax(440px, 0.9fr);
    min-height: 100vh;
    margin: 0;
    background: var(--zen-bg);
    color: var(--zen-text);
    font-family: var(--zen-font-body);
}

.auth-page *,
.auth-page *::before,
.auth-page *::after {
    box-sizing: border-box;
}

.auth-left {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    padding: 32px 36px 38px;
    background: url('/images/Banner.jpg?v=1') center/cover no-repeat;
    overflow: hidden;
}

.auth-left::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(28, 32, 57, 0.72), rgba(28, 32, 57, 0.18)),
        linear-gradient(180deg, rgba(252, 252, 253, 0.04), rgba(248, 187, 22, 0.16));
}

.auth-panel-brand,
.auth-panel-copy,
.auth-panel-stats {
    position: relative;
    z-index: 1;
}

.auth-panel-brand {
    position: absolute;
    top: 32px;
    right: 32px;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    z-index: 2;
}

.auth-panel-brand img {
    height: 72px;
    width: auto;
    display: block;
}

.auth-panel-copy {
    max-width: 520px;
    color: #fff;
    margin-top: auto;
    margin-bottom: 28px;
}

.auth-panel-eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.auth-panel-copy h2 {
    font-family: var(--zen-font-heading);
    max-width: 12ch;
    font-size: clamp(2.1rem, 3.2vw, 3.8rem);
    line-height: 1.02;
    letter-spacing: 0;
    margin-bottom: 18px;
}

.auth-panel-copy p {
    max-width: 440px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.7;
}

.auth-panel-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.auth-panel-stats div {
    min-height: 96px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--zen-radius-lg);
    color: #fff;
    backdrop-filter: blur(14px);
}

.auth-panel-stats strong {
    display: block;
    font-family: var(--zen-font-heading);
    font-size: var(--zen-text-3xl);
    line-height: 1;
    margin-bottom: 6px;
}

.auth-panel-stats span {
    color: rgba(255, 255, 255, 0.78);
    font-size: var(--zen-text-sm);
}

.auth-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px 40px;
    background: var(--zen-bg);
    overflow-y: auto;
}

.auth-container {
    width: 100%;
    max-width: 520px;
}

.auth-card {
    padding: 36px;
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: 24px;
    box-shadow: var(--zen-shadow-xl);
}

.auth-heading {
    margin-bottom: 24px;
}

.auth-eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--zen-text-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.auth-title {
    margin-bottom: 10px;
    font-family: var(--zen-font-heading);
    font-size: clamp(2.15rem, 3.4vw, 3rem);
    font-weight: 700;
    text-align: left;
    letter-spacing: 0;
    line-height: 1.08;
}

.auth-subtitle {
    color: var(--zen-text-secondary);
    font-size: var(--zen-text-base);
    line-height: 1.65;
    text-align: left;
}

.auth-form {
    display: grid;
    gap: 16px;
}

.auth-form-group {
    margin-bottom: 0;
}

.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.auth-label-row .auth-label {
    margin-bottom: 0;
}

.auth-label-row a {
    color: var(--zen-text-secondary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.auth-label-row a:hover {
    color: var(--zen-text);
}

.auth-label {
    display: block;
    margin-bottom: 8px;
    color: var(--zen-text);
    font-size: var(--zen-text-sm);
    font-weight: 600;
}

.auth-input {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    background: var(--zen-surface-hover);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-lg);
    color: var(--zen-text);
    font-family: var(--zen-font-body);
    font-size: var(--zen-text-base);
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
}

.auth-input:focus {
    background: var(--zen-surface);
    border-color: var(--zen-accent);
    box-shadow: 0 0 0 4px var(--zen-accent-muted);
}

.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 0 24px;
    background: var(--zen-accent);
    color: var(--zen-text);
    border: none;
    border-radius: var(--zen-radius-pill);
    font-family: var(--zen-font-body);
    font-size: var(--zen-text-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-btn:hover {
    background: var(--zen-text);
    color: var(--zen-accent);
    transform: translateY(-1px);
    box-shadow: var(--zen-shadow-md);
}

.auth-btn-spaced {
    margin-top: 12px;
}

.auth-social {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.auth-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 16px;
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-pill);
    color: var(--zen-text);
    font-family: var(--zen-font-body);
    font-size: var(--zen-text-sm);
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--zen-shadow-sm);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.auth-social-btn:hover {
    transform: translateY(-1px);
    border-color: var(--zen-border-hover);
    box-shadow: var(--zen-shadow-md);
}

.auth-social-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.auth-social-google {
    color: var(--zen-text);
}

.auth-social-apple {
    background: #111827;
    border-color: #111827;
    color: #FFFFFF;
}

.auth-social-apple:hover {
    background: #1F2937;
    border-color: #1F2937;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 18px 0;
    color: var(--zen-text-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--zen-border);
}

.auth-links {
    margin-top: 20px;
    color: var(--zen-text-secondary);
    font-size: 14px;
    text-align: center;
}

.auth-links a {
    color: var(--zen-text);
    font-weight: 600;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper .auth-input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background: none;
    border: none;
    border-radius: var(--zen-radius-sm);
    color: var(--zen-text-secondary);
    cursor: pointer;
    transform: translateY(-50%);
    transition: all 0.2s;
}

.password-toggle:hover {
    background: var(--zen-surface-hover);
    color: var(--zen-text);
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

.auth-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--zen-text-secondary);
    font-size: var(--zen-text-sm);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.auth-back-btn:hover {
    color: var(--zen-text);
}

.auth-back-btn svg {
    width: 16px;
    height: 16px;
}

.auth-form-helper {
    text-align: right;
    margin-top: -10px;
    margin-bottom: 20px;
}

.auth-form-helper a {
    color: var(--zen-text-secondary);
    font-size: 13px;
    text-decoration: none;
}

.auth-alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    background: var(--zen-error-muted);
    border: 1px solid rgba(220, 38, 38, 0.18);
    border-radius: var(--zen-radius-lg);
    color: var(--zen-error);
    font-size: var(--zen-text-sm);
    font-weight: 600;
}

@media (max-width: 980px) {
    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-left {
        display: none;
    }

    .auth-right {
        min-height: 100vh;
        padding: 28px var(--zen-space-md);
    }

    .auth-container {
        max-width: 540px;
    }

    .auth-panel-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .auth-social {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 24px 18px;
    }

    .auth-title {
        font-size: 2.15rem;
    }

    .auth-right {
        padding: 20px 14px 24px;
    }

    .auth-panel-stats {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════
   FORMS & SETTINGS
   ══════════════════════════════════════ */
.zen-settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--zen-border);
}

.zen-settings-row:last-child {
    border-bottom: none;
}

.zen-settings-label {
    font-size: var(--zen-text-base);
    font-weight: 500;
    color: var(--zen-text);
}

.zen-settings-desc {
    font-size: var(--zen-text-sm);
    color: var(--zen-text-muted);
    margin-top: 4px;
}

.zen-select {
    padding: 8px 32px 8px 16px;
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-md);
    font-family: var(--zen-font-body);
    font-size: var(--zen-text-sm);
    color: var(--zen-text);
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234B5563' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.zen-select:focus {
    border-color: var(--zen-text);
}

.zen-toggle {
    width: 44px;
    height: 24px;
    background: var(--zen-border);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
}

.zen-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: var(--zen-shadow-sm);
}

.zen-toggle.is-on {
    background: var(--zen-success);
}

.zen-toggle.is-on::after {
    transform: translateX(20px);
}

/* ══════════════════════════════════════
   READING VIEW - Modern Layout
   ══════════════════════════════════════ */
.zen-reading-container {
    max-width: var(--zen-layout-width);
    margin: 0 auto;
    padding: 0 24px 140px;
    background: #f8f9fb;
    min-height: 100vh;
}

.zen-reading-shell {
    display: block;
    max-width: 900px;
    margin: 0 auto;
}

.zen-reading-main {
    min-width: 0;
    width: 100%;
}

/* ══════════════════════════════════════
   READING TOC SYSTEM
   ══════════════════════════════════════ */

/* Sidebar Rail - Desktop only */
.zen-reading-toc-rail {
    position: fixed;
    left: max(20px, calc(50% - 450px - 240px));
    top: 80px;
    width: 200px;
    height: calc(100vh - 120px);
    z-index: 1000;
    transition: all 0.3s ease;
    will-change: opacity, transform;
    background: transparent;
}

.zen-reading-toc-rail.is-hidden {
    opacity: 0;
    transform: translateX(-10px);
    pointer-events: none;
}

.zen-reading-toc-fab {
    position: fixed;
    left: 16px;
    bottom: 96px;
    z-index: 1001;
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-pill);
    box-shadow: var(--zen-shadow-lg);
    color: var(--zen-text);
    font-family: var(--zen-font-body);
    font-size: var(--zen-text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.zen-reading-toc-fab svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.zen-reading-toc-fab:hover {
    transform: translateY(-2px);
    border-color: var(--zen-border-hover);
    box-shadow: var(--zen-shadow-xl);
}

/* Mobile ToC */
@media (max-width: 1450px) {
    .zen-reading-toc-fab {
        display: inline-flex;
    }

    .zen-reading-toc-rail {
        left: 12px;
        right: 12px;
        top: auto;
        bottom: 140px;
        width: auto;
        height: auto;
        max-height: 50vh;
        padding: 16px;
        background: var(--zen-surface);
        border: 1px solid var(--zen-border);
        border-radius: 16px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        opacity: 0;
        transform: translateY(20px);
        pointer-events: none;
    }

    .zen-reading-toc-rail.is-open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    .zen-reading-toc-sticky {
        max-height: calc(50vh - 60px);
        overflow-y: auto;
    }
}

.zen-reading-toc-sticky {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.zen-reading-toc-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--zen-border) transparent;
}

.zen-reading-toc-list::-webkit-scrollbar {
    width: 4px;
}

.zen-reading-toc-list::-webkit-scrollbar-track {
    background: transparent;
}

.zen-reading-toc-list::-webkit-scrollbar-thumb {
    background: var(--zen-border);
    border-radius: 4px;
}

.zen-reading-toc-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
    margin: 0 4px;
    border-radius: 10px;
    color: var(--zen-text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    border: none;
    background: transparent;
}

.zen-reading-toc-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--zen-accent);
    border-radius: 0 2px 2px 0;
    transition: height 0.2s ease;
}

.zen-reading-toc-link:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--zen-text);
}

.zen-reading-toc-link:hover::before {
    height: 24px;
}

.zen-reading-toc-link.is-active {
    background: rgba(245, 166, 35, 0.1);
    color: var(--zen-accent);
}

.zen-reading-toc-link.is-active::before {
    height: 32px;
}

.zen-reading-toc-link.is-active .zen-reading-toc-title {
    font-weight: 700;
}

.zen-reading-toc-link.is-active .zen-reading-toc-meta {
    color: var(--zen-accent);
    opacity: 0.8;
}

.zen-reading-toc-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: inherit;
}

.zen-reading-toc-meta {
    font-size: 12px;
    color: var(--zen-text-muted);
    transition: color 0.2s ease;
}

.zen-reading-toc-rail.is-scrolled {
    transform: translateX(8px);
}

.zen-reading-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
    gap: 48px;
    align-items: start;
    margin-bottom: var(--zen-space-2xl);
}

.zen-reading-hero-copy {
    padding: 8px 0 0;
}

.zen-reading-hero-copy .zen-book-meta {
    justify-content: flex-start;
}

.zen-reading-cover-rail {
    align-self: start;
    padding-top: 6px;
}

.zen-reading-cover-card {
    overflow: hidden;
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-xl);
    box-shadow: var(--zen-shadow-lg);
    width: 100%;
    max-width: none;
    justify-self: end;
}

.zen-reading-cover-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.zen-reading-lead {
    margin-top: var(--zen-space-lg);
    max-width: none;
    color: var(--zen-text-secondary);
    font-size: var(--zen-text-base);
    line-height: 1.75;
}

.zen-reading-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.zen-reading-aside-label {
    color: var(--zen-text-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    padding-left: 4px;
}

.zen-book-kicker,
.zen-chapter-kicker {
    margin-bottom: var(--zen-space-md);
    color: var(--zen-text-muted);
    font-size: var(--zen-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.zen-book-title {
    font-family: var(--zen-font-heading);
    font-size: 3.4rem;
    font-weight: 800;
    color: var(--zen-text);
    line-height: 1.08;
    margin-bottom: var(--zen-space-md);
    letter-spacing: -0.025em;
}

.zen-book-author {
    font-size: var(--zen-text-xl);
    color: var(--zen-text-secondary);
}

.zen-book-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--zen-space-lg);
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--zen-border);
}

.zen-book-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--zen-text-secondary);
    font-size: var(--zen-text-sm);
    font-weight: 500;
}

.zen-book-meta-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.zen-book-intro {
    font-size: var(--zen-text-lg);
    line-height: var(--zen-leading-relaxed);
    color: var(--zen-text-secondary);
    font-family: var(--zen-font-heading);
    text-align: left;
    margin-bottom: var(--zen-space-xl);
    padding: var(--zen-space-xl);
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-lg);
    box-shadow: var(--zen-shadow-sm);
}

.zen-reading-actions {
    display: flex;
    justify-content: flex-start;
    gap: var(--zen-space-md);
    margin-bottom: var(--zen-space-xl);
    flex-wrap: wrap;
}

.zen-reading-action {
    padding: 12px 18px;
    font-size: var(--zen-text-sm);
}

.zen-reading-action svg {
    width: 18px;
    height: 18px;
}

/* ══════════════════════════════════════
   PDF READER - Modern Kindle/Notion Style
   ══════════════════════════════════════ */
.zen-pdf-reader {
    background: #f8f9fb;
    border-radius: 16px;
    padding: 0;
    margin: var(--zen-space-2xl) 0;
    overflow: hidden;
}

.zen-pdf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.zen-pdf-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.zen-pdf-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f3f4f6;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
}

.zen-pdf-badge svg {
    width: 14px;
    height: 14px;
}

.zen-pdf-label {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
}

.zen-pdf-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.zen-pdf-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.zen-pdf-action-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #111827;
    transform: translateY(-1px);
}

.zen-pdf-action-btn svg {
    width: 18px;
    height: 18px;
}

.zen-pdf-viewer-wrapper {
    padding: 24px;
    background: #f8f9fb;
}

.zen-pdf-viewer-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.zen-pdf-viewer-frame {
    display: block;
    width: 100%;
    height: calc(100vh - 320px);
    min-height: 600px;
    max-height: 900px;
    border: none;
    background: #ffffff;
}

/* Responsive PDF Reader */
@media (max-width: 1024px) {
    .zen-pdf-viewer-wrapper {
        padding: 16px;
    }
    
    .zen-pdf-viewer-container {
        border-radius: 12px;
    }
    
    .zen-pdf-viewer-frame {
        height: calc(100vh - 280px);
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .zen-pdf-header {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .zen-pdf-header-left {
        width: 100%;
        justify-content: space-between;
    }
    
    .zen-pdf-header-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .zen-pdf-viewer-wrapper {
        padding: 12px;
    }
    
    .zen-pdf-viewer-container {
        border-radius: 10px;
    }
    
    .zen-pdf-viewer-frame {
        height: 60vh;
        min-height: 400px;
    }
}

/* Legacy PDF styles - keeping for compatibility */
.zen-pdf-section {
    scroll-margin-top: 96px;
}

.zen-pdf-shell {
    display: grid;
    gap: 24px;
}

.zen-pdf-copy {
    padding: 26px 28px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.zen-pdf-eyebrow-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.zen-pdf-eyebrow {
    margin-bottom: 6px;
    color: var(--zen-text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.zen-pdf-status {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(245, 166, 35, 0.16);
    color: #7c4a03;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.zen-pdf-title {
    font-family: var(--zen-font-heading);
    font-size: clamp(2rem, 2.6vw, 3rem);
    color: var(--zen-text);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.zen-pdf-caption {
    margin-top: 12px;
    color: var(--zen-text-secondary);
    font-size: var(--zen-text-base);
    line-height: 1.8;
}

.zen-pdf-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.72);
}

.zen-pdf-toolbar-group,
.zen-pdf-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.zen-pdf-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(25, 32, 56, 0.05);
    color: var(--zen-text-secondary);
    font-size: 12px;
    font-weight: 600;
}

.zen-pdf-frame-shell {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 26px;
    box-shadow:
        0 24px 42px rgba(15, 23, 42, 0.12),
        inset 0 0 0 1px rgba(15, 23, 42, 0.02);
    position: relative;
    z-index: 1;
}

.zen-pdf-stage {
    position: relative;
    padding: 18px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.18));
    border: 1px solid rgba(255, 255, 255, 0.62);
}

.zen-pdf-stage-glow {
    position: absolute;
    inset: 20px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(245, 166, 35, 0.22), transparent 35%),
        radial-gradient(circle at bottom right, rgba(76, 80, 105, 0.16), transparent 32%);
    filter: blur(18px);
    pointer-events: none;
}

.zen-pdf-frame {
    display: block;
    width: 100%;
    height: min(82vh, 1080px);
    min-height: 720px;
    border: 0;
    background: #fff;
}

.zen-pdf-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.zen-pdf-help {
    color: var(--zen-text-muted);
    font-size: 12px;
    line-height: 1.6;
}

.zen-reading-note {
    padding: var(--zen-space-lg);
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-lg);
    color: var(--zen-text-secondary);
    line-height: 1.7;
}

.zen-reading-action-full {
    width: 100%;
    justify-content: center;
}

.zen-chapter-title {
    font-family: var(--zen-font-heading);
    font-size: var(--zen-text-3xl);
    font-weight: 700;
    color: var(--zen-text);
    margin-bottom: var(--zen-space-lg);
    line-height: 1.2;
}

.zen-chapter-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--zen-text);
    width: 100%;
}

.zen-chapter-content p {
    margin-bottom: var(--zen-space-lg);
}

.zen-chapter-content blockquote {
    margin: var(--zen-space-xl) 0;
    padding: var(--zen-space-lg) var(--zen-space-xl);
    background: var(--zen-accent-muted);
    border-left: 4px solid var(--zen-accent);
    border-radius: var(--zen-radius-md);
    color: var(--zen-text);
    font-family: var(--zen-font-heading);
    font-size: var(--zen-text-xl);
    line-height: 1.6;
}

.zen-takeaways {
    padding: var(--zen-space-xl);
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-lg);
    box-shadow: var(--zen-shadow-sm);
    scroll-margin-top: 96px;
    width: 100%;
}

.zen-takeaways ol {
    display: flex;
    flex-direction: column;
    gap: var(--zen-space-md);
    padding-left: 22px;
}

.zen-takeaways li {
    padding-left: 4px;
}

.zen-chapter-section {
    scroll-margin-top: 96px;
}

.zen-chapter-divider {
    height: 1px;
    background: var(--zen-border);
    margin: var(--zen-space-2xl) auto;
    width: 64px;
}

.zen-ai-summary-shell {
    margin-bottom: var(--zen-space-2xl);
}

.zen-reading-mode-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--zen-space-lg);
    margin-bottom: var(--zen-space-2xl);
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--zen-border);
    border-radius: 24px;
    box-shadow: var(--zen-shadow-sm);
}

.zen-reading-mode-copy {
    min-width: 0;
}

.zen-reading-mode-kicker {
    margin-bottom: 6px;
    color: var(--zen-text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.zen-reading-mode-caption {
    color: var(--zen-text-secondary);
    font-size: 13px;
    line-height: 1.7;
}

.zen-reading-mode-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.06);
    flex-shrink: 0;
}

.zen-reading-mode-btn {
    padding: 10px 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--zen-text-secondary);
    font-family: var(--zen-font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.zen-reading-mode-btn:hover {
    color: var(--zen-text);
}

.zen-reading-mode-btn.is-active {
    background: var(--zen-surface);
    color: var(--zen-text);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.zen-ai-reading-shell {
    margin-bottom: var(--zen-space-2xl);
}

.zen-ai-reading-card {
    padding: var(--zen-space-xl);
    background:
        linear-gradient(180deg, rgba(255, 249, 235, 0.96), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(245, 166, 35, 0.18);
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(25, 32, 56, 0.06);
}

.zen-ai-reading-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--zen-space-md);
    margin-bottom: var(--zen-space-xl);
}

.zen-ai-reading-kicker {
    display: inline-flex;
    margin-bottom: 6px;
    color: var(--zen-text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.zen-ai-reading-title {
    font-family: var(--zen-font-heading);
    font-size: var(--zen-text-2xl);
    color: var(--zen-text);
}

.zen-ai-reading-close {
    flex-shrink: 0;
}

.zen-ai-reading-article {
    max-width: 860px;
    margin: 0 auto;
    color: var(--zen-text);
}

.zen-ai-reading-hero {
    margin-bottom: var(--zen-space-2xl);
    padding-bottom: var(--zen-space-xl);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.zen-ai-reading-meta {
    margin-bottom: 10px;
    color: var(--zen-text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.zen-ai-reading-article-title {
    font-family: var(--zen-font-heading);
    font-size: clamp(2.1rem, 4vw, 3.6rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.zen-ai-reading-author {
    margin-top: 12px;
    color: var(--zen-text-secondary);
    font-size: var(--zen-text-base);
}

.zen-ai-reading-lead {
    margin-top: var(--zen-space-lg);
    color: var(--zen-text-secondary);
    font-size: 1.08rem;
    line-height: 1.95;
}

.zen-ai-reading-section {
    margin-bottom: var(--zen-space-2xl);
}

.zen-ai-reading-section h4 {
    margin-bottom: 12px;
    font-family: var(--zen-font-heading);
    font-size: 1.45rem;
    color: var(--zen-text);
}

.zen-ai-reading-section p,
.zen-ai-reading-section li {
    color: var(--zen-text-secondary);
    font-size: 1.05rem;
    line-height: 1.95;
}

.zen-ai-reading-list {
    display: grid;
    gap: 12px;
    padding-left: 22px;
}

.zen-ai-summary-card {
    padding: var(--zen-space-xl);
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-lg);
    box-shadow: var(--zen-shadow-sm);
}

.zen-ai-summary-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--zen-space-md);
    margin-bottom: var(--zen-space-lg);
}

.zen-ai-summary-kicker {
    display: inline-flex;
    margin-bottom: 6px;
    color: var(--zen-text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.zen-ai-summary-title {
    font-family: var(--zen-font-heading);
    font-size: var(--zen-text-2xl);
    color: var(--zen-text);
}

.zen-ai-summary-toggle {
    flex-shrink: 0;
}

.zen-ai-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--zen-space-lg);
}

.zen-ai-summary-block {
    padding: 18px;
    background: var(--zen-bg);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-lg);
}

.zen-ai-summary-block-wide {
    grid-column: 1 / -1;
}

.zen-ai-summary-block h3 {
    margin-bottom: 10px;
    color: var(--zen-text);
    font-size: var(--zen-text-base);
}

.zen-ai-summary-block p,
.zen-ai-summary-block li {
    color: var(--zen-text-secondary);
    line-height: 1.7;
}

.zen-ai-summary-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.zen-ai-summary-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    background: var(--zen-surface);
    border: 1px solid var(--zen-border);
    border-radius: var(--zen-radius-pill);
    color: var(--zen-text);
    font-size: var(--zen-text-sm);
    font-weight: 500;
}

.zen-ai-summary-list {
    padding-left: 20px;
    display: grid;
    gap: 8px;
}

.zen-ai-summary-state {
    min-height: 88px;
}

.zen-ai-summary-loading {
    display: grid;
    gap: 10px;
}

.zen-ai-summary-error {
    padding: 14px 16px;
    color: var(--zen-error);
    background: var(--zen-error-muted);
    border: 1px solid rgba(220, 38, 38, 0.16);
    border-radius: var(--zen-radius-md);
}

.zen-chat-message.is-error .zen-chat-bubble {
    border: 1px solid rgba(220, 38, 38, 0.16);
    background: var(--zen-error-muted);
}

@media (max-width: 980px) {
    .zen-reading-container {
        padding: 0 16px 120px;
    }
    
    .zen-reading-shell {
        padding: 0;
    }

    .zen-reading-hero {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 0 24px;
    }

    .zen-reading-cover-rail {
        max-width: 320px;
        margin: 0 auto;
    }

    .zen-reading-cover-card {
        max-width: 100%;
        justify-self: stretch;
    }

    .zen-reading-hero-copy {
        padding-top: 0;
    }
    
    .zen-reading-cover-image {
        max-height: 320px;
        object-fit: contain;
    }

    .zen-ai-summary-grid {
        grid-template-columns: 1fr;
    }

    .zen-reading-mode-switch {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }

    .zen-reading-mode-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .zen-ai-reading-header {
        flex-direction: column;
    }

    .zen-reading-toc-fab {
        left: 12px;
        bottom: 80px;
    }

    .zen-reading-toc-rail {
        bottom: 130px;
    }
}

/* ══════════════════════════════════════
   AUDIO PLAYER
   ══════════════════════════════════════ */
.zen-audio-player {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: var(--zen-z-floating);
    width: min(880px, calc(100vw - 28px));
    transform: translate(-50%, 118%) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition:
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.34s ease,
        filter 0.34s ease;
    filter: blur(10px);
}

.zen-audio-player.is-visible {
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
    pointer-events: auto;
    filter: blur(0);
}

.zen-audio-player.is-minimized {
    transform: translate(-50%, calc(100% - 78px)) scale(0.985);
    opacity: 0.82;
    pointer-events: auto;
    filter: blur(2px);
}

.zen-audio-panel {
    display: grid;
    gap: 18px;
    padding: 20px 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 249, 252, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 32px;
    box-shadow:
        0 22px 60px rgba(15, 23, 42, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(22px) saturate(1.1);
}

.zen-audio-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
}

.zen-audio-copy {
    min-width: 0;
}

.zen-audio-kicker {
    margin-bottom: 6px;
    color: var(--zen-text-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.zen-audio-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.zen-audio-heading-meta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.zen-audio-btn {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.72);
    color: var(--zen-text);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.zen-audio-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(245, 166, 35, 0.24);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.12);
}

.zen-audio-btn-play,
.zen-audio-btn.play-btn {
    background: var(--zen-accent);
    border-color: var(--zen-accent);
    color: #1f2937;
    box-shadow: 0 14px 30px rgba(245, 166, 35, 0.28);
}

.zen-audio-btn svg {
    width: 21px;
    height: 21px;
}

.zen-audio-icon-btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.56);
    color: var(--zen-text-secondary);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.zen-audio-icon-btn:hover {
    color: var(--zen-text);
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(245, 166, 35, 0.22);
}

.zen-audio-icon-btn svg {
    width: 16px;
    height: 16px;
}

.zen-audio-panel-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.zen-audio-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.zen-audio-timeline {
    display: grid;
    gap: 10px;
}

.zen-audio-title {
    overflow: hidden;
    color: var(--zen-text);
    font-family: var(--zen-font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zen-audio-status {
    color: var(--zen-text-secondary);
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
}

.zen-audio-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--zen-text-secondary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.zen-audio-time-divider {
    opacity: 0.4;
}

.zen-audio-progress-shell {
    position: relative;
    display: grid;
    gap: 8px;
}

.zen-audio-progress {
    height: 6px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.08);
    border-radius: var(--zen-radius-pill);
}

.zen-audio-progress-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #f59e0b 0%, #facc15 100%);
    border-radius: inherit;
    transition: width 0.2s linear;
}

.zen-audio-seek {
    width: 100%;
    margin-top: -12px;
    background: transparent;
    accent-color: var(--zen-accent);
    cursor: pointer;
}

.zen-audio-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.zen-audio-player.is-minimized .zen-audio-timeline,
.zen-audio-player.is-minimized .zen-audio-footer {
    display: none;
}

.zen-audio-player.is-minimized .zen-audio-panel {
    gap: 0;
    padding-top: 16px;
    padding-bottom: 16px;
}

.zen-audio-mini-pill {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: calc(var(--zen-z-floating) + 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--zen-text);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(18px);
    transform: translate(-50%, 20px) scale(0.92);
    opacity: 0;
    pointer-events: none;
    transition:
        transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.28s ease,
        box-shadow 0.2s ease;
}

.zen-audio-mini-pill.is-visible {
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.zen-audio-mini-pill:hover {
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.16);
}

.zen-audio-mini-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(180deg, #f59e0b, #facc15);
    box-shadow: 0 0 0 6px rgba(245, 166, 35, 0.12);
}

.zen-audio-mini-text {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.zen-audio-field {
    display: grid;
    gap: 6px;
}

.zen-audio-field-label {
    color: var(--zen-text-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.zen-audio-select {
    width: 100%;
    min-height: 40px;
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--zen-text);
    font-family: var(--zen-font-body);
    font-size: 12px;
    font-weight: 600;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.zen-audio-select:focus {
    border-color: rgba(245, 166, 35, 0.4);
    box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.12);
}

@media (max-width: 900px) {
    .zen-library-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .zen-bookmark-hero {
        grid-template-columns: 1fr;
    }

    .zen-bookmark-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .zen-bookmark-toolbar {
        grid-template-columns: 1fr;
    }

    .zen-bookmark-sort {
        justify-content: space-between;
    }

    .zen-bookmark-reset {
        width: 100%;
    }

    .zen-bookmark-continue-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .zen-page-header {
        padding: 44px 0 32px;
        margin-bottom: 32px;
    }

    .zen-page-header h1 {
        font-size: var(--zen-text-3xl);
    }

    .zen-page-header p {
        font-size: var(--zen-text-base);
    }

    .zen-library-header {
        display: block;
    }

    .zen-section-header {
        align-items: flex-start;
        gap: var(--zen-space-md);
    }

    .zen-library-toolbar {
        grid-template-columns: 1fr;
    }

    .zen-library-sort {
        justify-content: space-between;
    }

    .zen-library-sort .zen-select {
        min-width: 180px;
    }

    .zen-library-reset {
        width: 100%;
    }

    .zen-library-stats {
        grid-template-columns: 1fr;
    }

    .zen-library-meta-line {
        justify-content: flex-start;
        padding-bottom: 0;
        margin-top: 14px;
        gap: 8px 12px;
    }

    .zen-library-page .zen-library-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .zen-library-page .zen-library-grid .zen-book-card-cover {
        height: 220px;
    }

    .zen-bookmark-stats {
        grid-template-columns: 1fr;
    }

    .zen-bookmark-spotlight-card,
    .zen-bookmark-feature-card {
        grid-template-columns: 1fr;
    }

    .zen-bookmark-spotlight-cover,
    .zen-bookmark-feature-cover {
        min-height: 240px;
    }

    .zen-book-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: var(--zen-space-xl) var(--zen-space-md);
    }

    .zen-book-card-cover {
        height: 230px;
    }

    .zen-book-card {
        padding: 12px;
    }

    .zen-library-filters {
        padding: 16px;
    }

    .zen-bookmark-filter-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .zen-state {
        margin: 56px auto var(--zen-space-4xl);
        padding: 24px;
    }

    .zen-state-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .zen-state-loading-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .zen-reading-hero {
        gap: var(--zen-space-lg);
        margin-bottom: var(--zen-space-2xl);
    }

    .zen-book-title {
        font-size: 2.7rem;
        letter-spacing: -0.02em;
    }

    .zen-reading-lead {
        font-size: var(--zen-text-base);
    }

    .zen-reading-aside-card,
    .zen-book-intro,
    .zen-takeaways {
        padding: var(--zen-space-lg);
    }

    .zen-pdf-section,
    .zen-ai-summary-card,
    .zen-ai-reading-card {
        padding: var(--zen-space-lg);
    }

    .zen-pdf-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .zen-pdf-toolbar-group,
    .zen-pdf-toolbar-actions {
        width: 100%;
    }

    .zen-pdf-frame {
        height: 70vh;
        min-height: 480px;
    }

    .zen-reading-container {
        padding: 44px 18px 112px;
    }

    .zen-book-meta {
        flex-wrap: wrap;
        gap: var(--zen-space-md);
    }

    .zen-chapter-content {
        font-size: var(--zen-text-base);
    }

    .zen-chapter-content blockquote {
        padding: var(--zen-space-md);
        font-size: var(--zen-text-lg);
    }

    .zen-takeaways {
        padding: var(--zen-space-lg);
    }

    .zen-audio-player {
        bottom: 16px;
        width: calc(100vw - 24px);
    }

    .zen-audio-player.is-minimized {
        transform: translate(-50%, calc(100% - 74px)) scale(0.985);
    }

    .zen-audio-panel {
        padding: 18px;
        border-radius: 28px;
    }

    .zen-audio-mini-pill {
        bottom: 16px;
    }

    .zen-audio-main {
        grid-template-columns: 1fr;
    }

    .zen-audio-heading-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .zen-audio-heading-meta {
        width: 100%;
        justify-content: space-between;
    }

    .zen-audio-actions {
        justify-content: space-between;
    }

    .zen-audio-footer {
        grid-template-columns: 1fr;
    }

    .zen-chat-fab {
        right: 16px;
        bottom: 16px;
        padding: 12px;
    }

    .zen-chat-fab span {
        display: none;
    }

    .zen-chat-panel {
        right: 12px;
        left: 12px;
        bottom: 72px;
        width: auto;
        height: min(76vh, calc(100vh - 92px));
        border-radius: 22px;
    }

    .zen-chat-header {
        padding: 14px;
    }

    .zen-chat-surface {
        padding: 12px 12px 0;
    }

    .zen-chat-suggested {
        gap: 6px;
    }

    .zen-chat-chip {
        padding: 7px 10px;
        font-size: 12px;
    }

    .zen-chat-avatar,
    .zen-chat-brand-mark {
        width: 34px;
        height: 34px;
    }

    .zen-chat-message.user .zen-chat-bubble {
        max-width: 82%;
    }

    .zen-chat-input-area {
        padding: 10px 12px 12px;
    }

    .zen-page-header-with-action {
        align-items: flex-start;
        flex-direction: column;
    }

    .zen-profile-layout {
        grid-template-columns: 1fr;
    }

    .zen-profile-sidebar {
        position: static;
    }

    .zen-profile-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .zen-profile-actions {
        flex-direction: column;
    }
}


@media (max-width: 480px) {
    .zen-section-header {
        display: block;
    }

    .zen-section-link {
        margin-top: var(--zen-space-sm);
    }

    .zen-book-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .zen-library-page .zen-library-grid {
        grid-template-columns: 1fr;
    }

    .zen-book-card-cover {
        height: 200px;
    }

    .zen-library-page .zen-library-grid .zen-book-card-cover {
        height: 210px;
    }

    .zen-book-card {
        padding: 10px;
    }

    .zen-book-title {
        font-size: var(--zen-text-3xl);
    }

    .zen-book-author {
        font-size: var(--zen-text-lg);
    }

    .zen-state-loading-grid {
        grid-template-columns: 1fr;
    }

    .zen-book-meta {
        justify-content: flex-start;
        gap: var(--zen-space-md);
        padding-top: var(--zen-space-md);
        margin-top: var(--zen-space-md);
    }

    .zen-book-meta-item {
        width: 100%;
    }

    .zen-reading-pill-row {
        margin-top: var(--zen-space-md);
    }

    .zen-reading-action {
        width: 100%;
        justify-content: center;
    }

    .zen-reading-mode-toggle {
        flex-direction: column;
        border-radius: 22px;
    }

    .zen-reading-mode-btn {
        width: 100%;
    }

    .zen-ai-reading-article-title {
        font-size: 2.4rem;
    }

    .zen-pdf-copy,
    .zen-pdf-section {
        padding: 18px;
    }

    .zen-pdf-stage {
        padding: 12px;
    }

    .zen-reading-action-full {
        width: 100%;
    }

    .zen-audio-btn {
        width: 36px;
        height: 36px;
    }

    .zen-reading-toc-panel-title {
        font-size: var(--zen-text-lg);
    }

    .zen-profile-card,
    .zen-profile-card-hero {
        padding: var(--zen-space-lg);
    }

    .zen-profile-summary {
        align-items: flex-start;
    }

    .zen-profile-avatar {
        width: 72px;
        height: 72px;
        font-size: 24px;
    }

    .zen-profile-name {
        font-size: var(--zen-text-2xl);
    }

    .zen-profile-card-title {
        font-size: var(--zen-text-base);
    }

    .zen-profile-shortcut {
        padding: 12px 14px;
    }

    .zen-profile-shortcut-desc {
        font-size: 12px;
    }
}
