/* Stoic AF - Unified Book Reader Styles */
/* Supports toggle between Print (balanced) and Ebook modes */

:root {
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --color-text: #1a1a1a;
    --color-text-light: #555555;
    --color-background: #fafafa;
    --color-page: #ffffff;
    --color-accent: #2c5282;
    --color-border: #d0d0d0;

    /* Box colors for print mode */
    --color-box-light: #f5f5f5;
    --color-box-warm: #faf8f5;
    --color-on-god: #f0f0f8;
    --color-on-me: #f0f8f5;

    --font-size-body: 11pt;
    --font-size-h1: 26pt;
    --font-size-h2: 16pt;
    --font-size-h3: 13pt;

    --line-height: 1.5;
    --paragraph-spacing: 1em;
    --page-width: 5.75in;
}

/* =====================================================
   GLOBAL STYLES
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    line-height: var(--line-height);
    color: var(--color-text);
    background: var(--color-background);
}

/* =====================================================
   AUTH MODAL
   ===================================================== */

#auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.auth-container {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.auth-container h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.auth-container p { color: var(--color-text-light); margin-bottom: 1.5rem; font-size: 0.95rem; }
.auth-container input {
    width: 100%; padding: 0.75rem; font-size: 1rem;
    border: 2px solid var(--color-border); border-radius: 4px;
    margin-bottom: 1rem; font-family: var(--font-body);
}
.auth-container input:focus { outline: none; border-color: var(--color-accent); }
.auth-container button {
    width: 100%; padding: 0.75rem; font-size: 1rem; font-weight: 600;
    background: var(--color-accent); color: white; border: none;
    border-radius: 4px; cursor: pointer; font-family: var(--font-body);
}
.auth-container button:hover { background: #2c4a6e; }
#error-msg { display: none; color: #c53030; font-size: 0.9rem; margin-top: 0.5rem; }

/* =====================================================
   LAYOUT
   ===================================================== */

#content-wrapper { display: none; }
.container { display: flex; min-height: 100vh; }

/* Sidebar */
.sidebar {
    width: 280px;
    background: var(--color-page);
    border-right: 1px solid var(--color-border);
    padding: 2rem 1.5rem;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header { margin-bottom: 1.5rem; }
.sidebar-header h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.25rem; }
.sidebar-header p { font-size: 0.9rem; color: var(--color-text-light); }

/* Theme Toggle */
.theme-toggle {
    display: flex;
    background: #e5e5e5;
    border-radius: 6px;
    padding: 4px;
    margin-bottom: 1.5rem;
}

.theme-toggle button {
    flex: 1;
    padding: 8px 12px;
    border: none;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
    font-family: var(--font-body);
}

.theme-toggle button.active {
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.theme-toggle button:hover:not(.active) {
    background: rgba(255,255,255,0.5);
}

/* Navigation */
.nav-section { margin-bottom: 1.25rem; }
.nav-section h3 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    margin-bottom: 0.4rem;
    font-weight: 600;
}
.nav-section ul { list-style: none; }
.nav-section li { margin-bottom: 0.15rem; }
.nav-section a {
    display: block;
    padding: 0.4rem 0.6rem;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: background 0.15s;
}
.nav-section a:hover { background: #f0f0f0; }
.nav-section a.active { background: var(--color-accent); color: white; font-weight: 500; }

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 3rem 2rem;
}

.book-page {
    max-width: var(--page-width);
    margin: 0 auto;
    background: var(--color-page);
    padding: 2.5rem 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* =====================================================
   TYPOGRAPHY (Both Modes)
   ===================================================== */

.chapter-number {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
    display: block;
    text-align: center;
}

h1.chapter-title {
    font-size: var(--font-size-h1);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0.25em;
    text-align: center;
}

.chapter-subtitle {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: 2.5em;
}

h2 {
    font-size: var(--font-size-h2);
    font-weight: 600;
    line-height: 1.3;
    margin-top: 2.5em;
    margin-bottom: 0.75em;
}

h3 {
    font-size: var(--font-size-h3);
    font-weight: 600;
    line-height: 1.35;
    margin-top: 1.75em;
    margin-bottom: 0.6em;
}

p { margin-bottom: var(--paragraph-spacing); text-align: left; }
strong { font-weight: 600; }
em { font-style: italic; }

.small-caps {
    font-variant: small-caps;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* =====================================================
   BLOCKQUOTES (Both Modes - Simple)
   ===================================================== */

blockquote {
    font-style: italic;
    margin: 1.5em 0;
    margin-left: 1.5em;
    padding: 0 0 0 1em;
    border-left: 2px solid #999;
    background: none;
}

blockquote p { margin-bottom: 0.5em; }
blockquote p:last-child { margin-bottom: 0; }

blockquote cite, blockquote footer {
    display: block;
    font-style: normal;
    font-size: 0.9em;
    color: var(--color-text-light);
    margin-top: 0.5em;
}

/* =====================================================
   LISTS
   ===================================================== */

ul, ol { margin-bottom: var(--paragraph-spacing); padding-left: 1.5em; }
li { margin-bottom: 0.4em; }
li:last-child { margin-bottom: 0; }

/* =====================================================
   SECTION BREAKS
   ===================================================== */

.section-break {
    text-align: center;
    margin: 2.5em 0;
    color: var(--color-text-light);
    font-size: 1rem;
    letter-spacing: 0.4em;
}

hr {
    border: none;
    text-align: center;
    margin: 2.5em 0;
}
hr::before {
    content: "• • •";
    color: var(--color-text-light);
    letter-spacing: 0.5em;
}

/* =====================================================
   EMPHASIS
   ===================================================== */

.centered { text-align: center; margin: 1.25em 0; }
.impact { text-align: center; font-weight: 600; margin: 1.5em 0; font-size: 1.05em; }

/* =====================================================
   CHAPTER ENDING
   ===================================================== */

.chapter-ending {
    margin-top: 3em;
    padding-top: 2em;
    border-top: 3px solid #333;
}

.chapter-ending h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1em;
}

.chapter-ending blockquote {
    margin-left: 0;
    border: none;
    text-align: center;
    padding: 1em 0;
}

.chapter-ending blockquote footer { text-align: center; }

/* =====================================================
   PRINT MODE SPECIFIC STYLES
   ===================================================== */

body[data-theme="print"] .featured-quote {
    text-align: center;
    margin: 2em 0;
    padding: 1.5em 1.25em;
    background: #2a2a2a;
    color: white;
    border-radius: 4px;
}

body[data-theme="print"] .featured-quote blockquote {
    border: none;
    padding: 0;
    margin: 0;
    background: transparent;
    font-size: 1.1rem;
}

body[data-theme="print"] .featured-quote blockquote p { color: white; margin-bottom: 0.5em; }
body[data-theme="print"] .featured-quote blockquote footer { color: #aaa; text-align: center; }

/* Key Insight - Print */
body[data-theme="print"] .key-insight {
    background: var(--color-box-warm);
    border: 1px solid #e0d8d0;
    border-top: 4px solid #b8860b;
    padding: 1.25em 1.5em;
    margin: 1.75em 0;
}
body[data-theme="print"] .key-insight p:last-child { margin-bottom: 0; }

/* Framework Box - Print */
body[data-theme="print"] .framework-box {
    background: var(--color-box-light);
    border: 2px solid #333;
    padding: 1.5em;
    margin: 2em 0;
}
body[data-theme="print"] .framework-box .box-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75em;
    display: block;
}
body[data-theme="print"] .framework-box p:last-child { margin-bottom: 0; }

/* Two Column - Print */
body[data-theme="print"] .two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    margin: 1.75em 0;
}

body[data-theme="print"] .column {
    padding: 1em 1.25em;
    border-radius: 4px;
}

body[data-theme="print"] .column.on-god {
    background: var(--color-on-god);
    border-top: 3px solid #6366f1;
}

body[data-theme="print"] .column.on-me {
    background: var(--color-on-me);
    border-top: 3px solid #059669;
}

body[data-theme="print"] .column-header {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75em;
}

body[data-theme="print"] .column.on-god .column-header { color: #4f46e5; }
body[data-theme="print"] .column.on-me .column-header { color: #047857; }
body[data-theme="print"] .column ul { margin: 0; padding-left: 1.25em; }

/* Narrative - Print */
body[data-theme="print"] .narrative {
    margin: 2em 0;
    padding: 1.25em 1.5em;
    background: var(--color-box-light);
    border-top: 2px solid #888;
    border-bottom: 2px solid #888;
}
body[data-theme="print"] .narrative p:last-child { margin-bottom: 0; }

/* Action Section - Print */
body[data-theme="print"] .action-section {
    margin: 2em 0;
    padding: 1.5em;
    background: #f0fff4;
    border: 1px solid #9ae6b4;
    border-top: 4px solid #059669;
}
body[data-theme="print"] .action-section .action-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #047857;
    margin-bottom: 0.75em;
    display: block;
}
body[data-theme="print"] .action-section p:last-child { margin-bottom: 0; }

/* Scenario - Print */
body[data-theme="print"] .scenario {
    margin: 1.75em 0;
    padding: 1.25em 1.5em;
    background: var(--color-box-light);
    border: 1px solid #ccc;
    border-top: 4px solid var(--color-accent);
}
body[data-theme="print"] .scenario h4 {
    font-size: 1rem;
    margin-bottom: 0.75em;
    color: var(--color-accent);
}

/* STOP Framework - Print */
body[data-theme="print"] .stop-framework p { margin-bottom: 0.75em; padding-left: 0.5em; }
body[data-theme="print"] .stop-letter { font-weight: 700; font-size: 1.1em; color: #b91c1c; }

/* Progression - Print */
body[data-theme="print"] .progression {
    margin: 1.75em 0;
    padding: 1.25em 1.5em;
    background: var(--color-box-light);
    border-radius: 4px;
}
body[data-theme="print"] .progression p { margin-bottom: 0.6em; }
body[data-theme="print"] .progression p:last-child { margin-bottom: 0; }

/* =====================================================
   EBOOK MODE SPECIFIC STYLES
   ===================================================== */

/* In ebook mode, hide all print-specific styling */
body[data-theme="ebook"] .featured-quote {
    margin: 1.5em 0;
}

body[data-theme="ebook"] .featured-quote blockquote {
    font-size: 1.1rem;
    text-align: center;
    margin-left: 0;
    border: none;
    padding: 0;
}

body[data-theme="ebook"] .key-insight,
body[data-theme="ebook"] .framework-box,
body[data-theme="ebook"] .narrative,
body[data-theme="ebook"] .action-section,
body[data-theme="ebook"] .scenario,
body[data-theme="ebook"] .progression {
    background: none;
    border: none;
    padding: 0;
    margin: 1.5em 0;
}

body[data-theme="ebook"] .framework-box .box-label,
body[data-theme="ebook"] .action-section .action-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5em;
    display: block;
}

/* Two Column becomes stacked in ebook */
body[data-theme="ebook"] .two-column {
    display: block;
    margin: 1.5em 0;
}

body[data-theme="ebook"] .column {
    padding: 0;
    margin-bottom: 1.5em;
}

body[data-theme="ebook"] .column-header {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5em;
}

body[data-theme="ebook"] .column ul {
    margin: 0 0 0 1.5em;
    padding: 0;
}

body[data-theme="ebook"] .stop-letter {
    font-weight: 700;
}

/* =====================================================
   TITLE PAGE STYLES
   ===================================================== */

.title-page {
    text-align: center;
    padding: 3rem 0;
}

.title-page .book-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.title-page .book-subtitle {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.title-page .author-name {
    font-size: 1rem;
    color: var(--color-text-light);
}

/* Dedication */
.dedication {
    text-align: center;
    padding: 4rem 2rem;
    font-style: italic;
}

.dedication p {
    margin-bottom: 0.75em;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1024px) {
    .sidebar { width: 240px; }
    .main-content { margin-left: 240px; }
}

@media (max-width: 768px) {
    .sidebar {
        position: static;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }
    .main-content { margin-left: 0; padding: 2rem 1rem; }
    .book-page { padding: 1.5rem 1rem; }
    body[data-theme="print"] .two-column { grid-template-columns: 1fr; }
}

/* =====================================================
   PRINT MEDIA
   ===================================================== */

@media print {
    body { background: white; }
    .sidebar { display: none; }
    .main-content { margin-left: 0; }
    .book-page { box-shadow: none; padding: 0; }
}

/* =====================================================
   WORKBOOK STYLES (Part III) - Textbook Style
   ===================================================== */

/* Day Header - Banner Style */
.day-header {
    text-align: center;
    margin-bottom: 2.5em;
    padding-bottom: 1.5em;
    border-bottom: 3px solid #333;
}

body[data-theme="print"] .day-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 100%);
    color: white;
    padding: 2em 1.5em;
    margin: -2.5rem -2rem 2.5em;
    border-bottom: none;
}

body[data-theme="print"] .day-number {
    color: #f6e05e;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3em;
}

body[data-theme="print"] .day-theme {
    color: #90cdf4;
    background: rgba(255,255,255,0.1);
    display: inline-block;
    padding: 0.25em 1em;
    border-radius: 20px;
    margin-top: 0.5em;
}

body[data-theme="print"] .day-title {
    color: white;
    font-size: 2rem;
    margin-top: 0.5em;
}

.day-number {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
    display: block;
}

.day-title {
    font-size: var(--font-size-h1);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0.15em;
}

.day-theme {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 0.5em;
    display: block;
}

/* Stoic Slap - Print Mode (Big Impact) */
body[data-theme="print"] .stoic-slap {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3436 100%);
    color: white;
    padding: 2em 2em;
    margin: 2em -0.5em 2.5em;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

body[data-theme="print"] .stoic-slap::before {
    content: "";
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255,255,255,0.1);
    border-radius: 50%;
}

