.account-entry{min-height:100vh;display:grid;place-items:center;padding:30px 18px}.account-entry .login{margin:0;width:min(100%,470px);padding:35px}.account-entry .brand{margin-bottom:25px}.account-entry h1{font-size:28px;line-height:1.5}.account-entry p{font-size:13px;line-height:1.9;margin:14px 0;color:var(--muted)}.account-entry .eyebrow{font-size:10px}.setting-check{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.8;margin:17px 0}.setting-check input{margin-top:5px;accent-color:var(--green)}.account-identity{background:#edf1e5;border-radius:12px;padding:10px 15px;overflow-wrap:anywhere}.method-list,.connection-steps{padding-left:20px;font-size:14px;line-height:1.9}.method-list li{margin:20px 0}.method-list li p{margin:6px 0 0}.research-links{display:flex;flex-wrap:wrap;gap:15px;font-size:12px;text-decoration:underline}.command-block{white-space:pre-wrap;overflow-wrap:anywhere;background:#1c3f38;color:#e7f2db;padding:17px;border-radius:12px;font-size:12px;line-height:1.7;user-select:all}.connection-help{font-size:13px;line-height:1.9;margin:20px 0}.connection-help summary{cursor:pointer;font-weight:700}.file-intro{text-align:center}.file-symbol{display:inline-grid;place-items:center;width:60px;height:60px;border-radius:18px;background:#eaf0dd;color:var(--green);margin-bottom:18px}.file-symbol svg{width:30px;height:30px}.file-intro h2{font-size:23px}.file-intro p{font-size:13px;line-height:1.9;color:var(--muted);margin:10px 0 18px}.template-buttons{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.template-buttons>a{flex:1;min-width:90px;padding:10px;font-size:12px}.format-example{margin:30px 0}.format-example h3{font-size:16px;margin-bottom:15px}.format-example>p,.format-guide p{font-size:12px;line-height:1.9;color:var(--muted);margin-top:14px}.example-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:11px;line-height:1.8}.example-table th,.example-table td{padding:10px 8px;border:1px solid var(--line);overflow-wrap:anywhere;text-align:left;vertical-align:top}.example-table th{background:#edf1e3;font-weight:700}.format-guide{padding:20px 0;border-top:1px solid var(--line);font-size:13px;line-height:1.9}.format-guide summary{font-weight:700;cursor:pointer}.format-guide ol{padding-left:20px}.plain-example{white-space:pre-wrap;background:#f1f3eb;border-radius:10px;padding:15px;font-family:inherit;font-size:12px;line-height:2}.material-scope{margin-bottom:20px}.scope-tabs{display:flex;gap:8px;flex-wrap:wrap}.scope-tabs .chip{padding:12px 18px;border:1px solid var(--line);border-radius:28px;background:white;min-height:44px}.scope-tabs .chip.selected{background:var(--green);color:white}.bulk-material{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:14px;font-size:12px}.material-visibility{font-size:11px;color:var(--muted);margin-bottom:12px}.material-select{font-size:11px;margin-bottom:10px}.favorite-material{font-size:11px}.confidence-panel{margin-top:25px;padding-top:22px;border-top:1px solid #d6dfcc}.confidence-panel h3{font-size:15px}.confidence-panel>p{font-size:11px;line-height:1.8;color:var(--muted);margin-top:8px}.confidence-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:15px}.confidence-options button{border:1px solid #c9d6bf;background:#fff;border-radius:12px;min-height:72px;padding:12px 4px;color:var(--green);line-height:1.6}.confidence-options button b{font-size:12px;display:block}.confidence-options small{font-size:10px;display:block;color:var(--muted)}.confidence-options [aria-pressed=true]{background:var(--green);color:white;opacity:1}.confidence-options [aria-pressed=true] small{color:#c7d9c7}.confidence-options button:disabled{cursor:default}.practice-presets{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:24px 0}.practice-presets>span{font-size:12px;color:var(--muted);width:100%}[data-font=large] #question{font-size:31px}[data-font=large] .answer-text{font-size:26px}[data-font=large] .sentence-row h3{font-size:21px}[data-font=large] .sentence-row .english{font-size:19px}.user-menu-link{font-size:11px;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:600px){.account-entry .login{padding:27px 22px}.account-entry h1{font-size:25px}.settings-card{min-width:0}.command-block{font-size:11px}.format-example{margin:25px -3px}.example-table th,.example-table td{padding:8px 5px;font-size:10px}.file-intro h2{font-size:20px}.confidence-options button b{font-size:11px}.confidence-options button{min-height:74px;padding:12px 2px}.scope-tabs .chip{padding:10px 15px}.user-menu-link{display:none}[data-font=large] #question{font-size:29px}[data-font=large] .answer-text{font-size:25px}}

/* Notebooks */
.notebook-intro{padding:24px;display:flex;gap:24px;align-items:center;justify-content:space-between;margin-bottom:24px}.notebook-intro p{max-width:580px;line-height:1.8;margin-bottom:0}.notebook-tabs{margin-bottom:18px}.notebook-result{margin:20px 0}.notebook-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.notebook-card{overflow:hidden;min-width:0}.notebook-cover{position:relative;display:block;padding:28px 26px 24px 34px;min-height:238px;background:#e9eee6;color:#183e37;text-decoration:none;border-bottom:1px solid #dce3d6}.notebook-cover.shared{background:#f4ead4}.notebook-spine{position:absolute;top:0;bottom:0;left:12px;width:1px;background:#183e3720;box-shadow:3px 0 0 #ffffff80}.notebook-access{font-size:11px;letter-spacing:.03em}.notebook-cover h2{font-size:24px;line-height:1.4;margin:25px 0 12px;overflow-wrap:anywhere}.notebook-cover p{font-size:13px}.notebook-tags{display:flex;gap:6px;flex-wrap:wrap}.notebook-tags span{font-size:10px;padding:4px 8px;border:1px solid #183e3725;border-radius:20px}.notebook-card-bottom{padding:20px 24px}.notebook-card-bottom>p{font-size:12px;color:#69756d;margin:0 0 8px}.notebook-card-bottom .check-label{min-height:44px;display:flex;gap:9px;align-items:center}.notebook-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:12px}.notebook-actions .text-btn{font-size:12px}.notebook-detail-bar{padding:22px 26px;margin:24px 0}.notebook-detail-bar>.row{gap:14px;flex-wrap:wrap;margin-top:18px}.notebook-detail-bar p,.notebook-sharing-note{line-height:1.8;color:#69756d;font-size:13px}.notebook-sharing-note{background:#f1f4ee;padding:15px;border-radius:12px}.notebook-grid>.empty{grid-column:1/-1}.notebook-cover:hover{filter:brightness(.98)}[hidden]{display:none!important}
@media(max-width:1100px){.notebook-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.notebook-grid{grid-template-columns:minmax(0,1fr);gap:18px}.notebook-intro{padding:22px;display:block}.notebook-intro .btn{margin-top:18px}.notebook-cover{min-height:210px}.notebook-detail-bar{padding:20px}.notebook-tabs{display:flex;gap:6px;flex-wrap:wrap}.notebook-tabs .chip{flex:1;white-space:nowrap}.notebook-actions{justify-content:space-between}}

.sentence-new-notebook{margin:0 0 22px;padding:16px;border:1px solid #cbd9cd;border-radius:14px;background:#f1f5ee;min-width:0}.sentence-new-notebook legend{padding:0 7px;font-size:13px;font-weight:700;color:#183e37}.sentence-new-notebook .field:last-of-type{margin-bottom:8px}

.phone-address-card{padding:20px;margin:20px 0;background:#edf3e9;border:1px solid #d4dfce;border-radius:16px}.phone-address-card>span{font-size:12px;font-weight:700}.phone-address-card .address{font-size:17px;overflow-wrap:anywhere;margin:12px 0 18px}.phone-address-card .row{flex-wrap:wrap;gap:10px}.phone-guide h3{margin-top:28px}.phone-guide .connection-steps{padding-left:22px}.phone-guide .connection-steps li{padding-left:3px;margin-bottom:14px;line-height:1.9}.phone-guide .connection-help{margin-top:20px}.phone-guide .connection-help summary{line-height:1.7}

.own-voice{padding:20px;margin:22px auto 0;text-align:left;max-width:560px}.own-voice>label:first-child{display:block;font-weight:700;font-size:15px;margin-bottom:14px}.own-voice audio{display:block;width:100%;max-width:100%;height:44px}.own-voice-speed{display:flex;align-items:center;gap:12px;font-size:12px;margin:14px 0}.own-voice-speed select{width:auto;padding:8px 12px}.own-voice p{line-height:1.8;margin-bottom:0}

.sentence-playback{padding:18px 22px;margin-bottom:24px;min-width:0;background:#edf3e9}.sentence-playback audio{display:block;width:100%;height:44px;max-width:100%}.sentence-playback p{line-height:1.7;margin:10px 0 14px}.sentence-playback>.row{gap:15px}

/* Focused speaking screen: content first, with room for a phone viewport. */
body.study-mode .topbar,body.study-mode .bottomnav{display:none}
.study-compact{max-width:640px;padding:20px 18px 24px;margin:auto}
.study-compact .practice-top{margin-bottom:14px}.study-compact .practice-top .row{min-height:32px}.study-compact .back-link{font-size:12px;min-height:36px;display:inline-flex;align-items:center}.study-compact .progress-label{font-size:12px}.study-compact .progress{height:3px;margin-top:8px}
.study-compact .question-card{min-height:0;padding:23px;border-radius:18px;margin:0}.study-compact .question-card h1{font-size:27px;line-height:1.5;margin:0;word-break:keep-all;overflow-wrap:anywhere}
.study-compact .speak-area{margin:12px 0;text-align:left}.study-speak-buttons{display:flex;align-items:center;gap:9px}.study-compact .mic-btn{min-height:46px;height:auto;width:auto;padding:12px 18px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:14px;margin:0;box-shadow:none;flex:1}.study-compact .mic-btn .icon{width:19px;height:19px}.study-speak-buttons>.btn{min-height:46px;padding:12px 16px;font-size:13px}.study-speak-buttons>.text-btn{min-height:44px;padding:8px;font-size:12px}.study-compact .mic-status{margin:7px 0 0;font-size:12px;line-height:1.6;min-height:0}.study-compact .mic-status:empty{display:none}
.study-compact .input-panel{margin-top:12px;padding:14px}.study-compact .input-panel textarea{font-size:16px;min-height:70px}.study-compact .input-panel .btn{min-height:40px;padding:9px 16px}.study-speech-help{margin-bottom:10px;font-size:11px;color:var(--muted)}.study-speech-help summary{padding:8px 0;cursor:pointer}.study-speech-help .speech-help{margin:6px 0;line-height:1.7}
.study-compact .result-card{padding:18px 21px;border-radius:18px;margin-top:12px}.study-compact .answer-label{font-size:10px;letter-spacing:.04em}.study-compact .answer-text{font-size:23px;line-height:1.45;margin:8px 0 13px;overflow-wrap:anywhere}.study-compact .audio-bar{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.study-compact .audio-bar .btn{padding:10px 12px;min-height:40px;font-size:12px;gap:7px}.study-compact .audio-rate{font-size:10px;gap:6px}.study-compact .audio-rate input{width:75px;max-width:75px}.study-compact .audio-rate output{min-width:33px}
.study-compact .spoken-details{margin:0 0 10px;color:var(--muted);font-size:11px}.study-compact .spoken-details summary{cursor:pointer;padding:4px 0;min-height:24px}.study-compact .transcript{margin:5px 0 10px;padding:12px;font-size:13px}.study-compact .transcript p{margin:0 0 10px;line-height:1.6}.study-compact .transcript .btn{min-height:36px;padding:8px 10px;font-size:11px}.study-compact .more{margin-top:12px;padding-top:0}.study-compact .more summary{padding:10px 0;font-size:11px}.study-compact .tip{padding:12px;margin:0 0 10px;font-size:12px}
.study-compact .confidence-panel{margin-top:10px;padding-top:12px}.study-compact .confidence-label{font-size:10px;color:var(--muted);display:block;margin-bottom:7px}.study-compact .confidence-options{gap:7px;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.study-compact .confidence-options button{padding:10px 5px;min-height:42px;border-radius:9px}.study-compact .confidence-options button b{font-size:11px;white-space:nowrap}.study-compact #memory-status{font-size:10px;margin:7px 0 0;line-height:1.5}.study-compact #memory-status:empty{display:none}
.study-compact .next-row{margin-top:12px;gap:0}.study-compact .next-row .btn{width:100%;min-height:48px;flex:1;padding:12px 18px;font-size:14px;border-radius:12px;justify-content:space-between}
.study-compact .own-voice{padding:0;border:0;background:transparent;box-shadow:none;border-radius:0;display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:9px 0 0;max-width:none}.study-compact .own-voice>button{min-height:38px;padding:9px 12px;font-size:11px}.study-compact .own-voice>select{width:auto;min-height:36px;font-size:11px;padding:7px 9px;margin:0}.study-compact .own-voice audio:not([hidden]){height:36px;flex-basis:100%}
.study-compact .sentence-playback{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:6px 0;margin:8px 0 0;border:0;background:transparent;box-shadow:none}.study-compact .sentence-playback>.row{display:contents}.study-compact .sentence-playback strong{display:none}.study-compact .sentence-playback .row button{grid-row:1;grid-column:2;font-size:10px;min-height:36px;padding:6px}.study-compact .sentence-playback audio{grid-row:1;grid-column:1;height:36px}.study-compact .sentence-playback>p{grid-row:2;grid-column:1/-1;font-size:10px;margin:0;line-height:1.4}
@media(max-width:600px){.study-compact{padding:12px 14px calc(16px + env(safe-area-inset-bottom));width:100%}.study-compact .practice-top{margin-bottom:10px}.study-compact .practice-top .row{min-height:28px}.study-compact .progress{margin-top:4px}.study-compact .question-card{padding:18px;border-radius:15px}.study-compact .question-card h1{font-size:23px;line-height:1.45}.study-compact .speak-area{margin:10px 0}.study-compact .result-card{padding:15px 17px;border-radius:15px}.study-compact .answer-text{font-size:21px;line-height:1.4;margin:7px 0 11px}.study-compact .confidence-panel{padding-top:10px;margin-top:8px}.study-compact .confidence-options button{min-height:40px;padding:9px 4px}.study-compact .next-row{margin-top:10px}.study-compact .more{margin-top:9px}.study-compact .more summary{padding:9px 0}}
@media(max-width:350px){.study-compact{padding-left:11px;padding-right:11px}.study-compact .question-card{padding:15px}.study-compact .question-card h1{font-size:21px}.study-compact .result-card{padding:13px 14px}.study-compact .answer-text{font-size:20px}.study-compact .audio-rate input{width:64px;max-width:64px}.study-compact .audio-bar{gap:7px}.study-compact .audio-bar .btn{font-size:11px;padding:9px 10px}.study-compact .confidence-options button b{font-size:10px}}
@media(max-height:700px) and (max-width:600px){.study-compact{padding-top:8px}.study-compact .question-card{padding:14px 16px}.study-compact .question-card h1{font-size:21px}.study-compact .result-card{padding:13px 15px}.study-compact .answer-text{font-size:20px}.study-compact .practice-top{margin-bottom:8px}.study-compact .speak-area{margin:8px 0}.study-compact .next-row{margin-top:8px}}

[data-font=large] .study-compact .answer-text{font-size:26px}@media(max-width:600px){[data-font=large] .study-compact .answer-text{font-size:25px}}

.study-compact .answer-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.study-compact .answer-text{margin:0 0 10px}.study-compact .audio-bar{margin:8px 0}
.study-extras{display:flex;align-items:flex-start;gap:15px;flex-wrap:wrap;border-top:1px solid #d6dfcc;margin-top:9px;padding-top:3px}.study-compact .study-extras .spoken-details,.study-compact .study-extras .more{margin:0;padding:0;border:0;font-size:11px}.study-compact .study-extras summary{padding:7px 0;min-height:28px;font-size:11px}.study-extras details[open]{flex-basis:100%}.study-compact .confidence-panel{margin-top:6px;padding-top:9px}.study-compact #memory-status{font-size:9px;margin-top:5px}
@media(max-height:700px) and (max-width:600px){.study-compact .audio-bar{margin:6px 0}.study-compact .study-extras{margin-top:5px}.study-compact .confidence-panel{padding-top:7px;margin-top:4px}.study-compact .confidence-label{margin-bottom:5px}}

/* File import: one format, one example, one upload action. */
.import-flow{display:flex;align-items:center;gap:20px;margin:-8px 0 27px;font-size:12px;color:var(--muted)}.import-flow>span{display:flex;gap:8px;align-items:center}.import-flow b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e6eddb;color:var(--green);font-size:11px}.import-flow i{font-style:normal;color:#a4afa0}.simple-import{gap:22px}.simple-import .upload-card{padding:25px}.simple-import .upload-card>h2{font-size:19px;letter-spacing:-.5px;margin:0 0 21px}.import-format-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;background:#eef1e7;padding:5px;border-radius:12px;margin-bottom:23px}.import-format-tabs button{min-height:43px;border:0;border-radius:9px;color:#74806c;font-weight:650;background:transparent;font-size:13px}.import-format-tabs button[aria-selected=true]{background:var(--green);color:#fff;box-shadow:0 2px 5px #183e3712}.import-format-tabs button:focus-visible{outline:2px solid #779369;outline-offset:2px}.file-guide-heading{margin-bottom:16px}.file-guide-heading h3{font-size:19px;line-height:1.4;margin:0 0 6px}.file-guide-heading>span{font-size:11px;color:var(--muted)}.word-line-example{border:1px solid #d8e1cf;border-radius:13px;overflow:hidden}.word-line-example>div{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:center;padding:15px 16px;background:#f7f9f0}.word-line-example>div+div{border-top:1px solid #dfe6d6}.word-line-example>div:nth-child(2){background:#fff}.word-line-example>div:nth-child(3){background:#faf8ed}.word-line-example span{font-size:10px;font-weight:650;color:#6d7e62}.word-line-example p{font-size:14px;line-height:1.6;margin:0;overflow-wrap:anywhere}.file-guide-caption{font-size:12px;line-height:1.8;color:var(--muted);margin:13px 0 17px}.file-guide-caption b{font-family:monospace;color:var(--green);background:#e8eedf;padding:0 5px;border-radius:4px}.file-guide-footnote{display:block;font-size:10px;color:var(--muted);line-height:1.8;margin-top:10px;text-align:center}.simple-file-upload{margin-top:23px;padding-top:21px;border-top:1px solid var(--line)}.simple-file-upload>small{display:block;color:var(--muted);font-size:10px;text-align:center;margin-top:11px;line-height:1.8}.simple-import .raw-details{margin-top:17px}.simple-import .raw-details summary{font-size:11px}.simple-import .example-table-wrap{margin:0;border-radius:10px}.simple-import .example-table{font-size:11px}.simple-import .example-table th,.simple-import .example-table td{padding:12px 9px}.import-destination-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.import-destination-grid>*{min-width:0}.simple-import .import-panel>p{font-size:12px}.simple-import .import-panel h2{font-size:21px}.simple-import #import-notebook-hint{font-size:10px;margin-top:8px;line-height:1.7}.simple-import #file-format-guide>.btn{font-size:12px;min-height:44px}.simple-import #photo-pairs:empty{display:none}
@media(max-width:600px){.import-flow{justify-content:space-between;gap:8px;margin:0 0 22px;font-size:10px}.import-flow>span{gap:5px}.import-flow b{width:22px;height:22px;font-size:10px}.simple-import .upload-card{padding:22px}.simple-import .upload-card>h2{font-size:18px}.import-format-tabs{margin-bottom:20px}.file-guide-heading h3{font-size:18px}.word-line-example>div{padding:13px;gap:9px;grid-template-columns:33px minmax(0,1fr)}.word-line-example p{font-size:14px}.file-guide-caption{font-size:11px}.import-destination-grid{grid-template-columns:1fr;gap:0}.simple-import .example-table th,.simple-import .example-table td{padding:10px 7px;font-size:10px}}

/* Keep the actual recording player visible for direct phone playback. */
.study-compact .own-voice{display:block}.own-voice-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:5px}.own-voice-heading strong{font-size:11px;color:var(--muted);font-weight:600}.study-compact .own-voice audio:not([hidden]){display:block;width:100%;height:36px;min-width:0}.own-voice #own-voice-status{font-size:10px;margin:5px 0 0;line-height:1.5;color:#945142}.own-voice #own-voice-status:empty{display:none}

.study-compact .own-voice{display:grid;grid-template-columns:36px minmax(0,1fr) 62px;align-items:center;gap:6px}.study-compact .own-voice-heading{display:contents}.study-compact .own-voice-heading strong{grid-row:1;grid-column:1;font-size:9px;line-height:1.4}.study-compact .own-voice audio:not([hidden]){grid-row:1;grid-column:2;min-width:0;width:100%;height:36px}.study-compact .own-voice #own-voice-status{grid-column:1/-1;grid-row:2;margin-top:0}

/* One notebook workspace for browsing, practice and editing. */
.notebook-workspace .page-head{align-items:center;margin-bottom:25px}.notebook-workspace .page-head h1{font-size:32px;margin-top:5px;overflow-wrap:anywhere}.notebook-workspace .page-head p{margin-top:7px}.notebook-workspace .page-head>.row{flex-shrink:0;gap:8px}.notebook-workspace .page-head .btn{min-height:44px;font-size:12px;padding:11px 15px}.notebook-workspace>.back-link{margin:-12px 0 17px;width:fit-content}.notebook-workspace .notebook-tabs{display:flex;gap:5px;background:#e8ecdf;border-radius:14px;padding:5px;width:fit-content;margin-bottom:22px}.notebook-tabs .chip{border:0;background:transparent;min-height:44px;border-radius:10px;padding:10px 20px;font-size:14px}.notebook-tabs .chip.selected{background:white;color:var(--green);box-shadow:0 2px 6px #183e3710}.notebook-tabs .chip span{font-size:11px;margin-left:6px;opacity:.65}.notebook-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:12px;align-items:center}.notebook-toolbar .searchbox{margin:0;min-width:0}.notebook-toolbar select{width:100%;min-width:0;border:1px solid var(--line);background:white;border-radius:12px;padding:13px;font-size:12px;min-height:49px;color:var(--green)}.notebook-list-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;color:var(--muted);margin:17px 0}.notebook-list-meta .check-label{font-size:11px}.notebook-workspace .notebook-grid{gap:20px}.notebook-workspace .notebook-cover{min-height:172px;padding:24px 24px 22px 32px}.notebook-workspace .notebook-cover h2{font-size:23px;margin:20px 0 9px}.notebook-workspace .notebook-card-bottom{padding:16px 22px 10px}.notebook-workspace .notebook-actions{margin:0 0 8px;justify-content:space-between;gap:6px}.notebook-workspace .notebook-card-bottom .check-label{border-top:1px solid var(--line);padding-top:9px;font-size:11px}.notebook-workspace .sentence-row{display:block;padding:24px 26px}.notebook-workspace .sentence-row h3{font-size:19px;line-height:1.7;margin-top:13px}.notebook-workspace .sentence-row .english{font-size:16px;line-height:1.7;overflow-wrap:anywhere}.notebook-workspace .sentence-actions{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;flex-wrap:wrap;gap:8px;margin-top:20px;padding-top:16px;border-top:1px solid var(--line);min-width:0}.notebook-workspace .sentence-actions .icon{width:16px;height:16px}.notebook-workspace .sentence-actions .text-btn{font-size:11px;min-height:40px}.notebook-workspace .sentence-actions .favorite-material{margin-left:auto}.notebook-workspace .empty p{margin-top:12px}.notebook-workspace .library-list{gap:14px}
@media(max-width:700px){.notebook-workspace .page-head{display:block;margin-bottom:23px}.notebook-workspace .page-head>.row{display:flex;margin-top:19px;gap:7px}.notebook-workspace .page-head .btn{flex:1;padding:11px 8px;gap:5px;white-space:nowrap;font-size:11px;min-height:44px;border-radius:10px}.notebook-workspace .page-head .btn .icon{width:16px;height:16px}.notebook-workspace .page-head h1{font-size:28px}.notebook-workspace .page-head p{font-size:12px}.notebook-workspace .notebook-tabs{width:100%;margin-bottom:15px}.notebook-tabs .chip{flex:1;padding:10px 12px;font-size:13px}.notebook-toolbar{grid-template-columns:minmax(0,1fr) 125px;gap:8px}.notebook-toolbar select{font-size:11px;padding:10px 7px}.notebook-toolbar input{font-size:12px;min-width:0}.notebook-toolbar .searchbox{padding:0 10px}.notebook-list-meta{font-size:10px;align-items:flex-start;line-height:1.6}.notebook-list-meta>span:last-child{max-width:205px;text-align:right}.notebook-workspace .notebook-cover{min-height:155px;padding:20px 24px 20px 32px}.notebook-workspace .notebook-cover h2{font-size:23px;margin-top:17px}.notebook-workspace .sentence-row{padding:20px}.notebook-workspace .sentence-row h3{font-size:18px}.notebook-workspace .sentence-row .english{font-size:15px}.notebook-workspace .sentence-actions{gap:7px;margin-top:16px;padding-top:13px}.notebook-workspace .sentence-actions .btn{flex:1;padding:9px 10px}.notebook-workspace .sentence-actions .favorite-material{margin-left:0;flex:1;text-align:left;padding-bottom:0}.notebook-workspace .sentence-actions .archive-material{padding-bottom:0}.notebook-workspace .sentence-actions .text-btn{font-size:10px}}

@media(max-width:700px){.notebook-workspace .sentence-actions .favorite-material{flex:1 1 calc(100% - 110px);white-space:nowrap}.notebook-workspace .sentence-actions .archive-material{flex:0 0 auto;white-space:nowrap}}

/* A shared, readable campaign for the evidence-informed daily routine. */
.routine-campaign{position:relative;isolation:isolate;overflow:hidden;background:#183e37;color:#f8faee;border:1px solid #2c5145;border-radius:26px;padding:32px;display:grid;grid-template-columns:1fr 1fr;gap:24px;box-shadow:0 16px 40px #183e3710;min-width:0}.routine-campaign:before{content:"";position:absolute;z-index:-1;width:400px;height:400px;border-radius:50%;background:radial-gradient(circle,#37645080,transparent 70%);right:-150px;top:-160px}.routine-kicker{display:flex;gap:8px;align-items:center;color:#b9cdad;font-size:9px;font-weight:650;letter-spacing:.11em;line-height:1.8}.routine-kicker>span{height:6px;width:6px;border-radius:50%;background:#d6eb91;flex-shrink:0}.routine-campaign h2{font-size:36px;font-weight:650;line-height:1.35;letter-spacing:-.065em;margin:18px 0 14px}.routine-campaign h2 em{font-style:normal;color:#d6eb91}.routine-campaign .routine-lead{font-size:12px;line-height:1.9;color:#c4d2c1;margin:0}.routine-evidence{display:flex;align-items:center;gap:11px;margin-top:20px}.routine-evidence span{font-size:11px;background:#2d5044;border:1px solid #47634e;border-radius:30px;padding:7px 12px;color:#e5eed6}.routine-evidence>b{font-size:13px;color:#93af91;font-weight:400}.routine-visual{position:relative;display:flex;flex-direction:column;justify-content:center;min-width:0;padding-top:10px}.routine-orbit{position:absolute;border:1px solid #d6eb9120;inset:0 20px;border-radius:50%;z-index:-1;transform:rotate(-15deg)}.routine-example{background:#f6f8eb;color:#183e37;border-radius:18px;padding:20px;box-shadow:0 12px 24px #09271e30;transform:rotate(-2deg);margin:0 8px 20px}.routine-example-label{display:block;color:#6d7c68;font-size:10px;margin-bottom:11px}.routine-example>strong{display:block;font-size:19px;letter-spacing:-.04em;line-height:1.6}.routine-speech{display:flex;align-items:center;gap:8px;margin-top:16px;padding:12px 10px;background:#e3ebd6;border-radius:11px;font-size:12px}.routine-speech .icon{width:17px;height:17px}.routine-speech i{font-size:13px;white-space:nowrap;font-style:normal;margin-left:auto;color:#779764;letter-spacing:1px}.routine-steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.routine-steps li{display:flex;align-items:center;flex-direction:column;gap:8px;font-size:10px;line-height:1.7;white-space:nowrap}.routine-steps b{display:grid;place-items:center;width:28px;height:28px;background:#d6eb91;border-radius:50%;color:#183e37;font-size:10px}.routine-revisit{display:flex;align-items:center;justify-content:center;gap:16px;font-size:9px;color:#a9c0a7;margin-top:17px;line-height:1.7}.routine-revisit>div{display:flex;gap:8px;white-space:nowrap}.routine-revisit b{font-size:10px;font-weight:600;color:#d6eb91}.routine-revisit i{font-style:normal}.routine-bottom{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #456052;padding-top:20px}.routine-bottom strong{display:block;font-size:13px;font-weight:600;line-height:1.8}.routine-bottom span{display:block;font-size:10px;color:#b0c3ac;line-height:1.8;margin-top:2px}.routine-cta{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:46px;padding:12px 19px;border:0;border-radius:12px;background:#d6eb91;color:#183e37;font-size:12px;font-weight:750;white-space:nowrap}.routine-cta:hover{background:#e4f4b3}.routine-cta .icon{width:18px;height:18px}.routine-research{grid-column:1/-1;font-size:10px;color:#afc3ab;margin-top:-9px;line-height:1.9}.routine-research summary{cursor:pointer;width:fit-content;padding:3px 0}.routine-campaign .routine-research p{font-size:10px;line-height:1.9;color:#b8cbb4;margin:10px 0}.routine-research>div{display:flex;gap:18px;flex-wrap:wrap}.routine-research a{text-decoration:underline;text-underline-offset:4px;color:#d6eb91}.routine-home{margin:24px 0}.routine-settings{align-self:start;grid-template-columns:1fr;padding:30px;gap:25px;position:sticky;top:22px}.routine-settings h2{font-size:38px}.routine-settings .routine-visual{padding:0 5px}.routine-settings .routine-bottom{display:block}.routine-settings .routine-cta{width:100%;margin-top:17px}.account-with-routine{max-width:1130px;margin:auto;grid-template-columns:minmax(0,440px) minmax(0,1fr);gap:35px;align-items:center;padding:45px 25px}.account-with-routine .login{width:100%;min-width:0}.routine-guest{grid-template-columns:1fr;gap:25px;padding:34px;width:100%}.routine-guest h2{font-size:40px}.routine-guest .routine-bottom{display:block}.routine-guest .routine-cta{margin-top:16px;width:100%}.routine-guest .routine-example{margin-bottom:22px}.account-entry .routine-bottom p{margin:0}.account-entry .routine-research p{font-size:10px;line-height:1.9;color:#b8cbb4;margin:10px 0}
@media(max-width:850px){.account-with-routine{grid-template-columns:1fr;max-width:550px;gap:22px;padding:25px 18px}.account-with-routine .login{width:100%}.routine-settings{position:static}.routine-home{grid-template-columns:1fr 1fr;gap:20px;padding:26px}.routine-home h2{font-size:31px}.routine-home .routine-speech i{display:none}}
@media(max-width:600px){.routine-campaign{padding:25px 22px;border-radius:22px;grid-template-columns:minmax(0,1fr);gap:24px}.routine-campaign h2{font-size:34px;margin:15px 0 12px}.routine-kicker{font-size:8px;letter-spacing:.08em}.routine-campaign .routine-lead{font-size:11px}.routine-evidence{margin-top:17px}.routine-example{margin:0 2px 21px;padding:18px}.routine-example>strong{font-size:18px}.routine-speech{font-size:11px;padding:11px 8px}.routine-speech i{font-size:11px;letter-spacing:0}.routine-home .routine-speech i{display:block}.routine-steps li{font-size:10px}.routine-revisit{font-size:9px;gap:10px;margin-top:16px}.routine-bottom{display:block;padding-top:18px}.routine-bottom strong{font-size:12px}.routine-cta,.routine-settings .routine-cta,.routine-guest .routine-cta{width:100%;margin-top:16px}.routine-research{margin-top:-9px}.routine-settings{padding:25px 22px}.routine-home{margin:22px 0}.account-with-routine{gap:22px;padding:20px 16px}.routine-guest{order:0}.account-with-routine .login{order:1}.routine-guest h2{font-size:34px}.routine-research>div{gap:7px 15px}.routine-visual{padding-top:0}}
@media(prefers-reduced-motion:reduce){.routine-example{transform:none}}

/* Public notebooks and the notebook shop. */
.bottomnav>a{flex:1;width:auto;min-width:0}.member-gate{max-width:710px;margin:25px auto;padding:42px;text-align:center}.member-gate h1{font-size:29px;line-height:1.5}.member-gate p{font-size:14px;color:var(--muted);line-height:1.9;margin:20px 0 25px}.member-gate .row{justify-content:center}.guest-welcome{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:0 0 30px;padding:10px 0 20px}.guest-welcome h1{font-size:44px;line-height:1.35;margin:17px 0}.guest-welcome p{font-size:14px;line-height:1.8;color:var(--muted);margin:0 0 23px}.guest-limit-visual{width:250px;padding:30px;background:#e8eddb;border-radius:25px;text-align:center;transform:rotate(3deg);flex-shrink:0}.guest-limit-visual>strong{display:block;font-size:90px;line-height:1;color:var(--green);letter-spacing:-.08em}.guest-limit-visual strong span{font-size:20px;letter-spacing:0}.guest-limit-visual p{font-size:13px;margin:17px 0;line-height:1.8;color:var(--green)}.guest-limit-visual>span{font-size:11px;display:inline-block;padding:8px 13px;background:white;border-radius:25px}.shell>.routine-guest{grid-template-columns:1fr 1fr}.shell>.routine-guest h2{font-size:36px}.shell>.routine-guest .routine-bottom{display:flex}.shell>.routine-guest .routine-cta{width:auto;margin-top:0}.guest-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:25px}.guest-options .card{padding:28px}.guest-options .icon{color:var(--green);margin-bottom:18px}.guest-options h2{font-size:20px}.guest-options p{font-size:12px;line-height:1.8;color:var(--muted);margin-top:10px}.guest-limit-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#e9eedf;border:1px solid #d8e1cc;border-radius:16px;padding:20px;margin:0 0 22px}.guest-limit-bar strong{font-size:14px}.guest-limit-bar strong b{margin-left:10px;color:var(--green);font-size:16px}.guest-limit-bar p{font-size:11px;color:var(--muted);margin-top:7px;line-height:1.7}.guest-preview-note{font-size:12px;line-height:1.8;color:var(--muted);margin-bottom:20px}.public-book-rows{margin-top:22px}.store-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px;background:#183e37;color:white;border-radius:20px;margin-bottom:22px}.store-intro strong{font-size:16px;line-height:1.7}.store-intro p{font-size:12px;color:#c5d3bd;line-height:1.8;margin-top:8px}.store-intro>span{font-size:11px;white-space:nowrap;border:1px solid #61765d;border-radius:25px;padding:10px 14px}.store-status{background:#f6edda;border:1px solid #ead8ad;border-radius:12px;color:#735a26;font-size:12px;padding:15px 20px;line-height:1.8;margin-bottom:22px}.store-products{margin-top:24px}.shop-cover{background:linear-gradient(135deg,#183e37,#325f4b)!important;color:#f5fae8!important}.shop-cover .notebook-access{color:#c7d8b8}.shop-cover h2{color:#e4f1be}.product-price{font-size:24px;font-weight:700;color:var(--green);line-height:1.5;margin:18px 0}.product-price small{display:block;font-size:10px;color:var(--muted);font-weight:400}.notebook-card-bottom .product-description{line-height:1.9;min-height:45px;white-space:pre-wrap;overflow-wrap:anywhere}.store-signup,.purchase-row{padding:22px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px}.store-signup strong{font-size:14px}.store-orders{margin-top:40px}.store-orders h2{font-size:22px;margin-bottom:20px}.purchase-row p{font-size:12px;color:var(--muted);line-height:1.7;margin-top:7px}.store-connection{padding:27px;margin-bottom:25px}.store-connection h2{font-size:20px}.store-connection p{font-size:13px;line-height:1.9;margin:12px 0;color:var(--muted);overflow-wrap:anywhere}.store-connection summary{font-size:12px;cursor:pointer;color:var(--green)}#product-form{max-width:750px}.store-workspace .review-item p{line-height:1.8;margin-top:10px}.topnav{gap:3px}.topnav a{padding:12px 13px}
@media(max-width:700px){.guest-welcome{gap:18px;align-items:flex-start}.guest-welcome h1{font-size:31px}.guest-welcome p{font-size:12px}.guest-welcome .row{gap:8px}.guest-welcome .btn{font-size:11px;padding:12px;min-height:43px}.guest-limit-visual{width:113px;padding:20px 9px;margin-top:25px;transform:rotate(3deg)}.guest-limit-visual>strong{font-size:60px}.guest-limit-visual strong span{font-size:13px}.guest-limit-visual p{font-size:10px;margin:12px 0}.guest-limit-visual>span{font-size:9px;padding:6px 9px}.shell>.routine-guest{grid-template-columns:1fr}.shell>.routine-guest h2{font-size:34px}.shell>.routine-guest .routine-bottom{display:block}.shell>.routine-guest .routine-cta{width:100%;margin-top:17px}.guest-options{grid-template-columns:1fr;gap:13px}.guest-options .card{padding:22px}.guest-options .icon{margin-bottom:12px}.guest-options h2{font-size:19px}.guest-limit-bar{padding:16px;gap:12px}.guest-limit-bar strong{font-size:12px}.guest-limit-bar strong b{font-size:14px;margin-left:7px}.guest-limit-bar p{font-size:10px}.guest-limit-bar .btn{font-size:10px;padding:10px;white-space:nowrap}.guest-limit-bar{align-items:flex-start}.store-intro{display:block;padding:22px}.store-intro strong{font-size:14px}.store-intro>span{display:inline-block;margin-top:17px;font-size:10px}.store-status{font-size:11px;padding:14px}.store-signup{padding:18px;gap:10px}.store-signup strong{font-size:12px}.member-gate{padding:28px 22px;margin:0}.member-gate h1{font-size:24px}.member-gate p{font-size:12px}.member-gate .row .text-link{width:100%;margin-top:10px}.purchase-row{padding:18px;gap:12px}.purchase-row strong{font-size:13px}.purchase-row p{font-size:11px}.bottomnav>a{font-size:9px;padding-left:2px;padding-right:2px}.store-connection{padding:23px}}
@media(max-width:350px){.guest-welcome{display:block}.guest-limit-visual{display:none}.guest-limit-bar{display:block}.guest-limit-bar .btn{margin-top:12px;width:100%}}


/* Voice choices stay close to the answer, without crowding the audio buttons. */
.voice-choice{margin:14px 0 0;padding-top:12px;border-top:1px solid var(--line,#dce6df)}
.voice-choice>summary{font-size:12px;font-weight:650;color:var(--primary,#156c56);cursor:pointer;width:fit-content;min-height:28px}
.voice-choice .field{display:block;margin:12px 0 8px;font-size:12px}
.voice-choice select{display:block;width:100%;max-width:100%;min-width:0;margin-top:7px;padding:11px;border:1px solid #cddfd4;border-radius:9px;background:#fff;color:#264c3c;font:inherit;font-size:13px}
.voice-choice .privacy-note{font-size:11px;margin:8px 0;line-height:1.7}
.sentence-playback [hidden]{display:none!important}
.device-speech-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.sentence-voice-name{overflow-wrap:anywhere;margin:6px 0 12px}
.setting-label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.setting-label label{margin:0}.setting-help{display:inline-flex;position:relative;vertical-align:middle;flex-shrink:0;line-height:1.4}.setting-help-button{display:inline-grid;place-items:center;border:1px solid #b7c9c0;border-radius:50%;background:transparent;color:#3e6856;width:26px;height:26px;padding:0;font:600 14px/1 system-ui;cursor:help}.setting-help-button:focus-visible{outline:2px solid #19856c;outline-offset:3px}.setting-tooltip{display:none;position:absolute;right:0;bottom:calc(100% + 8px);z-index:50;width:min(240px,70vw);padding:12px 14px;border-radius:10px;background:#244c3d;color:white;box-shadow:0 8px 24px #183e3726;font-size:14px;font-weight:400;line-height:1.6;white-space:normal;text-align:left}.setting-help.is-open .setting-tooltip{display:block}.setting-help.help-dismissed .setting-tooltip{display:none!important}@media(hover:hover){.setting-help:hover .setting-tooltip{display:block}}.learning-settings-sections{margin:24px 0}.learning-settings-group{border-top:1px solid var(--line,#dce5e2);padding:16px 0}.learning-settings-group summary{cursor:pointer;font-size:1rem;font-weight:600;min-height:30px}.learning-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}.learning-settings-grid .field{margin:0;min-width:0}.learning-settings-grid select{width:100%;font-size:16px;min-height:44px}.learning-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px}.learning-toggle .setting-check{margin:0;min-height:44px}.learning-toggle .setting-check span{font-size:1rem}.account-backup{display:flex;gap:12px;align-items:center;margin-top:24px}.practice-settings-intro h2,.practice-estimate h2,.settings-card h2{display:flex;align-items:center;justify-content:space-between;gap:10px}.practice-category-label .setting-label label{font-weight:600}.practice-settings-layout .practice-settings-card{overflow:visible}@media(max-width:600px){.learning-settings-grid{grid-template-columns:1fr}.setting-help-button{width:30px;height:30px}.setting-tooltip{font-size:14px}}
.practice-estimate-simple{width:100%;border-collapse:collapse;margin-top:16px;font-size:1rem}.practice-estimate-simple th,.practice-estimate-simple td{padding:12px 0;text-align:left;border-bottom:1px solid var(--line,#dce5e2)}.practice-estimate-simple th{font-weight:400;width:40%}.practice-estimate-simple td{text-align:right;font-weight:600}.practice-estimate-simple tr:last-child th,.practice-estimate-simple tr:last-child td{border-bottom:0}
.practice-settings-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;align-items:start}.practice-settings-layout .practice-notebook-selection{position:sticky;top:24px;margin:0;min-width:0;padding:20px}.practice-settings-layout .practice-notebook-options{display:flex;flex-direction:column;max-height:calc(100dvh - 300px);min-height:300px;overflow-y:auto;overscroll-behavior:contain}.practice-settings-layout .practice-book-count{font-weight:600;font-size:.9rem}.practice-settings-layout .practice-notebook-option{font-size:1rem;line-height:1.5;flex-shrink:0}.practice-settings-layout .practice-notebook-option:has(input:checked){background:#eaf6ef;border-color:#19856c}.practice-settings-layout .practice-settings-card{margin:0;max-width:none;width:100%;min-width:0}.practice-settings-layout .practice-count-row{gap:12px;flex-wrap:wrap}.practice-settings-layout .practice-category-label{min-width:0;flex:1 1 200px;overflow-wrap:anywhere}.practice-settings-layout .practice-stepper{flex-shrink:0}.practice-settings-layout .practice-notebook-selection h2{font-size:1.2rem}@media(max-width:900px){.practice-settings-layout{grid-template-columns:1fr;gap:20px}.practice-settings-layout .practice-notebook-selection{position:static}.practice-settings-layout .practice-notebook-options{min-height:0;max-height:330px}.practice-settings-layout .practice-notebook-option{min-height:52px}}
.practice-notebook-selection{padding:24px;margin:0 0 20px}.practice-notebook-selection h2{font-size:1.2rem;margin:0 0 10px}.practice-notebook-selection p{line-height:1.6}.practice-notebook-selection summary{cursor:pointer;padding:12px 0;font-weight:600}.practice-notebook-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:10px;max-height:380px;overflow:auto;padding:6px 0}.practice-notebook-option{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid var(--line,#dce5e2);border-radius:10px;cursor:pointer;overflow-wrap:anywhere}.practice-notebook-option input{width:20px;height:20px;flex-shrink:0;margin-top:2px;accent-color:#19856c}.practice-notebook-option small{display:block;font-size:.875rem;margin-top:6px}.practice-notebook-selection #practice-notebook-status{font-size:.9rem;margin-bottom:0}
@media(max-width:600px){.voice-choice select{font-size:16px}.device-speech-actions .btn{min-height:42px}}

/* Practice settings: one spacing and control scale across both columns. */
.practice-settings-layout{gap:24px;grid-template-columns:280px minmax(0,1fr)}
.practice-settings-layout .card{border:1px solid #dce5df;border-radius:16px;box-shadow:none}
.practice-settings-layout .practice-notebook-selection,
.practice-settings-layout .practice-settings-card{padding:24px}
.practice-settings-layout h2{margin:0;font-size:18px;font-weight:700;line-height:1.5;letter-spacing:-.025em}
.practice-settings-layout .practice-notebook-selection{display:flex;flex-direction:column;gap:16px;top:24px}
.practice-settings-layout .practice-book-count{margin:0;font-size:14px;line-height:1.5;color:var(--muted)}
.practice-settings-layout .practice-book-list{min-height:0}
.practice-settings-layout .practice-notebook-options{gap:8px;padding:0;margin-top:16px;min-height:0;max-height:calc(100dvh - 280px)}
.practice-settings-layout .practice-notebook-option{gap:12px;padding:12px;border-radius:10px;border-color:#e2e9e4;min-height:64px;font-size:16px;line-height:1.5}
.practice-settings-layout .practice-notebook-option input{margin:2px 0 0;width:20px;height:20px}
.practice-settings-layout .practice-notebook-option small{font-size:14px;line-height:1.5;margin-top:4px;color:var(--muted)}
.practice-settings-layout #practice-notebook-status:empty{display:none}
.practice-settings-layout #practice-notebook-status{font-size:14px;line-height:1.5;margin:0}
.practice-settings-layout .setting-help-button{width:28px;height:28px;min-height:28px;font-size:14px}
.practice-settings-layout .setting-label{margin:0;gap:12px;line-height:1.5}
.practice-settings-layout .practice-settings-intro{margin:0}
.practice-settings-layout .practice-presets{gap:8px;margin:16px 0 8px}
.practice-settings-layout .practice-presets>span{width:auto;font-size:14px;line-height:1.5;margin-right:8px}
.practice-settings-layout .practice-presets .btn{min-height:40px;padding:8px 12px;border-radius:8px;font-size:14px;font-weight:500}
.practice-settings-layout .practice-count-list{margin:0}
.practice-settings-layout .practice-count-row{display:grid;grid-template-columns:minmax(0,1fr) 144px;gap:16px;padding:16px 0;align-items:center;flex-wrap:nowrap;border-color:#e5ebe7}
.practice-settings-layout .practice-category-label{min-width:0}
.practice-settings-layout .practice-category-label label{font-size:16px;line-height:1.5;font-weight:500}
.practice-settings-layout .practice-category-label p{font-size:14px;line-height:1.5;margin:4px 0 0;color:var(--muted)}
.practice-settings-layout .practice-stepper{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;width:144px;height:44px;min-height:44px;border-radius:8px;background:#fff;border:0;box-shadow:inset 0 0 0 1px #cfdbd3}
.practice-settings-layout .practice-stepper button{width:44px;height:44px;min-height:44px;padding:0;font-size:20px}
.practice-settings-layout .practice-stepper input{width:100%;min-width:0;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:0;font-size:16px;line-height:1.5;text-align:center;font-weight:600;background:transparent}
.practice-settings-layout .practice-total-row{margin:16px 0 24px;padding:16px;border:1px solid #dce5df;border-radius:10px;background:#f4f8f5;gap:16px}
.practice-settings-layout .practice-total-row>span{font-size:16px;line-height:1.5}
.practice-settings-layout .practice-total-row strong{display:flex;align-items:baseline;gap:8px;font-size:24px;line-height:1.25}
.practice-settings-layout .practice-total-row small{font-size:14px;font-weight:400;margin:0}
.practice-settings-layout .learning-settings-sections{margin:0}
.practice-settings-layout .learning-settings-group{padding:0;border-top:1px solid #e5ebe7}
.practice-settings-layout .learning-settings-group summary{min-height:56px;padding:16px 0;font-size:16px;line-height:1.5;font-weight:600}
.practice-settings-layout .learning-settings-grid{gap:16px;margin:0 0 24px}
.practice-settings-layout .learning-settings-grid .field{gap:8px;margin:0}
.practice-settings-layout .learning-settings-grid label{font-size:16px;font-weight:500;line-height:1.5}
.practice-settings-layout select{min-height:44px;height:44px;font-size:16px;padding:8px 12px;border:1px solid #cfdbd3;border-radius:8px;background-color:#fff}
.practice-settings-layout .learning-toggle{min-height:44px}
.practice-settings-layout .learning-toggle input{width:20px;height:20px;margin:2px 0 0}
.practice-settings-layout .learning-toggle .setting-check{gap:10px;align-items:center;line-height:1.5}
.practice-settings-layout .practice-estimate{padding:24px 0 0;margin:0;border-top:1px solid #e5ebe7}
.practice-settings-layout .practice-estimate>label{display:flex;align-items:center;gap:12px;font-size:14px;line-height:1.5;margin:16px 0 0}
.practice-settings-layout .practice-estimate>label select{width:100px;margin-left:auto}
.practice-settings-layout .practice-estimate-simple{margin-top:8px;font-size:14px;line-height:1.5}
.practice-settings-layout .practice-estimate-simple th,
.practice-settings-layout .practice-estimate-simple td{padding:12px 0}
.practice-settings-layout .practice-settings-actions{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:24px 0 0;padding:0}
.practice-settings-layout .practice-settings-actions .btn{min-height:44px;border-radius:8px;padding:10px 20px;font-size:16px;line-height:1.5}
.practice-settings-layout .practice-settings-actions .text-link{font-size:14px;line-height:1.5}
.practice-settings-layout .practice-saved:empty,
.practice-settings-layout .warning:empty{display:none}
@media(max-width:900px){
 .practice-settings-layout{grid-template-columns:1fr;gap:16px}
 .practice-settings-layout .practice-notebook-selection{position:static}
 .practice-settings-layout .practice-notebook-options{max-height:280px}
}
@media(max-width:600px){
 .practice-settings-layout .practice-notebook-selection,
 .practice-settings-layout .practice-settings-card{padding:20px}
 .practice-settings-layout .practice-count-row{grid-template-columns:minmax(0,1fr) 132px;gap:12px}
 .practice-settings-layout .practice-stepper{width:132px;grid-template-columns:40px minmax(0,1fr) 40px}
 .practice-settings-layout .practice-stepper button{width:40px}
 .practice-settings-layout .learning-settings-grid{grid-template-columns:1fr}
 .practice-settings-layout .practice-presets>span{width:100%;margin:0}
 .practice-settings-layout .practice-settings-actions{gap:12px}
}
.unified-sentence-field{min-width:0}
.rich-editor-label{font-size:14px;font-weight:600;line-height:1.5}
.unified-format-panel{margin:0;border:1px solid #cfdbd3;border-radius:10px;background:#fff;overflow:hidden}
.unified-format-panel:focus-within{border-color:#19856c;box-shadow:0 0 0 2px #19856c1a}
.unified-format-panel .format-toolbar{margin:0;padding:8px;gap:8px;border-bottom:1px solid #e1e8e3;background:#f5f8f6}
.unified-format-panel .format-toolbar button,.unified-format-panel .format-toolbar select{min-height:36px;font-size:14px}
.unified-format-panel .format-toolbar label{font-size:14px;white-space:nowrap;flex:0 0 auto}
.unified-format-panel .format-toolbar select{width:auto;min-width:96px}
.sentence-editor{min-height:110px;max-height:320px;overflow-y:auto;padding:14px 16px;font:inherit;font-size:16px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;cursor:text;outline:none}
.sentence-editor .rich-sentence{white-space:pre-wrap}
.sentence-editor mark{border-radius:2px;padding:0}
.sentence-editor[aria-invalid=true]{box-shadow:inset 0 0 0 2px #bf5f46}
.unified-sentence-field textarea[hidden]{display:none!important}
@media(max-width:600px){.sentence-editor{min-height:120px;padding:12px}.unified-format-panel .format-toolbar button,.unified-format-panel .format-toolbar select{min-height:40px}}

/* Completion planning */
.progress-achievements{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.progress-achievements>.card{padding:24px;border-radius:16px;box-shadow:none}.progress-achievements span{font-size:14px;color:#536c5d}.progress-achievements strong{display:block;font-size:34px;color:#24573b;margin-top:12px;font-variant-numeric:tabular-nums}.progress-achievements small{font-size:13px;font-weight:400;margin-left:6px}
.progress-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:24px}.progress-detail-grid>.card,.progress-books{padding:24px;border-radius:16px;box-shadow:none;min-width:0}.progress-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.progress-section-heading h2{font-size:20px;line-height:1.5}.progress-section-heading>span,.progress-section-heading>a{font-size:13px;color:#536c5d}.progress-periods{display:flex;gap:4px;background:#edf3ed;padding:4px;border-radius:10px;flex-shrink:0}.progress-periods button{border:0;border-radius:7px;min-height:36px;padding:6px 10px;background:transparent;color:#536c5d;font-size:13px}.progress-periods [aria-pressed=true]{background:white;color:#24573b;box-shadow:0 1px 3px #29452f12}
.progress-activity-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.progress-day{width:100%;aspect-ratio:1;min-height:28px;border:1px solid #e1e9e2;border-radius:7px;background:#f0f4f0;padding:0}.progress-day[data-level="1"]{background:#d6e9d9;border-color:#caddcf}.progress-day[data-level="2"]{background:#9bc7a7;border-color:#8cbb98}.progress-day[data-level="3"]{background:#5c9d73;border-color:#528d67}.progress-day[data-level="4"]{background:#286c46;border-color:#286c46}.progress-day[aria-pressed=true]{outline:2px solid #1d4d32;outline-offset:2px}.progress-activity-legend{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:11px;color:#61796a;margin-top:14px}.progress-day-detail{padding:14px;background:#f4f8f4;border-radius:10px;font-size:13px;color:#42634d;line-height:1.6;margin-top:20px}
.progress-book-filter{display:flex;align-items:center;gap:12px;font-size:13px;color:#536c5d}.progress-book-filter select{flex:1;min-width:0;min-height:44px;margin:0}.progress-memory-visual{display:flex;flex-direction:column;align-items:center;gap:24px;margin:24px 0}.progress-ring{width:180px;height:180px;border-radius:50%;background:conic-gradient(#347d50 var(--progress),#e7eee7 0);padding:14px;display:grid;place-items:center}.progress-ring>div{background:white;width:100%;height:100%;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.progress-ring strong{font-size:40px;color:#24573b}.progress-ring span{font-size:12px;color:#61796a}.progress-memory-legend{width:100%;display:grid;gap:14px}.progress-memory-legend p{display:flex;align-items:center;gap:8px;font-size:13px;color:#536c5d}.progress-memory-legend b{margin-left:auto;font-variant-numeric:tabular-nums;color:#24573b}.progress-memory-legend i{width:9px;height:9px;border-radius:50%;background:#347d50;flex-shrink:0}.progress-memory-legend p:nth-child(2) i{background:#9bc7a7}.progress-memory-legend p:nth-child(3) i{background:#e7eee7}.progress-memory-goal{padding-top:16px;border-top:1px solid #e0e9e2;font-size:12px;color:#61796a;line-height:1.7}
.progress-book{padding:20px 0;border-top:1px solid #e0e9e2}.progress-book>a{display:flex;align-items:center;justify-content:space-between;font-size:16px;font-weight:600;margin-bottom:18px;gap:12px;overflow-wrap:anywhere}.progress-book-meter{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:14px}.progress-book-meter span,.progress-book-meter strong{font-size:13px;line-height:1.6;color:#536c5d}.progress-book-meter strong{font-weight:500}.progress-book-meter progress{grid-column:1/-1;width:100%;height:8px;accent-color:#347d50}.progress-book-meter progress::-webkit-progress-bar{background:#edf2ed;border-radius:8px}.progress-book-meter progress::-webkit-progress-value{background:#8dbb9b;border-radius:8px}.progress-book-meter:last-child progress::-webkit-progress-value{background:#347d50}.progress-recent{margin-top:32px}.progress-recent .record-row{padding:20px 24px;border-radius:14px;box-shadow:none}.progress-empty{padding:24px;text-align:center;color:#61796a;font-size:14px;line-height:1.7}.progress-empty .btn{margin-top:16px}
@media(max-width:900px){.progress-detail-grid{grid-template-columns:1fr}.progress-achievements>.card{padding:20px}.progress-memory-visual{flex-direction:row}.progress-ring{flex-shrink:0}.progress-activity-grid{grid-template-columns:repeat(14,minmax(0,1fr))}}
@media(max-width:600px){.progress-achievements{grid-template-columns:1fr 1fr;gap:12px}.progress-achievements>.card{padding:20px}.progress-achievements strong{font-size:28px}.progress-achievements span{font-size:12px}.progress-detail-grid>.card,.progress-books{padding:20px}.progress-section-heading{gap:8px;flex-wrap:wrap;margin-bottom:20px}.progress-section-heading h2{font-size:18px}.progress-memory-visual{flex-direction:column}.progress-activity-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.progress-day{min-height:30px}.progress-ring{width:170px;height:170px}.progress-recent .record-row{padding:18px}.progress-periods button{min-height:40px}}
.practice-settings-layout .practice-settings-actions{padding:16px;margin:24px 0 8px;gap:16px;border:1px solid #dce5df;border-radius:14px;bottom:16px;box-shadow:0 4px 18px #244c3d0a}
.practice-settings-layout .practice-submit-buttons{gap:12px}
@media(max-width:600px){.practice-settings-layout .practice-settings-actions{padding:14px;bottom:calc(80px + env(safe-area-inset-bottom));margin-bottom:8px}.practice-settings-layout .practice-settings-actions .btn{padding:12px 10px;font-size:14px;min-height:48px}}
.practice-settings-layout .practice-goal h3{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:16px;line-height:1.5;margin:0 0 16px}
.practice-submit-buttons{display:flex;gap:10px;flex-wrap:wrap}
.practice-submit-buttons .btn{min-height:44px}
.practice-presets [aria-pressed="true"]{background:#e6f5ed;border-color:#71ac8b;color:#185b39}
.practice-settings-intro{margin-bottom:16px}
.memory-settings-section{margin-top:24px;padding-top:24px;border-top:1px solid #dce5df}
.practice-settings-actions{position:sticky;bottom:0;z-index:5;background:#fff;padding:16px 0 0;border-top:1px solid #dce5df}
@media(max-width:600px){.practice-settings-actions{bottom:72px}.practice-submit-buttons{width:100%}.practice-submit-buttons .btn{flex:1;padding:12px 8px;font-size:14px}.practice-settings-actions>a{display:none}}
.memory-settings-section{margin-bottom:28px;padding-bottom:24px;border-bottom:1px solid #dce5df}
.memory-settings-heading,.mission-preview-heading,.mission-allocation-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.practice-settings-layout .memory-settings-heading h2,.practice-settings-layout .memory-screen-section h2{font-size:18px;line-height:1.5;font-weight:700;margin:0}
.memory-settings-heading .btn{min-height:40px;white-space:nowrap}
.practice-settings-layout .memory-main-controls{grid-template-columns:repeat(3,minmax(0,1fr));margin:20px 0}
.memory-system-preview{background:#f4f8f5;border:1px solid #dce8df;border-radius:14px;padding:20px}
.mission-preview-heading strong{font-size:15px}.mission-preview-heading>span{font-size:12px;color:#52655b;white-space:nowrap}
.mission-timeline{list-style:none;display:flex;gap:8px;padding:0;margin:20px 0 12px}
.mission-timeline li{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:7px;position:relative;text-align:center}
.mission-timeline li:not(:last-child):after{content:'';position:absolute;height:2px;background:#b9d3c3;top:17px;left:calc(50% + 20px);width:calc(100% - 32px)}
.mission-step-number{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#e1eee6;color:#256144;font-size:15px;font-weight:700;z-index:1}
.mission-step-finish .mission-step-number{background:#24754e;color:white}.mission-step-finish strong{color:#185b39}
.mission-timeline strong{font-size:15px;line-height:1.5}.mission-timeline small{font-size:12px;color:#52655b;line-height:1.5}
.mission-timeline-caption{font-size:12px;line-height:1.6;color:#52655b;display:flex;align-items:center;gap:6px;margin:0 0 16px}
.mission-branches{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mission-branches>div{background:white;border:1px solid #e0e9e2;border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:6px}
.mission-branches b{font-size:14px;color:#256144}.mission-branches span{font-size:12px;line-height:1.6;color:#52655b}
.mission-allocation{padding-top:16px;margin-top:16px;border-top:1px solid #dce5df}.mission-allocation-heading{font-size:13px}.mission-allocation-heading>span{color:#52655b;white-space:nowrap}
.mission-allocation-bar{height:12px;overflow:hidden;border-radius:6px;background:#dfe6e1;margin:12px 0 8px}.mission-allocation-bar>span{display:block;height:100%;background:#32825a;transition:width .2s ease}
.mission-allocation-legend{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px;color:#52655b}.mission-allocation-legend>span:first-child{color:#256144}
.mission-allocation>small,.mission-allocation>p{display:block;font-size:12px;line-height:1.6;color:#52655b;margin:8px 0 0}
.mission-daily-summary{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:16px;padding-top:16px;border-top:1px solid #dce5df;font-size:12px;color:#52655b}.mission-daily-summary b{display:block;font-size:14px;color:#244c3d;margin-top:4px}
.memory-screen-section{border-top:1px solid #dce5df;padding-top:24px;margin-top:24px}.practice-settings-layout .memory-screen-section .learning-settings-grid{margin:20px 0}
.memory-screen-preview{border:1px solid #dce5df;border-radius:12px;padding:20px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;background:#fafbf9}
.memory-preview-label{font-size:12px;color:#52655b}.memory-screen-preview p{font-size:18px;line-height:1.5;margin:0}.memory-screen-preview p.preview-large{font-size:24px}.memory-screen-preview small{font-size:12px;color:#52655b}.preview-mic{border:1px solid #ccdcd2;border-radius:20px;padding:6px 12px;font-size:12px;color:#256144}
.preview-answer-buttons{display:flex;gap:8px;width:100%}.preview-answer-buttons span{flex:1;min-width:0;background:#e6f5ed;border:1px solid #cddbd3;border-radius:8px;padding:10px 6px;font-size:12px;text-align:center}.preview-answer-buttons span:last-child{background:white}
.preview-sharing{border-top:1px solid #e0e9e2;padding-top:12px;width:100%}
@media(max-width:1100px){.practice-settings-layout .memory-main-controls{grid-template-columns:1fr}}
@media(max-width:600px){.memory-system-preview{padding:16px}.mission-branches{grid-template-columns:1fr}.mission-timeline{gap:4px}.mission-timeline strong{font-size:13px}.mission-timeline small{font-size:11px}.mission-preview-heading{align-items:flex-start}.mission-preview-heading strong{font-size:14px}.mission-timeline-caption{align-items:flex-start}.memory-settings-heading{gap:8px}}
@media(prefers-reduced-motion:reduce){.mission-allocation-bar>span{transition:none}}
.recall-panel .confidence-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.study-compact .recall-panel .confidence-options button{min-height:48px;padding:12px 8px}
.study-compact .recall-panel .confidence-options button b{font-size:14px}
.recall-panel [data-confidence="2"]{background:#e6f5ed;border-color:#71ac8b;color:#185b39}
.recall-panel .confidence-label{display:flex;align-items:center;gap:6px;font-size:13px}
.study-compact .recall-panel #memory-status{font-size:12px}
.next-row:has(#next[hidden]){display:none}
.practice-goal{padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid #dce5df}
.practice-goal-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.practice-goal-shortcuts button{min-height:44px;border:1px solid #cddbd3;border-radius:10px;background:white;padding:8px 14px;font:inherit;color:inherit;cursor:pointer}
.practice-goal-shortcuts button:first-child{background:#e6f5ed;border-color:#71ac8b;color:#185b39;font-weight:700}
.practice-goal-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.practice-goal-controls label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:600;min-width:0}
.practice-goal-controls input{box-sizing:border-box;width:100%;min-width:0;height:44px;border:1px solid #cddbd3;border-radius:10px;padding:8px 10px;background:white;color:inherit;font:inherit}
.practice-goal-apply-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0;font-size:14px}
.practice-goal-apply-row .btn{min-height:44px;white-space:nowrap}
.practice-goal-summary{display:grid;grid-template-columns:1fr 1.5fr;gap:16px;background:#f4f8f5;border-radius:12px;padding:16px}
.practice-goal-summary div{display:flex;flex-direction:column;gap:6px;min-width:0}
.practice-goal-summary span,.practice-goal-summary small{font-size:13px;color:#52655b;font-weight:400}
.practice-goal-summary strong{font-size:20px;line-height:1.4}.practice-goal-summary strong small{margin-left:4px}
@media(max-width:600px){.practice-goal-controls{gap:12px}.practice-goal-summary{grid-template-columns:1fr;gap:12px}.practice-goal-apply-row{align-items:flex-start;flex-direction:column}.practice-goal-summary strong{font-size:20px}}

/* Full viewport card mission */
body.study-mode{background:#edf3ef}
body.study-mode .flash-mission{width:100%;max-width:none;min-height:100vh;min-height:100dvh;margin:0;padding:max(18px,env(safe-area-inset-top)) clamp(16px,4vw,64px) max(20px,env(safe-area-inset-bottom));display:flex;flex-direction:column}
.flash-toolbar{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1400px;margin:0 auto;gap:16px}
.flash-mission .back-link{min-height:44px;font-size:14px;color:#536b5c;text-decoration:none}
.flash-mission-progress{display:flex;align-items:center;gap:16px;color:#4d6858;font-size:13px}.flash-mission-progress strong{font-size:22px;color:#234d39;font-variant-numeric:tabular-nums}.flash-mission-progress small{font-size:14px;font-weight:400;color:#637a6c}
.flash-tools{position:relative;z-index:20}.flash-tools>summary{list-style:none;display:grid;place-items:center;width:44px;height:44px;border:1px solid #d1dfd5;border-radius:50%;cursor:pointer;color:#4d6858;letter-spacing:2px}.flash-tools>summary::-webkit-details-marker{display:none}.flash-tools-menu{position:absolute;right:0;top:52px;min-width:180px;border:1px solid #d1dfd5;border-radius:14px;background:white;padding:8px;box-shadow:0 12px 40px #16332218;display:grid}.flash-tools-menu button,.flash-tools-menu a{border:0;background:transparent;color:#355340;padding:12px;text-align:left;font-size:14px;min-height:44px;border-radius:8px}.flash-tools-menu button:hover,.flash-tools-menu a:hover{background:#edf5ef}.flash-tools-menu [hidden]{display:none}
.flash-progress{width:100%;max-width:1400px;margin:14px auto 0;background:#dbe6de;height:5px;border-radius:8px;overflow:hidden}.flash-progress>span{display:block;height:100%;background:#337b53;border-radius:8px;transition:width .25s ease}
.flash-stage{width:min(100%,960px);margin:auto;flex:1;display:flex;flex-direction:column;justify-content:center;padding:22px 0;gap:18px}
.flash-stage-label{display:flex;align-items:center;justify-content:center;gap:16px;color:#809488;font-size:13px}.flash-stage-label .is-current{color:#285c3e;font-weight:700}
.flash-card{position:relative;display:flex;flex-direction:column;justify-content:center;min-height:min(52vh,540px);border:1px solid #d1dfd5;border-radius:28px;background:#fff;box-shadow:0 18px 55px #254c3210,0 5px 0 -1px #e0eae2,0 10px 0 -2px #d7e3da;padding:clamp(24px,4vw,64px);animation:flash-arrive .22s ease-out}
.flash-mission .question-card{border:0;background:transparent;box-shadow:none;padding:0;margin:0;text-align:center;border-radius:0;min-height:0}
.flash-card-kicker{display:block;color:#7b9082;font-size:13px;margin-bottom:22px}
.flash-mission .question-card h1{font-size:clamp(28px,3.2vw,46px);line-height:1.6;color:#183e2b;max-width:850px;margin:0 auto;word-break:keep-all;overflow-wrap:anywhere}
.flash-mission .flash-card.is-revealed .question-card{border-bottom:1px solid #e5ece7;padding-bottom:20px;margin-bottom:24px}
.flash-mission .is-revealed .flash-card-kicker{display:none}.flash-mission .is-revealed .question-card h1{font-size:clamp(18px,2vw,25px);color:#63796c;font-weight:500}
.flash-mission .result-card{padding:0;margin:0;background:transparent;border:0;border-radius:0;box-shadow:none;min-width:0;text-align:center}
.flash-mission .answer-text{font-size:clamp(30px,3.3vw,48px);line-height:1.5;margin:0;color:#1e5739;overflow-wrap:anywhere;word-break:normal}
[data-font=large] .flash-mission .answer-text{font-size:clamp(34px,4vw,56px)}
.flash-mission .speak-area{margin:28px 0 0;text-align:center;min-width:0}.flash-mission .study-speak-buttons{justify-content:center;flex-wrap:wrap;gap:12px}
.flash-mission #reveal{min-height:58px;min-width:min(100%,260px);font-size:17px;padding:18px 28px;border-radius:16px;order:-1;background:#235f3c}
.flash-mission .mic-btn{flex:0 1 auto;min-height:48px;min-width:0;border:1px solid #d1dfd5;background:#f6f9f6;color:#456c54;border-radius:14px;font-size:14px;padding:12px 18px;box-shadow:none}
.flash-mission .mic-btn.listening{background:#fce8de;border-color:#dba484;color:#8c3d21}
.flash-mission .mic-status{font-size:13px;line-height:1.6;margin-top:10px}.flash-mission .recognized-speech{margin-top:12px;text-align:left;font-size:13px;color:#526b5a}.flash-mission .recognized-speech[hidden]{display:none}.flash-mission .recognized-speech summary{cursor:pointer;min-height:36px}.flash-mission .recognized-speech p{line-height:1.7;padding:12px;background:#f4f7f4;border-radius:10px}
.flash-mission .study-extras{justify-content:center;margin-top:18px;border:0}.flash-mission .more summary{min-height:40px;font-size:13px}.flash-mission .tip{text-align:left;font-size:14px;line-height:1.8;background:#f4f8f4}
.flash-actions{width:min(100%,720px);margin:0 auto}.flash-actions:empty{display:none}
.flash-mission .recall-panel{margin:0;padding:0;border:0}.flash-mission .recall-panel .confidence-label{justify-content:center;margin:0 0 12px;font-size:13px}.flash-mission .recall-panel .confidence-options{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.flash-mission .recall-panel .confidence-options button{min-height:62px;border-radius:16px;padding:16px;border:1px solid #cfdbd1;background:white;box-shadow:0 3px 0 #d3ded5;color:#4c6856}.flash-mission .recall-panel .confidence-options button b{font-size:17px;white-space:normal}.flash-mission .recall-panel .confidence-options [data-confidence="2"]{background:#235f3c;border-color:#235f3c;color:white;box-shadow:0 3px 0 #123c24}
.flash-mission .recall-panel #memory-status{text-align:center;min-height:0;font-size:13px;margin-top:10px}.flash-mission .next-row{margin-top:12px}.flash-mission .next-row #next{min-height:56px;justify-content:center}
.flash-mission .own-voice{display:block;margin:12px 0 0;text-align:center}.flash-mission .own-voice-heading{display:flex;justify-content:center;margin:0}.flash-mission .own-voice #play-own-voice{min-height:44px;font-size:13px}.flash-mission .own-voice #own-voice-status{font-size:12px}.flash-mission .own-voice audio[hidden]{display:none}
.mission-finish{max-width:none;width:100%;min-height:100vh;min-height:100dvh;display:grid;align-content:center;padding:32px 20px}.mission-finish>.finish{width:min(100%,720px);margin:0 auto}.mission-finish .finish-symbol{animation:flash-arrive .4s ease-out}
@keyframes flash-arrive{from{opacity:.45;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){.flash-stage{width:min(76%,1120px)}}
@media(max-width:900px){.flash-stage{width:min(100%,780px)}.flash-card{min-height:48vh}}
@media(max-width:600px){body.study-mode .flash-mission{padding:12px 16px max(16px,env(safe-area-inset-bottom))}.flash-mission-progress{gap:8px;font-size:11px}.flash-mission-progress strong{font-size:19px}.flash-toolbar{gap:8px}.flash-mission .back-link{font-size:12px}.flash-progress{margin-top:8px}.flash-stage{gap:16px;padding:18px 0}.flash-stage-label{font-size:12px}.flash-card{border-radius:22px;min-height:44vh;padding:28px 22px}.flash-card-kicker{font-size:12px;margin-bottom:18px}.flash-mission .question-card h1{font-size:27px;line-height:1.6}.flash-mission .is-revealed .question-card h1{font-size:17px}.flash-mission .flash-card.is-revealed .question-card{margin-bottom:20px;padding-bottom:16px}.flash-mission .answer-text{font-size:30px;line-height:1.45}[data-font=large] .flash-mission .answer-text{font-size:35px}.flash-mission .speak-area{margin-top:20px}.flash-mission #reveal{width:100%;min-height:54px;font-size:16px}.flash-mission .recall-panel .confidence-options{gap:10px}.flash-mission .recall-panel .confidence-options button{min-height:58px;padding:14px 10px}.flash-mission .recall-panel .confidence-options button b{font-size:15px}.flash-mission .recall-panel .confidence-label{font-size:12px}.mission-finish>.finish{padding:26px 20px}}
@media(max-height:600px) and (orientation:landscape){.flash-stage{padding:14px 0;gap:12px}.flash-card{min-height:0;padding:24px}.flash-mission .question-card h1{font-size:28px}.flash-mission .answer-text{font-size:30px}.flash-mission .speak-area{margin-top:16px}}
@media(prefers-reduced-motion:reduce){.flash-card,.mission-finish .finish-symbol{animation:none}.flash-progress>span{transition:none}}
.direct-payment-options{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}.direct-payment{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:20px;text-align:left;white-space:normal}.direct-payment strong{font-size:20px}.direct-payment span{font-size:18px}.direct-payment small{font-size:14px;font-weight:400}.payment-status{display:flex;flex-wrap:wrap;gap:16px}.direct-checkout{max-width:560px;width:calc(100% - 32px)}@media(max-width:400px){.direct-payment-options{grid-template-columns:1fr;gap:12px}.direct-payment{padding:16px}}
.guest-preview-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;margin:0 0 24px;border:1px solid var(--line);border-radius:16px;background:#edf7f0}.guest-preview-label{font-size:14px;font-weight:700;color:var(--green)}.guest-preview-banner p{font-size:16px;line-height:1.65;margin:8px 0 0}.guest-preview-banner .btn{flex-shrink:0}.guest-feature-preview{margin:48px 0}.guest-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.guest-feature-link{padding:28px;display:block;color:var(--ink);transition:border-color .15s}.guest-feature-link:hover,.guest-feature-link:focus-visible{border-color:var(--green)}.guest-feature-link>.icon{height:28px;width:28px;color:var(--green);margin-bottom:18px}.guest-feature-link h3{font-size:23px;line-height:1.4}.guest-feature-link p{font-size:16px;line-height:1.8;color:var(--muted);margin:12px 0 22px}.guest-feature-link>span{font-size:16px;font-weight:600;color:var(--green)}[data-demo-row][hidden]{display:none}#guest-settings-form h2{font-size:20px}#demo-plan{margin-top:16px}#guest-settings-form .practice-category-label>label{font-size:16px}body:has(#guest-settings-form) .practice-settings-card{min-width:0}@media(max-width:600px){.guest-preview-banner{padding:20px;align-items:flex-start;flex-direction:column;gap:16px}.guest-preview-banner .btn{width:100%}.guest-feature-grid{grid-template-columns:1fr;gap:16px}.guest-feature-link{padding:24px}.guest-feature-preview{margin:32px 0}#guest-settings-form .practice-settings-actions{align-items:stretch;gap:20px}#guest-settings-form .practice-settings-actions>.btn{text-align:center}.bottomnav a[href="#/history"]{font-size:10px}}
