/* nVision Academy — Shared Stylesheet (Light Theme v3) */
/* Canonical light theme. Per-course identity = the 5 ACCENT vars below ONLY. */

:root {
    /* ===== Per-course accent (the ONLY thing that changes between courses) ===== */
    /* Cloudflare brand orange */
    --accent: #f6821f;
    --accent-glow: rgba(246, 130, 31, 0.10);
    --accent-secondary: #fbad41;
    --accent-secondary-glow: rgba(251, 173, 65, 0.10);
    --gradient-tiktok: linear-gradient(135deg, #f6821f, #fbad41);

    /* ===== Shared light surface system (identical for every course) ===== */
    --bg-primary: #f8f9fb;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --border: #e6e8ef;
    --border-strong: #d6dae3;
    --text-primary: #1a1a2e;
    --text-secondary: #5b6577;
    --text-muted: #94a3b8;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 18px rgba(16, 24, 40, .05);
    --shadow-hover: 0 12px 34px rgba(16, 24, 40, .10), 0 3px 10px rgba(16, 24, 40, .05);
}

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

body {
    font-family: 'Heebo', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.8;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Navigation ===== */
.nav-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 14px 24px;
}

.nav-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -.3px;
}

.nav-logo span {
    background: var(--gradient-tiktok);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-back {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.nav-back:hover {
    color: var(--text-primary);
    border-color: var(--accent);
    background: var(--bg-card-hover);
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--bg-card-hover);
}

/* ===== Chapter Header ===== */
.chapter-header {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px 40px;
    border-bottom: 1px solid var(--border);
}

.chapter-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.chapter-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-tiktok);
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.chapter-phase {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.phase-foundation { background: #eef2ff; color: #4f46e5; }
.phase-growth { background: #ecfdf5; color: #059669; }
.phase-mastery { background: #fef2f2; color: #e11d48; }

.chapter-header h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -.4px;
}

.chapter-header .subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Table of Contents ===== */
.toc {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 24px;
}

.toc-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.toc-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 8px;
}

.toc-list a {
    display: block;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.toc-list a:hover {
    color: var(--text-primary);
    background: var(--bg-card);
    border-color: var(--border);
    box-shadow: var(--shadow);
}

/* ===== Content ===== */
.content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 24px 100px;
}

.content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 56px 0 20px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    scroll-margin-top: 80px;
    letter-spacing: -.3px;
}

.content h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 36px 0 14px;
    color: var(--accent);
}

.content h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 28px 0 12px;
}

.content p {
    margin-bottom: 18px;
    font-size: 16.5px;
    line-height: 1.9;
    color: var(--text-primary);
}

.content ul, .content ol {
    margin: 0 24px 20px 0;
    padding: 0;
}

.content li {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.content li strong {
    color: var(--text-primary);
}

.content strong {
    font-weight: 600;
    color: var(--text-primary);
}

.content em {
    color: var(--accent);
    font-style: normal;
    font-weight: 600;
}

/* ===== Callout Boxes ===== */
.tip, .example, .warning, .stat-box {
    padding: 20px 24px;
    border-radius: var(--radius);
    margin: 24px 0;
    font-size: 15px;
}

.tip {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-right: 4px solid var(--accent);
}

.example {
    background: #f5f3ff;
    border: 1px solid #ede9fe;
    border-right: 4px solid #8b5cf6;
}

.warning {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-right: 4px solid #f59e0b;
}

.stat-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-box .big-number {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-tiktok);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.callout-title {
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

/* ===== Tables ===== */
.content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.content th {
    background: #f1f5f9;
    padding: 12px 16px;
    text-align: right;
    font-weight: 700;
    border-bottom: 2px solid var(--border);
}

.content td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.content tr:hover td {
    background: var(--bg-card-hover);
}

/* ===== Stats Grid ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

/* ===== Step Boxes ===== */
.step-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    margin: 20px 0;
}

.step-box .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--gradient-tiktok);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-left: 12px;
}

.step-box h4 {
    display: inline;
    margin: 0;
}

.step-box p {
    margin-top: 12px;
}

/* ===== Checklist ===== */
.checklist {
    list-style: none;
    margin: 16px 0;
    padding: 0;
}

.checklist li {
    padding: 8px 0;
    padding-right: 28px;
    position: relative;
}

.checklist li::before {
    content: "[ ]";
    position: absolute;
    right: 0;
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
}

/* ===== Chapter Navigation (prev/next) ===== */
.chapter-nav {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--border);
}

