:root {
  --ink: #152535;
  --ink-soft: #4a5d70;
  --paper: #fffdf8;
  --paper-soft: rgba(255, 255, 255, 0.86);
  --sand: #fff6eb;
  --coral: #e4572e;
  --coral-deep: #c23b16;
  --jade: #0d7a6f;
  --jade-soft: rgba(13, 122, 111, 0.12);
  --gold: #f3bc55;
  --sky: #dceffd;
  --line: rgba(21, 37, 53, 0.1);
  --shadow: 0 22px 54px rgba(21, 37, 53, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(243, 188, 85, 0.22), transparent 24%),
    radial-gradient(circle at left 10%, rgba(13, 122, 111, 0.12), transparent 28%),
    linear-gradient(180deg, var(--theme-bg-start) 0%, var(--theme-bg-mid) 48%, var(--theme-bg-end) 100%);
  font-family: "Manrope", "Noto Sans", sans-serif;
  line-height: 1.65;
}

body.has-site-nav-open {
  overflow: hidden;
}

body.page-admin {
  background:
    radial-gradient(circle at top right, rgba(95, 143, 225, 0.14), transparent 24%),
    radial-gradient(circle at left 8%, rgba(13, 122, 111, 0.12), transparent 26%),
    linear-gradient(180deg, #f4f7fb 0%, #eef3fa 45%, #e8eef7 100%);
}

body.page-admin .site-header {
  background: rgba(248, 251, 255, 0.9);
  border-bottom-color: rgba(35, 52, 72, 0.08);
}

body.page-admin .site-footer {
  background: rgba(238, 243, 250, 0.9);
}

h1,
h2,
h3,
h4,
h5,
h6,
.title,
.subtitle,
.btn,
.brand-mark strong {
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.is-hidden {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 253, 248, 0.82);
  border-bottom: 1px solid rgba(21, 37, 53, 0.06);
}

.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ink);
}

.brand-mark small {
  display: block;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

.brand-mark__badge {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), #ff8b4a);
  box-shadow: 0 12px 30px rgba(228, 87, 46, 0.28);
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 600;
}

.site-nav-panel {
  display: flex;
  align-items: center;
}

.site-nav-panel__header {
  display: none;
}

.site-nav-toggle,
.site-nav-close,
.site-nav-backdrop {
  display: none;
}

.site-nav__form {
  margin: 0;
}

.site-nav__logout {
  white-space: nowrap;
}

.site-nav a {
  color: var(--ink-soft);
}

.site-nav a:hover {
  color: var(--coral);
}

.site-nav a.is-current {
  color: var(--coral);
}

main .title,
main h1,
main h2,
main h3,
main h4,
main h5,
main h6,
main strong {
  color: var(--ink);
}

.saved-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(21, 37, 53, 0.08);
}

.saved-pill--current {
  color: var(--coral);
  border-color: rgba(228, 87, 46, 0.3);
}

.hero-travel {
  position: relative;
  overflow: hidden;
}

.hero-travel::before,
.hero-travel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
}

.hero-travel::before {
  width: 320px;
  height: 320px;
  right: -90px;
  top: 10px;
  background: rgba(228, 87, 46, 0.12);
}

.hero-travel::after {
  width: 240px;
  height: 240px;
  left: -80px;
  bottom: -40px;
  background: rgba(13, 122, 111, 0.14);
}

.hero-travel__title,
.planner-hero h1,
.article-hero h1 {
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: var(--ink);
  text-shadow: 0 10px 28px rgba(255, 255, 255, 0.34);
}

.hero-travel__subtitle,
.planner-hero .subtitle,
.article-hero .subtitle {
  max-width: 46rem;
  color: var(--ink-soft);
}

.hero-travel .eyebrow,
.stories-archive__hero .eyebrow {
  color: var(--coral);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff8ef;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow--dark {
  color: var(--coral);
}

.hero-actions,
.hero-pill-row,
.filter-pills,
.quick-preset-row,
.article-feedback__actions,
.guide-feedback__actions,
.guide-actions,
.article-sidebar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-pill-row {
  margin-top: 1.5rem;
}

.home-sections {
  display: flex;
  flex-direction: column;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 700;
}

.hero-panel,
.quickstart-card,
.cta-panel,
.planner-form-shell,
.planner-sidebar,
.article-sidebar,
.guide-result__shell,
.not-found-card,
.filter-shell,
.provider-card,
.planner-provider-card,
.article-feedback,
.empty-state {
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-panel {
  background: linear-gradient(145deg, rgba(21, 37, 53, 0.98), rgba(27, 67, 94, 0.96));
  color: #fefcf8;
  padding: 2rem;
  animation: floatPanel 7s ease-in-out infinite;
}

.hero-panel h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2vw, 2.05rem);
  margin-bottom: 1rem;
}

.hero-panel ul,
.planner-sidebar__list,
.article-sidebar ul,
.guide-list,
.post-card__highlights,
.article-sidebar__toc {
  padding-left: 1.1rem;
}

.hero-panel li + li,
.planner-sidebar__list li + li,
.post-card__highlights li + li,
.guide-list li + li,
.article-sidebar li + li {
  margin-top: 0.55rem;
}

.hero-panel__label {
  margin-bottom: 0.9rem;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.72);
}

.article-sidebar__eyebrow,
.guide-result__eyebrow,
.article-feedback__eyebrow {
  margin-bottom: 0.9rem;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--coral);
}

.hero-panel__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.7rem;
}

