@font-face {
  font-family: 'Vazirmatn';
  src: url('../../fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../../fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../../fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --teal: #159c9a;
  --teal-dark: #087d7b;
  --teal-soft: #e7fbfa;
  --orange: #ff8a2a;
  --orange-soft: #fff3e8;
  --text: #24384d;
  --muted: #72808d;
  --card: #fff;
  --border: #e5edf1;
  --app-top: 56px;
  --app-tab: 62px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body.app-shell {
  font-family: Vazirmatn, Tahoma, sans-serif;
  background: #f2f8f9;
  color: var(--text);
  line-height: 1.7;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
code { font-size: 12px; background: #eef5f6; padding: 2px 6px; border-radius: 6px; }

.app-frame {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-width: 480px;
  margin: 0 auto;
  background: linear-gradient(180deg, #f5fbfb 0%, #fff 35%, #f7fbfc 100%);
  box-shadow: 0 0 40px rgba(23, 54, 83, 0.08);
}

.app-topbar {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: var(--app-top);
  padding: calc(8px + var(--safe-top)) 14px 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}
.app-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), #22bbb6);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
}
.app-topbar-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--teal-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-topbar-tag {
  font-size: 11px;
  color: var(--muted);
  max-width: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-topbar-spacer { width: 40px; }
.app-back {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
}

.app-main {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 12px 14px calc(12px + var(--app-tab) + var(--safe-bottom));
}

.app-tabbar {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 6px 8px calc(6px + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  position: sticky;
  bottom: 0;
  z-index: 30;
}
.app-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 4px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 11px;
  transition: background 0.15s, color 0.15s;
}
.app-tab-icon { font-size: 18px; line-height: 1; }
.app-tab-label { font-weight: 600; }
.app-tab.is-active {
  color: var(--teal-dark);
  background: var(--teal-soft);
}

/* ——— Home ——— */
.app-home { display: flex; flex-direction: column; gap: 14px; }

.app-hero-card {
  border-radius: 20px;
  min-height: 168px;
  background: linear-gradient(135deg, #0d5f5d, #159c9a);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(21, 156, 154, 0.25);
}
.app-hero-overlay {
  padding: 18px;
  background: linear-gradient(0deg, rgba(13, 47, 58, 0.82), rgba(13, 47, 58, 0.35));
  color: #fff;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.app-pill {
  display: inline-block;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  margin-bottom: 8px;
}
.app-hero-overlay h2 {
  font-size: 18px;
  line-height: 1.45;
  margin-bottom: 6px;
}
.app-hero-overlay p {
  font-size: 13px;
  opacity: 0.92;
  margin-bottom: 12px;
}
.app-hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.app-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}
.app-btn.primary {
  background: linear-gradient(135deg, var(--orange), #ffb25c);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 138, 42, 0.35);
}
.app-btn.ghost {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.app-btn.outline {
  background: #fff;
  color: var(--teal-dark);
  border: 1px solid var(--border);
}
.app-btn.full { width: 100%; }

.app-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.app-quick-tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 12px;
  box-shadow: 0 8px 20px rgba(27, 74, 96, 0.06);
}
.app-quick-tile strong { display: block; font-size: 14px; margin-top: 8px; }
.app-quick-tile small { color: var(--muted); font-size: 11px; }
.app-quick-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
}
.app-quick-icon.teal { background: var(--teal-soft); }
.app-quick-icon.orange { background: var(--orange-soft); }
.app-quick-icon.purple { background: #f0ecff; }
.app-quick-icon.blue { background: #eef7ff; }

.app-stats-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.app-stats-scroll::-webkit-scrollbar { display: none; }
.app-stat-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: 120px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
}
.app-stat-chip strong {
  display: block;
  font-size: 16px;
  color: var(--teal-dark);
}
.app-stat-chip span { font-size: 11px; color: var(--muted); }

.app-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.app-section-head h3 { font-size: 15px; color: var(--teal-dark); }
.app-section-head a { font-size: 12px; color: var(--teal); font-weight: 600; }

.app-campaign-card {
  display: block;
  border-radius: 18px;
  min-height: 140px;
  background: linear-gradient(135deg, #173653, #0d5f5d);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: var(--shadow-soft, 0 10px 28px rgba(27, 74, 96, 0.12));
}
.app-campaign-card-body {
  padding: 16px;
  background: linear-gradient(0deg, rgba(13, 47, 58, 0.88), rgba(13, 47, 58, 0.2));
  color: #fff;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.app-campaign-card h4 { font-size: 15px; margin: 6px 0; }
.app-campaign-card p { font-size: 12px; opacity: 0.9; margin-bottom: 8px; }
.app-tag {
  display: inline-block;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}
.app-tag.sm { font-size: 10px; background: var(--teal-soft); color: var(--teal-dark); }
.app-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 4px;
}
.app-progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), #ffb25c);
  border-radius: inherit;
}
.app-progress small { font-size: 11px; opacity: 0.9; }

.app-story-list { display: flex; flex-direction: column; gap: 8px; }
.app-story-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  padding: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.app-story-thumb {
  border-radius: 12px;
  min-height: 72px;
  background: var(--teal-soft) center/cover no-repeat;
}
.app-story-row h4 { font-size: 14px; margin: 4px 0 2px; }
.app-story-row p { font-size: 12px; color: var(--muted); }

.app-about-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}
.app-about-card.compact { margin-top: 0; }
.app-kicker {
  font-size: 11px;
  color: var(--teal);
  font-weight: 700;
}
.app-about-card h3 { font-size: 15px; margin: 6px 0; color: var(--teal-dark); }
.app-about-card p { font-size: 13px; color: var(--muted); }
.app-link { font-size: 13px; color: var(--teal-dark); font-weight: 700; margin-top: 8px; display: inline-block; }
.app-about-list {
  margin: 8px 0 0;
  padding-right: 18px;
  font-size: 13px;
  color: var(--muted);
}

/* ——— More tab ——— */
.app-more { display: flex; flex-direction: column; gap: 12px; }
.app-menu-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.app-menu-card h3 {
  font-size: 13px;
  color: var(--muted);
  padding: 12px 14px 4px;
  font-weight: 700;
}
.app-menu-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
}
.app-menu-row.static { grid-template-columns: 36px 1fr; }
.app-menu-row span:first-child {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--teal-soft);
  display: grid;
  place-items: center;
}
.app-menu-row strong { font-size: 14px; display: block; }
.app-menu-row small { font-size: 12px; color: var(--muted); }

.app-socials {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.app-socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-dark);
}

