/* Blog és frissítések */
.page-hero--compact { padding-block: 2.5rem 1.5rem; }
.blog-crosslink { margin-top: 0.75rem; font-size: 0.95rem; }
.blog-crosslink a { font-weight: 600; }

.blog-list-section { padding-block: 1.5rem 3rem; }
.blog-empty { color: var(--muted, #5a6b5f); font-size: 1.05rem; }

.blog-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.blog-card {
  border: 1px solid rgba(42, 79, 56, 0.12);
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 40, 28, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20, 40, 28, 0.1); }
.blog-card-link { display: block; color: inherit; text-decoration: none; height: 100%; }
.blog-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.blog-card-placeholder {
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #e8f0ea, #d4e4d8);
}
.blog-card-body { padding: 1rem 1.1rem 1.2rem; }
.blog-card-date { font-size: 0.82rem; color: var(--muted, #5a6b5f); }
.blog-card-title { font-family: Fraunces, serif; font-size: 1.2rem; margin: 0.35rem 0; line-height: 1.25; }
.blog-card-excerpt { font-size: 0.92rem; line-height: 1.5; color: #3d4f44; margin: 0; }
.blog-card-more { display: inline-block; margin-top: 0.75rem; font-weight: 600; font-size: 0.9rem; }

.updates-feed { display: grid; gap: 1rem; max-width: 48rem; }
.update-card {
  padding: 1rem 1.15rem;
  border-left: 4px solid #2a4f38;
  background: #f8fbf9;
  border-radius: 0 0.75rem 0.75rem 0;
}
.update-date { font-size: 0.82rem; color: var(--muted, #5a6b5f); }
.update-title { margin: 0.25rem 0 0.5rem; font-size: 1.1rem; }
.update-title a { color: inherit; text-decoration: none; }
.update-title a:hover { text-decoration: underline; }
.update-excerpt { margin: 0; line-height: 1.55; color: #3d4f44; }
.update-link { display: inline-block; margin-top: 0.5rem; font-weight: 600; font-size: 0.88rem; }

.blog-draft-banner {
  background: #fef3c7;
  color: #92400e;
  text-align: center;
  padding: 0.6rem 1rem;
  font-weight: 600;
  border-bottom: 1px solid #fcd34d;
}
.blog-article-header { padding-top: 2rem; }
.blog-article-breadcrumb { font-size: 0.9rem; margin-bottom: 0.5rem; }
.blog-article-title { font-family: Fraunces, serif; font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.15; margin: 0 0 0.5rem; }
.blog-article-meta { color: var(--muted, #5a6b5f); margin-bottom: 1.25rem; }
.blog-article-hero { margin: 0 auto 1.25rem; border-radius: 0.75rem; overflow: hidden; max-width: 22rem; }
.blog-article-hero img { width: 100%; height: auto; display: block; object-fit: cover; max-height: 14rem; }
.page-update-article .blog-article-hero { display: none; }

.blog-article-body.prose { max-width: 42rem; padding-bottom: 2rem; line-height: 1.7; font-size: 1.05rem; }
.blog-article-body.prose h2 { font-family: Fraunces, serif; margin: 1.75rem 0 0.75rem; font-size: 1.45rem; }
.blog-article-body.prose h3 { margin: 1.25rem 0 0.5rem; font-size: 1.15rem; }
.blog-article-body.prose p { margin: 0 0 1rem; }
.blog-article-body.prose ul, .blog-article-body.prose ol { margin: 0 0 1rem 1.25rem; }
.blog-article-body.prose a { color: #1d5c3a; font-weight: 600; }
.blog-article-body.prose blockquote {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid #2a4f38;
  background: #f3f8f5;
  border-radius: 0 0.5rem 0.5rem 0;
}
.blog-figure {
  margin: 1rem auto;
  border-radius: 0.6rem;
  overflow: hidden;
  background: #eef4f0;
  text-align: center;
}
.blog-figure--card {
  max-width: 9.5rem;
}
.blog-figure--wide {
  max-width: 18rem;
}
.blog-figure img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  max-height: 13rem;
}
.blog-figure--wide img {
  max-height: 11rem;
  object-fit: cover;
}
.blog-figure figcaption {
  padding: 0.4rem 0.6rem 0.55rem;
  font-size: 0.78rem;
  color: #4a5d52;
  line-height: 1.35;
}

.blog-faq { max-width: 42rem; padding-bottom: 2rem; }
.blog-faq h2 { font-family: Fraunces, serif; margin-bottom: 1rem; }
.blog-faq-item { border: 1px solid rgba(42,79,56,.15); border-radius: 0.5rem; padding: 0.65rem 0.85rem; margin-bottom: 0.5rem; background: #fff; }
.blog-faq-item summary { cursor: pointer; font-weight: 600; }
.blog-faq-item p { margin: 0.5rem 0 0; line-height: 1.55; }

.blog-cta {
  max-width: 42rem;
  margin-bottom: 2rem;
  padding: 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #e8f3ec, #d8ebe0);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.blog-cta p { margin: 0; flex: 1 1 12rem; font-weight: 600; }

.blog-share-footer { padding-bottom: 3rem; }

.blog-share {
  max-width: 36rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(42, 79, 56, 0.14);
  border-radius: 1rem;
  background: #f8fbf9;
}
.blog-share-heading {
  font-family: Fraunces, serif;
  font-size: 1.35rem;
  margin: 0 0 0.3rem;
}
.blog-share-lead {
  margin: 0 0 1rem;
  color: #3d4f44;
  font-size: 0.92rem;
}
.blog-share-grid {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}
.blog-share-grid li { margin: 0; padding: 0; }
.blog-share-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 4.6rem;
  padding: 0.55rem 0.35rem;
  border: 1px solid rgba(42, 79, 56, 0.12);
  border-radius: 0.75rem;
  background: #fff;
  color: #1a2e22;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.blog-share-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(42, 79, 56, 0.28);
  box-shadow: 0 6px 16px rgba(20, 40, 28, 0.08);
}
.blog-share-tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  min-height: 2.25rem;
  max-width: 2.25rem;
  max-height: 2.25rem;
  border-radius: 50%;
  color: #fff;
  overflow: hidden;
}
.blog-share .blog-share-svg,
.blog-share .blog-share-tile-icon svg {
  display: block;
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  flex: 0 0 auto;
}
.blog-share-tile-label {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.blog-share-tile--facebook .blog-share-tile-icon { background: #1877f2; }
.blog-share-tile--whatsapp .blog-share-tile-icon { background: #25d366; }
.blog-share-tile--linkedin .blog-share-tile-icon { background: #0a66c2; }
.blog-share-tile--x .blog-share-tile-icon { background: #111; }
.blog-share-tile--mail .blog-share-tile-icon { background: #5a6b5f; }
.blog-share-tile--instagram .blog-share-tile-icon {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}
.blog-share-tile--link .blog-share-tile-icon,
.blog-share-tile--share .blog-share-tile-icon { background: #2a4f38; }
.blog-share-tile[hidden] { display: none !important; }

.blog-share-copybar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: stretch;
}
.blog-share-url {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.6rem 0.75rem;
  border: 1px solid #c5d4ca;
  border-radius: 0.5rem;
  font-size: 0.88rem;
  background: #fff;
  color: #3d4f44;
}
.blog-share-copybtn {
  padding: 0.6rem 1.1rem;
  border-radius: 0.5rem;
  border: none;
  background: #2a4f38;
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
}
.blog-share-copybtn:hover { background: #1e3a2a; }
.blog-share-toast {
  margin: 0.75rem 0 0;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  background: #e8f3ec;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1d5c3a;
}
.blog-share-toast[hidden] { display: none; }

@media (max-width: 520px) {
  .blog-share-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Admin */
.page-admin-blog { background: #f4f7f5; min-height: 100vh; }
.page-admin-blog .btn-secondary {
  background: #fff;
  color: #2a4f38;
  border: 1px solid rgba(42, 79, 56, 0.22);
  box-shadow: none;
}
.page-admin-blog .btn-secondary:hover {
  background: #eef3ec;
  color: #1c3728;
  transform: none;
}
.page-admin-blog .btn-primary { box-shadow: none; transform: none; }
.page-admin-blog .btn-primary:hover { transform: none; }
.admin-login { max-width: 24rem; padding: 3rem 1rem; }
.admin-bar { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid #ddd; background: #fff; }
.admin-layout { padding: 1.5rem 0 3rem; }
.admin-flash { background: #d1fae5; color: #065f46; padding: 0.6rem 0.85rem; border-radius: 0.5rem; margin-bottom: 1rem; }
.admin-error { background: #fee2e2; color: #991b1b; padding: 0.6rem 0.85rem; border-radius: 0.5rem; margin-bottom: 1rem; }
.admin-actions { margin-bottom: 1.25rem; }
.admin-actions-form { display: grid; gap: 0.65rem; }
.admin-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.admin-gen-details {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.65rem;
  padding: 0.55rem 0.75rem;
}
.admin-gen-details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  color: #3d5247;
  list-style: none;
}
.admin-gen-details summary::-webkit-details-marker { display: none; }
.admin-gen-details summary::before {
  content: "▸ ";
  color: #6a7f73;
  font-size: 0.8rem;
}
.admin-gen-details[open] summary::before { content: "▾ "; }
.admin-gen-optional {
  font-weight: 500;
  color: #6a7f73;
  font-size: 0.82rem;
}
.admin-gen-details textarea {
  width: 100%;
  margin-top: 0.55rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid #c5d4cb;
  border-radius: 0.45rem;
  font: inherit;
  font-weight: 400;
  resize: vertical;
  min-height: 3.25rem;
}
.admin-gen-details .admin-hint {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
}
.admin-inline { display: inline; }
.admin-grid { display: grid; grid-template-columns: 280px 1fr; gap: 1.25rem; align-items: start; }
@media (max-width: 900px) { .admin-grid { grid-template-columns: 1fr; } }

/* Statisztikák admin */
.page-admin-stats {
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(162, 195, 103, 0.14), transparent 55%),
    linear-gradient(180deg, #f7faf6 0%, #eef3ef 100%);
  min-height: 100vh;
}

.stats-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.stats-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}
.stats-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--forest);
  text-decoration: none;
}
.stats-topnav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}
.stats-topnav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink-soft);
}
.stats-topnav a:hover { color: var(--forest); }
.stats-logout {
  border: none;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.stats-logout:hover { color: var(--danger); }

.stats-dash {
  padding: 1.75rem 0 3.5rem;
  display: grid;
  gap: 1.35rem;
  max-width: 72rem;
}

.stats-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}
.stats-eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.stats-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  line-height: 1.15;
  color: var(--ink);
}
.stats-hero-lead {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 28rem;
}
.stats-tabs {
  display: inline-flex;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(28, 55, 40, 0.06);
}
.stats-tab {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
  transition: background 0.15s ease, color 0.15s ease;
}
.stats-tab:hover { color: var(--forest); }
.stats-tab.is-active {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 4px 12px rgba(42, 79, 56, 0.25);
}

.stats-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}
@media (max-width: 900px) { .stats-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .stats-kpis { grid-template-columns: 1fr; } }

.stats-kpi {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: 0 8px 24px rgba(28, 55, 40, 0.05);
}
.stats-kpi--accent {
  background: linear-gradient(145deg, #2a4f38 0%, #1c3728 100%);
  border-color: transparent;
  color: #fff;
}
.stats-kpi--accent .stats-kpi-label,
.stats-kpi--accent .stats-kpi-meta { color: rgba(255, 255, 255, 0.78); }
.stats-kpi--accent .stats-kpi-range { background: rgba(255, 255, 255, 0.15); color: #fff; }
.stats-kpi-label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.stats-kpi-range {
  font-size: 0.68rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
}
.stats-kpi-value {
  margin: 0.35rem 0 0.15rem;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stats-kpi-value--sm { font-size: 1.45rem; }
.stats-kpi-meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.stats-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem 1.25rem;
  box-shadow: 0 10px 28px rgba(28, 55, 40, 0.06);
}
.stats-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.stats-card-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}
.stats-card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--forest);
  background: rgba(162, 195, 103, 0.22);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}
.stats-card-note {
  margin: -0.5rem 0 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.stats-empty-state {
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  background: var(--paper);
  border-radius: 12px;
}

.stats-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 11rem;
  padding: 0.5rem 0.25rem 0;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(243, 246, 242, 0.5) 0%, transparent 100%);
}
.stats-chart-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 0.35rem;
}
.stats-chart-bar {
  width: 100%;
  max-width: 1.25rem;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--lime) 0%, var(--forest) 100%);
  box-shadow: 0 4px 10px rgba(42, 79, 56, 0.18);
  transition: opacity 0.15s ease;
}
.stats-chart-col:hover .stats-chart-bar { opacity: 0.85; }
.stats-chart-date {
  font-size: 0.65rem;
  color: var(--muted);
  white-space: nowrap;
}

.stats-columns {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.15rem;
  align-items: start;
}
@media (max-width: 960px) { .stats-columns { grid-template-columns: 1fr; } }

.stats-rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.stats-rank-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid transparent;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.stats-rank-item:hover {
  background: #fff;
  border-color: var(--line);
}
.stats-rank-num {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--forest);
}
.stats-rank-content { min-width: 0; }
.stats-rank-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.stats-rank-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.stats-rank-stat {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--forest);
  white-space: nowrap;
}
.stats-progress {
  height: 4px;
  margin: 0.4rem 0 0.35rem;
  border-radius: 999px;
  background: rgba(42, 79, 56, 0.1);
  overflow: hidden;
}
.stats-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lime), var(--forest));
}
.stats-rank-meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.stats-visitor-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.stats-visitor-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: center;
  padding: 0.6rem 0.65rem;
  border-radius: 12px;
  background: var(--paper);
}
.stats-visitor-avatar {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--forest);
  background: linear-gradient(135deg, rgba(162, 195, 103, 0.35), rgba(140, 175, 159, 0.25));
  border: 1px solid var(--line);
}
.stats-visitor-body { min-width: 0; }
.stats-visitor-id {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: rgba(42, 79, 56, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.stats-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.stats-feed-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.stats-feed-item:last-child { border-bottom: none; padding-bottom: 0; }
.stats-feed-dot {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(162, 195, 103, 0.25);
}
.stats-feed-main {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.stats-feed-main strong { color: var(--ink); font-weight: 700; }
.stats-feed-meta {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.stats-feed-ref {
  font-style: italic;
  max-width: 14rem;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}

.page-admin-stats .admin-stats-nav,
.admin-bar .admin-stats-nav { display: flex; align-items: center; gap: 1rem; }
.admin-bar .admin-stats-nav a,
.page-admin-stats .admin-stats-nav a { font-weight: 600; color: #1d5c3a; text-decoration: none; }

.admin-list ul { list-style: none; margin: 0; padding: 0; max-height: 70vh; overflow: auto; }
.admin-list {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1rem 0.85rem;
  border: 1px solid #e5e7eb;
}
.admin-list h2 {
  margin: 0 0 0.65rem;
  padding: 0 0.15rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1a2a22;
}
.admin-list li a { display: block; padding: 0.5rem 0.65rem; border-radius: 0.4rem; text-decoration: none; color: inherit; font-size: 0.9rem; }
.admin-list li.is-active a, .admin-list li a:hover { background: #e8f0ea; }
.admin-list small { display: block; color: #666; }
.badge { font-size: 0.7rem; padding: 0.1rem 0.35rem; border-radius: 0.25rem; margin-right: 0.25rem; }
.badge-long { background: #dbeafe; color: #1e40af; }
.badge-short { background: #fef3c7; color: #92400e; }
.admin-editor { background: #fff; border-radius: 0.75rem; padding: 1rem 1.15rem; border: 1px solid #e5e7eb; }
.admin-form label { display: block; margin-bottom: 0.75rem; font-weight: 600; font-size: 0.88rem; }
.admin-form input[type=text], .admin-form textarea, .admin-form select {
  width: 100%; margin-top: 0.25rem; padding: 0.5rem 0.65rem; border: 1px solid #ccc; border-radius: 0.4rem; font: inherit; font-weight: 400;
}
.admin-form textarea.mono { font-family: ui-monospace, monospace; font-size: 0.85rem; }
.admin-form-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.admin-danger { color: #b91c1c; }
.admin-hint { color: #666; }

.admin-images {
  margin: 0.5rem 0 1.25rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  background: #f8faf9;
}
.admin-images-title { margin: 0 0 0.35rem; font-size: 1.05rem; }
.admin-image-block {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}
.admin-image-block:first-of-type { border-top: 0; padding-top: 0.35rem; margin-top: 0.5rem; }
.admin-image-block h4 { margin: 0 0 0.5rem; font-size: 0.95rem; }
.admin-image-preview {
  display: block;
  max-width: 11rem;
  max-height: 9rem;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.45rem;
  background: #fff;
  border: 1px solid #dde5e0;
}
.admin-image-empty { margin: 0 0 0.5rem; font-size: 0.88rem; color: #6b7280; }
.admin-image-path { margin: 0.35rem 0 0.65rem; font-size: 0.75rem; color: #6b7280; word-break: break-all; }
.admin-image-form {
  display: grid;
  gap: 0.45rem;
  margin: 0.65rem 0 0.85rem;
  padding: 0.65rem 0.75rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
}
.admin-image-form label { margin: 0; font-size: 0.85rem; }
.admin-image-form select,
.admin-image-form input[type="text"],
.admin-image-form input[type="file"] {
  width: 100%;
  margin-top: 0.2rem;
  font-weight: 400;
}
.admin-image-form button { justify-self: start; }

.admin-busy {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(15, 23, 20, 0.55);
  backdrop-filter: blur(3px);
}
.admin-busy[hidden] { display: none !important; }
body.is-admin-busy { overflow: hidden; }
.admin-busy-card {
  width: min(22rem, 100%);
  padding: 1.35rem 1.25rem 1.15rem;
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  text-align: center;
}
.admin-busy-spinner {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.85rem;
  border: 3px solid #d8e8de;
  border-top-color: #2a4f38;
  border-radius: 50%;
  animation: admin-busy-spin 0.85s linear infinite;
}
@keyframes admin-busy-spin { to { transform: rotate(360deg); } }
.admin-busy-title {
  margin: 0 0 0.45rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1a2e22;
}
.admin-busy-step {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #3d4f44;
  min-height: 2.6em;
}
.admin-busy-hint {
  margin: 0;
  font-size: 0.8rem;
  color: #6b7280;
}
