.guide-page {
  min-height: 100vh;
  color: var(--text);
}

.guide-icon-sprite {
  display: none;
}

.guide-shell {
  width: min(1180px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0 2.4rem;
}

.guide-shell [data-mabel-header],
.guide-shell [data-mabel-footer] {
  width: 100%;
  min-width: 0;
}

.guide-main {
  display: grid;
  gap: clamp(0.9rem, 1.8vw, 1.25rem);
  width: 100%;
  min-width: 0;
}

.guide-section-lead h1 {
  max-width: 18ch;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 2.6vw, 2.75rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.guide-lede {
  max-width: 56ch;
  margin: 0.8rem 0 0;
  font-size: 1.04rem;
  line-height: 1.55;
  color: var(--muted);
}

.guide-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(260px, 0.72fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: center;
  margin-bottom: 1.5rem;
}

.guide-body-visual {
  display: block;
  margin: 0;
  min-height: clamp(190px, 22vw, 280px);
  border: 1px solid rgba(124, 141, 180, 0.2);
  border-radius: 18px;
  background: rgba(248, 251, 253, 0.78);
  box-shadow: 0 16px 34px rgba(41, 56, 96, 0.09);
  overflow: hidden;
  position: relative;
}

.guide-body-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 253, 248, 0.45);
  pointer-events: none;
}

.guide-body-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 50% 58%;
}

.guide-layout {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  gap: clamp(1rem, 2.2vw, 2rem);
  align-items: start;
}

.guide-toc {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid rgba(124, 141, 180, 0.18);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 18px 45px rgba(38, 58, 120, 0.08);
}

.guide-toc p {
  margin: 0 0 0.3rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  color: var(--muted);
}

.guide-toc a {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
  padding: 0.42rem 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.guide-toc svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--accent-strong);
}

.guide-toc a:hover,
.guide-toc a:focus-visible {
  color: var(--accent-strong);
}

.guide-toc-share {
  margin-top: 0.65rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(124, 141, 180, 0.16);
}

.guide-toc-share button {
  display: inline-flex;
  width: 100%;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  border: 1px solid rgba(124, 141, 180, 0.18);
  border-radius: 999px;
  color: var(--text);
  background: rgba(248, 251, 253, 0.78);
  font: inherit;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.84rem;
  font-weight: 850;
  cursor: pointer;
}

.guide-toc-share button:hover,
.guide-toc-share button:focus-visible {
  color: var(--accent-strong);
  border-color: rgba(94, 177, 161, 0.36);
  outline: none;
}

.guide-toc-share svg {
  width: 1rem;
  height: 1rem;
}

.guide-article {
  display: grid;
  gap: 0;
  min-width: 0;
  padding: clamp(1.15rem, 2.6vw, 2rem);
  border: 1px solid rgba(124, 141, 180, 0.18);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 18px 45px rgba(38, 58, 120, 0.07);
}

.guide-section,
.guide-final {
  width: 100%;
  min-width: 0;
}

.guide-section {
  padding: 0 0 1.35rem;
  border-bottom: 1px solid rgba(124, 141, 180, 0.14);
  background: transparent;
  box-shadow: none;
}

.guide-section + .guide-section,
.guide-section + .guide-final,
.guide-final + .guide-section,
.guide-share-final + .guide-section {
  padding-top: 1.25rem;
}

.guide-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.guide-section-lead {
  padding-top: 0;
}

.guide-section-glance {
  padding: 1.05rem;
  border: 1px solid rgba(124, 141, 180, 0.16);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(104, 210, 184, 0.1), transparent 34%),
    rgba(248, 251, 253, 0.78);
}

.guide-section-band {
  padding: 1.05rem;
  border: 1px solid rgba(124, 141, 180, 0.14);
  border-radius: 20px;
  background: rgba(248, 251, 253, 0.66);
}

.guide-section h2,
.guide-final h2 {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin: 0 0 0.8rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.45rem, 2.35vw, 1.95rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.guide-title-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border: 1px solid rgba(94, 177, 161, 0.22);
  border-radius: 14px;
  color: var(--accent-strong);
  background: rgba(215, 248, 238, 0.72);
}

