.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main {
  min-height: 55vh;
}

.breadcrumb-nav {
  width: min(100% - 2rem, var(--wrap));
  margin: 1rem auto 0;
}

.breadcrumb-row {
  width: min(100% - 2rem, var(--wrap));
  margin: 1rem auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}

.breadcrumb-row .breadcrumb-nav {
  width: 100%;
  margin: 0;
}

.breadcrumb-search {
  display: grid;
  grid-template-columns: minmax(280px, 420px) auto;
  gap: 0.55rem;
  width: min(100%, 520px);
}

.breadcrumb-search input {
  width: 100%;
  min-width: 0;
  height: 40px;
  border: 1px solid #c5d4e3;
  border-radius: var(--radius-box);
  background: #ffffff;
  color: #173a5d;
  padding: 0 0.85rem;
  font: inherit;
  box-shadow: 0 8px 22px rgba(18, 50, 79, 0.06);
}

.breadcrumb-search .btn-small {
  min-width: 0;
  padding-inline: 0.95rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #496781;
  font-size: 0.9rem;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.breadcrumb-list li + li::before {
  content: "/";
  color: #8ca4bb;
}

.breadcrumb-list a {
  color: #2c587e;
  text-decoration: none;
}

.breadcrumb-list a:hover,
.breadcrumb-list a:focus-visible {
  text-decoration: underline;
}

.pagination-nav {
  width: min(100% - 2rem, var(--wrap));
  margin: 1rem auto 0;
}

.pagination-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0.45rem 0.8rem;
  border: 1px solid #c7d8e8;
  border-radius: 4px;
  background: #ffffff;
  color: #204b70;
  text-decoration: none;
  font-weight: 700;
}

.pagination-link.is-current {
  background: #163f66;
  border-color: #163f66;
  color: #ffffff;
}

.flash-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.flash {
  border-radius: var(--radius-box);
  border: 1px solid #cfe0f0;
  background: #f7fbff;
  color: #1a4367;
  padding: 0.62rem 0.75rem;
}

.flash-error {
  border-color: #efc4bf;
  background: #fff2f1;
  color: #8b2419;
}

.flash-success {
  border-color: #bcdfca;
  background: #ebfbf1;
  color: #0c5f35;
}

.content-page-block {
  width: min(100% - 2rem, var(--wrap));
  margin: 1.1rem auto;
  border: 1px solid #d7e3ef;
  border-radius: var(--radius-box);
  background: #f8fbff;
  padding: 1rem;
}

.panel h1 {
  margin: 0 0 0.55rem;
  color: var(--blue-700);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.panel p {
  margin: 0;
  color: #2a4b66;
}

.cta-row {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.auth-form {
  display: grid;
  gap: 0.4rem;
}

.auth-form label {
  font-size: 0.9rem;
  color: #23486d;
  font-weight: 600;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
  width: 100%;
  border: 1px solid #c6d6e7;
  border-radius: var(--radius-box);
  padding: 0.54rem 0.62rem;
  font: inherit;
  color: #1a1a1a;
  background: #fff;
}

.legal-content {
  margin-top: 0.9rem;
  line-height: 1.6;
  color: #1a1a1a;
}

.cookie-table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: #ffffff;
  border: 1px solid #d7e3ef;
  border-radius: 4px;
  overflow: hidden;
}

.cookie-table caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 0.7rem;
  color: #244767;
  font-weight: 700;
}

.cookie-table th,
.cookie-table td {
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid #e2ebf4;
  text-align: left;
  vertical-align: top;
}

.cookie-table thead th {
  background: #eef5fb;
  color: #173d63;
  font-size: 0.88rem;
}

.cookie-table tbody tr:nth-child(even) {
  background: #f9fbfe;
}

.content-page-image {
  width: 100%;
  border-radius: var(--radius-box);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  object-fit: cover;
  max-height: 420px;
}

.category-chip-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 62, 102, 0.28);
}

.category-chip-link:hover,
.category-chip-link:focus-visible {
  color: #0d5fa8;
  border-bottom-color: currentColor;
}

.category-hero h1 {
  margin: 0 0 0.5rem;
  color: var(--blue-700);
}

.category-lead {
  margin: 0;
  max-width: 54rem;
  color: #35516d;
}

.rich-content {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  color: #17324d;
  line-height: 1.75;
}

