/* SUPERFRUIT GM: 明亮运营中枢。无外部字体与 UI 依赖。 */
:root {
  color-scheme: light;
  font-family: "Avenir Next", -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  --bg:#f4f7fb;--surface:#fff;--soft:#f7f9fc;--blue-soft:#edf3ff;--ink:#162033;--muted:#58657a;--faint:#667287;--line:#e2e8f1;--line-strong:#cfd8e6;--blue:#376cf6;--blue-strong:#2454d7;--green:#087254;--green-soft:#e5f7f0;--amber:#8b4e06;--amber-soft:#fff3df;--red:#b42318;--red-soft:#fff0f2;--sidebar:252px;--header:68px;--radius:14px;--shadow:0 20px 48px rgba(27,43,72,.08)
}
*{box-sizing:border-box}html{background:var(--bg);scroll-behavior:smooth}body{margin:0;min-width:320px;overflow-x:hidden;color:var(--ink);background:var(--bg)}::selection{color:#fff;background:var(--blue)}*{scrollbar-width:thin;scrollbar-color:#b8c3d4 transparent}*::-webkit-scrollbar{width:9px;height:9px}*::-webkit-scrollbar-thumb{background:#b8c3d4;border:2px solid transparent;border-radius:8px;background-clip:padding-box}button,input,select,textarea{font:inherit}input,textarea{caret-color:var(--blue)}a{color:var(--blue-strong);text-underline-offset:3px}[hidden]{display:none!important}.skip-link{position:fixed;top:-80px;left:16px;z-index:100;padding:12px;background:#fff}.skip-link:focus{top:8px}:focus-visible{outline:3px solid rgba(55,108,246,.32);outline-offset:2px}main{margin:0}h2{margin:0 0 9px;font-size:clamp(25px,2.2vw,34px);line-height:1.12;letter-spacing:-.03em;text-wrap:balance}h3{margin:28px 0 12px;font-size:15px}p{margin:8px 0 20px}.muted,.login p{color:var(--muted);font-size:12px}
.login{max-width:430px;margin:10vh auto;padding:34px;background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow)}.login::before{content:"SUPERFRUIT GM";display:block;margin-bottom:26px;color:var(--blue);font-size:11px;font-weight:800;letter-spacing:.12em}.login h2{font-size:28px}.login .primary{width:100%;margin-top:12px}
#workspace{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;z-index:30;width:var(--sidebar);display:flex;flex-direction:column;padding:18px 14px 16px;overflow-y:auto;color:#526077;background:#fbfcfe;border-right:1px solid var(--line)}.sidebar::before{content:"";width:35px;height:35px;margin:0 10px 17px;border-radius:11px;background:var(--blue);box-shadow:0 9px 20px rgba(25,38,65,.16)}.sidebar::after{content:"SUPERFRUIT GM";position:absolute;top:27px;left:64px;color:var(--ink);font-size:13px;font-weight:800;letter-spacing:.04em}.sidebar nav{padding-top:18px;border-top:1px solid var(--line)}.nav-section-label{margin:0 10px 7px;color:var(--faint);font-size:11px;font-weight:760;letter-spacing:.1em}.nav-section-label.governance{margin-top:20px}.nav-group{margin:3px 0}.nav-group summary{min-height:44px;display:flex;align-items:center;gap:11px;padding:0 11px;border-radius:10px;color:#526077;font-size:13px;font-weight:680;cursor:pointer;list-style:none;transition:color .18s ease,background .18s ease}.nav-group summary::-webkit-details-marker{display:none}.nav-group summary::after{content:"";width:6px;height:6px;margin-left:auto;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform .18s ease;opacity:.55}.nav-group[open] summary::after{transform:rotate(225deg)}.nav-group summary:hover{color:var(--ink);background:#f0f4fa}.nav-icon{width:20px;height:20px;flex:none}.nav-icon svg,.workspace-toolbar svg,.command-search svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sidebar nav button{position:relative;width:calc(100% - 31px);min-height:38px;display:block;margin:2px 0 2px 31px;padding:0 11px;border:0;border-radius:9px;color:#667287;background:transparent;font-size:12px;text-align:left;cursor:pointer}.sidebar nav button:hover{color:var(--ink);background:#f0f4fa}.sidebar nav button[aria-current="page"]{color:var(--blue-strong);background:#eaf1ff;font-weight:720}.sidebar nav button[aria-current="page"]::after{content:"";position:absolute;right:11px;top:50%;width:5px;height:5px;border-radius:50%;background:var(--blue);transform:translateY(-50%)}.operator{margin-top:auto;display:grid;grid-template-columns:36px 1fr 7px;align-items:center;gap:10px;padding:11px;border:1px solid var(--line);border-radius:12px;background:#fff}.operator-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;color:#fff;background:#18243a;font-size:11px;font-weight:800}.operator strong,.operator small{display:block}.operator strong{color:var(--ink);font-size:12px}.operator small{margin-top:2px;color:var(--faint);font-size:11px}.operator i{width:7px;height:7px;border-radius:50%;background:#138867}
.work-area{min-width:0;margin-left:var(--sidebar);padding:calc(var(--header) + 32px) clamp(24px,3vw,44px) 56px}.workspace-toolbar{position:fixed;inset:0 0 auto var(--sidebar);z-index:25;height:var(--header);display:flex;align-items:center;gap:14px;padding:0 28px;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line)}.breadcrumb{color:var(--muted);font-size:12px}#current-page{color:var(--ink);font-size:12px;font-weight:720}.workspace-toolbar .actions{margin-left:auto;align-items:center;flex-wrap:nowrap}.environment{min-height:28px;display:inline-flex;align-items:center;padding:0 9px;border-radius:999px;color:var(--amber);background:var(--amber-soft);font-size:11px;font-weight:720;white-space:nowrap}.command-search{width:min(390px,31vw);min-height:40px;display:flex;align-items:center;gap:10px;margin-left:18px;padding:0 12px;border:1px solid var(--line);border-radius:10px;color:var(--muted);background:var(--soft);cursor:pointer}.command-search:hover{border-color:#b9c7da;background:#fff}.command-search svg{width:18px;height:18px}.command-search span{font-size:12px}.command-search kbd{margin-left:auto;padding:2px 6px;border:1px solid var(--line-strong);border-radius:5px;color:var(--faint);background:#fff;font-size:10px}.mobile-menu{display:none}
label{display:grid;gap:6px;margin:16px 0;color:#3b4658;font-size:12px}input,textarea,select{width:100%;min-height:40px;padding:8px 11px;border:1px solid #b8c3d4;border-radius:9px;color:var(--ink);background:#fff}input::placeholder,textarea::placeholder{color:#667287}textarea{font:12px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;resize:vertical}select{width:auto;max-width:100%}button{min-height:40px;padding:7px 13px;border:1px solid var(--line-strong);border-radius:9px;color:#344056;background:#fff;font-size:12px;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease}button:hover{border-color:#9db0ca;background:#f8faff}button:active{transform:translateY(1px)}button:disabled{opacity:.48;cursor:not-allowed}.primary{color:#fff;border-color:var(--blue);background:var(--blue);box-shadow:0 9px 22px rgba(25,38,65,.14)}.primary:hover{color:#fff;border-color:var(--blue-strong);background:var(--blue-strong)}.actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.inline-form{display:flex;gap:10px;align-items:center;margin:18px 0}.inline-form input{flex:1;min-width:0}.icon-button{width:40px;padding:0}
#content{min-height:430px;outline:none}#content>p.muted{max-width:72ch;margin-bottom:24px}.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin:20px 0 24px;overflow:hidden;border-radius:var(--radius);background:#fff;box-shadow:var(--shadow)}.metric{min-width:0;padding:20px 22px;border-right:1px solid var(--line)}.metric:last-child{border:0}.metric span{display:block;color:var(--muted);font-size:11px}.metric strong{display:block;margin-top:7px;color:var(--ink);font-size:28px;font-weight:650;line-height:1.25;font-variant-numeric:tabular-nums}.metric[data-state="error"] strong{color:var(--red)}.health-banner{display:flex;gap:11px;align-items:center;margin:16px 0;padding:13px 16px;border-radius:11px;color:var(--green);background:var(--green-soft);font-size:12px}.health-banner.error{color:var(--red);background:var(--red-soft)}.health-dot{width:7px;height:7px;flex:none;border-radius:50%;background:currentColor}
.monitor-runway{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0;padding:18px;overflow:hidden;border:1px solid #dce5f4;border-radius:var(--radius);background:var(--blue-soft)}.monitor-runway::before{content:"";position:absolute;top:38px;left:12%;right:12%;height:1px;background:#b8c9ec}.monitor-runway::after{content:"";position:absolute;top:35px;left:12%;width:64px;height:7px;border-radius:8px;background:rgba(55,108,246,.2);filter:blur(2px);animation:travel 4.6s cubic-bezier(.16,1,.3,1) infinite}@keyframes travel{0%{transform:translateX(0);opacity:0}12%{opacity:1}88%{opacity:1}100%{transform:translateX(calc(72vw - 132px));opacity:0}}.runway-node{position:relative;z-index:1;min-width:0;display:grid;grid-template-columns:38px 1fr;gap:9px;align-items:center}.runway-node i{width:38px;height:38px;display:grid;place-items:center;border:1px solid #c7d5ef;border-radius:10px;color:var(--blue);background:#fff;font-style:normal;font-size:11px;font-weight:800}.runway-node b,.runway-node span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.runway-node b{font-size:12px}.runway-node span{margin-top:3px;color:var(--muted);font-size:11px}.monitor-columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:18px;align-items:start}.monitor-columns>div,.editor,.table-wrap,.monitor-notice{background:#fff;box-shadow:var(--shadow)}.monitor-columns>div{padding:24px;border-radius:var(--radius)}.monitor-columns h3{margin-top:0}.production-board{color:#fff;background:#18243a!important}.production-board h3{color:#fff}.production-board .table-wrap{box-shadow:none}.production-board table,.production-board th,.production-board td{color:#d7dfeb;background:transparent;border-color:rgba(255,255,255,.11)}.production-board th{color:#aebbd0}.monitor-notice{margin-top:16px;padding:14px 16px;border-radius:10px;color:#68491c;background:#fffaf0;box-shadow:none;font-size:11px}.monitor-notice p{margin:7px 0 0}.table-wrap{max-width:100%;overflow:auto;border-radius:var(--radius);scrollbar-color:#b8c3d4 #f4f5f7}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;background:#fff}th,td{padding:12px 14px;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}th{color:#505d72;background:var(--soft);font-size:11px;font-weight:720}td{font-size:12px;overflow-wrap:anywhere}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcff}td.code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}td.detail{min-width:230px;max-width:500px;white-space:normal}.tag{padding:3px 8px;border:1px solid var(--line-strong);border-radius:6px;color:#46576a;font-size:11px}.page-title{display:flex;justify-content:space-between;align-items:baseline}.editor{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:20px 0;padding:20px;border-radius:var(--radius)}.editor label{margin:0}.editor label:has(textarea),.editor fieldset,.editor>.actions{grid-column:1/-1}.editor fieldset{display:flex;flex-wrap:wrap;gap:18px;border:1px solid var(--line)}.editor input[type="checkbox"],input[type="checkbox"]{width:auto;min-height:18px}.rule-fingerprint{overflow-wrap:anywhere;font-size:11px}.asset-preview{width:88px;min-height:112px;display:grid;justify-items:center;gap:4px;padding:8px;border-color:var(--line);color:var(--muted);background:var(--soft);font-size:11px}.cosmetic-thumbnail{width:64px;height:80px;display:block;object-fit:contain}.skeleton{height:220px;border-radius:var(--radius);background:linear-gradient(#e9edf4 18px,transparent 18px);background-size:100% 44px}.error{color:var(--red)}
#status{position:fixed;right:24px;bottom:20px;z-index:70;max-width:420px;margin:0;pointer-events:none;white-space:pre-wrap}#status:not(:empty){padding:12px 16px;border-radius:10px;color:#fff;background:#1b2941;box-shadow:0 16px 40px rgba(20,33,54,.24);font-size:11px}#status.error:not(:empty){background:#8f241c}dialog{width:min(620px,calc(100vw - 28px));max-height:85vh;padding:24px;overflow:auto;border:0;border-radius:15px;color:var(--ink);background:#fff;box-shadow:0 28px 80px rgba(20,32,51,.26)}dialog::backdrop{background:rgba(20,32,51,.34)}.wide-dialog{width:min(1100px,calc(100vw - 28px))}.wide-dialog pre,pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}.image-dialog{max-width:900px}.image-dialog img{max-width:100%;max-height:68vh;display:block;margin:12px auto;object-fit:contain}.image-dialog .actions{position:sticky;top:0;padding-bottom:8px;background:#fff}.command-dialog label{margin-top:0;color:var(--ink);font-size:15px;font-weight:760}.dialog-close{float:right;min-height:34px}.command-results{display:grid;gap:5px;margin-top:12px}.command-option{width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;border:0;color:var(--muted);background:transparent;text-align:left}.command-option:hover{color:var(--ink);background:var(--blue-soft)}.command-option small{color:var(--faint)}
@media(max-width:1120px){:root{--sidebar:218px}.monitor-columns{grid-template-columns:1fr}.command-search{width:min(300px,29vw);margin-left:0}.workspace-toolbar{padding-inline:18px}}
@media(max-width:860px){:root{--sidebar:78px}.sidebar{padding-inline:10px}.sidebar::before{margin-inline:auto}.sidebar::after,.nav-section-label,.nav-group summary span:not(.nav-icon),.nav-group summary::after,.sidebar nav button,.operator>:not(.operator-avatar){display:none}.nav-group summary{justify-content:center;padding:0}.nav-group[open] .nav-icon{color:var(--blue)}.operator{display:flex;justify-content:center;padding:7px}.breadcrumb{display:none}.command-search{width:min(360px,46vw)}}
@media(max-width:620px){:root{--sidebar:0px;--header:62px}.sidebar{width:248px;transform:translateX(-100%);transition:transform .2s ease;box-shadow:20px 0 50px rgba(27,43,72,.16)}body.nav-open .sidebar{transform:translateX(0)}.sidebar::before{margin-inline:10px}.sidebar::after,.nav-section-label,.nav-group summary span:not(.nav-icon),.nav-group summary::after,.sidebar nav button,.operator>:not(.operator-avatar){display:initial}.nav-group summary{justify-content:flex-start;padding:0 11px}.sidebar nav button{display:block}.operator{display:grid;justify-content:initial}.workspace-toolbar{left:0;padding-inline:14px}.mobile-menu{display:grid;place-items:center;flex:none}.command-search{flex:1;width:auto;min-width:0}.command-search span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.command-search kbd,.workspace-toolbar .environment,#updated-at{display:none}.workspace-toolbar .actions{margin-left:0}#logout{display:none}.work-area{margin-left:0;padding:calc(var(--header) + 24px) 14px 40px}h2{font-size:25px}.monitor-runway{grid-template-columns:repeat(2,minmax(0,1fr))}.monitor-runway::before,.monitor-runway::after{display:none}.metrics{grid-template-columns:1fr 1fr}.metric{padding:15px;border-bottom:1px solid var(--line)}.metric strong{font-size:23px}.inline-form{flex-wrap:wrap}.editor{grid-template-columns:minmax(0,1fr);padding:14px}.login{margin:32px 16px;padding:25px}td,th{padding:10px}button{min-height:44px}#status{right:14px;left:14px;bottom:14px;max-width:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* The real brand is semantic markup; legacy pseudo branding stays disabled. */
.sidebar::before,.sidebar::after{display:none}
.brand{min-height:53px;display:flex;align-items:flex-start;gap:11px;padding:0 10px 17px;color:var(--ink);border-bottom:1px solid var(--line);text-decoration:none}
.brand-mark{width:35px;height:35px;flex:none;border-radius:11px;background:var(--blue);box-shadow:0 9px 20px rgba(25,38,65,.16)}
.brand-copy strong,.brand-copy small{display:block}.brand-copy strong{font-size:13px;line-height:1.15;letter-spacing:.04em}.brand-copy small{margin-top:4px;color:var(--faint);font-size:11px;letter-spacing:.08em}
@media(max-width:860px){.brand{justify-content:center;padding-inline:0}.brand-copy,#updated-at,.workspace-toolbar .environment{display:none}}
@media(max-width:620px){.brand{justify-content:flex-start;padding-inline:10px}.brand-copy{display:block}}
