html { font-size: 15px; }

.ncsc-threat-item {
  flex-direction: column;
  gap: 0.18em;
  align-items: flex-start;
  padding: 0.7em 0;
}
.ncsc-threat-date {
  text-align: left;
  margin-top: 0.12em;
  min-width: unset;
}
.ncsc-threat-link {
  margin-left: 0;
  margin-top: 0.22em;
  padding-bottom: 0.11em;
}
html, body {
  max-width: 100vw;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  touch-action: manipulation;
  background: #ffffff !important;
  box-shadow: none !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
#fsb-embed {
  padding: 10px;
  max-width: 100vw !important;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--bg);
  overflow-x: hidden !important;
}
.card {
  padding: 1em 0.7em;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 16px;
  border-radius: 7px;
  box-shadow: 0 2px 7px rgba(52,199,195,0.07);
  max-width: 100vw !important;
  overflow-x: hidden !important;
}
.card:first-child {
  padding-top: 2.2em !important;
}
.card + .card {
  margin-top: 0;
}
h1, .section-title {
  font-size: 1.3rem !important;
  margin-top: 0.5em;
  margin-bottom: 0.7em;
  word-break: break-word;
}
.fsb-btn-primary,
.big-btn {
  font-size: 1rem !important;
  width: 100%;
  padding: 13px 0 !important;
  margin: 1em 0 1.2em 0 !important;
  text-align: center !important;
  border-radius: 8px !important;
  min-height: 48px !important;
  box-sizing: border-box;
}
.response-buttons {
  flex-direction: column;
  gap: 0.2em;
}
.score-flex {
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  margin: 1.2em 0 1em 0;
  gap: 0.7em;
}
.score-ring-svg {
  width: 90vw !important;
  max-width: 120px !important;
  aspect-ratio: 1/1;
  height: auto !important;
  position: relative;
  margin: 0 auto 0.5em auto;
  display: block;
}
.score-ring-svg svg {
  width: 100% !important;
  height: auto !important;
  display: block;
  position: static !important;
}
.score-center {
  position: absolute;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}
.big-score {
  font-size: 1.7rem !important;
  font-weight: 800;
  color: #03304a !important;
  line-height: 1;
}
.score-outof {
  font-size: 1rem !important;
  color: #a3b8c3;
  font-weight: 600;
  margin-top: 2px;
}
.deck {
  display: block !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
}
.card.wide {
  margin: 0 0 16px 0 !important;
  border-radius: 7px;
  overflow: visible !important;
  max-width: 100vw !important;
}
ul.fsb-list {
  padding-left: 0;
  margin-left: 0;
}
.fsb-list li {
  padding: 7px 0;
  font-size: 0.85em;
  align-items: flex-start;
  word-break: break-word;
  padding-left: 0;
  padding-right: 0;
}
input[type='email'] {
  padding: 13px;
  font-size: 0.97rem;
  min-width: 0;
  max-width: 100vw;
  box-sizing: border-box;
  margin-bottom: 1em;
}
.progress-bar {
  height: 6px;
  margin-bottom: 1em;
  max-width: 100%;
  border-radius: 4px;
}
.risk-badge,
.report-badge {
  width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  border-radius: 8px;
  font-size: 0.98rem !important;
  margin-bottom: 0.5em;
  padding: 7px 18px 7px 15px;
}
.tip-box, .improved-tip {
  font-size: 0.95em;
  padding: 12px;
  margin-bottom: 12px;
}
.step-title, .step-list li {
  font-size: 1.04rem;
}
details {
  margin-top: 0.8em !important;
  font-size: 0.92em;
  line-height: 1.5;
}
.card.wide ol.fsb-list li {
  padding: 0.8em 0 0.8em 0.1em;
  font-size: 1rem;
  line-height: 1.5;
}
#strength-list li, #weakness-list li {
  font-size: 1em;
  line-height: 1.7;
}
.side-by-side-container {
  flex-direction: column !important;
  gap: 12px;
}
.side-by-side-container > .card {
  flex-basis: auto;
  min-width: auto;
  max-width: 100vw !important;
  overflow-x: hidden !important;
}
/* Touch target for checkbox label */
label[for="consentCheckbox"] {
  min-height: 48px !important;
  align-items: center;
  box-sizing: border-box;
}
/* Checkbox sizing guarantee */
input[type="checkbox"].custom-checkbox {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  display: inline-block;
}
input[type="checkbox"].custom-checkbox:checked::after {
  width: 14px;
  height: 9px;
  border-width: 0 0 4px 4px;
}

/* Fix Breach Severity Badges */
.breach-severity {
  white-space: nowrap;
  font-size: 0.85rem !important;
  padding: 4px 8px !important;
  min-width: 60px !important;
  text-align: center;
  margin-bottom: 4px;
}

/* Correct List Layout for Breaches */
#breach-list li {
  display: flex;
  flex-direction: row;
  align-items: center !important;
  justify-content: flex-start;
  gap: 0.5em !important;
  padding: 8px 0 !important;
}
.breach-name, .breach-date {
  font-size: 0.8rem !important;
  margin-left: 0 !important;
  flex: 1;
}