.rich-content > :first-child {
  margin-top: 0;
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
  margin: 0;
  color: #153d66;
}

.rich-content p,
.rich-content ul,
.rich-content ol,
.rich-content blockquote,
.rich-content pre {
  margin: 0;
}

.rich-content ul,
.rich-content ol {
  padding-left: 1.35rem;
}

.rich-content a {
  color: #0d5fa8;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.rich-content blockquote {
  padding: 0.9rem 1rem;
  border-left: 4px solid #a6c5e2;
  border-radius: 0 4px 4px 0;
  background: #f3f8fd;
  color: #23486d;
}

.rich-content pre,
.rich-content code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.rich-content pre {
  overflow-x: auto;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-box);
  background: #0f2233;
  color: #f5f8fb;
}

/* Public form refresh */
.panel {
  border: 1px solid #d7e3ef;
  border-radius: 4px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  padding: clamp(1rem, 2vw, 1.5rem);
  box-shadow: 0 18px 40px rgba(18, 48, 79, 0.06);
}

.content-page-block {
  border-radius: 4px;
}

.auth-form {
  gap: 0.75rem;
}

.auth-form label {
  display: grid;
  gap: 0.38rem;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
  min-height: 2.9rem;
  border-radius: 4px;
  padding: 0.7rem 0.8rem;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 1px 2px rgba(18, 48, 79, 0.04);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.auth-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.auth-form input:focus,
.auth-form input:focus-visible,
.auth-form select:focus,
.auth-form select:focus-visible,
.auth-form textarea:focus,
.auth-form textarea:focus-visible {
  outline: none;
  border-color: #1b66ad;
  box-shadow: 0 0 0 4px rgba(27, 102, 173, 0.15);
}

.auth-form.compact {
  max-width: 26rem;
}

.cta-row .btn {
  min-height: 2.75rem;
}

.builder-section {
  padding: 0.5rem 0 1.2rem;
}

.builder-grid {
  width: min(100% - 2rem, var(--wrap));
  margin: 0 auto 1.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.builder-card {
  border: 1px solid #d7e2ef;
  border-radius: var(--radius-box);
  background: #fff;
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
}

.builder-card h2,
.builder-card h3 {
  margin: 0;
  color: #173e66;
}

.builder-card p {
  margin: 0;
  color: #335874;
}

.builder-cards {
  display: grid;
  gap: 0.7rem;
}

.builder-card-item {
  border-top: 1px solid #e5eef6;
  padding-top: 0.7rem;
}

.faq-intro-copy {
  margin-bottom: 1rem;
}

.hero-kicker {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero-copy {
  max-width: 42rem;
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.pricing-card {
  border: 1px solid #d7e2ef;
  border-radius: var(--radius-box);
  padding: 0.85rem;
  background: #fff;
}

.pricing-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #173e66;
}

.pricing-billing {
  margin: 0.3rem 0;
  color: #4d6780;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-price {
  margin: 0 0 0.45rem;
  color: var(--blue-700);
  font-weight: 700;
  font-size: 1.35rem;
}

.btn {
  font-size: 0.86rem;
}

.btn-primary,
.btn-secondary,
.btn-light,
.btn-small {
  min-height: 36px;
}

.auth-panel {
  max-width: 560px;
  margin: 1.2rem auto;
}

.panel > p + .auth-form {
  margin-top: 1rem;
}

.auth-actions {
  align-items: stretch;
}

.auth-actions .btn {
  flex: 1 1 12rem;
  justify-content: center;
}

.auth-form > label > span {
  display: block;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .auth-actions .btn {
    flex-basis: 100%;
  }
}

.norm-home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.25rem, 6vw, 5.5rem) 0 2rem;
  background:
    radial-gradient(circle at top left, rgba(199, 219, 239, 0.78), transparent 38%),
    linear-gradient(135deg, #f4f8fc 0%, #ebf2f9 48%, #dfe8f1 100%);
}

.norm-home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
  gap: 1.25rem;
  align-items: stretch;
}

.norm-home-eyebrow,
.norm-home-sectionhead__eyebrow,
.norm-home-panel__eyebrow,
.norm-kpi-card__label {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #476988;
}

.norm-home-hero__copy h1 {
  margin: 0;
  max-width: 12ch;
  color: #102c47;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.94;
}

.norm-home-lead {
  max-width: 48rem;
  margin: 1rem 0 0;
  color: #39566f;
  font-size: 1.05rem;
  line-height: 1.7;
}

.norm-home-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  margin-top: 1.45rem;
  padding: 0.9rem;
  border: 1px solid rgba(149, 176, 204, 0.44);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 55px rgba(15, 42, 67, 0.09);
}

