/* Keep the native 95px top clearance for its fixed navbar and tab strip. */
html.tank-workspace-route .app-main { padding-left:0!important; padding-right:0!important; padding-bottom:0!important; overflow:hidden; }
.tank-workspace-host { position:relative; width:100%; height:calc(100dvh - 104px); min-width:0; min-height:320px; overflow:hidden; background:var(--cc-bg,#f3f5fa); border-radius:12px; }
.tank-workspace-frame { display:block; width:100%; height:100%; border:0; background:transparent; }
.tank-workspace-loading { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; background:var(--cc-bg-card,#fff); color:var(--cc-text-regular,#52607b); }
.tank-workspace-loading p { margin:0; font-size:14px; line-height:1.7; }
.tank-workspace-loading button { min-height:42px; padding:0 22px; border:1px solid #5669df44; border-radius:9px; background:#5669df; color:white; font:inherit; cursor:pointer; }
.tank-workspace-loading button:focus-visible { outline:3px solid #8895ec; outline-offset:3px; }
.tank-workspace-spinner { width:28px; height:28px; border:2px solid #5669df26; border-top-color:#5669df; border-radius:50%; animation:tank-workspace-spin .8s linear infinite; }
.tank-workspace-status-icon { display:grid; place-items:center; width:42px; height:42px; border-radius:12px; background:#5669df12; color:#5669df; font-size:24px; font-weight:700; }
.tank-workspace-empty { display:flex; flex-direction:column; justify-content:center; align-items:center; color:var(--cc-text-regular,#52607b); }
@keyframes tank-workspace-spin { to { transform:rotate(360deg); } }
@media(prefers-reduced-motion:reduce) { .tank-workspace-spinner { animation:none; } }
@media(max-width:767px) {
  html.tank-platform-theme.tank-workspace-route[data-tank-theme] body #app .navbar { display:flex!important;align-items:center!important;justify-content:space-between!important;min-width:0!important;height:60px!important;padding:0 12px!important; }
  html.tank-platform-theme.tank-workspace-route[data-tank-theme] body #app .navbar .title { width:auto!important;min-width:0!important;max-width:110px!important;margin:0!important;font-size:20px!important;line-height:1.3!important;white-space:nowrap!important; }
  html.tank-platform-theme.tank-workspace-route[data-tank-theme] body #app .navbar .navbar-right { display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:4px;float:none!important;width:auto!important;min-width:0!important;height:100%!important;margin:0!important;padding:0!important; }
  html.tank-platform-theme.tank-workspace-route[data-tank-theme] body #app .navbar .fk-theme-switcher,
  html.tank-platform-theme.tank-workspace-route[data-tank-theme] body #app .navbar .navbar-right-menu-wrapper:not(:last-child) { display:none!important; }
  html.tank-platform-theme.tank-workspace-route[data-tank-theme] body #app .navbar .navbar-right-menu-wrapper:last-child { display:inline-flex!important;align-items:center!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:150px!important;height:36px!important;padding:0 9px!important;margin:0!important;white-space:nowrap!important; }
  html.tank-platform-theme.tank-workspace-route[data-tank-theme] body #app .navbar .navbar-right-menu { min-width:0!important;height:36px!important;padding:0!important;line-height:36px!important;font-size:13px!important;white-space:nowrap!important;word-break:keep-all!important; }
  html.tank-platform-theme.tank-workspace-route[data-tank-theme] body #app .navbar .navbar-right-menu::before { display:none!important; }
}
