:root{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#263d35;background:#e8e9e3;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #ed734f;outline-offset:4px}.app{max-width:480px;margin:auto;min-height:100dvh;background:#f8f5f0;padding:0 24px calc(95px + env(safe-area-inset-bottom));position:relative}header{height:88px;display:flex;align-items:center;justify-content:space-between}.brand{font-family:Georgia,serif;font-weight:700;font-size:36px;letter-spacing:-2px;color:inherit;text-decoration:none}.brand span{display:inline-block;color:#ea7655;font:32px system-ui;margin-left:4px}.demo{font-size:10px;letter-spacing:1.4px;border:1px solid #d8ddd4;border-radius:20px;padding:7px 10px;color:#637167}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#7a857a;margin:8px 0 10px}h1,h2{font-family:Georgia,serif;font-weight:400;letter-spacing:-1.1px}h1{font-size:35px;line-height:1.08;margin:0 0 9px}h2{font-size:32px;margin:12px 0}.intro{font-size:13px;color:#7b8077;margin:0 0 21px}.card{height:clamp(325px,51dvh,490px);border-radius:25px;position:relative;overflow:hidden;background:var(--bg);box-shadow:0 12px 30px #283d3414;touch-action:pan-y;user-select:none;transition:transform .2s,opacity .2s}.portrait{position:absolute;inset:0;background:radial-gradient(ellipse at 75% 20%,#ffffff65,transparent 55%),linear-gradient(145deg,transparent,#16392d55);display:flex;align-items:center;justify-content:center}.portrait svg{width:100%;height:100%;pointer-events:none}.card:after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#172e24e8)}.card-top{position:absolute;top:18px;left:18px;z-index:1;background:#ffffffe6;color:#3a5146;padding:7px 11px;border-radius:16px;font-size:10px}.card-info{position:absolute;bottom:23px;left:23px;right:23px;z-index:1;color:white}.card-info h2{font-family:inherit;font-size:29px;font-weight:650;letter-spacing:-1px;margin:0 0 8px}.card-info h2 span{font-weight:350}.card-info p{font-size:13px;line-height:1.5;margin:6px 0 13px;max-width:310px}.tags{display:flex;gap:6px;flex-wrap:wrap}.tags span{font-size:10px;border:1px solid #ffffff65;border-radius:16px;padding:6px 10px;background:#ffffff15}.actions{display:flex;align-items:center;justify-content:center;gap:26px;padding:21px 0 10px}.actions button{width:63px;height:63px;border-radius:50%;border:1px solid #dfdfd6;color:#7a8275;background:#fffdf9;font-size:31px;box-shadow:0 5px 14px #1b332408}.actions .like{background:#e97654;border-color:#e97654;color:white;width:72px;height:72px}.hint{text-align:center;color:#8c9085;font-size:10px;margin:4px 0 12px;letter-spacing:.2px}nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);max-width:480px;width:100%;background:#f8f5f0f5;border-top:1px solid #e6e6dc;display:flex;justify-content:space-around;padding:11px 12px calc(14px + env(safe-area-inset-bottom));z-index:5;backdrop-filter:blur(15px)}nav button{position:relative;border:0;background:none;color:#8b9289;font-size:10px;display:flex;align-items:center;flex-direction:column;gap:4px;min-width:80px}nav button>span{font-size:25px;line-height:29px}nav button.active{color:#e16c4c}nav small:not(:empty){position:absolute;top:0;right:15px;background:#e97654;color:white;border-radius:10px;padding:1px 5px}.empty{padding:55px 15px;text-align:center}.empty>span{font-size:52px;color:#e97654}.muted{font-size:13px;color:#7b8077;line-height:1.6}.primary{border:0;background:#294b3b;color:white;border-radius:14px;padding:15px 24px;font-weight:600;width:100%;margin-top:15px}.match-row{display:flex;align-items:center;gap:15px;background:#fffdf9;border:1px solid #e7e7de;border-radius:18px;padding:17px;margin-bottom:12px}.avatar{border-radius:50%;background:var(--bg);color:#fff;font-family:Georgia,serif;font-size:27px;width:55px;height:55px;display:grid;place-items:center;flex-shrink:0}.match-row h3{font-size:16px;margin:0 0 4px}.match-row p{font-size:11px;color:#82877a;margin:0}label{display:block;font-size:13px;font-weight:600;margin:20px 0 8px}input,textarea{width:100%;background:#fffdf9;border:1px solid #dbdfd3;border-radius:12px;padding:14px;color:#263d35}textarea{resize:vertical;min-height:100px}.secondary{border:1px solid #d7dcd0;background:transparent;color:#62705f;border-radius:12px;padding:13px;width:100%;margin-top:24px;font-size:12px}dialog{border:0;border-radius:28px;background:#f8f5f0;color:#263d35;text-align:center;padding:35px 26px;max-width:360px;width:calc(100% - 40px)}dialog::backdrop{background:#19322788;backdrop-filter:blur(6px)}.match-icon{color:#e97654;font-size:65px}#notice{position:fixed;z-index:10;bottom:105px;left:50%;transform:translateX(-50%);background:#294b3b;color:white;border-radius:12px;padding:12px 20px;font-size:13px;max-width:90%;display:none}#notice.visible{display:block}@media(min-width:600px){.app{margin:25px auto;min-height:calc(100dvh - 50px);border-radius:30px;box-shadow:0 15px 65px #20342712}nav{bottom:25px;border-radius:0 0 30px 30px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.demo-tools{display:flex;justify-content:space-between;align-items:center;margin:-8px 0 24px;font-size:10px;color:#828879}.demo-tools button{border:0;background:none;color:#687565;font-size:11px;padding:8px 0 8px 10px}.hero{background:#dfe6d6;border-radius:22px;padding:25px;position:relative;overflow:hidden;margin-top:24px}.hero:after{content:"";position:absolute;width:180px;height:180px;border:1px solid #bac9ae;border-radius:50%;right:-70px;top:-50px;pointer-events:none}.hero-mark{font-size:50px;color:#728768;display:block;line-height:1;margin-bottom:25px}.hero h2{font-size:29px;line-height:1.15}.hero p:last-child{font-size:13px;line-height:1.7;max-width:300px;color:#5d6e56}.steps{list-style:none;padding:7px 0 0;margin:15px 0}.steps li{display:flex;align-items:center;gap:17px;padding:13px 0}.steps b{font:22px Georgia,serif;color:#bc8669}.steps span{font-size:13px;font-weight:600}.steps small{display:block;font-size:11px;color:#848878;font-weight:400;margin-top:4px}.premium-banner{width:100%;border:1px solid #dfd8c7;background:#efeadd;border-radius:17px;display:flex;gap:14px;align-items:center;text-align:left;color:#5c6046;padding:17px;margin:25px 0 12px}.premium-banner>span{font-size:29px}.premium-banner strong{font-size:12px}.premium-banner small{display:block;font-size:10px;line-height:1.6;margin-top:5px}.filters{display:flex;gap:8px;margin-bottom:18px}.filters button{border:1px solid #d9ddcf;background:transparent;color:#65705e;border-radius:20px;padding:9px 20px;font-size:12px}.filters button[aria-pressed=true]{background:#294b3b;color:white;border-color:#294b3b}.details{font-size:13px;line-height:1.65}.details>p{margin:19px 0;color:#62715c}dl{margin:15px 0}dt{font-size:10px;font-weight:600;letter-spacing:.5px;color:#8a907f;margin-top:12px}dd{margin:3px 0 0;font-size:12px;overflow-wrap:anywhere}.contact-actions{display:flex;gap:12px;margin:20px 0 14px}.contact-actions button{margin:0}.contact-actions .secondary{width:30%}.contact-actions .primary{width:70%}select{font:inherit;width:100%;background:#fffdf9;border:1px solid #dbdfd3;border-radius:12px;padding:14px;color:#263d35}.request-info{flex:1;min-width:0;overflow-wrap:anywhere}.status{display:inline-block;font-size:10px;border-radius:8px;padding:6px 8px;color:#657452;background:#e9edde;margin-top:9px;line-height:1.5}.text-button{display:block;background:none;border:0;color:#a96543;font-size:12px;padding:12px 0 0;text-align:left}.info-box{padding:18px;background:#e9edde;border-radius:16px;margin:20px 0;font-size:13px;line-height:1.6}.info-box p{font-size:12px;margin-bottom:0;color:#6c785f}.admin-application{border:1px solid #dce0d1;padding:20px;border-radius:20px;background:#fffdf9}.admin-application h3{margin-top:0;overflow-wrap:anywhere}.review-actions{display:flex;gap:8px;margin-top:12px}.review-actions button{padding:10px 14px;border:1px solid #cbd4c1;background:#f0f3e9;color:#3b5a35;border-radius:9px;font-size:11px}.match-row .proposal-detail{margin-top:9px;line-height:1.6}button:disabled{opacity:.5;cursor:default}nav button{min-width:60px}.card{height:clamp(290px,43dvh,370px)}.app{overflow-x:clip}h1{overflow-wrap:anywhere}
/* Native display cutouts and system bars (Capacitor / iOS). */
:root{--funke-safe-top:var(--safe-area-inset-top,env(safe-area-inset-top,0px));--funke-safe-bottom:var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px))}
.app{padding-top:var(--funke-safe-top);padding-bottom:calc(95px + var(--funke-safe-bottom))}
nav{padding-bottom:calc(14px + var(--funke-safe-bottom))}
html.native-app .app{margin:0 auto;min-height:100dvh;border-radius:0;box-shadow:none}
html.native-app nav{bottom:0;border-radius:0}
.language-control{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:-10px 0 22px}.language-control label{margin:0;font-size:11px;color:#687565}.language-control select{width:auto;max-width:165px;padding:8px 12px;font-size:12px;border-radius:18px;background:#fffdf9}html:lang(th){line-height:1.65}html:lang(th) h1,html:lang(th) h2{font-family:system-ui,sans-serif;letter-spacing:0;line-height:1.4}html:lang(th) h1{font-size:30px}html:lang(th) h2{font-size:25px}html:lang(th) .eyebrow{letter-spacing:.2px}html:lang(th) nav button{font-size:11px}html:lang(th) .hero h2{font-size:25px;line-height:1.5}html:lang(th) .card-info h2{font-size:27px}.match-row h3,.info-box,.intro,.hero p{overflow-wrap:anywhere}
nav{padding-left:4px;padding-right:4px}nav button{min-width:0;flex:1;font-size:9px}html:lang(th) nav button{font-size:10px}.translation-pair{display:grid;grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);gap:8px;align-items:end}.translation-pair label{font-size:11px;font-weight:500;line-height:1.5;min-height:30px}.translation-pair select{padding:11px 8px;font-size:13px}.translation-pair button{border:1px solid #d9dfd2;border-radius:50%;height:38px;background:#e9edde;color:#294b3b;font-size:23px;margin-bottom:3px}.translation-setup{background:#e9edde;border-radius:14px;padding:14px;margin-top:16px;font-size:12px;line-height:1.6}.translation-setup p{margin:0}.translation-setup .secondary{margin-top:10px}.translation-setup .muted{margin-top:9px;font-size:11px}.translation-input-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:#7b8077}.translation-input-tools .text-button{font-size:11px;padding:10px 0}.translation-auto{display:flex;align-items:center;gap:10px;font-weight:400;font-size:12px;line-height:1.6}.translation-auto input{width:18px;height:18px;flex-shrink:0;accent-color:#294b3b}.translation-result{background:#fffdf9;border:1px solid #dce0d1;border-radius:18px;padding:20px;margin-top:20px}.translation-result .eyebrow{letter-spacing:.6px}.translation-result #translation-output{white-space:pre-wrap;overflow-wrap:anywhere;font-size:17px;line-height:1.7;min-height:36px}.translation-result #translation-work-status{font-size:12px;color:#906344;line-height:1.6}.translation-attribution{display:inline-block;margin-top:6px}.translation-attribution img{width:160px;height:auto}.translation-help{font-size:12px;line-height:1.7;margin-top:20px;color:#75816b}.translation-help a{color:inherit}#translation-input{min-height:130px;line-height:1.6}button[hidden],p[hidden]{display:none!important}

.video-stage{position:relative;aspect-ratio:4/3;background:#203e34;border-radius:22px;overflow:hidden;color:white}.video-stage>video{width:100%;height:100%;object-fit:cover}.video-remote-label{position:absolute;left:15px;top:13px;font-size:11px}.video-self{position:absolute;right:12px;bottom:12px;width:28%;aspect-ratio:3/4;border:2px solid #ffffff80;border-radius:12px;overflow:hidden;background:#42604f}.video-self video{width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}.video-self span{position:absolute;bottom:5px;left:7px;font-size:10px;text-shadow:0 1px 3px #000}.video-controls{display:flex;gap:8px;flex-wrap:wrap}.video-controls button{flex:1;min-width:90px;margin-top:4px;padding:12px 7px;font-size:11px}.video-controls .primary{background:#b3543e}.video-languages{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.video-languages label{min-height:32px}.video-languages select{padding:10px;font-size:13px}.video-captions{border:1px solid #dce0d1;border-radius:18px;background:#fffdf9;padding:17px;margin:20px 0}.video-captions h2{font-size:24px;letter-spacing:-.6px}.video-captions small{color:#7b8077;font-size:11px}#video-caption-text{font-size:18px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}#video-caption-original{font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}#video-code{display:block;font-size:27px;letter-spacing:2px;font-weight:600;overflow-wrap:anywhere}.video-setup{margin:24px 0;font-size:13px}.video-setup summary{cursor:pointer;color:#657452}#video-status{margin:12px 0}#video-status,#video-caption-status{overflow-wrap:anywhere}[hidden]{display:none!important}nav button{font-size:8px}html:lang(th) nav button{font-size:9px}

.video-page header{height:62px}.video-page .demo-tools{display:none}.video-page .language-control{margin:0 0 15px}.video-page h1{font-size:28px}.video-page .intro{font-size:11px;margin-bottom:14px}.video-page .video-captions h2{font-size:20px;margin:0 0 9px}.video-page .video-captions{margin-top:14px}.video-page .video-captions .translation-attribution img{width:125px}.video-page #video-caption-text{margin:8px 0}.video-page #video-caption-original{margin:5px 0}.video-page #video-status{padding:10px 13px;font-size:12px}

.update-link{background:#e9edde;color:#294b3b;border:1px solid #cdd7c5;border-radius:16px;padding:8px 10px;font:600 11px system-ui}.language-control{gap:7px}#update-installed{display:block;margin-top:8px;font-size:25px}#update-progress{width:100%;height:12px;accent-color:#294b3b}#update-release{font-size:18px;color:#294b3b}

.area-switch{display:flex;border:1px solid #d6d8d0;border-radius:14px;padding:4px;gap:4px;margin:0 0 20px}.area-switch button{flex:1;border:0;background:transparent;color:#62705f;border-radius:10px;padding:11px;font-size:13px}.area-switch button[aria-pressed=true]{background:#294b3b;color:white}#area-diversity[aria-pressed=true]{background:#705b7c}.diversity-note{font-size:12px;color:#705b7c;line-height:1.6}.diversity-settings{padding:17px;border:1px solid #d8d1dd;border-radius:16px;margin:20px 0;font-size:13px}.diversity-settings summary{cursor:pointer;font-weight:600;color:#705b7c}.diversity-settings fieldset{border:0;margin:20px 0 0;padding:0}.diversity-settings legend{font-size:13px;font-weight:600}.diversity-person{border:1px solid #ded8e0;border-radius:18px;background:#fffdf9;overflow:hidden;margin:18px 0}.diversity-person>div:last-child{padding:19px}.diversity-person h2{font-size:26px}.diversity-person p{font-size:13px;line-height:1.6}.diversity-person small{font-size:10px;color:#7b8077}.diversity-portrait{height:180px;overflow:hidden}.diversity-portrait svg{width:100%;height:260px}.diversity-filters{padding:0 0 12px}.video-page .area-switch{display:none}
/* Research PoC */
#open-research{margin:0 24px 8px;align-self:flex-start}#research-body audio{width:100%;margin:12px 0}.research-consent{display:flex;gap:12px;align-items:flex-start;line-height:1.5;margin:16px 0}.research-consent input{width:22px!important;min-width:22px;height:22px;margin-top:3px}.research-segment{padding:18px 0;border-top:1px solid #d9ddd5}.research-segment textarea{width:100%;min-height:78px;resize:vertical}.research-times{display:grid;grid-template-columns:1fr 1fr;gap:12px}.research-times input{width:100%;min-width:0}.research-recording{padding:16px;background:#fff0ea;color:#933b25;border-radius:12px;font-weight:600}#research-body label{display:block}#research-body label.research-consent{display:flex}#research-body .info-box{overflow-wrap:anywhere}#research-body button{white-space:normal}#research-body select{max-width:100%}

/* Captions stay inside the remote picture; the complete text remains below. */
.video-self{top:12px;bottom:auto;width:23%;max-height:46%}.video-overlay{position:absolute;bottom:12px;left:12px;right:12px;padding:10px 12px;border-radius:10px;background:rgba(0,0,0,.76);color:#fff;text-align:center;font:600 clamp(14px,4vw,19px)/1.5 system-ui,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;pointer-events:none;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;max-height:40%;text-shadow:0 1px 2px #000}.video-overlay[hidden]{display:none!important}

/* Funke 1.11 — refreshed visual system, bundled and available offline. */
:root{--ink:#173d37;--muted:#526b63;--surface:#fff;--canvas:#f4f7f5;--line:#dbe5df;--accent:#ba573e;--soft:#eaf1ed;color:var(--ink);background:#e4ece7;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
.app{background:radial-gradient(ellipse at 100% 0,#e4eee6 0,transparent 340px),var(--canvas);padding-left:22px;padding-right:22px}
header{height:82px}.brand{font-size:37px;letter-spacing:-2px}.brand span{color:var(--accent);font-size:29px;margin-left:7px}.demo{background:#ffffffb8;border:1px solid var(--line);letter-spacing:.5px;font-size:10px;font-weight:650;color:var(--muted);padding:8px 11px}
.demo-tools{margin:-5px 0 16px;color:var(--muted);gap:12px}.demo-tools button{color:var(--muted);font-weight:600;min-height:36px}.language-control{gap:8px;margin:0 0 18px;flex-wrap:wrap}.language-control label{color:var(--muted)}.language-control select{background:var(--surface);border-color:var(--line);border-radius:12px;min-height:40px;font-weight:600;padding:9px 12px}.update-link{background:var(--ink);color:#fff;border:0;border-radius:12px;padding:10px 15px;min-height:40px;font-weight:650}
.area-switch{padding:5px;border:1px solid var(--line);border-radius:16px;background:#e8efea;gap:5px;margin-bottom:6px}.area-switch button{min-height:43px;border-radius:11px;font-size:12px;font-weight:650;color:var(--muted)}.area-switch button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 3px 10px #163d3710}
#open-research{margin:0 0 15px;padding:10px 2px;min-height:40px;color:var(--muted);font-weight:600;font-size:11px}
h1,h2{font-family:inherit;font-weight:650;letter-spacing:-1px}h1{font-size:32px;line-height:1.17;margin-bottom:12px}h2{font-size:25px;line-height:1.25}.eyebrow{color:#526f62;font-size:10px;letter-spacing:1.7px;margin:10px 0 12px}.intro{font-size:14px;line-height:1.65;color:var(--muted);margin-bottom:24px}.muted,.hint{color:var(--muted)}
.hero{background:linear-gradient(135deg,#153f37,#326357);color:white;border:1px solid #34665a;border-radius:26px;padding:26px;margin-top:22px;box-shadow:0 14px 30px #173d371c}.hero:after{width:230px;height:230px;right:-105px;top:-95px;border-color:#b3d1bd40;box-shadow:0 0 0 32px #9ac4a90d,0 0 0 65px #9ac4a908}.hero-mark{color:#eaca9f;font-size:39px;margin-bottom:21px}.hero h2{font-size:27px;line-height:1.24;font-weight:600;letter-spacing:-.6px}.hero p:last-child{color:#e1ede5;line-height:1.75}.hero .primary{background:#f3d3af;color:#263f33;box-shadow:0 5px 15px #00000012}.hero .eyebrow{color:#d2dfd3}
.steps{background:#fff;border:1px solid var(--line);border-radius:22px;padding:7px 18px;margin:21px 0;box-shadow:0 4px 14px #173d3704}.steps li{gap:14px;padding:16px 0}.steps li+li{border-top:1px solid #edf1ee}.steps b{font:650 13px/1 system-ui,sans-serif;display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;background:var(--soft);border-radius:12px;color:var(--ink)}.steps span{font-size:13px}.steps small{font-size:12px;color:var(--muted);line-height:1.5}
.primary{background:var(--ink);border-radius:15px;padding:16px 20px;min-height:50px;box-shadow:0 6px 14px #173d3714;letter-spacing:.1px;font-size:14px;transition:background .15s,transform .15s}.secondary{background:#fff;border:1px solid #ccdcd2;color:var(--ink);border-radius:15px;min-height:46px;font-size:13px;font-weight:600;padding:13px 16px;transition:background .15s}.primary:active,.secondary:active{transform:translateY(1px)}button:disabled{opacity:.55;box-shadow:none}.text-button{color:#914934;font-weight:600}.filters{flex-wrap:wrap}.filters button{background:white;border-color:var(--line);font-weight:600;min-height:40px;padding:10px 18px}.filters button[aria-pressed=true]{background:var(--ink);border-color:var(--ink)}
.premium-banner{border-color:#e4d6c2;background:linear-gradient(120deg,#fbf1e2,#f2e7d8);border-radius:20px;padding:20px;color:#62492f;gap:16px}.premium-banner>span{font-size:30px;color:#946d3d}.premium-banner strong{font-size:14px}.premium-banner small{font-size:12px;line-height:1.6}
.card{border-radius:25px;box-shadow:0 12px 28px #173d371b;border:1px solid #ffffff50}.card-top{border:1px solid #ffffff70;backdrop-filter:blur(12px);font-size:10px;font-weight:600;border-radius:10px}.card-info h2{font-size:30px}.tags span{border-color:#ffffff55;background:#ffffff18;font-size:11px}.details{padding:0 3px}.details>p{color:var(--muted);line-height:1.8}.details dl{display:grid;grid-template-columns:1fr;gap:3px}.details dt{font-size:10px;color:var(--muted)}.details dd{font-size:13px;line-height:1.6}
.match-row,.admin-application,.translation-result,.video-captions{background:white;border-color:var(--line);border-radius:21px;box-shadow:0 5px 18px #173d3705}.match-row{padding:18px;gap:14px}.match-row h3{font-weight:650}.match-row p{color:var(--muted);line-height:1.6}.avatar{border:3px solid #fff;box-shadow:0 0 0 1px var(--line);font-family:inherit;font-size:23px;font-weight:600}.status{background:var(--soft);color:#3e6050;border:1px solid #d7e5da;font-size:11px;border-radius:9px}.info-box,.translation-setup{background:var(--soft);color:var(--ink);border:1px solid #dbe7df;border-radius:18px;line-height:1.7}.info-box p{color:var(--muted)}
label{font-size:12px;line-height:1.5;font-weight:650;color:var(--ink);margin-top:22px}input,textarea,select{background:#fff;border:1px solid #cfddd4;border-radius:14px;padding:14px;color:var(--ink);font-size:14px;box-shadow:0 2px 3px #173d3702;min-height:46px}input:focus,textarea:focus,select:focus{outline:2px solid #528b7190;outline-offset:2px;border-color:#528b71}input[type=checkbox]{min-height:0;accent-color:var(--ink)}input::placeholder,textarea::placeholder{color:#687b72}.translation-auto input{width:20px;height:20px;box-shadow:none}.translation-pair button{background:var(--soft);color:var(--ink);border-color:var(--line)}.translation-result #translation-output{font-size:19px;color:var(--ink)}.translation-help{color:var(--muted)}
.empty{background:#ffffff80;border:1px solid var(--line);border-radius:24px;margin-top:18px;padding:34px 20px}.empty>span{color:var(--accent)}.empty h2{font-size:26px}.empty .muted{font-size:13px}.review-actions button{min-height:42px;border-radius:12px;color:var(--ink);background:var(--soft);border-color:var(--line)}
.video-page h1{font-size:27px;line-height:1.22}.video-page .intro{font-size:12px;line-height:1.6}.video-stage{border-radius:24px;background:linear-gradient(145deg,#102f2a,#28554c);box-shadow:0 8px 25px #173d371b;border:1px solid #244e44}.video-remote-label{background:#00000038;border-radius:8px;padding:5px 8px;top:10px;left:10px;font-weight:550}.video-self{border-color:#ffffffb3;box-shadow:0 3px 12px #0003}.video-controls{gap:7px;margin:14px 0}.video-controls button{min-height:46px;font-size:11px;box-shadow:none}.video-controls .primary{background:#ad453b;color:#fff}.video-overlay{font-weight:600;background:#071c17dd}.video-page .video-captions h2{font-size:21px}.video-captions{padding:18px}.video-page #video-status{background:#e6eee9;color:var(--ink)}
.research-segment{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;margin:18px 0;box-shadow:0 5px 18px #173d3705}.research-segment h2{font-size:19px}.research-recording{border:1px solid #edc9bd}.research-consent{line-height:1.7}dialog{background:var(--canvas);box-shadow:0 24px 90px #102e2a50;border:1px solid #fff}dialog::backdrop{background:#102e2aa8}#notice{background:#143d34;box-shadow:0 8px 28px #173d3740;border:1px solid #ffffff30;line-height:1.5}
nav{background:#ffffffed;border-top:1px solid #dce6df;box-shadow:0 -5px 24px #173d3706;padding-top:9px;padding-left:6px;padding-right:6px;gap:2px;backdrop-filter:blur(20px)}nav button{min-height:53px;min-width:0;font-size:9px;color:#587166;gap:5px;justify-content:center;border-radius:13px;padding:6px 1px;font-weight:550}nav button.active{background:#e5efe8;color:#174c39}nav button>span{display:grid;place-items:center;width:25px;height:25px;line-height:1;font-size:22px}nav svg{width:23px;height:23px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none;display:block}nav button.active svg{stroke-width:2.1}
html:lang(th) h1{font-size:29px;font-weight:600;line-height:1.45}html:lang(th) h2{font-size:24px;font-weight:600}html:lang(th) .hero h2{font-size:25px;line-height:1.5}html:lang(th) nav button{font-size:9px;line-height:1.4}html:lang(th) .video-page h1{font-size:25px}html:lang(th) .intro{line-height:1.8}
@media(min-width:600px){.app{box-shadow:0 24px 80px #173d3720;border:1px solid #ffffffb0}nav{border-radius:0 0 28px 28px}}
@media(max-width:350px){.app{padding-left:17px;padding-right:17px}h1{font-size:29px}.hero{padding:22px}.hero h2{font-size:25px}.language-control{gap:6px}nav button{font-size:8px}.video-controls button{min-width:75px}.research-segment{padding:14px}}
@media(prefers-reduced-motion:reduce){.primary,.secondary{transition:none;transform:none}}

/* Personal profile and guided meeting pilot. */
.profile-photo-box {background:var(--surface,#f7f6f1);border:1px solid #dce4dd;border-radius:24px;padding:18px;margin:16px 0 24px;}
.profile-photo-box img {display:block;width:160px;height:160px;object-fit:cover;border-radius:24px;margin:0 auto 16px;box-shadow:0 8px 24px #183b2920;}
.profile-photo-box img[hidden] {display:none;}
.profile-photo-box input[type=file] {max-width:100%;font-size:14px;padding:12px 0;border:0;background:transparent;}
.admin-profile-photo {width:96px;height:96px;object-fit:cover;border-radius:18px;}
.appointment-card {border:1px solid #dce4dd;background:#fff;border-radius:22px;padding:20px;margin:16px 0;overflow-wrap:anywhere;}
.appointment-card h3 {margin-top:0;}
.appointment-card form {border-top:1px solid #dce4dd;margin-top:18px;padding-top:12px;}
.appointment-times {display:grid;gap:8px;background:#eef4ee;border-radius:14px;padding:14px;margin:12px 0;font-size:14px;font-variant-numeric:tabular-nums;}
#appointment-form {background:#faf9f5;border:1px solid #e2e5dc;border-radius:22px;padding:20px;}
#appointment-date {min-width:0;max-width:100%;box-sizing:border-box;}
.demo-tools {flex-wrap:wrap;gap:8px;}
#account-panel form {margin:18px 0;padding:18px;border:1px solid #dce4dd;border-radius:20px;background:#fff;}
#account-panel .translation-auto {align-items:flex-start;line-height:1.6;}
#account-panel .translation-auto input {flex:0 0 20px;margin-top:3px;}
#account-panel details {padding:14px 0;}
#account-panel dd {margin:4px 0 12px;overflow-wrap:anywhere;}
/* Isan speech pilot: large, calm controls for participants with little app experience. */
.pilot-focus .demo-tools,.pilot-focus .area-switch,.pilot-focus #open-research,.pilot-focus #open-updates,.pilot-focus #plan-label{display:none}
.pilot-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;margin:16px 0;overflow-wrap:anywhere}.pilot-card h2{font-size:24px}
.pilot-big{font-size:18px;padding:18px 20px;min-height:56px}.pilot-actions{display:grid;gap:4px}.pilot-plain{padding-left:20px;line-height:1.8;font-size:16px}.pilot-plain li{margin:6px 0}
.pilot-official{white-space:pre-wrap;max-height:50vh;overflow:auto;border:1px solid var(--line);border-radius:12px;padding:14px;background:var(--canvas);font-size:15px;line-height:1.7}
.pilot-choice{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.consent-choice{border:2px solid var(--ink);background:#fff;color:var(--ink);border-radius:14px;padding:16px 10px;font-size:17px;font-weight:600;min-height:56px}.consent-choice:disabled{opacity:.45;cursor:not-allowed}
#pilot-body audio{width:100%;margin:12px 0}#pilot-body select{max-width:100%}#pilot-body button{white-space:normal}
/* Zero-tech call screens: one big obvious action, no navigation or demo chrome. */
.team-focus nav,.team-focus .demo-tools,.team-focus .area-switch,.team-focus #open-research,.team-focus #open-updates,.team-focus #plan-label,.pilot-focus nav{display:none}
.call-panel{text-align:center;margin:20px 0}.call-big{font-size:24px;font-weight:700;min-height:84px;border-radius:22px;margin-top:10px;touch-action:manipulation}.call-status{font-size:17px;line-height:1.6;margin:14px 0}.call-ring{font-size:20px;font-weight:600;margin:6px 0}.pilot-secondary .secondary{margin-top:10px}
