/* ==========================================================================
   Il Banco · "Cosa usare": landing, interview, gate, report, print.
   Tokens and shared components live in banco.css. Nothing here redefines them.

   One idea for the whole flow: a job sheet on the bench.
   - Landing: three paper slips (the three questions) and a handwritten note.
   - Interview: one paper sheet with a folder tab that says where you are.
   - Gate: the finished report lies under a cover sheet.
   - Report: the recommendation is a sheet with a price tag; limits are
     written in amber, missing evidence is a dashed slip. Never hidden.

   Sections
   1. Landing /cosa-usare/
   2. Interview sheet
   3. Gate
   4. Report: primary recommendation
   5. Report: details, scores, alternatives, other tiers
   6. Report: toolbar and method
   7. Responsive
   8. Print
   ========================================================================== */


/* 1. Landing --------------------------------------------------------------- */
/* The headline stands on the wall, the paper objects are the three slips.
   banco.css makes .sf-compare-start a paper panel: undone here on purpose,
   a panel holding three more papers would be paper on paper. */

.sf-banco .sf-compare-start {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: var(--banco-s8);
  align-items: center;
  margin-top: var(--banco-s4);
  padding: var(--banco-s7) 0 var(--banco-s8);
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-align: left;
}

.sf-banco .hf-landing-copy .sf-kicker {
  margin: 0 0 var(--banco-s4);
}

.sf-banco .sf-compare-start h1 {
  margin: 0 0 var(--banco-s5);
  font-size: clamp(40px, 4.9vw, 68px);
  line-height: 1.04;
}

.sf-banco .hf-landing-copy > p:not(.sf-kicker) {
  max-width: 30ch;
  margin: 0 0 var(--banco-s6);
  color: var(--banco-ink-soft);
  font-size: 21px;
  line-height: 1.5;
}

.sf-banco .hf-landing-copy .button {
  min-height: 56px;
  padding: 14px 28px;
  font-size: 18px;
}

.sf-banco .hf-landing-copy .fine {
  display: block;
  margin-top: var(--banco-s4);
  font-size: 13px;
}

.sf-banco .hf-landing-how {
  position: relative;
  padding: var(--banco-s4) var(--banco-s5) var(--banco-s7) 0;
}

.sf-banco .hf-landing-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sf-banco .hf-landing-steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: var(--banco-s4);
  align-items: center;
  padding: 20px 24px;
  border-radius: var(--banco-r-card);
  background: var(--banco-paper);
  box-shadow: var(--banco-shadow-rest);
}

.sf-banco .hf-landing-steps li:nth-child(1) {
  transform: rotate(-1.4deg);
}

.sf-banco .hf-landing-steps li:nth-child(2) {
  transform: translateX(22px) rotate(1deg);
}

.sf-banco .hf-landing-steps li:nth-child(3) {
  transform: translateX(6px) rotate(-.7deg);
}

.sf-banco .hf-landing-steps li > span {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--banco-ink);
  color: var(--banco-paper);
  font: 800 17px/1 var(--banco-font);
}

.sf-banco .hf-landing-steps strong {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.015em;
}

.sf-banco .hf-landing-steps small {
  color: var(--banco-muted);
  font-size: 15px;
  line-height: 1.4;
}

/* Same note paper as the home bench */
.sf-banco .hf-landing-note {
  position: absolute;
  right: -6px;
  bottom: -6px;
  margin: 0;
  padding: 12px 20px 14px;
  background: #fff6dc;
  box-shadow: 0 1px 1px #5c3d1a33, 0 10px 16px -8px #5c3d1a66;
  color: var(--banco-ink);
  font: 700 25px/1.05 var(--banco-hand);
  transform: rotate(-4deg);
}

.sf-banco .hf-landing-tasks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--banco-s3) var(--banco-s5);
  align-items: center;
  padding: var(--banco-s5) 0 var(--banco-s7);
  border-top: 1px solid var(--banco-line);
}

.sf-banco .hf-landing-tasks h2 {
  margin: 0;
  font-size: var(--banco-text-lg);
  letter-spacing: -.015em;
}

.sf-banco .hf-landing-tasks ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--banco-s2);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Second way in: you already know the name. hub.css pins max-width with
   !important, so the same weight is needed to give the row the page width. */
.sf-banco .sf-catalog-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  grid-template-areas: "search audit" "paths audit";
  gap: var(--banco-s4) var(--banco-s5);
  max-width: var(--banco-max) !important;
  padding-block: 0 var(--banco-s9);
}

.sf-banco .sf-catalog-search {
  grid-area: search;
  padding: var(--banco-s5);
  border-radius: var(--banco-r-card);
  background: var(--banco-canvas-deep);
}

.sf-banco .sf-catalog-search label {
  display: block;
  margin: 0 0 var(--banco-s3);
  font-size: var(--banco-text-lg);
  font-weight: 800;
  letter-spacing: -.015em;
}

.sf-banco .sf-catalog-search input {
  flex: 1;
  border-radius: var(--banco-r-field);
  padding: 12px 16px;
}

.sf-banco .sf-catalog-paths {
  grid-area: paths;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: var(--banco-s2) var(--banco-s6);
  padding: 0 var(--banco-s5);
  font-size: 15px;
  font-weight: 750;
}

.sf-banco .sf-catalog-paths a {
  padding: 8px 0;
  border: 0;
  text-decoration: none;
}

.sf-banco .sf-audit-next {
  grid-area: audit;
  margin: 0;
  padding: var(--banco-s5);
  border: 0;
  border-radius: var(--banco-r-card);
  background: var(--banco-sage);
  box-shadow: var(--banco-shadow-rest);
  text-decoration: none;
  transition: transform .18s var(--banco-ease), box-shadow .18s var(--banco-ease);
}

