:root{font-family:Plex,system-ui,sans-serif;color:#302733;--ink:#302733;--muted:#736777;--pink:#de4798;--pink-soft:#fff0f8;--blue:#e8f6ff;--yellow:#fff5d8;--line:#eee5ed}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 90% 20%,#def4ff,transparent 45%),linear-gradient(135deg,#fff1f8,#f3effb);height:100dvh;overflow:hidden}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;min-height:44px;border-radius:16px;padding:10px 15px;line-height:1.4;color:var(--ink);background:#f5f0f7}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #256daa;outline-offset:2px}h1,h2,h3,p{margin:0}h2{font-size:22px;line-height:1.5}h3{font-size:16px;line-height:1.5}p{font-size:14px;line-height:1.8}small,.small{font-size:12px;color:var(--muted);line-height:1.6}svg{width:22px;height:22px;flex-shrink:0}a{color:#934874;font-size:13px}.workspace{height:100dvh;display:grid;grid-template-columns:310px 390px;gap:60px;align-items:center;justify-content:center;padding:16px}.review-panel{max-height:calc(100dvh - 32px);overflow:auto;padding:12px;line-height:1.8}.review-logo{width:150px;height:58px;object-fit:contain}.review-panel h1{font-size:36px;line-height:1.5;margin:12px 0}.review-panel>p{margin:12px 0}.eyebrow{font-size:11px;letter-spacing:.08em;color:#9f3670}.review-note{border-radius:18px;background:#fffa;padding:15px;font-size:12px}.review-controls{border:0;margin:15px 0;padding:0}.review-controls label{display:block;font-size:13px;margin:12px 0}.review-controls select{display:block;border:1px solid #ddd;border-radius:12px;padding:8px;width:100%;background:white}.review-controls button{width:100%}.review-panel details{font-size:13px;margin-bottom:15px}#screen-index{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:10px 0}#screen-index button{text-align:left;font-size:12px;padding:8px}.review-status{font-size:12px;color:#9f3670}
.device{--device-height:844px;width:390px;height:min(var(--device-height),calc(100dvh - 32px));max-width:100%;border:1px solid #fff;border-radius:32px;background:#fffdfd;box-shadow:0 24px 80px #62446524;position:relative;overflow:hidden;display:flex;flex-direction:column}.prototype-label{height:25px;flex:0 0 25px;background:#f7edf4;color:#95637f;text-align:center;font-size:10px;line-height:25px;letter-spacing:.04em}.app-stage{position:relative;flex:1;min-height:0;overflow:hidden}.screen{position:absolute;inset:0;display:grid;grid-template-rows:54px minmax(0,1fr) auto auto;overflow:hidden;background:#fffdfd;padding:0 20px}.screen.enter{animation:slide .22s ease-out}.screen.reverse{animation:back .22s ease-out}@keyframes slide{from{transform:translateX(32px);opacity:.3}to{transform:translateX(0);opacity:1}}@keyframes back{from{transform:translateX(-32px);opacity:.3}to{transform:translateX(0);opacity:1}}.topbar{display:flex;justify-content:space-between;align-items:center;gap:8px}.topbar strong{font-size:14px}.topbar .icon-button{width:44px;height:44px;background:transparent;padding:11px}.topbar .back-text{background:transparent;padding:8px 0;color:#986181;font-size:13px}.header-logo{width:95px;height:40px;object-fit:contain}.content{min-height:0;display:flex;flex-direction:column;gap:14px;overflow:hidden;padding:12px 0 10px}.content.center{align-items:center;text-align:center;justify-content:center}.content.balanced{justify-content:center}.content.compact{gap:10px}.grow{flex:1;min-height:0}.actions{padding:10px 0 12px;display:flex;flex-direction:column;gap:8px}.primary{width:100%;background:var(--pink);color:white;min-height:50px;font-weight:700;border-radius:18px;box-shadow:0 6px 16px #de479824}.secondary{width:100%;background:#eaf5fb;color:#35536b;min-height:46px}.quiet{background:transparent;color:#93617b;font-size:13px}.button-row{display:flex;gap:8px}.button-row>button{flex:1}.muted{color:var(--muted)}.label{font-size:13px;font-weight:700}.badge{display:inline-block;padding:5px 10px;background:var(--yellow);color:#746342;border-radius:20px;font-size:11px}.card{background:#f6f2f8;border-radius:22px;padding:18px}.card.blue{background:var(--blue)}.card.yellow{background:var(--yellow)}.card.pink{background:var(--pink-soft)}.card h3{margin-bottom:7px}.hint-line{background:var(--yellow);padding:10px 14px;border-radius:14px;font-size:12px;line-height:1.6}.illustration{width:116px;height:116px;object-fit:contain}.hero{background:linear-gradient(135deg,#fff0f8,#f0eeff 65%,#e4f7ff);border-radius:28px;padding:22px 20px;text-align:center}.hero-logo{width:164px;height:55px;object-fit:contain;display:block;margin:auto}.hero-people{display:block;width:240px;max-width:100%;height:139px;object-fit:contain;margin:6px auto 12px}.hero h2{font-size:23px}.hero p{font-size:12px;margin-top:10px;color:var(--muted)}.home-content{justify-content:center}.home-welcome{display:flex;justify-content:space-between;align-items:center;font-size:12px}.home-welcome button{font-size:12px;padding:8px 0;background:transparent;color:#986181}.home-recommend{display:flex;gap:12px;align-items:center;background:var(--yellow);border-radius:20px;padding:14px;text-align:left}.home-recommend img{width:50px;height:58px;object-fit:contain}.home-recommend strong{font-size:14px;display:block}.home-recommend small{display:block}.bottom-nav{display:flex;border-top:1px solid var(--line);padding:8px 0 max(9px,env(safe-area-inset-bottom));gap:4px}.bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:7px 1px;background:transparent;font-size:10px;width:25%;color:#8c8090;min-height:54px}.bottom-nav button[aria-current]{background:#ffedf7;color:#ba347c}.stepbar{display:flex;gap:8px;align-items:center;justify-content:center}.stepbar span{display:flex;align-items:center;gap:5px;color:#aca2b0;font-size:11px}.stepbar b{width:22px;height:22px;border-radius:50%;background:#f2edf5;display:grid;place-items:center;font-size:10px}.stepbar .current{color:#a82e6e}.stepbar .current b{background:#ffd9ee;color:#a82e6e}.stepbar .line{height:1px;background:#e7dfe9;width:20px}.scene-heading{display:flex;justify-content:space-between;align-items:center;gap:5px}.scene-heading strong{font-size:13px}.scene-heading button{padding:8px;font-size:11px;background:transparent;color:#97637f}.utterance{background:var(--blue);border-radius:22px 22px 22px 5px;padding:18px;font-size:16px;line-height:1.85;margin:0}.utterance .speaker{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#658095;margin-bottom:7px}.utterance .speaker button{width:32px;height:32px;min-height:32px;background:#fff8;border-radius:50%;padding:5px}.utterance .speaker svg{width:19px;height:19px}.utterance.compact{padding:12px 15px;font-size:13px;line-height:1.7}.utterance.compact .speaker{margin-bottom:3px}.word-grid{display:flex;gap:10px;flex-wrap:wrap}.word-grid button{background:#fff5de;border:2px solid transparent;flex:1;min-width:80px;padding:14px 8px;font-size:14px}.word-grid button[aria-checked=true]{border-color:var(--pink);background:#ffedf6;color:#a52d6e}.instruction{text-align:center;margin:8px 0;font-size:22px}.sub-instruction{text-align:center;font-size:12px;color:var(--muted)}.selected-context{display:flex;align-items:center;justify-content:space-between;font-size:12px;gap:8px}.selected-context .badge{background:#fff0f8;color:#a53573}.text-field{display:flex;flex-direction:column;flex:1;min-height:90px;gap:6px}.text-field textarea{flex:1;min-height:70px;max-height:205px;border:1px solid #e5d9e5;border-radius:18px;background:white;padding:14px;resize:none;width:100%;line-height:1.8;color:var(--ink);font-size:16px}.field-meta{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:11px;color:var(--muted)}.field-meta button{min-height:36px;font-size:11px;padding:7px}.hint-chips{display:flex;gap:5px;flex-wrap:wrap}.hint-chips button{background:#fff5db;border-radius:18px;font-size:11px;min-height:38px;padding:8px 10px}.hint-chips button.selected{background:#ffe3f1;color:#ae3275}.error{font-size:12px;line-height:1.6;color:#a53232;padding:8px 12px;background:#fff1ed;border-radius:12px}.result-top{display:flex;align-items:center;gap:13px}.result-check{height:50px;width:50px;border-radius:50%;background:#ffebf6;color:var(--pink);display:grid;place-items:center}.result-top small{display:block}.result-card{border-radius:22px;padding:18px}.result-card h3{font-size:14px;margin-bottom:7px}.result-card p{font-size:15px}.result-card.good{background:#fff0f7}.result-card.next{background:#eaf6ff}.row{display:flex;align-items:center;gap:12px;background:#f5f2f8;border-radius:18px;padding:14px 15px;text-align:left;min-height:54px;width:100%}.row .row-copy{flex:1;min-width:0}.row strong{font-size:14px;display:block}.row small{display:block;font-size:11px}.row .row-icon{width:35px;height:35px;flex-shrink:0;display:grid;place-items:center;background:#ffe7f3;color:#b04a7d;border-radius:12px}.row:nth-child(2n) .row-icon{background:#e3f5ff;color:#56839a}.rows{display:flex;flex-direction:column;gap:9px;min-height:0}.pager{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted);flex-shrink:0}.pager button{width:44px;height:44px;font-size:19px}.article-content{justify-content:center;gap:18px}.article-content h2{font-size:22px}.article-content p{font-size:17px;line-height:2}.article-content .card{padding:22px}.article-title{font-size:12px;color:#a5507e}.setting-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;font-size:14px;min-height:50px}.setting-toggle input{accent-color:var(--pink);width:22px;height:22px}.setting-toggle select{background:white;border:1px solid #e4dbe5;border-radius:10px;padding:7px;max-width:155px}.record-stat{display:flex;gap:8px}.record-stat>div{flex:1;border-radius:18px;background:#fff2da;padding:14px;text-align:center}.record-stat strong{display:block;font-size:23px}.record-stat small{display:block}.search{display:flex;gap:8px;align-items:center;background:#f4f0f7;border-radius:14px;padding:9px 12px}.search input{border:0;width:100%;min-width:0;background:transparent;padding:5px;font-size:14px}.filters{display:flex;gap:6px}.filters button{flex:1;padding:8px 5px;font-size:12px;border-radius:22px}.filters button[aria-pressed=true]{color:#a42d6d;background:#ffe3f1}.mock-keyboard{display:none;background:#e8e7eb;padding:15px 10px;flex:0 0 210px;text-align:center;line-height:2.2;letter-spacing:.45em;overflow:hidden}.mock-keyboard small{letter-spacing:0;font-size:10px}.device.keyboard .mock-keyboard{display:block}.device.keyboard .content{gap:7px;padding-top:4px}.device.keyboard .utterance.compact{padding:7px 12px;font-size:12px}.device.keyboard .text-field textarea{max-height:130px;padding:10px}.device.keyboard .topbar{height:45px}.device.keyboard .screen{grid-template-rows:45px minmax(0,1fr) auto auto}.device.keyboard .input-guide{display:none}.device.keyboard .actions{padding:6px 0}.device.keyboard .primary{min-height:46px}.device.large-type{font-size:18px}.device.large-type p{font-size:17px}.device.large-type .row strong{font-size:16px}.device.large-type .card p{font-size:16px}.device.large-type .utterance{font-size:18px}.device.reduce-motion .screen{animation:none}.dialog-shade{position:absolute;inset:0;background:#30202d66;z-index:50;display:flex;align-items:flex-end}.dialog{width:100%;max-height:100%;background:#fffdfd;border-radius:26px 26px 0 0;padding:20px;display:flex;flex-direction:column;gap:14px;overflow:hidden}.dialog header{display:flex;justify-content:space-between;align-items:center;gap:10px}.dialog header h2{font-size:18px}.dialog header button{width:44px;padding:10px}.dialog-body{display:flex;flex-direction:column;gap:12px;min-height:0;overflow:hidden}.dialog-body p{font-size:14px}.dialog .pager{margin-top:5px}.dialog .scene-card{width:100%;background:#f4f5fb;display:flex;gap:13px;align-items:center;text-align:left;padding:12px}.scene-card img{width:45px;height:58px;object-fit:contain}.scene-card strong{display:block;font-size:14px}.scene-card small{display:block;font-size:11px}.dialog input[type=text]{width:100%;border:1px solid #e2d7e4;border-radius:12px;padding:12px}.toast{position:absolute;bottom:14px;left:20px;right:20px;border-radius:16px;background:#423443;color:#fff;font-size:12px;padding:12px;text-align:center;z-index:100}.empty{text-align:center;display:flex;flex-direction:column;align-items:center;gap:18px;justify-content:center;flex:1}.empty>svg{height:50px;width:50px;color:var(--pink)}.empty p{max-width:280px}.page-indicator{font-size:11px;color:#948496;text-align:center}.detail-body{white-space:pre-wrap;overflow-wrap:anywhere}.notice-small{font-size:10px!important;color:var(--muted);line-height:1.5!important}
@media(max-height:740px){.content{gap:10px;padding-top:6px}.hero{padding:15px}.hero-logo{height:40px;width:144px}.hero-people{height:88px;margin-bottom:8px}.hero h2{font-size:21px}.hero p{font-size:11px}.home-recommend{padding:10px}.home-recommend img{height:40px;width:40px}.row{padding:10px 12px;min-height:48px}.rows{gap:7px}.utterance{padding:14px;font-size:15px}.result-card{padding:14px}.article-content p{font-size:15px;line-height:1.9}.article-content .card{padding:16px}.actions{padding:7px 0 9px;gap:6px}.instruction{font-size:20px}.illustration{width:90px;height:90px}}
@media(max-width:800px){.workspace{display:block;padding:0;height:100dvh}.review-panel{display:none}.device{width:min(100vw,480px);height:100dvh;max-height:var(--visual-height,100dvh);margin:auto;border:0;border-radius:0;box-shadow:none}.screen{padding:0 20px}.prototype-label{padding-top:env(safe-area-inset-top);height:calc(25px + env(safe-area-inset-top));flex-basis:calc(25px + env(safe-area-inset-top))}.actions{padding-bottom:max(12px,env(safe-area-inset-bottom))}.dialog{padding-bottom:max(20px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.screen{animation:none}}
.device{container-type:size}
.hero-people{height:130px}
.device.large-type .content.compact{gap:6px}.device.large-type .input-guide{display:none}
@container(max-height:740px){.content{gap:8px;padding-top:6px}.content.balanced{gap:6px}.content.balanced .card{padding:12px}.content.balanced .result-top h2{font-size:20px}.hero{padding:12px}.hero-logo{height:32px;width:144px}.hero-people{height:64px;margin:4px auto 8px}.hero h2{font-size:21px}.hero p{font-size:11px;margin-top:6px}.home-recommend{padding:10px}.home-recommend img{height:40px;width:40px}.row{padding:10px 12px;min-height:48px}.rows{gap:7px}.utterance{padding:14px;font-size:15px}.result-card{padding:14px}.actions{padding:7px 0 9px;gap:6px}.instruction{font-size:20px}.illustration{width:90px;height:90px}.mock-keyboard{flex-basis:180px;padding:8px}}
@media(max-height:740px){.content.balanced{gap:6px}.content.balanced .card{padding:12px}.content.balanced .result-top h2{font-size:20px}.home-content .hero{flex-shrink:1}.home-content .hero-people{max-height:64px}}
.device.keyboard .stepbar,.device.keyboard .selected-context,.device.keyboard .hint-chips{display:none}
@media(max-height:740px){.home-content .hero{padding:12px}.home-content .hero-logo{height:32px}.home-content .hero-people{height:64px;margin:4px auto 8px}.home-content .hero p{margin-top:6px}.mock-keyboard{flex-basis:180px;padding:8px}.home-content{gap:8px}}
@container(max-height:740px){.large-type .home-content .hero-people{height:48px}}
.device .sheet-layer{position:absolute}.association-panel{display:flex;flex-direction:column;gap:8px}.association-panel .card{padding:12px}.association-panel .card p{font-size:14px}.association-panel .card .quiet{padding:6px 10px}.dialog .secondary{margin-top:4px}.detail-body{white-space:pre-wrap}.setting-toggle input[type=checkbox]{width:22px;height:22px}.row-copy strong{overflow-wrap:anywhere}.word-grid button{overflow-wrap:anywhere}.device.keyboard .content.compact .utterance .speaker{display:none}
@media(max-height:480px){.content.compact .stepbar,.content.compact .selected-context,.content.compact .hint-chips,.content.compact .input-guide,.content.compact .utterance .speaker{display:none}.content.compact{gap:6px;padding-top:4px}.content.compact .utterance{padding:8px 12px}.content.compact .text-field{min-height:90px}.screen:has(.content.compact) .actions{padding-top:4px}}
@container(max-height:740px){.content.balanced .result-card{padding:8px 14px}}
#root{height:100dvh;display:block;padding:0;min-height:0}.device{width:min(100vw,480px);height:100dvh;max-height:var(--visual-height,100dvh);margin:auto;border:0;border-radius:0}.app-stage{width:100%}.sheet-layer{position:fixed;inset:0;background:#30273366;z-index:100;display:flex;align-items:flex-end;justify-content:center}.sheet-layer .dialog{width:min(100vw,480px);max-height:calc(var(--visual-height,100dvh) - env(safe-area-inset-top));overflow:hidden}.sheet-layer .dialog-body{flex-shrink:1;min-height:0}.sheet-layer .dialog-body .rows{gap:6px}.app-stage .screen>header .header-logo{width:82px}.speaker{display:block;font-size:11px;color:#658095;margin-bottom:5px}.utterance p{font-size:inherit;line-height:inherit}.content.compact .utterance p{font-size:13px}.large-type .content.compact .utterance p{font-size:16px}.search-input{width:100%;padding:10px;border:1px solid var(--line);border-radius:14px;background:#fff}.association-entry{display:flex;gap:6px}.association-entry input{min-width:0;flex:1;padding:10px;border:1px solid var(--line);border-radius:12px}.association-entry button{flex-shrink:0}.topic-choice{width:100%;text-align:left}.result-card p,.card p{overflow-wrap:anywhere}.screen .content .small{font-size:12px}.screen .error{margin:0}.entry-error{display:flex;flex-direction:column;gap:10px;justify-content:center}.actions .button-row .quiet{font-size:12px}.sheet-layer .dialog input,.sheet-layer .dialog textarea{font:inherit}.dialog-body>p{white-space:pre-wrap;overflow-wrap:anywhere}.app-stage .screen>footer:empty{padding:4px}.content .row{flex-shrink:0}.content .rows{flex-shrink:0}.notice-small{overflow-wrap:anywhere}.large-type .result-card p{font-size:17px}.device.keyboard .stepbar,.device.keyboard .selected-context,.device.keyboard .hint-chips,.device.keyboard .input-guide{display:none}.device.keyboard .content.compact{gap:6px}.device.keyboard .content.compact .utterance{padding:8px 12px}.device.keyboard .actions{padding-top:4px}.device.keyboard .text-field{min-height:80px}.sheet-layer .dialog .error{font-size:12px;line-height:1.5}.dialog .row{padding:8px 12px}.dialog .row-icon{height:28px;width:28px}.dialog .pager{margin:0}.card-details button{width:100%}
.topbar .header-icon{width:44px;height:44px;object-fit:contain;flex-shrink:0}.topbar>strong{flex:1;text-align:center}

.evaluation-feedback{min-height:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:14px;scrollbar-gutter:stable}
.evaluation-feedback .result-card{flex-shrink:0}.evaluation-feedback ul{margin:8px 0 0;padding-left:1.25em}.evaluation-feedback li{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.evaluation-feedback li+li{margin-top:10px}.large-type .evaluation-feedback li{font-size:17px}.evaluation-feedback:focus-visible{outline:3px solid #256daa;outline-offset:-3px}
