/* ==========================================================================
   01. Allocation input normalisation
   ========================================================================== */
.allocation-amount-input {
  -moz-appearance: textfield;
}
.allocation-amount-input::-webkit-outer-spin-button,
.allocation-amount-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ==========================================================================
   02. Brand comparison foundations
   ========================================================================== */
:root {
  /* Canonical WebOracle brand colour: WebOracle Red */
  --weboracle-red: #DD2230;
}
.gip-enhancement {
  font-family: inherit;
}
.gip-brand-health {
  display: block;
  padding: 24px;
  border: 1px solid #f0efed;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(20, 22, 26, 0.05);
}
.gip-status {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.gip-status-win {
  color: #157347;
  background: #e8f6ee;
}
.gip-status-lose {
  color: #a61b27;
  background: #fdebed;
}
.gip-status-tie {
  color: #665200;
  background: #fff6d6;
}
.gip-track {
  position: relative;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #f0efed;
}
.gip-track > span:not(.gip-benchmark-marker) {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #dd2230;
  transform: scaleX(0);
  transform-origin: left center;
  animation: gip-track-fill 520ms cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: var(--gip-row-delay, 0ms);
}
.gip-track > .gip-benchmark-marker {
  position: absolute;
  top: -2px;
  width: 2px;
  height: 10px;
  border-radius: 2px;
  background: #14161a;
  transform: translateX(-1px);
}
@keyframes gip-track-fill {
  to {
    transform: scaleX(1);
  }
}

/* ==========================================================================
   03. Live SEO comparison
   ========================================================================== */
.gip-compare-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.gip-compare-head h3 {
  margin: 0;
  color: #14161a;
  font-size: 16px;
  font-weight: 800;
}
.gip-compare-head p {
  margin: 4px 0 0;
  color: rgba(20, 22, 26, 0.46);
  font-size: 12px;
}
.gip-user-score-card {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 18px;
  border: 1px solid rgba(221, 34, 48, 0.16);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(20, 22, 26, 0.07);
  overflow: hidden;
}
.gip-user-score-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  padding: 22px 24px;
}
.gip-user-score-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 118px;
  padding: 22px 24px;
  border-left: 1px solid rgba(20, 22, 26, 0.1);
}
.gip-score-delta-pill {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid rgba(221, 34, 48, 0.16);
  border-radius: 999px;
  background: rgba(221, 34, 48, 0.035);
  color: #dd2230;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}
.gip-user-score-label {
  color: rgba(20, 22, 26, 0.48);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}
.gip-user-score-value {
  color: #dd2230;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.9;
}
.gip-user-score-meta {
  margin-top: 8px;
  color: rgba(20, 22, 26, 0.52);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}
.gip-user-score-meta strong {
  display: block;
  color: #14161a;
  font-size: 13px;
  font-weight: 900;
}
.gip-compare-tabs {
  display: inline-flex;
  gap: 4px;
  flex: 0 0 auto;
  padding: 4px;
  border: 1px solid #e8e6e3;
  border-radius: 999px;
  background: #f6f4f1;
}
.gip-compare-tabs button {
  min-width: 112px;
  flex: 1 1 0;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  color: rgba(20, 22, 26, 0.5);
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}
.gip-compare-tabs button:hover {
  color: #14161a;
  background: rgba(255, 255, 255, 0.58);
}
.gip-compare-tabs button.is-active {
  color: #fff;
  background: #0B0F19;
  box-shadow: none;
}
.gip-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.gip-summary-card {
  padding: 13px 14px;
  border: 1px solid #f0efed;
  border-radius: 12px;
  background: #fff;
}
.gip-summary-label {
  color: rgba(20, 22, 26, 0.42);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.gip-summary-value {
  margin-top: 4px;
  color: #14161a;
  font-size: 20px;
  font-weight: 800;
}
.gip-summary-value.is-red {
  color: #dd2230;
}
.gip-summary-detail {
  margin-top: 2px;
  color: rgba(20, 22, 26, 0.46);
  font-size: 10px;
  font-weight: 700;
}
.gip-gap-list {
  display: grid;
  gap: 3px;
  margin-top: 6px;
}
.gip-gap-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: rgba(20, 22, 26, 0.58);
  font-size: 10px;
  font-weight: 700;
}
.gip-gap-item strong {
  color: #14161a;
}
.gip-dimension-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 18px;
}
.gip-dimension-row {
  min-width: 0;
}
.gip-dimension-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
  color: #14161a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}