.norm-home-search__field input {
  width: 100%;
  min-height: 3.6rem;
  padding: 0 1rem;
  border: 1px solid #c7d7e6;
  border-radius: 16px;
  background: #fff;
  color: #163451;
  font-size: 1rem;
}

.norm-home-search__field input:focus {
  outline: 2px solid rgba(34, 98, 155, 0.2);
  border-color: #7aa5cc;
}

.norm-home-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.norm-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.norm-home-inline-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.norm-home-inline-stats li,
.norm-home-hero__panel,
.norm-kpi-card,
.norm-type-card,
.norm-method-card,
.norm-update-card {
  border: 1px solid rgba(149, 176, 204, 0.44);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 60px rgba(15, 42, 67, 0.08);
}

.norm-home-inline-stats li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
}

.norm-home-inline-stats strong {
  color: #12324f;
  font-size: 1.45rem;
}

.norm-home-inline-stats span {
  color: #587691;
  font-size: 0.9rem;
}

.norm-home-hero__panel {
  padding: 1.25rem;
}

.norm-home-hero__spotlight {
  align-self: start;
  padding: 1.35rem;
  border: 1px solid rgba(149, 176, 204, 0.44);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  color: #163451;
  box-shadow: 0 22px 60px rgba(15, 42, 67, 0.08);
}

.norm-home-hero__spotlight h2 {
  margin: 0;
  color: #163451;
  font-size: 1.55rem;
  line-height: 1.15;
}

.norm-home-hero__spotlight p {
  margin: 1rem 0 0;
  color: #587691;
}

.norm-home-hero__spotlight-links {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.norm-home-hero__spotlight-links a {
  display: block;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(149, 176, 204, 0.44);
  border-radius: 14px;
  color: #163451;
  text-decoration: none;
  background: #f5f9fc;
}

.norm-home-hero__spotlight-links a:hover,
.norm-home-hero__spotlight-links a:focus-visible {
  background: #ebf3fa;
}

.norm-home-hero__panel h2 {
  margin: 0;
  color: #163451;
  font-size: 1.45rem;
}

.norm-home-panel__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.2rem 0 0;
}

.norm-home-panel__metrics div {
  padding: 0.9rem;
  border-radius: 16px;
  background: #f4f8fb;
}

.norm-home-panel__metrics dt {
  margin: 0;
  color: #587691;
  font-size: 0.84rem;
}

.norm-home-panel__metrics dd {
  margin: 0.25rem 0 0;
  color: #153652;
  font-size: 1.22rem;
  font-weight: 700;
}

.norm-home-panel__note {
  margin: 1rem 0 0;
  color: #496783;
  font-size: 0.95rem;
  line-height: 1.6;
}

.norm-home-radar,
.norm-home-types,
.norm-home-method,
.norm-home-updates {
  padding: 1rem 0 2rem;
}

.norm-home-radar__grid,
.norm-home-types__grid,
.norm-home-method__grid,
.norm-home-updates__grid {
  display: grid;
  gap: 1rem;
}

.norm-home-radar__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.norm-kpi-card,
.norm-type-card,
.norm-method-card,
.norm-update-card {
  padding: 1.1rem;
}

.norm-kpi-card strong {
  display: block;
  margin-top: 0.15rem;
  color: #12324f;
  font-size: 1.65rem;
}

.norm-kpi-card p,
.norm-type-card p,
.norm-method-card p,
.norm-update-card p,
.norm-home-sectionhead p {
  color: #55738f;
}

.norm-home-sectionhead {
  margin-bottom: 1rem;
}

.norm-home-sectionhead h2 {
  margin: 0;
  color: #102c47;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.norm-home-types__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.norm-type-card__head {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: baseline;
}

.norm-type-card__head h3,
.norm-method-card h3,
.norm-update-card h3 {
  margin: 0;
  color: #17354f;
}

.norm-type-card__head span {
  color: #0d5fa8;
  font-size: 1.25rem;
  font-weight: 700;
}

.norm-home-method__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.norm-method-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: #12324f;
  color: #fff;
  font-weight: 700;
}