.chapter-nav a {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: all 0.2s;
    flex: 1;
    max-width: 45%;
}

.chapter-nav a:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.chapter-nav .label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.chapter-nav .title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== Footer ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 32px 24px;
    text-align: center;
}

.footer p {
    color: var(--text-muted);
    font-size: 14px;
}

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

/* ===== Hero (Landing Page) ===== */
.hero {
    position: relative;
    padding: 92px 24px 64px;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, var(--accent-glow), transparent 45%),
                radial-gradient(circle at 70% 50%, var(--accent-secondary-glow), transparent 45%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 100px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    font-size: clamp(34px, 6vw, 60px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 22px;
    letter-spacing: -.5px;
    color: var(--text-primary);
}

.hero h1 .accent,
.hero h1 em {
    background: var(--gradient-tiktok);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: normal;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
}

.hero-stat .label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===== Sections (Landing Page) ===== */
.chapters-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 48px 24px 96px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -.3px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

.phase-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.phase-label.phase-foundation { background: #eef2ff; color: #4f46e5; border: 1px solid #c7d2fe; }
.phase-label.phase-growth { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.phase-label.phase-mastery { background: #fef2f2; color: #e11d48; border: 1px solid #fecdd3; }

/* ===== Chapter Cards Grid (legacy — kept for back-compat) ===== */
.chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
    margin-bottom: 56px;
}

.chapter-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    overflow: hidden;
}

.chapter-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-tiktok);
    opacity: 0;
    transition: opacity 0.3s;
}

.chapter-card:hover {
    background: var(--bg-card);
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.chapter-card:hover::before {
    opacity: 1;
}

.chapter-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gradient-tiktok);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.chapter-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.chapter-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.chapter-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.chapter-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== Section Tabs + Chapter List (current curriculum nav) ===== */
.curriculum {
    max-width: 920px;
    margin: 0 auto;
    padding: 8px 24px 96px;
}

.chapter-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 28px;
    position: sticky;
    top: 64px;
    z-index: 40;
}

.chapter-tab {
    appearance: none;
    border: none;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.chapter-tab:hover { color: var(--text-primary); background: var(--bg-card-hover); }
.chapter-tab.active { background: var(--accent); color: #fff; }
.chapter-tab .tab-count {
    font-size: 11px;
    font-weight: 700;
    opacity: .65;
}
.chapter-tab.active .tab-count { opacity: .9; }

.chapter-panel { display: none; }
.chapter-panel.active { display: block; animation: panelFade .25s ease; }
@keyframes panelFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.chapter-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chapter-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.chapter-row:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
    transform: translateX(-3px);
}

.chapter-row .num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-tiktok);
    color: #fff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
}

