.studio-root{--brand:#ff2741;--brand-hover:#e60f2b;--brand-soft:#ff27411a;--brand-text:#d81e37;--border-strong:#d4d1ca;--ok-bg:#dcfce7;--ok-fg:#166534;--warn-bg:#fef3c7;--warn-fg:#92400e;--info-bg:#dbeafe;--info-fg:#1e40af;--like:#ff2741;color:var(--foreground);font-size:14px;line-height:1.5}@supports (color:lab(0% 0 0)){.studio-root{--border-strong:lab(83.8045% .141084 3.74829)}}.studio-root .serif{font-feature-settings:"kern" 1;font-family:Noto Serif SC,Songti SC,STSong,Source Han Serif SC,Georgia,Times New Roman,serif}.studio-root .btn{border-radius:var(--radius);border:1px solid var(--border);background:var(--card);height:36px;color:var(--foreground);cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap;align-items:center;gap:6px;padding:0 14px;font-size:13px;font-weight:500;transition:background .12s,border-color .12s,transform 60ms;display:inline-flex}.studio-root .btn:hover{background:var(--accent)}.studio-root .btn:active{transform:scale(.98)}.studio-root .btn-primary{background:var(--foreground);color:var(--card);border-color:var(--foreground)}.studio-root .btn-primary:hover{background:#2a2a2a;border-color:#2a2a2a}.studio-root .btn-brand{background:var(--brand);color:#fff;border-color:var(--brand);font-weight:600}.studio-root .btn-brand:hover{background:var(--brand-hover);border-color:var(--brand-hover)}.studio-root .btn-ghost{background:0 0;border-color:#0000}.studio-root .btn-ghost:hover{background:var(--accent)}.studio-root .btn:disabled{opacity:.5;cursor:not-allowed}.studio-root .input{border:1px solid var(--input);border-radius:var(--radius);background:var(--card);width:100%;height:40px;color:var(--foreground);outline:none;padding:0 12px;font-family:inherit;font-size:14px;transition:border-color .12s}.studio-root .input:focus{border-color:var(--foreground)}.studio-root .textarea{border:1px solid var(--input);border-radius:var(--radius);background:var(--card);width:100%;color:var(--foreground);resize:vertical;outline:none;padding:10px 12px;font-family:inherit;font-size:14px;line-height:1.55}.studio-root .textarea:focus{border-color:var(--foreground)}.studio-root .card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius)}.studio-root .badge{background:var(--secondary);height:20px;color:var(--foreground);border-radius:999px;align-items:center;gap:4px;padding:0 8px;font-size:11px;font-weight:500;display:inline-flex}.studio-root .badge-ok{background:var(--ok-bg);color:var(--ok-fg)}.studio-root .badge-warn{background:var(--warn-bg);color:var(--warn-fg)}.studio-root .badge-info{background:var(--info-bg);color:var(--info-fg)}.studio-root .badge-brand{background:var(--brand-soft);color:var(--brand-text)}.studio-root .chip{background:var(--card);border:1px solid var(--border);height:30px;color:var(--foreground);cursor:pointer;border-radius:999px;align-items:center;padding:0 13px;font-size:12.5px;transition:background .12s,border-color .12s;display:inline-flex}.studio-root .chip:hover{background:var(--accent);border-color:var(--border-strong)}.studio-root .chip-active{background:var(--foreground);color:var(--card);border-color:var(--foreground)}.studio-root .row{align-items:center;display:flex}.studio-root .col{flex-direction:column;display:flex}.studio-root .grow{flex:1;min-width:0}.studio-root .gap-1{gap:4px}.studio-root .gap-2{gap:8px}.studio-root .gap-3{gap:12px}.studio-root .gap-4{gap:16px}.studio-root .gap-5{gap:20px}.studio-root .gap-6{gap:24px}.studio-root .gap-8{gap:32px}@keyframes studio-fade-up{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.studio-root .animate-fade-up{animation:.32s ease-out both studio-fade-up}@keyframes studio-pulse{0%,to{opacity:1}50%{opacity:.55}}.studio-root .animate-pulse{animation:1.6s ease-in-out infinite studio-pulse}@keyframes studio-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.studio-root .shimmer{background:linear-gradient(90deg,var(--secondary)0%,var(--accent)50%,var(--secondary)100%);background-size:200% 100%;animation:1.4s linear infinite studio-shimmer}@keyframes studio-spin{to{transform:rotate(360deg)}}.studio-root .spinner{border:1.5px solid;border-right-color:#0000;border-radius:50%;width:14px;height:14px;animation:.7s linear infinite studio-spin;display:inline-block}.studio-root .step-bar{align-items:center;width:100%;max-width:760px;margin:0 auto;display:flex}.studio-root .step-bar .step{cursor:pointer;flex:1;align-items:center;gap:10px;display:flex}.studio-root .step-bar .step-circle{background:var(--card);border:1.5px solid var(--border-strong);width:28px;height:28px;color:var(--muted-foreground);border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;font-size:12.5px;font-weight:600;transition:all .15s;display:flex}.studio-root .step-bar .step-label{color:var(--muted-foreground);white-space:nowrap;font-size:13px;font-weight:500}.studio-root .step-bar .step-line{background:var(--border);border-radius:1px;flex:1;height:1.5px;margin:0 4px;transition:background .2s}.studio-root .step-bar .step.active .step-circle,.studio-root .step-bar .step.done .step-circle{background:var(--foreground);color:var(--card);border-color:var(--foreground)}.studio-root .step-bar .step.active .step-label,.studio-root .step-bar .step.done .step-label{color:var(--foreground);font-weight:600}.studio-root .step-bar .step.done+.step-line{background:var(--foreground)}@media (max-width:768px){.studio-root .step-bar .step{flex:none;gap:0}.studio-root .step-bar .step-label{display:none}}.studio-loading-panel{background:var(--card);border:1px solid var(--border);z-index:60;width:360px;color:var(--foreground);border-radius:14px;animation:.3s ease-out both studio-fade-up;position:fixed;bottom:24px;right:24px;overflow:hidden;box-shadow:0 24px 60px #00000024,0 4px 12px #0000000f}.studio-loading-panel.minimized{width:220px}@media (max-width:768px){.studio-loading-panel{width:auto;bottom:12px;left:12px;right:12px}.studio-loading-panel.minimized{width:auto}}.studio-loading-panel .lp-header{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:14px 16px;display:flex}.studio-loading-panel .lp-body{padding:16px}.studio-root .progress-track,.studio-loading-panel .progress-track{background:var(--secondary);border-radius:999px;height:4px;overflow:hidden}.studio-root .progress-fill,.studio-loading-panel .progress-fill{background:var(--foreground);border-radius:999px;height:100%;transition:width .6s}.studio-root .note-card{background:var(--card);cursor:pointer;border-radius:14px;flex-direction:column;transition:transform .18s,box-shadow .18s;display:flex;overflow:hidden}.studio-root .note-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px #00000014,0 2px 6px #0000000a}.studio-root .note-card .note-cover{aspect-ratio:3/4;background:var(--secondary);width:100%;position:relative;overflow:hidden}.studio-root .note-card .note-meta{padding:10px 12px 12px}.studio-root .note-card .note-title{color:var(--foreground);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13.5px;font-weight:500;line-height:1.45;display:-webkit-box;overflow:hidden}.studio-root .note-card .note-stats{color:var(--muted-foreground);justify-content:space-between;align-items:center;margin-top:8px;font-size:11.5px;display:flex}.studio-root .bento-tile{background:var(--card);border-radius:18px;position:relative;overflow:hidden}.studio-root .bento-tile.clickable{cursor:pointer;transition:transform .2s}.studio-root .bento-tile.clickable:hover{transform:translateY(-2px)}.studio-root .btn-sm{height:30px;padding:0 11px;font-size:12px}.studio-root .btn-lg{height:44px;padding:0 22px;font-size:14.5px}.studio-root .wrap{flex-wrap:wrap}.studio-root .between{justify-content:space-between}.studio-root .center{justify-content:center}.studio-root .sec-label{color:var(--muted-foreground);letter-spacing:.08em;text-transform:uppercase;font-size:12px;font-weight:700}.studio-root .hairline{background:var(--border);height:1px}.studio-root .muted{color:var(--muted-foreground)}.studio-root .scroll-x{scrollbar-width:thin;overflow-x:auto}.studio-root .ref-thumb{object-fit:cover;border:1px solid var(--border);background:var(--secondary);border-radius:8px;flex-shrink:0;width:54px;height:72px}.studio-root .textarea-lg{border:1px solid var(--input);border-radius:var(--radius);background:var(--card);width:100%;color:var(--foreground);resize:vertical;outline:none;padding:12px 14px;font-family:inherit;font-size:14px;line-height:1.65}.studio-root .textarea-lg:focus{border-color:var(--foreground)}@media (max-width:820px){.studio-root .step-bar .step.active .step-label{display:inline}}.studio-overlay{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:200;background:#141210f5;justify-content:center;align-items:center;padding:12px;animation:.18s ease-out both studio-overlay-in;display:flex;position:fixed;inset:0}@keyframes studio-overlay-in{0%{opacity:0}to{opacity:1}}.studio-dialog{background:var(--card);border:1px solid var(--border);max-width:100%;max-height:100%;color:var(--foreground);border-radius:16px;flex-direction:column;animation:.22s cubic-bezier(.2,.8,.2,1) both studio-dialog-in;display:flex;overflow:hidden;box-shadow:0 32px 80px #00000038,0 6px 16px #00000014}@keyframes studio-dialog-in{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:none}}.studio-dialog .dlg-head{border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;gap:12px;padding:16px 20px;display:flex}.studio-dialog .dlg-body{flex:auto;min-height:0;padding:20px;overflow-y:auto}.studio-dialog .dlg-body.no-pad{padding:0}.studio-dialog .dlg-foot{border-top:1px solid var(--border);flex-shrink:0;justify-content:flex-end;align-items:center;gap:10px;padding:14px 20px;display:flex}.studio-root .icon-btn{width:32px;height:32px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;transition:background .12s;display:inline-flex}.studio-root .icon-btn:hover{background:var(--accent);color:var(--foreground)}.studio-toast-wrap{z-index:400;pointer-events:none;flex-direction:column;align-items:center;gap:8px;display:flex;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.studio-toast{background:var(--foreground);color:var(--card);pointer-events:auto;border-radius:999px;align-items:center;gap:8px;max-width:92vw;padding:10px 16px;font-size:13px;font-weight:500;animation:.24s ease-out both studio-fade-up;display:flex;box-shadow:0 12px 30px #0003}.studio-toast.ok{background:#15803d}.studio-toast.err{background:var(--brand)}.studio-root .arrange-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px;display:grid}.studio-root .arrange-tile{aspect-ratio:3/4;background:var(--secondary);border:1px solid var(--border);border-radius:12px;position:relative;overflow:hidden}.studio-root .arrange-tile img{object-fit:cover;width:100%;height:100%;display:block}.studio-root .arrange-tile .tile-ov{opacity:0;background:linear-gradient(#00000057 0%,#0000 34% 60%,#0000006b 100%);flex-direction:column;justify-content:space-between;padding:8px;transition:opacity .15s;display:flex;position:absolute;inset:0}.studio-root .arrange-tile:hover .tile-ov{opacity:1}.studio-root .tile-badge{z-index:2;position:absolute;top:8px;left:8px}.studio-root .tile-seq{color:#fff;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0000008c;border-radius:999px;justify-content:center;align-items:center;width:22px;height:22px;font-size:11px;font-weight:700;display:flex}.studio-root .tile-act{color:#1a1a1a;cursor:pointer;background:#ffffffeb;border:none;border-radius:7px;justify-content:center;align-items:center;gap:4px;height:28px;padding:0 9px;font-family:inherit;font-size:11.5px;font-weight:600;transition:transform 80ms;display:inline-flex}.studio-root .tile-act:hover{background:#fff}.studio-root .tile-act:active{transform:scale(.96)}.studio-root .tile-act:disabled{opacity:.45;cursor:not-allowed}.studio-root .tile-act.danger{color:#fff;background:#ff2741f2}.studio-root .add-tile{aspect-ratio:3/4;border:1.5px dashed var(--border-strong);background:var(--muted);color:var(--muted-foreground);cursor:pointer;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:8px;font-family:inherit;transition:border-color .15s,background .15s,color .15s;display:flex}.studio-root .add-tile:hover{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-text)}.studio-root .ml-layout{flex:1;grid-template-columns:220px 1fr;min-height:0;display:grid;overflow:hidden}.studio-root .ml-tree{border-right:1px solid var(--border);background:var(--muted);padding:14px 10px;overflow-y:auto}.studio-root .ml-group-label{color:var(--muted-foreground);letter-spacing:.06em;text-transform:uppercase;margin:14px 6px 6px;font-size:11px;font-weight:700}.studio-root .ml-group-label:first-child{margin-top:0}.studio-root .ml-tag{width:100%;color:var(--foreground);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;justify-content:space-between;align-items:center;gap:6px;padding:7px 10px;font-family:inherit;font-size:13px;transition:background .12s;display:flex}.studio-root .ml-tag:hover{background:var(--accent)}.studio-root .ml-tag.active{background:var(--foreground);color:var(--card);font-weight:600}.studio-root .ml-tag .ml-count{opacity:.65;font-size:11px}.studio-root .ml-grid{grid-template-columns:repeat(auto-fill,minmax(156px,1fr));align-content:start;gap:14px;padding:20px;display:grid;overflow-y:auto}.studio-root .ml-item{aspect-ratio:3/4;cursor:pointer;background:var(--secondary);border:2px solid #0000;border-radius:10px;transition:border-color .12s,transform .12s;position:relative;overflow:hidden}.studio-root .ml-item:hover{transform:translateY(-2px)}.studio-root .ml-item img{object-fit:cover;width:100%;height:100%;display:block}.studio-root .ml-item.sel{border-color:var(--brand)}.studio-root .ml-item .ml-check{opacity:0;color:#1a1a1a;background:#ffffffd9;border-radius:999px;justify-content:center;align-items:center;width:22px;height:22px;transition:opacity .12s;display:flex;position:absolute;top:6px;right:6px}.studio-root .ml-item:hover .ml-check,.studio-root .ml-item.sel .ml-check{opacity:1}.studio-root .ml-item.sel .ml-check{background:var(--brand);color:#fff}.studio-root .ml-item .ml-cap{color:#fff;background:linear-gradient(#0000,#0009);padding:14px 8px 6px;font-size:10.5px;line-height:1.3;position:absolute;bottom:0;left:0;right:0}.studio-root .phone{background:#111;border-radius:38px;flex-shrink:0;width:300px;padding:10px;box-shadow:0 30px 60px #00000038}.studio-root .phone-screen{color:#1a1a1a;background:#fff;border-radius:30px;overflow:hidden}
