/* Commerciale (cm): listino, schermata abbonamento, invito Post-gara, configuratore dei preventivi. */
.cm-section { display: grid; gap: 12px; margin-top: 18px; }
.cm-section > h2 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); }
.cm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 12px; }
.cm-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cm-card { display: grid; align-content: start; gap: 10px; min-width: 0; }
.cm-card h3 { margin: 0; font-size: 20px; }
.cm-card p { margin: 0; line-height: 1.48; }
.cm-card > .button, .cm-card > a.button { justify-self: start; margin-top: 4px; }
.cm-card .button:disabled { opacity: .62; cursor: not-allowed; }
.cm-primary { border-color: var(--cobalt); box-shadow: 0 10px 26px #294cc714; }
.cm-prices { display: grid; gap: 8px; }
.cm-option { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 10px 12px; border: 1px solid var(--app-line); border-radius: 10px; }
.cm-cost { font-weight: 830; font-size: 24px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--ink); }
.cm-cost small { font-size: 13px; letter-spacing: 0; font-weight: 580; color: var(--muted); }
.cm-cost .cm-save { color: var(--fg-success); font-weight: 700; }
.cm-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; line-height: 1.45; }
.cm-more summary { cursor: pointer; font-weight: 690; font-size: 14px; }
.cm-more[open] summary { margin-bottom: 8px; }
.cm-status:empty { display: none; }
.cm-status .aa-link, .cm-status a { margin-left: 4px; }
.cm-paywall { display: grid; gap: 12px; margin: 12px 0; }
.cm-banner { display: grid; gap: 10px; border-left: 4px solid var(--cobalt); }
.cm-banner h3 { margin: 0; }
.cm-quotes .file-line { align-items: flex-start; }
.cm-quotes .file-line p { margin: 3px 0 0; }

/* Configuratore guidato */
.cm-config { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); gap: 14px; align-items: start; }
.cm-config-form { display: grid; gap: 14px; }
.cm-step { display: grid; gap: 12px; border: 0; padding: 0; margin: 0; min-width: 0; }
.cm-step > legend { font-weight: 800; font-size: 15px; margin-bottom: 4px; padding: 0; }
.cm-step label small { display: block; margin-top: 4px; font-weight: 500; }
.cm-service-detail { margin: -4px 0 0; }
.cm-questions { display: grid; gap: 14px; }
.cm-question { border: 1px solid var(--app-line); border-radius: 12px; padding: 12px 14px; margin: 0; min-width: 0; }
.cm-question > legend { font-weight: 750; padding: 0 6px; }
.cm-question > p { margin: 0 0 8px; }
.cm-options { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-choice { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--app-field); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 14px; background: var(--fg-surface); }
.cm-choice:hover { background: var(--app-hover); }
.cm-choice:has(input:checked) { border-color: var(--cobalt); background: var(--fg-brand-soft); color: var(--fg-brand-strong); }
.cm-choice:has(input:disabled) { cursor: default; opacity: .85; }
.cm-choice:has(input:focus-visible) { box-shadow: var(--app-ring); }
.cm-choice input { margin: 0; accent-color: var(--cobalt); }
/* Prevale sulle regole generali dei moduli (#public-content fieldset label, .desk-panel input). */
#public-content fieldset label.cm-choice, .cm-options label.cm-choice { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; margin: 0; }
.cm-options .cm-choice input[type=radio] { width: 18px; height: 18px; min-height: 0; flex: none; margin: 0; padding: 0; }
.cm-range { position: sticky; top: calc(var(--app-header, 65px) + 12px); display: grid; gap: 6px; }
.cm-range h3 { margin: 0; font-size: 15px; }
.cm-range p { margin: 0; }
.cm-range-value { font-size: clamp(24px, 3vw, 30px); font-weight: 840; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cm-range progress { width: 100%; height: 8px; accent-color: var(--cobalt); }

@media (max-width: 900px) {
  .cm-config { grid-template-columns: 1fr; }
  .cm-range { position: static; order: -1; }
}
@media (max-width: 700px) {
  .cm-grid-2 { grid-template-columns: 1fr; }
  .cm-option { padding: 9px 10px; }
  .cm-option .button { width: 100%; }
  .cm-choice { width: 100%; border-radius: 10px; }
}
