:root {
  --ink: #082c45;
  --green: #106b17;
  --green-deep: #0b4d11;
  --green-mid: #2b6539;
  --leaf: #519e57;
  --sage: #e8f3e6;
  --paper: #f4f6f3;
  --white: #ffffff;
  --line: #dde3dc;
  --muted: #6a756c;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Lato, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
}
a { color: var(--green-mid); font-weight: 700; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  min-height: 100vh;
  background: var(--paper);
}
.brand {
  position: relative;
  color: white;
  padding: 56px 56px 48px;
  background:
    linear-gradient(165deg, rgba(11, 77, 17, .82), rgba(8, 44, 69, .55)),
    url("images/sfondo.webp") center/cover no-repeat;
  display: flex;
  flex-direction: column;
}
.card-top {
  background: #082c45;
  text-align: center;
  height: auto;
  padding: 22px 16px 18px;
  border-bottom: 0;
}
.card-top.mark { padding: 8px 16px; }
.card-top.mark .logo-ring {
  width: auto;
  height: auto;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}
.card-top.mark .card-logo {
  width: auto;
  height: 108px;
  transform: none;
  object-fit: contain;
}
a.logo-ring { text-decoration: none; color: inherit; }
.logo-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: #082c45;
  overflow: hidden;
  box-shadow: 0 0 0 2px #fff;
}
.card-logo {
  height: 132px;
  width: 132px;
  display: block;
  object-fit: cover;
  transform: scale(1.05);
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.motto {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .01em;
}
.card-body { padding: 18px 28px 24px; }
.card-body label { display: block; font-size: 13px; font-weight: 700; margin: 14px 0 6px; }
.back-row { text-align: center; margin: 48px 0 0; }
.back-row .forgot { margin-top: 0; }
.brand h1 { font-weight: 900; font-size: 46px; line-height: 1.05; margin: auto 0 12px; max-width: 520px; }
.brand p.lead { margin: 0 0 28px; max-width: 460px; font-size: 18px; line-height: 1.45; opacity: .92; }
.quotes { display: flex; gap: 12px; }
.quote {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 14px;
  padding: 14px 18px;
  min-width: 160px;
}
.quote span { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.quote strong { font-size: 28px; font-weight: 900; }
.panel { display: flex; align-items: center; justify-content: center; padding: 40px 28px; background: var(--paper); }
.panel > form { width: min(367px, 100%); }
.card {
  width: 100%;
  max-width: 367px;
  background: #fff;
  border: 0;
  border-radius: 22px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(8, 44, 69, .12);
}
.card.tall { min-height: 570px; }
.panel > form.login-place { min-height: 629px; display: flex; flex-direction: column; }
.kicker { letter-spacing: .16em; text-transform: uppercase; font-size: 12px; color: var(--green); margin: 0; font-weight: 700; }
.card h2, .page h2 { margin: 0 0 6px; font-size: 28px; font-weight: 900; }
.sub { margin: 0 0 18px; color: var(--muted); }
.card table, .page table { width: 100%; border-collapse: collapse; background: transparent; }
.card td, .page td { background: transparent !important; border: 0; vertical-align: middle; }
.card td > span { display: block; font-size: 13px; font-weight: 700; margin: 14px 0 6px; }
#btnLogin, .card input[type="submit"] { width: 100% !important; margin-top: 18px; }
.actions input, .actions .btn, .actions input[type="submit"] { width: auto !important; margin-top: 0; }
.card label, .card .smallwhitebold, .page .smallwhitebold { color: var(--ink) !important; font-family: Lato, "Segoe UI", sans-serif !important; }
.card input[type="text"], .card input[type="password"], .card textarea, .card select,
.page input[type="text"], .page input[type="password"], .page textarea, .page select {
  width: 100% !important;
  max-width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  background: #fbfcfb;
}
.card textarea, .page textarea { height: 90px; }
.pwd-wrap { position: relative; display: block; }
.pwd-wrap input { padding-right: 44px !important; }
.pwd-eye {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pwd-eye svg { width: 22px; height: 22px; }
.pwd-eye .eye-off { display: none; }
.pwd-eye.on .eye-on { display: none; }
.pwd-eye.on .eye-off { display: block; }
.pwd-strength { margin: 8px 0 12px; }
.pwd-strength[hidden] { display: none !important; }
.pwd-bar { height: 6px; border-radius: 99px; background: #e6ebe7; overflow: hidden; }
.pwd-bar > span { display: block; height: 100%; width: 0; border-radius: 99px; background: #9b2c2c; transition: width .15s ease, background .15s ease; }
.pwd-label { margin: 6px 0 2px; min-height: 18px; font-size: 13px; font-weight: 700; line-height: 1.3; }
.pwd-label.weak { color: #9b2c2c; }
.pwd-label.medium { color: #9a6700; }
.pwd-label.strong { color: #106b17; }
.pwd-rules { list-style: none; margin: 0; padding: 0; }
.pwd-rules li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.35; color: #6b7280; padding: 2px 0; }
.pwd-rules li::before { content: "\2715"; flex: 0 0 auto; color: #9ca3af; font-size: 12px; line-height: 1.45; }
.pwd-rules li.ok { color: #106b17; }
.pwd-rules li.ok::before { content: "\2713"; color: #106b17; }
.btn, input.button, input[type="submit"], input[type="button"], .card .aspNetDisabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: var(--green);
  color: white !important;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
}
.btn.ghost, a.ghost {
  background: transparent;
  color: var(--green) !important;
  border: 1px solid var(--line);
}
.actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }
.actions input, .actions .btn { width: auto !important; position: static !important; }
.note { background: var(--sage); border-radius: 12px; padding: 12px 14px; color: var(--green-deep); font-size: 14px; margin: 8px 0 14px; }
.note.bad { background: #fdecea; color: #9b2c2c; }
.facts { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 18px; align-items: start; }
.fact {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--green);
  border-radius: 18px; padding: 22px 22px 18px;
}
.fact h3 { margin: 0 0 16px; font-size: 18px; }
.fact dl { margin: 0; display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 10px 12px; }
.fact dt { color: var(--muted); font-size: 13px; font-weight: 700; }
.fact dd { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.studio .id-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 8px 20px;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.studio .id-row span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; margin: 0 0 2px; }
.studio .id-row strong { display: block; font-size: 18px; font-weight: 900; line-height: 1.2; overflow-wrap: anywhere; }
.rec-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; align-content: space-between; gap: 0 14px; }
.rec-grid .c1 { grid-column: span 1; }
.rec-grid .c2 { grid-column: span 2; }
.rec-grid .full { grid-column: 1 / -1; }
.rec-grid label { display: block; font-size: 12px; font-weight: 700; margin: 0 0 4px; color: var(--ink); }
body.desk main.page:has(.studio) {
  display: flex; flex-direction: column; overflow: hidden;
  max-width: 920px;
  padding: 16px 32px 12px;
}
body.desk main.page:has(.studio) > div { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
body.desk main.page:has(.studio) .doc-back { margin: 10px 0 0; flex: none; }
.studio { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding: 18px 22px 16px; }
.studio h3 { margin: 0 0 12px; font-size: 16px; flex: none; }
.studio .id-row { flex: none; }
.studio .rec-grid { flex: 1 1 auto; min-height: 0; }
.studio .actions { margin-top: 14px; justify-content: flex-start; flex: none; }
.studio .actions input {
  width: auto !important;
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
  border-radius: 10px;
}
main.page .studio input[type="text"],
main.page .studio select {
  height: 40px;
  padding: 6px 12px;
  font-size: 15px;
  border-radius: 10px;
}

header.app {
  background: #082c45;
  color: #fff;
  border-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  padding: 0 20px 0 8px;
  gap: 16px;
}
header.app .titles { min-width: 0; flex: 1; }
header.app .kicker { margin: 0; color: rgba(255,255,255,.72); letter-spacing: .14em; }
header.app .where { margin: 0; font-size: 26px; font-weight: 900; color: #fff; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
header.app .hello { margin: 8px 0 0; font-size: 13px; font-weight: 700; line-height: 1.2; color: rgba(255,255,255,.78); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
header.app .brand-mini,
header.app .brand-mini strong,
header.app .brand-mini span { color: #fff; }
header.app .brand-mini { gap: 16px; height: 92px; overflow: hidden; }
header.app .logo-ring {
  width: 132px;
  height: 132px;
  flex: none;
  background: #082c45;
  box-shadow: none;
}
header.app .brand-mini .card-logo {
  width: 132px;
  height: 132px;
}
header.app .brand-mini strong { font-size: 20px; }
header.app .brand-mini span span { opacity: .75; font-size: 14px; }
header.app .icon-btn {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
}
header.app .icon-btn:hover { background: rgba(255, 255, 255, .12); }
header.app .btn.ghost,
header.app a.ghost {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .45);
}
.top-icons { display: flex; align-items: center; gap: 8px; }
.note-wrap { position: relative; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: #082c45;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; cursor: pointer; padding: 0;
}
.icon-btn:hover { background: var(--paper); }
.icon-btn svg { width: 20px; height: 20px; }
.note-pop {
  position: absolute; top: 48px; right: 0; z-index: 5;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; min-width: 180px;
  box-shadow: 0 12px 30px rgba(8, 44, 69, .12);
  color: var(--ink); font-size: 14px; font-weight: 700; white-space: nowrap;
}
.toast-stack {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  width: max-content; max-width: min(380px, calc(100% - 44px));
  pointer-events: none;
}
.toast {
  background: #fff; border-radius: 14px; padding: 14px 22px;
  box-shadow: 0 12px 30px rgba(8, 44, 69, .16);
  font-weight: 700; font-size: 14px; text-align: left;
  border-left: 4px solid var(--green); color: var(--green);
  pointer-events: auto; overflow: hidden; max-height: 240px;
  animation: toast-life 5.4s ease forwards;
}
.toast.out { animation: toast-out .25s ease forwards; }
@keyframes toast-life {
  0% { opacity: 0; transform: translateY(8px); }
  5% { opacity: 1; transform: none; }
  86% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; }
}
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }
.toast.bad { border-left-color: #b42318; color: #9b2c2c; }
.toast ul { margin: 0; padding-left: 18px; }
.toast li { margin: 0; }
body.modal-page { background: rgba(8, 44, 69, .45); }
body.modal-page header.app { display: none; }
body.modal-page main.page,
body.modal-page .modal-wrap {
  min-height: 100vh; max-width: none;
  display: flex; align-items: center; justify-content: center;
  padding: 80px 16px 32px;
}
body.modal-page .card { width: min(400px, 100%); }
body.modal-page .back-row { margin-top: 8px; text-align: center; }
body.modal-page .back-row a { color: var(--muted); }
body.embed.modal-page { background: transparent; overflow: hidden; }
body.embed main.page,
body.embed .modal-wrap {
  min-height: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}
body.embed .card {
  width: 100%;
  height: auto;
  max-width: none;
  position: relative;
}
body.embed .card:not(:has(.otp-face)) {
  min-height: 0;
  padding: 28px 26px 22px;
  box-shadow: none;
  box-sizing: border-box;
}
body.embed .card:not(:has(.otp-face)) h2 { margin: 0 0 8px; }
body.embed #lblMsgReq { display: none !important; }
body.embed .otp-face { text-align: center; padding: 28px 22px 22px; }
body.embed .otp-head { display: flex; justify-content: center; margin: 0 0 14px; }
body.embed .otp-head .logo-ring { width: 84px; height: 84px; box-shadow: 0 0 0 4px #e7eef3; }
body.embed .otp-head .card-logo { width: 84px; height: 84px; }
body.embed .otp-face h2 { margin: 0 0 8px; padding: 0; font-size: 26px; }
body.embed .otp-face .sub { display: block; margin: 0 0 18px; text-align: center; }
body.embed .otp-face table,
body.embed .otp-face tbody,
body.embed .otp-face tr,
body.embed .otp-face td { display: block; width: 100% !important; max-width: 100% !important; }
body.embed .card .otp-boxes { display: flex; justify-content: center; width: 100%; gap: 8px; margin: 4px 0 0; }
body.embed .card .otp-boxes input {
  flex: 0 0 46px;
  width: 46px !important;
  min-width: 46px;
  max-width: 46px !important;
  height: 52px;
  padding: 0 !important;
  border-radius: 10px;
  font-size: 22px;
  text-align: center;
}
.otp-time { margin: 12px 0 4px; color: var(--muted); font-size: 14px; font-weight: 700; letter-spacing: .04em; }
body.embed a.resend {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  margin-top: 10px;
  border: 1px solid #c5d0dc;
  border-radius: 12px;
  background: #fff;
  color: #082c45;
  text-decoration: none;
  font-weight: 700;
}
body.embed a.resend:hover { background: #f4f6f3; }
body.embed .card .btn,
body.embed .card input[type="submit"] {
  width: 100% !important;
  max-width: 100%;
  margin-top: 18px;
  box-sizing: border-box;
}
.modal-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #082c45;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.modal-x:hover { background: rgba(8, 44, 69, .08); }
body.otp-open { overflow: hidden; }
body.embed.done main.page,
body.embed.done .modal-wrap,
body.embed.done .toast-stack { visibility: hidden; }
.veil {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(8, 44, 69, .78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.veil[hidden] { display: none !important; }
.veil iframe {
  width: min(440px, 100%);
  height: min(720px, calc(100vh - 48px));
  border: 0;
  background: transparent;
  border-radius: 18px;
}
#pinSheet iframe {
  width: min(420px, calc(100vw - 48px));
  height: 460px;
  background: transparent;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(8, 44, 69, .28);
  overflow: hidden;
}
#otpSheet iframe {
  width: min(400px, calc(100vw - 48px));
  height: min(560px, calc(100vh - 48px));
  overflow: hidden;
}
.otp-boxes { display: flex; justify-content: center; gap: 8px; margin: 8px 0 4px; }
.card .otp-boxes input {
  width: 48px !important; max-width: 48px; height: 56px;
  padding: 0 !important; text-align: center;
  font-size: 22px; font-weight: 900;
}
.otp-sink {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; border: 0 !important; opacity: 0;
}
.resend { display: block; text-align: center; margin-top: 16px; color: var(--green); font-weight: 700; }
.brand-mini { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mini img { height: 48px; width: auto; background: none; border-radius: 0; }
.brand-mini strong { display: block; font-size: 15px; }
.brand-mini span { color: var(--muted); font-size: 12px; font-weight: 400; }
main.page { padding: 28px 32px 48px; max-width: 1100px; }
main.page.elenco { max-width: 1280px; padding-top: 18px; padding-bottom: 12px; }
.hello { margin-bottom: 22px; }
.legal { margin: 36px 0 0; color: var(--muted); font-size: 13px; font-weight: 400; line-height: 1.6; }
.legal strong { display: block; color: var(--ink); font-size: 14px; }
body.desk { height: 100vh; min-height: 0; max-height: 100vh; overflow: hidden; display: flex; flex-direction: column; }
body.desk > form#Form1 { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
body.desk main.page { flex: 1 1 auto; min-height: 0; overflow: auto; }
body.desk > footer.site-foot { margin-top: 0; flex: none; }
a.back { display: inline-block; margin: 0 0 12px; color: var(--green); font-size: 14px; text-decoration: underline; }
footer.site-foot {
  background: #082c45;
  color: rgba(255, 255, 255, .92);
  padding: 16px 32px 18px;
}
footer.site-foot strong { color: #fff; font-size: 14px; }
footer.site-foot p { margin: 0; font-size: 13px; font-weight: 400; line-height: 1.55; }
footer.site-foot p + p { margin-top: 4px; }
.hello p { margin: 6px 0 0; color: var(--muted); }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  background: #e4f6e6;
  border-radius: 28px;
  padding: 22px;
}
.svc {
  background: #fff; border: 0; border-top: 4px solid var(--green); border-radius: 20px;
  padding: 26px 22px 20px; text-align: left; text-decoration: none; color: inherit;
  min-height: 240px; display: flex; flex-direction: column;
  box-shadow: 0 8px 22px rgba(16, 107, 23, .06);
}
.svc .ico {
  width: 52px; height: 52px; border-radius: 16px; flex: none;
  background: #f3fbf4; color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
}
.svc .ico svg { width: 26px; height: 26px; }
.svc:hover { box-shadow: 0 14px 28px rgba(16, 107, 23, .12); }
.svc h3 { margin: 16px 0 8px; font-size: 20px; }
.svc p { margin: 0; color: var(--muted); line-height: 1.45; font-size: 15px; font-weight: 400; }
.svc .go { margin-top: auto; padding-top: 20px; color: var(--green); font-weight: 700; font-size: 14px; }
main.page.home { max-width: none; display: flex; flex-direction: column; }
.home-split { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; min-height: 420px; }
.home-split.stack { display: flex; flex-direction: column; min-height: 0; }
.home-split.stack .home-blue { min-height: 0; }
.home-photo {
  border-radius: 28px;
  min-height: 420px;
  background:
    linear-gradient(165deg, rgba(11, 77, 17, .55), rgba(8, 44, 69, .28)),
    url("images/sfondo.webp") center / cover no-repeat;
}
.home-blue {
  border-radius: 28px;
  min-height: 420px;
  background-color: #6e4510;
  background-image: linear-gradient(180deg, rgba(92, 54, 10, .72) 0%, rgba(176, 112, 28, .55) 100%);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 36px;
}
.home-blue .k { letter-spacing: .14em; text-transform: uppercase; font-size: 12px; font-weight: 700; opacity: .75; }
.home-blue strong { display: block; margin-top: 10px; font-size: 32px; font-weight: 900; line-height: 1.2; overflow-wrap: anywhere; }
.home-blue .iva { display: block; margin-top: 16px; font-size: 16px; font-weight: 400; color: rgba(255,255,255,.88); }
.home-blue .via { display: block; margin-top: 10px; white-space: nowrap; font-size: 16px; font-weight: 400; line-height: 1.4; color: rgba(255,255,255,.88); }
.titolo-az {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 18px;
  padding: 22px 26px;
  color: var(--ink);
}
.titolo-az .k { margin: 0; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; font-weight: 700; color: var(--muted); }
.titolo-az strong { display: block; margin-top: 8px; font-size: 28px; font-weight: 900; line-height: 1.2; overflow-wrap: anywhere; }
.titolo-az .meta { margin: 10px 0 0; font-size: 16px; font-weight: 400; line-height: 1.4; color: var(--muted); }
.titolo-az .meta.dove { margin-top: 4px; }
.home-cards { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.home-cards .svc {
  flex: none;
  min-height: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  align-content: center;
  column-gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 18px;
}
.home-cards .svc .ico { grid-column: 1; grid-row: 1 / span 2; }
.home-cards .svc h3 { grid-column: 2; grid-row: 1; margin: 0 0 4px; font-size: 18px; }
.home-cards .svc p { grid-column: 2; grid-row: 2; margin: 0; font-size: 14px; }
.home-cards .svc .go { grid-column: 3; grid-row: 1 / span 2; margin: 0; padding: 0; }
.home-split:not(.stack) .home-cards .svc { flex: 1; min-height: 0; align-content: center; }
.home-split:not(.stack) .home-cards .svc h3 { grid-column: 1 / 3; grid-row: 1; align-self: end; margin: 0 0 10px; }
.home-split:not(.stack) .home-cards .svc .ico { grid-column: 1; grid-row: 2; align-self: center; }
.home-split:not(.stack) .home-cards .svc p { grid-column: 2; grid-row: 2; align-self: center; }
.home-split:not(.stack) .home-cards .svc .go { grid-row: 2; align-self: center; }
.home-split.stack .home-cards .svc { border-top: 1px solid var(--line); }
.docs { background: transparent; border: 0; }
.docs.ready table { display: none !important; }
.doc-list table { display: table !important; width: 100% !important; }
.doc-list tr { display: block; }
.doc-list td {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; margin: 0 0 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
}
.doc-list .doc-year { font-size: 22px; font-weight: 900; min-width: 72px; }
.doc-list .doc-name { flex: 1; color: var(--muted); font-size: 15px; }
body.desk main.page:has(.docs) { display: flex; flex-direction: column; overflow: hidden; padding-top: 18px; padding-bottom: 12px; }
body.desk main.page:has(.docs) .docs { flex: 1 1 auto; min-height: 0; display: flex; }
body.desk main.page:has(.docs) .doc-back { margin: 10px 0 0; flex: none; }
.spot { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 18px; align-items: stretch; flex: 1; min-height: 0; height: 100%; }
.spot:not(:has(.side)) { grid-template-columns: minmax(0, 560px); }
.hero {
  color: #fff; border-radius: 24px; padding: 20px 24px;
  min-height: 0; height: 100%; display: flex; flex-direction: column;
  background:
    linear-gradient(165deg, rgba(11, 77, 17, .88), rgba(11, 77, 17, .72)),
    url("images/sfondo.webp") center/cover no-repeat;
}
.hero .k { letter-spacing: .14em; text-transform: uppercase; font-size: 12px; font-weight: 700; opacity: .75; }
.hero .doc-year { font-size: 48px; line-height: 1; font-weight: 900; margin: 8px 0; }
.hero .doc-name { margin: 0 0 20px; font-size: 16px; color: rgba(255,255,255,.88); font-weight: 400; }
.side {
  min-width: 0; min-height: 0; overflow: auto;
  display: flex; flex-direction: column; gap: 8px;
  background: transparent; border: 0;
}
.mini {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 8px 12px; display: flex; align-items: center; gap: 12px; flex: none;
}
.mini .doc-year { font-size: 18px; font-weight: 900; }
.mini .doc-name { flex: 1; color: var(--muted); font-size: 14px; font-weight: 400; }
.open-wrap { position: relative; display: inline-flex; flex: none; }
.open-face {
  height: 40px; padding: 0 16px; border-radius: 12px;
  background: var(--green); color: #fff; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center;
}
.hero .open-wrap { margin-top: auto; align-self: flex-start; }
.hero .open-face { background: #fff; color: var(--ink); }
.mini .open-face { height: auto; padding: 0; background: transparent; color: var(--green); }
.open-hit {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important;
  opacity: 0; cursor: pointer; margin: 0; padding: 0; border: 0;
}
.empty-note { display: block; margin: 0; color: var(--muted); font-size: 15px; }
.doc-back { margin: 26px 0 0; }
.doc-back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.doc-back a svg { width: 18px; height: 18px; flex: none; }
.doc-back a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hello .sub { margin: 6px 0 0; color: var(--muted); font-size: 15px; font-weight: 400; }
.sheet { background: white; border: 1px solid var(--line); border-radius: 18px; overflow: auto; }
.sheet table, .sheet table.smallsize { width: 100% !important; position: static !important; }
.sheet th { text-align: left; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: #fbfcfb; padding: 12px; }
.sheet td { padding: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.sheet tr { cursor: pointer; }
.aziende.ready { background: transparent; border: 0; overflow: visible; }
.aziende.ready table { display: none !important; }
.azi-tools { margin: 0 0 10px; max-width: 420px; }
.azi-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.azi {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  text-align: left;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}
.azi:hover { box-shadow: 0 14px 28px rgba(16, 107, 23, .12); }
.azi strong { font-size: 16px; font-weight: 900; line-height: 1.2; overflow-wrap: anywhere; }
.azi .meta { color: var(--muted); font-size: 14px; font-weight: 400; }
.azi .go { grid-column: 2; grid-row: 1 / span 2; color: var(--green); font-size: 14px; font-weight: 700; }
.azi-pager { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; flex: none; }
body.desk main.page.elenco { display: flex; flex-direction: column; overflow: hidden; }
body.desk main.page.elenco .aziende { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
body.desk main.page.elenco .azi-list { flex: 0 1 auto; min-height: 0; align-content: start; overflow: auto; }
body.desk main.page.elenco .doc-back { margin-top: auto; flex: none; }
.azi-pager button {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.azi-pager button.on { background: var(--green); border-color: var(--green); color: #fff; }
.azi-pager button:disabled { opacity: .4; cursor: default; }
.azi-count { color: var(--muted); font-size: 14px; margin-right: 6px; }
.legal { font-size: 12px; color: var(--muted); margin-top: 22px; }
.card .legal { text-align: center; }
.forgot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.forgot svg { width: 18px; height: 18px; flex: 0 0 auto; }
.privacy-bar {
  margin-top: 18px;
  background: none;
  border-radius: 0;
  padding: 0 4px;
  text-align: center;
}
.privacy-bar a {
  display: inline;
  color: #082c45;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}
.privacy-bar svg {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: -3px;
  margin-right: 6px;
}
.privacy-bar span { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .split, .grid, .home-split { grid-template-columns: 1fr; }
  .home-photo, .home-blue { min-height: 220px; }
  .spot, .facts, .studio .id-row, .azi-list { grid-template-columns: 1fr; }
  .rec-grid { grid-template-columns: 1fr; }
  .rec-grid .c1, .rec-grid .c2, .rec-grid .full { grid-column: 1; }
  .hero { min-height: 0; }
  .hero .doc-year { font-size: 48px; }
  .brand { min-height: 240px; padding: 24px; }
  .brand h1 { font-size: 32px; margin-top: 20px; }
  main.page { padding: 20px 16px 40px; }
}
main.err {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background: var(--paper);
}
.card.err-card {
  max-width: 420px;
  padding: 0;
  text-align: center;
  overflow: hidden;
}
.err-card .err-body { padding: 28px 32px 28px; }
.err-card .card-top.mark .card-logo { height: 108px; display: block; margin: 4px auto; }
.err-ico {
  width: 64px;
  height: 64px;
  margin: 12px auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fdecea;
  color: #9b2c2c;
}
.err-ico svg { width: 30px; height: 30px; }
.err-card h2 { margin: 0 0 10px; }
.err-card p { margin: 0 0 22px; color: var(--muted); line-height: 1.45; }
.err-card .btn { width: 100% !important; }
