/* Telegram Add Member — sleek modern web UI */
:root {
  /* Same stack as Gemini: Google Sans Flex → Google Sans → Helvetica Neue */
  --font-serif: "Google Sans Flex", "Google Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-sans: "Google Sans Flex", "Google Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font: var(--font-sans);

  /* ChatGPT-like surfaces: soft gray chrome, clean white inside */
  --chatgpt-bg: #f7f7f8;
  --chatgpt-inside: #ffffff;

  --ice-top: var(--chatgpt-bg);
  --ice-bot: var(--chatgpt-bg);
  --ios-bg: var(--chatgpt-bg);
  --ios-elevated: #ffffff;
  --ios-card: #ffffff;
  --ios-ink: #0d0d0d;
  --ios-muted: #6b6b6b;
  --ios-separator: rgba(0, 0, 0, 0.08);
  --border-soft: rgba(0, 0, 0, 0.08);
  --border-sleek: 1px solid rgba(0, 0, 0, 0.08);

  --accent: #229ED9;
  --accent-soft: rgba(34, 158, 217, 0.10);
  --accent-press: #1a8fc4;

  --ios-blue: var(--accent);
  --ios-blue-press: var(--accent-press);
  --ios-green: #22a06b;
  --ios-red: #e5484d;
  --ios-orange: #f59e0b;
  --ios-fill: rgba(0, 0, 0, 0.03);

  --ios-bubble-ai: #ffffff;
  --ios-bubble-user: rgba(34, 158, 217, 0.08);

  --ios-shadow: none;
  --ios-shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.04);
  --ios-radius: 20px;
  --ios-radius-sm: 14px;
  --ios-radius-pill: 999px;

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --phone-max: 720px;

  --fb-blue: var(--accent);
  --fb-blue-soft: var(--accent-soft);
  --fb-mist: var(--chatgpt-bg);
  --mac-title: transparent;
  --mac-toolbar: transparent;
  --mac-border: var(--border-soft);

  --page-bg: var(--chatgpt-bg);
  --panel-bg: #ffffff;
  --panel-border: 1px solid rgba(0, 0, 0, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-sans);
  color: var(--ios-ink);
  background: var(--chatgpt-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }
a:focus-visible,
button:focus-visible,
.chip:focus-visible,
.ios-btn:focus-visible,
.claude-pill:focus-visible,
.ios-icon-btn:focus-visible,
.tabbar a:focus-visible,
.tabbar button:focus-visible,
.claude-mode:focus-visible,
.composer .send:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* —— Stage & column shell —— */
.ios-stage {
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 16px;
  background: var(--chatgpt-bg);
  box-sizing: border-box;
}

.ios-phone {
  width: min(100%, var(--phone-max));
  min-height: calc(100dvh - 32px);
  height: auto;
  max-height: none;
  background: var(--chatgpt-inside);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6) inset, var(--ios-shadow-soft);
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Language shortcut — top-right of app home */
.tam-lang-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  color: var(--ios-ink, #0d0d0d);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.tam-lang-btn:hover,
.tam-lang-btn:focus-visible {
  border-color: rgba(34, 158, 217, 0.45);
  color: #1a8fc4;
  outline: none;
}
.tam-lang-btn svg {
  display: block;
  flex-shrink: 0;
}
.tam-lang-code {
  text-transform: uppercase;
}
[dir="rtl"] .tam-lang-btn {
  right: auto;
  left: 14px;
}

/* Hide status / phone chrome */
.ios-status {
  display: none;
  height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: none;
  flex-shrink: 0;
  order: 1;
}
.ios-status::before,
.ios-status .time,
.ios-status .pills {
  display: none;
}

/* —— Nav —— */
.ios-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px 10px;
  background: transparent;
  color: var(--ios-ink);
  border-bottom: none;
  flex-shrink: 0;
  order: 2;
}

.ios-nav h1 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  font-weight: 650;
  color: var(--ios-ink);
}

