/* BioStudio AI — iOS theme tokens (Apple compact shell only). */

#os.shell-compact-ios,
body.shell-compact-ios,
#os.shell-mobile.theme-macos,
body.shell-mobile.theme-macos {
  --ios-accent: #0a84ff;
  --ios-bg: #f2f2f7;
  --ios-grouped: #ffffff;
  --ios-separator: rgba(60, 60, 67, 0.29);
  --ios-label: #000000;
  --ios-secondary: rgba(60, 60, 67, 0.6);
  --ios-nav-h: 44px;
  --ios-touch: 44px;
  --ios-radius: 10px;
  --ios-sheet-radius: 13px;
  --ios-tab-h: calc(49px + env(safe-area-inset-bottom, 0px));
  --ios-status-h: env(safe-area-inset-top, 0px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  --accent: var(--ios-accent);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

#os.shell-compact-ios.dark,
body.shell-compact-ios.dark,
#os.shell-mobile.theme-macos.dark,
body.shell-mobile.theme-macos.dark {
  --ios-bg: #000000;
  --ios-grouped: #1c1c1e;
  --ios-separator: rgba(84, 84, 88, 0.65);
  --ios-label: #ffffff;
  --ios-secondary: rgba(235, 235, 245, 0.6);
}

#os.shell-compact-ios,
#os.shell-mobile.theme-macos {
  background: var(--ios-bg);
  color: var(--ios-label);
}

#os.shell-mobile .desktop-surface {
  display: none !important;
}

#os.shell-mobile .taskbar-mount {
  display: none !important;
}

/* Toast positioning on mobile is handled by mobile-overlays.css */

#os.shell-mobile input,
#os.shell-mobile select,
#os.shell-mobile textarea {
  font-size: 16px;
}

#os.shell-mobile .studio,
#os.shell-mobile .mobile-list,
#os.shell-mobile .message-thread,
#os.shell-mobile .window iframe {
  width: 100% !important;
  height: 100% !important;
  border: none;
}

#os.shell-mobile .window-body {
  touch-action: pan-y;
}