.app-switch-card {
  background: #fff8f2;
  border: 1px solid #ffe2c8;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}
.app-switch-card p { font-size: 13px; margin-bottom: 10px; }
.app-muted { font-size: 11px; color: var(--muted); margin-top: 10px; }

/* ——— دکمه‌ها (در اپ site.css لود نمی‌شود) ——— */
.app-shell .primary-btn,
.app-shell .secondary-btn,
.app-shell .outline-btn,
.app-shell .donate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.app-shell .primary-btn {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #0d817f);
  box-shadow: 0 10px 24px rgba(21, 156, 154, 0.28);
}
.app-shell .secondary-btn {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  background: #fff;
  color: #173653;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(27, 74, 96, 0.06);
}
.app-shell .outline-btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(21, 156, 154, 0.45);
  background: #fff;
  color: var(--teal-dark);
}
.app-shell .donate-btn {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #ffb25c);
  box-shadow: 0 10px 22px rgba(255, 138, 42, 0.3);
}
.app-shell .primary-btn.sm {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
  width: 100%;
}
.app-shell .primary-btn:active,
.app-shell .secondary-btn:active,
.app-shell .outline-btn:active,
.app-shell .donate-btn:active {
  transform: scale(0.98);
}
.app-shell .center-action { text-align: center; margin-top: 16px; }

