:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f5f7f8;color:#172027}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f5f7f8}button,input,select,textarea{font:inherit}button{cursor:pointer}.panel-shell{position:relative;width:min(100vw,430px);min-height:100vh;margin:0 auto;padding:12px;overflow-x:hidden}.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px;border:1px solid #d9e0e4;border-radius:8px;background:#fff;box-shadow:0 10px 26px #1d2d3514}.title-block h1,.drawer-head h2,.section-head h2,.comments h3{margin:0;letter-spacing:0}.title-block h1{font-size:18px;line-height:1.2;font-weight:720}.title-block p{margin:4px 0 0;color:#63717b;font-size:12px;line-height:1.35}.top-actions{display:flex;gap:6px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #cfd8dd;border-radius:7px;background:#fff;color:#26333c}.icon-button:hover{background:#f0f5f7}.icon-button:disabled{cursor:not-allowed;color:#a4afb6}.context-strip{grid-column:1 / -1;display:flex;gap:6px;min-width:0;flex-wrap:wrap}.context-strip span{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 7px;border:1px solid #dce3e7;border-radius:999px;background:#f7fafb;color:#43505a;font-size:11px;line-height:1.2}.context-strip .debug-chip{border-color:#e6b958;background:#fff6df;color:#7a530b}.alert,.warning{margin-top:10px;padding:9px 10px;border-radius:7px;font-size:12px;line-height:1.4}.alert{border:1px solid #e5a5a1;background:#fff0ef;color:#8c2822}.warning{border:1px solid #e6c979;background:#fff9e8;color:#735913}.task-section{margin-top:12px;border:1px solid #d9e0e4;border-radius:8px;background:#fff;overflow:hidden}.section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 11px;border-bottom:1px solid #edf1f3}.section-head div{display:flex;align-items:baseline;gap:7px;min-width:0}.section-head h2{font-size:13px;line-height:1.2;font-weight:730}.section-head span{color:#7b8b95;font-size:11px}.section-head button,.primary-action,.soft-action{border:1px solid #c7d5dc;border-radius:7px;background:#fff;color:#1f333f;font-size:12px;line-height:1}.section-head button{padding:6px 8px}.section-body{display:grid}.task-row{display:grid;gap:6px;width:100%;padding:10px 11px;border:0;border-bottom:1px solid #edf1f3;background:transparent;color:inherit;text-align:left}.task-row:hover,.task-row.selected{background:#eef6f8}.task-row.compact{padding:8px 11px}.row-main{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px}.task-title{overflow-wrap:anywhere;color:#15222b;font-size:13px;font-weight:650;line-height:1.32}.status{padding:3px 6px;border-radius:999px;font-size:10px;font-weight:680;line-height:1.1;white-space:nowrap}.status.initiated{background:#e8f2ff;color:#215e95}.status.in_progress{background:#e8f7f0;color:#1d6a4b}.status.ready_for_review{background:#fff4d6;color:#825a08}.status.closed{background:#e8ecef;color:#59646b}.status.void{background:#ffe9e7;color:#9b332b}.row-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#6d7b84;font-size:11px;line-height:1.2}.row-meta span{display:inline-flex;align-items:center;gap:3px;min-width:0}.collapsed-history{border-bottom:1px solid #edf1f3}.collapsed-history summary{display:flex;align-items:center;gap:5px;padding:8px 11px;color:#53616a;font-size:12px;font-weight:650;list-style:none}.collapsed-history summary::-webkit-details-marker{display:none}.empty-line{padding:13px 11px;color:#87949c;font-size:12px}.search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:10px}.search-box{display:flex;align-items:center;gap:6px;min-width:0;height:34px;padding:0 9px;border:1px solid #cfd8dd;border-radius:7px;background:#fbfcfd;color:#74818a}.search-box input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#172027;font-size:12px}.search-results{display:grid}.search-result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:9px 11px;border:0;border-top:1px solid #edf1f3;background:transparent;color:#172027;font-size:12px;text-align:left}.search-result span{overflow-wrap:anywhere}.drawer{position:fixed;top:10px;right:max(10px,calc((100vw - min(100vw,430px))/2 + 10px));bottom:10px;width:min(388px,calc(100vw - 20px));display:flex;flex-direction:column;gap:11px;padding:12px;border:1px solid #c9d4da;border-radius:8px;background:#fff;box-shadow:0 22px 70px #111d2438;overflow-y:auto;z-index:5}.drawer-head{display:flex;align-items:start;justify-content:space-between;gap:10px;padding-bottom:10px;border-bottom:1px solid #edf1f3}.drawer-head h2{font-size:16px;line-height:1.2;font-weight:730}.drawer-head span{display:block;margin-top:3px;color:#6f7c85;font-size:11px}.field{display:grid;gap:5px}.field span{color:#52606a;font-size:11px;font-weight:650}.field input,.field select,.field textarea,.comment-box textarea{width:100%;border:1px solid #cfd8dd;border-radius:7px;background:#fbfcfd;color:#172027;outline:0;font-size:12px}.field input,.field select{height:34px;padding:0 9px}.field textarea{min-height:84px;resize:vertical;padding:9px;line-height:1.4}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.segmented{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid #cfd8dd;border-radius:7px;overflow:hidden}.segmented button{min-width:0;height:31px;border:0;border-right:1px solid #dce3e7;background:#fbfcfd;color:#53616a;font-size:10px;font-weight:650}.segmented button:last-child{border-right:0}.segmented button.active{background:#1f6f86;color:#fff}.toggle-row{display:inline-flex;align-items:center;gap:7px;color:#384650;font-size:12px;font-weight:620}.toggle-row input{width:16px;height:16px}.drawer-actions{display:flex;justify-content:flex-end;gap:7px}.primary-action,.soft-action{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:0 11px;font-weight:700}.primary-action{border-color:#1f6f86;background:#1f6f86;color:#fff}.primary-action:disabled,.soft-action:disabled{cursor:not-allowed;opacity:.55}.soft-action:hover{background:#eef6f8}.comments{display:grid;gap:8px;padding-top:3px}.comments-head{display:flex;justify-content:space-between;align-items:center}.comments h3{font-size:13px;font-weight:720}.comments-head button,.comment-box button{display:inline-flex;align-items:center;gap:5px;border:1px solid #d4dde1;border-radius:7px;background:#fff;color:#384650;font-size:12px}.comments-head button{min-height:30px;padding:0 8px}.comment-list{display:grid;border:1px solid #edf1f3;border-radius:7px;overflow:hidden}.comment-item{display:grid;gap:4px;padding:9px;border-bottom:1px solid #edf1f3;font-size:12px;line-height:1.35}.comment-item:last-child{border-bottom:0}.comment-item small{color:#71808a;font-size:10px}.comment-box{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.comment-box textarea{min-height:44px;resize:vertical;padding:8px;line-height:1.35}.comment-box button{width:36px;justify-content:center}.hidden-panel{min-height:100vh;display:grid;place-items:center;color:#6f7c85;font-size:13px}@media(max-width:360px){.panel-shell{padding:8px}.field-grid,.segmented{grid-template-columns:1fr}.segmented button{border-right:0;border-bottom:1px solid #dce3e7}.segmented button:last-child{border-bottom:0}}
