/* Mobile-first interaction refinements; inherits all brand and appearance tokens. */
.mb42 .mb-shell{isolation:isolate}.mb42.mb-inline .mb-shell{position:relative}.mb42 [hidden]{display:none!important}
.mb42 .mb-header{padding-bottom:10px}.mb42 .mb-avatar{width:52px;height:52px;border-radius:18px}.mb42 .mb-subtitle{min-height:18px}.mb42 .mb-name{letter-spacing:-.6px}
.mb42 .mb42-nav{flex-shrink:0;margin:8px 12px 0;padding:4px;min-height:60px;background:var(--mb-bg);border-radius:18px;gap:3px}.mb42 .mb42-nav .mb-tab{display:flex;flex-direction:column;align-items:center;gap:3px;min-height:52px;min-width:0;flex:1 1 0;padding:6px 4px;font-size:11px;line-height:1.3}.mb42 .mb42-nav .mb-tab:after{display:none}.mb42 .mb42-nav .mb-tab[aria-selected=true]{background:var(--mb-tint);box-shadow:none}.mb42-nav svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.mb42 .mb42-more{font-size:18px;letter-spacing:2px}.mb42 .mb42-menu{position:absolute;z-index:12;right:12px;top:76px;width:min(290px,calc(100% - 24px));padding:8px;background:var(--mb-bg);border:1px solid var(--mb-line);border-radius:18px;box-shadow:0 16px 44px var(--mb-shadow)}.mb42 .mb42-menu button{display:block;width:100%;text-align:left;min-height:48px;border:0;border-radius:10px;background:transparent;color:var(--mb-ink);padding:10px 14px;font-size:14px}.mb42 .mb42-menu button:hover{background:var(--mb-tint)}
.mb42 .mb-product-row{flex-wrap:wrap;gap:4px 10px;padding-bottom:10px}.mb42 .mb-product{flex:1;min-width:140px}.mb42 .mb42-medicine-note{font-size:10px;color:var(--mb-muted);flex-basis:100%;padding-left:66px}.mb42 .mb42-restore-medicine{font-size:11px;min-height:44px;padding:3px 8px;margin-left:58px;margin-top:-4px}
.mb42 .mb42-button{min-height:48px;border:1px solid var(--mb-line);background:var(--mb-bg);color:var(--mb-accent);padding:10px 14px;border-radius:12px;font-size:14px;font-weight:650;line-height:1.4;text-align:left}.mb42 .mb42-button:hover{background:var(--mb-tint);border-color:var(--mb-accent)}
.mb42 .mb42-compose-tools{display:flex;gap:4px;align-items:center;margin:-4px 0 5px;min-height:32px}.mb42 .mb42-compose-tools button{border:0;padding:5px 8px;font-size:11px;min-height:36px;background:transparent}.mb42 .mb42-compose-tools button:first-child{color:var(--mb-accent);background:var(--mb-tint);border-radius:10px}.mb42 .mb42-keyboard-done{margin-left:auto}.mb42 .mb-send{min-height:48px;width:48px}.mb42 .mb-input{padding-top:12px}.mb42 .mb42-unread{position:absolute;right:0;top:0;min-width:23px;height:23px;padding:2px 6px;border-radius:20px;background:var(--mb-accent);color:#fff;font-size:11px;line-height:19px;border:2px solid var(--mb-bg)}
.mb42 .mb42-backdrop{position:absolute;inset:0;z-index:30;background:#071f2580;display:flex;align-items:flex-end;padding:12px;backdrop-filter:blur(3px)}.mb42 .mb42-sheet{max-height:94%;width:100%;min-height:200px;display:flex;flex-direction:column;background:var(--mb-bg);color:var(--mb-ink);border:1px solid var(--mb-line);border-radius:24px;box-shadow:0 20px 70px #0003;overflow:hidden}.mb42 .mb42-sheet-header{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--mb-line);flex-shrink:0;background:var(--mb-bg)}.mb42 .mb42-sheet-header h3{margin:0;font-size:20px;flex:1;line-height:1.2}.mb42 .mb42-sheet-close{font-size:12px;flex-shrink:0}.mb42 .mb42-sheet-body{overflow:auto;overscroll-behavior:contain;padding:18px;display:flex;flex-direction:column;gap:12px;scrollbar-width:thin;scroll-padding:16px}.mb42 .mb42-sheet-body p{margin:0}.mb42 .mb42-sheet-body h4{font-size:18px;line-height:1.4;margin:0}.mb42 .mb42-sheet-body:focus-within{scroll-behavior:auto}
.mb42 .mb42-meta,.mb42 .mb42-answer-context{font-size:11px;color:var(--mb-muted);line-height:1.5}.mb42 .mb42-answer-context{margin:14px 0 6px;padding-top:12px;border-top:1px solid var(--mb-line)}.mb42 .mb42-answer-actions{display:flex;gap:6px;flex-wrap:wrap}.mb42 .mb42-answer-actions button{flex:1;text-align:center;min-height:48px;font-size:12px;padding:8px}.mb42 .mb42-answer-actions button[aria-pressed=true]{background:var(--mb-tint);border-color:var(--mb-accent)}
.mb42 .mb42-find{font-size:16px;min-height:48px;padding:12px;border:1px solid var(--mb-control);background:var(--mb-bg);color:var(--mb-ink);border-radius:12px;width:100%}.mb42 .mb42-find-results{display:grid;gap:12px}.mb42 .mb42-find-card{border:1px solid var(--mb-line);border-radius:16px;padding:12px;display:grid;gap:10px}.mb42 .mb42-empty{padding:20px;border-radius:16px;background:var(--mb-wash);color:var(--mb-muted);font-size:14px}.mb42 .mb42-source-card{display:grid;gap:2px;padding:10px 0;border-bottom:1px solid var(--mb-line)}.mb42 .mb42-source-link{display:flex;align-items:center;min-height:48px;text-decoration:underline;text-underline-offset:4px;color:var(--mb-accent);font-size:15px;line-height:1.5}.mb42 .mb42-source-count{font-size:12px;color:var(--mb-muted)}.mb42 .mb42-source-group h4{color:var(--mb-ink)}
.mb42 .mb42-reader-text .mb-answer-text,.mb42 .mb42-reader-text .mb-answer-list{font-size:18px;line-height:1.85}.mb42 .mb42-reader-text{max-width:44ch;margin:auto}.mb42 .mb42-speech{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--mb-line);padding-top:12px}.mb42 .mb42-speech p{flex-basis:100%}.mb42 .mb42-speech label{font-size:13px;align-self:center}.mb42 .mb42-speech select{min-height:48px;background:var(--mb-bg);color:var(--mb-ink);border:1px solid var(--mb-control);border-radius:12px;padding:8px;font-size:16px}.mb42 .mb42-setting{display:flex;gap:12px;align-items:center;min-height:56px;font-size:15px}.mb42 .mb42-setting input{width:22px;height:22px;flex-shrink:0}.mb42.mb42-spacious .mb-answer-text,.mb42.mb42-spacious .mb-answer-list{line-height:2.1}.mb42.mb42-short-lines .mb-answer-body{max-width:40ch;margin-inline:auto}
.mb42 .mb42-price-shortcuts{display:flex;gap:8px;margin-bottom:16px}.mb42 .mb42-price-shortcuts button{flex:1;font-size:12px;text-align:center}.mb42 .mb42-quote-context{margin-top:20px;border-top:1px solid var(--mb-line);padding-top:14px;display:grid;gap:8px}.mb42 .mb42-quote-label{font-size:13px;font-weight:650}.mb42 .mb42-quote-notes{width:100%;min-height:48px;background:var(--mb-bg);color:var(--mb-ink);border:1px solid var(--mb-control);border-radius:12px;padding:10px;font-size:16px}.mb42 .mb42-recent-list{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}.mb42 .mb42-recent-list button{font-size:12px}.mb42 .mb42-connection{padding:10px 16px;margin:0;background:var(--mb-tint);color:var(--mb-ink);font-size:12px;border-block:1px solid var(--mb-line)}
/* Expressions communicate state; the subtitle provides the same information in words. */
.mb42 .mb-antenna{transform-origin:60px 30px}.mb42 .mb-mouth{transform-origin:60px 70px}.mb42 .mb-mascot .mb-wave{transform-origin:90px 67px}.mb42[data-character=composing] .mb-avatar .mb-eyes{transform:translateX(2px)}.mb42[data-character=thinking] .mb-avatar .mb-eyes{animation:mb42-look 1.8s ease-in-out infinite}.mb42[data-character=thinking] .mb-avatar .mb-heart{animation:mb42-heart 1.4s ease-in-out infinite}.mb42[data-character=success] .mb-avatar .mb-wave{animation:mb42-wave .7s ease-in-out 2}.mb42[data-character=error] .mb-avatar .mb-mouth,.mb42[data-character=offline] .mb-avatar .mb-mouth,.mb42[data-character=urgent] .mb-avatar .mb-mouth{transform:scaleY(.2)}.mb42[data-character=urgent] .mb-avatar .mb-wave{transform:rotate(35deg)}.mb42[data-character=offline] .mb-avatar{filter:grayscale(.8)}
@keyframes mb42-look{0%,100%{transform:translateX(-2px)}50%{transform:translateX(2px)}}@keyframes mb42-heart{50%{opacity:.35}}@keyframes mb42-wave{50%{transform:rotate(-16deg)}}
.mb42.mb-still .mb-mascot *{animation:none!important;transition:none!important}.mb42:not(.mb42-typing) .mb42-keyboard-done{visibility:hidden}
@media(prefers-reduced-motion:reduce){.mb42 .mb-mascot *{animation:none!important;transition:none!important}.mb42 .mb42-backdrop{backdrop-filter:none}}
@media(max-width:600px){
 .mb42.mb-floating.mb-open{inset:0!important;max-width:none;width:100%;height:var(--mb-visible-height,100dvh);bottom:var(--mb-keyboard-offset,0px)!important}.mb42.mb-floating .mb-shell{width:100%;height:100%;max-height:none;border:0;border-radius:0;bottom:0;padding-top:env(safe-area-inset-top)}.mb42.mb-floating.mb-open>.mb-launcher{display:none}
 .mb42 .mb-header{padding:10px 14px 8px}.mb42 .mb-name{font-size:20px}.mb42 .mb-product-row{padding-inline:14px}.mb42 .mb-scroll{padding:20px 14px}.mb42 .mb-composer{padding:8px 12px 0}.mb42 .mb42-nav{margin:6px 8px 0;border-radius:16px;min-height:58px}.mb42 .mb-footer{padding-inline:14px;padding-bottom:max(3px,env(safe-area-inset-bottom));min-height:26px}.mb42 .mb-footer .mb-info{min-height:32px}.mb42 .mb42-compose-tools button{min-height:44px}.mb42 .mb42-compose-tools{margin-top:-4px;margin-bottom:0}.mb42 .mb-privacy-hint{font-size:9px}.mb42 .mb-reply{padding:16px}.mb42 .mb-welcome h3{font-size:28px}.mb42 .mb42-backdrop{padding:0;background:#071f2580}.mb42 .mb42-sheet{max-height:96%;border-radius:24px 24px 0 0;padding-bottom:env(safe-area-inset-bottom)}.mb42 .mb42-sheet-header{padding:12px 14px}.mb42 .mb42-sheet-body{padding:16px}.mb42 .mb42-reader-text .mb-answer-text{font-size:18px}.mb42 .mb42-source-link{min-height:52px}
 .mb42.mb42-keyboard .mb42-nav,.mb42.mb42-keyboard .mb-product-row,.mb42.mb42-keyboard .mb-footer,.mb42.mb42-keyboard .mb-privacy-hint,.mb42.mb42-keyboard .mb-composer-meta{display:none}.mb42.mb42-keyboard .mb-header{padding-block:5px}.mb42.mb42-keyboard .mb-avatar{width:36px;height:36px}.mb42.mb42-keyboard .mb-composer{padding-bottom:6px}
}
@media(max-width:600px) and (max-height:500px){.mb42 .mb-header{padding-block:4px}.mb42 .mb-avatar{width:34px;height:34px}.mb42 .mb-subtitle,.mb42 .mb42-medicine-note{display:none}.mb42 .mb-product-row{padding-bottom:4px}.mb42 .mb42-nav .mb-tab{flex-direction:row;justify-content:center;min-height:44px}.mb42 .mb42-nav{min-height:48px}.mb42 .mb42-compose-tools{display:none}.mb42 .mb-composer-meta,.mb42 .mb-privacy-hint{display:none}}
@media(forced-colors:active){.mb42 .mb42-button,.mb42 .mb42-sheet,.mb42 .mb42-menu{border:1px solid ButtonText}.mb42 .mb-mascot svg{filter:grayscale(1)}.mb42 .mb42-nav .mb-tab[aria-selected=true]{outline:2px solid Highlight}.mb42 .mb42-backdrop{background:Canvas}.mb42 .mb42-unread{border:2px solid ButtonText}}
@media print{.mb42 .mb42-nav,.mb42 .mb42-answer-actions,.mb42 .mb42-compose-tools,.mb42 .mb42-menu,.mb42 .mb42-backdrop,.mb42 .mb42-price-shortcuts{display:none!important}.mb42 .mb42-answer-context{color:#333!important}}
