.study-type-field{margin-top:4px}.study-type-locked{display:grid;gap:4px;padding:14px 16px;border:1px solid var(--line,#dedee3);border-radius:14px;background:var(--surface-2,#f0f0f3)}.study-type-locked strong{font-size:15px}.study-type-locked span{font-size:12px;color:var(--muted,#64646b);line-height:1.45}

.study-unit-detail-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 20px;padding:18px;border:1px solid color-mix(in srgb,var(--line,#dedee3) 82%,transparent);border-radius:20px;background:linear-gradient(135deg,color-mix(in srgb,var(--surface,#fff) 96%,var(--accent,#0071e3) 4%),var(--surface,#fff));box-shadow:0 10px 28px rgba(15,23,42,.045)}.study-unit-detail-copy{display:grid;gap:5px;min-width:0}.study-unit-detail-copy small{font-size:10px;font-weight:750;letter-spacing:.11em;text-transform:uppercase;color:var(--muted,#64646b)}.study-unit-detail-copy strong{font:750 17px/1.2 "Manrope",sans-serif;letter-spacing:-.025em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.study-unit-detail-picker{display:flex;align-items:center;gap:10px;padding:6px 7px 6px 12px;border:1px solid var(--line,#dedee3);border-radius:14px;background:var(--surface-2,#f0f0f3)}.study-unit-detail-picker>span{font-size:11px;font-weight:650;color:var(--muted,#64646b);white-space:nowrap}.study-unit-detail-picker select{min-width:170px;height:36px!important;margin:0!important;padding:0 30px 0 10px!important;border:0!important;border-radius:10px!important;background:var(--surface,#fff)!important;color:var(--text,#1d1d1f);font-size:13px!important;font-weight:700;box-shadow:none!important;cursor:pointer}.study-unit-detail-picker select:focus-visible{outline:2px solid color-mix(in srgb,var(--accent,#0071e3) 70%,transparent);outline-offset:2px}

.study-subject-sheet{max-height:min(88dvh,760px);overflow:auto}.study-unit-editor{display:grid;gap:12px;margin:18px 0;padding:16px;border:1px solid var(--line,#dedee3);border-radius:16px;background:var(--surface-2,#f0f0f3)}.study-unit-type-lock{display:flex;align-items:center;justify-content:space-between;gap:12px}.study-unit-type-lock span{font-size:12px;color:var(--muted,#64646b)}.study-unit-type-lock strong{padding:6px 10px;border-radius:999px;background:var(--surface,#fff);border:1px solid var(--line,#dedee3);font-size:12px}.study-unit-editor>p{margin:0;color:var(--muted,#64646b);font-size:12px;line-height:1.5}.study-unit-rows{display:grid;gap:8px}.study-unit-row{display:grid;grid-template-columns:28px minmax(0,1fr) 40px;align-items:center;gap:8px}.study-unit-row>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--surface,#fff);border:1px solid var(--line,#dedee3);font-size:11px;font-weight:700;color:var(--muted,#64646b)}.study-unit-row input{height:42px!important;margin:0}.study-unit-row button{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:10px;background:transparent;color:var(--muted,#64646b)}.study-unit-row button:not(:disabled):hover{background:color-mix(in srgb,#e5484d 10%,transparent);color:#c52f35}.study-unit-row button:disabled{opacity:.3}.study-unit-row button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.study-unit-add{justify-self:start;width:auto!important;min-height:40px!important}.study-unit-error{min-height:18px;margin:0!important;color:#c52f35!important;font-size:12px!important}

@media(max-width:767px){.study-unit-detail-bar{align-items:stretch;flex-direction:column;gap:14px;padding:15px}.study-unit-detail-picker{justify-content:space-between}.study-unit-detail-picker select{min-width:0;flex:1}.study-unit-editor{padding:13px}.study-unit-type-lock{align-items:flex-start;flex-direction:column}.study-unit-row{grid-template-columns:26px minmax(0,1fr) 38px}.study-subject-sheet{max-height:92dvh}}