.gip-dimension-meta > span:first-child {
  min-width: 0;
}
.gip-dimension-result {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.gip-delta {
  color: rgba(20, 22, 26, 0.46);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}
.gip-competitor-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.gip-competitor-card {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #e8e6e3;
  border-radius: 12px;
  color: #14161a;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: 160ms ease;
}
.gip-competitor-card:hover,
.gip-competitor-card.is-active {
  border-color: #dd2230;
  box-shadow: 0 3px 10px rgba(221, 34, 48, 0.08);
}
.gip-competitor-card.is-active {
  background: rgba(221, 34, 48, 0.035);
}
.gip-competitor-name {
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gip-competitor-score {
  margin-top: 5px;
  font-size: 20px;
  font-weight: 800;
}
.gip-competitor-delta {
  margin-top: 2px;
  color: rgba(20, 22, 26, 0.46);
  font-size: 10px;
  font-weight: 700;
}
.gip-seo-loading,
.gip-seo-error {
  padding: 18px;
  border: 1px solid #e8e6e3;
  border-radius: 12px;
  color: rgba(20, 22, 26, 0.65);
  background: #faf9f7;
  font-size: 13px;
}
.gip-seo-error {
  border-color: #f0c7c7;
  color: #8d1d27;
  background: #fff3f3;
}
.gip-radar-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px;
  gap: 20px;
  align-items: center;
}
.gip-radar-chart {
  width: 100%;
  max-height: 350px;
}
.gip-radar-axis {
  fill: rgba(20, 22, 26, 0.55);
  font-size: 10px;
  font-weight: 700;
}
.gip-radar-legend {
  display: grid;
  gap: 10px;
}
.gip-legend-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #14161a;
  font-size: 11px;
  font-weight: 700;
}
@media (max-width: 800px) {
  .gip-compare-head {
    flex-direction: column;
    align-items: stretch;
  }
  .gip-compare-tabs {
    width: 100%;
  }
  .gip-compare-tabs button {
    flex: 1 0 auto;
  }
  .gip-user-score-card {
    grid-template-columns: 1fr;
  }
  .gip-user-score-context {
    flex-direction: column;
    align-items: flex-start;
    border-left: 0;
    border-top: 1px solid rgba(20, 22, 26, 0.1);
  }
  .gip-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gip-dimension-list,
  .gip-competitor-cards {
    grid-template-columns: 1fr;
  }
  .gip-radar-layout {
    grid-template-columns: 1fr;
  }
  .gip-radar-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   04. Sticky desktop profile panel
   ========================================================================== */
/* Keep the complete right-hand card column in view as the user scrolls. */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 114px;
}
@media (min-width: 1024px) {
  #root [class~="w-80"][class~="flex-shrink-0"] {
    position: sticky !important;
    top: 114px !important;
    align-self: flex-start;
  }
  #root [class~="w-80"][class~="flex-shrink-0"] > [class~="sticky"] {
    position: static !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* Give the full application a natural reading size on wide desktop screens. */
@media (min-width: 1280px) {
  html {
    font-size: 17px;
  }
  #root [class~="max-w-7xl"] {
    max-width: 88rem !important;
  }
}
@media (min-width: 1800px) {
  html {
    font-size: 18px;
  }
  #root [class~="max-w-7xl"] {
    max-width: 92rem !important;
  }
}

/* ==========================================================================
   05. Industry selection cards
   ========================================================================== */
.gip-industry-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
}
.gip-industry-card {
  display: flex;
  min-height: 132px;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}
.gip-industry-card > svg {
  box-sizing: content-box;
  width: 25px !important;
  height: 25px !important;
  margin: 0 !important;
  padding: 8px;
  overflow: visible;
  border: 1px solid rgba(20, 22, 26, 0.08);
  border-radius: 11px;
  color: rgba(20, 22, 26, 0.64) !important;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 2px 7px rgba(20, 22, 26, 0.05);
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}
.gip-industry-card:hover > svg {
  color: #14161a !important;
  border-color: rgba(20, 22, 26, 0.16);
  box-shadow: 0 4px 12px rgba(20, 22, 26, 0.08);
  transform: translateY(-1px);
}
.gip-industry-card[class*="border-[#dd2230]"] > svg {
  color: #dd2230 !important;
  border-color: rgba(221, 34, 48, 0.22);
  background: #fff;
  box-shadow: 0 4px 12px rgba(221, 34, 48, 0.1);
}
.gip-industry-card > div:last-child {
  display: flex;
  min-height: 36px;
  align-items: flex-end;
  line-height: 1.25;
}
@media (max-width: 639px) {
  .gip-industry-card {
    min-height: 116px;
  }
}

