/** Shopify CDN: Minification failed

Line 7:0 Unexpected "<"
Line 198:0 Unexpected "<"

**/
<style>
/* ==============================
   Earnings Calculator — Final CSS
   Mobile-first • Responsive • Accessible
   ============================== */

/* Core box-sizing + safe-area */
.ckr-earnings-page, .ckr-earnings-page * { box-sizing: border-box; }
.ckr-earnings-page {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #111;
  background: #fff;
  padding: 20px max(16px, env(safe-area-inset-left)) 20px max(16px, env(safe-area-inset-right));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* prevents mobile white gutter */
}

/* Utility: visually-hidden (sr-only) */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Container */
.container { max-width: 1200px; margin: 0 auto; }

/* HERO - mobile-first */
.ckr-hero { display: block; margin-bottom: 20px; }
.ckr-hero-left, .ckr-hero-right { width: 100%; }

/* Headline */
h1 {
  font-size: 20px;
  line-height: 1.18;
  margin: 0 0 8px;
  font-weight: 800;
  background: linear-gradient(90deg,#f58529,#dd2a7b,#8134af);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ckr-sub { font-size:14px; color:#4b5563; margin:0 0 12px; }

/* CTAs */
.hero-ctas { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px; }
.btn {
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:999px; font-weight:700; cursor:pointer;
  text-decoration:none; transition: transform .12s ease, box-shadow .12s ease;
  white-space: nowrap;
}
.btn.primary { background: linear-gradient(90deg,#dd2a7b,#8134af); color:#fff; border:none; }
.btn.ghost { background:transparent; border:1px solid #e6e6ef; color:#111; }
.btn.primary:hover, .btn.ghost:hover { transform: translateY(-2px); }

/* CALCULATOR card */
.ckr-hero-calculator {
  background:#fff; border-radius:12px; padding:14px;
  box-shadow:0 6px 18px rgba(0,0,0,0.04);
  min-width:0;
}

/* Inputs */
.inputs-row { display:flex; flex-direction:column; gap:10px; margin-bottom:12px; }
.inputs-row label { display:flex; flex-direction:column; font-weight:700; font-size:13px; color:#111; min-width:0; }
input, select, textarea {
  margin-top:6px; padding:10px 12px; border-radius:10px; border:1px solid #e6e6ef;
  font-size:15px; width:100%; min-width:0;
}
input:focus, select:focus, textarea:focus {
  outline:none; border-color:#3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}
.input-with-currency { display:flex; gap:8px; align-items:center; }
.input-with-currency select { width:88px; flex:0 0 auto; }

/* Actions: mobile stacked */
.actions { display:flex; flex-direction:column; gap:10px; margin-top:10px; }
.actions .btn { width:100%; }

/* Results – stacked on mobile */
.hero-results { display:flex; flex-direction:column; gap:10px; margin:14px 0; }
.hr-card { padding:12px; border-radius:10px; background:#f8f7ff; text-align:center; }
.hr-title { font-size:12px; color:#6b7280; font-weight:800; }
.hr-amount { font-size:18px; font-weight:900; margin-top:6px; }

/* Chart */
.chart-wrap {
  background:#fff; border-radius:10px; padding:10px; box-shadow:0 6px 16px rgba(0,0,0,0.04);
  margin-bottom:12px; min-width:0;
}
.chart-wrap canvas { width:100% !important; height:auto !important; max-height:360px; }

/* Presets (horizontal scroll on small screens) */
.presets { display:flex; gap:10px; overflow-x:auto; -webkit-overflow-scrolling:touch; padding-bottom:6px; margin-bottom:12px; }
.preset {
  min-width:120px; padding:10px; border-radius:10px; background:#fff; border:1px solid #eee;
  text-align:center; font-weight:800; flex:0 0 auto; white-space:normal;
}
.preset[aria-pressed="true"] { background:#eef2ff; border-color:#3b82f6; }

/* Benefits & cards */
.benefits { list-style:none; padding:0; margin:8px 0 0; }
.benefit-item { margin-bottom:10px; font-size:14px; color:#374151; }
.break-cards { display:grid; grid-template-columns:1fr; gap:12px; margin-top:12px; }
.card { padding:14px; border-radius:12px; background:#fff; box-shadow:0 4px 12px rgba(0,0,0,0.05); text-align:center; }
.card-title { font-size:13px; color:#666; font-weight:700; } .card-value { font-size:18px; font-weight:800; margin-top:8px; }

/* Examples/case studies */
.examples-grid { display:flex; flex-direction:column; gap:10px; }
.example { background:#fff; border-radius:10px; padding:10px; box-shadow:0 4px 10px rgba(0,0,0,0.04); }

/* FAQ */
.faq details { margin-bottom:10px; background:#fff; padding:12px; border-radius:10px; box-shadow:0 3px 8px rgba(0,0,0,0.04); }
.faq summary { font-weight:700; cursor:pointer; }

/* CTA */
.final-cta { text-align:center; padding:18px; border-radius:10px; background:#fafaff; box-shadow:0 6px 18px rgba(0,0,0,0.04); margin-top:18px; }
.final-cta .btn.big { width:100%; padding:12px; font-size:16px; border-radius:12px; font-weight:800; background:linear-gradient(90deg,#f58529,#dd2a7b); color:#fff; }

/* Floating CTA (safe-area aware) */
.floating-cta {
  position:fixed; left: env(safe-area-inset-left, 12px); right: env(safe-area-inset-right, 12px);
  bottom:12px; display:flex; gap:8px; justify-content:space-between; z-index:1200; padding:0 8px;
}
.floating-cta .btn.small { padding:10px 12px; border-radius:10px; background:#111; color:#fff; }
.floating-cta button { padding:10px 12px; background:#fff; border-radius:10px; border:1px solid #eee; cursor:pointer; }

/* Warnings */
.calc-warnings { margin-top:8px; color:#b45309; font-weight:700; padding:10px; border-radius:8px; background:#fff7ed; }

/* Comparison table fixes (avoid clipping, ensure scroll) */
.comparison, .comparison .table-wrap, .comparison table { position:relative; z-index:3; overflow:visible !important; }
.comparison .table-wrap { width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; background:transparent; border-radius:8px; padding-bottom:8px; }
.comparison table { width:100%; border-collapse:collapse; table-layout:auto; min-width:0; }
.comparison table th, .comparison table td {
  padding:12px 10px; text-align:left; white-space:normal; word-break:break-word; overflow-wrap:anywhere;
}

/* Prevent overlap: ensure main content sits above background panels */
.ckr-main, .comparison { position:relative; z-index:2; }

/* If any ancestor used overflow:hidden, allow main content to show */
.ckr-earnings-page, .container, .ckr-main { overflow: visible; }

/* ---------- Responsive breakpoints ---------- */

/* Tablet (two-column hero and inline inputs) */
@media (min-width:760px) {
  .ckr-hero { display:flex; gap:28px; align-items:flex-start; }
  .ckr-hero-left { flex:1; }
  .ckr-hero-right { width:320px; flex:0 0 320px; }

  .inputs-row { flex-direction:row; gap:12px; }
  .inputs-row label { min-width:0; }
  .actions { flex-direction:row; gap:12px; }
  .actions .btn { width:auto; }

  .hero-results { flex-direction:row; }
  .break-cards { grid-template-columns: repeat(2, 1fr); }
  .examples-grid { flex-direction:row; gap:12px; }
  .example { flex:1 1 calc(33% - 12px); }
  .chart-wrap canvas { height:200px !important; }
}

/* Desktop wide */
@media (min-width:1100px) {
  .container { max-width:1200px; }
  h1 { font-size:28px; }
  .break-cards { grid-template-columns: repeat(4, 1fr); }
  .presets { gap:12px; }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Very small devices */
@media (max-width:340px) {
  h1 { font-size:18px; }
  .btn { padding:8px 10px; font-size:14px; }
  .chart-wrap canvas { max-height:260px; }
}
</style>
