.editorial-notes { margin-top: 28px; padding: clamp(20px,4vw,34px); border: 1px solid var(--line); border-radius: 8px; background: #181820a6; }
.editorial-notes h2 { margin: 24px 0 13px; font-size: clamp(24px,3vw,30px); line-height: 1.2; }
.editorial-notes h2:first-child { margin-top: 0; }
.editorial-notes h3 { margin-top: 20px; font-size: 17px; }
.editorial-notes p, .editorial-notes li { color: var(--soft); }
.editorial-meta { color: var(--muted); font-size: 12px; }
.editorial-sources { margin-top: 25px; padding: 16px 20px; border-left: 3px solid var(--green); background: #2ee59d08; font-size: 13px; }
.editorial-sources h2 { font: 600 16px/1.5 var(--body-font); }
.editorial-notes a, .editorial-sources a, .case-page a { text-underline-offset: 4px; }
.editorial-table-wrap { overflow-x: auto; }
.editorial-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
.editorial-table th, .editorial-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.editorial-table th { color: var(--yellow); }
.example-link { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; color: var(--green); }
.editorial-case-video { display: block; width: min(100%,360px); max-height: 500px; margin-block: 20px; border-radius: 8px; background: #08080a; }
.case-page { max-width: 1100px; padding-block: 34px 60px; }
.case-page h1 { max-width: 850px; font-size: clamp(38px,5vw,66px); }
.case-breadcrumbs { flex-wrap: wrap; margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.case-breadcrumbs a { padding: 0; min-height: 32px; }
.case-watch { display: grid; grid-template-columns: minmax(0,1fr) minmax(240px,.75fr); align-items: start; gap: 32px; margin: 30px 0; }
.case-player { margin: 0; }
.case-player video { display: block; width: 100%; height: min(65vh,610px); border: 1px solid var(--line); border-radius: 12px; background: #08080a; object-fit: contain; }
.case-player figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; }
.case-recipe { padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.case-recipe h2 { font-size: 26px; }
.case-recipe img { display: block; width: 120px; height: 160px; object-fit: contain; margin-block: 16px; border-radius: 8px; background: #08080a; }
.case-recipe li { margin-bottom: 12px; }
.case-recipe .button { margin-top: 14px; }
.home-demo-bottom a { color: var(--green); text-underline-offset: 3px; }
@media (max-width:700px) { .case-watch { grid-template-columns: 1fr; gap: 22px; } .case-page { padding-top: 22px; } }
/* Public workflows keep the same rainbow palette as the original guide. */
.home-next { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:22px 0 36px; width:100%; overflow:visible; }
.home-next a { display:flex; flex-direction:column; align-items:flex-start; gap:9px; min-width:0; padding:22px; border:1px solid var(--line); border-radius:10px; background:linear-gradient(135deg,#e9476c0b,#67d8ed08); color:var(--ink); text-decoration:none; white-space:normal; }
.home-next a:nth-child(2) { background:linear-gradient(135deg,#f4cf5d0e,#f28b5d08); }
.home-next a:nth-child(3) { background:linear-gradient(135deg,#45d9a40c,#a68cff0e); }
.home-next a:hover { border-color:var(--green); }
.home-next span { color:var(--muted); font-size:10px; letter-spacing:.08em; }
.home-next strong { font-size:17px; line-height:1.4; }
.home-next small { color:var(--soft); font-size:12px; line-height:1.5; }
.guide-result { display:block; width:100%; height:min(65vh,610px); object-fit:contain; border:1px solid var(--line); border-radius:12px; background:#08080a; }
.guide-contents { display:flex; flex-wrap:wrap; gap:8px; width:auto; margin:24px 0; overflow:visible; }
.guide-contents a { display:inline-flex; min-height:44px; align-items:center; padding:10px 14px; border:1px solid var(--line); border-radius:7px; color:var(--soft); text-decoration:none; font-size:13px; }
.guide-contents a:hover { color:var(--green); }
.guide-overview { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:24px; max-width:700px; margin:30px auto; }
.guide-overview > img, .guide-overview a img { display:block; width:100%; height:300px; object-fit:contain; border:1px solid var(--line); border-radius:10px; background:#08080a; }
.guide-overview > span { color:var(--green); font-size:26px; }
.guide-overview a { color:var(--green); font-size:12px; }
.guide-overview a span { display:block; margin-top:10px; }
.case-page h2[id] { scroll-margin-top:96px; }
@media(max-width:700px) { .home-next { grid-template-columns:1fr; gap:9px; } .home-next a { padding:19px; gap:6px; } .guide-overview { gap:12px; } .guide-overview > img, .guide-overview a img { height:230px; } }
.home-source-note { color:var(--muted); font-size:12px; line-height:1.7; }
.home-source-note a { text-underline-offset:3px; }
@media(max-width:700px) { .cat-dance-page .case-recipe { order:-1; } }
