/* Shared navigation for image-to-video, Xiaohua and Canvas. */
body.workspace-nav-ready{padding:0!important}
body.workspace-nav-ready .workspace-global-nav.workspace-nav-v2{box-sizing:border-box;position:sticky;top:0;z-index:100;width:100%;margin:0;border:0;border-bottom:1px solid #deded7;border-radius:0;background:#fffefa;color:#182534;box-shadow:none;overflow:visible;flex:0 0 auto;font:13px/1.4 Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
body.workspace-nav-ready .workspace-nav-v2 *{box-sizing:border-box}
body.workspace-nav-ready .workspace-nav-v2 .workspace-nav-row{display:grid;grid-template-columns:140px minmax(0,1fr) auto;align-items:center;gap:16px;min-height:64px;padding:8px 20px}
body.workspace-nav-ready .workspace-nav-v2 .workspace-brand{display:flex;align-items:center;min-height:44px;min-width:0;text-decoration:none}
body.workspace-nav-ready .workspace-nav-v2 .workspace-brand img{width:116px;height:38px;object-fit:contain;background:#182534;border-radius:5px;padding:6px 10px}
body.workspace-nav-ready .workspace-nav-v2 .workspace-primary-nav{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0}
body.workspace-nav-ready .workspace-nav-v2 .workspace-nav-link{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 12px;border:0;border-radius:7px;color:#526068;background:transparent;text-decoration:none;white-space:nowrap;font-size:13px;font-weight:500;line-height:1.4}
body.workspace-nav-ready .workspace-nav-v2 .workspace-nav-link:hover{color:#182534;background:#f1f2eb}
body.workspace-nav-ready .workspace-nav-v2 .workspace-nav-link.is-active{color:#182534;background:#edf0e9;font-weight:700}
body.workspace-nav-ready .workspace-nav-v2 .workspace-nav-link.is-active:after{content:"";position:absolute;left:12px;right:12px;bottom:5px;height:2px;background:#967548;top:auto;width:auto}
body.workspace-nav-ready .workspace-nav-v2 .workspace-utilities{display:flex;align-items:center;gap:8px;min-width:0}
body.workspace-nav-ready .workspace-nav-v2 :is(.workspace-locale,.workspace-account summary,.workspace-notifications summary,.workspace-menu-button,.workspace-recharge-link){min-height:44px;border:1px solid #deded7;border-radius:7px;background:#fffefa;color:#344550;font:inherit;box-shadow:none}
body.workspace-nav-ready .workspace-nav-v2 .workspace-locale{width:106px;padding:0 24px 0 9px}
body.workspace-nav-ready .workspace-nav-v2 [hidden]{display:none!important}
body.workspace-nav-ready .workspace-nav-v2 .workspace-recharge-link{display:inline-flex;align-items:center;padding:0 13px;background:#182534;color:#fff;text-decoration:none}
body.workspace-nav-ready .workspace-nav-v2 .workspace-credit-pill{display:none}
body.workspace-nav-ready .workspace-nav-v2 .workspace-notifications{position:relative}
body.workspace-nav-ready .workspace-nav-v2 .workspace-notifications summary{display:flex;align-items:center;justify-content:center;min-width:44px;padding:0 10px;gap:5px;cursor:pointer;list-style:none}
body.workspace-nav-ready .workspace-nav-v2 summary::-webkit-details-marker{display:none}
body.workspace-nav-ready .workspace-nav-v2 .workspace-notifications summary>span{display:none}
body.workspace-nav-ready .workspace-nav-v2 .workspace-notification-icon{font-size:18px;color:inherit}
body.workspace-nav-ready .workspace-nav-v2 .workspace-account summary{display:flex;align-items:center;gap:6px;padding:0 10px;max-width:120px;cursor:pointer;list-style:none}
body.workspace-nav-ready .workspace-nav-v2 .workspace-account-menu{top:calc(100% + 7px);z-index:5;width:216px;border-color:#deded7;background:#fffefa;color:#182534}
body.workspace-nav-ready .workspace-nav-v2 .workspace-account-menu :is(a,button){min-height:44px;color:#344550;font-size:13px}
body.workspace-nav-ready .workspace-nav-v2 .workspace-account-menu :is(a,button):hover{background:#edf0e9}
body.workspace-nav-ready .workspace-nav-v2 .workspace-account-balance{display:flex;align-items:center;justify-content:space-between;padding:12px 10px;border-bottom:1px solid #e4e5df;margin-bottom:5px;color:#526068}
body.workspace-nav-ready .workspace-nav-v2 .workspace-account-balance b{color:#182534}
body.workspace-nav-ready .workspace-nav-v2 .workspace-menu-button{display:none;align-items:center;justify-content:center;width:44px;min-width:44px;padding:0;font-size:20px;cursor:pointer}
body.workspace-nav-ready .workspace-nav-v2 .workspace-mobile-panel{display:none}
body.workspace-nav-ready .workspace-nav-v2 .workspace-home-short{display:none}
body.workspace-nav-ready .workspace-nav-v2 .workspace-context-row{color:#637079;border-color:#deded7;background:#f8f8f4}
body.workspace-nav-ready .workspace-nav-v2 .workspace-context-row a{color:#526068}
body.workspace-nav-ready .workspace-nav-v2 :is(a,button,summary,select):focus-visible{outline:2px solid #147d68;outline-offset:2px}
body.workspace-nav-ready .workspace-nav-v2 .workspace-notification-panel{background:#fffefa;color:#182534;border-color:#deded7;z-index:6}
body.workspace-xiaohua>.ce-topbar{display:none!important}
body.workspace-xiaohua>.workspace-global-nav{position:relative;top:0}
body.workspace-canvas{margin:0;height:100dvh;overflow:hidden}
body.workspace-canvas #root{height:calc(100dvh - var(--workspace-nav-height,64px));min-height:0}
body.workspace-canvas .free-studio{height:100%;display:flex;flex-direction:column;min-height:0}
body.workspace-canvas .free-studio .fc-body{height:auto;flex:1;min-height:0}
body.workspace-canvas .free-studio .fc-topbar{height:48px;min-height:48px;flex:0 0 auto}
@media(max-width:1120px){
 body.workspace-nav-ready .workspace-nav-v2 .workspace-nav-row{grid-template-columns:minmax(80px,1fr) auto;gap:10px;padding:6px 14px;min-height:58px}
 body.workspace-nav-ready .workspace-nav-v2 .workspace-primary-nav,body.workspace-nav-ready .workspace-nav-v2 .workspace-utilities>.workspace-locale,body.workspace-nav-ready .workspace-nav-v2 .workspace-utilities>.workspace-account,body.workspace-nav-ready .workspace-nav-v2 .workspace-utilities>.workspace-recharge-link{display:none!important}
 body.workspace-nav-ready .workspace-nav-v2 .workspace-menu-button{display:inline-flex}
 body.workspace-nav-ready .workspace-nav-v2 .workspace-mobile-panel.is-open{display:block;position:absolute;top:100%;left:0;right:0;max-height:calc(100dvh - 64px);overflow:auto;overscroll-behavior:contain;padding:10px 14px 16px;border-top:1px solid #deded7;border-bottom:1px solid #deded7;background:#fffefa;box-shadow:0 12px 20px #18253412}
 body.workspace-nav-ready .workspace-nav-v2 .workspace-mobile-links{display:grid;gap:3px}
 body.workspace-nav-ready .workspace-nav-v2 .workspace-mobile-links .workspace-nav-link{justify-content:flex-start;min-height:44px}
 body.workspace-nav-ready .workspace-nav-v2 .workspace-mobile-links .workspace-nav-link.is-active:after{left:3px;right:auto;top:10px;bottom:10px;width:3px;height:auto}
 body.workspace-nav-ready .workspace-nav-v2 .workspace-mobile-utilities{display:grid;grid-template-columns:1fr 1fr;gap:8px;border-top:1px solid #deded7;padding-top:10px;margin-top:10px}
 body.workspace-nav-ready .workspace-nav-v2 .workspace-mobile-account{display:flex;grid-column:1/-1;align-items:center;justify-content:space-between;gap:10px;padding:8px 4px;color:#526068}
 body.workspace-nav-ready .workspace-nav-v2 .workspace-mobile-account strong{max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body.workspace-nav-ready .workspace-nav-v2 .workspace-mobile-utilities :is(.workspace-mobile-action,.workspace-locale){display:flex;align-items:center;justify-content:flex-start;min-height:44px;width:100%;padding:0 10px;border:1px solid #deded7;border-radius:7px;background:#fffefa;color:#344550;text-decoration:none;font:inherit;cursor:pointer}
}
@media(max-width:600px){
 body.workspace-nav-ready .workspace-nav-v2 .workspace-nav-row{grid-template-columns:minmax(64px,1fr) auto;padding:6px 10px;gap:6px}
 body.workspace-nav-ready .workspace-nav-v2 .workspace-brand img{width:96px;height:34px;padding:5px 7px}
 body.workspace-nav-ready .workspace-nav-v2 .workspace-utilities{gap:4px}
 body.workspace-nav-ready .workspace-nav-v2 .workspace-home-full{display:none}
 body.workspace-nav-ready .workspace-nav-v2 .workspace-home-short{display:inline}
 body.workspace-nav-ready .workspace-nav-v2 .workspace-nav-link{padding:0 7px;font-size:12px;min-height:44px}
 body.workspace-nav-ready .workspace-nav-v2 .workspace-notifications summary{width:44px;padding:0}
 body.workspace-nav-ready .workspace-nav-v2 .workspace-notification-panel{position:fixed;top:60px;right:10px;width:calc(100vw - 20px)}
}
@media(max-width:360px){body.workspace-nav-ready .workspace-nav-v2 .workspace-brand img{width:76px;padding:5px}}
