@layer components{.dash{--job-queued:var(--soil-400);--job-run:var(--petal-500);--job-yours:var(--stamen-500);--job-done:var(--leaf-500);--job-bad:var(--danger);--job-shadow:#1a112d47}[data-theme=dark] .dash{--job-queued:var(--soil-500);--job-run:var(--petal-300);--job-yours:var(--stamen-300);--job-done:var(--leaf-300);--job-shadow:#000000b3}.dash[data-screen=jobs] .dash-content{padding-bottom:0}.dash[data-screen=job] .dash-content{padding:0}.job-board{min-height:calc(100dvh - var(--bar) - 1.1rem);flex-direction:column;display:flex}.job-lanes{flex:1}.job-dock{z-index:5;background:linear-gradient(to top, var(--bg) 78%, transparent);margin:0 -1.25rem;padding:1.75rem 1.25rem .75rem;position:sticky;bottom:0}@media (max-width:767px){.job-board{min-height:0}.job-dock{background:0 0;order:1;margin:0;padding:1.1rem 0 0;position:static}.job-lanes{order:2}}.job-page{min-height:calc(100dvh - var(--bar));flex-direction:column;display:flex}.job-scroll{flex:1;min-height:0}@media (min-width:1024px){.job-page{height:calc(100dvh - var(--bar))}.job-scroll{scrollbar-width:thin;overflow-y:auto}}@media (max-width:767px){.job-page{padding-bottom:5.5rem}}.job-lane{background:color-mix(in srgb, var(--surface-2) 62%, transparent);border-radius:24px;flex-direction:column;gap:.625rem;min-width:0;padding:.625rem;display:flex}.job-lane[data-yours=true]{background:var(--surface-2);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--job-yours) 62%, transparent)}.job-card{background:var(--surface);min-width:0;color:var(--text);box-shadow:0 1px 0 var(--border);border-radius:20px;padding:.9rem 1rem;text-decoration:none;transition:box-shadow .15s;animation:.25s ease-out both job-rise;display:block}a.job-card:hover,a.job-card:focus-visible{box-shadow:0 1px 0 var(--border), 0 12px 30px -14px var(--job-shadow)}a.job-card:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:20px}.job-card[data-status=cancelled]{opacity:.7}@keyframes job-rise{0%{opacity:0;transform:translateY(6px)}}@keyframes job-pulse{50%{opacity:.35}}.job-mark{background:var(--job-queued);border-radius:3px;flex:none;width:.75rem;height:.75rem}.job-mark-sm{border-radius:2px;width:.56rem;height:.56rem}.job-mark[data-lane=running]{background:var(--job-run)}.job-mark[data-lane=running][data-live=true]{animation:1.6s ease-in-out infinite job-pulse}.job-mark[data-lane=yours]{background:var(--job-yours);border-radius:999px}.job-mark[data-lane=done]{background:var(--job-done);border-radius:0 100% 0 0}.job-step{background:var(--border);border-radius:999px;flex:1;height:6px}.job-step-sm{height:4px}.job-step[data-on=passed]{background:color-mix(in srgb, var(--job-run) 55%, var(--border))}.job-step[data-on=now]{background:var(--job-run);animation:1.6s ease-in-out infinite job-pulse}.job-cell{background:var(--job-done);border-radius:3px;flex:none;width:16px;height:10px}.job-cell[data-state=claimed],.job-tab[data-state=claimed]{box-shadow:inset 0 0 0 1.5px var(--border-strong);background:0 0}.job-cell[data-state=ask],.job-tab[data-state=ask]{background:linear-gradient(to top, var(--job-yours) 55%, color-mix(in srgb, var(--job-yours) 28%, transparent) 55%)}.job-cell[data-state=wrong],.job-tab[data-state=wrong]{background:repeating-linear-gradient(135deg, var(--job-bad) 0 3px, color-mix(in srgb, var(--job-bad) 45%, transparent) 3px 5px)}.job-cell[data-state=differs],.job-tab[data-state=differs]{background:var(--job-run);border-radius:3px 3px 3px 9px}.job-tab{background:var(--job-done);width:22px;height:12px;color:var(--bg);font-variant-numeric:tabular-nums;cursor:pointer;opacity:.72;border-radius:5px;flex:none;place-items:center;font-size:.625rem;font-weight:700;transition:opacity .12s;display:grid}.job-tab[data-tall=true]{height:28px}.job-tab[data-state=claimed]{color:var(--muted)}.job-tab[data-state=ask]{color:var(--soil-900);place-items:end center;padding-bottom:2px}.job-tab:hover,.job-tab[data-current=true],.job-tab[data-objected=true]{opacity:1}.job-tab[data-current=true]{outline:2px solid var(--accent-edge);outline-offset:2px}.job-tab[data-objected=true]:not([data-current=true]){outline:2px solid var(--danger);outline-offset:1px}.job-tab:focus-visible{opacity:1;outline:2px solid var(--focus);outline-offset:2px}.job-dot{background:var(--job-done);border-radius:999px;flex:none;width:.5rem;height:.5rem}.job-dot-lg{width:.625rem;height:.625rem}.job-dot[data-state=running]{background:var(--job-run);animation:1.6s ease-in-out infinite job-pulse}.job-dot[data-state=paused]{background:var(--job-bad)}.job-dot[data-state=limit]{background:var(--job-yours)}.job-compose{background:var(--surface);box-shadow:0 0 0 1px var(--border), 0 14px 40px -18px var(--job-shadow);border-radius:24px;padding:.5rem;transition:box-shadow .15s}.job-compose:focus-within{box-shadow:0 0 0 1px var(--border-strong), 0 14px 40px -18px var(--job-shadow)}.job-compose textarea:focus-visible{outline:none}.job-pop{z-index:50;background:var(--surface);min-width:15rem;max-width:min(20rem,100vw - 2rem);box-shadow:0 0 0 1px var(--border), 0 18px 50px -14px var(--job-shadow);border-radius:18px;padding:.375rem;animation:.18s ease-out both job-rise;position:absolute;bottom:calc(100% + 8px);left:0}.job-pop:focus-visible{outline:none}.job-opt{text-align:left;cursor:pointer;border-radius:12px;align-items:center;gap:.5rem;width:100%;padding:.4rem .625rem;display:flex}.job-opt[data-active=true]{background:var(--surface-2)}.side-badge{background:var(--job-yours);min-width:1.15rem;height:1.15rem;color:var(--soil-900);font-variant-numeric:tabular-nums;border-radius:999px;flex:none;place-items:center;margin-left:auto;padding:0 .3rem;font-size:.66rem;font-weight:700;display:grid}.side-jobs{margin:.15rem 0 .4rem}.side-job-head{color:var(--muted);align-items:center;gap:.5rem;margin-top:.45rem;padding:.15rem .5rem .2rem 1.05rem;font-size:.72rem;font-weight:500;display:flex}.side-job{gap:.45rem}.dash[data-side=closed] .side-jobs{display:none}.dash[data-side=closed] .side-item{position:relative}.dash[data-side=closed] .side-badge{min-width:.95rem;height:.95rem;padding:0 .2rem;font-size:.56rem;position:absolute;top:.1rem;right:.35rem}@media (max-width:1099px){.dash[data-side=auto] .side-jobs{display:none}.dash[data-side=auto] .side-item{position:relative}.dash[data-side=auto] .side-badge{min-width:.95rem;height:.95rem;padding:0 .2rem;font-size:.56rem;position:absolute;top:.1rem;right:.35rem}}.job-pill{background:color-mix(in srgb, var(--surface-2) 60%, transparent);min-width:0;color:var(--muted);white-space:nowrap;border-radius:999px;flex:1 0 auto;align-items:center;gap:.5rem;padding:.4rem .75rem .4rem .4rem;font-size:.78rem;display:flex}@media (min-width:1024px){.job-pill{flex:1 1 0}}.job-pill-n{background:var(--border);font-variant-numeric:tabular-nums;border-radius:999px;flex:none;place-items:center;width:1.25rem;height:1.25rem;font-size:.69rem;font-weight:600;display:grid}.job-pill[data-state=done]{background:var(--surface);color:var(--text);box-shadow:0 1px 0 var(--border)}.job-pill[data-state=done] .job-pill-n{background:var(--job-done);color:var(--bg)}.job-pill[data-state=now]{background:var(--text);color:var(--bg);font-weight:600}.job-pill[data-state=now] .job-pill-n{background:var(--job-run);color:var(--soil-900);animation:1.6s ease-in-out infinite job-pulse}.job-log{background:var(--surface);max-height:min(26rem,52vh);font-family:var(--font-mono);scrollbar-width:thin;border-radius:16px;padding:.5rem .25rem;font-size:.75rem;line-height:1.6;overflow-y:auto}.job-log-line{gap:.75rem;padding:.1rem .75rem;animation:.25s ease-out both job-rise;display:flex}.job-log-line[data-last=true]{color:var(--accent-2)}.job-avatar{background:color-mix(in srgb, var(--job-run) 22%, transparent);width:1.75rem;height:1.75rem;color:var(--accent-2);border-radius:50% 50% 50% 4px;flex:none;place-items:center;font-size:.72rem;font-weight:700;display:grid}.job-avatar[data-phase=review]{background:color-mix(in srgb, var(--job-done) 24%, transparent);color:var(--success);border-radius:999px}.job-review{flex-direction:column;flex:1;min-height:0;display:flex}.job-stage{padding:.75rem 1rem}.job-aside{border-top:1px solid var(--border);background:var(--surface);flex-direction:column;min-height:0;display:flex}.job-aside-scroll{flex:1;min-height:0;padding:0 .5rem .75rem}@media (min-width:640px){.job-stage{padding:.75rem 1.25rem}}@media (min-width:1024px){.job-review{flex-direction:row}.job-stage{flex:1;min-height:0}.job-aside{border-top:0;border-left:1px solid var(--border);flex:none;width:340px}.job-aside-scroll{scrollbar-width:thin;overflow-y:auto}}.job-review-frame{border:1px solid var(--border);border-radius:24px;display:flex;overflow:hidden}@media (min-width:1024px){.job-review-frame{height:72vh;min-height:30rem}}.job-evidence-row{scroll-snap-type:x proximity;scrollbar-width:thin;gap:.75rem;height:100%;display:flex;overflow-x:auto}.job-evidence{scroll-snap-align:start;flex-direction:column;flex:1 0 0;min-width:min(100%,17rem);min-height:0;display:flex}.job-evidence-row[data-count="3"] .job-evidence{flex-basis:42%;min-width:min(86%,24rem)}.job-frame{background:color-mix(in srgb, var(--surface-2) 80%, transparent);border-radius:18px;flex:1;width:100%;min-height:9rem;max-height:58vh;padding:.625rem;display:block;overflow:hidden}.job-evidence-lg .job-frame{background:var(--surface);max-height:none}.job-shot{object-fit:contain;border-radius:10px;width:100%;height:100%;max-height:100%;display:block}.job-text{font-family:var(--font-mono);white-space:pre-wrap;overflow-wrap:anywhere;scrollbar-width:thin;flex:0 auto;font-size:.75rem;line-height:1.6;overflow:auto}@media (min-width:1024px){.job-frame{min-height:0;max-height:none}}.job-approve{background:var(--job-done);color:var(--bg)}.job-approve:hover:not(:disabled){background:color-mix(in srgb, var(--job-done) 88%, var(--text))}.job-approve[data-armed=true]{background:var(--text);color:var(--bg)}.job-scrim{background:color-mix(in srgb, var(--soil-950) 42%, transparent);animation:.18s ease-out drawer-fade;position:absolute;inset:0}.job-panel{background:var(--bg);width:min(60rem,94vw);box-shadow:-30px 0 80px -30px var(--job-shadow);animation:job-slide .2s var(--ease-out);border-radius:28px 0 0 28px;flex-direction:column;display:flex;position:absolute;inset:0 0 0 auto}@media (max-width:639px){.job-panel{border-radius:0;width:100%}}@keyframes job-slide{0%{opacity:0;transform:translate(24px)}}.job-file{border:1px solid var(--border);background:var(--surface);border-radius:16px;scroll-margin-top:.5rem;overflow:hidden}.job-file>summary::-webkit-details-marker{display:none}.job-file>summary{list-style:none}.job-file:not([open])>summary{border-bottom:0}.job-tile{background:color-mix(in srgb, var(--surface-2) 62%, transparent);border-radius:20px;min-width:0;padding:1rem}.job-tile[data-next=true]{box-shadow:inset 0 0 0 2px color-mix(in srgb, var(--accent) 72%, transparent)}}