.ios-nav .sub {
  margin: 2px 0 0;
  color: var(--ios-muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.ios-nav .sub a {
  color: var(--ios-muted);
  text-decoration: none;
}
.ios-nav .sub a:hover { color: var(--accent); }

.ios-nav .nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.ios-nav .nav-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(34, 158, 217, 0.25);
}
.ios-nav .nav-brand > div { min-width: 0; }

.ios-icon-btn {
  width: 36px;
  height: 36px;
  border: var(--panel-border);
  border-radius: var(--ios-radius-pill);
  background: var(--panel-bg);
  color: var(--ios-ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ios-icon-btn:hover {
  background: var(--accent-soft);
  border-color: rgba(34, 158, 217, 0.28);
  color: var(--accent);
}

/* —— Body —— */
.ios-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 12px 20px 28px;
  scroll-behavior: smooth;
  background: transparent;
  order: 4;
}

.ios-phone:has(.tabbar) .ios-body {
  padding-bottom: 24px;
}

body.ios-home .ios-nav {
  padding-top: calc(12px + var(--safe-top));
}

/* —— Thread & bubbles —— */
.agent-thread {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
}

.bubble {
  max-width: 92%;
  padding: 4px 0;
  border-radius: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  animation: rise 0.3s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.bubble.ai {
  align-self: flex-start;
  background: var(--panel-bg);
  color: var(--ios-ink);
  border: var(--panel-border);
  box-shadow: none;
  border-radius: 16px;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 90%;
}

.bubble.user {
  align-self: flex-end;
  background: rgba(34, 158, 217, 0.06);
  color: var(--ios-ink);
  box-shadow: none;
  border: 1px solid rgba(34, 158, 217, 0.2);
  border-radius: 16px;
  padding: 10px 14px;
  max-width: 85%;
  font-size: 0.95rem;
}

.bubble .label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ios-muted);
  margin-bottom: 6px;
  text-transform: none;
  letter-spacing: 0.01em;
}

.bubble.user .label {
  color: var(--accent);
  text-align: right;
}

.typing {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 8px 2px;
}
.typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.2s infinite ease-in-out;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

/* —— Choices, chips, buttons —— */
.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chip, .ios-btn {
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 550;
}

.chip {
  padding: 9px 16px;
  border-radius: var(--ios-radius-pill);
  background: var(--panel-bg);
  color: var(--ios-ink);
  border: var(--panel-border);
  box-shadow: none;
  font-size: 0.88rem;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.chip:hover {
  background: var(--accent-soft);
  border-color: rgba(34, 158, 217, 0.3);
  color: var(--accent);
}
.chip.is-on,
.chip.scrape-filter-chip.is-on {
  background: rgba(34, 158, 217, 0.14);
  border-color: rgba(34, 158, 217, 0.45);
  color: var(--accent);
  font-weight: 650;
}
.chip:active, .ios-btn:active { transform: translateY(0.5px); }

.scrape-filter {
  margin: 0 0 14px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(242, 242, 247, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: left;
}
.scrape-filter-label {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6e6e73;
}
.scrape-filter-row {
  margin-top: 0;
}
.scrape-filter-hint {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: #6e6e73;
  line-height: 1.4;
}
.scrape-filter-active {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.88rem;
  color: #6e6e73;
}
.scrape-filter-active strong {
  color: var(--accent, #229ED9);
}

.ios-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--ios-radius-sm);
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.28);
  transition: background 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}
.ios-btn:hover {
  background: var(--accent-press);
  box-shadow: 0 6px 18px rgba(34, 158, 217, 0.32);
}
.ios-btn:active { background: #1780b0; }

.ios-btn.secondary {
  background: var(--panel-bg);
  color: var(--ios-ink);
  border: var(--panel-border);
  box-shadow: none;
}
.ios-btn.secondary:hover {
  background: var(--ios-fill);
  border-color: rgba(34, 158, 217, 0.25);
  color: var(--accent);
}

.ios-btn.danger { background: var(--ios-red); box-shadow: 0 4px 14px rgba(229, 72, 77, 0.25); }
.ios-btn.danger:hover { background: #d63a40; }
.ios-btn:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }

/* —— Composer (chat input) —— */
.composer {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  max-width: none;
  transform: none;
  padding: 12px 16px calc(16px + var(--safe-bottom));
  background: var(--chatgpt-bg);
  border-top: 1px solid var(--border-soft);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 80;
  box-sizing: border-box;
  order: 5;
}

body.ios-tool .composer {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, var(--phone-max));
  bottom: 0;
  z-index: 80;
  padding: 12px 16px calc(14px + var(--safe-bottom));
  border-left: none;
  border-right: none;
  border-radius: 0;
  background: var(--chatgpt-bg);
}

.ios-phone.tool-open .tabbar { display: none; }
.ios-phone.tool-open .ios-frame {
  display: block;
  height: 100%;
}

.composer-inner {
  display: flex;
  gap: 8px;
  align-items: center;
  background: var(--panel-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 8px 10px 8px 16px;
  box-shadow: none;
  border: var(--panel-border);
  width: 100%;
  box-sizing: border-box;
}

.composer input[type="text"],
.composer input[type="email"],
.composer input[type="file"],
.composer textarea {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  padding: 8px 0;
  min-width: 0;
  color: var(--ios-ink);
}
.composer input::placeholder,
.composer textarea::placeholder {
  color: var(--ios-muted);
}

.composer .send {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: var(--ios-radius-pill);
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, transform 0.12s ease;
  box-shadow: 0 2px 10px rgba(34, 158, 217, 0.35);
}
.composer .send:hover { background: var(--accent-press); }
.composer .send:active { background: #1780b0; transform: scale(0.96); }

/* —— Tabbar —— */
.tabbar {
  position: relative;
  left: auto; right: auto; bottom: auto;
  height: auto;
  min-height: 48px;
  margin: 10px 12px calc(12px + var(--safe-bottom));
  border-radius: 18px;
  background: var(--panel-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--panel-border);
  box-shadow: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 8px 10px;
  z-index: 25;
  overflow: hidden;
  order: 6;
  flex-shrink: 0;
}

.tabbar a, .tabbar button {
  border: 1px solid transparent;
  background: transparent;
  color: var(--ios-muted);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  text-decoration: none;
  border-radius: 12px;
  min-height: 40px;
  padding: 6px 4px;
  transition: color 0.15s ease, background 0.15s ease;
}
.tabbar a:hover, .tabbar button:hover {
  color: var(--accent);
  background: var(--accent-soft);
  text-decoration: none;
}
.tabbar .ico {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.75;
}
.tabbar .active {
  color: var(--accent);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  font-weight: 650;
}
.tabbar .active .ico {
  opacity: 1;
  color: var(--accent);
}

/* —— Cards & lists —— */
.ios-card {
  background: var(--panel-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--ios-radius);
  padding: 18px;
  border: var(--panel-border);
  box-shadow: none;
}

.ios-list {
  background: var(--panel-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--ios-radius);
  overflow: hidden;
  border: var(--panel-border);
  box-shadow: none;
}

.ios-list a, .ios-list button.row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: none;
  background: transparent;
  border-bottom: 1px solid var(--ios-separator);
  text-align: left;
  font: inherit;
  color: var(--ios-ink);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.12s ease;
}
.ios-list a:hover, .ios-list button.row:hover {
  background: var(--ios-fill);
  text-decoration: none;
}
.ios-list a:last-child, .ios-list button.row:last-child { border-bottom: none; }

.ios-list .glyph {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.ios-list .glyph.blue { background: var(--accent); }
.ios-list .glyph.green { background: #3db8e8; }
.ios-list .glyph.orange { background: #5eb8e0; }
.ios-list .glyph.purple { background: #1a8fc4; }

.ios-list .meta { flex: 1; min-width: 0; }
.ios-list .meta strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 650;
}
.ios-list .meta span {
  color: var(--ios-muted);
  font-size: 0.78rem;
}
.ios-list .chev { color: var(--ios-muted); }

.progress-pills {
  display: flex;
  gap: 6px;
  margin: 4px 0 12px;
}
.progress-pills i {
  height: 4px;
  flex: 1;
  border-radius: 2px;
  background: var(--ios-fill);
}
.progress-pills i.on { background: var(--accent); }

.hidden { display: none !important; }

.ios-frame {
  flex: 1;
  width: 100%;
  border: none;
  background: transparent;
  order: 4;
}

/* —— Landing (claude-* class names preserved) —— */
.claude-landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 20px 24px;
  text-align: center;
  box-sizing: border-box;
}

.claude-hello {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 12px;
  flex-wrap: wrap;
}

.claude-sub {
  margin: 0 0 22px;
  max-width: 32rem;
  line-height: 1.45;
  font-size: 0.92rem;
  color: var(--ios-muted);
  text-align: center;
  padding: 0 4px;
}

.claude-star {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--accent);
  fill: var(--accent);
  display: block;
  filter: drop-shadow(0 2px 8px rgba(34, 158, 217, 0.35));
}
.claude-star svg {
  width: 100%;
  height: 100%;
  display: block;
}

.claude-hello h1,
.claude-hello .claude-greeting {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ios-ink);
}

.claude-composer {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: var(--panel-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: var(--panel-border);
  border-radius: 22px;
  box-shadow: none;
  padding: 16px 16px 12px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.claude-composer-input {
  width: 100%;
  min-height: 64px;
  border: none;
  outline: none;
  resize: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ios-muted);
  padding: 4px 2px 0;
  box-sizing: border-box;
}
.claude-composer-input::placeholder {
  color: var(--ios-muted);
  opacity: 1;
}

.claude-composer-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 2px;
}

.claude-composer-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.claude-composer-bar .claude-attach,
.claude-composer-bar .ios-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--ios-radius-pill);
  border: var(--panel-border);
  background: var(--panel-bg);
  color: var(--ios-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}
.claude-composer-bar .claude-attach:hover,
.claude-composer-bar .ios-icon-btn:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: rgba(34, 158, 217, 0.28);
}

