/* Calcolatore tasse (CalcolatoreTasse.html) e Requisiti borsa ERSU (RequisitiBorsa.html) */
.cl-griglia { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) { .cl-griglia { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .cl-colris { position: sticky; top: 92px; } }
.cl-card { background: #fff; border: 1px solid #d6dbe2; border-radius: 22px; padding: 18px; box-shadow: 0 2px 10px rgba(0,40,80,.06); }
.cl-form { display: grid; gap: 20px; }
.cl-campo > label, .cl-campo > .cl-et { display: block; margin: 0 0 8px; font-family: 'Lexend', sans-serif; font-weight: 700; font-size: 16px; color: #1a1c1e; }
.cl-campo .cl-aiuto { margin: -2px 0 8px; font-size: 13.5px; line-height: 1.4; color: #576066; }
.cl-in { width: 100%; height: 50px; padding: 0 14px; border-radius: 14px; border: 1px solid #c0c7d1; background: #fff; font-size: 16px; color: #1a1c1e; }
.cl-in:focus { outline: none; border-color: #005687; box-shadow: 0 0 0 3px rgba(0,86,135,.18); }
.cl-in:disabled { background: #eef1f5; color: #7a838c; }
.cl-spento .cl-in { opacity: .6; }
.cl-campo > label.cl-spunta { font-family: inherit; font-weight: 400; }
.cl-spunta { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 15px; color: #1a1c1e; cursor: pointer; }
.cl-spunta input { width: 20px; height: 20px; accent-color: #005687; flex: none; }
.cl-pill { display: flex; flex-wrap: wrap; gap: 8px; }
.cl-pill label { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 16px; border-radius: 9999px; border: 1px solid #c0c7d1; background: #fff; font-weight: 700; font-size: 14.5px; color: #1a1c1e; cursor: pointer; }
.cl-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cl-pill label:has(input:checked) { background: #005687; border-color: #005687; color: #fff; }
.cl-pill label:has(input:focus-visible) { outline: 3px solid #005687; outline-offset: 2px; }
.cl-ris { display: grid; gap: 14px; }
.cl-vuoto { margin: 0; padding: 16px; border-radius: 16px; background: #eef1f5; color: #41474f; font-size: 15px; line-height: 1.5; }
.cl-totale { padding: 20px; border-radius: 20px; color: #fff; background: #005687; background-image: linear-gradient(135deg, #00324f, #005687); box-shadow: 0 6px 20px rgba(0,50,79,.25); text-align: center; }
.cl-totale p { margin: 0; }
.cl-totale-et { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; opacity: .85; }
.cl-totale-n { font-family: 'Lexend', sans-serif; font-weight: 800; font-size: 44px; line-height: 1.15; margin: 4px 0 6px !important; }
.cl-totale-s { font-size: 15px; opacity: .95; line-height: 1.4; }
.cl-dett { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cl-dett li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #d6dbe2; font-size: 14.5px; line-height: 1.45; color: #41474f; }
.cl-dett li > .material-symbols-outlined { color: #1B6FA8; flex: none; }
.cl-dett b { color: #1a1c1e; }
.cl-scad { padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid #d6dbe2; }
.cl-scad h3 { margin: 0 0 8px; font-family: 'Lexend', sans-serif; font-size: 16px; font-weight: 700; color: #1a1c1e; }
.cl-scad ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cl-scad li { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; font-size: 14.5px; }
.cl-data { font-weight: 800; color: #005687; font-variant-numeric: tabular-nums; }
.cl-cosa { color: #41474f; overflow-wrap: anywhere; }
.cl-imp { font-variant-numeric: tabular-nums; color: #1a1c1e; white-space: nowrap; }
.cl-piccolo { margin: 10px 0 0; font-size: 13px; color: #576066; line-height: 1.45; }
.cl-avviso { margin: 0; padding: 12px 14px; border-radius: 14px; background: #e3eefa; border: 1px solid #b9d3ea; color: #00324f; font-size: 14px; line-height: 1.5; }
.cl-note { margin-top: 18px; font-size: 13.5px; line-height: 1.55; color: #576066; }
.cl-note a { color: #005687; font-weight: 700; text-decoration: underline; }
.rb-ctrl { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; border: 1px solid #d6dbe2; background: #fff; }
.rb-ctrl b { font-family: 'Lexend', sans-serif; font-size: 16px; color: #1a1c1e; }
.rb-ctrl p { margin: 2px 0 0; font-size: 14.5px; line-height: 1.45; color: #41474f; }
.rb-ok { border-color: #8cc79a; background: #f1faf3; }
.rb-ok > .material-symbols-outlined { color: #1b7a34; }
.rb-no { border-color: #e6a3a3; background: #fdf3f3; }
.rb-no > .material-symbols-outlined { color: #c62828; }
.rb-nd > .material-symbols-outlined { color: #576066; }
.cl-avviso.rb-esito-ok { background: #e6f5ea; border-color: #8cc79a; color: #124d22; }
.cl-avviso.rb-esito-no { background: #fdeaea; border-color: #e6a3a3; color: #6d1414; }

/* Countdown accademico */
.cda-prossima { padding: 22px 20px; border-radius: 22px; color: #fff; text-align: center; background: #005687; background-image: linear-gradient(135deg, #00324f, #005687); box-shadow: 0 6px 20px rgba(0,50,79,.25); margin-bottom: 22px; }
.cda-prossima p { margin: 0; }
.cda-pet { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; opacity: .85; }
.cda-pnum { font-family: 'Lexend', sans-serif; font-weight: 800; font-size: 64px; line-height: 1.1; margin: 4px 0 !important; }
.cda-pnum small { font-size: 22px; font-weight: 700; }
.cda-pt { font-weight: 700; font-size: 18px; line-height: 1.35; }
.cda-pd { font-size: 14.5px; opacity: .9; margin-top: 4px !important; }
.cda-sez { margin-bottom: 26px; }
.cda-h { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-family: 'Lexend', sans-serif; font-size: 22px; font-weight: 700; color: #1a1c1e; }
.cda-h .material-symbols-outlined { color: #005687; }
.cda-elenco { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cda-riga { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid #d6dbe2; box-shadow: 0 2px 10px rgba(0,40,80,.05); }
@media (min-width: 900px) { .cda-riga { grid-template-columns: 84px minmax(0, 1fr) auto; align-items: center; } }
.cda-num { text-align: center; color: #005687; }
.cda-num b { display: block; font-family: 'Lexend', sans-serif; font-weight: 800; font-size: 30px; line-height: 1.1; }
.cda-num span { font-size: 12.5px; font-weight: 700; color: #576066; }
.cda-passata { opacity: .65; }
.cda-passata .cda-num b { font-size: 15px; color: #576066; }
.cda-info p { margin: 0; }
.cda-t { font-weight: 700; font-size: 16px; color: #1a1c1e; overflow-wrap: anywhere; }
.cda-d { font-size: 14px; font-weight: 700; color: #005687; margin-top: 2px !important; }
.cda-s { font-size: 14px; line-height: 1.45; color: #41474f; margin-top: 4px !important; }
.cda-fonte { display: inline-block; margin-top: 6px; font-size: 12.5px; color: #576066; text-decoration: underline; }
.cda-az { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1 / -1; }
@media (min-width: 900px) { .cda-az { grid-column: auto; flex-direction: column; align-items: stretch; } }
.cda-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 6px 14px; border-radius: 9999px; border: 1px solid #005687; background: #005687; color: #fff; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.cda-btn:hover:not([disabled]) { background: #00466f; }
.cda-btn[disabled] { background: #e3eefa; border-color: #b9d3ea; color: #00324f; cursor: default; }
.cda-btn.cda-sec { background: #fff; color: #005687; }
.cda-btn:focus-visible, .cda-det summary:focus-visible { outline: 3px solid #005687; outline-offset: 2px; }
.cda-det { margin-top: 12px; }
.cda-det summary { cursor: pointer; font-weight: 700; color: #005687; padding: 6px 0; }
.cda-det .cda-elenco { margin-top: 8px; }

/* Moduli (Entra nella squadra) */
.cl-colcentro { max-width: 760px; margin: 0 auto; }
.cl-due { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cl-due { grid-template-columns: 1fr 1fr; } }
textarea.cl-in { height: auto; min-height: 120px; padding: 12px 14px; line-height: 1.5; resize: vertical; font-family: inherit; }
.cl-conta { margin: 4px 2px 0; font-size: 12.5px; color: #576066; text-align: right; }
.cl-vai { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border: 0; border-radius: 16px; background: #005687; color: #fff; font-family: 'Lexend', sans-serif; font-weight: 700; font-size: 17px; cursor: pointer; box-shadow: 0 4px 14px rgba(0,86,135,.3); }
.cl-vai:hover { background: #00466f; }
.cl-vai[disabled] { opacity: .6; cursor: progress; }
.cl-vai:focus-visible { outline: 3px solid #005687; outline-offset: 2px; }
.cl-msg { margin: 0; padding: 12px 14px; border-radius: 14px; background: #e3eefa; border: 1px solid #b9d3ea; color: #00324f; font-size: 15px; line-height: 1.45; }
.cl-msg.cl-errore { background: #fdeaea; border-color: #e6a3a3; color: #6d1414; }
.cl-msg[hidden], .cl-ok[hidden] { display: none; }
.cl-ok { text-align: center; padding: 34px 22px; border-radius: 24px; background: #eef7ee; border: 1px solid #bfe0c1; color: #1b4d20; }
.cl-ok h2 { margin: 8px 0 8px; font-family: 'Lexend', sans-serif; font-size: 26px; color: #1b4d20; }
.cl-ok p { margin: 0 auto 18px; max-width: 520px; font-size: 16px; line-height: 1.55; }
.cl-trappola { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cl-privacy-link { color: #005687; font-weight: 700; text-decoration: underline; }
/* Telefono e tablet: prima il modulo, poi il risultato, e le fonti in fondo a tutto */
@media (max-width: 1023px) {
  .cl-griglia > .cl-colform { display: contents; }
  .cl-colform > .cl-form { order: 1; }
  .cl-griglia > .cl-colris { order: 2; }
  .cl-colform > .cl-note { order: 3; margin-top: 0; }
}