.hero-panel__stats div {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel__stats strong {
  display: block;
  color: var(--gold);
  font-size: 1.5rem;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.quickstart-section,
.provider-section,
.faq-section,
.cta-section {
  padding-top: 0;
}

.quickstart-card,
.filter-shell,
.post-card,
.provider-card,
.planner-provider-card,
.article-feedback,
.guide-result__shell,
.planner-form-shell,
.planner-sidebar,
.not-found-card {
  background: var(--paper-soft);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.feature-box__eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--jade);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quickstart-topics {
  margin-top: 1.85rem;
}

.quickstart-topic-card {
  display: block;
  height: 100%;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 246, 235, 0.82));
  border: 1px solid rgba(21, 37, 53, 0.08);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.quickstart-topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(21, 37, 53, 0.14);
  border-color: rgba(228, 87, 46, 0.2);
}

.quickstart-topic-card p {
  color: var(--ink-soft);
}

.quickstart-topic-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  color: var(--coral);
  font-weight: 700;
}

.filter-shell {
  margin-bottom: 1.75rem;
  padding: 1.25rem;
}

.filter-pills--tags {
  margin-top: 0.85rem;
}

.filter-shell__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.filter-search {
  flex: 1;
}

.filter-summary {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.filter-shell__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.story-filter-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
}

.story-sort-control,
.story-filter-actions__reset {
  min-width: 180px;
}

.story-filter-actions .form-select,
.story-filter-actions .btn {
  min-height: 50px;
  border-radius: 14px;
}

