:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  --bg: #f5f6f8;
  --panel: #ffffff;
  --panel-soft: #eef1f5;
  --ink: #171a1f;
  --muted: #646d78;
  --faint: #8b94a0;
  --line: #d8dde5;
  --accent: #cc5b37;
  --accent-strong: #9d3f25;
  --accent-soft: #fff1eb;
  --dark: #20252b;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 62px;
  display: grid;
  grid-template-columns: minmax(0, auto) 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 0 clamp(16px, 4vw, 42px);
  background: color-mix(in srgb, var(--panel) 94%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.brand {
  min-width: 0;
}
.brand span {
  min-width: 0;
}
.brand strong { display: block; font-size: 18px; line-height: 1; }
.brand small { display: block; color: var(--muted); font-size: 11px; }
.nav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
}
.nav a, .header-cta, .btn {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 12px;
  text-decoration: none;
  font-weight: 650;
}
.nav a {
  position: relative;
  min-height: 62px;
  color: var(--muted);
  border-radius: 0;
  border-bottom-color: transparent;
  overflow: hidden;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.nav a::after {
  display: none;
}
.nav a:hover {
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent-soft) 70%, var(--panel));
  border-color: transparent transparent color-mix(in srgb, var(--accent) 38%, var(--line));
  transform: none;
}
.nav a.active {
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-color: transparent transparent var(--accent);
  box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--accent) 16%, transparent);
}
.header-cta, .btn.primary {
  background: var(--dark);
  color: #fff8ee;
  border-color: var(--dark);
}
.menu-toggle,
.nav-backdrop {
  display: none;
}
.menu-toggle {
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle span {
  width: 16px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
}
.btn {
  background: var(--panel);
  color: var(--ink);
  border-color: var(--line);
  cursor: pointer;
}
.btn:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}
.btn.primary:hover,
.header-cta:hover {
  background: var(--accent-strong);
  color: #fff;
  border-color: var(--accent-strong);
}
main {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}
.hero {
  min-height: calc(100vh - 62px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
  padding: 42px 0;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.03;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.12;
}
h3 { margin-bottom: 8px; font-size: 17px; }
.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 10px;
}
.micro {
  color: var(--muted);
  font-size: 13px;
}
.hidden-file { display: none; }
.app-preview {
  min-width: 0;
  min-height: 420px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 24px 70px #20252b1f;
}
.preview-rail {
  padding: 14px;
  background: #20252b;
  color: #fff8ee;
}
.preview-rail span {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: url('/assets/img/markiva-logo.svg') center/cover no-repeat;
}
.preview-rail b {
  display: block;
  margin-bottom: 8px;
  color: #c7cbd0;
  font-size: 11px;
  text-transform: uppercase;
}
.preview-rail i {
  display: block;
  margin-bottom: 7px;
  padding: 7px 8px;
  border-radius: 6px;
  background: #2a3138;
  font-style: normal;
  font-size: 12px;
}
.preview-main { min-width: 0; display: grid; grid-template-rows: 48px 38px 1fr; }
.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.preview-top em { color: var(--muted); font-size: 12px; font-style: normal; }
.preview-toolbar {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 6px 8px;
  background: var(--panel-soft);
  border-bottom: 1px solid var(--line);
}
.preview-toolbar span {
  min-width: 29px;
  min-height: 26px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel);
  font-size: 11px;
  font-weight: 700;
}
.preview-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.preview-grid pre, .preview-grid article {
  margin: 0;
  padding: 18px;
  overflow: hidden;
}
.preview-grid pre {
  background: var(--dark);
  color: #fff8ee;
  font-family: Consolas, monospace;
  font-size: 13px;
}
.preview-grid article h2 { font-size: 24px; }
.section, .page-hero {
  padding: 52px 0;
margin:0px !important;
}
.page-hero,
.article-head {
  max-width: 920px;
  display: grid;
  justify-items: start;
  gap: 10px;
  text-align: left;
}
.page-hero,
.article,
.policy {
  margin-left: auto;
  margin-right: auto;
}
.page-hero + .section,
.page-hero + .section.steps,
.page-hero + .feature-list,
.page-hero + .split-text,
.page-hero + .policy,
.page-hero + .faq-list {
  margin-top: 0;
  padding-top: 52px;
}
.page-hero {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1,
.article-head h1 {
  max-width: 860px;
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.06;
}
.page-hero p,
.article-head .lead {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}
.page-hero .actions,
.article-head .actions {
  margin-top: 8px;
  margin-bottom: 0;
}
.section-head {
  max-width: 720px;
  margin-bottom: 22px;
  display: grid;
  gap: 6px;
  justify-items: start;
  text-align: left;
}
.policy {
  max-width: 920px;
}
.section-head h2,
.section-head p {
  margin-bottom: 0;
}
.feature-grid, .steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.feature-grid article, .steps article, .feature-list article, .faq-list details, .faq-preview details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 18px;
}
.feature-grid p, .feature-list p, .steps p, .split-text p, .policy p {
  color: var(--muted);
}
.band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  border-radius: 12px;
  background: var(--accent-soft);
}
.band p { margin-bottom: 0; color: var(--muted); }
.feature-list {
  display: grid;
  gap: 12px;
}
.split-text, .steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.steps article strong {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff8ee;
}
details summary {
  cursor: pointer;
  font-weight: 750;
}
details p {
  margin: 10px 0 0;
  color: var(--muted);
}
.faq-list, .faq-preview {
  display: grid;
  gap: 10px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.blog-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.blog-card h2 {
  margin-bottom: 8px;
  font-size: 22px;
}
.blog-card h2 a {
  color: var(--ink);
  text-decoration: none;
}
.blog-card h2 a:hover {
  color: var(--accent-strong);
}
.blog-card p {
  flex: 1;
  color: var(--muted);
}
.blog-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}
.blog-card span,
.article-meta {
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
}
.small-btn {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}
.article {
  max-width: 820px;
  padding: 42px 0 20px;
}
.article-head {
  margin-bottom: 30px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.article h2 {
  margin-top: 30px;
}
.article > p,
.article > ul,
.article > ol,
.article > pre,
.article > table,
.article > .faq-list {
  max-width: 760px;
}
.article > table {
  max-width: 820px;
}
.article p {
  margin-bottom: 16px;
}
.article ul,
.article ol {
  margin-top: 0;
  margin-bottom: 18px;
  padding-left: 22px;
}
.article li {
  margin-bottom: 8px;
}
.article pre {
  overflow-x: auto;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff8ee;
}
.article p,
.article li,
.article td {
  color: var(--muted);
}
.article a {
  color: var(--accent-strong);
  font-weight: 700;
}
.article table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.article th,
.article td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.article th {
  color: var(--ink);
  background: var(--panel-soft);
}
.article tr:last-child td {
  border-bottom: 0;
}
.article-faq {
  margin-top: 30px;
}
.policy {
  max-width: 820px;
}
.web-editor-shell {
  min-height: calc(100vh - 62px);
  display: grid;
  grid-template-rows: 58px auto minmax(420px, 1fr) auto;
  padding: 14px 0 26px;
}
.web-editor-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px 10px 0 0;
  background: var(--panel);
}
.web-doc-title {
  min-width: 0;
}
.web-doc-title .eyebrow {
  margin-bottom: 2px;
  font-size: 10px;
}
.web-doc-title > span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}
.web-title-button {
  display: block;
  max-width: min(560px, 52vw);
  min-height: 23px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
}
.web-title-button:hover {
  color: var(--accent-strong);
}
.web-title-button.hidden-title {
  display: none;
}
.web-title-input {
  display: none;
  width: min(560px, 52vw);
  height: 28px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  padding: 0 8px;
  outline: none;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
}
.web-title-input.active {
  display: block;
}
.web-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}
.web-header-actions .btn {
  min-height: 32px;
  cursor: pointer;
}
.web-view-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
}
.web-view-toggle button {
  min-height: 28px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  padding: 0 8px;
}
.web-view-toggle button.active {
  background: var(--panel);
  border-color: var(--line);
  color: var(--accent-strong);
}
.web-toolbar {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  overflow-x: visible;
  padding: 7px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0;
  background: var(--panel-soft);
}
.toolCluster {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding-right: 7px;
  border-right: 1px solid var(--line);
}
.toolCluster:last-child {
  border-right: 0;
  padding-right: 0;
}
.toolCluster button,
.toolCluster select {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 0 8px;
  cursor: pointer;
}
.toolCluster select {
  width: 86px;
}
.web-editor-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--panel);
}
.web-editor-shell[data-mode="edit"] .web-editor-grid,
.web-editor-shell[data-mode="preview"] .web-editor-grid,
.web-editor-shell[data-mode="fullscreen"] .web-editor-grid {
  grid-template-columns: 1fr;
}
.web-editor-shell[data-mode="edit"] #markdownPreview,
.web-editor-shell[data-mode="preview"] #markdownInput,
.web-editor-shell[data-mode="fullscreen"] #markdownInput,
.web-editor-shell[data-mode="fullscreen"] .web-toolbar {
  display: none;
}
.web-editor-shell[data-mode="fullscreen"] {
  position: fixed;
  inset: 0;
  z-index: 100;
  width: 100%;
  max-width: none;
  padding: 0;
  background: var(--bg);
  grid-template-rows: 58px minmax(0, 1fr) 34px;
}
.web-editor-shell[data-mode="fullscreen"] .web-editor-top {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}
.web-editor-shell[data-mode="fullscreen"] .web-editor-grid {
  border-left: 0;
  border-right: 0;
}
.web-editor-shell[data-mode="fullscreen"] .web-editor-status {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}
.web-editor-shell[data-mode="fullscreen"] .web-preview {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
}
#markdownInput {
  width: 100%;
  height: 100%;
  min-height: 420px;
  resize: none;
  border: 0;
  border-right: 1px solid var(--line);
  outline: none;
  padding: 16px;
  background: #20252b;
  color: #fff8ee;
  font-family: Consolas, "Cascadia Mono", monospace;
  font-size: 14px;
  line-height: 1.56;
}
.web-preview {
  min-width: 0;
  overflow: auto;
  padding: 18px;
}
.web-editor-status {
  min-height: 34px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: var(--panel);
  color: var(--muted);
  font-size: 12px;
}
.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 42px auto 0;
  padding: 18px 0 32px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(160px, .35fr) minmax(160px, .35fr);
  gap: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
