/* Doxtudio extension pages on doxtudio.com: follow the site's light/dark switch, and add the site bar. */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff; --surface: #f5f6fb; --surface-hover: #eceef8; --border: #e3e5ef; --text: #151827; --muted: #676c82;
  --brand: #4f46e5; --brand-2: #7c3aed; --brand-soft: #eef0ff; --on-brand: #ffffff; --danger: #d92d20;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #13141b; --surface: #1b1d27; --surface-hover: #242735; --border: #2b2e3c; --text: #eceef6; --muted: #9a9fb4;
  --brand: #8b84ff; --brand-2: #a78bfa; --brand-soft: #25264a; --on-brand: #0f1020; --danger: #ff6b5e;
}
.dx-sitebar { display: flex; align-items: center; gap: 12px; padding: 10px 18px; border-bottom: 1px solid var(--border);
  background: var(--bg); position: relative; z-index: 5; }
.dx-sitebar .dx-home { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--text); text-decoration: none; }
.dx-sitebar .dx-home svg { width: 26px; height: 26px; }
.dx-sitebar .dx-name { color: var(--muted); font-weight: 600; padding-left: 12px; border-left: 1px solid var(--border); }
.dx-sitebar .dx-ext { margin-left: auto; font-size: 13px; color: var(--brand); text-decoration: none; white-space: nowrap; }
.dx-sitebar .dx-ext:hover { text-decoration: underline; }
.dx-sitebar .pro-badge { margin-left: 0; }
@media (max-width: 640px) { .dx-sitebar .dx-ext, .dx-sitebar .dx-name { display: none; } .dx-sitebar .pro-badge { margin-left: auto; } }
/* the extension shows its intro only after install; the website always shows it (it holds the page heading) */
#hero.hero[hidden] { display: block !important; }
.dx-faq { max-width: 1100px; margin: 28px auto; padding: 0 16px; }
.dx-faq h2 { font-size: 18px; }
.dx-faq details { border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; margin: 8px 0; background: var(--surface); }
.dx-faq summary { cursor: pointer; font-weight: 600; }
/* Screenshot Editor: choosing the picture */
.stage { position: relative; }
.web-picker { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; }
.web-drop { max-width: 560px; width: 100%; display: grid; gap: 12px; justify-items: center; text-align: center; padding: 40px 28px;
  border: 2px dashed var(--border); border-radius: 18px; background: var(--surface); outline: none; }
.web-picker.over .web-drop { border-color: var(--brand); background: var(--brand-soft); }
.web-drop b { font-size: 20px; }
.web-drop span, .web-drop small { color: var(--muted); }
.web-drop small a { color: var(--brand); }
.web-drop kbd { padding: 1px 6px; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 5px; font: 12px ui-monospace, Consolas, monospace; }
.web-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 6px 0; }
.web-intro { max-width: 1100px; margin: 18px auto 0; padding: 0 16px; }
.web-intro h1 { margin: 0 0 4px; font-size: 24px; }
.web-intro p { margin: 0; color: var(--muted); }
