:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#18304a;background:#fff;font-synthesis:none;--blue:#2587dd;--pale:#e9f4ff;--muted:#71859a;--step:0}*{box-sizing:border-box}body{margin:0;min-height:100svh;display:grid;place-items:center;padding:16px;background:white}button,input,textarea{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #217cc6;outline-offset:3px}button{border:0}button:disabled{opacity:.55;cursor:wait}[hidden]{display:none!important}.phone{width:min(402px,100%);height:min(862px,95svh);min-height:570px;position:relative;background:#fff;border:7px solid #193248;border-radius:48px;box-shadow:0 20px 60px #1c487e12;overflow:hidden;display:flex;flex-direction:column}.phone-status{height:42px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:5px 24px;font-size:13px;font-weight:700;position:relative}.island{position:absolute;top:8px;width:85px;height:22px;background:#193248;border-radius:20px;left:50%;transform:translateX(-50%)}.status-symbols{font-size:12px;letter-spacing:1px}.screen{flex:1;min-height:0;background:#fff;position:relative}.brand{font-size:17px;letter-spacing:-.5px;font-weight:800;display:inline-flex;align-items:center;gap:4px}.brand-dot{width:7px;height:7px;border-radius:50%;background:#f36a70;display:inline-block}.setup-heading{padding:16px 24px 9px;background:#f8fbff}.setup-heading p{font-size:13px;color:var(--muted);margin:7px 0}.step-track{height:52px;margin:8px 24px 12px;border-radius:32px;background:#eaf3fc;display:grid;grid-template-columns:repeat(4,1fr);position:relative;padding:5px;isolation:isolate}.step-track button{background:transparent;color:#6c8aa9;border-radius:25px;font-size:15px;position:relative;z-index:2}.step-track button[aria-current=step]{color:#14528c;font-weight:800}.step-slider{position:absolute;left:5px;top:5px;bottom:5px;width:calc((100% - 10px)/4);border-radius:30px;background:#cce7ff;transform:translateX(calc(var(--step)*100%));transition:transform .35s cubic-bezier(.2,.8,.2,1);box-shadow:0 2px 8px #609bcc18}.screen#setup{background:#f8fbff;display:flex;flex-direction:column}#profile-form{flex:1;min-height:0;display:flex;flex-direction:column}.setup-content{padding:0 22px 12px;overflow:auto;flex:1;scroll-behavior:smooth}fieldset{padding:0;border:0;min-width:0}legend{font-size:25px;font-weight:800;letter-spacing:-.5px;padding:8px 0}.support{font-size:13px;color:var(--muted);line-height:1.6;margin:4px 0 15px}.field-bubble{display:block;background:#fff;border:1px solid #e6eef6;border-radius:24px;padding:15px 17px;margin-bottom:12px;font-size:15px;font-weight:650;box-shadow:0 3px 12px #3e6e9d04}.field-bubble>span{display:block;font-size:11px;color:var(--muted);font-weight:400;margin-top:4px}.field-bubble input,.field-bubble textarea{display:block;width:100%;border:0;background:transparent;color:#153956;font-size:16px;padding:12px 0 2px;resize:vertical;line-height:1.45}.field-bubble input::placeholder,.field-bubble textarea::placeholder{color:#a6b7c8}.sample{background:#e9f4ff;border-radius:22px;color:#376995;font-size:13px;min-height:44px;width:100%;padding:12px}.setup-actions{display:flex;gap:10px;background:#f8fbff;padding:12px 22px 22px;flex:none}.blue,.soft{border-radius:28px;padding:15px 22px;min-height:52px;font-weight:700;font-size:16px}.blue{background:#cfe8ff;color:#164e80;flex:1}.blue span{margin-left:15px}.soft{background:#e8eff7;color:#71869d}.review-bubble{border-radius:28px;text-align:center;background:#fff;padding:22px 15px;margin:8px 0 18px}.review-icon{display:grid;place-items:center;background:#e6f4ff;color:#2d83c3;width:60px;height:60px;border-radius:50%;margin:auto;font-size:27px}.review-bubble h2{font-size:20px;margin:14px 0 7px}.review-bubble p{font-size:13px;line-height:1.7;color:var(--muted)}.toggle-bubble{display:flex;align-items:center;justify-content:space-between;background:white;padding:16px;border-radius:24px;font-size:15px}.toggle-bubble small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.toggle-bubble input{width:21px;height:21px;accent-color:#5da6e2}.privacy-bubble{font-size:12px;line-height:1.8;padding:10px;color:#7c91a5}.file-bubble input{font-size:12px}.sos-screen{display:grid;place-items:center}.settings-button{position:absolute;right:22px;top:17px;border-radius:22px;background:#f3f7fb;color:#647c92;padding:9px 13px;font-size:13px}.sos-button{border-radius:50%;width:238px;height:238px;position:relative;background:#ef535c;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 13px 35px #e94b5320;isolation:isolate}.sos-button:active{transform:scale(.98)}.sos-button strong{font-size:62px;letter-spacing:1px;font-weight:800;line-height:1.1}.sos-button>span:not(.sos-ring){font-size:17px;letter-spacing:4px;margin:10px 0 7px}.sos-button small{font-size:10px;opacity:.9}.sos-ring{position:absolute;inset:-15px;border:1px solid #fde0e2;border-radius:50%;z-index:-1}.service-screen{display:flex;flex-direction:column;gap:14px;padding:22px 19px 28px}.service-choice{flex:1;min-height:145px;border-radius:31px;position:relative;text-align:left;display:flex;align-items:center;padding:17px 18px;overflow:hidden}.ambulance{background:#fff;border:1px solid #dfebf5;color:#264e70}.police{background:#2186df;color:#fff}.fire{background:#ee555c;color:#fff}.service-art{width:130px;flex:none;align-self:stretch;display:flex;align-items:center}.service-art svg{width:130px;max-height:150px}.service-text{margin-left:9px}.service-text b{display:block;font-size:23px;white-space:nowrap}.service-text b span{font-size:19px}.service-text small{font-size:10px;display:block;margin-top:8px;opacity:.8}.service-arrow{position:absolute;right:17px;top:14px;font-size:21px;opacity:.8}.conversation-screen{display:flex;flex-direction:column;padding:0 16px 12px;gap:8px;min-height:0}.conversation-heading{display:flex;justify-content:space-between;align-items:center;flex:none;padding:13px 4px 8px;border-bottom:1px solid #f0f4f8}.conversation-heading p{font-size:11px;color:var(--muted);margin:5px 0 0}.secure-dot{width:8px;height:8px;background:#7bbba7;border-radius:50%}.conversation-log{flex:1;min-height:80px;overflow:auto;padding:7px 0;scroll-behavior:smooth;overscroll-behavior:contain}.message{max-width:95%;border-radius:23px;padding:13px 15px;margin:0 0 12px;font-size:16px;line-height:1.6;overflow-wrap:anywhere}.message.user{margin-left:auto;background:#e9f4ff;border-bottom-right-radius:7px}.message.dispatcher{background:#f3f6f9;border-bottom-left-radius:7px}.message-label{font-size:10px;letter-spacing:.04em;color:#7893ac;margin-bottom:4px}.message p{margin:0;white-space:pre-wrap}.message .english{font-size:13px;color:#56748e;border-top:1px solid #dbe7f0;padding-top:7px;margin-top:8px}.message .message-status{font-size:11px;color:#a07030;margin-top:5px}.message.superseded{opacity:.6}.question-bubble{background:#f1f7fd;border-radius:25px;padding:15px 17px;flex:none;overflow:visible}.question-bubble p{margin:0;overflow-wrap:anywhere}.question-bubble #question-zh{font-size:19px;line-height:1.5;font-weight:650}.question-bubble #question-en{font-size:12px;line-height:1.45;color:#7490a8;margin-top:7px}.question-bubble.long #question-zh{font-size:16px}.audio-status{display:flex;gap:6px;align-items:center;flex:none;min-height:20px;font-size:11px;color:#6c8398;padding:1px 4px}.audio-dot{width:6px;height:6px;border-radius:50%;background:#a6b5c4;flex:none}.audio-status[data-phase=ready] .audio-dot,.audio-status[data-phase=sound] .audio-dot{background:#35a781}.audio-status[data-phase=loading] .audio-dot,.audio-status[data-phase=translating] .audio-dot{background:#579fdb;animation:breathe 1.5s ease-in-out infinite}.audio-status[data-phase=error]{color:#bb4652}.audio-status[data-phase=error] .audio-dot{background:#d76571}.audio-status meter{width:45px;height:8px;margin-left:auto}.audio-detail{font-size:11px;color:#8598aa;line-height:1.4;margin:0;flex:none;overflow-wrap:anywhere}.audio-detail:empty{display:none}.live-draft{font-size:13px;color:#4e769a;padding:0 5px;max-height:75px;overflow:auto;white-space:pre-wrap}.live-draft:empty{display:none}.text-reply{flex:none}.text-reply input{border:1px solid #e5edf5;background:#fff;border-radius:24px;width:100%;padding:11px 14px;font-size:13px;color:#20415e}.conversation-disclaimer{font-size:9px;color:#a0afbd;text-align:center;flex:none}.phone::after{content:"";height:4px;background:#193248;border-radius:5px;position:absolute;width:100px;bottom:6px;left:50%;transform:translateX(-50%);pointer-events:none}@keyframes breathe{50%{opacity:.35}}@media(max-width:440px){body{padding:0}.phone{width:100%;height:100svh;min-height:500px;max-width:430px;border:0;border-radius:0;box-shadow:none}.phone-status{padding-left:25px;padding-right:25px}.island{background:#193248}.phone::after{bottom:5px}.service-choice{border-radius:30px}}@media(max-height:650px){.phone{height:auto;min-height:100svh}.screen{min-height:560px}.conversation-screen{height:650px}.service-screen{min-height:600px}.setup-content{max-height:440px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.service-text small{font-size:12px;opacity:1}.fire{background:#d94350}.police{background:#1c76cd}.field-bubble input::file-selector-button{border:0;border-radius:18px;background:#e3f2ff;color:#3976a4;padding:8px 12px;font:inherit}.toggle-bubble input{appearance:none;width:42px;height:26px;background:#dae5ef;border-radius:20px;position:relative;flex:none}.toggle-bubble input::before{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #18304a18;transition:transform .2s}.toggle-bubble input:checked{background:#8fc5f0}.toggle-bubble input:checked::before{transform:translateX(16px)}