.claude-mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--ios-radius-pill);
  border: 1px solid var(--border-soft);
  background: #fff;
  color: var(--ios-muted);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 550;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.claude-mode:hover {
  background: var(--ios-fill);
  color: var(--ios-ink);
}
.claude-mode.is-on {
  background: var(--accent-soft);
  border-color: rgba(34, 158, 217, 0.4);
  color: var(--accent);
}

.claude-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 2px;
}

.claude-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--ios-radius-pill);
  border: var(--panel-border);
  background: var(--panel-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--ios-ink);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.claude-pill:hover {
  background: rgba(34, 158, 217, 0.06);
  border-color: rgba(34, 158, 217, 0.35);
  color: var(--accent);
  text-decoration: none;
}

.claude-hint {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: var(--ios-muted);
  line-height: 1.45;
  max-width: 28em;
}

/* —— Trial SEO —— */
.trial-seo {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 20px 48px;
  color: var(--ios-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.trial-seo h1 {
  color: var(--ios-ink);
  font-family: var(--font-sans);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
}
.trial-seo h2 {
  color: var(--ios-ink);
  font-size: 1.05rem;
  font-weight: 650;
  margin: 1.35rem 0 0.4rem;
}
.trial-seo a { color: var(--accent); }
.trial-seo .cite {
  background: var(--panel-bg);
  border: var(--panel-border);
  border-radius: var(--ios-radius);
  padding: 0.95rem 1.05rem;
  margin: 0.85rem 0 0;
  box-shadow: var(--ios-shadow-soft);
}
.trial-seo ul { margin: 0.4rem 0 0; padding-left: 1.15rem; }
.trial-seo li { margin: 0.25rem 0; }

/* —— Tool pages —— */
body.ios-tool {
  background: var(--chatgpt-bg) !important;
  background-attachment: fixed !important;
  min-height: 100dvh;
  font-family: var(--font-sans) !important;
}

body.ios-tool .centered-content,
body.ios-tool .page-wrap,
body.ios-tool .login-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 18px 40px !important;
}

body.ios-tool .input-card,
body.ios-tool .page-card,
body.ios-tool .login-card,
body.ios-tool .modal-content,
body.ios-tool #modalContent {
  border: 1px solid var(--border-soft) !important;
  border-radius: var(--ios-radius) !important;
  box-shadow: var(--ios-shadow) !important;
  background: #fff !important;
}

