:root{color-scheme:dark;--bg: #0e1211;--panel: #171d1b;--panel-2: #1e2623;--line: #2b3732;--text: #e7eee9;--muted: #93a49b;--accent: #55d6a8;--accent-2: #f0b45a;--danger: #ff6b6b;--warn: #f2c14e;--radius: 16px;font-family:IBM Plex Sans,Noto Sans SC,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;background:radial-gradient(1200px 600px at 80% -10%,rgba(85,214,168,.12),transparent 60%),radial-gradient(900px 500px at -10% 110%,rgba(240,180,90,.08),transparent 55%),var(--bg);color:var(--text);min-height:100vh}button,input,select{font:inherit}.page{max-width:1780px;margin:0 auto;padding:22px 32px 40px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 4px 22px}.brand{font-size:24px;font-weight:750;letter-spacing:.4px}.sub{color:var(--muted);font-size:13px;margin-top:4px}.top-right{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.master-switch{display:inline-flex;align-items:center;gap:9px;border:1px solid rgba(255,107,107,.45);background:#501c1cb8;color:#ffb4b4;border-radius:12px;padding:6px 11px;cursor:pointer;font:inherit;text-align:left}.master-switch.on{border-color:#55d6a88c;background:#124235c7;color:var(--accent)}.master-switch:disabled{opacity:.55;cursor:wait}.master-switch-dot{width:10px;height:10px;border-radius:50%;background:#ff6b6b;box-shadow:0 0 10px #ff6b6ba6}.master-switch.on .master-switch-dot{background:var(--accent);box-shadow:0 0 10px #55d6a8b3}.master-switch-text{display:flex;flex-direction:column;line-height:1.15}.master-switch-text small{font-size:9px;letter-spacing:.08em;opacity:.75}.master-switch-text strong{font-size:12px;font-weight:700}.pill,.chip{border:1px solid var(--line);background:#171d1bbf;border-radius:999px;padding:7px 12px;font-size:12px;color:var(--muted);white-space:nowrap}.activity-chip{max-width:360px;overflow:hidden;text-overflow:ellipsis}.pill.live{color:#07130f;background:var(--accent);border-color:transparent;font-weight:700}.pill.warn{color:#201703;background:var(--warn);border-color:transparent;font-weight:700}.pill.danger{color:#2a0707;background:var(--danger);border-color:transparent;font-weight:700}.banner{border-radius:12px;padding:12px 14px;margin-bottom:16px;display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:14px}.banner.error{background:#ff6b6b1f;border:1px solid rgba(255,107,107,.35);color:#ffc9c9}.link{background:none;border:0;color:inherit;text-decoration:underline;cursor:pointer}.layout{display:grid;grid-template-areas:"controls screen side";grid-template-columns:minmax(360px,420px) minmax(360px,420px) minmax(420px,1fr);gap:16px;align-items:start}.controls-col{grid-area:controls}.screen-col{grid-area:screen}.side-col{grid-area:side}.column{display:flex;flex-direction:column;gap:18px;min-width:0}.card{background:linear-gradient(180deg,#1e2623eb,#171d1beb);border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:0 18px 40px #0000002e}.card-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:14px}.card-title h2{font-size:15px;margin:0;letter-spacing:.3px}.muted{color:var(--muted);font-size:12px}.traffic-warning{color:#ffb454;font-weight:600}.small{font-size:11px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}.stat{background:#0e12118c;border:1px solid var(--line);border-radius:12px;padding:12px}.stat-label{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.8px}.stat-value{font-size:26px;font-weight:750;margin-top:4px;font-variant-numeric:tabular-nums}.stat-note{color:var(--muted);font-size:11px;margin-top:2px}.message{margin:0 0 12px;color:var(--muted);font-size:13px;line-height:1.5}.danger-text{color:#ffb4b4}.actions{display:flex;gap:8px;flex-wrap:wrap}button{border-radius:10px;border:1px solid var(--line);background:var(--panel-2);color:var(--text);padding:9px 14px;cursor:pointer;transition:transform .12s ease,border-color .12s ease,background .12s ease}button:hover:not(:disabled){border-color:#3e5149;transform:translateY(-1px)}button:disabled{opacity:.45;cursor:not-allowed}button.primary{background:var(--accent);border-color:transparent;color:#06130e;font-weight:700}button.secondary{background:#55d6a81f;border-color:#55d6a859;color:var(--accent)}button.danger{background:#ff6b6b1a;border-color:#ff6b6b59;color:#ffb4b4}button.ghost{background:transparent}button.wide{width:100%;margin-top:4px}.meta{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:14px;color:var(--muted);font-size:11px;border-top:1px solid var(--line);padding-top:12px}.form{display:flex;flex-direction:column;gap:14px}.field{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted)}.field select,.field input[type=number]{background:#101614;color:var(--text);border:1px solid var(--line);border-radius:10px;padding:9px 11px;outline:none}.field select:focus,.field input:focus{border-color:var(--accent)}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.resource-list{display:flex;flex-direction:column;gap:6px;margin-top:2px}.resource{display:flex;align-items:center;justify-content:space-between;background:#0e121180;border:1px solid var(--line);border-radius:10px;padding:7px 9px}.resource.off{opacity:.5}.resource label{display:flex;align-items:center;gap:8px;cursor:pointer;color:var(--text);font-size:13px;flex:1}.resource input[type=checkbox]{accent-color:var(--accent)}.mark{width:24px;height:24px;border-radius:7px;display:grid;place-items:center;font-size:12px;font-weight:700;color:#07130f}.mark-iron{background:#96a7b2}.mark-quarry{background:#d9b27c}.mark-lumber{background:#d6a35b}.mark-mill{background:#e8cf7a}.resource-icon{width:42px;height:42px;margin:-7px 0 -7px -4px;object-fit:contain}.resource-name{min-width:36px}.updown{display:flex;gap:4px}.updown button{padding:2px 8px;font-size:12px;line-height:1.2}.check{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}.check input{accent-color:var(--accent)}.dot{font-size:11px;color:#201703;background:var(--warn);border-radius:999px;padding:3px 8px;font-weight:700}.screen-card{padding-bottom:12px}.screen{position:relative;width:100%;aspect-ratio:720 / 1280;background:#080b0a;border:1px solid var(--line);border-radius:12px;overflow:hidden}.screen img{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;object-fit:contain}.screen-placeholder{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:var(--muted);font-size:13px}.screen-card{position:sticky;top:16px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;color:var(--muted);font-weight:500;padding:7px 8px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:8px;border-bottom:1px solid rgba(43,55,50,.65);white-space:nowrap;font-variant-numeric:tabular-nums}tr:last-child td{border-bottom:0}.state{border-radius:999px;padding:2px 8px;font-size:11px;background:#93a49b26;color:var(--muted)}.state.active,.state.success,.state.done{background:#55d6a826;color:var(--accent)}.state.failed{background:#ff6b6b1f;color:#ffb4b4}.logs{max-height:calc(100vh - 360px);min-height:220px;overflow:auto;display:flex;flex-direction:column;gap:2px;font-size:12px;font-family:JetBrains Mono,SFMono-Regular,Consolas,monospace}.log{display:grid;grid-template-columns:70px 1fr;gap:10px;padding:5px 6px;border-radius:7px}.log:hover{background:#ffffff08}.log-time{color:#6f8379}.log-msg{color:#cdd9d2;white-space:pre-wrap}.log.error .log-msg{color:#ffb4b4}.log.warn .log-msg{color:#f2d38a}.empty{color:var(--muted);text-align:center;padding:18px;font-size:12px}@media (max-width: 1120px){.layout{grid-template-areas:"controls screen" "controls side";grid-template-columns:minmax(320px,380px) minmax(340px,1fr)}.screen-card{position:static}.screen{max-width:430px;margin:0 auto}.logs{max-height:44vh}}@media (max-width: 760px){.layout{grid-template-areas:"controls" "screen" "side";grid-template-columns:1fr}.screen{max-width:100%}}@media (max-width: 620px){.page{padding:14px}.stats,.grid3,.grid2{grid-template-columns:1fr}.topbar{align-items:flex-start;flex-direction:column}.top-right{justify-content:flex-start}}.hero-list{display:flex;flex-direction:column;gap:6px}.hero-row{display:flex;align-items:center;gap:8px;padding:8px 10px;background:#0e121180;border:1px solid var(--line);border-radius:10px}.hero-dot{width:8px;height:8px;border-radius:50%;flex:0 0 auto}.hero-dot.free{background:var(--accent);box-shadow:0 0 8px #55d6a873}.hero-dot.busy{background:var(--accent-2);box-shadow:0 0 8px #f0b45a66}.hero-name{font-size:13px;min-width:48px}.hero-state{margin-left:auto;font-size:11px;border-radius:999px;padding:2px 8px}.hero-state.free{color:var(--accent);background:#55d6a81f}.hero-state.busy{color:var(--accent-2);background:#f0b45a1f}.topbar-left{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.accounts{display:flex;align-items:center;gap:6px}.account{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border-radius:9px;border:1px solid var(--line);background:#171d1bbf;color:var(--muted);font-size:12px}.account.active{color:var(--text);border-color:#55d6a873;background:#55d6a814}.account.add{opacity:.45}.account-badge{width:20px;height:20px;border-radius:6px;display:grid;place-items:center;background:var(--accent);color:#06130e;font-size:10px;font-weight:800}.tabbar{order:-3;display:flex;gap:4px;padding:4px;background:#171d1bcc;border:1px solid var(--line);border-radius:12px;overflow-x:auto}.tab{flex:1;border:0;border-radius:8px;padding:8px 10px;background:transparent;color:var(--muted);font-size:12px;white-space:nowrap}.tab.active{background:#6f9cf5;color:#07101f;font-weight:750}.config-card{order:-2}.status-card{order:-1}.stat-phase{font-size:20px}.placeholder{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1px dashed var(--line);border-radius:12px;color:var(--muted)}.placeholder-title{color:var(--text);font-size:15px;font-weight:650}.placeholder p{margin:0;font-size:12px}.screen-card{position:static}.hero-card .card-title{margin-bottom:10px}.hero-strip{display:flex;flex-wrap:wrap;gap:5px;align-items:center;overflow:visible}.hero-chip{position:relative;display:inline-flex;align-items:center;gap:5px;min-height:26px;padding:1px 9px 1px 6px;background:#0e12118c;border:1px solid var(--line);border-radius:999px;font-size:11px;white-space:nowrap;overflow:visible}.hero-chip-name{color:var(--text)}.hero-chip .hero-state{margin-left:0}.task-log{max-height:200px;overflow-y:auto;overflow-x:auto}.task-log thead th{position:sticky;top:0;z-index:1;background:#171d1b}.task-log tbody tr{height:36px}.logs{max-height:220px;min-height:0}@media (max-width: 1120px){.topbar-left{gap:12px}.tab{padding:7px 8px}.logs{max-height:220px}}.screen-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.screen-video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;background:#000;touch-action:none;-webkit-user-select:none;user-select:none;cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%2355d6a8' stroke-width='2'/%3E%3C/svg%3E") 12 12,pointer}.screen-video.click-disabled{cursor:not-allowed}.hidden{display:none!important}.tap-hint{position:absolute;left:10px;bottom:10px;padding:4px 9px;border-radius:999px;background:#0000008c;color:#d7e6de;font-size:11px;pointer-events:none}.tap-ping{position:absolute;width:22px;height:22px;margin:-11px 0 0 -11px;border:2px solid var(--accent);border-radius:50%;pointer-events:none;animation:tap-ping .45s ease-out forwards}@keyframes tap-ping{0%{transform:scale(.6);opacity:1}to{transform:scale(2.2);opacity:0}}.hero-task{color:var(--muted)}.hero-dot.battle{background:var(--danger);box-shadow:0 0 8px #ff6b6b73}.hero-chip.tone-battle{border-color:#ff6b6b59}.hero-chip.tone-busy{border-color:#f0b45a4d}.hero-chip.tone-free{border-color:#55d6a838}.topbar{align-items:center;flex-wrap:nowrap}.brand-block{display:flex;align-items:center;gap:16px;flex:0 0 auto}.brand-copy{flex:0 0 auto}.topbar-lord{flex:0 1 320px;width:300px;padding:5px 9px;gap:8px}.topbar-lord .lord-avatar{width:44px;height:44px;border-radius:8px}.topbar-lord .lord-line strong{font-size:13px}.topbar-lord .lord-troops{gap:6px;font-size:9px}.topbar-tabs{order:0;flex:1 1 0;min-width:0;margin-left:0;flex-direction:column;align-items:stretch;gap:5px;overflow:visible}.nav-row{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.nav-group{flex:0 0 auto;border:0;border-radius:7px;padding:5px 13px;background:transparent;color:#9aa9bd;font-size:11px;font-weight:650;cursor:pointer}.nav-group.active{background:#6f9cf538;color:#cfe0ff}.nav-secondary{padding-top:4px;border-top:1px solid rgba(255,255,255,.07)}.topbar-tabs .tab{flex:0 0 auto;padding:6px 11px}.nav-secondary .tab{padding:6px 10px;font-size:11px}.top-right{flex:0 0 auto;margin-left:0}.title-left{display:flex;align-items:center;gap:10px;min-width:0}.run-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}button.small{padding:6px 10px;font-size:12px}@media (max-width: 1120px){.topbar{flex-wrap:wrap}.topbar-tabs{order:3;width:100%;flex:1 1 100%;margin-left:0}.top-right{margin-left:auto}}.form-actions{display:flex;gap:8px}.form-actions button{flex:1}.queue-strip{display:flex;flex-wrap:wrap;gap:6px}.queue-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid var(--line);border-radius:999px;background:#0e121180;font-size:11px}.queue-chip.active{border-color:#f0b45a59;color:var(--accent-2)}.queue-chip.idle{color:var(--muted)}.queue-index{color:var(--muted);font-variant-numeric:tabular-nums}.tap-hint-inline{color:var(--muted);font-size:11px;border:1px solid var(--line);border-radius:999px;padding:3px 8px;white-space:nowrap}.status-strip{display:flex;align-items:stretch;gap:12px;margin-bottom:14px;min-width:0}.lord-bar{flex:0 0 330px;display:flex;align-items:center;gap:12px;padding:8px 14px;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#171d1bbf}.lord-avatar{width:58px;height:58px;flex:0 0 auto;border-radius:10px;object-fit:cover;border:2px solid rgba(240,180,90,.45);box-shadow:0 4px 12px #00000059}.lord-info{display:grid;gap:2px;min-width:0;flex:1}.lord-line{display:flex;align-items:baseline;gap:8px;min-width:0;font-size:11px;color:var(--muted)}.lord-line strong{color:var(--text);font-size:15px;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}.lord-meta{justify-content:space-between;gap:12px}.lord-power,.lord-stamina{display:inline-flex;align-items:baseline;gap:5px;white-space:nowrap}.lord-stamina{margin-left:auto}.lord-troops{display:flex;flex-wrap:wrap;gap:8px;font-size:10px;color:var(--muted);white-space:nowrap}.status-strip .hero-bar{flex:1;min-width:0;margin-bottom:0}.hero-bar{display:flex;align-items:center;gap:10px;padding:4px 10px;margin-bottom:14px;overflow:visible;border:1px solid var(--line);border-radius:12px;background:#171d1bbf}@media (max-width: 860px){.status-strip{flex-wrap:wrap}.lord-bar{flex:1 1 100%}}.hero-bar-label{color:var(--muted);font-size:11px;letter-spacing:.5px;flex:0 0 auto}.hero-bar .hero-strip{flex-wrap:wrap;min-height:0}.switch{display:flex;align-items:center;gap:14px;width:100%;padding:8px 14px;border:1px solid var(--line);border-radius:12px;background:#0e121180;color:var(--text);text-align:left;cursor:pointer}.switch:disabled{opacity:.55;cursor:wait}.switch-track{position:relative;flex:0 0 auto;width:46px;height:26px;border-radius:999px;background:#2b3732;transition:background .18s ease}.switch-knob{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#93a49b;transition:transform .18s ease,background .18s ease}.switch.on .switch-track{background:#55d6a859}.switch.on .switch-knob{transform:translate(20px);background:var(--accent)}.switch-label{display:flex;flex-direction:column;gap:2px;font-size:13px;font-weight:650}.switch-label small{color:var(--muted);font-size:11px;font-weight:400}.tab-state{margin-right:4px;font-size:11px}.history-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:24px;background:#040706b8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.history-panel{width:min(1120px,96vw);height:min(820px,88vh);display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--panel);box-shadow:0 24px 80px #00000073}.history-head,.history-toolbar,.history-foot{display:flex;align-items:center;gap:12px;padding:14px 18px}.history-head{justify-content:space-between;border-bottom:1px solid var(--line)}.history-head h2{margin:0 0 4px;font-size:18px}.history-toolbar{flex-wrap:wrap;border-bottom:1px solid var(--line)}.history-toolbar select{border:1px solid var(--line);border-radius:8px;background:var(--panel-2);color:var(--text);padding:7px 10px}.history-tabs{display:flex;gap:4px;padding:3px;border:1px solid var(--line);border-radius:10px}.history-tabs button{border:0;border-radius:7px;background:transparent;color:var(--muted);padding:6px 12px;cursor:pointer}.history-tabs button.active{background:var(--accent);color:#07130f;font-weight:700}.history-body{flex:1;overflow:auto;padding:0 18px}.history-table{width:100%;border-collapse:collapse;font-size:13px}.history-table th,.history-table td{border-bottom:1px solid var(--line);padding:10px 8px;text-align:left;vertical-align:top}.history-table th{position:sticky;top:0;z-index:1;color:var(--muted);background:var(--panel);font-weight:600}.history-summary{min-width:220px}.history-logs{display:flex;flex-direction:column;gap:2px;padding:10px 0}.history-log-module{min-width:74px}.history-foot{justify-content:space-between;border-top:1px solid var(--line)}@media (max-width: 760px){.history-overlay{padding:8px}.history-panel{width:100%;height:94vh}.history-table th:nth-child(3),.history-table td:nth-child(3),.history-table th:nth-child(6),.history-table td:nth-child(6){display:none}}.game-icon{display:inline-block;object-fit:contain;flex:0 0 auto}.switch-icon-slot{height:80px;flex:0 0 auto;display:flex;align-items:center;justify-content:flex-start;overflow:visible}.switch-icon-slot.square{width:80px}.switch-icon-slot.wide{width:160px}.switch-icon{width:100%;height:100%;object-fit:contain;object-position:left center;filter:drop-shadow(0 5px 12px rgba(0,0,0,.38))}.switch-icon-slot.wide .switch-icon{height:auto}.hero-portrait{width:46px;height:46px;margin:-10px 0 -10px -5px;border-radius:50%;object-fit:cover;border:2px solid rgba(14,18,17,.85);box-shadow:0 4px 12px #00000059;position:relative;z-index:2}.dashboard-col{grid-area:1 / 1 / auto / -1;display:flex;flex-direction:column;gap:16px;min-width:0}.dashboard-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:4px 2px 2px}.dashboard-head h2{margin:0 0 4px;font-size:22px}.kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.kpi-card{display:flex;flex-direction:column;gap:6px;padding:18px;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(180deg,#1e2623eb,#171d1beb)}.kpi-card span{color:var(--muted);font-size:12px}.kpi-card strong{font-size:34px;line-height:1}.kpi-card small{color:var(--muted);font-size:11px}.kpi-card.success strong{color:var(--accent)}.kpi-card.warn strong{color:var(--warn)}.kpi-card.danger strong{color:var(--danger)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);gap:16px}.dashboard-card{min-width:0}.bar-chart{display:flex;flex-direction:column;gap:12px;padding-top:8px}.bar-row{display:grid;grid-template-columns:92px minmax(0,1fr) 42px;align-items:center;gap:10px}.bar-label{color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bar-track{height:12px;overflow:hidden;border-radius:999px;background:#0e1211b3;border:1px solid var(--line)}.bar-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent),#86e9c7);transition:width .35s ease}.bar-value{text-align:right;font-variant-numeric:tabular-nums;font-size:13px}.result-chart{display:flex;align-items:center;gap:26px;padding:12px 6px}.donut{width:156px;height:156px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto}.donut-hole{width:106px;height:106px;border-radius:50%;background:var(--panel);display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--line)}.donut-hole strong{font-size:24px}.donut-hole small{color:var(--muted);font-size:11px}.legend{display:flex;flex-direction:column;gap:9px;color:var(--muted);font-size:12px}.legend span{display:flex;align-items:center;gap:7px}.legend i{width:9px;height:9px;border-radius:50%}@media (max-width: 1100px){.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}}@media (max-width: 620px){.kpi-grid{grid-template-columns:1fr}.result-chart{flex-direction:column}}.training-units{display:flex;flex-direction:column;gap:10px}.training-status{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid var(--line);border-radius:14px;background:#0e12116b}.training-status-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.training-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.training-status-card{display:flex;flex-direction:column;gap:7px;min-height:94px;padding:10px;border:1px solid var(--line);border-radius:12px;background:#070b0a5c}.training-status-card.active{border-color:#5ccd9c61}.training-status-card.done{border-color:#f4be5c8c}.training-status-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.training-status-count{color:var(--muted);font-size:11px}.training-status-time{display:flex;flex-direction:column;gap:2px;font-size:20px;font-variant-numeric:tabular-nums;font-weight:650;letter-spacing:.02em}.training-status-time small{color:var(--muted);font-size:11px;font-weight:400;letter-spacing:0}.training-status-card.done .training-status-time small{color:#f4be5c}.training-status-bar{height:4px;overflow:hidden;border-radius:999px;background:#ffffff14}.training-status-bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#45c993,#8fdfb8);transition:width .6s linear}.training-status-card.done .training-status-bar span{background:linear-gradient(90deg,#e8a83e,#f4ce75)}.training-status-source,.training-status-empty{color:var(--muted);font-size:11px}.training-status-empty{margin:auto 0}@media (max-width: 760px){.training-status-grid{grid-template-columns:1fr}}.training-unit{display:flex;flex-direction:column;gap:6px;padding:8px;border:1px solid var(--line);border-radius:12px;background:#0e12114d}.strategy-switch{display:flex;align-items:center;gap:7px;flex:0 0 auto}.strategy-caption{color:var(--muted);font-size:11px}.strategy-chip{display:inline-flex;align-items:center;gap:10px;max-width:190px;padding:8px 12px;border:1px solid rgba(111,156,245,.42);border-radius:9px;background:#6f9cf51f;color:#cfe0ff;font-size:12px;cursor:pointer}.strategy-chip strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.strategy-panel{width:min(820px,96vw);max-height:min(760px,88vh);display:flex;flex-direction:column;gap:14px;padding:18px;overflow:auto;border:1px solid var(--line);border-radius:16px;background:#141a18;box-shadow:0 24px 70px #0000008c}.strategy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.strategy-head h2{margin:0 0 4px;font-size:18px}.strategy-list{display:flex;flex-direction:column;gap:7px}.strategy-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#171d1bbf}.strategy-row.active{border-color:#55d6a880;background:#55d6a814}.strategy-row-name{display:flex;flex-direction:column;gap:3px;min-width:0}.strategy-row-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.strategy-row-name small{color:var(--muted);font-size:10px}.strategy-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:flex-end}.strategy-foot{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-top:4px}.strategy-dialog{width:min(700px,96vw)}.strategy-view-actions{display:flex;gap:7px;flex-wrap:wrap}.strategy-json{max-height:380px;margin:0;padding:12px;overflow:auto;border:1px solid var(--line);border-radius:10px;background:#050908a6;color:#cfe0ff;font-size:11px;line-height:1.5}@media (max-width: 1120px){.brand-block{width:100%;justify-content:space-between}.topbar-lord{flex:1 1 280px;width:auto}}@media (max-width: 620px){.brand-block{align-items:flex-start;flex-direction:column}.topbar-lord{width:100%}.strategy-row{align-items:flex-start;flex-direction:column}.strategy-actions{justify-content:flex-start}}.strategy-overview{display:flex;flex-direction:column;gap:8px}.strategy-overview-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.strategy-overview-head h3{margin:0;font-size:14px}.strategy-table-wrap{max-height:300px;overflow:auto;border:1px solid var(--line);border-radius:10px}.strategy-table{width:100%;border-collapse:collapse;font-size:11px}.strategy-table th,.strategy-table td{padding:6px 9px;text-align:left;border-bottom:1px solid rgba(255,255,255,.06);white-space:nowrap}.strategy-table th{position:sticky;top:0;z-index:1;background:#171d1b;color:var(--muted);font-weight:600}.strategy-table tr.personalized td{background:#f0b45a14}.strategy-table tr.personalized td:nth-child(3){color:#f0b45a;font-weight:650}.strategy-dirty{padding:1px 5px;border-radius:999px;background:#f0b45a2e;color:#f0b45a;font-size:9px;white-space:nowrap}.field.personalized{outline:1px solid rgba(240,180,90,.72);outline-offset:3px;border-radius:8px}.field.personalized>span:first-child:after{content:"个性化";margin-left:7px;padding:1px 5px;border-radius:999px;background:#f0b45a29;color:#f0b45a;font-size:9px;font-weight:500}.switch.personalized{border-color:#f0b45aa6;box-shadow:0 0 0 1px #f0b45a2e,0 5px 16px #00000040}.topbar{display:grid;grid-template-columns:auto minmax(320px,1fr) auto;align-items:center}.topbar .brand-block{min-width:0}.topbar-lord{width:300px;overflow:visible}.topbar-lord .lord-avatar{width:76px;height:76px;margin:-14px 0 -14px -8px;border-radius:12px}@media (max-width: 1120px){.topbar{display:flex}.topbar-lord{width:auto}.topbar-lord .lord-avatar{width:64px;height:64px;margin:-8px 0 -8px -4px}}.topbar-lord .lord-meta{justify-content:flex-start;gap:14px}.topbar-lord .lord-stamina{margin-left:0}.topbar-lord{min-height:78px;padding:8px 12px}.topbar-lord .lord-info{gap:3px}.topbar-lord .lord-line{font-size:12px}.topbar-lord .lord-line strong{font-size:17px}.topbar-lord .lord-troops{gap:10px;font-size:11px}.topbar-lord{overflow:visible}.topbar{display:flex;align-items:center;gap:0}.brand-block{flex:0 0 auto}.topbar-tabs{flex:0 1 auto;width:auto;margin-left:24px}.top-right{margin-left:auto}.topbar-lord{height:70px;min-height:70px;padding:4px 12px;align-self:center}.topbar-lord .lord-info{gap:1px}.topbar-tabs{margin-left:36px}@media (max-width: 1120px){.topbar-tabs{margin-left:0}}.strategy-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:430px;padding:2px;overflow:auto}.strategy-editor .field{min-width:0}@media (max-width: 620px){.strategy-editor{grid-template-columns:1fr}}.strategy-publish-choice{display:flex;gap:18px;flex-wrap:wrap;color:var(--text);font-size:12px}.strategy-publish-choice label{display:inline-flex;align-items:center;gap:6px}.strategy-workbench{width:min(980px,96vw)}.strategy-source-list{display:flex;flex-direction:column;gap:6px;max-height:210px;overflow:auto;padding-right:3px}.strategy-source-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 9px;border:1px solid var(--line);border-radius:9px;background:#171d1bb3}.strategy-source-row.selected{border-color:#6f9cf5b3;background:#6f9cf521}.strategy-source-main{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;border:0;background:transparent;color:var(--text);text-align:left;cursor:pointer}.strategy-source-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.strategy-source-main small{color:var(--muted);font-size:10px}.strategy-source-actions{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:flex-end}.strategy-editor-panel{display:flex;flex-direction:column;gap:10px;min-height:0;padding:12px;border:1px solid var(--line);border-radius:12px;background:#0e121173}.strategy-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.strategy-editor-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.strategy-loading{color:#f0b45a;font-size:11px}.strategy-loading-box{min-height:180px;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:12px}.strategy-spinner{width:16px;height:16px;border:2px solid rgba(240,180,90,.25);border-top-color:#f0b45a;border-radius:50%;animation:strategy-spin .7s linear infinite}@keyframes strategy-spin{to{transform:rotate(360deg)}}.topbar-lord{flex:0 0 360px;width:360px}@media (max-width: 1120px){.topbar-lord{flex:1 1 auto;width:auto}}.strategy-source-row{cursor:pointer}.strategy-source-main{flex:1}.strategy-editor-panel{height:520px}.strategy-editor-panel .strategy-editor{flex:1 1 auto;min-height:0;max-height:none;align-content:start}.strategy-editor-panel .strategy-loading-box{flex:1 1 auto;min-height:0}.strategy-editor-panel{flex:0 0 520px;min-height:520px}.strategy-source-main{align-self:stretch;cursor:pointer}.strategy-source-actions{align-self:stretch;align-items:center;cursor:default}.strategy-workbench-body{display:grid;grid-template-columns:360px minmax(0,1fr);gap:12px;min-height:0}.strategy-side{display:flex;flex-direction:column;gap:10px;min-height:0;height:520px}.strategy-side .strategy-source-list{flex:1 1 auto;min-height:0;max-height:none}.strategy-side-actions{display:flex;flex-direction:column;gap:8px}.strategy-side-actions button{width:100%}@media (max-width: 760px){.strategy-workbench-body{grid-template-columns:1fr}.strategy-side{height:auto}.strategy-side .strategy-source-list{max-height:220px}.strategy-editor-panel{height:480px;min-height:480px}}.strategy-current-block{display:flex;flex-direction:column;gap:8px}.strategy-current-block>button{width:100%}.strategy-current-block{margin-bottom:10px}.strategy-panel.strategy-workbench{height:min(860px,92vh);max-height:min(860px,92vh);gap:20px;overflow:hidden}.strategy-workbench-body{flex:1 1 auto;min-height:0;grid-template-columns:360px minmax(0,1fr);gap:20px}.strategy-side{height:100%;min-height:0;gap:20px}.strategy-current-block{gap:10px;margin-bottom:0}.strategy-source-list{flex:1 1 auto;min-height:210px;gap:6px}.strategy-side-actions{gap:10px}.strategy-editor-panel{height:100%;min-height:0;flex:1 1 auto;gap:20px}@media (max-width: 760px){.strategy-panel.strategy-workbench{height:auto;max-height:92vh;overflow:auto}.strategy-workbench-body{display:flex;flex-direction:column}.strategy-side{height:auto}.strategy-source-list{min-height:210px}}.strategy-editor-panel .strategy-editor{display:flex;flex-direction:column;gap:14px;overflow:auto}.strategy-editor-group{display:flex;flex-direction:column;gap:7px}.strategy-editor-group h4{margin:0;color:var(--muted);font-size:10px;font-weight:650;letter-spacing:.6px}.strategy-editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 14px}.strategy-editor-panel .strategy-editor .field{display:grid;grid-template-columns:minmax(0,1fr) minmax(82px,118px);align-items:center;gap:8px;min-width:0;font-size:11px}.strategy-editor-panel .strategy-editor .field>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.strategy-editor-panel .strategy-editor .field>input{width:100%;min-width:0;height:28px;padding:4px 7px;font-size:11px}.strategy-editor-panel .strategy-editor .field-check{grid-template-columns:minmax(0,1fr) 24px}.strategy-editor-panel .strategy-editor .field-check>input{width:16px;height:16px;padding:0;justify-self:start}.strategy-editor-panel .strategy-editor .field-wide{grid-column:1 / -1;grid-template-columns:minmax(0,180px) minmax(0,1fr)}@media (max-width: 620px){.strategy-editor-fields{grid-template-columns:1fr}}.strategy-panel.strategy-workbench{height:min(730px,92vh);max-height:min(730px,92vh)}.strategy-editor-group{gap:9px;padding-top:12px;border-top:1px solid rgba(255,255,255,.09)}.strategy-editor-group:first-child{padding-top:0;border-top:0}.strategy-editor-group h4{display:flex;align-items:center;gap:9px;margin:0;color:#d7e3f5;font-size:12px;font-weight:700;letter-spacing:.4px}.strategy-editor-group h4:after{content:"";height:1px;flex:1;background:linear-gradient(90deg,rgba(111,156,245,.28),transparent)}.strategy-panel.strategy-workbench{height:min(695px,92vh);max-height:min(695px,92vh)}@media (max-width: 760px){.strategy-panel.strategy-workbench{height:auto;max-height:92vh}}.strategy-editor-group h4{font-size:14px}.stamina-page{grid-column:1 / -1}.stamina-page .card{display:flex;flex-direction:column;gap:12px}.stamina-filter{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:11px;white-space:nowrap}.stamina-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.stamina-summary>div{display:flex;flex-direction:column;gap:3px;padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:#171d1bb3}.stamina-summary span{color:var(--muted);font-size:10px}.stamina-summary strong{font-size:18px;font-variant-numeric:tabular-nums}.stamina-table{max-height:520px;overflow:auto}.stamina-table td{vertical-align:top;white-space:normal}.stamina-table th:nth-child(1),.stamina-table td:nth-child(1){white-space:nowrap}.stamina-amount{font-variant-numeric:tabular-nums;font-weight:650}.stamina-income .stamina-amount,.stamina-regen .stamina-amount{color:var(--accent)}.stamina-expense .stamina-amount{color:#ffb4b4}.stamina-adjustment .stamina-amount{color:#f0b45a}.stamina-sync{opacity:.78}@media (max-width: 900px){.stamina-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}.stamina-error{background:#ff6b6b17}.stamina-error .stamina-amount,.stamina-error td:nth-child(5){color:#ff9e9e;font-weight:700}.lord-stamina-button{border:0;padding:10px 0;background:transparent;color:inherit;cursor:pointer}.lord-stamina-button:hover{color:var(--accent)}.stamina-modal{width:min(1120px,96vw);max-height:90vh;overflow:auto}.stamina-title-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.arena-today{display:flex;flex-direction:column;gap:3px;padding:10px 12px;border:1px solid rgba(92,205,156,.26);border-radius:12px;background:#152f276b}.arena-today strong{color:var(--text);font-size:13px;font-weight:600;line-height:1.45}.arena-today span{color:var(--muted);font-size:11px;line-height:1.45}.capture-modal{width:min(460px,92vw);display:flex;flex-direction:column;gap:12px;padding:18px;border:1px solid var(--line);border-radius:16px;background:#111816;box-shadow:0 24px 80px #00000073}.capture-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.capture-head h3{margin:0;font-size:17px}.capture-name{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted)}.capture-name input{width:100%}.capture-result{display:flex;flex-direction:column;gap:3px;padding:10px 12px;border:1px solid rgba(92,205,156,.35);border-radius:10px;background:#152f2773;font-size:12px}.capture-result span{color:var(--muted)}.capture-result a{color:#7fe0b2}.screen-card .card-title{flex-wrap:nowrap;gap:8px}.screen-card .card-title .title-left{min-width:0;flex-wrap:nowrap;gap:8px;white-space:nowrap}.screen-card .card-title .title-left .muted,.screen-card .card-title .title-left .danger-text.small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.screen-card .screen-actions{flex:0 0 auto;gap:6px}.screen-card .screen-actions .small{padding-left:9px;padding-right:9px}.gallery-overlay{z-index:120}.gallery-panel{width:min(1440px,98vw);height:min(888px,calc(100vh - 112px));display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--panel);box-shadow:0 24px 80px #00000080}.gallery-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;border-bottom:1px solid var(--line)}.gallery-title{display:flex;flex-direction:column;gap:3px;min-width:0}.gallery-title h2{margin:0;font-size:17px}.gallery-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.gallery-search{width:190px;min-height:30px;padding:6px 8px;font-size:12px}.gallery-filter{display:inline-flex;padding:2px;border:1px solid var(--line);border-radius:8px}.gallery-filter button{padding:3px 8px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:11px;cursor:pointer}.gallery-filter button.active{background:#5ccd9c29;color:var(--accent)}.gallery-body{min-height:0;flex:1;display:grid;grid-template-columns:minmax(344px,.344fr) minmax(0,1fr)}.gallery-list-wrap{min-height:0;overflow:hidden;display:flex;flex-direction:column;padding:5px 14px}.gallery-grid{flex:1;min-height:0;overflow:auto;align-content:start;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:9px;padding:2px 4px 8px 0}.gallery-card{display:flex;flex-direction:column;gap:3px;min-width:0;padding:3px 4px;border:1px solid var(--line);border-radius:10px;background:#0d1311b3;color:var(--text);text-align:left;cursor:pointer}.gallery-card.manual{border-color:#69ebaaeb}.gallery-card.bug{border-color:#962a2ad9}.gallery-card.moment{border-color:#ffa518eb}.gallery-card.selected{border-color:#6f9cf5;border-width:2px;box-shadow:0 0 0 1px #6f9cf5 inset}.gallery-card:hover:not(:disabled){border-color:#9fd8ff;box-shadow:0 0 0 1px #9fd8ff47 inset}.gallery-thumb{position:relative;display:block;aspect-ratio:9 / 16;overflow:hidden;border-radius:7px;background:#050807}.gallery-card-favorite{position:absolute;top:4px;right:4px;width:22px;height:22px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#00000094;color:#fff;font-size:16px;line-height:1;cursor:pointer;z-index:2}.gallery-card-favorite.active{color:#ffd45c}.gallery-favorite-button{border:1px solid var(--line);border-radius:8px;background:var(--panel-2);color:var(--muted);padding:2px 8px;font-size:12px;cursor:pointer}.gallery-favorite-button.active{border-color:#c69b32;color:#ffd45c}.gallery-thumb img{width:100%;height:100%;object-fit:cover;display:block}.gallery-card-date,.gallery-card-time{display:block;color:var(--muted);font-size:12px;line-height:1.3;white-space:nowrap;overflow:visible}.gallery-card-time-row{display:flex;align-items:baseline;justify-content:space-between;gap:4px;min-width:0}.gallery-card-seq{display:inline-block;color:var(--accent);font-size:11px;font-weight:700;line-height:1.3;white-space:nowrap}.intel-today{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#0d131180}.intel-today p{margin:0}.screen-title-publish{cursor:pointer;text-decoration:underline dotted transparent;text-underline-offset:5px}.screen-title-publish:hover{color:var(--accent);text-decoration-color:currentColor}.live-share-modal{width:min(560px,92vw)}.live-share-modal .live-share-url a{flex:1}.live-share-meta{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:10px;margin-bottom:10px}.live-share-meta label,.live-overview-settings label{display:flex;flex-direction:column;gap:4px;color:var(--muted);font-size:12px}.live-share-meta input,.live-share-meta select{width:100%}.live-overview{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid var(--line);border-radius:10px;background:#ffffff05}.live-overview-head,.live-overview-settings,.live-timeline{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:space-between}.live-overview-settings label{flex-direction:row;align-items:center}.live-overview-settings input{width:64px;padding:5px 7px}.live-timeline{color:var(--accent)}.live-timeline svg{width:100%;height:36px;overflow:visible}.live-share-row{display:flex;align-items:end;gap:10px}.live-share-row label{display:flex;flex-direction:column;gap:4px;color:var(--muted);font-size:12px}.live-share-row input{width:120px}.live-share-duration{display:flex;align-items:center;gap:8px}.live-share-duration input{width:72px}.live-share-duration select{min-width:100px}.live-share-url{display:flex;align-items:center;gap:8px;min-width:0}.live-share-url a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--accent)}.live-share-list{display:flex;flex-direction:column;gap:6px;max-height:260px;overflow-y:auto;padding-top:10px;border-top:1px solid var(--line)}.live-share-list-head{display:flex;align-items:center;justify-content:space-between}.live-share-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#ffffff05}.live-share-item.revoked,.live-share-item.expired{opacity:.55}.live-share-item-main{display:flex;flex-direction:column;gap:2px;min-width:0}.live-share-item-main a{color:var(--accent);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.live-share-item-stats{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;white-space:nowrap}.live-link-spark{width:80px;height:18px;color:var(--accent);overflow:visible}.gallery-pager{flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:12px;padding:6px 0;border-top:1px solid var(--line)}.gallery-preview{min-height:0;display:flex;flex-direction:column;order:-1;border-right:1px solid var(--line);background:#080c0b8c}.gallery-preview-image{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:10px 0;background:transparent}.gallery-phone-frame{height:100%;max-width:100%;aspect-ratio:9 / 16;padding:0;box-sizing:border-box;background:transparent}.gallery-phone-frame img{width:100%;height:100%;display:block;object-fit:contain;cursor:zoom-in}.gallery-preview-image img{max-width:100%;max-height:100%;object-fit:contain}.gallery-preview-meta{order:-1;flex:0 0 200px;height:200px;overflow:auto;display:flex;flex-direction:column;gap:7px;margin-bottom:0;padding:14px 16px 0;border-bottom:1px solid var(--line);font-size:13px}.gallery-preview-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;line-height:1.35}.gallery-preview-line2{display:flex;align-items:center;gap:8px;min-width:0;color:var(--muted);font-size:12px;white-space:nowrap}.gallery-preview-seq{padding:1px 5px;border:1px solid rgba(92,205,156,.3);border-radius:5px;color:#9fe6c0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.gallery-preview-date{margin-left:auto;font-variant-numeric:tabular-nums}.gallery-preview-size{font-variant-numeric:tabular-nums}.gallery-preview-meta span,.gallery-preview-meta code{color:var(--muted);overflow-wrap:anywhere;line-height:1.5}.gallery-focus{max-height:52px;overflow:auto;font-size:9px}.gallery-preview-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}.gallery-preview-actions a{text-decoration:none}.gallery-open{white-space:nowrap}@media (max-width: 900px){.gallery-body{grid-template-columns:1fr}.gallery-preview{display:none}.gallery-head{align-items:flex-start;flex-direction:column}.gallery-actions{justify-content:flex-start}}.gallery-evidence{display:flex;flex-direction:column;gap:6px;min-height:0}.gallery-evidence-item{display:flex;flex-direction:column;gap:3px;padding:7px 8px;border:1px solid rgba(240,198,116,.22);border-radius:7px;background:#3a2c1447}.gallery-evidence-head{display:flex;flex-direction:column;gap:2px;color:var(--muted);font-size:13px;line-height:1.4;white-space:nowrap}.gallery-evidence-desc{margin:0;height:2.8em;overflow:hidden;color:#ffd2a0;font-size:14px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.gallery-evidence-item small{color:var(--muted);font-size:12px;overflow-wrap:anywhere}.gallery-lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:160;display:flex;align-items:center;justify-content:center;padding:12px;background:#000000e6;cursor:zoom-out}.gallery-lightbox-panel{display:flex;width:auto;max-width:100%;height:100%;min-height:0;gap:12px;align-items:stretch;justify-content:center;cursor:default}.gallery-lightbox-side{display:flex;flex:0 0 360px;flex-direction:column;gap:12px;min-height:0}.gallery-lightbox-info,.gallery-lightbox-expected{min-height:0;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--panel);overflow:auto}.gallery-lightbox-info{flex:1 1 56%}.gallery-lightbox-expected{flex:1 1 44%}.gallery-lightbox-side h3{margin:0 0 8px;font-size:14px}.gallery-lightbox-meta{display:flex;flex-wrap:wrap;gap:6px 12px;margin-bottom:8px;color:var(--muted);font-size:12px}.gallery-lightbox-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px}.gallery-lightbox-actions .ghost.small{display:inline-flex;align-items:center;justify-content:center;min-height:26px;line-height:1}.gallery-lightbox-event{padding:8px 0;border-top:1px solid var(--line);font-size:13px}.gallery-lightbox-event p{margin:4px 0}.gallery-expected-item{display:flex;flex-direction:column;gap:6px;margin-bottom:10px}.gallery-expected-label{color:var(--muted);font-size:12px}.gallery-expected-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px}.gallery-expected-thumb{display:flex;flex-direction:column;gap:4px;padding:5px;border:1px solid var(--line);border-radius:8px;background:var(--panel-2);color:var(--muted);text-align:center;cursor:copy}.gallery-expected-thumb:hover{border-color:#9fd8ff;color:var(--text)}.gallery-expected-thumb span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.gallery-expected-item img{max-width:100%;max-height:120px;object-fit:contain;border-radius:8px;background:#050807}.gallery-lightbox-image{position:relative;flex:0 0 auto;height:100%;aspect-ratio:9 / 16;max-width:calc(100vw - 400px);min-width:0;min-height:0;display:flex;align-items:center;justify-content:center}.gallery-lightbox-nav{position:absolute;top:50%;z-index:2;width:42px;height:72px;transform:translateY(-50%);border:1px solid rgba(255,255,255,.2);border-radius:10px;background:#00000073;color:#fff;font-size:42px;line-height:1;cursor:pointer;opacity:.7}.gallery-lightbox-nav:hover{opacity:1;background:#000000b3}.gallery-lightbox-nav.prev{left:8px}.gallery-lightbox-nav.next{right:8px}.gallery-lightbox-image img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;box-shadow:0 20px 60px #0009;cursor:default}.gallery-cause{min-height:30px;padding:4px 8px;border:1px solid var(--line);border-radius:8px;background:var(--panel-2);color:var(--text);font-size:12px}.asset-editor-overlay{z-index:200;align-items:stretch;justify-content:stretch;padding:18px}.asset-editor-panel{display:flex;flex-direction:column;width:100%;height:100%;min-width:0;min-height:0;gap:10px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#0d1311}.asset-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.asset-editor-head h2{margin:0 0 4px}.asset-editor-id-row,.asset-editor-head-actions,.asset-editor-toolbar,.asset-reference-head,.asset-shape-list-head,.asset-editor-saved{display:flex;align-items:center;gap:8px}.asset-editor-id-row code,.asset-reference-id{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9fd8ff;font-size:12px}.asset-editor-toolbar{flex-wrap:wrap;padding:8px;border:1px solid var(--line);border-radius:10px;background:#ffffff05}.asset-editor-divider{width:1px;height:22px;margin:0 4px;background:var(--line)}.asset-color{width:22px;height:22px;padding:0;border:2px solid transparent;border-radius:50%;cursor:pointer}.asset-color.active{border-color:#fff;box-shadow:0 0 0 2px #ffffff40}.asset-editor-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.15fr);gap:14px;min-height:0;flex:1}.asset-editor-canvas-pane,.asset-editor-side{display:flex;flex-direction:column;min-width:0;min-height:0;gap:8px}.asset-editor-canvas-scroll{flex:1;min-height:0;overflow:auto;border:1px solid var(--line);border-radius:10px;background:#050807;overscroll-behavior:contain}.asset-editor-canvas-wrap{position:relative;min-width:100%}.asset-editor-canvas{display:block;width:100%;height:auto;cursor:crosshair;touch-action:none;-webkit-user-select:none;user-select:none}.asset-editor-canvas.pixelated{image-rendering:pixelated}.asset-pixel-grid{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background-image:linear-gradient(to right,rgba(255,255,255,.18) 1px,transparent 1px),linear-gradient(to bottom,rgba(255,255,255,.18) 1px,transparent 1px);background-repeat:repeat}.asset-editor-loading{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;color:var(--muted)}.asset-editor-hint{padding:6px 9px;border-radius:7px;background:#ffffff0a;color:var(--muted);font-size:12px}.asset-editor-side{overflow:auto;padding-right:2px}.asset-reference,.asset-editor-form{display:flex;flex-direction:column;gap:9px;padding:10px;border:1px solid var(--line);border-radius:10px;background:#0d1311b8}.asset-reference-head{justify-content:space-between}.asset-reference-image{display:flex;align-items:center;justify-content:center;min-height:150px;max-height:280px;padding:8px;overflow:auto;border-radius:8px;background-color:#111;background-image:linear-gradient(45deg,#1d2522 25%,transparent 25%),linear-gradient(-45deg,#1d2522 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#1d2522 75%),linear-gradient(-45deg,transparent 75%,#1d2522 75%);background-size:14px 14px;background-position:0 0,0 7px,7px -7px,-7px 0}.asset-reference-image img{max-width:100%;max-height:260px;image-rendering:pixelated;object-fit:contain}.asset-reference-id{cursor:copy}.asset-editor-form label{display:flex;flex-direction:column;gap:5px;color:var(--muted);font-size:12px}.asset-editor-form textarea{width:100%;resize:vertical;min-height:58px}.asset-variant-options{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:7px 8px;border:1px solid var(--line);border-radius:8px;color:var(--muted);font-size:12px}.asset-variant-options>span{margin-right:2px}.asset-variant-options label{flex-direction:row;align-items:center;gap:4px;color:var(--text);cursor:pointer}.asset-variant-options input{width:auto;margin:0}.asset-shape-list{display:flex;flex-direction:column;gap:5px}.asset-shape-list-head{justify-content:space-between;color:var(--muted);font-size:12px}.asset-shape-row{display:grid;grid-template-columns:10px 42px minmax(0,1fr);align-items:center;gap:7px;padding:6px 8px;border:1px solid var(--line);border-radius:7px;background:transparent;color:var(--text);font-size:12px;text-align:left;cursor:pointer}.asset-shape-row.selected{border-color:#9fd8ff;background:#9fd8ff14}.asset-shape-dot{width:9px;height:9px;border-radius:50%}.asset-shape-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}.asset-editor-saved{justify-content:space-between;padding:8px 10px;border:1px solid rgba(74,222,128,.4);border-radius:8px;color:#9af0b5;font-size:12px}.gallery-expected-open{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.gallery-expected-copy{display:flex;flex-direction:column;align-items:stretch;gap:1px;width:100%;padding:2px 3px;border:0;background:transparent;color:var(--muted);font-size:10px;text-align:left;cursor:copy}.gallery-expected-copy span,.gallery-expected-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gallery-expected-copy small{color:#6f817a;font-size:8px}@media (max-width: 900px){.asset-editor-body{grid-template-columns:minmax(0,1fr);overflow:auto}.asset-editor-side{max-height:42vh}}.feedback-overlay{z-index:210}.feedback-panel{display:flex;flex-direction:column;width:min(1180px,96vw);height:min(820px,92vh);gap:10px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#0d1311;box-shadow:0 24px 80px #00000080}.feedback-head,.feedback-head-actions,.feedback-detail-head,.feedback-actions,.feedback-meta{display:flex;align-items:center;gap:8px}.feedback-head{justify-content:space-between}.feedback-head h2{margin:0}.feedback-export{text-decoration:none}.feedback-body{display:grid;grid-template-columns:300px minmax(0,1fr);gap:12px;min-height:0;flex:1}.feedback-list{display:flex;flex-direction:column;gap:6px;overflow:auto;padding-right:2px}.feedback-card{display:grid;grid-template-columns:74px minmax(0,1fr);gap:8px;padding:7px;border:1px solid var(--line);border-radius:9px;background:#ffffff05;color:var(--text);text-align:left;cursor:pointer}.feedback-card.selected,.feedback-card:hover{border-color:#9fd8ff}.feedback-card img{width:74px;height:100%;max-height:126px;object-fit:contain;border-radius:5px;background:#050807}.feedback-card-main{display:flex;flex-direction:column;gap:4px;min-width:0}.feedback-card-main strong{font-size:12px}.feedback-card-main code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9fd8ff;font-size:10px}.feedback-status{align-self:flex-start;padding:2px 6px;border-radius:99px;font-size:10px;white-space:nowrap}.feedback-status.pending{background:#ffaa5029;color:#ffbd72}.feedback-status.progress{background:#50aaff29;color:#86c8ff}.feedback-status.fixed{background:#b478ff29;color:#ceb0ff}.feedback-status.approved{background:#4ade8029;color:#9af0b5}.feedback-status.rejected{background:#ff5c5c29;color:#ff9d9d}.feedback-detail{display:flex;flex-direction:column;gap:10px;min-width:0;overflow:auto;padding:10px;border:1px solid var(--line);border-radius:10px;background:#0d1311b8}.feedback-detail-head{justify-content:space-between}.feedback-detail-head h3{margin:0 0 3px}.feedback-detail-head code{color:#9fd8ff;font-size:11px}.feedback-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.feedback-images figure{margin:0;display:flex;flex-direction:column;gap:4px}.feedback-images figcaption{color:var(--muted);font-size:11px}.feedback-images img{width:100%;height:190px;object-fit:contain;border-radius:7px;background:#050807}.feedback-meta{flex-wrap:wrap;color:var(--muted);font-size:11px}.feedback-note,.feedback-resolution{margin:0;padding:8px 10px;border-radius:7px;background:#ffffff0a;font-size:12px;white-space:pre-wrap}.feedback-resolution{border-left:2px solid #4ade80}.feedback-shapes{display:flex;flex-direction:column;gap:4px;font-size:12px}.feedback-shapes>div{display:flex;align-items:center;gap:6px}.feedback-resolution-input{display:flex;flex-direction:column;gap:4px;color:var(--muted);font-size:12px}.feedback-resolution-input textarea{width:100%}@media (max-width: 760px){.feedback-body{grid-template-columns:minmax(0,1fr);overflow:auto}.feedback-list{max-height:30vh}.feedback-images{grid-template-columns:minmax(0,1fr)}}.asset-pixel{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:11px;white-space:nowrap}.asset-pixel-swatch{width:15px;height:15px;border:1px solid rgba(255,255,255,.35);border-radius:3px;background-image:linear-gradient(45deg,#333 25%,transparent 25%),linear-gradient(-45deg,#333 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#333 75%),linear-gradient(-45deg,transparent 75%,#333 75%);background-size:8px 8px;background-position:0 0,0 4px,4px -4px,-4px 0}.asset-editor-info{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid rgba(159,216,255,.35);border-radius:10px;background:#9fd8ff0d}.asset-info-head,.asset-info-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.asset-number-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.asset-number-grid label{display:flex;flex-direction:column;gap:3px;color:var(--muted);font-size:10px}.asset-number-grid input{width:100%;min-width:0;padding:5px 6px;font-size:12px}.asset-radius-row{display:grid;grid-template-columns:auto minmax(0,1fr) 58px;align-items:center;gap:7px;color:var(--muted);font-size:11px}.asset-radius-row input[type=range]{min-width:0}.asset-editor-canvas-scroll{background-color:#111;background-image:linear-gradient(45deg,#1d2522 25%,transparent 25%),linear-gradient(-45deg,#1d2522 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#1d2522 75%),linear-gradient(-45deg,transparent 75%,#1d2522 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}.asset-compare-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.asset-compare{display:flex;flex-direction:column;gap:8px}.asset-compare-item{display:flex;flex-direction:column;gap:4px}.asset-compare-label{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:10px}.asset-compare-label span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.asset-compare-image{display:flex;align-items:center;justify-content:center;width:100%;min-height:338px;height:338px;max-height:338px;padding:0;overflow:auto;border:1px solid var(--line);border-radius:8px;background-color:#111;background-image:linear-gradient(45deg,#1d2522 25%,transparent 25%),linear-gradient(-45deg,#1d2522 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#1d2522 75%),linear-gradient(-45deg,transparent 75%,#1d2522 75%);background-size:14px 14px;background-position:0 0,0 7px,7px -7px,-7px 0}.asset-compare-image img,.asset-compare-image canvas{image-rendering:pixelated}.asset-compare-image.no-checker{background-image:none;background-color:#050807}.asset-compare-image .preview-fit{width:auto;height:auto;max-width:100%;max-height:325px;object-fit:contain}.asset-compare-image .context-fit{width:100%;height:100%;object-fit:fill}.asset-editor-canvas.pixel-paint,.asset-preview-canvas.erase-mode{cursor:crosshair}.asset-flood-tolerance,.asset-preview-tolerance{display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:12px;white-space:nowrap}.asset-flood-tolerance input,.asset-preview-tolerance input{width:90px;margin:0}.asset-flood-tolerance span:last-child,.asset-preview-tolerance span:last-child{min-width:2ch;color:var(--text);text-align:right}.asset-pixel{display:inline-flex;align-items:center;gap:6px;padding:3px 6px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--muted);font-size:11px;white-space:nowrap;cursor:copy}.asset-pixel:hover,.asset-pixel.frozen{border-color:#9fd8ff73;background:#9fd8ff12;color:var(--text)}.asset-pixel small{color:#6f817a;font-size:9px}.asset-pixel.frozen small{color:#9fd8ff}.asset-range-readout{padding:3px 7px;border:1px solid rgba(74,222,128,.35);border-radius:6px;color:#9af0b5;font-size:11px;white-space:nowrap}.asset-pixel{font-size:15px}.asset-pixel small{font-size:12px}.asset-range-readout{font-size:15px}.asset-editor-head-actions .small{font-size:13px}.asset-preview-overlay{z-index:300;align-items:stretch;justify-content:stretch;padding:18px}.asset-preview-panel{display:flex;flex-direction:column;width:100%;height:100%;min-width:0;min-height:0;gap:8px;padding:14px;border:1px solid var(--line);border-radius:16px;background:#0d1311}.asset-preview-head,.asset-preview-actions,.asset-preview-readout{display:flex;align-items:center;gap:8px}.asset-preview-head{justify-content:space-between}.asset-preview-actions{flex-wrap:wrap;justify-content:flex-end}.asset-preview-head h2{margin:0 0 3px}.asset-preview-readout{justify-content:space-between;padding:6px 9px;border-radius:7px;background:#ffffff0a;color:var(--text);font-size:15px}.asset-preview-readout small{color:#9fd8ff;font-size:12px;white-space:nowrap}.asset-preview-scroll{flex:1;min-height:0;overflow:auto;border:1px solid var(--line);border-radius:10px;background-color:#111;background-image:linear-gradient(45deg,#1d2522 25%,transparent 25%),linear-gradient(-45deg,#1d2522 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#1d2522 75%),linear-gradient(-45deg,transparent 75%,#1d2522 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}.asset-preview-wrap{position:relative;min-width:100%}.asset-preview-canvas{display:block;width:100%;height:auto;touch-action:none;cursor:crosshair}.asset-preview-canvas.pixelated{image-rendering:pixelated}.asset-compare-image{position:relative}.asset-preview-expand{position:absolute;top:4px;right:4px;width:24px;height:22px;padding:0;border:1px solid rgba(255,255,255,.25);border-radius:5px;background:#0000008c;color:#fff;font-size:13px;line-height:1;cursor:pointer;opacity:.72}.asset-preview-expand:hover{opacity:1}.asset-reference-picker{display:flex;flex-direction:column;gap:7px;padding:10px;border:1px solid var(--line);border-radius:10px;background:#0d1311b8}.asset-reference-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;max-height:150px;overflow:auto}.asset-reference-list button{padding:2px;border:2px solid transparent;border-radius:6px;background:#050807;cursor:pointer}.asset-reference-list button.selected{border-color:#4ade80;box-shadow:0 0 0 1px #4ade8059}.asset-reference-list img{display:block;width:100%;aspect-ratio:9 / 16;object-fit:cover;border-radius:3px}.gallery-general-feedback{z-index:220}.asset-editor-overlay,.asset-preview-overlay{padding:10px;overflow:hidden}.asset-editor-panel,.asset-preview-panel{width:100%;height:100%;max-width:calc(100vw - 20px);max-height:calc(100vh - 20px);min-height:0;overflow:hidden}.asset-editor-head,.asset-preview-head{flex-wrap:wrap}.asset-editor-body{overflow:hidden}.asset-editor-side{overflow:auto}@media (max-width: 900px){.asset-editor-body{overflow:auto}}.asset-editor-overlay,.asset-preview-overlay{height:100vh;height:100dvh;max-height:100dvh;padding:8px;overflow:hidden}.asset-editor-panel,.asset-preview-panel{height:calc(100vh - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);overflow:auto;overscroll-behavior:contain}.asset-editor-overlay,.asset-preview-overlay{padding:0}.asset-editor-panel,.asset-preview-panel{position:absolute;top:8px;right:8px;bottom:8px;left:8px;width:auto;height:auto;max-width:none;max-height:none;overflow:auto}.asset-preview-scroll{display:block}.asset-preview-wrap{min-width:0;margin:0 auto}.asset-match-test{display:flex;flex-direction:column;gap:7px;padding:9px;border:1px solid var(--line);border-radius:10px;background:#0d1311b8}.asset-match-ranges,.asset-match-run,.asset-match-result{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.asset-match-run{justify-content:space-between}.asset-match-result{justify-content:space-between;color:var(--muted);font-size:12px}.asset-match-score{font-size:20px;font-variant-numeric:tabular-nums}.asset-match-score.good{color:#4ade80}.asset-match-score.warn{color:#fbbf24}.asset-match-score.bad{color:#f87171}.asset-match-verdict{display:inline-flex;align-items:center;gap:7px}.asset-match-pass,.asset-match-fail{padding:2px 6px;border-radius:5px;font-size:11px;font-weight:600}.asset-match-pass{color:#86efac;background:#22c55e29}.asset-match-fail{color:#fca5a5;background:#ef444429}.asset-match-ranges+.asset-match-ranges{margin-top:-2px}.asset-regression-overlay{z-index:250}.asset-regression-panel{display:flex;flex-direction:column;gap:10px;width:min(900px,calc(100vw - 40px));max-height:calc(100vh - 40px);overflow:auto;padding:14px;border:1px solid var(--line);border-radius:14px;background:#0d1311;box-shadow:0 20px 70px #0000008c}.asset-regression-options,.asset-regression-stats{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.asset-regression-stats{gap:18px;padding:9px 10px;border:1px solid var(--line);border-radius:9px;background:#ffffff08}.asset-regression-stats div{display:flex;flex-direction:column;gap:1px;min-width:90px}.asset-regression-stats strong{font-size:20px;font-variant-numeric:tabular-nums}.asset-regression-stats span,.asset-regression-stats small{color:var(--muted);font-size:11px}.asset-regression-loading{padding:18px;border:1px dashed var(--line);border-radius:9px;color:var(--muted);text-align:center}.asset-regression-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px}.asset-regression-item{display:flex;align-items:flex-start;gap:8px;padding:7px;border:1px solid var(--line);border-radius:8px;background:#ffffff05;color:var(--text);text-align:left;cursor:pointer}.asset-regression-item:hover{border-color:#4ade80}.asset-regression-item img{width:72px;height:128px;object-fit:cover;border-radius:5px;flex:0 0 auto}.asset-regression-item-main{display:flex;flex-direction:column;gap:2px;min-width:0}.asset-regression-item-main strong{color:#fbbf24;font-size:16px;font-variant-numeric:tabular-nums}.asset-regression-item-main span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.asset-regression-item-main small{color:var(--muted);font-size:10px}.asset-regression-count{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;white-space:nowrap}.asset-regression-count input{width:150px;margin:0}.asset-regression-count strong{min-width:3ch;color:var(--text);font-variant-numeric:tabular-nums;text-align:right}.asset-regression-progress{display:flex;flex-direction:column;gap:6px;padding:9px 10px;border:1px solid var(--line);border-radius:9px;background:#ffffff08}.asset-regression-progress-head{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:12px}.asset-regression-progress-track{height:9px;overflow:hidden;border-radius:999px;background:#ffffff14}.asset-regression-progress-track>div{height:100%;border-radius:inherit;background:linear-gradient(90deg,#22c55e,#86efac);transition:width .16s ease}.asset-regression-progress-track.indeterminate>div{width:32%;animation:asset-regression-indeterminate 1.1s ease-in-out infinite}@keyframes asset-regression-indeterminate{0%{transform:translate(-110%)}to{transform:translate(330%)}}.asset-regression-stats>div:first-child{min-width:310px}.asset-regression-stats>div:first-child small{max-width:300px}.asset-regression-template{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid var(--line);border-radius:10px;background:#ffffff05}.asset-regression-template-image{display:flex;align-items:center;justify-content:center;width:96px;height:96px;flex:0 0 auto;overflow:hidden;border-radius:7px;background-color:#111;background-image:linear-gradient(45deg,#1d2522 25%,transparent 25%),linear-gradient(-45deg,#1d2522 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#1d2522 75%),linear-gradient(-45deg,transparent 75%,#1d2522 75%);background-size:14px 14px;background-position:0 0,0 7px,7px -7px,-7px 0}.asset-regression-template-image img{max-width:90px;max-height:90px;object-fit:contain;image-rendering:pixelated}.asset-regression-template-meta{display:flex;flex-direction:column;gap:2px;min-width:0}.asset-regression-template-meta strong{font-size:13px}.asset-regression-template-meta span,.asset-regression-template-meta small{color:var(--muted);font-size:11px}.asset-color-weight{display:flex;flex-wrap:wrap;align-items:center;gap:7px;color:var(--muted);font-size:12px}.asset-color-weight input{width:130px;margin:0}.asset-color-weight strong{min-width:3ch;color:var(--text);font-variant-numeric:tabular-nums}.asset-color-weight-error{color:#fca5a5;font-size:11px}.asset-ruler-frame{position:relative;min-width:100%;box-sizing:border-box;padding:16px 0 0 30px}.asset-canvas-ruler{position:absolute;z-index:4;pointer-events:none;color:#e6fff3d1;background:#050807b8;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px;font-variant-numeric:tabular-nums;line-height:12px;text-shadow:0 1px 1px #000}.asset-canvas-ruler-x{top:0;left:30px;right:0;height:14px;border-bottom:1px solid rgba(255,255,255,.16);overflow:hidden}.asset-canvas-ruler-x span{position:absolute;top:0;padding-left:2px;border-left:1px solid rgba(255,255,255,.28);white-space:nowrap}.asset-canvas-ruler-y{top:16px;left:0;bottom:0;width:30px;border-right:1px solid rgba(255,255,255,.16);overflow:hidden}.asset-canvas-ruler-y span{position:absolute;left:0;padding-left:2px;border-top:1px solid rgba(255,255,255,.28);white-space:nowrap}.run-col{grid-area:1 / 1 / auto / -1;display:flex;flex-direction:column;gap:16px;min-width:0}.run-head-actions{display:flex;align-items:center;gap:10px}.run-status{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:999px;padding:5px 10px;color:var(--muted);background:#171d1bcc;font-size:11px;font-weight:700;white-space:nowrap}.run-status.running{color:#b8d1ff;border-color:#7aa7ff73;background:#233a6873}.run-status.succeeded{color:var(--accent);border-color:#55d6a866;background:#12423573}.run-status.failed{color:#ffc1c1;border-color:#ff6b6b6b;background:#541b1b80}.run-status.cancelled{color:var(--muted)}.run-empty{display:flex;flex-direction:column;gap:8px;align-items:flex-start;min-height:180px;justify-content:center}.run-empty strong{font-size:18px}.run-empty span{color:var(--muted);font-size:13px}.run-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.65fr);gap:22px;border-color:#55d6a83d;background:radial-gradient(500px 180px at 0% 0%,rgba(85,214,168,.1),transparent 70%),linear-gradient(180deg,#1e2623f2,#171d1bf2)}.run-eyebrow{color:var(--muted);font-size:10px;letter-spacing:.08em;text-transform:uppercase;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}.run-hero h1{margin:8px 0 4px;font-size:clamp(24px,3vw,38px);line-height:1.08;letter-spacing:-.02em}.run-sub{color:var(--muted);font-size:12px;overflow-wrap:anywhere}.run-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.run-tag{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--line);border-radius:10px;padding:5px 9px;color:var(--muted);font-size:11px;background:#0e121161;overflow-wrap:anywhere}.run-tag b{color:var(--text);font-weight:650}.run-hero-error{margin-top:14px;border:1px solid rgba(255,107,107,.34);border-radius:10px;background:#ff6b6b17;color:#ffc9c9;padding:10px 12px;font-size:12px;overflow-wrap:anywhere}.run-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-content:start}.run-kpis>div{min-width:0;border:1px solid var(--line);border-radius:12px;background:#0e121152;padding:12px;display:flex;flex-direction:column;gap:6px}.run-kpis span{color:var(--muted);font-size:10px;letter-spacing:.04em}.run-kpis strong{font-size:15px;line-height:1.25;overflow-wrap:anywhere}.run-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(340px,.75fr);gap:16px;align-items:start}.run-timeline-card{min-width:0}.run-timeline{display:flex;flex-direction:column;max-height:72vh;overflow:auto;padding-right:4px}.run-event{display:grid;grid-template-columns:126px minmax(0,1fr);gap:12px;padding:14px 2px;border-top:1px solid rgba(43,55,50,.72)}.run-event:first-child{border-top:0}.run-event-rail{display:flex;flex-direction:column;gap:5px;align-items:flex-start;color:var(--muted);font-size:10px}.run-event-time{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.run-event-seq{opacity:.6;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.run-kind-dot{width:8px;height:8px;border-radius:50%;background:var(--muted);box-shadow:0 0 0 3px #93a49b1a;flex:0 0 auto}.run-kind-dot.kind-trigger,.run-kind-dot.succeeded{background:var(--accent);box-shadow:0 0 0 3px #55d6a81f}.run-kind-dot.kind-decision,.run-kind-dot.running{background:#7aa7ff;box-shadow:0 0 0 3px #7aa7ff1f}.run-kind-dot.kind-error,.run-kind-dot.failed{background:var(--danger);box-shadow:0 0 0 3px #ff6b6b1f}.run-kind-dot.kind-phase,.run-kind-dot.kind-cleanup{background:var(--accent-2);box-shadow:0 0 0 3px #f0b45a1f}.run-event-body{min-width:0;display:flex;flex-direction:column;gap:9px}.run-event-head{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.run-kind{display:inline-flex;border-radius:6px;padding:3px 7px;font-size:10px;font-weight:700;letter-spacing:.04em;color:var(--muted);background:#93a49b1a}.run-kind.kind-trigger{color:var(--accent);background:#55d6a81a}.run-kind.kind-decision{color:#b8d1ff;background:#7aa7ff1c}.run-kind.kind-phase,.run-kind.kind-cleanup{color:var(--accent-2);background:#f0b45a1a}.run-kind.kind-error{color:#ffc1c1;background:#ff6b6b1f}.run-mini{color:var(--muted);font-size:10px;border-left:1px solid var(--line);padding-left:7px;overflow-wrap:anywhere}.run-event-message{color:var(--text);font-size:13px;line-height:1.5;overflow-wrap:anywhere}.run-event-error{color:#ffc9c9;background:#ff6b6b17;border:1px solid rgba(255,107,107,.25);border-radius:8px;padding:7px 9px;font-size:11px;overflow-wrap:anywhere}.run-side{display:flex;flex-direction:column;gap:16px;min-width:0}.run-kicker{color:var(--muted);font-size:9px;letter-spacing:.09em;text-transform:uppercase}.run-decision{display:flex;flex-direction:column;gap:10px}.run-decision-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}.run-decision-head strong{font-size:13px;color:#b8d1ff;overflow-wrap:anywhere}.run-candidates{display:flex;flex-direction:column;gap:8px}.run-candidate{border:1px solid var(--line);border-radius:10px;padding:9px;background:#0e12114d;display:flex;flex-direction:column;gap:6px}.run-candidate.accepted{border-color:#55d6a852}.run-candidate.rejected{border-color:#ff6b6b33;opacity:.9}.run-candidate-line{display:flex;align-items:center;gap:8px;font-size:11px;min-width:0}.run-candidate-state{flex:1;min-width:0;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.run-candidate-score{color:var(--muted);font-variant-numeric:tabular-nums}.run-state-ok{color:var(--accent);font-weight:700}.run-state-no{color:var(--danger);font-weight:700}.run-score-track{height:3px;border-radius:999px;background:#ffffff14;overflow:hidden}.run-score-track span{display:block;height:100%;background:linear-gradient(90deg,rgba(85,214,168,.4),var(--accent))}.run-reject{color:var(--muted);font-size:10px;overflow-wrap:anywhere}.run-evidence-list{display:flex;flex-direction:column;gap:6px}.run-evidence{display:flex;gap:8px;align-items:flex-start;min-width:0;border:1px solid rgba(43,55,50,.65);border-radius:8px;padding:6px;background:#0e121140}.run-evidence-thumb{width:64px;height:44px;flex:0 0 auto;border-radius:5px;overflow:hidden;background:#0b0f0e;border:1px solid rgba(255,255,255,.08)}.run-evidence-thumb img{width:100%;height:100%;object-fit:cover;display:block}.run-evidence-asset img{object-fit:contain}.run-evidence-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.run-evidence-copy strong{font-size:10px;font-weight:600;overflow-wrap:anywhere}.run-evidence-copy span,.run-evidence-copy small{color:var(--muted);font-size:9px;line-height:1.35;overflow-wrap:anywhere}.run-history{display:flex;flex-direction:column;gap:4px;max-height:280px;overflow:auto}.run-history-item{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:9px;align-items:center;border:1px solid transparent;border-radius:9px;padding:8px;background:transparent;color:inherit;text-align:left;cursor:pointer}.run-history-item:hover,.run-history-item.active{border-color:var(--line);background:#0e121157}.run-history-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.run-history-copy strong{font-size:11px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.run-history-copy small{color:var(--muted);font-size:9px}@media (max-width: 1100px){.run-hero,.run-grid{grid-template-columns:1fr}.run-timeline{max-height:none}}@media (max-width: 720px){.run-event{grid-template-columns:1fr;gap:6px}.run-event-rail{flex-direction:row;align-items:center}.run-kpis{grid-template-columns:1fr}}.run-evidence-thumb{padding:0;cursor:zoom-in;color:var(--muted);font:inherit}.run-evidence-thumb:hover{border-color:#55d6a8a6}.run-evidence-missing{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:4px;color:var(--muted);font-size:9px;line-height:1.3;text-align:center;background:repeating-linear-gradient(-45deg,rgba(255,255,255,.025) 0,rgba(255,255,255,.025) 4px,transparent 4px,transparent 8px)}.run-evidence-hint{margin:0 0 10px;color:var(--muted);font-size:10px}.run-preview-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:400;display:flex;align-items:center;justify-content:center;padding:24px;background:#040706d6;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.run-preview-panel{width:min(1120px,96vw);max-height:92vh;display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid rgba(85,214,168,.28);border-radius:16px;background:radial-gradient(700px 260px at 0% 0%,rgba(85,214,168,.1),transparent 65%),linear-gradient(180deg,#1e2623fa,#0f1412fa);box-shadow:0 30px 90px #0000008c}.run-preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.run-preview-head h3{margin:4px 0 0;font-size:18px;letter-spacing:-.01em}.run-preview-stage{min-height:0;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px}.run-preview-image{min-height:0;max-height:64vh;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid rgba(255,255,255,.09);border-radius:10px;background:#080b0a}.run-preview-image img{display:block;max-width:100%;max-height:64vh;object-fit:contain}.run-preview-nav{width:44px;height:64px;border:1px solid var(--line);border-radius:10px;background:#171d1bd9;color:var(--text);font-size:30px;line-height:1;cursor:pointer}.run-preview-nav:hover{border-color:var(--accent);color:var(--accent)}.run-preview-missing{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--muted);text-align:center;padding:32px}.run-preview-missing strong{color:var(--text);font-size:18px}.run-preview-missing span{font-size:12px}.run-preview-description{max-height:76px;overflow:auto;color:var(--muted);font-size:12px;line-height:1.55;padding:2px 4px}.run-preview-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:4px;border-top:1px solid rgba(43,55,50,.72)}.run-preview-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.run-preview-success,.run-preview-error{border-radius:8px;padding:8px 10px;font-size:11px}.run-preview-success{color:var(--accent);border:1px solid rgba(85,214,168,.32);background:#55d6a814}.run-preview-error{color:#ffc9c9;border:1px solid rgba(255,107,107,.32);background:#ff6b6b14}@media (max-width: 720px){.run-preview-overlay{padding:10px}.run-preview-panel{max-height:96vh;padding:12px}.run-preview-stage{grid-template-columns:34px minmax(0,1fr) 34px;gap:6px}.run-preview-nav{width:34px;height:54px;font-size:24px}.run-preview-image,.run-preview-image img{max-height:56vh}.run-preview-footer{align-items:flex-start;flex-direction:column}}.run-col{font-size:14px}.run-hero{grid-template-columns:minmax(0,1.55fr) minmax(380px,.65fr);gap:18px;padding:16px 18px}.run-hero h1{font-size:clamp(28px,2.4vw,40px)}.run-eyebrow{font-size:11px}.run-sub{font-size:13px}.run-tag{font-size:12px;padding:6px 10px}.run-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.run-kpis>div{padding:9px 10px;gap:4px}.run-kpis span{font-size:11px}.run-kpis strong{font-size:15px}.run-grid{grid-template-columns:minmax(0,1.65fr) minmax(320px,.55fr);gap:14px}.run-timeline-card .card-title{margin-bottom:8px}.run-timeline{max-height:calc(100vh - 300px)}.run-event{grid-template-columns:112px minmax(0,1fr);gap:10px;padding:10px 2px}.run-event.has-media{grid-template-columns:112px minmax(0,1fr) minmax(190px,250px)}.run-event-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;align-content:start}.run-media-item{min-width:0;display:flex;flex-direction:column;gap:3px}.run-evidence-thumb.large{width:100%;height:68px;border-radius:7px}.run-media-label{color:var(--muted);font-size:10.5px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.run-event-rail{font-size:11px}.run-event-time{line-height:1.35}.run-event-body,.run-event-head{gap:6px}.run-kind{font-size:11px;padding:3px 8px}.run-mini{font-size:11px}.run-event-message{font-size:14px;line-height:1.45}.run-candidate{padding:7px 8px;gap:5px}.run-candidate-line,.run-candidate-state{font-size:12px}.run-reject{font-size:10.5px}.run-decision-head strong{font-size:14px}.run-decision-head .muted.small,.run-evidence-copy strong{font-size:11px}.run-evidence-copy span,.run-evidence-copy small{font-size:10.5px}.run-history-copy strong{font-size:12px}.run-history-copy small{font-size:10px}.run-side .card-title{margin-bottom:8px}@media (max-width: 1100px){.run-hero{grid-template-columns:1fr}.run-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.run-grid{grid-template-columns:1fr}.run-event.has-media{grid-template-columns:112px minmax(0,1fr)}.run-event-media{grid-column:2}}@media (max-width: 720px){.run-kpis,.run-event,.run-event.has-media{grid-template-columns:1fr}.run-event-media{grid-column:1;grid-template-columns:repeat(2,minmax(0,1fr))}}.run-col,.run-event-message{font-size:15px}.run-event-rail,.run-mini,.run-kind{font-size:12px}.run-candidate-line,.run-candidate-state{font-size:13px}.run-evidence-copy strong{font-size:12px}.run-evidence-copy span,.run-evidence-copy small{font-size:11px}.run-tag{font-size:13px}.run-kpis span{font-size:12px}.run-kpis strong{font-size:16px}.run-history-copy strong{font-size:13px}@media (min-width: 1101px){.run-hero{grid-template-columns:minmax(0,1.1fr) minmax(560px,.9fr)}.run-kpis strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}.run-event-time{white-space:nowrap}.run-history{max-height:calc(100vh - 430px)}@media (max-width: 1100px){.run-history{max-height:320px}}.run-evidence-thumb.large.rotate-shot img{height:calc(100% * 16 / 9);width:auto;max-width:none;transform:rotate(90deg)}.run-preview-orientation{color:var(--muted);font-size:11px;margin-top:-4px}.run-event,.run-event.has-media{grid-template-columns:150px minmax(0,1fr)}.run-event.has-media{grid-template-columns:150px minmax(0,1fr) minmax(260px,340px)}.run-event-media{grid-template-columns:repeat(auto-fit,minmax(94px,1fr))}@media (max-width: 1100px){.run-event.has-media{grid-template-columns:150px minmax(0,1fr)}.run-event-media{grid-column:2}}@media (max-width: 720px){.run-event,.run-event.has-media{grid-template-columns:1fr}.run-event-media{grid-column:1}}.run-event.has-media.media-one .run-event-media{grid-template-columns:1fr}.run-event.has-media.media-one .run-evidence-thumb.large{height:68px}@media (max-width: 1100px){.run-event.has-media.media-one,.run-event.has-media.media-many{grid-template-columns:150px minmax(0,1fr)}.run-event.has-media.media-one .run-event-media{max-width:126px}}@media (max-width: 720px){.run-event.has-media.media-one,.run-event.has-media.media-many{grid-template-columns:1fr}.run-event.has-media.media-one .run-event-media{max-width:none}}.run-event.has-media.media-one{grid-template-columns:150px 126px minmax(0,1fr)}.run-event.has-media.media-many{grid-template-columns:150px minmax(260px,340px) minmax(0,1fr)}.run-event.has-media .run-event-body{grid-column:3;grid-row:1}.run-event.has-media .run-event-media{grid-column:2;grid-row:1}@media (max-width: 720px){.run-event.has-media.media-one,.run-event.has-media.media-many{grid-template-columns:1fr}.run-event.has-media .run-event-body,.run-event.has-media .run-event-media{grid-column:1}.run-event.has-media .run-event-body{grid-row:2}.run-event.has-media .run-event-media{grid-row:1;max-width:none}}.run-evidence-thumb.large.rotate-shot{position:relative}.run-evidence-thumb.large.rotate-shot img{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(90deg)}.run-event.has-media.media-one{grid-template-columns:150px minmax(0,1fr) 126px}.run-event.has-media.media-many{grid-template-columns:150px minmax(0,1fr) minmax(260px,340px)}.run-event.has-media .run-event-body{grid-column:2;grid-row:1}.run-event.has-media .run-event-media{grid-column:3;grid-row:1}@media (max-width: 1100px){.run-event.has-media.media-one,.run-event.has-media.media-many{grid-template-columns:150px minmax(0,1fr)}.run-event.has-media .run-event-body{grid-column:2;grid-row:1}.run-event.has-media .run-event-media{grid-column:2;grid-row:2}.run-event.has-media.media-one .run-event-media{max-width:126px}}@media (max-width: 720px){.run-event.has-media.media-one,.run-event.has-media.media-many{grid-template-columns:1fr}.run-event.has-media .run-event-body{grid-column:1;grid-row:1}.run-event.has-media .run-event-media{grid-column:1;grid-row:2;max-width:none}}.run-event-media{margin-right:10px}.run-event.has-media.media-one{grid-template-columns:150px minmax(0,1fr) 136px}.run-event.has-media.media-many{grid-template-columns:150px minmax(0,1fr) minmax(270px,350px)}@media (max-width: 1100px){.run-event.has-media.media-one .run-event-media{max-width:136px}}.run-define-button{cursor:pointer}.workflow-def-panel{width:min(1040px,96vw)}.run-def-description{margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.workflow-def-body{min-height:0;overflow:auto;display:flex;flex-direction:column;gap:12px;padding-right:4px}.workflow-def-summary{display:flex;flex-wrap:wrap;gap:8px 20px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#0e121159;color:var(--muted);font-size:12px}.workflow-def-summary b{color:var(--text);font-weight:650;margin-right:6px}.workflow-def-phases{display:flex;flex-direction:column;gap:8px}.workflow-def-phase{border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:#0e121147}.workflow-def-phase.active{border-color:#55d6a8a6;background:#55d6a812}.workflow-def-phase-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.workflow-def-phase-head strong{font-size:14px}.workflow-def-kind{border-radius:6px;padding:2px 7px;font-size:10px;color:var(--muted);background:#93a49b1a}.workflow-def-kind.kind-cleanup{color:var(--accent-2);background:#f0b45a1a}.workflow-def-kind.kind-failure{color:#ffc1c1;background:#ff6b6b1f}.workflow-def-current{color:var(--accent);font-size:10px;font-weight:700}.workflow-def-phase-desc{margin:6px 0 0;color:var(--muted);font-size:12px}.workflow-def-actions,.workflow-def-transitions,.workflow-def-assets{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;color:var(--muted);font-size:11px}.workflow-def-actions>span,.workflow-def-assets>b{color:var(--text);font-weight:650;margin-right:4px}.workflow-def-actions code{color:#b8d1ff;background:#7aa7ff1a;border-radius:5px;padding:2px 6px;font-family:inherit;font-size:11px}.workflow-def-transitions>span{border-left:1px solid var(--line);padding-left:8px}.workflow-def-transitions>span:first-child{border-left:0;padding-left:0}.workflow-def-assets span{border:1px solid var(--line);border-radius:6px;padding:2px 6px}.workflow-def-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.workflow-def-tabs{display:inline-flex;border:1px solid var(--line);border-radius:9px;padding:2px;background:#0e121173}.workflow-def-tabs button{border:0;border-radius:7px;background:transparent;color:var(--muted);padding:5px 12px;font:inherit;font-size:11px;cursor:pointer}.workflow-def-tabs button.active{background:#55d6a824;color:var(--accent)}.workflow-flow{position:relative;height:58vh;min-height:380px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:radial-gradient(500px 240px at 20% 0%,rgba(85,214,168,.06),transparent 70%),#0c1110}.workflow-flow .react-flow__controls{border:1px solid var(--line);border-radius:8px;overflow:hidden;box-shadow:none}.workflow-flow .react-flow__controls-button{width:24px;height:24px;background:#1e2623;border-bottom:1px solid var(--line);fill:var(--text)}.workflow-flow .react-flow__controls-button:hover{background:#26322d}.workflow-flow-node{width:190px;min-height:86px;padding:9px 11px;border:1px solid rgba(85,214,168,.35);border-radius:10px;background:linear-gradient(180deg,#1e2623fa,#121815fa);color:var(--text);box-shadow:0 8px 24px #0000004d}.workflow-flow-node.kind-cleanup{border-color:#f0b45a8c}.workflow-flow-node.kind-failure{border-color:#ff6b6b8c}.workflow-flow-node.kind-end{border-style:dashed;border-color:#93a49b73;background:#121815bf}.workflow-flow-node.active{border-color:var(--accent);box-shadow:0 0 0 1px #55d6a86b,0 0 26px #55d6a81f}.workflow-flow-node-top{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:9px;letter-spacing:.04em}.workflow-flow-node-top strong{color:var(--accent);font-weight:700}.workflow-flow-node-label{margin-top:6px;font-size:13px;font-weight:700;line-height:1.25}.workflow-flow-node-meta{margin-top:7px;color:var(--muted);font-size:9px}.workflow-flow-node .react-flow__handle{width:7px;height:7px;border:1px solid #0b0f0e;background:var(--accent)}.workflow-flow .react-flow__edge-text{font-size:10px}.workflow-flow .react-flow__edge-path{transition:stroke .12s ease}.workflow-flow-legend{position:absolute;left:10px;bottom:10px;z-index:2;display:flex;gap:10px;padding:5px 8px;border:1px solid var(--line);border-radius:7px;background:#0c1110db;color:var(--muted);font-size:9px}.workflow-flow-legend span{display:inline-flex;align-items:center;gap:4px}.workflow-flow-legend i{width:7px;height:7px;border-radius:50%;display:inline-block}@media (max-width: 720px){.workflow-def-tools{align-items:flex-start;flex-direction:column}.workflow-flow{height:50vh;min-height:320px}}.workflow-def-panel{width:97vw;max-width:none;height:94vh;max-height:94vh}.workflow-def-panel>.run-preview-head,.workflow-def-panel>.workflow-def-tools{flex:0 0 auto}.workflow-def-panel>.workflow-def-body{flex:1;min-height:0;overflow:auto}.workflow-def-panel>.workflow-flow{flex:1;height:auto;min-height:0}.workflow-flow-node{width:210px;min-height:92px;padding:10px 12px}.workflow-flow-node-label{font-size:14px}.workflow-flow-node-top,.workflow-flow-node-meta{font-size:10px}.workflow-edge-label{position:absolute;pointer-events:none;padding:3px 6px;border:1px solid;border-radius:5px;background:#0c1110f0;font-size:12px;font-weight:700;line-height:1.25;white-space:nowrap}.workflow-flow-legend{font-size:10px;padding:6px 9px}.workflow-def-panel{width:min(1100px,76vw);max-width:1100px}@media (max-width: 900px){.workflow-def-panel{width:94vw;max-width:none}}.workflow-def-panel{width:min(770px,54vw);max-width:770px}.workflow-edge-label{max-width:180px;white-space:normal;text-align:center}.workflow-def-panel{width:min(1260px,92vw);max-width:1260px}.workflow-def-split{flex:1;min-height:0;display:grid;grid-template-columns:minmax(300px,36%) minmax(0,1fr);gap:12px}.workflow-def-content{min-width:0;min-height:0;display:flex;flex-direction:column}.workflow-def-content>.workflow-flow{flex:1;height:auto;min-height:0}.workflow-def-content>.workflow-def-body{flex:1;min-height:0;overflow:auto}.workflow-def-phone{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#080b0a}.workflow-def-phone-head,.workflow-def-phone-note{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;color:var(--muted);font-size:10px;flex:0 0 auto}.workflow-def-phone-head{border-bottom:1px solid rgba(43,55,50,.72)}.workflow-def-phone-badge{border:1px solid rgba(85,214,168,.35);border-radius:999px;padding:1px 6px;color:var(--accent);font-size:9px}.workflow-def-phone-note{border-top:1px solid rgba(43,55,50,.72);font-size:9px}.workflow-def-phone-screen{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(260px 300px at 50% 0%,rgba(85,214,168,.05),transparent 70%),#050807}.workflow-def-phone-screen img{display:block;width:100%;height:100%;object-fit:contain}.workflow-def-phone-empty{color:var(--muted);font-size:12px;text-align:center;padding:20px}@media (max-width: 1000px){.workflow-def-panel{width:94vw;max-width:none}.workflow-def-split{grid-template-columns:1fr;grid-template-rows:minmax(220px,42vh) minmax(0,1fr)}.workflow-def-phone{min-height:0}}.workflow-def-phone-screen{position:relative}.workflow-def-phone-empty{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#050807b8}.workflow-def-phone-empty strong{color:var(--text);font-size:13px}.workflow-def-phone-empty span{max-width:220px;color:var(--muted);font-size:10px;line-height:1.4;text-align:center}.flow-handle-hidden{opacity:0;pointer-events:none}.asset-candidate-meta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px}.asset-color-weight-row{display:flex;align-items:center;gap:8px}.asset-color-weight-row input[type=range]{flex:1;min-width:0}.asset-color-weight-row b{min-width:34px;color:var(--text);font-size:11px;text-align:right}