.norm-update-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 0.8rem;
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.norm-update-card__meta span {
  color: #55738f;
}

.norm-home-updates__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.normative-page {
  padding-bottom: 2rem;
}

.normative-index-hero h1,
.normative-act-hero h1 {
  margin-bottom: 0.45rem;
}

.normative-overview-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.normative-overview-strip div,
.normative-detail-list div {
  padding: 0.85rem;
  border-radius: 14px;
  background: #f4f8fb;
}

.normative-overview-strip strong {
  display: block;
  color: #12324f;
  font-size: 1.4rem;
}

.normative-overview-strip span {
  color: #55738f;
}

.normative-filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 0.8rem;
  align-items: end;
}

.normative-filters label {
  display: grid;
  gap: 0.35rem;
}

.field-hint {
  color: #55738f;
  font-size: 0.82rem;
  line-height: 1.35;
}

.normative-filters__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.normative-results-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.normative-results-head p {
  margin: 0;
  color: #55738f;
}

.normative-landing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.normative-landing-card {
  padding: 1rem;
  border-radius: 18px;
  background: #f4f8fb;
}

.normative-editorial-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #d7e3ef;
}

.normative-editorial-hero h2 {
  margin: 0.15rem 0 0.45rem;
}

.normative-editorial-hero p {
  margin: 0;
  color: #55738f;
  max-width: 78ch;
}

.normative-editorial-hero__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: flex-start;
}

.normative-status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.normative-status-chip.is-live {
  background: #edf8f1;
  color: #17603c;
  border: 1px solid #c6e5d1;
}

.normative-status-chip.is-pending {
  background: #fff4e9;
  color: #9a5618;
  border: 1px solid #f0d1b2;
}

.normative-editorial-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.normative-editorial-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #d7e3ef;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff, #f5f9fc);
}

.normative-editorial-section__intro h3 {
  margin: 0 0 0.45rem;
  color: #12324f;
  font-size: 1.08rem;
}

.normative-editorial-section__intro p {
  margin: 0;
  color: #55738f;
}

.normative-editorial-section__lists {
  display: grid;
  gap: 0.8rem;
}

.normative-editorial-section__cards {
  display: grid;
  gap: 0.75rem;
}

.normative-editorial-law {
  padding: 1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #dbe6ef;
}

.normative-editorial-law.is-pending {
  background: #fffaf4;
  border-color: #f0dcc1;
}

.normative-editorial-law__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}

.normative-editorial-law__head h4 {
  margin: 0;
  color: #12324f;
  font-size: 1rem;
  line-height: 1.4;
}

.normative-editorial-law > p {
  margin: 0.65rem 0 0;
  color: #55738f;
}

.normative-editorial-law__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  color: #55738f;
  font-size: 0.88rem;
}

.normative-editorial-law .btn {
  margin-top: 0.85rem;
}

.normative-landing-card h2 {
  margin: 0 0 0.85rem;
  color: #12324f;
  font-size: 1.1rem;
}

.normative-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.normative-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid #c8d8e7;
  border-radius: 999px;
  background: #fff;
  color: #12324f;
  text-decoration: none;
}

.normative-chip:hover,
.normative-chip:focus-visible {
  border-color: #0d5fa8;
  color: #0d5fa8;
}

.normative-list {
  display: grid;
  gap: 0.85rem;
}

.normative-list-item {
  padding: 1rem 0;
  border-top: 1px solid #d7e3ef;
  border-left: 4px solid transparent;
  padding-left: 1rem;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, rgba(242, 247, 252, 0.7), rgba(242, 247, 252, 0));
}

.normative-list-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.normative-list-item__meta,
.normative-list-item__facts,
.normative-act-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: #55738f;
  font-size: 0.9rem;
}

.normative-type-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #cbd9e8;
  background: #eff5fb;
  color: #214663;
  font-weight: 700;
}

.normative-list-item--legge {
  border-left-color: #2366a8;
}

.normative-list-item--decreto-legislativo {
  border-left-color: #2f7d65;
}

.normative-list-item--decreto-legge {
  border-left-color: #b76a14;
}

.normative-list-item--dpr {
  border-left-color: #6f55b8;
}

.normative-list-item--dpcm {
  border-left-color: #8a4f7f;
}

.normative-list-item--testo-unico {
  border-left-color: #0f6f73;
}