body.ios-tool .wide-text-input,
body.ios-tool input[type="text"],
body.ios-tool input[type="email"] {
  border-radius: var(--ios-radius-sm) !important;
  border: 1px solid var(--border-soft) !important;
  background: #fff !important;
  padding: 12px 14px !important;
  font-family: var(--font-sans);
}

body.ios-tool .btn-next,
body.ios-tool .button-link,
body.ios-tool .btn,
body.ios-tool .redirect-button,
body.ios-tool .scrape-btn,
body.ios-tool .modal-buttons a,
body.ios-tool .modal-buttons button {
  border-radius: var(--ios-radius-sm) !important;
  background: var(--accent) !important;
  min-height: 44px;
  font-weight: 600 !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.28);
}

body.ios-tool .buy-btn {
  background: #fff !important;
  color: var(--ios-ink) !important;
  border: 1px solid var(--border-soft) !important;
  box-shadow: none !important;
}

/* —— Agent results, progress, sheets —— */
.agent-screen {
  max-width: 720px;
  margin: 16px auto;
  min-height: calc(100dvh - 32px);
  padding: 20px 20px 48px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--ios-radius);
  box-shadow: var(--ios-shadow);
}

@media (max-width: 720px) {
  .agent-screen {
    margin: 0;
    min-height: 100dvh;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
}

.agent-status-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--ios-muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ios-separator);
}

