/*
 * Shared finish for ZexirAI's non-chat pages.
 * ChatGPT-inspired information density with Apple-like typography and restraint.
 */

:root {
  --z-page: #ffffff;
  --z-sidebar: #f7f7f8;
  --z-surface: #ffffff;
  --z-surface-muted: #f6f6f7;
  --z-surface-hover: #f0f0f1;
  --z-text: #1d1d1f;
  --z-text-secondary: #5f6065;
  --z-text-tertiary: #86868b;
  --z-hairline: rgba(0, 0, 0, 0.1);
  --z-hairline-soft: rgba(0, 0, 0, 0.065);
  --z-shadow-menu: 0 12px 36px rgba(0, 0, 0, 0.09), 0 1px 2px rgba(0, 0, 0, 0.04);
  --z-shadow-control: 0 1px 2px rgba(0, 0, 0, 0.05);
  --z-action-gradient: #111111;
  color-scheme: light;
}

html,
body {
  min-height: 100%;
  background: var(--z-page);
  color: var(--z-text);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Segoe UI", sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button,
a,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid rgba(78, 118, 203, 0.52);
  outline-offset: 2px;
}

button:not(:disabled),
[role="button"]:not([aria-disabled="true"]) {
  cursor: pointer;
}

::selection {
  background: rgba(91, 117, 202, 0.18);
}

.about-topbar,
.plugins-topbar,
.topbar,
.checkout-topbar,
.page-topbar {
  box-sizing: border-box;
  min-height: 52px;
  padding: 0 24px;
  border-bottom: 1px solid var(--z-hairline-soft);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
}

.about-topbar .wordmark,
.plugins-topbar .wordmark,
.topbar .logo-text,
.checkout-topbar .wordmark,
.page-topbar .logo-text {
  color: var(--z-text);
  font-size: 15px;
  font-weight: 650;
}

.workspace-link,
.back-link,
.checkout-topbar a,
.top-nav a {
  color: var(--z-text-secondary);
  font-size: 13px;
  font-weight: 450;
  text-decoration: none;
}

.workspace-link:hover,
.back-link:hover,
.checkout-topbar a:hover,
.top-nav a:hover {
  color: var(--z-text);
}

.material-symbols-rounded {
  font-variation-settings:
    "FILL" 0,
    "wght" 430,
    "GRAD" 0,
    "opsz" 20;
}

.about-page,
.plugins-page,
.layout,
.checkout-layout,
.policy-page,
.page-content {
  box-sizing: border-box;
}

.about-page,
.plugins-page,
.layout {
  width: min(100% - 40px, 1040px);
  margin-inline: auto;
}

.about-page {
  padding: 64px 0 56px;
}

.about-hero {
  max-width: 760px;
  margin-bottom: 48px;
}

.about-hero h1,
.plugins-heading h1,
.hero h1,
.checkout-heading h1,
.policy-hero h1,
.plans-intro h1,
.coming-soon-content h1 {
  color: var(--z-text);
  font-weight: 600;
  letter-spacing: 0;
}

.about-hero h1 {
  max-width: 720px;
  font-size: clamp(38px, 4.3vw, 58px);
  line-height: 1.04;
}

.about-hero p,
.plugins-heading p,
.hero p,
.checkout-heading p,
.policy-hero p,
.plans-intro p,
.coming-soon-content .description {
  color: var(--z-text-secondary);
  font-weight: 400;
  line-height: 1.5;
}

.principles {
  border-top-color: var(--z-hairline);
}

.principle {
  min-height: 112px;
  border-bottom-color: var(--z-hairline);
}

.principle h2,
.policy-section h2,
.plugin-card h2,
.plan-card h2 {
  color: var(--z-text);
  font-weight: 600;
}

.principle-icon,
.plugin-icon {
  border-radius: 7px;
  background: var(--z-surface-muted);
  color: var(--z-text);
}