.sf-banco .sf-audit-next:hover {
  box-shadow: var(--banco-shadow-lift);
  transform: translateY(-3px);
}

/* banco.css colours these two through a heavy :is() selector (0,3,1):
   the extra ancestor is what it takes to win */
body.sf-banco .sf-catalog-entry .sf-audit-next strong {
  color: var(--banco-ink);
  font-size: var(--banco-h3);
  font-weight: 800;
  letter-spacing: -.015em;
}

.sf-banco .sf-audit-next:hover strong {
  text-decoration: none;
}

.sf-banco .sf-audit-next > span > span {
  color: var(--banco-ink-soft);
  font-size: 15px;
}

body.sf-banco .sf-catalog-entry .sf-audit-next > span:last-child {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--banco-ink);
  color: var(--banco-paper);
  font-size: 18px;
}


/* 2. Interview sheet --------------------------------------------------------- */

.sf-banco .hf-finder {
  position: relative;
  padding-top: var(--banco-s5);
  padding-bottom: var(--banco-s9);
}

.sf-banco .hf-back {
  display: inline-block;
  padding: 6px 0;
  color: var(--banco-ink-soft);
  font-size: var(--banco-text-sm);
  font-weight: 700;
  text-decoration: none;
}

.sf-banco .hf-back:hover {
  color: var(--banco-ink);
  text-decoration: underline;
}

/* Folder tab: same paper as the sheet, so the two read as one cut piece.
   The dots show how many of the three questions are reached. */
.sf-banco .hf-progress {
  --hf-dot-1: var(--banco-ink);
  --hf-dot-2: var(--banco-line);
  --hf-dot-3: var(--banco-line);
  display: flex;
  align-items: center;
  gap: var(--banco-s3);
  width: fit-content;
  max-width: calc(100% - 56px);
  margin: var(--banco-s4) 0 0 28px;
  padding: 10px 18px 8px;
  border-radius: 14px 14px 0 0;
  background: var(--banco-paper);
  color: var(--banco-ink-soft);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.3;
}

.sf-banco .hf-progress::after {
  content: "";
  flex: none;
  width: 44px;
  height: 8px;
  background:
    radial-gradient(circle at 4px 4px, var(--hf-dot-1) 3.6px, transparent 4px),
    radial-gradient(circle at 22px 4px, var(--hf-dot-2) 3.6px, transparent 4px),
    radial-gradient(circle at 40px 4px, var(--hf-dot-3) 3.6px, transparent 4px);
}

.sf-banco .hf-finder:has([data-hf-step="2"]:not([hidden])) .hf-progress {
  --hf-dot-2: var(--banco-ink);
}

.sf-banco .hf-finder:has([data-hf-step="3"]:not([hidden])) .hf-progress {
  --hf-dot-2: var(--banco-ink);
  --hf-dot-3: var(--banco-ink);
}

.sf-banco #hf-form {
  padding: clamp(24px, 6vw, 52px);
  border-radius: var(--banco-r-panel);
  background: var(--banco-paper);
  box-shadow: var(--banco-shadow-rest);
}

.sf-banco .hf-finder h1 {
  margin: 0 0 var(--banco-s5);
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.sf-banco .hf-finder label {
  display: block;
  margin-top: var(--banco-s5);
  color: var(--banco-ink);
  font-size: var(--banco-text-base);
  font-weight: 700;
  line-height: 1.4;
}

.sf-banco .hf-finder h1 + label,
.sf-banco .hf-finder .hf-request + label {
  margin-top: 0;
}

.sf-banco .hf-finder :is(input:not([type=checkbox]), select, textarea) {
  margin-top: 10px;
  padding: 12px 16px;
  font-size: 17px;
}

/* The one field that matters: big, like writing on the sheet.
   The id beats the shared field rule, which carries two :not(). */
.sf-banco #hf-form textarea {
  min-height: 136px;
  padding: 16px 18px;
  border-radius: 16px;
  font-size: 19px;
  line-height: 1.5;
}

.sf-banco .hf-chips {
  gap: 10px;
  margin: var(--banco-s4) 0 var(--banco-s6);
}

/* Chips become tags: a punched hole on the left */
.sf-banco .hf-chips button {
  gap: 9px;
  min-height: 44px;
  padding: 8px 18px 8px 13px;
}

.sf-banco .hf-chips button::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border: 1px solid var(--banco-line-strong);
  border-radius: 50%;
  background: var(--banco-canvas);
  box-shadow: inset 0 1px 1px #2b3a2a40;
}

.sf-banco .hf-chips button[aria-pressed=true]::before {
  border-color: transparent;
  background: var(--banco-marker);
  box-shadow: none;
}

.sf-banco .hf-budget-chips {
  margin: var(--banco-s3) 0 var(--banco-s2);
}

.sf-banco .hf-finder .hf-next,
.sf-banco .hf-actions .button.primary {
  min-height: 54px;
  padding: 14px 26px;
  font-size: 17px;
}

.sf-banco .hf-actions {
  margin-top: var(--banco-s6);
}

.sf-banco .hf-finder .text-button {
  white-space: nowrap;
  border: 0;
  background: none;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}

.sf-banco .hf-finder .text-button:hover {
  text-decoration: underline;
}

/* What we understood from the sentence: a green label, not a loose line */
.sf-banco .hf-request {
  display: inline-block;
  margin: 0 0 var(--banco-s5);
  padding: 6px 14px;
  border-radius: var(--banco-r-pill);
  background: var(--banco-good-soft);
  color: var(--banco-good);
  font-size: 15px;
  font-weight: 750;
}

.sf-banco .hf-request:empty {
  display: none;
}

