:root{
  --bg:#f5f8ff;--surface:#fff;--surface-2:#f8fbff;--surface-3:#eef4ff;--line:#dfe7f3;--line-strong:#cfd9e8;
  --text:#0f1b3d;--muted:#667398;--muted-2:#8c97b4;--blue:#2563eb;--blue-2:#3b82f6;--indigo:#6366f1;--violet:#8b5cf6;
  --cyan:#38bdf8;--mint:#10b981;--amber:#f59e0b;--rose:#f43f5e;--danger:#dc2626;--sidebar:224px;--radius:18px;--radius-sm:12px;
  --shadow:0 8px 28px rgba(47,73,125,.075);--font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}html,body,#__next,#app{min-height:100%;margin:0}html{background:var(--bg);color-scheme:light}body{background:linear-gradient(180deg,#f8fbff 0,#f3f7ff 100%);color:var(--text);font-family:var(--font);font-size:14px;line-height:1.45}button,input,select,textarea{font:inherit}button,a{transition:border-color .16s ease,background-color .16s ease,color .16s ease,transform .16s ease,opacity .16s ease}button{color:inherit}a{color:inherit;text-decoration:none}.icon{width:20px;height:20px;display:inline-grid;place-items:center}.icon svg{width:100%;height:100%;display:block}.helper,.panel-sub,small{color:var(--muted)}
