.product-directory{display:flex;flex-wrap:wrap;gap:12px 24px;padding-top:18px;padding-bottom:18px;border-bottom:1px solid #dedbd3;font-size:15px}.demo-copy-frame{display:block;width:100%;height:440px;border:1px solid #c3c7bd;background:white}.demo-image-tools{margin-top:20px;padding-top:16px;border-top:1px solid #dedbd3}.demo-image-tools input{width:100%;max-width:100%;font-size:16px}.demo-image-tools button,.demo-image-tools label{margin:8px 6px 8px 0}.demo-image-tools img{display:block;max-width:100%;max-height:190px;object-fit:contain}.demo-help{font-size:14px!important;line-height:1.5!important}.demo-image-tools button{min-height:44px;border:1px solid #9ca197;background:#fff;padding:8px 12px;font:inherit}.demo-image-modal{width:1400px;max-width:98vw;max-height:98vh;padding:12px;box-sizing:border-box}.demo-image-modal::backdrop{background:#171918cc}.demo-image-modal iframe{width:100%;height:72vh;border:1px solid #ddd}.demo-image-modal button{min-height:44px;padding:8px 12px;font:inherit;margin:4px}.demo-image-modal p{margin:8px 0!important}.demo-result-copy p{margin-bottom:1em}.demo-result-copy img,.demo-result-image{max-width:100%;height:auto}.demo-result-copy table{border-collapse:collapse;max-width:100%}.demo-result-copy td,.demo-result-copy th{border:1px solid #bbb;padding:6px}.demo-result-copy ul,.demo-result-copy ol{padding-left:24px}.demo-result-copy .ql-align-center{text-align:center}.demo-result-copy .ql-align-right{text-align:right}.demo-result-copy .ql-align-justify{text-align:justify}.demo-result-image{display:block;margin-top:18px;max-height:300px;object-fit:contain}.demo-image-error{color:#8c2418}.journey-app,.app-body{min-width:0}@media(max-width:600px){.demo-image-modal iframe{height:68vh}.demo-image-modal{padding:6px}.product-directory{gap:10px 16px}.demo-image-tools button{max-width:100%}}

.demo-result-image:not([hidden]) + .result-art{display:none}

/* Let headings and rules organise the page without decorative ordinals. */
.platform-row{grid-template-columns:minmax(0,1fr) 180px}.platform-row .availability{grid-column:2}.window-footer>span.status-dot{margin-left:0}
@media(max-width:900px){.platform-row{grid-template-columns:minmax(0,1fr) 150px}}
@media(max-width:600px){.platform-row{grid-template-columns:minmax(0,1fr)}.platform-row .availability{grid-column:1}}

/* Give the sample editor the available width on narrow screens. */
.demo-copy-frame[hidden] { display: none; }
.demo-result-copy { min-width: 0; overflow-wrap: anywhere; overflow-x: auto; }
@media (max-width: 640px) {
  #journey .app-body { padding-inline: 10px; }
  #journey .app-layout { grid-template-columns: minmax(0, 1fr); }
}

/* The same disclosure navigation serves the desktop bar and the compact menu. */
.home-menu-toggle[hidden], .home-menu[hidden] { display: none; }
.ogham-home-review .header #home-main-links { gap: clamp(12px, 2vw, 32px); align-items: center; }
#home-main-links details { position: relative; }
#home-main-links summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
}
#home-main-links summary::-webkit-details-marker { display: none; }
#home-main-links summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid;
  border-bottom: 1px solid;
  transform: rotate(45deg);
}
#home-main-links details[open] > summary::after { transform: rotate(225deg); }
#home-main-links .home-nav-links {
  position: absolute;
  inset: 100% auto auto 0;
  min-width: max-content;
  padding: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 8px 14px #17191816;
}
#home-main-links .home-nav-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
}
#home-main-links :is(a, summary):focus-visible,
.home-menu-toggle:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

@media (max-width: 1279px) {
  html.home-nav-compact { scroll-padding-top: 78px; }
  .home-nav-compact .ogham-home-review .header {
    height: 64px;
    min-height: 64px;
    flex-wrap: nowrap;
    padding: 8px clamp(12px, 3vw, 32px);
    gap: 12px;
  }
  .home-nav-compact .reading-rail { display: none; }
  .home-menu-toggle {
    margin-inline-start: auto;
    min-height: 44px;
    min-width: 68px;
    padding: 0 14px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: inherit;
    font: inherit;
    cursor: pointer;
  }
  .home-menu {
    position: absolute;
    inset: 100% 0 auto;
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 8px clamp(12px, 3vw, 32px) 16px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 14px #17191816;
  }
  .ogham-home-review .header .home-menu #home-main-links {
    display: block;
    width: auto;
    margin: 0 0 12px;
    font-size: 15px;
  }
  .home-menu #home-main-links > :is(details, a) { border-bottom: 1px solid var(--line); }
  .home-menu #home-main-links > a { display: flex; align-items: center; min-height: 44px; }
  .home-menu #home-main-links summary { justify-content: space-between; padding-right: 6px; }
  .home-menu #home-main-links .home-nav-links {
    position: static;
    min-width: 0;
    padding: 0 0 6px 12px;
    border: 0;
    box-shadow: none;
  }
  .home-menu .motion-switch { min-height: 44px; }
}
