/* Licenze - pagine pubbliche (acquisto, area clienti e agenzie) e blocco "Piani e prezzi" */
.licenze-page { background: #f7f7f5; }
.licenze-main { padding: 40px 16px 64px; }
.licenze-wrap { max-width: 980px; margin: 0 auto; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.55; color: #1d1d1b; }
.licenze-plans-grid { font-family: inherit; }
.licenze-wrap h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: 0 0 20px; line-height: 1.15; }
.licenze-wrap h2 { font-size: 1.3rem; margin: 32px 0 12px; }
.licenze-page-head { background: #111; padding: 14px 20px; }
.licenze-page-head a { color: #fff; font-weight: 700; text-decoration: none; }
.licenze-form fieldset { border: 1px solid #ddd; border-radius: 12px; padding: 18px 20px 12px; margin: 0 0 18px; background: #fff; }
.licenze-form legend { font-weight: 700; padding: 0 6px; }
.licenze-field { display: block; margin: 0 0 14px; }
.licenze-field > span { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 4px; }
.licenze-field input, .licenze-field textarea, .licenze-field select { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #bbb; border-radius: 8px; font: inherit; background: #fff; color: inherit; }
.licenze-field input:focus-visible, .licenze-field textarea:focus-visible { outline: 3px solid #c2d11f; outline-offset: 1px; border-color: #1d1d1b; }
.licenze-qty input { max-width: 120px; }
.licenze-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 0 18px; }
.licenze-check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 14px; }
.licenze-check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.licenze-help { color: #555; font-size: .9rem; margin: 4px 0 12px; }
.licenze-plan-choice { display: grid; gap: 10px; margin-bottom: 14px; }
.licenze-choice { display: flex; gap: 12px; align-items: flex-start; border: 1px solid #ddd; border-radius: 10px; padding: 12px 14px; cursor: pointer; background: #fff; }
.licenze-choice:has(input:checked) { border-color: #1d1d1b; box-shadow: 0 0 0 2px #c2d11f; }
.licenze-choice input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.licenze-btn { display: inline-block; background: #c2d11f; color: #111 !important; border: 0; border-radius: 999px; padding: 12px 22px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.licenze-btn:hover { background: #d4e13a; }
.licenze-btn:focus-visible { outline: 3px solid #111; outline-offset: 2px; }
.licenze-btn-light { background: #fff; border: 1px solid #1d1d1b; }
.licenze-btn-light:hover { background: #f1f1ee; }
.licenze-link { background: none; border: 0; padding: 0; color: #8a1c1c; text-decoration: underline; cursor: pointer; font: inherit; }
.licenze-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.licenze-flash { padding: 12px 16px; border-radius: 10px; background: #eef6d0; border: 1px solid #c2d11f; margin: 0 0 16px; }
.licenze-flash.is-error { background: #fdeceb; border-color: #c0392b; color: #7a1f17; }
.licenze-box { background: #fff; border: 1px solid #ddd; border-radius: 12px; padding: 16px 18px; margin: 0 0 18px; }
.licenze-box p { margin: 0 0 8px; }
.licenze-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .4px; }
.licenze-copy { width: 100%; max-width: 560px; padding: 8px 10px; border: 1px solid #bbb; border-radius: 8px; font-size: .9rem; }
.licenze-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 2px solid #1d1d1b; margin: 0 0 22px; }
.licenze-tabs a { padding: 10px 16px; text-decoration: none; color: #1d1d1b; border-radius: 10px 10px 0 0; font-weight: 600; }
.licenze-tabs a[aria-current="page"] { background: #1d1d1b; color: #fff; }
.licenze-tabs a:focus-visible { outline: 3px solid #c2d11f; }
.licenze-card { background: #fff; border: 1px solid #ddd; border-radius: 14px; padding: 18px 20px; margin: 0 0 16px; }
.licenze-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.licenze-key { font-size: 1.1rem; font-weight: 700; margin: 0; word-break: break-all; }
.licenze-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: #eee; color: #333; vertical-align: middle; }
.licenze-badge.is-valid { background: #e5f2b8; color: #3c4a00; }
.licenze-badge.is-expired, .licenze-badge.is-invalid, .licenze-badge.is-suspended { background: #fde2df; color: #8a1c1c; }
.licenze-dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 12px 0; }
.licenze-dl dt { color: #555; }
.licenze-dl dd { margin: 0; font-weight: 600; }
.licenze-table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: .93rem; background: #fff; }
.licenze-table caption { text-align: left; font-weight: 700; padding: 0 0 6px; }
.licenze-table th, .licenze-table td { padding: 8px 10px; border-bottom: 1px solid #e3e3e0; text-align: left; vertical-align: top; }
.licenze-table form { margin: 0; }
.licenze-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.licenze-inline { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.licenze-inline .licenze-field { flex: 1; min-width: 220px; margin: 0; }
.licenze-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 0 18px; }
.licenze-kpis div { background: #fff; border: 1px solid #ddd; border-radius: 12px; padding: 14px 16px; }
.licenze-kpis span { display: block; color: #555; font-size: .88rem; }
.licenze-kpis strong { font-size: 1.35rem; }
.licenze-empty { background: #fff; border: 1px dashed #bbb; border-radius: 12px; padding: 22px; text-align: center; }
.licenze-list { padding-left: 20px; }
/* blocco "Piani e prezzi" */
.licenze-plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 18px; margin: 18px 0; text-align: left; }
.licenze-plan { position: relative; background: #fff; border: 1px solid #ddd; border-radius: 16px; padding: 24px 22px; display: flex; flex-direction: column; color: #1d1d1b; }
.licenze-plan.is-highlight { border: 2px solid #1d1d1b; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .45); }
.licenze-plan-badge { position: absolute; top: -13px; left: 20px; margin: 0; background: #c2d11f; color: #111; font-size: .78rem; font-weight: 800; padding: 3px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .5px; }
.licenze-plan-name { font-size: 1.35rem; margin: 0 0 6px; }
.licenze-plan-desc { color: #555; margin: 0 0 14px; min-height: 3em; }
.licenze-plan-price { margin: 0 0 14px; }
.licenze-price { font-size: 1.9rem; font-weight: 800; }
.licenze-price-note { color: #555; font-size: .9rem; }
.licenze-feats { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.licenze-feats li { padding: 5px 0 5px 24px; position: relative; }
.licenze-feats li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 10px; height: 6px; border-left: 2px solid #6b7a00; border-bottom: 2px solid #6b7a00; transform: rotate(-45deg); }
.licenze-plan .licenze-btn { text-align: center; }
.licenze-plans-foot { text-align: center; font-size: .95rem; }
@media (max-width: 600px) {
	.licenze-main { padding: 24px 12px 48px; }
	.licenze-dl { grid-template-columns: 1fr; }
	.licenze-table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: no-preference) { .licenze-btn { transition: background-color .15s ease; } }
.licenze-price-old { opacity: .6; margin-right: 4px; font-weight: normal; }
.ss-table-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
