.plan-page{--plan-green:#58a700;--plan-ink:#34412c;--plan-line:#e0e6d9;color:var(--plan-ink)}.plan-topbar,.plan-calendar-head,.plan-section-head,.plan-summary{display:flex;align-items:center;justify-content:space-between;gap:16px}.plan-topbar{margin-bottom:22px}.plan-mode{display:flex;padding:5px;border:2px solid #e5e9e0;border-radius:14px;background:#fff;gap:5px}.plan-mode button{min-height:44px;padding:9px 23px;border-radius:10px;color:#718063;background:transparent;font-weight:650}.plan-mode button[aria-pressed=true]{background:#e9f8d8;color:#448500}.plan-calendar-head{padding:20px;border:2px solid var(--plan-line);border-radius:18px;background:#fff}.plan-calendar-head>div{display:flex;align-items:center;gap:18px;flex:1}.plan-calendar-head strong{font-size:17px;font-weight:650}.plan-icon-button{width:44px;height:44px;display:grid;place-items:center;border:2px solid #e2e6dd;border-radius:12px;background:#fff;flex-shrink:0}.plan-icon-button:hover{background:#eff7e5}.plan-icon-button .ui-icon{width:19px;height:19px}.plan-date-picker{font-size:11px;font-weight:600;color:#6e7b65;display:flex;align-items:center;gap:10px}.plan-date-picker input{border:2px solid #e2e6dd;border-radius:10px;padding:8px 10px;min-height:44px;font-size:12px;color:#34412c;background:#fff}.plan-weekstrip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin:14px 0 22px}.plan-weekstrip button{background:#fff;border:2px solid #e2e6dd;border-bottom-width:5px;border-radius:15px;min-height:98px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:3px;color:#7c8871}.plan-weekstrip button span{font-size:11px;text-transform:uppercase;font-weight:650;letter-spacing:.03em}.plan-weekstrip button strong{font-size:24px;color:#3b492f;line-height:1.25}.plan-weekstrip button small{font-size:10px}.plan-weekstrip button.is-today:not(.is-selected){border-color:#b8d88f}.plan-weekstrip button.is-selected{border-color:#78b72b;background:#effbdc;box-shadow:0 1px 0 #78b72b}.plan-weekstrip button.is-selected strong{color:#4c9100}.plan-weekstrip button:active{transform:translateY(2px);border-bottom-width:3px}.plan-summary{padding:0 2px;margin:0 0 18px;font-size:13px;color:#748068}.plan-summary>span:first-child{display:flex;align-items:center;gap:7px}.plan-summary b{color:#3d5929;font-weight:650}.plan-day-list{display:grid;gap:13px}.plan-card{display:flex;align-items:flex-start;gap:15px;padding:22px;background:#fff;border:2px solid #e2e7dc;border-bottom-width:4px;border-radius:18px;min-width:0}.plan-card.is-done{background:#f7fced;border-color:#d4e7bd}.plan-check{width:32px;height:32px;border-radius:10px;border:2px solid #d6ddcd;background:#fff;padding:4px;display:grid;place-items:center;position:relative;flex:0 0 32px;margin:5px 0}.plan-check:before{content:'';position:absolute;inset:-9px}.plan-check[aria-pressed=true]{background:#72b42a;border-color:#69a526}.plan-check[aria-pressed=true] .ui-icon{filter:brightness(0) invert(1)}.plan-check:hover{border-color:#7db83d}.plan-kind{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#eff8e5;flex:0 0 48px;color:#598e2e}.plan-kind .ui-icon{height:25px;width:25px}.plan-kind-video{background:#fff3cf}.plan-kind-practice{background:#e5f4ff}.plan-kind-review{background:#fff0e1}.plan-kind-exam{background:#f3eafe}.plan-kind-custom{background:#e8f5f0}.plan-card-content{min-width:0;flex:1}.plan-card-meta{display:flex;gap:7px 16px;align-items:center;flex-wrap:wrap;color:#849078;font-size:10px;font-weight:550}.plan-card h3{font-size:18px;line-height:1.4;letter-spacing:-.02em;margin:5px 0 5px;color:#34412c}.plan-card p{font-size:12px;color:#7b876f;line-height:1.75;margin:0}.plan-status{color:#4e8c1b;font-weight:650}.plan-card-actions{display:flex;align-items:center;gap:10px 18px;flex-wrap:wrap;margin-top:13px}.plan-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 15px;min-height:44px;border-radius:11px;background:#edf8df;color:#4c8a1c;font-size:12px;font-weight:700;border:1px solid #d7ebc0;border-bottom:3px solid #c9e0ad}.plan-action:hover{background:#e3f5cf}.plan-action:active{transform:translateY(2px);border-bottom-width:1px}.plan-action .ui-icon{width:17px;height:17px}.plan-link{font-size:11px;color:#768168;display:inline-flex;align-items:center;gap:6px;padding:6px 0;min-height:36px;background:transparent;line-height:1.5;text-align:left}.plan-link:hover{color:#4d850c;text-decoration:underline;text-underline-offset:4px}.plan-link.plan-delete{color:#9c7a6a;margin-left:auto}.plan-mini-progress{height:5px;max-width:240px;background:#edf0e8;border-radius:10px;overflow:hidden;margin:10px 0 2px}.plan-mini-progress>span{height:100%;display:block;background:#9ac95a;border-radius:inherit}.plan-note{margin-top:10px}.plan-note summary{font-size:11px;color:#688449;cursor:pointer;padding:5px 0;line-height:1.7}.plan-note p{white-space:pre-wrap;background:#f5f8f0;padding:12px 14px;border-radius:10px;margin-top:7px;color:#5c6b4e}.plan-empty{text-align:center;border:2px dashed #d5e5c5;border-radius:20px;padding:36px 25px;background:#fbfff6}.plan-empty>span{display:inline-grid;place-items:center;width:62px;height:62px;border-radius:18px;background:#fff0b8;margin-bottom:12px}.plan-empty>span .ui-icon{width:32px;height:32px}.plan-empty h3{font-size:25px;color:#415431;margin:0 0 9px}.plan-empty p{font-size:13px;color:#7d8971;margin:0 auto 20px;max-width:460px}.plan-quick-start{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:22px}.plan-quick-start button{display:flex;align-items:center;gap:6px;color:#779458;background:#fff;border:1px solid #dce8d0;border-radius:10px;min-height:42px;padding:8px 13px;font-size:11px}.plan-quick-start .ui-icon{width:16px;height:16px}.plan-recommendations{margin-top:30px;padding-top:27px;border-top:2px solid #e6ebde}.plan-section-head{margin-bottom:15px}.plan-section-head h2{display:flex;align-items:center;gap:10px;font-size:21px;margin:0;color:#415431;letter-spacing:-.035em}.plan-section-head h2 .ui-icon{width:22px;height:22px}.plan-section-head p{font-size:12px;line-height:1.8;color:#7f8a74;margin:7px 0 0}.plan-recommendation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.plan-suggestion{display:flex;gap:14px;align-items:flex-start;padding:20px;border:2px solid #e2e8d8;border-radius:17px;background:#fff}.plan-suggestion>div{min-width:0;flex:1}.plan-suggestion h3{font-size:16px;line-height:1.45;margin:0 0 5px;color:#4c5d3c}.plan-suggestion p{font-size:12px;color:#849176;margin:0 0 12px}.plan-suggestion>div>div{display:flex;flex-wrap:wrap;gap:7px 16px}.plan-storage-note{font-size:10px;line-height:1.9;color:#8a9480;margin:17px 0 0}.plan-calm{padding:18px 20px;font-size:13px;line-height:1.9;color:#819071;background:#f4f9ed;border-radius:13px}.plan-overdue{margin-top:24px;background:#fffaf0;border:2px solid #f0e6ca;border-radius:17px;padding:18px 20px}.plan-overdue summary{cursor:pointer;font-size:14px;font-weight:600;color:#9c8343;display:flex;align-items:center;gap:10px;min-height:35px}.plan-overdue>p{font-size:12px;line-height:1.8;color:#9d906d;margin:12px 0 15px}.plan-overdue .plan-card+.plan-card{margin-top:10px}.plan-week-list{display:grid;gap:24px}.plan-week-day{padding:20px;background:#f8fbf3;border:1px solid #e2e9d8;border-radius:18px}.plan-week-day .plan-section-head h2{font-size:19px}.plan-week-day .plan-card+.plan-card{margin-top:10px}.plan-free-day{font-size:12px;color:#9aa58e;margin:0}.plan-dashboard-count{font-size:12px;line-height:1.8;color:#7d8b70;margin:0 0 14px}.plan-dashboard .plan-card{padding:16px;gap:11px}.plan-dashboard .plan-card+.plan-card{margin-top:10px}.plan-dashboard .plan-kind{width:38px;height:38px;flex-basis:38px;border-radius:11px}.plan-dashboard .plan-kind .ui-icon{width:21px;height:21px}.plan-dashboard .plan-card h3{font-size:15px}.plan-dashboard .plan-check{flex-basis:28px;width:28px;height:28px;border-radius:9px}.plan-dashboard .plan-card p{font-size:11px}.plan-dashboard .plan-card-actions{margin-top:9px}.plan-dashboard .plan-action{min-height:36px;font-size:11px;padding:7px 12px}.plan-dashboard-empty{padding:20px;background:#f8fceb;border-radius:15px;border:2px dashed #dbe9c8}.plan-dashboard-empty p{font-size:13px;color:#778a60;line-height:1.8;margin:0 0 15px}.plan-overdue-link{display:flex;align-items:center;gap:8px;font-size:11px;color:#ad8a3e;margin-top:15px;min-height:40px}.plan-dialog{width:min(620px,calc(100% - 28px));max-height:90dvh;border:2px solid #dfe8d4;border-radius:21px;padding:26px;color:#435333}.plan-dialog h2{font-size:25px;line-height:1.35}.plan-dialog form{margin-top:22px}.plan-dialog form>label,.plan-form-grid>label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;color:#6c7d58;margin-bottom:17px;line-height:1.5}.plan-dialog label[hidden]{display:none}.plan-dialog input:not([type=checkbox]),.plan-dialog select,.plan-dialog textarea{border:2px solid #dfe6d5;border-radius:11px;padding:11px 12px;background:#fff;min-height:45px;color:#445137;width:100%;font-size:13px;font-weight:400;line-height:1.6;box-sizing:border-box}.plan-dialog textarea{resize:vertical;min-height:92px}.plan-dialog .plan-optional{color:#9ba68e;font-weight:400;font-size:10px}.plan-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.plan-help{font-size:11px;color:#8a947d;line-height:1.85;margin:0 0 17px}.plan-chapter-picker{padding:13px 16px;border:2px solid #e3eadb;border-radius:12px;max-height:245px;overflow:auto;margin:0 0 12px}.plan-chapter-picker legend{font-size:12px;color:#6c8056;font-weight:600;padding:0 6px}.plan-chapter-picker label{display:flex;align-items:flex-start;gap:11px;padding:9px 0;font-size:12px;line-height:1.65;color:#586b43}.plan-chapter-picker input{margin-top:3px;accent-color:#76ba2c;width:18px;height:18px;flex:0 0 18px}.plan-chapter-picker small{display:block;font-size:10px;color:#9aa88c;margin-top:2px}.plan-form-error{color:#a7483c;font-size:12px;background:#fff0eb;padding:12px 14px;border-radius:10px;line-height:1.7}.plan-dialog .dialog-actions{gap:12px;display:flex;justify-content:flex-end;margin-top:20px}.plan-dialog .close{flex-shrink:0}.plan-dialog::backdrop{background:#283b225e;backdrop-filter:blur(3px)}
@media(max-width:760px){.plan-topbar{gap:10px;align-items:stretch}.plan-mode button{padding:8px 14px;font-size:12px}.plan-topbar>.primary{font-size:12px;padding:10px 12px}.plan-calendar-head{padding:13px;gap:9px;flex-wrap:wrap;border-radius:15px}.plan-calendar-head>div{justify-content:center;flex-direction:column;gap:0}.plan-calendar-head strong{font-size:13px}.plan-calendar-head .plan-link{font-size:10px;min-height:28px;padding:2px}.plan-icon-button{width:38px;height:42px;flex-basis:38px}.plan-date-picker{width:100%;display:flex;justify-content:space-between;padding-top:9px;border-top:1px solid #ebeee5;font-size:10px}.plan-date-picker input{font-size:11px;min-height:38px;padding:5px 8px}.plan-weekstrip{gap:5px;margin:12px 0 18px}.plan-weekstrip button{border-radius:11px;min-height:78px;border-bottom-width:4px}.plan-weekstrip button strong{font-size:19px}.plan-weekstrip button span{font-size:9px}.plan-weekstrip button small{font-size:9px}.plan-summary{align-items:flex-start;flex-direction:column;gap:5px;font-size:11px;margin-bottom:13px}.plan-summary>span:first-child{gap:5px;flex-wrap:wrap}.plan-summary .ui-icon{width:17px;height:17px}.plan-card{padding:16px 14px;gap:9px;border-radius:15px}.plan-kind{width:35px;height:35px;flex-basis:35px;border-radius:10px}.plan-kind .ui-icon{width:20px;height:20px}.plan-check{flex-basis:27px;width:27px;height:27px;border-radius:9px;margin:4px 0}.plan-card h3{font-size:15px}.plan-card-meta{font-size:9px;gap:4px 10px}.plan-card p{font-size:11px}.plan-card-actions{gap:4px 12px;margin-top:11px}.plan-action{font-size:11px;padding:8px 11px;min-height:40px}.plan-link{font-size:10px;min-height:38px}.plan-link.plan-delete{margin-left:0}.plan-note summary{font-size:10px}.plan-note p{font-size:11px;padding:10px 12px}.plan-empty{padding:25px 18px}.plan-empty h3{font-size:22px}.plan-empty p{font-size:12px}.plan-quick-start{gap:8px;margin-top:18px}.plan-quick-start button{font-size:10px;padding:8px 11px}.plan-recommendation-grid{grid-template-columns:1fr;gap:10px}.plan-recommendations{margin-top:25px;padding-top:22px}.plan-section-head h2{font-size:18px;gap:8px}.plan-section-head p{font-size:11px}.plan-suggestion{padding:17px;gap:12px}.plan-suggestion h3{font-size:15px}.plan-suggestion p{font-size:11px}.plan-storage-note{font-size:9px}.plan-overdue{padding:14px 13px}.plan-overdue summary{font-size:12px}.plan-overdue>p{font-size:11px}.plan-overdue .plan-card{padding:13px 10px}.plan-overdue .plan-kind{display:none}.plan-week-day{padding:15px 12px}.plan-week-day .plan-section-head h2{font-size:16px}.plan-week-day .plan-kind{display:none}.plan-dashboard .plan-card{padding:13px 11px;gap:9px}.plan-dashboard .plan-kind{display:none}.plan-dashboard .plan-card h3{font-size:14px}.plan-dashboard .plan-card p{font-size:10px}.plan-dashboard-count{font-size:11px}.plan-dashboard-empty{padding:17px}.plan-dashboard-empty p{font-size:12px}.plan-dialog{padding:23px 19px}.plan-dialog h2{font-size:23px}.plan-dialog form{margin-top:19px}.plan-form-grid{gap:11px}.plan-dialog input:not([type=checkbox]),.plan-dialog select,.plan-dialog textarea{font-size:12px;padding:10px;min-height:44px}.plan-dialog form>label,.plan-form-grid>label{font-size:11px}.plan-dialog .dialog-actions{gap:9px}.plan-dialog .dialog-actions button{font-size:12px;padding:10px 12px}.plan-chapter-picker{padding:10px 13px}.plan-chapter-picker label{font-size:11px}.plan-help{font-size:10px}}
@media(max-width:370px){.plan-card .plan-kind{display:none}.plan-topbar{flex-wrap:wrap}.plan-topbar>.primary{flex:1}.plan-mode{flex:1;justify-content:center}.plan-form-grid{grid-template-columns:1fr;gap:0}.plan-dialog .dialog-actions{flex-wrap:wrap}.plan-dialog .dialog-actions button{flex:1}.plan-calendar-head strong{font-size:12px}.plan-weekstrip{gap:3px}.plan-weekstrip button{min-height:75px}.plan-weekstrip button strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){.plan-page *{transition:none!important}.plan-weekstrip button:active,.plan-action:active{transform:none}}

.plan-link{min-height:44px}.plan-dashboard .plan-action{min-height:44px}@media(max-width:760px){.plan-icon-button{width:44px;height:44px;flex-basis:44px}.plan-date-picker input{min-height:44px}.plan-link{min-height:44px}}