.model-row,
.about-footer {
  border-color: var(--z-hairline);
}

.independence-note {
  border: 0;
  border-radius: 8px;
  background: var(--z-surface-muted);
  box-shadow: none;
}

.plugins-page {
  padding: 64px 0 72px;
}

.plugins-heading {
  margin-bottom: 48px;
}

.plugins-heading h1 {
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.06;
}

.plugin-toolbar,
.plugin-card {
  border-color: var(--z-hairline);
}

.plugin-card {
  min-height: 88px;
  background: transparent;
}

.plugin-card:hover {
  background: var(--z-surface-muted);
}

.plugin-card button,
.primary-action,
.plan-card .checkout-btn,
.checkout-gate button,
.control-strip .primary {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  background: var(--z-action-gradient);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 5px 14px rgba(91, 91, 166, 0.2);
}

.layout {
  padding: 24px 0 28px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: end;
  gap: 44px;
  margin-bottom: 22px;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(34px, 3.9vw, 50px);
  line-height: 1.06;
}

.builder-shell {
  overflow: hidden;
  border: 1px solid var(--z-hairline);
  border-radius: 8px;
  background: var(--z-surface);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.045);
}

.model-panel {
  background: var(--z-sidebar);
  border-right-color: var(--z-hairline);
}

.model-search,
.model-tools input,
.model-tools select {
  border-color: var(--z-hairline);
  border-radius: 7px;
  background: var(--z-surface);
  box-shadow: none;
}

.model-list-item,
.lane-card,
.lane-dropzone {
  border-radius: 7px;
}

.routing-profile-tab,
.lane-add-btn {
  min-height: 32px;
}

.model-list-item:hover,
.model-list-item[aria-selected="true"] {
  background: var(--z-surface-hover);
}

.lane-card {
  border-color: var(--z-hairline);
  background: var(--z-surface);
}

.lane-dropzone {
  border-color: rgba(0, 0, 0, 0.15);
  background: #fbfbfc;
}

.control-strip {
  border-top-color: var(--z-hairline);
  background: rgba(255, 255, 255, 0.92);
}

.control-strip button:not(.primary) {
  border-color: var(--z-hairline);
  border-radius: 7px;
  background: var(--z-surface-muted);
}

.checkout-layout {
  width: min(100% - 40px, 1080px);
  margin-inline: auto;
  padding: 52px 0 72px;
  gap: 48px;
}

.checkout-heading {
  padding-bottom: 24px;
  border-bottom-color: var(--z-hairline);
}

.checkout-heading h1 {
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.08;
}

.checkout-gate,
.embedded-checkout-mount {
  border: 1px solid var(--z-hairline);
  border-radius: 8px;
  background: var(--z-surface);
  box-shadow: none;
}

.embedded-checkout-mount label,
.embedded-checkout-mount input {
  min-width: 0;
}

.embedded-checkout-mount input {
  width: 100%;
  max-width: 100%;
}

.checkout-gate {
  min-height: 104px;
}

.checkout-summary {
  border: 1px solid var(--z-hairline);
  border-radius: 8px;
  background: var(--z-surface-muted);
  box-shadow: none;
}

.payment-trust {
  border-top-color: var(--z-hairline);
  color: var(--z-text-tertiary);
}

.policy-page {
  width: min(100% - 40px, 980px);
  margin-inline: auto;
  padding-bottom: 72px;
}

.top-nav {
  min-height: 52px;
  border-bottom-color: var(--z-hairline);
}

.policy-hero {
  padding: 62px 0 54px;
}

.policy-hero h1 {
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.05;
}

.policy-layout {
  border-top-color: var(--z-hairline);
}

.policy-summary {
  border-right-color: var(--z-hairline);
}

.policy-summary a {
  color: var(--z-text-secondary);
  border-radius: 6px;
}

.policy-summary a:hover {
  color: var(--z-text);
  background: var(--z-surface-muted);
}