.footer-card strong {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
}
.footer-summary p {
  max-width: 480px;
  margin: 10px 0 0;
}
.footer-brand {
  color: var(--ink);
}
.site-footer nav {
  display: grid;
  gap: 7px;
}
.site-footer nav a {
  color: var(--muted);
  text-decoration: none;
}
.site-footer nav a:hover { color: var(--accent-strong); }
.copyright {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--faint);
  font-size: 12px;
  text-align: center;
}
@media (max-width: 900px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
  }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 30;
    width: min(280px, calc(100vw - 42px));
    height: 100vh;
    display: grid;
    align-content: start;
    justify-content: stretch;
    gap: 6px;
    padding: 76px 14px 18px;
    overflow-y: auto;
    background: var(--panel);
    border-left: 1px solid var(--line);
    box-shadow: -22px 0 55px #20252b26;
    transform: translateX(100%);
    transition: transform .2s ease;
  }
  .nav a {
    min-height: 42px;
    justify-content: flex-start;
    padding: 0 12px;
    font-size: 14px;
  }
  .nav a::after {
    left: 12px;
    right: auto;
    top: 50%;
    bottom: auto;
    width: 3px;
    height: 18px;
    transform: translateY(-50%) scaleY(.35);
  }
  .nav a:hover {
    transform: translateX(2px);
  }
  .nav a:hover::after,
  .nav a.active::after {
    transform: translateY(-50%) scaleY(1);
  }
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
  }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 20;
    border: 0;
    background: #20252b66;
    cursor: pointer;
  }
  body.nav-open {
    overflow: hidden;
  }
  body.nav-open .nav {
    transform: translateX(0);
  }
  body.nav-open .nav-backdrop {
    display: block;
  }
  body.nav-open .menu-toggle {
    position: relative;
    z-index: 40;
  }
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .app-preview {
    grid-template-columns: 128px minmax(0, 1fr);
  }
  .feature-grid, .steps, .split-text, .web-editor-grid, .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
  .footer-summary {
    grid-column: 1 / -1;
  }
}
@media (max-width: 620px) {
  main, .site-footer {
    width: min(100% - 22px, 1160px);
  }
  .editor-page main {
    width: calc(100% - 12px);
  }
  .site-header {
    padding-inline: 11px;
    gap: 7px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .brand strong {
    max-width: clamp(86px, 34vw, 132px);
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .brand small {
    font-size: 10px;
  }
  .header-cta {
    min-height: 32px;
    padding: 0 9px;
    font-size: 12px;
    white-space: nowrap;
  }
  .menu-toggle {
    width: 34px;
    height: 34px;
  }
  .hero {
    padding-top: 28px;
  }
  .section, .page-hero {
    padding: 34px 0;
  }
  .page-hero + .section,
  .page-hero + .section.steps,
  .page-hero + .feature-list,
  .page-hero + .split-text,
  .page-hero + .policy,
  .page-hero + .faq-list {
    padding-top: 30px;
  }
  .page-hero,
  .article-head,
  .section-head {
    gap: 8px;
  }
  .page-hero {
    padding-bottom: 26px;
  }
  .page-hero h1,
  .article-head h1 {
    font-size: 32px;
    line-height: 1.08;
  }
  .page-hero p,
  .article-head .lead {
    font-size: 16px;
    line-height: 1.5;
  }
  .eyebrow {
    font-size: 10px;
  }
  .app-preview {
    min-height: 360px;
    grid-template-columns: 1fr;
  }
  .preview-rail {
    display: none;
  }
  .preview-grid {
    grid-template-columns: 1fr;
  }
  .preview-grid article {
    display: none;
  }
  .feature-grid, .steps, .split-text, .site-footer, .web-editor-grid, .blog-grid {
    grid-template-columns: 1fr;
  }
  .article {
    padding-top: 30px;
  }
  .article > p,
  .article > ul,
  .article > ol,
  .article > pre,
  .article > table,
  .article > .faq-list {
    max-width: none;
  }
  .article h2 {
    margin-top: 24px;
    font-size: 24px;
  }
  .article p,
  .article li {
    font-size: 15px;
    line-height: 1.6;
  }
  .article table {
    display: block;
    overflow-x: auto;
  }
  #markdownInput {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .web-editor-top {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    border-radius: 9px 9px 0 0;
  }
  .web-doc-title {
    display: grid;
    gap: 1px;
  }
  .web-doc-title .eyebrow {
    margin-bottom: 0;
    font-size: 9px;
    letter-spacing: .1em;
  }
  .web-doc-title > span {
    font-size: 10px;
  }
  .web-title-button {
    min-height: 20px;
    font-size: 16px;
    line-height: 1.1;
  }
  .web-header-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    justify-content: stretch;
  }
  .web-view-toggle {
    grid-column: 1 / -1;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    padding: 3px;
    border-radius: 9px;
  }
  .web-view-toggle button {
    min-height: 34px;
    padding: 0 6px;
    font-size: 12px;
  }
  .web-view-toggle button.active {
    background: var(--dark);
    border-color: var(--dark);
    color: #fff8ee;
  }
  .web-view-toggle [data-view-mode="split"] {
    display: none;
  }
  .web-view-toggle [data-view-mode="fullscreen"] {
    display: none;
  }
  .web-title-button,
  .web-title-input {
    width: 100%;
    max-width: none;
  }
  .web-header-actions .btn {
    min-height: 34px;
    padding: 0 8px;
    font-size: 12px;
  }
  .web-toolbar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    padding: 6px;
    border-radius: 0;
  }
  .toolCluster {
    display: contents;
    padding-right: 0;
    border-right: 0;
  }
  .toolCluster button,
  .toolCluster select {
    width: 100%;
    min-height: 34px;
    padding-inline: 5px;
    font-size: 11px;
  }
  .toolCluster select {
    grid-column: span 2;
    min-width: 0;
    width: auto;
  }
  .web-editor-shell[data-mode="split"] .web-editor-grid {
    grid-template-columns: 1fr;
  }
  .web-editor-shell[data-mode="split"] #markdownPreview {
    display: none;
  }
  .web-editor-shell[data-mode="preview"] .web-toolbar {
    display: none;
  }
  .web-editor-shell {
    min-height: calc(100vh - 62px);
    grid-template-rows: auto auto minmax(420px, 1fr) auto;
    padding: 8px 0 18px;
  }
  .web-editor-grid {
    min-height: 420px;
  }
  #markdownInput {
    min-height: 420px;
    padding: 14px;
    font-size: 13px;
    line-height: 1.58;
  }
  .web-preview {
    min-height: 420px;
    padding: 14px;
  }
  .web-editor-status {
    min-height: 32px;
    align-items: center;
    padding: 7px 8px;
    font-size: 11px;
  }
  .band {
    align-items: stretch;
    flex-direction: column;
  }
}