.story-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.story-active-filters__label {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.story-active-filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.story-active-filter-chip,
.filter-pill__count {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
}

.story-active-filter-chip {
  padding: 0.35rem 0.7rem;
  background: rgba(21, 37, 53, 0.06);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.filter-pill__count {
  margin-left: 0.45rem;
  padding: 0.1rem 0.45rem;
  background: rgba(21, 37, 53, 0.08);
  font-size: 0.74rem;
  font-weight: 700;
}

.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.post-card__media {
  margin: -1.25rem -1.25rem 1rem;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
}

.post-card__image,
.article-cover__image {
  width: 100%;
  display: block;
  object-fit: cover;
}

.post-card__image[src*="/images/generated/"],
.article-cover__image[src*="/images/generated/"] {
  object-position: left center;
}

.post-card__image {
  height: 220px;
}

.post-card__placeholder,
.article-cover__placeholder {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1rem 1.2rem;
  color: #fff8ef;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background:
    linear-gradient(135deg, rgba(228, 87, 46, 0.85), rgba(21, 37, 53, 0.94)),
    radial-gradient(circle at top right, rgba(243, 188, 85, 0.35), transparent 30%);
}

.post-card__placeholder {
  min-height: 220px;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(21, 37, 53, 0.14);
}

.post-card__meta,
.article-meta,
.site-footer__meta,
.post-card__footer,
.provider-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.post-card__excerpt,
.article-content,
.site-footer__copy,
.planner-note p,
.guide-result__summary,
.provider-card p,
.provider-card small,
.planner-provider-card p,
.provider-card__hint,
.provider-cheatsheet__item p {
  color: var(--ink-soft);
}

.tag.is-light,
.tag.is-dark,
.tag.is-danger.is-light,
.tag.is-warning.is-light,
.tag.is-info.is-light,
.tag.is-success.is-light {
  font-weight: 700;
}

.tag.is-light {
  color: var(--ink);
  background: rgba(21, 37, 53, 0.08);
}

.tag.is-danger.is-light {
  color: var(--coral-deep);
  background: rgba(228, 87, 46, 0.14);
}

.tag.is-warning.is-light {
  color: #7b5608;
  background: rgba(243, 188, 85, 0.28);
}

.tag.is-info.is-light {
  color: #1d4f7d;
  background: rgba(95, 143, 225, 0.2);
}

.tag.is-success.is-light {
  color: var(--jade);
  background: rgba(13, 122, 111, 0.16);
}

.post-card .title,
.section-heading .title,
.stories-archive__hero .title,
.comments-section .title,
.related-posts .title {
  color: var(--ink);
}

.post-card__highlights,
.article-content p,
.comment-card p,
.stories-archive__hero .subtitle {
  color: var(--ink);
}

.post-card__footer {
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
}

.post-card__tags,
.admin-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.post-card__tags {
  margin-bottom: 0.9rem;
}

.post-card__actions {
  display: flex;
  gap: 0.5rem;
}

.empty-state {
  padding: 1.75rem;
  text-align: center;
}

.provider-card,
.planner-provider-card {
  height: 100%;
  padding: 1.4rem;
}

.provider-card__details {
  margin: 0.95rem 0;
  display: grid;
  gap: 0.75rem;
}

.provider-card__details dt {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jade);
}

.provider-card__details dd {
  margin: 0.3rem 0 0;
}

.provider-card__details code,
.planner-provider-card code,
.provider-cheatsheet__item code {
  display: inline-block;
  white-space: normal;
  word-break: break-all;
  color: var(--ink);
  background: rgba(21, 37, 53, 0.06);
  padding: 0.25rem 0.45rem;
  border-radius: 10px;
}

.provider-card__hint {
  margin: 0.9rem 0 1rem;
}

.provider-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.provider-card__header {
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.provider-card--live,
.planner-provider-card--live {
  border-color: rgba(13, 122, 111, 0.24);
}

.provider-card--standby,
.planner-provider-card--standby {
  border-color: rgba(243, 188, 85, 0.38);
}

.planner-provider-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.planner-provider-card {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.planner-provider-card.is-active {
  transform: translateY(-3px);
  border-color: var(--coral);
  box-shadow: 0 16px 36px rgba(228, 87, 46, 0.16);
}

.planner-provider-card strong {
  display: block;
}

.planner-provider-card small {
  color: var(--coral);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.planner-provider-card code {
  margin-top: 0.75rem;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 2.35rem;
  background: linear-gradient(120deg, rgba(243, 188, 85, 0.3), rgba(255, 255, 255, 0.92));
}

.article-page,
.planner-page,
.not-found-page,
.admin-page {
  min-height: calc(100vh - 160px);
}

.reading-progress {
  position: fixed;
  top: 76px;
  left: 0;
  z-index: 19;
  width: 100%;
  height: 4px;
  background: rgba(21, 37, 53, 0.06);
}

.reading-progress__bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  box-shadow: 0 4px 16px rgba(228, 87, 46, 0.28);
  transition: width 120ms ease;
}

.preview-page-shell {
  max-width: 1180px;
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(21, 37, 53, 0.08);
}

.preview-toolbar__copy {
  margin: 0;
  color: var(--ink-soft);
}

.preview-toolbar__actions,
.preview-toolbar__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.preview-toolbar__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.preview-viewport {
  margin: 0 auto;
}

.preview-viewport--desktop {
  max-width: 100%;
}

.preview-viewport--tablet {
  max-width: 900px;
}

.preview-viewport--phone {
  max-width: 430px;
}

.article-hero,
.planner-hero {
  max-width: 58rem;
  margin-bottom: 2.4rem;
}

.article-cover {
  overflow: hidden;
  margin-bottom: 1.5rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.article-cover__image,
.article-cover__placeholder {
  min-height: 360px;
  max-height: 480px;
}

.article-cover__image {
  height: clamp(18rem, 42vw, 28rem);
}

.article-cover__placeholder {
  min-height: 360px;
}

.article-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.article-hero__post-tags {
  margin-top: 1rem;
}

.article-back {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--coral);
  font-weight: 800;
}

.article-status-note {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(243, 188, 85, 0.18);
  color: #7c5b12;
}

.article-content [data-article-section] {
  scroll-margin-top: 118px;
}

.article-content h2 {
  margin-top: 2.2rem;
  color: var(--ink);
}

.article-content__figure {
  margin: 1.75rem 0;
}

.article-content__image {
  width: 100%;
  display: block;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.article-content__figure figcaption {
  margin-top: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.article-content__quote {
  margin: 1.8rem 0;
  padding: 1.2rem 1.3rem;
  border-left: 4px solid var(--coral);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 246, 235, 0.72);
}

.article-content__quote p {
  margin: 0;
  font-size: 1.12rem;
}

.article-content__quote cite {
  display: block;
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-style: normal;
  font-weight: 700;
}

.article-content__note {
  margin: 1.7rem 0;
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(21, 37, 53, 0.08);
}

.article-content__note strong {
  display: block;
  margin-bottom: 0.55rem;
}

.article-content__note p:last-child {
  margin-bottom: 0;
}

.article-content__note--note {
  background: rgba(220, 239, 253, 0.55);
}

.article-content__note--tip {
  background: rgba(13, 122, 111, 0.12);
}

.article-content__note--warning {
  background: rgba(243, 188, 85, 0.2);
}

.article-content__note--info {
  background: rgba(255, 246, 235, 0.78);
}

.article-content__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.8rem 0;
}

.article-content__gallery-item {
  margin: 0;
}

.article-content__gallery-item figcaption {
  margin-top: 0.65rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.article-sidebar {
  position: sticky;
  top: 102px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 235, 0.92));
}

.article-sidebar__summary {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.article-sidebar__toc {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.article-sidebar__toc a {
  color: var(--ink-soft);
  transition: color 140ms ease, transform 140ms ease;
}

.article-sidebar__toc a:hover {
  color: var(--coral);
}

.article-sidebar__toc a.is-active {
  color: var(--coral);
  font-weight: 800;
  transform: translateX(2px);
}

.article-sidebar__divider {
  height: 1px;
  margin: 1rem 0;
  background: var(--line);
}

.section-heading__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.article-feedback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.4rem;
}

.feedback-status {
  color: var(--coral);
  font-weight: 700;
}

.article-feedback__actions--stacked {
  align-items: center;
}

.article-reaction-count {
  margin-left: 0.5rem;
  font-weight: 700;
}

.comments-section {
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.9);
}

.comments-section__header p {
  color: var(--ink-soft);
}

.comments-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.15rem;
}

.comment-summary-card {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(21, 37, 53, 0.08);
}

.comment-summary-card strong {
  display: block;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.45rem;
  line-height: 1.1;
}

.comment-summary-card span {
  display: block;
  margin-top: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.comments-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 37, 53, 0.08);
}

.comments-toolbar__copy {
  max-width: 36rem;
}

.comments-toolbar__copy strong {
  display: block;
  margin-bottom: 0.2rem;
}

.comments-toolbar__copy span {
  color: var(--ink-soft);
}

.comments-toolbar__controls {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
}

.comments-toolbar__controls .form-label {
  margin-bottom: 0.35rem;
}

.comments-toolbar__controls .form-select {
  min-width: 220px;
}

.comments-form {
  margin-top: 1.25rem;
}

