.menu-sheet{width:min(410px,calc(100vw - 28px));border:0;border-radius:22px;padding:22px;background:#fff;box-shadow:0 24px 65px rgba(30,38,70,.24)}.menu-sheet::backdrop{background:rgba(28,34,61,.34)}.app-menu{display:grid;gap:8px;margin-top:16px}.app-menu button{border:1px solid #e6e9f3;border-radius:13px;background:#fff;padding:14px;text-align:left;color:#36405e;font:700 15px/1 inherit;cursor:pointer}.app-menu button:hover{background:#f4f6ff}.settings-modal{max-width:540px}.settings-section{padding:17px 0;border-top:1px solid #eaecf4}.settings-section h3{margin:0 0 5px;font-size:16px;color:#303752}.settings-section p{margin:0;color:#6d7691;font-size:13px;line-height:1.5}.theme-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:13px}.theme-options button{display:grid;gap:7px;border:1px solid #e2e5ef;border-radius:13px;padding:10px;background:#fff;color:#47506b;font:700 12px/1 inherit;cursor:pointer}.theme-options button.active{outline:2px solid #6674d7;border-color:#6674d7}.theme-swatch{height:27px;border-radius:8px}.default-swatch{background:linear-gradient(135deg,#f8f1e8 0 45%,#d97555 45%)}.sage-swatch{background:linear-gradient(135deg,#eff5ed 0 45%,#427e70 45%)}.night-swatch{background:linear-gradient(135deg,#202641 0 45%,#a9b8ff 45%)}.switch-row{display:flex;align-items:center;gap:10px;margin:12px 0 7px;color:#3d4663;font-size:14px;font-weight:700}.switch-row input{width:18px;height:18px;accent-color:#5866c7}body[data-theme="sage"]{background:#f0f5ee;color:#273b36}body[data-theme="sage"] .sidebar,body[data-theme="sage"] .progress-panel{background:#f8fbf7}body[data-theme="sage"] .account-button{background:#e0f0e6;color:#1d6947}body[data-theme="night"]{background:#171c31;color:#e8ebf8}body[data-theme="night"] .app-shell{background:#171c31}body[data-theme="night"] .sidebar,body[data-theme="night"] .progress-panel,body[data-theme="night"] .flashcard,body[data-theme="night"] dialog,body[data-theme="night"] .menu-sheet{background:#242b47;color:#edf0ff}body[data-theme="night"] .topbar h1,body[data-theme="night"] h2,body[data-theme="night"] h3,body[data-theme="night"] .card-prompt,body[data-theme="night"] .card-meta,body[data-theme="night"] .deck-name{color:#edf0ff}body[data-theme="night"] .quiet-button,body[data-theme="night"] .secondary-button{background:#303a5e;color:#edf0ff;border-color:#46527b}body[data-theme="night"] input,body[data-theme="night"] textarea,body[data-theme="night"] select{background:#1b2138!important;color:#edf0ff!important;border-color:#4c587e!important}@media(max-width:560px){.theme-options{grid-template-columns:1fr}.menu-sheet{padding:18px}}
