:root{--bg:#f7f8f4;--paper:#fff;--ink:#263b31;--muted:#8b948e;--green:#32684f;--pale:#eaf0e8;--line:#e5e9e0;--serif:'Noto Serif',Georgia,serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px 'Noto Sans SC',-apple-system,BlinkMacSystemFont,sans-serif}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #91ae6d;outline-offset:4px}button{color:inherit}a{color:inherit;text-decoration:none}.sidebar{position:fixed;width:234px;inset:0 auto 0 0;padding:40px 24px 24px;background:#f0f3eb;border-right:1px solid var(--line);display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;padding-left:10px;font-size:27px;font-weight:600;letter-spacing:4px}.brand-icon{font:54px Georgia;color:var(--green);line-height:1}.brand small{display:block;font:9px sans-serif;letter-spacing:3px;margin-top:3px}.space-label{font-size:10px;color:#919a8f;margin:50px 0 18px 14px;letter-spacing:2px}.nav{width:100%;border:0;background:transparent;display:flex;align-items:center;gap:14px;padding:14px;margin-bottom:7px;text-align:left;border-radius:9px;color:#7a847d;font-size:13px}.nav span{font-size:20px;line-height:1}.nav.active{background:#e0e8d9;color:#31563c;font-weight:600}.nav:hover{background:#e7ecdf}.nav b{margin-left:auto;font-size:10px;font-weight:400;background:#d9e2d4;padding:2px 7px;border-radius:5px}.side-note{margin-top:auto;padding:24px 12px 27px}.sprout{font-size:33px;color:#8d9f71}.side-note p{font-size:12px;color:#89917f;line-height:2}.side-note small{font-size:7px;letter-spacing:1.2px;color:#a1a697}.local-label{border-top:1px solid #dfe5d7;padding:21px 0 0 10px;font-size:10px;color:#949d90}.local-label span{display:inline-block;width:5px;height:5px;background:#7f9a64;border-radius:50%;margin-right:7px}main{margin-left:234px;min-height:100vh;padding:0 48px}header{height:95px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.breadcrumb{font-size:11px;color:#919a92}.breadcrumb span{margin:0 16px;color:#c1c7bd}.breadcrumb strong{font-weight:400;color:#58685e}.header-right{display:flex;align-items:center;gap:26px}.language{font-size:12px;font-family:var(--serif);display:flex;align-items:center;gap:8px}.language i{width:13px;height:9px;background:linear-gradient(90deg,#5d7a9a 33%,white 33% 66%,#ce8b80 66%);border-radius:1px}.button{border:1px solid var(--line);border-radius:7px;padding:12px 20px;background:#fff;font-size:12px;transition:background .15s,transform .15s;display:inline-flex;align-items:center;justify-content:center;gap:8px}.button:hover{background:#f1f4ec;transform:translateY(-1px)}.button.primary{background:var(--green);border-color:var(--green);color:#fff}.button.primary:hover{background:#234d39}.button.small{padding:10px 15px;font-size:11px}.button.ghost{background:transparent}.eyebrow{font:9px sans-serif;letter-spacing:2px;color:#87977d}.intro{display:flex;justify-content:space-between;align-items:center;margin:34px 0 26px}.intro h1{font-size:27px;font-weight:500;margin:8px 0 9px;letter-spacing:1px}.intro p{color:#8a948b;font-size:12px;margin:0}.date-tag{font-size:11px;color:#929b91;line-height:1.9;text-align:right}.date-tag strong{display:block;color:#6d7f6b;font:italic 17px var(--serif)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:30px}.stat{border:1px solid var(--line);background:var(--paper);border-radius:10px;padding:18px 22px;display:flex;align-items:center;gap:17px}.stat-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:11px;background:#edf2e7;font-size:19px;color:#7c9369}.stat:nth-child(2) .stat-icon{background:#faf1df;color:#b99c60}.stat:nth-child(3) .stat-icon{background:#eaf0ef;color:#71998d}.stat small{font-size:10px;color:#929a90;display:block;margin-bottom:5px}.stat strong{font:27px var(--serif);font-weight:500}.stat strong em{font:10px sans-serif;font-style:normal;color:#9ba294;margin-left:7px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 268px;gap:24px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.section-head h2{font-size:14px;font-weight:500;margin:0}.section-head h2 span{font:10px sans-serif;color:#a0a897;margin-left:9px;letter-spacing:1px}.mode-tabs{display:flex;gap:3px;padding:3px;background:#ecefe7;border-radius:7px}.mode-tabs button{border:0;background:transparent;border-radius:5px;padding:6px 11px;color:#89947f;font-size:10px}.mode-tabs button.active{background:#fff;color:#42623d;box-shadow:0 1px 4px #2442250b}.study-card{border:1px solid #dfe6d7;border-radius:14px;background:#fff;min-height:408px;position:relative;overflow:hidden;box-shadow:0 8px 25px #35533104}.card-meta{display:flex;justify-content:space-between;padding:22px 24px;align-items:center}.tag{display:inline-flex;align-items:center;gap:6px;background:#f0f4e9;color:#7d9165;border-radius:5px;padding:5px 9px;font-size:10px}.card-index{font:10px sans-serif;color:#abb2a3;letter-spacing:1px}.illustration{width:120px;height:96px;display:block;margin:0 auto 8px}.illustration svg{height:100%;width:100%}.illustration img{width:100%;height:100%;object-fit:contain;border-radius:9px}.word-line{display:flex;align-items:center;justify-content:center;gap:13px}.word{font:38px var(--serif);margin:0;font-weight:400;letter-spacing:-1px}.icon-button{border:1px solid var(--line);border-radius:50%;width:31px;height:31px;background:#f8faf6;display:inline-grid;place-items:center;color:#79936c;font-size:16px}.icon-button:hover{background:var(--pale)}.phonetic{text-align:center;color:#9ba394;font:12px var(--serif);margin:10px 0 0}.card-bottom{text-align:center;margin-top:26px;padding:18px 22px;border-top:1px dashed var(--line);background:#fdfefb;min-height:90px}.reveal{background:none;border:0;color:#8c9b7b;font-size:11px;padding:15px;letter-spacing:1px}.reveal span{font-size:8px;border:1px solid #dbe3d2;border-radius:4px;padding:2px 4px;margin-left:6px}.meaning{font-size:19px;margin:0 0 10px}.example{font:14px var(--serif);color:#687d63;margin:0;line-height:1.8}.translation{font-size:11px;color:#a0a898;margin:7px 0 0}.ratings{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-top:14px}.rate{padding:12px 8px;border-radius:8px;border:1px solid #e4e8dd;background:#fff;font-size:11px}.rate small{display:block;margin-top:5px;color:#a6ac9c;font-size:9px}.rate[data-rating="again"]{color:#b18b74;background:#fcf7f2;border-color:#eee1d6}.rate[data-rating="good"]{color:#7a8a69;background:#f6f8f0}.rate[data-rating="easy"]{color:#477354;background:#edf3e8;border-color:#dce6d5}.rate:hover{filter:brightness(.97)}.keyboard-hint{font-size:9px;text-align:center;color:#a7aea0;margin:15px 0}.panel{border:1px solid var(--line);background:#fff;border-radius:10px;padding:21px;margin-top:0;margin-bottom:18px}.panel h3{font-size:12px;font-weight:500;margin:0 0 16px}.panel p{font-size:11px;line-height:1.9;color:#939d8c}.theme-cover{height:118px;background:#edf2e4;border-radius:7px;display:grid;place-items:center;position:relative;overflow:hidden;margin-bottom:15px}.theme-cover:before,.theme-cover:after{content:'';position:absolute;border:1px solid #dce6d0;width:160px;height:160px;border-radius:50%;right:-42px;top:8px}.theme-cover:after{width:200px;height:200px;right:-61px;top:-11px}.theme-cover svg{width:104px;height:91px;z-index:1}.theme-title{font:22px var(--serif);font-weight:400;margin:0 0 4px}.theme-caption{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#95a18a}.theme-caption strong{font-weight:400;color:#75866b}.theme-actions{display:flex;gap:8px;margin-top:17px}.theme-actions button{flex:1;padding:9px 5px;font-size:10px}.goal-line{display:flex;justify-content:space-between;font-size:11px;color:#8d9984}.goal-line strong{font-weight:500;color:#4d7042}.progress-track{height:5px;background:#eef1e7;border-radius:5px;overflow:hidden;margin:12px 0 13px}.progress-track div{height:100%;background:#8fa66f;border-radius:5px}.goal-note{font-size:10px;color:#a0a795}.edit-goal{border:0;background:none;font-size:10px;color:#80946b;padding:0}.tip{display:flex;gap:10px;color:#98a18f;padding:2px 5px}.tip b{font-size:18px;font-weight:400}.tip p{font-size:10px;line-height:1.9;margin:0}.today-added{margin-top:25px}.mini-words{display:flex;gap:8px;flex-wrap:wrap}.mini-word{border:1px solid var(--line);border-radius:6px;padding:9px 12px;background:#fff;font:12px var(--serif);color:#7c8974}.mini-word span{font:10px sans-serif;color:#a0a797;margin-left:8px}.text-button{background:none;border:0;color:#7b8f6d;font-size:10px;padding:0}footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin:33px 0 0;padding:21px 0;font-size:9px;color:#a7ae9f}footer span{font-size:8px;letter-spacing:2px}.empty{padding:54px 22px;text-align:center}.empty .check{font-size:42px;color:#8ba66d}.empty h2{font-size:21px;font-weight:400}.empty p{color:#97a18e;font-size:12px;line-height:1.9}.empty .button{margin:10px 4px}.spell-box{padding:12px 35px 0;text-align:center}.spell-box .meaning{margin:0 0 12px}.spell-form{display:flex;gap:8px}.spell-form input{width:100%;min-width:0}.spell-feedback{font-size:12px;margin-top:12px;line-height:1.8;color:#6a8c59}.error{color:#a26b55;font-size:12px}.filters{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}.filters input{flex:1;min-width:170px}.filters select{max-width:180px}.library-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.library-word{border:1px solid var(--line);border-radius:10px;background:#fff;padding:20px;display:flex;gap:16px;align-items:center}.library-visual{width:65px;height:65px;flex-shrink:0;background:#f2f5eb;border-radius:8px;padding:5px}.library-visual svg,.library-visual img{width:100%;height:100%;object-fit:contain;border-radius:5px}.library-content{flex:1;min-width:0}.library-content h3{font:20px var(--serif);margin:0 0 7px;overflow-wrap:anywhere}.library-content p{font-size:12px;color:#7c8d74;margin:0 0 8px}.library-content small{font-size:9px;color:#a2aa99}.library-controls{display:flex;flex-direction:column;gap:10px}.delete-word{color:#aaa;font-size:17px;border:0;background:none}.library-summary{display:flex;justify-content:space-between;gap:12px;margin-bottom:15px;color:#929d87;font-size:11px}.record-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:16px 0;gap:15px}.record-row:last-child{border-bottom:0}.record-row small{color:#9ca692}.record-row strong{font:22px var(--serif);font-weight:400;color:#6c8b5a}.record-actions{display:flex;gap:10px;margin-top:24px;flex-wrap:wrap}.muted{color:#98a08f;font-size:12px;line-height:1.8}input,select{border:1px solid #dfe5d8;background:#fbfcf9;border-radius:6px;padding:11px 12px;color:#4c6242;outline:none}input:focus,select:focus{border-color:#91a976;box-shadow:0 0 0 3px #edf2e7}dialog{border:1px solid #dde5d6;border-radius:16px;padding:30px;width:580px;max-width:calc(100vw - 24px);max-height:90vh;color:var(--ink)}dialog::backdrop{background:#20351e55;backdrop-filter:blur(4px)}.modal-head{display:flex;justify-content:space-between;align-items:flex-start}.modal-head h2{font-size:23px;font-weight:500;margin:10px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:23px}.form-grid label{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#7f8e74}.form-grid input{width:100%}.form-grid .full{grid-column:1/-1}.image-field small{font-size:9px;color:#9da791}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);background:#2e5037;color:white;padding:13px 22px;font-size:12px;border-radius:8px;z-index:9;opacity:0;pointer-events:none;transition:.2s}#toast.visible{opacity:1;transform:translate(-50%,0)}.voice-note{font-size:9px;color:#a1aa94;margin:10px 0 0;text-align:center}.count-badge{font-size:10px;color:#93a086}.goal-input{width:70px;padding:5px;font-size:11px}.date-group-title{font-size:13px;margin:22px 0 14px;font-weight:500;color:#788c69}
@media(min-width:1450px){main{padding:0 65px;max-width:1510px;margin-right:auto}.workspace{grid-template-columns:minmax(0,1fr) 300px}.study-card{min-height:445px}.illustration{width:140px;height:112px}.card-bottom{margin-top:35px}}@media(max-width:1100px){.sidebar{width:190px;padding:32px 16px}main{margin-left:190px;padding:0 27px}.workspace{grid-template-columns:minmax(0,1fr) 230px;gap:18px}.word{font-size:31px}.stat{padding:17px 13px;gap:12px}.panel{padding:18px}.header-right{gap:15px}}@media(max-width:850px){.sidebar{width:76px;padding:25px 10px}.brand{padding:0;justify-content:center}.brand>span:last-child,.space-label,.side-note,.local-label,.nav b{display:none}.nav{font-size:0;padding:16px;justify-content:center;margin-top:12px}.nav span{font-size:24px}.sidebar nav{margin-top:28px}main{margin-left:76px;padding:0 24px}.workspace{grid-template-columns:minmax(0,1fr) 215px}.header-right .language{display:none}.stat-icon{display:none}.stat{padding:16px}.library-list{grid-template-columns:1fr}}@media(max-width:650px){.sidebar{position:fixed;bottom:0;top:auto;width:100%;height:66px;padding:0;border:0;border-top:1px solid var(--line);z-index:5;background:#f4f6eff5;backdrop-filter:blur(12px)}.brand{display:none}.sidebar nav{display:flex;margin:0;padding:5px 12px;justify-content:space-around}.nav{margin:0;width:auto;flex:1;gap:5px;font-size:9px;flex-direction:column;padding:5px;border-radius:7px}.nav span{font-size:20px}.nav.active{background:#e7eddd}main{margin:0;padding:0 20px 65px}header{height:73px}.breadcrumb{font-size:10px}.breadcrumb span{margin:0 8px}.button.small{font-size:10px;padding:9px 11px}.intro{margin-top:27px}.intro h1{font-size:24px}.intro p{font-size:10px}.date-tag{font-size:9px}.date-tag strong{font-size:14px}.stats{gap:8px;margin-bottom:24px}.stat{padding:14px 12px}.stat small{font-size:9px}.stat strong{font-size:23px}.stat strong em{font-size:8px;margin-left:3px}.workspace{display:flex;flex-direction:column}.study-card{min-height:390px}.word{font-size:36px}.illustration{width:125px;height:99px}.side-panels{display:grid;grid-template-columns:1fr 1fr;gap:12px}.panel{margin-bottom:0;padding:16px}.theme-cover{height:86px}.theme-cover svg{height:70px}.theme-title{font-size:19px}.tip{grid-column:1/-1}.panel h3{font-size:11px}.theme-caption{font-size:9px}.theme-actions button{font-size:9px}.today-added{margin-top:26px}footer{font-size:8px;gap:14px}footer span{white-space:nowrap;font-size:7px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}dialog{padding:23px}.header-right{gap:0}.library-word{padding:16px}.library-visual{width:55px;height:55px}.filters select{max-width:145px}.section-head h2 span{font-size:8px;margin-left:6px}.mode-tabs button{padding:6px 9px;font-size:9px}.spell-box{padding:12px 20px 0}.rate{font-size:10px}}

/* Voice choices and user-owned pictures. */
.speech-fields{display:flex;flex-direction:column;gap:19px;margin:25px 0}.speech-fields>label{font-size:12px;color:#7a8e70;display:flex;flex-direction:column;gap:9px}.speech-fields select{width:100%;font-size:12px}.speech-fields .check-label{flex-direction:row;align-items:center;gap:10px;font-size:11px}.check-label input{accent-color:var(--green);width:15px;height:15px}.speech-preview{background:#f2f6ec;border:1px solid #e1e9d8;border-radius:10px;padding:20px;text-align:center}.speech-preview .example{font-size:17px;margin-bottom:16px}.speech-preview .muted{min-height:20px;font-size:10px;margin:12px 0 0}.speech-source{font-size:10px;margin-top:20px}.speech-source a{color:var(--green);text-decoration:underline}.editable-art{width:160px;height:124px;position:relative;border:0;padding:0 0 18px;background:transparent;border-radius:8px}.editable-art:hover{background:#f4f7ef}.image-edit-label{position:absolute;left:0;right:0;bottom:0;font-size:9px;letter-spacing:.5px;color:#96a487;line-height:18px}.illustration.has-photo{width:min(88%,300px);height:175px}.illustration.has-photo img{width:100%;height:100%;object-fit:contain}.image-library-button{font-size:9px;white-space:nowrap}.library-controls{align-items:center}.upload-label{display:flex;flex-direction:column;gap:9px;font-size:12px;color:#778c6b}#picture-preview{height:210px;margin:18px 0;background:#f5f8ef;border-radius:9px;text-align:center;padding:12px}#picture-preview img,#picture-preview svg{max-width:100%;height:100%;object-fit:contain;border-radius:7px}.voice-note{line-height:1.8;min-height:16px}.header-right{gap:12px}@media(max-width:650px){header{gap:8px}.header-right{gap:7px}#speech-settings{font-size:9px;padding:9px 8px}.header-right .button.small{white-space:nowrap}.breadcrumb{font-size:9px}.breadcrumb span{margin:0 6px}.editable-art{height:124px}.speech-preview .example{font-size:15px}.speech-fields select{font-size:11px}#picture-preview{height:185px}}@media(max-width:380px){.breadcrumb{font-size:0}.breadcrumb strong{font-size:9px}.breadcrumb span{display:none}main{padding-left:14px;padding-right:14px}}

#audio-status{position:fixed;bottom:86px;right:24px;z-index:8;max-width:calc(100vw - 40px);padding:10px 15px;border-radius:9px;border:1px solid #d6e1cd;background:#f2f7edf5;color:#4b6b42;box-shadow:0 4px 16px #29482010;font-size:10px;pointer-events:none}#audio-status:empty{display:none}@media(max-width:650px){#toast{bottom:83px}#audio-status{bottom:140px;right:20px}}

.weather-picture{display:block;width:100%;height:100%;background-repeat:no-repeat;border-radius:14px}.reference-picture{background-image:url('assets/weather-reference.jpg')}.supplemental-picture{background-image:url('assets/weather-supplement.png');background-size:400% 500%}.editable-art{width:190px;height:158px;padding-bottom:20px}.editable-art .weather-picture{border-radius:17px}.illustration.has-photo{width:min(88%,300px);height:185px}.theme-cover .weather-picture{height:106px;width:151px;position:relative;z-index:1}.library-visual .weather-picture{border-radius:5px}#picture-preview .weather-picture{height:100%;width:260px;max-width:100%;margin:0 auto}.theme-cover{background:#e8f4f0}.library-visual{padding:0;overflow:hidden}.library-visual .weather-picture{border-radius:8px}.supplemental-picture{aspect-ratio:1}@media(max-width:650px){.editable-art{width:190px;height:158px}.theme-cover .weather-picture{height:80px;width:113px}}

.supplemental-picture{background-size:200% 300%}.editable-art .supplemental-picture{width:138px;height:138px;margin:0 auto}.library-visual{display:flex;align-items:center;justify-content:center}.library-visual .reference-picture{height:70%}.library-visual .supplemental-picture{height:100%;width:100%}#picture-preview .supplemental-picture{width:186px;height:186px}.theme-cover .supplemental-picture{height:106px;width:106px}@media(max-width:650px){#picture-preview .supplemental-picture{width:161px;height:161px}}

.brand .brand-title{font-size:18px;letter-spacing:.4px;line-height:1.5}.brand .brand-title>span{display:block;font-size:14px;letter-spacing:1.5px}@media(max-width:380px){.intro h1{font-size:21px}}

.startup-panel{max-width:630px;margin:35px auto;padding:30px;border:1px solid #dce6d5;border-radius:14px;background:#fff}.startup-panel h1{font-size:25px;font-weight:500}.startup-panel>p{font-size:13px;line-height:1.9;color:#7d8d75}.startup-panel .button{margin:12px 0}.startup-panel .muted{font-size:11px}#runtime-notice:not([hidden]){margin-top:20px;display:flex;align-items:center;gap:12px;padding:14px 17px;border:1px solid #e5d5b4;border-radius:9px;background:#fcf7e9;color:#867044;font-size:11px}#runtime-notice>div{flex:1}#runtime-notice strong{display:block;margin-bottom:5px;font-weight:500}#runtime-notice span{display:block;line-height:1.7}#runtime-notice .button{white-space:nowrap}@media(max-width:650px){#runtime-notice:not([hidden]){flex-wrap:wrap;gap:9px}#runtime-notice>div{flex-basis:100%}.startup-panel{padding:23px}.startup-panel h1{font-size:22px}}

/* 11.17 shopping lesson: contextual photographs and long spoken expressions. */
.word-line{padding:0 20px}.word-line .word{min-width:0;overflow-wrap:anywhere;text-align:center;font-size:clamp(23px,3.2vw,38px);line-height:1.3}.word-line .icon-button{flex-shrink:0}.illustration.has-photo{width:min(88%,360px);height:235px;margin-bottom:12px}.illustration.has-photo .lesson-photo{object-fit:contain;background:#f4f6f0}.theme-cover img{width:100%;height:100%;object-fit:cover}.theme-cover:has(img):before,.theme-cover:has(img):after{display:none}#lesson-select{width:100%;margin:0 0 14px;font-size:12px}.photo-credit{font-size:10px;color:#77856f;text-align:center;margin:10px auto 0;max-width:90%;overflow-wrap:anywhere}.photo-credit summary{cursor:pointer}.photo-credit a{text-decoration:underline}.photo-credit span{display:block;margin-top:5px}.library-visual .lesson-photo{object-fit:contain}.library-summary{flex-wrap:wrap}.theme-caption{gap:8px;flex-wrap:wrap}.intro p{line-height:1.8}.voice-note{color:#728465}.translation{color:#73816a}
@media(max-width:650px){.illustration.has-photo{height:210px}.word-line{padding:0 16px}.side-panels{grid-template-columns:1fr}.theme-cover{height:150px}.section-head{flex-wrap:wrap}.intro{gap:12px;align-items:flex-start}.intro h1{font-size:22px}.date-tag{flex-shrink:0}.stats .stat{min-width:0;padding-left:9px;padding-right:9px}.stat strong{font-size:21px}.stat strong em{display:block;margin:4px 0 0}.library-visual{width:68px;height:68px}.library-word{gap:12px}}

#study-group-select{width:100%;margin:0 0 14px;font-size:12px}.word-detail{font-size:11px;color:#73816a;margin:12px 0 0}.word-detail summary{cursor:pointer}.word-detail p{line-height:1.8}.library-ipa{text-align:left;margin:10px 0}.library-word .example{line-height:1.8}

.color-study{display:block;width:100%;height:100%;border:1px solid #dfe5d8;border-radius:12px}.library-visual .color-study{border-radius:7px}

.word-origin{margin-top:15px;padding-top:13px;border-top:1px solid var(--line);text-align:left;color:#53654d;font-size:12px;line-height:1.85;overflow-wrap:anywhere}.origin-label{font-size:11px;font-weight:500;color:#477354}.word-origin>p{margin:5px 0 0;font-size:12px;line-height:1.85;color:#53654d}.word-origin summary{cursor:pointer;color:#477354;font-size:11px}.origin-sources{margin-top:6px;font-size:10px;line-height:1.7;color:#7b8b73}.origin-sources a{text-decoration:underline}.library-content .word-origin p{margin-top:8px;color:#53654d}

/* Readable controls and text on phones and desktop. */
html{font-size:16px}body{font-size:1rem}.intro p,.panel p,.empty p,.startup-panel>p,.example,.meaning,.spell-feedback,.word-origin>p,.library-content p{font-size:1rem;line-height:1.8}.word-origin{font-size:1rem}.origin-label,.word-origin summary,.muted,.translation,.panel h3,.section-head h2,.form-grid label,.upload-label,.speech-fields>label,.speech-fields .check-label,.goal-line,.goal-note,.filters input,.filters select,#lesson-select,#study-group-select,.library-summary,.button,.button.small,.text-button,.reveal,.rate,.nav{font-size:.875rem}.origin-sources,.card-meta,.tag,.card-index,.phonetic,.voice-note,.library-content small,.photo-credit,.image-edit-label,.rate small,.keyboard-hint,.tip p,.stat small,.stat strong em,.date-tag,.count-badge,.speech-source,footer,footer span,.section-head h2 span,.eyebrow,.mini-word span{font-size:.75rem;line-height:1.6}.word-line .word{font-size:clamp(1.6rem,3.2vw,2.4rem)}.library-content h3{font-size:1.3rem}.stat strong{font-size:1.7rem}.stat{min-width:0}.button,.button.small,.icon-button,.text-button,.delete-word,.edit-goal,.reveal,.rate,summary{min-height:44px}.icon-button,.delete-word{min-width:44px;height:44px}.text-button,.edit-goal{padding:8px 6px}.edit-goal{font-size:.875rem}.origin-sources a{display:inline-flex;align-items:center;min-height:44px}.card-bottom{padding:20px 24px}.word-origin{margin-top:20px;padding-top:16px}.origin-label{font-weight:600}.origin-sources{margin-top:4px}.library-controls{gap:3px}.library-controls .text-button{min-width:44px}.library-word{align-items:flex-start}.library-visual{margin-top:4px}.library-word details{margin-top:4px}.library-word summary{display:flex;align-items:center}.library-content .word-origin p{font-size:1rem}.library-content small{display:block;line-height:1.7}.filters select,.filters input,input,select,textarea{font-size:1rem;min-height:46px;max-width:100%;font-family:inherit}textarea{border:1px solid #dfe5d8;background:#fbfcf9;border-radius:6px;padding:11px 12px;color:#4c6242;resize:vertical;width:100%}textarea:focus{outline:2px solid #91a976;outline-offset:2px}.form-grid input,.form-grid textarea{box-sizing:border-box}.form-grid label{line-height:1.6}.form-grid{gap:18px}.form-grid .image-field small{font-size:.75rem}.modal-head h2{line-height:1.5}dialog{max-height:90dvh;overflow-y:auto;overscroll-behavior:contain}.speech-fields select{font-size:1rem}.speech-preview .muted{font-size:.875rem}.speech-preview .example{font-size:1.125rem}.speech-source{line-height:1.8}.speech-fields .check-label input{width:22px;height:22px;min-height:22px;flex-shrink:0}.speech-fields .check-label{line-height:1.7}.notice-actions{display:flex;flex-wrap:wrap;gap:8px}#runtime-notice:not([hidden]){align-items:flex-start;flex-wrap:wrap;font-size:.875rem}#runtime-notice>div:first-child{min-width:220px}#runtime-notice .notice-actions{flex-basis:100%}#toast,#audio-status{font-size:.875rem;line-height:1.6}.edit-study{display:block;margin:6px auto 0}.theme-caption{font-size:.875rem;line-height:1.8}.theme-actions{flex-wrap:wrap}.theme-actions button{font-size:.875rem;padding:10px 8px}.mini-word{font-size:1rem}.theme-title{font-size:1.5rem}.theme-cover{margin-top:4px}.tip p{line-height:1.8}.phonetic{color:#64725f;line-height:1.8;padding:0 14px}.translation,.muted{color:#65745e}.side-note p{font-size:.875rem}footer{gap:14px;flex-wrap:wrap}footer a{min-height:44px;display:inline-flex;align-items:center}.filters select{max-width:220px}.filters{align-items:center}select{appearance:none;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23536b4c' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.reveal span{font-size:.75rem}.mode-tabs button{font-size:.875rem;min-height:44px}.spell-box .muted{font-size:.875rem}.library-word .example{font-size:1rem}.form-grid small{line-height:1.7}
@media(max-width:850px){.nav{font-size:0}.nav span{font-size:24px}}
@media(max-width:650px){main{padding:0 16px 90px}.sidebar{height:78px}.sidebar nav{padding:4px 8px}.nav{font-size:.875rem;line-height:1.3;min-height:66px;gap:4px}.nav span{font-size:23px}.breadcrumb{display:none}header{justify-content:flex-end;height:auto;min-height:76px;padding:10px 0}.header-right{width:100%;justify-content:flex-end;gap:10px}#speech-settings,.header-right .button.small{font-size:.875rem;padding:10px 13px}.intro{gap:10px;flex-wrap:wrap;margin-top:24px}.intro h1{font-size:1.45rem;line-height:1.5;letter-spacing:0}.intro p{font-size:1rem}.date-tag{font-size:.75rem;text-align:left}.date-tag strong{font-size:1rem}.stats{gap:8px}.stat{padding:12px 9px}.stat small{font-size:.75rem}.stat strong{font-size:1.5rem}.stat strong em{font-size:.75rem}.section-head{gap:10px;flex-wrap:wrap}.section-head h2{font-size:1rem}.section-head h2 span{display:none}.mode-tabs{padding:3px}.mode-tabs button{font-size:.875rem;padding:6px 12px}.card-meta{padding:18px 16px}.tag,.card-index{font-size:.75rem}.word-line{padding:0 14px}.word-line .word{font-size:1.75rem}.card-bottom{padding:20px 18px}.meaning{font-size:1.2rem}.example,.translation,.word-origin>p,.panel p,.library-content p{font-size:1rem}.origin-label,.word-origin summary,.panel h3,.theme-caption,.goal-note,.goal-line,.tip p,.reveal,.rate{font-size:.875rem}.origin-sources,.phonetic,.voice-note,.photo-credit,.rate small,.keyboard-hint{font-size:.75rem}.panel{padding:20px}.side-panels{display:flex;flex-direction:column;gap:16px}.ratings{gap:8px}.rate{padding:12px 5px;line-height:1.5}.rate small{font-size:.75rem;line-height:1.6}.illustration.has-photo{height:220px}.filters{display:grid;grid-template-columns:1fr 1fr;gap:10px}.filters input{grid-column:1/-1;min-width:0}.filters select{max-width:100%;width:100%;min-width:0}.library-word{padding:16px 12px;gap:10px}.library-visual{width:56px;height:56px}.library-content h3{font-size:1.25rem;line-height:1.5}.library-controls{gap:2px;flex-shrink:0}.library-content small{font-size:.75rem}.library-summary{font-size:.875rem;line-height:1.8}.library-word .example{font-size:1rem}.library-visual{flex-shrink:0}.library-content .word-origin p{font-size:1rem}.mini-word{font-size:1rem}.mini-word span{display:block;font-size:.875rem;margin:4px 0 0}.spell-box{padding:14px 16px 0}.spell-form{flex-wrap:wrap}.spell-form input{flex:1;min-width:160px;font-size:1rem}.speech-fields select{font-size:1rem}.speech-fields .check-label{font-size:.875rem}.speech-preview .example{font-size:1rem}dialog{padding:20px;max-width:calc(100vw - 20px);width:580px}footer,footer span{font-size:.75rem;white-space:normal}#toast{width:calc(100vw - 32px);max-width:460px;bottom:96px;box-sizing:border-box}#audio-status{bottom:146px;right:16px}.startup-panel h1{font-size:1.5rem}}
