/* QT Funded customer-facing support theme. */

body.qt-dev-preview {
  --qt-brand-ink: #0a0f0d;
  --qt-brand-forest: #00664c;
  --qt-brand-emerald: #00c88a;
  --qt-brand-mint: #9affd1;
  --qt-canvas: #f4f5f4;
  --qt-surface: #ffffff;
  --qt-surface-soft: #f7f8f8;
  --qt-text: #0a0f0d;
  --qt-text-muted: #5b6b66;
  --qt-line: #dfe7e3;
  --qt-border: #eef2f0;
  --qt-success: #166534;
  --qt-warning: #9a5a00;
  --qt-error: #b42318;
  margin: 0;
  background: var(--qt-canvas);
  color: var(--qt-text);
  font-family: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.qt-dev-preview *,
body.qt-dev-preview *::before,
body.qt-dev-preview *::after {
  box-sizing: border-box;
}

body.qt-dev-preview a {
  color: var(--qt-brand-forest);
  text-underline-offset: 0.18em;
}

body.qt-dev-preview a:hover {
  color: #004d3a;
}

body.qt-dev-preview :where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--qt-brand-forest);
  outline-offset: 3px;
}

body.qt-dev-preview .header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--qt-border);
  box-shadow: 0 8px 28px rgba(10, 15, 13, 0.04);
  backdrop-filter: blur(16px);
}

body.qt-dev-preview .header-inner {
  width: min(1200px, calc(100% - 48px));
  max-width: none;
  min-height: 76px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 28px;
}

body.qt-dev-preview .header-logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--qt-text);
}

body.qt-dev-preview .header-logo-img {
  width: 132px;
  height: 28px;
  object-fit: cover;
  object-position: center;
  filter: invert(1);
  opacity: 0.84;
}

body.qt-dev-preview .header-product-name {
  padding-left: 16px;
  border-left: 1px solid var(--qt-line);
  color: var(--qt-text-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

body.qt-dev-preview .header-nav {
  justify-self: end;
}

body.qt-dev-preview .header-link {
  color: var(--qt-text-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
}

body.qt-dev-preview .header-link:hover {
  color: var(--qt-brand-forest);
}

body.qt-dev-preview .header-inner > .header-link:last-child {
  justify-self: end;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--qt-brand-emerald);
  border-radius: 8px;
  background: var(--qt-brand-emerald);
  color: var(--qt-brand-ink);
  font-weight: 700;
}

body.qt-dev-preview .header-inner > .header-link:last-child:hover {
  background: #00b77e;
  border-color: #00b77e;
  color: var(--qt-brand-ink);
}

body.qt-dev-preview .main-content {
  min-height: calc(100vh - 156px);
  background: var(--qt-canvas);
}

body.qt-dev-preview .hero {
  min-height: 352px;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 35%, rgba(154, 255, 209, 0.58), transparent 24%),
    radial-gradient(circle at 68% 105%, rgba(0, 200, 138, 0.12), transparent 34%),
    var(--qt-canvas);
  border-bottom: 1px solid rgba(0, 102, 76, 0.06);
}

body.qt-dev-preview .hero-bg,
body.qt-dev-preview .hero-overlay {
  display: none;
}

body.qt-dev-preview .hero-content {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 86px;
  text-align: left;
}

body.qt-dev-preview .hero h1 {
  max-width: 780px;
  margin: 0 0 18px;
  color: var(--qt-brand-forest);
  font-size: clamp(44px, 5.4vw, 64px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.045em;
  text-transform: none;
}

body.qt-dev-preview .text-gradient {
  color: inherit;
  font-style: normal;
}

body.qt-dev-preview .hero p {
  max-width: 620px;
  margin: 0 0 32px;
  color: var(--qt-text-muted);
  font-size: 18px;
  line-height: 1.5;
}

body.qt-dev-preview .search-wrapper {
  max-width: 720px;
  margin: 0;
}

body.qt-dev-preview.qt-support-contact .hero {
  min-height: 260px;
}

body.qt-dev-preview.qt-support-contact .hero-content {
  padding-bottom: 64px;
}

body.qt-dev-preview.qt-support-contact .search-wrapper {
  display: none;
}

body.qt-dev-preview .search-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 6px;
  border: 1px solid var(--qt-line);
  border-radius: 12px;
  background: var(--qt-surface);
  box-shadow: 0 12px 36px rgba(10, 15, 13, 0.08);
}

body.qt-dev-preview .search-box::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-left: 12px;
  flex: 0 0 20px;
  border: 2px solid var(--qt-text-muted);
  border-radius: 50%;
  opacity: 0.8;
}