/* Restore Strengths and Weaknesses Layout WITHOUT extra icons */
#strength-list li,
#weakness-list li {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.5em !important;
  padding: 8px 4px !important;
  font-size: 0.95rem !important;
}

/* NCSC Threats Card */
.ncsc-threat-title, 
.ncsc-threat-date, 
.ncsc-threat-summary, 
.ncsc-threat-link {
  flex: none !important;
  width: 100% !important;
  text-align: left !important;
  margin: 0.25em 0 !important;
}
#ncsc-threats-list {
  padding: 0.5em !important;
}
.ncsc-threat-item {
  padding: 0.5em 0 !important;
  gap: 0.1em !important;
}

body, p, li {
  font-size: 1rem !important;
  line-height: 1.6 !important;
}
h1, h2, h3, .section-title {
  font-size: 1.5rem !important;
  line-height: 1.4 !important;
  margin-bottom: 0.8em !important;
}
.card {
  padding: 1.2em !important;
}
.fsb-btn-primary, .big-btn {
  font-size: 1.1rem !important;
  padding: 14px 0 !important;
}
input[type='email'] {
  padding: 14px !important;
  font-size: 1rem !important;
}
.score-summary, .score-meta, .tip-box, .improved-tip, .score-footnote {
  font-size: 1rem !important;
  line-height: 1.5 !important;
}
label[for="consentCheckbox"], .error-msg {
  font-size: 0.95rem !important;
}
.step-list li, .fsb-list li {
  padding: 0.22em 0 !important;
}
.breach-name, .breach-date {
  font-size: 0.9rem !important;
}
.report-badge, .risk-badge {
  font-size: 1.05rem !important;
  padding: 10px 16px !important;
}
h1 {
  font-size: 1.75rem !important;
  line-height: 1.4 !important;
  margin-bottom: 0.9em !important;
}
.question-text {
  font-size: 1.2rem !important;
  line-height: 1.5 !important;
  margin-bottom: 1em !important;
}
h2, .section-title, .step-title {
  font-size: 1.4rem !important;
  margin-bottom: 1em !important;
}
.breach-date {
  display: none !important;
}
.breach-name {
  flex-grow: 1;
  margin-left: 0 !important;
  font-size: 1rem !important;
}
#breach-list li {
  flex-wrap: wrap;
  gap: 0.3em;
  padding: 10px 0 !important;
}
body::after {
  content: none !important;
  display: none !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}
#fsb-embed::after,
#fsb-embed::before,
.card::after,
.card::before {
  content: none !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  display: none !important;
}
.card:last-child {
  margin-bottom: 0 !important;
  box-shadow: none !important;
  border-bottom: none !important;
}
footer, .footer, #footer {
  background: transparent !important;
  border-top: none !important;
  box-shadow: none !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
details,
details summary {
  border-top: none !important;
  box-shadow: none !important;
  background: transparent !important;
}
#fsb-embed {
  box-shadow: none !important;
  border: none !important;
  background: var(--bg) !important;
}
.card:last-child {
  box-shadow: none !important;
  border-bottom: none !important;
  margin-bottom: 0 !important;
}
details[open]::before,
details[open]::after,
summary::after {
  display: none !important;
  border: none !important;
  box-shadow: none !important;
}
.cf-turnstile ~ .card {
  box-shadow: none !important;
  border: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  background: transparent !important;
}
.cf-turnstile:has(+ .card) + .card {
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
  margin-bottom: 0 !important;
}
.card:last-of-type {
  box-shadow: none !important;
  border-bottom: none !important;
  margin-bottom: 0 !important;
  background: var(--bg) !important;
}
body {
  background: var(--bg) !important;
  box-shadow: none !important;
  overflow-x: hidden !important;
}
.card:only-child,
.card:last-child {
  box-shadow: none !important;
}
.fsb-fade.fsb-fade-hide {
  box-shadow: none !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}
.card.fsb-fade-hide {
  opacity: 0 !important;
  height: 0px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
  pointer-events: none !important;
  position: absolute !important;
  left: -9999px !important;
}
.fsb-fade-hide::after,
.fsb-fade-hide::before,
.card.fsb-fade-hide::after,
.card.fsb-fade-hide::before {
  display: none !important;
  content: none !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}
.card:last-child {
  box-shadow: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
html, body, #fsb-embed {
  background: #ffffff !important;
  box-shadow: none !important;
  border: none !important;
  overflow-x: hidden !important;
}
body::after {
  content: '';
  display: block;
  height: 10px;
  width: 100vw;
  background: #ffffff;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
}
footer,
hr,
fieldset,
details[open]::after,
summary::after,
details::after {
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  content: none !important;
  display: none !important;
}
footer,
.footer,
#footer {
  border-top: none !important;
  background: transparent !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.card:last-child,
.card:only-child {
  box-shadow: none !important;
  background: var(--bg) !important;
  border: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