/* hub_finder.css sets this size with !important */
.sf-banco .hf-finder .hf-note {
  margin-top: var(--banco-s3);
  color: var(--banco-muted);
  font-size: 13px !important;
  line-height: 1.5 !important;
}

/* Optional questions: quiet rows that open in place */
.sf-banco .hf-extra,
.sf-banco .hf-context-question {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--banco-line);
}

.sf-banco .hf-context-question {
  padding: var(--banco-s4) 0 var(--banco-s5);
}

.sf-banco .hf-context-question label {
  margin-top: 0;
}

.sf-banco .hf-note + .hf-extra {
  margin-top: var(--banco-s5);
  border-top: 1px solid var(--banco-line);
}

.sf-banco :is(.hf-extra, .hf-report details, .sf-gate-panel details) > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--banco-s4);
  list-style: none;
  color: var(--banco-ink);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.35;
}

.sf-banco :is(.hf-extra, .hf-report details, .sf-gate-panel details) > summary::-webkit-details-marker {
  display: none;
}

.sf-banco :is(.hf-extra, .hf-report details, .sf-gate-panel details) > summary::after {
  content: "+";
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--banco-canvas-deep);
  color: var(--banco-ink);
  font: 700 20px/1 var(--banco-font);
  transition: background-color .18s var(--banco-ease);
}

.sf-banco :is(.hf-extra, .hf-report details, .sf-gate-panel details)[open] > summary::after {
  content: "\2212";
}

.sf-banco :is(.hf-extra, .hf-report details, .sf-gate-panel details) > summary:hover::after {
  background: var(--banco-sage);
}

.sf-banco .hf-extra > summary {
  padding: var(--banco-s4) 0;
}

.sf-banco .hf-extra[open] {
  padding-bottom: var(--banco-s5);
}

.sf-banco .hf-extra > summary + label,
.sf-banco .hf-extra > summary + div > label:first-child {
  margin-top: var(--banco-s2);
}

.sf-banco .hf-finder label.checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--banco-s3);
  margin-top: var(--banco-s4);
  color: var(--banco-ink-soft);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.sf-banco .hf-finder .checkbox input {
  flex: none;
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 1px 0 0;
}

