/* Shared chrome for the existing document studios and account surfaces. */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap");
:root {
  --ink: #243343;
  --muted: #667483;
  --line: #e0e5eb;
  --accent: #e6533c;
  --accent-dark: #c43c28;
  --accent-soft: #fff0eb;
  --workspace: #f1f3f6;
  --studio-ink: #243343;
  --studio-ink-soft: #304253;
  --studio-violet: #e6533c;
  --studio-violet-dark: #c43c28;
  --studio-lilac: #fff0eb;
  --studio-line: #e0e5eb;
  --account-ink: #243343;
  --account-violet: #dc4b35;
  --account-violet-dark: #bd3d28;
  --primary-color: #e6533c;
  --primary-hover: #c43c28;
  --accent-teal: #dc4b35;
  --text-dark: #243343;
  --text-muted: #667483;
  --border-color: #e0e5eb;
  --bg-main: #f3f5f7;
}
body {
  font-family: "DM Sans", system-ui, sans-serif !important;
  background: #f3f5f7 !important;
  background-image: none !important;
}
body > main,
.main-container {
  background: #f3f5f7 !important;
}
body > header,
body > nav,
.header-content {
  background: #243343 !important;
  border-color: #344757 !important;
  box-shadow: none !important;
}
.app-header {
  background: white !important;
  border-bottom: 1px solid #e0e5eb;
}
.upload-card {
  border: 1px solid #dce2e9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 35px #25334508;
}
.upload-card h1 {
  font-family: "DM Sans", sans-serif;
  font-size: 36px;
  letter-spacing: -1.4px;
}
.upload-button,
.primary-btn {
  background: #e6533c !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
.upload-button:hover,
.primary-btn:hover {
  background: #c43c28 !important;
}
.upload-illustration {
  filter: hue-rotate(105deg);
}
.document-workspace {
  background: #edf0f4;
}
.command-bar {
  background: #fff;
}
.mode-tab.active,
.tool-btn.active {
  background: #fff0eb;
  color: #c43c28;
}
.left-panel,
.right-panel {
  border-color: #e0e5eb;
}
.upload-card .eyebrow {
  color: #c43c28;
}
.properties-header,
.panel-tabs {
  background: #fafbfd;
}
.document-title {
  font-family: inherit;
}
#emptyState {
  border: 2px dashed #cdd6df !important;
  background: #fff !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}
.toolbar-card,
.stage-card,
.settings-panel,
.editor-container {
  box-shadow: 0 3px 12px #24334306 !important;
  border-radius: 12px !important;
}
.bg-auth-100,
.nav-signin,
.nav-account {
  background: #fff0eb !important;
}
.nav-logout {
  color: #657080 !important;
}
.bg-indigo-600,
.bg-auth-600 {
  background: #dc4b35 !important;
  color: #fff !important;
}
body > div > div.bg-white,
main > div.bg-white,
main > section {
  border-radius: 14px !important;
  box-shadow: 0 10px 30px #24334308 !important;
}
.ql-toolbar.ql-snow {
  background: #243343 !important;
  border-color: #243343 !important;
}
.ql-container.ql-snow {
  border-color: #dce2e9 !important;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #4b73ca !important;
  outline-offset: 3px;
}
.editor-shell .avatar-btn {
  background: #fff0eb;
  color: #c43c28;
  text-decoration: none;
  display: grid;
  place-items: center;
}
.suite-links {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
}
.suite-links a {
  color: inherit;
}
.editor-shell .upload-view {
  grid-template-columns: minmax(0, 1fr);
  place-content: center;
  align-content: safe center;
  background: #f1f3f6;
  padding: 24px;
}
.editor-shell .upload-card {
  width: 100%;
  max-width: 650px;
  padding: 32px 24px;
  min-height: 370px;
}
.editor-shell .upload-card h1 {
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -1px;
}
.editor-shell .privacy-note {
  width: 100%;
  max-width: 650px;
}
.upload-illustration {
  filter: none;
}
.upload-illustration span {
  color: #c43c28;
}
.editor-shell {
  position: relative;
  overflow: hidden;
  height: 100dvh;
  min-width: 0;
  max-width: 100vw;
  grid-template-columns: minmax(0, 1fr);
}
.editor-shell .workspace-grid {
  min-width: 0;
}
.editor-shell .command-bar {
  overflow-y: hidden;
  min-width: 0;
  overflow-x: auto;
}
.editor-shell .command-group,
.editor-shell .zoom-controls {
  flex-shrink: 0;
}
.mobile-pages-toggle {
  display: none;
}
@media (max-width: 1180px) {
  .editor-shell .workspace-grid {
    grid-template-columns: 205px minmax(0, 1fr) 240px;
  }
}
@media (max-width: 940px) {
  .editor-shell .workspace-grid {
    grid-template-columns: 190px minmax(0, 1fr);
  }
}
@media (max-width: 720px) {
  .editor-shell {
    min-width: 0;
    --header-height: 104px;
    --command-height: 62px;
  }
  .editor-shell .app-header {
    flex-wrap: wrap;
    padding: 8px 12px;
    gap: 4px;
  }
  .editor-shell .brand-cluster {
    width: 100%;
    gap: 8px;
  }
  .editor-shell .document-title {
    width: 160px;
  }
  .editor-shell .suite-back img {
    width: 76px;
  }
  .editor-shell .header-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .editor-shell .header-actions .primary-btn {
    padding: 8px 12px;
  }
  .editor-shell .header-actions .icon-btn {
    width: 28px;
    height: 28px;
  }
  .editor-shell .workspace-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .editor-shell .left-panel {
    display: none;
  }
  .editor-shell.pages-open .left-panel {
    display: grid;
    position: absolute;
    top: 166px;
    bottom: 0;
    left: 0;
    width: 230px;
    z-index: 25;
    box-shadow: 8px 0 25px #24334320;
  }
  .mobile-pages-toggle {
    display: block;
    margin-right: auto;
    border: 1px solid #dce2e9;
    border-radius: 7px;
    background: white;
    padding: 7px 10px;
    font-size: 12px;
  }
  .editor-shell .upload-view {
    padding: 16px;
  }
  .editor-shell .upload-card {
    padding: 28px 18px;
  }
  .editor-shell .upload-card h1 {
    font-size: 27px;
  }
  .editor-shell .privacy-note {
    padding: 8px 0;
  }
  .suite-links {
    display: none;
  }
}
