@import url("https://fonts.googleapis.com/css2?family=Sora:wght@700;800&display=swap");
.weedid-app,
.weedid-app * {
  box-sizing: border-box;
}

.weedid-app {
  width: 100%;
  max-width: 100%;
  color: #0f172a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.weedid-app button,
.weedid-app input,
.weedid-app select,
.weedid-app textarea {
  font: inherit;
}

.weedid-app [hidden] {
  display: none !important;
}

.weedid-hero-banner,
.weedid-shell,
.weedid-main-card,
.weedid-result-card,
.weedid-paywall {
  width: 100%;
  max-width: 100%;
}

.weedid-hero-banner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 14px;
  aspect-ratio: 1672 / 941;
  min-height: 0;
  max-height: 560px;
  padding: clamp(18px, 2.2vw, 34px);
  margin: 0 0 22px;
  border-radius: 32px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.88) 31%, rgba(255,255,255,.45) 58%, rgba(255,255,255,.04) 100%),
    var(--weedid-hero-scene) center center / cover no-repeat;
  border: 1px solid rgba(212, 225, 214, .9);
  box-shadow: 0 22px 54px rgba(104, 130, 108, .14);
  isolation: isolate;
}

.weedid-hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  z-index: -1;
}

.weedid-hero-copy {
  position: relative;
  z-index: 2;
  width: min(600px, 53%);
  max-width: 100%;
  align-self: center;
  padding-top: 0;
}

.weedid-kicker,
.weedid-card-label,
.weedid-paywall-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
}

.weedid-kicker {
  gap: 10px;
  padding: 8px 14px;
  margin-bottom: 14px;
  color: #237d4c;
  background: rgba(234, 248, 237, .92);
  border: 1px solid rgba(122, 201, 146, .88);
  box-shadow: 0 10px 30px rgba(116, 180, 133, .12), inset 0 1px 0 rgba(255,255,255,.72);
}

.weedid-kicker img {
  width: 22px;
  height: 22px;
  display: block;
}

.weedid-hero-title {
  margin: 0;
  display: grid;
  gap: 0;
  font-size: clamp(42px, 4.6vw, 68px);
  line-height: .94;
  letter-spacing: -.062em;
  font-weight: 900;
}

.weedid-hero-line {
  display: block;
}

.weedid-hero-line-dark {
  color: #05262b;
}

.weedid-hero-line-accent {
  color: transparent;
  background: linear-gradient(90deg, #6fca45 0%, #21b96d 44%, #10c2d5 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.weedid-hero-copy p {
  margin: 14px 0 0;
  max-width: 560px;
  color: #556177;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.48;
}

.weedid-trust-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 30px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.weedid-trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #16834d;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 650;
}

.weedid-trust-list img {
  width: 26px;
  height: 26px;
  max-width: 26px;
  min-width: 26px;
  object-fit: contain;
  display: block;
}

.weedid-hero-bottom {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  width: 100%;
  margin-top: 0;
}

.weedid-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 12px 14px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(218, 228, 223, .95);
  box-shadow: 0 14px 34px rgba(128, 146, 133, .14), inset 0 1px 0 rgba(255,255,255,.78);
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.weedid-hero-card::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 10px;
  width: 68px;
  height: 32px;
  border-radius: 999px;
  opacity: .18;
  filter: blur(8px);
}

.weedid-hero-card:hover,
.weedid-hero-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(128, 146, 133, .20), inset 0 1px 0 rgba(255,255,255,.86);
}

.weedid-hero-card:focus-visible {
  outline: 2px solid rgba(34, 197, 94, .42);
  outline-offset: 2px;
}

