:root{--ui-ink:#242529;--ui-brand:#ba544b;--ui-reading:#3b4048;--ui-canvas:#fffdfa;--ui-line:#dededa;--chat-view-height:100dvh;font-family:'Hiragino Sans','Yu Gothic',Meiryo,sans-serif;font-synthesis:none;color:var(--ui-ink);background:#fff}
*{box-sizing:border-box}[hidden]{display:none!important}html,body{height:100%;margin:0;overflow:clip}body{font-size:16px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0}button:disabled{cursor:default;opacity:.55}a{color:var(--ui-brand);text-underline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--ui-brand);outline-offset:3px}button:hover:not(:disabled){color:var(--ui-brand)}h1,h2,h3,p{margin-top:0}svg{flex-shrink:0}input,textarea,select{min-width:0}.showcase-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}
body.consultation-embedded{position:fixed;inset:0;width:100%;overflow:clip}
.kv-consultation,.consultation-layout,.consultation{height:100%;min-height:0;min-width:0}.consultation{display:flex;flex-direction:column;background:#fff;overflow:hidden}.conversation-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;padding:8px 16px;border-bottom:1px solid var(--ui-line);background:#fffdfa}.conversation-identity{display:flex;align-items:center;gap:9px;min-width:0}.conversation-identity h1{font-size:15px;font-weight:700;line-height:1.5;margin:0}.identity-dot{width:7px;height:7px;flex-shrink:0;border-radius:50%;background:var(--ui-brand)}#conversation-mode{font-size:12px;color:#64666c;white-space:nowrap}.conversation-tools{display:flex;align-items:center;gap:4px}.conversation-tools button{min-width:44px;min-height:44px;padding:8px;border-radius:8px;background:transparent;font-size:13px;line-height:1.5}.conversation-tools button:hover{background:#f4ebe8}#chat-close{font-size:26px;font-weight:400}
.conversation-body{flex:1 1 0%;min-height:0;overflow-x:hidden;overflow-y:auto;padding:24px;overscroll-behavior:contain;touch-action:pan-y pinch-zoom;scrollbar-width:thin;scrollbar-color:#ddd transparent;overflow-wrap:anywhere;-webkit-overflow-scrolling:touch}.chat-intro{max-width:610px;margin:0 0 20px}.chat-intro h2{font-size:23px;line-height:1.6;margin-bottom:14px}.chat-intro p{font-size:16px;line-height:1.9;margin-bottom:12px}.chat-intro .consultation-origin{font-size:13px;color:var(--ui-brand);font-weight:600}.chat-intro .test-note{font-size:13px;color:#64666c}.is-chatting .chat-intro{display:none}.entry-suggestions{margin-bottom:24px}.entry-suggestions>span{font-size:13px;color:var(--ui-reading)}.entry-suggestions>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.entry-suggestions button{min-height:44px;padding:10px 12px;background:#fff;border:1px solid #bbb;border-radius:8px;font-size:15px;line-height:1.5;text-align:left}.entry-suggestions button:hover{background:#fbf1ef}
.chat-message{font-size:16px;line-height:1.85;max-width:94%;margin-bottom:24px}.chat-message.visitor{margin-left:auto;background:#f7f3f2;border-radius:12px 12px 2px 12px;padding:12px 16px;max-width:85%}.message-label{display:block;font-size:13px;color:#696b70;font-weight:600;line-height:1.6;margin-bottom:6px}.message-content p{margin:0 0 9px}.message-content p:last-child{margin-bottom:0}.message-content ul{margin:8px 0;padding-left:22px}.message-content li{margin:4px 0}.message-content a{overflow-wrap:anywhere}.reply-progress{display:flex;align-items:center;gap:10px;color:#64666c;font-size:14px;line-height:1.6;padding-bottom:12px}.typing-dots{display:flex;gap:4px}.typing-dots i{width:5px;height:5px;border-radius:50%;background:var(--ui-brand);animation:waiting 1.3s ease-in-out infinite}.typing-dots i:nth-child(2){animation-delay:.15s}.typing-dots i:nth-child(3){animation-delay:.3s}@keyframes waiting{0%,80%,100%{opacity:.3}40%{opacity:1}}
.composer-area{flex-shrink:0;padding:9px 16px 4px;border-top:1px solid var(--ui-line);background:#fff}.composer-area>label{display:block;font-size:12px;line-height:1.6;color:#64666c;margin-bottom:5px}.composer-area form{display:flex;align-items:flex-end;gap:8px;border:1px solid #c8c6c4;border-radius:12px;padding:4px 4px 4px 12px;transition:border-color .2s ease,box-shadow .2s ease}.composer-area textarea{width:100%;border:0;resize:none;background:transparent;color:var(--ui-ink);font-size:16px;line-height:1.5;padding:10px 0;margin:0;min-height:44px;max-height:116px}.composer-area textarea:focus-visible{outline:none}.composer-area form:focus-within{border-color:var(--ui-brand);box-shadow:0 0 0 2px #ba544b1f}.composer-area #send{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;background:var(--ui-brand);border-radius:9px;color:#fff}.composer-area #send:hover:not(:disabled){background:#9d433b;color:#fff}.composer-bottom{display:flex;justify-content:flex-end}.composer-actions{display:flex;gap:8px}.composer-actions button{min-height:44px;padding:8px;background:transparent;font-size:13px;text-decoration:underline;text-underline-offset:3px}.composer-bottom:not(:has(.composer-actions>button:not([hidden]))){display:none}.answer-context{font-size:14px;line-height:1.5;margin:0 0 6px;color:var(--ui-reading)}#chat-error{font-size:14px;line-height:1.7;color:#9d433b;margin:8px 0}
.consultation-support{display:flex;align-items:center;flex-shrink:0;gap:8px;padding:4px 16px calc(8px + env(safe-area-inset-bottom,0px));background:#fff}.consultation-urgent{font-size:12px;color:#64666c;white-space:nowrap}.consultation-footer>div{display:flex;gap:8px}.consultation-footer button{min-height:44px;padding:8px 14px;border:1px solid var(--ui-line);border-radius:8px;background:#f8f8f7;font-size:14px;line-height:1.5}.consultation-support #privacy-open{display:flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;padding:8px;background:transparent;margin-left:auto;font-size:12px;text-decoration:underline;text-underline-offset:3px}.consultation-support #privacy-open svg{display:none}
.content-recommendation{display:flex;flex-direction:column;gap:6px;font-size:14px;margin:16px 0}.content-recommendation small{font-size:12px;color:#64666c}.content-recommendation strong{font-size:16px}.content-recommendation p{font-size:16px;line-height:1.85;margin:0}.service-guidance-actions a{display:inline-flex;align-items:center;min-height:44px;padding:8px 0}
dialog{position:fixed;border:1px solid var(--ui-line);border-radius:16px;width:calc(100% - 32px);max-width:660px;max-height:calc(var(--chat-view-height,100dvh) - 32px);padding:24px;color:var(--ui-ink);background:#fff;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}dialog::backdrop{background:#24252966}dialog p{font-size:15px;line-height:1.85;color:var(--ui-reading)}dialog h2{font-size:22px;line-height:1.5;margin:0}dialog label{display:block;font-size:15px;font-weight:600;margin-bottom:8px}dialog input,dialog textarea,dialog select{display:block;width:100%;font-size:16px;line-height:1.7;min-height:44px;border:1px solid #a1a0a2;border-radius:8px;padding:10px 12px;margin-bottom:14px}dialog textarea{resize:vertical}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.dialog-heading button{flex:0 0 44px;min-height:44px;width:44px;border:1px solid var(--ui-line);border-radius:8px;background:#fff;font-size:25px}.primary-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid var(--ui-brand);border-radius:8px;background:var(--ui-brand);color:#fff;font-size:15px;font-weight:600;line-height:1.5}.primary-button:hover:not(:disabled){background:#9d433b;color:#fff}.quiet-button{min-height:44px;padding:10px;background:transparent;font-size:14px;line-height:1.5}#summary-dialog textarea{min-height:168px}#guide-media video{display:block;width:100%;max-height:340px;border-radius:8px;background:#242529}.guide-person{display:flex;align-items:center;gap:16px;padding:14px;border:1px solid var(--ui-line);border-radius:12px;margin-bottom:18px}.guide-person img{width:110px;height:120px;object-fit:cover;object-position:50% 15%;border-radius:8px}.guide-person strong{font-size:16px;line-height:1.8}
@media(max-width:760px){.conversation-header{padding:4px 8px;gap:4px;flex-wrap:wrap}.conversation-identity{flex:1 1 auto;gap:6px}.conversation-identity h1{font-size:14px}#conversation-mode{font-size:11px}.conversation-tools{gap:0}.conversation-tools button{font-size:12px;padding:6px}.conversation-tools #summary-open{max-width:68px}.conversation-tools #reset-open{max-width:60px}.conversation-body{padding:18px 14px 8px}.chat-intro h2{font-size:20px}.chat-message{max-width:100%}.chat-message.visitor{max-width:94%;padding:10px 12px}.composer-area{padding:6px 12px 4px}.composer-area textarea{max-height:80px}.consultation-support{padding:4px 12px calc(4px + env(safe-area-inset-bottom,0px));gap:6px}.consultation-urgent{display:none}.consultation-footer{flex:1;min-width:0}.consultation-footer>div{gap:6px}.consultation-footer button{flex:1 1 0;min-width:0;padding:6px 8px}.consultation-support #privacy-open{width:44px;height:44px;margin:0;padding:0;text-decoration:none}.consultation-support #privacy-open svg{display:block}.privacy-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.entry-suggestions>div{display:grid;grid-template-columns:1fr}dialog{width:calc(100% - 16px);max-height:calc(var(--chat-view-height,100dvh) - 16px);inset:calc(var(--chat-view-top,0px) + 8px) 8px auto;margin:0;padding:16px}dialog h2{font-size:19px}dialog p{font-size:15px}.is-keyboard-open .consultation-support{display:none}}
@media(max-height:500px){.conversation-header{flex-wrap:nowrap;min-height:48px}.conversation-identity h1{font-size:13px}.composer-area>label{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}.chat-intro h2{font-size:18px}.consultation-support{padding-block:2px}.consultation-support button{min-height:44px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.typing-dots i{opacity:.65}}

/* Select several answers before sending one reply; checked boxes make the selection explicit. */
.chat-message .message-content p,.chat-message .message-content li{font-size:inherit;line-height:inherit}
.message-choice-group{margin-top:14px;min-width:0}
.choice-hint{margin:0 0 8px;font-size:13px;line-height:1.6;color:var(--ui-reading)}
.message-choice-group .message-options{margin-top:0}
.message-choice-group .message-options button{display:flex;align-items:center;gap:9px;text-align:left;min-width:0;border:1px solid #868A91;background:white;color:var(--ui-ink);font-weight:500}
.message-choice-group .message-options button:hover:not(:disabled){background:#F7F7F5;color:var(--ui-ink);border-color:#656970}
.choice-check{position:relative;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex:0 0 18px;border:1.5px solid #777C84;border-radius:4px;background:white}
.choice-label{min-width:0;overflow-wrap:anywhere}
.message-choice-group .message-options button[aria-pressed=true]{background:#FBF1EF;border-color:var(--ui-brand);color:var(--ui-ink)}
.message-choice-group .message-options button[aria-pressed=true]:hover:not(:disabled){background:#F6E5E1;border-color:var(--ui-brand);color:var(--ui-ink)}
.message-choice-group .message-options button[aria-pressed=true] .choice-check{background:var(--ui-brand);border-color:var(--ui-brand)}
.message-choice-group .message-options button[aria-pressed=true] .choice-check::after{content:"";width:9px;height:5px;border-left:2px solid white;border-bottom:2px solid white;transform:translateY(-1px) rotate(-45deg)}
.message-choice-group .message-options button:disabled{opacity:.65}
.choice-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 12px;margin-top:10px;min-width:0}
.choice-count{margin-right:auto;color:var(--ui-reading);font-size:13px;line-height:1.6}
.message-choice-group .choice-other{display:inline-flex;align-items:center;gap:9px;min-height:44px;margin-top:8px;padding:9px 12px;border:1px solid #868A91;border-radius:8px;background:white;color:var(--ui-ink);font-size:16px;font-weight:500;line-height:1.5;text-align:left}
.message-choice-group .choice-other:hover:not(:disabled){background:#F7F7F5;border-color:#656970}
.message-choice-group .choice-other[aria-pressed=true]{background:#FBF1EF;border-color:var(--ui-brand)}
.message-choice-group .choice-other[aria-pressed=true] .choice-check{background:var(--ui-brand);border-color:var(--ui-brand)}
.message-choice-group .choice-other[aria-pressed=true] .choice-check::after{content:"";width:9px;height:5px;border-left:2px solid white;border-bottom:2px solid white;transform:translateY(-1px) rotate(-45deg)}
.choice-other:disabled{opacity:.65}
.choice-other:focus-visible{outline:2px solid var(--ui-brand);outline-offset:4px}
.composer-area .answer-context{margin:0 0 6px;padding:0 3px;font-size:14px;line-height:1.5;color:var(--ui-reading)}
.composer-area form{transition:border-color .2s ease,box-shadow .2s ease}
.composer-area form.is-answer-requested{border-color:#B76C63;box-shadow:0 3px 14px rgba(98,57,49,.12)}
.composer-area form.is-answer-requested:focus-within{border-color:var(--ui-brand);box-shadow:0 0 0 2px rgba(186,84,75,.12),0 4px 16px rgba(98,57,49,.12)}
@media(prefers-reduced-motion:reduce){.composer-area form{transition:none}}
@media(max-width:760px), (max-width:1024px) and (max-height:500px) and (pointer:coarse){
  .choice-hint,.choice-count{font-size:13px}
  .message-choice-group .message-options button{padding:9px 10px;gap:8px}
  .choice-actions{gap:8px}
  .choice-submit{font-size:15px;padding:9px 12px}
}

/* One input and one utility row: privacy never reserves a separate line. */
.contact-consent{display:flex;align-items:flex-start;gap:10px;font-weight:400;line-height:1.7;margin:8px 0}
dialog .contact-consent input{appearance:auto;width:20px;min-width:20px;min-height:20px;height:20px;flex:0 0 20px;margin:4px 0 0;padding:0;border-radius:4px}
.contact-consent span{font-size:14px}
dialog .contact-note{font-size:13px;line-height:1.7;color:var(--ui-reading);margin:12px 0}
.contact-form-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
#contact-error{font-size:14px;color:#9D302A}
.composer-bottom:not(:has(.entry-suggestions:not([hidden]),.composer-actions>button:not([hidden]))){display:none}
.contact-name-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}.contact-name-fields>div{min-width:0}#contact-company-help{margin:4px 0 12px;line-height:1.6}

@media(max-width:760px){#conversation-mode{display:none}.conversation-identity h1{font-size:13px}.conversation-tools #summary-open{max-width:64px}.conversation-tools #reset-open{max-width:60px}}

/* One composer and utility row, shared by the inline and expanded conversation. */
.composer-area{flex:0 0 auto;margin:12px 16px 0;padding:15px 18px 10px;border:1px solid #dedbd6;border-radius:24px;background:#fff;box-shadow:0 12px 36px #493c5112,0 1px 3px #493c5108;transition:box-shadow .2s ease,border-color .2s ease}
.composer-area:focus-within{border-color:#b5aca4;box-shadow:0 12px 36px #493c5112,0 0 0 2px #493c510a}
.composer-area:has(form.is-answer-requested){border-color:#b76c63}
.composer-heading,#send-label,.consultation-support .privacy-label{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.composer-area form,.composer-area form:focus-within,.composer-area form.is-answer-requested,.composer-area form.is-answer-requested:focus-within{flex-direction:column;align-items:stretch;gap:3px;padding:0;border:0;border-radius:0;box-shadow:none}
.composer-area textarea{min-height:36px;max-height:none;padding:4px 0 8px;font-size:16px;line-height:1.6}
.composer-area textarea::placeholder{color:#747478;opacity:1}
.composer-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:4px;min-height:44px}
.composer-toolbar #expand-chat{display:none;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-height:44px;background:transparent;border-radius:12px;color:#64666c}
.composer-toolbar #expand-chat:hover{background:#f4f3f1;color:var(--ui-ink)}
.composer-area #send{flex:0 0 44px;min-width:44px;width:44px;height:44px;min-height:44px;padding:0;border-radius:12px;background:#242529;color:#fff}
.composer-area #send:hover:not(:disabled){background:#41444b;color:#fff}
.composer-area #send:disabled{background:#eceae8;color:#92918f;opacity:1}
.composer-send-icon{display:block}
.entry-suggestions{flex:0 0 auto;min-width:0;margin:10px 16px 2px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.entry-suggestions>div{display:flex;flex-wrap:wrap;gap:4px;margin:0}
.entry-suggestions button{position:relative;isolation:isolate;min-height:44px;padding:6px 12px;background:transparent;border:0;border-radius:999px;font-size:13px;line-height:1.5;color:#3b4048}
.entry-suggestions button::before{content:"";position:absolute;z-index:-1;inset:6px 0;border:1px solid #b9b1ac;border-radius:999px;background:rgba(255,255,255,.38)}
.entry-suggestions button:hover:not(:disabled){background:transparent;color:#3b4048}
.entry-suggestions button:hover:not(:disabled)::before{border-color:#a49d96;background:rgba(255,255,255,.7)}
.message-choice-group .message-options button,.message-choice-group .choice-other{font-size:16px;line-height:1.5;min-height:44px}
.consultation-support{justify-content:center;gap:8px;padding:8px 16px 0;background:transparent}
.consultation-support .consultation-urgent{display:none}
.consultation-footer{flex:0 1 auto;min-width:0}
.consultation-footer>div{gap:6px}
.consultation-support .consultation-footer :is(button,a){display:inline-flex;flex:0 1 auto;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:7px 12px;border:1px solid #dedbd6;border-radius:8px;background:#f8f7f5;color:var(--ui-reading);font-size:13px;line-height:1.5;text-align:center;text-decoration:none}
.consultation-support .consultation-footer :is(button,a):hover:not(:disabled){background:#f0eeeb;border-color:#c5bfb8;color:var(--ui-ink)}
.consultation-support #privacy-open{display:inline-flex;flex:0 0 44px;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:8px;background:transparent;color:var(--ui-reading);text-decoration:none}
.consultation-support #privacy-open svg{display:block}
.consultation-support #privacy-open:hover{background:#f0eeeb;color:var(--ui-ink)}
.consultation-branding{display:flex;flex:0 0 auto;align-items:center;justify-content:center;min-height:28px;padding:6px 12px calc(6px + env(safe-area-inset-bottom,0px));background:transparent}
.composer-attribution{display:flex;align-items:center;flex-wrap:wrap;gap:3px 7px;font-size:11px;line-height:1.4;color:#64666c}
.composer-attribution span{white-space:nowrap}
.composer-attribution img{display:block;flex:0 0 auto;width:103px;height:20px;object-fit:contain}
/* Only visibility and surrounding placement differ between presentation modes. */
body.presentation-inline,html:has(body.presentation-inline){background:transparent}
.presentation-inline .kv-consultation,.presentation-inline .consultation-layout,.presentation-inline .consultation{height:auto;min-height:0;background:transparent}
.presentation-inline .conversation-header,.presentation-inline .conversation-body{display:none}
.presentation-inline .composer-area{margin:4px 4px 0}
.presentation-inline .composer-toolbar #expand-chat{display:inline-flex}
.presentation-inline .entry-suggestions{margin-inline:4px}
.presentation-inline .composer-bottom{margin-top:0}
.presentation-inline .consultation-support{padding-inline:4px}
.presentation-inline .consultation-branding{padding-inline:4px;padding-bottom:0}
@media(max-width:760px){
 .composer-area{margin-inline:12px}
 .consultation-support{padding-inline:12px}
 .presentation-inline .composer-area{margin-inline:2px}
 .is-keyboard-open .consultation-support{display:none}
}
@media(max-width:520px){
 .consultation-support{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:4px}
 .consultation-footer>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
 .consultation-support .consultation-footer :is(button,a){flex-direction:column;width:100%;height:100%;padding:5px 2px;font-size:12px}
 .consultation-footer :is(button,a)>span{white-space:nowrap}
 .presentation-inline .consultation-support{padding-inline:2px}
 .is-keyboard-open .consultation-support{display:none}
}
@media(max-width:480px){
 .composer-area{padding:13px 14px 10px;border-radius:20px}
 .composer-attribution{font-size:11px;line-height:1.5}
 .composer-attribution img{width:93px;height:18px}
}
@media(max-width:360px){.consultation-support .consultation-footer :is(button,a){font-size:11px}}

/* A plain-language notice; closing it never submits a consultation. */
#privacy-dialog .privacy-section{margin:0 0 20px}
#privacy-dialog .privacy-section h3{margin:0 0 8px;font-size:16px;line-height:1.65;font-weight:700}
#privacy-dialog .privacy-section p{margin:0 0 8px}
#privacy-dialog .privacy-drafts{border-block:1px solid var(--ui-line);margin:0 0 18px;padding:4px 0}
#privacy-dialog .privacy-drafts summary{min-height:44px;padding:10px 0;cursor:pointer;font-size:14px;line-height:1.7;font-weight:600}
#privacy-dialog .privacy-drafts summary:focus-visible{outline:2px solid var(--ui-brand);outline-offset:2px}
#privacy-dialog .privacy-drafts p{margin:6px 0 12px}
#privacy-dialog .privacy-policy-link{font-size:14px;margin:0 0 18px}
#privacy-dialog #privacy-return{min-width:140px}

/* MOMO identifies the navigator; the transcript stays the main reading area. */
.conversation-header{min-height:64px;padding:8px 16px;background:#fff}
.conversation-identity{gap:10px}
.momo-avatar{display:block;flex:0 0 44px;width:44px;height:44px;overflow:visible;border-radius:0;background:transparent}
.momo-avatar img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;transform:none;transform-origin:50% 75%}
@keyframes momo-navigator-sway{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-2px) rotate(1deg)}}
@media(prefers-reduced-motion:no-preference){.momo-avatar img{animation:momo-navigator-sway 8s ease-in-out infinite}.momo-motion-paused .momo-avatar img{animation-play-state:paused}}
@media(prefers-reduced-motion:reduce){.momo-avatar img{animation:none;transform:none}}
.conversation-identity-copy{min-width:0}
.conversation-identity h1{font-size:16px;line-height:1.4;font-weight:700}
.conversation-subtitle{display:block;font-size:11px;line-height:1.5;color:#64666c;white-space:nowrap}
.conversation-tool-icon{display:none}
.conversation-tools button{display:inline-flex;align-items:center;justify-content:center}
.message-label{font-size:13px;line-height:1.6}
.message-content{min-width:0;max-width:100%}
.message-table-scroll{width:100%;max-width:100%;min-width:0;overflow-x:auto;margin:12px 0;border:1px solid var(--ui-line);border-radius:10px;overscroll-behavior-x:contain;touch-action:pan-x pan-y pinch-zoom;-webkit-overflow-scrolling:touch}
.conversation-body:has(.message-table-scroll){touch-action:pan-x pan-y pinch-zoom}
.message-table-scroll table{width:100%;min-width:28rem;border-collapse:collapse;font:inherit;line-height:1.65;text-align:left}
.message-table-scroll th,.message-table-scroll td{min-width:6rem;max-width:24rem;padding:10px 12px;border-bottom:1px solid var(--ui-line);vertical-align:top;overflow-wrap:anywhere}
.message-table-scroll th{background:#f7f4f0;font-weight:600}
.message-table-scroll tbody tr:last-child td{border-bottom:0}
.message-table-scroll [data-align="right"]{text-align:right}
.message-table-scroll [data-align="center"]{text-align:center}
.message-choice-group{max-width:680px;margin-top:18px;padding:16px;border:1px solid #e3dfdb;border-radius:12px;background:#faf9f7}
.choice-hint{margin:0 0 10px;color:#64666c}
.message-choice-group .message-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.message-choice-group .message-options button{width:100%;min-height:48px;padding:10px 12px;border-radius:8px;font-size:15px}
.message-choice-group .choice-other{width:100%;min-height:44px;margin-top:8px;padding:9px 12px;font-size:14px}
.choice-actions{justify-content:flex-start;min-height:20px;margin-top:10px}
.choice-count{font-size:13px;color:#64666c}
.contact-invitation{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;max-width:680px;margin-top:16px;padding:16px;border:1px solid #e5d8d1;border-radius:12px;background:#faf6f2;color:var(--ui-reading);font-size:14px}
.contact-invitation-body{flex:1 1 250px;min-width:0}
.contact-invitation-body p{font-size:14px;line-height:1.8;margin:0}
.contact-invitation-body .contact-invitation-heading{display:flex;align-items:center;gap:8px;margin-bottom:4px;color:var(--ui-ink);font-size:15px}
.contact-invitation-optional{padding:1px 6px;border:1px solid #e1d9d1;border-radius:4px;background:#fff;font-size:11px;font-weight:400;color:#64666c}
.contact-invitation-actions{display:flex;align-items:center;gap:8px}
.contact-invitation button{min-height:44px;padding:8px 12px;border:1px solid #242529;border-radius:8px;background:#242529;color:#fff;font-size:14px;font-weight:600;line-height:1.6}
.contact-invitation button:hover:not(:disabled){background:#41444b;color:#fff}
.contact-invitation .contact-later{border-color:transparent;background:transparent;color:var(--ui-reading);font-weight:400}
.contact-invitation .contact-later:hover:not(:disabled){background:#eee7e1;color:var(--ui-ink)}
.contact-flow{margin-top:24px;padding-top:20px;border-top:1px solid var(--ui-line)}
.contact-flow-message>p{margin-bottom:0;line-height:1.85}
.contact-review{padding:16px;border:1px solid #e3dfdb;border-radius:12px;background:#faf9f7}
.contact-review-fields{margin:16px 0}
.contact-review-fields>div{display:grid;grid-template-columns:100px minmax(0,1fr) 44px;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid #e3dfdb}
.contact-review-fields dt{font-size:13px;color:#64666c}
.contact-review-fields dd{margin:0;font-size:15px;overflow-wrap:anywhere}
.contact-review-fields button{min-width:44px;min-height:44px;padding:6px 0;background:transparent;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.contact-review>a{display:inline-flex;align-items:center;min-height:44px;font-size:13px}
.contact-consent-choice{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;margin-top:12px;padding:12px;border:1px solid #868a91;border-radius:8px;background:#fff;color:var(--ui-ink);font-size:15px;line-height:1.7;text-align:left}
.contact-consent-choice:hover:not(:disabled){background:#f7f7f5;color:var(--ui-ink)}
.contact-consent-choice[aria-pressed=true]{border-color:var(--ui-brand);background:#fbf1ef}
.contact-consent-choice[aria-pressed=true] .choice-check{border-color:var(--ui-brand);background:var(--ui-brand)}
.contact-consent-choice[aria-pressed=true] .choice-check::after{content:"";width:9px;height:5px;border-left:2px solid white;border-bottom:2px solid white;transform:translateY(-1px) rotate(-45deg)}
.contact-flow-context{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px;font-size:13px;color:var(--ui-reading)}
.contact-flow-context button{min-height:44px;padding:6px 0 6px 8px;background:transparent;font-size:12px;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.composer-area textarea:read-only{display:none}
.contact-send-hint{font-size:14px;color:var(--ui-reading);margin-right:6px}
@media(max-width:520px){
 .contact-review-fields>div{grid-template-columns:minmax(0,1fr) 44px;gap:0 8px;padding:4px 0 10px}
 .contact-review-fields dt{grid-column:1;grid-row:1}
 .contact-review-fields dd{grid-column:1/-1;grid-row:2}
 .contact-review-fields button{grid-column:2;grid-row:1}
}
@media(max-width:760px){
 .conversation-header{min-height:60px;padding:6px 8px;gap:4px;flex-wrap:nowrap}
 .conversation-identity{gap:7px;flex:1 1 auto}
 .conversation-identity h1{font-size:15px}
 .momo-avatar{flex-basis:40px;width:40px;height:40px}
 .conversation-subtitle{font-size:10px}
 .conversation-tools{flex:0 0 auto;gap:0}
 .conversation-tools button,.conversation-tools #summary-open,.conversation-tools #reset-open{width:44px;max-width:none;height:44px;padding:0}
 .conversation-tool-icon{display:block}
 .conversation-tool-label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 .message-choice-group{padding:12px}
 .message-choice-group .message-options{grid-template-columns:1fr}
 .is-keyboard-open .consultation-branding,.is-keyboard-open .entry-suggestions{display:none}
}

/* Theme chips prepare an editable draft; single answers advance, while multiple answers
   keep their own visible confirmation beside the selections. */
.entry-suggestions>div{display:flex;flex-wrap:wrap;gap:4px}
.entry-suggestions button{flex:0 0 auto;width:auto;max-width:100%;min-width:0;text-align:center;overflow-wrap:anywhere}
.starter-note:not(.is-error){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.starter-note.is-error{margin:4px 0 0;font-size:12px;line-height:1.5;color:#9d433b}
.message-choice-group.is-single-choice .message-options button{justify-content:space-between}
.choice-next{flex:0 0 auto;font-size:18px;font-weight:400;color:var(--ui-reading)}
.message-choice-group .choice-submit{min-height:44px;padding:10px 16px;border:1px solid #242529;border-radius:8px;background:#242529;color:#fff;font-size:14px;font-weight:600;line-height:1.5}
.message-choice-group .choice-submit:hover:not(:disabled){background:#41444b;color:#fff}
.message-choice-group .choice-submit:disabled{background:#eceae8;border-color:#dedbd6;color:#777;opacity:1}
.choice-supplement-hint{margin:9px 0 0;color:var(--ui-reading);font-size:12px;line-height:1.7}
@media(max-width:760px){.entry-suggestions{margin-top:6px;margin-inline:12px}.presentation-inline .entry-suggestions{margin-inline:2px}.choice-actions{align-items:flex-start}.message-choice-group .choice-submit{width:100%}.entry-suggestions button{font-size:13px;padding:6px 8px}}

/* A single theme row: migration details unfold locally, never submit a message. */
.entry-suggestions>.starter-toolbar{display:flex;flex-wrap:nowrap;align-items:center;gap:4px;margin:0;min-height:44px}
.starter-primary{display:flex;flex-wrap:nowrap;gap:4px;min-width:0}
.entry-suggestions #starter-toggle{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.starter-mobile-label{display:none}
.entry-suggestions{position:relative;z-index:3}
.entry-suggestions>.starter-picker{position:absolute;z-index:4;inset:calc(100% + 6px) 0 auto auto;display:flex;flex-direction:column;flex-wrap:nowrap;min-width:0;width:min(100%,360px);max-height:var(--starter-picker-max-height,calc(100dvh - 64px));margin:0;padding:8px;border:1px solid #dfd6d0;border-radius:14px;background:#fff;box-shadow:0 8px 22px #493c5120;overflow:hidden}
.entry-suggestions>.starter-picker[data-placement="above"]{inset:auto 0 calc(100% + 6px) auto}
.starter-picker>p{flex:0 0 auto;min-width:0;max-width:100%;margin:0;padding:3px 10px 5px;font-size:12px;line-height:1.5;color:#64666c}
.starter-options{display:flex;flex:1 1 auto;flex-direction:column;gap:0;min-height:0;min-width:0;width:100%;max-width:100%;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#b8aaa1 #f4efec;-webkit-overflow-scrolling:touch}
.starter-options::-webkit-scrollbar{width:6px}.starter-options::-webkit-scrollbar-thumb{background:#b8aaa1;border-radius:6px}.starter-options::-webkit-scrollbar-track{background:#f4efec}
.entry-suggestions .starter-options button{display:block;min-height:44px;width:100%;max-width:none;padding:10px;text-align:left;border:0;border-radius:8px;background:#fff;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.entry-suggestions .starter-options button::before{display:none}
.entry-suggestions .starter-options button:hover:not(:disabled){background:#fbf1ef}
#starter-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
@media(max-width:680px){
 .starter-desktop-label{display:none}.starter-mobile-label{display:inline}
 .entry-suggestions>.starter-toolbar{justify-content:flex-start}
 .entry-suggestions #starter-toggle{justify-content:space-between;min-width:192px;padding-inline:14px;font-size:14px}
 .entry-suggestions>.starter-picker{width:100%;padding:6px}
 .starter-picker>p{padding-block:3px;font-size:12px}
 .starter-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
 .entry-suggestions .starter-options button{min-height:44px;padding:6px 8px;font-size:13px;line-height:1.5;overflow-wrap:normal;word-break:normal}
}
