/* Soft edges, monochrome label identity */
.panel,.metric,.cms-card,.auth-card,.permission-banner,.info-strip,.notice,.empty-state,.release-card{border-radius:20px}
.feature,.artist-card,.public-release-grid article,.help-cards a{border-radius:22px}
.btn,.button,.nav-cta,.share-button,.public-link-buttons a{border-radius:12px!important}
.field input,.field textarea,.field select,.link-import textarea{border-radius:10px!important;min-width:0;max-width:100%}
.sidebar nav a,.tabs a{border-radius:10px!important}.tabs{gap:10px}.detail-cover,.cover-preview,.release-cover,.public-release-cover,.artist-release-thumb{border-radius:16px;overflow:hidden}
.rich-editor,.link-import,.track-editor,.smart-release-info{border-radius:14px;overflow:hidden}.rich-editor .ql-toolbar{border-radius:14px 14px 0 0}
.workspace,.workspace .page-content,.editor-main,.detail-main,.cms-editor-form .editor-layout>div{min-width:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.fixed-alias{padding:12px 0 20px}.fixed-alias>span{display:block;font-size:11px;color:#aaa;margin-bottom:10px}.fixed-alias>strong{display:block;font-size:24px;overflow-wrap:anywhere}.fixed-alias p{margin-bottom:0}
.release-wizard{max-width:1100px;scroll-margin-top:25px}.release-wizard [hidden]{display:none!important}
.wizard-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:24px;position:relative}
.wizard-tabs button{display:flex;align-items:center;justify-content:flex-start;gap:12px;text-align:left;padding:16px;border:1px solid #373737;background:#111;color:#aaa;border-radius:14px!important;font-size:12px;cursor:pointer;min-width:0;transition:background .2s,border-color .2s}
.wizard-tabs button>span{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;border:1px solid #444;border-radius:50%;font-size:10px}
.wizard-tabs button[aria-selected="true"]{background:#ececec;color:#111;border-color:#eee;font-weight:750}.wizard-tabs button[aria-selected="true"]>span{border-color:#aaa}.wizard-tabs .is-complete{color:#ddd;border-color:#666}.wizard-panel{margin-bottom:20px;animation:tm-pane-in .2s ease-out}.wizard-panel>h2{font-size:27px;margin-bottom:28px}.wizard-panel>.eyebrow{margin-bottom:16px}
.release-kind-info{display:flex;align-items:center;gap:20px;border:1px solid #444;background:#191919;border-radius:14px;padding:20px;margin-top:26px}.release-kind-info>span{font-size:23px;font-weight:800;min-width:90px}.release-kind-info p{font-size:12px;line-height:1.8;color:#aaa;margin:0}
.author-editor{margin:8px 0 20px;min-width:0}.author-heading{margin-bottom:14px}.author-heading strong{display:block;font-size:12px}.author-heading small{display:block;font-size:10px;color:#999;margin-top:6px}.author-row{display:flex;gap:8px;align-items:center;margin-bottom:10px}.author-row .field{flex:1;margin:0;min-width:0}.author-row input{width:100%}.author-remove{flex-shrink:0;width:36px;height:38px;border:1px solid #454545;background:#191919;color:#ddd;border-radius:9px!important;cursor:pointer;font-size:20px}.author-remove:hover{background:#303030}.author-editor>.text-button,.feat-editor>.text-button{font-size:11px;margin-top:3px}.author-editor[hidden],[data-track-lyrics][hidden]{display:none!important}.track-editor{padding:24px;overflow:visible;margin-bottom:25px;background:#0b0b0b}.track-editor legend{font-size:12px;font-weight:700;padding:0 10px}.track-footer{gap:18px;flex-wrap:wrap}.track-lyrics{padding-top:18px}.track-lyrics p{line-height:1.85;font-size:13px;margin-top:16px}
.builder-artwork{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:center;margin:20px 0 30px}.builder-artwork .cover-preview{width:100%;margin:0;aspect-ratio:1}.feat-editor{padding:22px;border:1px solid #444;border-radius:14px;margin-bottom:25px}.feat-editor .field-help{margin-bottom:0}.wizard-summary{margin:25px 0;padding:22px;background:#191919;border:1px solid #444;border-radius:14px}.wizard-summary>p{font-size:12px;color:#aaa;line-height:1.8}.wizard-summary dl{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;font-size:12px}.wizard-summary dt{color:#999}.wizard-summary dd{margin:0;overflow-wrap:anywhere}.wizard-actions{justify-content:flex-end;background:#111;border:1px solid #444;padding:16px;border-radius:16px;margin-top:10px;gap:12px}.wizard-actions>a{margin-right:auto;font-size:12px}.wizard-actions .btn{font-size:11px}
@keyframes tm-pane-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.smart-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,420px);gap:28px;align-items:start}.smart-preview-wrap{position:sticky;top:30px;min-width:0}.smart-preview{border:1px solid #555;border-radius:24px;overflow:hidden;min-height:400px;max-width:100%;position:relative}.smart-preview .smart-shell{padding:25px 22px}.smart-preview .smart-brand{margin-bottom:22px}.smart-preview .smart-artwork{max-width:260px;margin:auto}.smart-preview .smart-info h2{font-size:28px;line-height:1.2;letter-spacing:-.04em;margin:12px 0 8px;overflow-wrap:anywhere}.smart-preview .smart-artist{font-size:14px}.smart-preview .smart-content{gap:20px}.smart-preview .smart-eyebrow{margin-top:22px;font-size:9px}.smart-preview .smart-platforms{margin:22px 0 0;gap:10px}.smart-platform-preview{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;font-size:12px;border:1px solid #555;background:#171717}.smart-platform-preview b{font-size:9px}.smart-preview[data-layout="split"] .smart-content{grid-template-columns:110px minmax(0,1fr);gap:15px}.smart-preview[data-layout="split"] .smart-artwork{align-self:start}.smart-preview[data-layout="split"] .smart-info h2{font-size:22px}.smart-preview[data-layout="split"] .smart-platform-preview{padding:13px 9px;font-size:10px}.smart-preview[data-layout="poster"] .smart-artwork{max-width:none}.color-field input{width:100%;height:48px;padding:6px;background:#161616}
.smart-design-surface{--smart-accent:#eee;--smart-background:none;background:#080808;background-repeat:no-repeat;position:relative}
.smart-design-surface[data-theme="acid"]{background-color:#141414}.smart-design-surface[data-theme="violet"]{background-color:#100c18}
.smart-design-surface[data-background="glow"]{--smart-background:radial-gradient(ellipse at 50% 0%,color-mix(in srgb,var(--smart-accent) 16%,transparent),transparent 65%);background-image:var(--smart-background)}
.smart-design-surface[data-background="solid"]{--smart-background:none;background-image:none}.smart-design-surface[data-background="artwork"]{--smart-background:radial-gradient(ellipse at 50% 0%,#5556,transparent 65%);background-image:var(--smart-background)}
/* Paint the public background once per viewport, independent of content height. */
.smart-page.smart-design-surface{min-height:100vh;min-height:100svh;min-height:100dvh;background-image:none;isolation:isolate}
.smart-page.smart-design-surface::before{content:'';position:fixed;inset:0;z-index:-3;pointer-events:none;background-color:inherit;background-image:var(--smart-background);background-repeat:no-repeat}
.smart-page .smart-backdrop{z-index:-2;background-repeat:no-repeat}
.smart-design-surface .smart-artwork{border-radius:22px;border-color:#ffffff30;box-shadow:0 24px 80px #0007}
.smart-design-surface .smart-eyebrow{color:var(--smart-accent);border-top:0;padding-top:0;letter-spacing:.2em}
.smart-design-surface .smart-platforms a,.smart-platform-preview{border-color:color-mix(in srgb,var(--smart-accent) 35%,#282828);border-radius:15px!important;min-height:64px;background:#1b1b1bd9;backdrop-filter:blur(8px)}
.smart-design-surface .smart-platforms a:hover{background:var(--smart-accent);color:#111;border-color:var(--smart-accent)}
.smart-design-surface[data-buttonstyle="pill"] .smart-platforms a,.smart-design-surface[data-buttonstyle="pill"] .smart-platform-preview{border-radius:40px!important}
.smart-design-surface[data-buttonstyle="outline"] .smart-platforms a,.smart-design-surface[data-buttonstyle="outline"] .smart-platform-preview{background:transparent;border-color:var(--smart-accent)}
.smart-design-surface .share-button{border-radius:14px!important;background:#161616ad}.smart-design-surface .smart-countdown{border-radius:15px;background:#171717ab;border-color:#ffffff30}.smart-content{display:grid;grid-template-columns:minmax(0,1fr)}.smart-info{min-width:0}.smart-design-surface[data-layout="split"] .smart-shell{max-width:1000px}.smart-design-surface[data-layout="split"] .smart-content{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center}.smart-design-surface[data-layout="split"] .smart-eyebrow{margin-top:0}.smart-design-surface[data-layout="poster"] .smart-shell{max-width:650px}.smart-design-surface[data-layout="poster"] .smart-info{text-align:center}.smart-design-surface[data-layout="poster"] .smart-platforms{text-align:left}.smart-design-surface .smart-platforms a .platform-label{display:flex;gap:13px;align-items:center;font-size:14px;min-width:0}.platform-icon{font-style:normal;font-size:16px;font-weight:800;width:32px;height:32px;background:#ffffff12;border:1px solid #ffffff18;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.smart-backdrop{position:fixed;inset:-50px;z-index:-1;pointer-events:none;background-size:cover;background-position:center;filter:blur(45px) brightness(.24);opacity:.9}.smart-page .smart-shell{position:relative;animation:tm-pane-in .4s ease-out}.smart-page .smart-info h1{font-size:clamp(30px,5vw,48px)}.smart-page .smart-brand{margin-bottom:36px}.smart-page .smart-platforms a{padding:17px 20px}.smart-page .smart-shell footer{line-height:1.8}
.smart-statistics{margin-top:28px}.smart-statistics .metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.smart-statistics .metric{padding:22px}.smart-statistics .metric:first-child{border-top:1px solid #555}.smart-statistics .metric strong{font-size:30px}.platform-stat-bars{display:grid;gap:16px;padding:15px 0 25px}.platform-stat-bars>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;font-size:12px}.platform-stat-bars i{grid-column:1/-1;position:relative;height:5px;background:#292929;border-radius:10px;overflow:hidden}.platform-stat-bars i:before{content:'';position:absolute;inset:0 auto 0 0;width:var(--bar-width);background:#ddd;border-radius:10px}.daily-smart-stats summary{cursor:pointer;font-size:12px}.mini-smart-stats{display:flex;gap:20px;font-size:11px;margin-top:18px;color:#999}.mini-smart-stats b{color:#ddd;font-size:16px;display:block;margin-bottom:6px}.release-smart-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 0;border-top:1px solid #333}.release-smart-row>div{min-width:0}.release-smart-row strong{font-size:12px}.release-smart-row .share-url{margin:10px 0 0}.release-smart-row .btn{flex-shrink:0;font-size:10px}
@media(max-width:1100px){.wizard-tabs button{padding:13px 10px;gap:8px;font-size:10px}.smart-editor-layout{grid-template-columns:1fr}.smart-preview-wrap{position:static;max-width:520px;width:100%;margin:0 auto}.smart-preview[data-layout="split"] .smart-content{grid-template-columns:150px minmax(0,1fr)}}
@media(max-width:700px){.wizard-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.wizard-tabs button{font-size:11px;min-height:64px}.wizard-panel>h2{font-size:23px}.builder-artwork{grid-template-columns:1fr;gap:20px}.builder-artwork .cover-preview{max-width:220px}.release-kind-info{align-items:flex-start;flex-direction:column;gap:10px}.wizard-summary dl{grid-template-columns:1fr;gap:8px}.wizard-summary dd{margin-bottom:8px}.wizard-actions{flex-wrap:wrap;padding:14px}.wizard-actions>a{order:-1;width:100%;margin:0}.wizard-actions .btn{flex:1;white-space:normal;padding:13px 10px}.track-editor{padding:18px}.smart-design-surface[data-layout="split"] .smart-content{grid-template-columns:1fr;gap:22px}.smart-design-surface[data-layout="split"] .smart-artwork{max-width:450px;margin:auto;width:100%}.smart-design-surface[data-layout="split"] .smart-eyebrow{margin-top:14px}.smart-statistics .metrics{grid-template-columns:1fr}.smart-statistics .metric{display:grid;grid-template-columns:1fr auto;align-items:center}.smart-statistics .metric strong{font-size:26px}.release-smart-row{align-items:flex-start;flex-direction:column}.smart-preview[data-layout="split"] .smart-content{grid-template-columns:100px minmax(0,1fr)}.smart-preview .smart-shell{padding:20px 16px}.smart-preview[data-layout="split"] .smart-info h2{font-size:20px}.smart-page .smart-shell{padding:25px 20px 40px}}
@media(max-width:380px){.wizard-tabs button{gap:7px;font-size:10px;padding:10px}.wizard-tabs button>span{width:24px;height:24px}.smart-preview[data-layout="split"] .smart-content{grid-template-columns:1fr}.smart-design-surface .smart-platforms a .platform-label{gap:8px;font-size:12px}.smart-page .smart-platforms a{padding:15px}.platform-icon{width:27px;height:27px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.wizard-panel,.smart-page .smart-shell{animation:none}}