.ios-progress {
  background: var(--ios-fill);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
  margin: 10px 0 14px;
  position: relative;
}

.ios-progress .progress-bar,
.ios-progress #progress-bar,
.progress-bar {
  height: 100% !important;
  background: var(--accent) !important;
  border-radius: 999px !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  border: none !important;
  transition: width 0.2s ease;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 650;
  margin-bottom: 4px;
}

.progress-meta #progressPercent,
.progress-meta .pct {
  color: var(--accent);
}

.id-sheet {
  background: #fff;
  border-radius: var(--ios-radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--ios-shadow-soft);
  max-height: 52vh;
  overflow-y: auto;
}

.id-sheet table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 !important;
}

.id-sheet th {
  position: sticky;
  top: 0;
  background: var(--ios-fill) !important;
  color: var(--ios-muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none !important;
  padding: 10px 14px !important;
  text-align: left !important;
}

.id-sheet td {
  border: none !important;
  border-bottom: 1px solid var(--ios-separator) !important;
  padding: 12px 14px !important;
  text-align: left !important;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
}

.id-sheet tr:last-child td { border-bottom: none !important; }
.id-sheet td:first-child {
  color: var(--ios-muted);
  width: 52px;
  font-weight: 600;
}

/* —— Modals —— */
.modal,
#popup-modal,
#activateModal,
#trialModal {
  background: rgba(15, 23, 42, 0.32) !important;
  backdrop-filter: blur(8px);
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.modal[style*="block"],
#popup-modal[style*="block"],
#activateModal[style*="block"],
#trialModal[style*="block"] {
  display: flex !important;
}

.modal-content,
#modalContent,
#activateModalContent,
#popup-modal .modal-content {
  width: min(100%, 720px) !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 22px 22px 0 0 !important;
  padding: 20px 18px calc(22px + var(--safe-bottom)) !important;
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.1) !important;
  text-align: left !important;
  background: #ffffff !important;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ios-fill);
  display: grid !important;
  place-items: center;
  color: var(--ios-ink) !important;
  font-weight: 600;
  top: 14px !important;
  right: 14px !important;
  border: 1px solid var(--border-soft);
}

.modal-title,
#modalContent h2,
#activateModalContent h2 {
  font-family: var(--font-sans);
  font-size: 1.35rem !important;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 8px 0 10px !important;
}

.modal-text,
#modalContent p,
#activateModalContent p {
  color: var(--ios-muted) !important;
  line-height: 1.5;
  font-size: 0.95rem !important;
}

.modal-buttons {
  display: grid !important;
  gap: 8px !important;
  margin-top: 14px !important;
}

.modal-buttons a,
.modal-buttons button,
.modal-btn,
.save-csv-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--ios-radius-sm) !important;
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.28);
}

.modal-buttons a#modal-buy,
.buy-btn {
  background: #fff !important;
  color: var(--ios-ink) !important;
  border: 1px solid var(--border-soft) !important;
  box-shadow: none !important;
}

.save-csv-container {
  display: none;
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 0 12px;
  padding: 10px 0 2px;
  background: linear-gradient(180deg, var(--ice-bot) 70%, rgba(245, 248, 251, 0.85) 100%);
}
.save-csv-container.is-visible { display: block; }
.save-csv-container .ios-btn,
.save-csv-container .save-csv-button {
  width: 100%;
  margin: 0;
}