body[data-theme="print"] .stoic-slap .slap-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: #f6e05e;
    margin-bottom: 1.25em;
    display: inline-block;
    background: rgba(246, 224, 94, 0.15);
    padding: 0.4em 1em;
    border-radius: 4px;
}

body[data-theme="print"] .stoic-slap blockquote {
    border: none;
    margin: 0 0 1em;
    padding: 0;
    font-size: 1.25rem;
    font-style: italic;
    color: white;
    line-height: 1.5;
}

body[data-theme="print"] .stoic-slap blockquote p { color: white; margin-bottom: 0.5em; }
body[data-theme="print"] .stoic-slap blockquote footer {
    color: #a0aec0;
    font-size: 0.9em;
    font-style: normal;
    margin-top: 0.75em;
}

body[data-theme="print"] .stoic-slap .slap-translation {
    font-weight: 700;
    font-size: 1.15em;
    color: #f6e05e;
    margin-top: 1.25em;
    padding-top: 1em;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Stoic Slap - Ebook Mode */
body[data-theme="ebook"] .stoic-slap {
    margin: 1.5em 0 2em;
    text-align: center;
}

body[data-theme="ebook"] .stoic-slap .slap-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75em;
    display: block;
}

body[data-theme="ebook"] .stoic-slap blockquote {
    font-size: 1.1rem;
    text-align: center;
    margin-left: 0;
    border: none;
    padding: 0;
}