.weedid-hero-card-icon {
  width: clamp(48px, 4.4vw, 64px);
  height: clamp(48px, 4.4vw, 64px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.weedid-hero-card-icon img,
.weedid-hero-card-arrow img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.weedid-hero-card-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.weedid-hero-card-copy strong {
  display: block;
  color: #14483f;
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.04em;
}

.weedid-hero-card-copy em {
  display: block;
  color: #627082;
  font-size: 12px;
  line-height: 1.32;
  font-style: normal;
}

.weedid-hero-card-arrow {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

.weedid-hero-card-upload::after {
  background: rgba(133, 214, 153, .8);
}

.weedid-hero-card-camera::after {
  background: rgba(144, 196, 255, .8);
}

.weedid-hero-card-limit::after {
  background: rgba(255, 218, 120, .8);
}

.weedid-hero-card-upload {
  border-color: rgba(197, 233, 208, .95);
}

.weedid-hero-card-camera {
  border-color: rgba(204, 226, 255, .95);
}

.weedid-hero-card-limit {
  border-color: rgba(244, 223, 173, .95);
}

.weedid-shell {
  display: grid;
  gap: 18px;
}

.weedid-main-card,
.weedid-result-card,
.weedid-paywall-inner {
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(148, 163, 184, .22);
  box-shadow: 0 18px 55px rgba(15, 23, 42, .12);
}

.weedid-main-card {
  padding: clamp(18px, 3vw, 32px);
}

.weedid-card-head {
  margin-bottom: 20px;
}

.weedid-card-topline,
.weedid-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.weedid-card-label {
  padding: 7px 10px;
  color: #2563eb;
  background: #eff6ff;
}

.weedid-limit-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(34, 211, 238, .12), rgba(168, 85, 247, .12));
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.weedid-card-head h3,
.weedid-result-head h3,
.weedid-paywall-inner h3,
.weedid-loader-card h3 {
  margin: 12px 0 0;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.1;
  letter-spacing: -.035em;
  color: #0f172a;
}

.weedid-card-head p {
  margin: 8px 0 0;
  color: #64748b;
  line-height: 1.55;
}

.weedid-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.weedid-upload-choice {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 5px 14px;
  text-align: left;
  border: 0;
  cursor: pointer;
  padding: 18px;
  min-height: 112px;
  border-radius: 24px;
  color: #0f172a;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .24), 0 14px 34px rgba(15, 23, 42, .08);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.weedid-upload-choice:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, .26), 0 18px 44px rgba(15, 23, 42, .12);
}

.weedid-choice-icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #22d3ee);
  box-shadow: 0 12px 24px rgba(37, 99, 235, .24);
}

.weedid-choice-camera .weedid-choice-icon {
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  box-shadow: 0 12px 24px rgba(124, 58, 237, .22);
}

.weedid-choice-icon svg,
.weedid-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.weedid-upload-choice strong,
.weedid-upload-choice em {
  min-width: 0;
}

.weedid-upload-choice strong {
  display: block;
  font-size: 17px;
  font-weight: 900;
}

.weedid-upload-choice em {
  display: block;
  color: #64748b;
  font-size: 13px;
  font-style: normal;
}

.weedid-native-file {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.weedid-preview-wrap {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px;
  margin: 0 0 16px;
  border-radius: 24px;
  background: linear-gradient(90deg, #f0fdf4, #eff6ff);
  border: 1px solid rgba(34, 197, 94, .16);
}

.weedid-preview-frame {
  overflow: hidden;
  width: 132px;
  height: 104px;
  border-radius: 18px;
  background: #e2e8f0;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06);
}

.weedid-preview-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.weedid-preview-info {
  min-width: 0;
}

.weedid-preview-info strong,
.weedid-preview-info span {
  display: block;
  overflow-wrap: anywhere;
}

.weedid-preview-info strong {
  font-weight: 900;
  color: #0f172a;
}

.weedid-preview-info span {
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
}

.weedid-preview-info button {
  margin-top: 10px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  padding: 8px 12px;
  color: #dc2626;
  background: rgba(254, 226, 226, .8);
  font-weight: 800;
}

.weedid-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.weedid-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.weedid-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.weedid-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.weedid-field span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.weedid-field-icon {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  border-radius: 9px;
  background: linear-gradient(135deg, #dbeafe, #ecfeff);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, .12);
}

.weedid-field-icon::before,
.weedid-field-icon::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 6px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.weedid-icon-place::after { inset: 5px 8px 9px; border-radius: 999px 999px 999px 0; transform: rotate(-45deg); }
.weedid-icon-size::after { inset: 5px 10px 5px 8px; border-radius: 999px; transform: rotate(30deg); }
.weedid-icon-goal::after { inset: 7px; border-radius: 999px; box-shadow: 0 0 0 3px rgba(37, 99, 235, .28); }
.weedid-icon-region::after { inset: 5px; border-radius: 999px; background: linear-gradient(135deg, #22c55e, #06b6d4); }
.weedid-icon-language::after { inset: 7px 5px; border-radius: 999px; }
.weedid-icon-notes::after { inset: 5px 7px; border-radius: 3px; }

.weedid-field input,
.weedid-field select,
.weedid-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, .32);
  border-radius: 18px;
  color: #0f172a;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .04);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.weedid-field input,
.weedid-field select {
  min-height: 50px;
  padding: 0 15px;
}

.weedid-field textarea {
  min-height: 112px;
  resize: vertical;
  padding: 14px 15px;
  line-height: 1.5;
}

.weedid-field input::placeholder,
.weedid-field textarea::placeholder {
  color: #b6c2d4;
}

.weedid-field input:focus,
.weedid-field select:focus,
.weedid-field textarea:focus {
  border-color: rgba(37, 99, 235, .55);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .12), 0 14px 32px rgba(15, 23, 42, .06);
}

.weedid-safety-note {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  margin: 16px 0;
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(254, 243, 199, .85), rgba(236, 253, 245, .8));
  color: #475569;
}

.weedid-safety-note > span {
  width: 38px;
  height: 38px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f59e0b, #22c55e);
  position: relative;
}

.weedid-safety-note > span::before {
  content: "!";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 1000;
}

.weedid-safety-note p {
  margin: 0;
  line-height: 1.45;
}

.weedid-actions,
.weedid-result-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.weedid-btn,
.weedid-result-actions button,
.weedid-paywall-inner a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.weedid-btn:hover,
.weedid-result-actions button:hover,
.weedid-paywall-inner a:hover {
  transform: translateY(-1px);
}

.weedid-btn:disabled {
  cursor: wait;
  opacity: .72;
}

.weedid-btn-primary,
.weedid-paywall-inner a {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #7c3aed 55%, #06b6d4);
  box-shadow: 0 16px 34px rgba(37, 99, 235, .28);
}

.weedid-btn-ghost,
.weedid-result-actions button {
  color: #334155;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .24);
}

.weedid-result-card {
  padding: clamp(18px, 3vw, 30px);
}

.weedid-result-head {
  margin-bottom: 16px;
}

.weedid-download-menu {
  position: relative;
}

.weedid-download-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  min-width: 180px;
  padding: 8px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .2);
  border: 1px solid rgba(148, 163, 184, .18);
}

.weedid-download-options button {
  width: 100%;
  justify-content: flex-start;
  min-height: 40px;
  box-shadow: none;
  background: transparent;
  border-radius: 12px;
}

.weedid-download-options button:hover {
  background: #f1f5f9;
  transform: none;
}

.weedid-rendered-output {
  margin: 0 0 14px;
  padding: 18px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, .22);
  color: #334155;
}

.weedid-rendered-output h4 {
  margin: 16px 0 8px;
  color: #0f172a;
  font-size: 17px;
}

.weedid-rendered-output h4:first-child {
  margin-top: 0;
}

.weedid-rendered-output p,
.weedid-rendered-output li {
  margin: 0 0 8px;
  line-height: 1.55;
}

.weedid-output-wrap {
  display: grid;
  gap: 8px;
}

.weedid-output-wrap > span {
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.weedid-output {
  width: 100%;
  min-height: 340px;
  resize: vertical;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, .32);
  border-radius: 20px;
  outline: none;
  color: #0f172a;
  background: #fff;
  line-height: 1.55;
}

.weedid-output:focus {
  border-color: rgba(37, 99, 235, .55);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .12);
}

.weedid-output-note {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 13px;
}

.weedid-paywall-inner {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3.2vw, 34px);
  background:
    radial-gradient(circle at 16% 0%, rgba(34, 211, 238, .22), transparent 32%),
    linear-gradient(135deg, #fff, #f5f3ff);
}

.weedid-paywall-badge {
  padding: 8px 11px;
  color: #7c2d12;
  background: #ffedd5;
}

.weedid-paywall-inner p {
  margin: 10px 0 18px;
  max-width: 720px;
  color: #64748b;
  line-height: 1.55;
}


