/* Live demo: a replica of the SanityAI Dashboard with sample data and a guided tour (assets/demo.js). */
html.dm-open, html.dm-open body { overflow: hidden; }
.dm { position: fixed; inset: 0; z-index: 70; display: grid; grid-template-columns: 236px minmax(0, 1fr); grid-template-rows: auto 1fr; background: #f5f5f4; color: #111111;
  font-family: 'Geist', 'Helvetica Neue', Helvetica, sans-serif; letter-spacing: -0.01em; font-size: 14px; line-height: 1.45; }
.dm *, .dm *::before, .dm *::after { box-sizing: border-box; }
.dm .f { font-family: 'IBM Plex Serif', Georgia, serif; font-weight: 400; letter-spacing: -0.045em; }
.dm button { font: inherit; color: inherit; }
.dm-bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 9px 16px; background: #111111; color: #d9d9d6; font-size: 12.5px; }
.dm-bar b { color: #ffffff; font-weight: 400; }
.dm-bar .dm-dot { width: 7px; height: 7px; border-radius: 50%; background: #e0a43a; flex: none; }
.dm-bar .sp { margin-left: auto; display: flex; gap: 8px; }
.dm-bar button { height: 28px; padding: 0 12px; border-radius: 6px; border: 1px solid rgba(255,255,255,.22); background: transparent; color: #ffffff; cursor: pointer; font-size: 12.5px; white-space: nowrap; }
.dm-bar button.on { background: #ffffff; color: #111111; border-color: #ffffff; }
.dm-side { background: #ffffff; border-right: 1px solid #e7e7e3; padding: 18px 14px; overflow-y: auto; }
.dm-logo { display: flex; align-items: baseline; gap: 8px; font-size: 13px; letter-spacing: .14em; margin: 2px 6px 18px; }
.dm-logo small { letter-spacing: 0; color: #8a8b90; font-size: 12px; }
.dm-org { border: 1px solid #e7e7e3; border-radius: 8px; padding: 9px 11px; margin-bottom: 18px; font-size: 13px; }
.dm-org small { display: block; color: #8a8b90; font-size: 11.5px; }
.dm-nav p { margin: 14px 8px 6px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #a3a3a6; }
.dm-nav button { display: flex; width: 100%; align-items: center; gap: 9px; padding: 8px 9px; border: 0; border-radius: 7px; background: none; cursor: pointer; text-align: left; font-size: 13.5px; color: #3b3c40; }
.dm-nav button:hover { background: #f3f3f1; }
.dm-nav button.on { background: #111111; color: #ffffff; }
.dm-nav button i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .35; flex: none; }
.dm-nav button.on i { opacity: 1; }
.dm-main { min-width: 0; overflow-y: auto; padding: 26px 30px 120px; scroll-behavior: smooth; }
.dm-view { display: none; max-width: 1120px; }
.dm-view.on { display: block; animation: dm-in .35s ease; }
@keyframes dm-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.dm-h { margin: 0 0 4px; font-size: 26px; line-height: 1.1; font-weight: 400; letter-spacing: -0.035em; }
.dm-sub { margin: 0 0 20px; color: #6e6f74; font-size: 13.5px; }
.dm-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.dm-kpi { background: #ffffff; border: 1px solid #e7e7e3; border-radius: 10px; padding: 16px 18px; }
.dm-kpi span { display: block; font-size: 12px; color: #6e6f74; }
.dm-kpi b { display: block; font-weight: 400; font-size: 30px; letter-spacing: -0.04em; margin: 6px 0 2px; }
.dm-kpi small { font-size: 11.5px; color: #8a8b90; }
.dm-kpi small.up { color: #1f6f43; }
.dm-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
.dm-card { background: #ffffff; border: 1px solid #e7e7e3; border-radius: 10px; padding: 18px 20px; margin-bottom: 14px; }
.dm-card h3 { margin: 0 0 12px; font-size: 15px; font-weight: 400; letter-spacing: -0.02em; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.dm-card h3 small { color: #8a8b90; font-size: 12px; }
.dm-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #f0f0ee; font-size: 13.5px; }
.dm-row:first-of-type { border-top: 0; }
.dm-av { width: 30px; height: 30px; border-radius: 50%; background: #efefec; display: flex; align-items: center; justify-content: center; font-size: 12px; flex: none; color: #55565a; }
.dm-row .grow { flex: 1; min-width: 0; }
.dm-row .grow small { display: block; color: #8a8b90; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; background: #f2f2f0; color: #55565a; white-space: nowrap; }
.dm-pill.ok { background: #e4ece6; color: #1f6f43; }
.dm-pill.warn { background: #f7ecd9; color: #8a5a12; }
.dm-pill.bad { background: #f6e3dc; color: #a2401f; }
.dm-pill.ink { background: #e6e9f1; color: #2f3e6b; }
.dm-bars { display: grid; gap: 9px; }
.dm-bars div { display: grid; grid-template-columns: 110px 1fr 34px; align-items: center; gap: 10px; font-size: 12.5px; }
.dm-bars em { height: 8px; border-radius: 4px; background: #efefec; overflow: hidden; display: block; }
.dm-bars em i { display: block; height: 100%; background: #111111; border-radius: 4px; }
.dm-bars span { text-align: right; color: #6e6f74; font-variant-numeric: tabular-nums; }
.dm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dm-table th { text-align: left; font-weight: 400; color: #8a8b90; font-size: 11.5px; padding: 0 10px 8px 0; border-bottom: 1px solid #ececea; white-space: nowrap; }
.dm-table td { padding: 11px 10px 11px 0; border-bottom: 1px solid #f2f2f0; vertical-align: middle; }
.dm-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.dm-table tr.sel td { background: #fafaf8; }
.dm-tw { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dm-split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; align-items: start; }
.dm-tl { list-style: none; margin: 0; padding: 0; }
.dm-tl li { position: relative; padding: 0 0 14px 20px; font-size: 13px; }
.dm-tl li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: #111111; }
.dm-tl li::after { content: ""; position: absolute; left: 7px; top: 15px; bottom: 0; width: 1px; background: #e2e2df; }
.dm-tl li:last-child::after { display: none; }
.dm-tl small { display: block; color: #8a8b90; font-size: 11.5px; }
.dm-tl li.good::before { background: #2f9e62; }
.dm-btn { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 6px; border: 1px solid #d6d6d2; background: #ffffff; font-size: 13px; cursor: default; }
.dm-btn.dark { background: #111111; color: #ffffff; border-color: #111111; }
.dm-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dm-facts div { border: 1px solid #ececea; border-radius: 8px; padding: 12px 14px; }
.dm-facts span { display: block; font-size: 11.5px; color: #8a8b90; }
.dm-facts b { font-weight: 400; font-size: 19px; letter-spacing: -0.03em; }
.dm-note { margin: 12px 0 0; padding: 11px 13px; border-radius: 8px; background: #f5f5f4; color: #55565a; font-size: 12.5px; }
.dm-plats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dm-chips span { font-size: 12px; padding: 5px 10px; border: 1px solid #e2e2df; border-radius: 5px; }
.dm-tips { margin: 0; padding-left: 18px; font-size: 13px; }
.dm-tips li { margin-bottom: 8px; }
/* Tour */
.dm-spot { position: fixed; z-index: 72; border-radius: 12px; box-shadow: 0 0 0 9999px rgba(17,17,17,.55); pointer-events: none; transition: all .35s cubic-bezier(.22,.61,.36,1); }
.dm-spot.off { box-shadow: 0 0 0 9999px rgba(17,17,17,.55); width: 0 !important; height: 0 !important; left: 50% !important; top: 50% !important; }
.dm-tip { font-family: 'Geist', 'Helvetica Neue', Helvetica, sans-serif; letter-spacing: -0.01em; color: #111111; box-sizing: border-box; position: fixed; z-index: 73; width: 340px; max-width: calc(100vw - 24px); background: #ffffff; border-radius: 12px; padding: 18px 18px 14px; box-shadow: 0 24px 60px rgba(17,17,17,.28); transition: left .35s cubic-bezier(.22,.61,.36,1), top .35s cubic-bezier(.22,.61,.36,1); }
.dm-tip::before { content: ""; position: absolute; width: 12px; height: 12px; background: #ffffff; transform: rotate(45deg); }
.dm-tip[data-side="right"]::before { left: -6px; top: var(--ay, 24px); }
.dm-tip[data-side="left"]::before { right: -6px; top: var(--ay, 24px); }
.dm-tip[data-side="bottom"]::before { top: -6px; left: var(--ax, 30px); }
.dm-tip[data-side="top"]::before { bottom: -6px; left: var(--ax, 30px); }
.dm-tip[data-side="center"]::before, .dm-tip[data-side="sheet"]::before { display: none; }
.dm-tip[data-side="center"] { width: 460px; padding: 26px 26px 20px; }
.dm-tip .k { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #8a8b90; margin: 0 0 6px; }
.dm-tip *, .dm-tip *::before, .dm-tip *::after { box-sizing: border-box; }
.dm-tip .f { font-family: 'IBM Plex Serif', Georgia, serif; font-weight: 400; letter-spacing: -0.045em; }
.dm-tip button { font: inherit; color: inherit; }
.dm-tip h4 { margin: 0 0 6px; font-size: 19px; line-height: 1.15; font-weight: 400; letter-spacing: -0.03em; }
.dm-tip[data-side="center"] h4 { font-size: 26px; }
.dm-tip p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #4a4b50; }
.dm-tip .row { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.dm-tip .row .sp { margin-left: auto; display: flex; gap: 6px; }
.dm-tip .prog { display: flex; gap: 4px; }
.dm-tip .prog i { width: 6px; height: 6px; border-radius: 50%; background: #e2e2df; }
.dm-tip .prog i.on { background: #111111; }
.dm-tip button.t { height: 34px; padding: 0 14px; border-radius: 6px; border: 1px solid #d6d6d2; background: #ffffff; cursor: pointer; font-size: 13px; }
.dm-tip button.t.dark { background: #111111; border-color: #111111; color: #ffffff; }
.dm-tip button.lnk { border: 0; background: none; color: #8a8b90; font-size: 12.5px; cursor: pointer; padding: 0; text-decoration: underline; }
.dm-choices { display: grid; gap: 8px; margin-top: 16px; }
.dm-choices button { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; border: 1px solid #dcdcd8; border-radius: 9px; background: #ffffff; cursor: pointer; }
.dm-choices button:hover { border-color: #111111; }
.dm-choices b { font-weight: 400; font-size: 14.5px; display: block; }
.dm-choices small { color: #6e6f74; font-size: 12px; }
.dm-choices .ic { width: 32px; height: 32px; border-radius: 8px; background: #f2f2f0; display: flex; align-items: center; justify-content: center; flex: none; }
.dm-tip .more { margin-top: 12px; font-size: 12.5px; color: #6e6f74; text-align: center; }
.dm-tip .more a { color: #111111; }
.dm-tip button:focus-visible, .dm-nav button:focus-visible, .dm-bar button:focus-visible { outline: 2px solid #111111; outline-offset: 2px; }
@media (max-width: 1100px) { .dm-kpis { grid-template-columns: repeat(2, 1fr); } .dm-grid, .dm-split { grid-template-columns: 1fr; } .dm-plats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .dm { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr); }
  .dm-side { min-width: 0; }
  .dm-bar { font-size: 11.5px; padding: 8px 12px; }
  .dm-bar .lab { display: none; }
  .dm-side { border-right: 0; border-bottom: 1px solid #e7e7e3; padding: 10px 12px 8px; overflow: visible; }
  .dm-logo, .dm-org { display: none; }
  .dm-nav { display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .dm-nav::-webkit-scrollbar { display: none; }
  .dm-nav p { display: none; }
  .dm-nav button { width: auto; flex: none; white-space: nowrap; padding: 7px 11px; border: 1px solid #e7e7e3; font-size: 13px; }
  .dm-nav button i { display: none; }
  .dm-main { padding: 18px 14px 260px; }
  .dm-h { font-size: 22px; }
  .dm-kpi b { font-size: 24px; }
  .dm-facts, .dm-plats { grid-template-columns: 1fr; }
  .dm-bars div { grid-template-columns: 92px 1fr 30px; }
  .dm-table td, .dm-table th { white-space: nowrap; }
  .dm-tip[data-side] { left: 8px !important; right: 8px; top: auto !important; bottom: 8px; width: auto; max-width: none; border-radius: 14px; }
  .dm-tip[data-side="center"] { padding: 22px 18px 16px; }
  .dm-tip[data-side="center"] h4 { font-size: 22px; }
  .dm-tip::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { .dm-view.on, .dm-spot, .dm-tip { animation: none; transition: none; } .dm-main { scroll-behavior: auto; } }
/* Booking calendar above the demo, and the floating button hidden while the demo is open */
html.dm-open .bk-fab { display: none; }
html.dm-book .bk { z-index: 80; }
/* Landing page */
.dstatus { display: none; margin: 0 0 18px; padding: 14px 16px; border-radius: 8px; background: #f2f2f0; font-size: 14px; color: #3b3c40; }
.dstatus.err { background: #f6e3dc; color: #8a3518; }
.dform-opt { color: #8a8b90; font-weight: 400; }
.dlist { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.dlist li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; }
.dlist li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: currentColor; opacity: .5; }
#dafter { display: none; }