#progressOverlay {
  background: rgba(238, 243, 248, 0.96) !important;
  backdrop-filter: blur(12px);
  padding: 24px !important;
}

#progressOverlay h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem !important;
  font-weight: 700;
  letter-spacing: -0.03em;
}

#progressOverlay .progress-container,
.progress-container {
  width: 100% !important;
  max-width: 320px;
  height: 10px !important;
  border: none !important;
  background: var(--ios-fill) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  overflow: hidden;
}

body.ios-tool .centered-content,
body.ios-tool .input-card {
  max-width: 720px !important;
  border-radius: var(--ios-radius) !important;
  box-shadow: var(--ios-shadow) !important;
}

body.ios-tool .page-title,
body.ios-tool h3 {
  letter-spacing: -0.02em;
  font-weight: 650;
}

.info-table,
.csv-table {
  width: 100% !important;
  border-collapse: collapse !important;
  overflow: hidden;
  border-radius: var(--ios-radius);
  background: #fff;
  border: 1px solid var(--border-soft);
}

.info-table th,
.info-table td,
.csv-table th,
.csv-table td {
  border: none !important;
  border-bottom: 1px solid var(--ios-separator) !important;
  padding: 12px 14px !important;
}

.info-table th {
  background: transparent !important;
  color: var(--ios-muted);
  text-align: left !important;
}
.csv-table th { background: var(--ios-fill) !important; }

/* —— Chat hero / listing cards —— */
.chat-hero {
  text-align: left;
  overflow: hidden;
}

.chat-hero .chat-photo,
.chat-photo {
  width: 72px !important;
  height: 72px !important;
  max-width: 72px !important;
  object-fit: cover;
  border-radius: var(--ios-radius) !important;
  margin: 0 !important;
  display: block;
  flex-shrink: 0;
  box-shadow: none;
  background: var(--ios-fill);
  border: 1px solid var(--border-soft);
}

.chat-photo.placeholder {
  background: linear-gradient(145deg, #7ec8e8, var(--accent));
}

.chat-card,
.ios-card.chat-hero,
.ios-card.chat-card {
  padding: 18px !important;
  overflow: hidden;
}

.chat-card-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  width: 100%;
}

.chat-card-body {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.chat-card-title,
.chat-hero .page-title,
.chat-hero h2.page-title,
.chat-hero h3,
.input-card .page-title,
.input-card .page-title h3 {
  margin: 0 0 4px !important;
  padding: 0 !important;
  font-size: 1.08rem !important;
  font-weight: 650 !important;
  letter-spacing: -0.02em;
  line-height: 1.3 !important;
  color: var(--ios-ink);
  text-align: left !important;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  hyphens: auto;
}

.chat-card-user {
  margin: 0 0 10px;
  font-size: 0.88rem;
  font-weight: 550;
  color: var(--accent);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-card-meta,
.chat-hero .info-table {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 !important;
}

.chat-card-meta .chat-pill,
.chat-hero .info-table tr {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ios-fill);
  border: 1px solid var(--border-soft);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ios-ink);
  line-height: 1.2;
}

.chat-hero .info-table th,
.chat-hero .info-table td {
  display: inline;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  font-size: inherit !important;
  color: inherit !important;
  width: auto !important;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.chat-hero .info-table th {
  color: var(--ios-muted) !important;
  font-weight: 600 !important;
}

.chat-hero .info-table th::after { content: ": "; }

.chat-card-actions { margin-top: 14px; }
.chat-card-actions .ios-btn,
.chat-card-actions .button-link {
  width: 100%;
  text-align: center;
}

.input-card .chat-card-main { margin-bottom: 4px; }

body.ios-tool .input-card,
body.ios-tool .input-card.chat-card {
  overflow: hidden !important;
  max-width: 100% !important;
  width: 100%;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--ios-radius);
  box-shadow: var(--ios-shadow);
  padding: 18px;
  text-align: left;
}

body.ios-tool .centered-content {
  padding-left: 12px !important;
  padding-right: 12px !important;
  box-sizing: border-box;
  width: 100%;
}