.language-switch{display:flex;justify-content:flex-end;gap:4px;padding:5px 24px;background:#f8fbff;flex:none}.language-switch button{border-radius:22px;padding:7px 12px;background:transparent;color:#315f88;font-size:13px}.language-switch button[aria-pressed=true]{background:#d6ecff;font-weight:700}.app-logo{width:44px;height:44px;object-fit:cover;border-radius:13px;margin-right:5px}.setup-heading{padding-top:2px;padding-bottom:2px}.conversation-heading .app-logo{width:30px;height:30px}

.repeat-group h2{font-size:15px;line-height:1.4;margin:0;font-weight:700}.repeat-help{font-size:13px;line-height:1.55;font-weight:400;color:#657c93;margin:6px 0 14px}.entry-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 0 14px;margin-bottom:14px;border-bottom:1px solid #e8f0f8}.entry-row:last-child{margin-bottom:0}.repeat-group[data-repeat=history] .entry-row,.repeat-group[data-repeat=attachments] .entry-row{grid-template-columns:1fr}.entry-row.medicine-row{grid-template-columns:minmax(0,1.7fr) minmax(82px,1fr)}.entry-row label{display:block;min-width:0}.entry-row label>span{display:block;font-size:13px;font-weight:500;color:#4c6d89;margin-bottom:6px}.repeat-group .entry-row input{padding:11px 10px;border:1px solid #dceaf6;border-radius:15px;background:#f5faff;font-size:16px;min-width:0;line-height:1.5}.repeat-group .entry-row input[type=file]{font-size:12px;padding:9px 6px}.add-another{display:block;width:100%;min-height:44px;background:#e3f2ff;color:#266fa7;border-radius:24px;font-size:14px;font-weight:650;margin-top:10px}.remove-entry{grid-column:1/-1;justify-self:end;background:transparent;color:#647e94;font-size:12px;min-height:36px;padding:7px 8px;border-radius:18px}.handoff-screen{display:flex;flex-direction:column;padding:20px 24px 25px;background:#f8fbff}.handoff-content{margin:auto 0;text-align:center;padding:12px 0 22px}.handoff-art{width:150px;max-width:60%;height:auto}.handoff-eyebrow{font-size:13px;color:#5889b0;font-weight:650;margin:12px 0 8px}.handoff-screen h1{font-size:25px;line-height:1.2;letter-spacing:-.5px;margin:10px 0 16px}.handoff-copy{font-size:16px;line-height:1.75;color:#4d6a83;margin:0}.handoff-note{font-size:11px;color:#70869b;line-height:1.5;text-align:center;margin:0 0 14px}.handoff-screen footer button{width:100%;border-radius:26px;min-height:50px}.handoff-screen header{flex:none}.handoff-screen footer{flex:none}@media(max-width:350px){.repeat-group[data-repeat=contacts] .entry-row,.repeat-group[data-repeat=allergies] .entry-row{grid-template-columns:1fr}.handoff-screen{padding:16px 20px 24px}.handoff-screen h1{font-size:23px}}