.comments-form__note {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.comments-form__replying {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  background: rgba(220, 239, 253, 0.55);
  color: var(--ink);
}

.comments-form__honeypot {
  position: absolute;
  left: -9999px;
}

.comments-list,
.admin-comments-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.comment-card {
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  background: rgba(255, 246, 235, 0.72);
  border: 1px solid rgba(21, 37, 53, 0.08);
  scroll-margin-top: 110px;
}

.comment-card:target {
  border-color: rgba(228, 87, 46, 0.45);
  box-shadow: 0 18px 40px rgba(228, 87, 46, 0.12);
}

.comment-card--admin {
  background: rgba(255, 255, 255, 0.92);
}

.comment-card--reply {
  margin-top: 0.9rem;
  margin-left: 1.5rem;
  background: rgba(255, 255, 255, 0.72);
}

.comment-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.comment-card__header span {
  color: var(--ink-soft);
}

.comment-card__meta {
  margin-bottom: 0.6rem;
  color: var(--ink-soft);
}

.comment-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.comment-card__actions form {
  margin: 0;
}

.comment-card__replies {
  margin-top: 0.9rem;
}

.comment-card__replies.is-collapsed {
  display: none;
}

.admin-bulk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(21, 37, 53, 0.08);
}

.admin-comment-select {
  display: inline-flex;
  align-items: center;
  margin-right: 0.6rem;
}

.related-posts {
  margin-top: 2.4rem;
}

.post-card--compact {
  min-height: 100%;
}

.stories-archive__hero-section {
  padding-bottom: 0.5rem;
}

.stories-archive__hero {
  background:
    radial-gradient(circle at top right, rgba(243, 188, 85, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 245, 232, 0.9));
}

.stories-archive__hero .subtitle {
  max-width: 42rem;
}

.stories-archive__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.stories-archive__stat {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(21, 37, 53, 0.08);
}

.stories-archive__stat strong {
  display: block;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.5rem;
  line-height: 1.1;
}

.stories-archive__stat span {
  display: block;
  margin-top: 0.35rem;
  color: var(--ink-soft);
}

.stories-archive__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.stories-topic-hero-section {
  padding-bottom: 0.5rem;
}

.stories-topic-hero {
  background:
    radial-gradient(circle at top right, rgba(13, 122, 111, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 247, 237, 0.92));
}

.stories-topic-hero .subtitle {
  max-width: 44rem;
}

.start-here-hero .subtitle,
.stories-topic-hero .subtitle,
.stories-archive__hero .subtitle,
.not-found-card p,
.saved-hub-hero__copy {
  color: #596d81;
}

.stories-topic-hero__actions,
.stories-topic-links__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stories-topic-hero__actions {
  margin-top: 1rem;
}

.stories-topic-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.stories-topic-hero__visual {
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.stories-topic-hero__visual img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.stories-topic-stat {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(21, 37, 53, 0.08);
}

.stories-topic-stat strong {
  display: block;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.5rem;
  line-height: 1.1;
}

.stories-topic-stat span,
.stories-topic-links__label {
  display: block;
  color: var(--ink-soft);
}

.stories-topic-links {
  margin-top: 1.4rem;
}

.stories-topic-links__label {
  margin-bottom: 0.55rem;
  font-size: 0.94rem;
  font-weight: 700;
}

.start-here-page {
  min-height: calc(100vh - 160px);
}

.start-here-hero {
  background:
    radial-gradient(circle at top right, rgba(228, 87, 46, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 235, 0.9));
}

.start-here-hero__actions,
.start-here-guide-grid,
.start-here-steps,
.start-here-story-list {
  display: grid;
  gap: 1rem;
}

.start-here-hero__actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.start-here-guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.start-here-card,
.start-here-step,
.start-here-story,
.start-here-note {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(21, 37, 53, 0.08);
  box-shadow: var(--shadow);
  border-radius: 22px;
}

.start-here-card,
.start-here-step,
.start-here-story {
  padding: 1.3rem;
}

.start-here-card p,
.start-here-step p,
.start-here-story p,
.start-here-note p,
.start-here-note li {
  color: var(--ink-soft);
}

.start-here-step strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), #ff8b4a);
  box-shadow: 0 10px 24px rgba(228, 87, 46, 0.22);
  margin-bottom: 0.85rem;
}

.start-here-note {
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(220, 239, 253, 0.72), rgba(255, 255, 255, 0.94));
}

.start-here-note ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.start-here-story-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.start-here-story__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.start-here-story__meta span {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.start-here-story__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.stories-topic-strip {
  padding-top: 0;
}

.stories-topic-strip__block + .stories-topic-strip__block {
  margin-top: 1rem;
}

.saved-page {
  min-height: calc(100vh - 160px);
}

.saved-hub-hero,
.saved-section,
.saved-entry,
.saved-guide-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
}

.saved-hub-hero {
  padding: 1.6rem;
}

.saved-hub-hero__copy {
  max-width: 44rem;
}

.saved-hub-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.saved-hub-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.saved-hub-stat {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(21, 37, 53, 0.04);
  border: 1px solid rgba(21, 37, 53, 0.08);
}

.saved-hub-stat strong {
  display: block;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.6rem;
  line-height: 1.05;
}

.saved-hub-stat span {
  display: block;
  margin-top: 0.35rem;
  color: var(--ink-soft);
}

.saved-hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
  gap: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.saved-section {
  padding: 1.35rem;
}

.saved-card-grid,
.saved-guide-list {
  display: grid;
  gap: 1rem;
}

.saved-entry {
  display: grid;
  grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border-radius: 22px;
}

.saved-entry__media {
  overflow: hidden;
  border-radius: 18px;
}

.saved-entry__image,
.saved-entry__placeholder {
  width: 100%;
  height: 100%;
  min-height: 160px;
}

.saved-entry__image {
  display: block;
  object-fit: cover;
}

.saved-entry__placeholder {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1rem;
  color: #fff8ef;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background:
    linear-gradient(135deg, rgba(228, 87, 46, 0.84), rgba(21, 37, 53, 0.92)),
    radial-gradient(circle at top right, rgba(243, 188, 85, 0.32), transparent 32%);
}

.saved-entry__body {
  display: flex;
  flex-direction: column;
}