/* —— Status / error cards —— */
.status-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--ios-radius);
  box-shadow: var(--ios-shadow);
  padding: 28px 22px 22px;
  text-align: center;
  overflow: hidden;
}
.status-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.3);
  background: var(--accent);
}
.status-card--warning .status-card-icon {
  background: var(--ios-orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}
.status-card--info .status-card-icon {
  background: #5eb8e0;
}
.status-card-title {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--ios-ink);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.status-card-text {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ios-muted);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.status-card-text strong {
  color: var(--ios-ink);
  font-weight: 650;
}
.status-card-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin: 0 auto 18px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--ios-fill);
  border: 1px solid var(--border-soft);
  box-sizing: border-box;
}
.status-card-hint code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent);
  overflow-wrap: anywhere;
  word-break: break-all;
}
.status-card-btn {
  width: 100%;
  text-decoration: none !important;
}
.status-card-support {
  margin: 14px 0 0;
  font-size: 0.82rem;
  color: var(--ios-muted);
}
.status-card-support a {
  color: var(--accent);
  font-weight: 650;
  text-decoration: none;
}

/* —— Controls —— */
.control-sheet .control-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--ios-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.slider-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.slider-row input[type="range"] {
  flex: 1;
  accent-color: var(--accent);
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  background: var(--ios-fill);
  border-radius: var(--ios-radius);
  padding: 8px;
}

.segmented .seg-label {
  width: 100%;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--ios-muted);
  padding: 0 4px 2px;
}

.segmented .seg-opt {
  flex: 1;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 10px 8px;
  font-weight: 500;
  font-size: 0.92rem;
  border: 1px solid transparent;
}

.segmented .seg-opt input { margin-right: 4px; }

#activateSoftware.button-link,
#activateBtn {
  width: 100%;
  border-radius: var(--ios-radius-sm) !important;
  background: var(--accent) !important;
  color: #fff !important;
  border: none !important;
  min-height: 44px;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.28);
}

#accountPopup {
  display: none;
  position: fixed !important;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.32) !important;
  backdrop-filter: blur(8px);
  align-items: flex-end;
  justify-content: center;
}

#accountPopup[style*="flex"] {
  display: flex !important;
}

#accountPopup .popup-card,
#accountPopup .modal-content {
  width: min(100%, 720px) !important;
  border-radius: 22px 22px 0 0 !important;
  background: #ffffff !important;
  padding: 20px 18px calc(22px + var(--safe-bottom)) !important;
  text-align: left !important;
}

#telegramLoginWidget {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}

#progressOverlay {
  position: relative !important;
  inset: auto !important;
  min-height: auto !important;
  background: transparent !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  display: block;
}

#removedLine { display: none; }