.weedid-camera-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, .62);
  backdrop-filter: blur(12px);
}

.weedid-camera-modal[hidden] {
  display: none !important;
}

.weedid-camera-card {
  width: min(680px, 100%);
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, .9);
  box-shadow: 0 32px 90px rgba(15, 23, 42, .32);
}

.weedid-camera-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(226, 232, 240, .88);
}

.weedid-camera-head strong {
  color: #0f172a;
  font-size: 18px;
}

.weedid-camera-head button,
.weedid-camera-actions button {
  border: 0;
  cursor: pointer;
}

.weedid-camera-close {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 22px;
  line-height: 1;
}

.weedid-camera-stage {
  position: relative;
  background: #020617;
}

.weedid-camera-stage video,
.weedid-camera-stage canvas {
  display: block;
  width: 100%;
  max-height: min(62vh, 520px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #020617;
}

.weedid-camera-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 16px 18px 18px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.weedid-camera-actions button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
}

.weedid-camera-cancel {
  background: #eef2f7;
  color: #334155;
}

.weedid-camera-capture {
  background: linear-gradient(135deg, #16a34a, #10b981);
  color: #fff;
  box-shadow: 0 14px 28px rgba(22, 163, 74, .24);
}

@media (max-width: 768px) {
  .weedid-camera-modal {
    padding: 10px;
  }

  .weedid-camera-card {
    border-radius: 22px;
  }

  .weedid-camera-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .weedid-camera-actions button {
    width: 100%;
  }
}


.weedid-loader {
  position: fixed;
  z-index: 99999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, .52);
  backdrop-filter: blur(10px);
}

.weedid-loader[hidden] {
  display: none !important;
}

.weedid-loader-card {
  width: min(420px, 100%);
  padding: 28px;
  border-radius: 30px;
  text-align: center;
  background: linear-gradient(180deg, #fff, #f8fafc);
  box-shadow: 0 28px 90px rgba(2, 6, 23, .35);
}

.weedid-loader-ring {
  --weedid-progress: 0%;
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#22d3ee var(--weedid-progress), #e2e8f0 0);
  position: relative;
}

.weedid-loader-ring::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #fff;
}

.weedid-loader-ring span {
  position: relative;
  z-index: 1;
  color: #0f172a;
  font-weight: 1000;
}

.weedid-loader-card p {
  margin: 10px 0 18px;
  color: #64748b;
  line-height: 1.5;
}

.weedid-loader-track {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: #e2e8f0;
}

.weedid-loader-track span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #22d3ee, #a855f7);
  transition: width .22s ease;
}

@media (max-width: 1100px) and (min-width: 769px) {
  .weedid-hero-banner {
    max-height: 500px;
    padding: 20px;
  }

  .weedid-hero-copy {
    width: min(510px, 54%);
  }

  .weedid-hero-title {
    font-size: clamp(36px, 4.9vw, 56px);
  }

  .weedid-hero-copy p {
    font-size: 14px;
    max-width: 450px;
  }

  .weedid-trust-list {
    gap: 10px 18px;
    margin-top: 14px;
  }

  .weedid-trust-list li {
    font-size: 13px;
  }

  .weedid-trust-list img {
    width: 22px;
    height: 22px;
    max-width: 22px;
    min-width: 22px;
  }

  .weedid-hero-card {
    min-height: 70px;
    padding: 10px;
    gap: 8px;
  }

  .weedid-hero-card-icon {
    width: 44px;
    height: 44px;
  }

  .weedid-hero-card-arrow {
    width: 28px;
    height: 28px;
  }

  .weedid-hero-card-copy strong {
    font-size: 14px;
  }

  .weedid-hero-card-copy em {
    font-size: 10px;
  }
}

@media (max-width: 768px) {
  .weedid-mobile-host,
  .weedid-mobile-host.content-panel,
  .weedid-mobile-host.app-stage-panel,
  .weedid-mobile-host.app-stage-container,
  .weedid-mobile-host.app-stage-section {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .weedid-app {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 12px;
    padding-right: 12px;
  }

  .weedid-shell,
  .weedid-main-card,
  .weedid-hero-banner,
  .weedid-result-card,
  .weedid-paywall {
    width: 100%;
    max-width: 100%;
  }

  .weedid-hero-banner {
    aspect-ratio: auto;
    max-height: none;
    min-height: 0;
    padding: 18px 12px 14px;
    border-radius: 26px;
    gap: 14px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.92) 58%, rgba(255,255,255,.76) 100%),
      var(--weedid-hero-scene) 72% center / cover no-repeat;
  }

  .weedid-hero-copy {
    width: 100%;
    padding-top: 4px;
  }

  .weedid-kicker {
    margin-bottom: 14px;
    padding: 8px 12px;
    font-size: 10px;
  }

  .weedid-kicker img {
    width: 18px;
    height: 18px;
  }

  .weedid-hero-title {
    font-size: clamp(32px, 10.5vw, 46px);
    letter-spacing: -.05em;
  }

  .weedid-hero-copy p {
    font-size: 14px;
    margin-top: 14px;
    max-width: min(100%, 330px);
  }

  .weedid-trust-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .weedid-trust-list li {
    font-size: 14px;
  }

  .weedid-trust-list img {
    width: 24px;
    height: 24px;
    max-width: 24px;
    min-width: 24px;
  }

  .weedid-hero-bottom {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 4px;
  }

  .weedid-hero-card {
    min-height: 0;
    padding: 12px;
    gap: 12px;
    border-radius: 20px;
  }

  .weedid-hero-card-icon {
    width: 48px;
    height: 48px;
  }

  .weedid-hero-card-copy strong {
    font-size: 17px;
  }

  .weedid-hero-card-copy em {
    font-size: 12px;
  }

  .weedid-hero-card-arrow {
    width: 32px;
    height: 32px;
  }

  .weedid-main-card,
  .weedid-result-card,
  .weedid-paywall-inner {
    border-radius: 24px;
    padding: 16px;
  }

  .weedid-card-topline,
  .weedid-result-head {
    display: grid;
    gap: 10px;
  }

  .weedid-limit-pill {
    width: fit-content;
    white-space: normal;
  }

  .weedid-upload-grid,
  .weedid-grid,
  .weedid-grid.two,
  .weedid-grid.three {
    grid-template-columns: 1fr;
  }

  .weedid-preview-wrap {
    grid-template-columns: 1fr;
  }

  .weedid-preview-frame {
    width: 100%;
    height: min(260px, 58vw);
  }

  .weedid-field,
  .weedid-wide,
  .weedid-field input,
  .weedid-field select,
  .weedid-field textarea,
  .weedid-actions,
  .weedid-actions button,
  .weedid-result-actions,
  .weedid-result-actions button,
  .weedid-download-menu,
  .weedid-download-toggle,
  .weedid-paywall-inner a {
    width: 100%;
  }

  .weedid-actions,
  .weedid-result-actions {
    justify-content: stretch;
  }

  .weedid-result-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .weedid-download-options {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 8px;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .18);
  }

  .weedid-output {
    min-height: 300px;
  }

  .weedid-camera-modal {
    padding: 10px;
  }

  .weedid-camera-card {
    padding: 14px;
    border-radius: 24px;
  }

  .weedid-camera-actions {
    grid-template-columns: 1fr;
  }

  .weedid-camera-actions button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .weedid-hero-banner {
    padding-left: 12px;
    padding-right: 12px;
  }

  .weedid-upload-choice {
    grid-template-columns: 50px minmax(0, 1fr);
    padding: 14px;
  }

  .weedid-choice-icon {
    width: 50px;
    height: 50px;
    border-radius: 18px;
  }

  .weedid-safety-note {
    grid-template-columns: 1fr;
  }
}

