/* A single, quiet interface shared with the Xiaoyi mobile app. */
html{background:var(--bg,#f7f7fc);scroll-padding-top:88px}
html[data-theme=light][data-palette=purple]{--bg:#f7f7fc;--surface:#fff;--surface-2:#f0eef7;--text:#252237;--muted:#6a6478;--line:#e8e5f0;--accent:#6c58c5;--accent-strong:#5944b3;--soft:#f3f0fc;--lilac:#eee9fa;--shadow:0 12px 40px #25223707}
body.brand44{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft Yahei",sans-serif;font-size:14px;line-height:1.6}
body.brand44 :is(h1,h2,h3){letter-spacing:-.035em;font-weight:650}
.brand44 :is(button,.button,.account-primary,.account-secondary){min-height:44px;border-radius:14px;box-shadow:none;font-size:13px;transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}
.brand44 :is(.primary,.account-primary){border-radius:14px;box-shadow:none}
.brand44 :is(button,.button):active:not(:disabled){transform:scale(.98)}
.brand44 :is(input,select,textarea){font:inherit;border-radius:12px}
.brand44 :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select){min-height:44px}
.brand44 .site-header{height:68px;background:color-mix(in srgb,var(--bg) 86%,transparent);border-bottom:1px solid var(--line);backdrop-filter:blur(20px)}
.brand44 .nav-shell{height:68px;min-height:68px;max-width:1280px;padding:0 32px;gap:24px}
.brand44 .brand{gap:9px}.brand44 .brand-symbol{height:34px;width:34px}.brand44 .brand-copy{font-size:20px!important;letter-spacing:-.04em!important}
.brand44 .nav-actions{gap:8px}.brand44 .nav-actions .icon-button{width:40px;height:44px;padding:10px}
.brand44 #main-nav>a,.brand44 #product-menu-toggle{font-size:13px;border-radius:10px}
.brand44 .nav-cta{border-radius:24px;min-height:40px;padding-inline:20px;font-size:13px}
.brand44 .site-footer{max-width:1200px;padding:30px 32px;font-size:12px;gap:24px}
.brand44 .site-footer>div{font-size:12px}
.brand44 .icon-button:disabled,.brand44 button:disabled{cursor:not-allowed}
/* A stable frame: marketing navigation never competes with tool navigation. */
.brand44.app-page .nav-shell{max-width:none;padding-inline:24px}
.workspace-context-label{font-size:13px;color:var(--muted);padding-left:24px;border-left:1px solid var(--line);white-space:nowrap}
.brand44.app-page .nav-actions{margin-left:auto}
.brand44.app-page .nav-actions .ui-language-toggle{display:inline-flex;min-width:40px;padding:8px;font-size:11px;white-space:nowrap}
.workspace-account-trigger{display:inline-flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--line);padding:8px 14px;color:var(--text);white-space:nowrap}
.workspace-account-trigger .icon{width:19px;height:19px}
.workspace-header-menu{display:none}
.brand44.app-page .app-frame{grid-template-columns:208px minmax(0,1fr);max-width:1600px;min-height:calc(100dvh - 68px);margin-inline:auto}
.brand44.app-page .app-sidebar{top:68px;height:calc(100dvh - 68px);padding:30px 16px 24px;background:var(--bg);border-color:var(--line)}
.brand44 .app-sidebar>.eyebrow{font-size:11px;color:var(--muted);letter-spacing:0;padding:0 14px;margin:0 0 12px}
.brand44 .side-links{gap:6px}.brand44 .side-links>a,.brand44 .side-links>.workspace-mode,.brand44 .side-links>[data-workspace-account]{display:flex;align-items:center;gap:12px;min-height:48px;width:100%;padding:12px 14px;font-size:14px;border-radius:14px;border:0;box-shadow:none;background:transparent;color:var(--muted);text-align:left}
.brand44 .side-links>a[aria-current],.brand44 .side-links>.workspace-mode[aria-pressed=true]{color:var(--accent);background:var(--lilac);border:0;border-radius:14px;box-shadow:none;font-weight:600}
.brand44 .side-links>a:hover,.brand44 .side-links>[data-workspace-account]:hover{background:var(--soft)}
.brand44 .side-links .icon{width:20px;height:20px}
/* Keep the account action on the same icon and label axes as navigation links. */
.brand44 .side-links>[data-workspace-account]{justify-content:flex-start}
/* A play triangle's visual weight sits left of its geometric centre. */
.brand44 :is(button,a,.support-category-icon)>.icon[src$="/play.svg"]{translate:1px 0}
.brand44 .workspace-account-metric strong{font-variant-numeric:tabular-nums lining-nums}
.brand44 .prompter-tools{border:0;margin:6px 0 0;padding:0}.brand44 .prompter-tools>summary{padding:13px 14px;font-size:14px;min-height:48px}
.brand44 .prompter-links{margin:3px 0 8px 24px;padding-left:10px}
.brand44 .command-entry{font-size:12px;min-height:44px;margin-top:24px;border-radius:12px;background:transparent}
.brand44 .sidebar-bottom{gap:4px;padding-top:20px}.brand44 .sidebar-bottom a{font-size:12px;min-height:44px;display:flex;align-items:center}
.brand44.app-page .app-main{max-width:1392px;padding:36px clamp(24px,3vw,48px) 32px}
.brand44 .page-heading,.brand44[data-page=translate] #translationWorkspaceView>.page-heading{margin-bottom:26px;gap:18px;align-items:center}
.brand44 .page-heading .eyebrow{display:none}
.brand44 .page-heading h1,.brand44[data-page=translate] #translationWorkspaceView .page-heading h1{font-size:28px;line-height:1.35;margin:0 0 7px}
.brand44 .page-heading p:last-child,.brand44[data-page=translate] #translationWorkspaceView .page-heading p:last-child{font-size:14px;line-height:1.6}
.brand44 .page-heading .heading-actions{gap:8px;flex-wrap:wrap}
.brand44[data-page=translate] .heading-actions .badge{font-size:11px;background:transparent;border:0}
.brand44 .workspace-nav-toolbar{display:none}
/* Translation is the central surface; secondary controls stay quiet. */
.brand44[data-page=translate] .stage{border:1px solid var(--line);border-radius:24px;box-shadow:0 8px 32px #25223704;overflow:hidden}
.brand44[data-page=translate] #translationWorkspaceView .toolbar{padding:18px 22px;gap:14px}
.brand44[data-page=translate] #translationWorkspaceView .language-pair label{font-size:11px;gap:6px;color:var(--muted)}
.brand44[data-page=translate] #translationWorkspaceView .language-pair select{width:145px;min-height:44px;border:0;border-radius:12px;background:var(--bg);font-size:14px;color:var(--text)}
.brand44[data-page=translate] #translationWorkspaceView .reading-actions>:is(button,a){font-size:12px;min-height:44px;border-radius:12px;background:transparent;border-color:transparent}
.brand44[data-page=translate] #translationWorkspaceView .reading-actions>:is(button,a):hover{background:var(--soft)}
.brand44[data-page=translate] #translationWorkspaceView .live-feed-toolbar{padding:10px 22px;border-top:0;border-color:var(--line);gap:10px}
.brand44 .caption-view{border:0;border-radius:12px;background:var(--bg);padding:4px}.brand44 .caption-view button{min-height:36px;border-radius:9px;font-size:12px}
.brand44[data-page=translate] .live-feed-wrap{background:var(--surface)}
.brand44[data-page=translate] .live-feed{padding:20px 24px;min-height:350px}
.brand44[data-page=translate] .workspace{height:clamp(610px,calc(100dvh - 270px),1000px)}
.brand44[data-page=translate] .live-empty{padding:42px 18px;min-height:350px;justify-content:center}
.brand44[data-page=translate] .live-empty>.eyebrow,.brand44[data-page=translate] .empty-guide{display:none}
.brand44[data-page=translate] .live-empty h2{font-size:24px;margin:20px 0 10px}
.brand44[data-page=translate] .live-empty>p:not(.eyebrow){font-size:14px;line-height:1.8;max-width:360px}
.brand44 .emate-listening-mark{width:76px;height:76px;border-radius:24px;background:var(--soft)}
.brand44[data-page=translate] #feedDemo{font-size:12px;min-height:44px;margin-top:18px;border:0;border-radius:12px;background:var(--bg)}
.brand44[data-page=translate] .live-card{padding:20px 22px;border-radius:18px;box-shadow:none;background:var(--bg);border:1px solid transparent;margin-bottom:14px}
.brand44[data-page=translate] .card-original{color:var(--muted);border:0;padding-bottom:0;margin-bottom:8px;font-size:16px}
.brand44[data-page=translate] .card-translation{font-size:18px;font-weight:500}
.brand44[data-page=translate] .speaker-name{background:var(--surface);font-size:11px;border-radius:8px}
.brand44[data-page=translate] .control{padding:16px 22px;gap:12px;border-top:1px solid var(--line)}
.brand44[data-page=translate] .control #start{min-height:48px;padding-inline:25px;border-radius:16px;font-size:14px}
.brand44[data-page=translate] .control #pauseLive{min-height:44px;border-radius:14px}
@media(min-width:981px){.brand44[data-page=translate] .studio-control-end{width:auto;flex:1;justify-content:flex-end;gap:16px}.brand44[data-page=translate] .input-strip{flex:0 1 auto}}
.brand44[data-page=translate] .studio-save-status{background:var(--surface);padding:10px 22px;border:0}
.brand44[data-page=translate] #notice{font-size:11px;line-height:1.6}
.brand44[data-page=translate] .auto-cloud-save{border:0;padding:12px 4px;margin-top:12px}
.brand44[data-page=translate] .auto-cloud-save p{font-size:11px;max-width:900px}
.brand44[data-page=translate] .workspace-tips{font-size:11px;margin-top:8px}
.brand44[data-page=translate] .course-controls{font-size:12px}
/* Other tools use the same spacing and surfaces. */
.brand44 :is(.text-workspace,.humanizer-workspace,.records-root){border-radius:24px;box-shadow:none;border-color:var(--line)}
.brand44 .text-workspace textarea,.brand44 .humanizer-workspace textarea{font-size:17px;line-height:1.85;min-height:300px}
.brand44 .humanizer-heading h1{font-size:28px}.brand44 .humanizer-notes{font-size:12px;line-height:1.8}
.brand44 .text-footnote{font-size:12px;line-height:1.8}
.brand44 .reading-bar{margin-bottom:16px}.brand44 .reading-bar button{font-size:12px}
.brand44 .records-root{overflow:hidden}.brand44 .records-item{border-radius:14px}.brand44 .records-item strong{font-size:14px}
.brand44 .records-empty{font-size:13px;line-height:1.8}.brand44 .records-detail-empty h2{font-size:22px}
.brand44 dialog{border-radius:24px;border:1px solid var(--line)}
.brand44 dialog::backdrop{background:#17132b55;backdrop-filter:blur(6px)}
@media(min-width:981px){.brand44.app-page .site-footer{display:none}}
@media(max-width:1100px){.brand44.app-page .app-frame{grid-template-columns:188px minmax(0,1fr)}.brand44.app-page .app-main{padding-inline:24px}.brand44[data-page=translate] #translationWorkspaceView .toolbar{flex-wrap:wrap}.brand44 .nav-shell{gap:14px;padding-inline:24px}}
@media(max-width:980px){
 .workspace-header-menu{display:inline-flex}.workspace-context-label{display:none}
 .brand44.app-page .app-frame{display:block}.brand44.app-page .app-main{padding:28px 24px}
 .brand44.app-page #workspaceSidebar{height:100dvh;top:0;padding:20px 18px;z-index:81}
 .brand44 .workspace-nav-toolbar{display:none}.brand44 .workspace-nav-close{display:inline-flex}
 .brand44.app-page .site-footer{display:none}
}
@media(max-width:600px){
 .brand44 .nav-shell,.brand44.app-page .nav-shell{padding-inline:16px;gap:10px;height:64px;min-height:64px}.brand44 .site-header{height:64px}
 .brand44 .brand-symbol{width:30px;height:30px}.brand44 .brand-copy{font-size:19px!important}
 .brand44.app-page .nav-actions{gap:3px}.brand44.app-page .nav-actions .command-trigger{display:none}
 .brand44 .workspace-account-trigger{min-width:44px;padding:10px}.workspace-account-trigger>span{display:none}
 .brand44.app-page .app-main{padding:24px 16px 28px}
 .brand44 .page-heading,.brand44[data-page=translate] #translationWorkspaceView>.page-heading{margin-bottom:20px;gap:14px;flex-wrap:wrap}
 .brand44 .page-heading h1,.brand44[data-page=translate] #translationWorkspaceView .page-heading h1{font-size:25px}
 .brand44 .page-heading p:last-child,.brand44[data-page=translate] #translationWorkspaceView .page-heading p:last-child{font-size:13px}
 .brand44[data-page=translate] .stage{border-radius:20px}
 .brand44[data-page=translate] #translationWorkspaceView .toolbar{padding:15px;gap:12px}
 .brand44[data-page=translate] #translationWorkspaceView .language-pair{width:100%;justify-content:space-between;gap:8px}
 .brand44[data-page=translate] #translationWorkspaceView .language-pair label{flex:1;min-width:0}.brand44[data-page=translate] #translationWorkspaceView .language-pair select{width:100%}
 .brand44[data-page=translate] #translationWorkspaceView .reading-actions{gap:4px;flex-wrap:wrap}
 .brand44[data-page=translate] #translationWorkspaceView .reading-actions>:is(button,a){padding:8px;font-size:11px}
 .brand44[data-page=translate] #translationWorkspaceView .live-feed-toolbar{padding:10px 15px;flex-wrap:wrap}
 .brand44[data-page=translate] .feed-tools{gap:6px;flex-wrap:wrap}.brand44[data-page=translate] .feed-tools button{font-size:11px}
 .brand44[data-page=translate] .live-feed{padding:14px;min-height:320px}.brand44[data-page=translate] .live-empty{padding:28px 12px;min-height:320px}
 .brand44[data-page=translate] .workspace{height:auto;min-height:0}.brand44[data-page=translate] .stage{min-height:520px;height:auto}.brand44[data-page=translate] .live-feed-wrap{min-height:320px}.brand44[data-page=translate] .live-feed{height:clamp(320px,45dvh,580px)}
 .brand44[data-page=translate] .live-empty h2{font-size:22px}.brand44[data-page=translate] .control{padding:14px;flex-wrap:wrap}
 .brand44[data-page=translate] .live-card{padding:17px}.brand44[data-page=translate] .card-original{font-size:15px}.brand44[data-page=translate] .card-translation{font-size:17px}
 .brand44 .text-workspace textarea,.brand44 .humanizer-workspace textarea{font-size:16px;min-height:230px}
 .brand44 .site-footer{padding-inline:20px}
}
@media(max-width:760px){.brand44.app-page.mobile-live-controls:not(.records-workspace-open) .app-main{padding-bottom:calc(var(--mobile-controls-height,180px) + 24px)}}
@media(prefers-reduced-motion:reduce){.brand44 :is(button,.button){transition:none}.brand44 :is(button,.button):active{transform:none}}
