/* Approved 1536px boards: real content and controls, independent illustration assets. */
body[data-studio-route=welcome]{background:#fcfdff}
body[data-studio-route=welcome]>main{padding:0 48px 26px}
body[data-studio-route=welcome] .public-nav{height:88px;padding:16px 78px;position:relative;z-index:2}
.public-brand{font-size:34px;font-weight:700}.public-brand img{width:44px;height:55px}
.public-nav nav{gap:52px}.public-nav nav a{font-size:18px;color:#1d314b}
.public-start{min-height:44px;padding:8px 30px;font-size:17px;gap:18px;border-radius:14px}
body[data-studio-route=welcome] .hero{height:458px;min-height:0;position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:36px 40px 0;isolation:isolate}
body[data-studio-route=welcome] .hero-copy{align-self:auto}
body[data-studio-route=welcome] .hero h1{font-size:80px;line-height:1.24;letter-spacing:-3px;color:#1e2d3c;font-weight:750;white-space:nowrap}
body[data-studio-route=welcome] .hero-description{font-size:24px;margin-top:16px;line-height:1.6;color:#455b76;white-space:nowrap}
body[data-studio-route=welcome] .hero-art{position:absolute;z-index:-1;right:-48px;top:-88px;width:960px;height:546px;min-height:0;overflow:hidden;margin:0;display:block}
body[data-studio-route=welcome] .hero-art img{position:absolute;width:1080px;height:540px;max-width:none;max-height:none;left:-10px;right:auto;top:0;transform:none;object-fit:contain;mix-blend-mode:multiply}
.hero-art figcaption{position:absolute;right:62px;top:108px;font-size:20px;line-height:1.5;letter-spacing:2px;color:#4d647e;transform:rotate(-12deg);text-align:center}
.hero-art figcaption:after{content:'';display:block;height:12px;border-top:2px solid #ec5c15;border-radius:50%;margin:8px 0 0}
body[data-studio-route=welcome] .hero-actions{display:flex;margin-top:32px;gap:28px;align-self:auto}
body[data-studio-route=welcome] .hero-primary{min-width:216px;height:64px;font-size:24px;padding:12px 30px;border-radius:14px;background:#ed5811}
body[data-studio-route=welcome] .hero-listen{font-size:22px;gap:16px}.welcome-page .tiny-play{width:50px;height:50px;font-size:19px}
body[data-studio-route=welcome] .hero-note{margin-top:-2px;font-size:14px;gap:15px}.welcome-page .hero-note>span{width:50px}
body[data-studio-route=welcome] .experience{padding:25px 40px 26px;border-radius:18px;box-shadow:0 6px 28px #28496705}
body[data-studio-route=welcome] .section-heading{margin-bottom:8px}
body[data-studio-route=welcome] .section-heading h2{font-size:40px;font-weight:700;letter-spacing:-1px}
body[data-studio-route=welcome] .experience-tabs{gap:52px;margin-bottom:0;border-bottom:0}
body[data-studio-route=welcome] .experience-tabs button{font-size:20px;padding:8px 16px;min-height:49px;border-bottom-width:3px}
body[data-studio-route=welcome] .sample-layout{gap:22px}
body[data-studio-route=welcome] .sample-document,body[data-studio-route=welcome] .sample-sound{height:174px;min-height:174px;padding:18px 24px;background:#fff;border-radius:11px}
body[data-studio-route=welcome] .sample-document blockquote{font-size:17px;line-height:1.7;margin:12px 0 6px}
body[data-studio-route=welcome] .sample-document>p{font-size:11px}
body[data-studio-route=welcome] .sample-sound{position:relative;padding:20px 28px;gap:0}
body[data-studio-route=welcome] .sound-heading{justify-content:flex-end;min-height:22px}
body[data-studio-route=welcome] #sound-label,body[data-studio-route=welcome] #sample-description{display:none}
body[data-studio-route=welcome] .sound-heading h3{font-size:16px}
body[data-studio-route=welcome] .playback{min-height:65px;gap:24px;margin-top:-10px}
body[data-studio-route=welcome] .play-toggle{width:68px;height:68px;background:#ef5b11;box-shadow:0 5px 10px #e66c1b16}
body[data-studio-route=welcome] .waveform{height:44px}.welcome-page .waveform i{background:#ef8850}
body[data-studio-route=welcome] .progress-group{position:relative}
body[data-studio-route=welcome] input#sample-progress{position:absolute;left:0;top:3px;height:44px;opacity:0}
body[data-studio-route=welcome] input#sample-progress:focus-visible{opacity:1}
body[data-studio-route=welcome] .sample-bottom{margin-top:4px}.welcome-page .sample-cta{font-size:17px}
body[data-studio-route=welcome] .sample-disclosure{font-size:11px;padding-top:6px;color:#7c8b9c}
body[data-studio-route=welcome] .workflow{margin-top:15px;padding:0 10px;gap:50px}
body[data-studio-route=welcome] .workflow li{gap:24px}
body[data-studio-route=welcome] .step-icon{width:82px;height:82px}.welcome-page .step-icon svg{width:34px;height:34px}
body[data-studio-route=welcome] .workflow h3{font-size:20px}.welcome-page .workflow p{font-size:16px}
body[data-studio-route=welcome] .step-arrow{font-size:38px;font-weight:200}
/* Account pages share the original board's 228px sidebar and 28px gutters. */
body:is([data-studio-route=history],[data-studio-route=credits])>main{padding:26px 28px 36px}
body:is([data-studio-route=history],[data-studio-route=credits]) .page-heading{min-height:0;height:150px;margin:0 14px 20px;align-items:flex-start;padding-top:4px}
body:is([data-studio-route=history],[data-studio-route=credits]) .page-heading h1{font-size:50px;line-height:1.2;letter-spacing:-1px;font-weight:700}
body:is([data-studio-route=history],[data-studio-route=credits]) .page-heading>div:first-child:before{font-size:17px;margin-bottom:24px;color:#375786}
body:is([data-studio-route=history],[data-studio-route=credits]) #page-description{font-size:21px;margin-top:8px;color:#52709a}
body:is([data-studio-route=history],[data-studio-route=credits]) .page-motif{display:none}
body:is([data-studio-route=history],[data-studio-route=credits]) .studio-heading-actions{margin-top:4px}
body[data-studio-route=history] .studio-heading-actions{display:none}
body[data-studio-route=history] #page{position:relative}
.history-search{position:absolute;right:8px;top:-97px;display:flex;align-items:center;gap:12px;width:280px;height:50px;border:1px solid #c5d3e7;border-radius:26px;background:#fff;padding:0 20px;color:#385f91}
.history-search span{font-size:31px;line-height:1}.history-search input{width:100%;min-width:0;border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;margin:0!important;font-size:16px;outline:none}.history-search:focus-within{outline:2px solid #e87532;outline-offset:2px}
.history-workspace{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px;align-items:stretch}
.history-master,.history-detail{padding:25px 24px;min-height:786px;border:1px solid #eaf1f9;border-radius:16px;box-shadow:0 3px 20px #37598403}
.history-master .tabs{gap:10px;flex-wrap:wrap;border-bottom:1px solid #e5edf7;padding-bottom:0;margin:0 0 22px}
.history-master .tabs button{font-size:16px;padding:7px 9px 12px;min-height:47px}
.history-master th{background:transparent;font-size:15px;padding:14px 7px;color:#3e5b82}
.history-master td{height:86px;padding:15px 7px;font-size:15px;color:#283f5e}
.history-master .history-title{font-size:17px;line-height:1.45;max-width:215px;font-weight:500}
.history-master td small{font-size:10px}.history-view{border:1px solid #c5d4e6;border-radius:8px;min-width:70px;min-height:44px;text-align:center;padding:7px 11px;color:#355682;font-size:15px;background:#fff}
.history-status{display:inline-flex;align-items:center;gap:7px;background:transparent;color:#566c87;padding:0;font-size:13px}.history-status:before{content:'';width:9px;height:9px;border-radius:50%;background:#94a4bc}.history-status.is-complete:before{background:#14a46a}
.history-detail .workspace-card-heading h2{font-size:29px;line-height:1.45;max-width:380px;font-weight:650}.history-detail .workspace-card-heading .badge{background:#e9f8f1;padding:4px 10px;border-radius:18px;color:#129465}
.history-detail>p.muted{font-size:13px;margin-top:10px}
.history-result-placeholder{display:flex;align-items:center;gap:18px;min-height:140px;padding:24px 0;border-bottom:1px solid #e5edf7;color:#75879d}
.history-result-placeholder>span{display:grid;place-items:center;width:64px;height:64px;flex:none;border-radius:50%;background:#eff3f8;color:#91a3bb;font-size:38px}
.history-result-placeholder strong{font-size:15px;font-weight:500}.history-result-placeholder p{font-size:12px;margin:6px 0}
.history-detail .tabs{margin-top:16px;border-bottom:1px solid #e5edf7;gap:30px}.history-detail .tabs button{font-size:17px;padding:10px 8px 14px}
.history-document{min-height:170px;max-height:280px;margin:20px 0;padding:20px 16px;font-size:17px!important;border-color:#e6edf6;background:#fcfdff}
.history-detail-actions{margin-top:24px;padding-top:22px;border-top:1px solid #e5edf7;gap:14px}
.history-detail-actions button{min-height:46px}.history-detail-actions .primary{width:100%;min-height:58px;font-size:18px;background:#f16b20;border-color:#f16b20;border-radius:10px}
.history-restore-note{text-align:center;color:#6c84a5;font-size:13px;margin:10px 0 0}
body[data-studio-route=credits] .page-heading{height:122px;margin-bottom:18px}
body[data-studio-route=credits] .page-heading>div:first-child:before{margin-bottom:16px}
.credit-balance{position:relative;overflow:hidden;height:178px;min-height:178px;padding:28px 36px;gap:40px;border-color:#eaf1f9;border-radius:16px}
.credit-balance>div:first-child{width:28%;min-width:200px;position:relative;z-index:1}.credit-balance p{font-size:19px;color:#263f63}.credit-balance strong{font-size:62px;line-height:1.2;color:#152f53}.credit-balance>div>span{font-size:13px;color:#7c8fa7}
.credit-held{align-self:stretch;padding-left:50px;position:relative;z-index:1}.credit-held strong{font-size:48px}.credit-held .muted{font-size:15px;max-width:365px;line-height:1.6;margin-top:8px}
.credit-art{position:absolute;right:0;top:0;width:40%;height:100%;object-fit:cover;opacity:1;background:none;pointer-events:none}
.credit-packages{position:relative;margin-top:12px;padding:22px 28px 12px;border-color:#eaf1f9;border-radius:16px}.credit-packages h2,.credit-ledger h2{font-size:27px;font-weight:650;line-height:1.3}
.credit-packages>p{font-size:12px;margin:5px 0 16px}
.credit-package-grid{gap:18px}.credit-package-option{min-height:136px;padding:16px 40px 16px 116px;gap:3px;background:#fff;border-radius:10px;border-color:#dce6f5;justify-content:center}
.credit-package-option:has(input:checked){border-color:#f26b20;background:#fff8f2;box-shadow:none}.credit-package-option>span:not(.package-symbol){font-size:18px;line-height:1.5;font-weight:500}.credit-package-option strong{font-size:30px;line-height:1.4;white-space:nowrap}.credit-package-option small{font-size:12px}.credit-package-option input{right:18px;top:18px;accent-color:#f16516}
.package-symbol{position:absolute;left:23px;top:23px;width:66px;height:66px;display:grid;place-items:center;border-radius:50%;background:#eaf4ff;color:#1a62ad}.package-symbol svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}.credit-package-option:has(input:checked) .package-symbol{background:#ffe4cf;color:#ed6517}
.credit-purchase-actions{margin-top:12px;display:flex;flex-direction:column;gap:6px;align-items:center}.credit-purchase-actions button{width:min(645px,100%);min-height:48px;border-radius:9px;font-size:18px;background:#ee681f;border-color:#ee681f}.credit-purchase-actions>span{font-size:13px}
.credit-ledger{margin-top:14px;padding:19px 28px 14px;border-color:#eaf1f9;border-radius:16px}.credit-ledger .tabs{top:16px;gap:0;border:1px solid #dfe8f5;border-radius:10px;overflow:hidden}.credit-ledger .tabs button{padding:5px 15px;font-size:14px;min-height:34px;border:0}.credit-ledger .tabs button[aria-pressed=true]{background:#e8f2ff;color:#295b9e}.credit-ledger .workspace-table-wrap{margin-top:15px}.credit-ledger th,.credit-ledger td{font-size:14px;padding:7px 14px;line-height:1.5}.credit-ledger .ledger-paging{margin-top:10px}.credit-ledger>p{font-size:12px;margin-top:7px}
@media(min-width:761px) and (max-width:1250px){
 body[data-studio-route=welcome] .hero{height:410px;padding-left:0}body[data-studio-route=welcome] .hero h1{font-size:62px}body[data-studio-route=welcome] .hero-description{font-size:18px}body[data-studio-route=welcome] .hero-art{right:-48px;width:65%;height:498px}body[data-studio-route=welcome] .hero-art img{width:900px;height:450px;left:-60px;top:48px}.hero-art figcaption{display:none}body[data-studio-route=welcome] .hero-primary{min-width:170px;height:54px;font-size:20px}body[data-studio-route=welcome] .hero-listen{font-size:18px}body[data-studio-route=welcome] .experience{padding:24px}body[data-studio-route=welcome] .section-heading h2{font-size:32px}body[data-studio-route=welcome] .workflow{gap:16px}body[data-studio-route=welcome] .step-icon{width:58px;height:58px}body[data-studio-route=welcome] .workflow li{gap:14px}body[data-studio-route=welcome] .workflow h3{font-size:16px}body[data-studio-route=welcome] .workflow p{font-size:12px}
 .credit-package-option{padding-left:70px;padding-right:25px}.package-symbol{left:14px;top:27px;width:44px;height:44px}.package-symbol svg{width:27px;height:27px}.credit-package-option strong{font-size:23px}.credit-package-option>span:not(.package-symbol){font-size:15px}.credit-held{padding-left:25px}.credit-held .muted{max-width:240px;font-size:13px}.credit-art{width:32%;opacity:.6}
 .history-workspace{grid-template-columns:1fr}.history-master,.history-detail{min-height:0}.history-search{width:230px}
}
@media(max-width:760px){
 body[data-studio-route=welcome]>main{padding:0 18px 25px}body[data-studio-route=welcome] .public-nav{height:80px;padding:15px 20px}.public-brand{font-size:25px}.public-brand img{width:34px;height:42px}.public-start{min-height:40px;font-size:12px;padding:8px 13px}.public-account-actions{gap:6px}
 body[data-studio-route=welcome] .hero{height:auto;padding:18px 0 24px;display:flex}body[data-studio-route=welcome] .hero h1{font-size:43px;letter-spacing:-1.5px;line-height:1.28}body[data-studio-route=welcome] .hero-description{font-size:16px;white-space:normal;margin-top:15px}body[data-studio-route=welcome] .hero-art{position:relative;inset:auto;width:calc(100% + 36px);height:210px;margin:0 -18px;z-index:0}body[data-studio-route=welcome] .hero-art img{position:static;width:100%;height:100%;object-fit:cover;transform:none}.hero-art figcaption{display:none}body[data-studio-route=welcome] .hero-actions{display:block;margin-top:2px;width:100%}body[data-studio-route=welcome] .hero-primary,body[data-studio-route=welcome] .hero-listen,body[data-studio-route=welcome] .hero-note{display:none}
 body[data-studio-route=welcome] .experience{padding:20px 14px}body[data-studio-route=welcome] .section-heading h2{font-size:24px;letter-spacing:-.6px}body[data-studio-route=welcome] .experience-tabs{gap:25px;margin-bottom:10px}body[data-studio-route=welcome] .experience-tabs button{font-size:16px;padding:7px 8px}body[data-studio-route=welcome] .sample-layout{gap:0}body[data-studio-route=welcome] .sample-document,body[data-studio-route=welcome] .sample-sound{height:auto;min-height:0;padding:14px;border-radius:0}body[data-studio-route=welcome] .sample-document blockquote{font-size:14px}body[data-studio-route=welcome] .playback{margin-top:0;gap:16px}body[data-studio-route=welcome] .play-toggle{width:50px;height:50px}body[data-studio-route=welcome] .sample-bottom{margin-top:6px}.welcome-page .sample-cta{font-size:14px}body[data-studio-route=welcome] .workflow{padding:0;gap:12px;margin-top:20px}body[data-studio-route=welcome] .workflow li{gap:10px}body[data-studio-route=welcome] .step-icon{width:48px;height:48px}.welcome-page .step-icon svg{width:27px;height:27px}body[data-studio-route=welcome] .workflow h3{font-size:13px}.welcome-page .workflow p{font-size:11px}
 body:is([data-studio-route=history],[data-studio-route=credits])>main{padding:20px 15px 30px}body:is([data-studio-route=history],[data-studio-route=credits]) .page-heading{height:auto;min-height:115px;margin:0 0 20px;padding:0;display:block}body:is([data-studio-route=history],[data-studio-route=credits]) .page-heading h1{font-size:34px}body:is([data-studio-route=history],[data-studio-route=credits]) .page-heading>div:first-child:before{font-size:12px;margin-bottom:14px}body:is([data-studio-route=history],[data-studio-route=credits]) #page-description{font-size:15px}.history-search{position:static;width:100%;height:45px;margin-bottom:16px}.history-workspace{grid-template-columns:1fr}.history-master,.history-detail{padding:18px 15px;min-height:0}.history-master .tabs{gap:8px;margin-bottom:12px}.history-master .tabs button{font-size:13px;padding:5px}.history-master td{font-size:12px;height:76px}.history-master th{font-size:12px}.history-master .history-title{font-size:14px;max-width:155px}.history-detail .workspace-card-heading h2{font-size:23px}.history-detail .tabs button{font-size:15px}.history-document{font-size:15px!important}.history-result-placeholder{min-height:110px}.history-detail-actions .primary{font-size:16px;min-height:48px}
 .credit-balance{height:auto;min-height:154px;padding:22px;gap:20px}.credit-balance>div:first-child{min-width:0;width:45%}.credit-balance p{font-size:14px}.credit-balance strong{font-size:42px}.credit-held{padding-left:20px}.credit-held strong{font-size:35px}.credit-held .muted{font-size:11px}.credit-art{display:none}.credit-packages,.credit-ledger{padding:20px 16px}.credit-packages h2,.credit-ledger h2{font-size:22px}.credit-package-grid{grid-template-columns:1fr;gap:12px}.credit-package-option{min-height:110px;padding:14px 40px 14px 95px}.package-symbol{left:20px;top:22px;width:54px;height:54px}.credit-package-option strong{font-size:27px}.credit-package-option>span:not(.package-symbol){font-size:16px}.credit-purchase-actions button{font-size:15px}.credit-purchase-actions>span{font-size:11px}.credit-ledger .tabs{position:static;margin-top:14px;width:max-content;max-width:100%}.credit-ledger .tabs button{font-size:12px;padding:6px 10px}.credit-ledger th,.credit-ledger td{font-size:12px}.credit-ledger>p{font-size:11px}
}
/* Second visual pass: align section origins and keep real long titles bounded. */
@media(min-width:761px){
 body[data-studio-route=welcome] .hero{height:430px;padding-top:8px}
 body[data-studio-route=welcome] .hero h1{font-size:84px;line-height:1.2}
 body[data-studio-route=welcome] .hero-description{margin-top:12px}
 body[data-studio-route=welcome] .hero-art{top:-116px}
 body[data-studio-route=welcome] .hero-art img{width:1050px;height:525px;left:-80px;top:22px}
 body[data-studio-route=welcome] .workflow{margin-top:8px}
 body[data-studio-route=credits] .page-heading>div:first-child:before{margin-bottom:4px}
 body[data-studio-route=credits] #page-description{margin-top:5px;line-height:1.35}
 .history-detail .workspace-card-heading h2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .history-detail .workspace-card-heading{min-height:84px}
 .history-detail-actions{margin-top:18px;padding-top:18px}
 .history-detail #history-open{font-size:13px;min-height:38px}
}
@media(min-width:1251px){
 .credit-packages>p{position:absolute;left:220px;top:26px;margin:0;font-size:12px}
 .credit-packages h2{margin-bottom:16px}
 .credit-package-option{min-height:136px}
 .credit-purchase-actions{line-height:1.4}
 .credit-ledger th,.credit-ledger td{padding-block:5px}
}
@media(min-width:761px) and (max-width:1250px){body[data-studio-route=welcome] .hero h1{font-size:62px}body[data-studio-route=welcome] .hero-art img{width:900px;height:450px;left:-60px;top:48px}}
@media(min-width:1251px){
 body:is([data-studio-route=history],[data-studio-route=credits]) .sidebar nav>a,body:is([data-studio-route=history],[data-studio-route=credits]) .sidebar .nav-more-menu a{font-size:21px;gap:20px;min-height:49px;padding:9px 21px;font-weight:400}
 body:is([data-studio-route=history],[data-studio-route=credits]) .sidebar .brand-name{font-size:32px}
 .credit-art{width:50%}
 .credit-purchase-actions{margin-top:8px}
 .credit-purchase-actions button{margin:0}
 .credit-packages{padding-bottom:10px}
 .credit-ledger .tabs button{margin:0}
}
.credit-package-option{margin:0}
@media(max-width:760px){
 .history-master table{min-width:0;display:block}.history-master thead{display:none}.history-master tbody{display:block}.history-master tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:14px 10px;border-bottom:1px solid #e6edf6}.history-master tbody td{height:auto;border:0;padding:0;min-width:0}.history-master tbody td:first-child{grid-column:1;grid-row:1}.history-master tbody td:nth-child(2){grid-column:1;grid-row:2;font-size:11px;color:#7a8ea8}.history-master tbody td:nth-child(3){grid-column:2;grid-row:2;align-self:center}.history-master tbody td:last-child{grid-column:2;grid-row:1;align-self:center}.history-master .history-title{max-width:none;font-size:14px}.history-master .history-view{min-width:56px;min-height:38px;padding:6px 9px;font-size:12px}.history-master .history-status{font-size:11px}.history-master tbody td[colspan]{grid-column:1/-1;grid-row:auto;min-height:60px}
 body[data-studio-route=credits] .studio-heading-actions{justify-content:flex-start;margin-top:10px}body[data-studio-route=credits] #service-status{max-width:none;text-align:left;padding:0;line-height:1.4}
}
