:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#182230;background:#f4f6f8;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #182230;--muted: #667085;--line: #e4e7ec;--panel: #ffffff;--soft: #f8fafc;--navy: #101828;--blue: #3567e7;--blue-dark: #2453ca;--blue-soft: #edf3ff;--green: #087a55;--green-soft: #eaf8f2;--amber: #a15c00;--amber-soft: #fff4df;--red: #b42318;--red-soft: #fff0ee;--violet: #6941c6;--shadow: 0 14px 40px rgb(16 24 40 / 8%)}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-width:320px}button,input,textarea{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid rgb(53 103 231 / 22%);outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.eyebrow{margin:0 0 6px;color:#53657f;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.muted{color:var(--muted)}.monospace{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace}.logo{display:flex;align-items:center;gap:11px}.logo-mark{display:grid;width:38px;height:38px;place-items:center;color:#fff;border-radius:11px;background:linear-gradient(145deg,rgb(255 255 255 / 22%),transparent),var(--navy);box-shadow:0 6px 16px #10182833;font-size:18px;font-weight:900}.logo>span:last-child{display:flex;flex-direction:column;line-height:1.05}.logo strong{font-size:18px;letter-spacing:.04em}.logo small{margin-top:4px;color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.button{min-height:40px;padding:9px 15px;border:1px solid transparent;border-radius:10px;background:#fff;cursor:pointer;font-weight:750;transition:transform .12s ease,box-shadow .12s ease,background .12s ease}.button:hover:not(:disabled){transform:translateY(-1px)}.button:disabled{cursor:not-allowed;opacity:.55}.button.primary{color:#fff;background:var(--blue);box-shadow:0 7px 16px #3567e733}.button.primary:hover:not(:disabled){background:var(--blue-dark)}.button.quiet{border-color:var(--line);color:#344054;background:#fff}.button.danger{color:#fff;background:var(--red)}.button.large{width:100%;min-height:48px}.button.compact{min-height:36px;padding:7px 12px;font-size:13px}.text-button{padding:0;border:0;color:var(--blue-dark);background:none;cursor:pointer;font-weight:750;text-decoration:underline}.icon-button{display:grid;width:34px;height:34px;padding:0;place-items:center;border:0;border-radius:8px;color:var(--muted);background:transparent;cursor:pointer;font-size:24px}.icon-button:hover{background:#f2f4f7}.form-stack{display:flex;flex-direction:column;gap:17px}.form-stack label{display:flex;flex-direction:column;gap:7px;color:#344054;font-size:13px;font-weight:750}input,textarea{width:100%;border:1px solid #d0d5dd;border-radius:10px;color:var(--ink);background:#fff;box-shadow:0 1px 2px #1018280a}input{height:44px;padding:0 12px}textarea{padding:11px 12px;line-height:1.5;resize:vertical}input:focus,textarea:focus{border-color:#84a4f4}.fullscreen-shell,.login-shell{min-height:100vh}.fullscreen-shell{display:grid;padding:24px;place-items:center;background:radial-gradient(circle at 15% 10%,#dfe8ff 0,transparent 35%),#f6f7fa}.status-card{display:flex;width:min(460px,100%);padding:34px;flex-direction:column;align-items:center;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow);text-align:center}.status-card h1{margin:28px 0 8px}.status-card p{color:var(--muted)}.loader{width:28px;height:28px;margin-top:22px;border:3px solid #e7ebf3;border-top-color:var(--blue);border-radius:50%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.login-shell{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(420px,.85fr);background:#f7f8fa}.login-copy{display:flex;min-height:100vh;padding:clamp(32px,6vw,84px);flex-direction:column;justify-content:space-between;color:#fff;background:linear-gradient(135deg,#101828f5,#1a2a45f0),var(--navy)}.login-copy .logo small{color:#aebbd0}.login-copy .logo-mark{color:var(--navy);background:#fff}.login-copy .eyebrow{color:#9eb7f8}.login-copy h1{max-width:680px;margin:10px 0 22px;font-size:clamp(38px,5vw,70px);line-height:1.02;letter-spacing:-.045em}.login-copy>div>p:last-child{max-width:620px;margin:0;color:#c3ccda;font-size:18px;line-height:1.65}.trust-list{display:flex;padding:0;margin:0;gap:26px;list-style:none;color:#dce4f0;font-size:13px}.trust-list li{position:relative;padding-left:17px}.trust-list li:before{position:absolute;top:5px;left:0;width:7px;height:7px;border-radius:50%;background:#64d8ae;content:""}.login-panel{align-self:center;width:min(440px,calc(100% - 48px));padding:40px;margin:0 auto;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow)}.login-panel h2{margin:0 0 8px;font-size:29px;letter-spacing:-.025em}.login-panel>.muted{margin:0 0 28px;line-height:1.5}.workspace{min-height:100vh;background:#f4f6f8}.topbar{display:grid;position:sticky;z-index:20;top:0;height:72px;padding:0 22px;grid-template-columns:1fr auto 1fr;align-items:center;border-bottom:1px solid var(--line);background:#fffffff0;backdrop-filter:blur(14px)}.topbar-context{display:flex;padding:7px 12px;align-items:center;gap:8px;border:1px solid var(--line);border-radius:999px;color:#475467;background:#fafbfc;font-size:12px;font-weight:700}.live-dot{width:7px;height:7px;border-radius:50%;background:#12b76a;box-shadow:0 0 0 4px #12b76a1a}.topbar-user{display:flex;justify-self:end;align-items:center;gap:14px}.topbar-user>span{display:flex;flex-direction:column;text-align:right}.topbar-user strong{font-size:13px}.topbar-user small{margin-top:3px;color:var(--muted);font-size:10px}.workspace-grid{display:grid;height:calc(100vh - 72px);min-height:680px;grid-template-columns:minmax(320px,.85fr) minmax(500px,1.55fr) minmax(300px,.76fr);gap:1px;background:var(--line)}.workspace-panel{min-width:0;overflow-y:auto;background:var(--panel)}.board-panel,.control-panel{padding:22px}.detail-panel{background:#f9fafb}.panel-heading,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-heading h1,.section-heading h2{margin:0;letter-spacing:-.025em}.panel-heading h1{font-size:24px}.section-heading h2{font-size:20px}.search-field{display:block;margin:18px 0}.search-field input{height:40px;padding-left:36px;background:linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") no-repeat 12px center}.kanban-columns{display:flex;flex-direction:column;gap:13px}.kanban-column{padding:12px;border:1px solid var(--line);border-radius:13px;background:#fafbfc}.kanban-column>header{display:flex;align-items:center;justify-content:space-between;gap:8px}.kanban-column>header h2{margin:0;color:#344054;font-size:12px;font-weight:800;letter-spacing:.02em}.kanban-column>header>span{display:grid;min-width:24px;height:24px;padding:0 6px;place-items:center;border-radius:8px;color:#475467;background:#fff;box-shadow:0 1px 3px #10182814;font-size:11px;font-weight:800}.column-note{margin:5px 0 0;color:var(--green);font-size:10px;font-weight:700}.kanban-card-list{display:flex;margin-top:9px;flex-direction:column;gap:7px}.kanban-card{display:flex;width:100%;padding:11px;flex-direction:column;align-items:stretch;gap:8px;border:1px solid #e6e9ef;border-radius:10px;color:var(--ink);background:#fff;box-shadow:0 2px 5px #1018280a;cursor:pointer;text-align:left;transition:border .12s ease,box-shadow .12s ease,transform .12s ease}.kanban-card:hover,.kanban-card.selected{border-color:#9db5f3;box-shadow:0 5px 13px #3567e71a;transform:translateY(-1px)}.kanban-card.selected{box-shadow:inset 3px 0 0 var(--blue),0 5px 13px #3567e71a}.card-title{font-size:13px;font-weight:760;line-height:1.35}.card-meta{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:10px;text-transform:capitalize}.run-badge,.workflow-pill,.runner-badge{display:inline-flex;width:fit-content;min-height:23px;padding:4px 8px;align-items:center;border-radius:999px;font-size:10px;font-weight:800;line-height:1}.run-idle{color:#475467;background:#f2f4f7}.run-queued,.run-deferred{color:var(--amber);background:var(--amber-soft)}.run-running{color:var(--blue-dark);background:var(--blue-soft)}.run-done{color:var(--green);background:var(--green-soft)}.run-failed,.run-interrupted{color:var(--red);background:var(--red-soft)}.blocked-label{width:fit-content;padding:4px 7px;border-radius:6px;color:var(--red);background:var(--red-soft);font-size:10px;font-weight:800}.criteria-progress{color:var(--muted);font-size:10px}.empty-column{padding:5px 0 1px;color:#98a2b3;font-size:11px}.panel-loading{display:grid;min-height:180px;place-items:center;color:var(--muted);font-size:13px}.inline-error{display:flex;padding:10px 12px;margin:12px 0;align-items:center;justify-content:space-between;gap:12px;border:1px solid #fecdca;border-radius:9px;color:#912018;background:var(--red-soft);font-size:12px;line-height:1.45}.inline-notice{padding:10px 12px;margin:12px 0;border:1px solid #b7e6d4;border-radius:9px;color:#05603f;background:var(--green-soft);font-size:12px;line-height:1.45}.inline-notice.warning{border-color:#fedf89;color:#93370d;background:var(--amber-soft)}.empty-detail{display:grid;height:100%;min-height:500px;padding:40px;place-content:center;text-align:center}.empty-icon{margin-bottom:12px;color:#98a2b3;font-size:42px}.empty-detail h2{margin:0}.empty-detail p{color:var(--muted)}.detail-error{padding:24px}.task-detail{width:min(850px,100%);min-height:100%;padding:28px clamp(22px,4vw,48px) 60px;margin:0 auto;background:#fff}.task-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.task-kickers{display:flex;margin-bottom:13px;flex-wrap:wrap;gap:7px}.workflow-pill{color:#344054;background:#eef1f5}.workflow-pill.state-backlog{color:var(--green);background:var(--green-soft)}.workflow-pill.state-to_frame,.workflow-pill.state-codex_review{color:var(--violet);background:#f4efff}.workflow-pill.state-ready_claude,.workflow-pill.state-implementing{color:var(--blue-dark);background:var(--blue-soft)}.workflow-pill.state-mohamed_validation{color:var(--amber);background:var(--amber-soft)}.task-header h1{max-width:650px;margin:0;font-size:clamp(27px,3vw,38px);line-height:1.15;letter-spacing:-.04em}.task-updated{margin:9px 0 0;color:var(--muted);font-size:11px}.agent-avatar{display:grid;width:44px;height:44px;flex:0 0 auto;place-items:center;border-radius:13px;color:#fff;font-size:12px;font-weight:850}.agent-codex{background:var(--navy)}.agent-claude{background:#d65d32}.blocked-banner{display:flex;padding:13px 15px;margin-top:20px;flex-direction:column;gap:4px;border-left:3px solid var(--red);color:#7a271a;background:var(--red-soft);font-size:12px}.task-context{display:grid;margin-top:26px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.task-context section{padding:17px;border:1px solid var(--line);border-radius:12px;background:#fafbfc}.task-context h2{margin:0 0 8px;color:#475467;font-size:11px;letter-spacing:.06em;text-transform:uppercase}.task-context p{margin:0;font-size:13px;line-height:1.62;white-space:pre-wrap}.task-action-bar{display:flex;padding:15px;margin-top:16px;align-items:center;justify-content:space-between;gap:18px;border:1px solid #cddafd;border-radius:12px;background:#f5f8ff}.task-action-bar.safe{border-color:#b7e6d4;background:#f0faf6}.task-action-bar>div:first-child{display:flex;flex-direction:column;gap:4px}.task-action-bar strong{font-size:13px}.task-action-bar span{color:var(--muted);font-size:11px;line-height:1.4}.button-row{display:flex;align-items:center;gap:8px}.thread-section,.proof-section{margin-top:36px}.sequence-label{padding:5px 8px;border-radius:7px;color:var(--muted);background:#f2f4f7;font-family:SFMono-Regular,Consolas,monospace;font-size:9px}.message-thread{display:flex;margin-top:17px;flex-direction:column;gap:10px}.message{max-width:88%;padding:13px 15px;align-self:flex-start;border:1px solid var(--line);border-radius:4px 14px 14px;background:#fff;box-shadow:0 2px 5px #1018280a}.message-mohamed{align-self:flex-end;border-color:#cbd8fb;border-radius:14px 4px 14px 14px;background:#eef3ff}.message-system{max-width:100%;align-self:stretch;border-style:dashed;color:#475467;background:#f8fafc}.message header{display:flex;margin-bottom:7px;align-items:center;justify-content:space-between;gap:18px}.message header strong{font-size:11px}.message header span{color:var(--muted);font-size:9px}.message p{margin:0;font-size:13px;line-height:1.62;white-space:pre-wrap;overflow-wrap:anywhere}.reply-preview{padding:7px 9px;margin-bottom:8px;border-left:2px solid #98a2b3;color:var(--muted);background:#ffffff85;font-size:10px;line-height:1.35}.empty-thread{padding:20px;margin-top:15px;border:1px dashed #d0d5dd;border-radius:11px;color:var(--muted);background:#fafbfc;font-size:12px;text-align:center}.proof-grid{display:grid;margin-top:16px;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.metric{display:flex;min-width:0;padding:12px;flex-direction:column;gap:5px;border:1px solid var(--line);border-radius:10px;background:#fafbfc}.metric span{color:var(--muted);font-size:9px}.metric strong{min-width:0;overflow:hidden;font-size:12px;text-overflow:ellipsis}.criteria-list{display:flex;padding:0;margin:14px 0 0;flex-direction:column;gap:7px;list-style:none}.criteria-list li{display:flex;padding:10px 11px;align-items:flex-start;gap:9px;border:1px solid var(--line);border-radius:9px;font-size:12px}.criteria-list li.done>span:first-child{color:var(--green)}.criteria-list li>span:last-child{display:flex;flex:1;align-items:center;justify-content:space-between;gap:8px}.criteria-list small{color:var(--red);font-size:8px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.technical-events{padding:12px;margin-top:14px;border:1px solid var(--line);border-radius:10px;background:#fafbfc;font-size:11px}.technical-events summary{cursor:pointer;font-weight:750}.technical-events ol{padding-left:20px;margin:13px 0 0}.technical-events li{padding:6px 0}.technical-events time,.technical-events li>span{margin-right:8px;color:var(--muted)}.technical-events li p{margin:4px 0 0;color:#475467}.runner-badge{color:#475467;background:#f2f4f7}.runner-badge.runner-running{color:var(--green);background:var(--green-soft)}.runner-badge.runner-starting,.runner-badge.runner-stopping{color:var(--amber);background:var(--amber-soft)}.runner-badge.runner-error{color:var(--red);background:var(--red-soft)}.runner-card{padding:16px;margin-top:19px;border:1px solid var(--line);border-radius:13px;background:#fafbfc}.runner-visual{display:flex;align-items:center;gap:12px}.runner-orb{width:18px;height:18px;border:5px solid #eaecf0;border-radius:50%;background:#98a2b3}.runner-orb.runner-running{border-color:#b7ebd5;background:#12b76a;box-shadow:0 0 0 5px #12b76a14}.runner-orb.runner-starting,.runner-orb.runner-stopping{border-color:#fee4bb;background:#f79009}.runner-orb.runner-error{border-color:#fecdca;background:#f04438}.runner-visual>div{display:flex;flex-direction:column;gap:3px}.runner-visual strong{font-size:14px}.runner-visual span,.runner-idle-copy{color:var(--muted);font-size:10px;line-height:1.5}.runner-idle-copy{margin:14px 0 0}.runner-details{display:flex;margin:15px 0 0;flex-direction:column;gap:8px}.runner-details>div{display:flex;justify-content:space-between;gap:10px}.runner-details dt{color:var(--muted);font-size:10px}.runner-details dd{margin:0;font-size:10px;font-weight:750;text-align:right}.control-section{margin-top:24px}.control-section h2{margin:0 0 11px;color:#344054;font-size:12px;text-transform:uppercase}.command-grid{display:grid;grid-template-columns:1fr;gap:7px}.command-button{display:flex;width:100%;padding:11px 12px;flex-direction:column;align-items:flex-start;gap:3px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer;text-align:left}.command-button:hover{border-color:#a9bdf2;background:#f7f9ff}.command-button strong{font-size:12px}.command-button span{color:var(--muted);font-size:9px}.emergency-button{display:flex;width:100%;padding:11px 12px;margin-top:8px;flex-direction:column;align-items:flex-start;gap:3px;border:1px solid #fecdca;border-radius:10px;color:var(--red);background:#fff8f7;cursor:pointer;text-align:left}.emergency-button span{font-size:12px;font-weight:800}.emergency-button small{color:#a43c32;font-size:9px}.cost-panel{padding:15px;margin-top:24px;border:1px solid #c8d8fd;border-radius:13px;background:linear-gradient(145deg,#f5f8ff,#eef3ff)}.cost-panel .section-heading h2{font-size:17px}.cost-highlight{display:flex;padding:13px 0;flex-direction:column}.cost-highlight>span,.cost-highlight small{color:#53657f;font-size:9px}.cost-highlight strong{margin:2px 0;color:var(--navy);font-size:27px;letter-spacing:-.04em}.cost-details{display:flex;margin:0;flex-direction:column;gap:6px}.cost-details div{display:flex;justify-content:space-between;gap:12px;font-size:10px}.cost-details dt{color:#53657f}.cost-details dd{margin:0;font-weight:800}.cost-panel>p{margin:12px 0 0;color:#53657f;font-size:9px;line-height:1.5}.schedule-summary{display:flex;padding-bottom:20px;flex-direction:column;gap:4px}.schedule-summary strong{font-size:13px}.schedule-summary span{color:var(--muted);font-size:9px}.dialog-backdrop{display:grid;position:fixed;z-index:100;inset:0;padding:20px;place-items:center;background:#1018288a;backdrop-filter:blur(3px)}.dialog-card{width:min(520px,100%);max-height:calc(100vh - 40px);padding:22px;overflow-y:auto;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 24px 80px #10182842}.dialog-card.danger{border-top:4px solid var(--red)}.dialog-card>header{display:flex;margin-bottom:18px;align-items:center;justify-content:space-between;gap:14px}.dialog-card h2{margin:0;font-size:20px;letter-spacing:-.025em}.dialog-description{margin:0 0 21px;color:#475467;font-size:13px;line-height:1.6}.dialog-actions{display:flex;margin-top:5px;justify-content:flex-end;gap:8px}.safe-notice{display:flex;padding:12px;flex-direction:column;gap:4px;border:1px solid #b7e6d4;border-radius:10px;color:#05603f;background:var(--green-soft);font-size:11px;line-height:1.45}.safe-notice strong{font-size:12px}.mobile-tabs{display:none}@media(max-width:1180px){.workspace-grid{grid-template-columns:minmax(280px,.8fr) minmax(450px,1.45fr) minmax(270px,.7fr)}.board-panel,.control-panel{padding:17px}.proof-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.login-shell{grid-template-columns:1fr}.login-copy{display:none}.login-panel{margin:40px auto}.topbar{height:64px;padding:0 15px;grid-template-columns:1fr auto}.topbar-context{display:none}.topbar-user small,.topbar-user>span{display:none}.mobile-tabs{display:grid;position:sticky;z-index:19;top:64px;height:50px;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line);background:#fff}.mobile-tabs button{position:relative;border:0;color:var(--muted);background:#fff;cursor:pointer;font-size:12px;font-weight:750}.mobile-tabs button.active{color:var(--blue-dark)}.mobile-tabs button.active:after{position:absolute;right:18%;bottom:0;left:18%;height:2px;border-radius:2px 2px 0 0;background:var(--blue);content:""}.mobile-tabs button span{padding:2px 5px;margin-left:5px;border-radius:999px;background:#f2f4f7;font-size:9px}.workspace-grid{display:block;height:calc(100vh - 114px);min-height:0}.workspace-panel{display:none;height:100%}.workspace-panel.mobile-active{display:block}.task-detail{min-height:100%}}@media(max-width:620px){.topbar .logo small{display:none}.topbar-user{gap:5px}.topbar-user .button{min-height:34px;padding:6px 9px;font-size:11px}.board-panel,.control-panel{padding:15px}.task-detail{padding:21px 15px 50px}.task-header h1{font-size:26px}.task-action-bar{align-items:stretch;flex-direction:column}.task-action-bar .button-row{align-items:stretch;flex-direction:column-reverse}.task-action-bar .button{width:100%}.message{max-width:96%}.proof-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dialog-card{padding:18px}.dialog-actions{flex-direction:column-reverse}.dialog-actions .button{width:100%}}