body[data-theme="ebook"] .stoic-slap .slap-translation {
    font-weight: 700;
    text-align: center;
    margin-top: 1em;
}

/* Work Section - Print Mode (Textbook Exercise Style) */
body[data-theme="print"] .work-section {
    background: white;
    border: 2px solid var(--color-accent);
    border-radius: 8px;
    padding: 0;
    margin: 2.5em 0;
    overflow: hidden;
}

body[data-theme="print"] .work-section .work-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: white;
    background: var(--color-accent);
    padding: 0.75em 1.25em;
    margin: 0;
    display: block;
}

body[data-theme="print"] .work-section-content {
    padding: 1.5em;
}

body[data-theme="print"] .work-section h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 1.5em 0 0.6em;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    gap: 0.5em;
}

body[data-theme="print"] .work-section h4::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 28px;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

body[data-theme="print"] .work-section h4:nth-of-type(1)::before { content: "1"; }
body[data-theme="print"] .work-section h4:nth-of-type(2)::before { content: "2"; }
body[data-theme="print"] .work-section h4:nth-of-type(3)::before { content: "3"; }

body[data-theme="print"] .work-section h4:first-of-type { margin-top: 0; }

/* Work Section - Ebook Mode */
body[data-theme="ebook"] .work-section {
    margin: 2em 0;
}