.normative-list-item--regolamento {
  border-left-color: #6c7a2a;
}

.normative-list-item--regio-decreto {
  border-left-color: #8d5a2b;
}

.normative-list-item--atto {
  border-left-color: #55738f;
}

.normative-type-chip--legge {
  background: #eef5ff;
  border-color: #c5daf5;
  color: #205d97;
}

.normative-type-chip--decreto-legislativo {
  background: #eef8f3;
  border-color: #c8e5d8;
  color: #2d6f59;
}

.normative-type-chip--decreto-legge {
  background: #fff6eb;
  border-color: #f1d5ad;
  color: #9d5a11;
}

.normative-type-chip--dpr {
  background: #f2edff;
  border-color: #d5c7f5;
  color: #5e46a1;
}

.normative-type-chip--dpcm {
  background: #f8edf6;
  border-color: #e4c8de;
  color: #7a466e;
}

.normative-type-chip--testo-unico {
  background: #ebf8f7;
  border-color: #bfe2e0;
  color: #0f6668;
}

.normative-type-chip--regolamento {
  background: #f4f7e8;
  border-color: #d4dfae;
  color: #5d6921;
}

.normative-type-chip--regio-decreto {
  background: #f8f0e7;
  border-color: #e5ccb0;
  color: #7c5028;
}

.normative-list-item h2 {
  margin: 0.4rem 0;
  font-size: 1.24rem;
}

.normative-list-item__preview {
  margin: 0.5rem 0 0;
  color: #425e79;
  line-height: 1.55;
}

.normative-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(280px, 0.62fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.normative-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.normative-detail-list dt {
  color: #55738f;
  font-size: 0.84rem;
}

.normative-detail-list dd {
  margin: 0.2rem 0 0;
  color: #12324f;
  font-weight: 600;
}

.normative-reference-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  list-style: none;
  min-width: 0;
}

.normative-reference-list li {
  display: grid;
  gap: 0.22rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #d7e3ef;
  min-width: 0;
}

.normative-reference-list code,
.normative-reference-list small,
.normative-reference-list span,
.normative-reference-list a {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.normative-reference-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.normative-reference-list--compact {
  gap: 0.65rem;
}

.normative-reference-list--compact li {
  gap: 0.15rem;
  padding-bottom: 0.65rem;
}

.normative-meta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.normative-version-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.normative-version-switch__tab {
  display: grid;
  gap: 0.2rem;
  min-width: 180px;
  padding: 0.85rem 1rem;
  border: 1px solid #d7e3ef;
  border-radius: 16px;
  background: #f8fbfd;
  color: #12324f;
  text-decoration: none;
}

.normative-version-switch__tab small {
  color: #55738f;
}

.normative-version-switch__tab.is-current {
  border-color: #0d5fa8;
  background: #eef6fc;
}

.normative-version-summary {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 16px;
  background: #f4f8fb;
}

.normative-version-summary strong {
  display: block;
  color: #12324f;
}

.normative-version-summary p {
  margin: 0.5rem 0 0;
  color: #55738f;
}

.normative-act-hero__lead,
.normative-reader__meta,
.normative-reader__empty {
  color: #55738f;
}

.normative-act-hero {
  padding-bottom: 1.2rem;
}

.normative-act-hero__lead {
  margin: 0.85rem 0 0;
  font-size: 0.97rem;
  line-height: 1.65;
}

.normative-act-hero__lead span {
  display: inline-block;
  margin-left: 0.45rem;
}

.normative-reader-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
  gap: 0.35rem;
  margin-top: 1rem;
}

.normative-reader__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.normative-reader__head h2,
.normative-reader-aside h2 {
  margin: 0;
}

.normative-reader__body {
  color: #19344d;
  font-size: 1.03rem;
  line-height: 1.82;
}

.normative-reader__body > *:first-child {
  margin-top: 0;
}

.normative-reader__body h2,
.normative-reader__body h3,
.normative-reader__body h4 {
  scroll-margin-top: 6rem;
  color: #102c47;
}

.normative-reader__body h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
}

.normative-reader__body h3 {
  margin-top: 1.4rem;
  font-size: 1.18rem;
}

.normative-reader__body p,
.normative-reader__body li {
  max-width: 76ch;
}

