.tool-page{gap:18px;display:grid}.tool-header h1{letter-spacing:-.06em;margin:0;font-size:clamp(28px,3vw,42px)}.tool-header .lede{color:#94a3b8;max-width:820px;margin:8px 0 0;line-height:1.55}.muted{color:#94a3b8;font-size:13px}.tool-error{color:#fda4af;margin:12px 0 0;font-size:13px;font-weight:700}.command-panel{background:#0f172ac7;border:1px solid #94a3b824;border-radius:20px;gap:18px;padding:20px;display:grid}.command-title h1{letter-spacing:-.06em;margin:0;font-size:clamp(28px,3vw,42px)}.forge-command-meta{color:#94a3b8;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-top:10px;font-size:13px;display:flex}.forge-status-badge{color:#cbd5e1;background:#02061773;border:1px solid #94a3b838;border-radius:999px;align-items:center;gap:6px;padding:5px 10px;font-size:12px;font-weight:800;display:inline-flex}.forge-status-badge.status-waiting{color:#94a3b8}.forge-status-badge.status-ready{color:#67e8f9;background:#06b6d41a;border-color:#06b6d459}.forge-status-badge.status-worker-online{color:#a7f3d0;background:#10b9811f;border-color:#34d39959}.forge-status-badge.status-blocked{color:#fdba74;background:#f973161a;border-color:#f9731659}.job-input-row{gap:10px;min-width:0;display:grid}.job-input-row>label:first-child{color:#cbd5e1;font-size:13px;font-weight:800}.job-input-row>input:not([type=checkbox]){color:#fff;background:#0f172af5;border:1px solid #94a3b833;border-radius:13px;outline:none;width:100%;padding:12px 13px}.launcher-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;display:grid}.launcher-row input,.tool-select,.tool-textarea{color:#fff;background:#0f172af5;border:1px solid #94a3b833;border-radius:13px;outline:none;width:100%;padding:12px 13px}.tool-textarea{resize:vertical;min-height:160px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:1.45}.tool-option-row{flex-wrap:wrap;align-items:center;gap:12px 18px;display:flex}.tool-option-row label{color:#cbd5e1;align-items:center;gap:8px;font-size:13px;font-weight:700;display:inline-flex}.tool-hint{color:#64748b;margin:0;font-size:12px;line-height:1.45}.workflow-strip{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;display:grid}.forge-workflow-card{background:#0f172ab8;border:1px solid #94a3b824;border-radius:16px;gap:8px;padding:14px;display:grid}.forge-workflow-top{color:#64748b;justify-content:space-between;align-items:center;display:flex}.forge-workflow-icon{font-size:16px}.forge-workflow-card strong{color:#f8fafc;font-size:14px}.forge-workflow-card p{color:#64748b;margin:0;font-size:12px}.ops-grid{grid-template-columns:minmax(0,1.7fr) minmax(260px,.7fr);gap:14px;display:grid}.photo-approve-list{gap:8px;max-height:320px;margin:12px 0 0;padding:0;list-style:none;display:grid;overflow:auto}.photo-approve-list li label{color:#e2e8f0;cursor:pointer;background:#0f172a8c;border:1px solid #94a3b824;border-radius:12px;align-items:flex-start;gap:10px;padding:10px 12px;font-size:13px;display:flex}.photo-approve-list li label span{gap:2px;display:grid}.photo-approve-list li label strong{color:#f8fafc;font-size:13px}.photo-approve-list li label small{color:#64748b;font-size:11px}.tool-log-panel pre{color:#cbd5e1;white-space:pre-wrap;background:#0206178c;border:1px solid #94a3b81f;border-radius:14px;min-height:260px;max-height:420px;margin:0;padding:14px;font-size:12px;line-height:1.5;overflow:auto}.quick-actions{gap:10px;margin-top:10px;display:grid}.quick-actions button,.quick-actions a{color:#e2e8f0;text-align:left;background:#0f172acc;border:1px solid #94a3b829;border-radius:12px;padding:11px 12px;font-weight:800;text-decoration:none}.quick-actions button:disabled{opacity:.55;cursor:not-allowed}.tool-summary-grid{gap:8px;margin-top:8px;display:grid}.tool-summary-grid div{color:#94a3b8;background:#0206175c;border-radius:12px;justify-content:space-between;gap:12px;padding:10px 12px;font-size:13px;display:flex}.tool-summary-grid strong{color:#e2e8f0}.records-steps{flex-wrap:wrap;gap:8px;display:flex}.records-step-tab{color:#94a3b8;background:#0f172a8c;border:1px solid #94a3b82e;border-radius:999px;padding:8px 14px;font-size:12px;font-weight:800}.records-step-tab.active{color:#fdba74;background:#f973161f;border-color:#f9731666}.worker-notice{color:#7dd3fc;background:#0ea5e914;border:1px solid #38bdf847;border-radius:14px;padding:12px 14px;font-size:13px;line-height:1.45}.worker-notice strong{color:#e0f2fe}.worker-notice-online{color:#a7f3d0;background:#10b9811a;border-color:#34d39959}.worker-notice-online strong{color:#ecfdf5}.queue-presence-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.queue-presence-row{background:#0206175c;border:1px solid #94a3b824;border-radius:12px;align-items:center;gap:10px;padding:10px 12px;display:flex}.queue-presence-meta{flex:1;gap:2px;min-width:0;display:grid}.queue-presence-sub{color:#94a3b8;font-size:12px}.queue-dot{background:#64748b;border-radius:999px;flex-shrink:0;width:8px;height:8px;display:inline-block}.queue-dot.online{background:#34d399;box-shadow:0 0 0 3px #34d3992e}.queue-filters{flex-wrap:wrap;align-items:flex-end;gap:12px;margin-top:4px;display:flex}.queue-filter-field{color:#cbd5e1;gap:6px;min-width:140px;font-size:12px;font-weight:800;display:grid}.queue-filter-identity{flex:200px;min-width:180px}.queue-filter-field .tool-select,.queue-filter-input{color:#f8fafc;width:100%;font:inherit;background:#0f172af5;border:1px solid #94a3b833;border-radius:13px;outline:none;padding:10px 12px;font-weight:500}.queue-filter-field .tool-select:focus,.queue-filter-input:focus{border-color:#f973168c;box-shadow:0 0 0 3px #f9731626}.queue-filter-input::placeholder{color:#64748b}.queue-filters .primary-btn,.queue-filters .secondary-btn,.queue-actions .primary-btn,.queue-actions .secondary-btn{white-space:nowrap;border-radius:11px;padding:8px 12px;font-size:12px}.queue-table-wrap{background:#02061747;border:1px solid #94a3b824;border-radius:14px;margin-top:14px;overflow-x:auto}.queue-table{border-collapse:collapse;color:#e2e8f0;width:100%;font-size:13px}.queue-table th,.queue-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #94a3b81f;padding:12px 14px}.queue-table th{color:#94a3b8;letter-spacing:.04em;text-transform:uppercase;background:#0f172a8c;font-size:11px;font-weight:800}.queue-table tbody tr{cursor:pointer;transition:background .12s}.queue-table tbody tr:hover td{background:#94a3b80f}.queue-table tr.selected td{background:#f973161a}.queue-table tbody tr:last-child td{border-bottom:none}.queue-mono{color:#cbd5e1;font-size:12px}.queue-truncate{text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;max-width:220px;display:inline-block;overflow:hidden}.queue-time{color:#94a3b8;white-space:nowrap;font-variant-numeric:tabular-nums}.queue-error-cell{text-overflow:ellipsis;white-space:nowrap;color:#fda4af;max-width:220px;overflow:hidden}.queue-actions{white-space:nowrap;justify-content:flex-end;gap:6px;display:flex}.queue-empty{color:#94a3b8;text-align:center;padding:28px 14px!important}.queue-run-cards{gap:12px;margin:14px 0 0;padding:0;list-style:none;display:none}.queue-empty-card{color:#94a3b8;text-align:center;background:#02061747;border:1px solid #94a3b824;border-radius:14px;padding:28px 14px}.queue-run-cards>li{gap:10px;display:grid}.queue-run-card{text-align:left;width:100%;color:inherit;cursor:pointer;background:#02061766;border:1px solid #94a3b829;border-radius:14px;gap:8px;padding:14px;display:grid}.queue-run-card.selected{background:#f973161a;border-color:#f9731673}.queue-run-card-top{justify-content:space-between;align-items:center;gap:10px;display:flex}.queue-run-identity{color:#f8fafc;word-break:break-word;margin:0;font-size:15px;font-weight:650}.queue-run-attempt{color:#94a3b8;margin:0;font-size:12px}.queue-run-error{color:#fda4af;white-space:normal;margin:0;font-size:13px;line-height:1.4}.queue-run-card-actions{gap:8px;display:flex}.queue-run-card-actions .primary-btn,.queue-run-card-actions .secondary-btn{flex:1;min-height:44px;padding:10px 16px;font-size:14px}.photo-review-panel{flex-direction:column;gap:14px;margin-top:16px;display:flex}.photo-review-counts{color:#94a3b8;flex-wrap:wrap;gap:12px;font-size:13px;display:flex}.photo-review-counts .needs-review-count{color:#fdba74;font-weight:600}.photo-review-grid{grid-template-columns:1fr;gap:12px;margin-top:10px;display:grid}.photo-review-card{background:#0f172a8c;border:1px solid #fb923c47;border-radius:14px;grid-template-columns:120px minmax(0,1fr);gap:12px;padding:10px;display:grid}.photo-review-thumb,.photo-review-thumb-empty{background:#020617cc;border-radius:10px;width:120px;height:120px;overflow:hidden}.photo-review-thumb img{object-fit:cover;width:100%;height:100%;display:block}.photo-review-thumb-empty{color:#64748b;place-items:center;font-size:12px;display:grid}.photo-review-label{color:#f8fafc;margin:0 0 4px;font-weight:600}.photo-review-meta,.photo-review-desc,.photo-review-reason{color:#94a3b8;margin:0 0 6px;font-size:13px}.photo-review-relabel{color:#cbd5e1;flex-direction:column;gap:6px;margin:8px 0;font-size:13px;display:flex}.photo-review-relabel select,.photo-review-relabel input{color:#e2e8f0;width:100%;min-height:44px;font:inherit;background:#020617d9;border:1px solid #94a3b838;border-radius:10px;padding:10px 12px}.photo-review-actions{flex-wrap:wrap;gap:8px;display:flex}.photo-review-actions .primary-btn,.photo-review-actions .secondary-btn{flex:1;min-height:44px}.photo-review-toggle{color:#93c5fd;text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.photo-review-auto-list{color:#cbd5e1;margin:8px 0 0;padding-left:18px}.summary-note{color:#94a3b8;margin:6px 0 0;font-size:13px}.queue-detail-header{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.queue-detail-header h2{margin:0}.queue-detail-meta{color:#94a3b8;margin:10px 0 0;font-size:13px}.queue-steps{gap:8px;margin:0;padding:0;list-style:none;display:grid}.queue-steps li{color:#e2e8f0;align-items:center;gap:10px;display:flex}.queue-log{white-space:pre-wrap;background:#0f172aa6;border:1px solid #94a3b833;border-radius:12px;max-height:280px;padding:12px;font-size:12px;overflow:auto}button.linkish{color:#7dd3fc;cursor:pointer;font:inherit;background:0 0;border:none;padding:0;text-decoration:underline}.forge-status-badge.status-complete{color:#a7f3d0;background:#10b9811f;border-color:#34d39959}.forge-status-badge.status-running{color:#fdba74;background:#f973161f;border-color:#f9731666}.forge-status-badge.status-queued{color:#94a3b8;background:#94a3b814;border-color:#94a3b847}.forge-status-badge.status-failed{color:#fda4af;background:#f43f5e1f;border-color:#f43f5e66}.forge-status-badge.status-cancelled{color:#cbd5e1;background:#33415559;border-color:#64748b59}@media (max-width:900px){.tool-page{gap:14px}.command-panel{border-radius:16px;padding:14px}.command-title h1{font-size:26px}.ops-grid,.launcher-row{grid-template-columns:1fr}.queue-filters{flex-direction:column;align-items:stretch}.queue-filter-field,.queue-filter-identity{width:100%;min-width:0}.queue-presence-row{flex-wrap:wrap}.queue-truncate{max-width:140px}.queue-table-wrap{display:none}.queue-run-cards{display:grid}.photo-review-card{grid-template-columns:1fr}.photo-review-thumb,.photo-review-thumb-empty{width:100%;height:160px}}
