﻿/* Archive article overrides. The standalone attachment keeps its inline style. */
body{font-family:var(--font-sans)!important}
body main{max-width:880px!important}
body main header{background:linear-gradient(135deg,#2563eb,#06b6d4)!important;border-radius:var(--radius-lg)!important;box-shadow:var(--shadow)!important}
body main section,body main footer{border:1px solid var(--border)!important;border-radius:var(--radius-md)!important;box-shadow:var(--shadow)!important}
/* Higher specificity than the standalone attachment's later :root variables. */
html[data-theme="dark"]{--surface:#111827;--primary:#f8fafc;--secondary:#94a3b8;--accent:#60a5fa;--text:#f8fafc;--muted:#94a3b8;--panel-soft:#1e293b;--line:rgba(148,163,184,.22)}
html[data-theme="dark"] body{background:var(--background)!important;color:var(--primary)!important}
html[data-theme="dark"] body main section,html[data-theme="dark"] body main footer{background:var(--surface)!important;color:var(--primary)!important;border-color:var(--border)!important}
html[data-theme="dark"] body main section h2{color:var(--primary)!important}
html[data-theme="dark"] body a{color:var(--accent)!important}
html[data-theme="dark"] #mentor-article-navigation{--text:#f8fafc;--muted:#94a3b8;--panel-soft:#1e293b;--line:rgba(148,163,184,.22);--accent:#60a5fa;background:var(--surface);color:var(--primary);border-color:var(--border)}
html[data-theme="dark"] #mentor-article-navigation .mentor-nav-card{background:var(--panel-soft)!important;color:var(--primary)!important;border-color:var(--border)!important}
@media print{html[data-theme="dark"] body{background:#fff!important;color:#111827!important}html[data-theme="dark"] body main section,html[data-theme="dark"] body main footer{background:#fff!important;color:#111827!important}html[data-theme="dark"] #mentor-article-navigation,html[data-theme="dark"] #mentor-article-navigation .mentor-nav-card{background:#fff!important;color:#111827!important}html[data-theme="dark"] #mentor-article-navigation .mentor-nav-card b{color:#1d4ed8!important}}
