/* ===== "Conti" interattivo: ricreazione del conto del cliente (jckite: conti.css, pagamenti_conto.css, noleggi.css, inventario.css) =====
   Stessi colori e misure del gestionale. Prefisso .co- */
.co { --co-navy: #163459; --co-navy-2: #1b4b7a; --co-muted: #5d6e86; --co-text-2: #2f4566; --co-text-3: #4f6280; --co-border: #d9edf6; --co-soft: #e7f8fd;
    --co-pale: #f5fbfe; --co-ink: #0a7299; --co-grey-soft: #f2f4f7; --co-grey-bg: #f7fafc; --co-grey-line: #f0f1f3; --co-segment: #edf2f7;
    --co-pos: #10b981; --co-pos-soft: #ecfdf5; --co-pos-ink: #027a48; --co-warn: #f59e0b; --co-warn-soft: #fffbeb; --co-warn-ink: #b45309;
    --co-neg: #ef4444; --co-neg-soft: #fef2f2; --co-neg-ink: #b42318; --co-neg-mid: #dc2626;
    position: relative; display: flex; flex-direction: column; gap: 12px; padding: 16px; background: #fcfcfc; color: var(--co-navy); font: 400 14px/1.4 var(--sans); }
.co svg { width: 1em; height: 1em; fill: currentColor; flex: 0 0 auto; }
.co [hidden] { display: none !important; }

/* fascia navy: il cliente e il suo conto (testa del pannello di dettaglio) */
.co-hero { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 18px; border-radius: 14px;
    background: linear-gradient(120deg, var(--co-navy) 0%, var(--co-navy-2) 70%, var(--co-ink) 100%); color: #fff; box-shadow: 0 10px 30px rgba(22, 52, 89, .22); }
.co-hero::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(7, 188, 231, .35), transparent 70%); pointer-events: none; }
.co-hero > * { position: relative; z-index: 1; }
.co-tipo { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; background: rgba(255, 255, 255, .12); color: #fff; transition: background .4s, color .4s; }
.co-tipo.is-da_pagare { background: var(--co-neg-soft); color: var(--co-neg-mid); }
.co-tipo.is-parziale { background: var(--co-warn-soft); color: var(--co-warn-ink); }
.co-tipo.is-pagato { background: var(--co-pos-soft); color: var(--co-pos-ink); }
.co-hero-sx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.co-hero-sx small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-azzurrino); }
.co-hero-sx > b { font-size: 19px; font-weight: 700; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 3px; }
.co-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); font-size: 12.5px; color: #e2eef7; white-space: nowrap; }
.co-chip svg { font-size: 12px; color: var(--lp-azzurrino); }
.co-chip-stato { height: 32px; font-weight: 600; transition: background .4s, border-color .4s; }
.co-chip.is-neg { background: rgba(239, 68, 68, .22); border-color: rgba(239, 68, 68, .45); color: #fff; }
.co-chip.is-warn { background: rgba(245, 158, 11, .2); border-color: rgba(245, 158, 11, .4); color: #fff; }
.co-chip.is-ok { background: rgba(16, 185, 129, .18); border-color: rgba(16, 185, 129, .35); color: #fff; }
.co-chip.is-ok svg { color: #6ee7b7; }

/* KPI del conto (inv-kpi); il terzo è "Resta da pagare", più grande */
.co-kpis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr); gap: 10px; }
.co-kpi { display: flex; align-items: center; gap: 10px; padding: 9px 12px; min-width: 0; background: #fff; border: 1px solid var(--co-border); border-radius: 12px;
    box-shadow: 0 1px 2px rgba(22, 52, 89, .05), 0 4px 14px rgba(22, 52, 89, .06); transition: transform .4s var(--uscita), border-color .3s; }
.co-kpi-ico { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 14px; background: var(--co-soft); color: var(--co-ink); transition: background .3s, color .3s; }
.co-kpi.is-pos .co-kpi-ico { background: var(--co-pos-soft); color: var(--co-pos); }
.co-kpi.is-neg .co-kpi-ico { background: var(--co-neg-soft); color: var(--co-neg); }
.co-kpi-txt { display: flex; flex-direction: column; min-width: 0; }
.co-kpi-txt small { font-size: 11.5px; color: var(--co-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-kpi-txt b { font-size: 16.5px; font-weight: 700; line-height: 1.25; font-variant-numeric: tabular-nums; white-space: nowrap; }
.co-kpi-txt em { font-style: normal; font-size: 11.5px; color: var(--co-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.2em; }
.co-kpi--grande { padding: 9px 14px; }
.co-kpi--grande .co-kpi-ico { width: 40px; height: 40px; border-radius: 11px; font-size: 18px; }
.co-kpi--grande .co-kpi-txt b { font-size: 24px; }
.co-kpi--grande.is-neg .co-kpi-txt b { color: var(--co-neg-ink); }
.co-kpi--grande.is-pos { border-color: #a6f4c5; }
.co-kpi--grande.is-pos .co-kpi-txt b { color: var(--co-pos-ink); }
.co-kpi.is-lampo { animation: co-lampo .9s ease-out; }
@keyframes co-lampo { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .55); } 100% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); } }

/* azioni del conto (con-azioni) e pulsanti (inv-btn) */
.co-azioni { display: flex; flex-wrap: wrap; gap: 8px; transition: transform .4s var(--uscita); }
.co-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
    border: 1px solid var(--co-border); background: #fff; color: var(--co-navy); transition: background .15s, box-shadow .15s, transform .05s, border-color .15s; }
.co-btn:hover:not(:disabled) { background: var(--co-grey-bg); }
.co-btn:active { transform: translateY(1px); }
.co-btn:disabled { opacity: .55; cursor: default; }
.co-btn.is-primary { background: var(--lp-azzurro); border-color: var(--lp-azzurro); color: var(--lp-navy-profondo); box-shadow: 0 4px 12px rgba(7, 188, 231, .28); }
.co-btn.is-primary:hover:not(:disabled) { background: var(--lp-azzurro-hover); }
.co-azioni .co-btn.is-primary { flex: 1 1 220px; justify-content: center; font-size: 15px; height: 42px; }
.co-btn.is-wa { background: #25d366; border-color: #25d366; color: #0b2e1b; box-shadow: 0 4px 12px rgba(37, 211, 102, .3); }
.co-btn.is-wa:hover:not(:disabled) { background: #1fb85a; }
.co-btn.is-suggerito { animation: co-anello 1.6s infinite; }
@keyframes co-anello { 0% { box-shadow: 0 4px 12px rgba(7, 188, 231, .28), 0 0 0 0 rgba(145, 220, 245, .8); } 100% { box-shadow: 0 4px 12px rgba(7, 188, 231, .28), 0 0 0 12px rgba(145, 220, 245, 0); } }
.co-ico-btn { width: 32px; height: 32px; border-radius: 9px; border: 0; background: none; color: var(--co-muted); font-size: 15px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.co-ico-btn:hover { background: var(--co-neg-soft); color: var(--co-neg); }

/* il pannello che si apre (nol-form): link di pagamento o incasso */
.co-form { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--lp-azzurrino);
    box-shadow: 0 0 0 4px rgba(7, 188, 231, .08), 0 1px 2px rgba(22, 52, 89, .05), 0 4px 14px rgba(22, 52, 89, .06); }
.co-form.is-apre { animation: co-apre .35s var(--uscita) both; }
@keyframes co-apre { from { opacity: 0; transform: translateY(8px); } }
.co-form-testa { display: flex; align-items: center; justify-content: space-between; }
.co-form-testa b { font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.co-form-testa b svg { color: var(--co-ink); }
.co-form-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.co-campo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.co-campo > span { font-size: 12px; font-weight: 600; color: var(--co-text-2); }
.co-aiuto { margin: 0; font-size: 12.5px; color: var(--co-muted); line-height: 1.4; }
.co-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--co-segment); border-radius: 12px; align-self: flex-start; }
.co-seg-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: var(--co-muted); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.co-seg-btn:hover { color: var(--co-navy); }
.co-seg-btn.is-active { background: #fff; color: var(--co-navy); box-shadow: 0 1px 3px rgba(22, 52, 89, .12); }
.co-importo-box { display: flex; align-items: center; height: 52px; padding: 0 4px 0 14px; border-radius: 12px; border: 1.5px solid #c8eefa; background: #fff; transition: border-color .15s, box-shadow .15s; }
.co-importo-box:focus-within { border-color: var(--lp-azzurro); box-shadow: 0 0 0 3px rgba(7, 188, 231, .15); }
.co-importo-box > b { color: var(--co-ink); font-size: 18px; font-weight: 700; }
.co-importo-box input { flex: 1; width: 100%; min-width: 0; height: 48px; border: 0; background: transparent; font: inherit; font-size: 24px; font-weight: 700; color: var(--co-navy); padding: 0 10px; outline: none; font-variant-numeric: tabular-nums; }
.co-data { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 14px; border-radius: 12px; border: 1px solid #d0d5dd; background: #fff; font-size: 13.5px; color: var(--co-text-2); }
.co-data svg { color: var(--co-ink); }
.co-metodi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.co-metodi--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 420px; }
.co-metodo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 60px; padding: 6px 4px; border: 1px solid var(--co-border); border-radius: 12px; background: #fff; color: var(--co-navy);
    font: inherit; font-size: 11.5px; font-weight: 600; text-align: center; line-height: 1.2; cursor: pointer; transition: border-color .15s, background .15s, transform .05s; }
.co-metodo svg { font-size: 17px; color: var(--co-ink); }
.co-metodo:hover { border-color: var(--lp-azzurro); background: var(--co-pale); }
.co-metodo:active { transform: scale(.97); }
.co-metodo.is-on { border-color: var(--lp-azzurro); background: var(--lp-azzurro); color: var(--lp-navy-profondo); }
.co-metodo.is-on svg { color: var(--lp-navy-profondo); }
.co-link { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; border: 1px dashed #9fd8f2; background: var(--co-pale); color: var(--co-ink); font-size: 13px; min-width: 0; }
.co-link code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: inherit; font-size: 12.5px; color: var(--co-navy); }
.co-chip-btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px dashed #9fd8f2; background: #fff; color: var(--co-ink); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s; }
.co-chip-btn:hover { border-color: var(--lp-azzurro); background: var(--co-soft); }
.co-quote { display: flex; flex-direction: column; gap: 6px; }
.co-quota { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--co-border); background: #fff; transition: border-color .15s, background .15s, opacity .15s; }
.co-quota:not(.is-on) { opacity: .55; }
.co-quota.is-on { border-color: var(--lp-azzurrino); background: var(--co-pale); }
.co-quota .co-voce-ico { width: 32px; height: 32px; font-size: 13px; border-radius: 9px; }
.co-quota-txt { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.co-quota-txt b { font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-quota-txt small { font-size: 11.5px; color: var(--co-muted); }
.co-quota-importo { font-size: 14px; font-weight: 700; color: var(--co-navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.co-form-piede { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; padding-top: 10px; border-top: 1px solid var(--co-grey-line); }
.co-form-piede > span { flex: 1; min-width: 160px; font-size: 12.5px; color: var(--co-text-3); }

/* il messaggio WhatsApp pronto (anteprima) e il pagamento che arriva */
.co-wa { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--co-border); box-shadow: 0 1px 2px rgba(22, 52, 89, .05), 0 4px 14px rgba(22, 52, 89, .06); }
.co-wa.is-apre { animation: co-apre .4s var(--uscita) both; }
.co-wa-testa { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.co-wa-testa > svg { font-size: 18px; color: #25d366; }
.co-wa-testa b { font-weight: 600; }
.co-wa-testa span { color: var(--co-muted); }
.co-wa-testa small { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--co-muted); }
.co-wa-testa small.is-ok { color: #0a7f4c; }
.co-wa-bolla { margin: 0; max-width: 560px; padding: 10px 12px; border-radius: 12px 12px 12px 4px; background: var(--co-soft); font-size: 13.5px; line-height: 1.45; text-wrap: pretty; overflow-wrap: anywhere; }
.co-wa-link { color: var(--co-ink); text-decoration: underline; text-underline-offset: 3px; }
.co-wa-attesa { margin: 0; display: flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--co-muted); }
.co-wa-attesa i { width: 6px; height: 6px; border-radius: 50%; background: var(--lp-azzurro); animation: co-punto 1.2s infinite; }
.co-wa-attesa i:nth-child(2) { animation-delay: .2s; }
.co-wa-attesa i:nth-child(3) { animation-delay: .4s; margin-right: 6px; }
@keyframes co-punto { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.co-wa-arrivo { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--co-pos-soft); border: 1px solid #a6f4c5; color: var(--co-pos-ink); animation: co-apre .5s var(--uscita) both; }
.co-wa-arrivo > svg { font-size: 20px; }
.co-wa-arrivo span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.co-wa-arrivo b { font-size: 14px; }
.co-wa-arrivo small { font-size: 12px; color: #05603a; }
.co-wa-nota { margin: 0; font-size: 11.5px; color: var(--co-muted); }

/* schede (inv-tabs): voci e storico pagamenti */
.co-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--co-border); overflow-x: auto; scrollbar-width: none; transition: transform .4s var(--uscita); }
.co-tabs::-webkit-scrollbar { display: none; }
.co-tab { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px 11px; white-space: nowrap; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--co-muted); cursor: pointer; border-radius: 10px 10px 0 0; transition: color .15s, background .15s; }
.co-tab svg { font-size: 14px; }
.co-tab:hover { color: var(--co-navy); background: rgba(7, 188, 231, .05); }
.co-tab.is-active { color: var(--co-navy); }
.co-tab.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--lp-azzurro); }
.co-tab-n { min-width: 20px; padding: 1px 7px; border-radius: 999px; font-size: 11.5px; font-style: normal; font-weight: 700; background: #eceef2; color: var(--co-text-3); text-align: center; }
.co-tab.is-active .co-tab-n { background: var(--co-soft); color: var(--co-ink); }

/* le voci del conto (con-voce) */
.co-voci { display: flex; flex-direction: column; gap: 8px; }
.co-voce { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--co-border); transition: transform .4s var(--uscita); }
.co-voce-ico { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; background: var(--co-soft); color: var(--co-ink); font-size: 16px; flex: 0 0 auto; }
.co-voce-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.co-voce-txt b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-voce-txt small { font-size: 12px; color: var(--co-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-voce-soldi { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.co-voce-soldi b { font-size: 14px; font-variant-numeric: tabular-nums; }
.co-barra { display: block; width: 90px; max-width: 100%; height: 6px; border-radius: 4px; background: #eaf1f5; overflow: hidden; }
.co-barra i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--co-warn), #f97316); transition: width .6s var(--uscita), background .3s; }
.co-barra i.is-ok { background: linear-gradient(90deg, var(--co-pos), #14b8a6); }
.co-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; background: var(--co-grey-soft); color: var(--co-text-3); transition: background .3s, color .3s; }
.co-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.co-badge.is-ok { background: var(--co-pos-soft); color: var(--co-pos-ink); }
.co-badge.is-warn { background: var(--co-warn-soft); color: var(--co-warn-ink); }
.co-badge.is-neg { background: var(--co-neg-soft); color: var(--co-neg-ink); }
.co-badge.is-blu { background: var(--co-soft); color: var(--co-ink); }

/* lo storico dei pagamenti (con-pag) */
.co-pag-lista { display: flex; flex-direction: column; gap: 8px; }
.co-pag { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: start; gap: 12px; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--co-border);
    box-shadow: inset 3px 0 0 var(--co-pos); transition: transform .4s var(--uscita); animation: co-entra .5s var(--uscita) both; }
@keyframes co-entra { from { opacity: 0; transform: translateY(-6px); } }
.co-pag-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--co-pos-soft); color: var(--co-pos-ink); font-size: 17px; }
.co-pag-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.co-pag-txt > small { font-size: 12.5px; color: var(--co-muted); }
.co-pag-l1 { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.co-pag-l1 b { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.co-pag-quote { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.co-pag-quota { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 7px; background: #fcfcfc; border: 1px solid var(--co-border); color: var(--co-text-2); font-size: 12px; }
.co-pag-quota svg { color: var(--co-ink); font-size: 11px; }
.co-pag-quota b { font-weight: 700; }

/* guida e messaggi (come gli altri momenti) */
.co-guida { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 14px; border-radius: 12px; background: var(--lp-tenue); color: var(--co-navy); font-size: 13.5px; transition: transform .4s var(--uscita); }
.co-guida-n { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--lp-azzurro); color: var(--lp-navy-profondo); font-size: 12px; font-weight: 700; }
.co-guida p { margin: 0; flex: 1; }
.co-guida b { font-weight: 600; }
.co-guida button, .co-guida a { flex: 0 0 auto; font: inherit; font-size: 13px; font-weight: 600; color: var(--co-ink); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.co-guida.is-fine { background: var(--co-navy); color: #fff; }
.co-guida.is-fine .co-guida-n { background: #6ee7b7; color: #05603a; }
.co-guida.is-fine a, .co-guida.is-fine button { color: var(--lp-azzurrino); }
.co-toast { position: absolute; left: 50%; bottom: 74px; z-index: 40; translate: -50% 12px; max-width: min(92%, 440px); padding: 10px 14px; border-radius: 10px;
    background: var(--co-navy); color: #fff; font-size: 13px; line-height: 1.4; box-shadow: 0 12px 30px rgba(22, 52, 89, .3); opacity: 0; pointer-events: none; transition: opacity .25s, translate .3s var(--uscita); }
.co-toast.is-neg { background: #fef2f2; color: var(--co-neg-ink); box-shadow: 0 12px 30px rgba(180, 35, 24, .18), inset 0 0 0 1px #fecaca; }
.co-toast.is-visibile { opacity: 1; translate: -50% 0; }

/* telefono: tutto in colonna, niente scorrimento orizzontale */
@media (max-width: 760px) {
    .co { padding: 10px; gap: 10px; }
    .co-hero { padding: 12px; gap: 8px 10px; }
    .co-tipo { width: 40px; height: 40px; font-size: 16px; }
    .co-hero-sx > b { font-size: 17px; white-space: normal; }
    .co-chip-stato { width: 100%; justify-content: center; }
    .co-kpis { grid-template-columns: 1fr 1fr; }
    .co-kpi--grande { grid-column: 1 / -1; }
    .co-azioni .co-btn { flex: 1 1 calc(50% - 4px); justify-content: center; }
    .co-azioni .co-btn.is-primary { flex-basis: 100%; height: 46px; }
    .co-azioni .co-btn > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .co-form { padding: 12px 10px; }
    .co-form-2 { grid-template-columns: 1fr; }
    .co-metodi--2 { max-width: none; }
    .co-form-piede > span { flex-basis: 100%; }
    .co-form-piede .co-btn { flex: 1; justify-content: center; height: 42px; }
    .co-link { flex-wrap: wrap; }
    .co-voce { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; padding: 10px; }
    .co-voce-ico { width: 34px; height: 34px; font-size: 14px; }
    .co-voce > .co-badge { grid-column: 2 / -1; justify-self: start; }
    .co-barra { width: 70px; }
    .co-pag { grid-template-columns: 36px minmax(0, 1fr); padding: 10px; }
    .co-pag-ico { width: 36px; height: 36px; font-size: 14px; }
    .co-wa-testa small { margin-left: 0; flex-basis: 100%; }
    .co-guida { flex-wrap: wrap; }
    .co-guida p { flex-basis: calc(100% - 38px); }
}
@media (prefers-reduced-motion: reduce) {
    .co-kpi, .co-azioni, .co-tabs, .co-voce, .co-pag, .co-guida, .co-toast, .co-barra i, .co-tipo, .co-chip-stato, .co-badge { transition: none; }
    .co-btn.is-suggerito, .co-kpi.is-lampo, .co-form.is-apre, .co-wa.is-apre, .co-wa-arrivo, .co-pag, .co-wa-attesa i { animation: none; }
}
