:root {
  color-scheme: light;
  --blue: #125fc2;
  --blue-dark: #0b3a7d;
  --ink: #172033;
  --muted: #5b6a82;
  --line: #dce6f4;
  --bg: #f5f8fc;
  --soft: #ecf4ff;
  --green: #15803d;
  --orange: #d65f00;
  --red: #dc2626;
  --white: #ffffff;
  --shadow: 0 16px 38px rgba(18, 95, 194, 0.12);
  --content-width: 1180px;
  --reading-width: 760px;
  --sticky-panel-offset: clamp(76px, 10vh, 108px);
  --text-2xs: 11px;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-md: 14px;
  --text-base: 15px;
  --text-lg: 17px;
  --text-xl: 19px;
  --text-2xl: 22px;
  --text-3xl: 26px;
  --text-page: clamp(26px, 3vw, 34px);
  --text-hero: clamp(36px, 4.5vw, 52px);
  --line-tight: 1.15;
  --line-heading: 1.22;
  --line-normal: 1.55;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--text-base);
  line-height: var(--line-normal);
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 8px 10px;
  z-index: 10;
}

.skip-link:focus {
  left: 8px;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
}

.topline {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 8px 16px;
  background: #e9f2ff;
  color: #234465;
  font-size: var(--text-sm);
}

.topline a {
  font-weight: 800;
}

.nav-wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 190px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: var(--text-xs);
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: end;
  flex-wrap: wrap;
  flex: 1;
  gap: 6px;
  font-size: var(--text-md);
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
  padding: 10px 11px;
  border-radius: 8px;
  color: #253b59;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--soft);
  color: var(--blue-dark);
}

.nav-links a.nav-disabled,
.nav-links a.nav-disabled:hover,
.nav-links a.nav-disabled.active {
  background: transparent;
  color: #9aa8ba;
  cursor: not-allowed;
  pointer-events: none;
}

.nav-links .nav-cta {
  background: var(--blue);
  color: var(--white);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta.active {
  background: var(--blue-dark);
  color: var(--white);
}

.nav-links .nav-cta.nav-disabled,
.nav-links .nav-cta.nav-disabled:hover,
.nav-links .nav-cta.nav-disabled.active {
  background: #d7dee8;
  color: #7b8796;
}

.nav-auth {
  flex: 0 0 auto;
  position: relative;
}

.nav-profile-button {
  align-items: center;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  gap: 9px;
  min-height: 42px;
  padding: 4px 10px 4px 5px;
}

.nav-profile-button:hover,
.nav-profile-button[aria-expanded="true"] {
  background: var(--soft);
  border-color: #bcd3f0;
}

.nav-profile-avatar {
  background: var(--blue);
  border-radius: 50%;
  color: var(--white);
  display: grid;
  flex: 0 0 auto;
  font-size: var(--text-sm);
  font-weight: 950;
  height: 32px;
  place-items: center;
  width: 32px;
}

.nav-profile-copy {
  display: grid;
  line-height: 1.1;
  min-width: 0;
  text-align: left;
}

.nav-profile-copy strong {
  font-size: var(--text-sm);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-profile-copy small {
  color: var(--green);
  font-size: var(--text-2xs);
  font-weight: 900;
}

.nav-profile-menu {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 6px;
  min-width: 240px;
  padding: 10px;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 20;
}

.nav-profile-menu[hidden] {
  display: none;
}

.nav-profile-menu-head {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 2px;
  padding: 4px 4px 10px;
}

.nav-profile-menu-head strong {
  color: var(--ink);
  font-size: var(--text-md);
}

.nav-profile-menu-head span {
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.nav-profile-menu a,
.nav-profile-menu button {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #253b59;
  cursor: pointer;
  font-size: var(--text-md);
  font-weight: 900;
  padding: 9px 10px;
  text-align: left;
  text-decoration: none;
}

.nav-profile-menu a:hover,
.nav-profile-menu button:hover {
  background: var(--soft);
  color: var(--blue-dark);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  padding: 9px 12px;
  font-weight: 800;
}

.hero {
  background: linear-gradient(180deg, #166fd7 0%, #0d4fa8 100%);
  color: var(--white);
  padding: 48px 20px 34px;
}

.hero-inner,
.section,
.site-footer {
  max-width: var(--content-width);
  margin: 0 auto;
}

.hero h1 {
  margin: 0;
  font-size: var(--text-hero);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero p {
  max-width: 760px;
  margin: 14px 0 0;
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.platform-strip {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
  max-width: 1020px;
}

.platform-strip-label {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--text-md);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  margin-right: 6px;
  white-space: nowrap;
}

.platform-strip-item {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 7px 12px 7px 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.platform-strip-item:hover,
.platform-strip-item:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
}

.platform-strip-name {
  line-height: 1.1;
}

.platform-strip-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--white);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: var(--text-xs);
  font-weight: 900;
  overflow: hidden;
}

.platform-strip-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.platform-strip-logo.has-image span {
  display: none;
}

.section {
  padding: 38px 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
}

.section-header h2,
.page-title h1 {
  margin: 0;
  font-size: var(--text-page);
  line-height: var(--line-tight);
}

.section-header p,
.page-title p {
  color: var(--muted);
  margin: 8px 0 0;
}

.button,
button.button {
  border: 1px solid transparent;
  background: var(--blue);
  color: var(--white);
  border-radius: 8px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: var(--text-md);
  min-height: 42px;
  padding: 10px 15px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--blue-dark);
}

.button:disabled,
.button[disabled] {
  cursor: not-allowed;
  opacity: 0.62;
}

.button-light {
  background: var(--white);
  color: var(--blue-dark);
}

.button-light:hover {
  background: #eaf3ff;
}

.filter-search,
.filter-reset {
  align-self: end;
  font-size: var(--text-sm);
  justify-self: start;
  min-height: 38px;
  min-width: 76px;
  padding: 8px 13px;
}

.filter-reset {
  background: #f8fbff;
  border-color: var(--line);
  color: var(--blue-dark);
}

.filter-reset:hover {
  background: #eaf3ff;
}

.button-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.button-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.button-dark {
  background: var(--ink);
}

.button-dark:hover {
  background: #0a1220;
}

.filter-bar,
.inline-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 14px;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr auto auto;
  gap: 12px;
  margin-bottom: 22px;
}

.price-history-filter {
  align-items: end;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(145px, 0.8fr)) auto auto;
}

