/* Compact command/search chrome. Loaded after polished-ui.css. */
body.comic-studio-active{background:#000!important}
#comic-studio.cs-v40{width:100%!important;max-width:1800px!important;height:100dvh!important;margin:0 auto!important;padding:0!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:132px minmax(0,1fr) 36px!important;border-radius:0!important;background:#000!important;box-shadow:none!important;border:0!important}
#comic-studio.cs-v40>.cs-top.cx-top{grid-row:1!important;grid-column:1!important;height:132px!important;min-height:0!important;padding:0!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:48px 40px 44px!important;gap:0!important;background:#09090b!important;border:0!important;border-radius:0!important;color:#c7c7ce!important;overflow:visible!important}
.cx-searchrow{display:flex;align-items:center;gap:10px;min-width:0;padding:0 18px}
#comic-studio.cs-v40 .cx-searchrow>.cs-top-logo{display:none!important}
#comic-studio.cs-v40 .cx-searchrow #cs-topsearch{flex:1 1 auto!important;max-width:none!important;min-width:0!important;height:40px!important;gap:10px!important;padding:0!important;border-radius:0!important;background:none!important;border:0!important;box-shadow:none!important;color:#c1c1c8!important}
#comic-studio.cs-v40 #cs-topsearch:focus-within{background:transparent!important;box-shadow:none!important}
#comic-studio.cs-v40 #cs-topsearch #cs-search,#comic-studio.cs-v40 #cs-topsearch #ixForm{height:38px!important;min-width:0!important;flex:1!important;margin:0!important}
#comic-studio.cs-v40 #cs-topsearch #ai-search-input,#comic-studio.cs-v40 #cs-topsearch #cs-search-fallback{height:38px!important;font:400 18px/38px "Inter UI",system-ui,sans-serif!important;color:#dddde3!important;letter-spacing:-.02em!important}
#comic-studio.cs-v40 #cs-topsearch input::placeholder{color:#a6a6ae!important;opacity:1!important}
#comic-studio.cs-v40 #cs-topsearch .cs-top-lens{display:grid!important;place-items:center!important;color:#eeeef2!important;flex:0 0 19px!important}
#comic-studio.cs-v40 #cs-topsearch .cs-top-lens svg{width:20px!important;height:20px!important}
#comic-studio.cs-v40 .cs-kbd{display:flex!important;gap:3px!important;font-size:14px!important}
#comic-studio.cs-v40 .cs-kbd span{background:#202024!important;color:#afafb7!important;border:1px solid #2b2b30!important;border-radius:4px!important;min-width:19px!important;height:21px!important;padding:0 3px!important}
#comic-studio.cs-v40 .cx-searchrow .cs-top-right{flex:0 0 auto!important;gap:8px!important;margin:0!important}
#comic-studio.cs-v40 .cs-top-right .cs-signin{height:27px!important;min-height:27px!important;padding:0 10px!important;color:#bcbcc4!important;background:#161619!important;border:1px solid #2e2e34!important;border-radius:6px!important;font-size:14px!important}
#comic-studio.cs-v40 .cs-avatar{width:27px!important;height:27px!important;min-width:27px!important;border-color:#3c3c44!important}
.cx-appstrip{min-width:0;display:flex;justify-content:space-between;align-items:stretch;gap:14px;border-bottom:1px solid #29292e;padding:0 18px}
.cx-apps-left,.cx-apps-right{display:flex;align-items:center;gap:24px;min-width:0}
.cx-apps-left{overflow-x:auto;scrollbar-width:none}
.cx-apps-right{flex:0 0 auto;gap:19px}
.cx-all{align-self:stretch;display:grid;place-items:center;position:relative;min-width:40px;color:#eeeeF1;font:400 14px/1 "Inter UI",system-ui,sans-serif}
.cx-all::after{content:'';height:2px;position:absolute;bottom:-1px;left:-6px;right:-6px;background:#8872eb}
.cx-app{width:20px;height:22px;display:grid;place-items:center;flex:0 0 20px;opacity:.96}
.cx-app svg{width:19px;height:19px;display:block}
.cx-add{height:26px;width:26px;flex:0 0 26px;display:grid;place-items:center;border:1px solid #35353b;border-radius:50%;color:#7e7e88;font:300 23px/1 system-ui;margin-left:1px}
.cx-navrow{display:flex;align-items:center;gap:8px;padding:5px 18px;min-width:0;border-bottom:1px solid #18181c;background:#08080a;overflow:hidden}
#comic-studio.cs-v40 .cx-navrow .cs-tabs{display:flex!important;align-items:center!important;gap:5px!important;overflow:visible!important;flex:0 0 auto!important;width:auto!important;margin:0!important;order:0!important}
#comic-studio.cs-v40 .cx-navrow .cs-tab,#comic-studio.cs-v40 .cx-navrow .cs-top-link{flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;gap:6px!important;height:29px!important;min-height:29px!important;padding:0 10px!important;border:1px solid #2c2c31!important;border-radius:8px!important;background:transparent!important;color:#a7a7af!important;font:400 14px/27px "Inter UI",system-ui,sans-serif!important;white-space:nowrap!important}
#comic-studio.cs-v40 .cx-navrow .cs-tab span,#comic-studio.cs-v40 .cx-navrow .cs-top-link span{display:inline!important}
#comic-studio.cs-v40 .cx-navrow .cs-tab .cs-ico,#comic-studio.cs-v40 .cx-navrow .cs-top-link .cs-ico{display:block!important;width:14px!important;height:14px!important;flex:0 0 14px!important;color:#83838f!important}
#comic-studio.cs-v40 .cx-navrow .cs-tab.is-on,#comic-studio.cs-v40 .cx-navrow .cs-top-link.is-on{background:#1d1d20!important;border-color:#1d1d20!important;color:#efeff2!important}
#comic-studio.cs-v40 .cx-navrow .cs-tab:hover,#comic-studio.cs-v40 .cx-navrow .cs-top-link:hover{background:#18181b!important;color:#e3e3e7!important}
#comic-studio.cs-v40 .cx-navrow .cs-chips{display:flex!important;gap:5px!important;align-items:center!important;padding:0 0 0 8px!important;margin:0!important;border:0!important;border-left:1px solid #29292e!important;flex:0 0 auto!important;overflow:visible!important;order:1!important}
#comic-studio.cs-v40 .cx-navrow .cs-chip{height:27px!important;flex:0 0 auto!important;padding:0 9px!important;border:1px solid #25252b!important;border-radius:7px!important;background:transparent!important;color:#92929d!important;font:400 14px/25px "Inter UI",system-ui,sans-serif!important;white-space:nowrap!important}
#comic-studio.cs-v40 .cx-navrow .cs-chip:hover,#comic-studio.cs-v40 .cx-navrow .cs-chip.is-on{background:#212126!important;color:#e0dfe7!important;border-color:#3a3847!important}
#comic-studio.cs-v40 .cx-navrow #cs-surprise{height:27px!important;width:27px!important;flex:0 0 27px!important;padding:4px!important;margin:0!important;border:1px solid #29292f!important;border-radius:7px!important;background:transparent!important}
#comic-studio.cs-v40 .cx-navrow #cs-surprise img{width:16px!important;height:16px!important}
.cx-filter-icons{display:flex;gap:8px;align-items:center;margin-left:auto;padding-left:8px;flex:0 0 auto;order:2}
.cx-filter-icons>span{height:28px;width:28px;display:grid;place-items:center;border:1px solid #303037;border-radius:50%;color:#878793}
.cx-filter-icons svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;fill:none}
#comic-studio.cs-v40>.cs-main{grid-row:2!important;border-radius:0!important;border:0!important;background:#000!important}
#comic-studio.cs-v40 .cs-main>#cs-stack{border:0!important;border-radius:0!important;background:#000!important}
#comic-studio.cs-v40 #cs-frames-pane,#comic-studio.cs-v40 #cs-room-pane,#comic-studio.cs-v40 #cs-frame-host,#comic-studio.cs-v40 #cs-feeds,#comic-studio.cs-v40 #cs-feed{background:#000!important}
#comic-studio.cs-v40 #cs-frame-host,#comic-studio.cs-v40 #cs-feeds>.cs-feed{padding-bottom:8px!important;scroll-padding-bottom:8px!important}
/* Bottom row: one compact full-width strip, never an extra category bar. */
#comic-studio.cs-v40>.cs-foot{position:relative!important;grid-column:1!important;grid-row:3!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;gap:12px!important;height:36px!important;min-height:36px!important;padding:0 14px!important;background:#101013!important;border:0!important;border-top:1px solid #2e2e33!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important;pointer-events:auto!important}
#comic-studio.cs-v40 .cs-foot-l,#comic-studio.cs-v40 .cs-foot-r{gap:13px!important;overflow:visible!important;flex:0 0 auto!important;align-items:center!important}
#comic-studio.cs-v40 .cs-foot-link{background:transparent!important;border:0!important;box-shadow:none!important;height:27px!important;min-height:27px!important;padding:0 2px!important;border-radius:4px!important;gap:5px!important;color:#aaaab4!important;font:400 14px/27px "Inter UI",system-ui,sans-serif!important;white-space:nowrap!important}
#comic-studio.cs-v40 .cs-foot-link:hover,#comic-studio.cs-v40 .cs-foot-link.is-on{background:#1b1b21!important;color:#eeeeF2!important}
#comic-studio.cs-v40 .cs-foot-link .cs-ico{width:13px!important;height:13px!important;flex:0 0 13px!important;padding:2px!important;box-sizing:content-box!important;background:#1f1f25!important;border:1px solid #2e2e36!important;border-radius:4px!important}
#comic-studio.cs-v40 .cs-foot-c{position:static!important;flex:1!important;min-width:0!important;justify-content:center!important;color:#888895!important}
#comic-studio.cs-v40 #cs-notice:not(:empty){max-width:100%!important;padding:0 4px!important;line-height:27px!important;height:27px!important;font-size:14px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
@media(max-width:1150px){.cx-navrow{overflow-x:auto;scrollbar-width:none}.cx-filter-icons{margin-left:0}.cx-apps-left,.cx-apps-right{gap:20px}}
@media(max-width:700px){#comic-studio.cs-v40{width:100%!important;max-width:1800px!important;height:100dvh!important;margin:0!important;padding:0!important;border-radius:0!important;grid-template-rows:116px minmax(0,1fr) 34px!important}#comic-studio.cs-v40>.cs-top.cx-top{height:116px!important;grid-template-rows:42px 34px 40px!important;grid-template-columns:minmax(0,1fr)!important;padding:0!important;gap:0!important}.cx-searchrow{padding:0 12px;gap:6px}#comic-studio.cs-v40 #cs-topsearch #ai-search-input,#comic-studio.cs-v40 #cs-topsearch #cs-search-fallback{font-size:14px!important}#comic-studio.cs-v40 .cx-searchrow .cs-top-right{display:flex!important;grid-column:auto!important;grid-row:auto!important;gap:5px!important}.cx-appstrip{padding:0 12px;gap:15px}.cx-apps-left{gap:20px;flex:1;min-width:0}.cx-apps-right{gap:12px;padding-left:12px;border-left:1px solid #25252b}.cx-apps-right .cx-app:not(:first-child){display:none}.cx-app svg{width:17px;height:17px}.cx-all{font-size:12px;min-width:28px}.cx-add{width:23px;height:23px;flex-basis:23px;font-size:20px}.cx-navrow{padding:4px 10px;overflow-x:auto;gap:8px}#comic-studio.cs-v40 .cx-navrow .cs-tabs{overflow:visible!important;max-width:none!important;width:auto!important;grid-column:auto!important;grid-row:auto!important}#comic-studio.cs-v40 .cx-navrow .cs-tab,#comic-studio.cs-v40 .cx-navrow .cs-top-link{font-size:14px!important;height:27px!important;min-height:27px!important;line-height:25px!important;padding:0 9px!important}#comic-studio.cs-v40 .cs-kbd{display:none!important}#comic-studio.cs-v40>.cs-foot{height:34px!important;min-height:34px!important;padding:0 9px!important;gap:10px!important;overflow-x:auto!important}#comic-studio.cs-v40 .cs-foot-l,#comic-studio.cs-v40 .cs-foot-r{gap:10px!important}#comic-studio.cs-v40 .cs-foot-c{min-width:0!important;flex:0 0 auto!important}#comic-studio.cs-v40 .cs-foot-link{font-size:10px!important}#comic-studio.cs-v40 #cs-notice:not(:empty){max-width:180px!important}#comic-studio.cs-v40 #cs-frame-host,#comic-studio.cs-v40 #cs-feeds>.cs-feed{padding-bottom:8px!important}}
@media(prefers-reduced-motion:reduce){.cx-top *{transition:none!important}}

/* Two-row header: search + navigation. Integration strip removed from HTML. */
#comic-studio.cs-v40{grid-template-rows:92px minmax(0,1fr) 36px!important}
#comic-studio.cs-v40>.cs-top.cx-top{height:92px!important;grid-template-rows:48px 44px!important}
@media(max-width:700px){#comic-studio.cs-v40{grid-template-rows:82px minmax(0,1fr) 34px!important}#comic-studio.cs-v40>.cs-top.cx-top{height:82px!important;grid-template-rows:42px 40px!important}}