body[data-theme="ebook"] .work-section .work-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75em;
    display: block;
}

body[data-theme="ebook"] .work-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 1.5em 0 0.5em;
}

/* Proof of Work - Print Mode (Checklist Card) */
body[data-theme="print"] .proof-of-work {
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    border: 2px solid #38a169;
    border-radius: 8px;
    padding: 1.5em 1.75em;
    margin: 2.5em 0;
    position: relative;
}

body[data-theme="print"] .proof-of-work::before {
    content: "";
    position: absolute;
    top: -12px;
    right: 20px;
    background: transparent;
    border: 3px solid #38a169;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(56, 161, 105, 0.2);
}

body[data-theme="print"] .proof-of-work::after {
    content: "";
    position: absolute;
    top: -4px;
    right: 30px;
    width: 8px;
    height: 14px;
    border: solid #38a169;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

body[data-theme="print"] .proof-of-work .pow-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #276749;
    margin-bottom: 1em;
    display: block;
}

body[data-theme="print"] .proof-of-work ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

body[data-theme="print"] .proof-of-work li {
    padding: 0.6em 0 0.6em 2.25em;
    position: relative;
    margin-bottom: 0.25em;
    background: rgba(255,255,255,0.6);
    border-radius: 4px;
    font-weight: 500;
}

