/* Travessia RC24.4 — hierarquia e revelação progressiva, sem tocar no áudio. */
.cs-body .cs-view-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;align-items:center;padding:16px 18px;border-radius:16px;border:1px solid var(--ui-line,#4c5068);background:var(--ui-card,#191c2b);margin:12px 0}
.cs-view-heading{display:grid;gap:4px}
.cs-view-heading strong{font-size:16px;color:var(--ui-text,#fff)}
.cs-view-heading span{color:var(--ui-muted,#c8cde0);font-size:12px}
.cs-view-switch{display:flex;gap:4px;background:var(--ui-card2,#272d45);padding:4px;border-radius:12px;border:1px solid var(--ui-line,#4f5978)}
.cs-body .cs-view-switch button{border:0;background:transparent;color:var(--ui-text,#e2e5f4);padding:10px 15px;min-height:43px;border-radius:9px;font-size:13px;font-weight:750}
.cs-body .cs-view-switch button[aria-pressed=true]{background:var(--ui-deep,#6552a0);color:#fff;box-shadow:0 3px 15px #0004}
.cs-view-panel p{grid-column:1/-1;margin:0!important;font-size:12px!important;color:var(--ui-muted,#bec3d2)!important;line-height:1.5}
.cs-body .cs-view-switch button:focus-visible{outline:3px solid var(--ui-accent,#cbb6ff);outline-offset:2px}
.cs-body[data-cs-view=essential] .cs-tone-settings,.cs-body[data-cs-view=essential] .cs-intention,.cs-body[data-cs-view=essential] #csMelody,.cs-body[data-cs-view=essential] .cs-bottom{display:none!important}
.cs-body[data-cs-view=essential] .cs-workflow [data-cs-jump=csMelody],.cs-body[data-cs-view=essential] .cs-workflow [data-cs-jump=csSounds]{display:none!important}
.cs-body[data-cs-view=essential] .cs-workflow{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.cs-body[data-cs-view=essential] .cs-workflow button{min-height:46px}
.cs-body[data-cs-view=essential] .cs-save-actions [data-cs=backup],.cs-body[data-cs-view=essential] .cs-save-actions [data-cs=import]{display:none!important}
.cs-body[data-cs-view=essential] .cs-track-name .cs-timbre-control{display:none!important}
.cs-body[data-cs-view=essential] .cs-settings{padding:12px 15px}
.cs-body[data-cs-view=essential] .cs-grid-section{border-color:var(--ui-line,#535674);box-shadow:0 12px 30px #0002}
.cs-body[data-cs-view=essential] .cs-intro h4{max-width:650px}
/* Menu familiar secundário: mantém método e troca de percurso descobríveis sem 6 ícones apertados. */
.b-family-menu{position:fixed;z-index:25;bottom:calc(88px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(475px,calc(100vw - 28px));max-height:min(70dvh,500px);overflow-y:auto;display:grid;gap:7px;padding:16px;background:var(--ui-card,#21191d);border:1px solid var(--ui-line,#6f4747);border-radius:17px;box-shadow:0 22px 70px #000b}
.b-family-menu[hidden]{display:none!important}
.b-family-menu strong{color:var(--ui-text,#fff);font-size:14px;padding:0 3px 4px}
.b-family-menu button{min-height:49px;text-align:left;padding:11px 14px;background:var(--ui-card2,#31242a);border:1px solid var(--ui-line,#6b464c);border-radius:11px;color:var(--ui-text,#fff);font-weight:650;font-size:14px}
.b-family-menu button:focus-visible{outline:3px solid var(--ui-accent,#eeb9a0);outline-offset:2px}
.b-bottom [data-b-nav=more][aria-expanded=true]{background:var(--ui-card2,#52312f);color:#fff}
html[data-tui-theme]:not([data-tui-theme=original]) .b-bottom{background:var(--ui-card);border-color:var(--ui-line)}
html[data-tui-theme]:not([data-tui-theme=original]) .b-bottom button.active{background:var(--ui-deep);color:#fff}
html[data-tui-theme]:not([data-tui-theme=original]) .cs-body .cs-view-panel{background:var(--ui-card);border-color:var(--ui-line)}
@media(max-width:680px){.cs-body .cs-view-panel{grid-template-columns:1fr;padding:13px;gap:10px}.cs-view-switch{width:100%}.cs-view-switch button{flex:1}.cs-body[data-cs-view=essential] .cs-workflow{grid-template-columns:repeat(2,minmax(0,1fr))}.cs-body[data-cs-view=essential] .cs-workflow button{font-size:12px;padding:9px 6px}.b-family-menu{bottom:calc(81px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.cs-view-switch button{transition:none!important}}
