body,html{padding:0;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;background-color:#f5f5f5;color:#333;line-height:1.5}a{color:#0070f3;text-decoration:none}table{width:100%;border-collapse:collapse;margin:1rem 0;background-color:#fff;border:1px solid #ddd;border-radius:4px;overflow:hidden}table td,table th{border:1px solid #ddd;padding:.5rem;text-align:left}table th{background-color:#f0f0f0}table tbody tr:nth-child(2n){background-color:#f7f7f7}.container{max-width:1200px;margin:0 auto;padding:0}.navbar{display:flex;gap:.75rem;position:-webkit-sticky;position:sticky;top:0;z-index:1000;background-color:#343a40;padding:.85rem 1.25rem;flex-wrap:wrap;box-sizing:border-box;box-shadow:0 2px 8px rgba(0,0,0,.14)}.navbar,.navbar a{align-items:center;color:#fff}.navbar a{display:inline-flex;padding:.32rem .7rem;border-radius:6px;background-color:#434950;box-shadow:inset 0 0 0 1px hsla(0,0%,100%,.06);font-weight:500;line-height:1.2;transform-origin:center;transition:background-color .14s ease,box-shadow .14s ease,transform .14s ease}.navbar a.navbarLogoLink{padding:0;background:transparent;box-shadow:none;border-radius:0}.navbar a.navbarLogoLink:hover{background:transparent;transform:none}.navbarLogo{display:block;width:150px;height:auto}.navbarToggle{display:none}.navbarMenu{display:contents}.navbar a.navbarGroupBreak{margin-left:4rem}.navbar a:hover{background-color:#4b5259;transform:scale(1.03);text-decoration:none}.navbar a:focus-visible{outline:2px solid #fff;outline-offset:2px}.navbarCompact{min-height:38px;padding:.25rem .75rem;gap:.5rem}.navbarCompact .navbarLogo{width:102px}.navbarCompact .navbarMenu>a,.navbarCompact .navbarToggle{display:none}.navbarCompact .navbarAuth{min-height:28px;font-size:.78rem}.navbarCompact .navbarUser{max-width:180px;font-size:.76rem}.navbarCompact .navbarAuthButton,.navbarCompact a.navbarAuthLink{min-height:26px;padding:.22rem .55rem;font-size:.76rem}.monitorContainer{max-width:none;width:100%;height:calc(100dvh - var(--monitor-nav-height, 38px));overflow:hidden}.error{color:#d9534f;margin:.5rem 0}.no-processing-error{color:#c40000;font-size:clamp(2rem,5vw,4rem);font-weight:800;line-height:1.05;margin:1rem 0;text-transform:uppercase}.section{margin-top:2rem}.tabs{display:flex;gap:.35rem;margin:1rem 0 1.5rem;border-bottom:1px solid #d7d7d7}.tab-button{border-radius:4px 4px 0 0;background:#e6e6e6;color:#333}.tab-button:hover:not(:disabled){background:#dcdcdc}.tab-button-active,.tab-button-active:hover:not(:disabled){background:#0070f3;color:#fff}.inline-form{gap:.5rem;margin-top:.5rem}.checkbox-label,.inline-form{display:flex;align-items:center}.checkbox-label input[type=checkbox]{margin-right:.5rem}.sequence-input{width:4rem}.queue-section{margin-top:1.5rem;margin-bottom:1.5rem;background-color:#fff;padding:1rem;border:1px solid #ddd;border-radius:4px}.queue-section-header{display:flex;align-items:center;gap:1.5rem;margin-bottom:1rem}.queue-section-title{flex:1 1;margin:0;text-align:left}.table-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.table-actions select{min-width:13rem}.table-meta{display:flex;flex-direction:column;gap:.2rem}.muted{color:#666;font-size:.875rem}.json-output{max-height:70vh;overflow:auto;background:#fff;color:#222;font-family:Consolas,Courier New,monospace;font-size:.9rem;line-height:1.45;white-space:pre-wrap;word-break:break-word}.json-output,form{padding:1rem;border:1px solid #ddd;border-radius:4px}form{display:flex;flex-direction:column;gap:.5rem;background-color:#fff}input,select,textarea{padding:.5rem;font-size:1rem;border:1px solid #ccc;border-radius:4px}button{padding:.5rem 1rem;font-size:1rem;border:none;border-radius:4px;background-color:#0070f3;color:#fff;cursor:pointer}button.button-danger{background-color:#b33a3a}button.button-danger:hover:not(:disabled){background-color:#9e2f2f}.button-link{display:inline-flex;align-items:center;justify-content:center;padding:.5rem 1rem;border-radius:4px;background-color:#0070f3;color:#fff;font-size:1rem;line-height:1.5}.button-link:hover{background-color:#0059c7;color:#fff;text-decoration:none}button:disabled{opacity:.6;cursor:not-allowed}@media (max-width:720px){.navbar{flex-wrap:nowrap;padding:.75rem 1rem}.navbarLogo{width:120px}.navbarToggle{display:inline-flex;width:44px;height:40px;margin-left:auto;padding:0;align-items:center;justify-content:center;flex-direction:column;gap:5px;border:1px solid hsla(0,0%,100%,.22);border-radius:6px;background:#434950}.navbarToggle span{width:20px;height:2px;border-radius:999px;background:#fff}.navbarToggle:focus-visible{outline:2px solid #fff;outline-offset:2px}.navbarMenu{display:none;position:absolute;top:100%;left:0;right:0;padding:.75rem 1rem 1rem;flex-direction:column;gap:.5rem;background:#343a40;box-shadow:0 10px 20px rgba(0,0,0,.22)}.navbarMenu.navbarMenuOpen{display:flex}.navbarCompact .navbarMenu.navbarMenuOpen{display:none}.navbarMenu a{width:100%;box-sizing:border-box;justify-content:flex-start;padding:.65rem .75rem}.navbar a.navbarGroupBreak{margin-left:0}}.navbarAuth{margin-left:auto;display:inline-flex;align-items:center;gap:.65rem;min-height:34px}.navbarUser{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;color:#e7eef7}.navbar a.navbarAuthLink,.navbarAuthButton{display:inline-flex;align-items:center;padding:.32rem .7rem;border-radius:6px;background-color:#f0f4f8;color:#20252b;font-weight:600;line-height:1.2;box-shadow:none}.navbar a.navbarAuthLink:hover,.navbarAuthButton:hover{background-color:#fff;color:#20252b;transform:none}.loginPage{min-height:calc(100vh - 78px);display:flex;align-items:center;justify-content:center;padding:2rem 1rem}.loginCard{width:min(100%,420px);background:#fff;border:1px solid #ddd;border-radius:12px;padding:2rem;box-shadow:0 12px 36px rgba(0,0,0,.12);text-align:center}.loginCard h1{margin:1rem 0 .25rem}.loginSubtitle{margin:0 0 1.5rem;color:#666}.loginForm{text-align:left;box-shadow:none;border:none;padding:0}.loginForm label{display:flex;flex-direction:column;gap:.35rem;font-weight:600}.loginForm button{margin-top:.5rem}.loginError{margin-bottom:1rem;padding:.75rem;border:1px solid #e0b4b4;border-radius:6px;background:#fff1f1;color:#9f2f2f;text-align:left}@media (max-width:720px){.navbarAuth{width:100%;margin-left:0;justify-content:flex-start;flex-wrap:wrap}.navbarUser{max-width:100%}.navbar a.navbarAuthLink,.navbarAuthButton{min-height:38px}}.productionDashboard{--bg:#f4f6f8;--surface:#fff;--surface-soft:#f8fafc;--border:#d7dee7;--text:#17202a;--muted:#64748b;--blue:#2563eb;--green:#16a34a;--green-soft:#eaf8ef;--amber:#d97706;--amber-soft:#fff7ed;--red:#dc2626;--red-soft:#fef2f2;--grey-soft:#f1f5f9;width:calc(100vw - 4rem);min-height:calc(100vh - 112px);margin-left:calc(50% - 50vw + 2rem);display:grid;grid-gap:12px;gap:12px;color:var(--text)}.productionDashboard button,.productionDashboard input,.productionDashboard select,.productionDashboard textarea{font:inherit}.productionDashboard button{border-radius:6px;border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;font-weight:700}.productionDashboard button:disabled{cursor:not-allowed;opacity:.62}.productionDashboard .metricCard,.productionDashboard .panel,.productionDashboard .warningBar{border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:0 10px 24px rgba(15,23,42,.07)}.productionDashboard .panelLabel{color:var(--blue);font-size:.78rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.productionDashboard .panel h2{margin:0;line-height:1.05}.productionDashboard .warningBar{display:grid;grid-gap:6px;gap:6px;padding:10px 12px;background:var(--amber-soft);color:#92400e;font-weight:800}.productionDashboard .layout{display:grid;grid-template-columns:minmax(300px,24%) minmax(0,1fr);grid-gap:12px;gap:12px;min-height:0}.productionDashboard .sidebar{display:grid;grid-template-rows:minmax(220px,32vh) minmax(300px,1fr);grid-gap:10px;gap:10px;min-height:0}.productionDashboard .queuePanel,.productionDashboard .sourcePanel{display:grid;grid-template-rows:auto 1fr;min-height:0;overflow:hidden}.productionDashboard .panelHeader{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:12px 14px 8px}.productionDashboard .panelHeader h2{margin-top:2px;font-size:1.1rem}.productionDashboard .queueList,.productionDashboard .sourceList{min-height:0;overflow-y:auto;display:grid;align-content:start;grid-gap:8px;gap:8px;padding:0 10px 12px}.productionDashboard .queueItem,.productionDashboard .sourceButton{width:100%;display:grid;grid-gap:6px;gap:6px;padding:10px;border:1px solid var(--border);border-radius:10px;background:var(--surface-soft);color:var(--text);text-align:left;cursor:pointer}.productionDashboard .queueItem.active,.productionDashboard .sourceButton.active{border-color:var(--blue);background:#eff6ff;box-shadow:inset 5px 0 0 var(--blue)}.productionDashboard .queueItemTop,.productionDashboard .sourceButtonTop{display:flex;justify-content:space-between;gap:10px;align-items:center}.productionDashboard .sourceButtonMeta{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:.74rem;font-weight:800}.productionDashboard .queueItem strong{font-size:.94rem;line-height:1.15;word-break:break-word}.productionDashboard .queueItem small{color:var(--muted);font-size:.8rem;font-weight:700;word-break:break-word}.productionDashboard .healthDot{width:10px;height:10px;flex:0 0 auto;border-radius:999px;background:#94a3b8;box-shadow:0 0 0 3px rgba(148,163,184,.16)}.productionDashboard .health-online{background:var(--green);box-shadow:0 0 0 3px rgba(22,163,74,.16)}.productionDashboard .health-stale{background:var(--amber);box-shadow:0 0 0 3px rgba(217,119,6,.16)}.productionDashboard .health-offline{background:var(--red);box-shadow:0 0 0 3px rgba(220,38,38,.16)}.productionDashboard .mainPanel{display:grid;grid-gap:10px;gap:10px;min-width:0;min-height:0}.productionDashboard .jobHero{display:grid;grid-gap:10px;gap:10px;padding:16px 18px}.productionDashboard .jobHeroTop{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.productionDashboard .jobHero h2{margin-top:2px;font-size:clamp(1.8rem,3.8vw,3.8rem);word-break:break-word}.productionDashboard .jobHero p{max-width:95ch;margin:0;color:var(--muted);font-size:.92rem;font-weight:700}.productionDashboard .progressLayout{display:grid;grid-template-columns:minmax(340px,1.1fr) minmax(0,.9fr);grid-gap:10px;gap:10px}.productionDashboard .cablePanel,.productionDashboard .detailPanel,.productionDashboard .emptyLarge,.productionDashboard .progressPanel{padding:14px}.productionDashboard .progressPanel{display:grid;justify-items:stretch;align-content:start;grid-gap:8px;gap:8px}.productionDashboard .progressSummary{display:grid;grid-template-columns:minmax(220px,280px) minmax(180px,1fr);align-items:center;grid-gap:14px;gap:14px;width:100%;margin-top:4px}.productionDashboard .progressRing{width:min(32vh,280px);max-width:100%;aspect-ratio:1;display:grid;place-items:center;border-radius:999px;justify-self:start;background:conic-gradient(#16a34a 0deg var(--progress-deg,0deg),#e2e8f0 var(--progress-deg,0deg) 1turn)}.productionDashboard .progressRingInner{width:62%;aspect-ratio:1;display:grid;place-items:center;align-content:center;border-radius:inherit;background:var(--surface);box-shadow:0 8px 24px rgba(15,23,42,.16)}.productionDashboard .progressRingInner strong{font-size:clamp(1.6rem,3vw,3.4rem);line-height:1;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.productionDashboard .progressRingInner span{color:var(--muted);font-weight:900;text-transform:uppercase}.productionDashboard .progressBarLarge{width:100%;height:12px;overflow:hidden;border-radius:999px;background:#e2e8f0}.productionDashboard .progressBarLarge span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#22c55e,#15803d);width:var(--progress-width,0)}.productionDashboard .progressStats{display:grid;align-content:center;grid-gap:8px;gap:8px;min-width:0}.productionDashboard .progressStats .metricCard{box-shadow:none}.productionDashboard .metricCard{display:grid;grid-gap:4px;gap:4px;padding:12px 14px}.productionDashboard .metricLabel{color:var(--muted);font-size:.8rem;font-weight:900;text-transform:uppercase}.productionDashboard .metricValue{color:var(--text);font-size:clamp(1.45rem,3vw,2.6rem);font-weight:950;line-height:1;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.productionDashboard .metricNote{color:var(--muted);font-size:.8rem;font-weight:700}.productionDashboard .metricCard.tone-complete .metricValue,.productionDashboard .metricCard.tone-processing .metricValue{color:var(--green)}.productionDashboard .metricCard.tone-queued .metricValue{color:var(--amber)}.productionDashboard .finishNotice{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid rgba(22,163,74,.35);border-radius:12px;background:var(--green-soft);color:#166534;font-weight:900}.productionDashboard .cablePanel{display:grid;grid-template-rows:auto 1fr;grid-gap:10px;gap:10px;min-height:0}.productionDashboard .cablePanel .panelHeader{padding:0}.productionDashboard .cablePanel h2{margin-top:2px;font-size:clamp(1.6rem,3.2vw,3.2rem);word-break:break-word}.productionDashboard .cableList{min-height:0;overflow-y:auto;padding-right:4px}.productionDashboard .cableTable{width:100%;margin:0;border-collapse:collapse;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--surface-soft)}.productionDashboard .cableTable thead th{position:-webkit-sticky;position:sticky;top:0;z-index:1;padding:8px 12px;border-bottom:1px solid var(--border);background:var(--surface);color:var(--muted);font-size:.72rem;font-weight:900;text-transform:uppercase;text-align:left}.productionDashboard .cableRowQty,.productionDashboard .cableTable thead th:last-child{text-align:right}.productionDashboard .cableRow td{padding:10px 12px;border-bottom:1px solid var(--border);background:var(--surface-soft)}.productionDashboard .cableTable tbody tr:last-child td{border-bottom:none}.productionDashboard .cableTable tbody tr:nth-child(2n) td{background:#fdfefe}.productionDashboard .cableRowName{font-size:.94rem;font-weight:800;line-height:1.25;word-break:break-word}.productionDashboard .cableRowQty{width:88px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-size:.94rem;font-weight:900}.productionDashboard .operatorGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:8px;gap:8px}.productionDashboard .operatorCard{display:grid;grid-gap:4px;gap:4px;padding:10px;border:1px solid var(--border);border-radius:10px;background:var(--surface-soft)}.productionDashboard .operatorCard span{color:var(--muted);font-size:.78rem;font-weight:900;text-transform:uppercase}.productionDashboard .operatorCard strong{font-size:.94rem;word-break:break-word}.productionDashboard .statusPill{display:inline-flex;align-items:center;justify-content:center;width:-moz-fit-content;width:fit-content;max-width:100%;padding:5px 9px;border-radius:999px;background:var(--grey-soft);color:#475569;font-size:.7rem;font-weight:950;line-height:1;text-transform:uppercase;white-space:nowrap}.productionDashboard .statusPill.tone-complete,.productionDashboard .statusPill.tone-processing{background:var(--green-soft);color:#166534}.productionDashboard .statusPill.tone-new,.productionDashboard .statusPill.tone-queued{background:var(--amber-soft);color:#92400e}.productionDashboard .statusPill.tone-obsolete{background:var(--red-soft);color:#991b1b}.productionDashboard .emptyLarge,.productionDashboard .emptyState{padding:14px;border:1px dashed var(--border);border-radius:12px;background:var(--surface-soft);color:var(--muted);font-weight:800}.productionDashboard .emptyLarge h2{margin-top:2px;font-size:1.6rem}.productionDashboard .emptyLarge p{margin-bottom:0}@media (max-width:1200px){.productionDashboard{width:100%;margin-left:0}.productionDashboard .layout,.productionDashboard .progressLayout{grid-template-columns:1fr}.productionDashboard .sidebar{grid-template-rows:minmax(280px,38vh)}.productionDashboard .operatorGrid,.productionDashboard .sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.productionDashboard .progressSummary{grid-template-columns:1fr}.productionDashboard .progressRing{justify-self:center}.productionDashboard .progressStats{grid-template-columns:repeat(2,minmax(0,1fr))}.productionDashboard .operatorGrid,.productionDashboard .sidebar{grid-template-columns:1fr}.productionDashboard .sidebar{grid-template-rows:auto}.productionDashboard .queuePanel,.productionDashboard .sourcePanel{max-height:420px}.productionDashboard .jobHeroTop{flex-direction:column}}