.price-history-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.95fr);
}

.price-history-list-panel {
  min-width: 0;
}

.price-history-list-panel .table-card {
  overflow-x: auto;
}

.price-history-trend-panel {
  align-self: start;
  min-width: 0;
  position: sticky;
  top: var(--sticky-panel-offset);
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: #33445c;
  font-size: var(--text-sm);
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 42px;
  padding: 10px 11px;
  color: var(--ink);
  background: var(--white);
  font-size: var(--text-md);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.deal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.deal-results-header {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: var(--text-md);
  font-weight: 800;
}

.deal-results-header p {
  margin: 0;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.pagination-pages {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination-button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue-dark);
  border-radius: 8px;
  min-height: 40px;
  min-width: 72px;
  font-size: var(--text-md);
  padding: 9px 12px;
  font-weight: 900;
  cursor: pointer;
}

.pagination-pages .pagination-button {
  min-width: 42px;
}

.pagination-ellipsis {
  color: var(--muted);
  font-weight: 900;
  min-width: 22px;
  text-align: center;
}

.pagination-button:hover:not(:disabled),
.pagination-button.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.pagination-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.deal-card,
.info-card,
.form-card,
.table-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.deal-card {
  padding: 16px;
  display: grid;
  gap: 14px;
}

.platform-filter-summary {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1.1fr);
  margin: 16px 0;
  padding: 16px;
}

.platform-filter-summary h2 {
  font-size: var(--text-xl);
  line-height: var(--line-heading);
  margin: 8px 0 4px;
}

.platform-filter-summary p {
  color: var(--muted);
  margin: 0;
}

.platform-coupon-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.platform-coupon-chip {
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: var(--red);
  display: grid;
  gap: 2px;
  min-width: 112px;
  padding: 8px 10px;
}

.platform-coupon-chip strong {
  font-size: var(--text-sm);
}

.platform-coupon-chip small {
  color: #7f1d1d;
  font-size: var(--text-2xs);
  font-weight: 800;
}

.deal-card.inactive-recent {
  border-color: #cbd5e1;
  background: #f8fafc;
  box-shadow: none;
}

.deal-card.inactive-recent .platform-logo,
.price-history-row.inactive-recent .platform-logo {
  filter: grayscale(1);
  opacity: 0.72;
}

.deal-head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.platform-logo {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 900;
  flex: 0 0 auto;
  overflow: hidden;
}

.platform-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
  background: var(--white);
}

.platform-logo.has-image .platform-logo-text {
  display: none;
}

