:root{--bg:#f5f4f8;--surface:#fff;--ink:#20212e;--muted:#6c6e80;--line:#e7e6ed;--nav:#191b27;--navmuted:#a9abbe;--accent:#6354c8;--accent-bg:#efedfc;--lime:#daf397;--danger:#b84050;--green:#34735a;--shadow:0 12px 40px #25213708;--radius:16px;--player-h:88px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:14px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button{color:inherit}button,a,input,textarea,select,summary{outline-offset:4px} :focus-visible{outline:3px solid #8b78eb}svg{height:20px;width:20px;flex-shrink:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}a{color:var(--accent)}[hidden]{display:none!important}.skip-link{position:fixed;top:-100px;left:20px;z-index:2000;background:white;padding:16px}.skip-link:focus{top:10px}.boot{padding:40px;color:var(--muted)}h1,h2,h3,p{margin-top:0}h1{font-size:32px;line-height:1.2;letter-spacing:-1.15px;margin-bottom:9px;font-weight:650}h2{font-size:20px;letter-spacing:-.4px;font-weight:650}h3{font-size:16px;line-height:1.4}p{line-height:1.6}.subtle{color:var(--muted);line-height:1.6}.small{font-size:12px}.eyebrow{text-transform:uppercase;letter-spacing:1.8px;font-weight:650;font-size:10px}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:grid;gap:16px}.grow{flex:1;min-width:0}.spacer{height:12px}.divider{height:1px;background:var(--line);margin:22px 0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--line);border-radius:10px;background:white;min-height:44px;padding:10px 16px;font-weight:600;font-size:13px;white-space:nowrap;text-decoration:none;transition:background .16s,transform .16s,border-color .16s}.btn:hover{background:#f4f3f9;border-color:#c8c5d6}.btn.primary{background:var(--accent);border-color:var(--accent);color:white;box-shadow:0 3px 10px #6354c81d}.btn.primary:hover{background:#5243b4}.btn.lime{background:var(--lime);border-color:var(--lime);color:#263525}.btn.dark{background:#262838;color:white;border-color:#262838}.btn.danger{color:var(--danger);background:#fff5f5;border-color:#f2d8dc}.btn.ghost{background:transparent;border-color:transparent}.btn.block{width:100%}.btn svg{height:17px;width:17px}.icon-btn{width:44px;height:44px;display:inline-flex;justify-content:center;align-items:center;background:transparent;border:0;border-radius:10px;flex-shrink:0}.icon-btn:hover{background:#efedf6}.help{width:32px;height:32px;min-width:32px;display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:#79778c;vertical-align:middle;border-radius:50%}.help svg{width:17px;height:17px}.help:hover{color:var(--accent);background:var(--accent-bg)}.badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:650;border-radius:6px;padding:4px 7px;letter-spacing:.25px;color:var(--accent);background:var(--accent-bg);white-space:nowrap}.badge.green{background:#e9f4ee;color:#367057}.badge.amber{background:#fff3df;color:#93661c}.badge.muted{background:#eeedf2;color:#68677b}.badge.danger{background:#fceced;color:#b24553}.dot{height:6px;width:6px;border-radius:50%;background:#a4d684;display:inline-block}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Studio shell */
.sidebar{width:224px;position:fixed;inset:0 auto 0 0;background:var(--nav);color:#eeeef5;padding:30px 18px 22px;display:flex;flex-direction:column;z-index:40}.brand{display:flex;align-items:center;gap:11px;padding:0 12px}.brandmark{width:34px;height:34px;color:var(--lime);display:flex;align-items:center;justify-content:center;gap:3px}.brandmark i{background:currentColor;width:4px;border-radius:5px;display:block}.brandmark i:nth-child(1){height:13px}.brandmark i:nth-child(2){height:25px}.brandmark i:nth-child(3){height:33px}.brandmark i:nth-child(4){height:19px}.brand strong{font-size:22px;letter-spacing:3px;font-weight:700}.brand small{display:block;color:#999dad;text-transform:uppercase;font-size:8px;letter-spacing:2px;margin-top:1px}.nav-label{font-size:9px;letter-spacing:1.7px;color:#9396aa;margin:37px 15px 13px}.nav-button{display:flex;width:100%;align-items:center;gap:12px;min-height:47px;border:0;border-radius:9px;padding:12px 14px;margin-bottom:5px;color:#b6b9ca;background:transparent;font-size:13px;text-align:left}.nav-button:hover{background:#252838;color:white}.nav-button.active{background:#323347;color:#f6f4ff}.nav-button.active svg{color:#c1b6ff}.nav-button svg{width:19px;height:19px}.nav-count{margin-left:auto;background:#464660;min-width:20px;height:20px;border-radius:5px;display:grid;place-items:center;font-size:11px}.sidebar-bottom{margin-top:auto}.engine-card{margin:20px 3px;padding:14px;border:1px solid #343747;border-radius:12px;background:#222532}.engine-card .eyebrow{font-size:9px;color:#c7c9d8;letter-spacing:1px}.engine-card p{color:#999daf;font-size:11px;line-height:1.5;margin:8px 0}.engine-card .badge{color:#c4baef;background:#35314b;font-size:9px}.profile-button{display:flex;gap:10px;align-items:center;width:100%;background:transparent;border:0;border-top:1px solid #303341;color:#ececf3;padding:19px 10px 0;text-align:left}.avatar{width:34px;height:34px;border-radius:50%;background:#dfdcf1;color:#51447b;display:grid;place-items:center;font-size:11px;font-weight:700;flex-shrink:0}.profile-button small{display:block;color:#9fa2b5;margin-top:4px;font-size:10px}.workspace{margin-left:224px;padding-bottom:32px}.topbar{height:76px;background:#f5f4f8d9;border-bottom:1px solid var(--line);padding:0 40px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:30;backdrop-filter:blur(16px)}.breadcrumb{color:var(--muted);font-size:12px;display:flex;align-items:center;gap:9px}.breadcrumb svg{width:14px;height:14px}.breadcrumb b{color:#414051;font-weight:500}.top-actions{display:flex;align-items:center;gap:15px}.status-chip{color:#5a5e6d;font-size:11px;display:flex;align-items:center;gap:7px}.preview-chip{background:#ede9fa;color:#615386;border:1px solid #dfd7f3;border-radius:7px;padding:5px 8px;font-size:10px;cursor:pointer}.mobile-header,.bottom-nav{display:none}main{max-width:1320px;margin:auto;padding:36px 40px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:27px}.page-heading p{font-size:13px;margin:0}.page-heading h1{margin-bottom:6px}.title-line{display:flex;align-items:center;gap:10px}.title-line h1{margin:0}.hero{display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative;background:#25253b;border-radius:18px;min-height:182px;padding:28px 32px;color:#f2f1ff;margin-bottom:31px}.hero-copy{position:relative;z-index:2;max-width:62%}.hero .eyebrow{color:#c5bbf0;font-size:9px;letter-spacing:1.7px}.hero h2{font-size:26px;line-height:1.25;letter-spacing:-.8px;margin:11px 0}.hero p{font-size:12px;color:#b6b5c9;margin-bottom:16px}.hero .btn{font-size:12px;min-height:39px;padding:8px 14px}.hero-art{width:260px;height:220px;position:absolute;right:36px;top:-17px;transform:rotate(-14deg);display:flex;align-items:center;justify-content:center;gap:5px;mask-image:linear-gradient(90deg,transparent,black 25%,black 85%,transparent)}.hero-art i{width:6px;background:linear-gradient(#bcb4ef,#8274d3 52%,#484267);border-radius:12px;opacity:.85;box-shadow:0 0 16px #b4a1ee10}.hero::after{content:'';width:330px;height:330px;position:absolute;right:0;top:-65px;border-radius:50%;background:radial-gradient(ellipse,#9c78c01e,transparent 70%)}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}.tabs{display:flex;gap:5px}.tab{padding:9px 13px;background:transparent;border:0;color:#727181;border-radius:8px;font-size:12px;min-height:40px;font-weight:600}.tab.active{background:#e7e3f5;color:#5c4cb3}.tab-count{margin-left:6px;font-size:10px;opacity:.7}.search{display:flex;align-items:center;gap:8px;background:white;border:1px solid var(--line);border-radius:9px;height:40px;padding:0 12px;width:224px;color:#9291a1}.search svg{width:16px;height:16px}.search input{border:0;outline:0;width:100%;font-size:12px;min-width:0;background:transparent;color:var(--ink)}.select-plain{border:0;background:transparent;color:#666578;font-size:12px;height:40px;max-width:140px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.project-card{border:1px solid var(--line);border-radius:14px;background:white;overflow:hidden;transition:transform .2s,box-shadow .2s;box-shadow:0 2px 5px #15152602}.project-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.art{position:relative;overflow:hidden;background:var(--art-bg);color:var(--art-fg);isolation:isolate}.art.violet{--art-bg:#d5c8eb;--art-fg:#705989}.art.amber{--art-bg:#eacaaf;--art-fg:#a77358}.art.mint{--art-bg:#b6d1c5;--art-fg:#4a7a6c}.art.blue{--art-bg:#bbcddd;--art-fg:#58769b}.art.rose{--art-bg:#dfb6c6;--art-fg:#a4657d}.card-art{height:150px;display:block;width:100%;border:0;text-align:left;padding:22px}.art::before{content:'';width:240px;height:240px;border:1px solid currentColor;border-radius:50%;position:absolute;right:-78px;top:-40px;box-shadow:0 0 0 15px #ffffff0e,0 0 0 16px currentColor,0 0 0 31px #ffffff0d,0 0 0 32px currentColor,0 0 0 47px #ffffff0d,0 0 0 48px currentColor,0 0 0 63px #ffffff0d,0 0 0 64px currentColor;opacity:.38;z-index:-1;transform:rotate(-25deg) scaleY(.78)}.art::after{content:'';background:linear-gradient(115deg,#ffffff30,transparent 75%);position:absolute;inset:0;z-index:-1}.art-word{font-size:27px;font-weight:600;letter-spacing:-1.4px;line-height:1.12;max-width:180px;color:currentColor}.art-tag{font-size:8px;letter-spacing:2px;text-transform:uppercase;position:absolute;bottom:17px;left:22px;font-weight:650}.card-art .card-play{position:absolute;right:17px;bottom:16px;display:grid;place-items:center;height:30px;width:30px;border:1px solid #ffffff65;border-radius:50%;background:#ffffff3b}.project-body{padding:16px 18px 14px}.project-title{background:none;border:0;text-align:left;font-size:14px;font-weight:650;line-height:1.4;padding:0;max-width:calc(100% - 28px)}.project-menu{width:30px;height:32px}.project-body .subtle{font-size:11px;margin:4px 0 15px}.card-foot{border-top:1px solid #f0eef5;display:flex;align-items:center;justify-content:space-between;padding-top:11px;font-size:10px;color:#82808f}.favourite-star{color:#c29844}.new-card{min-height:272px;border:1px dashed #cbc7d9;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;background:#f0eef64f;color:#807895;padding:22px}.new-card span{font-size:12px}.new-card .plus-circle{width:38px;height:38px;border-radius:50%;background:#e7e2f3;display:grid;place-items:center;color:var(--accent)}.new-card small{font-size:11px;color:var(--muted);text-align:center;line-height:1.5}.below-note{display:flex;align-items:center;gap:7px;margin-top:24px;color:#827f92;font-size:10px}.below-note svg{width:13px;height:13px}.empty{padding:60px 20px;text-align:center;border:1px dashed #d5d1e1;border-radius:18px;background:#ffffff66}.empty svg{width:32px;height:32px;color:#a89cc7}.empty h2{margin:18px 0 7px}.empty p{max-width:370px;margin:0 auto 20px;color:var(--muted);font-size:13px}.notice{padding:12px 15px;border-radius:11px;border:1px solid #e5e0ef;background:#f0edf7;color:#695d83;font-size:12px;line-height:1.6;display:flex;align-items:flex-start;gap:10px}.notice svg{margin-top:2px;width:17px;height:17px}.notice.warning{background:#fff7e8;color:#876326;border-color:#f1e3c5}.notice.success{background:#edf6f0;color:#357154;border-color:#d7e9dd}.notice.danger{background:#fff0f0;color:#a54050;border-color:#efd3d8}.section-label{font-size:12px;font-weight:650;margin:0}.inline-error{font-size:12px;color:var(--danger);margin:8px 0;line-height:1.6}
/* Project room */
.project-header{display:flex;align-items:center;gap:20px;margin-bottom:26px}.mini-art{width:84px;height:84px;border-radius:13px;flex-shrink:0;display:grid;place-items:center}.mini-art svg{width:32px;height:32px;opacity:.9}.project-header h1{font-size:29px}.project-header p{margin:0;font-size:12px}.project-header .right{margin-left:auto;display:flex;gap:8px}.room-tabs{border-bottom:1px solid var(--line);margin-bottom:24px;display:flex;gap:26px}.room-tab{min-height:48px;padding:11px 0;background:none;border:0;border-bottom:2px solid transparent;color:#7f7b8d;font-size:13px;font-weight:600}.room-tab.active{border-color:var(--accent);color:var(--accent)}.room-tab small{font-size:10px;background:#e9e6ef;border-radius:4px;margin-left:7px;padding:3px 5px}.room-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px}.panel{background:white;border:1px solid var(--line);border-radius:15px;padding:23px}.panel h2{font-size:17px;margin-bottom:8px}.panel .subtle{font-size:12px}.versions-heading{margin-bottom:16px}.version{border:1px solid var(--line);background:white;border-radius:13px;padding:17px 18px;margin-bottom:13px}.version.selected{border-color:#beb3e8;box-shadow:0 0 0 1px #dad3f64d}.version-top{display:flex;gap:13px;align-items:center}.version-icon{height:40px;width:40px;border-radius:10px;background:#f0edf9;color:#8b78b5;display:grid;place-items:center}.version h3{margin:0 0 4px;font-size:13px}.version p{font-size:11px;color:var(--muted);margin:0}.version-actions{display:flex;align-items:center;gap:6px;margin-top:14px;padding-top:13px;border-top:1px solid #f0eef4;flex-wrap:wrap}.version-actions .btn{font-size:11px;padding:7px 10px;min-height:37px;gap:6px}.version-actions .btn svg{height:15px;width:15px}.version .version-top>.icon-btn{width:34px;height:36px}.source-link{color:#73678c;font-size:10px;margin-top:8px;display:block}.side-guide .eyebrow{color:#847993;margin-bottom:18px}.guide-step{display:flex;align-items:flex-start;gap:10px;margin-bottom:19px}.step-number{width:25px;height:25px;border-radius:8px;background:#eeebf6;color:#8674a6;display:grid;place-items:center;font-size:10px;flex-shrink:0}.guide-step b{display:block;font-size:12px;margin-bottom:3px}.guide-step p{font-size:11px;color:var(--muted);line-height:1.6;margin:0}.side-note{border-top:1px solid var(--line);padding-top:17px;font-size:11px;color:var(--muted);line-height:1.7}.side-note svg{height:14px;width:14px;margin-right:4px}.composer{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}.field{display:block;margin-bottom:17px}.field-label{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:600;margin-bottom:7px}.field input,.field textarea,.field select,input.control,select.control{width:100%;background:#fbfafd;border:1px solid #dedce7;border-radius:9px;padding:11px 12px;min-height:44px;color:var(--ink);font-size:13px}.field textarea{min-height:110px;resize:vertical;line-height:1.8}.field textarea.lyrics{min-height:280px;font-size:13px;line-height:1.85}.field small{display:block;font-size:10px;color:var(--muted);margin-top:6px;line-height:1.5}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.three-fields{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}.toggle-row{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin:16px 0;gap:14px;min-height:44px}.switch{position:relative;display:inline-block;width:36px;height:22px;flex-shrink:0}.switch input{opacity:0;position:absolute;width:100%;height:100%;margin:0;cursor:pointer;z-index:1}.switch span{background:#c9c6d4;position:absolute;inset:0;border-radius:15px;pointer-events:none}.switch span:before{content:'';background:white;width:16px;height:16px;border-radius:50%;position:absolute;top:3px;left:3px;transition:transform .15s}.switch input:checked+span{background:var(--accent)}.switch input:checked+span:before{transform:translateX(14px)}.switch input:focus-visible+span{outline:3px solid #aa94f0;outline-offset:3px}.save-status{font-size:10px;color:var(--green);display:flex;align-items:center;gap:5px;min-height:20px}.save-status.unsaved{color:#9c6a30}.save-status.error{color:var(--danger)}.save-status svg{width:12px;height:12px}details{border:1px solid var(--line);border-radius:10px;margin:15px 0;background:#fcfbfe}summary{padding:13px 14px;font-size:12px;font-weight:600;cursor:pointer;min-height:44px;color:#696078}details>.details-body{padding:4px 15px 1px}.generation-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.choice{position:relative;text-align:left;border:1px solid var(--line);padding:13px 12px;background:white;border-radius:10px}.choice.active{border-color:#a694de;background:#f7f4ff}.choice b{font-size:12px;display:block;margin:8px 0 4px}.choice p{font-size:10px;margin:0;color:var(--muted);line-height:1.5}.choice svg{width:19px;height:19px;color:var(--accent)}.estimate{padding:12px 0 18px;font-size:12px;color:#776e84;display:flex;gap:9px;align-items:flex-start}.estimate small{display:block;font-size:10px;line-height:1.6;margin-top:4px;color:#858191}.tools-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.tool-card{background:white;border:1px solid var(--line);border-radius:14px;padding:22px;display:flex;flex-direction:column;align-items:flex-start}.tool-card>.icon-wrap{height:42px;width:42px;border-radius:10px;background:#ece8f9;color:#7d69b6;display:grid;place-items:center;margin-bottom:18px}.tool-card h3{margin-bottom:8px}.tool-card p{font-size:12px;line-height:1.7;color:var(--muted);flex:1}.tool-card .btn{width:100%;margin-top:10px;font-size:12px}.wave{display:flex;align-items:center;justify-content:space-between;height:90px;gap:2px;border:1px solid #e7e1f1;border-radius:11px;background:#f6f3fc;padding:12px 15px;position:relative;overflow:hidden}.wave i{display:block;flex:1;max-width:5px;background:#ae9bcf;border-radius:4px}.wave-region{position:absolute;inset:0;background:#8a65d326;border-left:2px solid #8b65cc;border-right:2px solid #8b65cc;pointer-events:none}.wave-note{font-size:10px;color:#867b96;margin:6px 0 17px}.source-summary{display:flex;align-items:center;gap:12px;padding:13px;background:#f5f2fa;border:1px solid #e9e1f2;border-radius:10px;margin-bottom:20px}.source-summary b{font-size:13px}.source-summary small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.source-summary .version-icon{background:white}.progress-bar{height:5px;border-radius:8px;background:#eeebf7;overflow:hidden;margin:14px 0}.progress-bar span{height:100%;display:block;background:#8b78c6;border-radius:8px;transition:width .6s}.jobs-grid{display:grid;gap:14px}.job-card{border:1px solid var(--line);padding:20px;background:white;border-radius:13px}.job-card h3{font-size:14px;margin:0}.job-card .job-time{font-size:11px;color:var(--muted)}.job-card small{font-size:11px;color:var(--muted)}.job-footer{display:flex;justify-content:space-between;align-items:center}.queue-notice{margin-bottom:22px}.user-table{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:white}.user-row{display:grid;grid-template-columns:1.3fr .8fr .6fr 1fr;gap:16px;align-items:center;padding:17px 22px;border-bottom:1px solid #edeaf2;font-size:12px}.user-row:last-child{border:0}.user-row.header{background:#faf9fc;color:#85808f;font-size:10px;text-transform:uppercase;letter-spacing:1px}.user-actions{display:flex;justify-content:flex-end}.user-actions .btn{font-size:11px;padding:7px 10px;min-height:36px}.admin-banner{display:flex;gap:14px;background:#eeebf7;border-radius:12px;padding:18px 21px;margin-bottom:24px}.admin-banner p{margin:0;font-size:12px;color:#706681}.admin-banner svg{color:#7d6eac}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:22px 0}.stat{padding:18px;background:white;border:1px solid var(--line);border-radius:12px}.stat b{display:block;font-size:23px;margin-bottom:5px}.stat span{font-size:11px;color:var(--muted)}
/* Modal and playback */
dialog{border:1px solid #ded8ea;border-radius:19px;box-shadow:0 35px 120px #1811264a;padding:0;width:min(520px,calc(100vw - 32px));max-height:90dvh;background:white;color:var(--ink);overflow:auto}dialog::backdrop{background:#14112178;backdrop-filter:blur(4px)}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:20px 24px 13px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:20px;margin:0}.modal-head .icon-btn{margin-right:-10px}.modal-body{padding:22px 24px}.modal-body p{font-size:13px;color:var(--muted)}.modal-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.modal-footer .btn{min-width:90px}.modal-footer.spread{justify-content:space-between}.color-picker{display:flex;gap:12px;margin:10px 0 22px}.color-choice{height:35px;width:35px;border-radius:50%;border:3px solid white;outline:1px solid #dcd7e5;background:var(--art-bg)}.color-choice.active{outline:2px solid var(--accent)}.format-option{width:100%;border:1px solid var(--line);background:white;border-radius:12px;padding:15px;display:flex;align-items:center;text-align:left;gap:13px;margin-bottom:11px}.format-option:hover{border-color:#c5b2df;background:#fcfaff}.format-option b{display:block;font-size:13px}.format-option small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.format-option svg{color:var(--accent)}.checkline{display:flex;gap:12px;align-items:flex-start;font-size:13px;color:#645c72;line-height:1.6;padding:12px 0}.checkline input{margin-top:4px;width:18px;height:18px;accent-color:var(--accent)}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,18px);background:#252536;color:white;border-radius:11px;padding:13px 20px;box-shadow:0 8px 30px #12122524;z-index:250;max-width:calc(100vw - 30px);font-size:12px;line-height:1.5;opacity:0;pointer-events:none;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}body.has-player #toast{bottom:110px}#player{position:fixed;bottom:0;left:224px;right:0;height:var(--player-h);background:#fff;border-top:1px solid #dfdae9;box-shadow:0 -8px 25px #19132705;padding:14px 32px;display:flex;align-items:center;gap:25px;z-index:50}body.has-player .workspace{padding-bottom:calc(var(--player-h) + 24px)}.player-meta{display:flex;align-items:center;gap:11px;min-width:210px;max-width:260px}.player-art{width:45px;height:45px;border-radius:9px;display:grid;place-items:center;flex-shrink:0}.player-meta b{font-size:12px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:190px}.player-meta small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.play-control{height:37px;width:37px;background:#262437;border:0;border-radius:50%;display:grid;place-items:center;color:white;flex-shrink:0}.play-control svg{height:18px;width:18px}.seek-row{display:flex;align-items:center;gap:12px;flex:1;min-width:70px}.seek-row input{flex:1;min-width:30px;accent-color:var(--accent);height:4px}.seek-row span{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}.player-note{font-size:9px;color:#807b8c;display:flex;align-items:center;gap:6px}.player-controls{display:flex;align-items:center;gap:9px}.player-controls .icon-btn{width:36px;height:36px}
/* Authentication */
.auth{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.auth-art{background:#1d1e2d;color:#eceaf6;padding:50px 60px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative}.auth-art .brand{padding:0;z-index:2}.auth-orbit{position:absolute;width:480px;height:480px;border:1px solid #7e72a83d;border-radius:50%;right:-10px;top:80px;box-shadow:0 0 0 40px #7e72a812,0 0 0 41px #7e72a830,0 0 0 80px #7e72a80b,0 0 0 81px #7e72a826,0 0 0 120px #7e72a807,0 0 0 121px #7e72a81f;transform:rotate(-20deg) scaleY(.72)}.auth-signal{position:absolute;right:80px;top:130px;display:flex;align-items:center;gap:7px;height:300px;transform:rotate(-15deg)}.auth-signal i{width:7px;border-radius:8px;background:linear-gradient(#c5b1f5,#7464b0)}.auth-message{position:relative;margin:260px 0 45px;max-width:380px}.auth-message h1{font-size:44px;font-weight:500;line-height:1.18;letter-spacing:-1.5px}.auth-message em{font-style:normal;color:#c7b9ef}.auth-message p{font-size:13px;color:#a4a5bb;max-width:300px;margin-top:22px}.auth-footer{font-size:10px;color:#9695ab;display:flex;align-items:center;gap:7px}.auth-form-side{display:flex;align-items:center;justify-content:center;padding:45px}.auth-form{width:100%;max-width:355px}.auth-form h1{font-size:30px;margin:14px 0 8px}.auth-form>.subtle{font-size:13px;margin-bottom:29px}.auth-form .field{margin:18px 0}.auth-form .field input{background:white;height:48px}.auth-form .btn.block{margin-top:10px;height:46px}.auth-form .auth-switch{font-size:12px;color:var(--muted);text-align:center;margin:19px 0}.auth-switch button{border:0;color:var(--accent);background:none;font-size:12px;text-decoration:underline}.preview-access{padding:17px;background:#eeebf7;border:1px solid #e3dcf0;border-radius:12px;margin-top:25px}.preview-access p{font-size:11px;color:#746987;margin:0 0 11px;line-height:1.6}.preview-access .row{gap:8px}.preview-access .btn{flex:1;min-height:39px;font-size:11px;padding:8px 10px}.auth-privacy{margin-top:24px;font-size:10px;color:#96909f;line-height:1.7;display:flex;gap:7px}.auth-privacy svg{height:14px;width:14px}.password-wrap{position:relative}.password-wrap input{padding-right:65px}.password-wrap button{position:absolute;right:7px;top:5px;min-height:38px;padding:6px 9px;border:0;background:transparent;font-size:11px;color:var(--accent)}.color-picker .art:before,.color-picker .art:after{display:none}
@media(min-width:1500px){main{padding-top:44px}.hero{min-height:195px}.project-grid{gap:26px}.card-art{height:177px}}
@media(max-width:1150px){.sidebar{width:196px;padding-left:13px;padding-right:13px}.workspace{margin-left:196px}main{padding:28px}.topbar{padding:0 28px}#player{left:196px;padding:13px 23px;gap:15px}.room-layout{grid-template-columns:minmax(0,1fr) 230px}.project-grid{gap:16px}.player-note{display:none}.hero-art{right:15px}.card-art{height:137px}.art-word{font-size:24px}.tools-grid{gap:13px}.tool-card{padding:18px}}
@media(max-width:940px){.project-grid{grid-template-columns:repeat(2,1fr)}.room-layout{grid-template-columns:1fr}.side-guide{display:none}.composer{grid-template-columns:1fr}.tools-grid{grid-template-columns:1fr 1fr}.auth-art{padding:38px}.auth-message h1{font-size:36px}.auth-form-side{padding:30px}.settings-grid{grid-template-columns:1fr}.hero-art{opacity:.7;right:-25px}.hero-copy{max-width:75%}.user-row{grid-template-columns:1.3fr .7fr 1fr}.user-row>.user-status{display:none}.project-header .right .btn{padding:10px}.player-meta{min-width:160px;max-width:200px}.player-meta b{max-width:140px}}
@media(max-width:720px){:root{font-size:14px;--player-h:76px}.sidebar,.topbar{display:none}.workspace{margin-left:0;padding-bottom:90px}.mobile-header{display:flex;position:sticky;top:0;height:68px;align-items:center;justify-content:space-between;background:#191b27;color:#eeeef6;padding:0 18px;z-index:50}.mobile-header .brand{padding:0;gap:7px}.mobile-header .brandmark{transform:scale(.78);transform-origin:left center;width:27px}.mobile-header .brand strong{font-size:18px;letter-spacing:2px}.mobile-header .brand small{font-size:7px;letter-spacing:1.5px}.mobile-header .preview-chip{background:#302c43;color:#d0c4f0;border-color:#504260;font-size:9px}.mobile-header .avatar{width:31px;height:31px;font-size:10px}.mobile-header .icon-btn{color:white}.bottom-nav{height:65px;padding-bottom:env(safe-area-inset-bottom,0px);position:fixed;bottom:0;left:0;right:0;background:#fff;display:flex;align-items:center;justify-content:space-around;z-index:60;border-top:1px solid var(--line)}.bottom-nav button{background:none;border:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;color:#8d879b;font-size:9px;min-width:60px;min-height:51px;border-radius:8px}.bottom-nav button.active{color:var(--accent)}.bottom-nav button svg{height:20px;width:20px}main{padding:25px 19px;max-width:600px}h1{font-size:28px}.page-heading{margin-bottom:23px;gap:10px}.page-heading p{font-size:11px;max-width:225px}.page-heading .btn{font-size:11px;padding:9px 12px;min-height:42px}.page-heading .btn svg{width:15px;height:15px}.hero{padding:24px 21px;min-height:179px;margin-bottom:25px;border-radius:14px}.hero-copy{max-width:86%}.hero h2{font-size:24px;max-width:215px;letter-spacing:-.6px}.hero p{font-size:11px;max-width:195px;margin-bottom:13px}.hero-art{right:-94px;top:-10px;opacity:.5;width:245px}.hero .btn{min-height:38px;font-size:11px}.hero .eyebrow{font-size:8px}.toolbar{flex-wrap:wrap;margin-bottom:18px;gap:11px}.toolbar>.row{width:100%;justify-content:space-between;gap:9px}.toolbar .search{flex:1;width:auto;height:42px}.select-plain{font-size:11px;max-width:130px}.tab{padding:10px 12px;font-size:11px}.project-grid{gap:13px}.card-art{height:125px;padding:16px}.art-word{font-size:24px;max-width:130px;letter-spacing:-1px}.art-tag{left:16px;bottom:15px;font-size:7px;letter-spacing:1.3px}.card-art .card-play{width:24px;height:24px;right:11px;bottom:12px}.card-art .card-play svg{width:12px;height:12px}.project-body{padding:13px 12px 11px}.project-title{font-size:12px;max-width:calc(100% - 25px)}.project-menu{width:26px;height:32px}.project-body .subtle{font-size:10px;margin-top:3px;margin-bottom:11px}.card-foot{font-size:9px;gap:5px}.card-foot .badge{font-size:8px;padding:3px 5px}.new-card{min-height:230px;padding:12px}.new-card small{font-size:10px}.below-note{font-size:10px;line-height:1.5;align-items:flex-start;margin-top:21px}.project-header{gap:13px;flex-wrap:wrap;margin-bottom:16px}.mini-art{width:61px;height:61px;border-radius:11px}.project-header h1{font-size:23px;letter-spacing:-.7px;margin-bottom:5px}.project-header p{font-size:10px}.project-header .right{gap:1px}.project-header .right .btn{display:none}.project-header .right .icon-btn{width:35px}.room-tabs{gap:24px;margin-bottom:20px}.room-tab{font-size:12px;min-height:45px}.room-tab small{margin-left:4px}.panel{padding:18px;border-radius:13px}.versions-heading .btn{font-size:10px;padding:9px 10px}.versions-heading h2{font-size:17px}.version{padding:14px 13px}.version-top{gap:10px}.version-icon{height:35px;width:35px;border-radius:9px}.version h3{font-size:12px}.version p{font-size:10px}.version-actions{gap:6px;margin-top:12px;padding-top:11px}.version-actions .btn{min-height:40px;padding:8px 10px;font-size:10px;flex:1;gap:5px}.version-actions .btn svg{width:14px;height:14px}.version-actions .btn.improve{flex:1.7}.version .version-top>.icon-btn{height:32px;width:30px}.version-top .badge{font-size:8px}.source-link{font-size:9px;line-height:1.6}.notice{font-size:11px;padding:11px 12px;line-height:1.7}.composer{gap:16px}.field input,.field textarea,.field select,input.control,select.control{font-size:16px;min-height:47px}.field-label{font-size:12px}.field textarea.lyrics{min-height:245px;font-size:14px}.field small{font-size:11px}.save-status{font-size:10px}.tools-grid{grid-template-columns:1fr}.tool-card{display:grid;grid-template-columns:42px 1fr;column-gap:14px;padding:18px}.tool-card>.icon-wrap{grid-row:1/3;margin:0}.tool-card h3{font-size:15px;margin:0 0 5px}.tool-card p{grid-column:2;line-height:1.6;margin-bottom:10px}.tool-card .badge{grid-column:2;justify-self:start;margin:4px 0}.tool-card .btn{grid-column:1/3;margin-top:8px}.user-row{display:flex;flex-wrap:wrap;padding:16px;gap:10px}.user-row.header{display:none}.user-row>.user-info{flex:1;min-width:160px}.user-row>.user-role{margin-left:auto}.user-actions{width:100%;border-top:1px solid var(--line);padding-top:9px;justify-content:flex-start}.user-actions .btn{min-height:40px}.stat-grid{gap:9px}.stat{padding:13px 11px}.stat b{font-size:20px}.stat span{font-size:10px}.admin-banner{padding:15px}.admin-banner p{font-size:11px}.settings-grid{gap:16px}#player{left:0;bottom:65px;right:0;padding:12px 17px;gap:12px;height:var(--player-h)}body.has-player .workspace{padding-bottom:170px}.player-meta{flex:1;min-width:0;max-width:none}.player-art{height:39px;width:39px}.player-meta b{max-width:160px;font-size:11px}.player-meta small{font-size:9px}.seek-row{display:none}.player-controls{gap:3px}.player-controls .icon-btn{height:34px;width:34px}.player-controls .close-player{display:none}.play-control{height:36px;width:36px;order:2}.player-note{display:none}#toast{bottom:80px}body.has-player #toast{bottom:160px}dialog{max-height:calc(100dvh - 35px);width:calc(100vw - 24px);border-radius:17px}.modal-head{padding:16px 18px 10px}.modal-head h2{font-size:19px}.modal-body{padding:19px 18px}.modal-footer .btn{font-size:12px}.format-option{padding:13px}.format-option small{font-size:10px}.help{width:40px;height:40px;margin:-5px 0}.field-label .help{width:32px;height:32px;min-width:32px}.auth{display:block;min-height:100dvh}.auth-art{padding:27px 23px;min-height:170px;height:185px}.auth-art .brand strong{font-size:20px}.auth-message{margin:25px 0 0;max-width:300px}.auth-message h1{font-size:25px;line-height:1.25;max-width:310px;letter-spacing:-.7px}.auth-message p,.auth-footer{display:none}.auth-orbit{width:230px;height:230px;top:0;right:-70px;opacity:.7}.auth-signal{right:25px;top:0;height:210px;gap:4px;opacity:.25}.auth-signal i{width:4px}.auth-form-side{padding:27px 26px 38px}.auth-form{max-width:380px}.auth-form h1{font-size:26px;margin-top:7px}.auth-form>.subtle{margin-bottom:22px}.auth-form .field input{font-size:16px}.auth-privacy{font-size:10px}.preview-access{margin-top:20px}.preview-access .btn{min-height:44px;font-size:12px}.auth-form .field{margin:16px 0}}
@media(max-width:380px){main{padding:23px 15px}.project-grid{gap:10px}.art-word{font-size:21px}.card-art{height:115px;padding:14px}.project-body{padding:11px 10px}.project-title{font-size:11px}.page-heading .btn{font-size:10px;padding:8px 10px}.version-actions .btn{padding:8px 7px}.hero h2{font-size:23px}.top-actions{gap:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Critic revision 1: legibility and touch, not a visual rebrand. */
:root{--muted:#646477}.card-foot{color:#706c7c}.below-note{color:#716c7e}.auth-privacy{color:#716b7d}.new-card small{color:#696477}.art.amber{--art-fg:#80513c}.art.mint{--art-fg:#365f53}.art.blue{--art-fg:#3f5d81}.art.rose{--art-fg:#7c4159}.art.violet{--art-fg:#594271}.help{min-width:44px;width:44px;height:44px}.project-menu{width:36px;height:44px}.project-title{min-height:44px}.version-actions .btn{min-height:44px}.version .version-top>.icon-btn{width:44px;height:44px}.auth-switch button{min-height:44px}.preview-chip{min-height:32px}.user-actions .btn{min-height:44px}.color-choice{width:44px;height:44px}.version p{font-size:12px}.source-link{font-size:11px}.project-body .subtle{font-size:12px}.card-foot{font-size:11px}.btn{font-size:13px}.version-actions .btn{font-size:12px}.badge{font-size:11px}.side-note{font-size:12px}.guide-step p{font-size:12px}.preview-access p{font-size:12px}.new-card{min-height:244px}
@media(max-width:720px){.version h3{font-size:14px}.version p{font-size:12px;line-height:1.65}.version-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.version-actions .btn{font-size:12px;min-height:44px;padding:9px 8px}.version-top .badge{font-size:9px}.version .version-top>.icon-btn{width:44px;height:44px}.source-link{font-size:11px}.project-header p{font-size:11px}.project-header .right .icon-btn{width:44px;height:44px}.help,.field-label .help{height:44px;width:44px;min-width:44px;margin:-5px 0}.project-title{font-size:13px;min-height:44px;max-width:calc(100% - 36px)}.project-menu{width:36px;height:44px}.project-body .subtle{font-size:11px}.card-foot{font-size:10px}.card-foot .badge{font-size:9px}.below-note{font-size:11px}.new-card span{font-size:13px}.new-card small{font-size:11px}.room-tab{font-size:13px}.version{padding:15px}.page-heading p{font-size:12px}.notice{font-size:12px}.bottom-nav button{font-size:10px}.mobile-header .preview-chip{min-height:36px;font-size:10px}.top-actions .preview-chip{min-height:44px}.player-controls .icon-btn,.play-control{width:44px;height:44px}.player-meta b{font-size:12px}.player-meta small{font-size:11px}.versions-heading .btn{min-height:44px;font-size:12px}.tab{min-height:44px;font-size:12px}.preview-access .btn{font-size:12px}.auth-privacy{font-size:11px}.auth-form .auth-switch{font-size:13px}.user-row{font-size:13px}.user-row .small{font-size:12px}.color-picker{gap:11px}.format-option b{font-size:14px}.format-option small{font-size:12px}}
@media(min-width:721px) and (max-width:1050px){.toolbar{flex-wrap:wrap}.toolbar>.row{width:100%;justify-content:space-between}.toolbar .search{flex:1;width:auto}.project-header{flex-wrap:wrap}.project-header .right{margin-left:0}.topbar .status-chip{display:none}.three-fields{grid-template-columns:1fr 1fr}}