.saved-entry__meta,
.saved-guide-card__header,
.saved-entry__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.saved-entry__meta,
.saved-guide-card__header small,
.saved-entry__footer small {
  color: var(--ink-soft);
}

.saved-entry__excerpt,
.saved-guide-card__summary {
  color: var(--ink);
}

.saved-entry__footer {
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.9rem;
}

.saved-entry__actions,
.saved-guide-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.saved-guide-card {
  padding: 1.1rem 1.15rem;
  border-radius: 20px;
}

.saved-guide-card--compare {
  background:
    radial-gradient(circle at top right, rgba(243, 188, 85, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 235, 0.82));
}

.saved-guide-card__chips,
.guide-version-card__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.saved-guide-card__chips {
  margin-bottom: 1rem;
}

.saved-guide-card__chip {
  min-width: 132px;
  padding: 0.7rem 0.8rem;
  border-radius: 14px;
  background: rgba(21, 37, 53, 0.04);
  border: 1px solid rgba(21, 37, 53, 0.08);
}

.saved-guide-card__chip strong {
  display: block;
  margin-bottom: 0.2rem;
}

.saved-guide-card__chip span {
  color: var(--ink-soft);
}

.saved-guide-card__details {
  margin-top: 1rem;
}

.saved-guide-card__details summary {
  cursor: pointer;
  color: var(--coral);
  font-weight: 700;
}

.saved-guide-card__preview {
  margin-top: 0.8rem;
  white-space: pre-wrap;
  color: var(--ink);
  background: rgba(21, 37, 53, 0.05);
  border-radius: 16px;
  padding: 1rem;
  max-height: 280px;
  overflow: auto;
}

.saved-empty-state {
  text-align: left;
}

.planner-sidebar {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(220, 239, 253, 0.64));
}

.planner-note {
  margin-top: 1.5rem;
  padding: 1.15rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(21, 37, 53, 0.08);
}

.planner-note__title {
  margin-bottom: 0.45rem;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 700;
  color: var(--ink);
}

.planner-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.planner-context-banner {
  margin-bottom: 1.6rem;
  padding: 1.4rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(243, 188, 85, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 235, 0.9));
  border: 1px solid rgba(21, 37, 53, 0.08);
  box-shadow: var(--shadow);
}

.planner-context-banner--draft {
  background:
    radial-gradient(circle at top right, rgba(13, 122, 111, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(220, 239, 253, 0.72));
}

.planner-context-banner__content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.planner-context-banner__content p {
  max-width: 42rem;
  color: var(--ink-soft);
}

.planner-context-banner__detail {
  margin-top: 0.45rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.planner-context-banner__actions,
.planner-context-banner__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.planner-context-banner__chips {
  margin-top: 1rem;
}

.planner-context-chip {
  min-width: 170px;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(21, 37, 53, 0.08);
}

.planner-context-chip strong {
  display: block;
  margin-bottom: 0.2rem;
}

.planner-context-chip span {
  color: var(--ink-soft);
}

.provider-cheatsheet {
  display: grid;
  gap: 0.85rem;
}

.provider-cheatsheet__item {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 37, 53, 0.08);
}

.provider-cheatsheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.provider-cheatsheet__head a {
  color: var(--coral);
  font-weight: 700;
}

.provider-cheatsheet__item p {
  margin: 0.3rem 0 0;
}

.planner-form-shell {
  padding: 1.8rem;
}

.planner-form-shell .form-control,
.planner-form-shell .form-select,
.filter-search .form-control {
  min-height: 50px;
  border-radius: 14px;
  border-color: rgba(21, 37, 53, 0.14);
}

.planner-form-shell textarea.form-control {
  min-height: 132px;
}

.planner-form-shell__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.planner-form-shell__hint {
  margin: 0;
  max-width: 28rem;
  color: var(--ink-soft);
}

.guide-result {
  margin-top: 2.4rem;
}

.guide-result__shell {
  padding: 1.6rem;
}

.guide-result__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.guide-result__eyebrow {
  color: var(--coral);
}

.guide-alert {
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
  border-radius: 16px;
  background: rgba(243, 188, 85, 0.2);
  color: #7c5b12;
}

.guide-alert--danger {
  background: rgba(228, 87, 46, 0.14);
  color: #8b351c;
}

.guide-actions {
  margin-bottom: 1.2rem;
}

.guide-version-summary {
  margin-bottom: 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(21, 37, 53, 0.08);
}

.guide-version-summary__header,
.guide-version-summary__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.guide-version-summary__provider {
  color: var(--ink-soft);
  font-weight: 700;
}

.guide-version-summary__badges {
  margin-top: 0.75rem;
}

.guide-version-summary__list {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.guide-version-shelf {
  margin-bottom: 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 37, 53, 0.08);
}

.guide-version-shelf__header {
  margin-bottom: 0.9rem;
}

.guide-version-shelf__copy {
  margin: 0.3rem 0 0;
  color: var(--ink-soft);
}

.guide-version-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.guide-version-card {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(21, 37, 53, 0.08);
  background: rgba(255, 255, 255, 0.92);
  text-align: left;
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.guide-version-card:hover {
  transform: translateY(-2px);
  border-color: rgba(228, 87, 46, 0.24);
}

.guide-version-card.is-active {
  border-color: rgba(228, 87, 46, 0.32);
  box-shadow: 0 14px 30px rgba(228, 87, 46, 0.12);
}

.guide-version-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.guide-version-card__header small,
.guide-version-card__metrics span,
.guide-version-card__summary {
  color: var(--ink-soft);
}

.guide-version-card__summary {
  margin: 0.7rem 0 0;
}

.guide-version-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.guide-version-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  background: rgba(21, 37, 53, 0.06);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
}

.guide-version-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.guide-variants {
  margin-bottom: 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 37, 53, 0.08);
}