.guide-title-icon svg,
.guide-reminder-icon svg {
  width: 1.18rem;
  height: 1.18rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guide-section h3 {
  margin: 1.15rem 0 0.45rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
}

.guide-section p,
.guide-final p {
  max-width: 72ch;
  margin: 0.65rem 0 0;
  font-size: 1.02rem;
  line-height: 1.62;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.guide-share-strip,
.guide-share-final {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  margin: 0 0 1.4rem;
  padding: 0.9rem;
  border: 1px solid rgba(94, 177, 161, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(245, 202, 109, 0.14), transparent 36%),
    rgba(247, 253, 250, 0.82);
}

.guide-share-final {
  margin: 1.25rem 0 0;
}

.guide-share-mark {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(94, 177, 161, 0.26);
  border-radius: 16px;
  color: var(--accent-strong);
  background: rgba(215, 248, 238, 0.78);
}

.guide-share-mark svg,
.guide-share-actions svg {
  width: 1.08rem;
  height: 1.08rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guide-share-strip strong,
.guide-share-final h2 {
  display: block;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.04rem;
  line-height: 1.15;
  color: var(--text);
}

.guide-share-strip > div > span,
.guide-share-final > div > p {
  display: block;
  margin: 0.18rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.35;
}

.guide-share-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.guide-share-actions a,
.guide-share-actions button {
  display: inline-flex;
  min-height: 2.45rem;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  padding: 0 0.75rem;
  border: 1px solid rgba(124, 141, 180, 0.22);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 253, 248, 0.8);
  font: inherit;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.88rem;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.guide-share-actions a:hover,
.guide-share-actions a:focus-visible,
.guide-share-actions button:hover,
.guide-share-actions button:focus-visible {
  color: var(--accent-strong);
  border-color: rgba(94, 177, 161, 0.42);
  outline: none;
  transform: translateY(-1px);
}

.guide-share-actions .guide-share-primary {
  border-color: rgba(94, 177, 161, 0.38);
  color: #f8fbf8;
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(72, 170, 148, 0.18);
}

.guide-share-actions .guide-share-primary:hover,
.guide-share-actions .guide-share-primary:focus-visible {
  color: #f8fbf8;
}

.guide-share-status {
  grid-column: 2 / -1;
  min-height: 0;
  margin: -0.25rem 0 0;
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 800;
}

.guide-share-status:empty {
  display: none;
}

.guide-back-to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 70;
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(94, 177, 161, 0.34);
  border-radius: 999px;
  color: #f8fbf8;
  background: var(--accent);
  box-shadow: 0 16px 34px rgba(72, 170, 148, 0.24);
  cursor: pointer;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 170ms ease, transform 170ms ease, box-shadow 170ms ease;
}

.guide-back-to-top span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.guide-back-to-top:hover,
.guide-back-to-top:focus-visible {
  outline: none;
  transform: translateY(-1px);
  box-shadow:
    0 18px 38px rgba(72, 170, 148, 0.28),
    0 0 0 4px rgba(94, 177, 161, 0.14);
}

.guide-back-to-top.is-hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.guide-share-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(19, 28, 44, 0.34);
}

.guide-share-overlay.hidden {
  display: none;
}

.guide-share-dialog {
  width: min(24rem, 100%);
  padding: 1rem;
  border: 1px solid rgba(124, 141, 180, 0.2);
  border-radius: 22px;
  color: var(--text);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 24px 70px rgba(33, 45, 76, 0.22);
}

.guide-share-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
}

.guide-share-dialog-head h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.guide-share-close {
  min-height: 2.2rem;
  padding: 0 0.72rem;
  border: 1px solid rgba(124, 141, 180, 0.18);
  border-radius: 999px;
  color: var(--text);
  background: rgba(248, 251, 253, 0.72);
  font: inherit;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.84rem;
  font-weight: 850;
  cursor: pointer;
}

.guide-share-dialog-copy {
  margin: 0 0 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

.guide-share-option-list {
  display: grid;
  gap: 0.55rem;
}

.guide-share-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.72rem;
  align-items: center;
  min-height: 3.25rem;
  padding: 0.7rem 0.78rem;
  border: 1px solid rgba(124, 141, 180, 0.18);
  border-radius: 16px;
  color: var(--text);
  background: rgba(248, 251, 253, 0.78);
  font: inherit;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.guide-share-option:hover,
.guide-share-option:focus-visible,
.guide-share-close:hover,
.guide-share-close:focus-visible {
  border-color: rgba(94, 177, 161, 0.38);
  outline: none;
  box-shadow: 0 12px 24px rgba(41, 56, 96, 0.08);
}

.guide-share-option:hover,
.guide-share-option:focus-visible {
  transform: translateY(-1px);
}

.guide-share-option-icon {
  display: inline-grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border: 1px solid rgba(94, 177, 161, 0.22);
  border-radius: 13px;
  color: var(--accent-strong);
  background: rgba(215, 248, 238, 0.72);
}

.guide-share-option-icon svg {
  width: 1rem;
  height: 1rem;
}

.guide-share-option.is-hidden {
  display: none;
}

.guide-glance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.guide-glance-grid div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.9rem;
  border: 1px solid rgba(124, 141, 180, 0.16);
  border-radius: 18px;
  background: rgba(248, 251, 253, 0.82);
}

.guide-glance-grid span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--accent-strong);
}

.guide-glance-grid p {
  margin: 0;
  line-height: 1.42;
}

