/* EDB identity. Original artwork is never recreated with a text font.
   Mirrored byte-for-byte in the browser-only EDB demo's public/brand directory. */
body.board-site.profile-edb,
.edb-shell {
  --edb-paper: #f5f1e8;
  --edb-surface: #fdfaf2;
  --edb-soft: #e9e5d9;
  --edb-ink: #293b30;
  --edb-muted: #5d6358;
  --edb-line: #d0cfc2;
  --edb-accent: #854b2f;
  --edb-heading: Georgia, "Times New Roman", serif;
  --edb-text: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--edb-ink);
  background: var(--edb-paper);
  font: 16px/1.65 var(--edb-text);
}
body.board-site.profile-edb {
  --paper: var(--edb-paper);
  --ink: var(--edb-ink);
  --muted: var(--edb-muted);
  --line: var(--edb-line);
  --yellow: #e9dfc5;
  color-scheme: light;
}
body.board-site.profile-edb .site-frame {
  max-width: 1236px;
  padding: 0 28px;
  margin: 0 auto;
}
body.board-site.profile-edb .board-header,
.edb-shell .edb-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  min-height: 104px;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--edb-line);
  background: transparent;
}
.edb-shell .edb-header {
  max-width: 1180px;
  margin: 0 auto;
}
body.board-site.profile-edb .brand,
.edb-shell .edb-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  width: auto;
  min-width: 0;
  padding: 0;
  border: 0;
  text-decoration: none;
  letter-spacing: normal;
}
body.board-site.profile-edb .brand picture,
.edb-shell .edb-brand picture { display: block; line-height: 0; }
body.board-site.profile-edb .brand img,
.edb-shell .edb-brand img {
  display: block;
  width: 178px;
  height: auto;
  max-height: none;
  object-fit: contain;
  filter: none;
}
body.board-site.profile-edb .edb-mark,
.edb-shell .edb-mark {
  flex: none;
  color: var(--edb-accent);
  font: 700 12px/1 var(--edb-text);
  letter-spacing: .18em;
}
body.board-site.profile-edb .board-nav,
.edb-shell .edb-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 0;
  border: 0;
  font: 500 14px/1.4 var(--edb-text);
}
body.board-site.profile-edb .board-nav a,
.edb-shell .edb-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  color: inherit;
  text-decoration: none;
  text-underline-offset: 5px;
}
body.board-site.profile-edb .board-nav a:hover,
.edb-shell .edb-nav a:hover { text-decoration: underline; }
body.board-site.profile-edb .header-controls,
.edb-shell .header-controls { display: flex; flex: none; align-items: center; margin: 0; padding: 0; }
body.board-site.profile-edb .theme-picker,
.edb-shell .theme-picker { display: flex; padding: 0; gap: 0; }
body.board-site.profile-edb .theme-picker[hidden],
.edb-shell .theme-picker[hidden] { display: none; }
body.board-site.profile-edb .theme-picker button,
.edb-shell .theme-picker button { font: 12px var(--edb-text); padding: 6px; min-width: 44px; min-height: 44px; background: transparent; color: var(--edb-ink); border: 0; border-radius: 0; cursor: pointer; }
body.board-site.profile-edb .theme-picker button[aria-pressed=true],
.edb-shell .theme-picker button[aria-pressed=true] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
body.board-site.profile-edb :focus-visible,
.edb-shell .edb-header :focus-visible { outline: 3px solid var(--edb-accent); outline-offset: 5px; }
body.board-site.profile-edb main { border: 0; }
body.board-site.profile-edb h1,
body.board-site.profile-edb h2,
body.board-site.profile-edb .tile-title,
body.board-site.profile-edb .board-document h1 {
  font-family: var(--edb-heading);
  font-weight: 400;
  text-transform: none;
  letter-spacing: -.04em;
  color: var(--edb-ink);
}
body.board-site.profile-edb h1,
body.board-site.profile-edb .board-grid > .tile:first-child .tile-title {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.05;
  margin: 0 0 24px;
}
body.board-site.profile-edb h2,
body.board-site.profile-edb .board-grid .tile-title,
body.board-site.profile-edb .board-grid .span-1 .tile-title {
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.13;
  margin: 0 0 20px;
}
body.board-site.profile-edb h3 { font: 650 19px/1.4 var(--edb-text); }
body.board-site.profile-edb .lead { font-size: 19px; line-height: 1.65; }
body.board-site.profile-edb .eyebrow { color: var(--edb-accent); font: 700 11px/1.5 var(--edb-text); letter-spacing: .14em; }
body.board-site.profile-edb .tile-text { font-size: 17px; line-height: 1.65; max-width: 54ch; }
body.board-site.profile-edb .board-grid { gap: 20px; padding: 36px 0; border: 0; }
body.board-site.profile-edb .board-grid > .tile {
  margin: 0;
  border: 1px solid var(--edb-line);
  border-radius: 8px;
  overflow: hidden;
  min-height: 0;
  height: auto;
  background: var(--edb-surface);
}
body.board-site.profile-edb .board-grid > .tile:first-child { background: transparent; border-color: transparent; }
body.board-site.profile-edb .tile-copy { padding: clamp(24px, 3vw, 38px); }
body.board-site.profile-edb .tile-link { font: 600 15px/1.5 var(--edb-text); padding-top: 20px; margin-top: auto; }
body.board-site.profile-edb .board-grid > .tile:first-child .tile-link,
body.board-site.profile-edb .button,
body.board-site.profile-edb .solid-link,
body.board-site.profile-edb .contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid var(--edb-ink);
  border-radius: 6px;
  background: var(--edb-ink);
  color: var(--edb-paper);
  font: 600 15px/1.4 var(--edb-text);
  text-decoration: none;
}
body.board-site.profile-edb .button:hover,
body.board-site.profile-edb .solid-link:hover { background: var(--edb-accent); border-color: var(--edb-accent); color: var(--edb-surface); }
body.board-site.profile-edb .board-grid > .tile-photo { min-height: 300px; }
body.board-site.profile-edb .tile-photo .photo-content { min-height: 0; }
body.board-site.profile-edb .tile-photo .photo-link { padding: 14px; }
body.board-site.profile-edb .tile-photo img { max-height: 480px; }
body.board-site.profile-edb .tile-photo figcaption { border-top: 1px solid var(--edb-line); padding: 14px 20px; background: var(--edb-surface); font: 500 13px/1.5 var(--edb-text); }
body.board-site.profile-edb .shell { padding: 32px 0; }
body.board-site.profile-edb .shell .shell { padding: 0; }
body.board-site.profile-edb .section,
body.board-site.profile-edb .detail-hero,
body.board-site.profile-edb .final-cta,
body.board-site.profile-edb .web-hero,
body.board-site.profile-edb .editor-band,
body.board-site.profile-edb .gallery-intro,
body.board-site.profile-edb .gallery-note { padding: 44px 0; border-color: var(--edb-line); }
body.board-site.profile-edb .section .section { padding: 24px 0; }
body.board-site.profile-edb .app-screenshots,
body.board-site.profile-edb .design-grid,
body.board-site.profile-edb .concept-grid,
body.board-site.profile-edb .designs { gap: 20px; border: 0; }
body.board-site.profile-edb .app-screenshots figure,
body.board-site.profile-edb .concept-card,
body.board-site.profile-edb .design-card,
body.board-site.profile-edb .contact-card,
body.board-site.profile-edb .editor-preview {
  border: 1px solid var(--edb-line);
  border-radius: 8px;
  padding: 24px;
  background: var(--edb-surface);
  color: var(--edb-ink);
  box-shadow: none;
}
body.board-site.profile-edb .design-caption { padding-top: 20px; }
body.board-site.profile-edb .status { display: inline-block; border: 1px solid var(--edb-line); border-radius: 5px; background: var(--edb-surface); }
body.board-site.profile-edb .board-footer { border-top: 1px solid var(--edb-line); padding: 28px 0 36px; color: var(--edb-muted); font: 14px/1.6 var(--edb-text); }
body.board-site.profile-edb .board-footer strong { color: var(--edb-ink); }
body.board-site.profile-edb .credits { padding: 28px 0; }
body.board-site.profile-edb .board-document { padding: 40px 0; border: 0; }
body.board-site.profile-edb input:not([type=checkbox]):not([type=radio]),
body.board-site.profile-edb textarea,
body.board-site.profile-edb select { border: 1px solid var(--edb-line); border-radius: 6px; background: var(--edb-surface); color: var(--edb-ink); font: 16px/1.5 var(--edb-text); min-height: 46px; }
body.board-site.profile-edb .errorlist { color: #9b301f; }
.edb-shell { min-height: 100vh; color-scheme: light; }
.edb-shell .edb-header-wrap { padding: 0 28px; background: var(--edb-paper); }
.edb-shell .restaurant-demo-root { background: var(--edb-paper); }
.edb-shell .edb-demo-context { max-width: 1240px; margin: 0 auto; padding: 18px 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--edb-muted); }
.edb-shell .edb-demo-context a { color: var(--edb-ink); font-weight: 600; text-underline-offset: 4px; }
.edb-shell .product-demo-welcome { max-width: 820px; margin: 40px auto; padding: 32px; color: var(--edb-ink); background: var(--edb-surface); border: 1px solid var(--edb-line); border-radius: 8px; }
.edb-shell .product-demo-welcome h1 { font: 400 clamp(32px, 5vw, 48px)/1.1 var(--edb-heading); letter-spacing: -.04em; }
.edb-shell .product-demo-welcome p { color: var(--edb-muted); }
.edb-shell .product-demo-welcome :is(a, strong) { color: var(--edb-ink); }
.edb-shell .product-demo-welcome button { background: var(--edb-ink); color: var(--edb-surface); border: 1px solid var(--edb-ink); border-radius: 6px; }
.edb-shell .product-demo-banner { margin: 20px auto; max-width: 1240px; padding: 20px; background: var(--edb-surface); border: 1px solid var(--edb-line); border-radius: 8px; color: var(--edb-ink); }
.edb-shell .product-demo-banner :is(a, button) { background: var(--edb-surface); color: var(--edb-ink); }
.edb-shell > .product-admin { background: var(--edb-paper); }
.edb-shell > .product-admin .product-admin-header { color: var(--edb-ink); }
.edb-shell > .product-admin .product-admin-header p { color: var(--edb-muted); }
.edb-shell > .product-admin .product-admin-header h1 { font: 400 34px/1.2 var(--edb-heading); }
.edb-shell > .product-admin .product-admin-content { border-radius: 8px; border-color: var(--edb-line); }
.edb-shell > .product-admin .product-admin-nav button { background: var(--edb-surface); color: var(--edb-ink); border-color: var(--edb-line); border-radius: 6px; }
.edb-shell > .product-admin .product-admin-nav button[aria-pressed=true] { background: var(--edb-ink); color: var(--edb-surface); }
@media (max-width: 1060px) {
  body.board-site.profile-edb .board-nav,
  .edb-shell .edb-nav { order: 3; flex-basis: 100%; justify-content: flex-start; }
  body.board-site.profile-edb .header-controls,
  .edb-shell .header-controls { order: 1; margin-left: auto; }
}
@media (max-width: 760px) {
  .edb-shell .edb-nav { flex-basis: 100%; justify-content: flex-start; }
  body.board-site.profile-edb .site-frame,
  .edb-shell .edb-header-wrap { padding-inline: 18px; }
  body.board-site.profile-edb .board-header,
  .edb-shell .edb-header { min-height: 0; gap: 8px 18px; padding-block: 18px 12px; }
  body.board-site.profile-edb .brand img,
  .edb-shell .edb-brand img { width: 156px; }
  body.board-site.profile-edb .board-nav,
  .edb-shell .edb-nav { gap: 0 18px; font-size: 13px; }
  body.board-site.profile-edb .board-grid { gap: 16px; padding: 24px 0; }
  body.board-site.profile-edb .board-grid > .tile-photo { min-height: 260px; height: 260px; }
  body.board-site.profile-edb .tile-copy { padding: 24px; }
  body.board-site.profile-edb .tile-text { font-size: 16px; }
  body.board-site.profile-edb .section,
  body.board-site.profile-edb .detail-hero,
  body.board-site.profile-edb .final-cta,
  body.board-site.profile-edb .web-hero,
  body.board-site.profile-edb .editor-band,
  body.board-site.profile-edb .gallery-intro,
  body.board-site.profile-edb .gallery-note { padding-block: 30px; }
  body.board-site.profile-edb .app-screenshots figure,
  body.board-site.profile-edb .concept-card,
  body.board-site.profile-edb .design-card { padding: 18px; }
  .edb-shell .product-demo-welcome { margin: 24px 18px; padding: 24px; }
  .edb-shell .product-demo-banner { margin: 18px; }
  .edb-shell .edb-demo-context { padding: 16px 18px 0; font-size: 12px; }
}
/* Native editor demonstration uses the same frame and controls as the site. */
body.board-site.profile-edb .concept-card { text-decoration: none; }
body.board-site.profile-edb .concept-card:hover :is(h2, h3) { text-decoration: underline; text-underline-offset: 5px; }
body.board-site.profile-edb .concept-card h2 { font-size: clamp(25px, 2.5vw, 34px); }
body.board-site.profile-edb .contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, .7fr); gap: 32px; align-items: start; }
body.board-site.profile-edb .contact-aside { padding: 24px 0; }
body.board-site.profile-edb .demo-intro { padding: 44px 0; max-width: 900px; }
body.board-site.profile-edb .demo-disclaimer { padding: 18px 22px; background: var(--edb-surface); border: 1px solid var(--edb-line); border-radius: 6px; font-size: 14px; }
body.board-site.profile-edb .editor-shell { border: 1px solid var(--edb-line); border-radius: 8px; background: var(--edb-surface); overflow: hidden; }
body.board-site.profile-edb .editor-top { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding: 24px; border-bottom: 1px solid var(--edb-line); }
body.board-site.profile-edb .editor-top h2 { margin: 6px 0 0; font-size: 30px; }
body.board-site.profile-edb .editor-top > span { margin-left: auto; font-size: 13px; }
body.board-site.profile-edb .editor-workspace { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
body.board-site.profile-edb .editor-fields { padding: 24px; min-width: 0; }
body.board-site.profile-edb .editor-preview { border: 0; border-left: 1px solid var(--edb-line); border-radius: 0; min-width: 0; background: var(--edb-paper); }
body.board-site.profile-edb .editor-tabs,
body.board-site.profile-edb .editor-actions,
body.board-site.profile-edb .preview-tools,
body.board-site.profile-edb .preview-tools > div,
body.board-site.profile-edb .dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; }
body.board-site.profile-edb .editor-tabs { padding-bottom: 18px; border-bottom: 1px solid var(--edb-line); margin-bottom: 24px; }
body.board-site.profile-edb .demo-page button { padding: 10px 14px; min-height: 44px; border: 1px solid var(--edb-line); border-radius: 6px; font: 500 14px/1.4 var(--edb-text); color: var(--edb-ink); background: var(--edb-surface); cursor: pointer; }
body.board-site.profile-edb .demo-page button[aria-pressed=true],
body.board-site.profile-edb .demo-page button[aria-selected=true],
body.board-site.profile-edb .demo-page .primary-button { color: var(--edb-paper); background: var(--edb-ink); border-color: var(--edb-ink); }
body.board-site.profile-edb .demo-page button:disabled { opacity: .55; cursor: default; }
body.board-site.profile-edb .editor-fields label { margin: 18px 0 8px; font-size: 14px; font-weight: 600; }
body.board-site.profile-edb .editor-fields h3 { margin-top: 24px; }
body.board-site.profile-edb .field-help,
body.board-site.profile-edb #demo-feedback,
body.board-site.profile-edb #preview-caption,
body.board-site.profile-edb .demo-history p { font-size: 13px; color: var(--edb-muted); }
body.board-site.profile-edb .section-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--edb-line); }
body.board-site.profile-edb .section-row label { flex: 1 1 130px; margin: 0; display: flex; align-items: center; gap: 10px; min-height: 44px; }
body.board-site.profile-edb .demo-page input[type=checkbox] { width: 20px; height: 20px; accent-color: #293b30; }
body.board-site.profile-edb .editor-actions { padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--edb-line); }
body.board-site.profile-edb #demo-feedback { padding-top: 14px; }
body.board-site.profile-edb .demo-photo-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
body.board-site.profile-edb .demo-photo-choices button { padding: 5px; }
body.board-site.profile-edb .demo-photo-choices img { width: 100%; height: 80px; object-fit: cover; }
body.board-site.profile-edb .preview-viewport { padding: 18px; border: 1px solid var(--edb-line); margin-top: 16px; }
body.board-site.profile-edb .mini-site { background: #fff8ea; color: #293b30; max-width: 100%; margin: auto; overflow: hidden; border: 1px solid #d0cfc2; }
body.board-site.profile-edb .mini-site.phone-preview { max-width: 285px; }
body.board-site.profile-edb .mini-brand { padding: 18px; background: #eac9a3; font: 600 24px/1.2 var(--edb-text); }
body.board-site.profile-edb .mini-site > picture { display: block; }
body.board-site.profile-edb .mini-site img { width: 100%; height: 180px; object-fit: cover; }
body.board-site.profile-edb .mini-copy,
body.board-site.profile-edb .mini-section { padding: 20px; }
body.board-site.profile-edb .mini-site h2 { color: inherit; font: 400 32px/1.15 var(--edb-heading); }
body.board-site.profile-edb .mini-site h3 { color: inherit; font: 600 19px/1.4 var(--edb-text); }
body.board-site.profile-edb .mini-site p { font-size: 14px; }
body.board-site.profile-edb .mini-button { display: inline-block; background: #293b30; color: #fff8ea; padding: 10px 14px; border-radius: 5px; font-size: 14px; }
body.board-site.profile-edb .mini-site[data-design=nordro] { background: #e4ebdd; color: #1f3c33; }
body.board-site.profile-edb .mini-site[data-design=nordro] .mini-brand { background: #203d35; color: white; font-family: Georgia, serif; }
body.board-site.profile-edb .mini-site[data-design=form] .mini-brand { background: #d5fd43; }
body.board-site.profile-edb .demo-history { padding-top: 24px; }
body.board-site.profile-edb .demo-inbox,
body.board-site.profile-edb .admin-explainer,
body.board-site.profile-edb .module-library { padding: 40px 0; }
body.board-site.profile-edb .demo-inbox { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
body.board-site.profile-edb .demo-inbox-card { padding: 24px; background: var(--edb-surface); border: 1px solid var(--edb-line); border-radius: 8px; }
body.board-site.profile-edb .demo-mail-note { grid-column: 1 / -1; }
body.board-site.profile-edb .admin-explainer > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
body.board-site.profile-edb .demo-page dialog { max-width: min(560px, calc(100% - 32px)); padding: 28px; background: var(--edb-surface); color: var(--edb-ink); border: 1px solid var(--edb-line); border-radius: 8px; }
body.board-site.profile-edb .demo-page dialog::backdrop { background: #142016bb; }
@media (max-width: 760px) {
  body.board-site.profile-edb .contact-layout,
  body.board-site.profile-edb .editor-workspace,
  body.board-site.profile-edb .demo-inbox,
  body.board-site.profile-edb .admin-explainer > div { grid-template-columns: minmax(0, 1fr); }
  body.board-site.profile-edb .editor-fields,
  body.board-site.profile-edb .editor-preview,
  body.board-site.profile-edb .editor-top { padding: 18px; }
  body.board-site.profile-edb .editor-preview { border-left: 0; border-top: 1px solid var(--edb-line); }
  body.board-site.profile-edb .preview-viewport { padding: 8px; }
  body.board-site.profile-edb .editor-top > div { flex-basis: 100%; }
  body.board-site.profile-edb .editor-top > span { margin-left: 0; }
}

/* EDB controls share the host identity; restaurant canvases keep their own profiles. */
.edb-shell .restaurant-guest,
.edb-shell .restaurant-admin,
.edb-shell .product-admin { color-scheme: light; }
.edb-shell .demo-controls,
.edb-shell .demo-example-picker { color: var(--edb-ink); }
.edb-shell .demo-sandbox-note,
.edb-shell .demo-sandbox-note p,
.edb-shell .demo-module-picker small,
.edb-shell .demo-bottom,
.edb-shell .demo-bottom p { color: var(--edb-muted); }
.edb-shell .demo-bottom a { color: var(--edb-ink); }
.edb-shell .restaurant-demo-root .demo-controls :is(button, select, summary),
.edb-shell .demo-module-picker .demo-module-options,
.edb-shell .demo-module-picker .demo-module-options fieldset,
.edb-shell .demo-module-picker .demo-module-options legend { background: var(--edb-surface); color: var(--edb-ink); border-color: var(--edb-line); }
.edb-shell .demo-module-picker summary span { background: var(--edb-soft); }
.edb-shell .demo-controls .demo-view-switch button[aria-pressed=true],
.edb-shell .demo-controls .demo-image-switch button[aria-pressed=true] { background: var(--edb-ink) !important; color: var(--edb-surface); }
.edb-shell .demo-controls :focus-visible { outline-color: var(--edb-accent); }

/* One light/dark preference across website, sales page and demo frame. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) :is(body.board-site.profile-edb, .edb-shell) { --edb-paper: #1c2721; --edb-surface: #25322a; --edb-soft: #303d33; --edb-ink: #f5f1e8; --edb-muted: #c2c9bf; --edb-line: #526052; --edb-accent: #e0ae86; --yellow: #423b2c; color-scheme: dark; }
  :root:not([data-theme=light]) :is(body.board-site.profile-edb .brand img, .edb-shell .edb-brand img) { filter: brightness(1.6); }
  :root:not([data-theme=light]) body.board-site.profile-edb .errorlist { color: #ffb49e; }
}
:root[data-theme=dark] :is(body.board-site.profile-edb, .edb-shell) { --edb-paper: #1c2721; --edb-surface: #25322a; --edb-soft: #303d33; --edb-ink: #f5f1e8; --edb-muted: #c2c9bf; --edb-line: #526052; --edb-accent: #e0ae86; --yellow: #423b2c; color-scheme: dark; }
:root[data-theme=dark] :is(body.board-site.profile-edb .brand img, .edb-shell .edb-brand img) { filter: brightness(1.6); }
:root[data-theme=dark] body.board-site.profile-edb .errorlist { color: #ffb49e; }