.guide-variants__label {
  margin: 0 0 0.7rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.guide-variants__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.guide-variants__status {
  margin: 0.8rem 0 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.guide-grid {
  display: grid;
  gap: 1.2rem;
}

.guide-section {
  padding: 1.2rem 1.3rem;
  border-radius: 18px;
  background: rgba(255, 246, 235, 0.76);
  border: 1px solid rgba(21, 37, 53, 0.07);
}

.guide-days,
.guide-phrases {
  display: grid;
  gap: 1rem;
}

.guide-day {
  padding: 1.25rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(220, 239, 253, 0.44), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(13, 122, 111, 0.1);
}

.guide-day__meta {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.guide-day__meta p {
  margin: 0;
  color: var(--ink-soft);
}

.guide-phrase {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(21, 37, 53, 0.06);
}

.guide-phrase small {
  display: block;
  color: var(--ink-soft);
}

.guide-feedback {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(21, 37, 53, 0.08);
}

.guide-feedback__label {
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.faq-accordion__item {
  border: 1px solid rgba(21, 37, 53, 0.08);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
}

.faq-accordion__item + .faq-accordion__item {
  margin-top: 1rem;
}

.faq-accordion .accordion-button {
  font-weight: 700;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(228, 87, 46, 0.08);
  color: var(--ink);
}

.site-footer {
  padding: 2rem 0 2.5rem;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(21, 37, 53, 0.08);
}

.site-footer__title {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 700;
}

.site-footer__copy {
  margin: 0.45rem 0 0;
}

.site-footer__links {
  display: grid;
  gap: 0.45rem;
}

.not-found-card {
  max-width: 38rem;
  margin: 4rem auto;
  padding: 2.4rem;
  text-align: center;
}

.admin-page {
  padding-top: 0.5rem;
}

.admin-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(35, 52, 72, 0.08);
  box-shadow: 0 16px 34px rgba(35, 52, 72, 0.08);
}

.admin-section-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(35, 52, 72, 0.1);
  color: var(--ink-soft);
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 700;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.admin-section-nav__link:hover,
.admin-section-nav__link.is-active {
  color: var(--coral);
  border-color: rgba(228, 87, 46, 0.22);
  background: rgba(228, 87, 46, 0.08);
}

.admin-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.admin-hero h1,
.admin-hero .subtitle,
.auth-card .subtitle {
  max-width: 42rem;
}

.admin-hero .subtitle,
.auth-card .subtitle,
.auth-card__footer,
.admin-form-note p,
.admin-library-shell__header p,
.admin-upload-shell__content p,
.admin-upload-shell__status,
.admin-provider-card p,
.admin-provider-card small,
.admin-insight-card__metrics,
.admin-table__sub {
  color: #4a6178;
}

.admin-hero--stacked {
  align-items: flex-start;
  flex-direction: column;
}

.admin-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-hero .title,
.auth-card .title {
  color: #1f3144;
}

.admin-flash {
  margin-bottom: 1.25rem;
  background: rgba(13, 122, 111, 0.12);
  border: 1px solid rgba(13, 122, 111, 0.18);
  box-shadow: 0 12px 28px rgba(13, 122, 111, 0.08);
}

.admin-flash--danger {
  background: rgba(228, 87, 46, 0.12);
  border-color: rgba(228, 87, 46, 0.2);
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.admin-stat-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.92));
  border: 1px solid rgba(35, 52, 72, 0.08);
  box-shadow: 0 14px 28px rgba(35, 52, 72, 0.08);
}

.admin-stat-card span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.admin-stat-card strong {
  display: block;
  margin-top: 0.35rem;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.8rem;
}

.admin-stat-card--attention {
  border: 1px solid rgba(228, 87, 46, 0.22);
  background: rgba(228, 87, 46, 0.08);
}

.admin-stats-grid--interaction {
  margin-top: 0;
}

.admin-insights-shell {
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(35, 52, 72, 0.08);
  box-shadow: 0 16px 34px rgba(35, 52, 72, 0.08);
}

.admin-insights-shell__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-insights-list {
  display: grid;
  gap: 0.85rem;
}

.admin-insight-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 246, 235, 0.72);
  border: 1px solid rgba(21, 37, 53, 0.08);
}

.admin-insight-card__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  color: var(--ink-soft);
}

.admin-insight-card__metrics strong {
  color: var(--ink);
}

.admin-filter-shell {
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(35, 52, 72, 0.08);
  box-shadow: 0 16px 34px rgba(35, 52, 72, 0.08);
}

.admin-filter-shell--primary {
  position: sticky;
  top: 96px;
  z-index: 4;
}

.admin-filter-shell__header {
  margin-bottom: 1rem;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.95fr);
  gap: 1.25rem;
}

.admin-dashboard-grid__main,
.admin-dashboard-grid__side {
  display: grid;
  gap: 1.25rem;
  align-self: start;
}

.admin-filter-shell__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-filter-shell__search {
  flex: 1;
}