.sf-banco .hf-finder .error-message {
  margin: 0 0 var(--banco-s5);
  padding: 14px 16px;
  border: 1px solid #e6b9a0;
  background: var(--banco-cta-soft);
  color: var(--banco-cta-ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
}

/* A handwritten note beside the sheet, only where the bench has room and
   only while the first question is open. Hidden when :has() is unknown. */
.sf-banco .hf-bench-note {
  display: none;
}

@media (min-width: 1240px) {
  .sf-banco .hf-finder:has([data-hf-step="1"]:not([hidden])) .hf-bench-note {
    position: absolute;
    top: 236px;
    left: calc(100% + 36px);
    display: block;
    width: 214px;
    padding: 16px 20px 18px;
    background: #fff6dc;
    box-shadow: 0 1px 1px #5c3d1a33, 0 10px 16px -8px #5c3d1a66;
    color: var(--banco-ink);
    font: 700 24px/1.08 var(--banco-hand);
    transform: rotate(2.5deg);
  }

  .sf-banco .hf-bench-note p {
    margin: 0;
    font: inherit;
  }

  .sf-banco .hf-bench-note p + p {
    margin-top: 10px;
    color: var(--banco-ink-soft);
    font-size: 21px;
  }
}


/* 3. Gate ---------------------------------------------------------------------- */
/* The report is ready and lies under the cover sheet. Plain paper sheets
   replace the old blurred mock-up: no blur, no fake score ring in blue. */

.sf-banco .sf-gate {
  position: relative;
  display: grid;
  justify-items: center;
  min-height: 0;
  padding: var(--banco-s8) 0 var(--banco-s9);
  isolation: isolate;
}

.sf-banco .sf-blurred {
  position: absolute;
  z-index: -1;
  top: var(--banco-s8);
  left: 50%;
  width: min(100%, 500px);
  height: 430px;
  overflow: visible;
  opacity: 1;
  filter: none;
  transform: translateX(-50%);
}

.sf-banco .sf-blur-heading {
  display: none;
}

.sf-banco .sf-blur-card {
  position: absolute;
  inset: 0;
  height: auto;
  margin: 0;
  padding: 26px;
  border: 0;
  border-radius: var(--banco-r-card);
  background: var(--banco-paper-warm);
  box-shadow: var(--banco-shadow-rest);
}

.sf-banco .sf-blur-card:nth-of-type(2) {
  transform: translate(-58px, 26px) rotate(-5deg);
}

.sf-banco .sf-blur-card:nth-of-type(3) {
  transform: translate(62px, 18px) rotate(4deg);
}

.sf-banco .sf-blur-card:nth-of-type(4) {
  background: var(--banco-paper);
  transform: translate(8px, -16px) rotate(-1.2deg);
}

.sf-banco :is(.sf-blur-circle, .sf-blur-lines) {
  display: none;
}

.sf-banco .sf-gate-panel {
  position: relative;
  top: auto;
  left: auto;
  width: min(100%, 500px);
  max-width: none;
  padding: clamp(26px, 6vw, 44px);
  box-shadow: var(--banco-shadow-lift);
  transform: none;
}

.sf-banco .sf-gate-check {
  width: 44px;
  height: 44px;
  margin-bottom: var(--banco-s4);
  font-size: 22px;
  font-weight: 800;
}

.sf-banco .sf-gate-panel h1 {
  margin: 0 0 var(--banco-s3);
  font-size: clamp(30px, 3.2vw, 38px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.sf-banco .sf-gate-panel > p {
  margin: 0;
  color: var(--banco-ink-soft);
  font-size: 16px;
  line-height: 1.55;
}

.sf-banco .sf-gate-panel label {
  margin: var(--banco-s5) 0 var(--banco-s2);
  font-size: 15px;
  font-weight: 700;
}

.sf-banco .sf-gate-panel input[type=email] {
  padding: 12px 16px;
  border-radius: var(--banco-r-field);
  font-size: 17px;
}

.sf-banco .sf-gate-panel .button {
  width: 100%;
  min-height: 54px;
  margin-top: var(--banco-s4);
  font-size: 17px;
}

.sf-banco .sf-gate-panel :is(#unlock-error, #membership-status) {
  margin: var(--banco-s4) 0 0;
  padding: 12px 14px;
  border-radius: var(--banco-r-field);
  font-size: 15px;
  line-height: 1.45;
}

.sf-banco .sf-gate-panel #unlock-error {
  border: 1px solid #e6b9a0;
  background: var(--banco-cta-soft);
  color: var(--banco-cta-ink);
}

/* Second path, for who is not subscribed yet: a quiet tray inside the sheet */
.sf-banco .sf-gate-panel details {
  margin-top: var(--banco-s5);
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background: var(--banco-canvas);
  font-size: 15px;
}

.sf-banco .sf-gate-panel details > summary {
  font-size: 15px;
}

.sf-banco .sf-gate-panel details > p {
  margin: var(--banco-s3) 0 0;
  color: var(--banco-ink-soft);
  line-height: 1.5;
}

.sf-banco .sf-gate-panel .sf-gate-consent {
  margin: var(--banco-s4) 0 0;
  font-size: 13px;
  line-height: 1.45;
}

.sf-banco .sf-gate-panel .sf-gate-consent input {
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 0;
}

.sf-banco .sf-gate-panel .sf-gate-consent label {
  margin: 0;
  color: var(--banco-ink-soft);
  font-size: 13px;
  font-weight: 500;
}

/* One orange action per view: the subscribe button is ink */
.sf-banco .sf-gate-panel details .button {
  min-height: 48px;
  border-color: var(--banco-ink);
  background: var(--banco-ink);
  box-shadow: none;
  color: var(--banco-paper);
  font-size: 16px;
}

.sf-banco .sf-gate-panel details .button:hover {
  border-color: #0a201a;
  background: #0a201a;
}

.sf-banco .sf-gate-panel .fine {
  margin: var(--banco-s4) 0 0;
  font-size: 13px;
}

.sf-banco .sf-gate-panel .text-button {
  margin-top: var(--banco-s3);
  font-size: 14px;
  text-decoration: none;
}

.sf-banco .sf-gate-panel .text-button:hover {
  text-decoration: underline;
}


/* 4. Report: primary recommendation ------------------------------------------------ */

.sf-banco .hf-report {
  padding-top: var(--banco-s6);
  padding-bottom: var(--banco-s9);
}

/* The editors' note above the sheet: the one handwritten line of the page */
.sf-banco .hf-report .hf-eyebrow {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  width: fit-content;
  margin: 0 0 6px 10px;
  color: var(--banco-ink);
  font: 700 29px/1 var(--banco-hand);
  letter-spacing: 0;
  transform: rotate(-1.6deg);
  transform-origin: left bottom;
}

.sf-banco .hf-report .hf-eyebrow::after {
  content: "";
  flex: none;
  width: 40px;
  height: 34px;
  margin-bottom: -14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 34' fill='none' stroke='%23ef8951' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5c14-4 29 3 28 24'/%3E%3Cpath d='M22 21l9 9 7-11'/%3E%3C/svg%3E") center / contain no-repeat;
}

.sf-banco .hf-report .hf-primary {
  padding: clamp(22px, 5vw, 40px);
  border: 0;
  border-radius: var(--banco-r-panel);
  background: var(--banco-paper);
  box-shadow: var(--banco-shadow-lift);
}

.sf-banco .hf-choice-heading {
  gap: var(--banco-s4);
}

.sf-banco .hf-report .tool-logo.large {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 16px;
}

.sf-banco .hf-report h1 {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.05;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.sf-banco .hf-price-row {
  align-items: stretch;
  gap: var(--banco-s4);
  margin: var(--banco-s5) 0;
}

/* Price tag: warm card, punched hole. The price is a fact from the listing,
   the plan name sits under it. */
.sf-banco .hf-price-row > div:first-child {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 14px 18px 14px 40px;
  border-radius: 14px;
  background: var(--banco-paper-warm);
}

.sf-banco .hf-price-row > div:first-child::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 14px;
  box-sizing: content-box;
  width: 6px;
  height: 6px;
  border: 3.5px solid var(--banco-wood-deep);
  border-radius: 50%;
  background: var(--banco-canvas);
  transform: translateY(-50%);
}

.sf-banco .hf-price-row strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.sf-banco .hf-price-row small {
  margin-top: 3px;
  color: var(--banco-wood-ink);
  font-size: 13px;
}

.sf-banco .hf-fit {
  display: flex;
  flex: none;
  flex-direction: column;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--banco-canvas);
  color: var(--banco-ink-soft);
  font-size: 13px;
  line-height: 1.3;
  text-align: left;
}

.sf-banco .hf-fit strong {
  color: var(--banco-ink);
  font-size: 24px;
}

.sf-banco .hf-fit meter,
.sf-banco .hf-report .score-meter meter {
  display: block;
  appearance: none;
  border: 0;
  border-radius: var(--banco-r-pill);
  background: var(--banco-canvas-deep);
  overflow: hidden;
}

.sf-banco .hf-fit meter {
  width: 132px;
  height: 8px;
  margin-top: 8px;
}

.sf-banco .hf-report meter::-webkit-meter-bar {
  height: 100%;
  border: 0;
  border-radius: 999px;
  background: #dfe8d8;
}

.sf-banco .hf-report meter::-webkit-meter-optimum-value {
  border-radius: 999px;
  background: #1f4d33;
}

.sf-banco .hf-report meter::-webkit-meter-suboptimum-value {
  border-radius: 999px;
  background: #1f4d33;
}

.sf-banco .hf-report meter::-webkit-meter-even-less-good-value {
  border-radius: 999px;
  background: #1f4d33;
}

.sf-banco .hf-report meter::-moz-meter-bar {
  border-radius: 999px;
  background: #1f4d33;
}

.sf-banco .hf-report .hf-reason {
  max-width: 60ch;
  margin: 0 0 var(--banco-s5);
  color: var(--banco-ink);
  font-size: var(--banco-text-lg);
  line-height: 1.5;
}

.sf-banco .hf-primary > .button {
  min-height: 56px;
  font-size: 18px;
}

.sf-banco .hf-report .hf-context {
  margin: var(--banco-s3) 0 0;
  font-size: 13px;
  line-height: 1.5;
}

.sf-banco .hf-primary > details {
  margin-top: var(--banco-s5);
  padding-top: var(--banco-s4);
  border-top: 1px solid var(--banco-line);
}


/* 5. Report: details, scores, alternatives, other tiers ----------------------------- */

.sf-banco .hf-report .hf-deep {
  padding-top: var(--banco-s3);
  color: var(--banco-ink-soft);
  font-size: 16px;
  line-height: 1.55;
}

.sf-banco .hf-deep :is(h2, h3) {
  margin: var(--banco-s5) 0 var(--banco-s2);
  font-size: var(--banco-text-lg);
}

.sf-banco .hf-deep ul {
  margin: 0 0 var(--banco-s4);
  padding: 0;
  list-style: none;
}

.sf-banco .hf-deep ul > li {
  position: relative;
  margin: 8px 0;
  padding-left: 28px;
}

.sf-banco .hf-deep ul > li::before {
  content: "";
  position: absolute;
  top: .58em;
  left: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--banco-line-strong);
}

