*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  height: 100%;
}

body {
  min-height: 100%;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}
#asc-widget {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #1A1A2E;
  background: transparent;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px 32px;
}

iframe {border: 0 !imporant;}

/* Header */
#asc-widget .asc-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C3954C;
  margin-bottom: 6px;
}
#asc-widget h1 {
  font-size: 20px;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 4px;
  line-height: 1.3;
}
#asc-widget .asc-subtitle {
  font-size: 13px;
  color: #555;
  margin-bottom: 20px;
}

/* Checklist */
#asc-widget .asc-list {
  list-style: none;
  margin-bottom: 24px;
}
#asc-widget .asc-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #EBEBEB;
  cursor: pointer;
}
#asc-widget .asc-list li:last-child {
  border-bottom: none;
}

/* Custom checkbox */
#asc-widget .asc-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid #CCCCCC;
  border-radius: 4px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: background 0.15s, border-color 0.15s;
}
#asc-widget .asc-check svg {
  display: none;
  width: 13px;
  height: 13px;
}
#asc-widget .asc-list li.checked .asc-check {
  background: #333;
  border-color:#333;
}
#asc-widget .asc-list li.checked .asc-check svg {
  display: block;
}

/* Item text */
#asc-widget .asc-item-body {
  flex: 1;
}
#asc-widget .asc-item-title {
  font-weight: 600;
  font-size: 14px;
  color: #1A1A2E;
  display: block;
  margin-bottom: 2px;
}
#asc-widget .asc-item-desc {
  font-size: 13px;
  color: #444;
}
#asc-widget .asc-hipaa {
  font-size: 11px;
  color: #888888;
  margin-top: 2px;
  display: block;
}

/* Score button */
#asc-widget .asc-btn {
  display: block;
  width: auto;
  padding: 14px 20px;
  background: #000;
  color: #fff;
  font-size: 15px;
  font-weight: normal;
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s;
  min-height: 44px;
}
#asc-widget .asc-btn:hover {
  background: #f0f0f0;
  color: #000;
}

/* View swap */
#asc-widget .asc-view {
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
#asc-widget .asc-view.active {
  display: block;
  opacity: 1;
}

/* Results panel */
#asc-widget #asc-view-results {
  background: #fff;
  border-radius: 4px;
  padding: 24px 0;
  color: #000;
}

#asc-widget .asc-score-display {
  font-size: 42px;
  font-weight: 700;
  color: #000;
  line-height: 1;
  margin-bottom: 4px;
}
#asc-widget .asc-score-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
#asc-widget .asc-tier-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
#asc-widget .asc-tier-message {
  font-size: 13px;
  color: #3d3d3d;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Gaps list */
#asc-widget .asc-gaps-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #000;
  margin-bottom: 6px;
}
#asc-widget .asc-gaps-list {
  list-style: none;
  margin-bottom: 20px;
}
#asc-widget .asc-gaps-list li {
  font-size: 13px;
  color: #3d3d3d;
  padding: 3px 0;
  padding-left: 14px;
  position: relative;
  border-bottom: none;
  cursor: default;
}
#asc-widget .asc-gaps-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #C3954C;
}

/* Email capture (Tier 3 only) */
#asc-widget .asc-email-section {
  display: none;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
  margin-bottom: 16px;
}
#asc-widget .asc-email-section.visible {
  background-color: #f0f0f0;
  display: block;
  padding: 20px;
}
#asc-widget .asc-email-heading {
  font-size: 13px;
  font-weight: 700;
  color: #000;
  margin-bottom: 4px;
}
#asc-widget .asc-email-subtext {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 10px;
}
#asc-widget .asc-email-row {
  display: flex;
  gap: 8px;
}
#asc-widget .asc-email-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0;
  background: rgba(255,255,255,0.75);
  color: #000;
  font-size: 13px;
  min-height: 44px;
}
#asc-widget .asc-email-input::placeholder {
  color: #888;
}
#asc-widget .asc-email-save {
  padding: 10px 16px;
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
  min-width: 44px;
}
#asc-widget .asc-email-save:hover {
  background: #ccc;
  color: #000;
  font-weight: normal;
}
#asc-widget .asc-email-legal {
  font-size: 11px;
  color: #777;
  margin-top: 6px;
}
#asc-widget .asc-email-legal a {
  color: #999;
}
#asc-widget .asc-email-saved {
  display: none;
  font-size: 13px;
  color: #22C55E;
  margin-top: 8px;
}

/* Tier CTA */
#asc-widget .asc-cta {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
}
#asc-widget .asc-cta a {
  font-size: 14px;
  border-bottom: 1px solid #3d3d3d;
  color: #3d3d3d;
  font-family: Inter, Helvetica Neue, Helvetica, Arial, sans-serif;
  font-weight: 400;
  text-decoration: none;
  padding: 10px 0 0;
}
#asc-widget .asc-cta a:hover {
  border-bottom: 1px solid transparent;
  text-decoration: none;
}
}

/* Reset */
#asc-widget button.asc-reset {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  color: #888 !important;
  font-size: 12px !important;
  cursor: pointer !important;
  margin-top: 16px !important;
  text-decoration: underline !important;
  padding: 0 !important;
  display: inline-block !important;
  border-radius: 0 !important;
  width: auto !important;
  min-height: unset !important;
}

/* Submitted state */
#asc-widget .asc-submitted-note {
  display: none;
  font-size: 12px;
  color: #22C55E;
  margin-top: 8px;
}
#asc-widget .asc-submitted-note.visible {
  display: block;
}