.admin-filter-shell__controls {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.admin-filter-shell .form-label {
  margin-bottom: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.admin-filter-shell .form-control,
.admin-filter-shell .form-select {
  min-height: 50px;
  border-radius: 14px;
  border-color: rgba(35, 52, 72, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
}

.admin-filter-shell .form-control:focus,
.admin-filter-shell .form-select:focus {
  border-color: rgba(228, 87, 46, 0.34);
  box-shadow: 0 0 0 0.22rem rgba(228, 87, 46, 0.12);
}

.admin-filter-shell__toggle .admin-form-check {
  min-height: 50px;
  padding: 0.75rem 0.95rem;
}

.admin-filter-shell__toggle .btn {
  min-height: 50px;
}

.admin-table-shell,
.admin-form-shell {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(35, 52, 72, 0.08);
  box-shadow: 0 18px 38px rgba(35, 52, 72, 0.08);
}

.admin-posts-shell,
.admin-overview-shell {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(35, 52, 72, 0.08);
  box-shadow: 0 18px 38px rgba(35, 52, 72, 0.08);
}

.admin-table {
  width: 100%;
  vertical-align: middle;
}

.admin-table thead th {
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom-color: rgba(35, 52, 72, 0.08);
}

.admin-table tbody tr {
  border-bottom-color: rgba(35, 52, 72, 0.06);
}

.admin-table tbody tr:hover {
  background: rgba(95, 143, 225, 0.05);
}

.admin-table__sub {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink-soft);
}

.admin-posts-list {
  display: grid;
  gap: 1rem;
}

.admin-post-card {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94));
  border: 1px solid rgba(35, 52, 72, 0.08);
  box-shadow: 0 14px 30px rgba(35, 52, 72, 0.08);
}

.admin-post-card__media {
  align-self: start;
}

.admin-post-card__image {
  width: 100%;
  height: 112px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(35, 52, 72, 0.08);
  box-shadow: 0 10px 20px rgba(35, 52, 72, 0.08);
}

.admin-post-card__body {
  display: grid;
  gap: 0.9rem;
}

.admin-post-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-post-card__top .title {
  margin-bottom: 0.15rem;
}

.admin-post-card__chips,
.admin-post-card__meta,
.admin-post-card__actions,
.admin-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.admin-post-card__chips {
  justify-content: flex-end;
}

.admin-post-card__meta {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.admin-post-card__meta strong {
  color: var(--ink);
}

.admin-post-card__actions form {
  margin: 0;
}

.admin-post-card__actions .btn,
.admin-quick-links .btn {
  min-height: 42px;
  border-radius: 12px;
}

.admin-quick-links .btn {
  justify-content: center;
}

.admin-stats-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
}

.admin-empty-state--compact {
  padding: 1.15rem;
}