.guide-accordion {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.guide-accordion details {
  border: 1px solid rgba(124, 141, 180, 0.18);
  border-radius: 16px;
  background: rgba(248, 251, 253, 0.78);
  overflow: hidden;
}

.guide-accordion summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.65rem;
  align-items: center;
  cursor: pointer;
  padding: 0.85rem 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  list-style: none;
}

.guide-accordion summary::-webkit-details-marker {
  display: none;
}

.guide-accordion summary::after {
  content: "+";
  color: var(--accent-strong);
}

.guide-accordion details[open] summary::after {
  content: "−";
}

.guide-accordion details p {
  margin: 0;
  padding: 0 1rem 1rem;
}

.guide-holiday-range {
  padding: 0.3rem 0.58rem;
  border: 1px solid rgba(124, 141, 180, 0.18);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 253, 248, 0.72);
  font-size: 0.86rem;
  font-weight: 850;
  white-space: nowrap;
}

.guide-calendar-notes {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0 1rem 1rem 2.25rem;
  color: var(--muted);
}

.guide-calendar-notes li {
  line-height: 1.45;
}

.guide-calendar-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 1rem;
}

.guide-calendar-links-title {
  grid-column: 1 / -1;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--text);
}

.guide-calendar-links a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  min-height: 76px;
  padding: 0.78rem;
  border: 1px solid rgba(124, 141, 180, 0.16);
  border-radius: 16px;
  color: var(--text);
  background: rgba(255, 253, 248, 0.68);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.guide-calendar-links a:hover,
.guide-calendar-links a:focus-visible {
  border-color: rgba(94, 177, 161, 0.34);
  box-shadow: 0 12px 26px rgba(41, 56, 96, 0.08);
  transform: translateY(-1px);
}

.guide-calendar-link-icon {
  display: inline-grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(94, 177, 161, 0.22);
  border-radius: 14px;
  color: var(--accent-strong);
  background: rgba(215, 248, 238, 0.68);
}

.guide-calendar-link-icon svg,
.guide-calendar-link-arrow {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guide-calendar-links strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  line-height: 1.15;
}

.guide-calendar-links small {
  display: block;
  margin-top: 0.18rem;
  color: var(--muted);
  line-height: 1.25;
}

.guide-calendar-link-arrow {
  color: var(--accent-strong);
}

.guide-reminder {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(280px, 0.62fr);
  grid-template-areas:
    "icon copy field"
    "icon copy action"
    "icon copy status";
  column-gap: 1.1rem;
  row-gap: 0.65rem;
  align-items: center;
  margin-top: 1.2rem;
  padding: 1.15rem;
  border: 1px solid rgba(94, 177, 161, 0.28);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(245, 202, 109, 0.2), transparent 35%),
    rgba(239, 250, 246, 0.82);
}

.guide-reminder-icon {
  display: inline-grid;
  grid-area: icon;
  width: 3rem;
  height: 3rem;
  place-items: center;
  align-self: center;
  border: 1px solid rgba(94, 177, 161, 0.25);
  border-radius: 18px;
  color: var(--accent-strong);
  background: rgba(215, 248, 238, 0.82);
}

.guide-reminder > div {
  grid-area: copy;
  max-width: 34rem;
}

.guide-reminder h3 {
  margin: 0 0 0.35rem;
}

.guide-reminder p {
  margin: 0;
}

.guide-email-field {
  display: grid;
  grid-area: field;
  gap: 0.35rem;
  font-weight: 800;
  color: var(--text);
}

.guide-email-field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(124, 141, 180, 0.32);
  border-radius: 14px;
  padding: 0 0.85rem;
  font: inherit;
  color: var(--text);
  background: rgba(255, 253, 248, 0.96);
}

.guide-reminder .btn {
  grid-area: action;
  width: 100%;
  min-height: 46px;
  justify-content: center;
}

.guide-form-status {
  grid-area: status;
  min-height: 1.2rem;
  margin: 0;
  font-weight: 800;
  color: var(--accent-strong);
}

.guide-form-status.is-error {
  color: #9d3c32;
}

.guide-timeline {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.guide-timeline div {
  display: grid;
  grid-template-columns: minmax(7.5rem, 0.28fr) minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(124, 141, 180, 0.15);
  border-radius: 15px;
  background: rgba(248, 251, 253, 0.78);
}

.guide-timeline time {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 900;
  color: var(--text);
}

.guide-timeline span {
  color: var(--muted);
  font-weight: 700;
}

.guide-price-snapshot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.guide-price-snapshot div {
  display: grid;
  gap: 0.22rem;
  align-content: start;
  min-height: 8rem;
  padding: 0.9rem;
  border: 1px solid rgba(124, 141, 180, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(245, 202, 109, 0.12), transparent 38%),
    rgba(248, 251, 253, 0.78);
}

.guide-price-snapshot span,
.guide-price-snapshot small {
  color: var(--muted);
  line-height: 1.25;
}

.guide-price-snapshot span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.guide-price-snapshot strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  line-height: 1;
  letter-spacing: 0;
  color: var(--text);
}