/* Mild ATM / pro1 skin — Telegram-neutral */
body.atm-skin .chip {
  border-radius: var(--ios-radius-pill);
  background: #fff;
  border: 1px solid var(--border-soft);
  color: var(--ios-ink);
  font-weight: 550;
}
body.atm-skin .ios-btn { border-radius: var(--ios-radius-sm); }
body.atm-skin .progress-pills i {
  height: 4px;
  border-radius: 2px;
  background: var(--ios-fill);
}
body.atm-skin .progress-pills i.on { background: var(--accent); }
body.atm-skin .bubble.ai {
  border-left: 3px solid var(--accent);
  background: var(--ios-bubble-ai);
}
body.atm-skin .bubble .label {
  color: var(--ios-muted);
  letter-spacing: 0.01em;
  text-transform: none;
}
body.atm-skin .ios-list .glyph { border-radius: 10px; }
body.atm-skin .tabbar .active {
  border-color: transparent;
  color: var(--accent);
}
body.atm-skin .agent-status-line {
  color: var(--ios-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
body.atm-skin .id-sheet {
  border-radius: var(--ios-radius);
  border: 1px solid var(--border-soft);
}
body.atm-skin .composer-inner { border-radius: 20px; }
body.atm-skin .composer .send {
  border-radius: var(--ios-radius-pill);
  background: var(--accent);
}

/* Tool wrappers used in scrape/add flows */
body.ios-tool > div[style*="max-width"] {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--ios-radius);
  margin-top: 16px !important;
  margin-bottom: 16px !important;
  box-shadow: var(--ios-shadow);
  min-height: calc(100dvh - 32px);
  box-sizing: border-box;
}
@media (max-width: 720px) {
  body.ios-tool > div[style*="max-width"] {
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    min-height: 100dvh;
    background: transparent;
  }
}

/* —— Embedded iframe —— */
html.ios-embed,
body.ios-embed {
  background: #ffffff !important;
  background-attachment: fixed !important;
  height: 100%;
}
body.ios-embed .ios-stage {
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: transparent;
  align-items: stretch;
}
body.ios-embed .ios-phone {
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 100%;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
body.ios-embed .ios-status,
body.ios-embed .ios-nav,
body.ios-embed > .ios-stage > .ios-phone > .tabbar,
body.ios-embed .ios-phone > .tabbar {
  display: none !important;
}
body.ios-embed .ios-body {
  order: 1;
  flex: 1;
  padding: 16px 18px 24px;
  background: transparent;
}
body.ios-embed .composer {
  order: 2;
  border-left: none;
  border-right: none;
  border-radius: 0;
  position: sticky;
  bottom: 0;
}
body.ios-embed.ios-tool {
  background: var(--chatgpt-inside) !important;
}
body.ios-embed.ios-tool > div[style*="max-width"],
body.ios-embed .agent-screen {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 100% !important;
  background: transparent !important;
}
body.ios-embed.ios-tool .composer {
  left: 0;
  transform: none;
  width: 100%;
  border-left: none;
  border-right: none;
  border-radius: 0;
}

/* —— Responsive —— */
@media (max-width: 720px) {
  .ios-stage {
    padding: 10px;
    background: var(--chatgpt-bg);
  }
  .ios-phone {
    width: 100%;
    min-height: calc(100dvh - 20px);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: var(--chatgpt-inside);
    box-shadow: var(--ios-shadow-soft);
  }
  body.ios-tool .composer {
    width: calc(100% - 20px);
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 18px;
  }
  .tabbar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    margin: 8px 10px calc(10px + var(--safe-bottom));
    padding: 6px 8px;
    border-radius: 16px;
  }
  .tabbar a, .tabbar button {
    font-size: 0.65rem;
    gap: 2px;
    padding: 6px 2px;
  }
  .ios-body { padding: 10px 14px 20px; }
  .ios-nav { padding: 12px 14px 6px; }
  .claude-landing {
    min-height: min(65dvh, 480px);
    padding: 24px 4px 32px;
  }
  .claude-composer { border-radius: 20px; }
  .claude-pills { gap: 6px; }
  .claude-pill {
    font-size: 0.82rem;
    padding: 8px 12px;
  }
}

@media (max-width: 420px) {
  .tabbar a .ico, .tabbar button .ico { display: none; }
  .claude-hello {
    flex-direction: column;
    gap: 8px;
  }
  .bubble { max-width: 100%; }
}

/* Pricing / payment polish */
.plan-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.plan-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #34AADF, #229ED9 55%, #0088CC);
  border-radius: 3px 0 0 3px;
}
.plan-card:hover {
  transform: translateY(-1px);
  box-shadow: none;
  border-color: rgba(34, 158, 217, 0.28);
  background: rgba(34, 158, 217, 0.04);
}
.plan-price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 8px 0 10px;
  color: #229ED9;
  font-variant-numeric: tabular-nums;
}
.coin-tab {
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.coin-tab:hover {
  border-color: rgba(34, 158, 217, 0.35);
  color: var(--ios-ink);
}

@media (prefers-reduced-motion: reduce) {
  .bubble,
  .typing span,
  .composer .send,
  .ios-btn,
  .chip,
  .plan-card {
    animation: none !important;
    transition: none !important;
  }
}

/* RTL (Arabic) */
[dir="rtl"] .ios-nav,
[dir="rtl"] .claude-composer-bar,
[dir="rtl"] .claude-composer-left,
[dir="rtl"] .choice-row,
[dir="rtl"] .ios-list .row,
[dir="rtl"] .agent-thread .bubble.ai {
  direction: rtl;
}
[dir="rtl"] .ios-icon-btn {
  transform: scaleX(-1);
}
[dir="rtl"] .ios-list .row .chev {
  transform: scaleX(-1);
}
[dir="rtl"] .claude-hello,
[dir="rtl"] .claude-pills {
  direction: rtl;
}
[dir="rtl"] .tabbar {
  direction: rtl;
}
[dir="rtl"] .howto-faq summary {
  text-align: right;
}
