@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;600;700&display=swap";:root{font-family:DM Sans,Noto Sans JP,sans-serif;color:#17332e;background:#f4f2ed;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}.overlay-page,.overlay-page body,.overlay-page #root{background:transparent}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}.app-shell{width:min(1180px,calc(100% - 40px));margin:auto;padding-bottom:28px}.topbar{height:84px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d8ddd8}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.brand-mark{width:42px;height:42px;display:grid;place-items:center;color:#fff;background:#1d5a4e;border-radius:12px 12px 12px 3px}.brand strong,.brand small{display:block}.brand strong{font-size:16px;letter-spacing:.01em}.brand small{margin-top:2px;color:#69817b;font-size:11px;letter-spacing:.08em}.status-chip{display:flex;align-items:center;gap:8px;border:1px solid #d6dedb;border-radius:99px;background:#fafbf9;color:#647670;padding:8px 13px;font-size:12px;font-weight:600}.status-dot{width:7px;height:7px;border-radius:50%;background:#9aa6a2}.status-chip.listening .status-dot{background:#e3534a;box-shadow:0 0 0 4px #e3534a20;animation:pulse 1.5s infinite}.status-chip.reconnecting .status-dot,.status-chip.starting .status-dot{background:#d69c34}.hero{display:flex;justify-content:space-between;align-items:end;gap:24px;padding:54px 2px 34px}.eyebrow{margin:0 0 9px;color:#b16f42!important;font-size:11px!important;font-weight:700;letter-spacing:.22em}.hero h1{margin:0;font-size:clamp(32px,4vw,52px);letter-spacing:-.045em;font-weight:600;line-height:1.15}.hero p{margin:11px 0 0;color:#71807c;font-size:14px}.language-switch{display:flex;padding:4px;background:#e7e8e3;border-radius:12px}.language-switch button{border:0;background:transparent;color:#65736f;padding:10px 14px;border-radius:9px;cursor:pointer;font-size:13px;font-weight:600}.language-switch button span{margin-left:5px;opacity:.55;font-size:10px}.language-switch button.active{background:#fff;color:#174c42;box-shadow:0 2px 8px #163b3212}.dashboard-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px}.card{background:#fffdfa;border:1px solid #dfe2dc;border-radius:18px;padding:24px;box-shadow:0 12px 36px #1e3c340b}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;color:#72807c}.section-heading>div{display:flex;align-items:center;gap:11px}.section-heading h2{margin:0;font-size:16px;color:#1b3933}.step{color:#b47247;font:700 10px/1 DM Sans;letter-spacing:.08em}.hint{font-size:10px;font-weight:700;letter-spacing:.08em;color:#6e837d;background:#edf2ef;border-radius:99px;padding:6px 9px}.caption-preview{min-height:200px;padding:25px;display:grid;place-items:center;position:relative;overflow:hidden;text-align:center;color:#fff;background:linear-gradient(#10201d73,#10201d99),radial-gradient(circle at 20% 15%,#9fae99,#3b514b 65%);border-radius:13px}.caption-preview:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(120deg,transparent 20%,#ffffff10,transparent 70%)}.caption-preview p{position:relative;z-index:1;margin:0;max-width:95%;line-height:1.45;font-weight:700;text-shadow:-2px -2px 0 #000,2px -2px 0 #000,-2px 2px 0 #000,2px 2px 0 #000;background:rgba(0,0,0,var(--preview-bg));box-decoration-break:clone;-webkit-box-decoration-break:clone;padding:2px 8px}.listening-bars{position:absolute;bottom:14px;display:flex;height:17px;align-items:center;gap:3px}.listening-bars i{width:3px;height:6px;background:#fff;border-radius:2px;animation:bars .8s ease-in-out infinite alternate}.listening-bars i:nth-child(2){animation-delay:.2s;height:14px}.listening-bars i:nth-child(3){animation-delay:.35s;height:10px}.listening-bars i:nth-child(4){animation-delay:.1s}.primary-action,.secondary-action{width:100%;border:0;border-radius:11px;cursor:pointer;font-weight:700;transition:.2s}.primary-action{height:50px;margin-top:17px;display:flex;align-items:center;justify-content:center;gap:9px;color:#fff;background:#1d5a4e;box-shadow:0 8px 20px #1d5a4e25}.primary-action:hover{background:#174b41;transform:translateY(-1px)}.primary-action.stop{background:#9f443d}.primary-action:disabled{opacity:.45;cursor:not-allowed}.privacy-note{margin:11px 0 0;text-align:center;color:#87918e;font-size:10px}.range-field{display:block;margin:23px 0}.range-field>span{display:flex;justify-content:space-between;font-size:12px;font-weight:600;color:#556a64}.range-field output{color:#b16f42;font-variant-numeric:tabular-nums}.range-field input{width:100%;margin-top:12px;accent-color:#1d5a4e}.mini-preview{min-height:93px;display:grid;place-items:center;padding:14px;overflow:hidden;background:linear-gradient(140deg,#778982,#41534e);border-radius:11px;color:#fff;text-align:center}.mini-preview span{line-height:1.45;padding:3px 7px;text-shadow:-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000}.obs-card,.output-card{min-height:310px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-grid label{color:#687a74;font-size:10px;font-weight:700;letter-spacing:.04em}.form-grid label.wide{grid-column:1/-1}.form-grid input{width:100%;margin-top:6px;border:1px solid #d8dfdb;background:#fbfcfa;color:#183b34;border-radius:8px;padding:9px 10px;outline:none;font-size:12px}.form-grid input:focus{border-color:#6c9a90;box-shadow:0 0 0 3px #1d5a4e12}.connection{display:flex;align-items:center;gap:5px;font-size:10px;font-weight:700}.connection.connected{color:#1f7a62}.connection.disconnected{color:#8a9692}.secondary-action{padding:11px;margin-top:15px;color:#1d5a4e;border:1px solid #aac1bb;background:#f4f8f6}.secondary-action:hover{background:#eaf2ee}.inline-message{display:flex;align-items:flex-start;gap:6px;margin:10px 0 0;color:#a14d42;font-size:10px;line-height:1.5}.inline-message svg{flex:none}.output-card>p{margin:0 0 15px;color:#667670;font-size:12px}.url-box{display:flex;align-items:center;gap:7px;padding:5px 5px 5px 12px;border:1px solid #d6deda;background:#f6f8f6;border-radius:9px}.url-box code{flex:1;overflow:hidden;color:#32554d;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.url-box button{display:grid;place-items:center;width:34px;height:31px;border:0;border-radius:6px;color:#28594e;background:#fff;cursor:pointer}.preview-link{display:inline-flex;align-items:center;gap:5px;margin:14px 0 20px;color:#b16f42;font-size:11px;font-weight:700;text-decoration:none}.tip{padding:13px 14px;border-left:3px solid #d29a68;border-radius:4px 9px 9px 4px;color:#6e7774;background:#faf4ed;font-size:10px;line-height:1.6}.tip strong{color:#805437}.notice{display:flex;align-items:center;gap:10px;margin:0 0 18px;padding:13px 16px;color:#8f403a;background:#fff1ef;border:1px solid #efcbc7;border-radius:11px;font-size:12px}.notice svg{flex:none}.diagnostics-card{grid-column:1/-1;min-height:0}.diagnostic-heading{margin-bottom:18px}.diagnostic-summary{display:grid;grid-template-columns:.8fr 1.2fr;gap:14px}.meter-panel,.interim-panel{min-height:105px;padding:16px;border:1px solid #dfe5e1;border-radius:11px;background:#f8faf8}.meter-label{display:flex;justify-content:space-between;color:#526b64;font-size:11px;font-weight:700}.meter-label output{color:#1d5a4e;font-variant-numeric:tabular-nums}.audio-meter{height:12px;margin:13px 0 10px;overflow:hidden;border-radius:99px;background:#dfe7e3;box-shadow:inset 0 1px 2px #17332e18}.audio-meter i{display:block;height:100%;min-width:1px;border-radius:inherit;background:linear-gradient(90deg,#3b8a74,#7da950 65%,#d39b3c 84%,#d7574e);transition:width 80ms linear}.meter-panel p{margin:0;color:#84918d;font-size:10px}.interim-panel>span{color:#687b75;font-size:10px;font-weight:700}.interim-panel p{margin:10px 0 0;min-height:42px;color:#25463e;font-size:14px;line-height:1.55}.event-log{height:190px;margin-top:14px;overflow:auto;border:1px solid #dfe4e1;border-radius:11px;background:#152522;color:#d6e1dd;scrollbar-color:#587069 #152522}.empty-log{margin:0;padding:20px;color:#7f9690;font-size:11px}.log-row{display:grid;grid-template-columns:72px 115px 1fr;gap:8px;padding:8px 11px;border-bottom:1px solid #ffffff0d;font:11px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace}.log-row:last-child{border-bottom:0}.log-row time{color:#7f9690}.log-row strong{color:#8ebbad;font-weight:600}.log-row span{color:#c3d0cc;overflow-wrap:anywhere}.log-row.success strong{color:#78c7a9}.log-row.warning strong{color:#dfb568}.log-row.error strong,.log-row.error span{color:#ef9188}.diagnostic-actions{display:flex;gap:8px;margin-top:12px}.diagnostic-actions button{display:flex;align-items:center;justify-content:center;gap:6px;padding:9px 13px;border:1px solid #ccd9d4;border-radius:8px;color:#315c52;background:#f7faf8;cursor:pointer;font-size:11px;font-weight:700}.diagnostic-actions button:hover{background:#edf4f1}.diagnostic-error{margin-top:12px}footer{display:flex;justify-content:space-between;padding:23px 4px 0;color:#9aa39f;font-size:9px;font-weight:700;letter-spacing:.12em}footer span{font-weight:500;letter-spacing:0}.overlay{display:flex;align-items:flex-end;justify-content:center;width:100vw;height:100vh;padding:5vh 4vw;overflow:hidden;background:transparent}.overlay-caption{max-width:min(94vw,1500px);padding:.12em .35em .18em;color:#fff;text-align:center;font-weight:700;line-height:1.28;text-shadow:-3px -3px 0 #000,3px -3px 0 #000,-3px 3px 0 #000,3px 3px 0 #000,0 3px 5px #000;border-radius:.18em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}@keyframes pulse{50%{box-shadow:0 0 0 7px #e3534a08}}@keyframes bars{to{height:16px}}@media(max-width:760px){.app-shell{width:min(100% - 24px,600px)}.topbar{height:72px}.hero{align-items:flex-start;flex-direction:column;padding:38px 0 25px}.dashboard-grid{grid-template-columns:1fr}.language-switch{width:100%}.language-switch button{flex:1}.card{padding:20px}.caption-preview{min-height:170px}.diagnostic-summary{grid-template-columns:1fr}.log-row{grid-template-columns:62px 95px 1fr;font-size:9px}.diagnostic-actions{flex-direction:column}.diagnostic-actions button{width:100%}footer{gap:12px;flex-direction:column}.overlay-caption{text-shadow:-2px -2px 0 #000,2px -2px 0 #000,-2px 2px 0 #000,2px 2px 0 #000}}
