.coaching-replan-surface{min-width:0;margin-top:26px}.coaching-replan-surface *,.replan-dialog *{box-sizing:border-box;min-width:0}.coaching-replan-surface :is(h2,h3,h4,p,strong,span,li,code),.replan-dialog :is(h2,h3,h4,p,strong,span,li,code){overflow-wrap:anywhere}.replan-banner{display:flex;justify-content:space-between;align-items:center;gap:22px;border:1px solid #76558f;border-radius:23px;padding:25px;background:radial-gradient(ellipse at 90% 15%,#835eb34d,transparent 65%),linear-gradient(125deg,#3e315b,#22283f);box-shadow:0 15px 35px #10091c38;margin-bottom:18px}.replan-banner>div{max-width:660px}.replan-eyebrow{display:block;font-size:10px;letter-spacing:.13em;text-transform:uppercase;color:#dfb6ff;margin-bottom:9px}.replan-banner h2{font-size:23px;margin:0}.coaching-replan-surface p,.replan-dialog p{font-size:12px;line-height:1.8;color:var(--muted)}.replan-banner p{margin:11px 0 0}.replan-start{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:19px}.replan-start h3{font-size:16px;margin:0}.replan-start p{margin:8px 0 0}.replan-start>.button,.replan-banner>.button{flex-shrink:0}.replan-history{display:grid;gap:22px}.replan-proposal .card-heading{align-items:flex-start;flex-wrap:wrap;gap:14px}.replan-proposal h3{margin:0;font-size:18px}.replan-status{font-size:11px;line-height:1.6;padding:8px 12px;border:1px solid #7c6494;background:#483a58;color:#ead5ff;border-radius:12px}.replan-status.is-applied{border-color:#538c80;background:#26483f;color:#baf1d7}.replan-source{display:flex;flex-wrap:wrap;gap:6px 18px;padding:15px 0;font-size:11px;color:var(--muted);line-height:1.8}.replan-source>span{flex-basis:100%}.replan-source details{width:100%}.replan-source summary{cursor:pointer;min-height:32px;color:#c8a8e5}.replan-source code{display:block;margin:7px 0;color:#b7adcb;font-size:10px;word-break:break-all}.replan-reason{white-space:pre-wrap}.replan-focus-tasks{list-style:none;padding:0;display:grid;gap:10px;margin:17px 0}.replan-focus-tasks>li{display:grid;gap:6px;padding:15px 17px;border-left:3px solid #b98de8;border-radius:0 13px 13px 0;background:#6c448928}.replan-focus-tasks strong{font-size:13px}.replan-focus-tasks span,.replan-focus-tasks small{font-size:11px;line-height:1.8;color:var(--muted)}.replan-diff{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.replan-diff section{padding:15px;border:1px solid var(--line);border-radius:13px;background:#181a2b2e}.replan-diff h4{font-size:12px;margin:0 0 10px}.replan-diff ul{padding-left:17px;margin:0;font-size:12px;line-height:1.8}.replan-diff p{font-size:11px;margin:0}.replan-capacity{border-top:1px solid var(--line);margin-top:22px;padding-top:14px}.replan-capacity>summary{min-height:44px;display:list-item;cursor:pointer;font-size:13px;color:#d9baef;line-height:1.8}.replan-weeks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin:18px 0}.replan-week{border:1px solid #57466b;border-radius:16px;padding:18px;background:linear-gradient(155deg,#40304f50,#22263b70)}.replan-week>h4{font-size:15px;margin:0}.replan-week>p{font-size:11px}.replan-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.replan-totals div{padding:10px;background:#7652961c;border-radius:10px}.replan-totals dt,.replan-day-facts dt{font-size:10px;color:var(--muted);line-height:1.7}.replan-totals dd{font-size:13px;margin:7px 0 0;line-height:1.7}.replan-days{list-style:none;padding:0;margin:0;display:grid;gap:15px}.replan-days>li{border-top:1px solid var(--line);padding-top:14px}.replan-day-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:7px;font-size:11px;line-height:1.8}.replan-day-heading span{color:#cdbedc}.replan-day-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.replan-day-facts dd{font-size:11px;margin:0;line-height:1.7}.replan-allocations{padding:0;list-style:none;display:grid;gap:8px}.replan-allocations>li{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:10px;padding:10px}.replan-allocations strong{display:block;font-size:11px;line-height:1.7}.replan-allocations span{display:block;font-size:10px;line-height:1.8;color:var(--muted)}.replan-allocations b{font-size:11px;font-weight:500;flex-shrink:0;line-height:1.7}.replan-allocations>.replan-selected-allocation{border-color:#a078c2;background:#8753af1a}.replan-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.replan-notice,.replan-error,.replan-result{font-size:12px;line-height:1.85;overflow-wrap:anywhere;border-radius:13px;padding:15px 17px;margin:17px 0;background:#865f281f;border:1px solid #826544;color:#f2d3a6!important}.replan-notice ul{padding-left:18px;margin:10px 0 0}.replan-notice .button{margin:6px 9px 0 0}.replan-error{color:#ffd3d0!important;background:#84384d24;border-color:#945768}.replan-result{color:#c4f0de!important;background:#315b4c33;border-color:#4a786d}.replan-empty{padding:18px 0}.replan-dialog{max-width:100%;width:1050px}.replan-dialog .form-actions{display:flex;flex-wrap:wrap;gap:12px;position:sticky;bottom:0;background:var(--panel);padding:15px 0;margin-top:20px;border-top:1px solid var(--line)}.replan-dialog textarea{resize:vertical;min-height:90px}.replan-task-picker{border:1px solid var(--line);padding:15px;border-radius:13px}.replan-task-picker legend{font-size:12px;padding:0 7px}.replan-task-picker>label{display:flex;align-items:flex-start;gap:12px;padding:12px 0;min-height:44px;border-bottom:1px solid var(--line);cursor:pointer}.replan-task-picker input{width:18px!important;height:18px;margin-top:3px;flex-shrink:0;accent-color:#b28ae3}.replan-task-picker strong,.replan-task-picker small{display:block;font-size:12px;line-height:1.8}.replan-task-picker small{font-size:11px;color:var(--muted)}.replan-dialog .form-error{white-space:pre-wrap}.coaching-replan-surface :is(button,summary):focus-visible,.replan-dialog :is(button,input,textarea,select,summary):focus-visible{outline:2px solid #e1baff;outline-offset:4px}.coaching-replan-surface button,.replan-dialog button{min-height:44px}
@media(max-width:1100px){.replan-weeks{grid-template-columns:1fr}.replan-start,.replan-banner{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:700px){.replan-banner{padding:21px;gap:17px}.replan-banner h2{font-size:21px}.replan-proposal,.replan-start{padding:20px}.replan-diff{grid-template-columns:1fr;gap:10px}.replan-diff section{padding:13px}.replan-week{padding:15px}.replan-source{gap:7px}.replan-dialog .form-actions{bottom:0}.replan-start>.button,.replan-banner>.button{max-width:100%;white-space:normal;text-align:left}.replan-actions>.button{white-space:normal}.replan-status{max-width:100%}}
@media(max-width:370px){.replan-proposal,.replan-start{padding:17px}.replan-banner{padding:18px}.replan-totals{grid-template-columns:1fr}.replan-allocations>li{flex-wrap:wrap}.replan-allocations b{margin-left:auto}.replan-dialog .form-actions>.button{width:100%}.replan-week{padding:12px}}
@media(prefers-reduced-motion:reduce){.coaching-replan-surface *,.replan-dialog *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