.guide-price-snapshot small {
  font-size: 0.9rem;
  font-weight: 700;
}

.guide-check-list {
  display: grid;
  gap: 0.55rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.guide-check-list li {
  position: relative;
  padding-left: 1.65rem;
  color: var(--muted);
}

.guide-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 4px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(94, 177, 161, 0.14);
}

.guide-final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, auto);
  gap: 1.1rem;
  align-items: center;
  padding: 1.1rem;
  border: 1px solid rgba(94, 177, 161, 0.32);
  border-radius: 20px;
  border-color: rgba(94, 177, 161, 0.32);
  background:
    linear-gradient(135deg, rgba(229, 250, 242, 0.92), rgba(255, 253, 248, 0.92)),
    rgba(255, 253, 248, 0.9);
}

.guide-final-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.95rem;
}

.guide-final-preview span {
  padding: 0.4rem 0.62rem;
  border: 1px solid rgba(124, 141, 180, 0.18);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 253, 248, 0.78);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  font-weight: 850;
}

body.theme-dark .guide-body-visual,
body.theme-dark .guide-article,
body.theme-dark .guide-section,
body.theme-dark .guide-final,
body.theme-dark .guide-toc,
body.theme-dark .guide-glance-grid div,
body.theme-dark .guide-accordion details,
body.theme-dark .guide-reminder,
body.theme-dark .guide-timeline div,
body.theme-dark .guide-price-snapshot div,
body.theme-dark .guide-final-preview span,
body.theme-dark .guide-holiday-range,
body.theme-dark .guide-calendar-links a,
body.theme-dark .guide-share-strip,
body.theme-dark .guide-share-final,
body.theme-dark .guide-toc-share button,
body.theme-dark .guide-share-actions a,
body.theme-dark .guide-share-actions button,
body.theme-dark .guide-share-dialog,
body.theme-dark .guide-share-close,
body.theme-dark .guide-share-option {
  background: rgba(18, 24, 42, 0.9);
  border-color: rgba(126, 156, 255, 0.16);
}

body.theme-dark .guide-share-actions .guide-share-primary {
  background: var(--accent);
}

body.theme-dark .guide-section {
  background: transparent;
}

body.theme-dark .guide-email-field input {
  background: rgba(18, 24, 42, 0.96);
}

@media (max-width: 860px) {
  .guide-shell {
    width: min(760px, calc(100vw - 1rem));
    padding-top: 0.6rem;
  }

  .guide-lead-grid,
  .guide-layout,
  .guide-final,
  .guide-share-strip,
  .guide-share-final {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-section-lead h1 {
    max-width: 20ch;
  }

  .guide-body-visual {
    min-height: 260px;
  }

  .guide-toc {
    display: none;
  }

  .guide-glance-grid,
  .guide-price-snapshot,
  .guide-reminder {
    grid-template-columns: 1fr;
  }

  .guide-reminder {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icon copy"
      "field field"
      "action action"
      "status status";
    align-items: start;
  }

  .guide-reminder .btn,
  .guide-final .btn {
    width: 100%;
    justify-content: center;
  }

  .guide-share-actions {
    justify-content: stretch;
  }

  .guide-share-actions a,
  .guide-share-actions button {
    flex: 1 1 auto;
  }

  .guide-share-status {
    grid-column: 1;
  }
}

@media (max-width: 520px) {
  .guide-section,
  .guide-final {
    border-radius: 20px;
  }

  .guide-section-lead h1 {
    max-width: none;
    font-size: clamp(1.95rem, 8vw, 2.25rem);
  }

  .guide-body-visual {
    min-height: 170px;
    border-radius: 18px;
  }

  .guide-article {
    padding: 1rem;
  }

  .guide-final,
  .guide-share-strip,
  .guide-share-final,
  .guide-section-glance,
  .guide-section-band {
    padding: 0.9rem;
  }

  .guide-section h2,
  .guide-final h2 {
    align-items: flex-start;
  }

  .guide-glance-grid {
    grid-template-columns: 1fr;
  }

  .guide-reminder {
    grid-template-columns: 1fr;
    grid-template-areas:
      "icon"
      "copy"
      "field"
      "action"
      "status";
    padding: 1rem;
  }

  .guide-timeline div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .guide-price-snapshot div {
    min-height: 0;
    padding: 0.85rem;
  }

  .guide-calendar-links {
    grid-template-columns: 1fr;
  }

  .guide-accordion summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .guide-holiday-range {
    grid-column: 1 / -1;
    justify-self: start;
  }
}