/* ==========================================================================
   06. WebOracle Insight
   ========================================================================== */
.gip-insight-body {
  display: grid;
  gap: 20px;
}
.gip-insight-summary {
  padding: 18px;
  border-radius: 12px;
  background: #f6f4f1;
}
.gip-insight-summary strong,
.gip-insight-section h4 {
  display: block;
  margin: 0 0 8px;
  color: #14161a;
  font-size: 14px;
  font-weight: 800;
}
.gip-insight-summary p,
.gip-insight-section p {
  margin: 0;
  color: rgba(20, 22, 26, 0.62);
  font-size: 14px;
  line-height: 1.65;
}
.gip-insight-analysis {
  position: relative;
  overflow: hidden;
  border: 1px solid #eceae7;
  border-radius: 12px;
  background: #fff;
}
.gip-insight-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 20px;
  transition: filter 180ms ease, opacity 180ms ease;
}
.gip-insight-analysis.is-locked .gip-insight-detail {
  pointer-events: none;
  user-select: none;
  filter: blur(4px);
  opacity: 0.62;
}
.gip-insight-preview-note {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(20, 22, 26, 0.46);
  font-size: 12px;
  line-height: 1.5;
}
.gip-insight-lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}
.gip-insight-lock span {
  max-width: 330px;
  padding: 14px 18px;
  border: 1px solid #eceae7;
  border-radius: 12px;
  color: #14161a;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 5px 16px rgba(20, 22, 26, 0.08);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}
.gip-insight-form {
  display: grid;
  gap: 10px;
}
.gip-insight-form-row {
  display: flex;
  gap: 12px;
}
.gip-insight-form input {
  min-width: 0;
  flex: 1 1 auto;
  padding: 12px 16px;
  border: 1px solid #dedbd7;
  border-radius: 12px;
  outline: none;
  color: #14161a;
  background: #f6f4f1;
  font: inherit;
  font-size: 14px;
}
.gip-insight-form input:focus {
  border-color: #dd2230;
  box-shadow: 0 0 0 3px rgba(221, 34, 48, 0.1);
}
.gip-insight-form button {
  flex: 0 0 auto;
  padding: 12px 18px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: #dd2230;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.gip-insight-form button:hover {
  background: #b81b28;
}
.gip-insight-form small,
.gip-insight-success {
  color: rgba(20, 22, 26, 0.46);
  font-size: 12px;
  line-height: 1.5;
}
.gip-insight-success {
  padding: 13px 16px;
  border: 1px solid #bfe4ce;
  border-radius: 12px;
  color: #157347;
  background: #edf9f2;
  font-weight: 700;
}
.gip-insight-loading,
.gip-insight-error {
  padding: 15px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}
.gip-insight-loading {
  border: 1px solid #dedbd7;
  color: #14161a;
  background: #f6f4f1;
}
.gip-insight-loading::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: #dd2230;
  content: "";
  animation: gip-insight-pulse 1s ease-in-out infinite alternate;
}
.gip-insight-loading-panel {
  display: grid;
  gap: 22px;
  padding: 24px;
  border: 1px solid #e6e2de;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff 0%, #faf8f5 100%);
}
.gip-insight-loading-copy strong {
  display: block;
  margin-bottom: 7px;
  color: #14161a;
  font-size: 16px;
  font-weight: 800;
}
.gip-insight-loading-copy p {
  margin: 0;
  color: rgba(20, 22, 26, 0.58);
  font-size: 14px;
  line-height: 1.55;
}
.gip-insight-skeleton {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.gip-insight-skeleton span {
  display: block;
  min-height: 76px;
  border-radius: 11px;
  background: linear-gradient(100deg, #f0eeeb 20%, #faf9f7 40%, #f0eeeb 60%);
  background-size: 220% 100%;
  animation: gip-insight-shimmer 1.25s linear infinite;
}
@keyframes gip-insight-shimmer {
  to { background-position-x: -220%; }
}
.gip-insight-error {
  border: 1px solid #f0c7c7;
  color: #8d1d27;
  background: #fff3f3;
}
.gip-insight-error button {
  margin-left: 8px;
  padding: 6px 10px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.gip-insight-error-only {
  display: grid;
  gap: 8px;
  padding: 22px;
}
.gip-insight-error-only strong,
.gip-insight-error-only p {
  margin: 0;
}
.gip-insight-error-only button {
  width: max-content;
  margin: 4px 0 0;
}
@keyframes gip-insight-pulse {
  to { opacity: 0.25; transform: scale(0.72); }
}
@media (max-width: 700px) {
  .gip-insight-detail {
    grid-template-columns: 1fr;
  }
  .gip-insight-form-row {
    flex-direction: column;
  }
  .gip-insight-skeleton {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   07. Responsive forecast and Insight layout
   ========================================================================== */
@media (max-width: 600px) {
  .gip-brand-health {
    min-width: 0;
    padding: 18px;
    border-radius: 14px;
    overflow: hidden;
  }
  .gip-compare-head {
    min-width: 0;
    gap: 15px;
    margin-bottom: 16px;
  }
  .gip-compare-head > div:first-child {
    min-width: 0;
    width: 100%;
  }
  .gip-compare-head p {
    line-height: 1.55;
  }
  .gip-compare-tabs {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    gap: 3px;
    padding: 3px;
    border-radius: 14px;
    overflow: hidden;
  }
  .gip-compare-tabs button {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    padding: 9px 3px;
    border-radius: 11px;
    font-size: 10px;
    line-height: 1.2;
    white-space: nowrap;
  }
  .gip-user-score-card {
    min-width: 0;
    margin-bottom: 14px;
    border-radius: 14px;
  }
  .gip-user-score-number {
    min-height: 94px;
    padding: 18px;
  }
  .gip-user-score-value {
    font-size: 34px;
  }
  .gip-user-score-context {
    min-width: 0;
    min-height: 0;
    padding: 18px;
    gap: 14px;
  }
  .gip-user-score-context > div:first-child {
    min-width: 0;
  }
  .gip-score-delta-pill {
    box-sizing: border-box;
    width: 100%;
    padding: 9px 10px;
    text-align: center;
    white-space: normal;
  }
  .gip-summary-grid {
    gap: 8px;
    margin-bottom: 16px;
  }
  .gip-summary-card {
    min-width: 0;
    padding: 12px;
  }
  .gip-summary-value {
    font-size: 18px;
  }
  .gip-gap-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 1px;
  }
  .gip-dimension-list {
    min-width: 0;
    gap: 14px;
  }
  .gip-dimension-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .gip-dimension-result {
    width: 100%;
    justify-content: space-between;
  }
  .gip-competitor-card {
    box-sizing: border-box;
    width: 100%;
  }
  .gip-radar-layout {
    min-width: 0;
    width: 100%;
    gap: 12px;
    overflow: hidden;
  }
  .gip-radar-chart {
    display: block;
    min-width: 0;
    width: 100%;
    height: auto;
    max-height: none;
  }
  .gip-radar-axis {
    font-size: 9px;
  }
  .gip-radar-legend {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    gap: 8px;
  }
  .gip-legend-item {
    min-width: 0;
    padding: 8px 10px;
    border-radius: 9px;
    background: #f6f4f1;
  }
  .gip-legend-item span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  button[data-gip-assessment-action="complete"] {
    width: auto;
    max-width: 100%;
    padding: 8px 12px !important;
    font-size: 12px !important;
    line-height: 1.2;
    white-space: nowrap;
  }
}

/* ==========================================================================
   08. WebOracle chatbot
   ========================================================================== */
#weboracle-chatbot-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 99999;
  font-family: Satoshi, Arial, sans-serif;
}
#weboracle-chatbot-widget * {
  box-sizing: border-box;
}
.wo-chatbot-toggle {
  min-height: 62px;
  padding: 8px 18px 8px 9px;
  border: none;
  border-radius: 999px;
  background: #dd2230;
  color: #fff;
  box-shadow: 0 14px 35px rgba(221, 34, 48, 0.32);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.wo-chatbot-toggle:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 18px 38px rgba(221, 34, 48, 0.38);
}
.wo-chatbot-toggle-icon,
.wo-chatbot-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.14);
}
.wo-chatbot-toggle-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
}
.wo-chatbot-toggle-copy {
  display: grid;
  gap: 1px;
  white-space: nowrap;
}
.wo-chatbot-toggle-kicker {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}
.wo-chatbot-toggle-label {
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}
.wo-chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 78px;
  width: min(390px, calc(100vw - 24px));
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(20, 22, 26, 0.08);
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(20, 22, 26, 0.16);
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.wo-chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #14161a, #2a2e36);
  color: #fff;
}
.wo-chatbot-header-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.wo-chatbot-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}
.wo-chatbot-title {
  font-size: 14px;
  font-weight: 800;
}
.wo-chatbot-subtitle {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
}
.wo-chatbot-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.14);
}
.wo-chatbot-close {
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  width: 30px;
  height: 30px;
  cursor: pointer;
}
.wo-chatbot-body {
  max-height: 320px;
  overflow: auto;
  padding: 14px;
  background: #faf8f6;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}
.wo-chatbot-message {
  margin-bottom: 10px;
  display: flex;
}
.wo-chatbot-message.user {
  justify-content: flex-end;
}
.wo-chatbot-bubble {
  max-width: 85%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #14161a;
}
.wo-chatbot-message.bot .wo-chatbot-bubble {
  background: #fff;
  border: 1px solid rgba(20, 22, 26, 0.08);
}
.wo-chatbot-message.user .wo-chatbot-bubble {
  background: #dd2230;
  color: #fff;
}
.wo-chatbot-suggestions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 0 14px 12px;
  background: #faf8f6;
}
.wo-chatbot-suggestion {
  min-width: 0;
  padding: 7px 10px;
  border: 1px solid rgba(221, 34, 48, 0.18);
  border-radius: 999px;
  color: #9e1820;
  background: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.wo-chatbot-suggestion:last-child {
  grid-column: 1 / -1;
}
.wo-chatbot-suggestion:hover {
  border-color: rgba(221, 34, 48, 0.4);
  background: rgba(221, 34, 48, 0.045);
}
.wo-chatbot-human-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-top: 1px solid rgba(20, 22, 26, 0.07);
  background: #f5f7f6;
  color: #62656b;
  font-size: 11px;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}
