body.studio-desktop .top-actions { flex-shrink: 0; }
body.studio-desktop .top-actions button { white-space: nowrap; }
body.studio-desktop .top-actions .examples-action { border-color: #6a8066; color: #cce8c6; }
.examples-dialog { width: min(920px, calc(100vw - 36px)); max-width: 920px; max-height: calc(100dvh - 36px); padding: 0; border: 1px solid #536276; border-radius: 9px; background: #19212b; color: #dfe8f2; }
.examples-dialog::backdrop { background: #080e16bd; }
.examples-dialog[open] { display: flex; flex-direction: column; }
.examples-header { display: flex; align-items: flex-start; justify-content: space-between; padding: 24px 26px 15px; gap: 18px; border-bottom: 1px solid #344152; }
.examples-header h2 { font-size: 25px; margin: 7px 0 8px; letter-spacing: -.5px; }
.examples-header p { margin: 0; font-size: 12px; line-height: 1.6; color: #aab9cb; }
.examples-close { flex: 0 0 30px; height: 30px; border: 1px solid #48596e; border-radius: 4px; background: #283444; color: #dce6f2; font-size: 20px; }
.examples-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-content: start; gap: 14px; padding: 20px 26px 24px; overflow-y: auto; min-height: 0; flex: 1; }
.example-card { --song-accent: #a8dfa6; border: 1px solid #3e4c60; border-radius: 6px; padding: 18px; background: #202c3a; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.example-card[data-style="synthwave"] { --song-accent: #c2a9ed; }
.example-card[data-style="classical"] { --song-accent: #e2d2a0; }
.example-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 9px; letter-spacing: .04em; color: #a2b3c8; }
.example-meta span:first-child { color: var(--song-accent); font-weight: 700; }
.example-card h3 { font-size: 18px; margin: 0; letter-spacing: -.3px; }
.example-description { margin: 0; font-size: 11px; line-height: 1.6; color: #c0cddd; }
.example-facts { color: var(--song-accent); font-size: 10px; }
.example-structure { display: flex; height: 30px; gap: 2px; margin-top: 3px; overflow: hidden; border-radius: 3px; }
.example-structure span { display: flex; align-items: center; padding: 0 5px; min-width: 0; overflow: hidden; white-space: nowrap; font-size: 8px; color: #b8c7d8; background: #344659; }
.example-structure span[data-tone="1"] { background: #465667; color: #e3ebf4; }
.example-structure span[data-tone="2"] { background: #3d514c; color: #cbe6d8; }
.example-structure span[data-tone="3"] { background: #44455a; color: #dbd7eb; }
.example-instruments { font-size: 9px; line-height: 1.5; margin: 0; color: #93a8bf; }
.example-card-bottom { display: flex; align-items: flex-end; gap: 12px; margin-top: auto; padding-top: 5px; }
.example-learning { margin: 0; font-size: 10px; line-height: 1.5; color: #b3c3d5; flex: 1; }
.example-open { border: 1px solid #89b086; background: #a8dfa6; color: #17321c; padding: 8px 12px; border-radius: 4px; white-space: nowrap; font: inherit; font-weight: 700; font-size: 10px; }
.examples-dialog button { cursor: pointer; }
.examples-dialog button:hover { filter: brightness(1.12); }
.examples-dialog :focus-visible { outline: 2px solid #b8e8b3; outline-offset: 3px; }
.examples-footer { flex-shrink: 0; display: block; padding: 14px 26px; margin: 0; border-top: 1px solid #344152; color: #8fa6bf; font-size: 10px; letter-spacing: 0; line-height: 1.6; }
@media(max-width:900px) { body.studio-desktop .topbar { gap: 9px; } body.studio-desktop .top-actions { gap: 4px; } body.studio-desktop .top-actions .project-action { padding-inline: 7px; } }
@media(max-width:700px) { .examples-grid { grid-template-columns: minmax(0,1fr); } .examples-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); } .examples-header,.examples-grid,.examples-footer { padding-inline: 16px; } .examples-header h2 { font-size: 21px; } }
@media(max-width:620px) { body.studio-desktop .top-actions { flex-wrap: wrap; justify-content: flex-start; } body.studio-desktop .top-actions .project-action { padding-inline: 9px; } .example-card-bottom { flex-wrap: wrap; } }