/* Reasons get a green tick */
.sf-banco .hf-deep > h3:first-child + ul > li::before {
  content: "\2713";
  top: 0;
  left: 4px;
  width: auto;
  height: auto;
  background: none;
  color: var(--banco-good);
  font-weight: 800;
}

/* Costs and limits are written in amber: declared, not hidden */
.sf-banco .hf-deep > h3:nth-of-type(2) + ul {
  padding: 6px 16px;
  border-radius: 14px;
  background: var(--banco-amber-soft);
  color: var(--banco-amber-ink);
}

.sf-banco .hf-deep > h3:nth-of-type(2) + ul > li::before {
  left: 6px;
  width: 10px;
  height: 3px;
  border-radius: 2px;
  background: var(--banco-amber-ink);
}

.sf-banco .hf-deep ol {
  margin: 0 0 var(--banco-s4);
  padding-left: 22px;
}

.sf-banco .hf-deep ol > li {
  margin: 10px 0;
  padding-left: 6px;
}

.sf-banco .hf-deep ol > li::marker {
  color: var(--banco-ink);
  font-weight: 800;
}

.sf-banco .hf-deep a:not(.button) {
  color: var(--banco-cta-hover);
  font-weight: 700;
}

.sf-banco .hf-report .text-button {
  padding: 0;
  border: 0;
  background: none;
  font-size: inherit;
  text-decoration: underline;
  text-decoration-color: #cd3c0866;
  cursor: pointer;
}

/* Score explanation: a mint tray on the sheet */
.sf-banco .hf-report .fit-panel {
  margin: var(--banco-s4) 0 var(--banco-s5);
  padding: var(--banco-s5);
  border: 0;
  border-radius: var(--banco-r-card);
  background: var(--banco-canvas);
}

.sf-banco .hf-report .meter-heading {
  color: var(--banco-ink);
  font-size: 16px;
  font-weight: 700;
}

.sf-banco .hf-report .score-meter-large .meter-heading {
  font-size: var(--banco-text-lg);
}

.sf-banco .hf-report .score-meter-large .meter-heading strong {
  font-size: 34px;
}

.sf-banco .hf-report .score-meter meter {
  width: 100%;
  height: 10px;
  margin-top: 10px;
}

.sf-banco .hf-report :is(.meter-scale, .meter-note) {
  color: var(--banco-muted);
  font-size: 13px;
}

.sf-banco .hf-report .score-details {
  margin-top: var(--banco-s4);
  padding-top: var(--banco-s4);
  border: 0;
  border-top: 1px solid var(--banco-line);
  border-radius: 0;
}

.sf-banco .hf-report .score-details > summary {
  font-size: 15px;
}

.sf-banco .hf-report .score-components {
  gap: var(--banco-s5);
}

.sf-banco .hf-report .service-status {
  border: 0;
  border-radius: var(--banco-r-card);
  background: var(--banco-canvas);
}

.sf-banco .hf-report .opinion-card {
  border: 0;
  border-radius: var(--banco-r-card);
  background: var(--banco-canvas);
}

.sf-banco .hf-report .opinion-disagreement {
  border: 0;
  border-radius: 14px;
  background: var(--banco-amber-soft);
  color: var(--banco-amber-ink);
}

/* Alternatives: smaller sheets beside the main one, each with its tag */
.sf-banco .hf-report .hf-alternatives {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--banco-s3);
  margin: var(--banco-s7) 0 0;
}

.sf-banco .hf-report .hf-alternatives > :is(h2, details) {
  grid-column: 1 / -1;
}