.normative-reader__body a {
  color: #0d5fa8;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.normative-reader__body blockquote,
.normative-reader__body pre {
  max-width: none;
}

.normative-reader-aside {
  position: sticky;
  top: 1rem;
  align-self: start;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  border-color: #e0e8f1;
  background: linear-gradient(180deg, #fbfdff, #f7fbfe);
  box-shadow: 0 18px 36px rgba(18, 50, 79, 0.08);
}

.normative-toc-jump {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.9rem;
}

.normative-toc-jump__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 0.55rem;
  align-items: center;
}

.normative-toc-jump label {
  color: #55738f;
  font-size: 0.85rem;
  font-weight: 600;
}

.normative-toc-jump input {
  width: 100%;
  min-width: 0;
  min-height: 2.8rem;
  border: 1px solid #cad8e7;
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  background: #fff;
  color: #12324f;
  font: inherit;
}

.normative-toc-jump input:focus-visible {
  outline: 0;
  border-color: #0d5fa8;
  box-shadow: 0 0 0 3px rgba(13, 95, 168, 0.14);
}

.normative-toc-jump .btn-small {
  min-width: 0;
  width: auto;
  padding-inline: 0.9rem;
  justify-self: end;
}

.normative-toc-jump__hint,
.normative-toc-jump__feedback {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.45;
}

.normative-toc-jump__hint {
  color: #6a859f;
}

.normative-toc-jump__feedback {
  min-height: 1.2em;
  color: #a03e12;
}

.normative-toc {
  display: grid;
  gap: 0.55rem;
  margin: 0.9rem 0 0;
  padding-left: 1.1rem;
  list-style: disc;
  max-height: calc(100vh - 15rem);
  overflow-y: auto;
  padding-right: 0.35rem;
  scrollbar-width: thin;
}

.normative-toc-groups {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.normative-toc-group {
  border: 1px solid #d7e4ee;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.normative-toc-group summary {
  cursor: pointer;
  list-style: none;
  padding: 0.8rem 0.95rem;
  font-weight: 700;
  color: #12324f;
  background: #f4f8fb;
}

.normative-toc-group summary::-webkit-details-marker {
  display: none;
}

.normative-toc-group[open] summary {
  border-bottom: 1px solid #d7e4ee;
}

.normative-toc--grouped {
  max-height: 16rem;
  margin: 0;
  padding: 0.75rem 1rem 0.85rem 2rem;
}

.normative-toc--plain {
  padding-left: 0;
  list-style: none;
}

.normative-reader-notes {
  margin-top: 0.9rem;
  padding: 1rem;
  border-radius: 16px;
  background: #f8fbfd;
  border: 1px solid #d7e4ee;
  color: #284760;
  font-size: 0.95rem;
  line-height: 1.7;
}

.normative-reader-notes .note-akn {
  margin: 0;
}

.normative-reader-notes a {
  color: #0d5fa8;
}

.gazzetta-attachment {
  margin-top: 0.75rem;
  border: 1px solid #d7e4ee;
  border-radius: 16px;
  background: #f8fbff;
  overflow: hidden;
}

.gazzetta-attachment summary {
  cursor: pointer;
  list-style: none;
  padding: 0.9rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  align-items: center;
  background: #eef5fb;
  color: #12324f;
  font-weight: 700;
}

.gazzetta-attachment summary::-webkit-details-marker {
  display: none;
}

.gazzetta-attachment__hint {
  color: #5f7d97;
  font-weight: 600;
  font-size: 0.92rem;
}

.gazzetta-attachment__body {
  padding: 1rem;
}

.gazzetta-attachment__notice {
  margin: 0 0 0.85rem;
  color: #4b6780;
  font-size: 0.95rem;
}

.gazzetta-attachment__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12rem;
  min-height: 42px;
  padding-inline: 1rem;
  border: 1px solid #0d5fa8;
  border-radius: 12px;
  background: linear-gradient(180deg, #1f75bd, #155d97);
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(13, 95, 168, 0.16);
}

.gazzetta-attachment__download:hover,
.gazzetta-attachment__download:focus-visible {
  background: linear-gradient(180deg, #256fab, #114a78);
  color: #ffffff !important;
  text-decoration: none;
}

.gazzetta-attachment__preview {
  padding: 0.85rem 0.95rem;
  border: 1px solid #d7e4ee;
  border-radius: 12px;
  background: #ffffff;
  color: #284760;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.gazzetta-attachment__raw {
  margin-top: 0.75rem;
  max-height: 22rem;
  overflow: auto;
  padding: 0.85rem 0.95rem;
  border: 1px solid #d7e4ee;
  border-radius: 12px;
  background: #fff;
  color: #304d66;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.normative-toc__item a {
  display: block;
  color: #12324f;
  text-decoration: none;
  line-height: 1.45;
  padding: 0.35rem 0.5rem;
  border-radius: 10px;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.normative-toc__item.is-active {
  list-style: disc;
}

.normative-toc__item a.is-active {
  color: #0d5fa8;
  font-weight: 700;
  background: #eaf4fd;
  box-shadow: inset 3px 0 0 #0d5fa8;
}

.normative-toc__item a:hover,
.normative-toc__item a:focus-visible {
  background: #f0f6fb;
  text-decoration: none;
}

.normative-toc__item--h3 {
  margin-left: 0.85rem;
}

.normative-toc__item--h4 {
  margin-left: 1.5rem;
}

.normative-reader-structured {
  display: grid;
  gap: 1.4rem;
}

.normative-reader {
  padding-inline: clamp(1rem, 2vw, 1.5rem);
}

.normative-preamble-block {
  padding: 1rem 1.1rem;
  border: 1px solid #d7e3ef;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff, #f5f9fc);
}

.normative-preamble-block .rich-content {
  margin-top: 0.75rem;
}

.normative-relation-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.normative-relation-kpi {
  padding: 1rem;
  border: 1px solid #d7e3ef;
  border-radius: 16px;
  background: #f4f8fb;
}

.normative-relation-kpi strong {
  display: block;
  color: #12324f;
  font-size: 1.5rem;
}

.normative-relation-kpi span {
  color: #55738f;
}

.normative-relation-sections {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.normative-article-block {
  padding: 1.15rem 1.2rem 1rem;
  border: 1px solid #d7e3ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 50, 79, 0.05);
}

.normative-article-block:first-child {
  padding-top: 1.15rem;
  border-top: 1px solid #d7e3ef;
}

.normative-article-block__head h3,
.normative-article-block__head p {
  margin: 0;
}

.normative-article-block__titleline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.normative-article-block__head h3 {
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  line-height: 1.25;
  color: #0f304d;
}

.normative-article-block__anchor {
  color: #7b97b1;
  text-decoration: none;
  font-weight: 700;
}

.normative-article-block__anchor:hover,
.normative-article-block__anchor:focus-visible {
  color: #0d5fa8;
}

.preamble-article-block h3 {
  margin: 0 0 0.6rem;
  color: #12324f;
  font-size: 1.1rem;
}

.preamble-article-block__paragraph + .preamble-article-block__paragraph {
  margin-top: 0.7rem;
}

.normative-article-block__label {
  color: #12324f;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.normative-paragraph-block__label {
  display: inline-flex;
  align-items: center;
  min-height: 1.95rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: #eef5fb;
  color: #0d5fa8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.73rem;
  font-weight: 700;
}

.normative-paragraph-block {
  margin-top: 0.7rem;
  padding-left: 1rem;
  border-left: 3px solid #d6e5f2;
}

.normative-paragraph-block .rich-content {
  margin-top: 0.35rem;
}

.normative-paragraph-block .rich-content > :first-child {
  margin-top: 0;
}

.normative-paragraph-block .rich-content > :last-child {
  margin-bottom: 0;
}

@media (max-width: 1080px) {
  .norm-home-radar__grid,
  .norm-home-types__grid,
  .norm-home-method__grid,
  .norm-home-updates__grid,
  .normative-landing-grid,
  .normative-relation-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .normative-editorial-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .breadcrumb-row {
    grid-template-columns: 1fr;
  }

  .breadcrumb-search {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .norm-home-hero__grid,
  .normative-detail-grid,
  .normative-reader-layout {
    grid-template-columns: 1fr;
  }

  .normative-reader-aside {
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
  }

  .normative-toc {
    max-height: none;
  }

  .normative-toc--grouped {
    max-height: none;
  }

  .normative-version-switch__tab {
    min-width: 0;
    width: 100%;
  }

  .normative-overview-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .normative-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .normative-filters__actions {
    grid-column: 1 / -1;
  }

  .norm-home-search {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .norm-home-hero {
    padding-top: 2.2rem;
  }

  .norm-home-lead {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .norm-home-radar__grid,
  .norm-home-types__grid,
  .norm-home-method__grid,
  .norm-home-updates__grid,
  .normative-overview-strip,
  .normative-landing-grid,
  .normative-relation-kpis,
  .normative-detail-grid,
  .normative-reader-layout,
  .normative-detail-list,
  .norm-home-inline-stats,
  .norm-home-panel__metrics {
    grid-template-columns: 1fr;
  }

  .norm-home-hero__copy h1 {
    max-width: none;
  }

  .norm-home-hero__chips {
    gap: 0.5rem;
  }

  .norm-home-hero__spotlight,
  .norm-kpi-card,
  .norm-type-card,
  .norm-update-card,
  .normative-landing-card,
  .normative-relation-kpi,
  .normative-version-summary {
    padding: 1rem;
  }

  .normative-reader__head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .normative-version-switch {
    display: grid;
    grid-template-columns: 1fr;
  }

  .normative-reference-list li {
    gap: 0.35rem;
  }

  .normative-act-hero h1,
  .normative-index-hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .normative-reader__body {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .normative-reader {
    padding-inline: 1rem;
  }

  .normative-reader__body h2 {
    font-size: 1.34rem;
    margin-top: 1.55rem;
  }

  .normative-reader__body h3 {
    font-size: 1.08rem;
    margin-top: 1.15rem;
  }

  .normative-reference-list li small {
    line-height: 1.55;
  }

  .normative-paragraph-block {
    padding-left: 0.85rem;
  }
}

@media (max-width: 640px) {
  .norm-home-actions,
  .normative-filters__actions,
  .pagination-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .norm-home-actions .btn,
  .normative-filters__actions .btn,
  .pagination-link {
    width: 100%;
  }

  .normative-overview-strip,
  .normative-relation-kpis {
    grid-template-columns: 1fr;
  }

  .normative-filters {
    grid-template-columns: 1fr;
  }

  .normative-act-meta,
  .normative-list-item__meta,
  .normative-list-item__facts {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .norm-home-hero__spotlight-links a,
  .normative-chip {
    width: 100%;
    justify-content: center;
  }

  .normative-version-summary p:last-child {
    margin-bottom: 0;
  }

  .panel {
    padding: 0.95rem;
  }

  .content-page-block {
    width: min(100% - 1rem, var(--wrap));
    margin: 0.85rem auto;
  }

  .norm-home-hero {
    padding: 1.75rem 0 1.25rem;
  }

  .norm-home-hero__copy h1 {
    font-size: clamp(2rem, 9vw, 2.7rem);
    line-height: 0.98;
  }

  .norm-home-search {
    padding: 0.75rem;
    border-radius: 18px;
  }

  .norm-home-search__field input {
    min-height: 3.15rem;
    font-size: 0.97rem;
  }

  .norm-home-hero__spotlight h2 {
    font-size: 1.3rem;
  }

  .norm-home-radar,
  .norm-home-types,
  .norm-home-method,
  .norm-home-updates {
    padding: 0.5rem 0 1.25rem;
  }

  .norm-home-sectionhead {
    margin-bottom: 0.85rem;
  }

  .norm-home-sectionhead h2 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .normative-index-hero p,
  .normative-act-hero__lead,
  .normative-results-head p,
  .normative-reader__meta,
  .normative-reader__empty {
    font-size: 0.95rem;
  }

  .normative-version-switch__tab {
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
  }

  .normative-reader__body p,
  .normative-reader__body li {
    max-width: none;
  }

  .normative-toc {
    padding-left: 1rem;
    gap: 0.45rem;
  }

  .normative-article-block {
    padding-top: 0.2rem;
  }

  .normative-paragraph-block {
    margin-top: 0.85rem;
    padding-left: 0.75rem;
  }
}

@media (max-width: 420px) {
  .normative-act-hero h1,
  .normative-index-hero h1 {
    font-size: clamp(1.55rem, 8vw, 2rem);
  }

  .normative-chip,
  .norm-home-hero__spotlight-links a {
    min-height: 2.8rem;
    padding-inline: 0.75rem;
    font-size: 0.95rem;
  }

  .normative-list-item h2 {
    font-size: 1.08rem;
  }

  .norm-kpi-card strong,
  .normative-overview-strip strong,
  .normative-relation-kpi strong {
    font-size: 1.28rem;
  }
}
