:root{--accent:#2459c4;--soft:#edf3ff;--line:#dce3ed;--ink:#172d48;--muted:#65758a}
body{background:#f5f7fb}.workspace{max-width:1800px}.hero h1{letter-spacing:-.04em}.layout{grid-template-columns:220px minmax(0,1fr)}.sidebar{box-shadow:none}.project-item.active{color:#214fae;background:#edf3ff}.agile-guide{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #dce3ed;border-left:4px solid #2963d1;border-radius:10px;padding:13px 16px;margin-bottom:18px;font-size:13px;line-height:1.6;color:#65758a}.agile-guide strong{color:#204877;white-space:nowrap}.agile-panel h2{font-size:23px;margin:0 0 10px}.agile-panel>.subtle{line-height:1.75}.agile-panel .row{flex-wrap:wrap}.agile-panel label{min-width:0;display:flex;gap:6px;align-items:center;flex-wrap:wrap}.agile-panel input:not([type=checkbox]),.agile-panel textarea,.agile-panel select{max-width:100%;min-width:0}.agile-panel .ops-grid label{display:flex;flex-direction:column;align-items:stretch}.agile-panel .ops-grid label:has(input[type=checkbox]){flex-direction:row;align-items:center}.agile-panel .ops-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.agile-panel button{font-size:13px}.agile-panel button:disabled{opacity:.45;cursor:not-allowed}.agile-status:empty{display:none}.agile-status{padding:9px 12px;background:#eaf7f0;color:#216548;border-radius:8px}.agile-pool{padding:16px;border:1px solid #dce3ed;background:#f8fafc;border-radius:12px;margin:16px 0}.agile-pool h3{margin:0;font-size:16px}.agile-pool>.row:first-child{margin-bottom:10px}.agile-backlog-card{padding:13px 14px;background:#fff;border:1px solid #dce3ed;border-radius:10px;margin:9px 0;min-width:0}.agile-backlog-card[draggable=true]{cursor:grab}.agile-backlog-card .row{align-items:center;gap:9px}.agile-backlog-card>.subtle{margin:7px 0}.agile-task-title{border:0;background:none;color:#234f96;min-height:32px;text-align:left;overflow-wrap:anywhere;font-weight:650;padding:4px 0;flex:1 1 240px}.agile-backlog-card select{min-height:34px;padding:5px}.agile-warning{color:#a36113;background:#fff4dc;padding:10px;border-radius:8px;font-size:13px}.badge.testing,.badge.review{background:#f1edff;color:#6b46a9}.agile-board{display:grid;grid-auto-columns:minmax(225px,1fr);grid-auto-flow:column;gap:12px;overflow-x:auto;max-width:100%;padding-bottom:12px}.agile-board .board-col{min-width:0;max-height:68vh;overflow-y:auto}.agile-board .board-card .agile-task-title{display:block;width:100%;flex:none}.agile-board .board-card .row{gap:6px}.agile-board .board-card label{font-size:12px;display:block}.agile-board .board-card select{margin-top:7px;min-height:36px}.agile-tree{margin:10px 0;padding:13px;border:1px solid #dce3ed;border-radius:10px;background:#fff;min-width:0}.agile-tree>summary{cursor:pointer;line-height:1.7;overflow-wrap:anywhere}.agile-tree>summary>*{margin-right:10px}.agile-tree>.agile-tree{margin-left:12px;background:#f8fafc}.agile-tree>.row{margin-top:8px}.agile-bulk{padding:13px;border:1px dashed #b9cae3;border-radius:10px;margin:16px 0;background:#f8fbff}.agile-bulk>summary{cursor:pointer;font-weight:600}.agile-bulk .ops-grid{margin:15px 0}.agile-workflow-editor .agile-pool>p{margin-bottom:8px}.agile-workflow-editor input[type=checkbox]{width:17px;height:17px;accent-color:#2864d6}.agile-chart-wrap{background:#f8fafc;border:1px solid #dce3ed;border-radius:12px;padding:15px;margin:18px 0}.agile-chart{width:100%;max-height:300px;display:block}.agile-detail .detail-description{background:#f3f6fb;padding:12px;border-radius:8px}.view-tabs button.active{color:#2459c4;border-color:#b6c9ee}.view-tabs{gap:4px}.privacy-note{background:#f0f6ff;border-color:#d6e4fc;color:#3b5e83}
.side-bottom>summary{display:list-item;cursor:pointer;font-size:13px;font-weight:600;color:#2459c4}.side-tools{padding-top:12px}
body.agile-active .hero{padding:4px 4px 14px;align-items:center}body.agile-active .hero h1{font-size:26px;margin:0}body.agile-active .hero p,body.agile-active .hero .eyebrow,body.agile-active .agile-guide{display:none}body.agile-active .wb-bar{padding:8px 12px;margin:0 0 16px}body.agile-active .privacy-note{margin-bottom:14px;padding:9px 13px}body.agile-active .project-heading{padding:14px 20px}
body.agile-active .hero{display:none}body.agile-active .project-heading h2{font-size:23px}.heading-actions #new-issue{min-height:40px;font-size:13px}
.agile-card-grip{padding:4px 9px;cursor:grab;user-select:none;color:#7c8da3;border-radius:6px;background:#f2f5fa}.agile-board .board-card>.row:first-child{flex-wrap:nowrap;align-items:flex-start}.agile-board .board-card>.row:first-child .agile-task-title{min-width:0;width:auto;flex:1}
.agile-backlog-card .ops-row{gap:9px;align-items:center;margin:6px 0}.agile-board .board-card>.ops-row:first-child{flex-wrap:nowrap;align-items:flex-start;margin:2px 0 8px;gap:8px}.agile-board .board-card>.ops-row:first-child .agile-task-title{min-width:0;width:auto;flex:1}.agile-board .board-card>.ops-row{margin:5px 0}.agile-panel>.ops-row{align-items:center;flex-wrap:wrap}.agile-pool>.ops-row:first-child{align-items:center}.agile-panel .ops-row{max-width:100%}
@media(min-width:1000px){dialog#detail-dialog[open]{position:fixed;inset:88px 12px 12px auto;width:min(480px,40vw);height:calc(100dvh - 100px);max-height:none;box-sizing:border-box;margin:0;z-index:35;box-shadow:-10px 10px 35px #18375c22;border:1px solid #cad7e8;border-radius:14px;background:#fff}dialog#detail-dialog .detail-meta{grid-template-columns:repeat(2,minmax(0,1fr))}dialog#detail-dialog .section-head h2{font-size:22px;overflow-wrap:anywhere}dialog#detail-dialog .row{flex-wrap:wrap}}
@media(max-width:999px){.layout{grid-template-columns:190px minmax(0,1fr)}.agile-guide{align-items:flex-start;flex-direction:column;gap:5px}.agile-tree>.agile-tree{margin-left:4px;padding:10px}}
@media(max-width:720px){.layout{display:block}.agile-panel{padding:14px}.agile-pool{padding:12px}.agile-panel .ops-grid{grid-template-columns:minmax(0,1fr)}.agile-guide{font-size:12px}.agile-backlog-card .agile-task-title{flex-basis:100%;font-size:14px}.agile-backlog-card label{max-width:100%;font-size:12px}.agile-panel>.row button{min-height:40px}.agile-board{grid-auto-columns:85%;scroll-snap-type:x proximity}.agile-board .board-col{scroll-snap-align:start;max-height:70dvh}.agile-tree>summary{font-size:13px}.agile-tree>summary .badge{font-size:10px}.agile-query-list{max-width:100%}.agile-chart-wrap{padding:9px}.agile-panel .ops-scroll{overflow:auto!important}.agile-panel .ops-scroll:has(.wb-card-table){overflow:visible!important}.agile-panel .ops-row{flex-wrap:wrap}dialog#detail-dialog{max-height:90dvh;width:96vw;box-sizing:border-box}.view-tabs button{min-height:42px}.agile-panel label input[type=checkbox]{flex:0 0 auto}.agile-bulk{padding:11px}}