.policy-section {
  border-bottom-color: var(--z-hairline);
}

.policy-section p {
  color: #47484d;
  line-height: 1.62;
}

.filework-topbar {
  height: 38px;
  border-bottom: 1px solid var(--z-hairline);
  background: #f5f8fb;
}

.workspace {
  height: calc(100dvh - 38px);
  background: var(--z-page);
}

.filework-app {
  grid-template-columns: 292px minmax(0, 1fr);
}

.project-sidebar {
  border-right: 1px solid var(--z-hairline);
  background: #f5f8fb;
}

.sidebar-actions button,
.sidebar-actions a,
.project-row {
  border-radius: 7px;
}

.sidebar-actions button:hover,
.sidebar-actions a:hover,
.project-row:hover,
.project-row.active {
  background: rgba(0, 0, 0, 0.055);
}

.work-panel {
  min-width: 0;
  padding: 48px 32px 32px;
}

.task-head {
  border-bottom-color: var(--z-hairline);
}

.project-editor,
.task-card,
.environment-panel,
.zexirwork-dialog {
  border-color: var(--z-hairline);
  border-radius: 8px;
  background: var(--z-surface);
  box-shadow: none;
}

.environment-panel {
  box-shadow: var(--z-shadow-menu);
}

.file-sidebar {
  border-right-color: var(--z-hairline);
  background: #fbfbfc;
}

.settings-container {
  min-height: calc(100dvh - 52px);
  padding: 56px 20px;
}

.coming-soon-content {
  width: min(100%, 600px);
}

.coming-soon-content h1 {
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.04;
}

.preview-lines {
  border-color: var(--z-hairline);
  border-radius: 8px;
  background: var(--z-surface);
  box-shadow: none;
}

.preview-lines i {
  background: #e8e8ea;
}

.page-shell {
  min-height: 100%;
  background: var(--z-page);
}

.page-content {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
  padding: 70px 0 64px;
}

.plans-intro {
  align-items: end;
  margin-bottom: 26px;
}

.plans-intro h1 {
  font-size: clamp(38px, 4.2vw, 54px);
  line-height: 1.05;
}

.plan-tabs {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 0;
  border-radius: 8px;
  background: var(--z-surface-muted);
}

.plan-tabs button {
  min-height: 30px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--z-text-secondary);
}

.plan-tabs button.active,
.plan-tabs button[aria-selected="true"] {
  background: #fff;
  color: var(--z-text);
  box-shadow: var(--z-shadow-control);
}

.plan-card {
  border: 1px solid var(--z-hairline);
  border-radius: 8px;
  background: var(--z-surface);
  box-shadow: none;
}

.plan-card:hover {
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.055);
}

.business-empty {
  border-color: var(--z-hairline);
  background: var(--z-surface-muted);
}

.status-panel,
.checkout-note {
  background: transparent;
}

.secondary-btn {
  white-space: nowrap;
}

body > main[aria-live="polite"][aria-busy="true"] {
  transform: translateY(-4vh);
}

body > main[aria-live="polite"][aria-busy="true"] h1 {
  color: var(--z-text);
  font-size: 19px;
  font-weight: 550;
}

