
.tm-heading,.tm-control,.tm-target-heading,.tm-upload-label,#tm-speak,.gm-source-actions,.gm-input-dock,.gm-source-language,#gm-new,#gm-result-more,.gm-robot-links,#gm-tone,.gm-picker-header,.gm-picker-group,.gm-sheet-heading,#gm-loading{display:none!important}
@media(max-width:767px){
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"]{--gm-paper:var(--ss-surface,#fffefb)!important;--gm-dock:var(--ss-shell,#edf1e9)!important;--gm-ink:var(--ss-text,#26241f)!important;--gm-accent:var(--ss-accent,#3b614c)!important;--gm-line:var(--ss-border,#d5ddd0)!important;background:var(--gm-dock)!important;padding:0!important;margin:0!important;overflow:hidden!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] :is(.sidebar-home-logo,#bb-sidebar,.rf-frame-edge,.ss-frame-edge){display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .translate-page{position:fixed!important;inset:0!important;margin:0!important;padding:0!important;width:100%!important;height:100dvh!important;max-height:none!important;min-height:0!important;background:var(--gm-dock)!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] :is(.app,#main-content){height:100%!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;width:100%!important;overflow:visible!important;background:transparent!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .robot-container{height:100%!important;min-height:0!important;max-height:none!important;padding:0!important;margin:0!important;width:100%!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #ss-lang-suggest{top:auto!important;bottom:230px!important;left:50%!important;transform:translateX(-50%)!important}
html.gm-has-result[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #ss-lang-suggest{bottom:96px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .split-translator{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;max-height:none!important;width:100%!important;padding:0!important;margin:0!important;background:var(--gm-dock)!important;border:0!important;border-radius:0!important;box-shadow:none!important;gap:0!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .tm-heading{display:flex!important;flex:none!important;align-items:center!important;justify-content:center!important;position:relative!important;height:52px!important;padding:0!important;background:var(--gm-paper)!important;color:var(--gm-ink)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #bb-mobile-nav#bb-mobile-nav{display:block!important;position:fixed!important;inset:4px auto auto 10px!important;width:44px!important;height:44px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;z-index:2600!important;transform:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #bb-mobile-nav>a{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #bb-mobile-nav>button{display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;width:44px!important;height:44px!important;min-height:44px!important;background:transparent!important;border-radius:50%!important;color:var(--gm-ink)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #bb-mobile-nav .mn-tab-label{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #bb-mobile-nav .mn-tab-icon{margin:0!important;background:none!important;box-shadow:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #overflowMenuBtn{position:fixed!important;top:4px!important;right:10px!important;width:44px!important;height:44px!important;min-height:44px!important;min-width:44px!important;color:var(--gm-ink)!important;border:0!important;background:transparent!important;z-index:20!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #overflowDropdown{position:fixed!important;top:56px!important;right:12px!important;left:auto!important;bottom:auto!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 80px)!important;overflow:auto!important;z-index:3000!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-panels{display:flex!important;flex-direction:column!important;flex:1 1 0!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:auto!important;overscroll-behavior:contain!important;gap:0!important;padding:0 24px 18px!important;margin:0!important;background:var(--gm-paper)!important;border:0!important;border-radius:0 0 28px 28px!important;box-shadow:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] :is(.st-source-panel,.st-target-panel){display:flex!important;flex-direction:column!important;flex:none!important;min-height:0!important;height:auto!important;width:100%!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-panel-divider{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] :is(.st-source-header,.st-target-header){display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;min-height:24px!important;height:auto!important;padding:0!important;margin:8px 0 18px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--gm-ink)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] :is(.st-source-heading,.st-source-header>.st-header-action-group,.st-header-clear-proxy,#tm-edit){display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-source-language{display:block!important;font:400 13px/1.5 Arial,sans-serif!important;color:var(--gm-ink)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .tm-target-heading{display:block!important;margin-right:auto!important;font:400 13px/1.5 Arial,sans-serif!important;color:var(--gm-accent)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .tm-tone-title{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .tm-result-title{display:inline!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] :is(.st-editor-wrap,.st-target-wrap){display:flex!important;flex-direction:column!important;min-height:0!important;height:auto!important;overflow:visible!important;background:transparent!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] :is(#sourceEditor,#targetOutput){display:block!important;flex:none!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;margin:0!important;overflow:visible!important;background:transparent!important;border:0!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] :is(#sourceEditor,#targetOutput) .ql-editor{height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;margin:0!important;font:400 25px/1.45 Arial,sans-serif!important;color:var(--gm-ink)!important;overflow:visible!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #sourceEditor .ql-editor::before{left:0!important;right:0!important;font:400 24px/1.35 Arial,sans-serif!important;color:var(--ss-subtle)!important;font-style:normal!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #targetOutput .ql-editor{color:var(--gm-accent)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] :is(#sourceEditor,#targetOutput) .ql-editor p{font-family:inherit!important;font-size:inherit!important;line-height:inherit!important;color:inherit!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-tone{display:flex!important;min-height:44px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #st-tone-options:not(:popover-open){display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-source-actions{display:flex!important;align-items:center!important;gap:4px!important;min-height:48px!important;margin:18px -8px 16px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-source-actions>button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:44px!important;min-height:44px!important;height:44px!important;padding:8px!important;background:transparent!important;border:0!important;border-radius:50%!important;color:var(--gm-ink)!important;cursor:pointer!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-source-actions svg{width:22px!important;height:22px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-source-actions #sourceStopBtn:disabled{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-source-actions #sourceStopBtn::after{content:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-source-actions #sourceCopyBtn{margin-left:auto!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-source-actions #sourceCopyBtn>span{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #tm-tools{display:inline-flex!important;font-size:0!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #tm-tools::after{content:'•••'!important;font:600 18px/1 Arial,sans-serif!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #tm-tools[aria-expanded=true]{background:var(--gm-dock)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #st-source-toolbar{position:relative!important;max-width:100%!important;margin:0 0 16px!important;padding:4px!important;background:var(--gm-dock)!important;border:0!important;box-shadow:none!important;flex-wrap:wrap!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-panels:not(.tm-tools-open) #st-source-toolbar{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-source-chips{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #charCount{position:static!important;padding:4px 0!important;font-size:11px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .tm-reading #charCount{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #translateBtn{position:relative!important;inset:auto!important;order:5!important;width:auto!important;max-width:none!important;align-self:flex-end!important;min-height:48px!important;margin:8px 0 12px!important;padding:10px 22px!important;border-radius:16px!important;background:var(--ss-selected)!important;color:var(--gm-accent)!important;font-size:15px!important;box-shadow:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .tm-reading #translateBtn{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-target-panel{padding-top:20px!important;border-top:1px solid var(--gm-line)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-target-wrap>.st-floating-actions{display:flex!important;position:relative!important;inset:auto!important;align-items:center!important;flex-wrap:wrap!important;gap:4px!important;min-width:0!important;width:calc(100% + 16px)!important;max-width:none!important;margin:18px -8px 0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-target-wrap>.st-floating-actions.is-hidden{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-floating-actions :is(#ttsBtn,#copyBtn,#gm-result-more){display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:none!important;min-width:44px!important;width:44px!important;max-width:none!important;min-height:44px!important;height:44px!important;padding:8px!important;gap:0!important;background:transparent!important;border:0!important;border-radius:50%!important;box-shadow:none!important;color:var(--gm-accent)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-floating-actions #ttsBtn{order:0!important;margin-right:auto!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-floating-actions #copyBtn{order:1!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-result-more{order:2!important;font:600 18px/1 Arial,sans-serif!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-floating-actions :is(#ttsBtn,#copyBtn,#chatIconBtn)::after{content:none!important;display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-floating-actions svg{width:22px!important;height:22px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-floating-actions :is(.st-download-wrap,.ed-voice-wrap,#chatIconBtn){order:4!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-panels:not(.gm-extra-open) :is(.st-floating-actions .st-download-wrap,.st-floating-actions .ed-voice-wrap,#chatIconBtn,#st-tone-trigger){display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-extra-open .st-floating-actions :is(.st-download-wrap,.ed-voice-wrap,#chatIconBtn){display:inline-flex!important;background:var(--gm-dock)!important;border-radius:10px!important;margin-top:8px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-extra-open .st-floating-actions .ed-voice-wrap{flex:1 0 55%!important;min-height:44px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-extra-open #st-tone-trigger{display:flex!important;min-height:44px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #targetStopBtn:disabled{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-new{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;align-self:flex-end!important;flex:none!important;margin:auto 0 0 auto!important;min-height:52px!important;padding:12px 18px!important;border:0!important;border-radius:17px!important;background:var(--ss-selected)!important;color:var(--gm-accent)!important;box-shadow:0 3px 8px #203d2520!important;font:400 14px/1.3 Arial,sans-serif!important;cursor:pointer!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-target-panel{margin-bottom:32px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-new span{font-size:26px!important;line-height:1!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-language-bar{display:grid!important;grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr)!important;align-items:center!important;flex:none!important;order:3!important;gap:0!important;height:auto!important;min-height:82px!important;margin:0!important;padding:14px 22px!important;background:var(--gm-dock)!important;border:0!important;position:relative!important;top:auto!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-language-bar>.st-lang-group{flex:none!important;width:100%!important;min-width:0!important;max-width:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] :is(#sourceLangBtn,#targetLangBtn){display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:52px!important;padding:8px 10px!important;gap:4px!important;border:0!important;border-radius:12px!important;background:var(--gm-paper)!important;color:var(--gm-ink)!important;font:400 14px/1.3 Arial,sans-serif!important;box-shadow:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] :is(#sourceLangBtn,#targetLangBtn) :is(.st-flag,.st-chevron){display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-lang-name{min-width:0!important;max-width:none!important;white-space:normal!important;text-overflow:clip!important;text-align:center!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #swapLangsBtn{display:flex!important;width:48px!important;min-width:48px!important;height:48px!important;min-height:48px!important;color:var(--ss-muted)!important;background:transparent!important;-webkit-tap-highlight-color:transparent!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #swapLangsBtn:focus-visible{outline:2px solid var(--gm-accent)!important;outline-offset:2px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-input-dock{display:flex!important;order:4!important;flex:none!important;align-items:center!important;justify-content:space-evenly!important;gap:14px!important;min-height:134px!important;padding:4px 20px max(14px,var(--gm-safe-bottom,env(safe-area-inset-bottom)))!important;background:var(--gm-dock)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-input-dock>button{display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;flex:none!important;gap:0!important;position:relative!important;width:66px!important;min-width:66px!important;min-height:66px!important;height:66px!important;padding:18px!important;margin:0 0 22px!important;border:0!important;border-radius:50%!important;background:var(--ss-selected)!important;color:var(--gm-accent)!important;box-shadow:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-input-dock>button svg{width:25px!important;height:25px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-input-dock>button>span{display:block!important;position:absolute!important;top:75px!important;left:-8px!important;right:-8px!important;text-align:center!important;white-space:nowrap!important;font:400 12px/1.2 Arial,sans-serif!important;color:var(--gm-ink)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-input-dock #pasteBtn{order:0!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-input-dock #tm-speak{order:1!important;width:86px!important;height:86px!important;min-width:86px!important;margin-bottom:14px!important;background:var(--ss-accent)!important;color:var(--ss-surface)!important;padding:24px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-input-dock #tm-speak svg{width:32px!important;height:32px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-input-dock #tm-speak>span{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-input-dock #uploadBtn{order:2!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-input-dock #uploadBtn .st-source-chip-label{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-input-dock #uploadBtn .tm-upload-label{display:block!important}
html.gm-has-result[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-input-dock{display:none!important}
html.gm-has-result[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-language-bar{padding-bottom:max(16px,var(--gm-safe-bottom,env(safe-area-inset-bottom)))!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-panels:not(.tm-has-result) .st-source-panel{flex:1 0 auto!important;min-height:180px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-panels:not(.tm-has-result) .st-editor-wrap{flex:1!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-panels:not(.tm-has-result) #sourceEditor{flex:1!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-panels:not(.tm-has-result) #sourceEditor .ql-editor{min-height:160px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-panels:not(.tm-has-result) .st-source-header{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-panels:not(.tm-has-result) .st-target-panel:not(.st-loading):not(:has(#st-result-status:not([hidden]))){display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-panels:not(.tm-has-result) #gm-new{display:none!important}
html:not(.gm-has-input)[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-source-actions{display:none!important}
html:not(.gm-has-input)[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #translateBtn{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #tm-expand{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .tm-reading.tm-long-source #tm-expand{display:flex!important;align-self:flex-start!important;min-height:44px!important;padding:4px 0!important;background:transparent!important;border:0!important;color:var(--gm-accent)!important;font:14px/1.4 Arial,sans-serif!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .tm-reading.tm-long-source:not(.tm-expanded) #sourceEditor .ql-editor{max-height:150px!important;overflow:hidden!important;mask-image:linear-gradient(#000 78%,transparent)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .tm-long-source:has(#gm-source-listen[data-tts-state=playing],#gm-source-listen[data-tts-state=paused]) #sourceEditor .ql-editor{max-height:none!important;mask-image:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] :is(#sourceLangDropdown,#targetLangDropdown){position:fixed!important;inset:70px 14px auto 14px!important;width:auto!important;min-width:0!important;max-width:none!important;max-height:calc(100dvh - 160px)!important;z-index:3000!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-lang-list{max-height:calc(100dvh - 300px)!important;overflow:auto!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #st-result-status:not([hidden]){white-space:normal!important;width:100%!important;max-width:100%!important;padding:12px!important;font-size:14px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #st-stale-status.is-stale{position:static!important;width:auto!important;height:auto!important;margin:0!important;padding:2px 0!important;overflow:visible!important;clip-path:none!important;white-space:normal!important;flex-basis:100%!important;font-size:12px!important;color:var(--ss-muted)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-reviewing>.st-source-panel,html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-reviewing>.st-target-panel{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] :is(.gm-source-actions button,#gm-result-more,#gm-new):focus-visible{outline:2px solid var(--ss-focus)!important;outline-offset:2px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .split-translator:has(#sourceEditor .ql-editor:not(.ql-blank)):not(:has(#tm-speak[aria-pressed=true])) .gm-input-dock{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .split-translator:has(#tm-speak[aria-pressed=true]) .gm-input-dock{display:flex!important}

/* Native listbox inside a modal gives phone Back/Tab/Escape and background isolation. */
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet{position:fixed!important;inset:0!important;margin:0!important;padding:0!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border:0!important;border-radius:0!important;background:var(--gm-paper)!important;color:var(--gm-ink)!important;overflow:hidden!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet::backdrop{background:var(--gm-paper)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet .st-lang-dropdown.open{display:flex!important;flex-direction:column!important;position:static!important;inset:auto!important;transform:none!important;width:100%!important;height:100%!important;min-height:0!important;min-width:0!important;max-width:none!important;max-height:none!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:var(--gm-paper)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet .gm-picker-header{display:flex!important;align-items:center!important;flex:none!important;gap:8px!important;height:64px!important;padding:8px!important;border-bottom:1px solid var(--gm-line)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet .gm-picker-header button{display:flex!important;align-items:center!important;justify-content:center!important;flex:none!important;width:48px!important;height:48px!important;padding:12px!important;border:0!important;border-radius:50%!important;background:transparent!important;color:var(--gm-ink)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet .gm-picker-header svg{width:24px!important;height:24px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet .gm-picker-title{flex:1!important;font:500 18px/1.4 Arial,sans-serif!important;color:var(--gm-ink)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet .st-lang-list{display:block!important;flex:1!important;min-height:0!important;max-height:none!important;overflow:auto!important;overscroll-behavior:contain!important;margin:0!important;padding:0 0 max(16px,var(--gm-safe-bottom,env(safe-area-inset-bottom)))!important;border:0!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet .st-lang-option{position:relative!important;min-height:52px!important;padding:14px 24px 14px 56px!important;border:0!important;border-radius:0!important;gap:0!important;background:transparent!important;font:400 16px/1.5 Arial,sans-serif!important;text-align:start!important;color:var(--gm-ink)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet .st-lang-option .st-flag{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet .st-lang-option[aria-selected=true]{background:var(--ss-selected)!important;color:var(--gm-accent)!important;font-weight:500!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet .st-lang-option:is(:hover,.st-lang-keyboard-active){background:var(--ss-hover)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet .st-lang-option[aria-selected=true]::before{content:'✓'!important;position:absolute!important;inset-inline-start:20px!important;top:14px!important;font-size:20px!important;color:var(--gm-accent)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet :is(.st-lang-expand-btn,.st-lang-extended){display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet .gm-picker-group{display:block!important;padding:18px 20px 8px!important;border-top:1px solid var(--gm-line)!important;font:500 13px/1.5 Arial,sans-serif!important;color:var(--ss-muted)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet .st-lang-search-wrap{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet .gm-searching .st-lang-search-wrap{display:block!important;position:absolute!important;inset:8px 12px auto 64px!important;height:48px!important;padding:0!important;border:0!important;background:var(--gm-paper)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet .gm-searching .st-lang-search{width:100%!important;height:48px!important;min-height:48px!important;margin:0!important;padding:10px 4px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;font:400 16px/1.5 Arial,sans-serif!important;color:var(--gm-ink)!important;outline-offset:-2px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet .gm-searching :is(.gm-picker-title,.gm-picker-search),html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet .gm-filtering .gm-picker-group{visibility:hidden!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet .st-lang-empty:not([hidden]){padding:20px 24px!important;order:2!important;color:var(--ss-muted)!important;font:400 16px/1.5 Arial,sans-serif!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet .gm-filtering .st-lang-list:has(.st-lang-option[style*="display: none"]){flex:1!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #settingsPopover{max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 32px)!important;overflow:auto!important;overscroll-behavior:contain!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #settingsPopover{position:fixed!important;inset:64px 12px auto 12px!important;transform:none!important;width:auto!important;min-width:0!important;margin:0!important;border-radius:20px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #downloadDropdown{position:fixed!important;inset:auto 12px 96px 12px!important;transform:none!important;min-width:0!important;width:auto!important;max-height:calc(100dvh - 120px)!important;overflow:auto!important;border-radius:20px!important;padding:8px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #downloadDropdown .st-dropdown-item{min-height:48px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #st-tone-options:popover-open{position:fixed!important;inset:auto 12px 96px 12px!important;transform:none!important;width:auto!important;min-width:0!important;max-width:none!important;max-height:calc(100dvh - 120px)!important;overflow:auto!important;margin:0!important;border-radius:20px!important;padding:8px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #st-tone-options button{min-height:48px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-language-bar{padding-inline:18px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] :is(#sourceLangBtn,#targetLangBtn){border-radius:24px!important;font-weight:500!important;min-height:52px!important}


html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] :is(.translate-page,#gm-language-sheet){height:var(--gm-height,100dvh)!important;max-height:var(--gm-height,100dvh)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] :is(#settingsPopover,#drawer,#downloadDropdown,#st-tone-options,#ed-voice-popover){animation:none!important;transition:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #settingsPopover{opacity:1!important;z-index:4000!important;background:var(--gm-paper)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #settingsPopover .st-settings-title{font:500 20px/1.3 Arial,sans-serif!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #settingsPopover .st-settings-label{font:500 15px/1.4 Arial,sans-serif!important;text-transform:none!important;letter-spacing:0!important;color:var(--gm-ink)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #settingsPopover .st-settings-helper{font:400 13px/1.5 Arial,sans-serif!important;color:var(--ss-muted)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #settingsPopover #st-settings-close{min-height:44px!important;min-width:44px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #st-tone-options:popover-open{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:2px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #st-tone-options .st-tone-preset-btn{display:flex!important;flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;flex:none!important;width:100%!important;padding:12px 16px!important;gap:16px!important;border-radius:12px!important;font:400 16px/1.5 Arial,sans-serif!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #st-tone-options .st-tone-ico svg{width:20px!important;height:20px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #drawer.open{position:fixed!important;inset:0!important;width:100%!important;min-width:0!important;max-width:none!important;height:var(--gm-height,100dvh)!important;max-height:var(--gm-height,100dvh)!important;transform:none!important;margin:0!important;border:0!important;border-radius:0!important;background:var(--gm-paper)!important;z-index:9200!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #drawer .st-drawer-header{min-height:64px!important;padding:8px 16px!important;border-bottom:1px solid var(--gm-line)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #drawer .st-drawer-title{font:500 18px/1.4 Arial,sans-serif!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #drawer .st-drawer-close{min-width:44px!important;min-height:44px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #drawer .st-chat-input{font-size:16px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-extra-open #st-tone-trigger{font-size:13px!important}


html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"]:has(#drawer.open) #bb-mobile-nav{visibility:hidden!important;pointer-events:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet .st-lang-option{padding-inline:56px 24px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet .gm-searching .st-lang-search-wrap{inset-inline:64px 12px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet[dir=rtl] .gm-picker-back svg{transform:scaleX(-1)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #st-calm-heading-popover{position:fixed!important;inset:auto 12px 12px 12px!important;width:auto!important;min-width:0!important;transform:none!important;margin:0!important;animation:none!important;transition:none!important;opacity:1!important;max-width:calc(100vw - 24px)!important;max-height:calc(var(--gm-height,100dvh) - 24px)!important;overflow:auto!important;overscroll-behavior:contain!important;border-radius:20px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #st-calm-heading-popover button{min-height:44px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #st-toolbar-extra{position:fixed!important;inset:auto 12px 12px 12px!important;width:auto!important;min-width:0!important;transform:none!important;margin:0!important;max-width:calc(100vw - 24px)!important;max-height:calc(var(--gm-height,100dvh) - 24px)!important;overflow:auto!important;border-radius:20px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #st-toolbar-extra button{min-height:44px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #ss-lang-suggest{display:none!important}

/* Phone essentials: no rich-text shelf, extra editor actions, or preview chrome. */
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] :is(.tm-local,#tm-tools,#st-source-toolbar,#st-toolbar-extra,#st-calm-heading-popover,#gm-result-more,#gm-tone,#st-tone-trigger,#st-tone-options,.st-floating-actions .st-download-wrap,.st-floating-actions .ed-voice-wrap,#chatIconBtn){display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-panels .st-floating-actions :is(#gm-result-more,.st-download-wrap,.ed-voice-wrap,#chatIconBtn),html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-panels #st-tone-trigger{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-source-panel{position:relative!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #sourceEditor .ql-editor{padding-inline-end:40px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-new{display:flex!important;position:absolute!important;inset:0 0 auto auto!important;align-items:center!important;justify-content:center!important;min-width:44px!important;width:44px!important;min-height:44px!important;height:44px!important;padding:10px!important;margin:0!important;border:0!important;border-radius:50%!important;box-shadow:none!important;background:transparent!important;color:var(--ss-muted)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-new svg{width:24px!important;height:24px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-panels:not(.tm-has-result) #gm-new{display:flex!important}
html:not(.gm-has-input)[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-panels #gm-new{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-source-actions #tm-speak{display:inline-flex!important;order:-1!important;flex:none!important;position:static!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:0!important;padding:10px!important;background:transparent!important;color:var(--gm-ink)!important;box-shadow:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-source-actions #tm-speak>span{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] :is(.st-skeleton,.ss-tp-wrap){display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-loading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:64px!important;padding:8px 0!important;color:var(--ss-muted)!important;font:400 24px/1.4 Arial,sans-serif!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-loading[hidden]{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-loading .st-cancel-btn{position:static!important;inset:auto!important;transform:none!important;flex:none!important;min-width:44px!important;width:44px!important;min-height:44px!important;height:44px!important;margin:0!important;padding:10px!important;border:0!important;border-radius:50%!important;background:transparent!important;color:var(--ss-muted)!important;box-shadow:none!important;opacity:1!important;animation:none!important;transition:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-loading .st-cancel-btn .st-translate-label{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-loading .st-cancel-btn svg{display:block!important;width:24px!important;height:24px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-target-panel.st-loading{min-height:96px!important;position:relative!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-target-panel.st-loading .st-target-header{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-target-panel.st-loading #targetOutput{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-panels:has(.st-loading) .st-source-panel{flex:0 0 auto!important;min-height:0!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-panels:has(.st-loading) #sourceEditor .ql-editor{min-height:0!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] :is(.st-skeleton,.ss-tp-wrap) *{animation:none!important;transition:none!important}

}

/* The translator's top menu retains the native public sheet and its controls. */
@media(max-width:767px){
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #bb-mobile-more-sheet{inset:52px 8px auto 8px!important;width:auto!important;height:auto!important;max-height:calc(var(--gm-height,100dvh) - 64px - var(--gm-safe-bottom,env(safe-area-inset-bottom)))!important;transform:none!important;animation:st-phone-menu-in 250ms cubic-bezier(.4,0,.2,1)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #bb-mobile-more-sheet .gm-robot-links{display:flex!important;flex-direction:column!important;gap:2px!important;margin:0 0 8px!important;padding:0 0 8px!important;border-bottom:1px solid var(--mns-line)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #bb-mobile-more-sheet .gm-robot-links>a{display:flex!important;align-items:center!important;min-height:48px!important;text-decoration:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #bb-mobile-more-sheet .gm-robot-links .mn-tab-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:20px!important;height:20px!important;flex:0 0 20px!important;margin:0!important;background:none!important;box-shadow:none!important;color:inherit!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #bb-mobile-more-sheet .gm-robot-links svg{width:20px!important;height:20px!important;flex:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #bb-mobile-more-sheet .gm-robot-links .mn-icon-f{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #bb-mobile-more-sheet .gm-robot-links .mn-icon-o{display:block!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #bb-mobile-more-sheet .gm-robot-links [aria-current=page] .mn-icon-f{display:block!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #bb-mobile-more-sheet .gm-robot-links [aria-current=page] .mn-icon-o{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #bb-mobile-more-sheet .gm-robot-links .mn-tab-label{font:inherit!important;color:inherit!important;white-space:normal!important;text-align:start!important}
}
@keyframes st-phone-menu-in{from{opacity:0;translate:0 -8px}to{opacity:1;translate:0 0}}
@media(max-width:767px) and (prefers-reduced-motion:reduce){html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #bb-mobile-more-sheet{animation:none!important}}

/* Phone status states: native messages and handlers, contained in the reading surface. */
@media(max-width:767px){
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #st-result-status:not([hidden]){box-sizing:border-box!important;position:static!important;inset:auto!important;transform:none!important;width:auto!important;max-width:100%!important;min-width:0!important;margin:12px 0 0!important;padding:16px!important;border:1px solid var(--gm-line)!important;border-radius:16px!important;background:var(--gm-dock)!important;color:var(--gm-ink)!important;font:400 16px/1.5 Arial,sans-serif!important;white-space:normal!important;overflow-wrap:anywhere!important;box-shadow:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-panels:not(.tm-has-result):has(#st-result-status:not([hidden])) .st-source-panel{flex:0 0 auto!important;min-height:0!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-panels:not(.tm-has-result):has(#st-result-status:not([hidden])) #sourceEditor .ql-editor{min-height:0!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-panels:not(.tm-has-result):has(#st-result-status:not([hidden])) .st-target-panel{padding-top:0!important;margin-bottom:0!important;border-top:0!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-panels:not(.tm-has-result):has(#st-result-status:not([hidden])) :is(.st-target-header,#targetOutput){display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet .st-lang-empty{position:absolute!important;inset:88px 24px auto!important;margin:0!important;padding:24px 0!important;text-align:center!important;font:400 16px/1.5 Arial,sans-serif!important;color:var(--ss-muted)!important;white-space:normal!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"]:has(#ss-public-login-gate.is-visible) #overflowDropdown{visibility:hidden!important}
}

/* Oversæt phone access; the popover itself retains the native PC component. */
.st-mobile-reader{display:none!important}
@media(max-width:767px){
 html[data-st-mobile-design] body#translation-shared#translation-shared :is(#st-mobile-reader-source,#st-mobile-reader-target){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-height:44px!important;height:44px!important;min-width:44px!important;width:auto!important;padding:8px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:var(--ss-text,#26241f)!important;font:500 12px/1.2 Arial,sans-serif!important;white-space:nowrap!important}
 html[data-st-mobile-design] body#translation-shared#translation-shared .st-mobile-reader svg{width:18px!important;height:18px!important}
 html[data-st-mobile-design] body#translation-shared#translation-shared .st-mobile-reader[aria-expanded="true"]{background:var(--ss-surface-2,#edf2ef)!important}
 html[data-st-mobile-design] body#translation-shared#translation-shared #ed-voice-popover .gm-sheet-heading{display:none!important}
 html[data-st-mobile-design] body#translation-shared#translation-shared #ed-voice-popover .ss-reader-voice-row{padding-inline-start:48px}
 html[data-st-mobile-design] body#translation-shared#translation-shared #ed-voice-popover .ss-reader-preview{width:28px!important;height:28px!important;min-height:28px!important;inset-inline-start:10px}
}

/* Keep every phone surface inside the visible viewport, including the iOhtml[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] keyboard.
   The native PC reader and all desktop rules remain unchanged. */
@media(max-width:767px){
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"]{--gm-safe-bottom:env(safe-area-inset-bottom)}
html[data-gm-keyboard][data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"]{--gm-safe-bottom:0px}
html[data-gm-keyboard][data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .split-translator:not(:has(#tm-speak[aria-pressed=true])) .gm-input-dock{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .translate-page{inset:var(--gm-top,0px) 0 auto!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .tm-heading{height:calc(52px + env(safe-area-inset-top))!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #bb-mobile-nav#bb-mobile-nav{top:calc(var(--gm-top,0px) + env(safe-area-inset-top) + 4px)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #overflowMenuBtn{top:calc(var(--gm-top,0px) + env(safe-area-inset-top) + 4px)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-panels{padding:8px max(24px,env(safe-area-inset-right)) 24px max(24px,env(safe-area-inset-left))!important;scroll-padding-block:12px 24px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-panels:not(.tm-has-result):not(:has(.st-loading,#st-result-status:not([hidden]))) .st-source-panel{flex:1 0 auto!important;min-height:0!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-panels:not(.tm-has-result):not(:has(.st-loading,#st-result-status:not([hidden]))) #sourceEditor{min-height:44px!important;flex:1 1 0!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .st-panels:not(.tm-has-result):not(:has(.st-loading,#st-result-status:not([hidden]))) #sourceEditor .ql-editor{height:100%!important;min-height:44px!important;overflow-y:auto!important;overscroll-behavior:contain!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .gm-source-actions{flex:none!important;margin-block:12px 0!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #translateBtn{margin-block:12px 16px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet{inset:var(--gm-top,0px) 0 auto!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet .gm-picker-header{height:calc(64px + env(safe-area-inset-top))!important;padding-top:calc(8px + env(safe-area-inset-top))!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #gm-language-sheet .gm-searching .st-lang-search-wrap{top:calc(8px + env(safe-area-inset-top))!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #overflowDropdown{top:calc(var(--gm-top,0px) + env(safe-area-inset-top) + 56px)!important;max-height:calc(var(--gm-height,100dvh) - env(safe-area-inset-top) - 68px)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #settingsPopover{top:calc(var(--gm-top,0px) + env(safe-area-inset-top) + 64px)!important;max-height:calc(var(--gm-height,100dvh) - env(safe-area-inset-top) - 80px)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #bb-mobile-more-sheet{top:calc(var(--gm-top,0px) + env(safe-area-inset-top) + 52px)!important;max-height:calc(var(--gm-height,100dvh) - env(safe-area-inset-top) - 64px - var(--gm-safe-bottom))!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #drawer.open{inset:var(--gm-top,0px) 0 auto!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] #ss-public-login-gate{top:calc(var(--gm-top,0px) + var(--gm-height,100dvh)/2)!important;max-height:calc(var(--gm-height,100dvh) - 24px)!important;overflow:auto!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .ss-pdfsplit{inset:var(--gm-top,0px) 0 auto!important;height:var(--gm-height,100dvh)!important;max-height:var(--gm-height,100dvh)!important;overflow:hidden!important}
html[data-st-mobile-design] body#translation-shared#translation-shared[data-translation-design="shared"] .ss-pdfsplit-top{padding-top:calc(10px + env(safe-area-inset-top))!important;flex-shrink:0!important}
}

/* Translate phone dock: joined microphone and independent language disclosure. */
@media(max-width:767px){
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-input-dock{gap:0!important;justify-content:center!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-input-dock #pasteBtn{margin-right:auto!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-input-dock #uploadBtn{order:3!important;margin-left:auto!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-input-dock .dict-mobile{order:2!important;flex:0 0 auto!important;min-width:44px!important;max-width:none!important;padding:0!important;margin:0 0 14px!important;overflow:visible!important;color:var(--ss-surface)!important;background:var(--ss-accent)!important;z-index:1}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-input-dock .dict-mobile bdi{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-input-dock .dict-mobile svg{display:block!important;width:18px!important;height:18px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-input-dock :is(#tm-speak:not([aria-pressed="true"]),.dict-mobile):focus-visible{outline:none!important;background:var(--ss-accent-hover,var(--ss-accent))!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-input-dock .dict-mobile:is(:hover,[aria-expanded="true"]){background:var(--ss-accent-hover,var(--ss-accent))!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-input-dock #tm-speak:not([aria-pressed="true"]){color:var(--ss-surface)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-input-dock #tm-speak{width:76px!important;min-width:76px!important;border-radius:43px 0 0 43px!important;padding:22px 18px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-input-dock .dict-mobile{width:44px!important;height:86px!important;min-height:86px!important;border-radius:0 43px 43px 0!important;border-left:1px solid color-mix(in srgb,var(--ss-surface) 25%,transparent)!important}
}

/* Translate working toolbar: labelled groups with independent action dividers. */
@media(max-width:767px){
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-source-actions{gap:0!important;flex-wrap:wrap!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-source-actions #tm-speak{order:0!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-source-actions .dict-mobile{order:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;height:44px!important;min-height:44px!important;min-width:44px!important;max-width:none!important;padding:0 10px 0 4px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-source-actions .dict-mobile bdi{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-source-actions .dict-mobile svg{display:block!important;width:12px!important;height:12px!important;flex:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-source-actions #gm-source-listen{order:2!important;margin-left:12px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-source-actions #st-mobile-reader-source{order:3!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-source-actions #sourceStopBtn{order:4!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-source-actions #sourceCopyBtn{order:5!important;margin-left:auto!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-source-actions #tm-tools{order:6!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-source-actions #tm-speak:not([aria-pressed="true"]),html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-source-actions .dict-mobile{background:var(--ss-selected)!important;color:var(--ss-on-selected)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-source-actions #tm-speak{border-radius:22px 0 0 22px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-source-actions .dict-mobile{border-radius:0 22px 22px 0!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-source-actions .dict-mobile:is(:hover,:focus-visible,[aria-expanded="true"]){background:var(--ss-hover)!important;outline:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-source-actions .dict-mobile{max-width:calc(100vw - 220px)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-source-actions :is(#gm-source-listen,#st-mobile-reader-source){background:var(--ss-shell)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-source-actions #gm-source-listen{border-radius:22px 0 0 22px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-source-actions #st-mobile-reader-source{border-radius:0 22px 22px 0!important;width:44px!important;padding:8px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-source-actions #st-mobile-reader-source span{display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-source-actions :is(.dict-mobile,#st-mobile-reader-source){position:relative!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-source-actions :is(.dict-mobile,#st-mobile-reader-source)::before{content:""!important;position:absolute!important;inset-inline-start:0!important;top:11px!important;bottom:11px!important;width:1px!important;background:currentColor!important;opacity:.3!important;pointer-events:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-source-actions .dict-mobile{padding-inline-start:9px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-source-actions :is(#tm-speak,.dict-mobile,#gm-source-listen,#st-mobile-reader-source):focus-visible{outline:2px solid currentColor!important;outline-offset:2px!important;z-index:1!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) .gm-source-actions :is(#gm-source-listen,#st-mobile-reader-source):is(:hover,[aria-expanded="true"]){background:var(--ss-hover)!important}}

/* Translate microphone split pill: one state surface, two independent controls. */
@media(max-width:767px){
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) :is(.gm-input-dock,.gm-source-actions):has(#tm-speak:is([aria-pressed="true"],[aria-busy="true"],.ss-mic--connecting,.ss-mic--listening,.ss-mic--recording,.ss-mic--processing)) :is(#tm-speak,.dict-mobile){background:var(--ss-selected)!important;color:var(--ss-on-selected)!important;opacity:1!important;animation:none!important;transition:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) :is(.gm-input-dock,.gm-source-actions):has(#tm-speak:is([aria-pressed="true"],[aria-busy="true"],.ss-mic--connecting,.ss-mic--listening,.ss-mic--recording,.ss-mic--processing)) .dict-mobile{border-left-color:color-mix(in srgb,var(--ss-on-selected) 25%,transparent)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) :is(.gm-input-dock,.gm-source-actions):has(#tm-speak:is([aria-pressed="true"],[aria-busy="true"],.ss-mic--connecting,.ss-mic--listening,.ss-mic--recording,.ss-mic--processing)) .dict-mobile:disabled svg{opacity:.45!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared:is([data-translation-design="shared"],[data-app-translation-design="shared"]) :is(.gm-input-dock,.gm-source-actions) #tm-speak:is(.ss-mic--listening,.ss-mic--recording,.ss-mic--processing) svg{stroke:currentColor!important}
}

/* Translation favorites: independent 44px stars, native selection/search retained. */
@media(max-width:767px){
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared #gm-language-sheet .gm-language-row{display:grid!important;grid-template-columns:minmax(0,1fr) 48px!important;align-items:center!important;margin:4px 12px!important;border-radius:10px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared #gm-language-sheet .gm-language-row:has(.st-lang-option[style*="display: none"]){display:none!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared #gm-language-sheet .gm-language-row .st-lang-option{min-width:0!important;width:100%!important;border-radius:10px!important;padding-inline:44px 8px!important;background:transparent!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared #gm-language-sheet .gm-language-row:has(.st-lang-option[aria-selected=true]){background:var(--ss-selected)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared #gm-language-sheet .gm-language-row:hover{background:var(--ss-hover)!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared #gm-language-sheet .gm-language-row .st-lang-option::before{inset-inline-start:14px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared #gm-language-sheet .gm-language-favorite{display:flex!important;align-items:center!important;justify-content:center!important;width:44px!important;min-height:48px!important;padding:0!important;border:0!important;border-radius:8px!important;background:transparent!important;color:var(--ss-muted)!important;cursor:pointer!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared #gm-language-sheet .gm-language-favorite svg{width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linejoin:round!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared #gm-language-sheet .gm-language-favorite[aria-pressed=true] svg{fill:#e9b83d!important;stroke:#9a6d08!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared #gm-language-sheet .gm-language-favorite[aria-disabled=true]{opacity:.5!important;cursor:wait!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared #gm-language-sheet .gm-language-row :focus-visible{outline:2px solid var(--gm-accent)!important;outline-offset:-3px!important}
html[data-st-mobile-design] body#translation-shared#translation-shared#translation-shared#translation-shared #gm-language-sheet .gm-favorite-status{padding:12px 20px!important;font-size:14px!important;color:var(--gm-ink)!important}
}