.boot,.studio-loading{min-height:100vh;display:grid;place-items:center;color:var(--muted);font-weight:600}.studio-loading{min-height:240px}
.shell{min-height:100vh;display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr)}.main{min-width:0}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);z-index:40;background:rgba(255,255,255,.96);border-right:1px solid var(--line);display:flex;flex-direction:column;backdrop-filter:blur(16px)}.side-scroll{padding:22px 14px 16px;overflow:auto;flex:1}.sidebar-foot{padding:12px 14px 16px;border-top:1px solid var(--line)}
.studio-brand{height:58px;display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.studio-brand-lockup{display:flex;align-items:center;gap:10px;min-width:0}.studio-brand-lockup img{width:40px;height:40px;object-fit:contain}.studio-brand-lockup strong{display:block;font-size:20px;letter-spacing:-.5px}.studio-brand-lockup span{display:block;font-size:11px;color:var(--muted);margin-top:-1px}.studio-collapse{width:30px;height:30px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#64748b;font-size:20px;line-height:1;cursor:pointer}.studio-collapse:hover{border-color:#b9c9e2;background:#f7faff}
.studio-nav{display:flex;flex-direction:column;gap:5px}.nav-btn{appearance:none;border:0;width:100%;height:44px;background:transparent;border-radius:12px;color:#475575;display:flex;align-items:center;justify-content:space-between;padding:0 12px;cursor:pointer;text-align:left;font-weight:600}.nav-btn>span:first-child{display:flex;align-items:center;gap:12px;min-width:0}.nav-btn .nav-icon{width:22px;height:22px;color:#66739a;display:grid;place-items:center}.nav-btn .nav-icon .icon{width:21px;height:21px}.nav-btn:hover{background:#f3f7ff;color:#183568}.nav-btn.active{background:linear-gradient(90deg,#eaf1ff,#f1efff);color:#1d4ed8}.nav-btn.active .nav-icon{color:#2563eb}.nav-btn .badge{font-size:11px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;display:grid;place-items:center;background:#eef2f8;color:#68758f}.nav-btn.active .badge{background:#dbeafe;color:#1d4ed8}
.studio-side-promo{margin:28px 4px 8px;padding:18px 16px 16px;border-radius:18px;background:linear-gradient(155deg,#eef7ff 0%,#eff0ff 58%,#f8f5ff 100%);border:1px solid #dce7f7;position:relative;overflow:hidden;min-height:170px}.studio-side-promo:before,.studio-side-promo:after{content:"";position:absolute;border-radius:999px;filter:blur(.2px)}.studio-side-promo:before{width:92px;height:92px;background:linear-gradient(145deg,#a7e8ff,#7c8cff);right:-20px;top:-25px;opacity:.46}.studio-side-promo:after{width:70px;height:70px;background:linear-gradient(145deg,#d8c8ff,#b7f4e3);left:-28px;bottom:-28px;opacity:.55}.studio-side-promo b,.studio-side-promo p{position:relative;z-index:2}.studio-side-promo b{font-size:17px;line-height:1.18;display:block;margin-top:46px}.studio-side-promo p{font-size:12px;line-height:1.5;color:var(--muted);margin:8px 0 0}.promo-orb{position:absolute;left:18px;top:18px;width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#4dd7ff,#4f46e5);box-shadow:inset 0 0 0 1px rgba(255,255,255,.5)}
.profile-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px}.profile-top{display:flex;align-items:center;gap:9px}.profile-media{flex:0 0 auto}.profile-avatar{width:38px;height:38px;border-radius:50%;object-fit:cover}.avatar-fallback{display:grid;place-items:center;background:linear-gradient(145deg,#e0ecff,#dcd6ff);color:#3259c9;font-weight:700}.profile-main{min-width:0;flex:1}.profile-name{font-weight:700;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-email{font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-role-pill{display:inline-flex;margin-top:3px;font-size:9px;padding:2px 7px;border-radius:999px;background:#dcfce7;color:#15803d}.profile-role-pill.partner{background:#ede9fe;color:#6d28d9}.profile-divider{height:1px;background:var(--line);margin:9px -2px 7px}.profile-signout{border:0;background:transparent;color:#2563eb;padding:2px 0;font-size:11px;cursor:pointer}
.studio-main{grid-column:2;min-height:100vh}.studio-topbar{position:sticky;top:0;z-index:30;height:68px;background:rgba(248,251,255,.9);border-bottom:1px solid rgba(219,228,242,.8);backdrop-filter:blur(18px);display:flex;align-items:center;justify-content:center;padding:0 24px;gap:18px}.studio-global-search{width:min(560px,48vw);height:42px;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:0 12px;box-shadow:0 1px 2px rgba(15,23,42,.02)}.studio-global-search>span{color:#7381a4}.studio-global-search input{border:0;outline:0;background:transparent;min-width:0;flex:1;color:var(--text)}.studio-global-search input::placeholder{color:#98a2b8}.studio-global-search kbd{font-size:10px;border:1px solid #dce4f0;background:#f7f9fc;border-radius:6px;padding:2px 6px;color:#7b86a2}.studio-top-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.notification-bell{position:relative;width:40px;height:40px;border:1px solid var(--line);background:#fff;border-radius:12px;display:grid;place-items:center;color:#5a688a;cursor:pointer}.notification-count{display:none;position:absolute;right:-4px;top:-4px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#ef4444;color:white;font-size:10px;place-items:center}.notification-count.show{display:grid}.studio-user-chip{height:44px;border:0;background:transparent;display:flex;align-items:center;gap:9px;border-radius:12px;padding:4px 8px;cursor:default}.studio-user-chip>img,.studio-user-chip>span:first-child{width:34px;height:34px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:#e8efff;color:#3159d8;font-weight:700}.studio-user-copy{display:flex;flex-direction:column;align-items:flex-start}.studio-user-copy b{font-size:12px}.studio-user-copy small{font-size:10px}.studio-version{background:#eef0ff;color:#6558d8;border:1px solid #e2defe;border-radius:12px;padding:7px 10px;font-size:11px;font-weight:700}.studio-mobile-menu{display:none;width:40px;height:40px;border:1px solid var(--line);border-radius:12px;background:#fff}.studio-mobile-menu .icon{margin:auto}
.content,.studio-content{padding:22px 24px 48px;max-width:1680px;margin:0 auto;width:100%}.studio-content>*+*{margin-top:14px}
.btn{appearance:none;border:1px solid #d6e0ee;background:#fff;color:#1f315a;border-radius:11px;min-height:38px;padding:8px 14px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:650;font-size:12px;cursor:pointer;text-decoration:none}.btn:hover{border-color:#b9c9df;background:#f8fbff}.btn.primary{background:linear-gradient(135deg,#2f80ff,#3f65ef);border-color:#2f6ff2;color:#fff}.btn.primary:hover{background:linear-gradient(135deg,#2476f3,#315ce3)}.btn.danger{color:#b91c1c;border-color:#fecaca;background:#fff7f7}.btn.tiny{min-height:30px;padding:5px 10px;border-radius:9px;font-size:11px}.btn.icon-btn{width:36px;height:36px;padding:0}.btn:disabled{opacity:.55;cursor:not-allowed}.file-btn{position:relative;overflow:hidden}.file-btn input{position:absolute;inset:0;opacity:0;cursor:pointer}.input{width:100%;min-height:40px;padding:9px 12px;border-radius:11px;border:1px solid var(--line);background:#fff;color:var(--text);outline:0}.input:focus{border-color:#7aa7ff;box-shadow:0 0 0 3px rgba(59,130,246,.09)}textarea.input{min-height:110px;resize:vertical}.link-button,.studio-link{border:0;background:transparent;color:#285ed9;font-weight:650;cursor:pointer;padding:4px}
.panel,.studio-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 2px 8px rgba(38,64,114,.025);overflow:hidden}.panel-head,.studio-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #e9eef6}.panel-title,.studio-card-head h2{font-size:16px;font-weight:750;letter-spacing:-.2px;margin:0}.panel-sub,.studio-card-head p{font-size:12px;margin:3px 0 0;color:var(--muted)}.panel-body{padding:18px 20px}.empty,.studio-empty{padding:30px;text-align:center;color:var(--muted)}.notice{border:1px solid #dbe5f2;background:#f8fbff;border-radius:12px;padding:12px 14px;color:#4c5d80}.notice.error{background:#fff4f4;border-color:#fecaca;color:#b91c1c}.notice.amber{background:#fff9eb;border-color:#fde7a8;color:#9a6700}
.studio-hero{min-height:238px;border-radius:24px;border:1px solid #d9e8fb;background:linear-gradient(110deg,#d9f5ff 0%,#e8efff 46%,#eee8ff 100%);overflow:hidden;position:relative;padding:34px 36px;display:grid;grid-template-columns:minmax(420px,1.1fr) minmax(350px,.9fr);align-items:center}.studio-hero:before{content:"";position:absolute;inset:auto -8% -55% 24%;height:82%;border-radius:50%;background:radial-gradient(ellipse,rgba(255,255,255,.85),rgba(255,255,255,0) 68%)}.studio-hero-copy{position:relative;z-index:3;max-width:700px}.studio-kicker{font-size:11px;letter-spacing:3px;color:#2774e8;font-weight:800}.studio-hero h1{font-size:38px;line-height:1.04;letter-spacing:-1.4px;margin:9px 0 10px;color:#0d1a3d}.studio-hero p{font-size:15px;line-height:1.55;color:#5a6e9d;margin:0;max-width:640px}.studio-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.studio-hero-art{position:relative;height:190px;z-index:2}.hero-orbit{position:absolute;width:330px;height:120px;border:2px solid rgba(68,103,234,.22);border-radius:50%;left:54%;top:55%;transform:translate(-50%,-50%) rotate(-10deg)}.hero-cloud{position:absolute;width:180px;height:105px;border-radius:70px;background:linear-gradient(145deg,#fff,#dfeaff);left:46%;top:58%;transform:translate(-50%,-50%);box-shadow:inset -18px -18px 30px rgba(108,140,217,.1)}.hero-cloud:before,.hero-cloud:after{content:"";position:absolute;border-radius:50%;background:inherit}.hero-cloud:before{width:88px;height:88px;left:18px;top:-35px}.hero-cloud:after{width:110px;height:110px;right:12px;top:-46px}.hero-bubble,.hero-cube{position:absolute;display:grid;place-items:center;font-weight:900;color:#fff;box-shadow:0 8px 22px rgba(60,92,185,.12)}.hero-bubble{width:76px;height:76px;border-radius:24px;z-index:4}.hero-bubble-a{background:linear-gradient(145deg,#38d7f6,#295ff0);left:34%;top:18%;transform:rotate(-12deg)}.hero-bubble-b{background:linear-gradient(145deg,#6d69f6,#a86bea);right:17%;top:32%;transform:rotate(11deg)}.hero-cube{width:50px;height:50px;border-radius:16px;z-index:5}.hero-cube-1{background:linear-gradient(145deg,#34d399,#22c3e6);left:23%;bottom:10%;transform:rotate(8deg)}.hero-cube-2{background:linear-gradient(145deg,#60a5fa,#7c3aed);right:30%;bottom:1%;transform:rotate(-9deg)}
.studio-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.studio-metrics-4{grid-template-columns:repeat(4,minmax(0,1fr))}.studio-metric{min-height:104px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;display:flex;align-items:center;gap:14px}.studio-metric-icon{width:44px;height:44px;border-radius:13px;background:#eaf2ff;color:#3073ed;display:grid;place-items:center;flex:0 0 auto}.studio-metric-icon .icon{width:22px;height:22px}.tone-mint .studio-metric-icon{background:#e5fbf4;color:#0eaf7c}.tone-amber .studio-metric-icon{background:#fff5df;color:#e29a13}.tone-violet .studio-metric-icon{background:#f0eaff;color:#7b55e8}.tone-rose .studio-metric-icon{background:#fff0f4;color:#e83d68}.studio-metric div{display:flex;min-width:0;flex-direction:column}.studio-metric span:not(.studio-metric-icon){font-size:11px;color:#59698e}.studio-metric b{font-size:25px;line-height:1.05;margin:4px 0 3px;letter-spacing:-.6px}.studio-metric small{font-size:10px}
.studio-dashboard-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px}.studio-span-4{grid-column:span 4}.studio-span-5{grid-column:span 5}.studio-span-7{grid-column:span 7}.studio-span-8{grid-column:span 8}.studio-span-12{grid-column:span 12}.studio-card{min-width:0}.studio-count{min-width:28px;height:28px;border-radius:999px;background:#eef3ff;color:#345bd2;display:grid;place-items:center;font-weight:700}
.studio-table{width:100%;overflow:auto}.studio-tr{display:grid;grid-template-columns:minmax(220px,2fr) minmax(90px,.75fr) minmax(110px,.9fr) minmax(110px,1fr) minmax(100px,.9fr) 80px;align-items:center;gap:12px;min-width:820px;padding:11px 16px;border-top:1px solid #edf1f7;font-size:12px}.studio-tr:first-child{border-top:0}.studio-th{background:#f7f9fd;color:#71809e;text-transform:uppercase;letter-spacing:.5px;font-size:9px;font-weight:800;padding-top:9px;padding-bottom:9px}.studio-app-cell{display:flex;align-items:center;gap:10px;min-width:0}.studio-app-cell>span:last-child{display:flex;flex-direction:column;min-width:0}.studio-app-cell b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio-app-cell small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio-app-icon{width:36px;height:36px;border-radius:10px;object-fit:cover;flex:0 0 auto}.studio-app-icon.fallback{display:grid;place-items:center;background:linear-gradient(145deg,#d8e8ff,#e6ddff);color:#345ad4;font-weight:800}.studio-status{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:700;white-space:nowrap;background:#eef2f7;color:#68738d}.studio-status.good{background:#e6faf2;color:#11835f}.studio-status.warn{background:#fff3dc;color:#b57508}.studio-status.neutral{background:#eef2f7;color:#68738d}
.studio-storage{padding:20px;display:flex;align-items:center;justify-content:center;gap:28px}.studio-donut{--pct:0;width:150px;aspect-ratio:1;border-radius:50%;background:conic-gradient(#ff7e57 0 12%,#4f81f7 12% 44%,#8c69ed 44% 64%,#5ed9c1 64% calc(var(--pct)*1%),#e9eef6 calc(var(--pct)*1%) 100%);position:relative;display:grid;place-items:center;flex:0 0 auto}.studio-donut:after{content:"";position:absolute;inset:17px;background:#fff;border-radius:50%;border:1px solid #edf1f6}.studio-donut span{position:relative;z-index:2;display:flex;flex-direction:column;text-align:center}.studio-donut b{font-size:20px}.studio-donut small{font-size:10px}.studio-storage-list{min-width:190px}.studio-storage-list>div{display:grid;grid-template-columns:10px 1fr auto;gap:9px;align-items:center;padding:8px 0;border-bottom:1px solid #eef2f7;font-size:11px}.studio-storage-list>div:last-child{border-bottom:0}.dot{width:8px;height:8px;border-radius:50%;background:#60a5fa}.dot.mint{background:#50d1b4}.dot.violet{background:#8b6ae9}.studio-summary-ring{display:flex;gap:24px;align-items:center;padding:22px}.studio-summary-ring p{margin:8px 0;color:#59698e}.studio-summary-ring p b{color:#17264b}
.studio-activity{padding:8px 18px 18px}.studio-activity>div{display:flex;align-items:flex-start;gap:10px;padding:10px 0;border-bottom:1px solid #edf1f7}.studio-activity>div:last-child{border-bottom:0}.activity-pip{width:8px;height:8px;border-radius:50%;background:#35c797;margin-top:5px;flex:0 0 auto}.studio-activity span:last-child{display:flex;flex-direction:column}.studio-activity small{font-size:10px}.studio-activity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px}.studio-backup-callout{background:linear-gradient(90deg,#eef8ff,#f2f0ff);border:1px solid #dae7fb;border-radius:16px;padding:14px 18px;display:flex;align-items:center;gap:14px}.studio-backup-callout>span{width:38px;height:38px;border-radius:12px;background:#e0ecff;color:#3567df;display:grid;place-items:center}.studio-backup-callout>div{flex:1}.studio-backup-callout b{display:block}.studio-backup-callout p{margin:2px 0 0;color:var(--muted);font-size:11px}
.studio-bars{padding:20px}.studio-bars>div{display:grid;grid-template-columns:130px 1fr 34px;align-items:center;gap:12px;margin:13px 0;font-size:11px}.studio-bars i{height:9px;border-radius:999px;background:#eef2f7;overflow:hidden}.studio-bars i b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#47c6f4,#6366f1)}
.studio-app-tools{padding-bottom:4px}.studio-import-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px}.studio-import-grid>div{border:1px solid #e3eaf4;background:#fbfcff;border-radius:14px;padding:14px}.studio-import-grid h3{margin:0 0 3px;font-size:13px}.studio-import-grid p{margin:0 0 10px;color:var(--muted);font-size:11px}.inline-import-form,.import-control-grid{display:flex;gap:8px}.import-status-line{display:flex;align-items:center;gap:8px;font-size:11px;margin-top:8px}.progress{height:7px;background:#e9eef7;border-radius:999px;overflow:hidden}.progress i{display:block;height:100%;background:#4f7cf3}
.library-results{margin-top:14px}.library-results-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px 8px}.library-filterbar{display:grid;grid-template-columns:auto auto minmax(160px,220px) minmax(220px,1fr);gap:10px;align-items:center;padding:10px 16px 14px;border-bottom:1px solid #edf1f7}.library-tabs,.library-sections{display:flex;gap:5px}.library-tab,.section-chip,.page-btn,.page-arrow{border:1px solid #dce4f0;background:#fff;border-radius:10px;min-height:34px;padding:6px 11px;color:#526281;font-weight:650;font-size:11px;cursor:pointer}.library-tab.active,.section-chip.active,.page-btn.active{background:#eaf1ff;color:#2457d4;border-color:#c9dafb}.searchbar{position:relative}.searchbar .search-icon{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:#8290ac;z-index:2}.searchbar .input{padding-left:38px}.app-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;padding:16px}.app-card{border:1px solid #e0e7f2;border-radius:16px;background:#fff;overflow:hidden;display:flex;flex-direction:column;min-width:0}.app-card:hover{border-color:#c7d7ee;transform:translateY(-1px)}.app-card-visual{height:120px;background:linear-gradient(145deg,#f4f8ff,#f7f3ff);display:grid;place-items:center;position:relative}.app-card-icon{width:72px;height:72px;border-radius:18px;object-fit:cover}.app-card-ribbon{position:absolute;left:10px;top:10px;font-size:8px;font-weight:800;letter-spacing:.3px;background:#fff2df;color:#c27308;border-radius:999px;padding:4px 7px}.app-update-dot{position:absolute;right:12px;top:12px;width:9px;height:9px;border-radius:50%;background:#f59e0b}.app-card-body{padding:12px 13px 8px}.app-card-name{font-weight:750;display:block;margin-bottom:5px}.app-card-line{display:flex;gap:6px;align-items:center;color:#6d7890;font-size:10px}.app-card-rating .star{color:#f59e0b}.app-mod{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-card-category{display:inline-flex;margin-top:9px;background:#eef4ff;color:#3662d4;border-radius:999px;padding:4px 8px;font-size:9px}.app-card-footer{padding:8px 12px 12px;margin-top:auto}.app-card-footer .btn{width:100%}.library-pagination-row{display:flex;align-items:center;justify-content:space-between;padding:0 18px 18px;color:#6c7894;font-size:11px}.pagination{display:flex;gap:5px;align-items:center}
.studio-account-list{padding:4px 18px 16px}.studio-account-row{display:grid;grid-template-columns:42px minmax(190px,1.4fr) 100px minmax(130px,.75fr) auto;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #edf1f7}.studio-account-row:last-child{border-bottom:0}.studio-service-icon{width:38px;height:38px;border-radius:12px;background:#fff4ea;color:#f97316;display:grid;place-items:center;font-size:18px}.studio-account-row>span:nth-child(2){display:flex;flex-direction:column;min-width:0}.studio-account-row small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio-account-usage{display:flex;flex-direction:column;gap:5px;font-size:11px}.studio-account-usage i{height:6px;border-radius:999px;background:#edf1f7;overflow:hidden}.studio-account-usage i b{display:block;height:100%;background:#4f7cf3}.studio-row-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.r2-domain-connect-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);align-items:stretch}.studio-domain-layout{padding:18px}.studio-domain-form{display:flex;gap:8px;margin-bottom:12px}.studio-domain-form .input{max-width:420px}.r2-domain-pair-form{display:grid;grid-template-columns:minmax(190px,.8fr) minmax(260px,1fr) auto;align-items:end}.r2-domain-pair-form label{display:grid;gap:7px;color:#465778;font-size:11px;font-weight:700}.r2-domain-pair-form .input{max-width:none;width:100%}.r2-domain-guide{height:100%}.r2-domain-guide code{font-size:10px;color:#172f63;background:#eef4ff;border-radius:5px;padding:1px 4px;word-break:break-all}.r2-domain-list{display:grid;gap:10px}.r2-domain-card{border:1px solid #e1e9f3;border-radius:14px;background:#fbfcff;padding:14px}.r2-domain-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.r2-domain-top>div{display:flex;flex-direction:column}.r2-domain-badge{margin-left:7px;font-size:9px;color:#4f65a0}.r2-one-record{margin-top:12px;background:#fff;border:1px solid #e4eaf3;border-radius:12px;padding:12px}.r2-record-title{display:flex;justify-content:space-between;gap:10px;font-size:10px}.r2-record-grid{display:grid;grid-template-columns:100px 1fr 1.5fr 80px;gap:8px;margin-top:9px}.r2-record-grid>div{background:#f7f9fc;border-radius:10px;padding:9px;display:flex;flex-direction:column;gap:4px;position:relative;min-width:0}.r2-record-grid span{font-size:9px;color:#7b87a3;text-transform:uppercase}.r2-record-grid code{font-size:10px;overflow:hidden;text-overflow:ellipsis}.r2-copy-mini{position:absolute;right:6px;top:6px;border:0;background:#eaf1ff;color:#2457d4;border-radius:7px;font-size:9px;padding:3px 6px}.r2-domain-actions{display:flex;gap:8px;margin-top:10px}
.studio-team-list{padding:6px 18px 16px}.studio-team-row{display:grid;grid-template-columns:42px minmax(170px,1.5fr) 90px 90px minmax(100px,.9fr) 80px;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #edf1f7;font-size:11px}.studio-team-row>img,.team-avatar-fallback{width:38px;height:38px;border-radius:50%;object-fit:cover}.team-avatar-fallback{display:grid;place-items:center;background:#e8efff;color:#3159d8;font-weight:800}.studio-team-row>span:nth-child(2){display:flex;flex-direction:column}.studio-role{display:inline-flex;width:max-content;padding:5px 9px;border-radius:999px;background:#e8f0ff;color:#2c5dd7;font-weight:700}.studio-role.partner{background:#f0eaff;color:#7652df}.studio-permission{padding:18px;display:grid;gap:12px}.studio-permission>div{border:1px solid #e5eaf3;border-radius:14px;padding:15px;background:#fbfcff}.studio-permission b{display:block;margin-bottom:4px}.studio-permission span{font-size:11px;color:var(--muted)}
.studio-setting-list{padding:10px 18px 18px}.studio-setting-list>div{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid #edf1f7;font-size:11px}.studio-setting-list>div:last-child{border-bottom:0}.studio-setting-list span{color:#6a7692}.studio-backup-grid{display:grid;grid-template-columns:1fr 1fr 280px;gap:12px;padding:18px}.backup-scope{border:1px solid #dfe7f2;border-radius:14px;padding:16px;background:#fbfcff}.backup-scope.good{background:#f4fffb;border-color:#d7f2e7}.backup-scope.no{background:#fff8f8;border-color:#f6dede}.backup-scope h3{margin:0 0 10px;font-size:13px}.backup-scope ul{padding-left:18px;margin:0}.backup-scope li{margin:7px 0;font-size:11px;color:#52607e}.backup-scope p{font-size:10px;color:#8a5b64}.backup-actions-stack{display:flex;flex-direction:column;gap:8px}.backup-actions-stack .btn{width:100%}.danger-zone{border-color:#f0dcdc}.form-row{display:flex;gap:8px;flex-wrap:wrap;padding:18px}
/* App detail / record */
.app-workspace,.app-record-page{display:grid;gap:14px}.record-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px 16px}.record-actions{display:flex;gap:8px;flex-wrap:wrap}.record-identity{display:flex;align-items:center;gap:14px}.record-app-icon,.record-icon-preview{width:64px;height:64px;border-radius:16px;object-fit:cover;background:#eef3ff}.record-identity-text{display:flex;flex-direction:column}.record-name-line{font-size:22px;font-weight:800}.record-subline,.record-version{color:var(--muted);font-size:11px}.record-columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:14px}.record-section{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}.record-section-head{padding:14px 16px;border-bottom:1px solid #edf1f7;font-weight:750}.record-fields,.record-technical,.record-seo-fields,.record-description,.record-links,.record-history,.record-artwork-section{padding:16px}.field{display:grid;grid-template-columns:150px 1fr;gap:12px;padding:8px 0;border-bottom:1px solid #eff2f7}.field:last-child{border-bottom:0}.field-label{color:#72809a;font-size:10px}.field-value{min-width:0;overflow-wrap:anywhere}.record-artwork-row{display:flex;gap:12px;align-items:flex-start}.record-cover-preview{max-width:240px;border-radius:12px}.record-screenshot-strip{display:flex;gap:8px;overflow:auto}.record-shot-preview{height:100px;border-radius:10px}.record-history-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;padding:9px 0;border-bottom:1px solid #edf1f7}.record-message{margin-top:10px}.record-bottom{display:flex;justify-content:flex-end;gap:8px}
/* R2 file manager */
.r2-page{display:grid;gap:14px}.r2-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.r2-stat-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:15px;display:flex;align-items:center;gap:12px}.r2-stat-icon{width:42px;height:42px;border-radius:12px;background:#eaf2ff;color:#3272eb;display:grid;place-items:center}.r2-stat-copy{display:flex;flex-direction:column;min-width:0}.r2-stat-copy>span{font-size:10px;color:#6b7895}.r2-stat-copy>b{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.r2-workspace-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:18px;border-bottom:1px solid #e9eef6}.r2-workspace-tools{display:flex;align-items:center;gap:8px}.r2-account-heading{display:flex;align-items:center;gap:12px}.r2-account-heading-icon{width:42px;height:42px;display:grid;place-items:center}.r2-account-heading-icon img{width:42px;height:42px;object-fit:contain}.r2-workspace-body{padding:18px}.r2-manager-search{position:relative;min-width:290px}.r2-manager-search input{padding-left:38px}.r2-search-icon{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:#8290aa}.r2-disk-grid,.r2-folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}.r2-disk-card,.r2-folder-tile{border:1px solid #dfe7f2;background:#fff;border-radius:16px;min-height:150px;padding:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;cursor:pointer;text-align:center}.r2-disk-card:hover,.r2-folder-tile:hover{border-color:#b9cbed;background:#fbfdff}.r2-disk-icon{width:66px;height:66px}.r2-disk-icon img{width:100%;height:100%;object-fit:contain}.r2-folder-app-icon,.r2-folder-empty-app-icon{width:74px;height:74px;border-radius:18px;object-fit:cover;background:linear-gradient(145deg,#e7efff,#eee8ff)}.r2-folder-empty-app-icon:after{content:"+";display:grid;place-items:center;height:100%;color:#8ca0c5;font-size:24px}.r2-folder-name{font-weight:750}.r2-browser-toolbar{display:flex;justify-content:space-between;gap:10px;margin-bottom:12px}.r2-breadcrumb{display:flex;align-items:center;gap:7px;color:#5a6b90;font-size:11px}.r2-breadcrumb button{border:0;background:transparent;color:#2861d8;padding:0;cursor:pointer}.r2-dropzone{min-height:150px;border:1.5px dashed #a9c6f8;background:#f8fbff;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#596989;margin-bottom:14px;cursor:pointer}.r2-dropzone input{display:none}.r2-drop-icon{font-size:28px;color:#3976ef}.r2-explorer-table{border:1px solid #e1e8f2;border-radius:14px;overflow:auto}.r2-explorer-head,.r2-explorer-row{display:grid;grid-template-columns:minmax(260px,2fr) 110px 110px 100px 90px 160px;gap:10px;align-items:center;min-width:900px;padding:10px 12px}.r2-explorer-head{background:#f7f9fd;text-transform:uppercase;font-size:9px;letter-spacing:.45px;color:#7a87a1;font-weight:800}.r2-explorer-row{border-top:1px solid #edf1f7;font-size:11px}.r2-name-cell{display:flex;align-items:center;gap:10px}.r2-file-kind{width:34px;height:34px;border-radius:9px;background:#e8efff;color:#345fd7;display:grid;place-items:center;font-size:8px;font-weight:800}.r2-file-kind.apk{background:#e6f8ef;color:#15905f}.r2-name-stack{min-width:0}.r2-name-stack b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.r2-file-actions{display:flex;gap:6px}.r2-queue{display:grid;gap:8px;margin:10px 0}.r2-queue-row{border:1px solid #e2e9f3;border-radius:12px;padding:10px;display:grid;grid-template-columns:minmax(200px,1fr) minmax(180px,2fr) 45px;gap:12px;align-items:center}.r2-queue-copy{display:flex;flex-direction:column}.r2-queue-progress{height:7px;background:#e9eef6;border-radius:999px;overflow:hidden}.r2-queue-progress i{display:block;height:100%;background:#3f7bf3}.r2-context-menu{position:fixed;z-index:1000;min-width:180px;background:#fff;border:1px solid #dce4ef;border-radius:12px;padding:6px;box-shadow:0 18px 50px rgba(51,72,112,.16)}.r2-context-menu button{width:100%;border:0;background:transparent;border-radius:8px;padding:9px 10px;text-align:left;display:flex;gap:8px;cursor:pointer}.r2-context-menu button:hover{background:#f2f6fc}.r2-context-menu .danger{color:#dc2626}.r2-context-sep{height:1px;background:#edf1f6;margin:5px}.r2-search-results{position:absolute;z-index:50;left:0;right:0;top:calc(100% + 6px);background:#fff;border:1px solid #dde5f0;border-radius:12px;box-shadow:0 14px 35px rgba(49,70,111,.12);max-height:340px;overflow:auto}.r2-search-hit{display:grid;grid-template-columns:36px 1fr auto;gap:9px;align-items:center;padding:9px 10px;border-bottom:1px solid #edf1f7;cursor:pointer}.r2-search-hit:hover{background:#f7faff}.r2-search-hit-icon{width:34px;height:34px;border-radius:9px;background:#eef4ff;display:grid;place-items:center}.r2-icon-picker{display:flex;gap:14px;align-items:center}.r2-icon-preview-app{width:86px;height:86px;border-radius:18px;object-fit:cover}.r2-icon-preview-empty{width:86px;height:86px;border-radius:18px;background:#eef3ff;display:block}.r2-live-card,.r2-upload-row{border:1px solid #e1e8f2;border-radius:12px;padding:11px;background:#fff}.r2-mini-progress,.r2-storage-bar{height:6px;background:#e9eef6;border-radius:999px;overflow:hidden}.r2-mini-progress i,.r2-storage-bar i{display:block;height:100%;background:#4f7cf3}
/* forms/modals/notifications */
.stack-form{display:grid;gap:11px}.stack-form label{display:grid;gap:5px;color:#4c5d7d;font-size:11px}.modal-wrap{position:fixed;inset:0;background:rgba(19,31,61,.28);z-index:900;display:grid;place-items:center;padding:20px;backdrop-filter:blur(5px)}.modal{width:min(720px,100%);max-height:90vh;overflow:auto;background:#fff;border:1px solid #dbe4ef;border-radius:18px;box-shadow:0 24px 80px rgba(29,48,88,.18)}.modal-head{padding:16px 18px;border-bottom:1px solid #edf1f6;display:flex;align-items:center;justify-content:space-between}.detail-title{font-size:17px;font-weight:800}.toast{position:fixed;right:20px;bottom:20px;z-index:1200;background:#fff;border:1px solid #dce5f0;border-radius:13px;padding:12px 14px;box-shadow:0 15px 40px rgba(38,57,95,.16);display:flex;gap:9px;align-items:center}.toast-mark{width:9px;height:9px;border-radius:50%;background:#3b82f6}.toast-error .toast-mark{background:#ef4444}.toast-warning .toast-mark{background:#f59e0b}.notification-panel{position:fixed;right:22px;top:76px;width:min(390px,calc(100vw - 32px));z-index:200;background:#fff;border:1px solid #dce4ef;border-radius:16px;box-shadow:0 18px 55px rgba(41,58,95,.16);overflow:hidden}.notification-head{padding:14px 15px;border-bottom:1px solid #edf1f6;display:flex;justify-content:space-between}.notification-heading{font-weight:800}.notification-sub{font-size:11px;color:var(--muted)}.notification-list{max-height:470px;overflow:auto}.notification-item{padding:12px 15px;border-bottom:1px solid #edf1f6}.notification-item.unread{background:#f7faff}.notification-item-title{font-weight:700;font-size:12px}.notification-item-message,.notification-item-time{font-size:10px;color:var(--muted);margin-top:3px}.notification-foot{padding:10px 14px}.health-row{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-bottom:1px solid #edf1f6}.health-dot{width:9px;height:9px;border-radius:50%;background:#22c55e;margin-top:5px}.health-dot.fail{background:#ef4444}
.boot-failure{min-height:100vh;display:grid;place-items:center;padding:30px;background:#f5f8ff}.boot-failure-card{width:min(560px,100%);background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px}.boot-failure-brand{display:flex;align-items:center;gap:10px;color:var(--muted)}.boot-failure-brand img{width:42px;height:42px}.boot-failure-mark{width:46px;height:46px;border-radius:14px;background:#fff1f1;color:#dc2626;display:grid;place-items:center;font-size:24px;margin-top:24px}.boot-failure h1{margin-bottom:6px}.boot-failure p{color:var(--muted)}.boot-failure-detail{background:#f7f9fc;border-radius:12px;padding:12px;margin:15px 0}.boot-failure-actions{display:flex;gap:8px}
/* Keep legacy helpers light */
.status{display:inline-flex;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:700;background:#eef2f7;color:#64748b}.status.published{background:#e6faf2;color:#11835f}.status.draft{background:#f0f2f6;color:#69748a}.searchbar{position:relative}.logo-fallback{display:grid;place-items:center;background:linear-gradient(145deg,#e7efff,#e9e3ff);color:#315bd5;font-weight:800}.field-value a{color:#245fd7}.workspace-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.workspace-summary>div{background:#f8faff;border:1px solid #e5ebf4;border-radius:12px;padding:11px;display:flex;flex-direction:column}.control-grid{display:flex;align-items:flex-end;gap:10px}.control-field{display:grid;gap:5px}.control-actions{display:flex;gap:8px}
/* collapsed + responsive */
.sidebar-collapsed{--sidebar:76px}.sidebar-collapsed .studio-brand-lockup>div,.sidebar-collapsed .nav-label-text,.sidebar-collapsed .nav-btn .badge,.sidebar-collapsed .studio-side-promo,.sidebar-collapsed .profile-main,.sidebar-collapsed .profile-divider,.sidebar-collapsed .profile-signout{display:none}.sidebar-collapsed .studio-brand{justify-content:center;position:relative}.sidebar-collapsed .studio-brand-lockup img{width:38px;height:38px}.sidebar-collapsed .studio-collapse{position:absolute;right:-1px;bottom:-10px;width:24px;height:24px;border-radius:8px}.sidebar-collapsed .nav-btn{justify-content:center;padding:0}.sidebar-collapsed .nav-btn>span:first-child{gap:0}.sidebar-collapsed .profile-card{padding:8px}.sidebar-collapsed .profile-top{justify-content:center}.sidebar-collapsed .profile-avatar{width:36px;height:36px}
@media (max-width:1280px){.studio-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-metrics-4{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-dashboard-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.studio-span-4,.studio-span-5,.studio-span-7,.studio-span-8{grid-column:span 3}.studio-span-12{grid-column:span 6}.studio-hero{grid-template-columns:1fr .72fr}.studio-account-row{grid-template-columns:42px minmax(160px,1.3fr) 95px minmax(120px,.8fr)}.studio-row-actions{grid-column:2/-1;justify-content:flex-start}.studio-backup-grid{grid-template-columns:1fr 1fr}.backup-actions-stack{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr)}}
@media (max-width:900px){.shell{display:block}.studio-main{grid-column:auto}.sidebar{transform:translateX(-100%);transition:transform .2s ease;box-shadow:18px 0 48px rgba(35,55,95,.14)}.sidebar.open{transform:translateX(0)}.studio-mobile-menu{display:grid;place-items:center}.studio-topbar{justify-content:flex-start;padding:0 14px}.studio-global-search{width:auto;flex:1;max-width:none}.studio-user-copy,.studio-version{display:none}.studio-content{padding:14px 14px 36px}.studio-hero{grid-template-columns:1fr;min-height:260px;padding:26px}.studio-hero-art{position:absolute;right:-50px;bottom:-38px;width:48%;opacity:.48}.studio-hero-copy{max-width:75%}.studio-hero h1{font-size:31px}.studio-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-dashboard-grid{grid-template-columns:1fr}.studio-span-4,.studio-span-5,.studio-span-7,.studio-span-8,.studio-span-12{grid-column:auto}.studio-import-grid{grid-template-columns:1fr}.library-filterbar{grid-template-columns:1fr 1fr}.library-search{grid-column:1/-1}.studio-backup-grid{grid-template-columns:1fr}.backup-actions-stack{grid-column:auto;display:flex}.record-columns{grid-template-columns:1fr}.r2-stats{grid-template-columns:repeat(2,1fr)}.r2-workspace-head{align-items:flex-start;flex-direction:column}.r2-workspace-tools{width:100%;flex-wrap:wrap}.r2-manager-search{min-width:0;flex:1}.studio-team-row{grid-template-columns:42px 1fr 90px}.studio-team-row>*:nth-child(n+4){grid-column:2/-1}.studio-account-row{grid-template-columns:42px 1fr}.studio-account-row>*:nth-child(n+3){grid-column:2/-1}.studio-storage{flex-direction:column}.studio-activity-grid{grid-template-columns:1fr}.studio-side-promo{display:none}.r2-record-grid{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.studio-topbar{height:62px}.studio-global-search kbd{display:none}.studio-top-actions{gap:5px}.studio-user-chip{padding:3px}.studio-hero{padding:22px;min-height:285px}.studio-hero-copy{max-width:100%}.studio-hero-art{opacity:.22;width:70%}.studio-hero h1{font-size:28px}.studio-hero p{font-size:13px}.studio-metrics,.studio-metrics-4{grid-template-columns:1fr}.studio-metric{min-height:86px}.library-filterbar{grid-template-columns:1fr}.library-tabs,.library-sections{overflow:auto}.app-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}.app-card-visual{height:100px}.app-card-icon{width:58px;height:58px}.app-card-body{padding:9px}.app-card-line{flex-wrap:wrap}.studio-backup-callout{align-items:flex-start;flex-wrap:wrap}.studio-backup-callout>div{flex-basis:calc(100% - 55px)}.r2-stats{grid-template-columns:1fr}.r2-disk-grid,.r2-folder-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.r2-disk-card,.r2-folder-tile{min-height:130px}.r2-domain-form,.studio-domain-form{flex-direction:column}.r2-record-grid{grid-template-columns:1fr}.workspace-summary{grid-template-columns:1fr 1fr}.record-toolbar{align-items:flex-start;flex-direction:column}.record-actions{width:100%}.record-actions .btn{flex:1}.modal-wrap{padding:8px}.modal{border-radius:14px}}
/* V2.5.1 UI stabilization */
.studio-brand-lockup img{content:url('/studio-logo.svg?v=300')}.sidebar-foot{display:none!important}.studio-user-chip{height:auto;min-height:50px;padding:5px 8px}.studio-user-copy{gap:0;line-height:1.12}.studio-user-role{order:-1;color:#6c60d7!important;font-size:9px!important;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.studio-user-copy b{font-size:12px;margin:2px 0}.studio-user-email{font-size:9px!important;max-width:190px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio-profile-wrap{position:relative}.studio-profile-menu{position:absolute;right:0;top:calc(100% + 8px);width:190px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:6px;box-shadow:0 18px 45px rgba(42,61,101,.14);z-index:80}.studio-profile-menu[hidden]{display:none}.studio-profile-menu button{width:100%;border:0;background:transparent;padding:9px 10px;border-radius:9px;text-align:left;cursor:pointer;color:#33466c}.studio-profile-menu button:hover{background:#f3f7ff}.nav-btn.nav-sub{margin-left:25px;width:calc(100% - 25px);height:38px;font-size:12px}.nav-btn.nav-sub .nav-icon{width:18px;height:18px}.nav-btn.nav-sub .nav-icon .icon{width:18px;height:18px}
.studio-tr{grid-template-columns:minmax(220px,2fr) minmax(78px,.65fr) minmax(78px,.65fr) minmax(110px,.9fr) minmax(105px,.9fr) minmax(100px,.9fr) 70px;min-width:920px}.studio-tr>span{min-width:0}.studio-tr>span:nth-child(2),.studio-tr>span:nth-child(3){font-variant-numeric:tabular-nums}.studio-table .studio-th span{white-space:nowrap}
.import-control-shell{display:grid;gap:9px}.import-control-grid{display:grid;grid-template-columns:minmax(120px,1fr) auto;gap:10px;align-items:center}.import-status{display:none;border:1px solid #dfe8f4;background:#fff;border-radius:12px;padding:11px 12px}.import-status.is-visible{display:block}.import-status-line{margin:0 0 8px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.import-status-line strong{margin-left:auto;color:#365fd6}.progress{height:8px;background:#e8eef7;border-radius:999px;overflow:hidden}.progress span{display:block;height:100%;background:linear-gradient(90deg,#428bff,#6d68ef);border-radius:inherit}.import-stop{justify-self:start}.studio-import-grid{gap:16px;padding:18px}.studio-import-grid>div{padding:18px;min-height:150px}.inline-import-form{display:grid;grid-template-columns:1fr auto;gap:10px}
.studio-service-icon{width:46px;height:46px;border-radius:14px}.studio-service-icon.cloudflare{background:#fff7ed;color:#f48120}.studio-service-icon.cloudflare .icon{width:29px;height:29px}.studio-account-list{padding:10px 20px 20px}.studio-account-row{grid-template-columns:52px minmax(190px,1.35fr) 104px minmax(140px,.8fr) auto;gap:16px;padding:16px 0}.studio-account-row small{margin-top:3px}.studio-account-usage strong{font-size:12px}.studio-row-actions{gap:7px}.studio-row-actions .btn{min-width:58px}.r2-connect-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:0}.r2-connect-form{padding-bottom:22px}.r2-simple-account-form{padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:16px}.r2-simple-account-form label{display:grid;gap:7px;color:#465778;font-size:11px;font-weight:700}.r2-form-actions{grid-column:1/-1;display:flex;gap:9px;padding-top:2px}.r2-setup-guide{border-left:1px solid #e6ecf5;background:linear-gradient(180deg,#fbfdff,#f6f9ff);padding:24px}.r2-guide-icon{width:50px;height:50px;border-radius:15px;background:#fff3e7;color:#f48120;display:grid;place-items:center}.r2-guide-icon .icon{width:31px;height:31px}.r2-setup-guide h3{font-size:16px;margin:14px 0 10px}.r2-setup-guide ol{margin:0;padding-left:20px;display:grid;gap:12px}.r2-setup-guide li{padding-left:4px;color:#34486d}.r2-setup-guide li b,.r2-setup-guide li span{display:block}.r2-setup-guide li span{font-size:11px;color:var(--muted);margin-top:2px;line-height:1.45}.r2-setup-guide>p{font-size:10px;color:var(--muted);line-height:1.5;margin:16px 0 0}
.studio-chart-wrap{padding:18px 20px 10px;overflow:auto}.studio-activity-chart{width:100%;min-width:650px;height:260px}.studio-activity-chart text{font:10px Inter,sans-serif;fill:#7a86a2}.chart-legend{display:flex;gap:14px;font-size:10px;color:var(--muted)}.chart-legend span{display:flex;align-items:center;gap:5px}.chart-legend i{width:8px;height:8px;border-radius:50%;display:block}.chart-legend i.violet{background:#7c8cff}.chart-legend i.mint{background:#33c49a}
.studio-team-actions{display:flex!important;gap:6px!important;align-items:center}.user-edit-modal{max-width:620px!important}.profile-photo-editor{display:flex;align-items:center;gap:16px;border:1px solid #e2e9f3;background:#f9fbff;border-radius:14px;padding:14px;margin-bottom:16px}.profile-photo-preview{width:78px;height:78px;border-radius:22px;background:linear-gradient(145deg,#e2efff,#e7e0ff);display:grid;place-items:center;overflow:hidden;color:#315bd5;font-size:24px;font-weight:800;flex:0 0 auto}.profile-photo-preview img{width:100%;height:100%;object-fit:cover}.profile-photo-editor>div:last-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.profile-photo-editor p{width:100%;margin:0}
.r2-search-wrap{position:relative;min-width:400px;flex:1}.r2-manager-search{min-width:0!important;width:100%;height:46px;padding-left:42px!important;font-size:13px}.r2-search-icon{left:14px}.r2-search-shortcut{display:none!important}.r2-disk-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.r2-disk-card{min-height:150px;align-items:stretch;text-align:left;justify-content:center;padding:20px;gap:14px}.r2-disk-symbol{width:48px;height:48px;border-radius:14px;background:#edf3ff;color:#346be4;display:grid;place-items:center}.r2-disk-symbol .icon{width:27px;height:27px}.r2-disk-copy{display:grid;gap:10px}.r2-disk-copy>b{font-size:15px}.r2-disk-copy small{display:flex;justify-content:space-between;gap:14px;font-size:10px}.r2-storage-bar{height:8px}.r2-storage-bar i{background:linear-gradient(90deg,#4a86ff,#6a67ef)}.r2-account-heading-icon{background:transparent!important;border:0!important}.r2-account-heading-icon img{display:block!important;width:42px!important;height:42px!important;object-fit:contain!important}.r2-account-heading-icon:after{display:none!important}
.panel,.studio-card{overflow:visible}.studio-card-head{padding:19px 21px}.panel-body{padding:20px}.studio-content>*+*{margin-top:16px}.btn{border-radius:10px}.input{border-radius:10px}.studio-account-row,.studio-team-row{min-height:70px}.studio-topbar{box-shadow:0 1px 0 rgba(218,227,240,.45)}
@media(max-width:1100px){.r2-connect-layout,.r2-domain-connect-layout{grid-template-columns:1fr}.r2-setup-guide{border-left:0;border-top:1px solid #e6ecf5}.r2-search-wrap{min-width:280px}}@media(max-width:700px){.r2-simple-account-form,.r2-domain-pair-form{grid-template-columns:1fr}.r2-form-actions{grid-column:auto}.studio-user-email{display:none}.r2-search-wrap{min-width:0;width:100%}.inline-import-form{grid-template-columns:1fr}.studio-tr{min-width:880px}}

/* V2.5.1 hotfix: Mage icon system + resilient R2 sidebar/file manager */
.mage-icon{display:block;width:100%;height:100%;background:currentColor;-webkit-mask:var(--mage) center/contain no-repeat;mask:var(--mage) center/contain no-repeat}
.cloudflare-mark,.studio-service-icon.cloudflare img{width:100%;height:100%;object-fit:contain;display:block}
.icon>.cloudflare-mark{width:100%;height:100%}
.studio-service-icon.cloudflare{padding:7px;background:#fff8ef;color:#f48120}
.studio-service-icon.cloudflare .cloudflare-mark{width:32px;height:32px}

/* Accounts and File Manager are separate top-level destinations. Only storage accounts/folders nest under File Manager. */
.r2-side-tree{display:grid;gap:2px;margin:3px 0 8px 18px;padding-left:10px;border-left:1px solid #e4eaf3;min-width:0;overflow:hidden}
.r2-side-disk,.r2-side-branch{min-width:0}.r2-side-row{display:flex;align-items:center;min-width:0;height:34px}.r2-side-toggle{width:20px;height:28px;flex:0 0 20px;border:0;background:transparent;color:#8490a8;cursor:pointer;font-size:15px;line-height:1;transform:rotate(0deg);transition:transform .15s ease}.r2-side-toggle.open{transform:rotate(90deg)}.r2-side-toggle-spacer{width:20px;flex:0 0 20px}.r2-side-link{border:0;background:transparent;min-width:0;flex:1;height:32px;padding:3px 6px;border-radius:8px;display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:7px;align-items:center;text-align:left;color:#4c5c7a;cursor:pointer}.r2-side-link:hover{background:#f2f6fd;color:#1d4ed8}.r2-side-link img,.r2-side-app-icon{width:20px!important;height:20px!important;max-width:20px!important;max-height:20px!important;border-radius:6px;object-fit:cover;display:block}.r2-side-link.disk img.r2-side-cloudflare{object-fit:contain;border-radius:0}.r2-side-empty-icon{width:20px;height:20px;border-radius:6px;background:#eef3fb;position:relative}.r2-side-empty-icon:after{content:"";position:absolute;inset:5px;background:#9aa9c3;border-radius:3px}.r2-side-link span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;font-weight:650}.r2-side-link small{font-size:9px;color:#8c97ad}.r2-side-children{display:none;margin-left:8px;min-width:0}.r2-side-children.open{display:block}.sidebar-collapsed .r2-side-tree{display:none}

/* Cloudflare branding for every R2 account identity */
.r2-disk-symbol.cloudflare-disk{background:#fff7ed;padding:8px}.r2-disk-symbol.cloudflare-disk img{width:100%;height:100%;object-fit:contain}.r2-account-heading-icon{width:46px;height:46px!important;border:1px solid #ffe1c2!important;border-radius:14px!important;background:#fff8ef!important;padding:8px!important}.r2-account-heading-icon img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important}.r2-account-heading-icon:after{display:none!important;content:none!important}

/* Search contrast and size */
.r2-search-wrap{min-width:min(520px,46vw)}.r2-search-icon{color:#52698f!important;z-index:2;display:grid;place-items:center;width:20px;height:20px}.r2-search-icon .icon{width:20px;height:20px}.r2-manager-search{background:#fff!important;color:#152544!important;border-color:#d9e3f0!important}.r2-manager-search::placeholder{color:#8290aa!important}.studio-global-search>span{color:#52698f!important}.studio-global-search .mage-icon{width:18px;height:18px}

/* One stable modal only; avoid visual duplication/flicker. */
.modal-wrap{isolation:isolate;z-index:2000!important;background:rgba(31,45,76,.32)!important}.modal{overflow:auto!important;contain:layout paint}.r2-folder-modal{max-width:560px!important;overflow:hidden!important}.r2-folder-modal .panel-body{overflow:visible}.r2-folder-modal .form-row{padding:8px 0 0}.r2-icon-picker{align-items:flex-start}.r2-icon-picker>div:last-child{min-width:0;flex:1}.r2-icon-picker input{width:100%}

/* Stronger responsive protection for the file manager and sidebar. */
.r2-workspace-panel{overflow:hidden!important}.r2-workspace-head{min-width:0}.r2-workspace-tools{min-width:0;flex:1;justify-content:flex-end}.r2-account-heading{min-width:220px}.r2-account-heading>div{min-width:0}.r2-account-heading .panel-title,.r2-account-heading .panel-sub{overflow:hidden;text-overflow:ellipsis}.r2-disk-grid{align-items:stretch}.r2-folder-grid img{max-width:100%}.r2-file-browser{min-width:0;overflow:hidden}.r2-explorer-table{max-width:100%}

.btn:hover{color:#1f315a}.btn.primary:hover,.btn-primary:hover{color:#fff!important}.btn.danger:hover{color:#991b1b}

@media(max-width:1180px){.r2-workspace-tools{width:100%;justify-content:stretch}.r2-search-wrap{min-width:0;max-width:none;width:100%}.r2-new-folder-btn{flex:0 0 auto}}
@media(max-width:900px){.r2-side-tree{margin-left:14px}.r2-workspace-tools{flex-direction:column;align-items:stretch}.r2-new-folder-btn{width:100%}.r2-account-heading{min-width:0;width:100%}.r2-browser-toolbar{align-items:flex-start;flex-direction:column}.r2-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.r2-stats{grid-template-columns:1fr}.r2-disk-grid,.r2-folder-grid{grid-template-columns:1fr}.r2-manager-search{height:44px}.r2-workspace-head,.r2-workspace-body{padding:14px}.r2-account-heading-icon{width:42px;height:42px!important}}

/* V2.5.2 UI repair: app detail containment, compact sidebar, local icon system, hover contrast */
html,body,#app{overflow-x:hidden}
.shell,.studio-shell,.studio-main,.studio-content,#content{min-width:0;max-width:100%}
.icon,.nav-icon{flex:0 0 auto}.ui-svg-icon{display:block;width:100%;height:100%}.mage-icon{display:none!important}
.nav-btn .nav-icon{width:22px;height:22px;color:#65769a}.nav-btn .nav-icon .ui-svg-icon{width:21px;height:21px}
.nav-btn:hover .nav-icon{color:#345fc8}.nav-btn.active .nav-icon{color:#2f63ec}

/* Never flash action buttons to white on hover. */
.btn:hover{background:#eaf2ff!important;border-color:#aac1eb!important;color:#18305d!important}
.btn.primary:hover,.btn-primary:hover{background:linear-gradient(135deg,#1f73ed,#4f55dc)!important;border-color:#285de0!important;color:#fff!important}
.btn.danger:hover{background:#ffe9eb!important;border-color:#f7b8bf!important;color:#a61f2a!important}
.link-button:hover,.studio-link:hover{color:#163fa8}
.studio-collapse:hover,.notification-bell:hover,.studio-mobile-menu:hover{background:#eaf2ff!important;color:#254fac!important}

/* Clean expanded/collapsed sidebar. */
.sidebar-collapsed{--sidebar:82px}
.sidebar-collapsed .side-scroll{padding:18px 10px}
.sidebar-collapsed .studio-brand{height:62px;margin:0 0 18px;justify-content:center;position:relative}
.sidebar-collapsed .studio-brand-lockup{justify-content:center;width:100%}
.sidebar-collapsed .studio-brand-lockup img{width:42px;height:42px}
.sidebar-collapsed .studio-collapse{position:fixed;left:67px;top:22px;right:auto;bottom:auto;width:30px;height:30px;border-radius:11px;background:#eef4ff;border-color:#d5e2f6;color:#315cc2;box-shadow:0 4px 14px rgba(54,82,140,.10);z-index:50}
.sidebar-collapsed .studio-collapse .icon{width:16px;height:16px}
.sidebar-collapsed .studio-nav{gap:7px}
.sidebar-collapsed .nav-btn{height:44px;width:48px;margin:0 auto;border-radius:14px;justify-content:center;padding:0}
.sidebar-collapsed .nav-btn.active{background:#e9edff}
.sidebar-collapsed .nav-btn .nav-icon{width:23px;height:23px}
.sidebar-collapsed .nav-btn .nav-icon .ui-svg-icon{width:23px;height:23px}
.sidebar-collapsed .studio-brand-lockup>div,.sidebar-collapsed .nav-label-text,.sidebar-collapsed .nav-btn .badge,.sidebar-collapsed .studio-side-promo,.sidebar-collapsed .profile-main,.sidebar-collapsed .profile-divider,.sidebar-collapsed .profile-signout{display:none!important}
.sidebar-collapsed .r2-side-tree{display:none!important}

/* App detail page: media can never escape its cards or force horizontal scrolling. */
.app-record-page{width:100%;min-width:0;overflow:hidden;align-content:start}
.record-toolbar{min-width:0;flex-wrap:wrap}
.record-identity{min-width:0;flex:1 1 420px}.record-identity-text{min-width:0}.record-name-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.record-name-line h1{margin:0;font-size:24px;line-height:1.15;overflow-wrap:anywhere}
.record-actions{flex:0 1 auto}
.record-app-icon{width:58px;height:58px;flex:0 0 58px;overflow:hidden;border-radius:15px;background:#eef3ff}
.record-app-icon>img,.record-icon-preview>img{display:block;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:cover!important;border-radius:inherit}
.record-artwork-section{padding:0!important;min-width:0;overflow:hidden}
.record-artwork-section .record-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px}
.record-artwork-row{display:grid!important;grid-template-columns:92px minmax(220px,280px) minmax(0,1fr);gap:16px;align-items:start;padding:16px!important;min-width:0;max-width:100%}
.record-icon-preview{width:92px!important;height:auto!important;min-width:0;background:transparent!important;border-radius:0!important;display:grid;gap:7px;align-content:start;text-align:center;color:#71809d;font-size:10px}
.record-icon-preview>img,.record-icon-preview>.workspace-icon-empty{width:78px!important;height:78px!important;margin:0 auto;border-radius:17px;object-fit:cover;background:#eef3ff;display:grid;place-items:center}
.record-cover-preview{width:100%!important;max-width:280px!important;min-width:0;border-radius:13px!important;display:grid;gap:7px;color:#71809d;font-size:10px}
.record-cover-preview>img{display:block;width:100%!important;height:158px!important;max-width:100%!important;object-fit:cover!important;border-radius:13px}
.record-cover-empty{min-height:120px;display:grid;place-items:center;border:1px dashed #ccd8ea;border-radius:13px;background:#f8fbff;color:#8190ab;padding:12px;text-align:center}
.record-screenshot-strip{min-width:0!important;width:100%;max-width:100%;display:grid!important;grid-auto-flow:column;grid-auto-columns:220px;gap:10px;overflow-x:auto!important;overflow-y:hidden;padding:0 0 8px;scrollbar-width:thin;overscroll-behavior-inline:contain}
.record-shot-preview{width:220px!important;height:auto!important;min-width:220px;border-radius:12px!important;display:grid;gap:7px;color:#71809d;font-size:10px;overflow:hidden}
.record-shot-preview>img{display:block;width:220px!important;height:124px!important;max-width:220px!important;object-fit:cover!important;border-radius:12px}
.record-columns,.record-right-column,.record-section,.record-fields,.record-links,.record-history,.record-description{min-width:0;max-width:100%}
.record-columns{align-items:start}.record-section{overflow:hidden}.record-description{white-space:pre-wrap;overflow-wrap:anywhere}.field-value{overflow-wrap:anywhere;word-break:break-word}
.record-history-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center}.record-history-row>*{min-width:0}

@media(max-width:1100px){
  .record-artwork-row{grid-template-columns:84px minmax(200px,250px) minmax(0,1fr)}
  .record-screenshot-strip{grid-auto-columns:190px}.record-shot-preview,.record-shot-preview>img{width:190px!important;max-width:190px!important}.record-shot-preview>img{height:110px!important}
}
@media(max-width:760px){
  .record-artwork-row{grid-template-columns:82px minmax(0,1fr)}
  .record-screenshot-strip{grid-column:1/-1;grid-auto-columns:180px}
  .record-cover-preview{max-width:none!important}.record-cover-preview>img{height:150px!important}
  .record-actions{width:100%}.record-actions .btn{flex:1 1 120px}
}
@media(max-width:520px){
  .record-artwork-row{grid-template-columns:1fr}.record-icon-preview,.record-cover-preview{width:100%!important;max-width:100%!important}.record-screenshot-strip{grid-column:auto}
  .field{grid-template-columns:1fr;gap:3px}
}

/* Cloudflare account identity must stay Cloudflare-branded. */
.r2-account-heading-icon{background:#fff7ed!important;border:1px solid #ffedd5!important;border-radius:13px!important;padding:7px!important}
.r2-account-heading-icon img{display:block!important;width:28px!important;height:28px!important;object-fit:contain!important}
.r2-account-heading-icon:after{display:none!important;content:none!important}
.r2-disk-symbol.cloudflare-disk{background:#fff7ed!important;border:1px solid #ffedd5!important}
.r2-disk-symbol.cloudflare-disk img{display:block;width:32px;height:32px;object-fit:contain}


/* V2.6 app workspace: one identity icon, compact media, and a true 20/80 information layout. */
.record-artwork-section .record-section-head>div>h2{margin:0}.record-artwork-section .record-section-head>div>p{margin:3px 0 0;color:var(--muted);font-size:11px}
.record-artwork-row.record-artwork-no-icon{grid-template-columns:minmax(220px,300px) minmax(0,1fr)!important;align-items:start}
.record-screenshots-block{min-width:0;display:grid;gap:9px}.record-media-label{display:flex;align-items:center;gap:7px;color:#3b4b68;font-size:11px;font-weight:800}.record-media-label span{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:#eef3ff;color:#4167d9;font-size:10px}
.record-columns.record-columns-20-80{grid-template-columns:minmax(235px,20fr) minmax(0,80fr);gap:16px}
.record-columns-20-80>.record-metadata-section{position:sticky;top:76px}
.record-right-column{display:grid;gap:14px}
.record-content-stack{display:grid;grid-template-columns:1fr 1fr;gap:14px;min-width:0}
.record-content-card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.record-content-card-large{grid-column:1/-1}
.record-content-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 15px;border-bottom:1px solid #edf1f7;background:#fbfcff}.record-content-card-head h3{margin:0;font-size:13px;color:#17233d}
.record-content-value,.record-content-card .record-description{padding:15px!important;line-height:1.58;color:#243452;background:#fff;min-height:58px}
.record-content-card-large .record-description{min-height:150px;max-height:360px;overflow:auto}
.record-content-copybar{grid-column:1/-1;display:flex;justify-content:flex-end}
.record-metadata-section .record-fields{padding:12px}.record-metadata-section .field{grid-template-columns:1fr;gap:3px;padding:8px 0}.record-metadata-section .field-label{font-size:9px;text-transform:uppercase;letter-spacing:.035em}.record-metadata-section .field-value{font-size:11px;font-weight:650;color:#283852}
.record-links-section .record-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.record-links-section .record-links>.field{display:block;padding:11px 12px;border:1px solid #e7edf7;border-radius:12px;background:#fbfcff}.record-links-section .record-links>.field .field-label{margin-bottom:5px}.record-links-section .record-links>.field .field-value{font-size:11px}
.record-history:not([open]){padding-bottom:12px}.record-history summary{cursor:pointer}
@media(max-width:1180px){.record-columns.record-columns-20-80{grid-template-columns:minmax(220px,28fr) minmax(0,72fr)}.record-columns-20-80>.record-metadata-section{position:static}.record-links-section .record-links{grid-template-columns:1fr}}
@media(max-width:900px){.record-columns.record-columns-20-80{grid-template-columns:1fr}.record-content-stack{grid-template-columns:1fr}.record-content-card-large,.record-content-copybar{grid-column:auto}.record-artwork-row.record-artwork-no-icon{grid-template-columns:minmax(190px,240px) minmax(0,1fr)!important}}
@media(max-width:640px){.record-artwork-row.record-artwork-no-icon{grid-template-columns:1fr!important}.record-cover-preview{max-width:100%!important}.record-screenshot-strip{grid-auto-columns:190px}.record-links-section .record-links{grid-template-columns:1fr}}

/* V2.7 collaboration, release search, cleanup controls, and account capacity clarity. */
.live-presence-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 16px;border:1px solid #dfe8f5;border-radius:15px;background:linear-gradient(90deg,#fbfdff,#f7f9ff);box-shadow:0 6px 22px rgba(55,76,119,.04)}
.live-presence-copy{display:flex;align-items:center;gap:10px;min-width:190px}.live-presence-copy>div{display:grid;gap:2px}.live-presence-copy b{font-size:12px;color:#253653}.live-presence-copy small{font-size:10px;color:#7a88a2;line-height:1.35}.presence-pulse{width:10px;height:10px;border-radius:50%;background:#2ebd88;box-shadow:0 0 0 5px rgba(46,189,136,.12);flex:0 0 auto}
.live-presence-users{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;min-width:0}.presence-user{display:grid;gap:1px;max-width:240px;padding:6px 9px;border:1px solid #e1e8f4;border-radius:10px;background:#fff}.presence-user.own{border-color:#bde9d9;background:#f2fcf8}.presence-user b{font-size:10px;color:#304260;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.presence-user small{font-size:9px;color:#7d89a0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.presence-empty{font-size:10px;color:#8995aa}
.claim-slot:empty{display:none}.live-claim-chip{display:inline-flex;align-items:center;gap:5px;max-width:155px;border-radius:999px;padding:4px 7px;font-size:9px;font-weight:750;line-height:1.1;white-space:nowrap;overflow:hidden}.live-claim-chip span{overflow:hidden;text-overflow:ellipsis}.live-claim-chip i{width:6px;height:6px;border-radius:50%;flex:0 0 auto}.live-claim-chip.busy{background:#fff0e5;color:#af5e13}.live-claim-chip.busy i{background:#ef8a32}.live-claim-chip.own{background:#e8f9f2;color:#147658}.live-claim-chip.own i{background:#2ebd88}.app-live-claimed-other{outline:1px solid rgba(239,138,50,.4);outline-offset:-1px}.studio-tr.app-live-claimed-other{background:#fffdfa}
.app-card-footer{display:flex;align-items:center;gap:7px}.app-card-footer .claim-slot{min-width:0;flex:1}.app-card-footer .app-open{width:auto;min-width:62px;margin-left:auto}.studio-table-actions{display:flex!important;align-items:center;justify-content:flex-end;gap:6px;min-width:0}.studio-table-actions .claim-slot{min-width:0}.studio-table-actions .live-claim-chip{max-width:118px}
.release-card-head{gap:18px;align-items:center}.release-search{display:flex;align-items:center;gap:7px;position:relative;min-width:min(100%,460px)}.release-search>span:first-child{position:absolute;left:12px;color:#8390aa;z-index:2}.release-search .input{min-width:240px;flex:1;padding-left:38px}.release-search .btn{flex:0 0 auto}
.library-filterbar{grid-template-columns:auto auto minmax(160px,220px) auto minmax(220px,1fr)}.library-clear-apps{white-space:nowrap}
.studio-account-row{grid-template-columns:52px minmax(190px,1.25fr) 110px minmax(220px,1fr) auto}.studio-account-row>.studio-status{justify-self:start;padding:7px 11px;font-size:10px}.studio-account-usage{gap:6px}.studio-account-usage>i{height:9px!important}.account-usage-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.account-usage-head strong{font-size:11px!important;color:#2e405f}.account-usage-head>b{font-size:10px;color:#13805e;white-space:nowrap}.studio-account-usage>small{font-size:9px;color:#7b88a0;margin:0!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
@media(max-width:1280px){.studio-account-row{grid-template-columns:52px minmax(170px,1.2fr) 104px minmax(210px,1fr)}.studio-row-actions{grid-column:2/-1}.library-filterbar{grid-template-columns:auto auto minmax(150px,1fr) auto}.library-search{grid-column:1/-1}}
@media(max-width:900px){.live-presence-bar{align-items:flex-start;flex-direction:column}.live-presence-users{justify-content:flex-start;width:100%}.release-card-head{align-items:flex-start;flex-direction:column}.release-search{width:100%;min-width:0}.library-filterbar{grid-template-columns:1fr 1fr}.library-clear-apps{grid-column:auto}.studio-account-row{grid-template-columns:46px 1fr}.studio-account-row>*:nth-child(n+3){grid-column:2/-1}.account-usage-head{max-width:360px}}
@media(max-width:600px){.release-search{display:grid;grid-template-columns:1fr auto}.release-search>span:first-child{top:13px}.release-search .input{min-width:0}.release-search .btn:last-child{grid-column:1/-1}.library-clear-apps{grid-column:1/-1}.app-card-footer{align-items:stretch;flex-direction:column}.app-card-footer .app-open{width:100%}.live-claim-chip{max-width:100%}}


/* V2.8 responsive workspace + sidebar collaboration.
   Large desktop keeps the existing scale. Laptop/tablet layouts compact spacing and reflow
   components instead of globally shrinking typography. */
.studio-side-activity{margin:22px 4px 8px;border:1px solid #dce7f7;border-radius:18px;background:linear-gradient(155deg,#f5fbff 0%,#f5f4ff 100%);padding:13px;min-width:0;overflow:hidden}
.studio-side-activity-head{display:flex;align-items:center;gap:9px;padding-bottom:10px;border-bottom:1px solid #e5ebf5}.studio-side-activity-head>div{display:grid;gap:1px;min-width:0}.studio-side-activity-head b{font-size:12px;color:#223558}.studio-side-activity-head small{font-size:9px;color:#8490a7}.studio-side-activity-users{display:grid;gap:7px;padding-top:9px}.sidebar-presence-user{position:relative;display:grid;grid-template-columns:30px minmax(0,1fr) 7px;align-items:center;gap:8px;padding:7px;border:1px solid #e2e9f4;border-radius:11px;background:#fff;min-width:0}.sidebar-presence-user.own{border-color:#bde9d9;background:#f3fcf8}.sidebar-presence-user>img,.sidebar-presence-avatar-fallback{width:30px;height:30px;border-radius:50%;object-fit:cover}.sidebar-presence-avatar-fallback{display:grid;place-items:center;background:linear-gradient(145deg,#dfeaff,#e6dcff);color:#365dcc;font-weight:800;font-size:11px}.sidebar-presence-user>span{min-width:0;display:grid;gap:1px}.sidebar-presence-user b,.sidebar-presence-user small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-presence-user b{font-size:10px;color:#263957}.sidebar-presence-user small{font-size:9px;color:#71809a}.sidebar-presence-user>i{width:7px;height:7px;border-radius:50%;background:#2ebd88;box-shadow:0 0 0 3px rgba(46,189,136,.1)}.sidebar-presence-empty{font-size:9px;color:#8390a7;padding:3px 2px 1px}
.studio-team-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;min-width:0}.studio-team-actions .btn{white-space:nowrap}

/* Use available width before introducing extra rows. */
@media (max-width:1440px) and (min-width:901px){
  :root{--sidebar:200px}
  .side-scroll{padding:15px 10px 12px}.studio-brand{height:52px;margin-bottom:10px}.studio-brand-lockup{gap:8px}.studio-brand-lockup img{width:34px;height:34px}.studio-brand-lockup strong{font-size:17px}.studio-brand-lockup span{font-size:10px}.nav-btn{height:38px;padding:0 10px}.nav-btn>span:first-child{gap:9px}.nav-btn .nav-icon{width:19px;height:19px}.studio-side-activity{margin-top:16px}
  .studio-topbar{height:58px;padding:0 16px}.studio-global-search{height:38px;width:min(500px,45vw)}.notification-bell{width:36px;height:36px}.studio-user-chip{min-height:42px}.studio-user-chip>img,.studio-user-chip>span:first-child{width:31px;height:31px}.studio-version{padding:6px 8px}
  .content,.studio-content{padding:14px 16px 32px;max-width:none}.studio-content>*+*{margin-top:10px}
  .studio-hero{min-height:190px;padding:24px 26px;border-radius:20px;grid-template-columns:minmax(360px,1.15fr) minmax(280px,.85fr)}.studio-hero h1{font-size:34px;margin:7px 0 8px}.studio-hero p{font-size:14px;line-height:1.45}.studio-hero-actions{margin-top:14px}.studio-hero-art{height:150px}.hero-orbit{width:280px;height:100px}.hero-cloud{width:150px;height:88px}.hero-cloud:before{width:72px;height:72px;top:-29px}.hero-cloud:after{width:90px;height:90px;top:-37px}.hero-bubble{width:62px;height:62px;border-radius:20px}.hero-cube{width:42px;height:42px;border-radius:14px}
  .studio-metrics,.studio-metrics-4{gap:9px}.studio-metric{min-height:84px;padding:12px;gap:10px}.studio-metric-icon{width:38px;height:38px}.studio-metric b{font-size:22px}.studio-dashboard-grid{gap:10px}.panel-head,.studio-card-head{padding:13px 15px}.panel-body{padding:14px 15px}.studio-storage{padding:14px;gap:20px}.studio-donut{width:118px}.studio-donut:after{inset:14px}.studio-storage-list>div{padding:6px 0}.studio-import-grid{gap:10px;padding:12px}.studio-import-grid>div{padding:11px}.library-results{margin-top:10px}.library-results-head{padding:13px 15px 6px}.library-filterbar{padding:8px 12px 11px;gap:7px}.app-grid{gap:9px;padding:12px;grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.app-card-visual{height:102px}.app-card-icon{width:62px;height:62px}.app-card-body{padding:10px 11px 7px}.studio-tr{padding:9px 12px;gap:9px;font-size:11px}.studio-team-list{padding:4px 13px 12px}.studio-team-row{grid-template-columns:38px minmax(150px,1.45fr) 76px 80px minmax(90px,.75fr) minmax(118px,auto);gap:8px;padding:9px 0}.studio-permission{padding:13px;gap:9px}.studio-permission>div{padding:12px}.studio-account-list{padding:4px 13px 12px}
}

/* Short laptop displays need vertical compaction even when they are fairly wide. */
@media (max-height:820px) and (min-width:901px){
  .studio-topbar{height:54px}.content,.studio-content{padding-top:10px;padding-bottom:22px}.studio-content>*+*{margin-top:8px}
  .studio-hero{min-height:168px;padding:18px 22px}.studio-kicker{font-size:10px;letter-spacing:2.5px}.studio-hero h1{font-size:31px;line-height:1.02;margin:5px 0 6px}.studio-hero p{font-size:13px;line-height:1.38}.studio-hero-actions{margin-top:10px}.studio-hero-art{height:132px}.hero-orbit{width:250px;height:88px}.hero-cloud{width:135px;height:78px}.hero-bubble{width:56px;height:56px}.hero-cube{width:37px;height:37px}
  .studio-metric{min-height:74px;padding:10px 12px}.studio-metric-icon{width:34px;height:34px}.studio-metric b{font-size:20px;margin:2px 0}.studio-metric small{font-size:9px}.panel-head,.studio-card-head{padding:11px 14px}.panel-title,.studio-card-head h2{font-size:14px}.panel-sub,.studio-card-head p{font-size:10px}.studio-import-grid{padding:10px}.studio-import-grid>div{padding:10px}.studio-import-grid h3{font-size:12px}.studio-import-grid p{margin-bottom:7px;font-size:10px}.input{min-height:36px;padding:7px 10px}.btn{min-height:34px;padding:7px 12px}.library-results-head{padding-top:11px}.app-grid{padding:10px}.studio-storage{padding:12px}.studio-donut{width:106px}.studio-donut b{font-size:17px}.studio-activity{padding-bottom:12px}.studio-side-activity{margin-top:12px;padding:10px}.studio-side-activity-head{padding-bottom:7px}.studio-side-activity-users{padding-top:7px;gap:5px}.sidebar-presence-user{padding:5px}.sidebar-presence-user>img,.sidebar-presence-avatar-fallback{width:27px;height:27px}
}

/* 1180px class notebooks: preserve one-row metrics where possible and reflow dense sections. */
@media (max-width:1180px) and (min-width:901px){
  :root{--sidebar:188px}.studio-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}.studio-metrics-4{grid-template-columns:repeat(4,minmax(0,1fr))}.studio-metric{padding:9px;gap:7px}.studio-metric-icon{width:32px;height:32px}.studio-metric span:not(.studio-metric-icon){font-size:9px}.studio-metric b{font-size:18px}.studio-metric small{font-size:8px}.studio-dashboard-grid{grid-template-columns:repeat(12,minmax(0,1fr))}.studio-span-7{grid-column:span 7}.studio-span-5{grid-column:span 5}.studio-span-8{grid-column:span 8}.studio-span-4{grid-column:span 4}.studio-hero{grid-template-columns:minmax(330px,1.2fr) minmax(230px,.8fr)}.studio-hero-art{transform:scale(.9);transform-origin:center}.studio-storage{gap:12px}.studio-storage-list{min-width:150px}.studio-team-row{grid-template-columns:36px minmax(130px,1.3fr) 70px 76px minmax(80px,.7fr) minmax(112px,auto)}
}

/* Tablet/mobile changes structure, not merely font size. */
@media (max-width:900px){
  .studio-side-activity{margin:16px 2px 6px}.studio-side-promo{display:none!important}.studio-hero{min-height:220px;padding:22px}.studio-hero-copy{max-width:82%}.studio-hero-art{right:-32px;bottom:-28px;width:45%;height:145px}.studio-metrics,.studio-metrics-4{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-dashboard-grid{grid-template-columns:1fr}.studio-span-4,.studio-span-5,.studio-span-7,.studio-span-8,.studio-span-12{grid-column:auto}.studio-team-row{grid-template-columns:38px minmax(0,1fr) auto;gap:8px}.studio-team-row>*:nth-child(3){justify-self:end}.studio-team-row>*:nth-child(4),.studio-team-row>*:nth-child(5),.studio-team-row>*:nth-child(6){grid-column:2/-1}.studio-team-actions{justify-content:flex-start}.studio-team-actions .btn{flex:0 0 auto}.studio-import-grid{grid-template-columns:1fr}.studio-storage{flex-direction:row}.studio-donut{width:112px}.studio-account-row{grid-template-columns:42px minmax(0,1fr)}
}
@media (max-width:640px){
  .studio-content{padding:10px 10px 28px}.studio-hero{min-height:205px;padding:18px}.studio-hero-copy{max-width:100%}.studio-hero-art{opacity:.14;width:75%}.studio-hero h1{font-size:28px}.studio-metrics,.studio-metrics-4{grid-template-columns:1fr 1fr}.studio-metric{min-height:72px;padding:10px}.studio-storage{flex-direction:column}.studio-team-row{grid-template-columns:34px minmax(0,1fr)}.studio-team-row>*:nth-child(n+3){grid-column:2/-1;justify-self:start}.studio-team-actions{width:100%}.studio-team-actions .btn{flex:1 1 auto}.library-filterbar{grid-template-columns:1fr 1fr}.library-search{grid-column:1/-1}.app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:430px){
  .studio-topbar{padding:0 8px}.notification-bell{display:none}.studio-global-search{height:38px}.studio-metrics,.studio-metrics-4{grid-template-columns:1fr}.app-grid{grid-template-columns:1fr}.library-filterbar{grid-template-columns:1fr}.library-tabs,.library-sections{max-width:100%;overflow:auto}.studio-hero{min-height:190px}.studio-hero-art{display:none}
}

/* V2.9 hero consolidation + brand polish.
   Keep the established hero visual language while moving page-specific controls and
   status cards into the hero so the workspace uses less vertical space. */
.studio-brand-lockup{min-width:0;flex:1}
.studio-brand-lockup>div{min-width:0;line-height:1.08}
.studio-brand-lockup img{width:38px;height:auto;aspect-ratio:800/604;object-fit:contain;image-rendering:auto;flex:0 0 auto}
.studio-brand-lockup strong{white-space:nowrap;font-size:19px;letter-spacing:-.55px}
.studio-brand-lockup span{white-space:nowrap;font-size:10px;margin-top:3px;letter-spacing:.01em}

.studio-hero-extra{position:relative;z-index:3;grid-column:1/-1;min-width:0;width:100%}
.studio-hero-metrics,.studio-hero-imports,.studio-hero-update{grid-template-rows:auto auto;align-content:center;row-gap:14px;padding-top:28px;padding-bottom:24px}
.studio-hero-metrics .studio-hero-copy,.studio-hero-imports .studio-hero-copy,.studio-hero-update .studio-hero-copy{align-self:end}
.studio-hero-metrics .studio-hero-art,.studio-hero-imports .studio-hero-art,.studio-hero-update .studio-hero-art{align-self:end}

.studio-hero-stat-grid{display:grid;gap:9px;min-width:0}
.studio-hero-stat-grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.studio-hero-stat-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.studio-hero-stat-grid .studio-metric{min-height:72px;padding:9px 11px;border-color:rgba(196,211,238,.85);background:rgba(255,255,255,.78);box-shadow:0 6px 20px rgba(61,84,138,.045);backdrop-filter:blur(8px);gap:9px;border-radius:14px}
.studio-hero-stat-grid .studio-metric-icon{width:34px;height:34px;border-radius:11px}
.studio-hero-stat-grid .studio-metric-icon .icon{width:18px;height:18px}
.studio-hero-stat-grid .studio-metric span:not(.studio-metric-icon){font-size:9px}
.studio-hero-stat-grid .studio-metric b{font-size:20px;margin:2px 0 1px}
.studio-hero-stat-grid .studio-metric small{font-size:8.5px;line-height:1.2}

.studio-hero-import-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;min-width:0}
.studio-hero-import-box{min-width:0;padding:11px 12px;border:1px solid rgba(196,211,238,.88);border-radius:14px;background:rgba(255,255,255,.8);box-shadow:0 6px 20px rgba(61,84,138,.045);backdrop-filter:blur(8px)}
.studio-hero-import-box h3{margin:0 0 2px;font-size:12px;color:#1a2b50}
.studio-hero-import-box>p{margin:0 0 7px;font-size:9.5px;line-height:1.3;color:#69789a}
.studio-hero-import-box .input{background:rgba(255,255,255,.96)}
.studio-hero-import-box .import-status-line{margin-top:5px}
.studio-hero-import-box .import-stop{margin-top:5px}

.studio-hero-update-controls{display:flex;gap:8px;align-items:center;margin-bottom:9px}
.studio-hero-update-controls .btn{box-shadow:0 4px 12px rgba(45,84,165,.06)}

/* Do not reserve an extra row for the traditional button-only heroes. */
.studio-hero-actions .studio-hero-extra{display:none}

@media (max-width:1440px) and (min-width:901px){
  .studio-brand-lockup img{width:31px}
  .studio-brand-lockup strong{font-size:16px}
  .studio-brand-lockup span{font-size:9px}
  .studio-hero-metrics,.studio-hero-imports,.studio-hero-update{min-height:226px;padding:18px 22px;row-gap:10px}
  .studio-hero-stat-grid{gap:7px}
  .studio-hero-stat-grid .studio-metric{min-height:62px;padding:7px 8px;gap:7px}
  .studio-hero-stat-grid .studio-metric-icon{width:29px;height:29px}
  .studio-hero-stat-grid .studio-metric b{font-size:17px}
  .studio-hero-stat-grid .studio-metric small{font-size:7.5px}
  .studio-hero-import-box{padding:9px 10px}
  .studio-hero-import-box h3{font-size:11px}
  .studio-hero-import-box>p{font-size:8.5px;margin-bottom:5px}
  .studio-hero-import-box .input{min-height:32px}
  .studio-hero-import-box .btn{min-height:32px;padding-top:5px;padding-bottom:5px}
}

@media (max-height:820px) and (min-width:901px){
  .studio-hero-metrics,.studio-hero-imports,.studio-hero-update{min-height:208px;padding:14px 20px;row-gap:8px}
  .studio-hero-stat-grid .studio-metric{min-height:56px;padding:6px 8px}
  .studio-hero-stat-grid .studio-metric-icon{width:27px;height:27px}
  .studio-hero-stat-grid .studio-metric b{font-size:16px}
  .studio-hero-import-box{padding:8px 9px}
  .studio-hero-import-box>p{display:none}
  .studio-hero-update-controls{margin-bottom:6px}
}

@media (max-width:1180px) and (min-width:901px){
  .studio-hero-stat-grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}
  .studio-hero-stat-grid .studio-metric{gap:5px;padding:6px}
  .studio-hero-stat-grid .studio-metric-icon{width:26px;height:26px}
  .studio-hero-stat-grid .studio-metric span:not(.studio-metric-icon){font-size:8px}
  .studio-hero-stat-grid .studio-metric b{font-size:15px}
  .studio-hero-stat-grid .studio-metric small{font-size:7px}
}

@media (max-width:900px){
  .studio-brand-lockup img{width:34px}
  .studio-brand-lockup strong{font-size:17px}
  .studio-hero-metrics,.studio-hero-imports,.studio-hero-update{min-height:0;grid-template-columns:1fr;padding:21px;row-gap:13px}
  .studio-hero-metrics .studio-hero-copy,.studio-hero-imports .studio-hero-copy,.studio-hero-update .studio-hero-copy{max-width:78%;align-self:auto}
  .studio-hero-metrics .studio-hero-art,.studio-hero-imports .studio-hero-art,.studio-hero-update .studio-hero-art{position:absolute;right:-30px;bottom:auto;top:28px;width:42%;height:135px;opacity:.8}
  .studio-hero-extra{grid-column:1}
  .studio-hero-stat-grid-5{grid-template-columns:repeat(3,minmax(0,1fr))}
  .studio-hero-stat-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .studio-hero-stat-grid .studio-metric{min-height:62px}
  .studio-hero-import-grid{grid-template-columns:1fr}
}

@media (max-width:640px){
  .studio-brand-lockup strong{font-size:16px}
  .studio-brand-lockup span{font-size:8.5px}
  .studio-hero-metrics .studio-hero-copy,.studio-hero-imports .studio-hero-copy,.studio-hero-update .studio-hero-copy{max-width:100%}
  .studio-hero-metrics .studio-hero-art,.studio-hero-imports .studio-hero-art,.studio-hero-update .studio-hero-art{opacity:.12;width:70%}
  .studio-hero-stat-grid-5,.studio-hero-stat-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .studio-hero-update-controls{flex-wrap:wrap}
  .studio-hero-update-controls .btn{flex:1 1 150px}
}

@media (max-width:430px){
  .studio-hero-stat-grid-5,.studio-hero-stat-grid-4{grid-template-columns:1fr}
  .studio-hero-stat-grid .studio-metric{min-height:58px}
  .studio-hero-import-box .inline-import-form,.studio-hero-import-box .import-control-grid{display:grid;grid-template-columns:1fr auto}
}
\n\n/* V2.9.1 interaction + glass polish.\n   Keep collaboration state visible beside the app identity, keep Actions clean, make\n   complete app rows/cards openable, and blend hero controls into the hero surface. */\n.studio-clickable-row,.studio-clickable-card{cursor:pointer}\n.studio-clickable-row:not(.studio-th):hover{background:rgba(238,244,255,.7)}\n.studio-clickable-row:focus-visible,.studio-clickable-card:focus-visible{outline:2px solid rgba(47,111,242,.5);outline-offset:-2px}\n.studio-row-claim{display:block;margin-top:4px;min-width:0}\n.studio-row-claim .live-claim-chip{max-width:180px;padding:3px 7px}\n.app-card-claim{display:block;margin-top:7px;min-height:0}\n.app-card-claim:empty{display:none}\n.studio-table-actions{overflow:visible}\n.studio-table-actions .btn{flex:0 0 auto}\n\n/* Hero-integrated widgets should read as one surface, not white cards floating on top. */\n.studio-hero-stat-grid .studio-metric,\n.studio-hero-import-box{\n  background:linear-gradient(135deg,rgba(255,255,255,.26),rgba(255,255,255,.10));\n  border-color:rgba(255,255,255,.55);\n  box-shadow:inset 0 1px 0 rgba(255,255,255,.32);\n  backdrop-filter:blur(12px) saturate(118%);\n  -webkit-backdrop-filter:blur(12px) saturate(118%);\n}\n.studio-hero-stat-grid .studio-metric{min-height:60px;padding:7px 9px;gap:8px;border-radius:12px}\n.studio-hero-stat-grid .studio-metric-icon{width:31px;height:31px;border-radius:10px;background:rgba(234,242,255,.72)}\n.studio-hero-stat-grid .tone-mint .studio-metric-icon{background:rgba(229,251,244,.72)}\n.studio-hero-stat-grid .tone-amber .studio-metric-icon{background:rgba(255,245,223,.72)}\n.studio-hero-stat-grid .tone-violet .studio-metric-icon{background:rgba(240,234,255,.72)}\n.studio-hero-stat-grid .tone-rose .studio-metric-icon{background:rgba(255,240,244,.72)}\n.studio-hero-stat-grid .studio-metric b{font-size:18px;margin:1px 0}\n.studio-hero-stat-grid .studio-metric small{font-size:8px}\n.studio-hero-import-box{padding:8px 10px;border-radius:12px}\n.studio-hero-import-box .input{background:rgba(255,255,255,.58);border-color:rgba(193,211,239,.72);box-shadow:none}\n.studio-hero-import-box .input:focus{background:rgba(255,255,255,.76)}\n.studio-hero-update-controls .btn{box-shadow:none}\n\n@media (max-width:1440px) and (min-width:901px){\n  .studio-hero-stat-grid .studio-metric{min-height:54px;padding:6px 7px;gap:6px}\n  .studio-hero-stat-grid .studio-metric-icon{width:27px;height:27px}\n  .studio-hero-stat-grid .studio-metric b{font-size:16px}\n  .studio-hero-import-box{padding:7px 8px}\n}\n@media (max-height:820px) and (min-width:901px){\n  .studio-hero-stat-grid .studio-metric{min-height:50px;padding:5px 7px}\n  .studio-hero-stat-grid .studio-metric-icon{width:25px;height:25px}\n  .studio-hero-stat-grid .studio-metric b{font-size:15px}\n  .studio-hero-import-box{padding:6px 8px}\n}\n
/* V3.0 Team Chat — private, self-hosted Admin/Partner messaging. */
.studio-chat-page{display:grid;grid-template-columns:minmax(250px,320px) minmax(0,1fr);min-height:calc(100vh - 104px);border:1px solid #dfe7f3;border-radius:20px;overflow:hidden;background:rgba(255,255,255,.72);box-shadow:0 12px 38px rgba(41,69,123,.055)}
.chat-sidebar{min-width:0;border-right:1px solid #e3eaf5;background:linear-gradient(180deg,rgba(248,251,255,.95),rgba(243,247,254,.86));padding:18px 12px;overflow:auto}
.chat-sidebar-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;padding:2px 6px 15px}.chat-sidebar-head h1{font-size:24px;line-height:1;margin:4px 0 0;color:#122342}.chat-unread-total{font-size:9px;font-weight:750;color:#58709a;background:#edf3ff;border:1px solid #dae6fb;padding:5px 8px;border-radius:999px;white-space:nowrap}.chat-section-label{padding:14px 8px 6px;font-size:9px;line-height:1;text-transform:uppercase;letter-spacing:.14em;font-weight:800;color:#8a97ae}.chat-conversation-list,.chat-contact-list{display:grid;gap:4px}.chat-thread,.chat-contact{width:100%;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:54px;padding:7px 9px;border:1px solid transparent;border-radius:13px;background:transparent;color:#213453;text-align:left;cursor:pointer}.chat-contact{grid-template-columns:38px minmax(0,1fr) 8px auto}.chat-thread:hover,.chat-contact:hover{background:rgba(233,240,253,.7)}.chat-thread.active,.chat-contact.active{background:#e9efff;border-color:#d4e0fa}.chat-avatar{width:38px;height:38px;border-radius:12px;object-fit:cover;display:grid;place-items:center;overflow:hidden;flex:0 0 auto}.chat-avatar-fallback{background:linear-gradient(145deg,#dce9ff,#e7deff);color:#345dc4;font-weight:800;font-size:12px}.chat-team-avatar{background:linear-gradient(145deg,#dff7f0,#e9e4ff);color:#3763cb}.chat-team-avatar .icon,.chat-team-avatar .ui-svg-icon{width:20px;height:20px}.chat-contact-copy{display:grid;gap:2px;min-width:0}.chat-contact-copy b,.chat-contact-copy small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-contact-copy b{font-size:11px}.chat-contact-copy small{font-size:9px;color:#8190aa}.chat-thread em,.chat-contact em{min-width:20px;height:20px;border-radius:999px;display:grid;place-items:center;padding:0 5px;background:#316ef4;color:#fff;font-size:9px;font-style:normal;font-weight:800}.chat-online{width:7px;height:7px;border-radius:50%;background:#c8d1df}.chat-online.on{background:#2ebe89;box-shadow:0 0 0 3px rgba(46,190,137,.10)}
.chat-main{min-width:0;display:grid;grid-template-rows:auto minmax(260px,1fr) auto auto auto;background:rgba(255,255,255,.64)}.chat-main-head{min-height:68px;padding:11px 18px;display:flex;align-items:center;gap:11px;border-bottom:1px solid #e5ebf5;background:rgba(255,255,255,.78);backdrop-filter:blur(10px)}.chat-main-head h2{margin:0;font-size:15px;color:#14274a}.chat-main-head p{margin:2px 0 0;font-size:10px;color:#7e8aa1}.chat-messages{min-height:0;overflow:auto;padding:22px clamp(16px,3vw,44px);display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth}.chat-message{display:flex;align-items:flex-end;gap:7px;max-width:min(720px,82%)}.chat-message.own{align-self:flex-end;justify-content:flex-end}.chat-message:not(.own){align-self:flex-start}.chat-message-avatar{width:28px;height:28px;border-radius:9px}.chat-bubble{min-width:90px;padding:9px 11px;border:1px solid #dfe7f2;border-radius:15px 15px 15px 5px;background:#fff;box-shadow:0 3px 10px rgba(49,72,119,.035)}.chat-message.own .chat-bubble{border-color:#cadcff;border-radius:15px 15px 5px 15px;background:#eaf1ff}.chat-bubble-meta{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:4px}.chat-bubble-meta b{font-size:9.5px;color:#40557d}.chat-bubble-meta time{font-size:8px;color:#94a0b4;white-space:nowrap}.chat-bubble p{margin:0;font-size:12px;line-height:1.48;color:#14284a;overflow-wrap:anywhere}.chat-empty{margin:auto;text-align:center;color:#8090aa;display:grid;justify-items:center;gap:6px;padding:40px}.chat-empty>span{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:#eef4ff;color:#4f70bb}.chat-empty .icon,.chat-empty .ui-svg-icon{width:23px;height:23px}.chat-empty b{color:#405477}.chat-empty p{margin:0;font-size:10px}
.chat-attachment{margin-top:8px;min-width:min(360px,65vw)}.chat-attachment.image{max-width:420px}.chat-image-link{display:block;border-radius:11px;overflow:hidden;background:#e9eef8;margin-bottom:7px}.chat-image-link img{display:block;width:100%;max-height:280px;object-fit:contain;background:#eef3fb}.chat-file-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px;border:1px solid rgba(199,213,237,.9);border-radius:10px;background:rgba(255,255,255,.58)}.chat-file-row>span:first-child{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:#edf3ff;color:#4e6fb7}.chat-file-row .icon,.chat-file-row .ui-svg-icon{width:15px;height:15px}.chat-file-row>span:nth-child(2){display:grid;min-width:0}.chat-file-row b,.chat-file-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-file-row b{font-size:9.5px}.chat-file-row small{font-size:8px;color:#8793a9}.chat-file-row .btn{display:flex;gap:4px;align-items:center}.chat-file-row .btn .icon,.chat-file-row .btn .ui-svg-icon{width:13px;height:13px}
.chat-attachment-preview{padding:0 16px}.chat-pending-file{max-width:520px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:9px;margin:0 0 8px;padding:7px 8px;border:1px solid #d9e4f6;border-radius:12px;background:#f5f9ff}.chat-pending-file>img{width:38px;height:38px;border-radius:8px;object-fit:cover}.chat-pending-file>span:first-child{width:38px;height:38px;border-radius:8px;display:grid;place-items:center;background:#e9f0ff}.chat-pending-file>span:nth-child(2){display:grid;min-width:0}.chat-pending-file b,.chat-pending-file small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-pending-file b{font-size:10px}.chat-pending-file small{font-size:8px;color:#8593a8}
.chat-composer{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:end;gap:8px;padding:11px 16px 7px;border-top:1px solid #e5ebf5;background:rgba(255,255,255,.92)}.chat-attach-btn{width:42px;height:42px;border:1px solid #d9e3f2;border-radius:12px;display:grid;place-items:center;color:#55709f;cursor:pointer;background:#f7faff}.chat-attach-btn:hover{background:#edf4ff}.chat-attach-btn input{display:none}.chat-attach-btn .icon,.chat-attach-btn .ui-svg-icon{width:19px;height:19px}.chat-composer textarea{width:100%;min-height:42px;max-height:130px;resize:vertical;border:1px solid #d8e2f0;border-radius:13px;background:#f9fbff;padding:10px 12px;font:inherit;font-size:12px;color:#1e3154;outline:none}.chat-composer textarea:focus{border-color:#9db9ef;background:#fff;box-shadow:0 0 0 3px rgba(57,111,225,.07)}.chat-send{height:42px;min-width:78px}.chat-composer-help{padding:0 18px 10px 66px;background:rgba(255,255,255,.92);font-size:8.5px;color:#94a0b2}
.nav-btn[data-nav="chat"] .badge.is-zero{opacity:.55}
@media (max-height:820px) and (min-width:901px){.studio-chat-page{min-height:calc(100vh - 82px)}.chat-sidebar{padding-top:12px}.chat-sidebar-head{padding-bottom:10px}.chat-section-label{padding-top:9px}.chat-thread,.chat-contact{min-height:47px;padding:5px 7px}.chat-avatar{width:34px;height:34px}.chat-messages{padding-top:14px;padding-bottom:14px}.chat-main-head{min-height:58px}.chat-composer{padding-top:8px}}
@media (max-width:900px){.studio-chat-page{grid-template-columns:220px minmax(0,1fr);min-height:calc(100vh - 88px);border-radius:16px}.chat-sidebar{padding:12px 8px}.chat-sidebar-head h1{font-size:20px}.chat-thread,.chat-contact{grid-template-columns:34px minmax(0,1fr) auto}.chat-contact{grid-template-columns:34px minmax(0,1fr) 7px auto}.chat-avatar{width:34px;height:34px}.chat-message{max-width:90%}}
@media (max-width:640px){.studio-chat-page{display:block;min-height:auto}.chat-sidebar{border-right:0;border-bottom:1px solid #e3eaf5;max-height:280px}.chat-main{min-height:540px}.chat-messages{padding:14px 10px}.chat-message{max-width:94%}.chat-composer{padding-left:9px;padding-right:9px;grid-template-columns:40px minmax(0,1fr) auto}.chat-send{min-width:62px;padding-left:10px;padding-right:10px}.chat-composer-help{padding-left:58px}.chat-attachment{min-width:min(300px,74vw)}}

/* V3.0.1 — floating team chat */
.floating-chat-launcher{position:fixed;right:22px;bottom:22px;z-index:1450;width:56px;height:56px;border:0;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,#2f74ff,#6758ee);color:#fff;box-shadow:0 12px 30px rgba(46,86,185,.24);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}.floating-chat-launcher:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(46,86,185,.28)}.floating-chat-launcher.open{transform:scale(.94)}.floating-chat-launcher .icon,.floating-chat-launcher .ui-svg-icon{width:24px;height:24px}.floating-chat-badge{position:absolute;right:-4px;top:-5px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;display:none;place-items:center;background:#ef4d62;color:#fff;border:2px solid #f6f9ff;font-size:9px;font-weight:800}.floating-chat-badge.show{display:grid}
.floating-chat-panel{position:fixed;right:22px;bottom:90px;z-index:1440;width:min(390px,calc(100vw - 28px));height:min(610px,calc(100vh - 120px));min-height:420px;border:1px solid rgba(205,218,239,.96);border-radius:20px;overflow:hidden;background:rgba(250,252,255,.97);box-shadow:0 20px 60px rgba(31,57,108,.20);backdrop-filter:blur(18px);display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto}.floating-chat-panel[hidden]{display:none}.floating-chat-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border-bottom:1px solid #e4ebf5;background:rgba(255,255,255,.78)}.floating-chat-title{display:flex;align-items:center;gap:10px;min-width:0}.floating-chat-head-icon{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:#eaf1ff;color:#3b67cc}.floating-chat-head-icon .icon,.floating-chat-head-icon .ui-svg-icon{width:18px;height:18px}.floating-chat-title>span:last-child{display:grid;min-width:0}.floating-chat-title b{font-size:13px;color:#15294b}.floating-chat-title small{font-size:9px;color:#7f8da5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.floating-chat-close{width:34px;height:34px;border:1px solid #dae3f1;border-radius:10px;background:#fff;color:#657899;display:grid;place-items:center;cursor:pointer}.floating-chat-close .icon,.floating-chat-close .ui-svg-icon{width:16px;height:16px}
.floating-chat-recipient{min-height:39px;padding:7px 12px;display:flex;align-items:center;border-bottom:1px solid #e7edf6;background:rgba(247,250,255,.88)}.floating-chat-recipient>span{max-width:100%;display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid #dbe6f7;border-radius:999px;background:#fff;color:#496185;font-size:9.5px}.floating-chat-recipient>span .icon,.floating-chat-recipient>span .ui-svg-icon{width:13px;height:13px}.floating-chat-recipient>button{margin-left:5px;width:22px;height:22px;border:0;border-radius:999px;background:#edf3ff;color:#61749a;cursor:pointer;font-size:15px;line-height:1}.floating-chat-messages{padding:14px 12px;gap:8px;scroll-behavior:smooth}.floating-chat-messages .chat-message{max-width:90%}.floating-chat-messages .chat-bubble{padding:8px 10px;border-radius:13px 13px 13px 5px}.floating-chat-messages .chat-message.own .chat-bubble{border-radius:13px 13px 5px 13px}.floating-chat-messages .chat-bubble p{font-size:11px}.floating-chat-messages .chat-message-avatar{width:25px;height:25px;border-radius:8px}
.floating-chat-compose-wrap{position:relative;background:rgba(255,255,255,.94)}.floating-chat-composer{grid-template-columns:38px minmax(0,1fr) auto;padding:9px 10px 5px;border-top:1px solid #e3eaf4}.floating-chat-composer .chat-attach-btn{width:38px;height:40px}.floating-chat-composer textarea{min-height:40px;max-height:104px;padding:9px 10px;font-size:11px}.floating-chat-composer .chat-send{height:40px;min-width:64px}.floating-chat-help{padding:0 12px 9px 56px;font-size:8px;color:#8b98ad}.floating-chat-mentions{position:absolute;left:50px;right:10px;bottom:60px;z-index:3;max-height:210px;overflow:auto;padding:6px;border:1px solid #d8e3f3;border-radius:13px;background:#fff;box-shadow:0 14px 34px rgba(38,67,117,.16)}.floating-chat-mentions[hidden]{display:none}.floating-chat-mention-item{width:100%;display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:8px;padding:6px 7px;border:0;border-radius:9px;background:transparent;text-align:left;color:#263b5e;cursor:pointer}.floating-chat-mention-item:hover,.floating-chat-mention-item:focus{background:#eef4ff;outline:0}.floating-chat-mention-avatar{width:32px;height:32px;border-radius:9px;object-fit:cover;display:grid;place-items:center}.floating-chat-mention-item>span:last-child{display:grid;min-width:0}.floating-chat-mention-item b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.floating-chat-mention-item small{font-size:8.5px;color:#8290a7}.floating-chat-mention-empty{padding:10px;text-align:center;font-size:9px;color:#8b98ad}
@media(max-width:700px){.floating-chat-launcher{right:14px;bottom:14px;width:52px;height:52px;border-radius:16px}.floating-chat-panel{right:8px;bottom:76px;width:calc(100vw - 16px);height:min(600px,calc(100vh - 92px));border-radius:17px}.floating-chat-help{padding-left:51px}.floating-chat-mentions{left:48px}}
@media(max-height:620px) and (min-width:701px){.floating-chat-panel{height:calc(100vh - 96px);bottom:78px}.floating-chat-messages{padding-top:9px;padding-bottom:9px}}

/* V4.1 — release workflow + productivity chat */
.chat-message-link{color:#2f67dc;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;overflow-wrap:anywhere;word-break:break-word}.chat-message-link:hover{color:#1f50bd}
.floating-chat-window-actions{display:flex;align-items:center;gap:6px}.floating-chat-window-btn{width:34px;height:34px;border:1px solid #dae3f1;border-radius:10px;background:#fff;color:#51698f;display:grid;place-items:center;cursor:pointer;font-size:17px;font-weight:800;line-height:1}.floating-chat-window-btn:hover,.floating-chat-close:hover{background:#eef4ff;border-color:#cbdaf0;color:#355db1}
.floating-chat-recipient{padding:8px 10px;overflow:hidden;min-height:52px}.floating-chat-recipient-list{display:flex;align-items:center;gap:7px;width:100%;overflow-x:auto;padding:1px 1px 4px;scrollbar-width:thin;scroll-snap-type:x proximity}.floating-chat-recipient-chip{flex:0 0 auto;min-height:34px;max-width:150px;border:1px solid #dbe5f4;border-radius:12px;background:#fff;color:#506482;display:flex;align-items:center;gap:6px;padding:5px 8px;cursor:pointer;font:inherit;font-size:9.5px;font-weight:750;scroll-snap-align:start;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease,transform .15s ease}.floating-chat-recipient-chip:hover{border-color:#bcd0ef;background:#f7faff;transform:translateY(-1px)}.floating-chat-recipient-chip.active{border-color:#7fa6ef;background:linear-gradient(180deg,#edf4ff,#f7f9ff);color:#234f9f;box-shadow:0 0 0 2px rgba(72,121,218,.08)}.floating-chat-recipient-chip>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.floating-chat-recipient-chip>.icon,.floating-chat-recipient-chip>.icon .ui-svg-icon{width:14px;height:14px}.floating-chat-recipient-avatar{width:24px!important;height:24px!important;min-width:24px;border-radius:8px;object-fit:cover;display:grid;place-items:center}.floating-chat-recipient-chip>i{width:7px;height:7px;border-radius:999px;background:#21b47a;box-shadow:0 0 0 2px #fff}
.floating-chat-mentions{left:10px;right:10px;bottom:62px;max-height:260px;padding:8px;border:1px solid #ccd9ed;border-radius:16px;background:rgba(255,255,255,.985);box-shadow:0 18px 45px rgba(35,62,111,.22)}.floating-chat-mention-item{grid-template-columns:38px minmax(0,1fr);gap:10px;padding:8px 9px;border:1px solid transparent;border-radius:12px}.floating-chat-mention-item:hover,.floating-chat-mention-item:focus{background:#f3f7ff;border-color:#dbe6f8}.floating-chat-mention-avatar{width:38px;height:38px;border-radius:11px}.floating-chat-mention-item b{font-size:11px}.floating-chat-mention-item small{font-size:9px}
.floating-chat-panel.is-maximized{inset:18px!important;width:auto!important;height:auto!important;min-height:0!important;border-radius:22px!important;z-index:1600;box-shadow:0 28px 90px rgba(24,47,93,.28);grid-template-rows:auto auto minmax(0,1fr) auto auto}.floating-chat-panel.is-maximized .floating-chat-head{padding:15px 18px}.floating-chat-panel.is-maximized .floating-chat-title b{font-size:15px}.floating-chat-panel.is-maximized .floating-chat-title small{font-size:10px}.floating-chat-panel.is-maximized .floating-chat-recipient{padding:10px 16px}.floating-chat-panel.is-maximized .floating-chat-recipient-list{flex-wrap:wrap;overflow:visible;max-height:94px;overflow-y:auto}.floating-chat-panel.is-maximized .floating-chat-messages{padding:22px 7vw;gap:11px}.floating-chat-panel.is-maximized .floating-chat-messages .chat-message{max-width:min(760px,78%)}.floating-chat-panel.is-maximized .floating-chat-messages .chat-bubble{padding:10px 13px}.floating-chat-panel.is-maximized .floating-chat-messages .chat-bubble p{font-size:12px;line-height:1.56}.floating-chat-panel.is-maximized .floating-chat-compose-wrap{padding:0 7vw 10px}.floating-chat-panel.is-maximized .floating-chat-composer{border:1px solid #dfe7f3;border-radius:16px;padding:10px;margin-top:8px}.floating-chat-panel.is-maximized .floating-chat-help{padding:3px 12px 0 56px}.floating-chat-panel.is-maximized .floating-chat-mentions{left:calc(7vw + 10px);right:calc(7vw + 10px);bottom:80px}
@media(max-width:700px){.floating-chat-panel.is-maximized{inset:0!important;border:0!important;border-radius:0!important}.floating-chat-panel.is-maximized .floating-chat-head{padding:11px 12px}.floating-chat-panel.is-maximized .floating-chat-recipient{padding:7px 8px}.floating-chat-panel.is-maximized .floating-chat-recipient-list{flex-wrap:nowrap;overflow-x:auto;max-height:none}.floating-chat-panel.is-maximized .floating-chat-messages{padding:13px 9px}.floating-chat-panel.is-maximized .floating-chat-messages .chat-message{max-width:94%}.floating-chat-panel.is-maximized .floating-chat-compose-wrap{padding:0}.floating-chat-panel.is-maximized .floating-chat-composer{margin:0;border-width:1px 0 0;border-radius:0}.floating-chat-panel.is-maximized .floating-chat-mentions{left:8px;right:8px;bottom:64px}}
\n\n/* V4.2 — corrected release workflow, R2 bucket indexing, and visible team chat controls */\n.import-fixed-source{display:flex;align-items:center;gap:7px;margin:0 0 8px;padding:7px 9px;border:1px solid #dfe8f6;border-radius:11px;background:#f8fbff;color:#607392;font-size:10px}.import-fixed-source span{font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#8a98ad}.import-fixed-source b{color:#244f9c}.import-fixed-source small{margin-left:auto;color:#7e8da3}\n.floating-chat-panel{width:min(470px,calc(100vw - 28px));height:min(660px,calc(100vh - 110px));min-height:440px}.floating-chat-window-actions{flex:0 0 auto}.floating-chat-window-btn,.floating-chat-close{box-shadow:0 1px 2px rgba(35,63,111,.06)}.floating-chat-window-btn:focus-visible,.floating-chat-close:focus-visible{outline:2px solid #7fa6ef;outline-offset:2px}.floating-chat-recipient{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:8px;min-height:58px;padding:8px 10px}.floating-chat-recipient-caption{padding-top:9px;color:#8290a7;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.floating-chat-recipient-list{display:flex;flex-wrap:wrap;align-items:center;gap:6px;width:100%;max-height:96px;overflow-y:auto;overflow-x:hidden;padding:1px 2px 3px;scrollbar-width:thin;scroll-snap-type:none}.floating-chat-recipient-chip{max-width:170px;scroll-snap-align:none}.floating-chat-panel.is-maximized .floating-chat-recipient{grid-template-columns:auto minmax(0,1fr);padding:10px 16px}.floating-chat-panel.is-maximized .floating-chat-recipient-list{max-height:116px;overflow-y:auto;overflow-x:hidden}.floating-chat-panel.is-maximized .floating-chat-recipient-chip{font-size:10.5px;min-height:36px}.floating-chat-panel.is-maximized .floating-chat-window-btn,.floating-chat-panel.is-maximized .floating-chat-close{width:38px;height:38px}.floating-chat-panel.is-maximized .floating-chat-window-btn{font-size:18px}\n@media(max-width:700px){.import-fixed-source{align-items:flex-start;flex-wrap:wrap}.import-fixed-source small{width:100%;margin-left:0}.floating-chat-recipient{grid-template-columns:1fr;gap:3px}.floating-chat-recipient-caption{padding:0 2px}.floating-chat-recipient-list,.floating-chat-panel.is-maximized .floating-chat-recipient-list{flex-wrap:nowrap;max-height:none;overflow-x:auto;overflow-y:hidden}.floating-chat-panel{height:min(640px,calc(100vh - 88px))}}\n

/* V4.3 artwork orientation: preserve the real cover/screenshot shape in Studio. */
.record-artwork-section .record-cover-preview,
.record-artwork-section .record-shot-preview{
  align-self:flex-start!important;
}
.record-artwork-section .record-cover-preview>img,
.record-artwork-section .record-shot-preview>img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  max-height:340px!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#f4f7fb!important;
}
.record-artwork-section .record-cover-preview.is-landscape{width:min(100%,300px)!important;max-width:300px!important}
.record-artwork-section .record-cover-preview.is-portrait{width:min(100%,190px)!important;max-width:190px!important}
.record-artwork-section .record-cover-preview.is-square{width:min(100%,220px)!important;max-width:220px!important}
.record-artwork-section .record-screenshot-strip{
  display:flex!important;
  align-items:flex-start!important;
  gap:10px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
}
.record-artwork-section .record-shot-preview{
  flex:0 0 auto!important;
  width:220px!important;
  min-width:0!important;
  max-width:300px!important;
  height:auto!important;
}
.record-artwork-section .record-shot-preview.is-landscape{width:260px!important;max-width:260px!important}
.record-artwork-section .record-shot-preview.is-portrait{width:150px!important;max-width:150px!important}
.record-artwork-section .record-shot-preview.is-square{width:190px!important;max-width:190px!important}
@media(max-width:640px){
  .record-artwork-section .record-cover-preview.is-landscape{width:min(100%,280px)!important}
  .record-artwork-section .record-cover-preview.is-portrait{width:min(72vw,180px)!important}
  .record-artwork-section .record-shot-preview.is-landscape{width:230px!important;max-width:230px!important}
  .record-artwork-section .record-shot-preview.is-portrait{width:138px!important;max-width:138px!important}
}



/* Unified workspace switcher; existing HScloud UI remains unchanged. */
.workspace-switcher{position:relative;display:inline-flex;align-items:center}
.workspace-switcher-button{height:38px;display:inline-flex;align-items:center;gap:8px;padding:0 11px;border:1px solid var(--line,#dfe7f2);border-radius:10px;background:#fff;color:#415372;font-size:11px;font-weight:700;white-space:nowrap;box-shadow:0 1px 2px rgba(42,61,101,.03)}
.workspace-switcher-button:hover{background:#f7f9fd;color:#243856}
.workspace-switcher-mark{width:8px;height:8px;border-radius:50%;background:#6c60d7;box-shadow:0 0 0 3px rgba(108,96,215,.11)}
.workspace-switcher-caret{font-size:12px;line-height:1;color:#8a96ae;margin-left:1px}
.workspace-switcher-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:100;width:224px;padding:6px;border:1px solid var(--line,#dfe7f2);border-radius:12px;background:#fff;box-shadow:0 18px 45px rgba(42,61,101,.16)}
.workspace-switcher-menu[hidden]{display:none}
.workspace-switcher-option{width:100%;display:grid;gap:2px;text-align:left;border:0;border-radius:9px;padding:10px 11px;background:transparent;color:#415372;cursor:pointer}
.workspace-switcher-option:hover{background:#f3f7ff;color:#243856}.workspace-switcher-option.current{background:#f3f1ff;color:#5c50cb;cursor:default}
.workspace-switcher-option b{font-size:11px;font-weight:800}.workspace-switcher-option small{font-size:9.5px;color:#8793aa}
@media(max-width:600px){.workspace-switcher-button{width:36px;padding:0;justify-content:center}.workspace-switcher-button>span:nth-child(2),.workspace-switcher-caret{display:none}.workspace-switcher-menu{right:-44px}}

/* ============================================================
   V4.5.2 — Unified button UI
   HSWare Studio supplies the approved button proportions.
   HScloud keeps its existing colors and button meanings.
   ============================================================ */
html body .studio-shell .btn{
  height:32px;
  min-height:32px;
  padding:0 11px;
  border-radius:6px;
  gap:6px;
  font-size:11.5px;
  font-weight:600;
  line-height:1;
  box-shadow:none;
  white-space:nowrap;
  transition:background .12s ease,border-color .12s ease,color .12s ease,opacity .12s ease;
}
html body .studio-shell .btn.primary{font-weight:650}
html body .studio-shell .btn.small{
  height:30px;
  min-height:30px;
  padding:0 10px;
  font-size:11px;
}
html body .studio-shell .btn.tiny{
  height:27px;
  min-height:27px;
  padding:0 9px;
  font-size:10.5px;
}
html body .studio-shell .btn.icon-btn{
  width:34px;
  min-width:34px;
  height:34px;
  min-height:34px;
  padding:0;
}
html body .workspace-switcher-button{
  height:34px;
  min-height:34px;
  padding:0 10px;
  border-radius:6px;
  gap:8px;
  font-size:11px;
  font-weight:650;
  box-shadow:none;
  transition:background .12s ease,border-color .12s ease,color .12s ease;
}
html body .notification-bell{
  width:34px;
  min-width:34px;
  height:34px;
  min-height:34px;
  padding:0;
  border-radius:6px;
  box-shadow:none;
  transition:background .12s ease,border-color .12s ease,color .12s ease;
}
html body .studio-collapse,
html body .sidebar-collapsed .studio-collapse{
  width:32px;
  min-width:32px;
  height:32px;
  min-height:32px;
  padding:0;
  border-radius:6px;
  box-shadow:none;
}
html body .studio-mobile-menu{
  width:34px;
  min-width:34px;
  height:34px;
  min-height:34px;
  padding:0;
  border-radius:6px;
  box-shadow:none;
}
html body .page-btn,
html body .page-arrow{
  height:32px;
  min-height:32px;
  padding:0 11px;
  border-radius:6px;
  font-size:11px;
  font-weight:600;
  line-height:1;
  box-shadow:none;
  transition:background .12s ease,border-color .12s ease,color .12s ease;
}
html body .chat-attach-btn,
html body .floating-chat-composer .chat-attach-btn,
html body .floating-chat-window-btn,
html body .floating-chat-close{
  width:34px;
  min-width:34px;
  height:34px;
  min-height:34px;
  padding:0;
  border-radius:6px;
  box-shadow:none;
  transition:background .12s ease,border-color .12s ease,color .12s ease;
}
@media(max-width:900px){
  html body .studio-team-actions .btn,
  html body .record-actions .btn,
  html body .release-search .btn{min-width:0}
}
@media(max-width:600px){
  html body .workspace-switcher-button{
    width:34px;
    min-width:34px;
    padding:0;
    justify-content:center;
  }
}


/* V4.5.4 unified Android + Software workspace UI */
.studio-dashboard-tabs{padding:0 18px 18px}
.studio-dashboard-tabbar{display:flex;gap:5px;margin:0 0 12px;overflow:auto}
.studio-dashboard-tab{border:1px solid #dce4f0;background:#fff;border-radius:10px;min-height:34px;padding:6px 12px;color:#526281;font-weight:700;font-size:11px;cursor:pointer;white-space:nowrap}
.studio-dashboard-tab:hover{background:#f4f7fc;color:#1f315a}
.studio-dashboard-tab.active{background:#eaf1ff;color:#2457d4;border-color:#c9dafb}
.studio-dashboard-tabpanel{display:none;min-width:0}.studio-dashboard-tabpanel.active{display:block}
.studio-software-table .studio-software-tr{grid-template-columns:minmax(240px,2fr) minmax(90px,.7fr) minmax(120px,.9fr) minmax(150px,1fr) minmax(100px,.8fr) 70px;min-width:880px}
.software-dashboard-icon{display:grid;place-items:center;background:linear-gradient(145deg,#eef4ff,#f4f1ff);color:#315bd5;font-weight:800;overflow:hidden}
.software-dashboard-icon img{width:100%;height:100%;object-fit:contain;padding:4px}
/* Apps hero: remove the old oversized top gap while preserving the approved hero system. */
.studio-hero-imports{padding-top:16px!important}
@media(max-width:900px){.studio-dashboard-tabs{padding:0 14px 14px}.studio-software-table{overflow:auto}}

/* V4.5.5 shell repair: one stable sidebar toggle and a non-breaking collapsed sidebar. */
.studio-sidebar{overflow:visible}
.studio-collapse,
.sidebar-collapsed .studio-collapse{position:fixed!important;left:calc(var(--sidebar) - 15px)!important;right:auto!important;top:20px!important;bottom:auto!important;width:30px!important;height:30px!important;border-radius:10px!important;background:#fff!important;border-color:#d5e2f6!important;color:#315cc2!important;box-shadow:0 4px 14px rgba(54,82,140,.10)!important;z-index:70!important}
.studio-collapse:hover,.sidebar-collapsed .studio-collapse:hover{background:#eaf2ff!important;color:#254fac!important;border-color:#b9c9e2!important}
.sidebar-collapsed .studio-side-activity{display:none!important}
.sidebar-collapsed .side-scroll{overflow-x:visible!important}

/* Release/Update platform chooser belongs above the hero on both Android and Software. */
.studio-content>.studio-platform-tabs{margin:0 0 10px!important}

@media(max-width:900px){
  .studio-collapse,.sidebar-collapsed .studio-collapse{display:none!important}
}

/* V4.5.6 UI cleanup + stability */
/* Dashboard tab controls sit cleanly inside cards; no separator line may cut through them. */
.studio-dashboard-tabs{position:relative;padding:14px 18px 18px!important;background:#fff;isolation:isolate}
.studio-dashboard-tabbar{position:relative;z-index:2;margin:0 0 12px!important;padding:0;background:#fff}
.studio-dashboard-tabbar:before{content:none!important}
.studio-dashboard-tab{position:relative;z-index:2;flex:0 0 auto}

/* Storage is capacity, not a four-way category split: used + remaining only. */
.studio-donut{background:conic-gradient(#4f81f7 0 calc(var(--pct)*1%),#50d1b4 calc(var(--pct)*1%) 100%)!important}
.dot.neutral{background:#a8b3c7!important}

/* Release/Update platform selector now belongs inside each hero. */
.studio-content>.studio-platform-tabs{margin:0!important}
.studio-hero .studio-platform-tabs{display:inline-flex;align-items:center;gap:4px;width:max-content;margin:0!important;padding:4px;border:1px solid rgba(190,207,237,.82);border-radius:10px;background:rgba(255,255,255,.62);box-shadow:none}
.studio-hero .studio-platform-tab{height:32px;min-width:112px;padding:0 14px;border:0;border-radius:7px;background:transparent;color:#607191;font-size:11px;font-weight:750;cursor:pointer}
.studio-hero .studio-platform-tab:hover{background:rgba(255,255,255,.86);color:#294f9d}
.studio-hero .studio-platform-tab.active{background:#fff;color:#2457d4;box-shadow:0 1px 5px rgba(46,75,135,.10)}

/* Stable notification rendering: paint the container first, then reveal content. */
.notification-panel{opacity:0;visibility:hidden;transform:translateY(-5px);contain:layout paint;will-change:opacity,transform;transition:opacity .14s ease,transform .14s ease,visibility 0s linear .14s;background:#fff!important}
.notification-panel.is-open{opacity:1;visibility:visible;transform:none;transition:opacity .14s ease,transform .14s ease}
.notification-panel *{min-width:0;box-sizing:border-box}
.notification-list{background:#fff;overflow-x:hidden}
.notification-item{overflow:hidden;background:#fff}
.notification-item.unread{background:#f7faff}
.notification-item-title,.notification-item-message,.notification-item-time{max-width:100%;overflow-wrap:anywhere;word-break:break-word}
.notification-item-message{white-space:normal;line-height:1.45}
.notification-skeleton{display:grid;gap:10px;padding:14px 15px;background:#fff}
.notification-skeleton i{display:block;height:42px;border-radius:10px;background:linear-gradient(90deg,#f2f5fa 25%,#f8faff 40%,#f2f5fa 60%);background-size:220% 100%;animation:notificationShimmer 1.05s linear infinite}
.notification-empty{display:grid;gap:4px;padding:28px 18px;text-align:center;color:#66789b}
.notification-empty b{color:#263b63;font-size:12px}.notification-empty span{font-size:10.5px}
.notification-panel .studio-error-state{margin:12px;padding:16px;min-height:0}
@keyframes notificationShimmer{to{background-position:-220% 0}}

/* Reusable readable request/error state. */
.studio-error-state{min-height:220px;border:1px solid #e0e7f2;border-radius:16px;background:#fff;display:grid;justify-items:center;align-content:center;gap:8px;padding:26px;text-align:center;color:#5d6f91}
.studio-error-state h2{margin:0;color:#1e3158;font-size:17px}.studio-error-state p{margin:0;max-width:620px;font-size:11.5px;line-height:1.55}.studio-error-state small{font-size:10px;color:#8592ab}.studio-error-mark{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff2f2;color:#c2414d;border:1px solid #f3d6d9;font-weight:850}

@media(max-width:900px){
  .studio-dashboard-tabs{padding:12px 14px 14px!important}
  .studio-hero .studio-platform-tabs{width:100%}
  .studio-hero .studio-platform-tab{flex:1;min-width:0}
}

/* V4.5.7 — single HScloud UI language */
/* Compact heroes: decorative headers should never consume half the working viewport. */
.studio-hero{min-height:188px!important;padding:22px 26px!important;grid-template-columns:minmax(340px,1.08fr) minmax(250px,.62fr)!important;column-gap:18px!important}
.studio-hero h1{font-size:32px!important;line-height:1.05!important;margin:7px 0 8px!important}
.studio-hero p{font-size:13px!important;line-height:1.45!important}
.studio-hero-art{height:142px!important;transform:scale(.84);transform-origin:center right}
.studio-hero-metrics,.studio-hero-imports,.studio-hero-update,.studio-hero-catalog{min-height:0!important;padding-top:20px!important;padding-bottom:18px!important;row-gap:10px!important}
.studio-hero-extra{margin-top:0!important}

/* One filter toolbar geometry everywhere: search first, then chips/selects/actions. */
.unified-filterbar,.library-filterbar{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:nowrap!important;width:100%!important;overflow-x:auto!important;padding:9px 12px!important;scrollbar-width:thin}
.unified-filter-group,.library-tabs,.library-sections{display:flex!important;align-items:center!important;gap:4px!important;flex:0 0 auto!important}
.unified-filterbar .library-tab,.unified-filterbar .section-chip,.unified-filterbar .btn{height:32px!important;min-height:32px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;border-radius:9px!important}
.unified-filterbar .library-tab,.unified-filterbar .section-chip{padding:0 10px!important}
.unified-search,.library-search{order:-20!important;position:relative!important;flex:0 0 230px!important;width:230px!important;min-width:230px!important;max-width:230px!important;margin:0!important}
.unified-search .input,.library-search .input{width:100%!important;height:32px!important;min-height:32px!important;padding:0 10px 0 34px!important;border-radius:9px!important;line-height:30px!important}
.unified-search .search-icon,.library-search .search-icon{position:absolute!important;left:10px!important;top:50%!important;transform:translateY(-50%)!important;width:16px!important;height:16px!important;display:grid!important;place-items:center!important;color:#7182a1!important;z-index:2!important;pointer-events:none!important}
.unified-search .search-icon .icon,.library-search .search-icon .icon,.unified-search .search-icon .ui-svg-icon,.library-search .search-icon .ui-svg-icon{width:16px!important;height:16px!important;display:block!important}
.unified-filter-select,.library-category-select{flex:0 0 176px!important;width:176px!important;max-width:176px!important;height:32px!important;min-height:32px!important;border-radius:9px!important;font-size:10.5px!important}
.studio-filter-card{margin:0 0 10px!important;padding:0!important;overflow:hidden!important;border-radius:14px!important}

/* Release / Update are sidebar submenus, not large platform buttons in page content. */
.studio-nav-submenu{display:grid;gap:2px;margin:-2px 8px 5px 39px;padding-left:9px;border-left:1px solid #dce6f5}
.studio-nav-subitem{height:27px;display:flex;align-items:center;gap:7px;border:0;background:transparent;border-radius:7px;padding:0 8px;color:#7a89a5;font-size:10px;font-weight:650;text-align:left;cursor:pointer}
.studio-nav-subitem:hover{background:#f1f5fb;color:#405579}.studio-nav-subitem.active{background:#eaf1ff;color:#2457d4}
.studio-nav-subdot{width:5px;height:5px;border-radius:50%;background:#b4c0d3;flex:0 0 auto}.studio-nav-subitem.active .studio-nav-subdot{background:#3b6fe8}
.sidebar-collapsed .studio-nav-submenu{display:none!important}

/* Installable desktop/PWA action lives beside Notifications and only appears when install is available. */
.studio-install-app{height:34px;display:inline-flex;align-items:center;gap:7px;border:1px solid #dce4f0;border-radius:9px;background:#fff;color:#405579;padding:0 10px;font-size:10.5px;font-weight:700;cursor:pointer;white-space:nowrap}
.studio-install-app[hidden]{display:none!important}.studio-install-app:hover{background:#f4f7fc;color:#2457d4;border-color:#c9dafb}.studio-install-app .icon,.studio-install-app .ui-svg-icon{width:16px;height:16px}

/* Storage chart: one accent for Used, a calm neutral track for Remaining. */
.studio-donut{background:conic-gradient(#4f81f7 0 calc(var(--pct)*1%),#e5eaf2 calc(var(--pct)*1%) 100%)!important;box-shadow:inset 0 0 0 1px #dfe6f0}
.dot.remaining{background:#cbd5e1!important}.dot.neutral{background:#8b98ad!important}

/* Notification surfaces remain clipped while they enter so text cannot flash outside. */
.notification-panel,.notification-list,.notification-item{clip-path:inset(0 round 16px)}
.notification-item{contain:layout paint}

@media(max-width:1100px){
  .studio-hero{grid-template-columns:1fr minmax(180px,.42fr)!important;padding:19px 21px!important}
  .studio-hero-art{opacity:.55;transform:scale(.72)}
}
@media(max-width:900px){
  .studio-hero{grid-template-columns:1fr!important;padding:18px!important}.studio-hero-art{opacity:.13!important}
  .unified-search,.library-search{flex-basis:210px!important;width:210px!important;min-width:210px!important;max-width:210px!important}
  .studio-install-app{width:34px;padding:0;justify-content:center}.studio-install-app>span:last-child{display:none}
}

/* V4.5.7 final consistency polish */
/* A quiet capacity track: only Used and Remaining are represented by the ring. */
.studio-donut{
  background:conic-gradient(#4f81f7 0 calc(var(--pct)*1%),#eef2f7 calc(var(--pct)*1%) 100%)!important;
  box-shadow:inset 0 0 0 1px #e3e8f0!important;
}
.dot.remaining{background:#d7dee9!important}
.storage-file-marker{width:12px;height:12px;display:grid;place-items:center;color:#8b98ad}
.storage-file-marker svg{width:12px;height:12px;display:block}

/* Every list toolbar uses the same compact search-first geometry. */
.studio-content .unified-search,
.studio-content .library-search{
  flex:0 0 200px!important;width:200px!important;min-width:200px!important;max-width:200px!important;height:32px!important;
}
.studio-content .unified-search .input,
.studio-content .library-search .input{
  height:32px!important;min-height:32px!important;padding:0 10px 0 36px!important;font-size:10.5px!important;
}
.studio-content .unified-search .search-icon,
.studio-content .library-search .search-icon{
  left:11px!important;width:18px!important;height:18px!important;line-height:0!important;
}
.studio-content .unified-search .search-icon>.icon,
.studio-content .library-search .search-icon>.icon,
.studio-content .unified-search .search-icon svg,
.studio-content .library-search .search-icon svg{
  width:18px!important;height:18px!important;display:block!important;stroke-width:1.9!important;
}
.studio-content .unified-filter-select,
.studio-content .library-category-select{flex-basis:168px!important;width:168px!important;max-width:168px!important}

/* Keep decorative heroes compact and leave the viewport for actual work. */
.studio-hero{min-height:166px!important;padding:18px 22px!important}
.studio-hero h1{font-size:30px!important;margin:5px 0 6px!important}
.studio-hero p{font-size:12px!important;line-height:1.4!important}
.studio-hero-art{height:122px!important;transform:scale(.74)!important}
.studio-hero-imports,.studio-hero-update,.studio-hero-metrics{padding-top:16px!important;padding-bottom:15px!important}

/* Search/filter cards must never visually collide with the results card below. */
.studio-filter-card,.android-platform-filter{border:1px solid #e2e8f2!important;background:#fff!important;box-shadow:none!important;margin:0 0 10px!important;overflow:hidden!important}

@media(max-width:900px){
  .studio-content .unified-search,.studio-content .library-search{flex-basis:190px!important;width:190px!important;min-width:190px!important;max-width:190px!important}
  .studio-hero{min-height:0!important;padding:16px!important}
}

/* V4.5.12 backup migration + visible operation progress */
.studio-backup-config,.legacy-backup-import{overflow:hidden}.backup-scope-strip{display:flex;flex-wrap:wrap;gap:8px;padding:0 20px 16px}.backup-scope-strip>span{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:7px 10px;border:1px solid #dfe7f2;border-radius:10px;background:#f8fbff;color:#52607e;font-size:10.5px;font-weight:650}.backup-scope-strip .icon{width:15px;height:15px;color:#3972e7}.backup-flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0 20px 20px}.backup-operation-card,.legacy-backup-controls,.legacy-backup-explain{min-width:0;border:1px solid #dde6f3;border-radius:16px;background:#fbfdff;padding:17px}.backup-operation-card{display:flex;flex-direction:column;gap:14px}.backup-operation-head{display:flex;align-items:flex-start;gap:11px}.backup-operation-head>div{min-width:0}.backup-operation-head h3{margin:1px 0 5px;font-size:13px;color:#203253}.backup-operation-head p{margin:0;color:#6d7c97;font-size:10.5px;line-height:1.55}.backup-operation-icon{width:38px;height:38px;flex:0 0 38px;border-radius:12px;background:#eaf2ff;color:#3268db;display:grid;place-items:center}.backup-operation-icon .icon{width:18px;height:18px}.backup-action-row{display:flex;gap:8px;flex-wrap:wrap}.backup-file-picker{display:flex;align-items:center;gap:10px;min-width:0}.backup-file-picker>.btn{flex:0 0 auto}.backup-file-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.backup-file-copy b{font-size:11px;color:#263858;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.backup-file-copy span{font-size:10px;color:#71809b;line-height:1.4;overflow-wrap:anywhere}.backup-progress-ui{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:center;border:1px solid #dde6f3;border-radius:12px;background:#fff;padding:12px}.backup-progress-ui[hidden]{display:none}.backup-progress-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.backup-progress-copy b{font-size:11px;color:#253858}.backup-progress-copy span{font-size:9.8px;color:#74829b;white-space:normal;overflow-wrap:anywhere}.backup-progress-track{grid-column:1/-1;height:7px;border-radius:999px;background:#e8eef7;overflow:hidden}.backup-progress-track i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#2f80ff,#5260ed);transition:width .22s ease}.backup-progress-percent{font-size:11px;font-weight:800;color:#315cc2}.backup-progress-ui[data-state="success"]{border-color:#cce9dc;background:#f7fffb}.backup-progress-ui[data-state="success"] .backup-progress-track i{background:#35b77a}.backup-progress-ui[data-state="success"] .backup-progress-percent{color:#20855b}.backup-progress-ui[data-state="error"]{border-color:#f3cfd3;background:#fff9f9}.backup-progress-ui[data-state="error"] .backup-progress-track i{background:#df5b65}.backup-progress-ui[data-state="error"] .backup-progress-percent{color:#b42331}.backup-complete-action{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.backup-complete-action:empty{display:none}.backup-complete-action span{min-width:0;max-width:100%;font-size:10px;color:#6d7b93;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legacy-backup-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);gap:14px;padding:0 20px 20px}.legacy-backup-explain{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:#f8fbff}.legacy-backup-explain>div{min-width:0;padding:10px;border:1px solid #e6edf7;border-radius:12px;background:#fff}.legacy-backup-explain b{display:block;margin-bottom:5px;font-size:10.5px;color:#263858}.legacy-backup-explain span{display:block;font-size:9.8px;line-height:1.5;color:#6e7d98}.legacy-backup-controls{display:flex;flex-direction:column;gap:12px;background:#fff}.legacy-backup-controls>.btn{align-self:flex-start}.text-error{color:#b42331!important}
@media(max-width:1050px){.backup-flow-grid,.legacy-backup-layout{grid-template-columns:1fr}.legacy-backup-explain{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.backup-scope-strip,.backup-flow-grid,.legacy-backup-layout{padding-left:14px;padding-right:14px}.legacy-backup-explain{grid-template-columns:1fr}.backup-file-picker{align-items:stretch;flex-direction:column}.backup-file-picker>.btn{width:100%}.backup-action-row{display:grid;grid-template-columns:1fr}.backup-action-row>.btn{width:100%}.legacy-backup-controls>.btn{width:100%;align-self:stretch}.backup-progress-ui{grid-template-columns:1fr auto}}

/* V4.5.12 — single-scroll workspace, sidebar groups, backup/settings polish */
/* The document itself is the only full-page scrolling surface. */
html{
  overflow-x:hidden!important;
  overflow-y:auto!important;
  scrollbar-width:thin;
  scrollbar-color:#3b82f6 #edf3fb;
}
body,#__next,#app,.shell,.studio-shell,.studio-main{
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}
body{overflow-x:clip!important;overflow-y:clip!important}
.studio-content{overflow:visible!important}
html::-webkit-scrollbar{width:10px}
html::-webkit-scrollbar-track{background:#edf3fb}
html::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#60a5fa,#2563eb);border:2px solid #edf3fb;border-radius:999px}
html::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#4d95f8,#1d4ed8)}
/* The sidebar can still wheel-scroll when needed without adding a second visible scrollbar. */
.side-scroll{scrollbar-width:none!important;-ms-overflow-style:none!important}
.side-scroll::-webkit-scrollbar{width:0!important;height:0!important}

/* Release and Update are expandable navigation groups. */
.studio-nav-group{display:grid;gap:2px;min-width:0}
.studio-nav-group>.studio-nav-group-toggle{margin:0}
.studio-nav-group-toggle .studio-nav-caret{width:24px;height:24px;display:grid;place-items:center;color:#8592aa;transition:transform .16s ease,color .16s ease;flex:0 0 24px}
.studio-nav-group-toggle .studio-nav-caret .icon,.studio-nav-group-toggle .studio-nav-caret svg{width:15px;height:15px}
.studio-nav-group.open .studio-nav-caret{transform:rotate(90deg);color:#4f6fa8}
.studio-nav-submenu{
  display:none;
  gap:4px;
  margin:2px 8px 6px 36px;
  padding:3px 0 3px 10px;
  border-left:1px solid #dce6f5;
}
.studio-nav-submenu.is-open{display:grid}
.studio-nav-subitem{
  min-height:36px;
  height:36px;
  display:flex;
  align-items:center;
  gap:9px;
  border:0;
  background:transparent;
  border-radius:9px;
  padding:0 10px;
  color:#657694;
  font-size:11px;
  font-weight:650;
  text-align:left;
  cursor:pointer;
}
.studio-nav-subitem:hover{background:#f1f5fb;color:#405579}
.studio-nav-subitem.active{background:#eaf1ff;color:#2457d4;font-weight:750}
.studio-nav-subicon{width:20px;height:20px;display:grid;place-items:center;color:#7f8da7;flex:0 0 20px}
.studio-nav-subicon .icon,.studio-nav-subicon svg{width:17px;height:17px}
.studio-nav-subitem.active .studio-nav-subicon{color:#2d64df}
.sidebar-collapsed .studio-nav-submenu{display:none!important}
.sidebar-collapsed .studio-nav-caret{display:none!important}

/* Backup/settings cards should not be visually cut by header rules. */
.studio-backup-config>.studio-card-head,.legacy-backup-import>.studio-card-head{
  border-bottom:0!important;
  padding-bottom:10px!important;
}
.studio-backup-config>.studio-card-head+*,.legacy-backup-import>.studio-card-head+*{border-top:0!important}
.backup-scope-strip{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px!important;
  padding:2px 20px 18px!important;
}
.backup-scope-strip>span{
  min-width:0;
  min-height:48px!important;
  justify-content:flex-start;
  padding:9px 11px!important;
  white-space:normal;
  line-height:1.35;
}
.legacy-backup-layout{
  grid-template-columns:1fr!important;
  gap:14px!important;
  padding-top:2px!important;
}
.legacy-backup-explain{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch}
.legacy-backup-explain>div{min-height:96px;display:flex;flex-direction:column;justify-content:flex-start}
.legacy-backup-controls{width:100%;min-width:0}
.legacy-backup-controls .backup-file-picker{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;width:100%}
.legacy-backup-controls .backup-file-copy{min-width:0;width:100%}

/* Branded confirmation replaces the browser's generic destructive-action prompt. */
.studio-confirm-wrap{
  position:fixed;
  inset:0;
  z-index:2200;
  display:grid;
  place-items:center;
  padding:20px;
  background:rgba(20,34,65,.34);
  backdrop-filter:blur(8px);
  opacity:0;
  transition:opacity .14s ease;
}
.studio-confirm-wrap.show{opacity:1}
.studio-confirm{
  width:min(480px,calc(100vw - 28px));
  display:grid;
  grid-template-columns:46px minmax(0,1fr);
  gap:14px;
  border:1px solid #dbe5f2;
  border-radius:18px;
  background:#fff;
  box-shadow:0 26px 80px rgba(28,49,90,.24);
  padding:20px;
  transform:translateY(7px) scale(.985);
  transition:transform .14s ease;
}
.studio-confirm-wrap.show .studio-confirm{transform:none}
.studio-confirm-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#eaf2ff;color:#2f6fe5}
.studio-confirm-icon.danger{background:#fff0f1;color:#c33a48}
.studio-confirm-icon .icon,.studio-confirm-icon svg{width:21px;height:21px}
.studio-confirm-copy{min-width:0}
.studio-confirm-copy h2{margin:1px 0 7px;font-size:17px;line-height:1.2;color:#14254a}
.studio-confirm-copy p{margin:0;color:#536481;font-size:12px;line-height:1.55}
.studio-confirm-copy small{display:block;margin-top:8px;color:#7a879e;font-size:10.5px;line-height:1.5}
.studio-confirm-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;padding-top:4px}
.studio-confirm-actions .btn{min-width:112px}

@media(max-width:1100px){
  .backup-scope-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:700px){
  .backup-scope-strip{grid-template-columns:1fr!important}
  .legacy-backup-explain{grid-template-columns:1fr!important}
  .legacy-backup-controls .backup-file-picker{grid-template-columns:1fr!important;align-items:stretch}
  .studio-confirm{grid-template-columns:40px minmax(0,1fr);padding:16px}
  .studio-confirm-icon{width:40px;height:40px;border-radius:12px}
  .studio-confirm-actions{display:grid;grid-template-columns:1fr 1fr}
  .studio-confirm-actions .btn{min-width:0;width:100%}
}
/* Do not wrap the three HSWare migration summary cards in another bordered box. */
.legacy-backup-explain{border:0!important;background:transparent!important;padding:0!important}


/* V4.5.13 — full-width search/toolbars, stable pagination, left-side chat launcher */
.library-filterbar.unified-filterbar{
  display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:nowrap!important;
  width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin;
}
.library-filterbar.unified-filterbar .unified-search,
.library-filterbar.unified-filterbar .library-search{
  order:-30!important;flex:1 1 460px!important;width:auto!important;min-width:300px!important;max-width:none!important;
}
.library-filterbar.unified-filterbar .unified-filter-group,
.library-filterbar.unified-filterbar .unified-filter-select,
.library-filterbar.unified-filterbar .btn,
.library-filterbar.unified-filterbar .section-chip,
.library-filterbar.unified-filterbar .library-tab{flex:0 0 auto!important;white-space:nowrap!important}
.library-filterbar.unified-filterbar .library-category-select{min-width:160px!important;width:160px!important}
.library-filterbar.unified-filterbar #clearApps,
.library-filterbar.unified-filterbar [data-platform-clear]{margin-left:auto!important}
.library-pagination-row,.catalog-pager{min-height:48px!important;align-items:center!important;gap:10px!important;overflow:visible!important}
.pagination,.catalog-page-numbers{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important;min-width:0!important}
.page-btn,.catalog-page-numbers .btn,.catalog-page-numbers button{flex:0 0 auto!important;min-width:34px!important;width:auto!important;height:32px!important;padding:0 10px!important;line-height:30px!important}
.floating-chat-launcher{left:calc(var(--sidebar) + 14px)!important;right:auto!important;bottom:22px!important}
.floating-chat-panel{left:calc(var(--sidebar) + 14px)!important;right:auto!important}
@media(max-width:900px){
  .library-filterbar.unified-filterbar .unified-search,.library-filterbar.unified-filterbar .library-search{flex-basis:340px!important;min-width:260px!important;width:auto!important;max-width:none!important}
}
@media(max-width:700px){
  .floating-chat-launcher{left:14px!important;right:auto!important;bottom:14px!important}
  .floating-chat-panel{left:8px!important;right:auto!important}
}

/* V4.7.1 — Team Chat is a real sidebar destination and software pages share one visual system. */
.side-scroll{display:flex!important;flex-direction:column!important;min-height:100%!important}
.sidebar-team-chat{
  width:calc(100% - 8px)!important;min-height:46px!important;margin:14px 4px 0!important;padding:8px 10px!important;
  display:grid!important;grid-template-columns:28px minmax(0,1fr) auto 16px!important;align-items:center!important;gap:8px!important;
  border:1px solid #dce6f5!important;border-radius:13px!important;background:#f8fbff!important;color:#284a86!important;cursor:pointer!important;text-align:left!important;
}
.sidebar-team-chat:hover{background:#eef5ff!important;border-color:#c9d8ef!important}.sidebar-team-chat-icon{width:28px!important;height:28px!important;border-radius:9px!important;background:#e4efff!important;color:#2f67db!important;display:grid!important;place-items:center!important}.sidebar-team-chat-icon .icon,.sidebar-team-chat-icon svg{width:16px!important;height:16px!important}.sidebar-team-chat-label{font-size:11px!important;font-weight:800!important;color:#243b62!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.sidebar-team-chat-arrow{width:16px!important;color:#6680a7!important}.sidebar-team-chat-arrow .icon,.sidebar-team-chat-arrow svg{width:14px!important;height:14px!important}.sidebar-team-chat .floating-chat-badge{position:static!important;transform:none!important;margin:0!important}
.sidebar-collapsed .sidebar-team-chat{width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;margin:14px auto 0!important;display:grid!important;grid-template-columns:1fr!important;place-items:center!important}.sidebar-collapsed .sidebar-team-chat-label,.sidebar-collapsed .sidebar-team-chat-arrow{display:none!important}.sidebar-collapsed .sidebar-team-chat-icon{background:transparent!important}.sidebar-collapsed .sidebar-team-chat .floating-chat-badge{position:absolute!important;right:-4px!important;top:-4px!important}
.floating-chat-panel{left:calc(var(--sidebar) + 14px)!important;right:auto!important;bottom:18px!important}
@media(max-width:700px){.sidebar-team-chat{display:none!important}.floating-chat-panel{left:8px!important;right:8px!important;width:auto!important}}

.software-content .software-integrated-chrome .studio-hero{padding:20px 22px!important;min-height:0!important;border-radius:18px!important}.software-content .software-integrated-chrome .studio-hero-copy{max-width:55%!important}.software-content .software-integrated-chrome .studio-hero h1{font-size:24px!important;line-height:1.08!important}.software-content .software-integrated-chrome .studio-hero p{max-width:760px!important;font-size:10.5px!important}.software-content .software-integrated-chrome .studio-hero-extra{margin-top:14px!important}.software-content .software-integrated-chrome .studio-hero-stat-grid{gap:9px!important}.software-content .software-integrated-chrome .studio-metric{min-height:70px!important}
@media(max-width:900px){.software-content .software-integrated-chrome .studio-hero-copy{max-width:78%!important}}

/* HScloud V4.7 — light-only stability: Team Chat stays at the physical bottom of the sidebar. */
.sidebar-team-chat{margin-top:auto!important;}

/* V4.8 — responsive UI stabilization across the complete light-mode Studio. */
html,body{max-width:100%;overflow-x:hidden!important}
.studio-main,.studio-content,.content{min-width:0!important;max-width:100%!important}

/* Sidebar: fixed shell, independently scrollable navigation, pinned collaboration controls. */
.side-scroll{
  display:flex!important;flex-direction:column!important;height:100vh!important;min-height:0!important;
  overflow:hidden!important;padding-bottom:12px!important;
}
.studio-brand{flex:0 0 auto!important}
.studio-nav{
  flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;
  overscroll-behavior:contain!important;padding-right:2px!important;scrollbar-width:thin!important;
  scrollbar-color:#8eb2f4 transparent!important;
}
.studio-nav::-webkit-scrollbar{width:5px!important}.studio-nav::-webkit-scrollbar-track{background:transparent!important}.studio-nav::-webkit-scrollbar-thumb{background:#9bb9ed!important;border-radius:999px!important}
.studio-side-activity{flex:0 0 auto!important;margin-top:10px!important}
.sidebar-team-chat{flex:0 0 auto!important;margin-top:10px!important;position:relative!important;z-index:4!important}
@media(max-height:760px) and (min-width:901px){.studio-side-activity{display:none!important}.studio-nav{padding-bottom:6px!important}}

/* One visual toolbar language for Apps + Android Release/Update. */
.studio-filter-card,.android-platform-filter{
  margin:12px 0 14px!important;padding:0!important;border:1px solid #dfe7f3!important;border-radius:14px!important;
  background:#fff!important;box-shadow:none!important;overflow:hidden!important;
}
.studio-filter-card .library-filterbar.unified-filterbar,
.android-platform-filter .library-filterbar.unified-filterbar,
.library-filterbar.unified-filterbar{
  display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:8px!important;
  width:100%!important;min-width:0!important;min-height:54px!important;padding:7px 9px!important;
  border:0!important;box-shadow:none!important;background:#fff!important;overflow-x:auto!important;overflow-y:hidden!important;
  scrollbar-width:thin!important;scrollbar-color:#bfd0ec transparent!important;
}
.library-filterbar.unified-filterbar::-webkit-scrollbar{height:5px!important}.library-filterbar.unified-filterbar::-webkit-scrollbar-thumb{background:#bfd0ec!important;border-radius:999px!important}
.library-filterbar.unified-filterbar .unified-search,.library-filterbar.unified-filterbar .library-search{
  order:-30!important;position:relative!important;flex:1 1 520px!important;width:auto!important;min-width:280px!important;max-width:none!important;height:38px!important;margin:0!important;
}
.library-filterbar.unified-filterbar .unified-search .input,.library-filterbar.unified-filterbar .library-search .input{
  width:100%!important;height:38px!important;min-height:38px!important;padding:0 12px 0 38px!important;border:1px solid #d7e2f2!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important;
}
.library-filterbar.unified-filterbar .unified-search .search-icon,.library-filterbar.unified-filterbar .library-search .search-icon{
  left:12px!important;width:17px!important;height:17px!important;color:#5975a7!important;
}
.library-filterbar.unified-filterbar .unified-search .search-icon .icon,.library-filterbar.unified-filterbar .library-search .search-icon .icon,
.library-filterbar.unified-filterbar .unified-search .search-icon svg,.library-filterbar.unified-filterbar .library-search .search-icon svg{width:17px!important;height:17px!important}
.library-filterbar.unified-filterbar .unified-filter-group{display:flex!important;align-items:center!important;gap:6px!important;flex:0 0 auto!important;min-width:max-content!important}
.library-filterbar.unified-filterbar .section-chip,.library-filterbar.unified-filterbar .library-tab,.library-filterbar.unified-filterbar .btn{
  flex:0 0 auto!important;height:38px!important;min-height:38px!important;padding:0 12px!important;border-radius:10px!important;white-space:nowrap!important;
}
.library-filterbar.unified-filterbar .library-category-select,.library-filterbar.unified-filterbar .unified-filter-select{
  flex:0 0 176px!important;width:176px!important;min-width:176px!important;max-width:176px!important;height:38px!important;min-height:38px!important;padding:0 32px 0 11px!important;border-radius:10px!important;
}
.library-filterbar.unified-filterbar #clearApps,.library-filterbar.unified-filterbar [data-platform-clear]{margin-left:auto!important}

/* Do not let pagination become a separator line or crush its buttons. */
.library-pagination-row,.catalog-pager{border-top:0!important;min-height:50px!important;padding-top:8px!important;overflow:visible!important}
.pagination,.catalog-page-numbers{flex:0 0 auto!important;flex-wrap:nowrap!important;overflow-x:auto!important;max-width:100%!important;padding:2px!important}
.page-btn,.page-arrow,.catalog-page-numbers .btn,.catalog-page-numbers button{flex:0 0 auto!important;min-width:36px!important;height:34px!important;min-height:34px!important;padding:0 10px!important}

/* Main content responsive safety. */
@media(max-width:1280px) and (min-width:901px){
  .studio-content{padding-left:14px!important;padding-right:14px!important}
  .library-filterbar.unified-filterbar .unified-search,.library-filterbar.unified-filterbar .library-search{min-width:250px!important}
  .library-filterbar.unified-filterbar .library-category-select,.library-filterbar.unified-filterbar .unified-filter-select{flex-basis:158px!important;width:158px!important;min-width:158px!important;max-width:158px!important}
}
@media(max-width:900px){
  .side-scroll{height:100dvh!important}
  .studio-nav{overflow-y:auto!important}
  .studio-filter-card,.android-platform-filter{margin:10px 0 12px!important}
  .library-filterbar.unified-filterbar{min-height:52px!important;padding:6px 8px!important}
  .library-filterbar.unified-filterbar .unified-search,.library-filterbar.unified-filterbar .library-search{flex:0 0 300px!important;min-width:250px!important}
}
@media(max-width:600px){
  .library-filterbar.unified-filterbar .unified-search,.library-filterbar.unified-filterbar .library-search{flex-basis:260px!important;min-width:230px!important}
}

/* V4.8 card-only unification — keep page chrome/layout untouched. */
.app-card-simple{
  min-height:286px;
  border:1px solid #dbe5f3;
  border-radius:15px;
  background:#fff;
  box-shadow:none;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.app-card-simple .app-card-visual{
  height:132px;
  min-height:132px;
  background:linear-gradient(145deg,#f4f8ff 0%,#f7f3ff 100%);
  display:grid;
  place-items:center;
  position:relative;
}
.app-card-simple .app-card-icon{
  width:76px;
  height:76px;
  border-radius:19px;
  object-fit:cover;
  background:#edf3ff;
}
.app-card-simple .app-card-icon.logo-fallback{
  display:grid;
  place-items:center;
  color:#315bd5;
  font-size:27px;
  font-weight:800;
}
.app-card-simple .app-card-ribbon{
  left:10px;
  top:10px;
  padding:4px 8px;
  font-size:8px;
}
.app-card-simple .app-card-body{
  padding:13px 14px 8px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:7px;
  min-width:0;
}
.app-card-simple .app-card-name{
  width:100%;
  margin:0;
  color:#0f2146;
  font-size:13px;
  line-height:1.3;
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.app-card-simple .app-card-version{
  color:#74819a;
  font-size:10px;
  line-height:1.25;
}
.app-card-simple .app-card-description{
  width:100%;
  color:#7d89a1;
  font-size:10px;
  line-height:1.35;
  min-height:27px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.app-card-simple .app-card-category{
  margin-top:0;
  max-width:100%;
  padding:4px 9px;
  border-radius:999px;
  background:#eef4ff;
  color:#3162d5;
  font-size:9px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.app-card-simple .app-card-footer{
  margin-top:auto;
  padding:9px 12px 12px;
}
.app-card-simple .app-card-footer .btn,
.app-card-simple .app-open{
  width:100%;
  min-height:34px;
  justify-content:center;
  border-radius:8px;
}
.studio-card-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(180px,220px));
  justify-content:start;
  gap:12px;
  padding:12px 14px 16px;
}
.studio-software-card-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(180px,220px));
  justify-content:start;
  gap:12px;
  padding:12px 14px 16px;
}
.dashboard-software-card{
  min-width:0;
  min-height:286px;
  border:1px solid #dbe5f3;
  border-radius:15px;
  background:#fff;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  cursor:pointer;
}
.dashboard-software-visual{
  height:132px;
  min-height:132px;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,#f4f8ff 0%,#f7f3ff 100%);
}
.dashboard-software-visual img,
.dashboard-software-fallback{
  width:76px;
  height:76px;
  border-radius:19px;
}
.dashboard-software-visual img{object-fit:contain;background:#fff}
.dashboard-software-fallback{
  display:grid;
  place-items:center;
  padding:7px;
  background:#edf3ff;
  color:#315bd5;
  font-size:12px;
  line-height:1.1;
  font-weight:800;
  text-align:center;
  overflow:hidden;
}
.dashboard-software-body{
  padding:13px 14px 8px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
  min-width:0;
}
.dashboard-software-body h3{
  margin:0;
  width:100%;
  color:#0f2146;
  font-size:13px;
  line-height:1.3;
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.dashboard-software-version{font-size:10px;color:#74819a}
.dashboard-package-copy{
  max-width:100%;
  border:0;
  border-radius:999px;
  background:#eef4ff;
  color:#4168b5;
  padding:6px 10px;
  font:600 9px/1.1 ui-monospace,SFMono-Regular,Consolas,monospace;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  cursor:pointer;
}
.dashboard-ready-pill{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:5px 9px;
  border-radius:999px;
  background:#e9fbf3;
  color:#0b8c5a;
  font-size:9px;
  font-weight:800;
}
.dashboard-software-footer{margin-top:auto;padding:9px 12px 12px}
.dashboard-software-footer .btn{width:100%;min-height:34px;border-radius:8px}
@media(max-width:900px){
  .studio-card-grid,.studio-software-card-grid{grid-template-columns:repeat(auto-fill,minmax(164px,1fr));padding:10px;gap:9px}
  .app-card-simple,.dashboard-software-card{max-width:none}
}
@media(max-width:430px){.studio-card-grid,.studio-software-card-grid{grid-template-columns:1fr}}


/* HScloud V4.9.5 — stable loading, notification, chat voice and image preview recovery. */
.studio-route-progress{position:fixed;z-index:10050;top:0;left:0;right:0;height:3px;background:rgba(72,123,239,.12);overflow:hidden;pointer-events:none}
.studio-route-progress>span{display:block;width:34%;height:100%;background:#4c7df0;animation:hsRouteProgress 1.05s linear infinite}
@keyframes hsRouteProgress{0%{transform:translateX(-110%)}100%{transform:translateX(315%)}}
.studio-content{position:relative;min-width:0}.studio-content.studio-view-loading{min-height:calc(100vh - 58px);overflow:hidden}
.studio-view-mask{position:absolute;z-index:80;inset:0;min-height:calc(100vh - 58px);background:#f6f9ff;pointer-events:auto}

.studio-toast-host{position:fixed;z-index:10060;top:66px;right:18px;width:min(380px,calc(100vw - 32px));display:grid;gap:9px;pointer-events:none}
.studio-toast-host .toast{position:relative!important;inset:auto!important;margin:0!important;width:100%;box-sizing:border-box;pointer-events:auto;display:grid;grid-template-columns:10px minmax(0,1fr) 30px;gap:10px;align-items:start;padding:12px 12px 12px 13px;border:1px solid #dce5f4;border-radius:12px;background:#fff;box-shadow:0 13px 34px rgba(34,58,105,.16);opacity:0;transform:translateX(18px);transition:opacity .16s ease,transform .16s ease}
.studio-toast-host .toast.show{opacity:1;transform:translateX(0)}.toast-copy{display:grid;gap:3px;min-width:0}.toast-copy b{font-size:11px;color:#273b61}.toast-copy span{font-size:10px;line-height:1.4;color:#65738c;overflow-wrap:anywhere}.toast-close{width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:#72809a;display:grid;place-items:center;cursor:pointer}.toast-close:hover{background:#f0f4fb;color:#334f83}.toast-close svg{width:14px;height:14px}

.chat-message{min-width:0}.chat-bubble{min-width:0;max-width:100%;overflow:hidden}.chat-bubble p{overflow-wrap:anywhere;word-break:break-word}
.chat-attachment{width:min(326px,100%);max-width:100%;min-width:0!important;margin-top:8px;box-sizing:border-box;overflow:hidden;border-radius:11px}
.chat-attachment.image,.chat-image-attachment{max-width:326px!important}.chat-image-link{width:100%;max-width:100%;padding:0;margin:0!important;border:0;border-radius:10px 10px 0 0!important;overflow:hidden!important;background:#eef3fb;display:block;cursor:zoom-in;text-align:initial}
.chat-image-link img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:220px!important;object-fit:contain!important;object-position:center!important;background:#eef3fb}
.chat-file-row{width:100%;max-width:100%;min-width:0;grid-template-columns:28px minmax(0,1fr) 30px!important;gap:7px!important;padding:7px!important;box-sizing:border-box;border-radius:10px!important;overflow:hidden}.chat-image-meta{margin-top:0;border-top:0!important;border-radius:0 0 10px 10px!important;background:rgba(255,255,255,.96)!important}.chat-file-row>span:nth-child(2){min-width:0!important;overflow:hidden}.chat-file-row b,.chat-file-row small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-attachment-download{width:30px;height:30px;min-width:30px;border:1px solid #d7e2f2;border-radius:8px;background:#fff;color:#4b679c;display:grid;place-items:center;text-decoration:none}.chat-attachment-download:hover{background:#edf4ff;border-color:#bdd0ee;color:#2d61c8}.chat-attachment-download svg{width:14px;height:14px}
.floating-chat-messages .chat-attachment{width:min(292px,100%)}.floating-chat-messages .chat-image-link img{max-height:190px!important}

.chat-voice-attachment{display:grid;grid-template-columns:36px minmax(0,1fr) 30px;align-items:center;gap:9px;padding:8px 9px;background:rgba(255,255,255,.94);border:1px solid #d7e2f2}.chat-voice-play{width:36px;height:36px;border:0;border-radius:50%;background:#477cf0;color:#fff;display:grid;place-items:center;cursor:pointer}.chat-voice-play svg{width:16px;height:16px}.chat-voice-track{display:grid;gap:3px;min-width:0}.chat-voice-track input[type=range]{width:100%;height:4px;margin:0;accent-color:#477cf0;cursor:pointer}.chat-voice-times{display:flex;justify-content:space-between;color:#7c8aa1;font-size:8px;font-variant-numeric:tabular-nums}.chat-voice-attachment audio{display:none}
.chat-composer{grid-template-columns:40px minmax(0,1fr) 40px auto!important}.chat-voice-btn{width:40px;height:40px;border:1px solid #d8e3f2;border-radius:10px;background:#fff;color:#54709d;display:grid;place-items:center;cursor:pointer}.chat-voice-btn:hover{background:#eef4ff;color:#2f62ce;border-color:#bfd1ee}.chat-voice-btn.recording{background:#fff0f1;color:#d54756;border-color:#efc6ca}.chat-voice-btn svg{width:17px;height:17px}
.chat-voice-recording{margin:0 16px 8px;padding:8px 9px;border:1px solid #dbe5f2;border-radius:11px;background:#fbfcff;display:grid;grid-template-columns:9px minmax(0,1fr) auto auto auto;align-items:center;gap:8px;min-width:0}.chat-voice-recording[hidden]{display:none!important}.chat-record-dot{width:8px;height:8px;border-radius:50%;background:#e65361;box-shadow:0 0 0 3px rgba(230,83,97,.10)}.chat-voice-recording b{font-size:10px;color:#344b71}.chat-voice-recording time{font:700 9px/1 ui-monospace,SFMono-Regular,Consolas,monospace;color:#6d7b92}.chat-record-cancel,.chat-record-send{height:30px;border-radius:8px;padding:0 9px;font-size:9px;font-weight:750;cursor:pointer}.chat-record-cancel{border:1px solid #dce5f1;background:#fff;color:#667894}.chat-record-send{border:1px solid #3e72de;background:#477cf0;color:#fff;display:inline-flex;align-items:center;gap:5px}.chat-record-send svg{width:13px;height:13px}.floating-chat-compose-wrap .chat-voice-recording{margin:8px 10px 0}.floating-chat-composer{grid-template-columns:38px minmax(0,1fr) 38px auto!important}.floating-chat-composer .chat-voice-btn{width:38px;height:40px}.chat-loading-state{padding:18px;text-align:center;color:#7b879d;font-size:10px}
.floating-chat-window-btn,.floating-chat-close{font-size:0!important}.floating-chat-window-btn svg,.floating-chat-close svg{width:15px!important;height:15px!important}

.chat-image-lightbox{position:fixed;z-index:12000;inset:0;display:grid;place-items:center;padding:24px}.chat-image-lightbox-backdrop{position:absolute;inset:0;background:rgba(24,34,55,.62);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.chat-image-lightbox-panel{position:relative;z-index:1;width:min(1080px,94vw);max-height:92vh;display:grid;grid-template-rows:auto minmax(0,1fr);border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 28px 80px rgba(10,20,42,.34)}.chat-image-lightbox-panel>header{height:48px;padding:0 10px 0 15px;border-bottom:1px solid #e2e8f2;display:flex;align-items:center;justify-content:space-between;gap:14px}.chat-image-lightbox-panel>header>span{min-width:0;display:flex;align-items:center;gap:8px;color:#334b76}.chat-image-lightbox-panel>header>span svg{width:15px;height:15px}.chat-image-lightbox-panel>header b{font-size:11px;max-width:70vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-image-lightbox-close{width:34px;height:34px;border:1px solid #dce5f2;border-radius:9px;background:#fff;color:#536987;display:grid;place-items:center;cursor:pointer}.chat-image-lightbox-close:hover{background:#f1f5fb}.chat-image-lightbox-close svg{width:16px;height:16px}.chat-image-lightbox-stage{min-height:0;display:grid;place-items:center;padding:18px;background:#eff3f9}.chat-image-lightbox-stage img{display:block;max-width:100%;max-height:calc(92vh - 84px);object-fit:contain;border-radius:8px;box-shadow:0 8px 24px rgba(35,52,84,.14)}

/* No broad page/card entrance motion. Layout is rendered only after data is ready. */
#content,.studio-content,.studio-card,.app-card-simple,.dashboard-software-card,.software-card,.panel{animation:none!important;transform:none}
@media(max-width:700px){.studio-toast-host{top:62px;right:8px;width:calc(100vw - 16px)}.chat-attachment,.floating-chat-messages .chat-attachment{width:min(278px,100%)}.chat-image-link img,.floating-chat-messages .chat-image-link img{max-height:180px!important}.chat-composer{grid-template-columns:38px minmax(0,1fr) 38px auto!important;padding-left:8px!important;padding-right:8px!important}.chat-voice-btn{width:38px;height:40px}.chat-voice-recording{margin-left:9px;margin-right:9px;grid-template-columns:9px minmax(0,1fr) auto auto}.chat-voice-recording time{display:none}.chat-image-lightbox{padding:10px}.chat-image-lightbox-panel{width:100%;max-height:95vh}.chat-image-lightbox-stage img{max-height:calc(95vh - 76px)}}
@media(prefers-reduced-motion:reduce){.studio-route-progress>span{animation:none!important}.studio-toast-host .toast{transition:none!important;transform:none!important}}