.wo-chatbot-human-help button {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c51d29;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}
.wo-chatbot-human-help.is-focused {
  background: #fff2f3;
  box-shadow: inset 3px 0 0 #dd2230;
  color: #4c2024;
}
.wo-chatbot-human-help.is-focused button {
  padding: 7px 10px;
  border-radius: 999px;
  background: #dd2230;
  color: #fff;
}
.wo-chatbot-request-view {
  max-height: min(590px, calc(100dvh - 120px));
  overflow-y: auto;
  background: #fff;
}
.wo-chatbot-request-intro {
  padding: 16px 16px 12px;
  background: #faf8f6;
}
.wo-chatbot-request-intro strong {
  color: #14161a;
  font-size: 15px;
}
.wo-chatbot-request-intro p {
  margin: 4px 0 0;
  color: #62656b;
  font-size: 12px;
  line-height: 1.45;
}
.wo-chatbot-request-form {
  display: grid;
  gap: 11px;
  padding: 14px;
}
.wo-chatbot-request-form > label:not(.wo-chatbot-transcript-option) {
  display: grid;
  gap: 5px;
  color: #303238;
  font-size: 11px;
  font-weight: 800;
}
.wo-chatbot-request-form input[type="text"],
.wo-chatbot-request-form input[type="email"],
.wo-chatbot-request-form select,
.wo-chatbot-request-form textarea {
  width: 100%;
  border: 1px solid rgba(20, 22, 26, 0.14);
  border-radius: 10px;
  background: #fff;
  color: #14161a;
  padding: 9px 10px;
  font: inherit;
  font-size: 13px;
}
.wo-chatbot-request-form textarea {
  min-height: 88px;
  resize: vertical;
}
.wo-chatbot-transcript-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #62656b;
  font-size: 11px;
  line-height: 1.4;
}
.wo-chatbot-transcript-option input {
  width: 16px;
  height: 16px;
  margin: 0;
  flex: 0 0 auto;
}
.wo-chatbot-request-status {
  padding: 9px 10px;
  border-radius: 9px;
  font-size: 11px;
  line-height: 1.4;
}
.wo-chatbot-request-status.success {
  background: #ecfdf3;
  color: #166534;
}
.wo-chatbot-request-status.error {
  background: #fff1f2;
  color: #9f1239;
}
.wo-chatbot-request-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.wo-chatbot-request-back,
.wo-chatbot-request-send {
  min-height: 40px;
  border-radius: 10px;
  padding: 9px 13px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.wo-chatbot-request-back {
  border: 1px solid rgba(20, 22, 26, 0.13);
  background: #fff;
  color: #303238;
}
.wo-chatbot-request-send {
  border: 0;
  background: #dd2230;
  color: #fff;
}
.wo-chatbot-toggle:focus-visible,
.wo-chatbot-close:focus-visible,
.wo-chatbot-suggestion:focus-visible,
.wo-chatbot-human-help button:focus-visible,
.wo-chatbot-request-back:focus-visible,
.wo-chatbot-request-send:focus-visible,
.wo-chatbot-request-form input:focus-visible,
.wo-chatbot-request-form select:focus-visible,
.wo-chatbot-request-form textarea:focus-visible {
  outline: 3px solid rgba(221, 34, 48, 0.28);
  outline-offset: 2px;
}
.wo-chatbot-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(20, 22, 26, 0.08);
  background: #fff;
}
.wo-chatbot-input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(20, 22, 26, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-size: 13px;
  outline: none;
}
.wo-chatbot-input:focus {
  border-color: #dd2230;
  box-shadow: 0 0 0 3px rgba(221, 34, 48, 0.12);
}
.wo-chatbot-send {
  border: none;
  border-radius: 12px;
  background: #dd2230;
  color: #fff;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.wo-chatbot-send:disabled,
.wo-chatbot-input:disabled,
.wo-chatbot-suggestion:disabled {
  cursor: wait;
  opacity: 0.58;
}
@media (max-width: 640px) {
  #weboracle-chatbot-widget {
    right: calc(12px + env(safe-area-inset-right, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .gip-main-step-navigation {
    margin-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
  .wo-chatbot-panel {
    position: fixed;
    right: 12px;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    width: min(calc(100vw - 24px), 390px);
    max-height: calc(100dvh - 104px - env(safe-area-inset-bottom, 0px));
  }
  .wo-chatbot-toggle {
    justify-content: center;
    width: 56px;
    height: 56px;
    min-height: 56px;
    padding: 7px;
  }
  .wo-chatbot-toggle-icon {
    width: 40px;
    height: 40px;
  }
  .wo-chatbot-toggle-copy {
    display: none;
  }
  .wo-chatbot-body {
    max-height: min(320px, calc(100dvh - 340px));
  }
  .wo-chatbot-request-view {
    max-height: calc(100dvh - 126px - env(safe-area-inset-bottom, 0px));
  }
  .wo-chatbot-human-help {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ==========================================================================
   09. Connection controls and report request
   ========================================================================== */
.wo-report-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(20, 22, 26, 0.1);
  border-radius: 10px;
  background: #faf8f6;
  color: rgba(20, 22, 26, 0.68);
  font-size: 12px;
  line-height: 1.45;
}
.wo-report-consent input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--weboracle-red);
  flex: 0 0 auto;
}
.wo-report-delivery-status {
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.55;
}
.wo-report-delivery-status.is-loading {
  border: 1px solid #f2d4d7;
  background: #fff7f8;
  color: #7e1720;
}
.wo-report-delivery-status.is-success {
  border: 1px solid #b9e8ca;
  background: #effbf3;
  color: #166534;
}
.wo-report-delivery-status.is-warning {
  border: 1px solid #f2d08b;
  background: #fff9e8;
  color: #7a4a05;
}
.wo-report-delivery-status.is-error {
  border: 1px solid #efb8bd;
  background: #fff1f2;
  color: #991b1b;
}
.wo-report-delivery-status strong {
  display: block;
  margin-bottom: 3px;
}
.wo-channel-header {
  align-items: center !important;
  gap: 24px !important;
}
.wo-connection-control {
  display: flex !important;
  align-items: center;
  gap: 14px !important;
  min-width: min(100%, 390px);
  margin-left: auto;
  padding: 11px 12px 11px 16px;
  border: 1px solid #e8e6e3;
  border-radius: 14px;
  background: #faf9f7;
}
.wo-connection-copy {
  min-width: 0;
  flex: 1 1 auto;
  text-align: left !important;
}
.wo-connection-provider {
  color: #14161a !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.3;
}
.wo-connection-status {
  display: inline-flex !important;
  width: fit-content;
  align-items: center;
  gap: 6px;
  margin-top: 5px !important;
  padding: 4px 8px;
  border: 1px solid #e8e6e3;
  border-radius: 999px;
  background: #fff;
  color: #737984 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2;
}
.wo-connection-status.is-connected {
  border-color: #bfe4ce;
  background: #edf9f2;
  color: #157347 !important;
}
.wo-connection-helper {
  margin-top: 6px;
  color: rgba(20, 22, 26, 0.48);
  font-size: 11px;
  line-height: 1.35;
}
.wo-connection-button {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 0 17px !important;
  border: 1px solid var(--weboracle-red) !important;
  border-radius: 10px !important;
  background: var(--weboracle-red) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(221, 34, 48, 0.16);
}
.wo-connection-button:hover:not(:disabled) {
  filter: brightness(0.92);
}
.wo-connection-button:focus-visible {
  outline: 3px solid rgba(221, 34, 48, 0.2);
  outline-offset: 2px;
}
.wo-connection-button:disabled {
  border-color: #e8e6e3 !important;
  background: #f0efed !important;
  color: #8f949d !important;
  box-shadow: none;
}
.wo-account-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}
.wo-account-picker {
  position: relative;
  margin-top: 8px;
}
.wo-account-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.wo-account-search-wrap svg {
  position: absolute;
  z-index: 1;
  left: 14px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #6f737b;
  stroke-linecap: round;
  stroke-width: 1.8;
  pointer-events: none;
}
.wo-account-search {
  width: 100%;
  min-height: 48px;
  padding: 0 14px 0 43px;
  border: 1px solid #d9d7d3;
  border-radius: 12px;
  outline: none;
  background: #fff;
  color: #14161a;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.wo-account-search::placeholder {
  color: #8d9198;
  font-weight: 500;
}
.wo-account-search:focus {
  border-color: var(--weboracle-red);
  box-shadow: 0 0 0 3px rgba(221, 34, 48, 0.12);
}
.wo-account-search-help {
  margin: 7px 2px 0;
  color: rgba(20, 22, 26, 0.5);
  font-size: 11px;
  line-height: 1.4;
}
.wo-account-results {
  position: absolute;
  z-index: 80;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  max-height: 286px;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid #dedbd6;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(20, 22, 26, 0.16);
  overscroll-behavior: contain;
}
.wo-account-results[hidden] {
  display: none !important;
}
.wo-account-result {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #14161a;
  text-align: left;
  cursor: pointer;
}
.wo-account-result:hover,
.wo-account-result:focus-visible {
  outline: none;
  background: #f7f5f2;
}
.wo-account-result.is-selected {
  background: rgba(221, 34, 48, 0.07);
}
.wo-account-result > span:first-child {
  min-width: 0;
}
.wo-account-result strong,
.wo-account-result small {
  display: block;
  overflow-wrap: anywhere;
}
.wo-account-result strong {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}
.wo-account-result small {
  margin-top: 3px;
  color: #777b83;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
}
.wo-account-result-state {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 999px;
  background: #f0efed;
  color: #6d7179;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.wo-account-result.is-selected .wo-account-result-state {
  background: var(--weboracle-red);
  color: #fff;
}
.wo-account-empty {
  padding: 17px 14px;
  color: #686c74;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
.wo-forecast-list {
  display: grid !important;
  gap: 0 !important;
  overflow: hidden;
  border: 1px solid #e5e3df;
  border-radius: 16px;
  background: #fff;
}
.wo-forecast-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 240px);
  gap: 28px !important;
  align-items: center !important;
  padding: 18px 20px !important;
  border: 0 !important;
  border-bottom: 1px solid #eeece9 !important;
  border-radius: 0 !important;
  background: #fff !important;
  transition: background-color 160ms ease;
}
.wo-forecast-row:last-child {
  border-bottom: 0 !important;
}
.wo-forecast-row:hover {
  background: #fbfaf8 !important;
}
.wo-forecast-title-line {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.wo-forecast-title-line > span:first-child {
  width: 8px !important;
  height: 8px !important;
  flex: 0 0 auto;
}
.wo-forecast-channel {
  color: #14161a;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.3;
}
.wo-forecast-status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-left: 3px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}
.wo-forecast-row.is-ready .wo-forecast-status {
  color: #14733c;
  background: #eaf7ef;
}
.wo-forecast-row.needs-input .wo-forecast-status {
  color: #8a5a00;
  background: #fff4d6;
}
.wo-forecast-detail {
  margin: 6px 0 0 17px !important;
  color: rgba(20, 22, 26, 0.5) !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}
.wo-forecast-result {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin-top: 0 !important;
  padding-left: 24px;
  border-left: 1px solid #eeece9;
  text-align: left !important;
}
.wo-forecast-result-label {
  margin-bottom: 4px;
  color: rgba(20, 22, 26, 0.42);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}
.wo-forecast-value {
  color: #14161a;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}
.wo-forecast-result-note {
  margin-top: 3px;
  color: rgba(20, 22, 26, 0.48);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
}
.wo-forecast-row.needs-input .wo-forecast-value {
  color: #70500e;
  font-size: 14px;
}
@media (max-width: 760px) {
  .wo-channel-header {
    align-items: stretch !important;
  }
  .wo-connection-control {
    width: 100%;
    min-width: 0;
    margin-left: 0;
    flex-wrap: wrap;
  }
  .wo-connection-button {
    width: 100%;
  }
  .wo-account-search {
    min-height: 50px;
    font-size: 16px;
  }
  .wo-account-results {
    max-height: min(310px, 52vh);
  }
  .wo-forecast-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px !important;
    padding: 17px 16px !important;
  }
  .wo-forecast-title-line {
    flex-wrap: wrap;
  }
  .wo-forecast-detail {
    margin-left: 17px !important;
  }
  .wo-forecast-result {
    margin-left: 17px;
    padding: 12px 0 0;
    border-top: 1px solid #eeece9;
    border-left: 0;
  }
}

/* ==========================================================================
   10. Network access control
   ========================================================================== */
.wo-network-readonly-notice {
  position: sticky;
  top: 0;
  z-index: 99999;
  padding: 13px 20px;
  border-bottom: 1px solid #efb8bd;
  background: #fff1f2;
  color: #7e1720;
  text-align: center;
  font: 700 14px/1.45 Satoshi, Arial, sans-serif;
  box-shadow: 0 8px 24px rgba(20, 22, 26, 0.08);
}
html[data-wo-network-readonly="true"] #root button,
html[data-wo-network-readonly="true"] #root input,
html[data-wo-network-readonly="true"] #root select,
html[data-wo-network-readonly="true"] #root textarea {
  cursor: not-allowed !important;
  pointer-events: none !important;
  opacity: 0.58 !important;
}
html[data-wo-network-readonly="true"] #weboracle-chatbot-widget {
  display: none !important;
}
html[data-wo-access-pending="true"] #root {
  pointer-events: none !important;
}
#wo-turnstile-container {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 100000;
  width: 300px;
  max-width: calc(100vw - 24px);
}
@media (max-width: 480px) {
  #wo-turnstile-container {
    right: 50%;
    transform: translateX(50%);
  }
}

/* ==========================================================================
   11. Business website eligibility
   ========================================================================== */
.wo-business-url-eligibility {
  display: none;
  margin-top: 10px;
  border-radius: 10px;
  padding: 10px 12px;
  font: 700 13px/1.45 Satoshi, Arial, sans-serif;
}
.wo-business-url-eligibility[data-state="checking"] {
  display: block;
  border: 1px solid #e5e7eb;
  background: #f6f4f1;
  color: rgba(20, 22, 26, 0.62);
}
.wo-business-url-eligibility[data-state="verified"] {
  display: block;
  border: 1px solid rgba(76, 184, 139, 0.28);
  background: rgba(76, 184, 139, 0.08);
  color: #18714d;
}
.wo-business-url-eligibility[data-state="blocked"],
.wo-business-url-eligibility[data-state="error"] {
  display: block;
  border: 1px solid rgba(221, 34, 48, 0.22);
  background: rgba(221, 34, 48, 0.06);
  color: #9f1d28;
}
.gip-main-step-navigation button.gip-preparing-forecast {
  cursor: wait;
  opacity: 0.72;
}
