.protected-route-center{display:flex;justify-content:center;align-items:center;height:100vh;background:#fff}.protected-route-spinner{width:40px;height:40px;border:4px solid #e2e8f0;border-top-color:#816cac;border-radius:50%;animation:spin .8s linear infinite}.login-wrapper{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#fff;padding:2rem;font-family:Inter,system-ui,sans-serif}.login-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;padding:3rem 2.5rem;max-width:440px;width:100%;text-align:center}.login-title{font-size:2.5rem;font-weight:800;color:#816cac;margin:0 0 .5rem;letter-spacing:-1px}.login-tagline{color:#64748b;font-size:1rem;line-height:1.6;margin-bottom:2rem}.login-features{text-align:left;color:#94a3b8;font-size:.9rem;line-height:2;margin-bottom:2rem;padding-left:1.25rem}.login-google-btn{display:flex;align-items:center;justify-content:center;width:100%;background:#fff;color:#1f2937;border:1px solid #e2e8f0;padding:14px 24px;border-radius:10px;cursor:pointer;font-size:1rem;font-weight:600;box-shadow:0 1px 3px #00000014}.login-google-icon{margin-right:10px}.auth-callback-wrapper{display:flex;align-items:center;justify-content:center;height:100vh;background:#fff;color:#0f172a}.llp-section{margin-bottom:1.75rem}.llp-section-title{font-size:1rem;font-weight:600;color:#334155;margin-bottom:.75rem}.llp-lang-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.5rem}.llp-lang-btn{background:#f8fafc;border:1px solid #e2e8f0;color:#64748b;padding:8px;border-radius:8px;cursor:pointer;font-size:.85rem}.llp-lang-dropdown{margin-top:.5rem;width:100%;padding:8px 10px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;color:#64748b;font-size:.85rem;cursor:pointer}.llp-lang-dropdown.selected{border-color:#816cac;background:#f0ecf8;color:#816cac}.llp-level-list{display:flex;flex-direction:column;gap:.5rem}.llp-level-btn{display:flex;align-items:center;gap:1rem;background:#f8fafc;border:1px solid #e2e8f0;color:#64748b;padding:12px 16px;border-radius:8px;cursor:pointer;text-align:left;width:100%}.llp-lang-btn.selected,.llp-level-btn.selected{border-color:#816cac;background:#f0ecf8;color:#816cac}.llp-level-label{font-weight:600;color:#0f172a;font-size:.9rem;min-width:100px}.llp-level-desc{font-size:.8rem;color:#94a3b8}.llp-error{color:#dc2626;font-size:.85rem;margin-bottom:1rem}.llp-submit-btn{width:100%;background:linear-gradient(135deg,#816cac,#93cbec);border:none;color:#fff;padding:14px;border-radius:10px;cursor:pointer;font-size:1rem;font-weight:600}.llp-submit-btn:disabled{opacity:.5;cursor:not-allowed}.survey-wrapper{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#fff;padding:2rem}.survey-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:2.5rem;max-width:600px;width:100%}.survey-title{font-size:1.75rem;font-weight:700;color:#0f172a;text-align:center;margin:0 0 .5rem}.survey-subtitle{color:#64748b;text-align:center;margin-bottom:2rem}.survey-section{margin-bottom:1.75rem}.survey-section-title{font-size:1rem;font-weight:600;color:#334155;margin-bottom:.75rem}.survey-lang-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem}.survey-lang-btn{background:#f8fafc;border:1px solid #e2e8f0;color:#64748b;padding:8px;border-radius:8px;cursor:pointer;font-size:.85rem}.survey-lang-dropdown{margin-top:.5rem;width:100%;padding:8px 10px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;color:#64748b;font-size:.85rem;cursor:pointer}.survey-lang-dropdown.selected{border-color:#816cac;background:#f0ecf8;color:#816cac}.survey-level-list{display:flex;flex-direction:column;gap:.5rem}.survey-level-btn{display:flex;align-items:center;gap:1rem;background:#f8fafc;border:1px solid #e2e8f0;color:#64748b;padding:12px 16px;border-radius:8px;cursor:pointer;text-align:left;width:100%}.survey-lang-btn.selected,.survey-level-btn.selected{border-color:#816cac;background:#f0ecf8;color:#816cac}.survey-level-label{font-weight:600;color:#0f172a;font-size:.9rem;min-width:100px}.survey-level-desc{font-size:.8rem;color:#94a3b8}.survey-error{color:#dc2626;font-size:.85rem;margin-bottom:1rem}.survey-submit-btn{width:100%;background:linear-gradient(135deg,#816cac,#93cbec);border:none;color:#fff;padding:14px;border-radius:10px;cursor:pointer;font-size:1rem;font-weight:600}.survey-submit-btn:disabled{opacity:.5;cursor:not-allowed}.layout-root{min-height:100vh;background:#fff;color:#0f172a;font-family:Inter,system-ui,sans-serif}.layout-header{display:flex;align-items:center;justify-content:space-between;padding:0 2rem;height:60px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.layout-brand{font-size:1.25rem;font-weight:700;color:#816cac;text-decoration:none;letter-spacing:-.5px;display:flex;align-items:center;gap:.4rem}.layout-brand-logo{width:42px;height:42px;object-fit:contain}.layout-user-area{display:flex;align-items:center;gap:.75rem;position:relative}.layout-lang{font-size:.8rem;color:#64748b;background:#e2e8f0;padding:2px 8px;border-radius:99px}.layout-streak{position:relative;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px}.layout-streak-fire{width:40px;height:50px;object-fit:contain;display:block}.layout-streak-count{position:absolute;bottom:5px;left:50%;transform:translate(-50%);font-size:.7rem;font-weight:800;color:#fff;z-index:10;line-height:1;text-shadow:0 1px 2px rgba(0,0,0,.4)}.layout-avatar-btn{display:flex;background:none;border:none;padding:0;cursor:pointer;border-radius:50%;transition:box-shadow .15s,transform .15s}.layout-avatar-btn:hover{box-shadow:0 0 0 2px #816cac;transform:scale(1.05)}.layout-avatar-btn[aria-expanded=true]{box-shadow:0 0 0 2px #816cac}.layout-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover}.layout-avatar-placeholder{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#c0beff;color:#14532d;font-size:1rem;font-weight:700}.layout-dropdown{position:absolute;top:calc(100% + 8px);right:0;min-width:140px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 10px 25px #0000001a;padding:4px;z-index:100}.layout-dropdown-item{display:block;width:100%;text-align:left;padding:8px 12px;color:#64748b;text-decoration:none;font-size:.9rem;background:none;border:none;border-radius:6px;cursor:pointer;transition:background .15s,color .15s}.layout-dropdown-item:hover,.layout-dropdown-item.active{background:#f1f5f9;color:#0f172a}.layout-dropdown-logout{color:#ef4444}.layout-dropdown-logout:hover{background:#fee2e2;color:#dc2626}.layout-main{max-width:900px;margin:0 auto;padding:2rem 1.5rem 6rem}.layout-tab-bar{position:fixed;bottom:0;left:0;right:0;height:64px;background:#f8fafc;border-top:1px solid #e2e8f0;display:flex;z-index:50}.layout-tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#94a3b8;text-decoration:none;transition:color .15s}.layout-tab.active{color:#816cac}.layout-tab-icon{font-size:1.45rem}.layout-tab-label{font-size:.7rem;font-weight:500;letter-spacing:.02em}.text-preview-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem;margin-bottom:1.5rem}.text-preview-title{font-size:1.2rem;font-weight:700;color:#0f172a;margin:0 0 .75rem}.text-preview-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1.25rem}.text-preview-meta{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:flex-end}.text-preview-chip{background:#e2e8f0;color:#64748b;padding:2px 10px;border-radius:99px;font-size:.75rem;text-transform:capitalize}.text-preview-chip--too-easy{background:#d1fae5;color:#059669}.text-preview-chip--too-hard{background:#fee2e2;color:#dc2626}.text-preview-chip--appropriate{background:#ddf0fa;color:#6e5b9a}.text-preview-content{color:#334155;line-height:1.8;font-size:1rem;margin-bottom:0}.text-preview-read-btn{background:linear-gradient(135deg,#816cac,#93cbec);color:#fff;border:none;padding:10px 24px;border-radius:8px;cursor:pointer;font-size:.9rem;font-weight:600}.feedback-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:100;padding:1rem}.feedback-modal{position:relative;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:2rem;max-width:480px;width:100%;text-align:center}.feedback-close-btn{position:absolute;top:.75rem;right:.75rem;background:none;border:none;font-size:1rem;color:#94a3b8;cursor:pointer;line-height:1;padding:4px}.feedback-close-btn:hover{color:#0f172a}.feedback-title{font-size:1.4rem;font-weight:700;color:#0f172a;margin:0 0 .5rem}.feedback-subtitle{color:#64748b;margin-bottom:1.5rem;font-size:.9rem}.feedback-options{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem}.feedback-option-btn{display:flex;align-items:center;gap:1rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:1rem;cursor:pointer;color:#0f172a;text-align:left;transition:border-color .15s;width:100%}.feedback-option-btn:disabled{opacity:.6;cursor:not-allowed}.feedback-emoji{font-size:1.5rem;flex-shrink:0}.feedback-opt-label{font-weight:600;font-size:.95rem;flex:1}.feedback-opt-desc{color:#94a3b8;font-size:.8rem}.feedback-loading{display:flex;justify-content:center;align-items:center;padding:2rem 0}.feedback-loading-gif{width:64px;height:64px}.feedback-dismiss-btn{background:none;border:none;color:#94a3b8;cursor:pointer;font-size:.85rem;padding:.5rem}.feedback-dismiss-btn:disabled{opacity:.6;cursor:not-allowed}.awm-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;z-index:100;display:flex;align-items:center;justify-content:center}.awm-modal{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:2rem;width:100%;max-width:380px;display:flex;flex-direction:column;gap:1rem;box-shadow:0 8px 32px #0000001a}.awm-title{font-size:1.15rem;font-weight:700;color:#0f172a;margin:0}.awm-input{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:.65rem .875rem;color:#0f172a;font-size:1rem;outline:none;width:100%;box-sizing:border-box;transition:border-color .15s}.awm-input:focus{border-color:#816cac}.awm-input::placeholder{color:#94a3b8}.awm-example-section{display:flex;flex-direction:column;gap:.6rem}.awm-get-examples-btn{background:none;border:1px solid #e2e8f0;color:#64748b;padding:6px 14px;border-radius:8px;cursor:pointer;font-size:.85rem;align-self:center;transition:border-color .15s,color .15s}.awm-get-examples-btn:hover:not(:disabled){border-color:#816cac;color:#816cac}.awm-get-examples-btn:disabled{opacity:.4;cursor:default}.awm-examples-loading{font-size:.82rem;color:#94a3b8;font-style:italic}.awm-examples-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.2rem}.awm-example-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:.2rem .4rem;font-size:.78rem;color:#64748b;cursor:pointer;transition:border-color .15s,color .15s;line-height:1.4;max-width:100%;align-self:flex-start}.awm-example-item:hover{border-color:#816cac;color:#0f172a}.awm-actions{display:flex;justify-content:flex-end;gap:.75rem;margin-top:.25rem}.awm-cancel{background:none;border:1px solid #e2e8f0;color:#64748b;padding:8px 18px;border-radius:8px;cursor:pointer;font-size:.9rem}.awm-cancel:hover{border-color:#94a3b8;color:#0f172a}.awm-save{background:linear-gradient(135deg,#816cac,#93cbec);border:none;color:#fff;padding:8px 22px;border-radius:8px;cursor:pointer;font-size:.9rem;font-weight:600;transition:background .15s}.awm-save:hover:not(:disabled){background:linear-gradient(135deg,#6e5b9a,#7abcd8)}.awm-save:disabled{opacity:.45;cursor:default}.tfs-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#fff;z-index:100;display:flex;flex-direction:column}.tfs-container{display:flex;flex-direction:column;height:100%;max-width:760px;margin:0 auto;width:100%;padding:0 1.5rem}.tfs-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 0;border-bottom:1px solid #e2e8f0;gap:1rem;flex-wrap:wrap}.tfs-meta{display:flex;gap:.5rem}.tfs-chip{background:#f1f5f9;color:#64748b;padding:2px 10px;border-radius:99px;font-size:.75rem;text-transform:capitalize}.tfs-actions{display:flex;align-items:center;gap:.75rem}.tfs-feedback-done{color:#059669;font-size:.85rem}.tfs-close-btn{background:none;border:1px solid #e2e8f0;color:#64748b;padding:6px 14px;border-radius:6px;cursor:pointer;font-size:.85rem}.tfs-content{flex:1;overflow-y:auto;padding:2rem 0}.tfs-title-row{display:flex;align-items:center;gap:.75rem;margin-bottom:1.5rem}.tfs-toolbar-btn{display:flex;align-items:center;justify-content:center;color:#64748b;width:38px;height:38px;border-radius:8px;cursor:pointer;font-size:1.1rem}.tfs-toolbar-btn.active{color:#816cac}.tfs-toolbar-btn:hover{background:#f1f5f9;color:#0f172a}.tfs-title{font-size:1.5rem;font-weight:700;color:#0f172a;margin:0}.tfs-text{color:#334155;line-height:2;font-size:1.1rem;-webkit-user-select:text;user-select:text}.tfs-paragraph{margin:0 0 1rem}.tfs-translation-popup{position:fixed;transform:translate(-50%,calc(-100% - 10px));background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:7px 30px;font-size:1.2rem;color:#0f172a;white-space:nowrap;box-shadow:0 4px 20px #0000001a;z-index:200;pointer-events:auto}.tfs-translation-body{display:flex;flex-direction:column;align-items:center;gap:8px}.tfs-translation-arrow{position:absolute;bottom:-5px;left:50%;transform:translate(-50%) rotate(45deg);width:10px;height:10px;background:#fff;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}.tfs-translation-loading{color:#94a3b8;font-style:italic}.tfs-translation-result{font-weight:500}.tfs-translation-save{display:flex;align-items:center;justify-content:center;width:23px;height:23px;border-radius:50%;border:1px solid #816cac;background:none;color:#816cac;font-size:1rem;font-weight:700;cursor:pointer;line-height:1;transition:background .15s,color .15s;flex-shrink:0}.tfs-translation-save:hover{background:#816cac;color:#fff}.tfs-translation-save.saved{border-color:#059669;color:#059669;cursor:pointer}.tfs-translation-save.saved:hover{background:#059669;color:#fff}.tfs-finished-row{display:flex;justify-content:center;padding:1rem 0}.tfs-finished-btn{background:linear-gradient(135deg,#816cac,#93cbec);border:none;color:#fff;padding:12px 32px;border-radius:8px;cursor:pointer;font-size:1rem;font-weight:600}.toast{position:fixed;bottom:calc(64px + 1.5rem);right:1.5rem;display:flex;align-items:center;gap:.75rem;background:#1e293b;color:#f8fafc;padding:.875rem 1rem .875rem 1.25rem;border-radius:10px;box-shadow:0 8px 24px #0000002e;max-width:320px;z-index:500;animation:toast-in .3s cubic-bezier(.34,1.56,.64,1)}@keyframes toast-in{0%{opacity:0;transform:translate(120%)}to{opacity:1;transform:translate(0)}}.toast-message{font-size:.875rem;line-height:1.5;flex:1}.toast-close{background:none;border:none;color:#94a3b8;cursor:pointer;font-size:.75rem;padding:2px;line-height:1;flex-shrink:0;transition:color .15s}.toast-close:hover{color:#f8fafc}.main-title{font-size:1.75rem;font-weight:700;color:#0f172a;margin:0 0 2rem}.main-error{background:#fee2e2;color:#dc2626;border:1px solid #fca5a5;padding:1rem;border-radius:8px;margin-bottom:1rem}.main-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;min-height:calc(100vh - 200px)}.main-placeholder-text{color:#94a3b8;font-size:1rem}.main-loading-gif{width:120px;height:120px}.main-bottom-bar{position:fixed;bottom:calc(64px + 1rem);left:0;right:0;display:flex;justify-content:center;pointer-events:none}.main-generate-btn{display:flex;align-items:center;background:linear-gradient(135deg,#816cac,#93cbec);color:#fff;border:none;padding:10px 20px;border-radius:8px;cursor:pointer;font-size:.9rem;font-weight:600;pointer-events:auto}.main-generate-btn:disabled{opacity:.6;cursor:not-allowed}.history-title{font-size:1.75rem;font-weight:700;color:#0f172a;margin-bottom:1.5rem}.history-muted{color:#94a3b8}.history-empty{text-align:center;padding:4rem}.history-btn{background:linear-gradient(135deg,#816cac,#93cbec);color:#fff;border:none;padding:10px 20px;border-radius:8px;cursor:pointer;font-size:.9rem;font-weight:600;margin-top:1rem}.history-list{display:flex;flex-direction:column;gap:1rem}.history-row{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:1.25rem;cursor:pointer}.history-row-meta{display:flex;gap:.5rem;margin-bottom:.75rem;flex-wrap:wrap}.history-chip{background:#e2e8f0;color:#64748b;padding:2px 10px;border-radius:99px;font-size:.75rem;text-transform:capitalize}.history-chip--too-easy{background:#d1fae5;color:#059669}.history-chip--too-hard{background:#fee2e2;color:#dc2626}.history-chip--appropriate{background:#ddf0fa;color:#6e5b9a}.history-preview{color:#64748b;font-size:.9rem;line-height:1.6;margin-bottom:.5rem}.history-date{color:#94a3b8;font-size:.75rem;margin:0}.add-lang-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;z-index:100;display:flex;align-items:center;justify-content:center;padding:1.5rem}.add-lang-modal{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:2rem;width:100%;max-width:560px;max-height:90vh;overflow-y:auto}.add-lang-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.75rem}.add-lang-title{font-size:1.25rem;font-weight:700;color:#0f172a;margin:0}.add-lang-close{background:none;border:1px solid #e2e8f0;color:#64748b;width:32px;height:32px;border-radius:6px;cursor:pointer;font-size:.85rem;display:flex;align-items:center;justify-content:center}.awl-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;z-index:100;display:flex;align-items:center;justify-content:center;padding:1.5rem}.awl-modal{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:2rem;width:100%;max-width:420px;display:flex;flex-direction:column;gap:1rem;box-shadow:0 8px 32px #0000001a}.awl-title{font-size:1.15rem;font-weight:700;color:#0f172a;margin:0}.awl-select{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:.65rem .875rem;color:#0f172a;font-size:1rem;outline:none;width:100%;cursor:pointer;transition:border-color .15s}.awl-select:focus{border-color:#816cac}.awl-textarea{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:.75rem .875rem;color:#0f172a;font-size:1rem;outline:none;width:100%;box-sizing:border-box;resize:vertical;font-family:inherit;line-height:1.6;transition:border-color .15s}.awl-textarea:focus{border-color:#816cac}.awl-textarea::placeholder{color:#94a3b8}.awl-progress{font-size:.85rem;color:#64748b;margin:0}.awl-actions{display:flex;justify-content:flex-end;gap:.75rem}.awl-cancel{background:none;border:1px solid #e2e8f0;color:#64748b;padding:8px 18px;border-radius:8px;cursor:pointer;font-size:.9rem}.awl-cancel:hover:not(:disabled){border-color:#94a3b8;color:#0f172a}.awl-save{background:linear-gradient(135deg,#816cac,#93cbec);border:none;color:#fff;padding:8px 22px;border-radius:8px;cursor:pointer;font-size:.9rem;font-weight:600;transition:background .15s}.awl-save:hover:not(:disabled){background:linear-gradient(135deg,#6e5b9a,#7abcd8)}.awl-save:disabled{opacity:.45;cursor:default}.settings-title{font-size:1.75rem;font-weight:700;color:#0f172a;margin-bottom:2rem}.settings-section{margin-bottom:2.5rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem}.settings-section-title{font-size:1rem;font-weight:600;color:#0f172a;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}.settings-level-badge{background:#e2e8f0;padding:2px 8px;border-radius:99px;font-size:.8rem;color:#64748b;font-weight:400}.settings-section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.settings-section-header .settings-section-title{margin-bottom:0}.settings-add-lang-btn{background:none;border:1px solid #816cac;color:#816cac;padding:5px 12px;border-radius:6px;cursor:pointer;font-size:.8rem;font-weight:600;white-space:nowrap}.settings-lang-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:.5rem}.settings-chip{background:#fff;border:1px solid #e2e8f0;color:#64748b;padding:7px 12px;border-radius:8px;cursor:pointer;font-size:.85rem}.settings-chip.selected{border-color:#816cac;background:#f0ecf8;color:#816cac}.settings-slider{width:100%;accent-color:#816cac}.settings-slider-labels{display:flex;justify-content:space-between;color:#94a3b8;font-size:.75rem;margin-top:.25rem}.settings-length-list{display:flex;flex-direction:column;gap:.5rem}.settings-length-btn{display:flex;align-items:center;gap:1rem;background:#fff;border:1px solid #e2e8f0;color:#64748b;padding:12px 16px;border-radius:8px;cursor:pointer;text-align:left;width:100%}.settings-length-btn.selected{border-color:#816cac;background:#f0ecf8;color:#816cac}.settings-length-label{font-weight:600;color:#0f172a;font-size:.9rem;min-width:70px}.settings-length-btn.selected .settings-length-label{color:#816cac}.settings-length-desc{font-size:.8rem;color:#94a3b8}.settings-hint{color:#94a3b8;font-size:.85rem;margin-bottom:1rem}.settings-topic-grid{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.25rem}.settings-topic-chip{background:#fff;border:1px solid #e2e8f0;color:#64748b;padding:7px 14px;border-radius:99px;cursor:pointer;font-size:.85rem}.settings-topic-chip.selected{border-color:#816cac;background:#f0ecf8;color:#816cac}.settings-save-btn{background:linear-gradient(135deg,#816cac,#93cbec);color:#fff;border:none;padding:10px 24px;border-radius:8px;cursor:pointer;font-size:.9rem;font-weight:600}.settings-save-btn:disabled{opacity:.6;cursor:not-allowed}.settings-success{color:#059669;font-size:.85rem;margin-top:.75rem}.settings-contact-link{color:#816cac;font-size:.95rem;text-decoration:none;font-weight:500}.settings-contact-link:hover{text-decoration:underline}.practice-title{font-size:1.75rem;font-weight:700;color:#0f172a;margin:0 0 2rem}.practice-loading{display:flex;align-items:center;justify-content:center;min-height:calc(100vh - 200px)}.practice-loading-gif{width:120px;height:120px}.practice-muted{color:#94a3b8;font-size:1rem}.practice-grid{display:flex;flex-direction:column;gap:.75rem}.practice-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:.875rem 1rem;display:flex;flex-direction:row;align-items:center;gap:1rem;position:relative}.practice-card-source{font-size:1rem;font-weight:600;color:#0f172a;word-break:break-word;min-width:140px}.practice-card-translation{font-size:.95rem;color:#64748b;word-break:break-word;flex:1}.practice-card-footer{display:flex;align-items:center;gap:.75rem;margin-left:auto}.practice-card-date{font-size:.75rem;color:#94a3b8}.practice-card-edit{background:none;border:none;color:#94a3b8;cursor:pointer;padding:2px 4px;border-radius:4px;line-height:1;display:flex;align-items:center;transition:color .15s,background .15s}.practice-card-edit:hover{color:#816cac;background:#f0ecf8}.practice-card-delete{background:none;border:none;color:#94a3b8;cursor:pointer;padding:2px 4px;border-radius:4px;line-height:1;display:flex;align-items:center;transition:color .15s,background .15s}.practice-card-delete:hover{color:#dc2626;background:#fee2e233}.practice-confirm-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;display:flex;align-items:center;justify-content:center;z-index:200}.practice-confirm-modal{background:#fff;border-radius:12px;padding:1.5rem;width:280px;box-shadow:0 8px 32px #00000026}.practice-confirm-text{margin:0 0 1.25rem;font-size:1rem;color:#0f172a;text-align:center}.practice-confirm-actions{display:flex;gap:.75rem;justify-content:center}.practice-confirm-cancel{flex:1;padding:8px;border:1px solid #e2e8f0;border-radius:8px;background:none;color:#64748b;cursor:pointer;font-size:.9rem}.practice-confirm-cancel:hover{background:#f8fafc}.practice-confirm-delete{flex:1;padding:8px;border:none;border-radius:8px;background:#dc2626;color:#fff;cursor:pointer;font-size:.9rem;font-weight:600}.practice-confirm-delete:hover{background:#b91c1c}.practice-fab{position:fixed;bottom:calc(64px + 1rem);right:2rem;width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,#816cac,#93cbec);border:none;color:#fff;font-size:1.75rem;line-height:1;cursor:pointer;box-shadow:0 4px 16px #816cac4d;transition:background .15s,transform .15s;display:flex;align-items:center;justify-content:center}.practice-fab:hover{background:linear-gradient(135deg,#6e5b9a,#7abcd8);transform:scale(1.08)}.fc-muted{color:#94a3b8;font-size:1rem}.fc-root{display:flex;flex-direction:column;align-items:center;gap:2rem;padding-top:3rem;overflow-x:hidden}.fc-progress{font-size:.85rem;color:#94a3b8;letter-spacing:.05em}.fc-card{position:relative;width:100%;max-width:400px;min-height:240px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.5rem;padding:2.5rem 2rem;box-shadow:0 8px 32px #00000014;-webkit-user-select:none;user-select:none;touch-action:none;will-change:transform}.fc-label{position:absolute;top:1.25rem;font-size:1.1rem;font-weight:800;letter-spacing:.1em;padding:3px 10px;border-radius:6px;border-width:2px;border-style:solid;pointer-events:none}.fc-label-got-it{left:1.25rem;color:#059669;border-color:#059669;transform:rotate(-12deg)}.fc-label-study-again{right:1.25rem;color:#f87171;border-color:#f87171;transform:rotate(12deg)}.fc-word{font-size:2rem;font-weight:700;color:#0f172a;text-align:center;pointer-events:none}.fc-translation{font-size:1.25rem;color:#64748b;text-align:center;pointer-events:none}.fc-tap-hint{font-size:.8rem;color:#94a3b8;pointer-events:none}.fc-example{font-size:.85rem;color:#94a3b8;text-align:center;font-style:italic;line-height:1.5;pointer-events:none;max-width:100%}.fc-card-actions{display:flex;gap:.5rem}.fc-icon-btn{display:flex;align-items:center;justify-content:center;background:none;border:1px solid #e2e8f0;color:#94a3b8;width:30px;height:30px;border-radius:6px;cursor:pointer;font-size:1rem;transition:border-color .15s,color .15s}.fc-icon-btn:hover:not(:disabled){border-color:#816cac;color:#816cac}.fc-icon-btn.active{border-color:#816cac;color:#816cac}.fc-icon-btn:disabled{opacity:.4;cursor:default}.fc-swipe-hint{font-size:.8rem;color:#e2e8f0;margin:0}.fc-done-card{display:flex;flex-direction:column;align-items:center;gap:.75rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;padding:3rem 2.5rem;max-width:380px;width:100%;text-align:center}.fc-done-icon{font-size:2.5rem;color:#059669}.fc-done-title{font-size:1.4rem;font-weight:700;color:#0f172a}.fc-done-sub{font-size:.95rem;color:#94a3b8;margin:0}.vp-root{max-width:680px;margin:0 auto;padding:0rem 1.5rem 3rem;box-sizing:border-box}.vp-title{font-size:2rem;font-weight:700;color:#0f172a;margin:0 0 2rem;letter-spacing:-.02em}.vp-bottom-bar{position:fixed;bottom:calc(64px + 1rem);left:0;right:0;display:flex;justify-content:center;pointer-events:none}.vp-btn{display:flex;align-items:center;background:linear-gradient(135deg,#816cac,#93cbec);color:#fff;border:none;padding:10px 20px;border-radius:8px;cursor:pointer;font-size:.9rem;font-weight:600;pointer-events:auto}.vp-btn:hover:not(:disabled){background:linear-gradient(135deg,#6e5b9a,#7abcd8)}.vp-btn:disabled{opacity:.6;cursor:not-allowed}.vp-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.25rem;min-height:calc(100vh - 200px)}.vp-loading-gif{width:120px;height:120px}.vp-loading-text{color:#64748b;font-size:.9rem;text-align:center;margin:0}.vp-error{background:#fee2e2;color:#dc2626;border:1px solid #fca5a5;padding:1rem;border-radius:8px;font-size:.9rem;width:100%;box-sizing:border-box;margin:0}.vp-result{display:flex;flex-direction:column;align-items:center;gap:1rem;width:100%}.vp-video{width:100%;border-radius:12px;border:1px solid #e2e8f0;background:#000;box-shadow:0 8px 24px #0000001a}.vp-transcript{width:100%}.vp-transcript-title{font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8;margin:0 0 .75rem}.vp-transcript-text{color:#334155;line-height:2;font-size:1.1rem;-webkit-user-select:text;user-select:text;margin:0}.lp{font-family:Inter,system-ui,sans-serif;color:#0f172a;background:#fff;overflow-x:hidden}.lp-nav{display:flex;align-items:center;justify-content:space-between;padding:1rem 2rem;position:sticky;top:0;background:#ffffffd9;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:100;border-bottom:1px solid #f1f5f9}.lp-nav-brand{display:flex;align-items:center;gap:.5rem;text-decoration:none}.lp-nav-brand-text{font-size:1.8rem;font-weight:800;color:#8da8d5;letter-spacing:-.5px;line-height:1;align-self:center;padding-top:2px}.lp-nav-logo{width:36px;height:36px;object-fit:contain}.lp-nav-cta{background:linear-gradient(135deg,#816cac,#93cbec);color:#fff;border:none;padding:9px 22px;border-radius:99px;font-size:.9rem;font-weight:600;cursor:pointer;text-decoration:none;transition:opacity .15s}.lp-nav-cta:hover{opacity:.88}.lp-hero{display:flex;flex-direction:column;align-items:center;text-align:center;padding:5rem 2rem 4rem;position:relative}.lp-hero-badge{display:inline-flex;align-items:center;gap:.4rem;background:#f3f0ff;color:#816cac;font-size:.8rem;font-weight:600;padding:5px 14px;border-radius:99px;margin-bottom:1.5rem;letter-spacing:.03em}.lp-hero-title{font-size:clamp(2.5rem,7vw,4.5rem);font-weight:900;line-height:1.1;letter-spacing:-2px;margin:0 0 1.25rem;max-width:800px}.lp-hero-title-gradient{background:linear-gradient(135deg,#816cac,#93cbec);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.lp-hero-sub{font-size:1.15rem;color:#64748b;line-height:1.7;max-width:520px;margin:0 0 2.5rem}.lp-hero-btn{display:inline-flex;align-items:center;gap:.5rem;background:linear-gradient(135deg,#816cac,#93cbec);color:#fff;border:none;padding:16px 36px;border-radius:99px;font-size:1.05rem;font-weight:700;cursor:pointer;text-decoration:none;box-shadow:0 8px 30px #816cac59;transition:transform .15s,box-shadow .15s}.lp-hero-btn:hover{transform:translateY(-2px);box-shadow:0 12px 36px #816cac73}.lp-hero-btn-arrow{font-size:1.1rem}.lp-hero-img{margin-top:4rem;width:100%;max-width:680px;background:linear-gradient(135deg,#f3f0ff,#e5f5fb);border-radius:24px;border:1px solid #e2e8f0;box-shadow:0 20px 60px #816cac26;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:2rem;gap:1.5rem;flex-wrap:wrap}.lp-hero-mockup-card{background:#fff;border-radius:16px;padding:1.25rem 1.5rem;box-shadow:0 4px 20px #00000012;width:180px;flex-shrink:0}.lp-hero-mockup-label{font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8;margin-bottom:.5rem}.lp-hero-mockup-title{font-size:.9rem;font-weight:700;color:#0f172a;margin-bottom:.4rem}.lp-hero-mockup-text{font-size:.75rem;color:#64748b;line-height:1.5}.lp-hero-mockup-chip{display:inline-block;background:#f3f0ff;color:#816cac;font-size:.65rem;font-weight:600;padding:2px 8px;border-radius:99px;margin-top:.6rem}.lp-features{padding:5rem 2rem;background:#fafafa}.lp-section-label{text-align:center;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:#816cac;margin-bottom:.75rem}.lp-section-title{text-align:center;font-size:clamp(1.75rem,4vw,2.5rem);font-weight:800;letter-spacing:-1px;color:#0f172a;margin:0 0 .75rem}.lp-section-sub{text-align:center;color:#64748b;font-size:1rem;margin:0 auto 3rem;max-width:480px;line-height:1.6}.lp-features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem;max-width:960px;margin:0 auto}.lp-feature-card{background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:2rem 1.75rem;transition:box-shadow .2s,transform .2s;text-align:center}.lp-feature-card:hover{box-shadow:0 8px 32px #816cac1f;transform:translateY(-3px)}.lp-feature-icon{width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,#f3f0ff,#e5f5fb);display:flex;align-items:center;justify-content:center;font-size:1.5rem;margin:0 auto 1.25rem}.lp-feature-title{font-size:1.05rem;font-weight:700;color:#0f172a;margin:0 0 .5rem}.lp-feature-desc{font-size:.9rem;color:#64748b;line-height:1.6;margin:0}.lp-how{padding:5rem 2rem;max-width:780px;margin:0 auto}.lp-steps{display:flex;flex-direction:column;gap:0;margin-top:3rem;position:relative}.lp-steps:before{content:"";position:absolute;left:23px;top:0;bottom:0;width:2px;background:linear-gradient(to bottom,#816cac,#93cbec);opacity:.25}.lp-step{display:flex;gap:1.5rem;align-items:flex-start;padding-bottom:2.5rem;position:relative}.lp-step:last-child{padding-bottom:0}.lp-step-num{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#816cac,#93cbec);color:#fff;font-size:1rem;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0;position:relative;z-index:1}.lp-step-body{padding-top:.6rem}.lp-step-title{font-size:1.05rem;font-weight:700;color:#0f172a;margin:0 0 .35rem}.lp-step-desc{font-size:.9rem;color:#64748b;line-height:1.6;margin:0}.lp-cta{padding:5rem 2rem;text-align:center;background:linear-gradient(135deg,#f3f0ff,#e5f5fb)}.lp-cta-title{font-size:clamp(1.75rem,4vw,2.5rem);font-weight:800;letter-spacing:-1px;color:#0f172a;margin:0 0 1rem}.lp-cta-sub{color:#64748b;font-size:1rem;margin:0 auto 2rem;max-width:420px;line-height:1.6}.lp-footer{padding:1.5rem 2rem;text-align:center;color:#94a3b8;font-size:.8rem;border-top:1px solid #f1f5f9}
