:root{--qf-space-xs:4px;--qf-space-sm:8px;--qf-space-md:16px;--qf-space-lg:24px;--qf-space-xl:32px;--qf-gutter:16px;--qf-radius-none:0px;--qf-radius-sm:4px;--qf-radius-md:8px;--qf-radius-full:9999px;--qf-motion-hover:.12s;--qf-motion-panel:.18s;--qf-motion-sheet:.22s;--qf-ease:ease-out;--qf-ease-retro:steps(2, end)}:root[data-qf-theme=arcane][data-qf-resolved-mode=light]{--qf-surface:#fff9f0;--qf-canvas:#eceae3;--qf-human:#4f8069;--qf-agent:#56757a;--qf-rpg:#a8792b;--qf-danger:#a24f58}body[data-theme=arcane]{--qf-canvas:#eceae3;--qf-human:#4f8069;--qf-agent:#56757a;--qf-rpg:#a8792b;--qf-danger:#a24f58}:root[data-qf-theme=arcane][data-qf-resolved-mode=dark],html[data-color-mode=dark] body[data-theme=arcane]{--qf-surface:#20262b;--qf-canvas:#15191d;--qf-human:#78b998;--qf-agent:#79aeb6;--qf-rpg:#d6ad5e;--qf-danger:#ef858b}:root[data-qf-theme=soft-ops][data-qf-resolved-mode=light],body[data-theme=soft]{--qf-surface:#fff;--qf-canvas:#f3f2ef;--qf-human:#4f8a6d;--qf-agent:#4d7d8e;--qf-rpg:#b98535;--qf-danger:#c45d5d}:root[data-qf-theme=soft-ops][data-qf-resolved-mode=dark],html[data-color-mode=dark] body[data-theme=soft]{--qf-surface:#1e2830;--qf-canvas:#171f23;--qf-human:#78b493;--qf-agent:#69a8ef;--qf-rpg:#d2a75f;--qf-danger:#e98282}:root[data-qf-theme=retro][data-qf-resolved-mode=light],body[data-theme=retro]{--qf-surface:#fff8e8;--qf-canvas:#eee6d8;--qf-human:#4c8d42;--qf-agent:#315c78;--qf-rpg:#b16f20;--qf-danger:#c24732}:root[data-qf-theme=retro][data-qf-resolved-mode=dark],html[data-color-mode=dark] body[data-theme=retro]{--qf-surface:#1d2130;--qf-canvas:#11131a;--qf-human:#82c36f;--qf-agent:#74a6c7;--qf-rpg:#e2b35e;--qf-danger:#f0765e}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--canvas:#f1f0ec;--panel:#fff;--panel-muted:#f7f8f5;--rail:#20292d;--rail-2:#2b373b;--ink:#20262b;--muted:#687276;--line:#d9dfda;--green:#4f8a6d;--orange:#b98535;--red:#ba442f;--blue:#286fb8;--gold:#b58735;--shadow:0 8px 22px #1c2a2412;font-family:Inter,Noto Sans JP,Segoe UI,system-ui,sans-serif}*{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:color-mix(in srgb, var(--ink) 22%, transparent) transparent}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:color-mix(in srgb, var(--ink) 22%, transparent);background-clip:padding-box;border:2px solid #0000;border-radius:6px}::-webkit-scrollbar-thumb:hover{background:color-mix(in srgb, var(--ink) 38%, transparent)}body{background:var(--canvas);min-width:320px;color:var(--ink);margin:0;padding:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid color-mix(in srgb, var(--blue) 52%, transparent);outline-offset:2px}.app-shell{grid-template-columns:224px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:var(--rail);color:#fff;flex-direction:column;gap:24px;min-height:100vh;padding:22px 16px 16px;display:flex;position:sticky;top:0}.brand,.brand-copy,.profile-copy{min-width:0}.brand{border-bottom:1px solid #3a4748;align-items:center;gap:10px;padding-bottom:18px;display:flex}.brand-mark{object-fit:contain;flex:none;width:38px;height:38px;display:block}.brand strong,.sidebar-profile strong{font-size:17px;display:block}.brand small,.sidebar-profile small{color:#b9d0c1;letter-spacing:.08em;margin-top:2px;font-size:9px;font-weight:700;display:block}.beta-badge,.demo-data-badge{min-height:20px;color:var(--orange);border:1px solid;border-radius:3px;align-items:center;padding:2px 7px;font-size:10px;font-weight:900;line-height:1;display:inline-flex}.beta-badge{color:#f4d987;margin-left:4px}.legacy-link{color:#dfe7e0;border:1px solid #4b5757;border-radius:4px;justify-content:center;align-items:center;min-height:34px;font-size:12px;font-weight:800;text-decoration:none;display:inline-flex}.legacy-link:hover{background:#35433e;border-color:#b9d0c1}.page-title .demo-data-badge{margin-top:5px}.demo-data-badge[hidden]{display:none}.tree-layout[hidden],.integration-metrics[hidden],.integration-workspace[hidden],.integration-detail[hidden]{display:none!important}.sidebar-nav{gap:8px;display:grid}.nav-button{color:#fff;text-align:left;background:0 0;border:1px solid #0000;border-left-width:3px;border-radius:4px;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:10px;min-height:48px;padding:8px 10px;display:grid}.nav-icon{background:var(--rail-2);color:#dfe7e0;border:1px solid #4b5757;border-radius:3px;place-items:center;width:30px;height:30px;font-size:9px;font-weight:800;display:grid}.nav-button b{font-size:15px}.nav-button.is-active{background:#3a4941;border-color:#b9d0c1 #b9d0c1 #b9d0c1 #c9ded1}.nav-button.is-active .nav-icon{color:#182421;background:#c9ded1;border-color:#b9d0c1}.sidebar-profile{background:#283438;border:1px solid #415051;border-radius:4px;margin-top:auto;padding:14px}.profile-button{width:100%;min-height:60px;color:inherit;text-align:left;background:0 0;border:0;padding:0;display:block}.profile-button:hover .profile-copy strong{color:#f4d987}.profile-open{color:#b9d0c1;letter-spacing:.08em;margin-top:7px;font-size:8px;font-weight:800;display:block}.profile-avatar{float:left;background:#b4d1d0;border:1px solid #60706e;border-radius:4px;place-items:center;width:56px;height:56px;margin-right:9px;display:grid;overflow:hidden}.profile-avatar img{width:62px;image-rendering:pixelated}.sidebar-profile dl{clear:both;grid-template-columns:1fr 1fr;gap:6px;margin:14px 0 0;display:grid}.sidebar-profile dl div{background:#202a2e;border-radius:3px;padding:7px}.sidebar-profile dt{color:#aebcb2;font-size:9px;font-weight:700}.sidebar-profile dd{color:#fff;margin:3px 0 0;font-size:12px;font-weight:800}.workspace{min-width:0;padding:0 20px 36px}.topbar{z-index:8;background:var(--canvas);grid-template-columns:minmax(190px,.9fr) minmax(580px,2.9fr) 52px;align-items:stretch;gap:12px;min-height:102px;padding:12px 0 16px;display:grid;position:sticky;top:0}.page-title,.status-card,.quick-add{border:1px solid var(--line);background:var(--panel);border-radius:4px}.page-title{flex-direction:column;justify-content:center;padding:16px 20px;display:flex}.page-title p,.view-heading>div>p,.panel-heading p,.boss-copy p,.tree-note>p,.battle-side p,.integration-detail p,.dialog header p{color:var(--blue);letter-spacing:.08em;margin:0;font-size:10px;font-weight:800}.page-title h1,.view-heading h2,.panel-heading h2,.tree-note h2,.battle-side h2,.integration-detail h2,.dialog h2{margin:4px 0 0;font-size:23px;line-height:1.15}.status-strip{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.status-card{flex-direction:column;justify-content:center;gap:3px;min-width:0;padding:12px 14px;display:flex}.status-card>span{color:var(--muted);letter-spacing:.06em;font-size:10px;font-weight:800}.status-card strong{font-size:20px;line-height:1.1}.status-card small{color:var(--muted);font-size:11px}#topbarLevel,#topbarXp,#topbarQuestLine,#topbarMp,#topbarMpMax,#topbarPressure,#timerValue{font-family:ui-monospace,SFMono-Regular,Cascadia Mono,JetBrains Mono,Consolas,monospace}.focus-card button{color:inherit;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:8px;padding:0;display:flex}.focus-card button b{font-size:20px}.focus-card button i{border:1px solid var(--ink);width:23px;height:23px;color:var(--ink);border-radius:50%;place-items:center;font-size:8px;font-style:normal;display:grid}.focus-card button[aria-pressed=true] i{border-color:var(--green);background:var(--green);color:#fff}.mp-card strong{color:var(--gold);align-items:baseline;gap:4px;display:flex}.mp-card strong small{color:var(--muted);font-size:10px}.pressure-card strong{color:var(--orange)}.mp-card meter{accent-color:var(--gold)}.mp-card meter::-webkit-meter-optimum-value{background:var(--gold)}.mp-card meter::-webkit-meter-suboptimum-value{background:var(--gold)}.mp-card meter::-webkit-meter-even-less-good-value{background:var(--gold)}meter{width:100%;height:8px;accent-color:var(--blue);display:block}meter::-webkit-meter-bar{background:#e3e8e4;border:0;border-radius:2px}meter::-webkit-meter-optimum-value{background:var(--blue);border-radius:2px}meter::-webkit-meter-suboptimum-value{background:var(--blue);border-radius:2px}meter::-webkit-meter-even-less-good-value{background:var(--blue);border-radius:2px}.boss-panel meter::-webkit-meter-optimum-value{background:var(--red)}.enemy-stage meter::-webkit-meter-optimum-value{background:var(--red)}.quick-add{border-color:var(--blue);background:var(--blue);color:#fff;place-items:center;font-size:30px;line-height:1;display:grid}.view{min-width:0}.view-heading{justify-content:space-between;align-items:end;gap:16px;margin:4px 0 16px;display:flex}.toolbar{flex-wrap:wrap;justify-content:end;gap:6px;display:flex}.archive-count{min-height:38px;color:var(--muted);white-space:nowrap;align-items:center;padding:0 4px;font-size:11px;font-weight:800;display:inline-flex}.tool,.primary-action,.secondary-action{border:1px solid var(--line);background:var(--panel);min-height:38px;color:var(--ink);border-radius:4px;padding:0 12px;font-size:13px;font-weight:800}.tool:disabled,.primary-action:disabled,.secondary-action:disabled{cursor:not-allowed;opacity:.48;filter:saturate(.55)}.tool.is-active,.tool[aria-pressed=true]{border-color:var(--green);color:#276144;background:#edf6ef}.primary-action{border-color:var(--red);background:var(--red);color:#fff}.primary-action:hover,.quick-add:hover{background:#963522}.secondary-action:hover,.tool:hover{border-color:var(--ink);background:#edf2ee}.today-layout{grid-template-columns:minmax(0,1fr) 310px;gap:16px;display:grid}.quest-board,.selected-panel,.tree-list,.tree-note,.battle-side section,.integration-runway,.integration-card,.integration-detail,.party-card,.battle-stage{border:1px solid var(--line);background:var(--panel);box-shadow:var(--shadow);border-radius:4px}.agent-panel{background:color-mix(in srgb, var(--panel) 55%, transparent);border:1px solid #0000;border-radius:4px}.quest-head,.quest-row{grid-template-columns:104px minmax(240px,2.3fr) minmax(108px,.7fr) 116px 88px 78px 66px;align-items:center;gap:10px;display:grid}.quest-head{border-bottom:1px solid var(--line);min-height:50px;color:var(--muted);letter-spacing:.05em;padding:0 16px;font-size:10px;font-weight:800}.quest-list{padding:8px}.quest-row{border-bottom:1px solid var(--line);background:var(--panel);text-align:left;min-height:86px;padding:12px 8px;position:relative}.quest-row:last-child{border-bottom:0}.quest-row.is-selected{outline:2px solid color-mix(in srgb, var(--blue) 55%, transparent);outline-offset:-2px;background:color-mix(in srgb, var(--blue) 9%, var(--panel))}.quest-row.is-selected .quest-summary strong{font-weight:800}.quest-row.is-bulk-selected{background:color-mix(in srgb, var(--blue) 10%, var(--panel))}.quest-row.is-working{border-left:3px solid var(--blue)}.quest-row.is-blocked{border-left:3px solid var(--red)}.quest-row.is-review{border-left:3px solid var(--orange)}.quest-row.is-completed{border-left:3px solid var(--green)}.quest-row.is-attention .quest-due{color:var(--orange)}.quest-row[data-depth="1"]{background:linear-gradient(var(--line), var(--line)) 22px 0 / 1px 100% no-repeat, var(--panel-muted);min-height:72px;padding-left:16px}.quest-row[data-depth="1"] .quest-code{color:var(--muted);font-size:14px}.quest-code{min-width:0;color:var(--red);grid-template-columns:10px 20px 18px minmax(0,1fr);align-items:center;column-gap:8px;font-size:20px;font-weight:800;display:grid}.quest-number{white-space:nowrap;min-width:0}.quest-select{width:17px;height:17px;accent-color:var(--blue);cursor:pointer;margin:0}.rail-marker{border:1px solid;flex:none;width:10px;height:10px;display:inline-block;transform:rotate(45deg)}.rail-marker.is-main{background:var(--green);color:var(--green)}.rail-marker.is-sub{background:var(--panel);color:var(--blue)}.rail-marker.is-side{background:var(--panel);color:var(--orange)}.quest-toggle{border:1px solid var(--line);width:20px;height:20px;color:var(--muted);background:#fff;border-radius:3px;flex:none;place-items:center;padding:0;font-size:13px;display:grid}.quest-toggle.is-placeholder{visibility:hidden}.quest-summary{min-width:0;padding-left:6px}.quest-title-line,.tree-title-line{align-items:center;gap:7px;min-width:0;display:flex}.quest-kind{color:var(--muted);letter-spacing:.06em;flex:none;font-size:8px}.quest-summary strong,.agent-chip strong{text-overflow:ellipsis;white-space:nowrap;font-size:15px;display:block;overflow:hidden}.quest-summary small,.agent-chip small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:11px;display:block;overflow:hidden}.quest-game-meta{color:var(--muted);letter-spacing:.04em;flex-wrap:wrap;gap:4px 8px;margin-top:6px;font-size:9px;font-weight:800;display:flex}.difficulty{color:var(--gold)}.quest-progress{gap:5px;display:grid}.quest-progress b{color:var(--green);font-size:18px}.progress-line{background:color-mix(in srgb, var(--ink) 12%, var(--panel));border-radius:3px;height:5px;overflow:hidden}.progress-line span{border-radius:inherit;background:var(--green);height:100%;display:block}.quest-row.is-blocked .quest-progress b{color:var(--red)}.quest-row.is-blocked .progress-line span{background:var(--red)}.quest-row.is-review .quest-progress b{color:var(--orange)}.quest-row.is-review .progress-line span{background:var(--orange)}.quest-row.is-working .progress-line span{background:var(--blue)}.quest-row.is-completed .progress-line span{background:var(--green)}.agent-chip{grid-template-columns:26px minmax(0,1fr);align-items:center;gap:6px;display:grid}.agent-avatar{border:1px solid var(--line);width:26px;height:26px;color:var(--ink);background:#e9eeec;border-radius:50%;place-items:center;font-size:10px;font-weight:800;display:grid}.agent-avatar.has-avatar{background:#b4d1d0;overflow:hidden}.agent-avatar.has-avatar img{width:42px;image-rendering:pixelated}.agent-chip small{margin:0;font-size:9px}.state-pill,.counter{background:var(--blue);color:#fff;white-space:nowrap;border-radius:3px;justify-content:center;align-items:center;width:fit-content;min-height:23px;padding:3px 7px;font-size:10px;font-weight:800;display:inline-flex}.state-pill[data-state=working]{background:var(--blue)}.state-pill[data-state=blocked]{background:var(--red)}.state-pill[data-state=ready]{background:#7c8584}.state-pill[data-state=completed]{background:var(--green)}.state-pill[data-state=review]{background:var(--orange)}.state-pill[data-state=archived]{background:var(--muted)}.quest-due,.quest-focus{color:var(--muted);font-size:12px;font-weight:700}.quest-focus{color:var(--green)}.today-side{scrollbar-width:thin;align-content:start;align-self:start;gap:16px;max-height:calc(100vh - 134px);display:grid;position:sticky;top:118px;overflow-y:auto}.agent-panel,.selected-panel{padding:14px}.panel-heading{justify-content:space-between;align-items:start;gap:12px;margin-bottom:12px;display:flex}.panel-heading>div:first-child{min-width:0}.panel-heading h2{font-size:17px}.counter{background:var(--rail)}.agent-list{gap:8px;display:grid}.selected-heading-actions{align-items:center;gap:6px;display:flex}.sheet-toggle{display:none}.agent-row{border:1px solid var(--line);border-radius:3px;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:52px;padding:8px;display:grid}.agent-row .agent-avatar{width:32px;height:32px}.agent-row>div{min-width:0}.agent-row>div strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;display:block;overflow:hidden}.agent-row>div small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:10px;display:block;overflow:hidden}.agent-row button,.party-card button{border:1px solid var(--line);background:var(--panel-muted);min-height:30px;color:var(--ink);border-radius:3px;font-size:11px;font-weight:800}.boss-panel{color:#fff;background:#202b2d;border:1px solid #162021;border-radius:4px;min-height:186px;padding:14px;position:relative;overflow:hidden}.boss-copy{z-index:1;max-width:160px;position:relative}.boss-copy p{color:#e0bb6e}.boss-copy h2{margin:4px 0 7px;font-size:18px}.boss-copy span{color:#b7c6bf;font-size:10px}.boss-panel img{object-fit:contain;width:128px;height:128px;image-rendering:pixelated;position:absolute;top:8px;right:-5px}.boss-panel meter{width:calc(100% - 28px);position:absolute;bottom:43px;left:14px}.boss-stats{color:#b7c6bf;justify-content:space-between;width:calc(100% - 28px);font-size:10px;display:flex;position:absolute;bottom:12px}.boss-stats b{color:#fff;font-size:13px}.selected-panel{min-height:244px}.quest-row.is-archived{border-left:3px solid var(--muted);opacity:.78}.quest-row.is-archived .quest-progress b,.quest-row.is-archived .quest-focus{color:var(--muted)}.selected-panel>p{min-height:36px;color:var(--muted);margin:0 0 12px;font-size:12px;line-height:1.45}.selected-meta{grid-template-columns:1fr 1fr;gap:8px;margin:0;display:grid}.selected-meta div{background:var(--panel-muted);border-radius:3px;padding:7px}.selected-meta dt{color:var(--muted);font-size:9px;font-weight:800}.selected-meta dd{margin:3px 0 0;font-size:11px;font-weight:800}.selected-actions,.dialog-actions,.integration-actions{gap:8px;margin-top:14px;display:flex}.selected-actions{grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.selected-actions>*,.dialog-actions>*,.integration-actions>*{white-space:nowrap;flex:1;min-width:0}.selected-actions>*{padding-left:6px;padding-right:6px}.bulk-selection-bar{border:1px solid color-mix(in srgb, var(--blue) 32%, var(--line));background:color-mix(in srgb, var(--blue) 7%, var(--panel));border-radius:4px;flex-wrap:wrap;align-items:center;gap:8px;min-height:42px;margin:0 0 12px;padding:7px 10px;display:flex}.bulk-selection-bar[hidden]{display:none}.bulk-selection-bar strong{color:var(--blue);margin-right:auto;font-size:12px}.bulk-selection-bar button{white-space:nowrap;min-height:30px;padding:0 10px}.tree-layout,.battle-layout{grid-template-columns:minmax(0,1fr) 300px;gap:16px;display:grid}.quest-rail-legend{color:var(--muted);flex-wrap:wrap;gap:9px 15px;margin:-6px 0 14px;font-size:10px;font-weight:800;display:flex}.quest-rail-legend span{align-items:center;gap:6px;display:inline-flex}.tree-list{gap:8px;padding:14px;display:grid}.tree-node{border:1px solid var(--line);border-left:4px solid var(--green);border-radius:3px;grid-template-columns:76px minmax(0,1fr) 100px 86px;align-items:center;gap:10px;min-height:70px;padding:11px;display:grid}.tree-node[data-depth="1"]{border-left-color:var(--blue);background:var(--panel-muted);margin-left:28px}.tree-node.is-blocked{border-left-color:var(--red)}.tree-node.is-review{border-left-color:var(--orange)}.tree-node.is-working{border-left-color:var(--blue)}.tree-node.is-completed{border-left-color:var(--green)}.tree-code{min-width:0;color:var(--red);white-space:nowrap;align-items:center;gap:9px;font-size:18px;font-weight:800;display:flex}.tree-node strong{font-size:15px}.tree-node small{color:var(--muted);margin-top:4px;font-size:11px;display:block}.tree-node button{border:1px solid var(--line);background:var(--panel);min-height:32px;color:var(--blue);border-radius:3px;font-size:11px;font-weight:800}.tree-note{background:var(--rail);color:#fff;align-self:start;padding:18px}.tree-note-profile{border-bottom:1px solid #415051;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;margin-bottom:18px;padding-bottom:14px;display:grid}.tree-note-avatar{color:#1b2b28;background:#d7e8df;border:1px solid #71827a;border-radius:50%;place-items:center;width:42px;height:42px;font-size:13px;font-weight:900;display:grid;overflow:hidden}.tree-note-avatar img{object-fit:cover;image-rendering:auto;width:100%;height:100%}.tree-note-profile strong,.tree-note-profile small{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.tree-note-profile strong{font-size:14px}.tree-note-profile small{color:#b7c6bf;margin-top:3px;font-size:10px;line-height:1.35}.tree-note>p{color:#78a8d8}.tree-note h2{font-size:19px}.tree-note>span{color:#b7c6bf;font-size:12px;line-height:1.5}.tree-note dl{gap:7px;margin:18px 0 0;display:grid}.tree-note dl div{background:#2c383a;border-radius:3px;justify-content:space-between;padding:9px;display:flex}.tree-note dt{color:#c7d3cc;font-size:11px}.tree-note dd{color:#fff;margin:0;font-size:15px;font-weight:800}.battle-stage{background:var(--canvas);color:#fff;min-height:0;padding:16px}.battle-arena{background:var(--canvas);border:1px solid #3d4e4c;border-radius:4px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end;gap:20px;min-height:468px;padding:28px 34px 34px;display:grid;position:relative;overflow:hidden}.arena-horizon{background:#d0e3d857;height:1px;position:absolute;bottom:112px;left:0;right:0;box-shadow:0 -18px 40px #78a8d81a}.enemy-stage{z-index:1;background:0 0;border:0;justify-content:space-between;align-items:center;min-height:340px;padding:14px;display:flex;position:relative}.enemy-stage p,.player-stage p{color:#dfbb70;margin:0;font-size:11px;font-weight:800}.enemy-stage strong,.player-stage strong{margin:9px 0;font-size:23px;display:block}.combat-hud{background:#0d1819d6;border:1px solid #3d4e4c;border-radius:4px;width:min(100%,260px);padding:12px}.enemy-stage img{object-fit:contain;width:min(48vw,320px);height:min(48vw,320px);image-rendering:pixelated}.player-stage{z-index:1;background:0 0;border:0;justify-self:start;align-items:center;gap:18px;margin:0;padding:14px;display:flex;position:relative}.player-stage img{object-fit:contain;width:190px;height:190px;image-rendering:pixelated}.player-stage span{color:#c8d7d1;font-size:13px}.player-stage b{color:var(--gold)}.player-stage .combat-hud{width:210px}.turn-indicator{z-index:1;color:#fff;letter-spacing:.05em;margin:0;font-size:14px;font-weight:800;position:absolute;bottom:22px;left:34px;right:34px}.turn-indicator span{color:#b7c6bf;letter-spacing:0;margin-left:10px;font-size:11px;font-weight:600}.battle-console{background:#273331;border:1px solid #3d4e4c;border-radius:4px;padding:16px}.battle-console>p{margin:0;font-size:14px}.command-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:14px;display:grid}.command-grid button{color:#fff;background:#3c4a48;border:1px solid #526460;border-radius:3px;min-height:74px;padding:8px;font-size:13px;font-weight:800}.command-grid button[data-command=skill],.command-grid button[data-command=burst]{background:#a9412d;border-color:#b45b47}.command-grid button[data-command=guard]{background:#286fb8;border-color:#5790c8}.command-grid button[data-command=heal]{background:#3f7c5d;border-color:#72a789}.command-grid button:disabled{cursor:not-allowed;opacity:.42}.command-grid small{color:#e5ede8;margin-top:5px;font-size:9px;display:block}.battle-side{align-content:start;gap:16px;display:grid}.battle-side section{padding:14px}.battle-side h2{font-size:18px}.battle-tactical dl{gap:8px;margin:13px 0 0;display:grid}.battle-tactical dl div{border-bottom:1px solid var(--line);justify-content:space-between;gap:10px;padding:8px 0;display:flex}.battle-tactical dt{color:var(--muted);font-size:11px;font-weight:700}.battle-tactical dd{color:var(--ink);text-align:right;margin:0;font-size:12px;font-weight:800}.battle-queue-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 0;display:grid}.battle-queue-row:last-child{border-bottom:0}.battle-queue-row strong{font-size:12px}.battle-queue-row span{color:var(--gold);font-size:11px;font-weight:800}.battle-side ul{gap:8px;margin:0;padding:0;list-style:none;display:grid}.battle-side li{color:var(--muted);font-size:11px;line-height:1.4}.party-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.party-summary{grid-template-columns:repeat(3,minmax(0,120px)) minmax(260px,1fr);gap:14px;margin-bottom:14px;display:grid}.party-summary-card,.party-brief-card,.party-activity-panel,.integration-metrics section,.integration-context,.settings-card,.profile-identity-card,.profile-current-card,.profile-log-card{border:1px solid var(--line);background:var(--panel);box-shadow:var(--shadow);border-radius:4px}.party-summary-card{align-content:center;min-height:118px;padding:16px;display:grid}.party-summary-card span,.party-brief-card p,.settings-card>p,.profile-identity-card p,.profile-current-card p,.profile-log-card p{color:var(--blue);letter-spacing:.08em;font-size:10px;font-weight:800}.party-summary-card strong{margin-top:5px;font-size:29px;line-height:1}.party-summary-card small{color:var(--muted);margin-top:7px;font-size:11px}.party-brief-card{background:var(--rail);color:#fff;padding:16px}.party-brief-card p{color:#78a8d8;margin:0}.party-brief-card h2{margin:6px 0;font-size:18px}.party-brief-card span{color:#c7d3cc;font-size:12px}.party-card{gap:14px;padding:18px;display:grid}.party-card-head{grid-template-columns:72px minmax(0,1fr);align-items:center;gap:14px;display:grid}.party-mark{border:1px solid var(--line);background:var(--panel-muted);width:72px;height:72px;color:var(--ink);border-radius:4px;place-items:center;font-size:24px;font-weight:800;display:grid}.party-mark.has-avatar{background:#b4d1d0;overflow:hidden}.party-mark.has-avatar img{width:82px;image-rendering:pixelated}.party-card h2{margin:0;font-size:19px}.party-card p{color:var(--muted);margin:5px 0;font-size:12px}.party-task{min-height:38px;font-weight:700;color:var(--ink)!important}.party-card-meta{grid-template-columns:minmax(0,1fr) 80px 68px;gap:7px;margin:0;display:grid}.party-card-meta div{background:var(--panel-muted);border-radius:3px;min-width:0;padding:8px}.party-card-meta dt{color:var(--muted);font-size:9px;font-weight:800}.party-card-meta dd{text-overflow:ellipsis;white-space:nowrap;margin:4px 0 0;font-size:11px;font-weight:800;overflow:hidden}.party-card button{width:100%;min-height:32px;margin-top:7px}.party-activity-panel{margin-top:14px;padding:18px}.party-activity{gap:0;margin:0;padding:0;list-style:none;display:grid}.party-activity li{border-top:1px solid var(--line);grid-template-columns:110px minmax(0,1fr) 150px;align-items:center;gap:12px;padding:12px 0;display:grid}.party-activity b{font-size:13px}.party-activity span{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700;overflow:hidden}.party-activity small{color:var(--muted);text-align:right;font-size:11px}.integration-runway{background:var(--rail);color:#fff;margin-bottom:16px;padding:16px}.integration-runway ol{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none;display:grid}.integration-runway li{color:#b7c6bf;align-items:center;gap:8px;font-size:12px;font-weight:700;display:flex}.integration-runway b{color:#fff;border:1px solid #526460;border-radius:50%;place-items:center;width:27px;height:27px;font-size:11px;display:grid}.integration-runway .is-done b{border-color:var(--green);background:var(--green)}.integration-runway .is-current{color:#fff}.integration-runway .is-current b{border-color:var(--blue);background:var(--blue)}.integration-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.integration-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px;display:grid}.integration-metrics section{padding:13px 15px}.integration-metrics span{color:var(--muted);letter-spacing:.06em;font-size:9px;font-weight:800}.integration-metrics strong{margin-top:4px;font-size:23px;display:inline-block}.integration-metrics small{color:var(--muted);margin-left:6px;font-size:11px}.integration-workspace{grid-template-columns:minmax(0,1fr) 290px;gap:14px;display:grid}.integration-card{text-align:left;min-height:174px;padding:17px}.integration-card.is-selected{outline:2px solid color-mix(in srgb, var(--green) 60%, transparent);background:#f0f8f2}.integration-card>span{background:var(--blue);color:#fff;border-radius:3px;place-items:center;width:34px;height:34px;font-size:12px;font-weight:800;display:grid}.integration-card strong{margin-top:12px;font-size:16px;display:block}.integration-card small{min-height:34px;color:var(--muted);margin-top:6px;font-size:12px;line-height:1.45;display:block}.integration-card b{color:var(--green);margin-top:11px;font-size:11px;display:inline-block}.integration-context{padding:18px}.integration-context>p{color:var(--blue);letter-spacing:.08em;margin:0;font-size:10px;font-weight:800}.integration-context h2{margin:5px 0 15px;font-size:20px}.integration-context dl{gap:7px;margin:0;display:grid}.integration-context dl div{background:var(--panel-muted);border-radius:3px;padding:9px}.integration-context dt{color:var(--muted);font-size:9px;font-weight:800}.integration-context dd{margin:4px 0 0;font-size:12px;font-weight:800}.integration-activity{gap:9px;margin:16px 0 0;padding:0;list-style:none;display:grid}.integration-activity li{color:var(--muted);padding-left:14px;font-size:11px;line-height:1.4;position:relative}.integration-activity li:before{background:var(--blue);content:"";border-radius:50%;width:6px;height:6px;position:absolute;top:.4em;left:0}.integration-detail{justify-content:space-between;align-items:center;gap:20px;margin-top:16px;padding:18px;display:flex}.integration-detail h2{font-size:20px}.integration-detail span{color:var(--muted);margin-top:5px;font-size:12px;display:block}.integration-actions{min-width:244px;margin:0}.profile-layout{grid-template-columns:minmax(0,1.25fr) minmax(0,.8fr);gap:14px;display:grid}.profile-identity-card{grid-template-columns:128px minmax(0,1fr);gap:20px;padding:24px;display:grid}.profile-page-avatar{background:#b4d1d0;border:1px solid #60706e;border-radius:4px;place-items:center;width:128px;height:128px;display:grid;overflow:hidden}.profile-page-avatar img{width:145px;image-rendering:pixelated}.profile-role-note{max-width:420px;color:var(--muted);margin-top:9px;font-size:11px;line-height:1.5;display:block}.avatar-upload{border:1px solid var(--line);background:var(--panel-muted);min-height:36px;color:var(--ink);cursor:pointer;border-radius:3px;align-items:center;margin-top:12px;padding:0 10px;font-size:11px;font-weight:800;display:inline-flex}.avatar-upload:hover{border-color:var(--blue);color:var(--blue)}.profile-avatar-status{color:var(--muted);margin-top:5px;font-size:10px;display:block}.profile-identity-card h2,.profile-current-card h2,.profile-log-card h2,.settings-card h2{margin:5px 0;font-size:22px}.profile-identity-card>div>span,.profile-current-card>span{color:var(--muted);font-size:13px}.profile-identity-card dl{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0;display:grid}.profile-identity-card dl div,.profile-log-card dl div{background:var(--panel-muted);border-radius:3px;padding:10px}.profile-identity-card dt,.profile-log-card dt{color:var(--muted);font-size:9px;font-weight:800}.profile-identity-card dd,.profile-log-card dd{margin:5px 0 0;font-size:16px;font-weight:800}.profile-current-card,.profile-log-card{padding:20px}.profile-current-card meter{margin:18px 0 8px}.profile-current-card .secondary-action,.profile-log-card .secondary-action{width:100%;margin-top:18px}.profile-log-card{align-content:start;display:grid}.profile-log-card dl{gap:8px;margin:10px 0 0;display:grid}.profile-log-card dd{font-size:13px}.settings-layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.settings-card{padding:20px}.settings-connection-card{grid-column:1/-1}.setting-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:16px 0;display:flex}.setting-row-stack{flex-direction:column;align-items:flex-start}.setting-row:first-of-type{margin-top:10px}.setting-row strong{font-size:14px;display:block}.setting-row small{color:var(--muted);margin-top:5px;font-size:12px;line-height:1.45;display:block}.setting-check{color:var(--ink);cursor:pointer;align-items:center;gap:8px;font-size:12px;font-weight:700;display:flex}.setting-check input{width:18px;height:18px;accent-color:var(--blue)}.setting-status{min-height:1.4em}.connection-status{border:1px solid var(--line);background:var(--surface-soft);gap:4px;margin:14px 0;padding:14px;display:grid}.connection-status strong{color:var(--ink);font-size:16px}.connection-status strong[data-status=synced]{color:var(--green)}.connection-status strong[data-status=syncing],.connection-status strong[data-status=reconnecting]{color:var(--blue)}.connection-status strong[data-status=error]{color:var(--red)}.connection-status strong[data-status=stale]{color:var(--orange)}.connection-status small{color:var(--muted);overflow-wrap:anywhere;font-size:12px}.connection-url{gap:6px;display:grid}.connection-url span{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:800}.connection-url input{border:1px solid var(--line-strong);width:100%;min-height:42px;color:var(--ink);background:var(--surface);font:inherit;border-radius:4px;padding:9px 11px}.connection-actions{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.connection-actions>*{flex:180px}.integration-public-beta-note{border:1px solid var(--orange);background:color-mix(in srgb, var(--orange) 8%, var(--panel));color:var(--ink);margin:12px 0 0;padding:12px 14px;font-size:12px;line-height:1.5}.connection-preference{border:1px solid var(--line);background:var(--surface-soft);cursor:pointer;align-items:flex-start;gap:10px;margin-top:14px;padding:12px;display:flex}.connection-preference input{width:18px;height:18px;accent-color:var(--blue);flex:none;margin:1px 0 0}.connection-preference span{gap:3px;min-width:0;display:grid}.connection-preference b{color:var(--ink);font-size:12px}.connection-preference small{color:var(--muted);font-size:11px;line-height:1.4}.connection-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 0;display:grid}.connection-meta div{background:var(--surface-soft);padding:10px}.settings-agent-card{grid-column:1/-1}.setting-description,.empty-note{color:var(--muted);line-height:1.6}.agent-registry-legend{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0;display:grid}.agent-registry-legend span{border:1px solid var(--line);background:var(--panel-muted);color:var(--muted);padding:10px;font-size:11px;line-height:1.45}.agent-registry-legend b{color:var(--ink);margin-bottom:3px;font-size:12px;display:block}.agent-form{border:1px solid var(--line);background:var(--surface-soft);gap:12px;margin:16px 0;padding:16px;display:grid}.agent-form label{gap:6px;font-weight:700;display:grid}.agent-form input,.agent-form textarea,.agent-link-row select{border:1px solid var(--line-strong);background:var(--surface);width:100%;min-height:42px;color:var(--ink);font:inherit;padding:9px 10px}.connection-url input{text-overflow:ellipsis}.agent-registry-list{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px;display:grid}.registry-agent{border:1px solid var(--line);background:var(--surface);grid-template-columns:1fr auto;gap:8px 12px;padding:14px;display:grid}.registry-agent-title{align-items:center;gap:9px;min-width:0;display:flex}.registry-agent-mark{border:1px solid var(--blue);width:30px;height:30px;color:var(--blue);border-radius:50%;flex:none;place-items:center;font-size:9px;font-weight:900;display:grid}.registry-agent p,.registry-agent>small,.registry-actions{grid-column:1/-1;margin:0}.registry-agent small{color:var(--muted)}.registry-actions,.agent-link-row{flex-wrap:wrap;gap:8px;display:flex}.registry-actions button{border:1px solid var(--line);background:var(--surface);min-height:36px;color:var(--ink);font-weight:800}.agent-link-row{align-items:center;margin-top:14px}.agent-link-row select{flex:220px}.agent-connection-box{border:1px solid var(--line);background:var(--panel-muted);margin-top:18px;padding:14px}.agent-connection-box>div:first-child p{color:var(--blue);letter-spacing:.08em;margin:0;font-size:10px;font-weight:800}.agent-connection-box h3{margin:4px 0;font-size:16px}.agent-connection-box h3+small{color:var(--muted);font-size:11px}.agent-link-row label{color:var(--muted);flex:220px;gap:5px;font-size:10px;font-weight:800;display:grid}.agent-connection-list{gap:6px;margin-top:12px;display:grid}.agent-connection-row{border:1px solid var(--line);background:var(--panel);justify-content:space-between;align-items:center;gap:10px;padding:9px 10px;display:flex}.agent-connection-row strong,.agent-connection-row small{display:block}.agent-connection-row strong{font-size:12px}.agent-connection-row small{color:var(--muted);margin-top:3px;font-size:10px}.agent-connection-row button{border:1px solid var(--line);background:var(--panel-muted);min-height:30px;color:var(--ink);font-size:11px;font-weight:800}.panel-error-list{border:1px solid var(--red);background:var(--surface);flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;padding:12px 14px;display:flex}.panel-error-list[hidden]{display:none}.panel-error-list div{margin-right:auto;display:grid}.panel-error-list small{color:var(--muted)}.panel-error-list span{border:1px solid var(--line);padding:4px 7px;font-weight:800}.panel-error-list button{border:1px solid var(--line-strong);background:var(--surface);min-height:36px;color:var(--ink);font-weight:800}.connection-meta dt{color:var(--muted);font-size:11px}.connection-meta dd{color:var(--ink);overflow-wrap:anywhere;margin:4px 0 0;font-size:13px;font-weight:700}.setting-toggle{border:1px solid var(--line);background:var(--panel-muted);min-width:62px;min-height:34px;color:var(--ink);border-radius:3px;flex:none;font-size:11px;font-weight:800}.setting-select{border:1px solid var(--line);background:var(--panel);min-width:min(220px,48vw);min-height:38px;color:var(--ink);border-radius:3px;padding:7px 9px;font-weight:700}.setting-toggle[aria-pressed=true]{border-color:var(--blue);color:var(--blue);background:#edf5fb}.detail-mode-switch{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;display:grid}.detail-mode-switch button{border:1px solid var(--line);background:var(--panel-muted);min-height:40px;color:var(--ink);border-radius:3px;font-size:12px;font-weight:800}.detail-mode-switch button[aria-pressed=true]{border-color:var(--blue);color:var(--blue);background:#edf5fb}.settings-routes{align-content:start;gap:8px;display:grid}.settings-routes .secondary-action{text-align:left}.is-large-type .quest-summary strong,.is-large-type .tree-node strong{font-size:17px}.is-large-type .quest-summary small,.is-large-type .tree-node small,.is-large-type .agent-chip small{font-size:12px}.is-large-type .tool,.is-large-type .primary-action,.is-large-type .secondary-action{min-height:42px;font-size:13px}.is-relaxed-density .quest-row{min-height:106px}.is-relaxed-density .tree-node{min-height:84px}.mobile-nav,.selected-backdrop{display:none}.quest-skeleton-list{gap:8px;padding:10px;display:grid}.quest-skeleton-row{border:1px solid var(--line);background:linear-gradient(90deg, var(--panel-muted) 25%, var(--panel) 50%, var(--panel-muted) 75%);background-size:240% 100%;min-height:92px;animation:1.2s linear infinite quest-skeleton-shimmer;display:block}@keyframes quest-skeleton-shimmer{to{background-position:-240% 0}}body.is-syncing .quest-list{cursor:progress}@media (prefers-reduced-motion:reduce){.quest-skeleton-row{animation:none}}.dialog{border:1px solid var(--line);background:var(--panel);border-radius:6px;width:min(520px,100vw - 32px);box-shadow:0 28px 70px #121d1942}.dialog::backdrop{background:#1924218f}.dialog form{gap:15px;padding:20px;display:grid}.dialog header{justify-content:space-between;gap:12px;display:flex}.dialog h2{font-size:22px}.dialog-close{border:1px solid var(--line);background:var(--panel);width:32px;height:32px;color:var(--ink);border-radius:3px;font-size:16px;font-weight:800}.dialog label{color:var(--muted);gap:6px;font-size:11px;font-weight:800;display:grid}.dialog input,.dialog select,.dialog textarea{border:1px solid var(--line);background:var(--panel);width:100%;min-height:42px;color:var(--ink);border-radius:3px;padding:9px 10px}.dialog textarea{resize:vertical;min-height:100px}.form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.toast{z-index:20;color:#fff;background:#24382d;border:1px solid #375f49;border-radius:4px;max-width:min(380px,100vw - 40px);padding:12px 15px;font-size:12px;font-weight:700;position:fixed;bottom:20px;right:20px;box-shadow:0 12px 30px #141e1940}@media (width<=1280px){.topbar{grid-template-columns:minmax(190px,1fr) minmax(460px,2.3fr) 48px}.status-strip{gap:7px}.status-card{padding:11px}.status-card strong,.focus-card button b{font-size:17px}.quest-head,.quest-row{grid-template-columns:88px minmax(180px,2fr) 84px 76px 82px 72px 58px;gap:7px}}@media (width<=1060px){.app-shell{grid-template-columns:72px minmax(0,1fr)}.sidebar{align-items:center;padding:15px 10px}.brand-copy,.nav-button b,.profile-copy,.sidebar-profile dl{display:none}.brand{padding:0 0 14px}.nav-button{grid-template-columns:1fr;justify-items:center;width:45px;padding:6px;display:grid}.sidebar-profile{padding:5px}.profile-avatar{float:none;width:42px;height:42px;margin:0}.profile-avatar img{width:46px}.today-layout{grid-template-columns:minmax(0,1fr) 280px}.quest-head,.quest-row{grid-template-columns:82px minmax(150px,1.7fr) 72px 70px 76px 68px 48px}.agent-chip{grid-template-columns:26px}.agent-chip strong,.agent-chip small{display:none}}@media (width<=900px){body{padding-bottom:75px}.app-shell{display:block}.sidebar{display:none}.workspace{padding:0 12px 18px}.topbar{grid-template-columns:minmax(0,1fr) 46px;gap:8px;min-height:0;padding:10px 0 12px}.page-title{min-height:72px;padding:12px}.page-title h1{font-size:21px}.status-strip{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));overflow:hidden}.status-card{min-width:0;min-height:76px}.status-card:nth-child(3),.status-card:nth-child(5){display:none}.status-card small{text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.status-card strong,.focus-card button b{font-size:18px}.mp-card strong small{white-space:nowrap;font-size:9px}.view-heading{flex-direction:column;align-items:start;margin-top:4px}.toolbar{justify-content:start}.today-layout,.tree-layout,.battle-layout{grid-template-columns:1fr}.topbar{z-index:auto;background:0 0;position:relative;top:auto}.today-side{max-height:none;position:static;overflow:visible}.agent-panel{display:none}.agent-registry-legend{grid-template-columns:1fr}.selected-panel{z-index:9;min-height:0;max-height:min(304px,100vh - 154px);transition:transform .18s;position:fixed;bottom:74px;left:12px;right:12px;overflow-y:auto;transform:translateY(calc(100% - 54px))}.selected-panel.is-mobile-open{transform:translateY(0)}.selected-panel .panel-heading{min-height:28px;margin-bottom:0}.selected-panel.is-mobile-open .panel-heading{margin-bottom:12px}.selected-panel:not(.is-mobile-open)>:not(.panel-heading){visibility:hidden}.selected-panel:not(.is-mobile-open) .panel-heading h2{text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.selected-panel:not(.is-mobile-open) .selected-heading-actions .state-pill{display:none}.selected-heading-actions{flex:none}.sheet-toggle{border:1px solid var(--line);background:var(--panel-muted);min-height:25px;color:var(--blue);border-radius:3px;align-items:center;padding:0 7px;font-size:10px;font-weight:800;display:inline-flex}body.is-detail-modal:before{display:none}.selected-backdrop{z-index:10;background:#18222094;border:0;display:block;position:fixed;inset:0}.selected-backdrop[hidden]{display:none}body.is-detail-modal .selected-panel{z-index:15;opacity:0;pointer-events:none;max-height:min(540px,100vh - 150px);transition:transform .18s,opacity .18s;inset:50% 16px auto;transform:translateY(-50%)scale(.96)}body.is-detail-modal .selected-panel.is-mobile-open{opacity:1;pointer-events:auto;transform:translateY(-50%)scale(1)}body.is-detail-modal .selected-panel:not(.is-mobile-open)>:not(.panel-heading){visibility:visible}body.is-detail-modal .selected-panel .panel-heading{margin-bottom:12px}body.is-detail-modal .selected-panel .panel-heading h2{white-space:normal}.boss-panel{min-height:144px}.boss-panel img{width:115px;height:115px}.quest-head{display:none}.quest-list{padding:0}.quest-row{grid-template-columns:88px minmax(0,1fr);gap:8px;min-height:110px;padding:12px}.quest-row[data-depth="1"]{background-position:11px 0;padding-left:22px}.quest-row[data-depth="1"] .quest-code{font-size:13px}.quest-code{white-space:nowrap;grid-template-columns:8px 18px 17px minmax(0,1fr);column-gap:5px;min-width:0;font-size:18px}.quest-code .rail-marker{width:8px;height:8px}.quest-toggle{width:18px;height:18px}.quest-row .quest-progress,.quest-row .agent-chip,.quest-row .quest-due,.quest-row .quest-focus{grid-column:2}.quest-row .quest-progress{grid-row:2;width:148px}.quest-row .agent-chip{grid-row:3;grid-template-columns:24px minmax(0,1fr)}.quest-row .state-pill,.quest-row .quest-due,.quest-row .quest-focus{display:none}.quest-game-meta,.quest-kind{font-size:7px}.agent-chip strong,.agent-chip small{display:block}.tree-node{grid-template-columns:35px minmax(0,1fr) auto}.tree-node .state-pill{grid-area:1/3}.tree-node button{grid-column:2/-1}.tree-node[data-depth="1"]{margin-left:14px}.battle-stage{min-height:0;padding:12px}.enemy-stage{min-height:190px;padding:15px}.enemy-stage img{width:126px;height:126px}.command-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.command-grid button:last-child{grid-column:span 2}.party-list,.integration-list{grid-template-columns:1fr}.integration-runway{overflow-x:auto}.integration-runway ol{min-width:630px}.integration-detail{flex-direction:column;align-items:stretch}.integration-actions{min-width:0}.mobile-nav{z-index:10;background:var(--rail);border-top:1px solid #3f4e4b;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;height:66px;padding:6px 8px;display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-nav button{color:#fff;background:0 0;border:0;place-items:center;gap:2px;display:grid}.mobile-nav button span{color:#c9d7d0;border:1px solid #50605c;border-radius:3px;place-items:center;width:25px;height:25px;font-size:8px;font-weight:800;display:grid}.mobile-nav button b{font-size:9px}.mobile-nav .mobile-add{background:var(--blue);border:1px solid #d6e6dd;border-radius:50%;place-self:center;width:45px;height:45px;font-size:27px;line-height:1}.mobile-more-menu{z-index:12;background:var(--rail);border:1px solid #415051;border-radius:4px;width:min(248px,100vw - 20px);display:grid;position:fixed;bottom:74px;right:10px;overflow:hidden;box-shadow:0 16px 38px #101b184d}.mobile-more-menu[hidden]{display:none}.mobile-more-menu button{color:#fff;text-align:left;background:0 0;border:0;border-bottom:1px solid #415051;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:10px;min-height:48px;padding:10px 14px;font-size:13px;font-weight:800;display:grid}.mobile-more-menu button:last-child{border-bottom:0}.mobile-more-menu button:hover{background:#35433e}.mobile-more-menu button span{color:#b9d0c1;letter-spacing:.07em;font-size:9px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (width<=1460px) and (width>=901px){.status-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.status-card:nth-child(5){display:none}.today-layout{grid-template-columns:minmax(0,1fr)}.today-side{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.agent-panel{grid-column:1/-1}.agent-list{grid-template-columns:repeat(2,minmax(0,1fr))}.selected-panel{min-height:0}.quest-head,.quest-row{grid-template-columns:88px minmax(0,1fr) 104px 132px 94px;gap:10px}.quest-head span:nth-child(5),.quest-head span:nth-child(7),.quest-row>.state-pill,.quest-focus{display:none}.quest-row{min-height:96px}.tree-layout{grid-template-columns:minmax(0,1fr)}.tree-note{grid-template-columns:minmax(220px,1.5fr) minmax(0,1fr);align-items:center;column-gap:18px;display:grid}.tree-note>p,.tree-note h2,.tree-note>span{grid-column:1}.tree-note dl{grid-area:1/2/span 3;margin:0}.battle-layout{grid-template-columns:minmax(0,1fr) 270px}.battle-stage{min-height:0}.battle-arena{min-height:430px;padding:24px}.enemy-stage img{width:min(38vw,250px);height:min(38vw,250px);transform:scale(1.15)}.player-stage img{width:126px;height:126px;transform:scale(1.24)}.party-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.party-brief-card{grid-column:1/-1}.integration-workspace{grid-template-columns:minmax(0,1fr)}.integration-context{grid-template-columns:170px minmax(0,1fr) minmax(0,1fr);align-items:start;gap:14px;display:grid}.integration-context>p,.integration-context h2{grid-column:1}.integration-context h2{margin-top:-8px}.integration-context dl,.integration-context .integration-activity{margin:0}.profile-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}@media (width>=1500px){.battle-stage{grid-template-rows:minmax(0,1fr) auto;min-height:clamp(680px,100dvh - 145px,880px);display:grid}.battle-arena{min-height:0}.enemy-stage{min-height:0;padding:28px}.enemy-stage img{width:clamp(360px,21vw,440px);height:clamp(360px,21vw,440px)}.player-stage{gap:24px;padding:20px}.player-stage img{width:clamp(250px,15vw,300px);height:clamp(250px,15vw,300px)}.turn-indicator{bottom:28px}.command-grid button{min-height:82px}}@media (width<=1180px) and (width>=901px){.topbar{grid-template-columns:minmax(174px,.9fr) minmax(0,2.5fr) 48px}.status-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.status-card:nth-child(3),.status-card:nth-child(5){display:none}.quest-head,.quest-row{grid-template-columns:84px minmax(0,1fr) 100px 132px;gap:8px}.quest-head span:nth-child(6),.quest-due{display:none}.quest-summary small{max-width:100%}.agent-chip small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.battle-layout{grid-template-columns:minmax(0,1fr)}.battle-side{grid-template-columns:repeat(3,minmax(0,1fr))}.battle-side section{min-height:0}.profile-layout{grid-template-columns:minmax(0,1fr)}}@media (width<=1060px) and (width>=901px){.profile-open{display:none}.today-side{grid-template-columns:1fr}.agent-list{grid-template-columns:repeat(2,minmax(0,1fr))}.boss-panel,.selected-panel{min-height:188px}.tree-node{grid-template-columns:72px minmax(0,1fr) 92px 72px}.party-list,.settings-layout{grid-template-columns:1fr}}@media (width<=900px){body{font-size:15px}.profile-layout,.settings-layout{grid-template-columns:1fr}.profile-identity-card{grid-template-columns:92px minmax(0,1fr);padding:16px}.profile-page-avatar{width:92px;height:92px}.profile-page-avatar img{width:106px}.profile-identity-card dl{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-identity-card dd{font-size:14px}.party-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.party-summary-card{min-height:92px;padding:12px}.party-summary-card strong{font-size:24px}.party-summary-card small{font-size:9px}.party-brief-card{grid-column:1/-1;padding:14px}.party-list{grid-template-columns:1fr}.party-card-meta{grid-template-columns:minmax(0,1fr) 74px 62px}.party-activity-panel{padding:14px}.party-activity li{grid-template-columns:1fr;gap:4px}.party-activity small{text-align:left}.integration-metrics{gap:8px}.integration-metrics section{padding:11px}.integration-metrics small{margin:3px 0 0;font-size:9px;display:block}.integration-workspace{grid-template-columns:1fr}.integration-context{padding:14px}.integration-list{grid-template-columns:1fr}.integration-card{min-height:0}.integration-runway{overflow:visible}.integration-runway ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}.integration-runway li{font-size:11px}.battle-layout{grid-template-columns:1fr}.battle-stage{min-height:0;padding:10px}.battle-arena{grid-template-columns:1fr;gap:0;min-height:390px;padding:14px}.enemy-stage{justify-self:end;min-height:205px;padding:0}.enemy-stage img{width:175px;height:175px}.enemy-stage .combat-hud{width:176px;position:absolute;top:0;right:0}.player-stage{gap:8px;padding:0;position:absolute;bottom:36px;left:14px}.player-stage img{width:104px;height:104px}.player-stage .combat-hud{width:154px;padding:9px}.enemy-stage strong,.player-stage strong{font-size:16px}.turn-indicator{font-size:11px;bottom:13px;left:14px;right:14px}.turn-indicator span{font-size:9px}.battle-side{grid-template-columns:1fr}.battle-console{padding:12px}.command-grid button{min-height:62px;font-size:12px}.tree-node{grid-template-columns:62px minmax(0,1fr);gap:8px;min-height:92px}.tree-node[data-depth="1"]{margin-left:10px}.tree-node .state-pill,.tree-node button{grid-column:2}.tree-node .state-pill{justify-self:start}.tree-node button{width:100%}.tree-code{font-size:15px}.tree-code .rail-marker{width:8px;height:8px}}body.is-large-type{font-size:17px}body.is-large-type .page-title p,body.is-large-type .view-heading>div>p,body.is-large-type .panel-heading p,body.is-large-type .boss-copy p,body.is-large-type .tree-note>p,body.is-large-type .battle-side p,body.is-large-type .integration-detail p,body.is-large-type .dialog header p,body.is-large-type .party-summary-card span,body.is-large-type .party-brief-card p,body.is-large-type .settings-card>p,body.is-large-type .profile-identity-card p,body.is-large-type .profile-current-card p,body.is-large-type .profile-log-card p{font-size:11px}body.is-large-type .page-title h1,body.is-large-type .view-heading h2,body.is-large-type .panel-heading h2,body.is-large-type .tree-note h2,body.is-large-type .battle-side h2,body.is-large-type .integration-detail h2,body.is-large-type .dialog h2{font-size:25px}body.is-large-type .status-card>span,body.is-large-type .status-card small,body.is-large-type .page-title+.status-strip small{font-size:12px}body.is-large-type .status-card strong,body.is-large-type .focus-card button b{font-size:22px}body.is-large-type .nav-button b,body.is-large-type .quest-summary strong,body.is-large-type .agent-chip strong,body.is-large-type .tree-node strong,body.is-large-type .party-card h2{font-size:17px}body.is-large-type .quest-summary small,body.is-large-type .agent-chip small,body.is-large-type .tree-node small,body.is-large-type .party-card p,body.is-large-type .party-activity small,body.is-large-type .integration-card small,body.is-large-type .integration-detail span,body.is-large-type .profile-identity-card>div>span,body.is-large-type .profile-current-card>span,body.is-large-type .setting-row small{font-size:13px;line-height:1.5}body.is-large-type .quest-game-meta,body.is-large-type .quest-due,body.is-large-type .quest-focus,body.is-large-type .integration-card b,body.is-large-type .integration-context dd,body.is-large-type .battle-side li,body.is-large-type .battle-tactical dt,body.is-large-type .battle-tactical dd,body.is-large-type .party-card-meta dd,body.is-large-type .profile-log-card dd{font-size:13px}body.is-large-type .quest-progress b,body.is-large-type .party-summary-card strong,body.is-large-type .integration-metrics strong{font-size:31px}body.is-large-type .state-pill,body.is-large-type .counter,body.is-large-type .agent-row button,body.is-large-type .party-card button,body.is-large-type .tree-node button,body.is-large-type .setting-toggle{min-height:38px;font-size:12px}body.is-large-type .tool,body.is-large-type .primary-action,body.is-large-type .secondary-action{min-height:44px;font-size:14px}body.is-large-type .agent-row>div strong,body.is-large-type .party-activity b,body.is-large-type .integration-card strong,body.is-large-type .settings-card h2,body.is-large-type .profile-identity-card h2,body.is-large-type .profile-current-card h2,body.is-large-type .profile-log-card h2{font-size:20px}body.is-large-type .selected-panel>p,body.is-large-type .battle-console>p,body.is-large-type .party-task,body.is-large-type .integration-runway li,body.is-large-type .integration-context dt,body.is-large-type .tree-note>span{font-size:14px;line-height:1.55}body.is-large-type .command-grid button{font-size:14px}body.is-large-type .command-grid small{font-size:10px}body.is-relaxed-density .quest-list,body.is-relaxed-density .tree-list{padding:12px}body.is-relaxed-density .quest-row{min-height:106px;padding-top:16px;padding-bottom:16px}body.is-relaxed-density .quest-row[data-depth="1"]{min-height:88px}body.is-relaxed-density .agent-list,body.is-relaxed-density .today-side,body.is-relaxed-density .battle-side,body.is-relaxed-density .settings-layout,body.is-relaxed-density .party-list,body.is-relaxed-density .integration-list{gap:18px}body.is-relaxed-density .agent-panel,body.is-relaxed-density .selected-panel,body.is-relaxed-density .battle-side section,body.is-relaxed-density .settings-card,body.is-relaxed-density .profile-current-card,body.is-relaxed-density .profile-log-card,body.is-relaxed-density .integration-context{padding:20px}body.is-relaxed-density .agent-row{min-height:64px;padding:11px}body.is-relaxed-density .tree-list{gap:12px}body.is-relaxed-density .tree-node{min-height:86px;padding:14px}body.is-relaxed-density .party-summary,body.is-relaxed-density .integration-metrics{gap:16px;margin-bottom:16px}body.is-relaxed-density .party-summary-card{min-height:134px;padding:20px}body.is-relaxed-density .party-card,body.is-relaxed-density .integration-card,body.is-relaxed-density .profile-identity-card{padding:22px}body.is-relaxed-density .party-activity-panel,body.is-relaxed-density .integration-runway{padding:20px}body.is-relaxed-density .party-activity li{padding-top:16px;padding-bottom:16px}body.is-relaxed-density .integration-card{min-height:194px}body.is-relaxed-density .setting-row{padding-top:20px;padding-bottom:20px}body.is-relaxed-density .battle-stage{padding:20px}body.is-relaxed-density .battle-arena{min-height:500px;padding:34px}body.is-relaxed-density .battle-console{padding:20px}body.is-relaxed-density .command-grid{gap:12px;margin-top:18px}body.is-relaxed-density .command-grid button{min-height:84px}body.is-relaxed-density .dialog form{gap:18px;padding:24px}@media (width<=900px){body.is-large-type{font-size:16px}body.is-large-type .page-title h1,body.is-large-type .view-heading h2,body.is-large-type .panel-heading h2,body.is-large-type .tree-note h2,body.is-large-type .battle-side h2,body.is-large-type .integration-detail h2,body.is-large-type .dialog h2{font-size:23px}body.is-large-type .status-card strong,body.is-large-type .focus-card button b{font-size:19px}body.is-large-type .quest-summary strong,body.is-large-type .agent-chip strong,body.is-large-type .tree-node strong,body.is-large-type .party-card h2{font-size:16px}body.is-large-type .quest-summary small,body.is-large-type .agent-chip small,body.is-large-type .tree-node small,body.is-large-type .party-card p,body.is-large-type .setting-row small{font-size:12px}body.is-large-type .tool,body.is-large-type .primary-action,body.is-large-type .secondary-action{min-height:42px;font-size:13px}body.is-relaxed-density .quest-list,body.is-relaxed-density .tree-list{padding:8px}body.is-relaxed-density .quest-row{min-height:124px;padding-top:16px;padding-bottom:16px}body.is-relaxed-density .quest-row[data-depth="1"]{min-height:106px}body.is-relaxed-density .agent-panel,body.is-relaxed-density .selected-panel,body.is-relaxed-density .battle-side section,body.is-relaxed-density .settings-card,body.is-relaxed-density .profile-current-card,body.is-relaxed-density .profile-log-card,body.is-relaxed-density .integration-context,body.is-relaxed-density .party-card,body.is-relaxed-density .integration-card{padding:16px}body.is-relaxed-density .party-summary-card{min-height:106px;padding:14px}body.is-relaxed-density .integration-card{min-height:160px}body.is-relaxed-density .battle-stage{padding:12px}body.is-relaxed-density .battle-arena{min-height:430px;padding:16px}body.is-relaxed-density .battle-console{padding:16px}body.is-relaxed-density .command-grid{gap:9px;margin-top:14px}body.is-relaxed-density .command-grid button{min-height:70px}}@media (width<=640px){.agent-registry-list{grid-template-columns:1fr}.agent-link-row{display:grid}}@media (width>=901px){body.is-today-view{overflow:hidden}body.is-today-view .app-shell{height:100dvh;min-height:100dvh}body.is-today-view .sidebar{height:100dvh;min-height:0}body.is-today-view .workspace{flex-direction:column;height:100dvh;min-height:0;padding-bottom:0;display:flex;overflow:hidden}body.is-today-view .topbar{flex:none;position:relative;top:auto}body.is-today-view .view[data-panel=today]{flex-direction:column;flex:auto;min-height:0;display:flex}body.is-today-view .view[data-panel=today]>.view-heading{flex:none}body.is-today-view .today-layout{flex:auto;grid-template-columns:minmax(0,1fr) minmax(270px,310px);align-items:stretch;min-height:0;overflow:hidden}body.is-today-view .quest-board{flex-direction:column;min-height:0;display:flex;overflow:hidden}body.is-today-view .quest-head{flex:none}body.is-today-view .quest-list{scrollbar-gutter:stable;overscroll-behavior:contain;flex:auto;min-height:0;overflow-y:auto}body.is-today-view .quest-list:focus-visible{outline:3px solid color-mix(in srgb, var(--blue) 52%, transparent);outline-offset:-3px}body.is-today-view .today-side{scrollbar-gutter:stable;overscroll-behavior:contain;grid-template-columns:1fr;align-self:stretch;height:100%;min-height:0;max-height:none;position:relative;top:auto;overflow-y:auto}}@media (width>=901px) and (width<=1180px){body.is-today-view .today-layout{grid-template-columns:minmax(0,1fr) 280px}}@media (width>=1181px) and (width<=1460px){body.is-today-view .today-layout{grid-template-columns:minmax(0,1fr)}}@media (width<=900px){body.is-today-view{overflow:auto}body.is-today-view .app-shell{height:auto;min-height:100vh}body.is-today-view .workspace{height:auto;min-height:0;display:block;overflow:visible}body.is-today-view .view[data-panel=today]{min-height:0;display:block}body.is-today-view .today-layout{grid-template-columns:1fr;min-height:0;display:grid;overflow:visible}body.is-today-view .quest-board{min-height:0;display:block;overflow:visible}body.is-today-view .quest-list{scrollbar-gutter:auto;overscroll-behavior:auto;min-height:0;max-height:none;display:block;overflow:visible}body.is-today-view .today-side{height:auto;min-height:0;max-height:none;position:static;overflow:visible}}@media (width>=901px){body.is-tree-view{overflow:hidden}body.is-tree-view .app-shell{height:100dvh;min-height:100dvh}body.is-tree-view .sidebar{height:100dvh;min-height:0}body.is-tree-view .workspace{flex-direction:column;height:100dvh;min-height:0;padding-bottom:0;display:flex;overflow:hidden}body.is-tree-view .topbar{flex:none;position:relative;top:auto}body.is-tree-view .view[data-panel=tree]{flex-direction:column;flex:auto;min-height:0;display:flex}body.is-tree-view .view[data-panel=tree]>.view-heading,body.is-tree-view .quest-rail-legend{flex:none}body.is-tree-view .tree-layout{flex:auto;grid-template-columns:minmax(0,1fr) minmax(260px,300px);align-items:stretch;min-height:0;display:grid;overflow:hidden}body.is-tree-view .tree-list{scrollbar-gutter:stable;overscroll-behavior:contain;align-content:start;min-height:0;overflow-y:auto}body.is-tree-view .tree-list:focus-visible{outline:3px solid color-mix(in srgb, var(--blue) 52%, transparent);outline-offset:-3px}body.is-tree-view .tree-note{scrollbar-gutter:stable;overscroll-behavior:contain;align-self:stretch;height:100%;min-height:0;max-height:none;display:block;position:relative;overflow-y:auto}body.is-tree-view .tree-note-profile,body.is-tree-view .tree-note>p,body.is-tree-view .tree-note h2,body.is-tree-view .tree-note>span,body.is-tree-view .tree-note dl{grid-area:auto}body.is-tree-view .tree-note dl{margin:18px 0 0}body.is-tree-view .tree-node{grid-template-columns:78px minmax(0,1fr) 100px 72px}body.is-tree-view .tree-node>div{min-width:0}body.is-tree-view .tree-node strong,body.is-tree-view .tree-node small{overflow-wrap:anywhere}}@media (width>=901px) and (width<=1180px){body.is-tree-view .tree-layout{grid-template-columns:minmax(0,1fr) 270px;gap:10px}body.is-tree-view .tree-node{grid-template-columns:70px minmax(0,1fr) 88px 64px;gap:7px;padding:9px}body.is-tree-view .tree-node strong{font-size:14px}body.is-tree-view .tree-note{padding:14px}}@media (width<=900px){body.is-tree-view{overflow:auto}body.is-tree-view .app-shell{height:auto;min-height:100vh}body.is-tree-view .workspace{height:auto;min-height:0;display:block;overflow:visible}body.is-tree-view .view[data-panel=tree]{min-height:0;display:block}body.is-tree-view .tree-layout{grid-template-columns:1fr;min-height:0;display:grid;overflow:visible}body.is-tree-view .tree-list{scrollbar-gutter:auto;overscroll-behavior:auto;min-height:0;max-height:none;display:grid;overflow:visible}body.is-tree-view .tree-note{height:auto;min-height:0;max-height:none;display:block;position:static;overflow:visible}body.is-tree-view .tree-node{grid-template-columns:62px minmax(0,1fr);align-items:start}body.is-tree-view .tree-node .tree-code{grid-row:1/span 4}body.is-tree-view .tree-node>div{grid-column:2;min-width:0}body.is-tree-view .tree-node .state-pill{grid-area:auto/2;justify-self:start;margin-top:6px}body.is-tree-view .tree-node button{grid-area:auto/2;width:100%;margin-top:6px}}.qf-icon{vertical-align:-.14em;stroke:currentColor;flex:none;width:1em;height:1em;display:inline-block}button .qf-icon,a .qf-icon{pointer-events:none}.agent-operations-layout{grid-template-columns:minmax(0,1fr) 260px;gap:16px;display:grid}.agent-operations-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.agent-operation-card{border:1px solid var(--line);background:var(--panel);min-height:176px;color:var(--ink);text-align:left;border-radius:4px;grid-template-columns:36px minmax(0,1fr);align-items:start;gap:10px;padding:14px;display:grid}.agent-operation-card:hover,.agent-operation-card:focus-visible,.agent-operation-card.is-selected{border-color:var(--blue);box-shadow:0 0 0 2px color-mix(in srgb, var(--blue) 16%, transparent)}.agent-operation-mark{border:1px solid var(--line);background:var(--panel-muted);width:34px;height:34px;color:var(--blue);place-items:center;font:800 11px/1 ui-monospace,monospace;display:grid}.agent-operation-card>span:last-of-type{gap:3px;min-width:0;display:grid}.agent-operation-card small{color:var(--muted);letter-spacing:.06em;font-size:9px;font-weight:800}.agent-operation-card strong{text-overflow:ellipsis;white-space:nowrap;font-size:17px;overflow:hidden}.agent-operation-card b{color:var(--blue);font-size:26px;line-height:1}.agent-operation-card i{background:var(--blue);grid-column:1/-1;height:5px;display:block}.agent-operation-card em{color:var(--muted);grid-column:1/-1;font-size:10px;font-style:normal;font-weight:800}.agent-operations-inspector{border:1px solid var(--line);background:var(--panel);box-shadow:var(--shadow);border-radius:4px;align-content:start;gap:12px;padding:16px;display:grid}.agent-operations-inspector p{color:var(--blue);letter-spacing:.08em;margin:0;font-size:10px;font-weight:800}.agent-operations-inspector h2{margin:0;font-size:24px}.agent-operations-inspector dl{margin:4px 0;display:grid}.agent-operations-inspector dl div{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:9px 0;display:flex}.agent-operations-inspector dt{color:var(--muted);font-size:10px;font-weight:800}.agent-operations-inspector dd{color:var(--blue);margin:0;font-size:16px;font-weight:900}.agent-operations-inspector button{border:1px solid var(--blue);background:var(--blue);color:#fff;border-radius:4px;min-height:38px;font-weight:800}.agent-operations-empty{border:1px dashed var(--line);background:var(--panel);text-align:center;border-radius:4px;grid-column:1/-1;place-items:center;gap:8px;min-height:320px;padding:24px;display:grid}.agent-operations-empty strong{font-size:15px}.agent-operations-empty p{max-width:320px;color:var(--muted);margin:0;font-size:12px;line-height:1.6}.agent-operations-inspector p.agent-operations-inspector-empty{color:var(--muted);letter-spacing:normal;font-size:11px;font-weight:400;line-height:1.6}.agent-registry-mount{margin-top:16px}.agent-registry-mount>.settings-agent-card{gap:12px;display:grid}.review-queue-panel{border:1px solid var(--line);background:var(--panel);box-shadow:var(--shadow);border-radius:4px;min-height:260px;padding:18px}.review-queue{gap:8px;margin-top:14px;display:grid}.review-queue-row{border:1px solid var(--line);background:var(--canvas);width:100%;color:var(--ink);text-align:left;border-radius:4px;grid-template-columns:76px minmax(0,1fr) minmax(120px,.8fr) 56px 18px;align-items:center;gap:12px;padding:14px 16px;transition:border-color .14s,background .14s;display:grid}.review-queue-row:hover,.review-queue-row:focus-visible{border-color:var(--blue);background:color-mix(in srgb, var(--blue) 6%, var(--canvas));color:var(--ink)}.review-queue-row:after{content:"→";color:var(--blue);text-align:right;font-weight:800}.review-queue-row span{color:var(--blue);font:800 11px/1.4 ui-monospace,monospace}.review-queue-row strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.review-queue-row small{color:var(--muted);font-size:10px;font-weight:700}.review-queue-row b{color:var(--orange);text-align:right}.review-queue .empty-note{min-height:200px;color:var(--muted);text-align:center;place-items:center;font-size:12px;display:grid}@media (width<=1060px){.agent-operations-layout{grid-template-columns:1fr}.agent-operations-inspector{order:-1}.agent-operations-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}:root[data-qf-theme=soft-ops][data-qf-resolved-mode=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--canvas:var(--qf-canvas);--panel:var(--qf-surface);--panel-muted:#f7f8f5;--ink:#1f272a;--muted:#687276;--line:#d9e0e8;--line-strong:#b9c6c8;--green:var(--qf-human);--blue:var(--qf-agent);--orange:var(--qf-rpg);--gold:var(--qf-rpg);--red:var(--qf-danger);--surface:var(--qf-surface);--surface-soft:#f7f8f5}:root[data-qf-theme=soft-ops][data-qf-resolved-mode=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--canvas:var(--qf-canvas);--panel:var(--qf-surface);--panel-muted:#28363b;--ink:#e2e7e5;--muted:#9f9f9f;--line:#2c2c2c;--line-strong:#40545b;--rail:#171f23;--rail-2:#1e2830;--green:var(--qf-human);--blue:var(--qf-agent);--orange:var(--qf-rpg);--gold:var(--qf-rpg);--red:var(--qf-danger);--surface:var(--qf-surface);--surface-soft:#28363b;--shadow:0 8px 22px #00000038}:root[data-qf-theme=arcane][data-qf-resolved-mode=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--canvas:var(--qf-canvas);--panel:var(--qf-surface);--panel-muted:#f7f2e9;--ink:#1f272a;--muted:#687276;--line:#d9e0e8;--line-strong:#b7c4c8;--green:var(--qf-human);--blue:var(--qf-agent);--orange:var(--qf-rpg);--gold:var(--qf-rpg);--red:var(--qf-danger);--surface:var(--qf-surface);--surface-soft:#f7f2e9}:root[data-qf-theme=arcane][data-qf-resolved-mode=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--canvas:var(--qf-canvas);--panel:var(--qf-surface);--panel-muted:#293136;--ink:#f5f7f6;--muted:#aeb9b7;--line:#3a474b;--line-strong:#617177;--green:var(--qf-human);--blue:var(--qf-agent);--orange:var(--qf-rpg);--gold:var(--qf-rpg);--red:var(--qf-danger);--surface:var(--qf-surface);--surface-soft:#293136;--shadow:0 8px 22px #00000040}:root[data-qf-theme=retro][data-qf-resolved-mode=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--canvas:var(--qf-canvas);--panel:var(--qf-surface);--panel-muted:#f5edde;--ink:#1d211f;--muted:#68645c;--line:#cec6b8;--line-strong:#a9a093;--green:var(--qf-human);--blue:var(--qf-agent);--orange:var(--qf-rpg);--gold:var(--qf-rpg);--red:var(--qf-danger);--surface:var(--qf-surface);--surface-soft:#f5edde}:root[data-qf-theme=retro][data-qf-resolved-mode=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--canvas:var(--qf-canvas);--panel:var(--qf-surface);--panel-muted:#272c3d;--ink:#f8f4e7;--muted:#b8b5a9;--line:#3b4151;--line-strong:#626a80;--green:var(--qf-human);--blue:var(--qf-agent);--orange:var(--qf-rpg);--gold:var(--qf-rpg);--red:var(--qf-danger);--surface:var(--qf-surface);--surface-soft:#272c3d;--shadow:0 8px 22px #00000047}.design-lab-controls{color:#dde8e1;background:#283438;border:1px solid #415051;border-radius:4px;gap:8px;padding:12px;display:grid}.design-lab-controls>p{color:#78a8b8;letter-spacing:.12em;margin:0;font-size:9px;font-weight:900}.design-lab-controls label{color:#b9d0c1;gap:4px;font-size:10px;font-weight:800;display:grid}.design-lab-controls select{color:#f4f7f5;background:#20292d;border:1px solid #50605c;border-radius:3px;min-height:32px;padding:4px 7px;font-size:11px}.design-lab-controls small{color:#98aaa1;font-size:9px;line-height:1.4}body.is-motion-reduced *,body.is-motion-reduced :before,body.is-motion-reduced :after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}@media (width<=900px){.design-lab-controls{display:none}}.design-lab-controls,.status-rail{display:none}.status-rail-heading,.status-rail-kicker,.status-rail-meta,.status-rail-owner,.status-rail-sync-actions,.status-rail-footer>div{justify-content:space-between;align-items:center;gap:6px;display:flex}.status-rail-heading strong,.status-rail-kicker span,.status-rail-footer>span{color:var(--muted);letter-spacing:.08em;font-size:9px;font-weight:850}.status-rail-heading button,.status-rail-sync-actions button,.status-rail-footer button{color:var(--blue);background:0 0;border:0;padding:0;font-size:9px;font-weight:800}.status-agent-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:8px;display:grid}#statusRailAgents .empty-note{margin:7px 0 0;font-size:10px}.status-agent-card{border:1px solid var(--line);background:var(--panel);grid-template-columns:19px minmax(0,1fr);gap:5px;min-width:0;padding:6px 5px;display:grid}.status-agent-avatar{background:var(--panel-muted);width:19px;height:19px;color:var(--blue);border:1px solid;place-items:center;font:900 9px/1 ui-monospace,monospace;display:grid}.status-agent-avatar--green{color:var(--green)}.status-agent-avatar--blue{color:var(--blue)}.status-agent-avatar--gold{color:var(--gold)}.status-agent-avatar--red{color:var(--red)}.status-agent-avatar--violet{color:#a28bd4}.status-agent-avatar--mint{color:#5fc4aa}.status-agent-card>div{min-width:0}.status-agent-card strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:9px;display:block;overflow:hidden}.status-agent-card small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:8px;display:block;overflow:hidden}.status-agent-card i,.status-rail-progress{background:color-mix(in srgb, var(--line) 70%, transparent);height:3px;margin-top:4px;display:block;overflow:hidden}.status-agent-card i b,.status-rail-progress b{background:var(--blue);height:100%;display:block}.status-agent-card em{display:none}.status-rail-quest,.status-rail-sync{border:1px solid var(--line);background:var(--panel);gap:6px;margin-top:8px;padding:8px;display:grid}.status-rail-kicker code{color:var(--blue);text-overflow:ellipsis;white-space:nowrap;font:7px/1.2 ui-monospace,monospace;overflow:hidden}.status-rail-quest>strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.status-rail-quest>small,.status-rail-sync>small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.status-rail-meta{color:var(--muted);font-size:9px}.status-rail-meta strong{color:var(--blue);font-size:14px}.status-rail-handoff{align-items:center;gap:5px;padding:4px 0;display:flex}.status-handoff-dot{border:1px solid var(--line-strong);background:0 0;border-radius:50%;width:7px;height:7px}.status-handoff-dot.is-done{border-color:var(--green);background:var(--green)}.status-handoff-dot.is-current{border-color:var(--blue);background:var(--blue);box-shadow:0 0 0 2px color-mix(in srgb, var(--blue) 20%, transparent)}.status-rail-owner{justify-content:flex-start}.status-rail-owner>div{min-width:0}.status-rail-owner strong{font-size:9px;display:block}.status-rail-owner small,.status-rail-owner em{color:var(--muted);font-size:8px;font-style:normal}.status-rail-owner em{white-space:nowrap;margin-left:auto}.status-rail-primary{border:1px solid var(--green);background:var(--green);color:#102018;min-height:27px;font-size:9px;font-weight:850}.status-rail-reference-only{display:none}.status-rail-owner-label{color:var(--muted);font-size:8px}.status-rail-reference-facts{gap:5px;display:grid}.status-rail-reference-facts>div{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;font-size:8px;display:flex}.status-rail-reference-facts b{color:var(--ink);font-size:8px}.status-rail-reference-facts>div:last-child b{color:var(--gold)}.status-rail-reference-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.status-rail-reference-actions button{border:1px solid var(--line);min-height:34px;color:var(--ink);background:0 0;font-size:8px;font-weight:800}.status-rail-reference-actions button:first-child{border-color:var(--green);background:var(--green);color:#102018}.status-rail-live{color:var(--green);font-size:8px}.status-rail-sync-actions{justify-content:stretch}.status-rail-sync-actions button{border:1px solid var(--line);min-height:23px;color:var(--ink);flex:1}.status-rail-sync-actions button:last-child{color:var(--blue)}.status-rail-footer{border-top:1px solid var(--line);gap:4px;margin-top:auto;padding-top:9px;display:grid}.status-rail-footer button{border:1px solid var(--line);min-height:24px;color:var(--muted);flex:1}.status-rail-footer button.is-active{border-color:var(--blue);background:var(--blue);color:#fff}@media (width>=1061px){.app-shell{grid-template-columns:112px minmax(0,1fr) 176px}.sidebar{gap:12px;padding:8px 7px 10px}.brand{gap:5px;padding-bottom:9px}.brand-mark{border-width:1px;border-radius:2px;width:25px;height:25px;font-size:8px}.brand strong{font-size:8px}.brand small{letter-spacing:.04em;margin-top:1px;font-size:6px}.beta-badge{min-height:11px;margin-left:2px;padding:1px 3px;font-size:6px}.sidebar-nav{gap:3px}.nav-button{border-radius:2px;grid-template-columns:18px minmax(0,1fr);gap:5px;min-height:25px;padding:3px 4px}.nav-icon{border-radius:2px;width:18px;height:18px;font-size:6px}.nav-button b{text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:1.1;overflow:hidden}.sidebar-profile{border-radius:2px;padding:7px}.profile-avatar{width:30px;height:30px;margin-right:5px}.profile-avatar img{width:34px}.sidebar-profile strong{font-size:9px}.sidebar-profile small{font-size:6px}.sidebar-profile dl{gap:3px;margin-top:7px}.sidebar-profile dl div{padding:4px}.sidebar-profile dt{font-size:6px}.sidebar-profile dd{margin-top:2px;font-size:8px}.profile-open{margin-top:4px;font-size:6px}.workspace{padding:0 12px 24px}.topbar{gap:8px;min-height:92px;padding:8px 0 12px}.page-title{padding:9px 12px}.page-title p{font-size:8px}.page-title h1{font-size:17px}.page-title .demo-data-badge{font-size:7px}.status-strip{gap:7px}.status-card{padding:8px 10px}.status-card>span{font-size:8px}.status-card strong,.focus-card button b{font-size:15px}.status-card small{font-size:8px}.quick-add{font-size:22px}.view-heading{margin:2px 0 11px}.view-heading>div>p{font-size:8px}.view-heading h2{font-size:19px}.status-rail{z-index:10;border-left:1px solid var(--line);background:var(--rail);min-width:0;height:100vh;color:var(--ink);flex-direction:column;padding:8px 8px 9px;display:flex;position:sticky;top:0;overflow-y:auto}}.battle-legacy{display:none!important}.battle-reference-dashboard{gap:9px;min-width:0;margin-top:2px;display:grid}.battle-report-metric-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.battle-report-metric,.battle-report-card{border:1px solid var(--line);background:var(--panel);min-width:0;box-shadow:var(--shadow);border-radius:4px}.battle-report-metric{align-content:center;gap:3px;min-height:72px;padding:9px 10px;display:grid}.battle-report-metric span,.battle-report-kicker{color:var(--muted);letter-spacing:.08em;margin:0;font-size:8px;font-weight:850}.battle-report-metric strong{color:var(--ink);font-size:18px;line-height:1}.battle-report-metric small{color:var(--muted);font-size:8px}.battle-report-metric:nth-child(4){margin-left:5px}.battle-report-metric.is-accent{border-color:var(--gold);background:color-mix(in srgb, var(--gold) 9%, var(--panel));margin-left:5px}.battle-report-metric.is-accent strong{color:var(--gold);font-size:20px}.battle-report-metric:nth-child(6){margin-left:5px}.battle-report-main-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,1.1fr) minmax(190px,.75fr);align-items:start;gap:8px;min-height:220px;display:grid}.battle-report-card{padding:11px}.battle-report-card h3{color:var(--ink);margin:5px 0 10px;font-size:14px}.battle-report-donut-wrap{justify-content:space-around;align-items:center;gap:8px;min-height:150px;display:flex}.battle-report-donut{width:150px;height:150px;overflow:visible;transform:rotate(-90deg)}.battle-report-donut circle{fill:none;stroke-width:13px}.battle-report-donut .donut-track{stroke:var(--panel-muted)}.battle-report-donut .donut-segment{stroke-linecap:butt}.battle-report-donut .donut-segment--blue{stroke:var(--blue)}.battle-report-donut .donut-segment--green{stroke:var(--green)}.battle-report-donut .donut-segment--gold{stroke:var(--gold)}.battle-report-donut .donut-segment--red{stroke:var(--red)}.battle-report-donut text{fill:var(--ink);transform-origin:60px 60px;font-family:inherit;transform:rotate(90deg)}.battle-report-donut text:first-of-type{font-size:15px;font-weight:900}.battle-report-donut text:last-of-type{fill:var(--muted);letter-spacing:.08em;font-size:7px}.battle-report-legend{color:var(--muted);gap:7px;margin:0;padding:0;font-size:8px;list-style:none;display:grid}.battle-report-legend li{white-space:nowrap;grid-template-columns:7px minmax(0,1fr) auto;align-items:center;gap:5px;display:grid}.battle-report-legend i{width:7px;height:7px}.battle-report-legend b{color:var(--ink)}.legend-blue{background:var(--blue)}.legend-green{background:var(--green)}.legend-gold{background:var(--gold)}.legend-red{background:var(--red)}.battle-report-trend-card{grid-template-rows:auto auto 1fr auto;display:grid}.battle-report-sparkline{width:100%;height:150px;margin-top:3px;overflow:visible}.sparkline-grid{fill:none;stroke:var(--line);stroke-width:1px}.sparkline-line{fill:none;stroke-width:2px}.sparkline-line--blue{stroke:var(--blue)}.sparkline-line--green{stroke:var(--green)}.battle-report-axis{color:var(--muted);justify-content:space-between;font-size:8px;display:flex}.battle-report-summary-stack{grid-template-rows:1.1fr .9fr;gap:8px;display:grid}.battle-report-summary dl{gap:0;margin:5px 0 0;display:grid}.battle-report-summary dl div{border-bottom:1px solid var(--line);justify-content:space-between;gap:8px;padding:7px 0;display:flex}.battle-report-summary dt{color:var(--muted);font-size:8px}.battle-report-summary dd{color:var(--ink);text-align:right;margin:0;font-size:10px;font-weight:850}.battle-report-summary>p:last-child{color:var(--muted);margin:0;font-size:9px;line-height:1.5}.battle-report-bottom-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,.85fr);gap:10px;min-height:170px;display:grid}.battle-report-boss{border-color:color-mix(in srgb, var(--red) 45%, var(--line));background:color-mix(in srgb, var(--red) 8%, var(--panel))}.battle-report-boss-body{grid-template-columns:104px minmax(0,1fr);align-items:center;gap:13px;display:grid}.battle-report-boss img{object-fit:contain;width:98px;height:98px;image-rendering:pixelated}.battle-report-boss h3{margin:0 0 3px;font-size:15px}.battle-report-boss span,.battle-report-boss small{color:var(--muted);font-size:8px;display:block}.battle-report-boss strong{color:var(--red);margin-top:8px;font-size:18px;display:block}.battle-report-boss meter{height:8px;accent-color:var(--red);margin-top:6px}.battle-report-drop-row,.battle-report-log-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) 42px 58px;align-items:center;gap:7px;padding:7px 0;font-size:8px;display:grid}.battle-report-drop-row strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.battle-report-drop-row span{color:var(--muted);text-align:right}.battle-report-drop-row b{color:var(--blue);text-align:right}.battle-report-log-row{grid-template-columns:minmax(0,1fr) auto}.battle-report-log-row span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.battle-report-log-row b{color:var(--red);font-size:8px}@media (width<=1180px){.battle-report-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.battle-report-main-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.battle-report-summary-stack{grid-column:1/-1;grid-template-rows:1fr;grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=900px){.battle-report-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.battle-report-main-grid,.battle-report-bottom-grid{grid-template-columns:1fr}.battle-report-summary-stack{grid-column:auto;grid-template-rows:auto;grid-template-columns:1fr}.battle-report-donut-wrap{justify-content:flex-start}}@media (width>=901px){.topbar{grid-template-columns:minmax(0,1fr) 52px}.topbar .page-title{display:none}.topbar .status-strip{grid-column:1;grid-template-columns:repeat(6,minmax(0,1fr))}.topbar .status-card{min-height:72px}}.battle-reference-dashboard{grid-template-rows:auto auto auto;align-content:start;min-height:calc(100vh - 122px);display:grid}@media (width>=901px){.topbar{grid-template-columns:minmax(190px,.9fr) minmax(580px,2.9fr) 52px}.topbar .page-title{display:flex}.topbar .status-strip{grid-column:auto;grid-template-columns:repeat(6,minmax(0,1fr))}}.is-reference-fixture .party-summary,.is-reference-fixture .party-activity-panel{display:none!important}.is-reference-fixture .party-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:2px;display:grid}.is-reference-fixture .party-card{border-color:var(--line);background:var(--canvas);min-height:174px;box-shadow:none;align-content:start;gap:6px;padding:12px;display:grid}.is-reference-fixture .party-card-head{grid-template-columns:34px minmax(0,1fr);gap:8px}.is-reference-fixture .party-mark{width:30px;height:30px}.is-reference-fixture .party-card h2{font-size:13px}.is-reference-fixture .party-card p{font-size:8px}.is-reference-fixture .party-task{min-height:22px;font-size:9px}.is-reference-fixture .party-card-meta{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:2px}.is-reference-fixture .party-card-meta div{padding:6px}.is-reference-fixture .party-card button{display:none}.is-reference-fixture .tree-layout{grid-template-columns:minmax(0,1fr) 230px;gap:8px;margin-top:8px}.is-reference-fixture .tree-list{background:var(--canvas);gap:0;padding:8px;display:grid}.is-reference-fixture .tree-node{border-color:var(--line);background:var(--canvas);border-radius:0;grid-template-columns:62px minmax(0,1fr) 80px 56px;min-height:58px;padding:8px}.is-reference-fixture .tree-note{background:var(--canvas);min-height:330px;padding:12px}.is-reference-fixture .agent-operation-card{min-height:226px}.is-reference-fixture .agent-operation-card:after{border-top:1px solid var(--line);background:linear-gradient(160deg, transparent 40%, color-mix(in srgb, var(--blue) 75%, transparent) 41% 44%, transparent 45%) 0 100% / 100% 70% no-repeat;content:"";opacity:.8;grid-column:1/-1;align-self:end;height:38px}.is-reference-fixture .settings-layout{grid-template-columns:240px minmax(0,760px);gap:8px;max-width:1060px}.is-reference-fixture .settings-layout .settings-card{padding:14px}.is-reference-fixture .settings-layout .settings-card:nth-child(n+3){display:none}.is-reference-fixture .settings-layout .settings-card:first-child,.is-reference-fixture .settings-layout .settings-card:nth-child(2){min-height:390px}.profile-reference-dashboard{display:none}.is-reference-fixture .profile-layout{display:none!important}.is-reference-fixture .profile-reference-dashboard{grid-template-rows:auto minmax(250px,1fr) minmax(130px,auto);gap:8px;min-height:calc(100vh - 122px);display:grid}.profile-ref-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.profile-ref-kpis>section,.profile-ref-card{border:1px solid var(--line);background:var(--canvas);min-width:0}.profile-ref-kpis>section{align-content:center;gap:4px;min-height:76px;padding:10px;display:grid}.profile-ref-kpis span,.profile-ref-card>p{color:var(--muted);letter-spacing:.08em;margin:0;font-size:8px;font-weight:850}.profile-ref-kpis strong{color:var(--ink);font-size:18px}.profile-ref-kpis small{color:var(--muted);font-size:8px}.profile-ref-main{grid-template-columns:minmax(0,1.35fr) minmax(0,.9fr);gap:8px;min-height:0;display:grid}.profile-ref-card{padding:11px}.profile-ref-card h3{color:var(--ink);margin:5px 0 9px;font-size:14px}.profile-ref-chart{grid-template-rows:auto auto 1fr;display:grid}.profile-ref-chart svg{width:100%;height:190px}.profile-ref-gridline{fill:none;stroke:var(--line);stroke-width:1px}.bar-blue{fill:var(--blue)}.bar-green{fill:#26bfa8}.profile-ref-agent-table{overflow:hidden}.profile-ref-agent-row{border-bottom:1px solid var(--line);grid-template-columns:18px minmax(0,1fr) minmax(70px,.8fr) 65px 34px;align-items:center;gap:5px;min-height:42px;font-size:8px;display:grid}.profile-ref-agent-row strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.profile-ref-agent-row small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.profile-ref-agent-row b{color:var(--ink);text-align:right;font-size:8px}.profile-ref-agent-row em{color:var(--green);text-align:right;font-size:8px;font-style:normal}.profile-ref-bottom{grid-template-columns:minmax(0,1.35fr) minmax(0,.9fr);gap:8px;display:grid}.profile-ref-mini-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:9px;display:grid}.profile-ref-mini-grid>div{background:var(--panel-muted);gap:4px;padding:8px;display:grid}.profile-ref-mini-grid span,.profile-ref-mini-grid small{color:var(--muted);font-size:8px}.profile-ref-mini-grid strong{font-size:14px}.profile-ref-log-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) 60px 70px;align-items:center;gap:6px;min-height:29px;font-size:8px;display:grid}.profile-ref-log-row span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.profile-ref-log-row b{color:var(--muted);font-weight:700}.profile-ref-log-row em{color:var(--green);text-align:right;font-style:normal}@media (width<=900px){.is-reference-fixture .party-list,.is-reference-fixture .profile-ref-main,.is-reference-fixture .profile-ref-bottom{grid-template-columns:1fr}.is-reference-fixture .settings-layout{grid-template-columns:1fr;max-width:none}.is-reference-fixture .settings-layout .settings-card:nth-child(n+3){display:block}.is-reference-fixture .tree-layout{grid-template-columns:1fr}}@media (width>=1061px){.app-shell{grid-template-columns:224px minmax(0,1fr) 326px}.sidebar{gap:18px;padding:14px 12px 12px}.brand{grid-template-columns:38px minmax(0,1fr);gap:9px;padding-bottom:13px;display:grid}.brand-mark{border-width:1px;border-radius:3px;width:38px;height:38px;font-size:10px}.brand strong{font-size:14px}.brand small{font-size:8px}.sidebar-nav{gap:4px}.nav-button{grid-template-columns:28px minmax(0,1fr);gap:8px;min-height:34px;padding:5px 7px}.nav-icon{width:25px;height:25px;font-size:8px}.nav-button b{font-size:12px}.sidebar-profile{padding:10px}.profile-avatar{width:50px;height:50px}.profile-avatar img{width:56px}.sidebar-profile strong{font-size:14px}.sidebar-profile small,.sidebar-profile dt{font-size:8px}.sidebar-profile dd{font-size:11px}.workspace{padding:0 20px 28px}.status-rail{background:var(--canvas);flex-basis:auto}.status-agent-card,.status-rail-quest,.status-rail-sync{background:var(--panel)}.status-rail{padding:12px 12px 14px}.status-agent-card{padding:7px 6px}.status-agent-avatar{width:21px;height:21px}.status-agent-card strong{font-size:9px}.status-agent-card small{font-size:8px}}body.is-reference-fixture{background:#191a1a;border-top:0;border-bottom:5px solid #191a1a}@media (width<=900px){.battle-reference-dashboard{display:none!important}.battle-legacy{display:grid!important}.battle-layout,.battle-layout>*,.battle-stage,.battle-arena{min-width:0;max-width:100%}}body.is-reference-fixture{background:#151d20;border:0}body.is-reference-fixture:before{z-index:1000;content:"";pointer-events:none;background:#3d3f40;height:1px;position:fixed;top:0;left:4px;right:4px}body.is-reference-fixture:after{z-index:1000;content:"";pointer-events:none;background:#191a1a;border-top:1px solid #3d3f40;height:5px;position:fixed;bottom:-1px;left:0;right:0}:root[data-qf-theme=soft-ops][data-qf-resolved-mode=dark]{--line:#30414a;--line-strong:#3d5158;--rail-2:#232f37;--muted:#94a1a3}@media (width>=1061px){.app-shell{grid-template-columns:224px minmax(0,1fr) 326px}.sidebar{gap:18px;padding:14px 12px 12px}.brand{grid-template-columns:38px minmax(0,1fr);gap:9px;padding-bottom:13px;display:grid}.brand-mark{border-width:1px;border-radius:3px;width:38px;height:38px;font-size:10px}.brand strong{font-size:14px}.brand small{font-size:8px}.sidebar-nav{gap:4px}.nav-button{grid-template-columns:28px minmax(0,1fr);gap:8px;min-height:34px;padding:5px 7px}.nav-icon{width:25px;height:25px;font-size:8px}.nav-button b{font-size:12px}.sidebar-profile{padding:10px}.profile-avatar{width:50px;height:50px}.profile-avatar img{width:56px}.sidebar-profile strong{font-size:14px}.sidebar-profile small,.sidebar-profile dt{font-size:8px}.sidebar-profile dd{font-size:11px}.workspace{padding:0 20px 28px}.status-rail{background:var(--rail);padding:10px 10px 12px}.status-agent-card,.status-rail-quest,.status-rail-sync{background:var(--panel)}}@media (width>=901px){.status-rail{background:var(--panel)}.topbar{grid-template-columns:minmax(0,5fr) minmax(150px,1fr) minmax(170px,1fr);gap:10px;min-height:97px;margin:0 -20px;padding:0}.topbar .page-title{display:none}.topbar .status-strip{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.35fr) minmax(0,1fr) minmax(0,1fr);gap:10px}.topbar .status-strip .status-card:nth-child(3){background:color-mix(in srgb, var(--blue) 7%, var(--panel));border-color:color-mix(in srgb, var(--blue) 30%, var(--line));margin-inline:4px}.topbar .status-strip .status-card:nth-child(3) strong{font-size:23px}.topbar .status-strip .status-card:nth-child(4){margin-left:4px}.sidebar{padding-top:24px;padding-left:16px;padding-right:16px}.is-reference-fixture .legacy-link{display:none}.is-reference-fixture .profile-reference-dashboard{grid-template-rows:92px 292px 259px;min-height:0}.is-reference-fixture .profile-ref-kpis>section{min-height:92px}.is-reference-fixture .agent-operations-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.is-reference-fixture .agent-operation-card{min-height:276px}.is-reference-fixture .agent-operation-card:after{height:54px}.is-reference-fixture .view[data-panel=agents] .view-heading,.is-reference-fixture .view[data-panel=profile] .view-heading{padding-bottom:45px}.is-reference-fixture .status-rail{padding:12px 10px 14px}.is-reference-fixture .status-agent-grid{gap:8px}.is-reference-fixture .status-agent-card{grid-template-columns:31px minmax(0,1fr);align-content:start;gap:6px;min-height:104px;padding:9px 7px}.is-reference-fixture .status-agent-avatar{width:29px;height:29px}.is-reference-fixture .status-agent-card strong{font-size:10px}.is-reference-fixture .status-agent-card small{font-size:8px}.is-reference-fixture .status-agent-card i{height:4px;margin-top:8px}.is-reference-fixture .status-agent-card em{color:var(--blue);text-align:right;grid-column:2;font-size:8px;font-style:normal;font-weight:850;display:block}.is-reference-fixture .status-rail-quest{min-height:340px}.is-reference-fixture .status-rail-sync{min-height:72px}.is-reference-fixture .view[data-panel=battle] .view-heading{padding-bottom:74px}.is-reference-fixture .battle-reference-dashboard{grid-template-rows:94px 243px 214px;min-height:0}.is-reference-fixture .battle-report-metric{min-height:94px}.is-reference-fixture .battle-report-main-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,1.35fr) minmax(0,.8fr) minmax(0,.9fr);min-height:0}.is-reference-fixture .battle-report-summary-stack{display:contents}.is-reference-fixture .battle-report-bottom-grid{min-height:214px}.is-reference-fixture .view[data-panel=party] .view-heading{padding-bottom:45px}.is-reference-fixture .battle-report-main-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.29fr) minmax(0,.76fr) minmax(0,.72fr)}.is-reference-fixture .battle-report-bottom-grid{grid-template-columns:minmax(0,.85fr) minmax(0,.95fr) minmax(0,1.05fr)}}.sidebar{overflow-y:auto}.sidebar-ops-context{border-top:1px solid var(--line);gap:9px;min-width:0;margin-top:10px;padding:12px 0 4px;display:grid}.sidebar-sync-line,.sidebar-context-block>div,.sidebar-battle-block>div{justify-content:space-between;align-items:center;gap:6px;display:flex}.sidebar-sync-line span,.sidebar-context-block>p,.sidebar-mcp-block>p,.sidebar-battle-block>p{color:var(--muted);letter-spacing:.08em;margin:0;font-size:8px;font-weight:850}.sidebar-sync-line b{color:var(--green);font-size:8px}.sidebar-sync-line small,.sidebar-context-block small,.sidebar-battle-block span{color:var(--muted);font-size:8px}.sidebar-context-block{gap:5px;display:grid}.sidebar-context-block strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.sidebar-context-block button{border:1px solid var(--line);min-height:29px;color:var(--ink);background:0 0;font-size:9px;font-weight:800}.sidebar-mcp-block,.sidebar-battle-block{gap:6px;display:grid}.sidebar-mcp-list,#sidebarMcpList{gap:5px;display:grid}.sidebar-mcp-row{justify-content:space-between;gap:6px;min-width:0;font-size:8px;display:flex}.sidebar-mcp-row span{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sidebar-mcp-row b{color:var(--green);white-space:nowrap;font-size:7px}.sidebar-battle-block meter{width:100%;height:5px}.sidebar-battle-block>div b{color:var(--red);font-size:9px}@media (width>=901px){.sidebar-ops-context{min-height:362px}}.agent-operation-main{gap:3px;min-width:0;display:grid!important}.agent-operation-current{color:var(--muted);margin-top:9px;font-size:8px;font-weight:700}.agent-operation-quest{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.agent-operation-card>i{grid-column:1/-1}.agent-operation-stats{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;display:grid!important}.agent-operation-stats>span{border-right:1px solid var(--line);gap:3px;padding:7px 6px;display:grid}.agent-operation-stats>span:last-child{border-right:0}.agent-operation-stats small{color:var(--muted);font-size:7px;font-weight:800}.agent-operation-stats b{color:var(--ink);font-size:11px}.agent-operation-tags{grid-column:1/-1;gap:4px;min-width:0;display:flex!important}.agent-operation-tags em{border:1px solid var(--line);min-height:18px;color:var(--muted);align-items:center;padding:2px 5px;font-size:7px;font-style:normal;font-weight:700;display:inline-flex}.agent-operation-state{color:var(--muted);grid-column:1/-1;font-size:8px;font-style:normal;font-weight:800}@media (width>=901px){.is-reference-fixture .profile-ref-main,.is-reference-fixture .profile-ref-bottom{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}.is-reference-fixture .profile-ref-chart svg{transform:translateY(18px)}.is-reference-fixture .profile-ref-bottom .profile-ref-card{padding-top:16px}.is-reference-fixture .profile-ref-mini-grid>div{background:#1a2427}.is-reference-fixture .status-agent-grid{margin-left:15px;margin-right:15px}.is-reference-fixture .status-agent-card{min-height:112px}.is-reference-fixture .status-agent-meta{color:var(--muted);white-space:nowrap;margin-top:3px;font-size:7px;display:block}.is-reference-fixture .status-rail-quest{min-height:360px}}@media (width>=1061px){.app-shell{grid-template-columns:224px minmax(0,1fr) 330px}.workspace{padding-right:15px}.topbar{margin-right:-15px}.topbar .quick-add{border-radius:3px;margin:25px 16px 24px 0}}@media (width>=901px){.topbar .quick-add{justify-content:center;align-items:center;gap:12px;padding:0 16px;font-size:13px;display:flex}.topbar .quick-add b{white-space:nowrap;font-size:12px}.topbar .quick-add>span:last-child{font-size:23px;line-height:1}.is-reference-fixture .status-rail{padding:0 21px 14px 16px}.is-reference-fixture .status-rail-heading{border:1px solid var(--line);border-bottom:0;min-height:46px;margin-top:11px;padding:0 8px}.is-reference-fixture .status-agent-grid{border:1px solid var(--line);border-top:0;grid-template-rows:repeat(3,98px);gap:8px;margin:0;padding:0 13px 14px}.is-reference-fixture .status-agent-card{height:98px;min-height:98px;padding:9px 7px}.is-reference-fixture .status-rail-quest{min-height:368px;margin-top:10px}.sidebar-ops-context{margin-top:2px;padding-top:3px}body.is-reference-fixture .app-shell{grid-template-columns:228px minmax(0,1fr) 331px}body.is-reference-fixture .sidebar{padding-left:20px;overflow:hidden scroll}body.is-reference-fixture .workspace{padding-left:16px;padding-right:15px;overflow:hidden scroll}body.is-reference-fixture .status-rail{overflow:hidden scroll}body.is-reference-fixture .sidebar-nav{gap:4px}body.is-reference-fixture .nav-button{grid-template-columns:24px minmax(0,1fr);gap:10px;min-height:35px;padding:5px 7px}body.is-reference-fixture .nav-icon{width:24px;height:24px;color:var(--ink);background:0 0;border:0;border-radius:0}body.is-reference-fixture .nav-button b{font-size:14px}.agent-reference-handoff,.agent-reference-filter{display:none}body.is-reference-fixture .view[data-panel=agents] .view-heading>div{flex-direction:column;align-items:flex-start;display:flex}body.is-reference-fixture .view[data-panel=agents] .view-heading h2{order:1}body.is-reference-fixture .view[data-panel=agents] .view-heading>div>p{color:var(--muted);letter-spacing:0;order:2;margin-top:7px;font-size:12px;font-weight:500}body.is-reference-fixture .view[data-panel=agents] .agent-reference-handoff,body.is-reference-fixture .view[data-panel=agents] .agent-reference-filter{display:inline-flex}body.is-reference-fixture .view[data-panel=agents] .view-heading-actions>.tool:not(.agent-reference-filter){display:none}body.is-reference-fixture .view[data-panel=agents] .agent-reference-handoff{min-height:38px;color:var(--muted);white-space:nowrap;align-items:center;gap:8px;font-size:12px}body.is-reference-fixture .view[data-panel=agents] .agent-reference-handoff input{accent-color:var(--blue)}body.is-reference-fixture .view[data-panel=agents] .agent-reference-filter{align-items:center;gap:5px;min-width:82px}.is-reference-fixture .focus-card button{display:block}.is-reference-fixture .focus-card button i{display:none}.is-reference-fixture .focus-card button b{color:var(--green);font-size:16px}.is-reference-fixture .focus-card>small{color:var(--muted);font-size:8px}.is-reference-fixture .agent-operations-layout{grid-template-columns:minmax(0,1fr) 260px;align-items:start;gap:12px;height:570px}.is-reference-fixture .agent-operations-grid{grid-template-rows:repeat(2,272px);grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:23px 12px;height:567px}.is-reference-fixture .agent-operation-card{grid-template-rows:94px 5px 40px 18px 0 55px;align-content:start;height:272px;min-height:0;overflow:hidden}.is-reference-fixture .agent-operation-main{grid-column:2;grid-template-rows:auto auto auto auto;align-content:start;gap:2px}.is-reference-fixture .agent-operation-main strong{order:1;font-size:18px;line-height:1.15}.is-reference-fixture .agent-operation-role{color:var(--muted);order:2;font-size:8px;font-weight:700}.is-reference-fixture .agent-operation-current{order:3;margin-top:13px;font-size:8px}.is-reference-fixture .agent-operation-quest{order:4;font-size:18px;line-height:1.1}.is-reference-fixture .agent-operation-card>i{background:0 0;height:5px;margin:0;width:auto!important}.is-reference-fixture .agent-operation-load{background:color-mix(in srgb, var(--line) 70%, transparent);grid-column:1/-1;height:5px;display:block}.is-reference-fixture .agent-operation-load i{background:var(--blue);height:100%;display:block}.is-reference-fixture .agent-operation-stats>span{padding:7px 6px}.is-reference-fixture .agent-operation-stats small{font-size:7px}.is-reference-fixture .agent-operation-stats b{font-size:12px}.is-reference-fixture .agent-operation-state{display:none}.is-reference-fixture .agent-operation-trend{grid-column:1/-1;place-self:end center;width:90px;height:55px;padding:4px 3px 0;display:block}.is-reference-fixture .agent-operation-trend svg{width:100%;height:100%;display:block;overflow:visible}.is-reference-fixture .agent-operation-trend polyline{fill:none;stroke:var(--blue);stroke-width:2.2px;vector-effect:non-scaling-stroke}.is-reference-fixture .agent-operation-card:after{display:none}.is-reference-fixture .agent-operation-add{border:1px dashed var(--blue);height:272px;color:var(--blue);font:inherit;background:0 0;align-content:center;place-items:center;gap:7px;display:grid}.is-reference-fixture .agent-operation-add span{font-size:28px;line-height:1}.is-reference-fixture .agent-operation-add b{font-size:14px}.is-reference-fixture .agent-operations-inspector{align-content:start;gap:10px;height:272px;min-height:272px;overflow:hidden}.is-reference-fixture .agent-operations-inspector h2{font-size:24px}.is-reference-fixture .agent-inspector-load{color:var(--ink);font-size:40px;font-weight:900;line-height:1;display:block}.is-reference-fixture .agent-operations-inspector dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0}.is-reference-fixture .agent-operations-inspector dl div{border:1px solid var(--line);gap:3px;padding:7px 6px;display:grid}.is-reference-fixture .agent-operations-inspector dt{font-size:7px}.is-reference-fixture .agent-operations-inspector dd{font-size:15px}body.is-reference-fixture .view[data-panel=agents] .view-heading{padding-top:19px;padding-bottom:14px}body.is-reference-fixture .view[data-panel=agents] .view-heading>.view-heading-actions{flex-direction:row;flex:none;align-items:center;gap:8px;display:flex}body.is-reference-fixture .nav-button.is-active,body.is-reference-fixture .nav-button.is-active:hover{border-color:color-mix(in srgb, var(--blue) 60%, transparent);background:color-mix(in srgb, var(--blue) 20%, transparent);color:var(--blue);border-left-width:3px}body.is-reference-fixture .nav-button.is-active .nav-icon{color:var(--blue)}body.is-reference-fixture #topbarSyncState:before{color:var(--green);content:"●";margin-right:5px}body.is-reference-fixture .status-rail-reference-only{display:block}body.is-reference-fixture .status-rail-reference-facts,body.is-reference-fixture .status-rail-reference-actions{display:grid}body.is-reference-fixture .status-rail-primary{display:none}body.is-reference-fixture .agent-operations-grid{grid-template-rows:repeat(2,276px);row-gap:19px}body.is-reference-fixture .agent-operation-card,body.is-reference-fixture .agent-operation-add{height:276px}body.is-reference-fixture .topbar{grid-template-columns:974px 184px 203px;margin-left:-16px}body.is-reference-fixture .topbar .status-strip{grid-template-columns:163px 195px 259px 163px 194px}body.is-reference-fixture .status-rail{padding-left:10px;padding-right:15px}body.is-reference-fixture .status-rail-heading{padding-left:8px;padding-right:8px}body.is-reference-fixture .status-agent-grid{padding-left:14px;padding-right:14px}}.reference-brand,.reference-scrollbar,.reference-design-lab,.settings-reference-surface,.battle-reference-copy,.battle-reference-periods{display:none}@media (width>=901px){body.is-reference-fixture .sidebar .brand{display:none}body.is-reference-fixture .reference-brand{grid-template-columns:41px minmax(0,1fr);align-items:start;gap:9px;height:62px;min-height:62px;display:grid}body.is-reference-fixture .reference-brand-mark{border:2px solid var(--blue);width:41px;height:41px;color:var(--blue);place-items:center;display:grid}body.is-reference-fixture .reference-brand-copy{gap:2px;min-width:0;display:grid}body.is-reference-fixture .reference-brand-copy strong{color:var(--ink);letter-spacing:.02em;font-size:16px;font-weight:900;line-height:1}body.is-reference-fixture .reference-brand-copy small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}body.is-reference-fixture .reference-brand-copy em{color:var(--blue);font-size:10px;font-style:normal;font-weight:800}body.is-reference-fixture .reference-scrollbar{z-index:1001;pointer-events:none;display:block;position:fixed}body.is-reference-fixture .reference-scrollbar--left{background:#2c2c2c;width:12px;top:1px;bottom:1px;left:213px}body.is-reference-fixture .reference-scrollbar--left:before{content:"";background:#9f9f9f;width:9px;height:651px;position:absolute;top:49px;left:3px}body.is-reference-fixture .reference-scrollbar--right{background:linear-gradient(90deg,#11191c 0 10px,#3d3f40 10px 11px,#191a1a 11px 100%);width:15px;top:1px;bottom:1px;right:0}body.is-reference-fixture .reference-design-lab{z-index:1002;box-sizing:border-box;border:1px solid var(--line);background:var(--panel);width:298px;min-height:125px;color:var(--ink);grid-template-columns:1fr;gap:5px;padding:10px;font-size:8px;display:grid;position:fixed;bottom:21px;right:15px}body.is-reference-fixture .reference-design-lab>span{color:var(--muted);font-weight:800}body.is-reference-fixture .reference-design-lab>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;display:grid}body.is-reference-fixture .reference-design-lab button{border:1px solid var(--line);min-height:28px;color:var(--ink);background:0 0;font-size:8px}body.is-reference-fixture .reference-design-lab button.is-active{border-color:var(--blue);background:var(--blue);color:#fff}body.is-reference-fixture .reference-design-lab .reference-design-lab-toggle{color:#202624;background:#f2f4f1;border-color:#c9d0cb;min-height:28px;padding:0 9px;font-weight:850;position:absolute;top:-29px;right:0}body.is-reference-fixture .view[data-panel=settings]>.view-heading,body.is-reference-fixture .view[data-panel=settings]>.panel-error-list,body.is-reference-fixture .view[data-panel=settings]>.settings-layout{display:none}body.is-reference-fixture .settings-reference-surface{width:978px;margin-left:9px;padding-top:26px;display:block}body.is-reference-fixture .settings-reference-heading{gap:5px;display:grid}body.is-reference-fixture .settings-reference-heading p{color:var(--blue);letter-spacing:.08em;margin:0;font-size:10px;font-weight:850}body.is-reference-fixture .settings-reference-heading h2{color:var(--ink);margin:0;font-size:32px;line-height:1.05}body.is-reference-fixture .settings-reference-heading span{color:var(--muted);font-size:12px}body.is-reference-fixture .settings-reference-shell{border:1px solid var(--line);background:var(--panel);grid-template-columns:240px minmax(0,1fr);gap:18px;height:557px;margin-top:21px;display:grid}body.is-reference-fixture .settings-reference-nav{border-right:1px solid var(--line);background:var(--panel);align-content:start;gap:2px;padding:8px;display:grid}body.is-reference-fixture .settings-reference-nav button{min-height:43px;color:var(--ink);text-align:left;background:0 0;border:1px solid #0000;padding:0 10px;font-size:16px}body.is-reference-fixture .settings-reference-nav button.is-active{border-color:color-mix(in srgb, var(--blue) 28%, transparent);background:color-mix(in srgb, var(--blue) 18%, transparent);color:var(--blue)}body.is-reference-fixture .settings-reference-general{padding:25px 18px 16px}body.is-reference-fixture .settings-reference-general h3{color:var(--ink);margin:0;font-size:25px}body.is-reference-fixture .settings-reference-general>p{color:var(--muted);margin:20px 0 28px;font-size:14px}body.is-reference-fixture .settings-reference-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;min-height:72px;display:flex}body.is-reference-fixture .settings-reference-row strong{color:var(--ink);font-size:15px;display:block}body.is-reference-fixture .settings-reference-row small{color:var(--muted);margin-top:3px;font-size:12px;display:block}body.is-reference-fixture .settings-reference-switch{border:1px solid var(--line-strong);background:var(--panel-muted);border-radius:999px;flex:none;width:41px;height:25px;display:block;position:relative}body.is-reference-fixture .settings-reference-switch:after{background:var(--muted);content:"";border-radius:50%;width:17px;height:17px;position:absolute;top:3px;left:3px}body.is-reference-fixture .settings-reference-switch.is-on{border-color:var(--green);background:color-mix(in srgb, var(--green) 20%, transparent)}body.is-reference-fixture .settings-reference-switch.is-on:after{background:var(--green);left:19px}body.is-reference-fixture .settings-reference-select{border-top:1px solid var(--line);min-height:72px;color:var(--ink);grid-template-columns:1fr 220px;align-items:center;gap:18px;font-size:15px;display:grid}body.is-reference-fixture .settings-reference-select select{border:1px solid var(--line);background:var(--panel-muted);min-height:43px;color:var(--ink);font-size:15px}body.is-reference-fixture .settings-reference-save{border:1px solid var(--blue);background:var(--blue);color:#fff;min-height:49px;margin-top:12px;padding:0 18px;font-size:15px;font-weight:850}body.is-reference-fixture .view[data-panel=battle] .view-heading>div:first-child{flex-direction:column;align-items:flex-start;display:flex}body.is-reference-fixture .view[data-panel=battle] #battleKicker{display:none}body.is-reference-fixture .view[data-panel=battle] #battleTitle{order:1}body.is-reference-fixture .view[data-panel=battle] .battle-reference-copy{color:var(--muted);order:2;margin-top:7px;font-size:12px;display:block}body.is-reference-fixture .view[data-panel=battle] .battle-reference-periods{grid-template-columns:repeat(2,62px);gap:0;width:124px;display:grid}body.is-reference-fixture .view[data-panel=battle] .battle-reference-periods button{border:1px solid var(--line);background:var(--panel);min-height:42px;color:var(--ink);font-size:15px}body.is-reference-fixture .view[data-panel=battle] #resetBattle{display:none}body.is-reference-fixture .view[data-panel=battle] .view-heading{padding-bottom:28px}body.is-reference-fixture .view[data-panel=battle] .battle-report-log-row{grid-template-columns:42px minmax(0,1fr) auto}}.party-reference-copy,.profile-reference-copy,.profile-reference-period{display:none}@media (width>=901px){body.is-reference-fixture .party-card--reference{grid-template-rows:auto auto 5px auto auto;gap:6px;min-height:174px;padding:12px}body.is-reference-fixture .party-card--reference .party-card-head{grid-template-columns:34px minmax(0,1fr);align-items:start;gap:8px}body.is-reference-fixture .party-card--reference .party-mark{width:30px;height:30px;font-size:12px}body.is-reference-fixture .party-card--reference .party-mark.has-avatar img{width:34px}body.is-reference-fixture .party-card--reference .party-card-head p{color:var(--muted);margin:0 0 2px;font-size:8px;line-height:1}body.is-reference-fixture .party-card--reference .party-card-head h2{color:var(--ink);margin:0;font-size:13px;line-height:1.1;display:inline}body.is-reference-fixture .party-card--reference .party-role{color:var(--muted);margin-top:2px;font-size:8px;line-height:1;display:block}body.is-reference-fixture .party-card--reference .party-task{min-height:22px;margin:0;font-size:9px;line-height:1.25;color:var(--ink)!important}body.is-reference-fixture .party-card--reference .party-load{background:var(--panel-muted);height:5px;overflow:hidden}body.is-reference-fixture .party-card--reference .party-load i{background:var(--blue);height:100%;display:block}body.is-reference-fixture .party-card--reference:first-child .party-load i{background:var(--green)}body.is-reference-fixture .party-card--reference:last-child .party-load i{background:var(--red)}body.is-reference-fixture .party-card--reference .party-card-meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0}body.is-reference-fixture .party-card--reference .party-card-meta div{border:1px solid var(--line);background:0 0;border-radius:3px;place-items:center;min-height:28px;padding:5px;display:grid}body.is-reference-fixture .party-card--reference .party-card-meta strong{color:var(--ink);font-size:9px;font-weight:850}body.is-reference-fixture .party-card--reference .party-handoff{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:0;min-height:30px;margin-top:1px;display:grid}body.is-reference-fixture .party-card--reference .party-handoff-step{justify-items:center;gap:3px;min-width:0;display:grid;position:relative}body.is-reference-fixture .party-card--reference .party-handoff-step:not(:last-child):after{background:var(--line-strong);content:"";width:100%;height:1px;position:absolute;top:8px;left:50%}body.is-reference-fixture .party-card--reference .party-handoff-step i{z-index:1;border:2px solid var(--line-strong);background:var(--canvas);width:16px;height:16px;color:var(--canvas);border-radius:50%;place-items:center;font-size:9px;font-style:normal;display:grid;position:relative}body.is-reference-fixture .party-card--reference .party-handoff-step small{max-width:100%;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:6px;line-height:1;overflow:hidden}body.is-reference-fixture .party-card--reference .party-handoff-step.is-done i{border-color:var(--green);background:var(--green)}body.is-reference-fixture .party-card--reference .party-handoff-step.is-active i{border-color:var(--blue);background:var(--canvas)}body.is-reference-fixture .party-card--reference .party-handoff-step.is-error i{border-color:var(--red);background:var(--canvas);color:var(--red)}body.is-reference-fixture .party-card--reference .party-handoff-step.is-done small{color:var(--green)}body.is-reference-fixture .party-card--reference>button{display:none}body.is-reference-fixture .party-reference-copy{color:var(--muted);margin-top:7px;font-size:12px;display:block}body.is-reference-fixture .view[data-panel=party]>.view-heading{padding-bottom:22px}body.is-reference-fixture .view[data-panel=party]>.view-heading>div{transform:translateY(8px)}body.is-reference-fixture .party-list{grid-auto-rows:182px;min-height:565px}body.is-reference-fixture .view[data-panel=profile]>.view-heading{padding-bottom:33px}body.is-reference-fixture .view[data-panel=profile] #profileKicker,body.is-reference-fixture .view[data-panel=profile] #profileSettingsButton{display:none}body.is-reference-fixture .view[data-panel=profile]>.view-heading>div{transform:translateY(20px)}body.is-reference-fixture .view[data-panel=profile] .profile-reference-copy{color:var(--muted);margin-top:7px;font-size:12px;display:block}body.is-reference-fixture .view[data-panel=profile] .profile-reference-period{border:1px solid var(--line);background:var(--panel);min-width:72px;min-height:42px;color:var(--ink);justify-content:center;align-items:center;gap:10px;font-size:15px;display:inline-flex}body.is-reference-fixture .profile-ref-main .profile-ref-card h3{visibility:hidden;height:16px;margin:0;display:block}body.is-reference-fixture .profile-ref-agent-row{grid-template-columns:29px minmax(0,1fr) 72px 62px 62px 34px}body.is-reference-fixture .profile-ref-agent-row strong{font-size:11px}body.is-reference-fixture .profile-ref-agent-row small{font-size:7px}body.is-reference-fixture .profile-ref-agent-row b,body.is-reference-fixture .profile-ref-agent-row em{font-size:10px}body.is-reference-fixture .profile-ref-log-row{grid-template-columns:66px minmax(0,1fr) 55px 72px}body.is-reference-fixture .profile-ref-log-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}body.is-reference-fixture .profile-ref-log-row b,body.is-reference-fixture .profile-ref-log-row em{font-size:8px}body.is-reference-fixture .profile-ref-mini-grid>div>small{display:none}body.is-reference-fixture .profile-reference-dashboard{gap:10px}body.is-reference-fixture .profile-ref-agent-table{padding-top:14px}body.is-reference-fixture .profile-reference-dashboard{width:calc(100% + 1px);margin-left:-1px}body.is-reference-fixture .profile-ref-kpis{gap:8px}body.is-reference-fixture .profile-ref-kpis>section:first-child,body.is-reference-fixture .profile-ref-kpis>section:nth-child(3){border-color:var(--blue)}body.is-reference-fixture .profile-ref-kpis>section:nth-child(2),body.is-reference-fixture .profile-ref-kpis>section:nth-child(4){border-color:var(--green)}body.is-reference-fixture .party-list{width:auto;margin-left:0}body.is-reference-fixture .status-rail{background:#11191c}body.is-reference-fixture .status-agent-avatar{overflow:hidden}body.is-reference-fixture .status-agent-avatar img{object-fit:cover;object-position:50% 34%;width:100%;height:100%;image-rendering:pixelated}body.is-reference-fixture .nav-button.is-active{background:#22323f}body.is-reference-fixture .quick-add{background:#126ce5;border-color:#126ce5;width:183px}}@media (width>=1920px){body{font-size:16px}.app-shell{grid-template-columns:260px minmax(0,1fr) 360px}.topbar{min-height:108px}.status-card{padding:15px 16px}.status-card strong,.focus-card button b{font-size:22px}.quest-row{min-height:96px;padding:14px 10px}.quest-summary strong,.agent-chip strong{font-size:16px}.nav-button{min-height:46px;padding:8px 10px}.nav-button b{font-size:15px}.nav-icon{width:30px;height:30px}.status-rail{padding:14px 14px 16px}}@media (width>=2560px){body{font-size:17px}.app-shell{grid-template-columns:300px minmax(0,1fr) 400px}.topbar{min-height:118px}.status-card{padding:18px}.status-card strong,.focus-card button b{font-size:25px}.quest-row{min-height:106px;padding:16px 12px}.quest-summary strong,.agent-chip strong{font-size:17px}.nav-button{min-height:50px;padding:9px 12px}.nav-button b{font-size:16px}.nav-icon{width:32px;height:32px}.status-rail{padding:16px 16px 18px}}
