/* 夜间模式：使用中性灰的层次，保留状态提示颜色。 */
.studio.studio[data-theme="graphite"]{--pv-bg:#17191b;--pv-panel:#222527;--pv-side:#1e2123;--pv-ink:#f0f1f2;--pv-muted:#adb2b6;--pv-line:#3b3f42;--pv-border:#414649;--pv-accent:#c6cacf;--pv-accent-strong:#e1e4e6;--pv-soft:#34383b;--pv-soft-ink:#e3e5e7;--pv-accent-soft:#34383b;--pv-hero-start:#42484b;--pv-hero-end:#676e71;--pv-hero-text:#f0f2f2;--pv-bubble:#383d3f;--pv-focus:#b4bdc1}
.studio[data-theme="graphite"] .tw-class-hero{background:#4d5356}
.studio[data-theme="graphite"] .pv-history-toggle{background:#363b3d;color:#edf0ef;border-color:#697274}
/* 教学功能卡片在窄窗口下允许内容收缩和换行。 */
.tw-entry{min-width:0}
.tw-entry-copy{flex:1 1 0;min-width:0}
.tw-entry-copy strong,.tw-entry-copy small{max-width:100%;white-space:normal!important;overflow-wrap:anywhere;word-break:normal}
.tw-entry-arrow{flex:0 0 auto}
/* 夜间模式的浅色功能图标保持统一。 */
.studio[data-theme="graphite"] .tw-entry.tw-mint .tw-entry-icon{background:#e7eeeb;color:#587467}
/* macOS-inspired dark surfaces with a restrained course-green accent. */
.studio.studio[data-theme="graphite"]{--pv-bg:#252628;--pv-panel:#303234;--pv-side:#2b2d2f;--pv-ink:#f3f4f3;--pv-muted:#c1c6c3;--pv-line:#4a4e4c;--pv-border:#4a4e4c;--pv-accent:#a9dfc3;--pv-accent-strong:#c5efda;--pv-soft:#3c4842;--pv-soft-ink:#d8f2e4;--pv-accent-soft:#3c4842;--pv-hero-start:#315b49;--pv-hero-end:#4c7863;--pv-hero-text:#edf8f1;--pv-bubble:#3a4942;--pv-focus:#9dd4b7}
.studio[data-theme="graphite"] .tw-class-hero{background:linear-gradient(115deg,#315b49,#4c7863)}
.studio[data-theme="graphite"] .tw-entry.tw-mint .tw-entry-icon{background:#e9f3ee;color:#246753}
.studio[data-theme="graphite"] .tw-primary,.studio[data-theme="graphite"] .tw-major-create{background:#32684f;border-color:#32684f;color:#fff!important}
.studio[data-theme="graphite"] .pv-history-toggle{background:#3b4841;color:#e8f8ed;border-color:#698878}
