/* Writing keeps its purple, rose and amber palette in the shared layout. */
body[data-track-section="writing"] { background: radial-gradient(ellipse at 0 10%, #f7e4f0, transparent 65%), linear-gradient(135deg, #fff4f9, #f4e9f7 65%, #fff0e7); }
body[data-track-section="writing"] .catalogue-preview .preview-header-panel { background: url("/static/img/listening-preview/header-waves.svg") center / 100% 320px no-repeat, radial-gradient(circle at 15% 20%, #ffffff12, transparent 42%), linear-gradient(140deg, #4e2b63 0%, #8a3e7f 44%, #bc596d 78%, #df9341 100%); border-color: #c28ead; }
.writing-preview .preview-header-panel .preview-intro h1::before { background-image: url("/static/img/writing-preview/pen-outline.svg"); }
.writing-preview .preview-sticky-header::before { background: #f8edf5e8; }
.writing-preview .preview-sticky-header::after { background: #c397b8; }
.writing-preview .preview-compact-progress .hero-progress-fill { background: #f5cde3; }
.writing-preview .preview-toolbar { grid-template-columns: minmax(0, 1fr); border-color: #e1cbdc; }
.writing-preview .preview-search { background: #fcf4fa; }
.writing-preview .preview-search > svg { stroke: #986588; }
.writing-preview .preview-search:focus-within { background: #fff; border-color: #b679a3; outline-color: #f4dfed; }
body[data-track-section="writing"] .catalogue-preview .test-search { color: #613a61; }
body[data-track-section="writing"] .catalogue-preview .big-link.preview-card-title { color: #59345d; }
body[data-track-section="writing"] .catalogue-preview .big-link.preview-card-title:hover { color: #8a3e7f; }
.writing-preview .preview-topic-section { color: #884276; }
.writing-preview .preview-state { background: #f4e8f2; border-color: #d7b7ce; color: #773d6d; }
.writing-preview .cat-full .preview-section-topics li > span:last-child { color: #553951; }
.writing-preview .preview-section-topics li + li { border-color: #ecdeea; }
body[data-track-section="writing"] .catalogue-preview .start-btn { background: #98477e; border-color: #81376b; box-shadow: 0 3px 0 #6d2f59, 0 5px 10px #98477e20; }
body[data-track-section="writing"] .catalogue-preview .start-btn:hover { background: #80396a; }
body[data-track-section="writing"] .catalogue-preview .section-links { border-color: #e5d3e1; }
body[data-track-section="writing"] .catalogue-preview .section-links:hover { border-color: #bd8fb0; }
.writing-preview .cat-full .preview-art-number { background: url("/static/img/listening-preview/header-waves.svg") center / auto 100% no-repeat, radial-gradient(ellipse at 0 0, #c77aa880, transparent 70%), linear-gradient(165deg, #8a3e7f, #4e2b63); }
.writing-preview .cat-full .preview-art-number::before { color: #ffe0ef; }
@media (min-width: 1025px) and (max-width: 1800px) {
  body[data-track-section="writing"] .catalogue-preview { padding-inline: clamp(14px, 2vw, 30px); }
}
