:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg-page:#f3f5f8;--bg-surface:#fff;--bg-subtle:#fafbfc;--border:#e8ecf2;--border-strong:#d6dde7;--text-primary:#1d2129;--text-secondary:#425066;--text-muted:#7a8798;--accent:#0052ff;--accent-hover:#0047e0;--accent-soft:#edf3ff;--success:#16a34a;--danger:#dc2626;--font-sans:Inter, "PingFang SC", "Microsoft YaHei", sans-serif;--font-mono:"Cascadia Code", "SFMono-Regular", Consolas, monospace;font-family:var(--font-sans);color:var(--text-primary);background:var(--bg-page);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-size:14px}*{box-sizing:border-box}body{min-width:320px;margin:0;font-size:14px;line-height:1.6}button,input,select,textarea{font:inherit;min-width:0}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,select{cursor:pointer}button{color:inherit}a{color:inherit;text-decoration:none}:focus-visible{outline-offset:4px;outline:3px solid #83aaf0}input,select,textarea{accent-color:var(--accent)}h1,h2,h3,p{margin:0}code,.mono{font-family:var(--font-mono)}.muted{color:var(--text-muted);font-size:12px}.hub-layout{min-height:100vh}.topbar{background:var(--bg-surface);border-bottom:1px solid var(--border)}.topbar-inner{align-items:center;gap:24px;min-height:72px;margin:auto;padding:12px 32px;display:flex}.topbar-brand{white-space:nowrap;align-items:center;gap:12px;font-size:18px;font-weight:600;display:inline-flex}.brand-mark{width:26px;height:28px;color:var(--accent)}.product-switch{align-items:center;gap:16px;display:flex}.nav-divider{color:var(--border-strong);font-size:20px}.project-dropdown{min-width:0;position:relative}.project-trigger{border:1px solid var(--border-strong);cursor:pointer;background:#fff;border-radius:8px;align-items:center;gap:10px;max-width:220px;min-height:42px;padding:7px 10px;list-style:none;display:flex}.project-trigger::-webkit-details-marker{display:none}.project-trigger:hover,.project-dropdown[open] .project-trigger{border-color:var(--accent)}.project-trigger-avatar,.project-option-avatar{background:var(--accent-soft);width:26px;height:26px;color:var(--accent);border-radius:6px;flex-shrink:0;place-items:center;font-size:12px;font-weight:600;display:grid}.project-trigger-name{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;overflow:hidden}.project-trigger-chevron{width:16px;height:16px;color:var(--text-muted);flex-shrink:0;margin-left:auto}.project-dropdown[open] .project-trigger-chevron{transform:rotate(180deg)}.project-menu{border:1px solid var(--border);z-index:20;background:#fff;border-radius:12px;width:304px;max-width:calc(100vw - 32px);padding:6px;position:absolute;top:calc(100% + 8px);left:0;box-shadow:0 8px 28px #1d212914,0 2px 6px #1d212908}.project-menu-label{color:var(--text-muted);padding:8px 10px;font-size:12px}.project-menu-list{max-height:min(320px,100dvh - 280px);overflow-y:auto}.project-option{text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;width:100%;padding:10px;display:flex}.project-option:hover,.project-menu-action:hover{background:var(--bg-page)}.project-option.is-selected{background:var(--accent-soft);color:var(--accent)}.project-option-avatar{background:var(--bg-page);width:32px;height:32px;color:var(--text-secondary)}.project-option.is-selected .project-option-avatar{color:var(--accent);background:#fff}.project-option-text{flex-direction:column;gap:2px;min-width:0;display:flex}.project-option-text strong{overflow-wrap:anywhere;font-size:14px;font-weight:500}.project-option-text>span{color:var(--text-muted);overflow-wrap:anywhere;font-size:12px}.project-option-check{flex-shrink:0;width:18px;height:18px;margin-left:auto}.project-menu-actions{border-top:1px solid var(--border);margin-top:6px;padding-top:6px}.project-menu-action{width:100%;min-height:40px;color:var(--text-secondary);text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:8px 10px;font-size:13px;display:flex}.project-menu-action svg{width:18px;height:18px}.project-menu-danger{color:var(--danger)}.project-menu-danger:hover{background:#fef2f2}.project-menu button:focus-visible{outline-offset:-2px}.topbar-right{align-items:center;gap:12px;margin-left:auto;display:flex}.admin-avatar{background:var(--accent-soft);color:#003bb8;border-radius:50%;place-items:center;width:36px;height:36px;font-size:14px;display:grid}.admin-name{color:var(--text-muted);font-size:13px}.workspace-single{width:min(1504px,100%);margin:auto;padding:28px 32px 40px}.page-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;display:flex}.page-heading h1{font-size:26px;font-weight:600;line-height:1.5}.page-heading p{color:var(--text-muted);margin-top:8px;font-size:14px;line-height:1.8}.header-actions{align-items:center;gap:8px;display:flex}.project-context{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.context-product{align-items:center;gap:12px;display:flex}.context-product>span:last-child{color:var(--text-muted);font-size:12px}.context-product strong{font-size:14px;font-weight:500}.product-avatar{background:var(--accent-soft);color:#003bb8;border-radius:8px;place-items:center;width:36px;height:36px;font-size:16px;font-weight:500;display:grid}.live-version{color:var(--text-muted);align-items:center;gap:8px;font-size:12px;display:flex}.live-version i,.status i{background:currentColor;border-radius:50%;flex-shrink:0;width:6px;height:6px}.live-version i{color:var(--success)}.live-version strong{color:var(--text-primary);font-weight:500}.release-panel{background:var(--bg-surface);border:1px solid var(--border);border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #111b2b08}.panel-heading{border-bottom:1px solid var(--border);background:var(--bg-subtle);justify-content:space-between;align-items:center;gap:12px;padding:20px 24px;display:flex}.panel-heading h2{font-size:14px;font-weight:500}.panel-heading h2 span{color:var(--text-muted);margin-left:8px;font-size:12px;font-weight:400}.release-item+.release-item{border-top:1px solid var(--border)}.release-summary{text-align:left;background:#fff;border:0;grid-template-columns:minmax(0,1fr) 86px 180px 20px;align-items:center;gap:24px;width:100%;padding:20px 24px;display:grid}.release-summary:hover{background:#f7faff}.release-summary:focus-visible{outline-offset:-4px}.version-heading{align-items:center;gap:12px;min-width:0;display:flex}.version-heading svg{width:18px;height:18px;color:var(--text-muted);flex-shrink:0}.release-ver{font-family:var(--font-sans);font-size:16px;font-weight:500}.release-title{color:var(--text-secondary);white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.status{white-space:nowrap;border-radius:4px;align-items:center;gap:7px;width:-moz-fit-content;width:fit-content;padding:4px 8px;font-size:12px;font-weight:500;display:inline-flex}.status-draft{color:#5d6b7e;background:#f3f5f8}.status-published{color:#15803d;background:#dcfce7}.status-revoked{color:#c2410c;background:#ffedd5}.release-date{color:var(--text-muted);text-align:right;font-variant-numeric:tabular-nums;font-size:12px}.chevron{width:18px;height:18px;color:var(--text-muted)}.expanded .chevron{transform:rotate(180deg)}.release-detail{padding:4px 24px 0}.release-notes{padding-bottom:24px}.release-notes h3{color:var(--text-muted);margin-bottom:8px;font-size:13px;font-weight:500}.release-notes p{white-space:pre-wrap;overflow-wrap:anywhere;max-width:75ch;font-size:14px;line-height:1.8}.platform-slots{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:24px;display:grid}.platform-slot{border:1px solid var(--border);border-radius:12px;flex-direction:column;min-width:0;padding:24px;display:flex}.platform-slot.is-dragging{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.platform-slot.is-dragging .package-empty,.platform-slot.is-dragging .package-empty svg{color:var(--accent)}.platform-heading{align-items:center;gap:12px;display:flex}.platform-icon{color:#003bb8;flex-shrink:0;width:24px;height:24px}.platform-heading h3{font-size:16px;font-weight:500}.platform-heading div>span{color:var(--text-muted);font-size:12px}.package-count{color:var(--text-muted);margin-left:auto;font-size:12px}.package-empty{min-height:132px;color:var(--text-muted);flex:1;justify-content:center;align-items:center;gap:12px;font-size:13px;display:flex}.package-empty svg{color:#a3aebb;width:24px;height:24px}.upload-controls{border-top:1px solid var(--border);align-items:center;gap:12px;margin-top:auto;padding-top:20px;display:flex}.upload-controls select{border:1px solid var(--border-strong);width:0;color:var(--text-primary);background:#fff;border-radius:8px;flex:1;min-height:42px;padding:10px 12px;font-size:13px}.btn.upload-button{min-height:42px;padding:9px 14px;font-size:13px;position:relative;overflow:hidden}.upload-button svg{width:18px;height:18px}.upload-button input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.upload-button:focus-within{outline-offset:4px;outline:3px solid #83aaf0}.is-disabled{opacity:.6;cursor:wait}.pkg-row{padding:20px 0}.pkg-row+.pkg-row{border-top:1px solid var(--border)}.pkg-name{overflow-wrap:anywhere;font-size:13px;font-weight:500;display:block}.pkg-meta{color:var(--text-muted);flex-wrap:wrap;gap:12px;margin:6px 0 12px;font-size:12px;display:flex}.pkg-actions{align-items:center;gap:16px;display:flex}.pkg-actions .text-button{font-size:12px}.checksum-button{margin-right:auto}.upload-progress{color:var(--text-secondary);overflow-wrap:anywhere;padding-bottom:16px;font-size:13px}.upload-progress progress{width:100%;height:5px;accent-color:var(--accent);margin-top:8px;display:block}.release-footer{border-top:1px solid var(--border);justify-content:flex-end;align-items:center;gap:24px;padding:24px 0;display:flex}.release-actions{align-items:center;gap:16px;display:flex}.btn{border:1px solid var(--border-strong);min-height:42px;color:var(--text-secondary);white-space:nowrap;cursor:pointer;background:#fff;border-radius:6px;justify-content:center;align-items:center;gap:8px;padding:.65rem 1rem;font-size:14px;font-weight:500;line-height:1.5;display:inline-flex}.btn:hover:not(:disabled){background:var(--bg-subtle);border-color:#a3aebb}.btn-primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn-primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.btn:disabled{opacity:.6;cursor:not-allowed}.text-button{color:var(--accent);cursor:pointer;white-space:nowrap;background:0 0;border:0;padding:4px 0;font-size:13px}.text-button:hover{color:var(--accent-hover);text-underline-offset:4px;text-decoration:underline}.topbar-right .text-button{color:var(--text-muted)}.text-danger{color:var(--danger)}.text-danger:hover{color:#b91c1c}.icon-button{width:32px;height:32px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:50%;padding:0;font-size:24px;line-height:1}.icon-button:hover{background:var(--bg-page)}.modal-dialog{border:1px solid var(--border);width:min(560px,100% - 32px);max-height:calc(100dvh - 48px);color:var(--text-primary);background:#fff;border-radius:12px;padding:0;box-shadow:0 10px 30px #111b2b1a}.modal-dialog::backdrop{background:#0006}.modal-card{padding:24px 28px 28px}.modal-head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;display:flex}.modal-head h2{font-size:20px;font-weight:600}.modal-head p{color:var(--text-muted);margin-top:8px;font-size:13px;line-height:1.8}.form-grid{grid-template-columns:.8fr 1.2fr;gap:16px;display:grid}.field{flex-direction:column;gap:8px;min-width:0;margin-bottom:20px;display:flex}.field label{font-size:14px;font-weight:400}.field input,.field select,.field textarea{border:1px solid var(--border-strong);width:100%;color:var(--text-primary);background:#fff;border-radius:8px;padding:10px 12px;font-size:14px;line-height:1.6}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--accent)}.field input::placeholder,.field textarea::placeholder{color:var(--text-muted)}.field textarea{resize:vertical;min-height:88px}.field-optional{color:var(--text-muted);margin-left:6px;font-size:12px}.required{color:var(--danger)}.modal-actions{justify-content:flex-end;align-items:center;gap:12px;margin-top:28px;display:flex}.delete-confirm-card{text-align:left}.delete-confirm-card .modal-head{align-items:center;margin-bottom:12px}.delete-confirm-card .modal-head h2{overflow-wrap:anywhere;min-width:0;line-height:1.4}.delete-confirm-card .icon-button{flex:0 0 32px;place-items:center;display:grid}.delete-confirm-message{color:var(--text-secondary);overflow-wrap:anywhere;text-wrap:pretty;margin:0;font-size:14px;line-height:1.8}.delete-confirm-card .alert-error{overflow-wrap:anywhere;margin:16px 0 0}.delete-confirm-card .modal-actions{margin-top:24px}.delete-confirm-card .modal-actions .btn{min-width:80px}.alert-error{color:var(--danger);background:#fef2f2;border:1px solid #fecaca;border-radius:6px;margin-bottom:16px;padding:12px 16px;font-size:13px}.alert-toast{color:#15803d;z-index:100;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;width:max-content;max-width:calc(100% - 32px);padding:16px 20px;font-size:14px;position:fixed;top:24px;right:24px;box-shadow:0 4px 12px #111b2b0d}.empty-state{text-align:center;color:var(--text-muted);padding:48px 20px;font-size:13px}.empty-state h2{color:var(--text-primary);font-size:20px;font-weight:600}.empty-state h3{color:var(--text-primary);font-size:17px;font-weight:500}.empty-state p{max-width:48ch;margin:12px auto 24px;line-height:1.8}.project-empty{border:1px solid var(--border);background:#fff;border-radius:12px;padding:64px 24px}.empty-icon{width:40px;height:40px;color:var(--text-muted);margin-bottom:20px}.auth-shell{background:#fff;place-items:center;min-height:100dvh;padding:24px;display:grid}.auth-card{border:1px solid var(--border);background:#fff;border-radius:16px;width:100%;max-width:430px;padding:38px;box-shadow:0 12px 40px #1d212908}.auth-badge{color:var(--accent);margin-bottom:12px;font-size:12px}.auth-card h1{font-size:28px;font-weight:600}.auth-card>p{color:var(--text-muted);margin:10px 0 30px;font-size:12px;line-height:1.8}@media (max-width:960px){.topbar-inner{gap:20px;padding:10px 20px}.workspace-single{padding:24px 20px}.release-summary{grid-template-columns:minmax(0,1fr) 75px 160px 18px;gap:12px}.platform-slots{gap:16px}.platform-slot{padding:16px}.package-count{display:none}}@media (max-width:680px){.topbar-inner{flex-wrap:wrap;gap:12px;padding:8px 16px}.topbar-brand{font-size:16px}.brand-mark{width:22px}.product-switch{border-top:1px solid var(--border);order:3;gap:8px;width:100%;padding:8px 0}.product-switch .nav-divider{display:none}.project-dropdown{width:100%}.project-trigger{width:100%;max-width:none}.project-menu{width:100%}.admin-avatar,.admin-name{display:none}.workspace-single{padding:20px 16px 32px}.page-heading{flex-direction:column;gap:20px}.page-heading h1{font-size:24px}.header-actions{width:100%}.header-actions .btn-primary{margin-left:auto}.project-context{flex-direction:column;align-items:flex-start;gap:12px}.panel-heading{padding:16px}.release-summary{grid-template-columns:minmax(0,1fr) 68px 18px;gap:12px;padding:20px 16px}.release-date,.release-title{display:none}.release-detail{padding:0 16px}.platform-slots{grid-template-columns:minmax(0,1fr);gap:16px}.package-count{display:inline}.package-empty{min-height:110px}.release-footer{flex-direction:column;align-items:stretch;gap:20px}.release-actions{justify-content:flex-end}.modal-dialog{max-height:calc(100dvh - 32px)}.modal-card{padding:20px}.form-grid{grid-template-columns:minmax(0,1fr);gap:0}.project-empty{padding:48px 20px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important}}
