.harness-figure { margin: 32px auto 40px; width: 100%; max-width: 1040px; }
.harness-browser { container-type: inline-size; border: 1px solid #d5d4ce; border-radius: 12px; overflow: hidden; background: #fafaf8; box-shadow: 0 12px 32px #29251e0d; }
.harness-browser__bar { display: flex; align-items: center; gap: 10px; padding: 4px 12px; min-height: 46px; background: #eeefec; border-bottom: 1px solid #dedfd9; color: #606860; font: 12px/1.4 system-ui,sans-serif; }
.harness-browser__dots { letter-spacing: 3px; color: #a5aaa3; white-space: nowrap; }
.harness-browser__address { flex: 1; min-width: 0; text-align: center; }
.harness-browser__bar a,.harness-browser__bar button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 4px 8px; flex-shrink: 0; color: inherit; font: inherit; text-decoration: none; border: 0; border-radius: 6px; background: none; cursor: pointer; }
.harness-browser__bar a:hover,.harness-browser__bar button:hover { background: #dde2da; }
.harness-browser iframe { display: block; width: 100%; height: 390px; border: 0; background: #fafaf8; }
.harness-browser img { display: block; width: 100%; height: auto; border: 0; border-radius: 0; }
.harness-figure figcaption { font: 15px/1.6 system-ui,sans-serif; color: #4f4c55; margin-top: 14px; max-width: 70ch; }
.harness-browser a:focus-visible,.harness-browser button:focus-visible { outline: 2px solid #315f49; outline-offset: -2px; }
@container (max-width: 540px) {
  .harness-browser__bar { flex-wrap: wrap; gap: 0 4px; padding: 4px 8px; }
  .harness-browser__dots { display: none; }
  .harness-browser__address { flex-basis: 100%; text-align: left; padding: 5px 8px 0; font-size: 12px; }
  .harness-browser__bar a,.harness-browser__bar button { min-height: 44px; min-width: 44px; font-size: 13px; }
  .harness-browser iframe { height: 440px; }
}
.harness-browser.is-expanded { position: fixed; inset: 16px; z-index: 10000; display: flex; flex-direction: column; box-shadow: 0 0 0 100vmax #262b2799; }
.harness-browser.is-expanded iframe { flex: 1; min-height: 0; height: auto; }
@media (max-width: 600px) { .harness-browser.is-expanded { inset: 8px; } }