.admin-cover-state {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-cover-state--yes {
  background: rgba(13, 122, 111, 0.12);
  color: var(--jade);
}

.admin-cover-state--no {
  background: rgba(21, 37, 53, 0.08);
  color: var(--ink-soft);
}

.admin-cover-thumb {
  display: grid;
  gap: 0.45rem;
}

.admin-cover-thumb__image {
  width: 96px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(35, 52, 72, 0.08);
  box-shadow: 0 10px 18px rgba(35, 52, 72, 0.08);
}

.admin-feature-state {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-feature-state--yes {
  background: rgba(21, 37, 53, 0.92);
  color: #fff;
}

.admin-feature-state--no {
  background: rgba(21, 37, 53, 0.08);
  color: var(--ink-soft);
}

.admin-table__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.admin-table__actions form {
  margin: 0;
}

.admin-form-shell__body {
  min-height: 24rem !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.admin-form-check {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(21, 37, 53, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
}

.admin-form-shell .form-control-color {
  width: 100%;
  max-width: none;
  min-height: 56px;
}

.admin-form-shell__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-preview-control {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 160px;
}

.admin-preview-control span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.admin-block-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.admin-upload-shell {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(35, 52, 72, 0.08);
  box-shadow: 0 18px 38px rgba(35, 52, 72, 0.08);
}

.admin-upload-shell__preview {
  overflow: hidden;
  border-radius: 20px;
  min-height: 220px;
  background: rgba(21, 37, 53, 0.05);
}

.admin-upload-shell__image {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: block;
  object-fit: cover;
}

.admin-upload-shell__placeholder {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  text-align: center;
  color: var(--ink-soft);
  background:
    linear-gradient(135deg, rgba(228, 87, 46, 0.1), rgba(220, 239, 253, 0.75)),
    rgba(255, 255, 255, 0.9);
}

.admin-upload-shell__content p {
  color: var(--ink-soft);
}

.admin-upload-shell__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.admin-upload-shell__status {
  color: var(--ink-soft);
}

.admin-upload-shell__status--danger {
  color: var(--coral-deep);
  font-weight: 700;
}

.admin-upload-shell__status--success {
  color: var(--jade);
  font-weight: 700;
}

.admin-library-shell {
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(35, 52, 72, 0.08);
  box-shadow: 0 18px 38px rgba(35, 52, 72, 0.08);
}

.admin-library-shell__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-library-shell__header p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
}

.admin-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.admin-library-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(21, 37, 53, 0.08);
  background: rgba(255, 255, 255, 0.86);
}

.admin-library-card__image {
  width: 100%;
  height: 150px;
  display: block;
  object-fit: cover;
  background: rgba(21, 37, 53, 0.05);
}

.admin-library-card__body {
  padding: 0.9rem;
}

.admin-library-card__name {
  margin: 0 0 0.35rem;
  font-weight: 700;
  word-break: break-word;
}

.admin-library-card__body small {
  color: var(--ink-soft);
}

.admin-library-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.admin-library-empty {
  padding: 1.2rem;
  border-radius: 16px;
  text-align: center;
  color: var(--ink-soft);
  background: rgba(21, 37, 53, 0.04);
}

.admin-form-note {
  margin: 0;
  background: rgba(220, 239, 253, 0.5);
  border: 1px solid rgba(21, 37, 53, 0.08);
}

.admin-form-note p {
  margin: 0.45rem 0 0;
  color: var(--ink-soft);
}

.admin-provider-grid {
  display: grid;
  gap: 1rem;
}

.admin-provider-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(35, 52, 72, 0.08);
  box-shadow: 0 14px 30px rgba(35, 52, 72, 0.08);
}

.admin-provider-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-page--centered {
  display: flex;
  align-items: center;
}

.auth-card {
  max-width: 32rem;
  margin: 2rem auto;
  padding: 2rem;
  background:
    radial-gradient(circle at top right, rgba(95, 143, 225, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94));
  border: 1px solid rgba(35, 52, 72, 0.08);
  box-shadow: 0 22px 48px rgba(35, 52, 72, 0.12);
}

.auth-card__form {
  margin-top: 1.25rem;
}

.auth-card__footer {
  margin: 1rem 0 0;
  color: var(--ink-soft);
}

.not-found-card__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-danger {
  background-color: var(--coral);
  border-color: var(--coral);
}

.btn-danger:hover,
.btn-danger:focus {
  background-color: var(--coral-deep);
  border-color: var(--coral-deep);
}

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1024px) {
  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .admin-filter-shell--primary {
    position: static;
  }

  .planner-provider-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .admin-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-filter-shell__controls {
    grid-template-columns: 1fr;
  }

  .saved-hub-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .section-heading,
  .cta-panel,
  .guide-result__header,
  .planner-hero__actions,
  .planner-form-shell__actions,
  .planner-context-banner__content,
  .site-header__inner,
  .article-feedback,
  .comments-toolbar,
  .filter-shell__top,
  .admin-hero,
  .admin-filter-shell__top,
  .admin-insights-shell__header,
  .preview-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .site-nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 35;
    width: min(88vw, 360px);
    height: 100dvh;
    padding: 1.25rem 1rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    background: rgba(255, 252, 246, 0.98);
    box-shadow: -18px 0 38px rgba(21, 37, 53, 0.16);
    transform: translateX(104%);
    transition: transform 180ms ease;
  }

  .site-nav-panel.is-open {
    transform: translateX(0);
  }

  .site-nav-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
  }

  .site-nav-panel__header strong {
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 1rem;
  }

  .site-nav-toggle,
  .site-nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.65rem 0.95rem;
    border-radius: 14px;
    border: 1px solid rgba(21, 37, 53, 0.1);
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-weight: 700;
  }

  .site-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 30;
    border: 0;
    background: rgba(21, 37, 53, 0.22);
  }

  .site-nav-backdrop.is-active {
    display: block;
  }

  .site-nav a,
  .site-nav__form,
  .site-nav__logout,
  .saved-pill {
    width: 100%;
  }

  .saved-pill {
    justify-content: space-between;
  }

  .site-header__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .filter-shell__summary,
  .story-filter-actions {
    width: 100%;
  }

  .hero-panel__stats {
    grid-template-columns: 1fr;
  }

  .admin-upload-shell {
    grid-template-columns: 1fr;
  }

  .admin-library-shell__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .comments-overview,
  .stories-archive__stats,
  .stories-topic-stats,
  .saved-hub-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-section-nav {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .start-here-guide-grid,
  .start-here-story-list {
    grid-template-columns: 1fr;
  }

  .planner-provider-strip {
    grid-template-columns: 1fr;
  }

  .guide-phrase,
  .post-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-insight-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-post-card {
    grid-template-columns: 1fr;
  }

  .admin-post-card__image {
    height: 180px;
  }

  .admin-post-card__top {
    flex-direction: column;
  }

  .admin-post-card__chips {
    justify-content: flex-start;
  }

  .admin-hero__actions {
    width: 100%;
  }

  .admin-hero__actions .btn,
  .admin-hero__actions form,
  .admin-hero__actions button {
    width: 100%;
  }

  .article-content__gallery {
    grid-template-columns: 1fr;
  }

  .comments-toolbar__controls {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .comments-toolbar__controls .form-select {
    min-width: 0;
  }

  .story-sort-control,
  .story-filter-actions__reset {
    width: 100%;
    min-width: 0;
  }

  .saved-entry {
    grid-template-columns: 1fr;
  }

  .stories-topic-hero__actions,
  .stories-topic-links__items,
  .planner-hero__actions,
  .planner-context-banner__actions,
  .planner-context-banner__chips {
    width: 100%;
  }

  .admin-cover-thumb__image {
    width: 84px;
    height: 54px;
  }
}

@media (max-width: 640px) {
  .hero-travel__title,
  .planner-hero h1,
  .article-hero h1 {
    font-size: 1.95rem;
  }

  .stories-archive__hero .title,
  .stories-topic-hero .title,
  .start-here-hero .title {
    font-size: 1.95rem;
    line-height: 1.05;
  }

  .hero-actions,
  .hero-pill-row,
  .start-here-hero__actions,
  .not-found-card__actions,
  .article-feedback__actions,
  .guide-feedback__actions,
  .guide-actions,
  .stories-archive__actions,
  .section-heading__actions {
    width: 100%;
  }

  .hero-actions .btn,
  .start-here-hero__actions .btn,
  .not-found-card__actions .btn,
  .guide-actions .btn,
  .stories-archive__actions .btn,
  .section-heading__actions .btn,
  .planner-hero__actions .btn {
    width: 100%;
  }

  .start-here-hero__actions {
    grid-template-columns: 1fr;
  }

  .comments-overview,
  .stories-archive__stats,
  .stories-topic-stats,
  .saved-hub-stats,
  .admin-stats-grid,
  .admin-stats-grid--compact {
    grid-template-columns: 1fr;
  }

  .admin-section-nav__link {
    width: 100%;
    justify-content: center;
  }
}