body > main[aria-live="polite"][aria-busy="true"] p {
  color: var(--z-text-tertiary);
  font-size: 14px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero > * {
    grid-column: 1;
  }

  .hero .lede {
    grid-row: auto;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .checkout-summary {
    position: static;
  }

  .filework-app {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .environment-panel {
    display: none;
  }

  .work-panel {
    padding-inline: 24px;
  }
}

@media (max-width: 700px) {
  .about-topbar,
  .plugins-topbar,
  .topbar,
  .checkout-topbar,
  .page-topbar {
    min-height: 48px;
    padding-inline: 16px;
  }

  .about-page,
  .plugins-page,
  .layout,
  .checkout-layout,
  .policy-page,
  .page-content {
    width: min(100% - 28px, 100%);
  }

  .about-page,
  .plugins-page {
    padding-top: 40px;
  }

  .about-hero,
  .plugins-heading {
    margin-bottom: 34px;
  }

  .about-hero h1,
  .plugins-heading h1,
  .hero h1,
  .checkout-heading h1,
  .policy-hero h1,
  .plans-intro h1,
  .coming-soon-content h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .principle {
    grid-template-columns: 36px minmax(0, 1fr);
    min-height: 102px;
  }

  .model-row,
  .about-footer {
    align-items: flex-start;
  }

  .plugin-card {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
  }

  .plugin-card button {
    grid-column: 2;
    justify-self: start;
  }

  .layout {
    padding-top: 28px;
  }

  .builder-shell {
    overflow: visible;
  }

  .model-panel,
  .lanes-panel {
    min-width: 0;
  }

  .routing-profile-tab,
  .lane-add-btn {
    min-height: 36px;
  }

  .checkout-layout {
    padding-top: 34px;
  }

  .policy-hero {
    padding: 42px 0 38px;
  }

  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-summary {
    display: none;
  }

  .policy-content {
    min-width: 0;
    padding-inline: 0;
  }

  .filework-topbar {
    display: none;
  }

  .workspace {
    height: 100dvh;
  }

  .filework-app {
    grid-template-columns: 1fr;
  }

  .project-sidebar {
    width: min(86vw, 300px);
  }

  .work-panel {
    padding: 28px 16px 18px;
  }

  .settings-container {
    min-height: calc(100dvh - 48px);
    padding: 36px 16px;
  }

  .page-content {
    padding: 44px 0 40px;
  }

  .plans-intro {
    align-items: flex-start;
  }

  .plans-section {
    grid-template-columns: 1fr;
  }

  .plan-card {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Profit-mode finish shared by every non-chat page. */
:root {
  --z-page: #fff;
  --z-sidebar: #f7f7f7;
  --z-surface: #fff;
  --z-surface-muted: #f5f5f5;
  --z-surface-hover: #eeeeee;
  --z-text: #171717;
  --z-text-secondary: #5f6368;
  --z-text-tertiary: #8a8d91;
  --z-hairline: #dddddd;
  --z-hairline-soft: #e9e9e9;
  --z-shadow-menu: 0 16px 42px rgba(0, 0, 0, 0.09), 0 2px 7px rgba(0, 0, 0, 0.04);
  --z-shadow-control: 0 1px 2px rgba(0, 0, 0, 0.06);
  --z-action-gradient: #111;
}

body:not(.index-workspace) {
  overflow-x: hidden;
  font-size: 15px;
  font-weight: 440;
}

body:not(.index-workspace)::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #fff;
  content: "";
}

body:not(.index-workspace) :where(button, a, input, textarea, select, [role="button"]):focus,
body:not(.index-workspace) :where(button, a, input, textarea, select, [role="button"]):focus-visible {
  outline: 0 !important;
}

body:not(.index-workspace) :where(input, textarea, select):focus-visible {
  border-color: #b8b8b8 !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.055) !important;
}

body:not(.index-workspace) .material-symbols-rounded {
  font-variation-settings: "FILL" 0, "wght" 560, "GRAD" 0, "opsz" 22;
}

body:not(.index-workspace) :where(.about-topbar, .plugins-topbar, .topbar, .checkout-topbar, .page-topbar, .top-nav) {
  min-height: 56px;
  border-bottom: 1px solid var(--z-hairline-soft);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

body:not(.index-workspace) :where(.wordmark, .brand, .logo-text, .logo-mark) {
  color: #111 !important;
  font-weight: 680 !important;
  letter-spacing: 0 !important;
  text-decoration: none;
}

body:not(.index-workspace) :where(.workspace-link, .back-link, .top-nav a) {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border-radius: 10px;
  color: #4f5256;
  font-weight: 520;
}

body:not(.index-workspace) :where(.workspace-link, .back-link, .top-nav a):hover {
  background: #f1f1f1;
  color: #111;
}

body:not(.index-workspace) :where(h1, h2, h3) {
  color: #171717;
  font-weight: 630;
  letter-spacing: 0;
}

body:not(.index-workspace) :where(.eyebrow, .section-label, .status-line, .panel-heading, .plugin-toolbar) {
  color: #6d7074;
  font-weight: 650;
  letter-spacing: 0;
}

body:not(.index-workspace) :where(
  .plugin-card,
  .builder-shell,
  .lane-card,
  .checkout-gate,
  .embedded-checkout-mount,
  .checkout-summary,
  .plan-card,
  .business-empty,
  .preview-lines,
  .project-editor,
  .task-card,
  .environment-panel,
  .zexirwork-dialog
) {
  border-color: var(--z-hairline) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.025) !important;
}

body:not(.index-workspace) :where(.plugin-card, .plan-card, .lane-card) {
  transition: border-color 160ms ease, box-shadow 180ms ease, transform 180ms ease, background-color 160ms ease;
}

body:not(.index-workspace) :where(.plugin-card, .plan-card, .lane-card):hover {
  border-color: #c9c9c9 !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06) !important;
  transform: translateY(-1px);
}

body:not(.index-workspace) :where(
  .primary-action,
  .checkout-btn,
  .checkout-gate button,
  .plan-button.primary,
  .plugin-card button,
  .control-strip .primary
) {
  border: 1px solid #111 !important;
  border-radius: 11px !important;
  background: #111 !important;
  background-image: none !important;
  color: #fff !important;
  font-weight: 620 !important;
  box-shadow: none !important;
}

body:not(.index-workspace) :where(
  .primary-action,
  .checkout-btn,
  .checkout-gate button,
  .plan-button.primary,
  .plugin-card button,
  .control-strip .primary
):hover {
  background: #292929 !important;
  border-color: #292929 !important;
}

body:not(.index-workspace) :where(
  .secondary-action,
  .secondary-btn,
  .plan-button.secondary,
  .billing-control,
  .control-strip button:not(.primary),
  .routing-profile-tab,
  .lane-add-btn
) {
  border: 1px solid #d8d8d8 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #242424 !important;
  font-weight: 560 !important;
  box-shadow: none !important;
}

body:not(.index-workspace) :where(
  .secondary-action,
  .secondary-btn,
  .plan-button.secondary,
  .billing-control,
  .control-strip button:not(.primary),
  .routing-profile-tab,
  .lane-add-btn
):hover { background: #f3f3f3 !important; }

body:not(.index-workspace) :where(input, textarea, select, .model-search) {
  border: 1px solid #d8d8d8 !important;
  border-radius: 11px !important;
  background: #fff !important;
  color: #1f1f1f !important;
  box-shadow: none !important;
}

body:not(.index-workspace) .about-hero h1,
body:not(.index-workspace) .plugins-heading h1,
body:not(.index-workspace) .hero h1,
body:not(.index-workspace) .checkout-heading h1,
body:not(.index-workspace) .policy-hero h1,
body:not(.index-workspace) .plans-intro h1,
body:not(.index-workspace) .coming-soon-content h1 {
  font-weight: 620 !important;
}

body:not(.index-workspace) .plugin-icon,
body:not(.index-workspace) .principle-icon,
body:not(.index-workspace) .checkout-gate-icon {
  border-radius: 11px !important;
  background: #f2f2f2 !important;
  color: #171717 !important;
}

body:not(.index-workspace) .model-panel,
body:not(.index-workspace) .project-sidebar,
body:not(.index-workspace) .file-sidebar {
  background: #f7f7f7 !important;
}

body:not(.index-workspace) :where(.model-list-item, .project-row, .routing-profile-tab, .plan-tabs, .plan-tabs button) {
  border-radius: 10px !important;
}

body:not(.index-workspace) :where(.model-list-item[aria-selected="true"], .project-row.active, .routing-profile-tab.active, .plan-tabs button.active) {
  background: #e9e9e9 !important;
  color: #111 !important;
}

body:not(.index-workspace) .plan-card.plan-featured,
body:not(.index-workspace) .plan-card.plan-pro { border-color: #bfbfbf !important; }

body:not(.index-workspace) .plan-badge,
body:not(.index-workspace) .status-pill {
  border: 1px solid #d8d8d8 !important;
  border-radius: 999px !important;
  background: #f4f4f4 !important;
  color: #3f4246 !important;
  box-shadow: none !important;
}

body:not(.index-workspace) .policy-summary {
  top: 76px;
  border-right-color: var(--z-hairline-soft) !important;
}

body:not(.index-workspace) .policy-summary a[aria-current="true"] {
  background: #eeeeee;
  color: #111;
  font-weight: 600;
}

body:not(.index-workspace) .filework-topbar {
  border-bottom-color: var(--z-hairline-soft) !important;
  background: #fafafa !important;
}

body:not(.index-workspace) .environment-panel { box-shadow: var(--z-shadow-menu) !important; }

body:not(.index-workspace) :where(.brand img, .dashboard-brand img, .workspace-lock-brand img) {
  filter: grayscale(1) contrast(1.15);
}

body:not(.index-workspace) :where(
  .dashboard-send,
  .task-toolbar .primary-btn,
  .question-input-row .primary-btn,
  .dialog-confirm-btn
) {
  border-color: #111 !important;
  background: #111 !important;
  background-image: none !important;
  color: #fff !important;
  box-shadow: none !important;
}

body:not(.index-workspace) .dashboard-send { border-radius: 50% !important; }

body:not(.index-workspace) :where(.model-name, .lane-title) {
  font-size: .84rem !important;
  font-weight: 590 !important;
}

body:not(.index-workspace) :where(.model-provider, .model-copy, .lane-copy, .selected-model-hint, .empty-drop, .lane-add-btn) {
  font-size: .72rem !important;
}

body:not(.index-workspace).app-ready > :not(.zexirai-boot-overlay):not(.app-boot-overlay):not(script) {
  animation: zexir-page-arrive 220ms cubic-bezier(.2,.8,.2,1) both;
}

.zexir-shared-tooltip {
  position: fixed;
  z-index: 2147483646;
  max-width: 240px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #171717;
  color: #fff;
  font-size: 11px;
  font-weight: 540;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(-3px) scale(.97);
  transition: opacity 120ms ease, transform 120ms ease;
  pointer-events: none;
}

.zexir-shared-tooltip.show { opacity: 1; transform: none; }
.zexir-shared-tooltip kbd { margin-left: 7px; color: #bdbdbd; font: inherit; }

@keyframes zexir-page-arrive {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 700px) {
  body:not(.index-workspace) :where(.about-topbar, .plugins-topbar, .topbar, .checkout-topbar, .page-topbar, .top-nav) { min-height: 52px; }
  body:not(.index-workspace) :where(.plugin-card, .plan-card, .builder-shell, .checkout-summary, .checkout-gate, .environment-panel) { border-radius: 12px !important; }
  body:not(.index-workspace) .filework-topbar {
    display: flex !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 8px !important;
  }

  body:not(.index-workspace) .filework-topbar .filework-menu,
  body:not(.index-workspace) #fileworkForwardBtn { display: none !important; }
  body:not(.index-workspace) .workspace { height: calc(100dvh - 44px) !important; }
}

@media (max-width: 900px) {
  body:not(.index-workspace) .checkout-main { order: 1 !important; grid-row: 1 !important; }
  body:not(.index-workspace) .checkout-summary { order: 2 !important; grid-row: 2 !important; }
}
 