body.qt-dev-preview .search-box::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 33px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: var(--qt-text-muted);
  transform: rotate(45deg);
  opacity: 0.8;
  pointer-events: none;
}

body.qt-dev-preview .search-box input[type="search"] {
  min-width: 0;
  height: 44px;
  flex: 1;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--qt-text);
  font: inherit;
  outline: 0;
}

body.qt-dev-preview .search-box input[type="search"]::placeholder {
  color: var(--qt-text-muted);
  opacity: 1;
}

body.qt-dev-preview .search-box input[type="search"]:focus-visible {
  outline: 0;
}

body.qt-dev-preview .search-box:focus-within {
  border-color: var(--qt-brand-forest);
  box-shadow: 0 0 0 3px rgba(0, 102, 76, 0.12), 0 12px 36px rgba(10, 15, 13, 0.08);
}

body.qt-dev-preview .search-box input[type="submit"] {
  position: static;
  width: auto;
  height: 44px;
  margin: 0;
  padding: 0 20px;
  clip: auto;
  overflow: visible;
  border: 0;
  border-radius: 8px;
  background: var(--qt-brand-emerald);
  color: var(--qt-brand-ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

body.qt-dev-preview .categories-grid {
  width: min(1200px, calc(100% - 48px));
  max-width: none;
  margin: -34px auto 72px;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.qt-dev-preview .category-card {
  min-height: 220px;
  padding: 24px;
  gap: 32px;
  border: 1px solid var(--qt-border);
  border-radius: 12px;
  background: var(--qt-surface);
  color: var(--qt-text);
  box-shadow: 0 8px 28px rgba(10, 15, 13, 0.04);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

body.qt-dev-preview .category-card:hover {
  border-color: rgba(0, 102, 76, 0.3);
  color: var(--qt-text);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(10, 15, 13, 0.08);
}

body.qt-dev-preview .category-card:focus-visible {
  border-color: var(--qt-brand-forest);
  outline: 2px solid var(--qt-brand-forest);
  outline-offset: 3px;
}

body.qt-dev-preview .category-icon {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: rgba(154, 255, 209, 0.52);
  color: var(--qt-brand-forest);
}

body.qt-dev-preview .category-card h2,
body.qt-dev-preview .category-card h3 {
  margin: 0 0 8px;
  color: var(--qt-brand-forest);
  font-size: clamp(22px, 2.2vw, 27px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-transform: none;
}

body.qt-dev-preview .category-card p {
  margin: 0;
  color: var(--qt-text-muted);
  font-size: 16px;
  line-height: 1.5;
}

body.qt-dev-preview .content-shell,
body.qt-dev-preview main.content-shell {
  width: min(1200px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
  padding: 40px 0 80px;
}

body.qt-dev-preview .breadcrumbs {
  margin: 0 0 24px;
  color: var(--qt-text-muted);
  font-size: 13px;
}

body.qt-dev-preview .breadcrumbs a {
  color: var(--qt-brand-forest);
  text-decoration: underline;
  text-decoration-color: rgba(0, 102, 76, 0.28);
}

body.qt-dev-preview .section-list,
body.qt-dev-preview .results {
  gap: 14px;
}

body.qt-dev-preview .section-block,
body.qt-dev-preview .result,
body.qt-dev-preview .article {
  border: 1px solid var(--qt-border);
  border-radius: 12px;
  background: var(--qt-surface);
  color: var(--qt-text);
  box-shadow: 0 8px 28px rgba(10, 15, 13, 0.04);
}

body.qt-dev-preview .section-block,
body.qt-dev-preview .result {
  padding: 22px 24px;
}

body.qt-dev-preview .section-block h2,
body.qt-dev-preview .result h2 {
  margin: 0 0 10px;
  color: var(--qt-brand-forest);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.02em;
}

body.qt-dev-preview .section-block h2 a,
body.qt-dev-preview .result h2 a {
  color: inherit;
}

body.qt-dev-preview .result p {
  margin: 0;
  color: var(--qt-text-muted);
}

body.qt-dev-preview .article-list li + li {
  border-top-color: var(--qt-border);
}

body.qt-dev-preview .article-list a {
  padding: 13px 0;
  color: var(--qt-text);
}

body.qt-dev-preview .article-list a:hover {
  color: var(--qt-brand-forest);
}

body.qt-dev-preview .article {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(26px, 5vw, 52px);
}

body.qt-dev-preview .article h1 {
  margin: 0 0 12px;
  color: var(--qt-brand-forest);
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.035em;
}

body.qt-dev-preview .article .meta {
  margin-bottom: 28px;
  color: var(--qt-text-muted);
}

body.qt-dev-preview .article-body {
  max-width: 900px;
  color: var(--qt-text);
  font-size: 16px;
  line-height: 1.65;
}

body.qt-dev-preview .article-body h2 {
  margin-top: 32px;
  color: var(--qt-brand-forest);
  font-size: 28px;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.02em;
}

body.qt-dev-preview .article-body h3 {
  margin-top: 30px;
  color: var(--qt-brand-forest);
  font-size: 22px;
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.02em;
}

body.qt-dev-preview .article-body :where(h2, h3) * {
  color: inherit !important;
  font: inherit !important;
  text-decoration: none !important;
}

body.qt-dev-preview .article-body a,
body.qt-dev-preview .article-body a:visited {
  color: var(--qt-text) !important;
  text-decoration: underline;
  text-decoration-color: var(--qt-brand-emerald);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

body.qt-dev-preview .article-body a * {
  color: inherit !important;
  text-decoration-color: inherit !important;
}

body.qt-dev-preview .article-body a:hover {
  color: var(--qt-brand-forest) !important;
  text-decoration-color: var(--qt-brand-emerald);
}

body.qt-dev-preview .article-body :where(img, video, iframe) {
  border-color: var(--qt-border);
  border-radius: 10px;
  background: var(--qt-surface-soft);
}

body.qt-dev-preview .article-body table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

body.qt-dev-preview .article-body th,
body.qt-dev-preview .article-body td {
  min-width: 132px;
  border-color: var(--qt-line);
  padding: 10px 12px;
  text-align: left;
}

body.qt-dev-preview .article-body th {
  background: var(--qt-surface-soft);
  color: var(--qt-brand-forest);
}

body.qt-dev-preview .request-shell {
  width: 100%;
  max-width: none;
  margin: 0;
}

body.qt-dev-preview .request-form {
  gap: 16px;
}

body.qt-dev-preview .request-form label {
  gap: 7px;
  color: #33443e;
  font-size: 13px;
  font-weight: 600;
}

body.qt-dev-preview .request-form input,
body.qt-dev-preview .request-form select,
body.qt-dev-preview .request-form textarea {
  min-height: 48px;
  border: 1px solid var(--qt-line);
  border-radius: 8px;
  background: var(--qt-surface);
  color: var(--qt-text);
  padding: 11px 12px;
  font: inherit;
}

body.qt-dev-preview .request-form input[type="file"] {
  min-height: 54px;
  padding: 9px;
  background: var(--qt-surface-soft);
}

body.qt-dev-preview .request-form input:focus,
body.qt-dev-preview .request-form select:focus,
body.qt-dev-preview .request-form textarea:focus {
  border-color: var(--qt-brand-forest);
  outline: 2px solid rgba(0, 102, 76, 0.18);
  outline-offset: 1px;
}

body.qt-dev-preview .request-form textarea {
  min-height: 180px;
}

body.qt-dev-preview .request-form button {
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--qt-brand-emerald);
  color: var(--qt-brand-ink);
  font-weight: 700;
}

body.qt-dev-preview .request-form button:hover {
  background: #00b77e;
}

body.qt-dev-preview .request-note {
  color: var(--qt-text-muted);
}

body.qt-dev-preview .refund-fields {
  padding: 18px;
  border: 1px solid var(--qt-line);
  border-radius: 10px;
  background: var(--qt-surface-soft);
}

body.qt-dev-preview .ticket-number {
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(154, 255, 209, 0.45);
  color: var(--qt-brand-forest);
  font-weight: 700;
}

body.qt-dev-preview .footer {
  background: var(--qt-surface);
  border-top: 1px solid var(--qt-border);
}

body.qt-dev-preview .footer-inner {
  width: min(1200px, calc(100% - 48px));
  max-width: none;
  min-height: 92px;
  margin: 0 auto;
  padding: 24px 0;
  color: var(--qt-text-muted);
}

body.qt-dev-preview .footer-logo-img {
  width: 126px;
  filter: invert(1);
  opacity: 0.78;
}

body.qt-dev-preview .footer p {
  color: var(--qt-text-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

body.qt-dev-preview .qt-launcher-button {
  min-width: 116px;
  height: 56px;
  border-radius: 999px;
  background: var(--qt-brand-forest);
  color: #fff;
  box-shadow: 0 12px 32px rgba(10, 15, 13, 0.18);
  font-weight: 700;
}

body.qt-dev-preview .qt-launcher-button:hover {
  background: #005640;
}

body.qt-dev-preview .qt-launcher-icon {
  background: var(--qt-brand-mint);
  color: var(--qt-brand-ink);
}

body.qt-dev-preview .qt-launcher-menu {
  border: 1px solid var(--qt-border);
  border-radius: 12px;
  background: var(--qt-surface);
  box-shadow: 0 18px 46px rgba(10, 15, 13, 0.16);
}

body.qt-dev-preview .qt-launcher-item {
  color: var(--qt-text);
}

body.qt-dev-preview .qt-launcher-item:hover {
  background: var(--qt-surface-soft);
}

body.qt-dev-preview .qt-launcher-item-icon {
  border: 0;
  background: rgba(154, 255, 209, 0.5);
  color: var(--qt-brand-forest);
}

body.qt-dev-preview .qt-launcher-item-text {
  color: var(--qt-text);
}

body.qt-dev-preview .qt-launcher-item-text small {
  color: var(--qt-text-muted);
}

/* The widget is inserted after page load; these rules beat the legacy theme. */
body.qt-dev-preview .qt-chat-panel.qt-support-dev-theme {
  background: var(--qt-surface) !important;
  color: var(--qt-text) !important;
  border-color: var(--qt-border) !important;
}

/* Customer ticket view preview */
body.qt-ticket-dev {
  --brand-ink: #0a0f0d;
  --brand-forest: #00664c;
  --brand-emerald: #00c88a;
  --brand-mint: #9affd1;
  --canvas: #f4f5f4;
  --surface: #fff;
  --soft: #f7f8f8;
  --muted: #5b6b66;
  --border: #dfe7e3;
  margin: 0;
  background: var(--canvas);
  color: var(--brand-ink);
  font-family: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.qt-ticket-dev a {
  color: var(--brand-forest);
}

body.qt-ticket-dev .wrap {
  width: min(1100px, calc(100% - 48px));
  padding: 34px 0 64px;
}

body.qt-ticket-dev .topline {
  height: 3px;
  border-radius: 999px;
  background: var(--brand-emerald);
}

body.qt-ticket-dev header {
  padding: 28px 0 22px;
}

body.qt-ticket-dev h1 {
  color: var(--brand-forest);
  font-weight: 600;
  letter-spacing: -0.035em;
}

body.qt-ticket-dev .ref {
  color: var(--muted);
}

body.qt-ticket-dev .pill {
  border-color: rgba(0, 102, 76, 0.22);
  background: rgba(154, 255, 209, 0.42);
  color: var(--brand-forest);
  letter-spacing: 0.04em;
}

body.qt-ticket-dev .grid {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
}

body.qt-ticket-dev .panel {
  border: 1px solid #eef2f0;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 10px 32px rgba(10, 15, 13, 0.05);
}

body.qt-ticket-dev .panel-head {
  padding: 14px 16px;
  border-bottom: 1px solid #eef2f0;
  background: var(--soft);
  color: var(--brand-forest);
  font-weight: 700;
  letter-spacing: 0.04em;
}

body.qt-ticket-dev .thread {
  padding: 18px;
  gap: 14px;
  background: var(--canvas);
}

body.qt-ticket-dev .message {
  border-radius: 12px;
}

body.qt-ticket-dev .message.support {
  background: var(--surface);
  color: var(--brand-ink);
  border-color: #eef2f0;
}

body.qt-ticket-dev .message.customer {
  background: var(--brand-emerald);
  color: var(--brand-ink);
  border-color: var(--brand-emerald);
}

body.qt-ticket-dev .message-meta,
body.qt-ticket-dev .message.support .message-meta {
  color: var(--muted);
}

body.qt-ticket-dev .attachment-link,
body.qt-ticket-dev .message.support .attachment-link {
  border-color: var(--border);
  background: var(--soft);
  color: var(--brand-ink);
}

body.qt-ticket-dev .side {
  background: var(--surface);
}

body.qt-ticket-dev textarea {
  min-height: 170px;
  border-color: var(--border);
  background: var(--surface);
  color: var(--brand-ink);
}

body.qt-ticket-dev textarea:focus {
  border-color: var(--brand-forest);
  outline: 2px solid rgba(0, 102, 76, 0.16);
  outline-offset: 1px;
}

body.qt-ticket-dev button {
  min-height: 46px;
  background: var(--brand-emerald);
  color: var(--brand-ink);
}

body.qt-ticket-dev .hint,
body.qt-ticket-dev .empty {
  color: var(--muted);
}

body.qt-ticket-dev .notice.ok {
  border-color: #a7dfc7;
  background: #f0fdf4;
  color: #166534;
}

body.qt-ticket-dev .notice.err {
  border-color: #f2b8b5;
  background: #fff4f3;
  color: #b42318;
}

body.qt-ticket-dev .attachment-preview {
  background: rgba(10, 15, 13, 0.62);
}

body.qt-ticket-dev .attachment-modal {
  border-color: var(--border);
  background: var(--surface);
}

body.qt-ticket-dev .attachment-modal-head {
  border-color: var(--border);
  background: var(--soft);
}

body.qt-ticket-dev .attachment-modal-close {
  border-color: var(--border);
  background: var(--surface);
  color: var(--brand-ink);
}

body.qt-ticket-dev .attachment-modal-body {
  background: var(--canvas);
}

body.qt-ticket-error-dev {
  background: #f4f5f4;
  color: #0a0f0d;
  font-family: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.qt-ticket-error-dev main {
  border: 1px solid #eef2f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(10, 15, 13, 0.08);
}

body.qt-ticket-error-dev .line {
  height: 3px;
  background: #00c88a;
}

body.qt-ticket-error-dev h1 {
  color: #00664c;
  font-weight: 600;
  letter-spacing: -0.025em;
}

body.qt-ticket-error-dev p {
  color: #5b6b66;
}

body.qt-ticket-error-dev a {
  color: #00664c;
}

@media (max-width: 940px) {
  body.qt-dev-preview .categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.qt-dev-preview .header-inner {
    grid-template-columns: minmax(220px, 1fr) auto auto;
    gap: 18px;
  }
}

@media (max-width: 760px) {
  body.qt-dev-preview .header-inner {
    width: calc(100% - 32px);
    min-height: 68px;
    padding: 0;
    grid-template-columns: 1fr auto;
    justify-items: stretch;
    gap: 12px;
  }

  body.qt-dev-preview .header-logo,
  body.qt-dev-preview .header-inner > .header-link:last-child {
    justify-self: auto;
  }

  body.qt-dev-preview .header-logo-img {
    width: 108px;
    height: 24px;
  }

  body.qt-dev-preview .header-product-name {
    padding-left: 10px;
    font-size: 12px;
  }

  body.qt-dev-preview .header-nav {
    display: none;
  }

  body.qt-dev-preview .header-inner > .header-link:last-child {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 13px;
  }

  body.qt-dev-preview .hero {
    min-height: 0;
  }

  body.qt-dev-preview .hero-content {
    width: calc(100% - 32px);
    padding: 56px 0 72px;
  }

  body.qt-dev-preview .hero h1 {
    font-size: clamp(36px, 11vw, 44px);
  }

  body.qt-dev-preview .hero p {
    font-size: 17px;
  }

  body.qt-dev-preview .search-box {
    display: grid;
    grid-template-columns: 28px 1fr;
    padding: 7px;
  }

  body.qt-dev-preview .search-box::before {
    margin-left: 6px;
  }

  body.qt-dev-preview .search-box::after {
    left: 25px;
  }

  body.qt-dev-preview .search-box input[type="submit"] {
    grid-column: 1 / -1;
    width: 100%;
  }

  body.qt-dev-preview .categories-grid {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    margin-top: -24px;
  }

  body.qt-dev-preview .category-card {
    min-height: 196px;
  }

  body.qt-dev-preview .content-shell,
  body.qt-dev-preview main.content-shell,
  body.qt-dev-preview .footer-inner {
    width: calc(100% - 32px);
  }

  body.qt-dev-preview .request-form .row {
    grid-template-columns: 1fr;
  }

  body.qt-dev-preview .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  body.qt-dev-preview .qt-custom-launcher {
    right: 16px;
    bottom: 16px;
  }

  body.qt-ticket-dev .wrap {
    width: calc(100% - 32px);
  }

  body.qt-ticket-dev .grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.qt-dev-preview *,
  body.qt-dev-preview *::before,
  body.qt-dev-preview *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