.app-shell .tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}
.app-shell .tag.teal { background: var(--teal-soft); color: var(--teal-dark); }
.app-shell .tag.green { background: #edf8e9; color: #69a84f; }
.app-shell .tag.orange { background: var(--orange-soft); color: #e86f10; }

/* ——— صفحات داخلی ——— */
.app-shell .page-hero {
  padding: 4px 0 14px;
  text-align: right;
  margin-bottom: 12px;
}
.app-shell .page-hero .kicker {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: #e86f10;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 8px;
}
.app-shell .page-hero h2 { font-size: 20px; color: #173653; margin: 4px 0; }
.app-shell .page-hero p { font-size: 13px; color: var(--muted); margin: 0; max-width: none; }
.app-shell .content-wrap { padding: 0; max-width: none; }
.app-shell .section-subtitle {
  font-size: 16px;
  color: #173653;
  margin: 0 0 14px;
  font-weight: 800;
}
.app-shell .card-flat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 8px 22px rgba(27, 74, 96, 0.05);
}
.app-shell .floating-donate,
.app-shell .topbar,
.app-shell .footer,
.app-shell .mobile-drawer { display: none !important; }

/* ——— بلاگ — لیست ——— */
.app-shell .blog-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-shell .blog-grid .story-card.blog-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  padding: 0;
  margin: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(27, 74, 96, 0.06);
}
.app-shell .blog-grid .story-img {
  width: 100%;
  height: 150px;
  min-height: 150px;
  border-radius: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--teal-soft);
}
.app-shell .blog-grid .story-body {
  padding: 14px 16px 16px;
}
.app-shell .blog-grid .story-body h4 {
  font-size: 16px;
  color: #173653;
  margin: 6px 0 4px;
  line-height: 1.45;
}
.app-shell .blog-grid .story-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.app-shell .blog-grid .meta-date {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.app-shell .story-link {
  font-size: 13px;
  font-weight: 800;
  color: var(--teal-dark);
}

/* ——— بلاگ — مطلب تکی ——— */
.app-shell .single-post {
  max-width: none;
  margin: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(27, 74, 96, 0.05);
  overflow: hidden;
}
.app-shell .breadcrumb {
  font-size: 12px;
  margin-bottom: 12px;
  line-height: 1.6;
}
.app-shell .post-header h1 {
  font-size: 1.35rem;
  line-height: 1.5;
  color: #173653;
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.app-shell .post-header time {
  font-size: 12px;
  color: var(--muted);
}
.app-shell .post-cover {
  height: 200px;
  border-radius: 14px;
  margin: 14px 0;
  background-size: cover;
  background-position: center;
}
.app-shell .prose {
  line-height: 1.85;
  color: #2a3f52;
  font-size: 14px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.app-shell .prose h1,
.app-shell .prose h2,
.app-shell .prose h3,
.app-shell .prose h4 {
  color: #173653;
  margin: 1.2em 0 0.5em;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.app-shell .prose p,
.app-shell .prose li {
  margin-bottom: 0.75em;
}
.app-shell .prose ul,
.app-shell .prose ol {
  padding-right: 1.25em;
  margin-bottom: 1em;
}
.app-shell .prose img,
.app-shell .prose video,
.app-shell .prose iframe {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.app-shell .prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}
.app-shell .prose blockquote {
  margin: 1em 0;
  padding: 12px 14px;
  border-right: 3px solid var(--teal);
  background: #f8fcfd;
  border-radius: 0 12px 12px 0;
}
.app-shell .prose a {
  color: var(--teal-dark);
  text-decoration: underline;
  word-break: break-word;
}

/* ——— پویش — لیست ——— */
.app-shell .campaign-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-shell .campaign-card {
  display: flex;
  flex-direction: column;
  grid-template-columns: none;
  border-radius: 16px;
  overflow: hidden;
}
.app-shell .campaign-card-img {
  min-height: 140px;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-color: var(--teal-soft);
}
.app-shell .campaign-card-body {
  padding: 14px 16px 16px;
}
.app-shell .campaign-card-body h3 {
  font-size: 16px;
  line-height: 1.45;
  margin: 6px 0;
}
.app-shell .campaign-card-body h3 a {
  color: #173653;
}
.app-shell .campaign-card-body > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}
.app-shell .progress-wrap {
  background: #f8fcfd;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}
.app-shell .progress-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #52616d;
  margin-bottom: 8px;
}
.app-shell .bar {
  height: 8px;
  background: #e7edf1;
  border-radius: 999px;
  overflow: hidden;
}
.app-shell .bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), #85d8d5);
  border-radius: inherit;
}

/* ——— پویش — جزئیات ——— */
.app-shell .campaign {
  padding: 0;
  margin-bottom: 12px;
}
.app-shell .campaign-box {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #f0dfcc;
  background: linear-gradient(180deg, #fff8ef, #fff 40%, #e9fbfa);
  box-shadow: 0 8px 22px rgba(27, 74, 96, 0.06);
}
.app-shell .campaign-child {
  min-height: 160px;
  width: 100%;
  background: #d8ece9 center/cover no-repeat;
}
.app-shell .campaign-child[style*="--campaign-bg"] {
  background-image: var(--campaign-bg);
}
.app-shell .campaign-info {
  padding: 16px;
}
.app-shell .campaign-info small {
  color: var(--teal-dark);
  font-weight: 800;
  font-size: 12px;
}
.app-shell .campaign-info h3 {
  font-size: 18px;
  line-height: 1.45;
  margin: 8px 0;
  color: #173653;
}
.app-shell .campaign-info > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 12px;
}
.app-shell .campaign-cta {
  padding: 20px 16px;
  background: linear-gradient(160deg, #26b9b5, #0d807d);
  color: #fff;
  text-align: center;
}
.app-shell .campaign-cta h4 {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.app-shell .campaign-cta .big-heart {
  font-size: 36px;
  margin-bottom: 4px;
}
.app-shell .campaign-cta .donate-btn {
  width: 100%;
}
.app-shell .campaign .center-action {
  padding: 0 4px;
}
.app-shell .campaign-detail-body {
  margin-top: 0;
  padding: 16px;
  border-radius: 16px;
  overflow: hidden;
}
.app-shell .campaign-detail-body .detail-heading {
  font-size: 16px;
  margin-bottom: 12px;
}
.app-shell .app-page-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-shell .app-page-stack .breadcrumb {
  margin-bottom: 0;
}
.app-shell .app-page-stack .campaign-detail-body {
  margin-top: 0;
}

/* ——— حمایت — ویزارد ——— */
.app-shell .support-wizard {
  padding: 0;
  margin-bottom: 0;
  max-width: none;
}
.app-shell .support-progress {
  margin-bottom: 16px;
}
.app-shell .type-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}
.app-shell .type-card {
  text-align: right;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fafcfd;
}
.app-shell .type-card.selected {
  border-color: var(--teal);
  background: var(--teal-soft);
  box-shadow: 0 6px 18px rgba(21, 156, 154, 0.12);
}
.app-shell .type-card .type-icon {
  font-size: 24px;
  margin-bottom: 4px;
}
.app-shell .type-card h4 {
  font-size: 15px;
  margin: 0 0 4px;
  color: #173653;
}
.app-shell .type-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}
.app-shell .support-wizard .wizard-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  justify-content: space-between;
  align-items: stretch;
}
.app-shell .support-wizard .wizard-actions .primary-btn,
.app-shell .support-wizard .wizard-actions .secondary-btn {
  flex: 1;
  min-height: 48px;
}
.app-shell .support-wizard .wizard-actions > span:empty {
  display: none;
}
.app-shell .support-wizard .contact-form {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.app-shell .support-wizard .contact-form .primary-btn {
  width: 100%;
  margin-top: 8px;
}
.app-shell .contact-form label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin: 10px 0 6px;
}
.app-shell .contact-form input,
.app-shell .contact-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #dce8ec;
  border-radius: 12px;
  font: inherit;
  background: #fff;
}
.app-shell .contact-form textarea {
  min-height: 96px;
  resize: vertical;
}
.app-shell .captcha-box,
.app-shell .form-hint-box,
.app-shell .delivery-notice {
  border-radius: 12px;
  margin: 10px 0;
}
.app-shell .purpose-option {
  border-radius: 12px;
  padding: 12px;
}
.app-shell .purpose-option span {
  font-size: 13px;
  line-height: 1.55;
}
.app-shell .support-success {
  text-align: center;
  padding: 24px 16px;
}
.app-shell .support-success .success-icon {
  font-size: 40px;
  margin-bottom: 8px;
}
.app-shell .form-alert {
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 13px;
}

@media (min-width: 768px) {
  body.app-shell { overflow: auto; }
  .app-frame {
    min-height: 100dvh;
    margin-top: 12px;
    margin-bottom: 12px;
    border-radius: 24px;
    overflow: hidden;
  }
}