.chapter-row .row-body { flex: 1; min-width: 0; }
.chapter-row .row-title { font-size: 16px; font-weight: 700; color: var(--text-primary); line-height: 1.4; }
.chapter-row .row-desc {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.chapter-row .row-meta { font-size: 12px; color: var(--text-muted); margin-top: 5px; display: flex; gap: 14px; }
.chapter-row .go { flex-shrink: 0; color: var(--accent); font-size: 18px; opacity: .6; transition: opacity .2s; }
.chapter-row:hover .go { opacity: 1; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero { padding: 56px 20px 44px; }
    .hero-stats { gap: 24px; }
    .chapters-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .chapter-header { padding: 40px 20px 30px; }
    .content { padding: 20px 20px 60px; }
    .content h2 { font-size: 24px; }
    .chapter-nav { flex-direction: column; }
    .chapter-nav a { max-width: 100%; }
    .chapter-tabs { top: 58px; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
    .chapter-row { padding: 14px 16px; gap: 12px; }
}

/* ===== Practical Learning Elements (Gold Standard) — light theme ===== */

/* "Do This Now" action box */
.do-now {
    padding: 18px 22px;
    border-radius: var(--radius);
    margin: 22px 0;
    font-size: 15px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-right: 4px solid #22c55e;
}
.do-now .callout-title { color: #15803d; }
.do-now .time-badge {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
}

/* Deliverables box */
.deliverables {
    padding: 24px;
    border-radius: var(--radius);
    margin: 24px 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-right: 4px solid #6366f1;
}
.deliverables .callout-title { color: #4f46e5; font-size: 17px; }
.deliverables ul { list-style: none; margin: 12px 0 0; padding: 0; }
.deliverables li {
    padding: 6px 0;
    padding-right: 28px;
    position: relative;
    color: var(--text-secondary);
    font-size: 15px;
}
.deliverables li::before {
    content: "\2713";
    position: absolute;
    right: 0;
    color: #16a34a;
    font-weight: 700;
}

/* Section tags */
.section-tags { display: flex; gap: 8px; margin: 40px 0 0; flex-wrap: wrap; }
.tag {
    display: inline-block;
    padding: 3px 11px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
}
.tag-beginner { background: #dcfce7; color: #15803d; }
.tag-intermediate { background: #fef9c3; color: #a16207; }
.tag-advanced { background: #fee2e2; color: #b91c1c; }
.tag-free { background: #fef3e2; color: #c2620f; }
.tag-paid { background: #fee2e2; color: #b91c1c; }
.tag-time { background: #eef2ff; color: #4f46e5; }
.tag-practical { background: #e0f2fe; color: #0369a1; }
.tag-theory { background: #f1f5f9; color: #475569; }

/* Exercise box */
.exercise {
    padding: 24px;
    border-radius: var(--radius);
    margin: 24px 0;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-right: 4px solid #f59e0b;
}
.exercise .callout-title { color: #b45309; }
.exercise ol { margin: 12px 24px 0 0; padding: 0; }
.exercise li { margin-bottom: 8px; color: var(--text-secondary); }

/* Learning Objectives */
.learning-objectives {
    padding: 20px 24px;
    border-radius: var(--radius);
    margin: 16px 0;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-right: 4px solid #6366f1;
}
.learning-objectives .callout-title { color: #4f46e5; font-size: 16px; }
.learning-objectives ul { list-style: none; margin: 10px 0 0; padding: 0; }
.learning-objectives li {
    padding: 4px 0;
    padding-right: 26px;
    position: relative;
    color: var(--text-secondary);
    font-size: 15px;
}
.learning-objectives li::before { content: "\1F3AF"; position: absolute; right: 0; }

/* Prerequisites */
.prerequisites {
    padding: 20px 24px;
    border-radius: var(--radius);
    margin: 16px 0;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-right: 4px solid #94a3b8;
}
.prerequisites .callout-title { color: #64748b; font-size: 16px; }
.prerequisites ul { list-style: none; margin: 10px 0 0; padding: 0; }
.prerequisites li {
    padding: 4px 0;
    padding-right: 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: 15px;
}
.prerequisites li::before { content: "\2192"; position: absolute; right: 0; color: #94a3b8; font-weight: 700; }

/* Project Thread (uses .tip base, accent rail) */
.project-thread {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-right: 4px solid var(--accent);
}
.project-thread .callout-title { color: #c2620f; font-size: 16px; }

/* Glossary */
.glossary {
    padding: 20px 24px;
    border-radius: var(--radius);
    margin: 20px 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-right: 4px solid #8b5cf6;
}
.glossary .callout-title { color: #7c3aed; font-size: 16px; }
.glossary table { width: 100%; }

/* Decision Framework */
.framework {
    padding: 24px;
    border-radius: var(--radius);
    margin: 24px 0;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-right: 4px solid var(--accent);
}
.framework .callout-title { color: #c2620f; font-size: 17px; }
.framework table { width: 100%; }

/* Check Yourself */
.check-yourself {
    padding: 24px;
    border-radius: var(--radius);
    margin: 24px 0;
    background: #faf5ff;
    border: 1px solid #e9d5ff;
    border-right: 4px solid #a855f7;
}
.check-yourself .callout-title { color: #9333ea; font-size: 17px; }
.check-yourself ol { margin: 12px 24px 0 0; padding: 0; }
.check-yourself li { margin-bottom: 10px; color: var(--text-secondary); }

/* Chapter Summary */
.chapter-summary {
    padding: 24px;
    border-radius: var(--radius);
    margin: 24px 0;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-right: 4px solid #6366f1;
}
.chapter-summary .callout-title { color: #4f46e5; font-size: 17px; }

/* Work Routine */
.work-routine {
    padding: 24px;
    border-radius: var(--radius);
    margin: 24px 0;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-right: 4px solid #22c55e;
}
.work-routine .callout-title { color: #15803d; font-size: 17px; }
.work-routine table { width: 100%; }

/* Inline code + code blocks */
.content code {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    background: #f1f5f9;
    color: #b45309;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.88em;
    direction: ltr;
    unicode-bidi: embed;
}
.content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 18px 20px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 20px 0;
    direction: ltr;
    text-align: left;
    box-shadow: var(--shadow);
}
.content pre code {
    background: none;
    color: inherit;
    padding: 0;
    font-size: 13.5px;
    line-height: 1.7;
}