.eyebrow {
  color: var(--muted);
  margin: 0 0 2px;
  text-transform: uppercase;
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.deal-card h3,
.info-card h3 {
  margin: 0;
  font-size: var(--text-lg);
  line-height: var(--line-heading);
}

.deal-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.deal-meta span,
.badge {
  background: #eef5ff;
  color: #174f9f;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: var(--text-xs);
  font-weight: 900;
}

.deal-meta .deal-badge {
  align-items: center;
  background: var(--white);
  border: 1px solid #d8e2f0;
  border-radius: 6px;
  color: #37516f;
  display: inline-flex;
  font-size: var(--text-2xs);
  font-weight: 800;
  line-height: 1.1;
  padding: 3px 7px;
}

.deal-meta .verified-badge {
  background: var(--white);
  border-color: #bbf7d0;
  color: #166534;
}

.deal-meta .soft-badge {
  background: var(--white);
  border-color: #e2e8f0;
  color: #64748b;
}

.deal-meta span.inactive-status,
.inactive-link-note {
  background: var(--white);
  color: #64748b;
}

.inactive-link-note {
  display: inline-block;
  margin-top: 4px;
  border-radius: 999px;
  padding: 3px 7px;
  font-size: var(--text-2xs);
  font-weight: 900;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-row span {
  color: var(--muted);
  text-decoration: line-through;
}

.price-row strong {
  color: var(--green);
  font-size: var(--text-xl);
}

.deal-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
}

.deal-details div {
  min-width: 0;
}

.deal-details dt {
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 900;
}

.deal-details dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.deal-details dd[data-coupon] {
  color: var(--red);
}

.deal-actions {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr;
  gap: 8px;
}

.marketplace-primary-action {
  grid-template-columns: 1fr;
}

.marketplace-secondary-link {
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 900;
  justify-self: center;
  padding: 2px 4px;
  text-decoration: none;
}

.marketplace-secondary-link:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

.copy-code {
  align-items: center;
  border: 1px solid #bfd3f1;
  color: var(--blue-dark);
  background: #ffffff;
  border-radius: 8px;
  display: inline-flex;
  justify-content: center;
  min-height: 40px;
  padding: 9px 12px;
  font-size: var(--text-md);
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.deal-copy-action {
  justify-content: center;
  width: 100%;
}

.deal-primary-action {
  background: var(--blue);
  border-color: var(--blue);
  min-height: 40px;
  padding: 9px 12px;
  white-space: nowrap;
}

.deal-primary-action:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.copy-code.copied {
  border-color: var(--green);
  color: var(--green);
  background: #f0fdf4;
}

.copy-code:disabled {
  border-color: #cbd5e1;
  color: #64748b;
  background: #f8fafc;
  cursor: not-allowed;
}

.feature-grid,
.pricing-grid,
.funnel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trust-strip {
  align-items: center;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  padding: 12px;
}

.trust-strip span {
  background: var(--white);
  border: 1px solid #dbe7f7;
  border-radius: 999px;
  color: #25415f;
  font-size: var(--text-sm);
  font-weight: 900;
  padding: 6px 10px;
}

.funnel-section {
  padding-top: 18px;
}

.feature-card-section {
  padding-top: 18px;
}

.compact-feature-grid {
  gap: 12px;
}

.compact-feature-grid .info-card {
  box-shadow: none;
}

.feature-action-card {
  align-content: start;
  display: grid;
  gap: 8px;
}

.feature-action-card p {
  margin: 0;
}

.feature-card-link {
  justify-self: start;
  margin-top: 4px;
  min-height: 36px;
  padding: 8px 12px;
}

.page-shortcut-grid {
  margin-bottom: 18px;
}

.seo-section {
  padding-top: 0;
}

.seo-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seo-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.seo-panel h2 {
  font-size: var(--text-xl);
  line-height: var(--line-heading);
  margin: 0;
}

.seo-panel p {
  color: var(--muted);
  margin: 10px 0 0;
}

.seo-keyword-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.seo-keyword-row span {
  background: #eef5ff;
  border: 1px solid #d8e6fb;
  border-radius: 999px;
  color: #174f9f;
  font-size: var(--text-sm);
  font-weight: 900;
  padding: 6px 10px;
}

.free-course-summary,
.top-deal-summary {
  margin-bottom: 16px;
}

.free-course-summary h3,
.top-deal-summary h3 {
  font-size: var(--text-3xl);
}

.alerts-overview {
  padding-bottom: 0;
}

.alert-section-header {
  margin-bottom: 16px;
}

.alert-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.alert-option-card {
  align-items: center;
  background: var(--white);
  border: 1px solid #d9e3f2;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(16, 40, 90, 0.07);
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr;
  padding: 16px;
}

.alert-card-icon {
  align-items: center;
  background: #eef4ff;
  border: 1px solid #c8d8fb;
  border-radius: 8px;
  color: #3169d6;
  display: inline-flex;
  height: 62px;
  justify-content: center;
  width: 62px;
}

.alert-card-icon svg {
  fill: none;
  height: 32px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 32px;
}

.alert-option-card h2 {
  color: var(--ink);
  font-size: var(--text-lg);
  line-height: var(--line-heading);
  margin: 0 0 4px;
}

.alert-option-card p {
  color: var(--muted);
  font-size: var(--text-base);
  margin: 0;
}

.alert-preferences-layout {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
}

.alert-summary-card {
  display: grid;
  gap: 12px;
  position: sticky;
  top: var(--sticky-panel-offset);
}

.alert-summary-card h2 {
  margin: 0;
}

.alert-summary-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.alert-summary-list span {
  background: #eef5ff;
  border: 1px solid #d8e6fb;
  border-radius: 999px;
  color: #174f9f;
  font-size: var(--text-xs);
  font-weight: 900;
  padding: 6px 9px;
}

.alert-preferences-form {
  display: grid;
  gap: 16px;
  max-width: none;
}

.alert-form-head {
  display: grid;
  gap: 6px;
}

.alert-form-head h2 {
  margin: 0;
}

.field-hint {
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 800;
  margin: -2px 0 0;
}

.optional-label {
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 800;
}

.alert-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bundle-path-section {
  padding-bottom: 0;
}

.bundle-path-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.bundle-path-row {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(220px, 0.9fr) minmax(320px, 1fr) minmax(180px, 0.7fr);
  padding: 22px;
}

.bundle-path-row + .bundle-path-row {
  border-top: 1px solid var(--line);
}

.bundle-path-row h2 {
  color: var(--ink);
  font-size: var(--text-lg);
  line-height: var(--line-heading);
  margin: 0;
}

.bundle-path-row p {
  color: #385173;
  font-size: var(--text-base);
  margin: 0;
}

.bundle-path-row strong {
  color: var(--orange);
  font-size: var(--text-lg);
  justify-self: start;
}

.bundle-tool-section {
  padding-top: 24px;
}

.bundle-tool {
  display: grid;
  gap: 16px;
  max-width: none;
}

.bundle-tool-controls {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
}

.bundle-build-button {
  min-width: 180px;
  white-space: nowrap;
}

.info-card {
  padding: 18px;
}

.info-card h2,
.form-card h2 {
  color: var(--ink);
  font-size: var(--text-2xl);
  line-height: var(--line-heading);
  margin: 0;
}

.info-card p {
  color: var(--muted);
  margin: 8px 0 0;
}

.page-title {
  background: #eaf3ff;
  border-bottom: 1px solid var(--line);
  padding: 34px 20px;
}

.page-title > div {
  max-width: var(--content-width);
  margin: 0 auto;
}

.table-card {
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

th,
td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-md);
}

th {
  background: #f0f6ff;
  color: #253b59;
  font-size: var(--text-xs);
  text-transform: uppercase;
}

.price-history-row {
  cursor: pointer;
}

.price-history-row:hover td {
  background: #f8fbff;
}

.price-history-row.selected td {
  background: #eaf3ff;
}

.price-history-row.inactive-recent td {
  background: #f8fafc;
  color: #64748b;
}

.price-history-row.inactive-recent strong {
  color: #475569;
}

.price-history-row.selected td:first-child {
  box-shadow: inset 4px 0 0 var(--blue);
}

.price-history-row.selected .price-history-course strong {
  color: var(--blue-dark);
}

.price-history-row:focus-visible td {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

.price-course-link {
  background: var(--ink);
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  font-size: var(--text-sm);
  font-weight: 900;
  justify-content: center;
  min-height: 34px;
  padding: 7px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.price-course-link:hover {
  background: #0a1220;
}

.price-history-course {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr);
}

.price-history-course .platform-logo {
  height: 38px;
  width: 38px;
}

.price-history-course strong,
.price-history-course span {
  display: block;
}

.price-history-submeta {
  color: #6b7890;
  font-size: var(--text-xs);
  font-weight: 800;
  margin-top: 3px;
}

.price-drop-cell {
  display: grid;
  gap: 7px;
}

.price-drop-cell > strong {
  color: var(--green);
  font-size: var(--text-md);
}

.history-bar {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #e3ebf7;
  block-size: 10px;
  display: block;
  inline-size: 100%;
  min-width: 120px;
}

.history-bar::-webkit-progress-bar {
  background: #e3ebf7;
  border-radius: 999px;
}

.history-bar::-webkit-progress-value {
  background: linear-gradient(90deg, var(--orange), var(--green));
  border-radius: 999px;
}

.history-bar::-moz-progress-bar {
  background: linear-gradient(90deg, var(--orange), var(--green));
  border-radius: 999px;
}

.price-sample-section {
  padding-bottom: 0;
}

.price-sample-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 22px;
}

.price-history-trend-panel .price-sample-card {
  padding: 18px;
}

.price-sample-heading {
  border-top: 2px solid #cfe0f7;
  margin: 0 0 12px;
  padding-top: 14px;
  text-align: left;
}

.price-sample-kicker {
  color: var(--blue-dark);
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 950;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.price-sample-heading h2 {
  color: #10285a;
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: var(--line-heading);
  margin: 0;
}

.price-history-trend-panel .price-sample-heading h2 {
  font-size: var(--text-xl);
}

.price-sample-title-price {
  color: var(--orange);
  display: inline;
  margin-right: 10px;
  white-space: nowrap;
}

.price-sample-heading p {
  color: #385173;
  font-size: var(--text-md);
  font-weight: 800;
  margin: 7px 0 0;
}

.price-sample-chart {
  aspect-ratio: 8 / 3;
  display: block;
  height: auto;
  width: 100%;
}

.price-history-trend-panel .price-sample-chart {
  aspect-ratio: 16 / 7;
}

.price-sample-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 10px;
}

.price-alert-inline {
  border-color: #cbdcf2;
  min-width: 132px;
  padding-inline: 13px;
}

.price-sample-cta {
  min-width: 142px;
  padding-inline: 14px;
}

.price-sample-alert-status .notice {
  margin-top: 10px;
}

.price-sample-grid line {
  stroke: #e4edf9;
  stroke-width: 1;
}

.price-sample-line {
  fill: none;
  stroke: #102f61;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.price-sample-dot {
  fill: var(--orange);
}

.price-sample-axis,
.price-sample-note,
.price-sample-now {
  fill: #10285a;
  font-size: var(--text-base);
  font-weight: 900;
}

.price-sample-now {
  fill: var(--orange);
}

.price-sample-note {
  font-size: var(--text-sm);
}

.handoff-section {
  align-items: start;
}

.handoff-layout {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
}

.handoff-course-card,
.handoff-coupon-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.handoff-course-card {
  align-self: start;
  display: grid;
  gap: 14px;
}

.handoff-coupon-panel {
  align-self: start;
}

.handoff-course-card h2 {
  font-size: var(--text-xl);
  line-height: var(--line-heading);
  margin: 0;
}

.handoff-course-meta {
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 800;
  margin: 7px 0 0;
}

.handoff-course-top {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  padding-bottom: 14px;
}

.handoff-utility-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.handoff-utility-action {
  align-items: center;
  appearance: none;
  background: var(--white);
  border: 1px solid #b9d2f3;
  border-radius: 8px;
  color: var(--blue-dark);
  cursor: pointer;
  display: inline-flex;
  gap: 7px;
  font-size: var(--text-md);
  font-weight: 950;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  text-decoration: none;
}

.handoff-utility-action:hover {
  background: var(--soft);
  border-color: var(--blue);
}

.handoff-utility-action.saved,
.handoff-utility-action.saved:hover {
  background: #eefbf2;
  border-color: #b8e2c5;
  color: #14532d;
  cursor: default;
}

.handoff-utility-action span {
  align-items: center;
  background: #e7f0ff;
  border-radius: 50%;
  display: inline-flex;
  font-size: var(--text-xs);
  height: 20px;
  justify-content: center;
  width: 20px;
}

.handoff-utility-action.saved span {
  background: #d8f5df;
  color: #14532d;
}

.handoff-save-status .notice {
  margin-top: 0;
}

.handoff-save-status:empty {
  display: none;
}

.handoff-alert-panel {
  background: #f8fbff;
  border: 1px solid #cbdcf2;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  margin-top: 0;
  padding: 14px;
}

.handoff-alert-head {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.handoff-alert-head h3 {
  color: var(--ink);
  font-size: var(--text-lg);
  line-height: var(--line-heading);
  margin: 8px 0 0;
}

.handoff-alert-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.handoff-alert-grid input[readonly] {
  background: #eef5ff;
  color: #33445c;
}

.handoff-alert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.handoff-conversion-summary {
  background: var(--white);
  border: 1px solid #d9e4f5;
  border-radius: 8px;
  display: grid;
  gap: 7px;
  padding: 14px 16px;
}

.handoff-conversion-summary span {
  color: #174f9f;
  font-size: var(--text-xs);
  font-weight: 900;
  text-transform: uppercase;
}

.handoff-conversion-summary strong {
  color: var(--red);
  font-size: var(--text-xl);
  line-height: var(--line-tight);
  overflow-wrap: anywhere;
}

.handoff-conversion-summary p {
  color: #33445c;
  font-size: var(--text-base);
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
  max-width: 620px;
}

.handoff-conversion-summary small {
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 900;
}

.handoff-applied-banner {
  align-items: center;
  background: #effbf3;
  border: 1px solid #b8e2c5;
  border-radius: 8px;
  color: #14532d;
  display: grid;
  gap: 4px 12px;
  grid-template-columns: auto 1fr;
  padding: 12px;
}

.handoff-applied-banner span,
.handoff-applied-banner small {
  font-size: var(--text-xs);
  font-weight: 900;
  text-transform: uppercase;
}

.handoff-applied-banner strong {
  color: var(--red);
  font-size: var(--text-xl);
  grid-row: span 2;
  justify-self: end;
}

.marketplace-applied-banner,
.marketplace-extra-discount,
.provider-applied-banner {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.costcut-applied-banner,
.provider-applied-banner {
  grid-template-columns: minmax(0, 1fr) auto;
}

.costcut-applied-banner strong,
.provider-applied-banner strong {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
}

.costcut-applied-banner small,
.provider-applied-banner small {
  grid-column: 1 / -1;
}

.remove-applied-coupon {
  align-self: center;
  background: #ffffff;
  border: 1px solid #fdba74;
  border-radius: 8px;
  color: #9a3412;
  cursor: pointer;
  font-size: var(--text-xs);
  font-weight: 900;
  grid-column: 2;
  grid-row: 1 / 3;
  justify-self: end;
  line-height: 1;
  min-inline-size: 0;
  padding: 6px 10px;
  text-transform: uppercase;
  white-space: nowrap;
  width: auto;
}

.remove-applied-coupon:hover {
  background: #ffedd5;
}

.handoff-final-amount {
  background: var(--ink);
  border-radius: 8px;
  color: var(--white);
  display: grid;
  gap: 4px;
  padding: 14px;
}

.handoff-final-amount span {
  color: #d8e5f8;
  font-size: var(--text-xs);
  font-weight: 900;
  text-transform: uppercase;
}

.handoff-final-amount strong {
  color: var(--white);
  font-size: var(--text-3xl);
  line-height: var(--line-tight);
}

.handoff-final-amount small,
.handoff-final-amount em {
  color: #d8e5f8;
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: 800;
}

.handoff-final-amount em {
  color: #bbf7d0;
}

.handoff-interest-region {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.handoff-interest-region:empty {
  display: none;
}

.button.handoff-primary-cta {
  background: var(--white);
  border-color: #b9cce6;
  color: var(--blue-dark);
  line-height: 1.25;
  max-width: 100%;
  min-width: 220px;
  text-align: center;
  width: 100%;
}

.button.handoff-primary-cta:hover {
  background: #eef6ff;
  border-color: #8fb2df;
}

.handoff-costcut-offer {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
  width: 100%;
}

.handoff-costcut-copy {
  display: grid;
  gap: 2px;
  text-align: center;
}

.handoff-costcut-copy span {
  color: #14532d;
  font-size: var(--text-sm);
  font-weight: 950;
}

.handoff-costcut-copy small {
  color: #166534;
  font-size: var(--text-xs);
  font-weight: 800;
}

.button.handoff-interest-button {
  background: #16a34a;
  border-color: #16a34a;
  color: var(--white);
  line-height: 1.25;
  max-width: 100%;
  min-width: 220px;
  text-align: center;
  width: 100%;
}

.button.handoff-interest-button:hover {
  background: #15803d;
  border-color: #15803d;
}

.button.handoff-interest-button.sent,
.button.handoff-interest-button.sent:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #64748b;
  cursor: default;
  opacity: 1;
}

.handoff-interest-status {
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 800;
  text-align: center;
}

.handoff-interest-status.error {
  color: #b42318;
}

.handoff-interest-status.success {
  color: #14532d;
}

.handoff-interest-status.success strong {
  color: #15803d;
  font-weight: 950;
}

.handoff-price-breakdown {
  border-top: 1px solid rgba(216, 229, 248, 0.2);
  display: grid;
  gap: 6px;
  margin-top: 6px;
  padding-top: 10px;
}

.handoff-price-breakdown div {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.handoff-price-breakdown span {
  color: #d8e5f8;
  font-size: var(--text-sm);
  text-transform: none;
}

.handoff-price-breakdown b {
  color: var(--white);
  font-size: var(--text-md);
}

.handoff-course-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.handoff-course-actions .button:only-child {
  flex: 1 1 auto;
}

.handoff-marketplace-login-cta {
  text-align: center;
}

.handoff-coupon-panel {
  display: grid;
  gap: 14px;
}

.handoff-panel-heading {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.handoff-panel-heading h2 {
  font-size: var(--text-xl);
  line-height: var(--line-heading);
  margin: 8px 0 0;
}

.handoff-panel-heading > strong {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  font-size: var(--text-2xl);
  height: 52px;
  justify-content: center;
  min-width: 52px;
  padding: 0 12px;
}

.coupon-stack {
  display: grid;
  gap: 12px;
}

.coupon-card {
  align-items: center;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px;
}

.coupon-card.costcut-coupon {
  background: #f0fdf4;
  border-color: #b8e2c5;
}

.coupon-card.marketplace-prompt-card {
  background: #fff7ed;
  border-color: #fed7aa;
}

.coupon-card.applied-coupon {
  background: #eef2f7;
  border-color: #cbd5e1;
  box-shadow: none;
}

.coupon-card.applied-coupon > div:first-child,
.coupon-card.applied-coupon .coupon-meta {
  opacity: 0.72;
}

.coupon-card strong {
  color: var(--red);
  display: block;
  font-size: var(--text-xl);
  line-height: var(--line-tight);
  margin-top: 8px;
  overflow-wrap: anywhere;
}

.coupon-card p {
  color: var(--muted);
  font-weight: 800;
  margin: 6px 0 0;
}

.coupon-actions {
  display: grid;
  gap: 8px;
  min-width: 132px;
}

.apply-coupon {
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 8px;
  color: var(--white);
  cursor: pointer;
  font-size: var(--text-md);
  font-weight: 900;
  min-height: 42px;
  padding: 10px;
}

.apply-coupon:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.marketplace-card-cta {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

.apply-coupon:disabled {
  background: #d7dee8;
  border-color: #cbd5e1;
  color: #64748b;
  cursor: not-allowed;
}

.coupon-meta {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: var(--text-xs);
  font-weight: 900;
  gap: 8px 14px;
  grid-column: 1 / -1;
  padding-top: 10px;
}

.form-card {
  padding: 18px;
  max-width: 780px;
}

.marketplace-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 16px;
  align-items: start;
}

.marketplace-quiz {
  max-width: none;
}

.marketplace-quiz h2 {
  margin: 10px 0 14px;
}

.marketplace-quiz-locked {
  border-color: #c7d7ee;
  background: #f8fbff;
}

.marketplace-quiz-locked .quiz-question,
.marketplace-quiz-locked .field {
  opacity: 0.76;
}

.marketplace-quiz-locked .quiz-question label {
  cursor: not-allowed;
}

.quiz-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.quiz-question {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  margin: 0;
  background: #f8fbff;
}

.quiz-question legend {
  color: #263b57;
  font-size: var(--text-sm);
  font-weight: 900;
  padding: 0 4px;
}

.quiz-question label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  margin-top: 9px;
  font-size: var(--text-md);
  font-weight: 700;
  color: #33445c;
}

.marketplace-side {
  display: grid;
  gap: 10px;
}

.marketplace-stats {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
}

.marketplace-stats div {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.marketplace-stats dt {
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 900;
}

.marketplace-stats dd {
  margin: 2px 0 0;
  font-weight: 900;
}

.marketplace-result {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.score-panel {
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
  padding: 18px;
  display: grid;
  gap: 12px;
  align-content: center;
}

.score-panel p {
  margin: 4px 0 0;
  color: #d8e5f8;
  font-weight: 800;
}

.score-number {
  font-size: clamp(40px, 5vw, 56px);
  line-height: 0.95;
  font-weight: 900;
}

.marketplace-deal {
  box-shadow: var(--shadow);
}

.verified-coupon {
  border: 1px dashed var(--green);
  background: #effbf3;
  color: #14532d;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.verified-coupon span {
  font-size: var(--text-xs);
  font-weight: 900;
  text-transform: uppercase;
}

.verified-coupon strong {
  color: var(--red);
  font-size: var(--text-lg);
}

.score-reasons {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 700;
}

.marketplace-used-card {
  display: grid;
  gap: 12px;
  max-width: 680px;
}

.marketplace-used-card h2 {
  margin: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.full {
  grid-column: 1 / -1;
}

.notice {
  border: 1px solid #b8e2c5;
  background: #eefbf2;
  color: #14532d;
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 14px;
  font-weight: 800;
}

.auth-gate-notice {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.auth-gate-notice .button {
  min-height: 36px;
  padding: 8px 11px;
}

.auth-page-title {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 30px 20px 24px;
}

.auth-page-title h1 {
  font-size: var(--text-page);
}

.auth-section {
  padding-bottom: 42px;
  padding-top: 22px;
}

.auth-layout {
  display: grid;
  max-width: 560px;
  margin: 0 auto;
}

.auth-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.auth-card {
  background: var(--white);
  display: grid;
  gap: 14px;
  max-width: none;
  padding: 26px;
}

.auth-panel-head h2 {
  color: var(--ink);
  font-size: var(--text-2xl);
  line-height: var(--line-tight);
  margin: 12px 0 8px;
}

.auth-panel-head p {
  font-weight: 650;
  line-height: 1.6;
  max-width: 460px;
}

.auth-benefit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auth-benefit-row span {
  background: #f8fbff;
  border: 1px solid #cbdcf2;
  border-radius: 8px;
  color: #34516f;
  font-size: var(--text-xs);
  font-weight: 900;
  padding: 7px 10px;
}

.auth-trust-note {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 750;
  margin: 0;
  padding: 10px 12px;
}

.auth-choice-label {
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 900;
  margin: 4px 0 -2px;
}

.firebaseui-host {
  margin-top: 6px;
}

.firebaseui-host .firebaseui-container {
  background: transparent;
  box-shadow: none;
  margin: 0;
  max-width: none;
}

.firebaseui-host .firebaseui-card-content {
  padding: 0;
}

.firebaseui-host .firebaseui-list-item {
  margin-bottom: 10px;
}

.firebaseui-host .firebaseui-idp-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: none;
  cursor: pointer;
  display: flex;
  font-size: var(--text-md);
  font-weight: 900;
  max-width: none;
  min-height: 42px;
  padding: 10px 15px;
  transition: background 0.15s ease, border-color 0.15s ease;
  width: 100%;
}

.firebaseui-host .firebaseui-idp-button:hover {
  border-color: var(--blue);
}

.firebaseui-host .firebaseui-idp-google {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: var(--white) !important;
}

.firebaseui-host .firebaseui-idp-google:hover {
  background: var(--blue-dark) !important;
  border-color: var(--blue-dark) !important;
}

.firebaseui-host .firebaseui-idp-password {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: var(--white) !important;
}

.firebaseui-host .firebaseui-idp-password:hover {
  background: var(--blue-dark) !important;
  border-color: var(--blue-dark) !important;
}

.firebaseui-host .firebaseui-idp-text {
  font-weight: 900;
}

.firebaseui-host .firebaseui-idp-google .firebaseui-idp-text {
  color: var(--white) !important;
}

.firebaseui-host .firebaseui-idp-password .firebaseui-idp-text {
  color: var(--white) !important;
}

.firebaseui-host .firebaseui-idp-icon-wrapper {
  margin-right: 12px;
}

.firebaseui-host .firebaseui-tos {
  color: var(--muted);
  font-size: var(--text-xs);
  line-height: 1.45;
  margin-top: 12px;
}

.auth-avatar {
  background: var(--blue);
  border-radius: 12px;
  color: var(--white);
  display: grid;
  font-weight: 950;
  height: 46px;
  place-items: center;
  width: 46px;
}

.auth-setup-card {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  color: #9a3412;
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 14px;
}

.auth-setup-card p {
  margin: 0;
  font-weight: 800;
}

.auth-setup-card pre {
  background: #10223d;
  border-radius: 8px;
  color: #eef5ff;
  margin: 0;
  overflow-x: auto;
  padding: 12px;
}

.account-section {
  display: grid;
  gap: 16px;
  padding-top: 16px;
}

.account-hero-card {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr auto;
  padding: 18px;
}

.account-hero-card h2,
.account-hero-card p {
  margin: 0;
}

.account-hero-card p {
  color: var(--muted);
  font-weight: 800;
}

.account-avatar {
  height: 56px;
  width: 56px;
}

.account-signout {
  min-height: 38px;
  padding: 8px 12px;
}

.account-stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.account-stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 4px;
  padding: 14px;
}

.account-stat span {
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 900;
  text-transform: uppercase;
}

.account-stat strong {
  color: var(--ink);
  font-size: var(--text-2xl);
  line-height: 1;
}

.account-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-panel {
  display: grid;
  gap: 12px;
  min-height: 0;
}

.account-personalized-panel {
  grid-column: 1 / -1;
}

.account-panel-head {
  appearance: none;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  gap: 5px;
  justify-content: space-between;
  align-items: center;
  padding: 11px 12px;
  text-align: left;
  width: 100%;
}

.account-panel-head-static {
  cursor: default;
}

.account-panel-head > span:first-child {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.account-panel-head .badge {
  justify-self: start;
}

.account-panel-head h3 {
  color: var(--blue-dark);
  font-size: var(--text-lg);
  line-height: var(--line-heading);
  margin: 0;
}

.account-panel-chevron {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue-dark);
  display: grid;
  flex: 0 0 auto;
  font-size: var(--text-lg);
  font-weight: 950;
  height: 28px;
  line-height: 1;
  place-items: center;
  width: 28px;
}

.account-panel.is-open .account-panel-chevron {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.account-panel.is-open .account-panel-chevron::before {
  content: "-";
}

.account-panel.is-open .account-panel-chevron {
  font-size: 0;
}

.account-panel:not(.is-open) > :not(.account-panel-head) {
  display: none;
}

.account-grid > .account-panel:nth-child(2) .account-panel-head {
  border-left-color: var(--green);
}

.account-grid > .account-panel:nth-child(2) .account-panel-head h3 {
  color: #14532d;
}

.account-grid > .account-panel:nth-child(3) .account-panel-head {
  border-left-color: var(--red);
}

.account-grid > .account-panel:nth-child(3) .account-panel-head h3 {
  color: #991b1b;
}

.account-grid > .account-panel:nth-child(4) .account-panel-head {
  border-left-color: #7c3aed;
}

.account-grid > .account-panel:nth-child(4) .account-panel-head h3 {
  color: #5b21b6;
}

.account-grid > .account-panel:nth-child(5) .account-panel-head {
  border-left-color: var(--orange);
}

.account-grid > .account-panel:nth-child(5) .account-panel-head h3 {
  color: #9a3412;
}

.account-grid > .account-panel:nth-child(6) .account-panel-head {
  border-left-color: #0f766e;
}

.account-grid > .account-panel:nth-child(6) .account-panel-head h3 {
  color: #115e59;
}

.account-watchlist-panel .account-panel-head {
  border-left-color: var(--green);
}

.account-watchlist-panel .account-panel-head h3 {
  color: #14532d;
}

.account-coupon-panel .account-panel-head {
  border-left-color: var(--red);
}

.account-coupon-panel .account-panel-head h3 {
  color: #991b1b;
}

.account-marketplace-panel .account-panel-head {
  border-left-color: #7c3aed;
}

.account-marketplace-panel .account-panel-head h3 {
  color: #5b21b6;
}

.account-alerts-panel .account-panel-head {
  border-left-color: var(--orange);
}

.account-alerts-panel .account-panel-head h3 {
  color: #9a3412;
}

.account-purchases-panel .account-panel-head {
  border-left-color: #0f766e;
}

.account-purchases-panel .account-panel-head h3 {
  color: #115e59;
}

.account-rewards-panel .account-panel-head {
  background: #fffaf2;
  border-left-color: #f59e0b;
}

.account-rewards-panel .account-panel-head h3 {
  color: #9a3412;
}

.account-deal-mini-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-deal-mini {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.account-deal-mini h4 {
  font-size: var(--text-base);
  line-height: var(--line-heading);
  margin: 0;
}

.account-mini-cta {
  justify-self: start;
  min-height: 34px;
  padding: 7px 10px;
}

.account-list {
  display: grid;
  gap: 9px;
}

.account-list-item {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 3px;
  padding: 10px;
}

.account-course-item {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
}

.account-alert-item {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
}

.account-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.account-list-item strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.account-remove-button {
  background: var(--white);
  border: 1px solid #fed7aa;
  border-radius: 8px;
  color: #9a3412;
  cursor: pointer;
  font-size: var(--text-xs);
  font-weight: 950;
  padding: 6px 9px;
}

.account-remove-button:hover {
  background: #fff7ed;
  border-color: #fdba74;
}

.account-inline-link {
  background: var(--white);
  border: 1px solid #cbdcf2;
  border-radius: 8px;
  color: var(--blue-dark);
  font-size: var(--text-xs);
  font-weight: 950;
  padding: 6px 9px;
  text-decoration: none;
  white-space: nowrap;
}

.account-inline-link:hover {
  background: var(--soft);
  border-color: var(--blue);
}

.account-list-item span,
.account-empty {
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 800;
}

.account-empty {
  background: #f8fbff;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  margin: 0;
  padding: 12px;
}

.account-rewards-panel {
  background: #fff7ed;
  border-color: #fed7aa;
}

.account-reward-grid {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-reward-grid div {
  background: var(--white);
  border: 1px solid #fed7aa;
  border-radius: 8px;
  display: grid;
  gap: 3px;
  padding: 10px;
}

.account-reward-grid span {
  color: #9a3412;
  font-size: var(--text-2xs);
  font-weight: 950;
  text-transform: uppercase;
}

.account-reward-grid strong {
  color: var(--ink);
  font-size: var(--text-lg);
  line-height: var(--line-tight);
}

.account-coming-soon {
  color: #9a3412;
  font-size: var(--text-2xl);
  line-height: 1;
}

.account-login-required {
  display: grid;
  gap: 12px;
  max-width: 680px;
}

.account-login-required h2,
.account-login-required p {
  margin: 0;
}

.muted-note {
  color: var(--muted);
  font-size: var(--text-md);
}

.no-results-message {
  color: var(--red);
  font-size: var(--text-md);
  font-weight: 900;
  margin: 10px 0 0;
}

.bundle-result {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.bundle-result.is-empty {
  color: var(--muted);
}

.bundle-result.is-empty p {
  margin: 4px 0 0;
}

.bundle-result-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.bundle-result-head span {
  background: #eef5ff;
  border-radius: 999px;
  color: #174f9f;
  font-size: var(--text-xs);
  font-weight: 900;
  padding: 5px 9px;
}

.bundle-course-list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.bundle-course-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 3px;
  padding: 10px 12px;
}

.bundle-course-list span {
  color: var(--ink);
  font-weight: 900;
}

.bundle-course-list small {
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  background: #10223d;
  border-top: 1px solid var(--line);
  color: #dce8fa;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 26px 20px;
}

.site-footer p {
  margin: 4px 0 0;
  color: #b9c6d8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: end;
}

.footer-links a {
  color: #eef5ff;
  text-decoration: none;
  font-weight: 800;
  font-size: var(--text-md);
}

.footer-copyright {
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 500;
  margin: 0;
  padding: 12px 20px 18px;
  text-align: center;
}

.standalone-page {
  max-width: var(--reading-width);
  margin: 80px auto;
  padding: 20px;
}

.content-page {
  padding-top: 28px;
}

.content-page-layout {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
  margin: 0 auto;
  max-width: 980px;
}

.content-page-aside,
.content-section-card,
.content-contact-card,
.content-cta-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.content-page-aside {
  display: grid;
  gap: 12px;
  padding: 18px;
  position: sticky;
  top: var(--sticky-panel-offset);
}

.content-page-aside p {
  color: #33445c;
  font-weight: 650;
  margin: 0;
}

.content-page-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.content-section-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.content-section-card,
.content-contact-card {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.content-section-card {
  box-shadow: none;
}

.content-section-card h2,
.content-contact-card h2,
.content-cta-card h2 {
  color: var(--ink);
  font-size: var(--text-lg);
  line-height: var(--line-heading);
  margin: 0;
}

.content-section-card p,
.content-contact-card p,
.content-cta-card p {
  color: var(--muted);
  font-weight: 500;
  line-height: 1.65;
  margin: 0;
}

.content-section-card ul {
  display: grid;
  gap: 6px;
  list-style: disc;
  margin: 0;
  padding: 0 0 0 18px;
}

.content-section-card li {
  color: #33445c;
  font-size: var(--text-sm);
  font-weight: 650;
  padding: 0;
}

.content-contact-card {
  background: #f8fbff;
  border-color: #cbdcf2;
}

.content-contact-card h2 {
  color: var(--blue-dark);
  overflow-wrap: anywhere;
}

.content-contact-card .button {
  justify-self: start;
}

.content-cta-card {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 18px;
}

.content-cta-card h2,
.content-cta-card p {
  color: var(--white);
}

.content-cta-card .badge {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.content-cta-card .button {
  background: var(--white);
  color: var(--blue-dark);
  white-space: nowrap;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-wrap {
    align-items: flex-start;
    display: grid;
    grid-template-columns: 1fr auto auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-auth {
    justify-self: end;
  }

  .nav-profile-copy {
    display: none;
  }

  .nav-profile-button {
    min-height: 40px;
    padding: 4px;
  }

  .nav-profile-menu {
    right: 0;
  }

  .filter-bar,
  .inline-form,
  .deal-grid,
  .feature-grid,
  .funnel-grid,
  .seo-layout,
  .pricing-grid,
  .alert-card-grid,
  .alert-preferences-layout,
  .bundle-path-row,
  .platform-filter-summary,
  .content-page-layout,
  .content-section-grid,
  .content-cta-card,
  .bundle-tool-controls,
  .auth-layout,
  .account-grid,
  .account-stats,
  .account-deal-mini-grid,
  .account-reward-grid,
  .handoff-layout,
  .handoff-alert-grid,
  .price-history-layout,
  .marketplace-layout,
  .marketplace-result,
  .quiz-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .price-history-list-panel {
    order: 2;
  }

  .price-history-trend-panel {
    order: 1;
    position: static;
  }

  .alert-summary-card {
    position: static;
  }

  .content-page-aside {
    position: static;
  }

  .section-header,
  .site-footer {
    display: block;
  }

  .footer-links {
    justify-content: start;
    margin-top: 16px;
  }

  .footer-copyright {
    text-align: center;
  }

  .platform-coupon-list {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .price-history-table thead {
    display: none;
  }

  .price-history-table,
  .price-history-table tbody,
  .price-history-table tr,
  .price-history-table td {
    display: block;
    width: 100%;
  }

  .price-history-table tr {
    border-bottom: 1px solid var(--line);
    padding: 12px;
  }

  .price-history-table td {
    border-bottom: 0;
    display: grid;
    gap: 8px;
    grid-template-columns: 112px minmax(0, 1fr);
    padding: 7px 0;
  }

  .price-history-table td::before {
    color: var(--muted);
    content: attr(data-label);
    font-size: var(--text-xs);
    font-weight: 900;
    text-transform: uppercase;
  }

  .price-history-table td:first-child {
    display: block;
  }

  .price-history-table td:first-child::before {
    display: none;
  }

  .price-history-table th:last-child,
  .price-history-table td:last-child {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .topline {
    display: block;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-actions,
  .deal-actions,
  .handoff-course-actions,
  .handoff-utility-actions,
  .coupon-card,
  .price-sample-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .price-sample-card {
    padding: 16px;
  }

  .price-sample-heading {
    text-align: left;
  }

  .price-sample-title-price {
    display: block;
    margin: 0 0 4px;
    white-space: normal;
  }

  .price-sample-chart {
    aspect-ratio: 4 / 3;
  }

  .price-sample-axis,
  .price-sample-note,
  .price-sample-now {
    font-size: var(--text-base);
  }

  .account-hero-card {
    grid-template-columns: auto 1fr;
  }

  .account-signout {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .deal-details {
    grid-template-columns: 1fr;
  }
}
