/* Locked report only. The public cover and the server-side gate use their existing markup. */
html body.odr-gated{
  --pg-paper:#f7f4ed;
  --pg-line:#e4dfd4;
  --pg-action:#ad401b;
  overflow-x:hidden;
  padding-bottom:calc(96px + env(safe-area-inset-bottom,0px));
  background:#ece7dd!important
}
html body.odr-gated .oddig-page,
html body.odr-gated #main-content{background:#ece7dd!important}
html body.odr-gated .entry-content{padding-bottom:48px}

/* Align the stage and "more reports" with the cover (locked and unlocked reports) */
html body.odr-gated .pg-stage,
html body.oddig-report-single .pg-more{
  position:relative;
  width:min(1020px,calc(100vw - 48px));
  left:50%;
  transform:translateX(-50%);
  margin:28px 0 0;
  box-sizing:border-box;
}
html body.odr-gated .pg-stage{isolation:isolate}

/* The backdrop fills the in-flow gate. Its height follows the real card and form. */
html body.odr-gated .pg-preview{
  position:absolute;
  inset:0;
  max-height:none;
  background:var(--pg-paper);
  border:1px solid var(--pg-line);
  border-radius:20px;
  padding:22px 24px;
  overflow:hidden;
  user-select:none;
  pointer-events:none;
  box-sizing:border-box;
  filter:none;
  opacity:1;
  -webkit-mask-image:linear-gradient(#000 0%,#000 55%,transparent 100%);
          mask-image:linear-gradient(#000 0%,#000 55%,transparent 100%);
}
html body.odr-gated .pg-preview *{pointer-events:none}
html body.odr-gated .pg-preview::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(247,244,237,.28),rgba(247,244,237,.52) 60%,var(--pg-paper))
}
html body.odr-gated .pg-preview-inner{filter:blur(6px);opacity:.62}
html body.odr-gated .pg-skel-row{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;margin-bottom:18px}
html body.odr-gated .pg-skel-row.three{grid-template-columns:1.15fr 1fr 1fr;margin-top:8px}
html body.odr-gated .pg-ph{
  background:#f3efe6;border-radius:14px;border:1px solid #e7e1d5;padding:16px 18px;min-height:150px;box-sizing:border-box
}
html body.odr-gated .pg-ph--dark{background:#cad9e1;border-color:#cad9e1;min-height:170px}
html body.odr-gated .pg-ph--blue{background:#dae5ea}
html body.odr-gated .pg-ph--green{background:#e0e7e0}
html body.odr-gated .pg-ph--sand{background:#eee1d1}
html body.odr-gated .pg-ph--body{min-height:220px;margin-top:4px}
html body.odr-gated .pg-ph-k{
  font:600 10px/1 "IBM Plex Mono",ui-monospace,Menlo,monospace;letter-spacing:.1em;text-transform:uppercase;color:#7b8a92;margin:0 0 10px
}
html body.odr-gated .pg-bars{display:flex;align-items:flex-end;gap:7px;height:88px;margin-top:18px}
html body.odr-gated .pg-bars i{display:block;flex:1;background:#678799;border-radius:3px 3px 0 0}
html body.odr-gated .pg-ph--dark .pg-bars i:last-child{background:#ba7952}
html body.odr-gated .pg-lines{display:flex;flex-direction:column;gap:10px;margin-top:8px}
html body.odr-gated .pg-lines i{display:block;height:10px;border-radius:5px;background:#d8d2c6;width:100%}
html body.odr-gated .pg-lines i.s{width:70%}
html body.odr-gated .pg-lines i.m{width:88%}
html body.odr-gated .pg-lines i.gap{height:0;margin:8px 0;background:transparent}
html body.odr-gated .pg-avatar{width:28px;height:28px;border-radius:50%;background:#1a1a1a;margin-bottom:10px}

/* Gate card over the preview */
html body.odr-gated .pg-gate-wrap{
  position:relative;z-index:1;margin:0;
  display:flex;flex-direction:column;align-items:center;
  padding:clamp(32px,5vw,72px) 18px 12px;box-sizing:border-box
}
html body.odr-gated .pg-gate{
  position:relative;width:100%;max-width:558px;margin:0 auto;
  background:linear-gradient(180deg,#fff9f1,#fffdf9 40%);
  border:1px solid #ded4c6;border-radius:20px;
  box-shadow:0 18px 52px rgba(8,40,59,.13),0 2px 6px rgba(8,40,59,.04);
  padding:clamp(22px,3.2vw,36px);
  font-family:Inter,system-ui,sans-serif;color:var(--n,#08283b);
  text-align:left;box-sizing:border-box
}
html body.odr-gated .pg-lock-badge{
  width:44px;height:44px;border-radius:50%;background:#fae8d7;border:1px solid #f0d3bb;
  display:grid;place-items:center;margin:0 auto 14px;color:var(--pg-action)
}
html body.odr-gated .pg-lock-badge svg,
html body.odr-gated .pg-lock-badge .pg-lock{width:18px;height:18px;display:block;color:var(--pg-action)}
html body.odr-gated .odr h2.pg-gate-h,
html body.odr-gated .pg-gate h2.pg-gate-h{
  font:800 clamp(24px,2.4vw,30px)/1.16 Archivo,Inter,system-ui,sans-serif!important;
  letter-spacing:-.03em;color:var(--n,#08283b)!important;
  margin:0 0 8px!important;padding:0!important;border:0!important;
  text-align:center;text-wrap:balance;overflow-wrap:anywhere;max-width:100%
}
html body.odr-gated .pg-gate-sub{margin:0 0 22px;font-size:15px;line-height:1.5;color:#3d5664;text-align:center;text-wrap:balance}
html body.odr-gated .pg-qs{list-style:none;margin:0 0 18px;padding:2px 14px;border:1px solid var(--pg-line);border-radius:12px;background:#f7f3eb}
html body.odr-gated .pg-qs li{
  display:flex;gap:9px;align-items:flex-start;
  border-bottom:1px solid var(--pg-line);padding:10px 0;margin:0;
  font:550 14.5px/1.45 Inter,system-ui,sans-serif;color:var(--n,#08283b);
  box-sizing:border-box
}
html body.odr-gated .pg-qs li .q{flex:none;width:16px;color:var(--pg-action);font:800 15px/1.4 Archivo,Inter,system-ui,sans-serif}
html body.odr-gated .pg-qs li:last-child{border-bottom:0}

html body.odr-gated .pg-gate-cta{display:block;max-width:100%}
html body.odr-gated .pg-gate .pg-btn--orange,
html body.odr-gated .pg-sticky .pg-btn--orange{
  box-sizing:border-box;
  display:flex;align-items:center;justify-content:center;text-align:center;
  width:100%;max-width:100%;
  min-height:48px;padding:12px 16px;
  border:1px solid transparent!important;border-radius:8px;
  background:var(--pg-action);color:#fff!important;
  box-shadow:none!important;
  font:700 15.5px/1.25 Inter,system-ui,sans-serif;
  text-decoration:none!important;white-space:normal
}
html body.odr-gated .pg-gate .pg-btn--orange:hover,
html body.odr-gated .pg-sticky .pg-btn--orange:hover{background:#903515;transform:none}
html body.odr-gated .pg-gate a:focus-visible,
html body.odr-gated .pg-sticky a:focus-visible{outline:2px solid #2f6fd6;outline-offset:3px}
html body.odr-gated .pg-gate-login{margin:14px 0 0!important;font-size:14px;text-align:center;color:var(--mu,#5b6c77)}
html body.odr-gated .pg-gate-login a{color:var(--n,#08283b);font-weight:700}
html body.odr-gated .pg-caption{text-align:center;margin:10px 0 0;font-size:12px;color:#51616a;max-width:540px}

/* The related reports use the Reports Gallery markup and stylesheet (both locked & unlocked reports). */
html body.oddig-report-single .pg-more{margin:56px auto 0;transform:translateX(-50%);padding-bottom:8px}
html body.oddig-report-single .pg-more-h{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 12px}
html body.oddig-report-single .pg-more h2{
  font:800 28px/1.15 Archivo,Inter,system-ui,sans-serif;letter-spacing:-.03em;margin:0;color:var(--n,#08283b);padding:0;border:0
}
html body.oddig-report-single .pg-more-h a{font:600 14.5px Inter,system-ui,sans-serif;color:var(--n,#08283b)}
html body.oddig-report-single .pg-more-actions,
html body.oddig-report-single .pg-more-controls{display:flex;align-items:center;gap:8px}
html body.oddig-report-single .pg-more-controls[hidden]{display:none}
html body.oddig-report-single .pg-more-actions{gap:14px}
html body.oddig-report-single .pg-more-controls button{
  display:grid;place-items:center;width:44px;height:44px;padding:0;cursor:pointer;
  border:1px solid #b8bfc1;border-radius:50%;background:#fffdf9;color:var(--n,#08283b)
}
html body.oddig-report-single .pg-more-controls button:first-child svg{transform:rotate(180deg)}
html body.oddig-report-single .pg-more-controls button:disabled{opacity:.42;cursor:default}
html body.oddig-report-single .pg-more-track{
  --pg-more-gap:18px;
  grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 2 * var(--pg-more-gap)) / 3);
  gap:var(--pg-more-gap);padding:5px 5px 12px;
  overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:5px;
  overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#c9bbab transparent
}
html body.oddig-report-single .pg-more-track .ovl-cd{text-decoration:none;min-width:0;scroll-snap-align:start}
html body.oddig-report-single .pg-more-track:focus-visible{outline-offset:-2px}
@media (max-width:1100px){
  html body.oddig-report-single .pg-more-track{grid-auto-columns:calc((100% - var(--pg-more-gap)) / 2)}
}

/* Compact secondary CTA, hidden by gate.js while the card CTA is visible. */
html body.odr-gated .pg-sticky{
  position:fixed;left:50%;bottom:calc(16px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);
  z-index:40;width:min(660px,calc(100vw - 32px));
  background:#fffdf9;border:1px solid var(--pg-line);border-radius:14px;
  box-shadow:0 6px 24px rgba(8,40,59,.16);
  display:flex;align-items:center;gap:10px;padding:7px;
  box-sizing:border-box;
  transition:opacity .2s ease,transform .2s ease,visibility .2s ease
}
html body.odr-gated .pg-sticky.is-hidden{
  opacity:0;visibility:hidden;pointer-events:none;transform:translateX(-50%) translateY(16px)
}
html body.odr-gated .pg-sticky-lock{
  flex:none;width:36px;height:36px;border-radius:8px;background:#fae9da;
  display:grid;place-items:center;margin-left:3px;color:var(--pg-action)
}
html body.odr-gated .pg-sticky-lock svg,
html body.odr-gated .pg-sticky-lock .pg-lock{width:18px;height:18px;display:block}
html body.odr-gated .pg-sticky-copy{flex:1;min-width:0;padding:2px 4px 2px 2px}
html body.odr-gated .pg-sticky-copy b{
  display:block;font:800 15.5px/1.2 Archivo,Inter,system-ui,sans-serif;color:var(--n,#08283b);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
html body.odr-gated .pg-sticky-copy span{display:block;font-size:12.5px;color:#5b6c77;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.odr-gated .pg-sticky .pg-btn--orange{
  flex:none;width:auto;max-width:68%;
  min-height:44px;padding:9px 13px;font-size:14.5px
}

/* Wide cover at 1320+ — keep the stage in line with it */
@media (min-width:1320px){
  html body.odr-gated .pg-stage,
  html body.oddig-report-single .pg-more{width:1260px}
}

@media (max-width:860px){
  html body.odr-gated .pg-stage,
  html body.oddig-report-single .pg-more{width:calc(100vw - 28px);margin-top:18px}
}

@media (max-width:760px){
  html body.odr-gated{padding-bottom:calc(82px + env(safe-area-inset-bottom,0px))}
  html body.odr-gated .pg-preview{padding:16px 12px;border-radius:14px}
  html body.odr-gated .pg-skel-row{gap:10px}
  html body.odr-gated .pg-gate-wrap{padding:26px 12px 8px}
  html body.odr-gated .pg-gate{padding:24px 16px 20px;border-radius:16px}
  html body.odr-gated .pg-qs{padding-right:10px;padding-left:10px}
  html body.oddig-report-single .pg-more{margin-top:32px}
  html body.oddig-report-single .pg-more h2{font-size:24px}
  html body.oddig-report-single .pg-more-track{--pg-more-gap:12px;grid-auto-columns:min(84%,400px)}
  html body.oddig-report-single .pg-more-track .ovl-num{font-size:clamp(16px,5vw,21px)}
  html body.oddig-report-single .pg-more-controls{display:none}
  html body.odr-gated .pg-sticky{
    width:calc(100vw - 20px);border-radius:12px;bottom:calc(8px + env(safe-area-inset-bottom,0px));
    padding:6px 7px 6px 10px;gap:6px
  }
  html body.odr-gated .pg-sticky-lock{display:none}
  html body.odr-gated .pg-sticky-copy b{font-size:14px}
  html body.odr-gated .pg-sticky-copy span{font-size:12px}
  html body.odr-gated .pg-sticky .pg-btn--orange{font-size:13px;padding:8px 9px}
}

@media (max-width:640px){
  html body.odr-gated .pg-stage,
  html body.oddig-report-single .pg-more{width:calc(100vw - 16px)}
}

@media (prefers-reduced-motion:reduce){
  html body.odr-gated .pg-sticky{transition:none}
}


/* ---------- 1.7.0: 1123 Locked gate card, in-place unlock modal & mobile bottom sheet ---------- */
.odp-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html.odm-open,
html.odm-open body {
  overflow: hidden;
}

.odr-free-wrap {
  max-width: 920px;
  margin: 0 auto 20px;
  padding: 0 20px;
}

.odr-paper--preview {
  background: #fff;
  border: 1.5px solid #e3dccd;
  border-radius: 16px;
  padding: 28px 32px;
}

.pg-gate--v4 {
  background: #fff;
  border: 1.5px solid #0e2a47;
  border-radius: 18px;
  padding: 32px 34px;
  text-align: center;
  max-width: 470px;
  box-shadow: 8px 8px 0 #f0905f;
}

.pg-pro-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0e2a47;
  color: #fff;
  font: 700 10px/1 Inter, sans-serif;
  letter-spacing: 0.12em;
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.pg-pro-pill .pg-lock {
  width: 13px;
  height: 13px;
}

.pg-gate--v4 .pg-gate-h {
  font: 700 24px/1.2 Archivo, "Space Grotesk", sans-serif;
  color: #0e2a47;
  margin: 4px 0 8px;
}

.pg-gate--v4 .pg-gate-sub {
  font-size: 14px;
  color: #4a5b6e;
  margin: 0 0 20px;
}

.pg-gate--v4 .pg-btn--orange {
  width: 100%;
  min-height: 52px;
  border-radius: 12px;
  background: #f0905f;
  color: #0e2a47;
  border: 1.5px solid #0e2a47;
  font: 700 16px/1.2 Inter, sans-serif;
  cursor: pointer;
  box-shadow: 4px 4px 0 #0e2a47;
  transition: transform 0.18s ease;
}

.pg-gate--v4 .pg-btn--orange:hover {
  transform: translateY(-2px);
}

/* Modal backdrop (shared by Unlock modal & Cancel modal) */
.odm-backdrop[hidden] {
  display: none !important;
}

.odm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(14, 42, 71, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: odm-fade 0.2s ease both;
}

@keyframes odm-fade {
  from { opacity: 0; }
}

.odm-dialog {
  position: relative;
  display: grid;
  grid-template-columns: 0.96fr 1.15fr;
  width: min(920px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fbf8f2;
  border: 1.5px solid #0e2a47;
  border-radius: 20px;
  box-shadow: 10px 10px 0 #f0905f;
  color: #0e2a47;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  animation: odm-pop 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.15) both;
}

@keyframes odm-pop {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
}

.odm-handle {
  display: none;
}

.odm-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50%;
  border: 1.5px solid #d5ccb9;
  background: #fbf8f2;
  color: #0e2a47;
  font: 400 24px/1 Arial, Helvetica, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
}

.odm-close:hover {
  background: #f0ece2;
}

.odm-left {
  background: #0e2a47;
  color: #fff;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}

.odm-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: #f0905f;
  color: #0e2a47;
  font: 700 10px/1 Inter, sans-serif;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  border-radius: 4px;
}

.odm-pill .pg-lock {
  width: 13px;
  height: 13px;
}

.odm-left h2 {
  font: 700 28px/1.15 Archivo, "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
  margin: 14px 0 20px;
  color: #fff;
}

.odm-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  line-height: 1.45;
  flex: 1;
}

.odm-list li {
  display: flex;
  gap: 10px;
}

.odm-ck {
  color: #f0905f;
  font-weight: 700;
  flex: none;
}

.odm-count {
  margin: 22px 0 0;
  color: #9cb2c9;
  font-size: 12px;
}

.odm-right {
  padding: 34px 32px 28px;
}

.odm-mob-head {
  display: none;
}

.odm-r-title {
  font: 700 22px/1.2 Archivo, "Space Grotesk", sans-serif;
  margin: 0 0 16px;
  color: #0e2a47;
}

.odm-plans {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.odm-pl {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1.5px solid #c9c0ad;
  border-radius: 14px;
  padding: 13px 16px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.odm-pl input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.odm-pl.is-selected {
  border-color: #0e2a47;
  background: #fff4ea;
  box-shadow: 4px 4px 0 #0e2a47;
}

.odm-pl-info b {
  display: block;
  font-size: 15px;
  color: #0e2a47;
}

.odm-pl-info span {
  display: block;
  font-size: 12px;
  color: #5b6b7d;
  margin-top: 2px;
}

.odm-pl-price {
  font: 700 22px/1 Archivo, "Space Grotesk", sans-serif;
  font-style: normal;
  color: #0e2a47;
  white-space: nowrap;
}

.odm-tg {
  display: inline-block;
  background: #f0905f;
  color: #0e2a47;
  font: 700 9px/1 Inter, sans-serif;
  letter-spacing: 0.08em;
  padding: 3px 7px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

.odm-email-wrap {
  margin: 0 0 12px;
}

.odm-email-lbl {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #0e2a47;
  margin-bottom: 6px;
}

.odm-email-in {
  width: 100%;
  height: 48px;
  border: 1.5px solid #0e2a47;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 15px;
  background: #fff;
  color: #0e2a47;
}

.odm-email-in:focus {
  outline: 3px solid #f0905f;
  outline-offset: 1px;
}

.odm-email-in.is-locked {
  background: #f0ece2;
  color: #5b6b7d;
}

.odm-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 52px;
  border-radius: 12px;
  background: #0e2a47;
  color: #fff;
  font: 600 16px/1.2 Inter, sans-serif;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease;
}

.odm-submit:hover {
  transform: translateY(-2px);
  color: #fff;
}

.odm-mob-inc {
  display: none;
}

.odm-legal {
  font-size: 11.5px;
  color: #5b6b7d;
  text-align: center;
  margin: 12px 0 0;
  line-height: 1.5;
}

.odm-legal a {
  color: #0e2a47;
  text-decoration: underline;
}

.odm-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e3dccd;
}

.odm-links a {
  color: #0e2a47;
  font-weight: 600;
  text-decoration: none;
}

.odm-links a:hover {
  text-decoration: underline;
}

/* Mobile bottom sheet (<= 860px, aligned with 07_Unlock_sheet_mobile) */
@media (max-width: 860px) {
  .odm-backdrop {
    align-items: flex-end;
    padding: 0;
  }
  .odm-dialog {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: 92dvh;
    border-radius: 24px 24px 0 0;
    border-bottom: 0;
    box-shadow: 0 -8px 28px rgba(14, 42, 71, 0.25);
    animation: odm-sheet-up 0.3s cubic-bezier(0.2, 0.9, 0.3, 1) both;
  }
  @keyframes odm-sheet-up {
    from { transform: translateY(100%); }
  }
  .odm-handle {
    display: block;
    width: 44px;
    height: 5px;
    border-radius: 3px;
    background: #c9c0ad;
    margin: 10px auto 0;
  }
  .odm-left,
  .odm-r-title {
    display: none;
  }
  .odm-right {
    padding: 12px 18px 24px;
  }
  .odm-mob-head {
    display: block;
    padding-right: 42px;
    margin-bottom: 12px;
  }
  .odm-mob-head h2 {
    font: 700 21px/1.2 Archivo, "Space Grotesk", sans-serif;
    margin: 0 0 4px;
    color: #0e2a47;
  }
  .odm-mob-head p {
    font-size: 13px;
    color: #5b6b7d;
    margin: 0;
  }
  .odm-mob-inc {
    display: block;
    margin-top: 12px;
    border-top: 1px solid #e3dccd;
    padding-top: 10px;
    font-size: 13px;
  }
  .odm-mob-inc summary {
    font-weight: 600;
    cursor: pointer;
    color: #0e2a47;
  }
  .odm-mob-inc ul {
    margin: 8px 0 0;
    padding-left: 18px;
    color: #4a5b6e;
    line-height: 1.5;
  }
}
