/* Isolated editorial concept for /home-design-preview. */
.hdp-page *,
.hdp-page *::before,
.hdp-page *::after { box-sizing: border-box; }

.hdp-page {
  --hdp-ink: #1d292a;
  --hdp-muted: #68706e;
  --hdp-paper: #f5f3ed;
  --hdp-white: #fffefa;
  --hdp-brass: #bea775;
  margin: 0;
  color: var(--hdp-ink);
  background: var(--hdp-paper);
  font-family: Georgia, 'Times New Roman', serif;
  overflow-x: clip;
}

.hdp-page main,
.hdp-page footer { position: relative; }
.hdp-page a { text-underline-offset: .22em; }
.hdp-page a:focus-visible,
.hdp-page button:focus-visible,
.hdp-page summary:focus-visible { outline: 2px solid #927947; outline-offset: 4px; }
.hdp-eyebrow {
  margin: 0 0 1rem;
  color: #e4d4ad;
  font: 700 .69rem/1.3 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.hdp-eyebrow-dark { color: #837145; }

/* Image-led opening: copy and the live SITREP stream share the Mez photograph. */
.hdp-hero {
  min-height: min(690px, calc(100svh - 96px));
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  position: relative;
  isolation: isolate;
  padding: clamp(4rem, 9vw, 8rem) max(7vw, calc((100vw - 1280px) / 2));
  color: #fffdf7;
  background-color: #182429;
  background-image: linear-gradient(90deg, rgba(12, 21, 25, .84) 0%, rgba(12, 21, 25, .63) 43%, rgba(12, 21, 25, .42) 100%), url('/static/images/Mazar-e-Sharif.jpg');
  background-position: center, 62% 52%;
  background-size: cover;
}
.hdp-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, var(--hdp-brass), rgba(190, 167, 117, .16));
}
.hdp-hero-copy { max-width: 720px; min-width: 0; position: relative; z-index: 1; }
.hdp-hero h1 {
  margin: 0;
  font-size: clamp(3.7rem, 8vw, 7.2rem);
  line-height: .93;
  font-weight: 400;
  letter-spacing: -.065em;
  text-wrap: balance;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .22);
}
.hdp-hero h1 span { color: #e2d2aa; }
.hdp-hero-deck {
  max-width: 530px;
  margin: 1.7rem 0 0;
  color: rgba(255, 253, 247, .9);
  font: 400 clamp(1.05rem, 1.7vw, 1.35rem)/1.55 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: .005em;
}
.hdp-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; }
.hdp-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: .78rem 1.2rem;
  color: #fffdf7;
  text-decoration: none;
  font: 650 .9rem/1.2 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: .01em;
  border: 1px solid rgba(228, 212, 173, .72);
  transition: background-color .18s ease, color .18s ease;
}
.hdp-button-primary { background: #eee5d1; color: #263131 !important; border-color: #eee5d1; }
.hdp-button-primary:hover { background: #fffaf0; }
.hdp-text-link { color: #fffdf7; font: 600 .9rem/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; text-decoration: none; }
.hdp-text-link span { color: #dfcca1; margin-left: .35rem; }
.hdp-text-link:hover { text-decoration: underline; }
.hdp-hero-caption {
  position: absolute;
  right: clamp(1.2rem, 5vw, 4rem);
  bottom: 1.25rem;
  color: rgba(255, 255, 255, .72);
  font: 600 .61rem/1.2 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: .16em;
}
.hdp-hero-stream { width: 100%; height: 370px; border-left-color: rgba(228, 212, 173, .55); }
.hdp-hero-stream .hdp-motion-index { top: .2rem; bottom: auto; color: rgba(255, 253, 247, .72); }
.hdp-hero-stream .hdp-motion-stage { inset: 2rem 0 0; --hdp-stage-height: calc(370px - 2rem); }

/* Live briefs borrow the established preview's data and fields, presented as a reading column. */
.hdp-brief-desk {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.45fr);
  gap: clamp(2.5rem, 7vw, 7.5rem);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7.5rem) clamp(1.25rem, 6vw, 5rem) clamp(4rem, 8vw, 7rem);
  scroll-margin-top: 104px;
}
.hdp-desk-intro { max-width: 390px; }
.hdp-desk-intro h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hdp-desk-intro > p:not(.hdp-eyebrow) {
  margin: 1.35rem 0 1.5rem;
  color: #505b59;
  font: 400 1rem/1.7 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.hdp-text-link-dark { color: #354441; }
.hdp-text-link-dark span { color: #89764d; }
.hdp-brief-browser { min-width: 0; }
.hdp-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.35rem;
  padding: 0 0 .85rem;
  border-bottom: 1px solid #d6d3c9;
}
.hdp-category-nav button {
  padding: .35rem 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: #777b75;
  cursor: pointer;
  font: 600 .82rem/1.3 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.hdp-category-nav button:hover,
.hdp-category-nav button.is-active { color: #253432; }
.hdp-category-nav button.is-active { border-bottom-color: #987f4a; }
.hdp-rss-link { display: inline-flex; align-items: center; gap: .38rem; margin-left: auto; color: #59635d; font: 600 .78rem/1.3 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; text-decoration: none; white-space: nowrap; }
.hdp-rss-link svg { width: .95rem; height: .95rem; flex: none; }
.hdp-rss-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.hdp-language-note { margin: .65rem 0 0; color: #777b75; font: 400 .75rem/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.hdp-category-panel { min-width: 0; }
.hdp-category-panel[hidden] { display: none; }
.hdp-brief {
  padding: 1.55rem 0 1.7rem;
  border-bottom: 1px solid #d9d7cf;
}
.hdp-brief-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .8rem; margin-bottom: .55rem; }
.hdp-brief-label,
.hdp-brief-meta time,
.hdp-brief-meta .hdp-brief-time {
  color: #777d78;
  font: 650 .66rem/1.3 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hdp-brief-meta time,
.hdp-brief-meta .hdp-brief-time { letter-spacing: .02em; text-transform: none; font-weight: 400; }
.hdp-brief h3 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2.15rem); font-weight: 400; line-height: 1.12; letter-spacing: -.025em; }
.hdp-brief h3 a { color: inherit; text-decoration: none; }
.hdp-brief h3 a:hover { text-decoration: underline; text-decoration-color: #ad9665; }
.hdp-share-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: .65rem 0 .25rem; }
.hdp-share-actions button,
.hdp-share-actions a { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: .35rem .62rem; border: 1px solid #d8d8d0; border-radius: 4px; background: transparent; color: #53605a; cursor: pointer; font: 600 .74rem/1.2 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; text-decoration: none; }
.hdp-share-actions button:hover,
.hdp-share-actions a:hover { background: #eeece4; color: #293532; }
.hdp-share-actions button:focus-visible,
.hdp-share-actions a:focus-visible { outline: 2px solid #927947; outline-offset: 2px; }
.hdp-share-status { color: #68706e; font: 400 .72rem/1.3 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.hdp-brief-summary { margin: .75rem 0 1rem; color: #4b5552; font: 400 .96rem/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.hdp-five-ws { display: grid; gap: .42rem; margin: 1rem 0 1.2rem; }
.hdp-five-ws > div { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr); gap: .5rem; align-items: baseline; }
.hdp-five-ws dt { color: #8b784b; font: 700 .68rem/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: .08em; }
.hdp-five-ws dd { margin: 0; color: #303936; font: 400 .9rem/1.55 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; overflow-wrap: anywhere; }
.hdp-story-arc,
.hdp-sources { margin-top: .7rem; color: #59625e; font: 400 .82rem/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.hdp-story-arc summary,
.hdp-sources summary { color: #46534f; cursor: pointer; font-weight: 650; }
.hdp-story-arc summary span,
.hdp-sources summary span { color: #85877f; font-weight: 400; }
.hdp-story-arc ol,
.hdp-sources ul { margin: .65rem 0 .6rem; padding-left: 1.1rem; }
.hdp-story-arc li { padding: .35rem 0 .5rem .2rem; }
.hdp-story-arc li time { display: block; color: #85877f; font-size: .72rem; }
.hdp-story-arc li strong { display: block; color: #293532; font-weight: 600; }
.hdp-story-arc li p { margin: .2rem 0 0; }
.hdp-sources a,
.hdp-signup-link { color: #576558; text-decoration-color: #a89467; }
.hdp-sources p { margin: .25rem 0; color: #85877f; font-size: .76rem; }
.hdp-brief-link { display: inline-block; margin-top: 1rem; color: #526258; font: 650 .8rem/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; text-decoration: none; }
.hdp-brief-link:hover { text-decoration: underline; }
.hdp-brief-link span { color: #927b4a; }
.hdp-no-briefs { padding: 2rem 0; color: #626b66; font: 400 .95rem/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.hdp-desk-footnote { margin: 1rem 0 0; color: #85877f; font: 400 .75rem/1.55 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }

.hdp-motion-window { position: relative; min-width: 0; height: 370px; overflow: hidden; border-left: 1px solid rgba(190, 167, 117, .55); }
.hdp-motion-stage { --hdp-stage-height: 370px; position: absolute; inset: 0; overflow: hidden; }
.hdp-motion-rule { position: absolute; left: -3px; top: 49%; z-index: 1; width: 5px; height: 1px; background: #d7c28f; }
.hdp-motion-loading,
.hdp-motion-empty { position: absolute; inset: 0; display: grid; align-content: center; padding: 2rem; color: #c7c6bd; font: 400 .9rem/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.hdp-motion-item { position: absolute; top: 0; left: 0; right: 0; padding: .5rem 1.5rem 1.5rem 2rem; color: rgba(245, 244, 237, .92); animation: hdp-sitrep-scroll 45s linear both; }
.hdp-motion-item .hdp-motion-number { display: block; margin-bottom: .55rem; color: #ceb981; font: 700 .64rem/1.3 'Courier New', monospace; letter-spacing: .13em; }
.hdp-motion-item h3 { max-width: 610px; margin: 0; color: #fffdf7; font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.2; font-weight: 400; }
.hdp-motion-item p { max-width: 650px; margin: .75rem 0; color: #d3d7d0; font: 400 .87rem/1.55 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.hdp-motion-fields { display: grid; gap: .3rem; margin-top: .9rem; }
.hdp-motion-fields span { color: #c7ccc4; font: 400 .76rem/1.45 'Courier New', monospace; }
.hdp-motion-fields b { color: #d0b77d; font-weight: 700; }
.hdp-motion-index { position: absolute; z-index: 2; right: 0; bottom: .2rem; margin: 0; color: #899590; font: 700 .6rem/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: .16em; }
@keyframes hdp-sitrep-scroll {
  0% { opacity: 0; transform: translateY(var(--hdp-stage-height)); }
  5% { opacity: .28; }
  15%, 85% { opacity: .94; }
  95% { opacity: .3; }
  100% { opacity: 0; transform: translateY(calc(-100% - var(--hdp-stage-height))); }
}

.hdp-closing { max-width: 1280px; margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 6vw, 5rem); }
.hdp-closing-copy { margin: 0; color: #2b3835; font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.12; letter-spacing: -.035em; }
.hdp-closing-links { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin-top: 1.55rem; }
.hdp-closing-links a { color: #526258; font: 650 .82rem/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; text-decoration-color: #b7a06e; }
.hdp-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem max(7vw, calc((100vw - 1280px) / 2)); border-top: 1px solid #d9d7cf; color: #777b75; font: 400 .72rem/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.hdp-footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .8rem; }
.hdp-footer-powered { color: #96968d; font-size: .65rem; letter-spacing: .04em; }
.hdp-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.hdp-footer a { color: #59635d; text-decoration: none; }
.hdp-footer a:hover { text-decoration: underline; }

@media (max-width: 820px) {
  .hdp-hero { grid-template-columns: 1fr; gap: 2.25rem; min-height: 0; padding: 4rem 7vw 4.5rem; background-image: linear-gradient(90deg, rgba(12, 21, 25, .78) 0%, rgba(12, 21, 25, .55) 70%, rgba(12, 21, 25, .4) 100%), url('/static/images/Mazar-e-Sharif.jpg'); background-position: center, 58% center; }
  .hdp-hero h1 { font-size: clamp(3.5rem, 13vw, 5.3rem); }
  .hdp-hero-deck { max-width: 440px; }
  .hdp-hero-stream { height: 260px; }
  .hdp-hero-stream .hdp-motion-stage { inset: 2rem 0 0; --hdp-stage-height: calc(260px - 2rem); }
  .hdp-hero-stream .hdp-motion-index { top: .2rem; right: 0; bottom: auto; }
  .hdp-brief-desk { grid-template-columns: 1fr; gap: 2rem; padding-top: 3.5rem; }
  .hdp-desk-intro { max-width: 600px; }
  .hdp-desk-intro h2 br { display: none; }
}

@media (max-width: 520px) {
  .hdp-hero { padding: 3.7rem 1.25rem 3.8rem; background-image: linear-gradient(90deg, rgba(12, 21, 25, .76) 0%, rgba(12, 21, 25, .58) 100%), url('/static/images/Mazar-e-Sharif.jpg'); background-position: center, 57% center; }
  .hdp-hero h1 { font-size: clamp(3.15rem, 14.5vw, 4.55rem); }
  .hdp-hero-deck { margin-top: 1.3rem; font-size: 1rem; }
  .hdp-hero-actions { gap: 1rem; margin-top: 1.55rem; }
  .hdp-button { min-height: 46px; padding: .7rem .9rem; font-size: .82rem; }
  .hdp-text-link { font-size: .82rem; }
  .hdp-hero-stream .hdp-motion-stage { --hdp-stage-height: calc(260px - 2rem); }
  .hdp-hero-caption { right: 1rem; bottom: .85rem; font-size: .54rem; }
  .hdp-brief-desk { gap: 1.6rem; padding: 3rem 1.15rem 3.5rem; scroll-margin-top: 120px; }
  .hdp-desk-intro h2 { font-size: 2.45rem; }
  .hdp-desk-intro > p:not(.hdp-eyebrow) { margin: 1rem 0 1rem; font-size: .92rem; }
  .hdp-category-nav { gap: .25rem 1rem; }
  .hdp-category-nav button { font-size: .78rem; }
  .hdp-category-nav .hdp-rss-link { display: none; }
  .hdp-brief { padding: 1.3rem 0 1.45rem; }
  .hdp-brief h3 { font-size: 1.55rem; }
  .hdp-brief-summary { font-size: .91rem; }
  .hdp-five-ws > div { grid-template-columns: 3.7rem minmax(0, 1fr); gap: .35rem; }
  .hdp-five-ws dd { font-size: .84rem; }
  .hdp-hero { gap: 1.8rem; }
  .hdp-motion-item { padding: .5rem 1rem 1.2rem 1.25rem; }
  .hdp-motion-item h3 { font-size: 1.25rem; }
  .hdp-motion-item p { font-size: .82rem; }
  .hdp-motion-fields span { font-size: .7rem; }
  .hdp-closing { padding: 3rem 1.15rem; }
  .hdp-closing-copy { font-size: 2rem; }
  .hdp-closing-links { display: grid; gap: .65rem; }
  .hdp-footer { align-items: flex-start; flex-direction: column; padding: 1.1rem 1.15rem; }
}

@media (max-width: 360px) {
  .hdp-brief-desk { scroll-margin-top: 176px; }
}

.bb-signup-modal { display: none; position: fixed; inset: 0; z-index: 1200; align-items: center; justify-content: center; padding: 1rem; background: rgba(12, 19, 18, .68); overflow-y: auto; overscroll-behavior: contain; }
.bb-signup-modal.is-open { display: flex; }
.bb-signup-dialog { position: relative; width: min(100%, 440px); max-height: min(92vh, 760px); overflow-y: auto; padding: 2rem; background: #fbfaf6; color: #293532; box-shadow: 0 18px 55px rgba(0, 0, 0, .28); }
.bb-signup-dialog h2 { margin: 0 2rem 1.25rem 0; font: 400 1.65rem/1.2 Georgia, 'Times New Roman', serif; }
.bb-signup-close { position: absolute; top: .65rem; right: .8rem; border: 0; background: transparent; color: #626b66; font-size: 1.8rem; cursor: pointer; }
.bb-signup-dialog form { display: grid; gap: .8rem; }
.bb-signup-dialog form > label:not(.bb-signup-agree) { display: grid; gap: .3rem; color: #59635d; font: 600 .78rem/1.3 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.bb-signup-dialog input:not([type="checkbox"]) { width: 100%; min-height: 42px; border: 1px solid #d4d4ca; border-radius: 2px; padding: .55rem .65rem; color: #293532; background: #fff; font: 400 .95rem/1.3 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.bb-signup-agree { display: flex; align-items: flex-start; gap: .55rem; color: #626b66; font: 400 .78rem/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.bb-signup-agree input { margin-top: .18rem; }
.bb-signup-dialog a { color: #526258; text-decoration-color: #b7a06e; }
.bb-signup-submit { display: flex; justify-content: space-between; align-items: center; min-height: 46px; margin-top: .2rem; padding: .65rem .9rem; border: 0; background: #33453d; color: #fff; font: 600 .85rem/1.3 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; cursor: pointer; }
.bb-signup-submit:disabled { opacity: .65; cursor: wait; }
.bb-signup-divider { display: flex; align-items: center; gap: .7rem; margin: 1.2rem 0 .8rem; color: #85877f; font: 400 .7rem/1.3 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.bb-signup-divider::before, .bb-signup-divider::after { content: ''; flex: 1; height: 1px; background: #deddd5; }
.bb-signup-oauth { display: grid; gap: .55rem; }
.bb-signup-oauth a { display: block; padding: .7rem; border: 1px solid #d4d4ca; color: #37413b; background: #fff; text-align: center; text-decoration: none; font: 600 .8rem/1.3 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.bb-signup-oauth a:last-child { background: #151716; border-color: #151716; color: #fff; }
.bb-signup-login { margin: 1rem 0 0; color: #777b75; text-align: center; font: 400 .75rem/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.bb-signup-flash { display: none; margin: 0 0 .85rem; padding: .65rem; background: #fbe4e1; color: #8b2f26; font: 500 .8rem/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.bb-signup-flash.is-visible { display: block; }
.bb-login-forgot { margin: .2rem 0 0; text-align: right; font: 400 .78rem/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.bb-login-modal { background: rgba(0, 0, 0, .48); backdrop-filter: blur(5px); }
.bb-login-modal .bb-signup-dialog { width: min(600px, 90%); padding: 1.5rem; border: 1px solid #e4e4e4; border-radius: 16px; background: rgba(255, 255, 255, .97); }
.bb-login-modal .bb-signup-dialog h2 { color: #526258; text-align: center; }
.bb-login-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .2rem; }
.bb-login-actions .bb-signup-submit { margin: 0; }
.bb-login-cancel { min-height: 46px; padding: .65rem .9rem; border: 1px solid #526258; border-radius: 2px; background: #fff; color: #526258; font: 600 .85rem/1.3 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; cursor: pointer; }
.bb-login-modal .bb-signup-oauth a { display: flex; align-items: center; justify-content: center; gap: .75rem; min-height: 48px; border-radius: 8px; font-size: .9rem; }
.bb-login-google-icon { width: 20px; height: 20px; flex: 0 0 auto; }
.bb-login-apple-icon { width: 18px; height: 18px; flex: 0 0 auto; fill: currentColor; }
body.bb-signup-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .hdp-page *, .hdp-page *::before, .hdp-page *::after { scroll-behavior: auto !important; }
  .hdp-motion-item { animation: none; }
  .hdp-button { transition: none; }
}

/* Keep authentication dialogs within short mobile viewports and scrollable. */
@media (max-width: 600px) {
  .hdp-page .bb-signup-dialog {
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
}

/* Editorial public header auto-hide, limited to mobile widths. */
@media (max-width: 768px) {
  .hdp-page .bb-public-header { transition: transform .3s ease, box-shadow .2s ease; }
  .hdp-page .bb-public-header.header-hidden { transform: translateY(-100%); }
}
