/* One caption column per note; five actual SVG staff lines and baseline-registered clefs. */
.ft-score-step.ft-score-aligned{display:grid!important;grid-template-rows:auto auto minmax(215px,1fr) 70px 54px 42px!important;gap:8px!important;padding:12px!important;min-height:0!important;overflow:hidden!important;}
.ft-score-aligned .ft-onboarding-eyebrow{font-size:7px!important;line-height:10px!important;}
.ft-score-aligned h2{font-size:16px!important;line-height:21px!important;margin:0!important;}
.ft-score-aligned .ft-score-staff{display:flex!important;flex-direction:column!important;justify-content:center!important;min-height:0!important;padding:8px 3px!important;background:#f5efe0!important;container-type:inline-size;border:1px solid #d5c18c!important;}
.ft-score-aligned .ft-score-engraving{display:block!important;width:100%!important;height:auto!important;flex:none!important;overflow:visible!important;}
.ft-score-aligned .ft-score-labels{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;padding:0 2.5% 0 15%!important;width:100%!important;box-sizing:border-box!important;align-items:stretch!important;}
.ft-score-aligned .ft-score-labels button{min-width:0!important;min-height:48px!important;padding:3px 1px!important;margin:0 1px!important;font:600 clamp(7px,2.3cqw,9px)/1.3 Inter,Arial,sans-serif!important;letter-spacing:0!important;text-align:center!important;white-space:pre-line!important;overflow-wrap:break-word!important;border-radius:6px!important;}
.ft-score-aligned .ft-score-staff[data-group="supply"] .ft-score-labels button[aria-pressed="true"]{background:#0e367a!important;border-color:#0e367a!important;color:#fff!important;}
.ft-score-note-control{cursor:pointer;outline:none;}.ft-score-note-control:focus-visible>rect{opacity:.14!important;stroke:#a68c5e;stroke-width:1;}
.ft-score-aligned .ft-onboarding-detail{padding:8px!important;min-height:0!important;overflow:auto!important;margin:0!important;}
.ft-score-aligned .ft-onboarding-detail h3{font-size:12px!important;line-height:15px!important;margin:0 0 3px!important;}
.ft-score-aligned .ft-onboarding-detail p{font-size:11px!important;line-height:14px!important;margin:0!important;}
.ft-score-aligned .ft-onboarding-custom{padding:5px 8px!important;font-size:9px!important;line-height:12px!important;}
.ft-score-aligned .ft-onboarding-custom input{height:26px!important;padding:4px 7px!important;margin-top:3px!important;font-size:11px!important;}
.ft-score-aligned .ft-onboarding-actions{padding:0!important;margin:0!important;}.ft-score-aligned .ft-onboarding-actions button{padding:8px!important;}
html[data-theme="dark"] .ft-score-aligned .ft-score-staff{background:#282a31!important;border-color:#8c7953!important;}
html[data-theme="dark"] .ft-score-aligned .ft-score-labels button{background:#333741;color:#eee;border-color:#71674f;}
/* Each illustration rests above the same caption baseline, rather than floating in its row. */
html #root#root .chain-page.chain-page.chain-page.chain-page.chain-page.chain-page .creative-record-control .creative-item-art.creative-item-art {align-items:flex-end!important;align-self:end!important;}
html #root#root .chain-page.chain-page.chain-page.chain-page.chain-page.chain-page .creative-record-control .creative-item-art.creative-item-art img{object-position:center bottom!important;}
html #root#root .chain-page.chain-page.chain-page.chain-page.chain-page.chain-page .creative-record-caption.creative-record-caption {text-decoration:none!important;text-underline-offset:0!important;}
/* The theatre uses the full group board during each onboarding step. */
html #root#root .ft-onboarding-flow .chain-page.chain-page.chain-page.chain-page.chain-page.chain-page[data-creative-entity="venue"] .chain-board.chain-board {display:block!important;overflow:hidden!important;}
html #root#root .ft-onboarding-flow .chain-page.chain-page.chain-page.chain-page.chain-page.chain-page[data-creative-entity="venue"] .creative-record-section.creative-record-section{height:100%!important;min-height:100%!important;grid-template-rows:20px minmax(0,1fr)!important;padding:8px 12px!important;}
html #root#root .ft-onboarding-flow .chain-page.chain-page.chain-page.chain-page.chain-page.chain-page[data-creative-entity="venue"] .creative-record-control .creative-item-art.creative-item-art{height:100%!important;max-height:150px!important;max-width:150px!important;}
html #root#root .ft-onboarding-flow .chain-page.chain-page.chain-page.chain-page.chain-page.chain-page[data-creative-entity="venue"] [data-record-group="supply"]>.grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:minmax(0,1fr)!important;}
/* Readable classic type on longer black piano keys. */
html #root .black-piano-key.black-piano-key{width:calc(100% - 124px)!important;min-width:166px!important;height:38px!important;padding:3px 8px!important;}
html #root .black-piano-key.black-piano-key span,html #root .black-piano-key-description{font-family:Georgia,'Times New Roman',serif!important;font-style:normal!important;font-size:12px!important;line-height:15px!important;font-weight:500!important;letter-spacing:0!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;}
@media(max-width:370px){html #root .black-piano-key.black-piano-key{width:calc(100% - 106px)!important;min-width:150px!important;}html #root .black-piano-key.black-piano-key span{font-size:11px!important;line-height:14px!important;}}
html #root#root .chain-page.chain-page.chain-page.chain-page.chain-page.chain-page[data-creative-entity="venue"] [data-record-group="supply"].creative-record-section{background-image:url('/entity-art/composer-aligned-20261027/audience-light.svg')!important;}
html[data-theme="dark"] #root .chain-page.chain-page.chain-page.chain-page.chain-page.chain-page[data-creative-entity="venue"] [data-record-group="supply"].creative-record-section{background-image:url('/entity-art/composer-aligned-20261027/audience-dark.svg')!important;}
html[data-theme="porcelain"] #root .chain-page.chain-page.chain-page.chain-page.chain-page.chain-page[data-creative-entity="venue"] [data-record-group="supply"].creative-record-section{background-image:url('/entity-art/composer-aligned-20261027/audience-porcelain.svg')!important;}
/* Three primary profile cards fit above the fixed navigation. */
html #root [data-profile-layout="compact"]{display:grid!important;grid-template-rows:minmax(148px,.95fr) minmax(204px,1.35fr)!important;gap:8px!important;padding:8px!important;min-height:0!important;overflow:auto!important;}
html #root [data-profile-layout="compact"]>*{margin:0!important;min-height:0!important;}
html #root [data-profile-layout="compact"]>[data-profile-surface="identity"]{padding:7px 10px!important;overflow:auto!important;}
html #root [data-profile-layout="compact"]>[data-profile-surface="identity"]>.relative{margin-top:0!important;}
html #root [data-profile-layout="compact"]>[data-profile-surface="identity"]>.relative>div:first-child{width:54px!important;height:54px!important;min-height:54px!important;}
html #root [data-profile-layout="compact"]>[data-profile-surface="identity"]>.mt-3\.5{margin-top:4px!important;}
html #root [data-profile-layout="compact"]>[data-profile-surface="identity"]>div:has(>svg:only-child){display:none!important;}
html #root [data-profile-layout="compact"]>[data-profile-surface="identity"] [title="Настройка профиля"]{margin-top:4px!important;padding:5px 10px!important;font-size:10px!important;line-height:14px!important;}
html #root [data-profile-layout="compact"]>[data-profile-surface="identity"]>.relative>div:last-child{width:24px!important;height:24px!important;}
html #root [data-profile-layout="compact"]>[data-profile-surface="identity"]>.relative>div:last-child svg{width:24px!important;height:24px!important;}
html #root [data-profile-layout="compact"]>div:last-child:not([data-profile-surface]){display:grid!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;gap:8px!important;min-height:0!important;}
html #root [data-profile-layout="compact"] [data-profile-surface]:not([data-profile-surface="identity"]){padding:8px!important;margin:0!important;min-height:0!important;overflow:auto!important;border-radius:18px!important;}
html #root [data-profile-layout="compact"] [data-profile-surface]:not([data-profile-surface="identity"])>div:first-child{padding-bottom:5px!important;margin-bottom:5px!important;gap:5px!important;}
html #root [data-profile-layout="compact"] [data-profile-surface]:not([data-profile-surface="identity"])>div:first-child>span:first-child{font-size:8px!important;line-height:11px!important;}
html #root [data-profile-layout="compact"] [data-empty-surface]{padding:6px!important;font-size:10px!important;line-height:13px!important;margin:0!important;}
html #root [data-profile-layout="compact"] [data-empty-surface] p{font-size:10px!important;line-height:13px!important;margin:0!important;}
html #root [data-profile-layout="compact"] [data-empty-surface] button{margin-top:4px!important;padding:4px 8px!important;font-size:9px!important;line-height:12px!important;}
html #root [data-profile-layout="compact"] :is([data-profile-surface="services"],[data-profile-surface="portfolio"])>div:first-child button{font-size:8px!important;line-height:12px!important;min-height:23px!important;padding:4px 8px!important;}
html[data-theme] #root [data-profile-layout="compact"] [data-profile-surface="services"][data-profile-surface]>div:first-child button{background:linear-gradient(#f5dfe0cc,#e8bcc4aa)!important;border-color:#bc7c8e99!important;color:#7a2033!important;box-shadow:inset 0 1px #ffffff99,0 2px 4px #6c203018!important;}
html[data-theme="dark"] #root [data-profile-layout="compact"] [data-profile-surface="services"][data-profile-surface]>div:first-child button{background:linear-gradient(#86485977,#5e2b3f77)!important;color:#f4bdca!important;border-color:#b7839299!important;}
html #root .black-piano-key.black-piano-key span{color:#e8ce92!important;}

html #root#root .ft-onboarding-flow .chain-page[data-creative-entity="venue"] .creative-record-control{display:flex!important;flex-direction:column!important;justify-content:center!important;gap:3px!important;min-height:0!important;padding:0!important;}
html #root#root .ft-onboarding-flow .chain-page[data-creative-entity="venue"] .creative-record-control .creative-item-art{width:100%!important;height:clamp(72px,18cqh,150px)!important;flex:none!important;align-self:center!important;}
html #root#root .ft-onboarding-flow .chain-page[data-creative-entity="venue"] .creative-record-caption{height:28px!important;min-height:28px!important;flex:none!important;display:flex!important;align-items:center!important;justify-content:center!important;white-space:normal!important;font-size:8px!important;line-height:10px!important;}
html #root#root .ft-onboarding-flow .chain-page[data-creative-entity="venue"] .creative-record-control{display:grid!important;grid-template-rows:minmax(0,1fr) 28px!important;align-content:center!important;}
html #root#root .ft-onboarding-flow .chain-page[data-creative-entity="venue"] .creative-record-control .creative-item-art{height:100%!important;max-height:150px!important;min-height:0!important;align-self:end!important;}
.ft-onboarding-flow:has(.ft-score-aligned){padding:12px!important;}
.ft-score-step.ft-score-aligned{margin:0!important;width:100%!important;}
