#gj-tasks{--st-ink:#193c57;--st-muted:#6b8294;--st-line:#dfebf3;color:var(--st-ink);font:14px/1.5 Inter,Arial,sans-serif;margin-bottom:22px}
#gj-tasks *{box-sizing:border-box}#gj-tasks button,#gj-tasks input,#gj-tasks select{font:inherit;letter-spacing:normal}#gj-tasks button{cursor:pointer;min-height:34px;border:1px solid var(--st-line);border-radius:8px;padding:7px 12px;background:#fff;color:var(--st-ink);box-shadow:none;white-space:nowrap}#gj-tasks button:hover{background:#f1f8fd;border-color:#a3cdec}#gj-tasks button:focus-visible,#gj-tasks input:focus-visible,#gj-tasks select:focus-visible{outline:3px solid #70bfff;outline-offset:2px}#gj-tasks button:disabled{opacity:.5;cursor:default}#gj-tasks .st-primary{background:#087ec6;color:#fff;border-color:#087ec6}#gj-tasks .st-danger{color:#c34d49;background:#fff9f8;border-color:#f1d3d0}
#gj-tasks h2{font-size:24px;margin:0 0 5px;letter-spacing:-.6px}#gj-tasks h3{font-size:17px;margin:0}#gj-tasks p{margin:5px 0;color:var(--st-muted)}#gj-tasks small{font-size:12px;color:var(--st-muted)}#gj-tasks .st-heading,#gj-tasks .st-line,#gj-tasks .st-tabs,#gj-tasks .st-filters,#gj-tasks .st-demo,#gj-tasks .st-detail-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}#gj-tasks .st-heading{justify-content:space-between;margin-bottom:18px}#gj-tasks .st-eyebrow{color:#1689c9;font-size:11px;letter-spacing:1.5px;font-weight:700;margin-bottom:5px}#gj-tasks .st-service{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:9px;background:white;border:1px solid var(--st-line);font-size:12px}.st-dot{width:7px;height:7px;background:#20aa81;border-radius:50%;display:inline-block}
#gj-tasks .st-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 20px}#gj-tasks .st-metric{padding:15px 18px;background:#fff;border:1px solid var(--st-line);border-radius:12px}#gj-tasks .st-metric b{display:block;font-size:27px;font-weight:650;letter-spacing:-1px;margin:5px 0 0}#gj-tasks .st-metric[aria-pressed="true"]{background:#edf7ff;border-color:#c6e4f8}#gj-tasks .st-metric[aria-pressed="true"] b{color:#087ec6}#gj-tasks .st-metric span{font-size:12px;color:var(--st-muted)}
#gj-tasks .st-workspace{border:1px solid var(--st-line);background:#fff;border-radius:14px;overflow:hidden}#gj-tasks .st-toolbar{padding:17px 18px;border-bottom:1px solid var(--st-line)}#gj-tasks .st-tabs{gap:5px}#gj-tasks .st-tabs button{background:transparent;border-color:transparent;color:var(--st-muted);font-weight:600}#gj-tasks .st-tabs button[aria-selected=true]{background:#eaf5fd;color:#0879bd}#gj-tasks .st-count{display:inline-block;padding:0 6px;margin-left:5px;border-radius:5px;background:#dcecf8;font-size:11px}#gj-tasks .st-filters{margin-top:15px}#gj-tasks select,#gj-tasks input{width:auto;min-height:36px;border:1px solid var(--st-line);border-radius:8px;background:#fbfdff;color:var(--st-ink);padding:6px 9px;max-width:100%}#gj-tasks input{flex:1;min-width:160px}#gj-tasks .st-columns{display:grid;grid-template-columns:minmax(290px,.9fr) minmax(380px,1.4fr);min-height:480px}#gj-tasks .st-list{padding:10px;background:#f9fcff;border-right:1px solid var(--st-line);max-height:660px;overflow:auto}#gj-tasks .st-item{display:block;text-align:left;white-space:normal;width:100%;margin-bottom:7px;padding:14px;background:#fff;border:1px solid #e5edf4;border-radius:10px}#gj-tasks .st-item[aria-pressed=true]{border-color:#64afe2;background:#edf7ff;box-shadow:inset 3px 0 #1592d7}#gj-tasks .st-item .st-line{justify-content:space-between;gap:6px}#gj-tasks .st-item strong{display:block;font-size:14px;margin:7px 0 6px}#gj-tasks .st-item p{font-size:12px;margin-top:8px}#gj-tasks .st-badge{display:inline-flex;align-items:center;gap:5px;padding:3px 7px;border-radius:5px;background:#edf2f7;color:#627c91;font-size:11px;font-weight:600;white-space:nowrap}#gj-tasks .st-badge.running,#gj-tasks .st-badge.completed{background:#e7f6ef;color:#23805b}#gj-tasks .st-badge.waiting,#gj-tasks .st-badge.stopping{background:#fff2db;color:#a76b10}#gj-tasks .st-badge.failed{background:#fdebea;color:#be4d43}#gj-tasks .st-badge.scheduled{background:#f0edfc;color:#7856ac}#gj-tasks .st-progress{height:4px;background:#e0ebf3;border-radius:6px;overflow:hidden;margin:10px 0 6px}#gj-tasks .st-progress i{height:100%;display:block;background:#249bda;border-radius:6px}
#gj-tasks .st-detail{padding:23px;min-width:0}#gj-tasks .st-detail .st-top{display:flex;justify-content:space-between;gap:8px;margin-bottom:10px}#gj-tasks .st-detail h3{font-size:20px;line-height:1.35;margin:7px 0 5px}#gj-tasks .st-summary{margin:18px 0;padding:14px;background:#f5f9fc;border-radius:9px;border:1px solid #e8f0f6}#gj-tasks .st-summary strong{display:block;margin-bottom:4px}#gj-tasks .st-detail-actions{margin:16px 0}#gj-tasks .st-detail-tabs{padding:0 0 13px;border-bottom:1px solid var(--st-line);gap:0}#gj-tasks .st-detail-tabs button{font-size:12px;padding:6px 9px}#gj-tasks .st-panel{padding-top:16px}#gj-tasks .st-account{padding:11px 0;display:flex;gap:10px;align-items:center;border-bottom:1px solid #edf2f7}#gj-tasks .st-avatar{width:33px;height:33px;flex-shrink:0;border-radius:50%;background:#e4f1fb;color:#3b83b9;display:grid;place-items:center;font-size:12px;font-weight:600}#gj-tasks .st-account div:nth-child(2){flex:1}#gj-tasks .st-account small{display:block}#gj-tasks .st-log{display:grid;grid-template-columns:57px 1fr;gap:12px;padding:12px 0;border-bottom:1px solid #edf2f7}#gj-tasks .st-log time{font-size:11px;color:var(--st-muted);padding-top:2px}#gj-tasks .st-log small{display:block}#gj-tasks .st-pair{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid #edf2f7}#gj-tasks .st-pair span{color:var(--st-muted)}#gj-tasks .st-pair strong{text-align:right;font-weight:500}#gj-tasks .st-empty{text-align:center;padding:65px 22px;color:var(--st-muted)}#gj-tasks .st-empty b{display:block;color:var(--st-ink);font-size:16px;margin-bottom:9px}#gj-tasks .st-empty-icon{font-size:32px;opacity:.4;margin-bottom:15px}#gj-tasks .st-notice{padding:12px 16px;background:#fff5e2;border-bottom:1px solid #f1dfbc;color:#8b641f}#gj-tasks .st-demo{justify-content:space-between;margin:15px 0 0;font-size:12px;color:var(--st-muted)}#gj-tasks .st-demo select,#gj-tasks .st-demo button{font-size:12px;min-height:30px;padding:4px 8px}#gj-tasks .st-feedback{min-height:20px;font-size:12px;color:#248464;margin-top:8px}#gj-tasks dialog{border:1px solid var(--st-line);border-radius:16px;color:var(--st-ink);width:min(480px,92vw);padding:25px}#gj-tasks dialog::backdrop{background:#173a5866}#gj-tasks dialog h3{margin-bottom:10px}#gj-tasks dialog .st-line{justify-content:flex-end;margin-top:22px}
.st-diagnostics{border:1px solid #dfebf3;border-radius:12px;background:#fff;margin:15px 0 65px;padding:14px 18px}.st-diagnostics>summary{cursor:pointer;font-weight:600;color:#4c6f89}.st-diagnostics .status-dashboard{margin-top:18px}body:has(#statusView:not(.hidden)) .gramjet-lab-bar{display:none!important}
@media(min-width:1500px){#gj-tasks .st-columns{grid-template-columns:minmax(360px,1fr) minmax(440px,1.5fr)}}@media(max-width:1050px){#gj-tasks .st-columns{grid-template-columns:1fr}#gj-tasks .st-list{max-height:345px;border-right:0;border-bottom:1px solid var(--st-line)}#gj-tasks .st-metrics{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){#gj-tasks .st-detail{padding:16px}#gj-tasks .st-heading{align-items:flex-start}#gj-tasks .st-filters>*{flex:1;min-width:130px}#gj-tasks .st-metric{padding:12px}#gj-tasks .st-tabs button{padding:7px}#gj-tasks .st-metrics{gap:8px}#gj-tasks .st-account{flex-wrap:wrap}}
/* Keep the prototype hierarchy readable inside the compact legacy shell. */
body.gramjet-shell-active #statusView:has(#gj-tasks),body.gramjet-shell-active #gj-tasks{border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important}
body.gramjet-shell-active #gj-tasks h2{font-size:24px!important}
body.gramjet-shell-active #gj-tasks .st-detail h3{font-size:20px!important}
body.gramjet-shell-active #gj-tasks .st-metric b{font-size:28px!important;line-height:1.2!important;margin:7px 0!important}
body.gramjet-shell-active #gj-tasks .st-eyebrow{font-size:11px!important}
body.gramjet-shell-active #gj-tasks .st-badge{font-size:11px!important}
body.gramjet-shell-active #gj-tasks .st-item{min-height:0!important}
#gj-tasks .st-list{overflow-x:hidden;min-width:0}
#gj-tasks .st-item>small{display:block}
#gj-tasks .st-item>small+small{margin-top:8px}
#gj-tasks .st-pagination{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-top:1px solid var(--st-line);color:var(--st-muted);font-size:12px}
#gj-tasks .st-coverage{margin-top:14px;color:var(--st-muted);font-size:12px}#gj-tasks .st-coverage summary{cursor:pointer;margin-bottom:10px}#gj-tasks .st-coverage .st-badge{margin:3px 4px 3px 0}#gj-tasks .st-item small{overflow-wrap:anywhere}#gj-tasks .st-pair strong{overflow-wrap:anywhere;min-width:0}#gj-tasks .st-log{grid-template-columns:85px 1fr}#gj-tasks .st-detail{overflow-wrap:anywhere}

#gj-tasks .st-monitor-banner{margin:0 0 20px;padding:20px;border:1px solid #dbe4ee;border-radius:16px;background:#f7fafc}
#gj-tasks .st-monitor-banner p{margin:8px 0;color:#455569}
#gj-tasks .st-monitor-banner .st-line{gap:14px;flex-wrap:wrap}
#gj-tasks .st-monitor-counts{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;margin:16px 0}
#gj-tasks .st-monitor-counts>div{display:flex;flex-direction:column;gap:4px;padding:10px;border:1px solid #e2e8f0;border-radius:9px;background:#fff}
#gj-tasks .st-monitor-counts span{font-size:12px;color:#526174}
#gj-tasks .st-monitor-counts strong{font-size:19px;color:#152f48}
#gj-tasks .st-monitor-footnote{font-size:12px;line-height:1.5;color:#526174}
#gj-tasks .st-monitor-account{border:1px solid #dbe4ee;border-radius:12px;margin:12px 0;padding:12px}
#gj-tasks .st-monitor-account summary{cursor:pointer;display:grid;gap:5px;overflow-wrap:anywhere}
#gj-tasks .st-monitor-account summary span{color:#455569}
#gj-tasks .st-monitor-account>div{padding-top:14px}
#gj-tasks .st-monitor-overview .st-notice{margin:8px 0}

/* A stable text field ticks locally; the surrounding task card is retained. */
#gj-tasks .st-waits{margin-top:10px;display:grid;gap:8px;color:#956713}
#gj-tasks .st-wait{padding:8px 10px;border-radius:7px;background:#fff7e7;border:1px solid #efdfbb}
#gj-tasks .st-wait small{display:block;margin-top:3px;line-height:1.5}
#gj-tasks .st-wait-countdown{display:block;min-height:1.5em;font-weight:600;font-variant-numeric:tabular-nums}
#gj-tasks .st-waits-compact{font-size:12px;margin-top:7px}
#gj-tasks .st-waits-compact .st-wait{padding:4px 7px}

#gj-tasks .st-metrics button.st-metric{text-align:left;cursor:pointer;white-space:normal;height:auto;display:block;color:inherit;font:inherit;overflow-wrap:anywhere}#gj-tasks .st-metrics button.st-metric:hover,#gj-tasks .st-metrics button.st-metric:focus-visible{border-color:#168bcc}.st-bulk:not(:empty){display:flex;gap:8px;flex-wrap:wrap;padding:10px 16px}.st-mark{display:flex;gap:6px;align-items:center;margin:8px 0 2px;font-size:12px}.st-delete-list{max-height:32vh;overflow:auto}.st-delete-list li{margin:4px 0}

#gj-tasks .st-metrics .st-metric[aria-pressed="true"]{background:#edf7ff;border-color:#89c9ef}#gj-tasks .st-metrics .st-metric{padding:15px 18px}

#gj-tasks .st-story-workspace .st-filters,#gj-tasks .st-story-workspace .st-pagination{display:none}
#gj-tasks .st-story-filters,#gj-tasks .st-story-filters label,#gj-tasks .st-story-person,#gj-tasks .st-story-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
#gj-tasks .st-story-filters label{color:#45647a;font-size:13px}
#gj-tasks .st-story-filters input,#gj-tasks .st-story-filters select{border:1px solid var(--st-line);border-radius:7px;background:white;padding:6px 9px;color:var(--st-ink)}
#gj-tasks .st-story-day{padding:6px 2px 14px}#gj-tasks .st-story-day h3{margin-bottom:2px}
#gj-tasks .st-story-slot{display:grid;grid-template-columns:70px minmax(0,1fr);gap:10px;padding:10px 0;border-top:1px solid var(--st-line)}
#gj-tasks .st-story-slot time{padding-top:8px;font-size:15px;font-weight:650;font-variant-numeric:tabular-nums}
#gj-tasks .st-story-slot>div{display:flex;gap:6px;flex-wrap:wrap}
#gj-tasks .st-story-slot button{min-width:0;max-width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere}
#gj-tasks .st-story-slot button small{display:block}#gj-tasks .st-story-slot button[aria-pressed="true"]{background:#e9f5ff;border-color:#48a8e5}
#gj-tasks .st-story-person{margin:12px 0;overflow-wrap:anywhere}.st-story-face{position:relative;display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;overflow:hidden;background:#f1e5f5;color:#793a83;font-weight:650}
.st-story-face img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#gj-tasks .st-story-plan{background:#eef7ff;border:1px solid #c6dff2;border-radius:10px;padding:13px 16px;margin:0 0 16px}
#gj-tasks .st-story-plan>strong{display:block;font-size:30px;line-height:1.25;font-variant-numeric:tabular-nums}
#gj-tasks .st-story-actions{margin-top:16px}#gj-tasks .st-story-log{margin-top:10px}
@media(max-width:800px){#gj-tasks .st-story-workspace .st-columns{display:block}#gj-tasks .st-story-workspace .st-list{max-height:42vh;overflow:auto}}


#gj-tasks .st-story-time-line{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
#gj-tasks .st-story-clock{display:inline-flex;align-items:center;color:#09695f;background:#e2f7ef;border:1px solid #b7e5d5;border-radius:7px;padding:3px 9px;font-size:13px;font-weight:650;line-height:1.4;font-variant-numeric:tabular-nums}
#gj-tasks .st-story-plan .st-story-time-line>strong{font-size:26px;line-height:1.4}
#gj-tasks .st-summary .st-story-person{margin:0 0 9px}
#gj-tasks .st-story-progress .st-progress{position:relative;isolation:isolate}
#gj-tasks .st-story-progress .st-progress::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,transparent 36%,rgba(63,177,183,.45) 50%,transparent 64%);transform:translateX(-68%);animation:st-story-sweep 3.4s ease-in-out infinite alternate}
@keyframes st-story-sweep{to{transform:translateX(68%)}}
@media(prefers-reduced-motion:reduce){#gj-tasks .st-story-progress .st-progress::after{display:none;animation:none}}


#gj-tasks .st-detail-actions button.st-open-module{background:#1976d2;color:#fff;border-color:#1976d2;box-shadow:0 3px 9px #1976d226;transition:background .15s,box-shadow .15s;white-space:normal;text-align:left}
#gj-tasks .st-detail-actions button.st-open-module:hover{background:#2188e8;color:#fff;border-color:#2188e8;box-shadow:0 4px 12px #1976d23d}
#gj-tasks .st-detail-actions button.st-open-module:focus-visible{outline:3px solid #82c5ff;outline-offset:3px}
