.plan-page{color:#33465f}.plan-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:14px 0 20px}.plan-toolbar h2{font-size:18px;margin:0 0 6px}.plan-toolbar [role=status]{font-size:11px;color:#8191a7}.plan-toolbar>div:last-child{display:flex;flex-wrap:wrap;gap:7px}.plan-page button{border:1px solid #dfe7f1;background:white;color:#516884;border-radius:6px;padding:8px 11px;font:inherit;font-size:12px;cursor:pointer}.plan-page button:hover{background:#eef4ff;border-color:#aec9ef}.plan-page button.primary{background:#2f6ce5;color:white}.plan-page button:disabled{opacity:.5;cursor:wait}.plan-layout{display:grid;grid-template-columns:160px minmax(240px,1fr) minmax(260px,.85fr);background:white;border:1px solid #e1e8f1;border-radius:10px;overflow:hidden;min-height:620px}.plan-outline{background:#f8fafc;border-right:1px solid #e1e8f1;padding:18px 10px}.plan-outline>strong{display:block;font-size:11px;color:#8796aa;margin:0 10px 15px}.plan-outline>button{display:block;border:0;text-align:left;width:100%;background:transparent;margin-bottom:5px;overflow-wrap:anywhere;line-height:1.7}.plan-outline>button.selected{background:#e8f0ff;color:#2464d5}.plan-editor{padding:24px;min-width:0;border-right:1px solid #e1e8f1}.plan-editor label{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#7b8ca3;margin-bottom:20px}.plan-editor input,.plan-editor textarea{border:1px solid #e2e8f1;border-radius:6px;padding:10px;font:inherit;font-size:13px;line-height:1.8;color:#33465f;width:100%;box-sizing:border-box;background:white}.plan-editor textarea{min-height:330px;resize:vertical}.plan-note{font-size:11px;line-height:1.9;background:#f6f9fd;padding:12px;color:#8493a8;border-radius:7px}.plan-editor-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:18px}.plan-tasks{padding:20px;background:#fcfdff;min-width:0;max-height:1000px;overflow:auto}.plan-tasks>header{display:flex;justify-content:space-between;align-items:center;gap:8px}.plan-tasks h3{font-size:14px;margin:0}.plan-tasks>header select{width:auto;padding:6px;font-size:11px}.plan-tasks>p{font-size:11px;color:#8b98aa;margin:14px 0}.plan-task{border:1px solid #e0e7f1;padding:15px;background:white;border-radius:8px;margin-bottom:12px;overflow-wrap:anywhere}.plan-task small{font-size:10px;line-height:1.8;color:#8798ad}.plan-task h4{font-size:13px;margin:8px 0;line-height:1.7}.plan-task p{font-size:11px;line-height:1.8;white-space:pre-wrap;color:#71839a;margin:7px 0}.plan-task>div{display:flex;gap:6px}.plan-task button{font-size:10px;padding:5px 8px}.plan-page .plan-danger{color:#bd5260}.plan-empty{text-align:center;padding:65px 22px;color:#8393a8;font-size:12px;line-height:2}.plan-empty h2{font-size:18px;color:#536b8c}.plan-preview{max-height:50vh;overflow:auto;margin-top:15px}.plan-preview label{display:flex;gap:10px;padding:14px 0;border-bottom:1px solid #e7edf5}.plan-preview input{width:16px;flex:0 0 16px;align-self:flex-start}.plan-preview strong{font-size:13px}.plan-preview small{display:block;font-size:11px;line-height:1.9;margin-top:6px;color:#8191a6}
.plan-task>div{flex-wrap:wrap}.plan-layout-switch{display:flex;gap:6px;margin-bottom:14px}.plan-layout-switch [aria-pressed=true]{color:#2563eb;background:#eaf1ff;border-color:#aec9ef}.plan-task-context{border-style:dashed;background:#f5f8fc}.plan-depth-1{margin-left:12px}.plan-depth-2{margin-left:24px}.plan-depth-3{margin-left:36px}.plan-depth-4{margin-left:48px}.plan-depth-5{margin-left:60px}.plan-batch-preview{max-height:260px;overflow:auto;background:#f6f9fd;padding:14px;border-radius:7px;font-size:12px;line-height:2;overflow-wrap:anywhere}.plan-check-list{max-height:55vh;overflow:auto}.plan-check-list button{display:block;width:100%;border:1px solid #e0e7f1;background:white;padding:12px;text-align:left;font:inherit;font-size:12px;line-height:1.8;color:#576e8d;border-radius:6px;margin-bottom:8px;cursor:pointer}.plan-check-list button:hover{background:#edf4ff}.plan-version{border-bottom:1px solid #e3eaf3;padding:16px 0;overflow-wrap:anywhere}.plan-version strong{display:block;font-size:13px}.plan-version small{display:block;color:#8493a8;font-size:11px;margin:8px 0}.plan-diff{margin-top:14px;border:1px solid #e2e9f2;border-radius:7px;padding:12px}.plan-diff summary{cursor:pointer;font-size:13px;color:#466483}.plan-diff pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:12px;line-height:1.9;background:#f6f8fc;padding:12px;max-height:280px;overflow:auto}.plan-diff h4{font-size:12px;color:#7e8da2}.plan-page button:focus-visible,.plan-check-list button:focus-visible{outline:2px solid #3476df;outline-offset:2px}
@media(max-width:1150px){.plan-layout{grid-template-columns:130px minmax(0,1fr)}.plan-tasks{grid-column:1/-1;border-top:1px solid #e1e8f1;max-height:none}.plan-editor{border-right:0}.plan-toolbar{flex-direction:column;align-items:flex-start}}
@media(max-width:640px){.plan-layout{display:block}.plan-outline{display:flex;gap:6px;flex-wrap:wrap;border-right:0;border-bottom:1px solid #e1e8f1;padding:10px}.plan-outline>strong{width:100%;margin:0}.plan-outline>button{width:auto;font-size:11px;margin:0;padding:5px}.plan-editor{padding:16px}.plan-editor textarea{min-height:250px}.plan-toolbar h2{font-size:16px}.plan-toolbar button{font-size:11px}.plan-tasks{padding:16px}}

.project-view-content>.plan-page{min-height:100%;display:flex;flex-direction:column}
.project-view-content>.plan-page>.plan-toolbar,.project-view-content>.plan-page>.plan-feature-nav{flex-shrink:0}
.project-view-content>.plan-page>.plan-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}
.project-view-content>.plan-page>.plan-layout{flex:1}