.sf-banco .hf-report :is(.hf-alternatives, .hf-possibilities) h2 {
  margin: 0 0 var(--banco-s1);
  font-size: 26px;
  letter-spacing: -.025em;
}

.sf-banco .hf-alternative {
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: var(--banco-s3);
  padding: 20px 22px;
  border: 0;
  border-radius: var(--banco-r-card);
  background: var(--banco-paper);
  box-shadow: var(--banco-shadow-rest);
  transition: transform .18s var(--banco-ease), box-shadow .18s var(--banco-ease);
}

.sf-banco .hf-alternative:hover {
  box-shadow: var(--banco-shadow-lift);
  transform: translateY(-3px);
}

.sf-banco .hf-alternative > a {
  font-size: var(--banco-h3);
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.2;
  text-decoration: none;
}

.sf-banco .hf-alternative > a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.sf-banco .hf-alternative > span {
  padding: 5px 12px;
  border-radius: 9px;
  background: var(--banco-paper-warm);
  color: var(--banco-wood-ink);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}

/* Collapsible chapters of the report: paper strips under the main sheet */
.sf-banco .hf-report .hf-alternatives > details,
.sf-banco .hf-report details.hf-section {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--banco-r-card);
  background: var(--banco-paper);
  box-shadow: var(--banco-shadow-rest);
}

.sf-banco .hf-report details.hf-section {
  margin-top: var(--banco-s3);
}

.sf-banco .hf-report .hf-primary + details.hf-section,
.sf-banco .hf-report .hf-possibilities + details.hf-section,
.sf-banco .hf-report .hf-unverified + details.hf-section {
  margin-top: var(--banco-s6);
}

.sf-banco .hf-report .hf-alternatives > details > summary,
.sf-banco .hf-report details.hf-section > summary {
  padding: 18px 22px;
}

.sf-banco .hf-report .hf-alternatives > details > :not(summary),
.sf-banco .hf-report details.hf-section > :not(summary) {
  margin-inline: 22px;
}

.sf-banco .hf-report .hf-alternatives > details[open],
.sf-banco .hf-report details.hf-section[open] {
  padding-bottom: 22px;
}

.sf-banco .hf-report .hf-alternatives > details > h3 {
  margin: var(--banco-s5) 22px 0;
  padding-top: var(--banco-s5);
  border-top: 1px solid var(--banco-line);
  font-size: 24px;
}

.sf-banco .hf-report .hf-alternatives > details > summary + h3 {
  margin-top: 0;
  padding-top: var(--banco-s2);
  border-top: 0;
}

/* Tools listed inside a chapter: a hairline between one and the next */
.sf-banco .hf-report details.hf-section .hf-deep > h3 {
  margin-top: var(--banco-s5);
  padding-top: var(--banco-s5);
  border-top: 1px solid var(--banco-line);
  font-size: var(--banco-h3);
}

.sf-banco .hf-report details.hf-section .hf-deep > h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* Requirements we could not verify: every line opens with the requirement
   in bold. Same amber as the limits, so "da verificare" is never grey text. */
.sf-banco .hf-report details.hf-section .hf-deep > ul:has(> li > strong:first-child) {
  padding: 6px 16px;
  border-radius: 14px;
  background: var(--banco-amber-soft);
  color: var(--banco-amber-ink);
}

.sf-banco .hf-report details.hf-section .hf-deep > ul:has(> li > strong:first-child) > li::before {
  left: 6px;
  width: 10px;
  height: 3px;
  border-radius: 2px;
  background: var(--banco-amber-ink);
}

.sf-banco .hf-deep h3 > a {
  color: var(--banco-ink) !important;
  text-decoration: none;
}

.sf-banco .hf-deep h3 > a:hover {
  text-decoration: underline;
  text-decoration-color: var(--banco-marker);
  text-decoration-thickness: .11em;
}

/* Copy box for the starting instructions: several lines, one tap to copy */
.sf-banco .hf-report .prompt-panel {
  display: flex;
  flex-direction: column;
  margin-top: var(--banco-s4);
  padding: var(--banco-s4) var(--banco-s4) var(--banco-s3);
  border: 1.5px dashed var(--banco-line-strong);
  border-radius: 14px;
  background: #fff;
}

