:root{--turquoise:#00cec8;--ink:#12383e;--secondary:#3e636b;--accent:#006b70;--glass:linear-gradient(115deg,rgba(255,255,255,.66),rgba(222,255,255,.28));--shadow:0 8px 22px #177c8620,inset 0 1px 2px #fff;--radius:20px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:15px;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:#eaf7fa}button,input,select,textarea{font:inherit;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #006b70;outline-offset:4px}h1,h2,h3,p{margin:0}h1{font-size:28px;line-height:1.15;letter-spacing:-1.2px;font-weight:780;margin:6px 0 10px}h2{font-size:21px;line-height:1.2;letter-spacing:-.7px;margin:8px 0 12px}h3{font-size:16px;line-height:1.4;margin-bottom:6px}p{line-height:1.55}small,.small{font-size:12px;line-height:1.5;color:var(--secondary)}.muted{color:var(--secondary)}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.65px;color:var(--accent);text-transform:uppercase;line-height:1.5}.app-shell{position:relative;margin:auto;max-width:520px;min-height:100dvh;background-color:#eaf9fc;background-image:linear-gradient(rgba(255,255,255,.62),rgba(255,255,255,.62)),url('/assets/background.svg');background-position:center top,center top;background-size:100% 100%,100% 100%;background-attachment:fixed,fixed;isolation:isolate}.screen{display:flex;flex-direction:column;gap:12px;padding:calc(16px + env(safe-area-inset-top)) 20px calc(20px + env(safe-area-inset-bottom));min-height:100dvh}.has-nav .screen{padding-bottom:calc(92px + env(safe-area-inset-bottom))}.header{min-height:44px;display:flex;align-items:center;gap:10px;margin-bottom:0}.header-title{flex:1;text-align:center;font-size:13px;font-weight:700}.header .end{min-width:36px;text-align:right}.hero{margin-top:4px}.hero p{font-size:14px;color:var(--secondary)}.boot-fallback{max-width:520px;margin:clamp(24px,8vh,88px) auto;padding:22px;text-align:center;background:rgba(255,255,255,.72);border:1px solid #ffffffc9;border-radius:20px;box-shadow:0 8px 22px #177c8620}.boot-fallback h1{font-size:24px}.boot-fallback p{color:var(--secondary)}.boot-fallback a{text-decoration:underline;text-underline-offset:3px}.glass{background:var(--glass);border:1px solid #ffffffc9;box-shadow:var(--shadow);backdrop-filter:blur(16px) saturate(170%);-webkit-backdrop-filter:blur(16px) saturate(170%);border-radius:var(--radius);padding:14px}.button{width:100%;min-height:48px;border:1px solid #ffffffcf;border-radius:16px;padding:10px 14px;display:flex;align-items:center;justify-content:center;gap:9px;font-weight:700;line-height:1.3;background:var(--glass);box-shadow:var(--shadow);backdrop-filter:blur(16px) saturate(170%)}.primary{background:linear-gradient(155deg,#a3fff4 0%,#26dbd5 40%,#02bdbb 70%,#54d8d3 100%);box-shadow:inset 0 2px 2px #ffffffda,inset 0 -1px 2px #a1fff1,0 8px 18px #029caa30;border:1px solid #e1fffe}.button:hover,.icon-button:hover,.row:hover,.chip:hover{filter:brightness(1.03)}.button:active{transform:translateY(1px)}.icon-button{width:44px;height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid #ffffffb8;background:var(--glass);box-shadow:var(--shadow)}.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.row{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:0;background:none;padding:10px 3px;min-height:48px}.row .row-copy{flex:1;min-width:0}.row strong{display:block;font-size:14px}.row small{display:block;margin-top:3px}.row.glass{border:1px solid #ffffffb8;border-radius:18px;padding:12px}.stack{display:flex;flex-direction:column;gap:10px}.push{margin-top:auto}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.grid>*{min-width:0}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{border:1px solid #ffffffbd;background:var(--glass);padding:8px 12px;border-radius:18px;font-size:12px;min-height:36px;box-shadow:0 3px 10px #1b727c10}.chip[aria-pressed=true],.selected{background:linear-gradient(120deg,#c6fff5b8,#5ae0dcc4);border-color:#007e80;box-shadow:inset 0 0 0 1px #007e80}.chip[aria-pressed=true]:before{content:'✓ ';font-weight:bold}.choice{display:flex;gap:12px;text-align:left;align-items:center}.choice .copy{flex:1}.choice strong{display:block;font-size:14px}.choice small{display:block;margin-top:5px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600}.input{width:100%;min-height:46px;background:var(--glass);border:1px solid #ffffffc9;border-radius:17px;padding:12px 14px;box-shadow:var(--shadow);outline-color:var(--accent)}textarea.input{min-height:115px;resize:vertical;font-weight:400;line-height:1.6}.input::placeholder{color:#526e74;opacity:1}.bottom-nav{position:fixed;bottom:calc(10px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 40px);max-width:472px;display:flex;align-items:center;justify-content:space-around;padding:6px 8px;border-radius:26px;z-index:10;background:linear-gradient(110deg,#f1ffffb8,#bdfffb85);border:1px solid white;backdrop-filter:blur(25px) saturate(180%);box-shadow:inset 0 2px 2px #fff,0 8px 25px #2d8c9740}.nav-item{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;position:relative}.nav-item[aria-current=page]:after{content:'';position:absolute;bottom:2px;width:5px;height:5px;border-radius:50%;background:var(--ink)}.nav-item.plus{background:linear-gradient(145deg,#a2fff4,#00cac5);box-shadow:inset 0 2px 3px white,0 5px 12px #13acaf3d}.logo{object-fit:contain;width:36px;height:36px;flex-shrink:0}.brand{display:flex;align-items:center;gap:8px;font-size:22px;font-weight:800;letter-spacing:-1px}.brand small{font-size:10px;font-weight:400;letter-spacing:0;margin-left:auto}.welcome-art{height:144px;position:relative;display:flex;align-items:center;justify-content:center;margin-top:10px}.welcome-art .logo{width:88px;height:88px}.speech-tag{position:absolute;font-weight:700;padding:7px 11px;font-size:12px;background:#ffffffb3;border:2px solid #fff;border-radius:20px;box-shadow:var(--shadow);transform:rotate(-8deg);left:6px;top:22px}.speech-tag:nth-of-type(2){left:auto;right:0;top:60px;transform:rotate(8deg)}.speech-tag:nth-of-type(3){top:auto;bottom:1px;left:15px;transform:rotate(-4deg)}.welcome .hero{margin-top:10px}.welcome .hero h1{font-size:30px;line-height:1.1}.welcome .stack.push{margin-top:4px;padding-top:0}.center{text-align:center}.center .icon-button{margin:auto}.auth-logo{width:48px;height:48px;display:block;margin:0 auto 2px}.auth .button{min-height:48px;font-size:13px;justify-content:flex-start}.auth .button .right{margin-left:auto}.notice{border:1px solid #fff9;background:#efffff8c;border-radius:16px;padding:11px 13px;font-size:12px;line-height:1.5;color:var(--secondary)}.notice.warning{border-left:3px solid #007e80}.demo-label{font-size:10px;letter-spacing:.4px;color:#365c63;display:inline-flex;align-items:center;gap:5px}.avatar{width:52px;height:52px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font-weight:700;border-radius:19px;background:linear-gradient(130deg,#f9ffff,#9bece4);box-shadow:var(--shadow);border:1px solid #ffffffba}.avatar.em{background:linear-gradient(130deg,#fff6ef,#ecd7c5)}.avatar.jl,.avatar.so{background:linear-gradient(130deg,#faf5ff,#dbd2ec)}.avatar.large{width:92px;height:92px;border-radius:28px;font-size:25px;margin:16px auto}.lesson-progress{height:3px;background:#ffffffa1;border-radius:4px;overflow:hidden;margin:0 0 0}.lesson-progress span{display:block;height:100%;background:#13beb7}.lesson-progress.p1 span{width:14%}.lesson-progress.p2 span{width:28%}.lesson-progress.p3 span{width:42%}.lesson-progress.p4 span{width:57%}.lesson-progress.p5 span{width:71%}.lesson-progress.p6 span{width:86%}.lesson-progress.p7 span{width:100%}.scene{position:relative;min-height:180px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:linear-gradient(120deg,#edffef85,#75dad36b)}.scene img{width:100%;height:170px;object-fit:cover;border-radius:18px}.scene-label{position:absolute;top:15px;left:18px;letter-spacing:3px;font-size:9px;color:var(--secondary)}.cafe-art{width:100%;height:155px}.big-number{font-size:42px;letter-spacing:-2px;line-height:1.15}.metric{font-size:30px;font-weight:800;margin-bottom:4px}.word-face{padding:28px 10px;display:flex;flex-direction:column;align-items:center;gap:13px}.word-face .emoji{font-size:48px}.word-face h1{font-size:46px;margin:0}.sentence-start{background:#12383e;color:#fff;border-radius:13px;padding:13px;font-size:23px;font-weight:700}.sentence-options{border-left:2px solid #15c8c3;margin:0 22px;padding:15px 20px;display:grid;gap:16px;font-weight:600}.tokens{min-height:98px;display:flex;flex-wrap:wrap;align-content:flex-start;gap:8px}.token{border:1px solid #fff;background:#eaffffc2;padding:11px 13px;border-radius:12px;min-height:44px}.token.start{background:#12383e;color:#fff}.wave{display:flex;justify-content:center;align-items:center;gap:5px;height:70px;color:#009d9d;font-size:40px;letter-spacing:2px}.mic{width:88px;height:88px;border:8px solid #adffef;border-radius:50%;background:linear-gradient(130deg,#73f5e5,#00c5c2);box-shadow:0 0 0 2px white,inset 0 2px 3px white;display:flex;align-items:center;justify-content:center;margin:8px auto 16px}.mic .icon{width:34px;height:34px}.mic.recording{box-shadow:0 0 0 5px #006b70}.chat-bubble{max-width:90%;border-radius:20px;background:var(--glass);box-shadow:var(--shadow);border:1px solid #fff9;padding:14px;line-height:1.6;font-size:13px}.chat-bubble.self{margin-left:auto;background:linear-gradient(125deg,#dbfffba6,#64dbd278);border-bottom-right-radius:5px}.chat-bubble small{display:block;text-align:right;font-size:9px}.composer{display:flex;align-items:center;gap:5px;padding:7px;border-radius:25px}.composer .input{border:0;background:none;box-shadow:none;min-width:0;padding:8px}.composer .icon-button{width:36px;min-width:36px;height:36px}.chat-stream{display:flex;flex-direction:column;gap:15px}.chat-stream .notice{max-width:100%}.post-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:4px}.post-action{display:flex;align-items:center;gap:4px;background:none;border:0;min-height:44px;padding:4px;font-size:10px}.post-action[aria-pressed=true]{color:#006c70;font-weight:800}.post-action[aria-pressed=true] .icon{fill:#69e6d9}.stories{display:flex;gap:18px;overflow:auto}.stories a{display:flex;align-items:center;flex-direction:column;gap:6px;font-size:11px}.stories .avatar{border:2px solid #f9ffff;outline:2px solid #70deda}.cover{min-height:130px;padding:15px 0;display:flex;align-items:center;font:italic 27px/1.1 Georgia,serif;position:relative}.cover:after{content:'';position:absolute;right:-24px;width:140px;height:120px;border:1px solid #fff8;border-radius:70% 20% 0 50%;background:linear-gradient(145deg,#ffffff80,#79d7d74d)}.profile-stats{display:flex;justify-content:space-around;text-align:center}.profile-stats strong{display:block;font-size:25px}.calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;text-align:center}.calendar button{border:1px solid #ffffff75;background:#ffffff40;border-radius:50%;aspect-ratio:1}.switch-row{display:flex;gap:12px;align-items:center;padding:12px 0}.switch-row span{flex:1}.switch-row strong{display:block;font-size:14px}.switch-row small{display:block;margin-top:4px}.switch-row input{appearance:none;width:42px;height:25px;border-radius:20px;background:#789a9e;box-shadow:inset 0 1px 2px #336e7860;flex:none;cursor:pointer}.switch-row input:before{content:'';display:block;background:white;width:19px;height:19px;margin:3px;border-radius:50%;transition:transform .2s}.switch-row input:checked{background:#00aead}.switch-row input:checked:before{transform:translateX(17px)}.call{background:linear-gradient(145deg,#125968,#006f73);color:#fff;min-height:100dvh}.call .eyebrow,.call small,.call .muted{color:#d4ffff}.call .avatar{color:var(--ink)}.call .button.danger{background:#7b2632}.call-controls{display:flex;justify-content:space-around;gap:12px;margin:25px 0}.error-text{color:#7b2632;font-size:13px;line-height:1.5}.success-text{color:#005b59;font-weight:600;font-size:13px}.status:empty{display:none}.preview-media{max-width:100%;max-height:250px;border-radius:20px}.empty{padding:24px 18px;text-align:center}.search{position:relative}.search .input{padding-left:39px}.search>.icon{position:absolute;left:12px;top:13px}.time-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.time-grid .chip{padding:9px 3px}.topline{display:flex;align-items:center;justify-content:space-between;gap:12px}.link-button{border:0;background:none;padding:6px 0;text-decoration:underline;text-underline-offset:3px;font-size:12px}.inline-actions{display:flex;gap:9px;flex-wrap:wrap}.inline-actions .button{width:auto;flex:1;font-size:12px}.quote{font-size:24px;line-height:1.25;letter-spacing:-.6px;font-weight:750}.time-input{font-size:42px;text-align:center;font-weight:300}.review-link{position:fixed;top:20px;left:24px;font-size:12px;display:none;color:var(--accent)}.skip{position:fixed;left:12px;top:-60px;background:white;padding:10px;z-index:99}.skip:focus{top:8px}#toast{position:fixed;left:50%;transform:translateX(-50%);bottom:100px;z-index:30;background:#12383ef5;color:#fff;border-radius:16px;padding:12px 18px;max-width:90%;width:max-content;font-size:13px;box-shadow:0 5px 30px #12383e30;display:none}#toast.show{display:block}.review-list{display:grid;gap:10px}.review-list a{display:block}.large-text{font-size:18px}.large-text p,.large-text .button,.large-text .row strong{font-size:17px}.large-text small{font-size:14px}.high-contrast{--ink:#00292d;--secondary:#173e43;--glass:linear-gradient(120deg,#fffffff2,#e4fffbea)}.reduced-motion *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.checklist{display:grid;gap:12px}audio{width:100%;height:40px}.hidden{display:none!important}progress{width:100%;accent-color:#00aeb0}fieldset{border:0;padding:0;margin:0}legend{margin-bottom:12px;font-size:14px;font-weight:700}.footer-note{display:block;text-align:center;font-size:11px;color:var(--secondary);line-height:1.5;background:rgba(255,255,255,.86);border:1px solid #fff;border-radius:12px;padding:5px 8px}details summary{cursor:pointer;line-height:1.5}.card-link{display:block}.two-title{display:flex;align-items:center;gap:10px}.word-list .row{border-bottom:1px solid #ffffff80}.word-review-history{padding:0 12px 8px;color:var(--secondary);font-size:12px}.word-review-history summary{min-height:44px;padding:8px;display:flex;align-items:center}.form-actions{display:flex;gap:8px}.directory-note{padding:16px;background:#ffffff80;border-radius:15px}.legal{white-space:pre-line;line-height:1.65}
@media(min-width:760px){body{background:radial-gradient(ellipse at 15% 15%,#c4f5f0,transparent 50%),radial-gradient(ellipse at 85% 80%,#b4e6eb,transparent 60%),#ecf7f9}.app-shell{box-shadow:0 0 90px #2d8f9828;border-left:1px solid #fff;border-right:1px solid #fff}.screen{padding-left:24px;padding-right:24px}.review-link{display:none}.welcome-art{height:144px}}@media(max-width:350px){.screen{padding-left:16px;padding-right:16px}h1,.welcome .hero h1{font-size:27px}.welcome-art{height:128px}.welcome-art .logo{width:80px;height:80px}.speech-tag{padding:10px;font-size:12px}.bottom-nav{width:calc(100% - 24px)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.wave{font-size:24px;white-space:nowrap;letter-spacing:1px;overflow:hidden}.fingerprint-login .word-face>.icon{width:64px;height:64px;color:#00a6a6}.call .notice{color:#12383e}.call .glass{background:linear-gradient(130deg,#ffffff0f,#ffffff0a)}input[type=file]{max-width:100%;font-size:12px}input::file-selector-button{border:1px solid #fff;border-radius:14px;padding:9px;background:#d9fffa;color:#12383e;font:inherit}.scene .cafe-art{max-width:300px}.search:has(input:focus-visible){outline:2px solid #006b70;border-radius:17px}

/* Official Google logo and self-hosted OFL Google Sans subset. */
@font-face{font-family:Google Sans;src:url('/assets/google-sans.woff2') format('woff2');font-weight:500;font-display:swap}
.google-signin{display:flex;align-items:center;justify-content:center;gap:10px;padding:12px;border:1px solid #747775;border-radius:24px;background:#fff;color:#1f1f1f;cursor:pointer;width:100%;min-height:48px;font:500 14px/20px 'Google Sans',Arial,sans-serif}
.apple-signin{display:flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:15px;background:transparent;cursor:pointer;width:100%;max-width:375px;min-height:48px;margin-inline:auto;overflow:hidden}
.apple-signin img{display:block;width:100%;height:auto}
.apple-signin-fallback{display:block;box-sizing:border-box;width:100%;min-height:48px;padding:14px 20px;border-radius:8px;background:#000;color:#fff;font:600 16px/20px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-align:center}
.apple-signin:focus-visible{outline:3px solid #245c42;outline-offset:4px}
.google-signin img{display:block;width:20px;height:20px;object-fit:contain}.google-signin:focus-visible{outline:3px solid #245c42;outline-offset:4px}.google-signin:disabled{opacity:.6;cursor:wait}
.auth-divider{display:flex;align-items:center;gap:16px;color:#536759;margin:8px 0}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#bacabb;flex:1}.auth-upcoming{margin-top:8px}.auth-upcoming summary{cursor:pointer}.auth-upcoming p{line-height:1.5}

/* Compact layouts retain readable text and comfortable primary controls. */
.login .hero,.signup .hero,.email-login .hero{text-align:center}
.login .hero h1,.signup .hero h1,.email-login .hero h1{font-size:26px;line-height:1.2}
.auth-upcoming summary{min-height:44px;padding:10px 0;font-size:13px}
.brand small{font-size:11px;letter-spacing:0}
.cover:after{right:0;max-width:45%;pointer-events:none}
.screen{font-size:16px}.screen p{font-size:15px}.screen small,.screen .small{font-size:13px}.screen .eyebrow{font-size:11px}.screen h3{font-size:17px}.screen .row strong,.screen .choice strong{font-size:15px}.large-text .screen{font-size:19px}.large-text .screen p,.large-text .screen .button,.large-text .screen .row strong,.large-text .screen .choice strong{font-size:19px}.large-text .screen small,.large-text .screen .small{font-size:16px}.word-picture{display:block;width:min(100%,240px);height:180px;object-fit:contain;margin:0 auto}.answer-option{min-height:56px;font-size:19px}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.live-sentence{padding:8px 0}.live-sentence p{margin-bottom:0}

.word-illustration{display:grid;place-items:center;font-size:76px;min-height:150px;color:var(--ink)}.scene-illustration{font-size:88px;min-height:170px}

/* Tarifübersicht */
.app-shell:has(.screen.pricing){max-width:1180px}.screen.pricing{gap:22px;padding:calc(clamp(20px,4vw,48px) + env(safe-area-inset-top)) clamp(20px,4vw,48px) calc(clamp(20px,4vw,48px) + env(safe-area-inset-bottom))}.pricing-heading{max-width:760px;margin:0 auto 2px;text-align:center;display:grid;gap:12px}.pricing-heading .brand{justify-content:center;margin-bottom:10px}.pricing-heading .eyebrow{margin-top:12px}.pricing-heading h1{font-size:clamp(30px,5vw,46px)}.pricing-heading>p:last-child{font-size:16px}.pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}.pricing-card{display:flex;flex-direction:column;gap:14px;min-width:0;padding:20px}.pricing-group{display:inline-block;margin-bottom:8px;color:var(--accent);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.pricing-card h2{font-size:20px;overflow-wrap:anywhere;min-height:48px}.pricing-cost{min-height:54px;display:flex;align-items:center}.pricing-cost>strong{font-size:30px;letter-spacing:-.7px}.pricing-cost>div{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}.pricing-cost>div strong{font-size:22px;letter-spacing:-.5px}.pricing-cost>div span{font-size:15px;font-weight:700;color:var(--secondary)}.pricing-exact{font-size:14px;font-weight:750;line-height:1.35;min-height:38px;overflow-wrap:anywhere}.pricing-period{min-height:50px;font-size:13px;line-height:1.75;color:var(--secondary)}.pricing-period b{color:var(--ink)}.pricing-card .button{margin-top:auto;font-size:13px}.pricing-contact{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px}.pricing-contact h2{margin:6px 0}.pricing-contact-line{margin-top:8px;font-weight:750}.pricing-contact .button{max-width:280px;flex:none}.pricing-note{max-width:780px;margin:0 auto}.screen.pricing>.footer-note{margin-top:0}.settings .pricing-entry{display:none}@media(min-width:760px){.pricing-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.pricing-card{padding:18px}}@media(max-width:600px){.screen.pricing{padding-left:16px;padding-right:16px;gap:16px}.pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pricing-card{padding:14px;gap:10px}.pricing-card h2{font-size:16px;min-height:44px}.pricing-cost>strong{font-size:26px}.pricing-cost>div{gap:3px}.pricing-cost>div strong{font-size:18px}.pricing-cost>div span{font-size:12px}.pricing-exact{font-size:12px;min-height:34px}.pricing-period{font-size:12px;min-height:48px}.pricing-card .button{font-size:11px;padding:9px 7px}.pricing-contact{align-items:stretch;flex-direction:column;padding:17px}.pricing-contact .button{max-width:none}}@media(max-width:360px){.pricing-grid{grid-template-columns:1fr}.pricing-card h2{min-height:0}.pricing-exact{min-height:0}.pricing-period{min-height:0}}
.message-line{display:flex;align-items:center;gap:6px}.message-line.self .chat-bubble{margin-left:auto}.message-delete{flex:0 0 40px;min-width:40px;min-height:40px;border:0;border-radius:50%;background:transparent;color:var(--secondary)}.message-delete:hover,.message-delete:focus-visible{background:#ffffffa8}
@media(max-width:350px){.post-actions{flex-wrap:wrap;justify-content:flex-start;gap:4px}.post-action{min-width:44px}}

/* Reserve the app viewport before JavaScript replaces the accessible boot fallback. */
#app{display:flow-root;min-height:100dvh}

/* Keep settings actions and metadata clear of the fixed mobile navigation. */
.screen.settings{gap:8px}
.screen.settings>p.footer-note:first-of-type{margin-top:18px}
.screen.post-detail .two-title small{display:inline-block;padding:5px 6px;border-radius:8px;background:#fff}

@media(max-width:360px){
 .screen{padding-left:12px;padding-right:12px}
 h1,.welcome .hero h1{font-size:24px;letter-spacing:-.7px;overflow-wrap:anywhere}
 h2{font-size:19px;overflow-wrap:anywhere}
 .hero p,.screen p,.screen small,.screen .small,.screen strong,.screen h3,.screen .eyebrow{overflow-wrap:anywhere}
 .screen li{overflow-wrap:anywhere}
 .screen>*{min-width:0;max-width:100%}
 .screen .grid{grid-template-columns:minmax(0,1fr);gap:8px}
 .topline{gap:6px;flex-wrap:wrap}
 .topline>*,.header>*{min-width:0}
 .header{gap:5px}
 .header-title{overflow-wrap:anywhere}
 .header .end{min-width:28px}
 .brand{font-size:18px;gap:5px;min-width:0}
 .brand .logo,.logo{width:30px;height:30px}
 .icon-button{width:36px;height:36px;min-width:36px}
 .icon{width:19px;height:19px}
 .row{gap:7px;padding-left:2px;padding-right:2px}
 .row .icon:last-child{width:16px;height:16px}
 .row .row-copy{overflow-wrap:anywhere}
 .choice{gap:8px;min-width:0}
 .choice>*{min-width:0;overflow-wrap:anywhere}
 .button{padding-left:9px;padding-right:9px;overflow-wrap:anywhere}
 .field,.input{min-width:0}
 .input{padding-left:9px;padding-right:9px}
 .profile-stats{gap:5px;flex-wrap:wrap}
 .profile-stats>*{flex:1 1 28%;min-width:0;overflow-wrap:anywhere}
 .cover{overflow:hidden;border-radius:16px}
 .avatar.large{max-width:100%;width:min(92px,100%)}
 .bottom-nav{width:calc(100% - 16px);padding:4px;gap:2px}
 .nav-item{width:32px;height:36px;min-width:32px}
 .nav-item .icon{width:18px;height:18px}
 .calendar{grid-template-columns:repeat(7,minmax(24px,1fr));gap:2px;overflow-x:auto}
 .calendar button{width:100%;min-height:24px}
 .time-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
 .time-grid .chip{min-width:0;overflow-wrap:anywhere}
}
.auth .provider-signin{min-height:48px;display:flex;align-items:center;justify-content:center;gap:10px;border-radius:16px;font-size:13px}
.provider-signin svg{width:20px;height:20px;flex:none;fill:currentColor}
.passkey-signin:disabled{opacity:.62;cursor:not-allowed}
.passkey-signin span{display:flex;flex-direction:column;align-items:flex-start;line-height:1.3}
.passkey-signin small{font-size:10px;font-weight:400}

.booking-done .hero{background:rgba(255,255,255,.96);border-radius:16px;padding:14px}
.booking-done .hero h1{line-height:1.35}

/* Keep common mobile actions comfortably tappable on narrow phones. */
.chip{min-width:44px;min-height:44px}
.token{min-width:44px}
.message-delete{flex-basis:44px;min-width:44px;min-height:44px}
.composer .icon-button{width:44px;height:44px;min-width:44px}
@media(max-width:350px){
 .icon-button{width:44px;height:44px;min-width:44px}
 .nav-item{width:44px;height:44px;min-width:44px}
 .bottom-nav{gap:0;padding-inline:6px}
}
.message-reply-preview{display:grid;gap:2px;padding:6px 9px;margin:0 0 6px;border-inline-start:3px solid var(--turquoise);border-radius:6px;background:#ffffff70;max-width:100%}.message-reply-preview span{font-size:12px;line-height:1.35;overflow-wrap:anywhere}.message-reply-composer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;border-inline-start:3px solid var(--accent);border-radius:12px;background:#ffffffb8}.message-reply-composer span{display:grid;gap:2px;min-width:0}.message-reply-composer strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:260px}

.communication-call{position:fixed;z-index:100;left:50%;transform:translateX(-50%);bottom:calc(12px + env(safe-area-inset-bottom));width:min(94vw,480px);max-height:90dvh;overflow:auto;background:#eaf9fc;display:flex;flex-direction:column;gap:12px}.communication-call[hidden],.communication-call [hidden]{display:none!important}.communication-call .call-video-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.communication-call video{width:100%;max-height:32dvh;min-height:80px;background:#12383e;border-radius:14px;object-fit:contain}

/* Keep long chat labels separate without letting the navigation button consume the header. */
.screen.chat .topline>.button{width:auto;flex:none}
.screen.chat .two-title{min-width:0;flex:1}
.screen.chat .two-title>span{display:flex;flex-direction:column;gap:3px;min-width:0;overflow-wrap:anywhere}

/* Comfortable reading, 24 October 2026. Relative type respects browser text preferences. */
:root{--ink:#17191c;--secondary:#45505a;--accent:#006b70;--glass:linear-gradient(145deg,rgba(255,255,255,.97),rgba(255,255,255,.91));font-size:112.5%;line-height:1.6}
body{background:#fafaf7}
.app-shell:not(.call){background:#fafaf7}
.screen,.large-text .screen{font-size:1rem;gap:18px}
.screen p,.screen .hero p,.large-text .screen p{font-size:1rem;line-height:1.6}
.screen small,.screen .small,.large-text .screen small,.large-text .screen .small{font-size:.84rem;line-height:1.55}
.screen .eyebrow{font-size:.73rem;letter-spacing:1.1px}
.screen h1,.screen .hero h1{font-size:1.9rem;line-height:1.18;letter-spacing:-.025em;overflow-wrap:anywhere}
.screen h2{font-size:1.5rem;line-height:1.3;letter-spacing:-.015em}
.screen h3{font-size:1.2rem;line-height:1.4}
.screen .header-title,.screen .field,.screen legend{font-size:.9rem}
.glass{border-color:#dfe4e1;box-shadow:0 5px 20px #17202a0d,inset 0 1px 0 #fff;backdrop-filter:blur(20px) saturate(130%);-webkit-backdrop-filter:blur(20px) saturate(130%)}
.screen .button,.screen .input,.screen .chat-bubble,.large-text .screen .button{font-size:1rem;line-height:1.5}
.screen .button{min-height:58px;white-space:normal;overflow-wrap:anywhere}
.screen .primary{background:linear-gradient(150deg,#007b7d,#006b70);color:#fff;border-color:#006b70;box-shadow:inset 0 1px 0 #ffffff50,0 5px 15px #006b701f}
.screen .input{min-height:54px;background:#fff;border-color:#a8b5b4}
.screen .row strong,.screen .choice strong,.screen .switch-row strong,.large-text .screen .row strong,.large-text .screen .choice strong{font-size:1rem;line-height:1.45}
.screen .row,.screen .choice{min-height:64px}
.screen .choice{gap:12px;padding:16px;overflow-wrap:anywhere}
.screen .choice .copy{min-width:0}
.screen .chip{min-height:44px;font-size:.88rem;line-height:1.5}
.screen .notice,.screen .footer-note,.screen .link-button,.screen .success-text,.screen .error-text,.screen .status,.screen .demo-label,.screen .post-action,.screen .stories a,.screen .word-review-history{font-size:.84rem;line-height:1.6}
.screen .notice{background:#fff;border-color:#dfe4e1;color:var(--secondary)}
.screen .success-text{color:#175c34;background:#e8f6ed;border:1px solid #2a7c47;border-radius:14px;padding:12px}
.screen .error-text{color:#802921;background:#fff0ed;border:1px solid #ad3b31;border-radius:14px;padding:12px}
.screen .icon-button{width:48px;height:48px;min-width:48px;flex-shrink:0}
.bottom-nav{background:rgba(255,255,255,.94);border-color:#dfe4e1;box-shadow:0 5px 24px #17202a18,inset 0 1px 0 #fff}
.nav-item{min-width:44px;min-height:48px}
.screen .quick-check{display:grid;gap:16px}
.screen .answer-correct{background:#e8f6ed;border:2px solid #2a7c47;color:#173d25}
.screen .answer-wrong{background:#fff0ed;border:2px solid #ad3b31;color:#64231d}
.answer-mark{margin-left:auto;font-size:1.35rem;font-weight:800;flex-shrink:0}
.answer-feedback{display:grid;gap:4px;padding:14px 16px;border-radius:16px;font-size:1rem;line-height:1.5}
.answer-feedback.is-correct{background:#e8f6ed;color:#173d25;border:1px solid #2a7c47}
.answer-feedback.is-wrong{background:#fff0ed;color:#64231d;border:1px solid #ad3b31}
html.large-text{font-size:125%}
html.high-contrast{--ink:#000;--secondary:#20252a;--glass:#fff}
@media(max-width:350px){.screen h1,.screen .hero h1{font-size:1.7rem}.screen{padding-left:16px;padding-right:16px}.screen .grid{grid-template-columns:1fr}.screen .inline-actions{flex-direction:column}}
@media(prefers-reduced-transparency:reduce){:root{--glass:#fff}.glass,.bottom-nav{backdrop-filter:none;-webkit-backdrop-filter:none;background:#fff}}

/* A wrapped keyboard skip link must stay completely offscreen until focused. */
.skip{top:0;transform:translateY(calc(-100% - 12px));max-width:calc(100vw - 24px);white-space:normal;overflow-wrap:anywhere}
.skip:focus{top:8px;transform:none}

/* Reflow long labels and chat controls when zoom leaves a very narrow viewport. */
.screen{overflow-wrap:anywhere}
.screen input[type=range]{width:100%;min-width:0;min-height:44px}
@media(max-width:350px){.screen .composer{flex-wrap:wrap}.screen .composer .input{flex:1 1 100%;width:100%}.screen .composer .icon-button{width:44px;height:44px;min-width:44px}}
@media(max-width:300px){.bottom-nav{flex-wrap:wrap;justify-content:center;gap:4px}.has-nav .screen{padding-bottom:calc(170px + env(safe-area-inset-bottom))}.screen.chat .topline,.screen.group-chat .topline{align-items:flex-start;flex-wrap:wrap}.screen.chat .two-title{flex-basis:100%}.screen .grid{grid-template-columns:minmax(0,1fr)}}

/* Disabled controls remain readable while their neutral surface indicates inactivity. */
.screen .button:disabled{opacity:1;background:#edf0ed;color:#45505a;border-color:#b5bfba;box-shadow:none}
.screen .primary small,.screen .primary .small{color:inherit}

/* Keep secondary scene labels scalable and consistent with comfortable reading. */
.screen .eyebrow{font-size:.84rem}
.screen .speech-tag,.screen .scene-label{font-size:.84rem;line-height:1.5}
.communication-call{background:#fafaf7}
/* WebKit gives native time/date controls an intrinsic width. Allow them to
   shrink inside the form instead of pushing the iPhone page sideways. */
.screen input:not([type=checkbox]):not([type=radio]):not([type=range]),.screen select,.screen textarea{min-width:0;max-width:100%}
.screen input[type=time],.screen input[type=date],.screen input[type=datetime-local]{width:100%;-webkit-appearance:none;appearance:none}
.screen input::-webkit-date-and-time-value{min-width:0;text-align:center}
/* Full-width language selectors avoid truncated native option names. Keep
   consent checkboxes visible and separated from their multiline labels. */
.screen.translate .grid{grid-template-columns:minmax(0,1fr)}
.screen .check-row{display:flex;align-items:flex-start;gap:10px;line-height:1.6}
.screen .check-row>input[type=checkbox]{width:24px;height:24px;min-width:24px;flex:none;margin:3px 0;accent-color:#006b70}
.screen .check-row>span{min-width:0;flex:1}
/* Long chat actions need whole words, even with the larger text setting. */
.screen .inline-actions .button{flex:1 1 10rem}
/* The native wrapper uses dark status-bar symbols. Keep their safe area light
   above the dark call screen, as on the other iPhone views. */
.app-shell.call::before{content:'';position:fixed;top:0;left:0;right:0;height:env(safe-area-inset-top);background:#fafaf7;z-index:40;pointer-events:none}
/* The signed-in matching form uses native selects without the input class. */
.screen select{display:block;width:100%;min-height:54px;padding:10px 14px;border:1px solid #a8b5b4;border-radius:16px;background:#fff;font-size:1rem}
.screen.matching .glass>label:not(.row){display:flex;flex-direction:column;gap:8px;margin:14px 0;font-size:.9rem}
.screen.matching .glass>small{display:block;margin-bottom:14px}
.screen .row>input[type=checkbox],.screen .row>input[type=radio]{width:24px;height:24px;min-width:24px;flex:none;accent-color:#006b70}

/* Hidden fallback content must remain hidden even when a component sets display. */
[hidden]:not([hidden="until-found"]){display:none!important}
.apple-signin img{flex:0 0 100%;min-width:0;max-width:100%}
.apple-signin-fallback{flex:0 0 100%;min-width:0}

/* Personal dictionary settings remain operable on touch screens. */
.dictionary-settings>summary{min-height:44px;cursor:pointer}

.chat-media-attachment{display:grid;gap:8px;max-width:100%;min-width:0}.chat-media-image,.chat-media-player{display:block;max-width:100%;width:100%;border-radius:12px}.chat-media-image{max-height:420px;object-fit:contain}.chat-media-player{min-width:0}.chat-media-attachment audio{min-width:0;width:100%}.chat-media-error{overflow-wrap:anywhere}progress{width:100%;max-width:100%}

/* Large files stay in streamed storage; previews fit the current screen. */
.post-media{display:block;max-width:100%;max-height:70vh;width:auto;height:auto;object-fit:contain;border-radius:18px;margin:12px auto}
.post-media-container{display:grid;gap:8px;margin-block:12px;min-width:0}
.post-media-container .link-button{overflow-wrap:anywhere}
form[data-form="post"] input[type="file"]{max-width:100%;width:100%}
form[data-form="post"] progress{width:100%}

/* Daily vocabulary training */
.trainer-word-heading{display:flex;align-items:baseline;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.trainer-word h2{overflow-wrap:anywhere}.trainer-word details>summary{cursor:pointer;min-height:44px;padding:.5rem 0}.trainer-word details[open]>div{margin-top:.75rem}.trainer-feedback{border-inline-start:4px solid var(--accent,#007b80);padding-inline-start:1rem}.trainer-cloze{font-size:1.25rem;line-height:1.6}.trainer-word .inline-actions{display:flex;gap:.5rem;flex-wrap:wrap}.trainer-word .inline-actions>*{flex:1 1 8rem;min-width:0}.trainer-words>*{min-width:0}

.field-error{display:block;color:var(--error-ink,#802921);font-size:12px;font-weight:650}.field-error:empty{display:none}input[aria-invalid="true"]{border-color:var(--error-line,#ad3b31)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--error-line,#ad3b31) 16%,transparent)}
/* Right-to-left UI languages (ar, he, fa, ur): mirror the few physical left/right rules. */
[dir=rtl] .row,[dir=rtl] .choice{text-align:right}
[dir=rtl] .header .end,[dir=rtl] .chat-bubble small{text-align:left}
[dir=rtl] .brand small,[dir=rtl] .auth .button .right,[dir=rtl] .chat-bubble.self,[dir=rtl] .message-line.self .chat-bubble,[dir=rtl] .answer-mark{margin-left:0;margin-right:auto}
[dir=rtl] .search .input{padding-left:12px;padding-right:39px}
[dir=rtl] .search>.icon{left:auto;right:12px}
[dir=rtl] .speech-tag{direction:ltr;unicode-bidi:isolate}
.brand{white-space:nowrap}.brand small{white-space:normal;min-width:0}
.screen.translate::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(70% 38% at 12% 8%,#00cec83d,transparent 72%),radial-gradient(60% 36% at 92% 42%,#5aa9ff30,transparent 72%),radial-gradient(70% 36% at 24% 96%,#7fe3bb33,transparent 72%)}
.translator{display:grid;gap:12px}
html[data-theme] .screen.translate .translator-card,html[data-theme] .screen.translate .translator-languages{background:linear-gradient(150deg,rgba(255,255,255,.62),rgba(255,255,255,.34));border:1px solid rgba(255,255,255,.78);box-shadow:0 12px 34px #17202a14,inset 0 1px 0 #ffffffd9,inset 0 -1px 0 #ffffff59;backdrop-filter:blur(26px) saturate(180%);-webkit-backdrop-filter:blur(26px) saturate(180%)}
html[data-theme=dark] .screen.translate .translator-card,html[data-theme=dark] .screen.translate .translator-languages{background:linear-gradient(150deg,rgba(44,66,79,.62),rgba(23,38,47,.46));border-color:#ffffff2e;box-shadow:0 12px 34px #0005,inset 0 1px 0 #ffffff29}
.translator-languages{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:4px;padding:6px;border-radius:999px}
.translator-language-pill{display:block;min-width:0}
.translator-language-pill select{appearance:none;-webkit-appearance:none;width:100%;min-height:44px;padding:0 6px;border:0;border-radius:999px;background:transparent;color:var(--ink);font:inherit;font-size:.86rem;font-weight:700;text-align:center;text-align-last:center;text-overflow:ellipsis}
.translator-language-pill select:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.translator-card{display:flex;flex-direction:column;gap:8px;padding:16px 18px 12px;border-radius:30px}
.translator-input-head{display:flex;align-items:center;justify-content:space-between;min-height:32px}
.translator-language{font-size:.84rem;font-weight:700;color:var(--accent)}
.translator-input{display:block}
html[data-theme] .screen.translate .translator-input textarea{background:transparent}
.translator-input textarea{display:block;width:100%;min-height:96px;max-height:40vh;padding:0;border:0;outline:0;resize:none;field-sizing:content;background:transparent;color:var(--ink);font:inherit;font-size:1.35rem;font-weight:600;line-height:1.35}
html[data-theme] .screen.translate .translator-input textarea:is(:focus,:focus-visible){outline:0;border:0;background:transparent;box-shadow:none}
html[data-theme] .screen.translate .translator-card:focus-within{border-color:var(--accent)}
.translator-input textarea::placeholder{color:var(--secondary);opacity:.75}
.translator-output{margin:0;font-size:1.35rem;font-weight:600;line-height:1.35;overflow-wrap:anywhere;white-space:pre-wrap}
.translator-tools{display:flex;align-items:center;gap:4px;min-height:44px}
.translator-tool{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;padding:0;border:0;border-radius:50%;background:transparent;color:var(--ink);cursor:pointer}
.translator-tool[hidden]{display:none}
.translator-tool:disabled{opacity:.35;cursor:default}
.translator-tool[aria-pressed=true],.translator-tool[data-speech-state=playing],.translator-tool[data-speech-state=paused]{background:#006b701f;color:var(--accent)}
@media(hover:hover){.translator-tool:hover:not(:disabled){background:#006b701f;color:var(--accent)}}
.translator-count{margin-inline-start:auto;font-size:.8rem;color:var(--secondary);font-variant-numeric:tabular-nums}
.screen .translator-submit{width:auto;min-height:44px;margin:0 0 0 8px;padding:0 18px;border-radius:999px;font-size:.95rem}
.translator-count,.screen .translator-submit{white-space:nowrap;overflow-wrap:normal;word-break:normal;hyphens:none}
@media(max-width:380px){.translator-count{display:none}.screen .translator-submit{margin-inline-start:auto}.translator-language-pill select{font-size:.8rem;padding:0 2px}}
.translator-status:empty{display:none}
.translator-status{margin:0;text-align:center}
.translator-note{margin:0;text-align:center;color:var(--secondary)}
.screen.translate>.check-row{margin-top:14px}
@media(prefers-reduced-transparency:reduce){html[data-theme] .screen.translate .translator-card,html[data-theme] .screen.translate .translator-languages{background:var(--surface);backdrop-filter:none;-webkit-backdrop-filter:none}}
html[data-theme].high-contrast .screen.translate .translator-card,html[data-theme].high-contrast .screen.translate .translator-languages{background:var(--surface);backdrop-filter:none;-webkit-backdrop-filter:none;border-color:var(--line)}
.screen .footer-note a,.screen a.small,.today a[href^="/repeat"],.today a[href^="/progress"],.today a[href^="/languages"]{display:inline-block;padding-block:7px}
.screen .post-action{min-width:44px;min-height:44px}
.screen .translator-note a{display:inline-block;padding-block:6px}
.screen details input[type=checkbox]{width:22px;height:22px}
#toast{top:calc(env(safe-area-inset-top) + 10px);bottom:auto;pointer-events:none}
.screen.dialog .composer{position:sticky;bottom:calc(96px + env(safe-area-inset-bottom));z-index:5}
.message-reactions,.message-actions{display:flex;flex-wrap:wrap;gap:6px;margin:-2px 12px 10px}.message-reactions.self,.message-actions.self{justify-content:flex-end}.message-reaction{min-width:44px;min-height:40px;padding:4px 10px;border-radius:20px;border:1px solid color-mix(in srgb,currentColor 22%,transparent);background:transparent;color:inherit;font:inherit;font-size:17px}.message-reaction[aria-pressed=true]{border-color:var(--accent);border-width:2px}.chat-search summary{min-height:44px;display:flex;align-items:center;cursor:pointer}
/* v136 chat redesign: larger type, glass header, compact composer, one message menu */
.chat-head{position:sticky;top:calc(6px + env(safe-area-inset-top));z-index:6;display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:28px;margin-bottom:6px}.chat-head .avatar{width:44px;height:44px;border-radius:50%;font-size:15px}.chat-head-copy{flex:1;min-width:0;line-height:1.25}.chat-head-copy strong{display:block;font-size:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-head-copy small{display:block;font-size:14px;color:var(--secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-head .icon-button{width:48px;height:48px;min-width:48px;box-shadow:none;border-color:transparent;background:transparent}.chat-head .icon-button .icon,.chat-composer .icon-button .icon,.chat-nav .icon{width:27px;height:27px}
.chat-menu,.attach-sheet{display:flex;flex-direction:column;gap:8px;border-radius:26px;margin:4px 0 8px}.chat-menu .button,.attach-sheet .button{justify-content:flex-start;gap:12px;font-size:17px;min-height:54px}.chat-note{display:flex;gap:8px;align-items:flex-start;font-size:14px}.chat-note .icon{flex:0 0 18px;width:18px;height:18px;margin-top:2px}
.messenger{gap:10px}.messenger .chat-bubble{font-size:18px;line-height:1.45;padding:10px 14px;border-radius:22px;max-width:84%}.messenger .chat-bubble.self{background:#0a7c80;color:#fff;border-color:#0a7c80}.messenger .chat-bubble.self small,.messenger .chat-bubble.self .small{color:#e6fffc}.messenger .chat-bubble small{font-size:13px}.message-line{gap:2px}.message-delete{flex:0 0 44px;min-width:44px;min-height:44px;font-size:22px}
.message-actions{gap:8px;padding:10px;border-radius:22px;background:var(--glass);border:1px solid #ffffffc9;box-shadow:var(--shadow);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.message-actions .button{width:auto;min-height:48px;font-size:16px;padding:8px 14px}.message-reaction{min-width:48px;min-height:48px;font-size:22px}
.chat-composer{position:sticky;bottom:calc(10px + env(safe-area-inset-bottom));z-index:6;gap:6px;padding:6px;border-radius:30px}.chat-composer .input{font-size:18px;min-height:46px}.chat-composer .icon-button{width:48px;height:48px;min-width:48px}.chat-composer .composer-send{background:#006b70;color:#fff;border-color:#006b70}.chat-composer:has(.input:placeholder-shown) .composer-send:not(.always){display:none}.chat-composer:not(:has(.input:placeholder-shown)) .composer-mic{display:none}
.screen-chat .bottom-nav,.screen-group-chat .bottom-nav{display:none}
.chip-row{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0 4px}.chip-row .chip{min-height:40px;padding:6px 16px;border-radius:20px;border:1px solid #ffffffc9;background:var(--glass);font-size:16px;color:var(--ink)}.chip-row .chip[aria-pressed=true]{background:#006b70;color:#fff;border-color:#006b70}
.chat-row{min-height:72px;padding:10px 4px}.chat-row .avatar{width:56px;height:56px;border-radius:50%;font-size:17px}.chat-row strong{font-size:18px}.chat-row small{font-size:15.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-row strong.missed{color:#b42318}.unread-badge{min-width:26px;height:26px;padding:0 8px;border-radius:13px;background:#006b70;color:#fff;font-size:14px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.chat-nav.bottom-nav{padding:8px 10px;border-radius:32px}.chat-nav .nav-item{width:56px;height:52px;border-radius:26px}.chat-nav .nav-item[aria-current=page]{background:rgba(0,107,112,.14);color:#006b70}.chat-nav .nav-item[aria-current=page]:after{display:none}
.communication-call.controls-hidden [data-call-controls],.communication-call.controls-hidden [data-call-name],.communication-call.controls-hidden [data-call-status]{opacity:0;pointer-events:none}.communication-call [data-call-controls],.communication-call [data-call-name],.communication-call [data-call-status]{transition:opacity .3s}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .chip-row .chip[aria-pressed=true],:root:not([data-theme=light]) .unread-badge{background:#88eee4;color:#04302f}}
:root[data-theme=dark] .chip-row .chip[aria-pressed=true],:root[data-theme=dark] .unread-badge{background:#88eee4;color:#04302f}
@media (max-width:320px){.chat-head{gap:2px;padding:4px 6px}.chat-head .avatar{display:none}.chat-head .icon-button{width:40px;min-width:40px;height:40px}.chat-composer .icon-button{width:42px;min-width:42px;height:42px}}
.chat-head-who{flex:1;min-width:0;display:flex;align-items:center;gap:10px;border:0;background:none;padding:0;text-align:left;color:inherit}
html[data-theme] .chat-head .icon-button{background:transparent;border-color:transparent;box-shadow:none}
html[data-theme] .messenger .chat-bubble.self{background:var(--accent);color:var(--primary-ink);border-color:var(--accent);box-shadow:none}html[data-theme] .messenger .chat-bubble.self small,html[data-theme] .messenger .chat-bubble.self .small{color:var(--primary-ink);opacity:.85}
html[data-theme] .chip-row .chip[aria-pressed=true],html[data-theme] .chat-composer .composer-send{background:var(--accent);color:var(--primary-ink);border-color:var(--accent);box-shadow:none}
.messenger .chat-bubble{-webkit-touch-callout:none;user-select:none}.message-line .message-delete{opacity:.6}
/* v137: closer to the approved design */
.messenger .chat-bubble small{display:flex;justify-content:flex-end;align-items:center;gap:4px;margin-top:2px}.ticks{font-size:13px;letter-spacing:-3px;padding-right:3px}.ticks.read{color:#1aa7c4}html[data-theme] .messenger .chat-bubble.self .ticks.read{color:var(--primary-ink);opacity:1;font-weight:700}
.message-actions{flex-direction:column;align-items:stretch;max-width:300px;padding:8px}.message-actions.self{margin-left:auto}.message-actions .reaction-row{display:flex;flex-wrap:wrap;gap:4px;justify-content:space-between;padding:2px 2px 8px;border-bottom:1px solid var(--soft-line,#0001)}.message-actions>.button{justify-content:flex-start;gap:14px;border:0;background:transparent;box-shadow:none;font-size:17px;min-height:50px}.message-actions>.button[data-action^=delete],.message-actions>.button[data-action^=report]{color:#b42318}
.attach-sheet{padding:16px}.attach-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px 6px}.attach-tile{display:flex;flex-direction:column;align-items:center;gap:6px;border:0;background:none;color:var(--ink);font-size:14px;min-height:44px}.attach-icon{width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center}.attach-icon .icon{width:27px;height:27px}.tone-blue{background:#e1f0fb;color:#0c447c}.tone-coral{background:#fbe7dc;color:#712b13}.tone-violet{background:#e4e0fb;color:#3c3489}.tone-amber{background:#faeeda;color:#633806}.tone-teal{background:#c9f1ea;color:#004b4f}
.chat-composer:not(:has(.input:placeholder-shown)) .composer-camera{display:none}html[data-theme] .chat-composer .composer-camera{background:transparent;border-color:transparent;box-shadow:none}
.call-controls{display:flex;justify-content:center;gap:18px;padding:10px 16px;border-radius:40px;background:rgba(16,40,42,.55);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.call-round{width:62px;height:62px;border-radius:50%;border:1px solid #ffffff55;background:#ffffff26;color:#fff;display:inline-flex;align-items:center;justify-content:center}.call-round .icon{width:28px;height:28px}.call-round[aria-pressed=true]{background:#fff;color:#12383e}.call-round.end{background:#e24b4a;border-color:#e24b4a}
.attach-tile{font-size:13px;word-break:keep-all;overflow-wrap:normal;white-space:nowrap}html[data-theme] .message-actions>.button{background:transparent;border-color:transparent;box-shadow:none}.message-actions .reaction-row{order:-2}.message-actions>[data-action^=reply]{order:-1}.message-actions>[data-action^=delete],.message-actions>[data-action^=report]{order:5}
.communication-call.video-call{inset:0;left:0;bottom:0;transform:none;width:100%;max-height:none;height:100dvh;border-radius:0;border:0;padding:calc(14px + env(safe-area-inset-top)) 14px calc(18px + env(safe-area-inset-bottom));color:#fff;justify-content:flex-start;overflow:hidden}html[data-theme] .communication-call.video-call,.communication-call.video-call{background:#0b1f20}.communication-call.video-call>*{position:relative;z-index:1}.communication-call.video-call [data-call-name]{text-align:center;font-size:21px;margin:4px 0 0}.communication-call.video-call [data-call-status]{text-align:center;opacity:.85;margin:0}.communication-call.video-call .call-video-grid{position:absolute;inset:0;z-index:0;display:block}.communication-call.video-call [data-call-remote]{position:absolute;inset:0;width:100%;height:100%;max-height:none;border-radius:0;object-fit:cover;background:#0b1f20}.communication-call.video-call [data-call-local]{position:absolute;top:calc(84px + env(safe-area-inset-top));right:14px;width:104px;height:150px;min-height:0;max-height:none;border-radius:20px;object-fit:cover;border:1px solid #ffffff55;z-index:2}.communication-call.video-call [data-call-controls]{margin-top:auto}
html[data-theme] .communication-call.video-call,html[data-theme] .communication-call.video-call [data-call-name],html[data-theme] .communication-call.video-call [data-call-status]{color:#fff;text-shadow:0 1px 4px #0009}
/* v138: translation under messages, small call window */
.msg-translation{display:flex;gap:6px;align-items:flex-start;margin-top:6px;padding-top:6px;border-top:1px solid color-mix(in srgb,currentColor 18%,transparent);font-size:16px;opacity:.9}.msg-translation .icon{flex:0 0 16px;width:16px;height:16px;margin-top:3px}
.communication-call.call-mini{inset:auto;top:calc(80px + env(safe-area-inset-top));right:12px;left:auto;bottom:auto;transform:none;width:124px;height:176px;max-height:none;padding:0;border-radius:22px;overflow:hidden;cursor:pointer;box-shadow:0 12px 30px #0006}.communication-call.call-mini>*:not(.call-video-grid){display:none!important}.communication-call.call-mini .call-video-grid{position:absolute;inset:0;display:block}.communication-call.call-mini [data-call-remote]{position:absolute;inset:0;width:100%;height:100%;max-height:none;border-radius:0;object-fit:cover}.communication-call.call-mini [data-call-local]{display:none}
/* v140: chat list search, pinned items, forward sheet, contact page */
.chat-list-search{display:flex;align-items:center;gap:10px;padding:4px 14px;border-radius:999px;margin:4px 0 10px}
.chat-list-search .icon{flex-shrink:0;opacity:.7}
.chat-list-search .input{border:0;background:transparent;box-shadow:none;min-height:46px;font-size:1.08rem;padding:0;width:100%}
.chat-row[hidden],.row[hidden]{display:none!important}
.pinned-mark{display:inline-flex;margin-left:6px;vertical-align:middle;opacity:.7}
.pinned-mark .icon{width:16px;height:16px}
.pinned-banner{display:flex;align-items:center;gap:10px;padding:8px 8px 8px 14px;border-radius:18px;margin:6px 0;font-size:1rem}
.pinned-banner>.icon{flex-shrink:0;color:var(--accent,#0a84ff)}
.pinned-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.forward-sheet{border-radius:22px;padding:14px;margin:8px 0;display:grid;gap:8px}
.forward-sheet h3{margin:0}
.forward-sheet .row{width:100%;text-align:left;background:transparent;border:0;cursor:pointer}
.composer-translate{flex-shrink:0}
.contact-hero{display:grid;justify-items:center;gap:6px;text-align:center;margin:8px 0 18px}
.contact-hero .avatar{width:120px;height:120px;border-radius:44px;font-size:2.6rem}
.contact-hero h1{margin:8px 0 0;font-size:1.9rem}
.contact-actions{margin-bottom:14px}
.contact-menu{position:static;margin-top:10px}
@media (max-width:360px){.chat-composer .composer-camera{display:none}}
/* v141: calmer messenger look - plain round avatars, flat bubbles with corner tail, day separators, list times */
.chat-avatar{border:0!important;outline:0!important;box-shadow:none!important;border-radius:50%!important;color:#fff!important;font-weight:700;letter-spacing:.5px}
.chat-avatar .icon{width:58%;height:58%;stroke:#fff}
.chat-avatar.tone-0{background:#2a9d8f!important}.chat-avatar.tone-1{background:#5b7fdb!important}.chat-avatar.tone-2{background:#c2689a!important}.chat-avatar.tone-3{background:#d98b3a!important}.chat-avatar.tone-4{background:#7a6ad8!important}.chat-avatar.tone-5{background:#3f8fb5!important}
.chat-row{position:relative;gap:14px;border-radius:0}
.chat-row+.chat-row::after{content:"";position:absolute;top:0;right:4px;left:74px;border-top:1px solid rgba(120,130,140,.18)}
.chat-row .row-copy{flex:1;min-width:0}
.chat-meta{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex-shrink:0;align-self:flex-start;padding-top:4px}
.chat-time{font-size:14px;color:var(--secondary);white-space:nowrap}
.chat-meta:has(.unread-badge) .chat-time{color:var(--accent);font-weight:700}
.chat-list-search{background:rgba(118,118,128,.12)!important;border:0!important;box-shadow:none!important;border-radius:14px;padding:2px 14px}
.chat-list-search .input{min-height:44px;background:transparent!important;border:0!important;box-shadow:none!important}
.chip-row .chip{border:0!important;box-shadow:none!important;background:rgba(118,118,128,.12)!important}
.chip-row .chip[aria-pressed=true]{background:var(--accent)!important;color:var(--primary-ink,#fff)!important}
.chat-head{box-shadow:none;border:0}
.chat-head .avatar{width:42px;height:42px;font-size:15px}
.messenger .chat-bubble{border:0!important;border-radius:18px;box-shadow:0 1px 1.5px rgba(0,0,0,.13)}
.messenger .message-line:not(.self) .chat-bubble{border-bottom-left-radius:5px}
.messenger .message-line.self .chat-bubble{border-bottom-right-radius:5px}
.messenger .message-line.self{flex-direction:row-reverse}
.messenger .message-line.self .chat-bubble{margin-left:0}
.messenger .message-line .message-delete{flex:0 0 32px;min-width:32px;min-height:32px;opacity:0;transition:opacity .15s}
.messenger .message-line:hover .message-delete,.messenger .message-line .message-delete:focus-visible,.messenger .message-line .message-delete[aria-expanded=true]{opacity:.7}
.day-chip{display:flex;justify-content:center;margin:8px 0 2px}
.day-chip span{font-size:14px;font-weight:600;padding:4px 12px;border-radius:10px;background:rgba(118,118,128,.14);color:var(--secondary)}
.chat-composer .composer-mic,.chat-composer .composer-send{background:var(--accent)!important;color:#fff!important;border:0!important}
.chat-composer .composer-mic .icon,.chat-composer .composer-send .icon{stroke:#fff}
[dir=rtl] .messenger .message-line:not(.self) .chat-bubble{border-bottom-left-radius:18px;border-bottom-right-radius:5px}
[dir=rtl] .messenger .message-line.self .chat-bubble{border-bottom-right-radius:18px;border-bottom-left-radius:5px}
[dir=rtl] .chat-row+.chat-row::after{left:4px;right:74px}
/* v142: learning in chat - word sheet, corrections, topics, tandem timer, streak */
.word-sheet,.topic-sheet{border-radius:22px;padding:14px;margin:8px 0;display:grid;gap:10px}
.word-sheet h3,.topic-sheet h3{margin:0}
.word-chips{display:flex;flex-wrap:wrap;gap:8px}
.word-chips .chip{min-height:44px;font-size:17px;border:0;background:rgba(118,118,128,.12)}
.word-chips .chip[aria-pressed=true]{background:var(--accent);color:#fff}
.word-result{font-size:18px;display:grid;gap:8px}
.topic-card{display:block;width:100%;text-align:left;font-size:17px;padding:14px 16px;border-radius:16px;border:0;background:rgba(118,118,128,.12);color:inherit;cursor:pointer}
.msg-correction{display:grid;gap:2px}
.corr-label{font-size:13px;font-weight:700;opacity:.85}
.msg-correction .msg-text{color:#1f8a3b;font-weight:600}
.self .msg-correction .msg-text{color:inherit;text-decoration:underline;text-decoration-color:#7ee2a0;text-underline-offset:3px}
.tandem-banner{display:flex;align-items:center;gap:10px;padding:8px 8px 8px 14px;border-radius:18px;margin:6px 0;font-size:17px;font-weight:600}
.tandem-banner [data-tandem-label]{flex:1;min-width:0}
.chat-streak{margin:-4px 0 8px;font-size:16px;font-weight:600;color:var(--secondary)}
/* v143: WhatsApp-like chat handling - floating message menu, swipe to reply, stars, mute/archive, emoji, media viewer, wallpaper */
.messenger .message-line{touch-action:pan-y;transition:transform .18s ease;position:relative}
.messenger .message-line.swiping{transition:none}
.messenger .message-line.swiping::before{content:"↩";position:absolute;left:-40px;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:20px;background:rgba(118,118,128,.18);opacity:.5}
.messenger .message-line.swipe-ready::before{opacity:1;background:#006b70;color:#fff}
.message-backdrop{position:fixed;inset:0;z-index:40;border:0;padding:0;margin:0;background:rgba(10,20,22,.38);backdrop-filter:blur(8px) saturate(1.2);-webkit-backdrop-filter:blur(8px) saturate(1.2);cursor:default}
.messenger .message-line.actions-open{z-index:41}
.messenger .message-line.actions-open .chat-bubble{box-shadow:0 10px 30px rgba(0,0,0,.25);transform:scale(1.02)}
.message-backdrop+.message-actions{position:relative;z-index:41;box-shadow:0 18px 40px rgba(0,0,0,.28)}
.message-actions .reaction-row{order:-2}
.message-actions>.button[data-action^=reply]{order:-1}
.message-actions>.button[data-action=hide-message]{order:8}
.message-actions>.button[data-action^=delete],.message-actions>.button[data-action^=report]{order:9}
.message-actions .reaction-row .message-reaction{font-size:26px;min-width:46px;min-height:46px}
.star-mark{align-self:flex-end;font-size:16px;color:#c98a00;margin:0 2px 6px}
.archive-row{width:100%;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;min-height:56px}
.archive-row .icon{width:26px;height:26px;margin:0 14px 0 12px}
.muted-mark .icon{width:20px;height:20px;opacity:.6}
.muted-mark{position:relative;display:inline-flex}
.muted-mark::after{content:"";position:absolute;left:-1px;right:-1px;top:50%;height:2px;background:currentColor;transform:rotate(-40deg);opacity:.7}
.unread-badge.muted{background:rgba(118,118,128,.45);color:#fff}
.unread-badge.dot{min-width:16px;width:16px;height:16px;padding:0}
.composer-emoji{flex:0 0 auto}
.emoji-sheet{display:grid;grid-template-columns:repeat(auto-fill,minmax(52px,1fr));gap:4px;padding:10px;border-radius:24px;margin:4px 0 8px;max-height:236px;overflow:auto}
.emoji-key{font-size:30px;min-height:52px;border:0;border-radius:14px;background:transparent;cursor:pointer}
.emoji-key:hover,.emoji-key:focus-visible{background:rgba(118,118,128,.16)}
.starred-sheet{border-radius:22px;padding:14px;margin:8px 0;display:grid;gap:10px}
.starred-sheet h3{margin:0;display:flex;align-items:center;gap:8px;font-size:20px}
.starred-item{display:grid;gap:4px;padding:12px 14px;border-radius:16px;background:rgba(118,118,128,.12)}
.starred-item p{margin:0;font-size:18px}
.starred-item .button{justify-self:start;min-height:44px}
.chat-media-open{display:block;padding:0;border:0;background:none;cursor:zoom-in;border-radius:16px;overflow:hidden;max-width:100%}
.chat-media-open img{display:block}
.audio-speed{min-height:40px;min-width:56px;font-size:17px;font-weight:700;margin-top:6px}
.media-viewer{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.94);display:grid;place-items:center;touch-action:none}
.media-viewer-image{max-width:100vw;max-height:calc(100vh - 140px);object-fit:contain;user-select:none;-webkit-user-drag:none}
.media-viewer .icon-button{position:absolute;width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.18);color:#fff;border:1px solid rgba(255,255,255,.35);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.media-viewer .icon-button .icon{width:28px;height:28px}
.media-viewer-close{top:calc(14px + env(safe-area-inset-top));right:14px}
.media-viewer-prev{left:12px;top:50%}
.media-viewer-next{right:12px;top:50%}
.media-viewer-count{position:absolute;bottom:calc(18px + env(safe-area-inset-bottom));left:0;right:0;text-align:center;color:#fff;font-size:18px;margin:0}
.chat-stream.messenger{padding:10px 8px;border-radius:24px;background-color:rgba(0,107,112,.035);background-image:radial-gradient(rgba(0,107,112,.09) 1.2px,transparent 1.3px),radial-gradient(rgba(0,107,112,.06) 1px,transparent 1.1px);background-size:26px 26px,26px 26px;background-position:0 0,13px 13px}
html[data-theme=dark] .chat-stream.messenger{background-color:rgba(136,238,228,.03);background-image:radial-gradient(rgba(136,238,228,.08) 1.2px,transparent 1.3px),radial-gradient(rgba(136,238,228,.05) 1px,transparent 1.1px)}
@media (prefers-color-scheme:dark){html:not([data-theme=light]) .chat-stream.messenger{background-color:rgba(136,238,228,.03);background-image:radial-gradient(rgba(136,238,228,.08) 1.2px,transparent 1.3px),radial-gradient(rgba(136,238,228,.05) 1px,transparent 1.1px)}}
html[data-theme=dark] .message-backdrop{background:rgba(0,0,0,.55)}
@media (prefers-reduced-motion:reduce){.messenger .message-line{transition:none}.messenger .message-line.actions-open .chat-bubble{transform:none}}
[dir=rtl] .messenger .message-line.swiping::before{left:auto;right:-40px}
.message-backdrop+.message-actions{position:fixed;left:50%;right:auto;transform:translateX(-50%);bottom:calc(14px + env(safe-area-inset-bottom));top:auto;width:min(380px,calc(100vw - 32px));max-width:none;max-height:min(58vh,560px);overflow:auto;margin:0;z-index:42;overscroll-behavior:contain;flex-wrap:nowrap}
.message-backdrop+.message-actions>*{flex-shrink:0}
[dir=rtl] .message-backdrop+.message-actions{transform:translateX(50%);left:auto;right:50%}
.messenger .chat-bubble{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.messenger .chat-bubble form,.messenger .chat-bubble textarea{-webkit-user-select:text;user-select:text}