/* weedid-fix-6-logo-mobile-center */
.weedid-hero-copy p {
  margin-top: 18px;
}

.weedid-trust-list {
  margin-top: 24px;
}

@media (max-width: 768px) {
  .weedid-hero-copy {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .weedid-hero-title {
    text-align: center;
    justify-items: center;
    margin-left: auto;
    margin-right: auto;
  }

  .weedid-hero-copy p {
    margin: 18px auto 0;
    text-align: center;
    max-width: min(100%, 380px);
  }

  .weedid-trust-list {
    margin: 22px auto 0;
    justify-items: center;
    text-align: center;
  }

  .weedid-trust-list li {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .weedid-hero-bottom {
    margin-top: 18px;
  }

  .weedid-result-actions {
    justify-content: center;
    justify-items: center;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .weedid-result-actions > button,
  .weedid-result-actions .weedid-download-menu,
  .weedid-result-actions .weedid-download-toggle {
    width: min(100%, 360px);
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .weedid-download-options {
    text-align: center;
  }
}
/* /weedid-fix-6-logo-mobile-center */


/* ===== Weed form redesign v7 ===== */
.weedid-app {
  --weedid-upload-icon: url('./form-art/upload-icon.webp?v=20260531-13');
  --weedid-camera-icon: url('./form-art/camera-icon.webp?v=20260531-9');
  --weedid-place-icon: url('./form-art/place-icon.webp');
  --weedid-size-icon: url('./form-art/size-icon.webp');
  --weedid-goal-icon: url('./form-art/goal-icon.webp');
  --weedid-region-icon: url('./form-art/region-icon.webp');
  --weedid-language-icon: url('./form-art/language-icon.webp');
  --weedid-notes-icon: url('./form-art/notes-icon.webp');
  --weedid-safety-icon: url('./form-art/safety-icon.webp');
  --weedid-identify-icon: url('./form-art/identify-icon.webp?v=20260531-17');
  --weedid-upload-plant: url('./form-art/upload-plant.webp');
  --weedid-camera-plant: url('./form-art/camera-plant.webp');
}

.weedid-shell {
  gap: 24px;
}

.weedid-main-card {
  padding: 32px clamp(18px, 3.2vw, 42px) 26px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(252,253,255,.98) 100%);
  border: 1px solid rgba(209, 218, 232, .92);
  box-shadow: 0 18px 60px rgba(34, 52, 84, .08), inset 0 1px 0 rgba(255,255,255,.7);
}

.weedid-card-head {
  margin-bottom: 26px;
}

.weedid-card-topline {
  align-items: center;
  gap: 18px;
}

.weedid-card-label {
  padding: 12px 18px;
  border-radius: 999px;
  color: #22783d;
  background: linear-gradient(180deg, #eef7f0, #edf3f0);
  font-size: 12px;
  letter-spacing: .10em;
  border: 1px solid rgba(217, 229, 220, .95);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.weedid-card-label::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-right: 10px;
  flex: 0 0 auto;
  display: inline-block;
  background: var(--weedid-size-icon) center/contain no-repeat;
}

.weedid-limit-pill {
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f4f2fb 0%, #f0eef8 100%);
  color: #2c3654;
  font-size: 16px;
  font-weight: 800;
  border: 1px solid rgba(225, 222, 238, .9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}

.weedid-limit-pill strong,
.weedid-limit-pill b,
.weedid-limit-pill em {
  color: #4b41f2;
}

.weedid-card-head h3 {
  margin: 18px 0 0;
  font-size: clamp(42px, 4.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -.055em;
  color: #0d1840;
  font-weight: 900;
}

.weedid-card-head p {
  margin-top: 14px;
  color: #627091;
  font-size: clamp(18px, 1.45vw, 20px);
  line-height: 1.45;
}

.weedid-upload-grid {
  gap: 26px;
  margin-bottom: 26px;
}

.weedid-upload-choice {
  grid-template-columns: 118px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 8px 24px;
  min-height: 168px;
  padding: 28px 28px 26px 28px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid #d7dbe7;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), 0 6px 18px rgba(149, 167, 191, .08);
}

.weedid-choice-upload {
  background: linear-gradient(90deg, #f7fbf7 0%, #f4f6f3 58%, #f0f5ee 100%);
  border-color: #c8ddd1;
}

.weedid-choice-camera {
  background: linear-gradient(90deg, #fbf9ff 0%, #f6f7fc 58%, #eef3fa 100%);
  border-color: #d7d4f1;
}

.weedid-upload-choice::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 180px;
  height: 120px;
  pointer-events: none;
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 1;
}

.weedid-choice-upload::after { background-image: var(--weedid-upload-plant); }
.weedid-choice-camera::after { background-image: var(--weedid-camera-plant); width: 170px; }

.weedid-choice-icon {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 32px;
  background: none;
  box-shadow: none;
}

.weedid-choice-icon svg {
  opacity: 0;
}

.weedid-choice-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: center/contain no-repeat;
}

.weedid-choice-upload .weedid-choice-icon::before { background-image: var(--weedid-upload-icon); background-size: 118% 118%; }
.weedid-choice-camera .weedid-choice-icon::before { background-image: var(--weedid-camera-icon); }

.weedid-upload-choice strong {
  font-size: clamp(28px, 2.1vw, 34px);
  line-height: 1.08;
  font-weight: 900;
  color: #0d1840;
}

.weedid-upload-choice em {
  color: #5f6b8a;
  font-size: 18px;
  line-height: 1.35;
}

.weedid-preview-wrap {
  padding: 16px;
  margin-bottom: 22px;
  border-radius: 28px;
}

.weedid-preview-frame {
  width: 160px;
  height: 124px;
  border-radius: 22px;
}

.weedid-grid {
  gap: 24px;
  margin-bottom: 20px;
}

.weedid-field {
  gap: 10px;
}

.weedid-field > span {
  gap: 12px;
  color: #2e3b63;
  font-size: 18px;
  font-weight: 800;
}

.weedid-field > span i + text,
.weedid-field > span {
  letter-spacing: -.01em;
}

.weedid-field-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: center/contain no-repeat;
  box-shadow: none;
}

.weedid-field-icon::before,
.weedid-field-icon::after {
  display: none;
}

.weedid-icon-place { background-image: var(--weedid-place-icon); }
.weedid-icon-size { background-image: var(--weedid-size-icon); }
.weedid-icon-goal { background-image: var(--weedid-goal-icon); }
.weedid-icon-region { background-image: var(--weedid-region-icon); }
.weedid-icon-language { background-image: var(--weedid-language-icon); }
.weedid-icon-notes { background-image: var(--weedid-notes-icon); }

.weedid-field input,
.weedid-field select,
.weedid-field textarea {
  border-color: #d3d9e7;
  border-radius: 20px;
  box-shadow: none;
  background: #fff;
  color: #182548;
}

.weedid-field input,
.weedid-field select {
  min-height: 60px;
  padding: 0 54px 0 22px;
  font-size: 17px;
}

.weedid-field textarea {
  min-height: 104px;
  padding: 18px 22px;
  font-size: 17px;
  resize: none;
}

.weedid-field input::placeholder,
.weedid-field textarea::placeholder {
  color: #a5afc3;
}

.weedid-field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='M4 6.5l5 5 5-5' fill='none' stroke='%2323304a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 18px;
}

.weedid-field textarea[name="notes"] {
  background-image: var(--weedid-upload-plant);
  background-repeat: no-repeat;
  background-position: right 14px bottom 6px;
  background-size: 64px auto;
}

.weedid-field input:focus,
.weedid-field select:focus,
.weedid-field textarea:focus {
  border-color: #bfc8dd;
  box-shadow: 0 0 0 4px rgba(149,165,190,.10);
}

.weedid-safety-note {
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 18px;
  min-height: 88px;
  margin: 22px 0 18px;
  padding: 16px 24px 16px 18px;
  border-radius: 24px;
  background: linear-gradient(90deg, #f8fbf6 0%, #f6faf4 62%, #eef6ef 100%);
  border: 1px solid #d7e5d6;
  color: #355147;
}

.weedid-safety-note > span {
  width: 98px;
  height: 72px;
  border-radius: 0;
  background: var(--weedid-safety-icon) center/contain no-repeat;
}

.weedid-safety-note > span::before { display:none; }

.weedid-safety-note p {
  color: #365244;
  font-size: 18px;
  line-height: 1.45;
}

.weedid-safety-note strong {
  font-size: 18px;
  color: #23743b;
}

.weedid-actions {
  justify-content: flex-end;
  gap: 24px;
  padding-top: 6px;
}

.weedid-btn {
  min-height: 72px;
  padding: 0 32px;
  border-radius: 24px;
  font-size: 18px;
  font-weight: 500;
  gap: 14px;
}

.weedid-btn svg { width: 26px; height: 26px; }

.weedid-btn-ghost {
  min-width: 210px;
  color: #465071;
  background: #fff;
  border: 1px solid #d7dbe7;
  box-shadow: none;
}

.weedid-btn-primary {
  min-width: 282px;
  color: #fff;
  background: linear-gradient(90deg, #0eced4 0%, #1a92f1 38%, #5330ec 72%, #bf49ff 100%);
  border: 3px solid rgba(255,255,255,.88);
  box-shadow: 0 0 0 2px rgba(111,88,255,.28), 0 14px 32px rgba(120,90,255,.22);
}

.weedid-btn-primary svg { display: none; }
.weedid-btn-primary::before {
  content: "";
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  background: var(--weedid-identify-icon) center/contain no-repeat;
}

@media (max-width: 980px) {
  .weedid-main-card {
    padding: 24px 18px 22px;
    border-radius: 28px;
  }

  .weedid-card-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .weedid-card-head h3 {
    font-size: clamp(34px, 8vw, 50px);
  }

  .weedid-upload-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .weedid-upload-choice {
    min-height: 148px;
  }

  .weedid-grid.three,
  .weedid-grid.two {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .weedid-main-card {
    padding: 18px 14px 18px;
    border-radius: 24px;
  }

  .weedid-card-label {
    padding: 9px 14px;
    font-size: 11px;
  }

  .weedid-card-label::before {
    width: 18px;
    height: 18px;
    margin-right: 8px;
  }

  .weedid-limit-pill {
    font-size: 14px;
    padding: 10px 16px;
  }

  .weedid-card-head h3 {
    margin-top: 14px;
    font-size: 30px;
  }

  .weedid-card-head p {
    margin-top: 10px;
    font-size: 16px;
  }

  .weedid-upload-choice {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 6px 14px;
    min-height: 124px;
    padding: 18px 16px;
    border-radius: 22px;
  }

  .weedid-upload-choice::after {
    width: 116px;
    height: 76px;
  }

  .weedid-choice-icon {
    width: 74px;
    height: 74px;
    border-radius: 24px;
  }

  .weedid-upload-choice strong {
    font-size: 18px;
  }

  .weedid-upload-choice em {
    font-size: 14px;
  }

  .weedid-field > span {
    font-size: 16px;
  }

  .weedid-field input,
  .weedid-field select {
    min-height: 54px;
    padding-left: 16px;
    padding-right: 44px;
    font-size: 16px;
  }

  .weedid-field textarea {
    min-height: 96px;
    padding: 14px 16px;
    font-size: 16px;
    background-size: 52px auto;
    background-position: right 10px bottom 6px;
  }

  .weedid-safety-note {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    min-height: 0;
  }

  .weedid-safety-note > span {
    width: 72px;
    height: 54px;
  }

  .weedid-safety-note p,
  .weedid-safety-note strong {
    font-size: 15px;
  }

  .weedid-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .weedid-btn,
  .weedid-btn-ghost,
  .weedid-btn-primary {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    font-size: 17px;
    border-radius: 20px;
  }
}

/* ===== Weed form compact desktop + transparent assets v8 ===== */
@media (min-width: 981px) {
  .weedid-main-card {
    padding: 24px clamp(18px, 2.3vw, 32px) 24px !important;
    border-radius: 28px !important;
  }

  .weedid-card-head {
    margin-bottom: 18px !important;
  }

  .weedid-card-topline {
    gap: 14px !important;
  }

  .weedid-card-label {
    padding: 9px 14px !important;
    font-size: 11px !important;
  }

  .weedid-card-label::before {
    width: 18px !important;
    height: 18px !important;
    margin-right: 8px !important;
  }

  .weedid-limit-pill {
    padding: 10px 16px !important;
    font-size: 14px !important;
  }

  .weedid-card-head h3 {
    margin-top: 14px !important;
    font-size: clamp(34px, 3.2vw, 48px) !important;
    line-height: 1.04 !important;
  }

  .weedid-card-head p {
    margin-top: 10px !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
  }

  .weedid-upload-grid {
    gap: 18px !important;
    margin-bottom: 18px !important;
  }

  .weedid-upload-choice {
    grid-template-columns: 84px minmax(0, 1fr) !important;
    min-height: 118px !important;
    padding: 18px 20px !important;
    gap: 6px 18px !important;
    border-radius: 22px !important;
  }

  .weedid-upload-choice::after {
    width: 128px !important;
    height: 82px !important;
  }

  .weedid-choice-camera::after {
    width: 122px !important;
  }

  .weedid-choice-icon {
    width: 78px !important;
    height: 78px !important;
    border-radius: 24px !important;
  }

  .weedid-upload-choice strong {
    font-size: clamp(20px, 1.6vw, 25px) !important;
  }

  .weedid-upload-choice em {
    font-size: 14px !important;
  }

  .weedid-grid {
    gap: 16px !important;
    margin-bottom: 14px !important;
  }

  .weedid-field {
    gap: 7px !important;
  }

  .weedid-field > span {
    gap: 9px !important;
    font-size: 14px !important;
  }

  .weedid-field-icon {
    width: 27px !important;
    height: 27px !important;
  }

  .weedid-field input,
  .weedid-field select {
    min-height: 50px !important;
    padding: 0 46px 0 18px !important;
    font-size: 15px !important;
    border-radius: 16px !important;
  }

  .weedid-field textarea {
    min-height: 84px !important;
    padding: 14px 18px !important;
    font-size: 15px !important;
    border-radius: 16px !important;
    background-size: 48px auto !important;
  }

  .weedid-safety-note {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    min-height: 70px !important;
    gap: 14px !important;
    margin: 16px 0 14px !important;
    padding: 12px 20px 12px 14px !important;
    border-radius: 20px !important;
  }

  .weedid-safety-note > span {
    width: 72px !important;
    height: 52px !important;
  }

  .weedid-safety-note p,
  .weedid-safety-note strong {
    font-size: 15px !important;
  }

  .weedid-actions {
    gap: 16px !important;
    padding-top: 4px !important;
  }

  .weedid-btn {
    min-height: 56px !important;
    padding: 0 24px !important;
    border-radius: 20px !important;
    font-size: 16px !important;
  }

  .weedid-btn-ghost {
    min-width: 170px !important;
  }

  .weedid-btn-primary {
    min-width: 230px !important;
  }

  .weedid-btn-primary::before {
    width: 28px !important;
    height: 28px !important;
  }
}

@media (max-width: 768px) {
  .weedid-main-card {
    padding: 16px 12px 16px !important;
  }

  .weedid-upload-choice {
    min-height: 112px !important;
  }

  .weedid-upload-choice::after {
    opacity: .78 !important;
  }
}


/* ===== Weed final mobile cleanup v10 ===== */
.weedid-trust-list {
  display: none !important;
}

@media (max-width: 768px) {
  .weedid-card-head {
    text-align: center !important;
    margin-bottom: 18px !important;
  }

  .weedid-card-topline {
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-align: center !important;
  }

  .weedid-card-label,
  .weedid-limit-pill {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .weedid-card-head h3,
  .weedid-card-head p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .weedid-card-head p {
    max-width: 360px;
  }

  .weedid-upload-choice::after,
  .weedid-choice-upload::after,
  .weedid-choice-camera::after {
    display: none !important;
    background-image: none !important;
  }

  .weedid-result-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
  }

  .weedid-result-actions > button,
  .weedid-result-actions .weedid-download-menu,
  .weedid-result-actions .weedid-download-toggle {
    width: min(100%, 320px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .weedid-download-options {
    width: min(100%, 320px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .weedid-download-options button {
    justify-content: center !important;
    text-align: center !important;
  }
}


/* ===== Weed result actions hard-center fix v11 ===== */
@media (max-width: 768px) {
  .weedid-result-card {
    overflow: hidden !important;
  }

  .weedid-result-head {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: center !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 14px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .weedid-result-head > div:first-child {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
  }

  .weedid-result-actions {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 330px !important;
    min-width: 0 !important;
    margin: 2px auto 0 auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-content: center !important;
    justify-items: center !important;
    align-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    text-align: center !important;
  }

  .weedid-result-actions > button,
  .weedid-result-actions > .weedid-download-menu,
  .weedid-result-actions .weedid-download-toggle {
    box-sizing: border-box !important;
    display: flex !important;
    width: 100% !important;
    max-width: 330px !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .weedid-download-menu {
    position: relative !important;
  }

  .weedid-download-options {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 330px !important;
    min-width: 0 !important;
    margin: 8px auto 0 auto !important;
    padding: 8px !important;
    text-align: center !important;
  }

  .weedid-download-options button {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
    text-align: center !important;
  }
}


/* ===== Paywall popup modal fix v12 ===== */
.weedid-paywall:not([hidden]) {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: grid !important;
  place-items: center !important;
  width: 100vw !important;
  max-width: 100vw !important;
  min-height: 100vh !important;
  padding: 18px !important;
  margin: 0 !important;
  background: rgba(15, 23, 42, .62) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.weedid-paywall[hidden] {
  display: none !important;
}

.weedid-paywall:not([hidden]) .weedid-paywall-inner {
  position: relative !important;
  width: min(520px, calc(100vw - 28px)) !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: clamp(24px, 5vw, 38px) !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 16% 0%, rgba(34, 211, 238, .22), transparent 32%),
    radial-gradient(circle at 100% 0%, rgba(168, 85, 247, .16), transparent 36%),
    linear-gradient(135deg, #fff, #f5f3ff) !important;
  border: 1px solid rgba(255,255,255,.72) !important;
  box-shadow: 0 30px 90px rgba(15, 23, 42, .34) !important;
  text-align: center !important;
  overflow: hidden !important;
}

.weedid-paywall-close {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 2 !important;
  width: 40px !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  color: #334155 !important;
  background: rgba(255,255,255,.88) !important;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .24) !important;
  font-size: 26px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}

.weedid-paywall-close:hover {
  transform: translateY(-1px) !important;
}

.weedid-paywall:not([hidden]) .weedid-paywall-badge {
  margin: 0 auto 12px !important;
}

.weedid-paywall:not([hidden]) .weedid-paywall-inner h3 {
  margin-top: 10px !important;
  font-size: clamp(26px, 5vw, 34px) !important;
}

.weedid-paywall:not([hidden]) .weedid-paywall-inner p {
  max-width: 430px !important;
  margin: 12px auto 22px !important;
  color: #64748b !important;
}

.weedid-paywall:not([hidden]) .weedid-paywall-inner a {
  width: min(100%, 260px) !important;
  min-height: 52px !important;
  margin: 0 auto !important;
}

@media (max-width: 768px) {
  .weedid-paywall:not([hidden]) {
    padding: 14px !important;
    align-items: center !important;
  }

  .weedid-paywall:not([hidden]) .weedid-paywall-inner {
    width: min(420px, calc(100vw - 28px)) !important;
    padding: 28px 18px 22px !important;
    border-radius: 26px !important;
  }
}

/* Weed result popup redesign fix-15 */
.weedid-result-card[hidden] {
  display: none !important;
}

.weedid-result-card:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 2.5vw, 26px);
  background: rgba(15, 23, 42, .48);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  overflow-y: auto;
}

.weedid-result-panel {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100vh - 28px);
  overflow: auto;
  padding: clamp(18px, 2.8vw, 30px);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(129, 140, 248, .12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 30px 90px rgba(15, 23, 42, .24);
  border: 1px solid rgba(148, 163, 184, .22);
}

.weedid-result-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #eff6ff;
  color: #0f172a;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .22);
}

.weedid-result-close:hover {
  background: #e0f2fe;
}

.weedid-result-card .weedid-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 0 42px 18px 0;
}

.weedid-result-card .weedid-result-head h3 {
  margin: 6px 0 0;
}

.weedid-result-hero {
  display: grid;
  grid-template-columns: minmax(240px, 310px) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: center;
  margin-bottom: 18px;
}

.weedid-result-photo-shell {
  position: relative;
  min-height: 250px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, #e7f8ee 0%, #f7fbff 100%);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .18);
}

.weedid-result-photo-shell::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .8);
  pointer-events: none;
}

.weedid-result-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.weedid-result-summary {
  display: grid;
  gap: 12px;
  align-content: center;
}

.weedid-result-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(34, 197, 94, .08);
  color: #15803d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.weedid-result-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  color: #0f172a;
}

.weedid-confidence-badge {
  display: inline-grid;
  gap: 6px;
  width: fit-content;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, .22);
  background: #f8fafc;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
}

.weedid-confidence-label {
  font-size: 12px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
}

.weedid-confidence-badge strong {
  display: block;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
  font-weight: 1000;
}

.weedid-confidence-badge em {
  font-style: normal;
  font-size: 14px;
  font-weight: 800;
}

.weedid-confidence-badge.high {
  background: linear-gradient(135deg, rgba(34, 197, 94, .12), rgba(236, 253, 245, .96));
}

.weedid-confidence-badge.high strong,
.weedid-confidence-badge.high em {
  color: #15803d;
}

.weedid-confidence-badge.medium {
  background: linear-gradient(135deg, rgba(250, 204, 21, .18), rgba(255, 251, 235, .98));
}

.weedid-confidence-badge.medium strong,
.weedid-confidence-badge.medium em {
  color: #b45309;
}

.weedid-confidence-badge.low {
  background: linear-gradient(135deg, rgba(248, 113, 113, .16), rgba(255, 241, 242, .98));
}

.weedid-confidence-badge.low strong,
.weedid-confidence-badge.low em {
  color: #dc2626;
}

.weedid-result-card .weedid-rendered-output {
  margin: 0 0 14px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .18);
}

.weedid-result-card .weedid-rendered-output h4 {
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
}

.weedid-result-card .weedid-rendered-output p,
.weedid-result-card .weedid-rendered-output li {
  color: #334155;
  font-size: 15px;
}

.weedid-result-card .weedid-output-wrap > span {
  font-size: 13px;
  font-weight: 900;
  color: #334155;
}

.weedid-result-card .weedid-output {
  min-height: 260px;
  border-radius: 22px;
  background: #fff;
}

.weedid-result-card .weedid-output-note {
  margin: 12px 0 0;
}

@media (max-width: 920px) {
  .weedid-result-hero {
    grid-template-columns: 1fr;
  }

  .weedid-result-photo-shell,
  .weedid-result-photo {
    min-height: 220px;
  }
}

@media (max-width: 767px) {
  .weedid-result-card:not([hidden]) {
    align-items: flex-start;
    padding: 10px;
  }

  .weedid-result-panel {
    width: 100%;
    max-height: calc(100vh - 20px);
    padding: 18px 14px 16px;
    border-radius: 24px;
  }

  .weedid-result-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }

  .weedid-result-card .weedid-result-head {
    margin-right: 32px;
    margin-bottom: 14px;
    text-align: center;
    align-items: center;
  }

  .weedid-result-card .weedid-result-head,
  .weedid-result-card .weedid-result-head > div:first-child {
    width: 100%;
  }

  .weedid-result-kicker,
  .weedid-confidence-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .weedid-result-summary {
    text-align: center;
  }

  .weedid-result-actions {
    justify-content: center !important;
    margin-left: auto;
    margin-right: auto;
  }

  .weedid-result-card .weedid-rendered-output,
  .weedid-result-card .weedid-output {
    border-radius: 20px;
  }
}


/* fix-17 title typography and identify icon */
.weedid-hero-title,
.weedid-card-head h3 {
  font-family: "Sora", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.072em;
  text-wrap: balance;
}

.weedid-hero-title {
  line-height: .92;
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
}

.weedid-card-head h3 {
  line-height: .98;
}

.weedid-btn-primary::before {
  width: 32px;
  height: 32px;
  background: var(--weedid-identify-icon) center/contain no-repeat;
  filter: drop-shadow(0 2px 8px rgba(255,255,255,.20));
}

@media (max-width: 768px) {
  .weedid-hero-title,
  .weedid-card-head h3 {
    letter-spacing: -0.058em;
  }
}


/* fix-18 preview centering + action buttons */
.weedid-preview-wrap {
  grid-template-columns: 1fr !important;
  justify-items: center;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.weedid-preview-frame {
  width: min(360px, 100%) !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  margin: 0 auto;
}

.weedid-preview-info {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.weedid-preview-info button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 981px) {
  .weedid-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 34px !important;
    align-items: stretch;
    justify-content: stretch !important;
    padding-top: 10px !important;
  }

  .weedid-btn,
  .weedid-btn-ghost,
  .weedid-btn-primary {
    width: 100%;
    min-width: 0 !important;
    min-height: 108px !important;
    border-radius: 38px !important;
    justify-content: center;
    gap: 22px !important;
    padding: 0 32px !important;
    font-family: "Sora", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(24px, 2.2vw, 34px) !important;
    font-weight: 700 !important;
    letter-spacing: -0.04em;
    white-space: nowrap;
  }

  .weedid-btn svg {
    width: 46px !important;
    height: 46px !important;
    stroke-width: 1.7;
  }

  .weedid-btn-ghost {
    color: #2f6d48 !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbfefb 100%) !important;
    border: 2px solid #d6e5d9 !important;
    box-shadow: 0 20px 40px rgba(15, 23, 42, .06), inset 0 1px 0 rgba(255,255,255,.95) !important;
  }

  .weedid-btn-ghost svg {
    color: #7faa8a;
  }

  .weedid-btn-primary {
    color: #ffffff !important;
    background: linear-gradient(90deg, #8cd63f 0%, #4bb739 32%, #1f9b3b 68%, #16853a 100%) !important;
    border: 4px solid rgba(228, 245, 225, .98) !important;
    box-shadow: 0 0 0 4px rgba(141, 226, 157, .40), 0 18px 36px rgba(56, 189, 72, .24) !important;
    text-shadow: 0 1px 0 rgba(0,0,0,.08);
  }

  .weedid-btn-primary::before {
    width: 58px !important;
    height: 58px !important;
    filter: drop-shadow(0 4px 14px rgba(255,255,255,.22));
  }
}

@media (max-width: 980px) {
  .weedid-preview-info {
    text-align: center;
  }
}


/* fix-19 balanced action buttons desktop + mobile */
.weedid-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 18px !important;
  padding-top: 8px !important;
}

.weedid-btn,
.weedid-btn-ghost,
.weedid-btn-primary {
  min-height: 64px !important;
  height: 64px !important;
  border-radius: 24px !important;
  padding: 0 28px !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1 !important;
  gap: 14px !important;
  white-space: nowrap !important;
}

.weedid-btn-ghost {
  width: auto !important;
  min-width: 190px !important;
  color: #2f6d48 !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfefb 100%) !important;
  border: 2px solid #d6e5d9 !important;
  box-shadow: 0 14px 28px rgba(15, 23, 42, .05), inset 0 1px 0 rgba(255,255,255,.95) !important;
}

.weedid-btn-ghost svg {
  width: 30px !important;
  height: 30px !important;
  color: #6f9d7c !important;
  stroke-width: 1.8 !important;
}

.weedid-btn-primary {
  width: auto !important;
  min-width: 260px !important;
  color: #ffffff !important;
  background: linear-gradient(90deg, #9bdd50 0%, #4fbd3d 32%, #209f3e 68%, #16853a 100%) !important;
  border: 3px solid rgba(228, 245, 225, .98) !important;
  box-shadow: 0 0 0 3px rgba(141, 226, 157, .34), 0 14px 30px rgba(56, 189, 72, .22) !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.08) !important;
}

.weedid-btn-primary svg {
  display: none !important;
}

.weedid-btn-primary::before {
  content: "" !important;
  width: 42px !important;
  height: 42px !important;
  flex: 0 0 auto !important;
  background: url('./form-art/identify-icon.webp?v=20260531-19') center / contain no-repeat !important;
  filter: drop-shadow(0 3px 10px rgba(255,255,255,.22)) !important;
}

@media (max-width: 768px) {
  .weedid-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    justify-items: stretch !important;
    align-items: stretch !important;
  }

  .weedid-btn,
  .weedid-btn-ghost,
  .weedid-btn-primary {
    width: 100% !important;
    min-width: 0 !important;
    height: 58px !important;
    min-height: 58px !important;
    border-radius: 20px !important;
    padding: 0 18px !important;
    font-size: 17px !important;
    justify-content: center !important;
  }

  .weedid-btn-ghost svg {
    width: 26px !important;
    height: 26px !important;
  }

  .weedid-btn-primary::before {
    width: 34px !important;
    height: 34px !important;
  }
}


/* fix-20 remove Identify weed icon completely */
.weedid-btn-primary {
  gap: 0 !important;
}

.weedid-btn-primary::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  background: none !important;
  filter: none !important;
}

.weedid-btn-primary svg {
  display: none !important;
}