.sf-banco .hf-report .prompt-panel .text-button {
  align-self: flex-end;
  order: -1;
  padding: 7px 14px;
  border: 1px solid var(--banco-line-strong);
  border-radius: 10px;
  background: var(--banco-paper);
  color: var(--banco-ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.sf-banco .hf-report .prompt-panel .text-button:hover {
  border-color: var(--banco-ink);
}

.sf-banco .hf-report .prompt-panel p {
  margin: var(--banco-s3) 0 0;
  color: var(--banco-ink);
  font-size: 16px;
  line-height: 1.6;
}

.sf-banco .hf-report .prompt-panel p:last-child {
  color: var(--banco-muted);
  font-size: 13px;
}

/* No tool passed every check: said plainly on a dashed slip */
.sf-banco .hf-report .hf-unverified {
  padding: clamp(22px, 5vw, 36px);
  border: 1.5px dashed var(--banco-line-strong);
  border-radius: var(--banco-r-panel);
  background: none;
}

.sf-banco .hf-report .hf-unverified h1 {
  margin: 0 0 var(--banco-s4);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
}

.sf-banco .hf-unverified > p {
  max-width: 60ch;
  margin: 0;
  color: var(--banco-ink-soft);
  font-size: var(--banco-text-base);
  line-height: 1.55;
}

.sf-banco .hf-unverified > .button {
  margin-top: var(--banco-s5);
}

/* Options that break one of the stated constraints */
.sf-banco .hf-report .hf-possibilities {
  margin: var(--banco-s7) 0 0;
  padding: 0;
  border: 0;
}

.sf-banco .hf-possibilities > p {
  margin: 0 0 var(--banco-s4);
  color: var(--banco-ink-soft);
  font-size: 16px;
}

.sf-banco .hf-report .hf-possibilities > .hf-deep {
  margin-top: var(--banco-s3);
  padding: 22px;
  border-radius: var(--banco-r-card);
  background: var(--banco-paper);
  box-shadow: var(--banco-shadow-rest);
}

.sf-banco .hf-possibilities .hf-deep > h3 {
  margin-top: 0;
  font-size: var(--banco-h3);
}

.sf-banco .hf-possibilities .hf-deep > strong {
  display: block;
  margin-top: var(--banco-s4);
  color: var(--banco-amber-ink);
  font-size: 15px;
}

.sf-banco .hf-possibilities .hf-deep > strong + ul {
  margin-top: var(--banco-s2);
  padding: 6px 16px;
  border-radius: 14px;
  background: var(--banco-amber-soft);
  color: var(--banco-amber-ink);
}

.sf-banco .hf-possibilities .hf-deep > strong + ul > li::before {
  left: 6px;
  width: 10px;
  height: 3px;
  border-radius: 2px;
  background: var(--banco-amber-ink);
}

.sf-banco .hf-report .hf-feedback {
  display: grid;
  gap: var(--banco-s3);
  justify-items: start;
  padding-top: var(--banco-s2);
  font-size: 15px;
}

.sf-banco .hf-feedback label {
  font-size: 15px;
  font-weight: 700;
}

.sf-banco .hf-feedback select {
  display: block;
  width: min(100%, 320px);
  margin-top: var(--banco-s2);
  padding: 10px 14px;
}

.sf-banco .hf-feedback .checkbox {
  display: flex;
  gap: var(--banco-s3);
  align-items: flex-start;
  margin: 0;
  font-weight: 500;
}

.sf-banco .hf-feedback .checkbox input {
  flex: none;
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 2px 0 0;
}


/* 6. Report: toolbar and method ----------------------------------------------------- */

.sf-banco .hf-report .hf-toolbar {
  align-items: center;
  gap: var(--banco-s5);
  margin-top: var(--banco-s6);
  font-size: var(--banco-text-sm);
}

.sf-banco .hf-report .hf-toolbar .text-button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--banco-line-strong);
  border-radius: var(--banco-r-field);
  background: var(--banco-paper);
  color: var(--banco-ink);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

.sf-banco .hf-report .hf-toolbar .text-button:hover {
  border-color: var(--banco-ink);
  background: #fff;
}

.sf-banco .hf-report .hf-toolbar > a {
  color: var(--banco-cta-hover);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

.sf-banco .hf-report .hf-toolbar > a:hover {
  text-decoration: underline;
}

.sf-banco .hf-report .hf-method {
  margin-top: var(--banco-s5);
  font-size: 13px;
}


/* 7. Responsive ------------------------------------------------------------------------ */

@media (max-width: 1000px) {
  .sf-banco .sf-compare-start {
    gap: var(--banco-s6);
    padding: var(--banco-s6) 0 var(--banco-s7);
  }

  .sf-banco .sf-compare-start h1 {
    font-size: clamp(36px, 5.2vw, 52px);
  }

  .sf-banco .hf-landing-how {
    padding-right: 0;
  }

  .sf-banco .hf-landing-steps li {
    padding: 16px 18px;
  }

  .sf-banco .hf-landing-steps li:nth-child(2) {
    transform: translateX(8px) rotate(1deg);
  }

  .sf-banco .hf-landing-steps li:nth-child(3) {
    transform: rotate(-.7deg);
  }

  .sf-banco .hf-landing-note {
    right: 0;
    font-size: 22px;
  }

  .sf-banco .sf-catalog-entry {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "search" "paths" "audit";
    padding-bottom: var(--banco-s8);
  }

  .sf-banco .sf-audit-next {
    margin-top: var(--banco-s3);
  }
}

@media (max-width: 767px) {
  /* hub_finder.css narrows the sheet with its own gutter: use the system one */
  .sf-banco.sf-hub .hf-finder,
  .sf-banco.sf-hub .hf-report {
    width: calc(100% - var(--banco-gutter) * 2);
  }

  .sf-banco .sf-compare-start {
    grid-template-columns: minmax(0, 1fr);
  }

  .sf-banco .sf-compare-start h1 {
    font-size: clamp(36px, 10.5vw, 48px);
  }

  .sf-banco .hf-landing-copy > p:not(.sf-kicker) {
    font-size: 18px;
  }

  .sf-banco .hf-landing-copy .button {
    width: 100%;
  }

  .sf-banco .hf-landing-how {
    padding: 0 0 var(--banco-s4);
  }

  .sf-banco .hf-landing-steps li {
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: var(--banco-s3);
    padding: 16px 18px;
  }

  .sf-banco .hf-landing-steps li:nth-child(n) {
    transform: none;
  }

  .sf-banco .hf-landing-steps li:nth-child(2) {
    transform: rotate(.6deg);
  }

  .sf-banco .hf-landing-steps li > span {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .sf-banco .hf-landing-steps strong {
    font-size: 17px;
  }

  .sf-banco .hf-landing-steps small {
    font-size: 14px;
  }

  .sf-banco .hf-landing-note {
    position: static;
    width: fit-content;
    margin: var(--banco-s4) 0 0 auto;
    font-size: 22px;
    transform: rotate(-2.5deg);
  }

  .sf-banco .hf-landing-tasks {
    display: block;
  }

  .sf-banco .hf-landing-tasks ul {
    margin-top: var(--banco-s3);
  }

  .sf-banco .sf-catalog-search {
    padding: var(--banco-s4);
  }

  .sf-banco .sf-catalog-paths {
    display: flex;
    gap: 0 var(--banco-s5);
    padding: 0 var(--banco-s1);
  }

  .sf-banco .sf-catalog-paths a {
    display: inline-block;
    padding: 10px 0;
    border: 0;
  }

  .sf-banco .hf-finder {
    padding-top: var(--banco-s3);
    padding-bottom: var(--banco-s8);
  }

  .sf-banco .hf-progress {
    max-width: calc(100% - 28px);
    margin-left: 14px;
    padding-inline: 14px;
    white-space: nowrap;
  }

  .sf-banco .hf-finder h1 {
    font-size: clamp(27px, 8vw, 34px);
  }

  .sf-banco .hf-finder textarea {
    font-size: 17px;
  }

  .sf-banco #hf-form {
    padding: 26px 20px 28px;
  }

  .sf-banco #hf-form textarea {
    min-height: 148px;
    padding: 14px;
  }

  .sf-banco .hf-chips {
    gap: 8px 6px;
  }

  .sf-banco .hf-chips button {
    gap: 7px;
    min-height: 42px;
    padding: 8px 13px 8px 10px;
    font-size: 14px;
  }

  .sf-banco .hf-chips button::before {
    width: 8px;
    height: 8px;
  }

  .sf-banco .hf-actions {
    gap: var(--banco-s3);
  }

  .sf-banco .hf-finder .hf-actions .button.primary {
    padding-inline: 18px;
    font-size: 16px;
  }

  .sf-banco .sf-gate {
    padding: var(--banco-s7) 0 var(--banco-s8);
  }

  .sf-banco .sf-blurred {
    top: var(--banco-s7);
    height: 300px;
  }

  .sf-banco .sf-blur-card:nth-of-type(2) {
    transform: translate(-6px, -14px) rotate(-3deg);
  }

  .sf-banco .sf-blur-card:nth-of-type(3) {
    transform: translate(6px, -20px) rotate(2.4deg);
  }

  .sf-banco .sf-blur-card:nth-of-type(4) {
    transform: translate(0, -8px) rotate(-.8deg);
  }

  .sf-banco .hf-report {
    padding-top: var(--banco-s5);
    padding-bottom: var(--banco-s8);
  }

  .sf-banco .hf-report .hf-eyebrow {
    margin-left: 4px;
    font-size: 25px;
  }

  .sf-banco .hf-report h1 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .sf-banco .hf-choice-heading {
    gap: var(--banco-s3);
  }

  .sf-banco .hf-report .tool-logo.large {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
  }

  .sf-banco .hf-price-row {
    margin: var(--banco-s4) 0;
  }

  .sf-banco .hf-price-row strong {
    font-size: 19px;
  }

  .sf-banco .hf-report .hf-reason {
    margin-bottom: var(--banco-s4);
    font-size: var(--banco-text-base);
  }

  .sf-banco .hf-report .fit-panel {
    padding: var(--banco-s4);
  }

  .sf-banco .hf-report .hf-alternatives {
    margin-top: var(--banco-s6);
  }
}

@media (max-width: 400px) {
  .sf-banco #hf-form {
    padding: 24px 14px 26px;
  }

  .sf-banco .hf-chips {
    gap: 8px 5px;
  }

  .sf-banco .hf-chips button {
    gap: 5px;
    min-height: 40px;
    padding: 7px 10px 7px 8px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .sf-banco .hf-price-row {
    flex-direction: column;
    gap: var(--banco-s2);
  }

  .sf-banco .hf-fit {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    padding: 10px 14px;
  }

  .sf-banco .hf-fit strong {
    font-size: 20px;
  }

  .sf-banco .hf-fit meter {
    flex: 1 0 100%;
    width: 100%;
    margin-top: 2px;
  }

  .sf-banco .sf-catalog-search > div {
    flex-wrap: wrap;
  }

  .sf-banco .sf-catalog-search .button {
    width: 100%;
  }
}


/* 8. Print --------------------------------------------------------------------------------- */
/* "Salva come PDF": white page, ink text, every chapter open (hub_finder.js
   opens the details), no shadows, no controls. */

@media print {
  body.sf-banco {
    background: #fff;
  }

  .sf-banco .hf-report {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .sf-banco .hf-report::before {
    content: "Spiegamelo Facile \00B7  Cosa usare";
    display: block;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #102f26;
    color: #102f26;
    font: 800 15px/1.2 var(--banco-font);
  }

  .sf-banco .hf-report .hf-eyebrow {
    margin-left: 0;
    font: 700 14px/1.3 var(--banco-font);
    transform: none;
  }

  .sf-banco .hf-report .hf-eyebrow::after,
  .sf-banco .hf-report summary::after,
  .sf-banco .hf-primary > .button,
  .sf-banco .hf-report [data-copy] {
    display: none !important;
  }

  .sf-banco .hf-report :is(.hf-primary, .hf-alternative, details.hf-section, .hf-alternatives > details, .hf-possibilities > .hf-deep) {
    border: 1px solid #cbd3c5;
    background: #fff;
    box-shadow: none;
  }

  .sf-banco .hf-report .hf-primary {
    padding: 22px;
  }

  .sf-banco .hf-report :is(.hf-alternative, .fit-panel, .prompt-panel, .hf-deep ul) {
    break-inside: avoid;
  }

  .sf-banco .hf-report :is(.hf-price-row > div:first-child, .hf-fit, .fit-panel, .hf-deep ul, meter) {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .sf-banco .hf-report h1,
  .sf-banco .hf-report h2,
  .sf-banco .hf-report h3 {
    break-after: avoid;
  }
}
