.study-page{max-width:1180px;margin:auto;padding:24px 0 55px;min-width:0}.study-page *{box-sizing:border-box}.study-hero{background:linear-gradient(120deg,#123e2e,#278359);border-radius:22px;color:#fff;padding:clamp(22px,4vw,42px);margin-bottom:22px}.study-hero h1{color:#fff;font-size:clamp(1.55rem,4vw,2.4rem);margin:0 0 9px}.study-hero p{color:#effff5;line-height:1.85;max-width:780px}.study-tag{display:inline-block;background:#ffffff25;padding:5px 13px;border-radius:20px;margin-bottom:12px}.study-panel{background:var(--surface-color,#fff);color:var(--text-color,#203b2d);border:1px solid var(--border-color,#dce9e0);border-radius:18px;padding:clamp(15px,3vw,25px);margin:18px 0;min-width:0;box-shadow:0 7px 25px #102f1a0a}.study-panel h2{font-size:1.2rem;margin:0 0 14px}.study-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.study-field{display:flex;flex-direction:column;gap:6px;min-width:0}.study-field label{font-weight:700}.study-field input,.study-field select,.subject-name,.subject-level,.subject-weight{width:100%;min-width:0;padding:11px;border:1px solid var(--border-color,#cdded4);border-radius:10px;background:var(--surface-color,#fff);color:var(--text-color,#203b2d);font:inherit}.study-field input[type=date]{direction:ltr}.study-subject-head,.study-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:22px}.study-subject-head h3{margin:0;font-size:1.03rem}.study-muted{color:var(--text-muted,#64766a);font-size:.88rem;margin:5px 0;line-height:1.7}.study-table{width:100%;border-collapse:collapse}.study-table th,.study-table td{padding:9px 7px;border-bottom:1px solid var(--border-color,#e0e9e2);text-align:right}.study-table th{font-size:.86rem;color:var(--text-muted,#66776b)}.table-wrap{overflow-x:auto}.study-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:10px 15px;border:0;border-radius:10px;background:#187a50;color:white;font:inherit;font-weight:700;cursor:pointer}.study-btn.secondary{background:var(--bg-color,#edf5ef);color:var(--text-color,#185b3b);border:1px solid var(--border-color,#d2e2d6)}.study-btn:focus-visible{outline:3px solid #8ccba5;outline-offset:2px}.study-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.study-message{color:var(--text-muted,#65776b);font-size:.9rem}.study-heading{margin:0 0 14px}.progress-label{font-size:1.35rem;color:#187a50}.progress-track{height:12px;border-radius:20px;background:var(--bg-color,#e9f0eb);overflow:hidden}.progress-track span{display:block;height:100%;width:0;background:#23945f;border-radius:20px;transition:width .2s}.study-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.study-stats>div{background:var(--bg-color,#f3f8f4);border:1px solid var(--border-color,#e0e9e2);padding:12px;border-radius:12px}.study-stats span,.study-stats b{display:block}.study-stats span{font-size:.82rem;color:var(--text-muted,#65776b)}.study-stats b{font-size:1.35rem;margin-top:4px}.plan-day{border:1px solid var(--border-color,#dce8df);border-radius:13px;margin:12px 0;overflow:hidden}.plan-day-head{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:12px 15px;background:var(--bg-color,#f1f7f2)}.plan-day-head strong{font-size:.98rem}.plan-tasks{padding:5px 14px}.plan-task{display:flex;align-items:flex-start;gap:10px;padding:12px 0;border-bottom:1px solid var(--border-color,#e6eee8)}.plan-task:last-child{border:0}.plan-task input{width:19px;height:19px;accent-color:#187a50;flex:0 0 auto;margin-top:2px}.plan-task label{flex:1;min-width:0;line-height:1.6}.plan-task.done label{text-decoration:line-through;opacity:.62}.task-meta{display:block;font-size:.82rem;color:var(--text-muted,#65776b)}.task-subject{font-weight:700}.task-overdue{color:#b45335;font-weight:700}.study-empty{padding:25px;text-align:center;color:var(--text-muted,#65776b);background:var(--bg-color,#f5f8f5);border-radius:12px}.study-note{font-size:.86rem;line-height:1.8;color:var(--text-muted,#65776b);margin-top:16px}.study-tips{line-height:2;padding-right:22px}.remove-subject{border:0;background:#fff0ed;color:#a53b2a;border-radius:8px;padding:8px 10px;cursor:pointer}.study-page .ads-container{margin:22px 0} @media(max-width:850px){.study-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.study-grid{grid-template-columns:1fr}.study-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.study-hero{border-radius:15px}.study-panel{border-radius:14px}.study-actions .study-btn{flex:1 1 100%}.study-table{min-width:520px}.plan-day-head{align-items:flex-start;flex-direction:column}}@media print{header,footer,.ads-container,.study-hero .study-tag,.study-panel:first-of-type,.study-actions,.study-tips,.study-note{display:none!important}body{background:#fff!important;color:#111!important}.study-page{padding:0;max-width:none}.study-panel{box-shadow:none;border:0;padding:0;margin:0}.study-panel#plan-section{display:block!important}.plan-day{break-inside:avoid;border-color:#bbb}.plan-day-head{background:#eee!important;color:#111}.plan-task label{color:#111!important}.study-heading{display:block}#plan-output{display:block!important}}