.study-tabs,.study-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.study-tabs .btn{flex:1;min-width:90px}.study-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.study-columns>*{min-width:0}.study-focus{text-align:center;padding:30px;overflow:hidden}.study-clock{font-size:clamp(48px,9vw,90px);font-weight:800;letter-spacing:-3px;font-variant-numeric:tabular-nums;margin:25px 0}.study-actions input{flex:1;min-width:100px;width:100%}.study-actions label{flex:1}.study-actions .btn{flex-shrink:0}.study-pet-icon{text-align:center;margin:15px;font-size:72px;line-height:1.3}.study-forest{border-radius:16px;overflow:hidden;min-height:180px;display:flex;flex-wrap:wrap;align-content:flex-end;gap:8px;padding:24px;background:linear-gradient(#a9d9f2,#436f45);font-size:36px;line-height:1.4}.study-evolution{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.study-evolution>div{padding:12px;border:1px solid var(--line);border-radius:12px;display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:8px}.study-evolution .current{border-color:var(--indigo);box-shadow:0 0 0 2px color-mix(in srgb,var(--indigo) 16%,transparent)}.study-evo-art{grid-row:span 2;font-size:30px;line-height:1.3;width:44px;text-align:center}.study-evolution small,.study-list small{display:block;color:var(--muted);font-size:12px}.study-list{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.study-list .btn{font-size:12px;padding:8px}.study-chat-log{height:260px;overflow:auto;overflow-wrap:anywhere}.study-chat-log p{background:var(--bg);padding:10px;border-radius:12px;margin:8px 0}.study-columns canvas{width:100%;border-radius:18px;margin:12px 0}.study-columns progress{width:100%;accent-color:var(--indigo)}.study-columns input,.study-columns select{max-width:100%;box-sizing:border-box}.study-tabs{position:sticky;top:0;z-index:2;background:var(--bg);padding:8px 0}.study-columns .planner-note{overflow-wrap:anywhere}.study-scene-wrap{position:relative;border-radius:18px;overflow:hidden;margin:-10px -10px 20px;box-shadow:0 12px 30px #0b0a1f26}.study-scene{height:150px;animation:studySceneFloat 12s ease-in-out infinite alternate}.study-scene svg{width:100%;height:100%}.study-scene-label{position:absolute;left:16px;bottom:13px;color:#fff;font-weight:700;text-shadow:0 2px 10px #0008}.study-scene-rain{animation-duration:8s}.study-scene-library{animation-duration:16s}.study-focus-tools{display:flex;align-items:end;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:16px}.study-focus-tools label{display:flex;flex-direction:column;gap:4px;text-align:left;font-size:12px;color:var(--muted);font-weight:700}.study-focus-tools select{min-width:120px}.study-focus-tools .btn{min-height:42px}.study-install{display:flex;align-items:center;justify-content:space-between;gap:16px}.study-install p{margin:5px 0 0}.study-focus:fullscreen,.study-focus:-webkit-full-screen{min-height:100dvh;display:flex;flex-direction:column;justify-content:center;border-radius:0}.study-focus:fullscreen .study-scene,.study-focus:-webkit-full-screen .study-scene{height:220px}
@keyframes studySceneFloat{from{transform:scale(1) translate3d(-1%,0,0)}to{transform:scale(1.06) translate3d(1%,0,0)}}
.study-week{overflow:auto;max-height:70vh;border:1px solid var(--line);border-radius:16px}.study-week table{width:100%;min-width:840px;border-collapse:collapse;table-layout:fixed}.study-week th,.study-week td{border:1px solid var(--line);padding:5px;vertical-align:top;font-size:11px}.study-week th{background:var(--card);color:var(--muted)}.study-week thead{position:sticky;top:0;z-index:1}.study-week th:first-child{width:55px}.study-slot{width:100%;min-height:32px;color:var(--muted)}
@media(max-width:767px){.study-week{display:none}.study-columns{grid-template-columns:1fr}.study-focus{padding:20px}.study-tabs .btn{min-width:0;padding:10px 5px;font-size:12px}.study-clock{font-size:64px}.study-actions .btn{min-height:44px}.study-list{flex-wrap:wrap}.study-columns input,.study-columns select{font-size:16px}.study-scene-wrap{margin:-4px -4px 16px}.study-scene{height:120px}.study-focus-tools{align-items:stretch}.study-focus-tools label{flex:1;min-width:120px}.study-focus-tools .btn{width:100%}.study-install{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.study-scene{animation:none}}
.study-duration{min-width:0;margin:18px 0;padding:14px;border:1px solid var(--line);border-radius:14px;text-align:left}
.study-duration legend{padding:0 6px;font-weight:700;font-size:14px}
.study-duration-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:12px}
.study-duration-presets .btn{min-width:0;min-height:44px;padding:8px 4px;font-size:13px}
.study-duration label{display:block;margin-bottom:6px;font-size:13px}
.study-duration input{width:100%;min-height:44px;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);font-size:16px}
.study-install-copy{flex:1;min-width:0}
.study-install>img{flex-shrink:0;border-radius:12px}
.study-install-actions{display:flex;flex-wrap:wrap;gap:8px}
.study-install-actions .btn{min-height:44px;padding:10px 14px;font-size:14px}
.study-install-steps{padding-left:24px;line-height:1.7}
.study-install-steps li{margin:10px 0}
