/* Shared header: one stylesheet, loaded before the first paint. */
html body .notaUnifiedHeader{box-sizing:border-box;position:relative;inset:auto;z-index:40;display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:20px;width:100%;max-width:none;min-height:82px;height:82px;margin:0;padding:0 max(24px,calc((100% - 1200px)/2));background:#100e15;border:0;border-bottom:1px solid #ffffff0e;box-shadow:none;border-radius:0;color:#f3edf8;font:14px/1.4 Arial,sans-serif;letter-spacing:normal;backdrop-filter:none}
html body .notaUnifiedHeader.header{position:fixed;inset:0 0 auto}
html body .notaUnifiedHeader .notaBrand{margin:0!important;order:0;justify-self:start}
html body .notaUnifiedHeader .notaSharedLinks{display:flex!important;align-items:center;justify-content:center;gap:30px;width:auto;margin:0;padding:0;border:0;background:none;order:1;flex-wrap:nowrap}
html body .notaUnifiedHeader .notaSharedLinks a{font:700 17px/1.4 Arial,sans-serif;color:#bdb3ca;text-decoration:none;white-space:nowrap;letter-spacing:normal;padding:12px 0;border:0;background:none}
html body .notaUnifiedHeader .notaSharedLinks a:hover,html body .notaUnifiedHeader .notaSharedLinks a[aria-current]{color:#f4e8ff}
html body .notaUnifiedHeader .notaSharedLinks a[href="/studio"]{padding:11px 20px;border:1px solid #d9ff67;border-radius:12px;background:#d9ff67;color:#1b240b;font-weight:800;box-shadow:0 4px 18px #d9ff6714;transition:background .18s,box-shadow .18s}
html body .notaUnifiedHeader .notaSharedLinks a[href="/studio"]:hover{background:#e4ff91;color:#1b240b;box-shadow:0 4px 22px #d9ff6729}
html body .notaUnifiedHeader .headerActions{display:flex;align-items:center;justify-self:end;gap:0;min-width:0;width:100%;max-width:202px;margin:0;padding:0;order:2;justify-content:flex-end}
html body .notaUnifiedHeader #newSong{display:none!important}
html body .notaUnifiedHeader .accountMenu{position:relative;margin:0;min-width:0;width:100%;max-width:100%}
html body .notaUnifiedHeader .profile.accountTrigger{box-sizing:border-box;display:flex;align-items:center;justify-content:flex-end;gap:10px;width:100%;height:54px;max-width:100%;min-width:42px;border:1px solid transparent;border-radius:14px;background:none;box-shadow:none;padding:5px 8px;margin:0;color:#eee7f5;cursor:pointer;text-decoration:none}
html body .notaUnifiedHeader .accountTriggerName{display:block;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 15px/1.4 Arial,sans-serif;text-align:right}
html body .notaUnifiedHeader .accountProfileIcon{box-sizing:border-box;display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border:1px solid #ffffff25;border-radius:50%;background:#ffffff05}
html body .notaUnifiedHeader .profile svg{display:block;width:29px;height:29px;flex-shrink:0;margin:0}
html body .notaUnifiedHeader .accountTrigger:hover .accountProfileIcon{border-color:#d9ff6770;background:#d9ff6709}
html body .notaUnifiedHeader a:focus-visible,html body .notaUnifiedHeader button:focus-visible{outline:2px solid #d9c5fa;outline-offset:4px}
html body .notaUnifiedHeader .accountTrigger:hover,html body .notaUnifiedHeader .accountTrigger[aria-expanded="true"]{background:#ffffff07;border-color:#ffffff10}
html body .notaUnifiedHeader .profile .accountChevron{width:15px;height:15px;color:#a79aB5;transition:transform .18s}
html body .notaUnifiedHeader .accountTrigger[aria-expanded="true"] .accountChevron{transform:rotate(180deg);color:#d9ff67}
html body .notaUnifiedHeader .accountPopover{box-sizing:border-box;position:absolute;top:calc(100% + 6px);right:0;left:auto;width:276px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 90px);overflow-y:auto;margin:0;padding:10px;border:1px solid #bda5d328;border-radius:18px;background:#19151f;box-shadow:0 18px 50px #0007;color:#f3edf8;text-align:left;z-index:60;font:14px/1.5 Arial,sans-serif}
html body .notaUnifiedHeader .accountMenu::after{content:'';position:absolute;top:100%;right:0;left:0;height:8px}
html body .notaUnifiedHeader .accountPopover[hidden]{display:none!important}
html body .notaUnifiedHeader .accountCredits{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 10px;margin:0 0 8px;padding:12px 10px 16px;border:0;border-bottom:1px solid #ffffff10;background:none;color:#a99cb7;font-size:12px}
html body .notaUnifiedHeader .accountCredits b{grid-column:1;grid-row:2;font-size:15px;font-weight:700;color:#f1eaf7;letter-spacing:0;white-space:nowrap}
html body .notaUnifiedHeader .accountTopup,html body .notaUnifiedHeader .accountLogout{box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;min-height:44px;height:auto;margin:2px 0;padding:10px;border:0;border-radius:10px;background:transparent;color:#d9cee4;font:14px/1.4 Arial,sans-serif;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}
html body .notaUnifiedHeader .accountCredits .accountTopup{grid-column:2;grid-row:1/3;min-height:36px;width:auto;padding:8px 12px;background:#d9ff67;color:#1b240b;font-size:12px;font-weight:700;border-radius:9px}
html body .notaUnifiedHeader .accountLogout:hover,html body .notaUnifiedHeader a.accountTopup:hover{background:#ffffff08;color:#fff}
html body .notaUnifiedHeader .accountCredits .accountTopup:hover{background:#e4ff91}
html body .notaUnifiedHeader .accountLogout svg,html body .notaUnifiedHeader a.accountTopup svg{width:18px;height:18px;flex:0 0 18px;color:#a99bb9}
html body .notaUnifiedHeader .accountSignout{border-top:1px solid #ffffff10;border-radius:0 0 10px 10px;margin-top:8px;padding-top:14px;color:#b5a7c3}
html body .notaUnifiedHeader .accountFeedback{font:12px/1.5 Arial,sans-serif;color:#dbbde9;margin:10px}
html body .notaUnifiedHeader .accountFeedback:empty{display:none}
@media(prefers-reduced-motion:reduce){html body .notaUnifiedHeader .accountChevron,html body .notaUnifiedHeader .accountLogout{transition:none}}
html body.notaMailPage{padding:0 0 36px}body.notaMailPage>main{padding:48px 24px 0;box-sizing:border-box}
html body.notaResetPage{display:block;padding:0 0 40px}body.notaResetPage>main{box-sizing:border-box;margin:44px auto;width:calc(100% - 32px)}
body.notaLegacyPage>.app>.sidebar{top:82px;height:calc(100vh - 82px)}
@media(min-width:721px) and (max-width:900px){html body .notaUnifiedHeader .notaSharedLinks{gap:18px}html body .notaUnifiedHeader .notaSharedLinks a{font-size:16px}}
@media(max-width:720px){
html body .notaUnifiedHeader{display:flex!important;height:106px!important;min-height:106px;gap:0 12px;flex-wrap:wrap!important;padding:4px 16px 10px!important}
html body .notaUnifiedHeader .notaBrand{width:76px!important;min-width:76px;height:50px!important;margin-right:auto!important}
html body .notaUnifiedHeader .headerActions{order:1;width:min(192px,calc(100% - 100px));max-width:calc(100% - 100px)}
html body .notaUnifiedHeader .accountTriggerName{font-size:14px}
html body .notaUnifiedHeader .notaSharedLinks{order:2;width:100%;justify-content:space-between;gap:6px;margin:0}
html body .notaUnifiedHeader .notaSharedLinks a{font-size:clamp(12px,3.3vw,14px);padding:4px 0}
html body .notaUnifiedHeader .notaSharedLinks a[href="/studio"]{padding:7px 8px;border-radius:9px}
body.notaMailPage>main{padding:26px 16px 0}body.notaResetPage>main{margin-top:26px}body.notaLegacyPage>.app>.sidebar{top:106px;height:calc(100vh - 106px)}
.mobileStudioBar{top:calc(var(--visible-top,0px) + 106px)!important}body #conversation{top:calc(var(--visible-top,0px) + 162px)!important;height:calc(var(--visible-height,100dvh) - 162px - var(--dock))!important}.studioLibrary{top:calc(var(--visible-top,0px) + 162px)!important;height:calc(var(--visible-height,100dvh) - 162px)!important}
}
@media(max-width:350px){html body .notaUnifiedHeader{padding-left:12px!important;padding-right:12px!important}html body .notaUnifiedHeader .notaSharedLinks{gap:4px}html body .notaUnifiedHeader .notaSharedLinks a{font-size:11.5px}html body .notaUnifiedHeader .notaSharedLinks a[href="/studio"]{padding-inline:6px}}
@media print{html body .notaUnifiedHeader{display:none!important}}
/* The signed-in shell is a workspace, not landing-page navigation. */
html body.notaSignedIn .notaUnifiedHeader{grid-template-columns:minmax(0,1fr) auto}
html body.notaSignedIn .notaUnifiedHeader .notaSharedLinks{display:none!important}
html body.notaSignedIn .notaUnifiedHeader .headerActions{grid-column:2;width:202px;max-width:100%}
@media(max-width:720px){
 html body.notaSignedIn .notaUnifiedHeader{height:66px!important;min-height:66px;flex-wrap:nowrap!important;padding:6px 16px!important}
 html body.notaSignedIn .notaUnifiedHeader .headerActions{width:min(220px,calc(100% - 100px));max-width:calc(100% - 100px)}
 body.notaSignedIn.mobileTabsLayout{--studio-mobile-header:66px}
}
/* Desktop studio navigation lives in the header; mobile keeps its bottom bar. */
.draftSidebar[hidden]{display:none!important}
html body.studioHeaderNav .notaUnifiedHeader .headerActions{grid-column:3}
@media(min-width:721px){
 body.studioHeaderNav{--draft-sidebar:0px}
 html body.studioHeaderNav .notaUnifiedHeader{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);padding-inline:24px;gap:24px}
 html body.studioHeaderNav .notaUnifiedHeader .headerActions{grid-column:3;width:190px}
 html body.studioHeaderNav .notaUnifiedHeader .studioNav{position:static;inset:auto;order:1;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:12px;width:auto;min-width:0;height:auto;padding:0;border:0;background:none;overflow:visible}
 html body.studioHeaderNav .studioNav>.studioNavEyebrow{display:none}
 html body.studioHeaderNav .studioNav .studioNavLinks{display:flex;flex-direction:row;align-items:center;gap:4px;margin:0;padding:0}
 html body.studioHeaderNav .studioNav .studioNavLink{display:flex;align-items:center;gap:7px;width:auto;min-height:44px;margin:0;padding:10px 12px;border:1px solid transparent;border-radius:12px;background:transparent;color:#bfb4cc;font:600 14px/1.4 Arial,sans-serif;white-space:nowrap}
 html body.studioHeaderNav .studioNav .studioNavLink:hover,html body.studioHeaderNav .studioNav .studioNavLink[aria-current]{color:#f2e8ff;background:#ffffff08;border-color:#c8aceb24;box-shadow:none}
 html body.studioHeaderNav .studioNav .draftNew{width:auto;min-height:44px;margin:0;padding:11px 16px;border:0;border-radius:12px;background:#d9ff67;color:#1b240b;font:700 14px/1.4 Arial,sans-serif;white-space:nowrap}
 html body.studioHeaderNav .studioNav .studioNavBalance{display:flex;align-items:center;gap:14px;width:auto;min-width:0;min-height:56px;margin:0;padding:9px 14px;border:1px solid #c9b1e340;border-radius:14px;background:linear-gradient(120deg,#30243980,#20192580);color:#ede3f7;cursor:pointer;transition:border-color .18s,background .18s}
 html body.studioHeaderNav .studioNav .studioNavBalance:hover{border-color:#d9ff6780;background:#2d2639}
 html body.studioHeaderNav .studioNavBalanceCopy{display:flex;flex-direction:column;gap:2px;text-align:left}
 html body.studioHeaderNav .studioNavBalanceLabel{font-size:11px;line-height:1.3;color:#b7a8c4}
 html body.studioHeaderNav .studioNavBalanceValue{font-size:17px;line-height:1.3;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap;color:#e2f6b6}
 html body.studioHeaderNav .studioNavTopup{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:9px;background:#d9ff6710;border:1px solid #d9ff6726;padding:0;color:#d9ff67}
 html body.studioHeaderNav .studioNavTopup svg{width:18px;height:18px}
 body.studioHeaderNav #conversation{margin-left:0}
 body.studioHeaderNav .composerDock,body.studioHeaderNav .studioLibrary{left:0}
 body.studioHeaderNav .studioLibrary{top:82px}
}
@media(min-width:721px) and (max-width:1200px){
 html body.studioHeaderNav .notaUnifiedHeader{padding-inline:14px;gap:10px}
 html body.studioHeaderNav .notaUnifiedHeader .headerActions{width:54px}
 html body.studioHeaderNav .accountTriggerName,html body.studioHeaderNav .accountChevron{display:none}
 html body.studioHeaderNav .studioNav .studioNavLink{font-size:13px;padding:10px 8px;gap:5px}
 html body.studioHeaderNav .studioNav .studioNavLink svg,html body.studioHeaderNav .navDraftCount{display:none}
 html body.studioHeaderNav .notaUnifiedHeader .studioNav{gap:6px}
 html body.studioHeaderNav .studioNav .draftNew{padding:11px 12px;font-size:13px}
 html body.studioHeaderNav .studioNav .studioNavBalance{padding:8px;gap:5px}
 html body.studioHeaderNav .studioNavBalanceValue{font-size:15px}
}
@media(max-width:720px){html body.studioHeaderNav .notaUnifiedHeader .studioNav{display:none!important}}
@media(min-width:721px) and (max-width:820px){html body.studioHeaderNav .notaUnifiedHeader .notaBrand{width:64px!important;min-width:64px!important}html body.studioHeaderNav .notaUnifiedHeader .notaBrand img{width:64px;height:54px}html body.studioHeaderNav .studioNavTopup{display:none}}
@media(min-width:721px) and (max-width:1000px){body.studioHeaderNav .studioInstrument{width:58%;right:-12px;top:26px;height:290px}body.studioHeaderNav #welcome{min-height:300px}body.studioHeaderNav .welcomeCopy{width:54%}body.studioHeaderNav #welcome h1{font-size:42px}body.studioHeaderNav #choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Phones use hardware volume controls, including landscape orientation.
   Keep playback, seeking, and excerpt selection visible. */
@media (max-width:760px), (max-width:1024px) and (hover:none) and (pointer:coarse){
 html body .cfMixer,
 html body .audioMessage .audioVolume,
 html body .timelinePanel .volume{display:none!important}
 audio::-webkit-media-controls-volume-slider,
 audio::-webkit-media-controls-mute-button{display:none!important}
}
/* Decorative images stay in the empty gutters, never over controls or text. */
@media(min-width:1360px){
 body.studioHeaderNav .studioLibrary::before{content:'';position:fixed;inset:82px 0 0;z-index:0;pointer-events:none;--ambient-center:460px;background-image:url('/outputs/assets/nota-ambient-waves-v2.webp'),url('/outputs/assets/nota-ambient-waves-v2.webp');background-repeat:no-repeat;background-size:clamp(420px,36vw,680px) auto;background-position:left -150px top -70px,right -150px bottom -120px;opacity:.58;mask-image:linear-gradient(to right,#000, #000 calc(50% - var(--ambient-center) - 90px),transparent calc(50% - var(--ambient-center) - 20px),transparent calc(50% + var(--ambient-center) + 20px),#000 calc(50% + var(--ambient-center) + 90px),#000);-webkit-mask-image:linear-gradient(to right,#000, #000 calc(50% - var(--ambient-center) - 90px),transparent calc(50% - var(--ambient-center) - 20px),transparent calc(50% + var(--ambient-center) + 20px),#000 calc(50% + var(--ambient-center) + 90px),#000)}
 body.studioHeaderNav .studioLibrary>.libraryHeader,body.studioHeaderNav .studioLibrary>.libraryContent{position:relative;z-index:1}
}