body[data-theme="print"] .proof-of-work li::before {
    content: "";
    position: absolute;
    left: 0.75em;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #38a169;
    border-radius: 3px;
    background: white;
}

/* Proof of Work - Ebook Mode */
body[data-theme="ebook"] .proof-of-work {
    margin: 2em 0;
}

body[data-theme="ebook"] .proof-of-work .pow-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5em;
    display: block;
}

body[data-theme="ebook"] .proof-of-work ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

body[data-theme="ebook"] .proof-of-work li {
    padding-left: 1.5em;
    position: relative;
    margin-bottom: 0.4em;
}

body[data-theme="ebook"] .proof-of-work li::before {
    content: "☐";
    position: absolute;
    left: 0;
}

/* Day Navigation */
.day-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5em;
    padding-top: 1.5em;
    border-top: 1px solid var(--color-border);
    font-size: 0.9rem;
}

body[data-theme="print"] .day-nav {
    background: var(--color-box-light);
    margin: 2.5em -2rem -2.5rem;
    padding: 1.25em 2rem;
    border-top: 2px solid #e2e8f0;
}

body[data-theme="print"] .day-nav a {
    background: var(--color-accent);
    color: white;
    padding: 0.5em 1em;
    border-radius: 4px;
    font-weight: 500;
}

body[data-theme="print"] .day-nav a:hover {
    background: #1a365d;
    text-decoration: none;
}

.day-nav a {
    color: var(--color-accent);
    text-decoration: none;
}

.day-nav a:hover {
    text-decoration: underline;
}

/* Week Intro Box - Print Mode */
body[data-theme="print"] .week-intro {
    background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
    border: 2px solid #3182ce;
    border-radius: 8px;
    padding: 1.5em;
    margin: 1.5em 0 2em;
}

body[data-theme="print"] .week-intro h3 {
    margin-top: 0;
    font-size: 1.1rem;
    color: #2c5282;
}

body[data-theme="print"] .week-intro ul {
    margin-bottom: 0;
}

body[data-theme="print"] .week-intro li {
    margin-bottom: 0.5em;
}

/* Week Intro Box - Ebook Mode */
body[data-theme="ebook"] .week-intro {
    margin: 1.5em 0 2em;
}

body[data-theme="ebook"] .week-intro h3 {
    margin-top: 0;
}

/* Here's The Thing callout - Print Mode (Attention Grabber) */
body[data-theme="print"] .heres-the-thing {
    background: linear-gradient(135deg, #fffaf0 0%, #feebc8 100%);
    border-left: 5px solid #dd6b20;
    border-radius: 0 8px 8px 0;
    padding: 1.5em 1.75em;
    margin: 2em 0;
    position: relative;
}

body[data-theme="print"] .heres-the-thing::before {
    content: "";
    position: absolute;
    top: -8px;
    left: -8px;
    width: 28px;
    height: 28px;
    background: white;
    border: 2px solid #dd6b20;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

body[data-theme="print"] .heres-the-thing::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 4px;
    width: 10px;
    height: 10px;
    border: 2px solid #dd6b20;
    border-radius: 50% 50% 50% 50%;
    border-bottom: none;
}

body[data-theme="print"] .heres-the-thing .htt-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #c05621;
    margin-bottom: 0.75em;
    margin-left: 1.5em;
    display: block;
}

body[data-theme="print"] .heres-the-thing p {
    color: #744210;
}

body[data-theme="print"] .heres-the-thing p:last-child { margin-bottom: 0; }

/* Here's The Thing callout - Ebook Mode */
body[data-theme="ebook"] .heres-the-thing {
    margin: 1.5em 0;
}

body[data-theme="ebook"] .heres-the-thing .htt-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5em;
    display: block;
}
