@import"https://fonts.googleapis.com/css2?family=Nunito:wght@600;700;800&display=swap";body{margin:0;min-height:100vh;min-width:320px;overflow-x:hidden;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:#f8fafc;color:#111827}*,*:before,*:after{box-sizing:border-box}html{font-size:16px}#root{width:100%}img,video,audio{max-width:100%}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.container{width:min(100% - 32px,1200px);margin:0 auto}.introCard,.learningCard{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:16px;box-shadow:0 4px 14px #0000000a}.introCard h2,.sectionTitle{margin:0 0 12px;font-size:1.125rem}.introCard p{margin:0 0 10px;line-height:1.5;color:#374151;overflow-wrap:anywhere}.arabicSample{text-align:right}.primaryButton{min-height:44px;padding:10px 16px;border:none;border-radius:12px;background:#0f766e;color:#fff;font-weight:600;display:inline-flex;align-items:center;justify-content:center}.primaryButton:active{background:#115e59}.primaryButton:disabled{background:#9ca3af;color:#f3f4f6}a.primaryButton{text-decoration:none;box-sizing:border-box}.buttonRow{display:grid;grid-template-columns:1fr;gap:10px}.uiButton{min-height:44px;border:none;border-radius:12px;padding:10px 14px;font-weight:600}.uiButton--primary{background:#0f766e;color:#fff}.uiButton--secondary{background:#e6fffb;color:#115e59;border:1px solid #99f6e4}.uiButton:disabled{background:#d1d5db;color:#f9fafb}.formGrid{display:grid;grid-template-columns:1fr;gap:12px}.libraryCreateFormOnly{grid-template-columns:1fr}.uiField{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:12px}.uiFieldLabel{display:block;margin-bottom:8px;font-weight:600}.uiInput{width:100%;min-height:44px;border:1px solid #d1d5db;border-radius:10px;padding:10px 12px}.uiHint{margin:8px 0 0;color:#6b7280;font-size:.9rem}.sentenceBox{background:#fff;border:1px solid #e9ebf3;border-radius:18px;box-shadow:0 8px 20px #1118270f;overflow:hidden}.sentenceBox.canFlip{cursor:pointer;-webkit-user-select:none;user-select:none}.sentenceBox.canFlip:focus-visible{outline:2px solid #008b5a;outline-offset:2px}.sentenceHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #eef1f9}.sentenceStatus{display:inline-flex;align-items:center;gap:8px;color:#9a5d0a;font-size:.9rem}.statusDot{width:8px;height:8px;border-radius:50%;background:#f59e0b}.sentenceProgress{color:#059669;font-weight:700;font-size:.85rem}.sentenceHeaderActions{display:inline-flex;align-items:center;gap:8px}.sentenceAudioPlayButton{width:34px;height:34px;border:1px solid #8ed0b5;border-radius:50%;background:#f4fcf8;color:#145a47;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.sentenceAudioPlayButton svg{width:16px;height:16px}.sentenceBody{min-height:230px;padding:18px 16px 24px;display:block}.sentenceFlipScene{position:relative;width:100%;min-height:188px;perspective:1200px}.sentenceFlipInner{position:relative;width:100%;min-height:188px;transform-style:preserve-3d;transition:transform .38s ease}.sentenceFlipInner.isFlipped{transform:rotateY(180deg)}.sentenceFace{position:absolute;inset:0;display:grid;place-items:center;backface-visibility:hidden;-webkit-backface-visibility:hidden;padding:4px}.sentenceFaceBack{transform:rotateY(180deg)}.sentenceText{margin:auto 0;text-align:center;font-size:clamp(1.45rem,4.5vw,2.25rem);line-height:1.65;color:#111827;overflow-wrap:anywhere;white-space:pre-wrap}.sentenceText[dir=rtl]{text-align:center;font-family:Noto Naskh Arabic,Amiri,serif;font-weight:700}.sentenceBottomBar{min-height:38px;padding:6px 12px;display:flex;align-items:center;justify-content:center;gap:8px;background:#e9e9ff;color:#374151;font-size:.82rem}.sentenceBottomBar kbd{padding:2px 8px;border:1px solid #c7c9f5;border-radius:8px;background:#f8f8ff;font-size:.8rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.sentencePreviewGrid{display:grid;grid-template-columns:1fr;gap:16px}.studyCardFooter{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:12px}.studyCircleButton{width:52px;height:52px;border-radius:50%;border:1px solid #e5e7eb;background:#fff;font-size:1.5rem;line-height:1;box-shadow:0 4px 10px #11182714}.studyCircleButton:active{transform:scale(.97)}.studyCircleButton--wrong{color:#b45309}.studyCircleButton--correct{color:#059669}.uiCard{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:16px}.uiCard h3{margin:0 0 8px}.uiCard p{margin:0;color:#374151}.uiCard small{display:block;margin-top:10px;color:#6b7280}.textLink{display:inline-flex;margin-top:12px;color:#0f766e;font-weight:600;min-height:44px;align-items:center}.homeIntroLinks{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin-top:4px}.homeIntroLinks .textLink{margin-top:0}.homeIntroHint{margin:12px 0 0;font-size:.88rem;color:#6b7280;line-height:1.4}.learningCardLink{text-decoration:none;color:inherit;display:block}.learningCardLink .learningCard{height:100%;transition:box-shadow .2s ease,border-color .2s ease}.learningCardLink:hover .learningCard,.learningCardLink:focus-visible .learningCard{border-color:#99f6e4;box-shadow:0 8px 24px #0f766e1f}.learningCardLink:focus-visible{outline:none}.sectionSpacing{margin-top:16px}.studyPageIntro{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.studyPageIntro h2{margin:0 0 6px}.studyPageIntro p{margin:0;color:#6b7280}.studyPageIntroHeadingRow{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex:1;min-width:0}.studySettingsWrap{position:relative;flex-shrink:0}.studySettingsButton{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #e5e7eb;border-radius:12px;background:#fff;color:#4b5563;cursor:pointer;box-shadow:0 2px 8px #1118270f}.studySettingsButton:hover{color:#0f766e;border-color:#99f6e4;background:#f0fdfa}.studySettingsButton:focus-visible{outline:2px solid #008b5a;outline-offset:2px}.studySettingsIcon{display:block}.studySettingsMenu{position:absolute;top:calc(100% + 8px);right:0;min-width:228px;padding:6px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;box-shadow:0 12px 28px #1118271f;z-index:20}.studySettingsMenuItem{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 12px;border:none;border-radius:8px;background:transparent;color:#111827;font-size:.9rem;font-weight:600;text-align:left;cursor:pointer}.studySettingsMenuItem:hover{background:#f0fdfa}.studySettingsMenuItem--disabled{color:#9ca3af;font-weight:500;cursor:default;pointer-events:none}.studySettingsMenuHint{font-size:.75rem;font-weight:600;color:#6b7280}.countdownControlPanel{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.countToggle{display:inline-flex;align-items:center;gap:10px}.countToggleLabel{font-size:.84rem;font-weight:700;letter-spacing:.04em;color:#4b5563}.countToggle input{position:absolute;opacity:0;pointer-events:none}.countToggleTrack{position:relative;width:72px;height:34px;border-radius:999px;background:#e5e7eb;border:1px solid #d1d5db;display:inline-flex;align-items:center;justify-content:center;transition:background-color .2s ease,border-color .2s ease;box-shadow:inset 0 2px 4px #0f172a14}.countToggleThumb{position:absolute;top:3px;left:4px;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 2px 8px #0f172a33;transition:transform .2s ease}.countToggleState{margin-left:22px;font-size:.72rem;font-weight:700;letter-spacing:.04em;color:#6b7280;transition:color .2s ease}.countToggle input:checked+.countToggleTrack{background:linear-gradient(135deg,#10b981,#059669);border-color:#059669}.countToggle input:checked+.countToggleTrack .countToggleThumb{transform:translate(37px)}.countToggle input:checked+.countToggleTrack .countToggleState{color:#ecfdf5}.countStepper{display:inline-flex;align-items:center;gap:8px;padding:4px;border-radius:999px;border:1px solid #d1d5db;background:#f8fafc}.countStepperButton{width:30px;height:30px;border:none;border-radius:999px;background:#111827;color:#fff;font-size:1.1rem;font-weight:700;line-height:1;cursor:pointer;transition:transform .15s ease,opacity .15s ease}.countStepperButton:hover:not(:disabled){transform:scale(1.06)}.countStepperButton:disabled{cursor:not-allowed;opacity:.35}.countStepperValue{width:54px;min-height:30px;border:1px solid #d1d5db;border-radius:999px;background:#fff;text-align:center;font-size:.95rem;font-weight:700;color:#111827;padding:4px 8px}.studyCountdown{margin:14px 0 16px;padding:14px 18px;border-radius:14px;background:linear-gradient(135deg,#f0fdf4,#ecfdf5);border:1px solid #bbf7d0;text-align:center}.studyCountdownInner{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:6px 10px}.studyCountdownValue{font-variant-numeric:tabular-nums;font-size:clamp(2.25rem,8vw,3rem);font-weight:800;line-height:1;color:#047857}.studyCountdownUnit{font-size:1.15rem;font-weight:700;color:#059669}.studyCountdownLabel{width:100%;font-size:.95rem;color:#374151;margin-top:4px}.studyCountdownHint{margin:0;font-size:.95rem;line-height:1.5;color:#4b5563}.studyMeaningCard{margin-top:12px;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:14px 16px}.studyMeaningCard h3{margin:0 0 8px;font-size:1rem}.studyMeaningCard p{margin:0;line-height:1.5;color:#374151;overflow-wrap:anywhere}.studyActionRow{margin-top:12px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.cardGrid{display:grid;grid-template-columns:1fr;gap:16px}.learningCard h3{margin:0 0 8px;font-size:1rem}.learningCard p{margin:0;color:#4b5563;line-height:1.5;overflow-wrap:anywhere}.libraryTopActions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:4px}.libraryTopActions .textLink{margin-top:0}.libraryStatusText{margin:0;color:#6b7280;line-height:1.5}.libraryFolderCardHead{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.libraryFolderIcon{font-size:1.25rem;line-height:1}.libraryFolderBadge{margin-left:auto;font-size:.7rem;font-weight:800;letter-spacing:.04em;padding:2px 8px;border-radius:999px;background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.librarySectionTitle{margin:0 0 10px;font-size:1.05rem}.libraryCreateSection{margin-top:12px}.libraryCreateHint{margin:0 0 12px;color:#4b5563;line-height:1.5;font-size:.92rem}.libraryTextarea{min-height:72px;resize:vertical;line-height:1.5}.libraryRequired{color:#b45309;font-weight:700}.libraryFormError{margin:0;color:#b45309;font-weight:600;font-size:.9rem}.librarySentenceBlock{margin-top:16px}.librarySentenceList{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.librarySentenceRow{margin:0;padding:14px 16px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;box-shadow:0 4px 12px #1118270a}.librarySentenceMeta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-bottom:8px;font-size:.78rem;color:#6b7280;font-weight:600}.librarySentenceFolder{padding:2px 8px;border-radius:999px;background:#f3f4f6;color:#374151}.librarySentenceLangs{font-variant-numeric:tabular-nums}.librarySentenceFront{margin:0 0 6px;font-weight:600;line-height:1.5;overflow-wrap:anywhere;color:#111827}.librarySentenceBack{margin:0;line-height:1.6;overflow-wrap:anywhere;color:#374151}.librarySentenceMemo{margin:8px 0 0;font-size:.88rem;color:#6b7280;line-height:1.5;overflow-wrap:anywhere}.libraryPolicyHint{margin:8px 0 0;font-size:.88rem;color:#6b7280;line-height:1.5}.librarySetCardLink{text-decoration:none;color:inherit;display:block}.librarySetCard{height:100%;transition:box-shadow .2s ease,border-color .2s ease}.librarySetCardLink:hover .librarySetCard,.librarySetCardLink:focus-visible .librarySetCard{border-color:#99f6e4;box-shadow:0 8px 24px #0f766e1f}.librarySetCardHead{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.librarySetMeta{display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:8px;font-size:.78rem;color:#6b7280;font-weight:600}.librarySetMetaItem{font-variant-numeric:tabular-nums}.librarySetViewPage{max-width:760px}.librarySetTopBar{display:flex;align-items:center;justify-content:space-between;gap:10px}.librarySetTopLink{margin-top:0}.librarySetTopStudyButton{min-height:40px;padding:8px 14px;font-size:.9rem}.librarySetSlideSection{margin-top:14px}.librarySetSlideWrap{display:block}.librarySetSlideCard{background:linear-gradient(180deg,#effaf4,#e8f7ef);border:1px solid #c8ebda;border-radius:16px;padding:18px 16px;min-height:190px;display:flex;flex-direction:column;justify-content:center;gap:10px;cursor:grab;-webkit-user-select:none;user-select:none;touch-action:pan-y}.librarySetSlideCard.isDragging{cursor:grabbing}.librarySetSlideFront{margin:0;color:#145a47;font-size:clamp(1.4rem,5.4vw,2rem);line-height:1.45;text-align:center}.librarySetDots{margin-top:10px;display:flex;justify-content:center;gap:6px}.librarySetDot{width:6px;height:6px;border-radius:50%;background:#cbd5e1}.librarySetDot.isActive{background:#0f766e}.librarySetMiddleSpacer{height:18px}.librarySetMetaSection{margin-top:0}.librarySetMetaSection h2{margin:0;font-size:1.8rem}.librarySetAuthorRow{margin-top:12px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.librarySetAuthorAvatar{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#e0f2fe;font-size:1rem}.librarySetAuthorName,.librarySetWordCount{font-weight:700;color:#0f172a}.librarySetAuthorDivider{width:1px;height:16px;background:#cbd5e1}.librarySentenceRow--showcase{background:linear-gradient(180deg,#effaf4,#e8f7ef);border:1px solid #c8ebda;border-radius:16px}.librarySentenceRow--showcase .librarySentenceFront{color:#145a47;font-size:1.5rem}.librarySentenceRow--showcase .librarySentenceBack{color:#2f6f5c;font-size:1rem}.librarySentenceRow--showcase .librarySentenceMemo{color:#4b7b6a}.librarySentenceAudioRow{margin-top:10px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.libraryAudioButton{min-height:34px;border:1px solid #8ed0b5;border-radius:999px;padding:6px 12px;background:#f4fcf8;color:#145a47;font-size:.85rem;font-weight:700;cursor:pointer}.libraryAudioButton:disabled{cursor:not-allowed;opacity:.7}.libraryAudioDone{width:22px;height:22px;border-radius:50%;background:#1f8a70;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:.78rem;font-weight:700}.librarySentenceCardActionRow{display:flex;justify-content:flex-end;gap:6px;margin-bottom:8px}.librarySentenceIconButton{width:34px;height:34px;border:1px solid #8ed0b5;border-radius:50%;background:#f4fcf8;color:#145a47;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.librarySentenceIconButton:hover{background:#e8f7ef;border-color:#6bbf9f}.librarySentenceIconButton:disabled{opacity:.6;cursor:not-allowed}.librarySentenceIcon{width:16px;height:16px}.librarySentenceEditBlock{display:grid;gap:6px}.librarySentenceEditActions{margin-top:4px;display:flex;gap:8px;flex-wrap:wrap}.libraryDeleteModal{border:1px solid #c8ebda;background:linear-gradient(180deg,#f6fdf9,#ecfaf2)}.libraryDeleteModalText{margin:0;color:#2f6f5c;font-size:.92rem}.libraryDeleteModalPreview{margin:10px 0 0;padding:10px 12px;border-radius:10px;border:1px solid #bde7d4;background:#fff;color:#145a47;line-height:1.45}.libraryFoldersSection{margin-top:20px;padding-top:12px;border-top:1px solid #e5e7eb}.librarySubSectionTitle{margin:0 0 10px;font-size:1rem;font-weight:700;color:#111827}.libraryFolderCreateCard{margin-bottom:16px}.learningCard.libraryFolderCard{display:flex;flex-direction:column;height:100%;transition:box-shadow .2s ease,border-color .2s ease}.learningCard.libraryFolderCard:hover,.learningCard.libraryFolderCard:focus-within{border-color:#99f6e4;box-shadow:0 8px 24px #0f766e1f}.libraryFolderCardMainLink{text-decoration:none;color:inherit;display:block;flex:1 1 auto}.libraryFolderCardMainLink:hover .libraryFolderCardHead h3,.libraryFolderCardMainLink:focus-visible .libraryFolderCardHead h3{color:#0f766e}.libraryFolderCardActions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;padding-top:10px;border-top:1px solid #f3f4f6}.libraryFolderDetailManage{display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:14px}.librarySetManageSection{margin-top:12px}.librarySetManageRow{display:flex;flex-wrap:wrap;gap:8px 12px;margin-bottom:12px}.libraryFolderMoveField{margin-top:0}.librarySelect{font:inherit;cursor:pointer;background:#fff}.libraryDangerButton{min-height:44px;padding:8px 14px;border-radius:12px;border:1px solid #f87171;background:#fff1f2;color:#b91c1c;font-weight:600;cursor:pointer}.libraryDangerButton:disabled{opacity:.6;cursor:not-allowed}.libraryModalOverlay{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:20px;background:#11182773}.libraryModal{width:min(100%,440px);max-height:min(88vh,640px);overflow:auto;background:#fff;border-radius:16px;padding:18px 18px 16px;border:1px solid #e5e7eb;box-shadow:0 20px 50px #0000002e}.libraryModalTitle{margin:0 0 14px;font-size:1.1rem;color:#111827}.libraryModalActions{display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:16px;justify-content:flex-end}.libraryStudyLink{min-height:40px;padding:8px 14px;font-size:.9rem}.librarySentenceActions,.libraryEditActions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.libraryEditForm{display:flex;flex-direction:column;gap:8px;width:100%}.studyBackToSetLink{display:inline-flex;margin-top:6px;font-size:.88rem}.libraryCreateSetLink{margin-top:10px;width:fit-content;max-width:100%}.createSetPage{padding-bottom:24px}.createSetSimplePage{max-width:720px}.createSetHeader{margin-bottom:16px}.createSetBackLink{margin-top:0;margin-bottom:8px}.createSetTitle{margin:0;font-size:1.35rem;line-height:1.35}.createSetMetaCard{margin-bottom:16px}.createSetSimpleMetaCard{display:grid;gap:10px}.createSetDescToggleRow{display:flex;align-items:center;justify-content:flex-end}.createSetDescToggleBtn{border:none;background:transparent;color:#1f8a70;font-weight:700;font-size:.9rem;padding:6px 2px;cursor:pointer}.createSetDescToggleBtn:disabled{color:#9ca3af}.createSetDescArea{resize:vertical;min-height:52px}.createSetSelect{font-size:1rem}.createSetCardsSection{margin-top:8px}.createSetCardList{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px}.createSetCard{border:1px solid #e5e7eb;border-radius:16px;padding:14px 14px 16px;background:#fff;box-shadow:0 4px 14px #0000000a}.createSetSimplePage .createSetCard{border-radius:10px;box-shadow:none;border-color:#e9eaf0}.createSetCardToolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.createSetCardNumber{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 8px;border-radius:8px;background:#f3f4f6;font-weight:800;font-size:.9rem;color:#374151}.createSetSimplePage .createSetCardNumber{background:#eef2ff;color:#4f46e5}.createSetCardRemove{border:none;background:transparent;color:#b45309;font-weight:600;font-size:.88rem;padding:6px 10px;border-radius:8px;cursor:pointer}.createSetCardRemove:disabled{color:#d1d5db;cursor:not-allowed}.createSetCardFields{display:grid;gap:12px;grid-template-columns:1fr}.createSetSimplePage .uiField{border-radius:10px;box-shadow:none;padding:8px 10px}.createSetSimplePage .uiInput{border:none;border-bottom:2px solid #d1d5db;border-radius:0;min-height:24px;padding:1px 0;line-height:1.25}.createSetSimplePage .uiInput:focus{outline:none;border-bottom-color:#4f46e5}.createSetSimplePage .libraryTextarea{min-height:30px;padding-top:0;padding-bottom:0;line-height:1.25}.createSetSimplePage .uiFieldLabel{margin-bottom:2px}.createSetCardToggleRow{margin-top:6px;display:flex;justify-content:flex-end}.createSetCardMemoField{margin-top:6px}.createSetMemoField{margin-top:4px}.createSetAddCardBtn{margin-top:14px;width:100%}.createSetSimplePage .createSetAddCardBtn{display:none}.createSetError{margin-top:14px}.createSetActions{display:flex;flex-direction:column;gap:10px;margin-top:20px}.createSetSimpleActions{position:sticky;bottom:12px;z-index:10;flex-direction:row;align-items:center;justify-content:center;gap:12px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:999px;background:#fffffff2;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.createSetFabAdd{width:38px;height:38px;border:none;border-radius:50%;background:linear-gradient(135deg,#1f8a70,#2a9d8f);color:#fff;font-size:1.35rem;line-height:1;cursor:pointer;box-shadow:0 6px 14px #1f8a7047}.createSetFabAdd:disabled{background:#9ca3af;cursor:not-allowed;box-shadow:none}.createSetSimpleActions .primaryButton{min-width:120px;background:linear-gradient(135deg,#0f7a5f,#1f8a70);box-shadow:0 8px 18px #0f7a5f4d}.createSetSimpleActions .primaryButton:active{background:linear-gradient(135deg,#0c624d,#176e5a)}.createSetSimpleActions .primaryButton:disabled{background:#9ca3af;box-shadow:none}.createSetActions .primaryButton,.createSetActions .uiButton{width:100%;justify-content:center}.createSetActionStudy{min-height:44px}@media(min-width:768px){.createSetCardFields{grid-template-columns:1fr 1fr}.createSetActions{flex-direction:row;flex-wrap:wrap}.createSetActions .primaryButton,.createSetActions .uiButton{width:auto;flex:1;min-width:160px}.createSetAddCardBtn{width:auto}.introCard,.learningCard{padding:20px}.cardGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.buttonRow{grid-template-columns:repeat(3,minmax(0,1fr))}.formGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.libraryCreateFormOnly{grid-template-columns:1fr}.sentencePreviewGrid{gap:20px}}@media(min-width:1024px){.cardGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.sentencePreviewGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.studyPageIntro{align-items:center;gap:8px}.countdownControlPanel{align-items:flex-end;gap:6px}.studyPageIntro h2{margin-bottom:2px;font-size:1.15rem}.studyPageIntro p{font-size:.82rem}.countToggle{gap:8px}.countToggleLabel{font-size:.78rem}.countToggleTrack{width:62px;height:30px}.countToggleThumb{top:2px;left:3px;width:24px;height:24px}.countToggleState{margin-left:18px;font-size:.67rem}.countToggle input:checked+.countToggleTrack .countToggleThumb{transform:translate(31px)}.countStepper{gap:6px;padding:3px}.countStepperButton{width:26px;height:26px;font-size:1rem}.countStepperValue{width:46px;min-height:26px;padding:2px 6px;font-size:.84rem}}@media(min-width:1280px){.introCard p,.learningCard p{font-size:1.05rem}}.siteFooter{padding:16px 0;background:#fff;border-top:1px solid #e5e7eb}.siteFooterInner{display:grid;grid-template-columns:1fr;gap:12px}.siteFooterInner strong{display:block}.siteFooterInner p{margin:6px 0 0;color:#6b7280}.siteFooterLinks{display:flex;gap:14px;flex-wrap:wrap}.siteFooterLinks a{min-height:40px;display:inline-flex;align-items:center;color:#4b5563}@media(min-width:768px){.siteFooter{padding:20px 0}.siteFooterInner{grid-template-columns:1fr auto;align-items:center}}.siteHeader{padding:16px 0;background:#fff;border-bottom:1px solid #e5e7eb}.siteHeaderInner{display:grid;grid-template-columns:44px 1fr 44px;align-items:center}.headerHomeLink{width:44px;height:44px;border:1px solid #d1d5db;border-radius:12px;display:inline-grid;place-items:center;color:#008b5a;background:#fff}.headerHomeLink svg{width:20px;height:20px;fill:currentColor}.siteBrandLink{justify-self:center;text-align:center;font-size:1.45rem;font-family:Nunito,Apple SD Gothic Neo,Malgun Gothic,sans-serif;font-weight:800;line-height:1.2;color:#008b5a}.headerDropdown{position:relative;justify-self:end}.headerMenuButton{width:44px;height:44px;border:1px solid #d1d5db;border-radius:12px;display:inline-grid;place-content:center;gap:4px;background:#fff;cursor:pointer}.headerMenuButton span{display:block;width:18px;height:2px;border-radius:999px;background:#008b5a;transition:transform .14s ease,opacity .14s ease;transform-origin:center}.headerMenuButton.open span:nth-child(1){transform:translateY(6px) rotate(45deg)}.headerMenuButton.open span:nth-child(2){opacity:0}.headerMenuButton.open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}.headerDropdownPanel{margin-top:8px;padding:12px;width:min(82vw,280px);border:1px solid #e5e7eb;border-radius:14px;background:#fff;box-shadow:0 10px 20px #1118271a;position:absolute;right:0;z-index:20;display:none}.headerDropdownPanel.open{display:block}.siteActions{display:grid;grid-template-columns:1fr;gap:8px}.headerGhostButton,.headerPrimaryButton{min-height:44px;padding:0 14px;border-radius:12px;font-weight:600}.headerGhostButton{border:1px solid #d1d5db;background:#fff}.headerPrimaryButton{border:none;background:#008b5a;color:#fff}@media(min-width:768px){.siteHeader{padding:20px 0}.siteBrandLink{font-size:1.5rem}}.layoutShell{min-height:100vh;display:flex;flex-direction:column}.layoutMain{flex:1;padding:16px 0 24px}@media(min-width:768px){.layoutMain{padding:20px 0 32px}}@media(min-width:1024px){.layoutMain{padding:24px 0 40px}}.loginPage{min-height:100dvh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f0fdfa,#e0f2fe);padding:1rem}.loginCard{background:#fff;border-radius:1.5rem;padding:3rem 2rem;width:100%;max-width:360px;display:flex;flex-direction:column;align-items:center;gap:2rem;box-shadow:0 4px 24px #00000014}.loginLogo{text-align:center}.loginTitle{font-size:2rem;font-weight:700;color:#0f766e;margin:0 0 .5rem}.loginSubtitle{font-size:.95rem;color:#64748b;margin:0}.googleLoginButton{display:flex;align-items:center;gap:.75rem;background:#fff;border:1.5px solid #e2e8f0;border-radius:.75rem;padding:.875rem 1.5rem;font-size:1rem;font-weight:500;color:#1e293b;cursor:pointer;width:100%;justify-content:center;transition:background .15s,box-shadow .15s}.googleLoginButton:hover{background:#f8fafc;box-shadow:0 2px 8px #00000014}.googleIcon{width:1.25rem;height:1.25rem;flex-shrink:0}
