@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:wght@600;700&display=swap");

/* Frontend navigation polish: public bars aligned with the reserved-area language. */
:root {
  --front-nav-ink: #2C2F18;
  --front-nav-muted: #677567;
  --front-nav-line: rgba(72, 81, 64, 0.24);
  --front-nav-glass: rgba(234, 222, 190, 0.94);
  --front-nav-shadow: 0 18px 42px rgba(18, 24, 28, 0.07);
  --front-nav-pill-shadow: 0 10px 20px rgba(18, 24, 28, 0.06);
  --front-nav-pill-shadow-strong: 0 14px 28px rgba(18, 24, 28, 0.12);
  --front-nav-max: 1180px;
  --front-surface: rgba(234, 222, 190, 0.86);
  --front-surface-soft: rgba(234, 222, 190, 0.62);
  --front-soft-shadow: 0 22px 56px rgba(18, 24, 28, 0.09);
  --front-card-radius: 20px;
  --front-input-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 8px 18px rgba(18, 24, 28, 0.04);
  --pamuk-action-join: #D58092;
  --pamuk-action-join-dark: #C66F82;
  --pamuk-action-value: #B2A58E;
  --pamuk-action-value-dark: #485140;
  --pamuk-action-hot: #D58092;
  --pamuk-action-hot-dark: #C66F82;
  --pamuk-action-info: #485140;
  --pamuk-action-info-dark: #2C2F18;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  accent-color: var(--front-nav-ink);
}

.header {
  position: sticky;
  top: 0;
  z-index: 120;
  border-bottom: 1px solid rgba(18, 24, 28, 0.1);
  background: var(--front-nav-glass);
  box-shadow: var(--front-nav-shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.site-header {
  border-bottom: 1px solid rgba(18, 24, 28, 0.1) !important;
  background: var(--front-nav-glass) !important;
  box-shadow: var(--front-nav-shadow) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  backdrop-filter: blur(18px) !important;
}

.nav,
.page-nav {
  width: min(var(--front-nav-max), calc(100% - 40px)) !important;
  min-height: 66px !important;
  margin: 0 auto !important;
  color: var(--front-nav-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  grid-template-columns: none !important;
}

.nav .brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex: 0 1 auto;
  min-width: min(245px, 100%);
  color: var(--front-nav-ink) !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-color: transparent !important;
  border-bottom: 0 !important;
  background-image: none !important;
}

.nav .brand:hover,
.nav .brand:focus-visible {
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-color: transparent !important;
  border-bottom: 0 !important;
  background-image: none !important;
}

.nav .brand::before,
.nav .brand::after,
.nav .brand *::before,
.nav .brand *::after {
  display: none !important;
  content: none !important;
}

.nav .brand,
.nav .brand *,
.nav .brand:hover,
.nav .brand:hover *,
.nav .brand:focus-visible,
.nav .brand:focus-visible * {
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-color: transparent !important;
  border-bottom-color: transparent !important;
}

.nav .brand-text {
  display: inline-flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

.menu-toggle {
  display: none !important;
}

.nav .brand-logo,
.nav .brand > img,
.page-nav img {
  display: grid;
  place-items: center;
  width: 38px !important;
  height: 38px !important;
  padding: 5px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
  mix-blend-mode: normal;
}

.nav .brand strong {
  color: var(--front-nav-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.55vw, 1.22rem) !important;
  line-height: 1;
  white-space: nowrap;
  transform: none !important;
}

.nav .brand:hover strong,
.nav .brand:focus-visible strong {
  color: var(--front-nav-ink) !important;
  transform: none !important;
}

.nav .brand span,
.nav .brand small,
.nav .brand-text > span {
  color: var(--front-nav-muted) !important;
  font-size: 0.72rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.12em !important;
  line-height: 1.05;
  text-transform: uppercase;
}

.nav .nav-links,
.nav .nav-actions,
.page-nav,
.footer-nav {
  gap: 8px !important;
}

.nav .nav-links,
.nav .nav-actions {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap;
}

.nav .nav-links {
  justify-content: center !important;
}

.nav .nav-actions {
  justify-content: flex-end !important;
}

.nav .nav-links a,
.nav .nav-actions a,
.nav .nav-actions .button,
.nav a.ghost-link,
.nav a.button,
.page-nav a,
.page-nav button,
.footer-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px !important;
  border: 1px solid var(--front-nav-line) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: var(--front-nav-ink) !important;
  box-shadow: var(--front-nav-pill-shadow);
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  line-height: 1;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.nav .nav-links a::after,
.nav .nav-actions a::after,
.page-nav a::after,
.footer-nav a::after {
  display: none !important;
}

.nav .nav-links a:hover,
.nav .nav-links a:focus-visible,
.nav .nav-actions a:hover,
.nav .nav-actions a:focus-visible,
.nav a.ghost-link:hover,
.nav a.ghost-link:focus-visible,
.nav a.button:hover,
.nav a.button:focus-visible,
.page-nav a:hover,
.page-nav a:focus-visible,
.page-nav button:hover,
.page-nav button:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
  border-color: var(--front-nav-ink) !important;
  box-shadow: var(--front-nav-pill-shadow-strong);
  outline: none;
  transform: translateY(-1px);
}

.nav a.button,
.nav .nav-actions .button,
.page-nav .button,
.page-nav .primary,
.footer-nav a[href^="mailto:"] {
  background: var(--front-nav-ink) !important;
  background-color: var(--front-nav-ink) !important;
  color: #ffffff !important;
  border-color: var(--front-nav-ink) !important;
  box-shadow: 0 14px 28px rgba(18, 24, 28, 0.16);
}

.nav .nav-actions .ghost-link,
.nav a.ghost-link {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: var(--front-nav-ink) !important;
}

.page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px !important;
  padding: 10px 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.stack-card,
.book-stack-card,
.pamuk-stack-card,
.product,
.prestige-showcase,
.video-showcase,
.articles-section,
.active-projects,
.active-project-card,
.agenda-card,
.membership-hero,
.membership-merged-info,
.membership-signup-action,
.membership-wizard,
.membership-free-choice,
.sheet,
.bando-summary,
.about-card,
.about-hero,
.book-card,
.project-card,
.form-card,
.form-panel,
.form-shell,
.registration-card,
.registration-shell {
  border-color: var(--front-nav-line) !important;
  border-radius: var(--front-card-radius) !important;
  background-color: var(--front-surface) !important;
  box-shadow: var(--front-soft-shadow) !important;
}

.book-jump-links,
.active-project-actions,
.membership-step-tabs,
.membership-step-nav,
.tools,
.bando-actions,
.social-cluster,
.agenda-participation {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px !important;
}

.book-jump-links a,
.membership-step-tab,
.membership-step-nav .button,
.active-project-actions a,
.agenda-participation a,
.tools button,
.tools a,
.bando-actions a,
a.button,
button.button,
button[type="submit"],
input[type="submit"],
.cta,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--front-nav-line);
  border-radius: 999px;
  background-color: #ffffff;
  color: var(--front-nav-ink);
  box-shadow: var(--front-nav-pill-shadow);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

a.button:not(.secondary),
button.button:not(.secondary),
button[type="submit"],
input[type="submit"],
.cta,
.cta-button {
  border-color: var(--front-nav-ink);
  background-color: var(--front-nav-ink);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(18, 24, 28, 0.16);
}

a.button.secondary,
button.button.secondary,
.active-project-actions a.secondary,
.agenda-participation a:not(.button) {
  border-color: var(--front-nav-line);
  background-color: #ffffff;
  color: var(--front-nav-ink);
}

a.button.join-green,
a.button.cta-join,
button.button.join-green,
button.button.green,
button.button.cta-join,
.nav a.button.join-green,
.nav a.button.cta-join,
.nav .nav-actions a.button.join-green,
.nav .nav-actions a.button.cta-join,
.nav .nav-actions a.button[href*="iscrizione-pamuk"],
.nav .nav-actions a.button[href*="tesseramento"] {
  border-color: var(--pamuk-action-join-dark) !important;
  background: linear-gradient(135deg, var(--pamuk-action-join), #D06F86 62%, var(--pamuk-action-join-dark)) var(--pamuk-action-join) !important;
  color: #ffffff !important;
  text-shadow: 0 1px 0 rgba(7, 9, 2, 0.34), 1px 0 0 rgba(7, 9, 2, 0.2), -1px 0 0 rgba(7, 9, 2, 0.2), 0 -1px 0 rgba(7, 9, 2, 0.18) !important;
  -webkit-text-stroke: 0.18px rgba(7, 9, 2, 0.28);
  box-shadow: none !important;
}

a.button.join-green:hover,
a.button.join-green:focus-visible,
a.button.cta-join:hover,
a.button.cta-join:focus-visible,
button.button.join-green:hover,
button.button.join-green:focus-visible,
.nav a.button.join-green:hover,
.nav a.button.join-green:focus-visible,
.nav a.button.cta-join:hover,
.nav a.button.cta-join:focus-visible,
.nav .nav-actions a.button.join-green:hover,
.nav .nav-actions a.button.join-green:focus-visible,
.nav .nav-actions a.button.cta-join:hover,
.nav .nav-actions a.button.cta-join:focus-visible,
button.button.green:hover,
button.button.green:focus-visible {
  border-color: var(--verde-macchina, #485140) !important;
  background: linear-gradient(135deg, #485140, #2C2F18) #485140 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

a.button.cta-hot,
button.button.cta-hot,
.active-project-actions a.button.cta-hot {
  border-color: var(--pamuk-action-hot-dark) !important;
  background: linear-gradient(135deg, var(--pamuk-action-hot), #D06F86 62%, var(--pamuk-action-hot-dark)) var(--pamuk-action-hot) !important;
  color: #ffffff !important;
  text-shadow: 0 1px 0 rgba(7, 9, 2, 0.34), 1px 0 0 rgba(7, 9, 2, 0.2), -1px 0 0 rgba(7, 9, 2, 0.2), 0 -1px 0 rgba(7, 9, 2, 0.18) !important;
  -webkit-text-stroke: 0.18px rgba(7, 9, 2, 0.28);
  box-shadow: none !important;
}

a.button.cta-hot:hover,
a.button.cta-hot:focus-visible,
button.button.cta-hot:hover,
button.button.cta-hot:focus-visible {
  border-color: #485140 !important;
  background: linear-gradient(135deg, #485140, #2C2F18) #485140 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

a.button.cta-info,
button.button.cta-info {
  border-color: var(--pamuk-action-info-dark) !important;
  background: linear-gradient(135deg, var(--pamuk-action-info), var(--pamuk-action-info-dark)) var(--pamuk-action-info) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

a.button.cta-info:hover,
a.button.cta-info:focus-visible,
button.button.cta-info:hover,
button.button.cta-info:focus-visible {
  border-color: #2C2F18 !important;
  background: linear-gradient(135deg, #2C2F18, #070902) #2C2F18 !important;
  box-shadow: none !important;
}

a.button.cta-value,
button.button.cta-value,
.button.green.cta-value {
  border-color: rgba(72, 81, 64, 0.32) !important;
  background: #EADEBE !important;
  color: #2C2F18 !important;
  box-shadow: none !important;
}

a.button.cta-value:hover,
a.button.cta-value:focus-visible,
button.button.cta-value:hover,
button.button.cta-value:focus-visible {
  border-color: #485140 !important;
  background: #485140 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

a.button.secondary.cta-info,
button.button.secondary.cta-info {
  border-color: #D58092 !important;
  background: transparent !important;
  color: #D58092 !important;
  box-shadow: none !important;
}

.pamuk-focus strong,
.pamuk-value strong,
.membership-value-list strong,
.hero-card strong,
.quick-path-card strong {
  font-weight: 950;
}

:where(
  .project-badge,
  .quick-fact,
  .path-card,
  .chip,
  .badge,
  .detail,
  .hero-card,
  .quick-path-card,
  .pamuk-value-strip span,
  .membership-value-list span,
  .choice-points li
):not(a):not(button):not(summary):not(label) {
  cursor: default;
}

:where(
  .quick-path-card,
  .pamuk-value-strip span,
  .membership-value-list span,
  .quick-fact,
  .path-card,
  .chip,
  .badge,
  .detail
):not(a):not(button) {
  transform: none !important;
}

a.button:hover,
a.button:focus-visible,
button.button:hover,
button.button:focus-visible,
button[type="submit"]:hover,
button[type="submit"]:focus-visible,
input[type="submit"]:hover,
input[type="submit"]:focus-visible,
.book-jump-links a:hover,
.book-jump-links a:focus-visible,
.membership-step-tab:hover,
.membership-step-tab:focus-visible,
.membership-step-tab.is-active,
.active-project-actions a:hover,
.active-project-actions a:focus-visible,
.tools button:hover,
.tools button:focus-visible,
.tools a:hover,
.tools a:focus-visible {
  border-color: var(--front-nav-ink);
  box-shadow: var(--front-nav-pill-shadow-strong);
  outline: none;
  transform: translateY(-1px);
}

.actions .button,
.hero-buttons .button,
.book-actions .button,
.collective-actions .button,
.inline-cta,
.prestige-cta .button,
.active-project-actions .button,
.membership-signup-buttons .button,
.agenda-participation .button {
  gap: 8px !important;
  min-height: 42px;
  text-align: center;
  letter-spacing: 0.005em;
  box-shadow:
    0 12px 24px rgba(18, 24, 28, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.actions .button:not(.secondary),
.hero-buttons .button:not(.secondary),
.book-actions .button:not(.secondary),
.collective-actions .button:not(.secondary),
.inline-cta:not(.secondary),
.prestige-cta .button:not(.secondary),
.active-project-actions .button:not(.secondary),
.membership-signup-buttons .button:not(.secondary),
.agenda-participation .button:not(.secondary) {
  box-shadow:
    0 16px 32px rgba(18, 24, 28, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.book-jump-links {
  padding: 8px;
  border: 1px solid rgba(18, 24, 28, 0.08);
  border-radius: 999px;
  background: var(--front-surface-soft);
  box-shadow: 0 12px 28px rgba(18, 24, 28, 0.06);
}

.book-jump-links a {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.78rem;
}

input,
select,
textarea {
  border: 1px solid rgba(18, 24, 28, 0.16);
  border-radius: 14px;
  background-color: #ffffff;
  box-shadow: var(--front-input-shadow);
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(17, 19, 24, 0.14);
  outline-offset: 3px;
}

/* Compact density shared by the Pamuk public pages. */
body.pamuk-compact-ui :where(main, .page, .shell, .wrap, .container, .book-stack-stage, .pamuk-stack-stage, .content-shell, .project-form, .agenda-shell, .registration-shell, .form-shell) {
  gap: clamp(10px, 1.25vw, 16px) !important;
  padding-top: clamp(12px, 1.8vw, 22px) !important;
  padding-bottom: clamp(22px, 2.5vw, 36px) !important;
}

body.pamuk-compact-ui :where(main > section, .page > section, .section, .public-section, .pamuk-section) {
  margin-top: 0 !important;
  margin-bottom: clamp(10px, 1.25vw, 16px) !important;
}

body.pamuk-compact-ui :where(
  .stack-card,
  .book-stack-card,
  .pamuk-stack-card,
  .product,
  .prestige-showcase,
  .video-showcase,
  .articles-section,
  .active-projects,
  .active-project-card,
  .agenda-card,
  .membership-hero,
  .membership-merged-info,
  .membership-signup-action,
  .membership-wizard,
  .membership-free-choice,
  .sheet,
  .bando-summary,
  .about-card,
  .about-hero,
  .book-card,
  .project-card,
  .form-card,
  .form-panel,
  .form-shell,
  .registration-card,
  .registration-shell,
  .panel,
  .hero,
  .card,
  .payment-panel,
  .confirm-box,
  .choice-card
) {
  gap: clamp(6px, 0.9vw, 10px) !important;
  padding: clamp(12px, 1.65vw, 20px) !important;
  margin-bottom: clamp(10px, 1.25vw, 16px) !important;
}

body.pamuk-compact-ui :where(.card, .quick-fact, .path-card, .info-card, .payment-card, .payment-option-card, .agenda-stat, .agenda-quality-item, .agenda-production-item, .active-project-note, .metric, .stat, .detail) {
  gap: clamp(5px, 0.72vw, 8px) !important;
  padding: clamp(8px, 1.05vw, 13px) !important;
}

body.pamuk-compact-ui :where(.section-heading, .section-head, .panel-head, .title-row, .hero-row, .toolbar, .filter-bar, .tools, .actions, .hero-actions, .book-actions, .collective-actions, .book-jump-links, .active-project-actions, .membership-step-tabs, .membership-step-nav, .membership-signup-buttons, .agenda-participation) {
  gap: clamp(7px, 1vw, 12px) !important;
  margin-top: 0 !important;
  margin-bottom: clamp(6px, 0.9vw, 10px) !important;
}

body.pamuk-compact-ui :where(h1, h2, h3, h4, .page-title, .section-heading h2, .section-head h2, .panel-head h2) {
  margin-top: 0 !important;
  margin-bottom: clamp(5px, 0.8vw, 9px) !important;
  line-height: 1.06 !important;
}

body.pamuk-compact-ui :where(p, ul, ol, dl, figure) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.pamuk-compact-ui :where(p + p, p + ul, p + ol, ul + p, ol + p) {
  margin-top: 0.45rem !important;
}

body.pamuk-compact-ui :where(.grid, .cards, .card-grid, .tool-grid, .module-grid, .summary-grid, .metric-grid, .stats, .form-grid, .field-grid, .data-grid, .payment-options, .payment-methods, .payment-transfer, .membership-static-grid) {
  gap: clamp(6px, 0.9vw, 10px) !important;
}

body.pamuk-compact-ui :where(fieldset, .form-section, .form-step, .field, .field-card, .upload-card, .consent-card, .consent-list, .payment-section) {
  gap: clamp(5px, 0.72vw, 8px) !important;
  margin-block: 0 clamp(6px, 0.9vw, 10px) !important;
  padding: clamp(8px, 1.05vw, 13px) !important;
}

body.pamuk-compact-ui :where(label, .field label, .form-label) {
  margin-bottom: 4px !important;
}

body.pamuk-compact-ui :where(th, td) {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

@media (max-width: 760px) {
  body.pamuk-compact-ui :where(main, .page, .shell, .wrap, .container, .book-stack-stage, .pamuk-stack-stage, .content-shell, .project-form, .agenda-shell, .registration-shell, .form-shell) {
    gap: 10px !important;
    padding-top: 10px !important;
    padding-bottom: 22px !important;
  }

  body.pamuk-compact-ui :where(.stack-card, .book-stack-card, .pamuk-stack-card, .panel, .hero, .card, .project-card, .form-card, .form-panel, .registration-card, .membership-hero, .membership-merged-info, .membership-signup-action) {
    padding: 12px !important;
  }

  body.pamuk-compact-ui :where(a.button, button.button, .button, .btn, button[type="submit"], input[type="submit"], .cta, .cta-button) {
    min-height: 36px !important;
    padding-inline: 12px !important;
  }
}

:target {
  scroll-margin-top: 92px;
}

:target:is(section, article, div) {
  animation: front-target-glow 1150ms ease both;
}

@keyframes front-target-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(17, 19, 24, 0.18), var(--front-soft-shadow);
  }

  100% {
    box-shadow: var(--front-soft-shadow);
  }
}

@media (max-width: 900px) {
  .nav,
  .page-nav {
    width: min(100% - 28px, var(--front-nav-max)) !important;
    min-height: auto;
    padding: 14px 0 !important;
  }

  .nav:not(.nav-mobile-menu) {
    display: grid !important;
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 10px !important;
    overflow: visible;
  }

  .nav .brand {
    flex: 0 0 auto;
    justify-self: start;
  }

  .footer-nav {
    width: 100%;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    overflow: visible;
    padding-bottom: 0;
  }

  .nav:not(.nav-mobile-menu) .nav-links,
  .nav:not(.nav-mobile-menu) .nav-actions {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 8px !important;
    width: 100%;
    min-width: 0;
  }

  .nav:not(.nav-mobile-menu) .nav-links a,
  .nav:not(.nav-mobile-menu) .nav-actions a,
  .nav:not(.nav-mobile-menu) .nav-actions .button {
    width: 100%;
    min-width: 0;
    padding-inline: 10px !important;
    text-align: center;
    white-space: normal;
  }

  .nav .brand {
    min-width: 0;
  }

  .nav.nav-mobile-menu {
    overflow: visible;
  }

  .nav.nav-mobile-menu .menu-toggle {
    display: inline-grid !important;
  }

  .nav.nav-mobile-menu .nav-links {
    display: none !important;
  }

  .nav.nav-mobile-menu .nav-links.is-open {
    display: flex !important;
  }

  .book-jump-links,
  .active-project-actions,
  .membership-step-tabs,
  .tools,
  .bando-actions {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: thin;
  }

  .nav,
  .footer-nav,
  .nav .nav-links,
  .nav .nav-actions,
  .book-jump-links,
  .active-project-actions,
  .membership-step-tabs,
  .quick-path,
  .step-tabs,
  .tools,
  .bando-actions {
    -ms-overflow-style: none;
    scrollbar-width: none !important;
  }

  .quick-path {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap: 10px !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
    scroll-snap-type: none !important;
  }

  .quick-path-card {
    width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    scroll-snap-align: none !important;
  }

  .step-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
    scroll-snap-type: none !important;
  }

  .step-tab {
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    scroll-snap-align: none !important;
  }

  .nav::-webkit-scrollbar,
  .footer-nav::-webkit-scrollbar,
  .nav .nav-links::-webkit-scrollbar,
  .nav .nav-actions::-webkit-scrollbar,
  .book-jump-links::-webkit-scrollbar,
  .active-project-actions::-webkit-scrollbar,
  .membership-step-tabs::-webkit-scrollbar,
  .quick-path::-webkit-scrollbar,
  .step-tabs::-webkit-scrollbar,
  .tools::-webkit-scrollbar,
  .bando-actions::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 520px) {
  .nav .brand {
    max-width: calc(100vw - 112px) !important;
  }

  .nav .brand strong {
    display: block;
    max-width: 100%;
    overflow: hidden;
    font-size: 1.02rem !important;
    text-overflow: ellipsis;
  }

  .nav .brand span,
  .nav .brand small,
  .nav .brand-text > span {
    font-size: 0.62rem !important;
    letter-spacing: 0.08em !important;
  }

  .nav .brand-logo,
  .nav .brand > img,
  .page-nav img {
    width: 34px !important;
    height: 34px !important;
  }
}

@media (max-width: 900px) {
  body.agenda-module-page .header {
    position: sticky;
    top: 0;
  }

  body.agenda-module-page .nav:not(.nav-mobile-menu) {
    width: min(100% - 20px, var(--front-nav-max)) !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    padding: 8px 0 !important;
  }

  body.agenda-module-page .nav .brand {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.agenda-module-page .nav .brand-logo,
  body.agenda-module-page .nav .brand > img {
    width: 34px !important;
    height: 34px !important;
    padding: 3px !important;
  }

  body.agenda-module-page .nav .brand strong {
    font-size: 1rem !important;
  }

  body.agenda-module-page .nav .brand-text > span {
    font-size: 0.58rem !important;
    letter-spacing: 0.07em !important;
  }

  body.agenda-module-page .nav:not(.nav-mobile-menu) .nav-links,
  body.agenda-module-page .nav:not(.nav-mobile-menu) .nav-actions {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    padding: 1px 0 4px !important;
    -ms-overflow-style: none;
    scrollbar-width: none !important;
  }

  body.agenda-module-page .nav:not(.nav-mobile-menu) .nav-links::-webkit-scrollbar,
  body.agenda-module-page .nav:not(.nav-mobile-menu) .nav-actions::-webkit-scrollbar {
    display: none;
  }

  body.agenda-module-page .nav:not(.nav-mobile-menu) .nav-links a,
  body.agenda-module-page .nav:not(.nav-mobile-menu) .nav-actions a,
  body.agenda-module-page .nav:not(.nav-mobile-menu) .nav-actions .button {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: max-content !important;
    min-height: 32px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    font-size: 0.72rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 520px) {
  body.agenda-module-page .nav:not(.nav-mobile-menu) {
    gap: 6px !important;
    padding: 7px 0 !important;
  }

  body.agenda-module-page .nav .brand {
    max-width: 100% !important;
  }

  body.agenda-module-page .nav .brand strong {
    font-size: 0.96rem !important;
  }

  body.agenda-module-page .nav .brand-logo,
  body.agenda-module-page .nav .brand > img {
    width: 32px !important;
    height: 32px !important;
  }

  body.agenda-module-page .nav:not(.nav-mobile-menu) .nav-links a,
  body.agenda-module-page .nav:not(.nav-mobile-menu) .nav-actions a,
  body.agenda-module-page .nav:not(.nav-mobile-menu) .nav-actions .button {
    min-height: 30px !important;
    padding: 0 9px !important;
    font-size: 0.68rem !important;
  }
}

/* UX clarity: only real controls should feel clickable. */
:where(
  .card,
  .work-card,
  .project-card,
  .form-card,
  .registration-card,
  .book-card,
  .about-card,
  .hero-card,
  .quick-path-card,
  .quick-fact,
  .path-card,
  .info-card,
  .payment-card,
  .payment-option-card,
  .registry-card,
  .join-card,
  .event-card,
  .route-card,
  .hall-card,
  .winner-card,
  .technical-card,
  .agenda-qr-card,
  .table-visual-card,
  .active-project-card,
  .active-project-note,
  .pamuk-hero-status,
  .free-membership-badge,
  .wizard-micro-guide,
  .choice-card,
  .payment-panel,
  .confirm-box,
  .project-badge,
  .badge,
  .chip,
  .mode-badge,
  .price-badge,
  .payment-chip,
  .detail,
  .metric,
  .stat,
  .pamuk-value-strip span,
  .membership-value-list span,
  .choice-points li
):not(a):not(button):not(summary):not(label):not(input):not(select):not(textarea):not([role="button"]):not([tabindex]) {
  cursor: default !important;
  transform: none !important;
  filter: none !important;
}

:where(
  .card,
  .work-card,
  .project-card,
  .book-card,
  .hero-card,
  .quick-path-card,
  .quick-fact,
  .path-card,
  .info-card,
  .payment-card,
  .payment-option-card,
  .registry-card,
  .join-card,
  .event-card,
  .route-card,
  .hall-card,
  .winner-card,
  .technical-card,
  .agenda-qr-card,
  .table-visual-card,
  .active-project-card,
  .active-project-note,
  .free-membership-badge,
  .wizard-micro-guide,
  .choice-card,
  .payment-panel,
  .confirm-box,
  .project-badge,
  .badge,
  .chip,
  .mode-badge,
  .price-badge,
  .payment-chip,
  .detail,
  .metric,
  .stat,
  .pamuk-value-strip span,
  .membership-value-list span,
  .choice-points li
):not(a):not(button):not(summary):not(label):not(input):not(select):not(textarea):not([role="button"]):not([tabindex]) {
  box-shadow: none !important;
}

:where(
  .card,
  .work-card,
  .project-card,
  .form-card,
  .registration-card,
  .book-card,
  .about-card,
  .hero-card,
  .quick-path-card,
  .quick-fact,
  .path-card,
  .info-card,
  .payment-card,
  .payment-option-card,
  .registry-card,
  .join-card,
  .event-card,
  .route-card,
  .hall-card,
  .winner-card,
  .technical-card,
  .agenda-qr-card,
  .table-visual-card,
  .active-project-card,
  .active-project-note,
  .pamuk-hero-status,
  .free-membership-badge,
  .wizard-micro-guide,
  .choice-card,
  .payment-panel,
  .confirm-box,
  .project-badge,
  .badge,
  .chip,
  .mode-badge,
  .price-badge,
  .payment-chip,
  .detail,
  .metric,
  .stat,
  .pamuk-value-strip span,
  .membership-value-list span,
  .choice-points li
):not(a):not(button):not(summary):not(label):not(input):not(select):not(textarea):not([role="button"]):not([tabindex]):hover {
  cursor: default !important;
  transform: none !important;
  box-shadow: none !important;
  filter: none !important;
}

:where(a[href], button, summary, label, select, input[type="button"], input[type="submit"], input[type="reset"], input[type="checkbox"], input[type="radio"], input[type="file"], [role="button"], [tabindex]:not([tabindex="-1"])) {
  cursor: pointer;
}

:where(input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]), textarea) {
  cursor: text;
}

/* Informational surfaces must not use the button visual language. */
:where(
  .card,
  .work-card,
  .project-card,
  .form-card,
  .registration-card,
  .book-card,
  .about-card,
  .hero-card,
  .quick-path-card,
  .quick-fact,
  .path-card,
  .info-card,
  .payment-card,
  .payment-option-card,
  .registry-card,
  .join-card,
  .event-card,
  .route-card,
  .hall-card,
  .winner-card,
  .technical-card,
  .agenda-qr-card,
  .table-visual-card,
  .active-projects,
  .active-project-card,
  .active-project-note,
  .pamuk-hero-status,
  .membership-signup-copy,
  .choice-card,
  .payment-panel,
  .confirm-box,
  .metric,
  .stat,
  .detail,
  .pamuk-value-strip span,
  .membership-value-list span,
  .choice-points li
):not(a):not(button):not(summary):not(label):not(input):not(select):not(textarea):not([role="button"]):not([tabindex]) {
  border-radius: 8px !important;
  background-image: none !important;
  box-shadow: none !important;
  transition: none !important;
}

:where(
  .project-badge,
  .badge,
  .chip,
  .mode-badge,
  .price-badge,
  .payment-chip,
  .free-membership-badge,
  .wizard-micro-badge,
  .active-projects-count,
  .hero-card .highlight,
  .social-chip
):not(a):not(button):not(summary):not(label):not(input):not(select):not(textarea):not([role="button"]):not([tabindex]) {
  min-height: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  cursor: default !important;
  transform: none !important;
  transition: none !important;
}

:where(
  .project-badge,
  .badge,
  .chip,
  .mode-badge,
  .price-badge,
  .payment-chip,
  .free-membership-badge,
  .wizard-micro-badge,
  .active-projects-count,
  .hero-card .highlight,
  .social-chip
):not(a):not(button):not(summary):not(label):not(input):not(select):not(textarea):not([role="button"]):not([tabindex]):hover {
  background: transparent !important;
  box-shadow: none !important;
  cursor: default !important;
  transform: none !important;
}

:where(a[href].button, button.button, .button, .btn, .cta, .cta-button, .pamuk-mobile-nav-toggle, .tab-button, .step-tab, .membership-step-tab, .copy-causale, .pamuk-payment-qr-copy) {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

/* Public Pamuk identity palette. Keep this loaded after page-level styles. */
:root {
  --nero-inchiostro: #070902;
  --oliva-profondo: #2C2F18;
  --verde-macchina: #485140;
  --verde-salvia: #677567;
  --crema-carta: #EADEBE;
  --rosa-cipria: #E4B6AA;
  --rosa-retro: #D58092;
  --tortora-antico: #B2A58E;
  --pamuk-paper-specks: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Ccircle cx='18' cy='22' r='0.75' fill='%2370705e' opacity='0.16'/%3E%3Ccircle cx='58' cy='31' r='0.55' fill='%23ffffff' opacity='0.22'/%3E%3Ccircle cx='105' cy='18' r='0.65' fill='%23b2a58e' opacity='0.18'/%3E%3Ccircle cx='171' cy='39' r='0.7' fill='%2370705e' opacity='0.12'/%3E%3Ccircle cx='202' cy='15' r='0.55' fill='%23ffffff' opacity='0.18'/%3E%3Ccircle cx='34' cy='78' r='0.55' fill='%23b2a58e' opacity='0.18'/%3E%3Ccircle cx='86' cy='91' r='0.7' fill='%2370705e' opacity='0.12'/%3E%3Ccircle cx='143' cy='70' r='0.6' fill='%23ffffff' opacity='0.2'/%3E%3Ccircle cx='194' cy='101' r='0.75' fill='%2370705e' opacity='0.13'/%3E%3Ccircle cx='23' cy='139' r='0.6' fill='%23ffffff' opacity='0.18'/%3E%3Ccircle cx='73' cy='154' r='0.8' fill='%2370705e' opacity='0.11'/%3E%3Ccircle cx='128' cy='132' r='0.55' fill='%23b2a58e' opacity='0.16'/%3E%3Ccircle cx='178' cy='160' r='0.7' fill='%23ffffff' opacity='0.18'/%3E%3Ccircle cx='206' cy='191' r='0.65' fill='%2370705e' opacity='0.11'/%3E%3Ccircle cx='48' cy='203' r='0.55' fill='%23b2a58e' opacity='0.16'/%3E%3Ccircle cx='116' cy='199' r='0.65' fill='%23ffffff' opacity='0.17'/%3E%3Cpath d='M28 45l6 1.4' stroke='%2370705e' opacity='0.09' stroke-width='0.8'/%3E%3Cpath d='M91 52l4.8-1.2' stroke='%23ffffff' opacity='0.16' stroke-width='0.75'/%3E%3Cpath d='M157 112l7 1.5' stroke='%2370705e' opacity='0.08' stroke-width='0.8'/%3E%3Cpath d='M61 122l5.6-2.1' stroke='%23b2a58e' opacity='0.11' stroke-width='0.75'/%3E%3Cpath d='M137 187l6.2 1.1' stroke='%2370705e' opacity='0.08' stroke-width='0.8'/%3E%3C/g%3E%3C/svg%3E");
  --pamuk-paper-fibers: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='340' viewBox='0 0 340 340'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M20 44c4.5-.8 8.2-.2 12 1.3' stroke='%23677567' stroke-width='0.7' opacity='0.07'/%3E%3Cpath d='M76 28c2.5 2.2 5.7 3.1 10.5 2.7' stroke='%23ffffff' stroke-width='0.65' opacity='0.12'/%3E%3Cpath d='M151 67c4.3 1.5 8.8 1.1 13.2-.5' stroke='%23677567' stroke-width='0.68' opacity='0.065'/%3E%3Cpath d='M246 51c5.8-1.7 10.4-1.4 14.1.8' stroke='%23b2a58e' stroke-width='0.7' opacity='0.09'/%3E%3Cpath d='M305 94c3.4.5 6.4 1.7 9.3 3.7' stroke='%23677567' stroke-width='0.62' opacity='0.06'/%3E%3Cpath d='M38 132c6.2 1.2 10.3.7 14.9-1.6' stroke='%23ffffff' stroke-width='0.65' opacity='0.1'/%3E%3Cpath d='M121 151c3.4-1.1 6.7-.8 10.2.7' stroke='%23677567' stroke-width='0.68' opacity='0.065'/%3E%3Cpath d='M206 129c3.8 2 7.4 2.3 11.1.8' stroke='%23b2a58e' stroke-width='0.65' opacity='0.085'/%3E%3Cpath d='M281 175c5-.8 8.9-.4 12.8 1.5' stroke='%23677567' stroke-width='0.65' opacity='0.06'/%3E%3Cpath d='M61 225c3.2-1.8 6.6-1.9 10.1-.2' stroke='%23b2a58e' stroke-width='0.65' opacity='0.085'/%3E%3Cpath d='M162 241c4.9.6 9.7-.2 14.2-2.3' stroke='%23ffffff' stroke-width='0.65' opacity='0.1'/%3E%3Cpath d='M236 276c3.7 1.6 7.1 1.8 10.4.5' stroke='%23677567' stroke-width='0.68' opacity='0.06'/%3E%3Cpath d='M303 301c4.1-.9 7.9-.4 11.5 1.2' stroke='%23b2a58e' stroke-width='0.65' opacity='0.08'/%3E%3C/g%3E%3C/svg%3E");

  --ink: var(--oliva-profondo);
  --muted: var(--verde-salvia);
  --paper: var(--crema-carta);
  --cream: var(--crema-carta);
  --surface: rgba(228, 182, 170, 0.34);
  --surface-strong: rgba(228, 182, 170, 0.56);
  --line: rgba(72, 81, 64, 0.26);
  --accent: var(--rosa-retro);
  --accent-strong: var(--rosa-retro);
  --accent-soft: rgba(213, 128, 146, 0.2);
  --front-nav-ink: var(--nero-inchiostro);
  --front-nav-muted: var(--crema-carta);
  --front-nav-line: rgba(234, 222, 190, 0.26);
  --front-nav-glass: rgba(44, 47, 24, 0.94);
  --front-nav-shadow: 0 12px 28px rgba(7, 9, 2, 0.16);
  --front-nav-pill-shadow: none;
  --front-nav-pill-shadow-strong: none;
  --front-surface: rgba(228, 182, 170, 0.36);
  --front-surface-soft: rgba(228, 182, 170, 0.22);
  --front-soft-shadow: none;
  --front-input-shadow: none;
  --pamuk-action-join: var(--rosa-retro);
  --pamuk-action-join-dark: var(--verde-macchina);
  --pamuk-action-value: var(--rosa-retro);
  --pamuk-action-value-dark: var(--oliva-profondo);
  --pamuk-action-hot: var(--rosa-retro);
  --pamuk-action-hot-dark: var(--verde-macchina);
  --pamuk-action-info: var(--verde-macchina);
  --pamuk-action-info-dark: var(--oliva-profondo);
}

html {
  background-color: var(--crema-carta);
  background-image:
    var(--pamuk-paper-specks),
    var(--pamuk-paper-fibers);
  background-size: 220px 220px, 340px 340px;
}

body {
  background-color: var(--crema-carta) !important;
  background-image:
    var(--pamuk-paper-specks),
    var(--pamuk-paper-fibers) !important;
  background-size: 220px 220px, 340px 340px !important;
  color: var(--oliva-profondo) !important;
  accent-color: var(--rosa-retro);
}

::selection {
  background: var(--rosa-retro);
  color: var(--nero-inchiostro);
}

:where(h1, h2, h3, h4, h5, h6, legend, .section-title, .agenda-form-title, .card-title, .table-card-head strong) {
  color: var(--nero-inchiostro) !important;
}

:where(p, li, dd, label, input, select, textarea) {
  color: var(--oliva-profondo);
}

:where(.muted, .subtitle, .lead, .file-note, .step-note, .microcopy, .table-card-head span, .path-card span, .form-status, .agenda-form-lead, .hero p) {
  color: var(--verde-salvia) !important;
}

:where(a[href]):not(.button):not(.btn):not(.brand):not(.ghost-link):not(.nav-home):not(.pamuk-payment-qr-link):not(.paypal-pay-link) {
  color: var(--rosa-retro);
  text-decoration-color: rgba(213, 128, 146, 0.42);
}

:where(a[href]):not(.button):not(.btn):not(.brand):hover,
:where(a[href]):not(.button):not(.btn):not(.brand):focus-visible {
  color: var(--verde-macchina);
  text-decoration-color: currentColor;
}

:where(.header, .site-header, body > header.nav) {
  border-bottom-color: rgba(7, 9, 2, 0.18) !important;
  background: rgba(44, 47, 24, 0.96) !important;
  color: var(--crema-carta) !important;
  box-shadow: 0 12px 28px rgba(7, 9, 2, 0.16) !important;
}

:where(.nav, .page-nav, .site-header nav) {
  color: var(--crema-carta) !important;
}

:where(.nav .brand strong, .site-header .logo, .site-header .brand strong) {
  color: var(--crema-carta) !important;
}

:where(.nav .brand span, .nav .brand small, .nav .brand-text > span, .site-header .logo span) {
  color: var(--rosa-cipria) !important;
}

:where(
  .nav .nav-links a,
  .nav .nav-actions a,
  .nav .nav-actions .button,
  .nav a.ghost-link,
  .nav a.button,
  .page-nav a,
  .page-nav button,
  .footer-nav a,
  .site-header .menu a
) {
  border-color: rgba(234, 222, 190, 0.34) !important;
  background: rgba(234, 222, 190, 0.92) !important;
  background-color: rgba(234, 222, 190, 0.92) !important;
  color: var(--nero-inchiostro) !important;
  box-shadow: none !important;
}

:where(
  .nav a.button,
  .nav .nav-actions .button,
  .page-nav .button,
  .page-nav .primary,
  .footer-nav a[href^="mailto:"]
) {
  border-color: rgba(7, 9, 2, 0.18) !important;
  background: var(--rosa-retro) !important;
  background-color: var(--rosa-retro) !important;
  color: #ffffff !important;
}

:where(.nav .nav-links a:hover, .nav .nav-links a:focus-visible, .nav .nav-actions a:hover, .nav .nav-actions a:focus-visible, .page-nav a:hover, .page-nav a:focus-visible, .footer-nav a:hover, .footer-nav a:focus-visible) {
  border-color: rgba(234, 222, 190, 0.5) !important;
  background: var(--verde-macchina) !important;
  background-color: var(--verde-macchina) !important;
  color: #ffffff !important;
}

:where(.site-footer, footer) {
  border-top-color: rgba(234, 222, 190, 0.22) !important;
  background: var(--nero-inchiostro) !important;
  color: var(--crema-carta) !important;
}

:where(.site-footer h2, .site-footer h3, footer h2, footer h3, .site-footer strong, footer strong) {
  color: var(--crema-carta) !important;
}

:where(.site-footer p, .site-footer span, footer p, footer span) {
  color: rgba(234, 222, 190, 0.78) !important;
}

:where(
  .button,
  .btn,
  button[type="button"],
  button[type="submit"],
  input[type="submit"],
  input[type="button"],
  .step-button,
  .step-button--primary,
  .step-tab,
  .step-pill,
  .tab-button,
  .copy-causale,
  .pamuk-payment-qr-copy,
  .pamuk-payment-qr-link,
  .paypal-pay-link,
  .text-confirm-button,
  .date-toggle-button,
  .selected-date-box button
) {
  border-color: rgba(7, 9, 2, 0.18) !important;
  border-radius: 8px !important;
  background: var(--rosa-retro) !important;
  background-color: var(--rosa-retro) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  font-weight: 900;
}

:where(
  .button:hover,
  .button:focus-visible,
  .btn:hover,
  .btn:focus-visible,
  button[type="button"]:hover,
  button[type="button"]:focus-visible,
  button[type="submit"]:hover,
  button[type="submit"]:focus-visible,
  input[type="submit"]:hover,
  input[type="button"]:hover,
  .step-button:hover,
  .step-button:focus-visible,
  .step-tab:hover,
  .step-tab:focus-visible,
  .step-pill:hover,
  .step-pill:focus-visible,
  .tab-button:hover,
  .tab-button:focus-visible,
  .copy-causale:hover,
  .copy-causale:focus-visible,
  .pamuk-payment-qr-copy:hover,
  .pamuk-payment-qr-copy:focus-visible,
  .pamuk-payment-qr-link:hover,
  .pamuk-payment-qr-link:focus-visible,
  .paypal-pay-link:hover,
  .paypal-pay-link:focus-visible,
  .text-confirm-button:hover,
  .text-confirm-button:focus-visible,
  .date-toggle-button:hover,
  .date-toggle-button:focus-visible
) {
  border-color: var(--verde-macchina) !important;
  background: var(--verde-macchina) !important;
  background-color: var(--verde-macchina) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}

:where(.button.secondary, .button.is-light, .ghost-link, .step-button:not(.step-button--primary), .step-tab:not(.is-active), .step-pill:not(.is-active), .tab-button:not(.is-active), .pamuk-payment-qr-link) {
  border-color: rgba(72, 81, 64, 0.32) !important;
  background: rgba(234, 222, 190, 0.92) !important;
  background-color: rgba(234, 222, 190, 0.92) !important;
  color: var(--oliva-profondo) !important;
}

:where(button:disabled, .button:disabled, .step-button:disabled, .date-toggle-button:disabled, input[type="submit"]:disabled) {
  border-color: rgba(103, 117, 103, 0.24) !important;
  background: rgba(178, 165, 142, 0.38) !important;
  color: rgba(44, 47, 24, 0.62) !important;
  cursor: not-allowed !important;
  transform: none !important;
}

:where(
  .card,
  .panel,
  .hero-card,
  .project-card,
  .work-card,
  .book-card,
  .about-panel,
  .collective-card,
  .quick-path-card,
  .quick-fact,
  .path-card,
  .info-card,
  .event-card,
  .route-card,
  .hall-card,
  .winner-card,
  .technical-card,
  .form-shell,
  .form-step,
  .choice-card,
  .payment-panel,
  .confirm-box,
  .closed-call-card,
  .generic-intro,
  .generic-rule-card,
  .generic-flow,
  .form-orientation,
  .orientation-card,
  .agenda-data-card,
  .agenda-form-summary-card,
  .works-panel,
  .upload-guide,
  .date-payment-card,
  .date-mode-card,
  .date-payment-option,
  .date-preference-card,
  .opera-box,
  .confirmation-card,
  .membership-box,
  .guardian-card,
  .table-visual-card,
  .join-panel,
  .verify-card
) {
  border-color: rgba(72, 81, 64, 0.24) !important;
  background: rgba(228, 182, 170, 0.36) !important;
  background-image: none !important;
  color: var(--oliva-profondo) !important;
  box-shadow: none !important;
}

:where(.hero, .section, .active-projects, .quote-band, .membership-signup-copy, .public-agenda-calendar, .date-booking-note, .social-note) {
  background-color: transparent;
  color: var(--oliva-profondo);
}

:where(.section:nth-of-type(even), .active-project-note, .agenda-form-summary, .payment-methods, .choice-points li, .pamuk-payment-qr-card, .details, .status) {
  border-color: rgba(72, 81, 64, 0.22) !important;
  background: rgba(228, 182, 170, 0.3) !important;
  background-image: none !important;
  color: var(--oliva-profondo) !important;
  box-shadow: none !important;
}

:where(
  .eyebrow,
  .project-badge,
  .badge,
  .chip,
  .mode-badge,
  .price-badge,
  .payment-chip,
  .free-membership-badge,
  .wizard-micro-badge,
  .active-projects-count,
  .hero-card .highlight,
  .social-chip,
  mark,
  .highlight
) {
  border-color: rgba(213, 128, 146, 0.34) !important;
  background: rgba(213, 128, 146, 0.18) !important;
  background-image: none !important;
  color: var(--nero-inchiostro) !important;
  box-shadow: none !important;
}

:where(.wizard-micro-title, .choice-points strong, .hero-card strong, .agenda-card-title, .orientation-card strong) {
  color: var(--nero-inchiostro) !important;
}

:where(.progress, .step-progress, .public-calendar-days) {
  border-color: rgba(72, 81, 64, 0.22) !important;
  background: rgba(234, 222, 190, 0.72) !important;
}

:where(.progress span, .step-progress span, .progress-bar, .is-active .step-index, .step-tab.is-active, .step-pill.is-active, .orientation-card.is-active) {
  background: var(--rosa-retro) !important;
  background-color: var(--rosa-retro) !important;
  color: #ffffff !important;
  border-color: rgba(7, 9, 2, 0.18) !important;
}

:where(input, select, textarea) {
  border-color: rgba(72, 81, 64, 0.34) !important;
  background: rgba(234, 222, 190, 0.82) !important;
  color: var(--oliva-profondo) !important;
  box-shadow: none !important;
}

:where(input:focus, select:focus, textarea:focus, input:focus-visible, select:focus-visible, textarea:focus-visible) {
  border-color: var(--rosa-retro) !important;
  outline: 3px solid rgba(213, 128, 146, 0.24) !important;
}

:where(input::placeholder, textarea::placeholder) {
  color: rgba(103, 117, 103, 0.86) !important;
}

:where(table, .table, .public-calendar-grid) {
  border-color: rgba(72, 81, 64, 0.22) !important;
}

:where(th, .calendar-head, .public-calendar-weekday) {
  background: var(--verde-macchina) !important;
  color: #ffffff !important;
}

:where(td, .public-calendar-day, .detail-row) {
  border-color: rgba(72, 81, 64, 0.18) !important;
}

:where(hr, .divider, .section-divider) {
  border-color: rgba(72, 81, 64, 0.22) !important;
}

:where(summary) {
  color: var(--nero-inchiostro) !important;
}

@media (max-width: 720px) {
  :where(.nav .nav-links a, .nav .nav-actions a, .nav .nav-actions .button, .page-nav a, .footer-nav a) {
    border-radius: 8px !important;
  }
}

/* Membership form button cleanup: distinguish actions from guidance and state controls. */
body :where(
  a.button.join-green,
  a.button.cta-join,
  button.button.join-green,
  button.button.green,
  button.button.cta-join,
  button.button.cta-info,
  a.button.cta-info,
  a.button.cta-value,
  button.button.cta-value,
  .button.green.cta-value,
  .nav a.button.join-green,
  .nav a.button.cta-join,
  .nav .nav-actions a.button.join-green,
  .nav .nav-actions a.button.cta-join,
  .nav .nav-actions a.button[href*="iscrizione-pamuk"],
  .nav .nav-actions a.button[href*="tesseramento"]
) {
  border-color: rgba(7, 9, 2, 0.16) !important;
  background: var(--rosa-retro) !important;
  background-color: var(--rosa-retro) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

body :where(
  a.button.join-green:hover,
  a.button.join-green:focus-visible,
  a.button.cta-join:hover,
  a.button.cta-join:focus-visible,
  button.button.join-green:hover,
  button.button.join-green:focus-visible,
  button.button.green:hover,
  button.button.green:focus-visible,
  button.button.cta-info:hover,
  button.button.cta-info:focus-visible,
  a.button.cta-info:hover,
  a.button.cta-info:focus-visible,
  a.button.cta-value:hover,
  a.button.cta-value:focus-visible,
  button.button.cta-value:hover,
  button.button.cta-value:focus-visible,
  .button.green.cta-value:hover,
  .button.green.cta-value:focus-visible,
  .nav a.button.join-green:hover,
  .nav a.button.join-green:focus-visible,
  .nav a.button.cta-join:hover,
  .nav a.button.cta-join:focus-visible,
  .nav .nav-actions a.button.join-green:hover,
  .nav .nav-actions a.button.join-green:focus-visible,
  .nav .nav-actions a.button.cta-join:hover,
  .nav .nav-actions a.button.cta-join:focus-visible
) {
  border-color: var(--verde-macchina) !important;
  background: var(--verde-macchina) !important;
  background-color: var(--verde-macchina) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}

body :where(a.button.secondary, button.button.secondary, .nav .nav-actions a.button.secondary) {
  border-color: rgba(72, 81, 64, 0.36) !important;
  background: rgba(234, 222, 190, 0.86) !important;
  background-color: rgba(234, 222, 190, 0.86) !important;
  color: var(--oliva-profondo) !important;
  box-shadow: none !important;
}

body :where(a.button.secondary:hover, a.button.secondary:focus-visible, button.button.secondary:hover, button.button.secondary:focus-visible, .nav .nav-actions a.button.secondary:hover, .nav .nav-actions a.button.secondary:focus-visible) {
  border-color: var(--verde-macchina) !important;
  background: var(--verde-macchina) !important;
  background-color: var(--verde-macchina) !important;
  color: #ffffff !important;
}

body :where(button.button:disabled, .button:disabled, .step-button:disabled) {
  border-color: rgba(103, 117, 103, 0.22) !important;
  background: rgba(178, 165, 142, 0.28) !important;
  color: rgba(44, 47, 24, 0.56) !important;
  box-shadow: none !important;
  transform: none !important;
}

body .wizard-regulation-action summary {
  display: inline-flex !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--rosa-retro) !important;
  box-shadow: none !important;
  font-size: 0.86rem !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

body .wizard-regulation-action summary:hover,
body .wizard-regulation-action summary:focus-visible {
  color: var(--verde-macchina) !important;
  outline: none;
}

body .step-tabs {
  gap: 6px !important;
  padding: 5px !important;
  border: 1px solid rgba(72, 81, 64, 0.22);
  border-radius: 8px;
  background: rgba(234, 222, 190, 0.58);
}

body .step-tab {
  min-height: 38px !important;
  border-color: transparent !important;
  border-radius: 6px !important;
  background: transparent !important;
  background-color: transparent !important;
  color: var(--verde-salvia) !important;
  box-shadow: none !important;
  transform: none !important;
}

body .step-tab.is-active {
  border-color: rgba(213, 128, 146, 0.42) !important;
  background: rgba(213, 128, 146, 0.18) !important;
  background-color: rgba(213, 128, 146, 0.18) !important;
  color: var(--nero-inchiostro) !important;
  box-shadow: inset 0 -2px 0 var(--rosa-retro) !important;
}

body .step-tab:hover,
body .step-tab:focus-visible {
  border-color: rgba(72, 81, 64, 0.28) !important;
  background: rgba(228, 182, 170, 0.18) !important;
  background-color: rgba(228, 182, 170, 0.18) !important;
  color: var(--nero-inchiostro) !important;
  box-shadow: none !important;
  transform: none !important;
}

body :where(.step-panel, .choice-card, .payment-panel, .confirm-box) {
  border-color: rgba(72, 81, 64, 0.22) !important;
  background: rgba(234, 222, 190, 0.5) !important;
  background-image: none !important;
  box-shadow: none !important;
}

body .choice-points li {
  min-height: 0 !important;
  border-color: rgba(72, 81, 64, 0.18) !important;
  border-left: 3px solid rgba(213, 128, 146, 0.55) !important;
  border-radius: 8px !important;
  background: rgba(234, 222, 190, 0.48) !important;
  box-shadow: none !important;
}

body .choice-card .checkbox-field,
body .confirm-box .checkbox-field {
  padding: 10px 11px;
  border: 1px solid rgba(72, 81, 64, 0.18);
  border-radius: 8px;
  background: rgba(234, 222, 190, 0.42);
}

body .payment-method {
  border-color: rgba(72, 81, 64, 0.22) !important;
  border-radius: 8px !important;
  background: rgba(234, 222, 190, 0.48) !important;
  color: var(--oliva-profondo) !important;
  box-shadow: none !important;
  transform: none !important;
}

body .payment-method:has(input:checked) {
  border-color: var(--rosa-retro) !important;
  background: rgba(213, 128, 146, 0.16) !important;
  box-shadow: inset 0 0 0 1px rgba(213, 128, 146, 0.28) !important;
}

body .payment-method.is-disabled {
  opacity: 0.58;
}

body :where(.copy-causale, .pamuk-payment-qr-copy, .pamuk-payment-qr-link) {
  min-height: 34px !important;
  padding: 0 12px !important;
  border-color: rgba(72, 81, 64, 0.3) !important;
  border-radius: 8px !important;
  background: rgba(234, 222, 190, 0.78) !important;
  background-color: rgba(234, 222, 190, 0.78) !important;
  color: var(--oliva-profondo) !important;
  box-shadow: none !important;
}

body :where(.copy-causale:hover, .copy-causale:focus-visible, .pamuk-payment-qr-copy:hover, .pamuk-payment-qr-copy:focus-visible, .pamuk-payment-qr-link:hover, .pamuk-payment-qr-link:focus-visible) {
  border-color: var(--verde-macchina) !important;
  background: var(--verde-macchina) !important;
  background-color: var(--verde-macchina) !important;
  color: #ffffff !important;
  transform: none !important;
}

html body .nav .nav-actions a.button.join-green.cta-join,
html body .nav .nav-actions a.button.cta-join,
html body .confirm-box button.button.green.cta-join,
html body .payment-row a.button.green.cta-value,
html body .step-nav button.button.cta-info,
html body a.button.cta-value,
html body button.button.green,
html body button.button.cta-info {
  border-color: rgba(7, 9, 2, 0.16) !important;
  background: var(--rosa-retro) !important;
  background-color: var(--rosa-retro) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

html body .nav .nav-actions a.button.secondary,
html body .step-nav button.button.secondary {
  border-color: rgba(72, 81, 64, 0.34) !important;
  background: rgba(234, 222, 190, 0.84) !important;
  background-color: rgba(234, 222, 190, 0.84) !important;
  color: var(--oliva-profondo) !important;
  box-shadow: none !important;
}

html body .nav .nav-actions a.button.join-green.cta-join:hover,
html body .nav .nav-actions a.button.join-green.cta-join:focus-visible,
html body .nav .nav-actions a.button.secondary:hover,
html body .nav .nav-actions a.button.secondary:focus-visible,
html body .confirm-box button.button.green.cta-join:hover,
html body .confirm-box button.button.green.cta-join:focus-visible,
html body .payment-row a.button.green.cta-value:hover,
html body .payment-row a.button.green.cta-value:focus-visible,
html body .step-nav button.button.cta-info:hover,
html body .step-nav button.button.cta-info:focus-visible,
html body a.button.cta-value:hover,
html body a.button.cta-value:focus-visible,
html body button.button.green:hover,
html body button.button.green:focus-visible,
html body button.button.cta-info:hover,
html body button.button.cta-info:focus-visible {
  border-color: var(--verde-macchina) !important;
  background: var(--verde-macchina) !important;
  background-color: var(--verde-macchina) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}

html body .step-nav button.button.secondary:disabled {
  border-color: rgba(103, 117, 103, 0.22) !important;
  background: rgba(178, 165, 142, 0.28) !important;
  color: rgba(44, 47, 24, 0.56) !important;
  transform: none !important;
}

/* Pamuk reference system: palette, typography and button hierarchy. */
:root {
  --pamuk-font-title: "Playfair Display", Georgia, "Times New Roman", serif;
  --pamuk-font-ui: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pamuk-btn-radius: 7px;
  --pamuk-btn-height: 46px;
  --pamuk-btn-height-sm: 36px;
  --pamuk-btn-primary: #D58092;
  --pamuk-btn-primary-hover: #C66F82;
  --pamuk-btn-danger: #A93B3B;
  --pamuk-btn-disabled: rgba(178, 165, 142, 0.28);
}

body {
  font-family: var(--pamuk-font-ui) !important;
}

body :where(h1, h2, h3, .nav .brand strong, .site-footer strong) {
  font-family: var(--pamuk-font-title) !important;
  letter-spacing: 0 !important;
}

html body :where(
  a.button,
  button.button,
  .btn,
  .cta,
  .cta-button,
  .step-button,
  input[type="submit"],
  input[type="button"],
  .copy-causale,
  .pamuk-payment-qr-copy,
  .pamuk-payment-qr-link,
  .paypal-pay-link
) {
  min-height: var(--pamuk-btn-height) !important;
  padding: 0 18px !important;
  border-radius: var(--pamuk-btn-radius) !important;
  box-shadow: none !important;
  font-family: var(--pamuk-font-ui) !important;
  font-size: 0.83rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.04em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

html body :where(
  a.button:not(.secondary):not(.ghost-link),
  button.button:not(.secondary),
  input[type="submit"],
  .cta,
  .cta-button,
  .step-nav button.button.cta-info,
  .payment-row a.button.green.cta-value,
  .confirm-box button.button.green.cta-join
) {
  border-color: transparent !important;
  background: linear-gradient(135deg, var(--pamuk-btn-primary), #D06F86) !important;
  background-color: var(--pamuk-btn-primary) !important;
  color: #ffffff !important;
}

html body :where(
  a.button:not(.secondary):not(.ghost-link):hover,
  a.button:not(.secondary):not(.ghost-link):focus-visible,
  button.button:not(.secondary):hover,
  button.button:not(.secondary):focus-visible,
  input[type="submit"]:hover,
  input[type="submit"]:focus-visible,
  .cta:hover,
  .cta:focus-visible,
  .cta-button:hover,
  .cta-button:focus-visible,
  .step-nav button.button.cta-info:hover,
  .step-nav button.button.cta-info:focus-visible,
  .payment-row a.button.green.cta-value:hover,
  .payment-row a.button.green.cta-value:focus-visible,
  .confirm-box button.button.green.cta-join:hover,
  .confirm-box button.button.green.cta-join:focus-visible
) {
  border-color: transparent !important;
  background: linear-gradient(135deg, var(--pamuk-btn-primary-hover), var(--pamuk-btn-primary)) !important;
  background-color: var(--pamuk-btn-primary-hover) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}

html body :where(a.button.secondary, button.button.secondary, .btn.secondary) {
  border-color: var(--rosa-retro) !important;
  background: transparent !important;
  background-color: transparent !important;
  color: var(--rosa-retro) !important;
}

html body :where(a.button.secondary:hover, a.button.secondary:focus-visible, button.button.secondary:hover, button.button.secondary:focus-visible, .btn.secondary:hover, .btn.secondary:focus-visible) {
  border-color: var(--rosa-retro) !important;
  background: rgba(213, 128, 146, 0.1) !important;
  background-color: rgba(213, 128, 146, 0.1) !important;
  color: var(--rosa-retro) !important;
  transform: translateY(-1px);
}

html body :where(
  a.button.cta-info,
  button.button.cta-info:not(.step-nav button),
  .button.info,
  .button.download,
  .pamuk-payment-qr-link,
  .copy-causale,
  .pamuk-payment-qr-copy
) {
  border-color: var(--verde-macchina) !important;
  background: transparent !important;
  background-color: transparent !important;
  color: var(--oliva-profondo) !important;
}

html body :where(
  a.button.cta-info:hover,
  a.button.cta-info:focus-visible,
  button.button.cta-info:not(.step-nav button):hover,
  button.button.cta-info:not(.step-nav button):focus-visible,
  .button.info:hover,
  .button.info:focus-visible,
  .button.download:hover,
  .button.download:focus-visible,
  .pamuk-payment-qr-link:hover,
  .pamuk-payment-qr-link:focus-visible,
  .copy-causale:hover,
  .copy-causale:focus-visible,
  .pamuk-payment-qr-copy:hover,
  .pamuk-payment-qr-copy:focus-visible
) {
  border-color: var(--verde-macchina) !important;
  background: rgba(72, 81, 64, 0.08) !important;
  background-color: rgba(72, 81, 64, 0.08) !important;
  color: var(--oliva-profondo) !important;
  transform: translateY(-1px);
}

html body :where(.ghost-link, a.button.ghost, button.button.ghost) {
  border-color: var(--nero-inchiostro) !important;
  background: transparent !important;
  background-color: transparent !important;
  color: var(--nero-inchiostro) !important;
}

html body :where(.ghost-link:hover, .ghost-link:focus-visible, a.button.ghost:hover, a.button.ghost:focus-visible, button.button.ghost:hover, button.button.ghost:focus-visible) {
  border-color: var(--verde-macchina) !important;
  background: rgba(72, 81, 64, 0.08) !important;
  color: var(--oliva-profondo) !important;
}

html body :where(.button.danger, .btn.danger, button.danger, a.danger, .delete-button) {
  border-color: var(--pamuk-btn-danger) !important;
  background: transparent !important;
  background-color: transparent !important;
  color: var(--pamuk-btn-danger) !important;
}

html body :where(.button.danger:hover, .button.danger:focus-visible, .btn.danger:hover, .btn.danger:focus-visible, button.danger:hover, button.danger:focus-visible, a.danger:hover, a.danger:focus-visible, .delete-button:hover, .delete-button:focus-visible) {
  border-color: var(--pamuk-btn-danger) !important;
  background: rgba(169, 59, 59, 0.08) !important;
  color: var(--pamuk-btn-danger) !important;
}

html body :where(button:disabled, .button:disabled, .btn:disabled, input[type="submit"]:disabled, input[type="button"]:disabled, .is-disabled > .button, .button.is-disabled) {
  border-color: transparent !important;
  background: var(--pamuk-btn-disabled) !important;
  background-color: var(--pamuk-btn-disabled) !important;
  color: rgba(44, 47, 24, 0.44) !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
  transform: none !important;
}

html body :where(.text-link, .button-text, a:not(.button):not(.btn):not(.brand):not(.ghost-link):not(.nav-home):not(.pamuk-payment-qr-link):not(.paypal-pay-link)) {
  color: var(--rosa-retro);
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

html body .step-tabs {
  border-radius: var(--pamuk-btn-radius) !important;
}

html body .step-tab {
  min-height: 38px !important;
  border-radius: 5px !important;
  font-family: var(--pamuk-font-ui) !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
}

html body .step-tab.is-active {
  background: rgba(213, 128, 146, 0.14) !important;
  box-shadow: inset 0 -2px 0 var(--rosa-retro) !important;
}

html body :where(.choice-card .checkbox-field, .confirm-box .checkbox-field) {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .payment-method {
  border-radius: var(--pamuk-btn-radius) !important;
  background: rgba(234, 222, 190, 0.48) !important;
}

html body .payment-method:has(input:checked) {
  border-color: var(--rosa-retro) !important;
  background: rgba(213, 128, 146, 0.12) !important;
  box-shadow: inset 0 0 0 1px rgba(213, 128, 146, 0.36) !important;
}

html body :where(.step-nav .button, .copy-causale, .pamuk-payment-qr-copy, .pamuk-payment-qr-link) {
  min-height: var(--pamuk-btn-height-sm) !important;
  padding-inline: 14px !important;
}

html body :where(.social-link, .social-button, .icon-button) {
  border-radius: 50% !important;
}

html body .nav .nav-actions a.button,
html body .nav .nav-actions a.ghost-link,
html body .nav .nav-links a,
html body .footer-nav a {
  min-height: var(--pamuk-btn-height) !important;
  border-radius: var(--pamuk-btn-radius) !important;
  font-family: var(--pamuk-font-ui) !important;
  font-size: 0.8rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

html body .nav .nav-actions a.button.join-green.cta-join,
html body .nav .nav-actions a.button.cta-join,
html body .step-nav button.button.cta-info,
html body .confirm-box button.button.green.cta-join,
html body .payment-row a.button.green.cta-value {
  border-color: transparent !important;
  background: linear-gradient(135deg, var(--pamuk-btn-primary), #D06F86) !important;
  background-color: var(--pamuk-btn-primary) !important;
  color: #ffffff !important;
}

html body .nav .nav-actions a.button.secondary,
html body .nav .nav-actions a.ghost-link {
  border-color: var(--rosa-retro) !important;
  background: transparent !important;
  background-color: transparent !important;
  color: var(--rosa-retro) !important;
}

html body .step-nav button.button.cta-info,
html body .step-nav button.button.secondary {
  border-radius: var(--pamuk-btn-radius) !important;
  font-family: var(--pamuk-font-ui) !important;
  font-size: 0.8rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

html body .step-nav button.button.secondary:not(:disabled) {
  border-color: var(--rosa-retro) !important;
  background: transparent !important;
  color: var(--rosa-retro) !important;
}

html body .nav .nav-actions a.button.join-green.cta-join:hover,
html body .nav .nav-actions a.button.join-green.cta-join:focus-visible,
html body .nav .nav-actions a.button.secondary:hover,
html body .nav .nav-actions a.button.secondary:focus-visible,
html body .nav .nav-actions a.ghost-link:hover,
html body .nav .nav-actions a.ghost-link:focus-visible,
html body .step-nav button.button.cta-info:hover,
html body .step-nav button.button.cta-info:focus-visible,
html body .confirm-box button.button.green.cta-join:hover,
html body .confirm-box button.button.green.cta-join:focus-visible,
html body .payment-row a.button.green.cta-value:hover,
html body .payment-row a.button.green.cta-value:focus-visible {
  border-color: transparent !important;
  background: linear-gradient(135deg, var(--pamuk-btn-primary-hover), var(--pamuk-btn-primary)) !important;
  background-color: var(--pamuk-btn-primary-hover) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Final Pamuk guardrails: keep public navigation ordered and CTA buttons consistent. */
:root {
  --pamuk-logo-light-filter: brightness(0) invert(1);
}

html body .header,
html body .site-header,
html body > header.nav {
  background: rgba(44, 47, 24, 0.97) !important;
  border-bottom-color: rgba(234, 222, 190, 0.18) !important;
  box-shadow: 0 10px 24px rgba(7, 9, 2, 0.16) !important;
}

html body .header .nav,
html body .site-header .nav,
html body .site-header nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: clamp(8px, 1.4vw, 14px) !important;
  min-height: 64px !important;
}

html body .nav .brand {
  flex: 0 1 min(340px, 42vw) !important;
  min-width: 0 !important;
  max-width: min(340px, 42vw) !important;
}

html body .header .brand-logo,
html body .site-header .brand-logo,
html body .nav .brand-logo,
html body .nav .brand > img {
  filter: var(--pamuk-logo-light-filter) !important;
  opacity: 1 !important;
}

html body .nav .brand-text,
html body .nav .brand-text strong,
html body .nav .brand-text > span {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

html body .nav .brand-text strong,
html body .nav .brand-text > span {
  white-space: nowrap !important;
}

html body .nav .nav-links,
html body .nav .nav-actions {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 7px !important;
  min-width: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

html body .nav .nav-links::-webkit-scrollbar,
html body .nav .nav-actions::-webkit-scrollbar {
  display: none;
}

html body .nav .nav-links {
  flex: 1 1 auto !important;
  justify-content: center !important;
}

html body .nav .nav-actions {
  flex: 0 0 auto !important;
  justify-content: flex-end !important;
}

html body .nav .nav-links a,
html body .nav .nav-actions a,
html body .nav .nav-actions .button,
html body .footer-nav a {
  flex: 0 0 auto !important;
  min-height: 40px !important;
  padding: 0 13px !important;
  border-radius: var(--pamuk-btn-radius) !important;
  box-shadow: none !important;
}

html body a.button.join-green,
html body a.button.cta-join,
html body button.button.join-green,
html body button.button.green,
html body button.button.cta-join,
html body .button.green,
html body .button.cta-hot,
html body .button.cta-value:not(.secondary),
html body .pamuk-hero .actions .button.join-green,
html body #progetto .active-project-actions .button:not(.secondary),
html body #progetto .active-project-note .button.join-green,
html body #tesseramento .membership-signup-buttons .button.join-green,
html body .nav .nav-actions a.button.join-green,
html body .nav .nav-actions a.button.cta-join,
html body .nav .nav-actions a.button[href*="iscrizione-pamuk"],
html body .nav .nav-actions a.button[href*="tesseramento"] {
  border-color: transparent !important;
  background: linear-gradient(135deg, var(--pamuk-btn-primary), #D06F86) !important;
  background-color: var(--pamuk-btn-primary) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  border-radius: var(--pamuk-btn-radius) !important;
}

html body a.button.join-green:hover,
html body a.button.join-green:focus-visible,
html body a.button.cta-join:hover,
html body a.button.cta-join:focus-visible,
html body button.button.join-green:hover,
html body button.button.join-green:focus-visible,
html body button.button.green:hover,
html body button.button.green:focus-visible,
html body button.button.cta-join:hover,
html body button.button.cta-join:focus-visible,
html body .button.green:hover,
html body .button.green:focus-visible,
html body .button.cta-hot:hover,
html body .button.cta-hot:focus-visible,
html body .button.cta-value:not(.secondary):hover,
html body .button.cta-value:not(.secondary):focus-visible,
html body .pamuk-hero .actions .button.join-green:hover,
html body .pamuk-hero .actions .button.join-green:focus-visible,
html body #progetto .active-project-actions .button:not(.secondary):hover,
html body #progetto .active-project-actions .button:not(.secondary):focus-visible,
html body #progetto .active-project-note .button.join-green:hover,
html body #progetto .active-project-note .button.join-green:focus-visible,
html body #tesseramento .membership-signup-buttons .button.join-green:hover,
html body #tesseramento .membership-signup-buttons .button.join-green:focus-visible,
html body .nav .nav-actions a.button.join-green:hover,
html body .nav .nav-actions a.button.join-green:focus-visible,
html body .nav .nav-actions a.button.cta-join:hover,
html body .nav .nav-actions a.button.cta-join:focus-visible {
  border-color: transparent !important;
  background: linear-gradient(135deg, var(--pamuk-btn-primary-hover), var(--pamuk-btn-primary)) !important;
  background-color: var(--pamuk-btn-primary-hover) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}

html body a.button.secondary,
html body button.button.secondary,
html body .button.secondary.cta-info,
html body .button.secondary.cta-value,
html body #progetto .active-project-actions .button.secondary,
html body #progetto .active-project-note .button.secondary,
html body #tesseramento .membership-signup-buttons .button.secondary,
html body .pamuk-hero .actions .button.secondary {
  border-color: var(--rosa-retro) !important;
  background: transparent !important;
  background-color: transparent !important;
  color: var(--rosa-retro) !important;
  box-shadow: none !important;
  border-radius: var(--pamuk-btn-radius) !important;
}

html body a.button.secondary:hover,
html body a.button.secondary:focus-visible,
html body button.button.secondary:hover,
html body button.button.secondary:focus-visible,
html body .button.secondary.cta-info:hover,
html body .button.secondary.cta-info:focus-visible,
html body .button.secondary.cta-value:hover,
html body .button.secondary.cta-value:focus-visible,
html body #progetto .active-project-actions .button.secondary:hover,
html body #progetto .active-project-actions .button.secondary:focus-visible,
html body #progetto .active-project-note .button.secondary:hover,
html body #progetto .active-project-note .button.secondary:focus-visible,
html body #tesseramento .membership-signup-buttons .button.secondary:hover,
html body #tesseramento .membership-signup-buttons .button.secondary:focus-visible,
html body .pamuk-hero .actions .button.secondary:hover,
html body .pamuk-hero .actions .button.secondary:focus-visible {
  border-color: var(--rosa-retro) !important;
  background: rgba(213, 128, 146, 0.1) !important;
  background-color: rgba(213, 128, 146, 0.1) !important;
  color: var(--rosa-retro) !important;
  box-shadow: none !important;
}

html body .pamuk-quick-links a.quick-link-join::after,
html body .pamuk-value-strip li::marker,
html body .membership-value-list li::marker {
  border-color: var(--rosa-retro) !important;
  background: var(--rosa-retro) !important;
  color: #ffffff !important;
}

@media (max-width: 900px) {
  html body .header .nav,
  html body .site-header .nav,
  html body .site-header nav {
    flex-wrap: wrap !important;
    gap: 7px !important;
    min-height: 56px !important;
    padding: 7px 0 !important;
  }

  html body .nav .brand {
    flex: 1 1 auto !important;
    max-width: min(56vw, 300px) !important;
  }

  html body .nav .brand-logo,
  html body .nav .brand > img {
    width: 34px !important;
    height: 34px !important;
    padding: 4px !important;
    border-radius: 8px !important;
  }

  html body .nav .brand-text > span {
    display: none !important;
  }

  html body .nav .nav-actions {
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }

  html body .nav .nav-links {
    order: 3 !important;
    flex: 1 0 100% !important;
    justify-content: flex-start !important;
    width: 100% !important;
    padding-bottom: 2px !important;
  }

  html body .nav .nav-links a,
  html body .nav .nav-actions a,
  html body .nav .nav-actions .button {
    min-height: 34px !important;
    padding: 0 10px !important;
    font-size: 0.7rem !important;
  }
}

@media (max-width: 520px) {
  html body .nav .brand {
    max-width: min(48vw, 220px) !important;
  }

  html body .nav .brand-text strong {
    font-size: 0.98rem !important;
  }

  html body .nav .nav-actions a.ghost-link {
    display: none !important;
  }
}

/* Pamuk visual elements: containers, cards, badges, forms, tables and feedback. */
:root {
  --pamuk-ui-radius: 8px;
  --pamuk-ui-radius-sm: 6px;
  --pamuk-ui-line: rgba(72, 81, 64, 0.24);
  --pamuk-ui-line-soft: rgba(178, 165, 142, 0.34);
  --pamuk-ui-surface: rgba(234, 222, 190, 0.62);
  --pamuk-ui-surface-soft: rgba(228, 182, 170, 0.18);
  --pamuk-ui-surface-evidence: rgba(228, 182, 170, 0.28);
  --pamuk-ui-shadow: none;
}

html body :where(
  .pamuk-panel,
  .panel,
  .dashboard-panel,
  .control-panel,
  .form-panel,
  .payment-panel,
  .confirm-box,
  .choice-card,
  .form-card,
  .registration-card,
  .hero-card,
  .project-card,
  .work-card,
  .book-card,
  .event-card,
  .hall-card,
  .winner-card,
  .technical-card,
  .access-card,
  .verify-card,
  .active-project-card,
  .active-project-note,
  .membership-hero,
  .membership-merged-info,
  .membership-signup-action,
  .agenda-qr-card,
  .table-card,
  .table-visual-card,
  .content-shell,
  .project-form,
  .agenda-shell
) {
  border: 1px solid var(--pamuk-ui-line) !important;
  border-radius: var(--pamuk-ui-radius) !important;
  background: linear-gradient(145deg, rgba(234, 222, 190, 0.82), rgba(228, 182, 170, 0.16)) !important;
  color: var(--oliva-profondo) !important;
  box-shadow: var(--pamuk-ui-shadow) !important;
}

html body :where(
  .card,
  .info-card,
  .payment-card,
  .path-card,
  .quick-path-card,
  .quick-fact,
  .route-card,
  .registry-card,
  .join-card,
  .stat,
  .metric,
  .agenda-stat,
  .agenda-quality-item,
  .agenda-production-item,
  .detail,
  .receipt-card,
  .history-card,
  .application-record,
  .candidate-row,
  .operational-row,
  .work-row,
  .registry-row,
  .project-row,
  .person-card,
  .next-card
) {
  border: 1px solid var(--pamuk-ui-line-soft) !important;
  border-radius: var(--pamuk-ui-radius) !important;
  background: rgba(234, 222, 190, 0.5) !important;
  color: var(--oliva-profondo) !important;
  box-shadow: none !important;
}

html body :where(
  .card,
  .info-card,
  .payment-card,
  .path-card,
  .quick-path-card,
  .quick-fact,
  .stat,
  .metric,
  .agenda-stat,
  .agenda-quality-item,
  .agenda-production-item,
  .detail,
  .project-badge,
  .badge,
  .chip,
  .mode-badge,
  .price-badge,
  .payment-chip,
  .active-project-card,
  .active-project-note
):not(a):not(button):not(summary):not(label):not([role="button"]):not([tabindex]):hover {
  box-shadow: none !important;
  transform: none !important;
  cursor: default !important;
}

html body :where(
  .highlight,
  .evidence,
  .featured,
  .in-evidence,
  .callout,
  .free-membership-badge,
  .active-projects-count
) {
  border: 1px solid rgba(213, 128, 146, 0.44) !important;
  border-radius: var(--pamuk-ui-radius-sm) !important;
  background: rgba(228, 182, 170, 0.24) !important;
  color: var(--nero-inchiostro) !important;
  box-shadow: none !important;
}

html body :where(hr, .divider, .separator, .section-divider) {
  height: 1px !important;
  border: 0 !important;
  background: linear-gradient(90deg, transparent, rgba(72, 81, 64, 0.36), transparent) !important;
  box-shadow: none !important;
}

html body :where(
  .badge,
  .tag,
  .chip,
  .pill,
  .project-badge,
  .status-badge,
  .mode-badge,
  .price-badge,
  .payment-chip,
  .active-projects-count,
  .label,
  .label-badge,
  .table-badge
) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 28px !important;
  padding: 5px 10px !important;
  border: 1px solid var(--pamuk-ui-line) !important;
  border-radius: var(--pamuk-ui-radius-sm) !important;
  background: rgba(234, 222, 190, 0.68) !important;
  color: var(--oliva-profondo) !important;
  box-shadow: none !important;
  font-family: var(--pamuk-font-ui) !important;
  font-size: 0.72rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.04em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

html body :where(
  .badge.featured,
  .badge.is-active,
  .badge.active,
  .project-badge.is-active,
  .status-badge.active,
  .chip.is-active,
  .mode-badge.is-active,
  .table-badge.in-evidence
) {
  border-color: var(--rosa-retro) !important;
  background: var(--rosa-retro) !important;
  color: #ffffff !important;
}

html body :where(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
  select,
  textarea
) {
  min-height: 42px !important;
  border: 1px solid var(--pamuk-ui-line) !important;
  border-radius: var(--pamuk-ui-radius-sm) !important;
  background: rgba(234, 222, 190, 0.74) !important;
  color: var(--nero-inchiostro) !important;
  box-shadow: none !important;
  font-family: var(--pamuk-font-ui) !important;
}

html body textarea {
  min-height: 118px !important;
  line-height: 1.45 !important;
}

html body :where(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
  select,
  textarea
):focus {
  border-color: var(--rosa-retro) !important;
  background: rgba(234, 222, 190, 0.9) !important;
  box-shadow: 0 0 0 3px rgba(213, 128, 146, 0.18) !important;
  outline: none !important;
}

html body :where(input[type="checkbox"], input[type="radio"]) {
  width: 18px !important;
  height: 18px !important;
  accent-color: var(--rosa-retro) !important;
}

html body input[type="range"] {
  accent-color: var(--rosa-retro) !important;
}

html body :where(.checkbox-field, .radio-field, .toggle-field, .payment-method) {
  border: 1px solid var(--pamuk-ui-line-soft) !important;
  border-radius: var(--pamuk-ui-radius) !important;
  background: rgba(234, 222, 190, 0.5) !important;
  box-shadow: none !important;
}

html body :where(.checkbox-field:has(input:checked), .radio-field:has(input:checked), .payment-method:has(input:checked)) {
  border-color: var(--rosa-retro) !important;
  background: rgba(213, 128, 146, 0.14) !important;
  box-shadow: inset 0 0 0 1px rgba(213, 128, 146, 0.22) !important;
}

html body :where(
  .alert,
  .notice,
  .message,
  .status-message,
  .form-status,
  .flash,
  .toast
) {
  border: 1px solid var(--pamuk-ui-line) !important;
  border-radius: var(--pamuk-ui-radius-sm) !important;
  background: rgba(234, 222, 190, 0.78) !important;
  color: var(--oliva-profondo) !important;
  box-shadow: none !important;
}

html body :where(.alert.success, .notice.success, .message.success, .form-status.success, .flash.success, .success-message) {
  border-color: rgba(103, 117, 103, 0.42) !important;
  background: rgba(103, 117, 103, 0.14) !important;
}

html body :where(.alert.warning, .notice.warning, .message.warning, .form-status.warning, .flash.warning, .warning-message) {
  border-color: rgba(178, 165, 142, 0.58) !important;
  background: rgba(178, 165, 142, 0.16) !important;
}

html body :where(.alert.error, .notice.error, .message.error, .form-status.error, .flash.error, .error-message) {
  border-color: rgba(169, 59, 59, 0.36) !important;
  background: rgba(228, 182, 170, 0.28) !important;
}

html body :where(table) {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid var(--pamuk-ui-line) !important;
  border-radius: var(--pamuk-ui-radius) !important;
  overflow: hidden !important;
  background: rgba(234, 222, 190, 0.48) !important;
  box-shadow: none !important;
}

html body :where(th) {
  background: var(--oliva-profondo) !important;
  color: var(--crema-carta) !important;
  font-family: var(--pamuk-font-ui) !important;
  font-size: 0.76rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
}

html body :where(td, th) {
  border-bottom: 1px solid rgba(72, 81, 64, 0.16) !important;
  padding: 11px 13px !important;
  vertical-align: middle !important;
}

html body :where(tr:last-child td) {
  border-bottom: 0 !important;
}

html body :where(.pagination, .pager, .pamuk-er-pagination, .page-numbers) {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
}

html body :where(.pagination a, .pagination span, .pager a, .pager span, .page-numbers a, .page-numbers span, a.page-numbers, span.page-numbers) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 36px !important;
  min-height: 36px !important;
  padding: 0 10px !important;
  border: 1px solid var(--pamuk-ui-line) !important;
  border-radius: var(--pamuk-ui-radius-sm) !important;
  background: rgba(234, 222, 190, 0.72) !important;
  color: var(--oliva-profondo) !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

html body :where(.pagination .current, .pager .current, .page-numbers.current, span.page-numbers.current) {
  border-color: var(--rosa-retro) !important;
  background: var(--rosa-retro) !important;
  color: #ffffff !important;
}

html body :where(.breadcrumb, .breadcrumbs) {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  color: var(--verde-salvia) !important;
  font-size: 0.86rem !important;
}

html body :where(progress) {
  width: 100%;
  height: 10px;
  accent-color: var(--rosa-retro);
}

html body :where(.progress, .progress-bar, .progress-track, .pamuk-er-progress-track) {
  overflow: hidden !important;
  min-height: 9px !important;
  border-radius: 999px !important;
  background: rgba(178, 165, 142, 0.28) !important;
  box-shadow: none !important;
}

html body :where(.progress > span, .progress-bar > span, .progress-track > span, .pamuk-er-progress-track span) {
  display: block !important;
  height: 100% !important;
  border-radius: inherit !important;
  background: linear-gradient(90deg, var(--rosa-retro), #D06F86) !important;
}

html body :where(.tabs, .tab-list, .module-tabs, .registry-view-tabs, .project-view-tabs, .membership-step-tabs, .step-tabs) {
  border-bottom: 1px solid var(--pamuk-ui-line) !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body :where(.tab, .tab-button, .module-tabs button, .registry-view-tabs button, .project-view-tabs button, .membership-step-tab, .step-tab) {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--oliva-profondo) !important;
  box-shadow: none !important;
}

html body :where(.tab.is-active, .tab-button.is-active, .module-tabs button.is-active, .registry-view-tabs button.is-active, .project-view-tabs button.is-active, .membership-step-tab.is-active, .step-tab.is-active, [aria-selected="true"]) {
  color: var(--rosa-retro) !important;
  box-shadow: inset 0 -2px 0 var(--rosa-retro) !important;
}

html body :where(details:not(.wizard-regulation-action)) {
  border: 1px solid var(--pamuk-ui-line) !important;
  border-radius: var(--pamuk-ui-radius) !important;
  background: rgba(234, 222, 190, 0.54) !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

html body :where(details:not(.wizard-regulation-action) > summary) {
  min-height: 44px !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid transparent !important;
  color: var(--rosa-retro) !important;
  font-weight: 850 !important;
  cursor: pointer !important;
}

html body :where(details[open]:not(.wizard-regulation-action) > summary) {
  border-bottom-color: var(--pamuk-ui-line) !important;
}

@media (max-width: 680px) {
  html body :where(.card, .panel, .pamuk-panel, .form-card, .registration-card, .content-shell, .project-form, .agenda-shell) {
    border-radius: var(--pamuk-ui-radius) !important;
  }

  html body :where(td, th) {
    padding: 9px 10px !important;
  }

  html body :where(.badge, .tag, .chip, .pill, .project-badge, .status-badge, .mode-badge, .price-badge, .payment-chip) {
    min-height: 26px !important;
    padding-inline: 8px !important;
  }
}

/* Active projects: keep the association CTA balanced inside its note card. */
:root {
  --pamuk-white-cta-outline: 0 1px 0 rgba(7, 9, 2, 0.56), 1px 0 0 rgba(7, 9, 2, 0.28), -1px 0 0 rgba(7, 9, 2, 0.28), 0 -1px 0 rgba(7, 9, 2, 0.24);
}

html body #progetto .active-project-note {
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto;
  align-content: stretch;
  align-items: stretch;
  justify-items: stretch;
  gap: clamp(14px, 1.8vw, 18px);
  min-height: 100% !important;
  padding: clamp(16px, 2vw, 22px) !important;
  border: 1px solid rgba(72, 81, 64, 0.24) !important;
  border-left: 4px solid #D58092 !important;
  border-radius: 8px !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 249, 0.94)) !important;
  background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 249, 0.94)) !important;
  box-shadow: none !important;
  color: var(--oliva-profondo) !important;
}

html body #progetto .active-project-note p {
  align-self: center;
  flex: initial !important;
  width: 100%;
  margin: 0 !important;
  color: var(--verde-salvia) !important;
}

html body #progetto .active-project-note .button {
  align-self: end;
  width: 100%;
  min-width: 0;
  min-height: 46px;
}

html body :where(
  a.button.join-green,
  a.button.cta-join,
  button.button.join-green,
  button.button.green,
  button.button.cta-join,
  .button.green,
  .button.cta-hot,
  .button.cta-value:not(.secondary),
  .nav .nav-actions a.button.join-green,
  .nav .nav-actions a.button.cta-join,
  .pamuk-hero .actions .button.join-green,
  #progetto .active-project-actions .button:not(.secondary),
  #progetto .active-project-note .button.join-green,
  #tesseramento .membership-signup-buttons .button.join-green,
  input[type="submit"],
  .cta,
  .cta-button
) {
  text-shadow: var(--pamuk-white-cta-outline) !important;
  -webkit-text-stroke: 0.18px rgba(7, 9, 2, 0.28);
  paint-order: stroke fill;
}

html body :where(
  a.button.secondary,
  button.button.secondary,
  .button.secondary,
  .btn.secondary,
  .ghost-link,
  .button.info,
  .button.download,
  .pamuk-payment-qr-link,
  .copy-causale,
  .pamuk-payment-qr-copy
) {
  text-shadow: 0 0 0.45px rgba(7, 9, 2, 0.28), 0 1px 0 rgba(234, 222, 190, 0.72) !important;
  -webkit-text-stroke: 0.14px rgba(7, 9, 2, 0.22);
  paint-order: stroke fill;
}

/* Final Pamuk public pass: intact words, clearer buttons, unified navigation bars. */
:root {
  --pamuk-nav-bg: #2C2F18;
  --pamuk-nav-text: #EADEBE;
  --pamuk-nav-line: rgba(234, 222, 190, 0.24);
  --pamuk-nav-chip: rgba(234, 222, 190, 0.1);
  --pamuk-rose-outline: 0 0 0.45px rgba(7, 9, 2, 0.28), 0 1px 0 rgba(234, 222, 190, 0.72);
}

html body :where(p, li, dd, dt, a, button, span, strong, em, small, label, input, textarea, select, h1, h2, h3, h4, h5, h6, .button, .btn, .project-badge, .active-project-card, .membership-signup-copy) {
  hyphens: none !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

html body :where(.button, .btn, button.button, input[type="submit"], input[type="button"], .cta, .cta-button, .copy-causale, .pamuk-payment-qr-copy, .pamuk-payment-qr-link, .nav .nav-links a, .nav .nav-actions a, .nav .nav-actions .button, .footer-nav a, .pamuk-mobile-nav-toggle) {
  text-wrap: balance;
}

html body :where(.header, .site-header, .site-footer, footer) {
  border-color: var(--pamuk-nav-line) !important;
  background: var(--pamuk-nav-bg) !important;
  background-color: var(--pamuk-nav-bg) !important;
  color: var(--pamuk-nav-text) !important;
  box-shadow: none !important;
}

html body :where(.nav, .page-nav) {
  color: var(--pamuk-nav-text) !important;
}

html body :where(.nav .brand-logo, .nav .brand > img, .site-header .brand-logo, .site-header .brand > img) {
  width: clamp(46px, 4.2vw, 54px) !important;
  height: clamp(46px, 4.2vw, 54px) !important;
  padding: 4px !important;
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}

html body .nav-home::before {
  display: none !important;
  content: none !important;
}

html body :where(.nav .brand strong, .nav .brand:hover strong, .nav .brand:focus-visible strong, .site-footer strong, footer strong) {
  color: var(--pamuk-nav-text) !important;
}

html body :where(.nav .brand span, .nav .brand small, .nav .brand-text > span, .site-footer span, footer span) {
  color: rgba(234, 222, 190, 0.74) !important;
}

html body :where(.nav .nav-links a, .nav .nav-actions a, .nav .nav-actions .button, .nav a.ghost-link, .footer-nav a) {
  box-sizing: border-box !important;
  min-height: 42px !important;
  padding: 9px 14px !important;
  border: 1px solid var(--pamuk-nav-line) !important;
  border-radius: 7px !important;
  background: var(--pamuk-nav-chip) !important;
  background-color: var(--pamuk-nav-chip) !important;
  color: var(--pamuk-nav-text) !important;
  box-shadow: none !important;
  line-height: 1.14 !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

html body :where(.nav .nav-links a:hover, .nav .nav-links a:focus-visible, .nav .nav-actions a:hover, .nav .nav-actions a:focus-visible, .nav a.ghost-link:hover, .nav a.ghost-link:focus-visible, .footer-nav a:hover, .footer-nav a:focus-visible) {
  border-color: rgba(213, 128, 146, 0.7) !important;
  background: rgba(213, 128, 146, 0.18) !important;
  background-color: rgba(213, 128, 146, 0.18) !important;
  color: #ffffff !important;
  transform: none !important;
}

html body :where(.nav .nav-actions a.button.join-green, .nav .nav-actions a.button.cta-join, .nav .nav-actions a.button[href*="iscrizione-pamuk"], .nav .nav-actions a.button[href*="tesseramento"]) {
  border-color: transparent !important;
  background: linear-gradient(135deg, #D58092, #D06F86) #D58092 !important;
  background-color: #D58092 !important;
  color: #ffffff !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

html body :where(a.button.secondary, button.button.secondary, .button.secondary, .btn.secondary, .ghost-link, .button.info, .button.download, .pamuk-payment-qr-link, .copy-causale, .pamuk-payment-qr-copy) {
  text-shadow: var(--pamuk-rose-outline) !important;
  -webkit-text-stroke: 0.14px rgba(7, 9, 2, 0.22);
  paint-order: stroke fill;
}

html body :where(.header .nav a, .header .nav button, .site-header .nav a, .site-header .nav button, .footer-nav a, .footer-legal-links a, .footer-legal-links button, .pamuk-mobile-nav-toggle) {
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

html body #progetto .active-project-note {
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto;
  align-content: center;
  align-items: stretch;
  justify-items: stretch;
  gap: clamp(12px, 1.6vw, 16px);
  min-height: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

html body #progetto .active-project-note p {
  align-self: center;
  width: 100%;
  margin: 0 !important;
}

html body #progetto .active-project-note .button {
  align-self: end;
  width: 100%;
  min-width: 0;
}

html body #progetto .active-project-card h4 {
  max-width: 100% !important;
  color: #070902 !important;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif !important;
  font-size: clamp(1.72rem, 2.45vw, 2.28rem) !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
}

@media (max-width: 900px) {
  html body #progetto .active-project-card h4 {
    font-size: 2.08rem !important;
    line-height: 1.03 !important;
  }
}

@media (max-width: 560px) {
  html body #progetto .active-project-card h4 {
    font-size: 1.82rem !important;
    line-height: 1.05 !important;
  }
}

html body :where(.site-footer, footer) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: stretch !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body .footer-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 8px !important;
  width: min(var(--front-nav-max), calc(100% - 40px)) !important;
  margin: 0 auto !important;
  padding: 12px 0 14px !important;
}

html body .footer-main-row {
  display: grid !important;
  grid-template-columns: minmax(230px, auto) minmax(0, 1fr) !important;
  align-items: center !important;
  gap: clamp(10px, 1.6vw, 18px) !important;
  min-height: 50px !important;
}

html body .footer-copy {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: min(245px, 100%) !important;
}

html body .footer-logo {
  display: block !important;
  width: 50px !important;
  height: 50px !important;
  padding: 4px !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
}

html body .footer-brand-text {
  display: inline-flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  min-width: 0 !important;
}

html body .footer-brand-text strong {
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(1.08rem, 1.55vw, 1.22rem) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html body .footer-brand-text span {
  font-size: 0.72rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.12em !important;
  line-height: 1.05 !important;
  text-transform: uppercase !important;
}

html body .footer-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

html body .footer-nav::-webkit-scrollbar {
  display: none !important;
}

html body .footer-nav a {
  flex: 0 0 auto !important;
  min-height: 34px !important;
  padding: 7px 9px !important;
  font-size: 0.76rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html body .footer-nav a[href*="iscrizione-pamuk"] {
  border-color: transparent !important;
  background: linear-gradient(135deg, #D58092, #D06F86) #D58092 !important;
  background-color: #D58092 !important;
  color: #ffffff !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

html body .footer-legal-row {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding-top: 8px !important;
  border-top: 1px solid rgba(234, 222, 190, 0.16) !important;
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

html body .footer-legal-row::-webkit-scrollbar {
  display: none !important;
}

html body .footer-legal-label {
  flex: 0 0 auto;
  color: rgba(234, 222, 190, 0.82) !important;
  font-size: 0.82rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html body .footer-legal-links {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex: 0 0 auto !important;
  flex-wrap: nowrap !important;
  gap: 9px !important;
}

html body .footer-legal-links a,
html body .footer-legal-links button {
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-height: 30px !important;
  padding: 5px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(234, 222, 190, 0.58) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #EADEBE !important;
  font: inherit !important;
  font-size: 0.75rem !important;
  font-weight: 900 !important;
  line-height: 1.12 !important;
  text-decoration: none !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  cursor: pointer !important;
}

html body .footer-legal-links a:hover,
html body .footer-legal-links a:focus-visible,
html body .footer-legal-links button:hover,
html body .footer-legal-links button:focus-visible {
  border-bottom-color: #D58092 !important;
  color: #ffffff !important;
  outline: none !important;
}

@media (max-width: 760px) {
  html body :where(.site-footer, footer) {
    min-height: 0 !important;
  }

  html body .footer-inner {
    width: min(100% - 20px, var(--front-nav-max)) !important;
    padding: 8px 0 10px !important;
  }

  html body .footer-main-row {
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 8px !important;
  }

  html body .footer-copy {
    min-width: 0 !important;
    gap: 0 !important;
  }

  html body .footer-brand-text {
    display: none !important;
  }

  html body .footer-nav {
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 3px !important;
    width: 100% !important;
  }

  html body .footer-legal-row {
    align-items: flex-start !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    overflow: visible !important;
  }

  html body .footer-legal-links {
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 2px 9px !important;
    overflow: visible !important;
  }

  html body .footer-logo {
    width: 42px !important;
    height: 42px !important;
    padding: 3px !important;
    border-radius: 8px !important;
  }

  html body :where(.nav .brand-logo, .nav .brand > img, .site-header .brand-logo, .site-header .brand > img) {
    width: 42px !important;
    height: 42px !important;
    padding: 3px !important;
  }

  html body.pamuk-mobile-nav-ready .nav:not(.nav-mobile-menu) .brand-logo,
  html body.pamuk-mobile-nav-ready .nav:not(.nav-mobile-menu) .brand > img,
  html body.pamuk-mobile-nav-ready .header .nav:not(.nav-mobile-menu) .brand-logo,
  html body.pamuk-mobile-nav-ready .header .nav:not(.nav-mobile-menu) .brand > img,
  html body.pamuk-mobile-nav-ready .site-header .nav:not(.nav-mobile-menu) .brand-logo,
  html body.pamuk-mobile-nav-ready .site-header .nav:not(.nav-mobile-menu) .brand > img,
  html body.pamuk-mobile-nav-ready .nav.nav-mobile-menu .brand-logo,
  html body.pamuk-mobile-nav-ready .nav.nav-mobile-menu .brand > img,
  html body.pamuk-mobile-nav-ready .header .nav.nav-mobile-menu .brand-logo,
  html body.pamuk-mobile-nav-ready .header .nav.nav-mobile-menu .brand > img,
  html body.pamuk-mobile-nav-ready .site-header .nav.nav-mobile-menu .brand-logo,
  html body.pamuk-mobile-nav-ready .site-header .nav.nav-mobile-menu .brand > img {
    width: 42px !important;
    height: 42px !important;
    padding: 3px !important;
  }

  html body :where(.pamuk-mobile-nav-toggle, .nav .nav-links a, .nav .nav-actions a, .nav .nav-actions .button, .nav a.ghost-link),
  html body.pamuk-mobile-nav-ready .pamuk-mobile-nav-toggle {
    min-height: 42px !important;
    padding: 9px 12px !important;
    line-height: 1.14 !important;
  }

  html body .footer-nav a {
    min-height: 28px !important;
    padding: 4px 5px !important;
    font-size: clamp(0.5rem, 1.95vw, 0.62rem) !important;
  }

  html body .footer-legal-label,
  html body .footer-legal-links a,
  html body .footer-legal-links button {
    min-height: 24px !important;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
    font-size: clamp(0.54rem, 2.05vw, 0.64rem) !important;
  }
}

/* Top navigation final balance: larger Pamuk mark, clean readable controls. */
html body .header .nav,
html body .site-header .nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: clamp(8px, 1.1vw, 12px) !important;
  width: min(var(--front-nav-max), calc(100% - 28px)) !important;
  min-height: 72px !important;
  padding: 6px 0 !important;
  overflow: visible !important;
}

html body .header .nav .brand,
html body .site-header .nav .brand {
  flex: 0 1 292px !important;
  min-width: 0 !important;
  max-width: 292px !important;
  gap: 9px !important;
}

html body .header .nav .brand-logo,
html body .header .nav .brand > img,
html body .site-header .nav .brand-logo,
html body .site-header .nav .brand > img {
  flex: 0 0 54px !important;
  width: 54px !important;
  height: 54px !important;
  padding: 3px !important;
  border-radius: 10px !important;
}

html body .header .nav .brand-text,
html body .site-header .nav .brand-text {
  min-width: 0 !important;
}

html body .header .nav .brand strong,
html body .site-header .nav .brand strong {
  display: block !important;
  max-width: 100% !important;
  overflow: hidden !important;
  font-size: clamp(1.08rem, 1.45vw, 1.28rem) !important;
  line-height: 1.02 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body .header .nav .brand-text > span,
html body .site-header .nav .brand-text > span {
  font-size: 0.58rem !important;
  letter-spacing: 0.09em !important;
  line-height: 1.08 !important;
}

html body .header .nav .nav-links,
html body .site-header .nav .nav-links,
html body .header .nav .nav-actions,
html body .site-header .nav .nav-actions {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 5px !important;
  min-width: 0 !important;
}

html body .header .nav .nav-links,
html body .site-header .nav .nav-links {
  flex: 1 1 auto !important;
  justify-content: center !important;
}

html body .header .nav .nav-actions,
html body .site-header .nav .nav-actions {
  flex: 0 0 auto !important;
  justify-content: flex-end !important;
}

html body .header .nav .nav-links a,
html body .header .nav .nav-actions a,
html body .header .nav .nav-actions .button,
html body .header .nav a.ghost-link,
html body .site-header .nav .nav-links a,
html body .site-header .nav .nav-actions a,
html body .site-header .nav .nav-actions .button,
html body .site-header .nav a.ghost-link {
  box-sizing: border-box !important;
  min-height: 42px !important;
  padding: 9px 10px !important;
  border-radius: 7px !important;
  color: var(--pamuk-nav-text) !important;
  font-size: clamp(0.72rem, 0.86vw, 0.82rem) !important;
  font-weight: 900 !important;
  line-height: 1.12 !important;
  text-align: center !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  white-space: nowrap !important;
}

html body .header .nav .nav-actions a.button.join-green,
html body .header .nav .nav-actions a.button.cta-join,
html body .site-header .nav .nav-actions a.button.join-green,
html body .site-header .nav .nav-actions a.button.cta-join {
  color: #ffffff !important;
}

@media (max-width: 760px) {
  html body.pamuk-mobile-nav-ready .header .nav,
  html body.pamuk-mobile-nav-ready .site-header .nav,
  html body .header .nav,
  html body .site-header .nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
    width: min(100% - 20px, var(--front-nav-max)) !important;
    min-height: 64px !important;
    padding: 8px 0 !important;
  }

  html body.pamuk-mobile-nav-ready .header .nav .brand,
  html body.pamuk-mobile-nav-ready .site-header .nav .brand,
  html body .header .nav .brand,
  html body .site-header .nav .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    max-width: min(100%, calc(100vw - 126px)) !important;
    flex: 1 1 auto !important;
    gap: 8px !important;
  }

  html body.pamuk-mobile-nav-ready .header .nav .brand-logo,
  html body.pamuk-mobile-nav-ready .header .nav .brand > img,
  html body.pamuk-mobile-nav-ready .site-header .nav .brand-logo,
  html body.pamuk-mobile-nav-ready .site-header .nav .brand > img,
  html body .header .nav .brand-logo,
  html body .header .nav .brand > img,
  html body .site-header .nav .brand-logo,
  html body .site-header .nav .brand > img {
    flex-basis: 48px !important;
    width: 48px !important;
    height: 48px !important;
    padding: 3px !important;
    border-radius: 9px !important;
  }

  html body.pamuk-mobile-nav-ready .header .nav .brand strong,
  html body.pamuk-mobile-nav-ready .site-header .nav .brand strong,
  html body .header .nav .brand strong,
  html body .site-header .nav .brand strong {
    font-size: clamp(1.14rem, 5vw, 1.32rem) !important;
  }

  html body.pamuk-mobile-nav-ready .header .nav .brand-text > span,
  html body.pamuk-mobile-nav-ready .site-header .nav .brand-text > span,
  html body .header .nav .brand-text > span,
  html body .site-header .nav .brand-text > span {
    display: none !important;
  }

  html body .pamuk-mobile-nav-toggle,
  html body.pamuk-mobile-nav-ready .pamuk-mobile-nav-toggle {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-height: 44px !important;
    padding: 10px 13px !important;
    border-color: rgba(213, 128, 146, 0.62) !important;
    border-radius: 8px !important;
    background: #EADEBE !important;
    color: #2C2F18 !important;
    font-size: 0.78rem !important;
    line-height: 1.12 !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
  }

  html body.pamuk-mobile-nav-ready .header .nav.pamuk-mobile-nav-open .nav-links,
  html body.pamuk-mobile-nav-ready .header .nav.pamuk-mobile-nav-open .nav-actions,
  html body.pamuk-mobile-nav-ready .site-header .nav.pamuk-mobile-nav-open .nav-links,
  html body.pamuk-mobile-nav-ready .site-header .nav.pamuk-mobile-nav-open .nav-actions {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px !important;
    width: 100% !important;
    padding: 8px 0 0 !important;
    overflow: visible !important;
  }

  html body.pamuk-mobile-nav-ready .header .nav.pamuk-mobile-nav-open .nav-links a,
  html body.pamuk-mobile-nav-ready .header .nav.pamuk-mobile-nav-open .nav-actions a,
  html body.pamuk-mobile-nav-ready .header .nav.pamuk-mobile-nav-open .nav-actions .button,
  html body.pamuk-mobile-nav-ready .site-header .nav.pamuk-mobile-nav-open .nav-links a,
  html body.pamuk-mobile-nav-ready .site-header .nav.pamuk-mobile-nav-open .nav-actions a,
  html body.pamuk-mobile-nav-ready .site-header .nav.pamuk-mobile-nav-open .nav-actions .button {
    width: 100% !important;
    min-height: 44px !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(234, 222, 190, 0.24) !important;
    border-radius: 8px !important;
    background: rgba(234, 222, 190, 0.1) !important;
    color: #EADEBE !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.86rem !important;
    font-weight: 900 !important;
    line-height: 1.12 !important;
    text-align: center !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    white-space: normal !important;
  }

  html body.pamuk-mobile-nav-ready .header .nav.pamuk-mobile-nav-open .nav-links,
  html body.pamuk-mobile-nav-ready .site-header .nav.pamuk-mobile-nav-open .nav-links {
    grid-row: 2 !important;
    order: 2 !important;
  }

  html body.pamuk-mobile-nav-ready .header .nav.pamuk-mobile-nav-open .nav-actions,
  html body.pamuk-mobile-nav-ready .site-header .nav.pamuk-mobile-nav-open .nav-actions {
    grid-row: 3 !important;
    order: 3 !important;
  }

  html body.pamuk-mobile-nav-ready .header .nav.pamuk-mobile-nav-open .nav-actions a.ghost-link,
  html body.pamuk-mobile-nav-ready .site-header .nav.pamuk-mobile-nav-open .nav-actions a.ghost-link {
    display: inline-flex !important;
    background: rgba(234, 222, 190, 0.1) !important;
    color: #EADEBE !important;
  }

  html body.pamuk-mobile-nav-ready .header .nav.pamuk-mobile-nav-open .nav-actions a.button.join-green,
  html body.pamuk-mobile-nav-ready .header .nav.pamuk-mobile-nav-open .nav-actions a.button.cta-join,
  html body.pamuk-mobile-nav-ready .site-header .nav.pamuk-mobile-nav-open .nav-actions a.button.join-green,
  html body.pamuk-mobile-nav-ready .site-header .nav.pamuk-mobile-nav-open .nav-actions a.button.cta-join {
    border-color: transparent !important;
    background: linear-gradient(135deg, #D58092, #D06F86) #D58092 !important;
    color: #ffffff !important;
  }

  html body.pamuk-mobile-nav-ready header.header nav.nav.pamuk-mobile-nav-open .nav-links > a,
  html body.pamuk-mobile-nav-ready header.header nav.nav.pamuk-mobile-nav-open .nav-actions > a,
  html body.pamuk-mobile-nav-ready header.site-header nav.nav.pamuk-mobile-nav-open .nav-links > a,
  html body.pamuk-mobile-nav-ready header.site-header nav.nav.pamuk-mobile-nav-open .nav-actions > a {
    min-height: 44px !important;
    height: auto !important;
  }
}

/* Light top-bar controls: rose text with a tiny outline for clarity. */
html body .header .nav .nav-links a,
html body .site-header .nav .nav-links a,
html body .header .nav .nav-actions a.ghost-link,
html body .site-header .nav .nav-actions a.ghost-link,
html body .header .nav .pamuk-mobile-nav-toggle,
html body .site-header .nav .pamuk-mobile-nav-toggle,
html body .pamuk-mobile-nav-toggle {
  border-color: rgba(213, 128, 146, 0.48) !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #D58092 !important;
  text-shadow: 0 0 0.45px rgba(7, 9, 2, 0.24), 0 1px 0 rgba(255, 255, 255, 0.62) !important;
  -webkit-text-stroke: 0.14px rgba(7, 9, 2, 0.2) !important;
}

html body .header .nav .nav-links a:hover,
html body .header .nav .nav-links a:focus-visible,
html body .site-header .nav .nav-links a:hover,
html body .site-header .nav .nav-links a:focus-visible,
html body .header .nav .nav-actions a.ghost-link:hover,
html body .header .nav .nav-actions a.ghost-link:focus-visible,
html body .site-header .nav .nav-actions a.ghost-link:hover,
html body .site-header .nav .nav-actions a.ghost-link:focus-visible,
html body .pamuk-mobile-nav-toggle:hover,
html body .pamuk-mobile-nav-toggle:focus-visible {
  border-color: rgba(213, 128, 146, 0.72) !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #D58092 !important;
}

html body .header .nav .nav-actions a.button.join-green,
html body .header .nav .nav-actions a.button.cta-join,
html body .site-header .nav .nav-actions a.button.join-green,
html body .site-header .nav .nav-actions a.button.cta-join,
html body.pamuk-mobile-nav-ready .header .nav.pamuk-mobile-nav-open .nav-actions a.button.join-green,
html body.pamuk-mobile-nav-ready .header .nav.pamuk-mobile-nav-open .nav-actions a.button.cta-join,
html body.pamuk-mobile-nav-ready .site-header .nav.pamuk-mobile-nav-open .nav-actions a.button.join-green,
html body.pamuk-mobile-nav-ready .site-header .nav.pamuk-mobile-nav-open .nav-actions a.button.cta-join {
  color: #ffffff !important;
  text-shadow: var(--pamuk-white-cta-outline) !important;
  -webkit-text-stroke: 0 !important;
}

/* Filled rose/green controls must always keep white readable labels. */
html body :where(
  a.button:not(.secondary):not(.ghost):not(.is-light):not(.cta-value),
  button.button:not(.secondary):not(.ghost):not(.is-light):not(.cta-value),
  .btn:not(.secondary):not(.ghost):not(.is-light),
  .cta-button,
  .step-button--primary,
  .membership-action-link:not(.is-secondary),
  .date-toggle-button:not(:disabled),
  .text-confirm-button,
  input[type="submit"],
  input[type="button"]
) {
  color: #ffffff !important;
  text-shadow: var(--pamuk-white-cta-outline) !important;
  -webkit-text-stroke: 0 !important;
  paint-order: stroke fill;
}

html body :where(
  a.button.join-green,
  a.button.cta-join,
  a.button.cta-hot,
  button.button.join-green,
  button.button.green,
  button.button.cta-join,
  button.button.cta-hot,
  input[type="submit"],
  .button.green,
  .button.cta-hot,
  .button.cta-value:not(.secondary),
  .nav .nav-actions a.button.join-green,
  .nav .nav-actions a.button.cta-join
),
html body :where(
  a.button.join-green,
  a.button.cta-join,
  a.button.cta-hot,
  button.button.join-green,
  button.button.green,
  button.button.cta-join,
  button.button.cta-hot,
  input[type="submit"],
  .button.green,
  .button.cta-hot,
  .button.cta-value:not(.secondary),
  .nav .nav-actions a.button.join-green,
  .nav .nav-actions a.button.cta-join
) :where(span, strong, small) {
  color: #ffffff !important;
  text-shadow: var(--pamuk-white-cta-outline) !important;
  -webkit-text-stroke: 0 !important;
}

/* Agenda Pamuk bando: force document-style white background even for cached HTML. */
html body:has(.bando-summary) {
  background: #EADEBE !important;
  background-color: #EADEBE !important;
}

html body:has(.bando-summary) .page {
  background: transparent !important;
  background-color: transparent !important;
}

html body:has(.bando-summary) .sheet,
html body:has(.bando-summary) .summary-card,
html body:has(.bando-summary) .salient-box,
html body:has(.bando-summary) .bando-notes {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

html body:has(.bando-summary) .summary-card {
  box-shadow: none !important;
  cursor: default !important;
}

/* Agenda Pamuk 2027: public landing aligned with the Pamuk visual system. */
html body.agenda-pamuk-page {
  --agenda-ink: #070902;
  --agenda-text: #2C2F18;
  --agenda-muted: #677567;
  --agenda-line: rgba(44, 47, 24, 0.18);
  --agenda-paper: #ffffff;
  --agenda-cream: #EADEBE;
  --agenda-rose-soft: #E4B6AA;
  --agenda-rose: #D58092;
  --agenda-olive: #2C2F18;
  --agenda-green: #485140;
  --agenda-taupe: #B2A58E;
  background: #EADEBE !important;
  background-color: #EADEBE !important;
  color: #2C2F18 !important;
}

html body.agenda-pamuk-page :where(main, .page) {
  background: transparent !important;
}

html body.agenda-pamuk-page .page {
  display: grid !important;
  gap: clamp(22px, 3vw, 34px) !important;
  width: min(1180px, calc(100% - 40px)) !important;
  padding-top: clamp(24px, 4vw, 54px) !important;
  padding-bottom: clamp(44px, 6vw, 74px) !important;
}

html body.agenda-pamuk-page :where(.hero, .panel) {
  border: 1px solid var(--agenda-line) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  box-shadow: none !important;
  color: var(--agenda-text) !important;
}

html body.agenda-pamuk-page .hero {
  padding: clamp(24px, 4.4vw, 54px) !important;
}

html body.agenda-pamuk-page .panel {
  margin-top: 0 !important;
  padding: clamp(22px, 3.4vw, 40px) !important;
}

html body.agenda-pamuk-page .highlight-panel {
  border-color: rgba(213, 128, 146, 0.34) !important;
  background: linear-gradient(180deg, #ffffff, rgba(228, 182, 170, 0.2)) !important;
}

html body.agenda-pamuk-page :where(h1, h2, h3, .subtitle, .text-list strong) {
  color: var(--agenda-ink) !important;
  letter-spacing: 0 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

html body.agenda-pamuk-page h1 {
  max-width: 12ch !important;
  font-size: clamp(2.8rem, 7vw, 6.4rem) !important;
  line-height: 0.98 !important;
  text-wrap: balance !important;
  white-space: normal !important;
}

html body.agenda-pamuk-page h2 {
  font-size: clamp(2rem, 4.2vw, 4.3rem) !important;
  line-height: 1 !important;
  text-wrap: balance !important;
}

html body.agenda-pamuk-page #free-title {
  font-size: clamp(1.8rem, 4.2vw, 4.3rem) !important;
  white-space: normal !important;
}

html body.agenda-pamuk-page .subtitle {
  margin-top: 12px !important;
  color: var(--agenda-olive) !important;
  font-size: clamp(1.35rem, 2.8vw, 2.6rem) !important;
  line-height: 1.08 !important;
}

html body.agenda-pamuk-page :where(.kicker, .section-label) {
  color: var(--agenda-muted) !important;
  letter-spacing: 0.12em !important;
}

html body.agenda-pamuk-page .section-label {
  margin-top: clamp(20px, 3vw, 34px) !important;
  color: var(--agenda-rose) !important;
}

html body.agenda-pamuk-page :where(.lead, .panel p, .text-list span) {
  color: var(--agenda-text) !important;
  text-align: left !important;
  text-align-last: auto !important;
  line-height: 1.62 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

html body.agenda-pamuk-page .copy-columns {
  gap: clamp(14px, 2vw, 24px) !important;
  max-width: none !important;
}

html body.agenda-pamuk-page .badges {
  gap: 8px !important;
}

html body.agenda-pamuk-page .badge {
  min-height: 28px !important;
  padding: 4px 10px !important;
  border: 1px solid rgba(213, 128, 146, 0.35) !important;
  border-radius: 6px !important;
  background: rgba(228, 182, 170, 0.22) !important;
  color: var(--agenda-olive) !important;
  box-shadow: none !important;
  cursor: default !important;
  letter-spacing: 0.04em !important;
}

html body.agenda-pamuk-page .hero .badges > span.badge:not(a):not(button):not(summary):not(label):not(input):not(select):not(textarea):not([role="button"]):not([tabindex]) {
  background: rgba(228, 182, 170, 0.22) !important;
  background-color: rgba(228, 182, 170, 0.22) !important;
}

html body.agenda-pamuk-page .hero-meta {
  margin-top: clamp(22px, 3vw, 32px) !important;
  padding-top: 18px !important;
  border-top: 1px solid var(--agenda-line) !important;
}

html body.agenda-pamuk-page .actions {
  gap: 10px !important;
}

html body.agenda-pamuk-page .button {
  min-height: 44px !important;
  padding: 10px 18px !important;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  background: linear-gradient(135deg, #D58092, #C96F83) #D58092 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  font-weight: 950 !important;
  line-height: 1.08 !important;
  text-align: center !important;
  text-shadow: var(--pamuk-white-cta-outline) !important;
  -webkit-text-stroke: 0 !important;
}

html body.agenda-pamuk-page .button.secondary {
  border-color: rgba(213, 128, 146, 0.58) !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #D58092 !important;
  text-shadow: 0 0 0.45px rgba(7, 9, 2, 0.24), 0 1px 0 rgba(255, 255, 255, 0.62) !important;
  -webkit-text-stroke: 0.14px rgba(7, 9, 2, 0.2) !important;
}

html body.agenda-pamuk-page .button:hover,
html body.agenda-pamuk-page .button:focus-visible {
  border-color: transparent !important;
  background: #485140 !important;
  color: #EADEBE !important;
  transform: none !important;
  box-shadow: none !important;
}

html body.agenda-pamuk-page .button.secondary:hover,
html body.agenda-pamuk-page .button.secondary:focus-visible {
  border-color: #485140 !important;
  background: #ffffff !important;
  color: #485140 !important;
}

html body.agenda-pamuk-page :where(.why-list li, .past-agenda-card, .agenda-number, .agenda-edition) {
  border: 1px solid var(--agenda-line) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  cursor: default !important;
  transform: none !important;
}

html body.agenda-pamuk-page .why-list li {
  min-height: 166px !important;
  padding: 18px !important;
}

html body.agenda-pamuk-page .why-list li strong {
  margin-bottom: 8px !important;
}

html body.agenda-pamuk-page :where(.why-carousel-viewport, .past-carousel-viewport) {
  border-radius: 8px !important;
}

html body.agenda-pamuk-page :where(.why-arrow, .carousel-arrow) {
  border: 1px solid rgba(213, 128, 146, 0.48) !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  color: #D58092 !important;
  box-shadow: none !important;
}

html body.agenda-pamuk-page :where(.why-arrow, .carousel-arrow):hover,
html body.agenda-pamuk-page :where(.why-arrow, .carousel-arrow):focus-visible {
  border-color: #485140 !important;
  color: #485140 !important;
}

html body.agenda-pamuk-page .past-agenda-card {
  grid-template-columns: minmax(130px, 210px) minmax(0, 1fr) !important;
  align-items: stretch !important;
  gap: clamp(18px, 3vw, 30px) !important;
}

html body.agenda-pamuk-page .agenda-cover {
  border-radius: 8px !important;
  box-shadow: none !important;
  border: 1px solid rgba(44, 47, 24, 0.16) !important;
}

html body.agenda-pamuk-page .agenda-number {
  background: rgba(234, 222, 190, 0.28) !important;
}

html body.agenda-pamuk-page .agenda-number strong {
  color: var(--agenda-ink) !important;
  letter-spacing: 0 !important;
}

html body.agenda-pamuk-page .agenda-number span {
  color: var(--agenda-muted) !important;
}

html body.agenda-pamuk-page .site-footer {
  background: #2C2F18 !important;
}

@media (min-width: 900px) {
  html body.agenda-pamuk-page .hero .copy-columns,
  html body.agenda-pamuk-page .highlight-panel .copy-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.agenda-pamuk-page .hero-inner {
    max-width: none !important;
  }
}

@media (max-width: 760px) {
  html body.agenda-pamuk-page .page {
    width: min(100% - 24px, 1180px) !important;
    gap: 18px !important;
  }

  html body.agenda-pamuk-page .hero,
  html body.agenda-pamuk-page .panel {
    padding: 20px !important;
  }

  html body.agenda-pamuk-page h1 {
    font-size: clamp(2.35rem, 11vw, 3.4rem) !important;
  }

  html body.agenda-pamuk-page .hero-meta,
  html body.agenda-pamuk-page .actions {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  html body.agenda-pamuk-page .button {
    width: 100% !important;
  }

  html body.agenda-pamuk-page .why-carousel,
  html body.agenda-pamuk-page .past-carousel-frame {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.agenda-pamuk-page :where(.why-arrow, .carousel-arrow) {
    display: none !important;
  }

  html body.agenda-pamuk-page .why-carousel-viewport,
  html body.agenda-pamuk-page .past-carousel-viewport {
    overflow-x: auto !important;
    scrollbar-width: thin !important;
  }

  html body.agenda-pamuk-page .why-list li {
    flex-basis: min(88vw, 310px) !important;
  }

  html body.agenda-pamuk-page .past-agenda-card {
    grid-template-columns: 1fr !important;
  }
}

/* Agenda Pamuk 2027: requested editorial alignment refinements. */
html body.agenda-pamuk-page .hero .copy-columns,
html body.agenda-pamuk-page .highlight-panel .copy-columns {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 12px !important;
  max-width: 100% !important;
}

html body.agenda-pamuk-page .highlight-panel {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
}

html body.agenda-pamuk-page :where(.hero .lead, .highlight-panel .lead, .why-list span, .past-agenda-card p) {
  text-align: justify !important;
  text-align-last: left !important;
}

html body.agenda-pamuk-page .hero .badges {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin-top: 24px !important;
  padding: 12px 0 !important;
  border-top: 1px solid var(--agenda-line) !important;
  border-bottom: 1px solid var(--agenda-line) !important;
}

html body.agenda-pamuk-page .hero .badges > span.badge,
html body.agenda-pamuk-page .hero .badges > span.badge:not(a):not(button):not(summary):not(label):not(input):not(select):not(textarea):not([role="button"]):not([tabindex]) {
  justify-content: flex-start !important;
  min-height: 0 !important;
  padding: 2px 14px !important;
  border: 0 !important;
  border-right: 1px solid rgba(44, 47, 24, 0.16) !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  color: var(--agenda-green) !important;
  font-size: 0.78rem !important;
  line-height: 1.25 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  cursor: default !important;
}

html body.agenda-pamuk-page .hero .badges > span.badge:last-child {
  border-right: 0 !important;
}

html body.agenda-pamuk-page .why-carousel {
  display: block !important;
  margin-top: 22px !important;
}

html body.agenda-pamuk-page .why-carousel-viewport {
  overflow: visible !important;
}

html body.agenda-pamuk-page .why-list {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  transform: none !important;
  transition: none !important;
  will-change: auto !important;
}

html body.agenda-pamuk-page .why-list li {
  display: flex !important;
  flex: initial !important;
  flex-direction: column !important;
  min-height: 218px !important;
  padding: 18px !important;
}

html body.agenda-pamuk-page .why-list li strong {
  min-height: 2.2em !important;
}

html body.agenda-pamuk-page .why-list li span {
  display: block !important;
  margin-top: 4px !important;
}

html body.agenda-pamuk-page .why-arrow {
  display: none !important;
}

html body.agenda-pamuk-page .agenda-numbers {
  align-items: stretch !important;
}

html body.agenda-pamuk-page .agenda-number {
  display: grid !important;
  place-items: center !important;
  align-content: center !important;
  min-height: 118px !important;
  padding: 18px 14px !important;
  text-align: center !important;
}

html body.agenda-pamuk-page .agenda-number strong,
html body.agenda-pamuk-page .agenda-number span {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
}

html body.agenda-pamuk-page .agenda-number span {
  margin-top: 6px !important;
  line-height: 1 !important;
}

@media (max-width: 980px) {
  html body.agenda-pamuk-page .why-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  html body.agenda-pamuk-page .hero .badges {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px !important;
  }

  html body.agenda-pamuk-page .hero .badges > span.badge {
    padding: 0 !important;
    border-right: 0 !important;
  }

  html body.agenda-pamuk-page .why-list {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.agenda-pamuk-page .why-list li {
    min-height: 0 !important;
  }
}

/* Public bars: Pamuk mark and main brand name must read white on dark navigation. */
html body :where(
  .header .nav .brand-logo,
  .header .nav .brand > img,
  .site-header .nav .brand-logo,
  .site-header .nav .brand > img,
  .nav .brand-logo,
  .nav .brand > img,
  .site-footer .footer-logo,
  footer .footer-logo
) {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}

html body :where(
  .header .nav .brand strong,
  .header .nav .brand:hover strong,
  .header .nav .brand:focus-visible strong,
  .site-header .nav .brand strong,
  .site-header .nav .brand:hover strong,
  .site-header .nav .brand:focus-visible strong,
  .site-footer .footer-brand-text strong,
  footer .footer-brand-text strong,
  .site-footer .footer-copy strong,
  footer .footer-copy strong
) {
  color: #ffffff !important;
}

/* Final mobile pass: compact public Pamuk shell and readable one-column pages. */
@media (max-width: 760px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
  }

  @supports not (overflow-x: clip) {
    html,
    body {
      overflow-x: hidden !important;
    }
  }

  html body :where(.header, .site-header) {
    min-height: 0 !important;
  }

  html body.pamuk-mobile-nav-ready :where(.header .nav, .site-header .nav, .nav:not(.nav-mobile-menu)) {
    width: min(100% - 16px, var(--front-nav-max)) !important;
    min-height: 58px !important;
    padding: 5px 0 !important;
    gap: 7px !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  html body.pamuk-mobile-nav-ready :where(.header .nav .brand, .site-header .nav .brand, .nav .brand) {
    max-width: calc(100vw - 104px) !important;
    min-width: 0 !important;
    gap: 7px !important;
  }

  html body.pamuk-mobile-nav-ready :where(.header .nav .brand-logo, .header .nav .brand > img, .site-header .nav .brand-logo, .site-header .nav .brand > img, .nav .brand-logo, .nav .brand > img) {
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 40px !important;
    padding: 2px !important;
    border-radius: 8px !important;
  }

  html body.pamuk-mobile-nav-ready :where(.header .nav .brand strong, .site-header .nav .brand strong, .nav .brand strong) {
    max-width: 100% !important;
    overflow: hidden !important;
    font-size: clamp(1rem, 4.6vw, 1.18rem) !important;
    line-height: 1.02 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.pamuk-mobile-nav-ready :where(.header .nav .brand-text > span, .site-header .nav .brand-text > span, .nav .brand-text > span) {
    display: none !important;
  }

  html body.pamuk-mobile-nav-ready :where(.pamuk-mobile-nav-toggle, .nav.nav-mobile-menu .menu-toggle) {
    min-height: 38px !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    font-size: 0.74rem !important;
    line-height: 1 !important;
  }

  html body.pamuk-mobile-nav-ready :where(.nav:not(.pamuk-mobile-nav-open) .nav-links, .nav:not(.pamuk-mobile-nav-open) .nav-actions) {
    display: none !important;
  }

  html body.pamuk-mobile-nav-ready :where(.nav.pamuk-mobile-nav-open .nav-links, .nav.pamuk-mobile-nav-open .nav-actions) {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
    padding-top: 5px !important;
  }

  html body.pamuk-mobile-nav-ready :where(.nav.pamuk-mobile-nav-open .nav-links a, .nav.pamuk-mobile-nav-open .nav-actions a, .nav.pamuk-mobile-nav-open .nav-actions .button) {
    width: 100% !important;
    min-height: 38px !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    font-size: 0.78rem !important;
    line-height: 1.1 !important;
    white-space: normal !important;
  }

  html body :where(.page, main.page, .content-shell, .project-form, .agenda-shell, .membership-wizard, .project-card, .register-card) {
    width: min(100% - 18px, 1180px) !important;
    max-width: calc(100% - 18px) !important;
  }

  html body :where(.hero, .pamuk-hero, .panel, .sheet, .membership-hero, .membership-merged-info, .membership-wizard, .project-card, .register-card, .choice-card, .step-panel, .salient-box, .bando-notes) {
    border-radius: 8px !important;
    padding: 16px !important;
  }

  html body :where(h1, h2, h3, .title, .subtitle) {
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  html body :where(p, li, label, input, select, textarea, button, a) {
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }

  html body :where(input, select, textarea) {
    min-height: 44px !important;
    font-size: 16px !important;
  }

  html body :where(.actions, .cta-row, .active-project-actions, .membership-signup-buttons, .step-nav, .tools, .bando-actions, .project-actions) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: stretch !important;
  }

  html body :where(.actions .button, .cta-row .button, .active-project-actions .button, .membership-signup-buttons .button, .step-nav .button, .tools .tool, .bando-actions .button, .project-actions .button) {
    width: 100% !important;
    min-width: 0 !important;
  }

  html body :where(.step-tabs, .membership-step-tabs) {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 7px !important;
    overflow-x: auto !important;
    padding-bottom: 4px !important;
    scroll-snap-type: x proximity !important;
  }

  html body :where(.step-tab, .membership-step-tab) {
    flex: 0 0 auto !important;
    min-width: min(68vw, 190px) !important;
    scroll-snap-align: start !important;
    white-space: nowrap !important;
  }

  html body :where(.step-panel, .form-grid, .field-grid, .payment-methods, .project-fields, .member-path-panel, .member-lookup-grid, .agenda-numbers, .bando-summary, .salient-list) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.bando-agenda-page .page {
    width: min(100% - 18px, 940px) !important;
    padding: 16px 0 34px !important;
  }

  html body.bando-agenda-page .head,
  html body.bando-agenda-page .topbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  html body.bando-agenda-page h1 {
    white-space: normal !important;
    font-size: clamp(2rem, 12vw, 3rem) !important;
    line-height: 1 !important;
  }

  html body.bando-agenda-page .logo {
    width: 72px !important;
    height: 72px !important;
  }

  html body.bando-agenda-page p,
  html body.bando-agenda-page li {
    text-align: left !important;
  }

  html body.agenda-pamuk-page .hero .badges {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px !important;
    padding: 10px 0 !important;
  }

  html body.agenda-pamuk-page .why-list,
  html body.agenda-pamuk-page .agenda-numbers {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body :where(.site-footer, footer.site-footer, .pamuk-public-footer) {
    min-height: 0 !important;
  }

  html body .footer-inner {
    width: min(100% - 16px, var(--front-nav-max)) !important;
    padding: 7px 0 8px !important;
    gap: 5px !important;
  }

  html body .footer-main-row {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: 7px !important;
    align-items: center !important;
  }

  html body .footer-brand-text {
    display: none !important;
  }

  html body .footer-logo {
    width: 34px !important;
    height: 34px !important;
    padding: 2px !important;
    border-radius: 7px !important;
  }

  html body .footer-nav,
  html body .footer-legal-row,
  html body .footer-legal-links {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    justify-content: flex-start !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
  }

  html body .footer-nav::-webkit-scrollbar,
  html body .footer-legal-row::-webkit-scrollbar,
  html body .footer-legal-links::-webkit-scrollbar {
    display: none !important;
  }

  html body .footer-nav {
    gap: 4px !important;
  }

  html body .footer-nav a {
    flex: 0 0 auto !important;
    min-height: 26px !important;
    padding: 3px 5px !important;
    font-size: 0.58rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  html body .footer-legal-row {
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    padding-top: 2px !important;
  }

  html body .footer-legal-label {
    flex: 0 0 auto !important;
    min-height: 22px !important;
    font-size: 0.56rem !important;
  }

  html body .footer-legal-links {
    flex: 1 1 auto !important;
    gap: 8px !important;
  }

  html body .footer-legal-links a,
  html body .footer-legal-links button {
    flex: 0 0 auto !important;
    min-height: 22px !important;
    padding: 2px 0 !important;
    font-size: 0.56rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
}

/* Gabriele Ruggiu personal area: white, black and grey identity. */
html body.home-page,
html body.gabriele-page {
  --ink: #111111;
  --muted: #626262;
  --paper: #ffffff;
  --mist: #f2f2f2;
  --line: #d8d8d8;
  --acid: #111111;
  --sun: #6f6f6f;
  --front-nav-ink: #111111;
  --front-nav-muted: #666666;
  --front-nav-line: rgba(17, 17, 17, 0.16);
  --front-nav-glass: rgba(255, 255, 255, 0.94);
  --front-surface: rgba(255, 255, 255, 0.92);
  --front-surface-soft: rgba(242, 242, 242, 0.82);
  --pamuk-action-join: #111111;
  --pamuk-action-join-dark: #333333;
  --pamuk-action-hot: #111111;
  --pamuk-action-hot-dark: #333333;
  --pamuk-action-info: #4b4b4b;
  --pamuk-action-info-dark: #111111;
  color: #111111 !important;
  background:
    radial-gradient(circle at 12% 12%, rgba(17, 17, 17, 0.055), transparent 28rem),
    radial-gradient(circle at 86% 8%, rgba(17, 17, 17, 0.035), transparent 24rem),
    linear-gradient(135deg, #ffffff 0%, #f7f7f7 52%, #ececec 100%) !important;
}

html body.home-page :where(.site-header, .header),
html body.gabriele-page :where(.site-header, .header) {
  border-bottom: 1px solid rgba(17, 17, 17, 0.12) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.08) !important;
  -webkit-backdrop-filter: blur(18px) grayscale(1) !important;
  backdrop-filter: blur(18px) grayscale(1) !important;
}

html body.home-page :where(.nav .brand-logo, .nav .brand > img, .site-header .brand-logo, .site-header .brand > img, .header .brand-logo, .header .brand > img),
html body.gabriele-page :where(.nav .brand-logo, .nav .brand > img, .site-header .brand-logo, .site-header .brand > img, .header .brand-logo, .header .brand > img) {
  filter: grayscale(1) contrast(1.18) !important;
  opacity: 1 !important;
}

html body.home-page :where(.nav .brand strong, .nav .brand:hover strong, .nav .brand:focus-visible strong, .site-header .brand strong, .header .brand strong),
html body.gabriele-page :where(.nav .brand strong, .nav .brand:hover strong, .nav .brand:focus-visible strong, .site-header .brand strong, .header .brand strong) {
  color: #111111 !important;
  text-shadow: none !important;
}

html body.home-page :where(.nav .brand span, .nav .brand small, .nav .brand-text > span),
html body.gabriele-page :where(.nav .brand span, .nav .brand small, .nav .brand-text > span) {
  color: #666666 !important;
}

html body.home-page :where(.nav .nav-links a, .nav .nav-actions a.ghost-link, .pamuk-mobile-nav-toggle, .menu-toggle),
html body.gabriele-page :where(.nav .nav-links a, .nav .nav-actions a.ghost-link, .pamuk-mobile-nav-toggle, .menu-toggle) {
  border-color: rgba(17, 17, 17, 0.18) !important;
  background: #ffffff !important;
  color: #111111 !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

html body.home-page :where(.nav .nav-links a:hover, .nav .nav-links a:focus-visible, .nav .nav-actions a.ghost-link:hover, .nav .nav-actions a.ghost-link:focus-visible, .pamuk-mobile-nav-toggle:hover, .pamuk-mobile-nav-toggle:focus-visible, .menu-toggle:hover, .menu-toggle:focus-visible),
html body.gabriele-page :where(.nav .nav-links a:hover, .nav .nav-links a:focus-visible, .nav .nav-actions a.ghost-link:hover, .nav .nav-actions a.ghost-link:focus-visible, .pamuk-mobile-nav-toggle:hover, .pamuk-mobile-nav-toggle:focus-visible, .menu-toggle:hover, .menu-toggle:focus-visible) {
  border-color: #111111 !important;
  background: #f2f2f2 !important;
  color: #000000 !important;
}

html body.home-page :where(.nav-links a::after, .progress span, .step-progress span),
html body.gabriele-page :where(.nav-links a::after, .progress span, .step-progress span) {
  background: #111111 !important;
}

html body.home-page :where(.button, .btn, button.button, input[type="submit"], input[type="button"], .cta, .cta-button, .social-chip),
html body.gabriele-page :where(.button, .btn, button.button, input[type="submit"], input[type="button"], .cta, .cta-button, .social-chip) {
  border-color: #111111 !important;
  background: #111111 !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.12) !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.55) !important;
  -webkit-text-stroke: 0 !important;
}

html body.home-page :where(.button.secondary, .btn.secondary, .button.ghost, .button.is-light, .social-icon),
html body.gabriele-page :where(.button.secondary, .btn.secondary, .button.ghost, .button.is-light, .social-icon) {
  border-color: rgba(17, 17, 17, 0.34) !important;
  background: #ffffff !important;
  color: #111111 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html body.home-page :where(.button:hover, .button:focus-visible, .btn:hover, .btn:focus-visible, .cta:hover, .cta:focus-visible, .cta-button:hover, .cta-button:focus-visible),
html body.gabriele-page :where(.button:hover, .button:focus-visible, .btn:hover, .btn:focus-visible, .cta:hover, .cta:focus-visible, .cta-button:hover, .cta-button:focus-visible) {
  border-color: #333333 !important;
  background: #333333 !important;
  color: #ffffff !important;
  transform: none !important;
}

html body.home-page :where(.button.secondary:hover, .button.secondary:focus-visible, .social-icon:hover, .social-icon:focus-visible),
html body.gabriele-page :where(.button.secondary:hover, .button.secondary:focus-visible, .social-icon:hover, .social-icon:focus-visible) {
  border-color: #111111 !important;
  background: #f1f1f1 !important;
  color: #000000 !important;
}

html body.home-page :where(.hero, .section, .quote-band, .collective-card, .book-slide-copy, .amazon-review-viewer, .about-panel, .book-card, .panel, .card),
html body.gabriele-page :where(.hero, .section, .quote-band, .collective-card, .book-slide-copy, .amazon-review-viewer, .about-panel, .book-card, .panel, .card) {
  border-color: rgba(17, 17, 17, 0.12) !important;
  background-color: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 20px 48px rgba(17, 17, 17, 0.08) !important;
}

html body.home-page :where(.number, .eyebrow, .section-kicker, .kicker, .muted, .review-meta, .brand-text > span),
html body.gabriele-page :where(.number, .eyebrow, .section-kicker, .kicker, .muted, .review-meta, .brand-text > span) {
  color: #666666 !important;
}

html body.home-page :where(.about-panel b, .stat b, .carousel-arrow, .carousel-thumb.is-active),
html body.gabriele-page :where(.about-panel b, .stat b, .carousel-arrow, .carousel-thumb.is-active) {
  border-color: #111111 !important;
  background: #111111 !important;
  color: #ffffff !important;
}

html body.home-page :where(.footer, .site-footer),
html body.gabriele-page :where(.footer, .site-footer) {
  background: #111111 !important;
  color: #ffffff !important;
}

html body.home-page :where(.footer a, .footer span, .footer strong, .site-footer a, .site-footer span, .site-footer strong),
html body.gabriele-page :where(.footer a, .footer span, .footer strong, .site-footer a, .site-footer span, .site-footer strong) {
  color: #ffffff !important;
}

@media (max-width: 760px) {
  html body.home-page :where(.site-header .nav-links, .nav.nav-mobile-menu .nav-links.is-open),
  html body.gabriele-page :where(.site-header .nav-links, .nav.nav-mobile-menu .nav-links.is-open) {
    border-color: rgba(17, 17, 17, 0.14) !important;
    background: rgba(255, 255, 255, 0.98) !important;
  }

  html body.home-page :where(.nav.pamuk-mobile-nav-open .nav-links a, .nav.pamuk-mobile-nav-open .nav-actions a, .nav.nav-mobile-menu .nav-links.is-open a),
  html body.gabriele-page :where(.nav.pamuk-mobile-nav-open .nav-links a, .nav.pamuk-mobile-nav-open .nav-actions a, .nav.nav-mobile-menu .nav-links.is-open a) {
    border-color: rgba(17, 17, 17, 0.16) !important;
    background: #ffffff !important;
    color: #111111 !important;
  }
}

/* High-specificity neutral overrides for Gabriele pages. */
html body.home-page header.site-header nav.nav a.brand img.brand-logo,
html body.home-page header.header nav.nav a.brand img.brand-logo,
html body.gabriele-page header.site-header nav.nav a.brand img.brand-logo,
html body.gabriele-page header.header nav.nav a.brand img.brand-logo {
  filter: grayscale(1) contrast(1.18) !important;
  opacity: 1 !important;
}

html body.home-page header.site-header nav.nav a.brand strong,
html body.home-page header.header nav.nav a.brand strong,
html body.gabriele-page header.site-header nav.nav a.brand strong,
html body.gabriele-page header.header nav.nav a.brand strong {
  color: #111111 !important;
  text-shadow: none !important;
}

html body.home-page header.site-header nav.nav .nav-actions a.button,
html body.home-page header.header nav.nav .nav-actions a.button,
html body.home-page a.button:not(.secondary),
html body.home-page button.button:not(.secondary),
html body.gabriele-page header.site-header nav.nav .nav-actions a.button,
html body.gabriele-page header.header nav.nav .nav-actions a.button,
html body.gabriele-page a.button:not(.secondary),
html body.gabriele-page button.button:not(.secondary) {
  border-color: #111111 !important;
  background: #111111 !important;
  background-color: #111111 !important;
  color: #ffffff !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.55) !important;
  -webkit-text-stroke: 0 !important;
}

html body.home-page a.button.secondary,
html body.home-page button.button.secondary,
html body.home-page .books-carousel-dark a.button.secondary,
html body.gabriele-page a.button.secondary,
html body.gabriele-page button.button.secondary,
html body.gabriele-page .books-carousel-dark a.button.secondary {
  border-color: rgba(17, 17, 17, 0.42) !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #111111 !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

html body.home-page a.button.secondary:hover,
html body.home-page a.button.secondary:focus-visible,
html body.gabriele-page a.button.secondary:hover,
html body.gabriele-page a.button.secondary:focus-visible {
  border-color: #111111 !important;
  background: #f1f1f1 !important;
  background-color: #f1f1f1 !important;
  color: #111111 !important;
}

html body.home-page .carousel-thumbs,
html body.gabriele-page .carousel-thumbs {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

html body.home-page .carousel-thumb,
html body.home-page .carousel-thumb:hover,
html body.home-page .carousel-thumb:focus-visible,
html body.home-page .carousel-thumb.is-active,
html body.home-page .carousel-thumb.is-active:hover,
html body.home-page .carousel-thumb.is-active:focus-visible,
html body.gabriele-page .carousel-thumb,
html body.gabriele-page .carousel-thumb:hover,
html body.gabriele-page .carousel-thumb:focus-visible,
html body.gabriele-page .carousel-thumb.is-active,
html body.gabriele-page .carousel-thumb.is-active:hover,
html body.gabriele-page .carousel-thumb.is-active:focus-visible {
  border-color: rgba(17, 17, 17, 0.34) !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #111111 !important;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08) !important;
  text-shadow: none !important;
}

html body.home-page .carousel-thumb.is-active,
html body.home-page .carousel-thumb.is-active:hover,
html body.home-page .carousel-thumb.is-active:focus-visible,
html body.gabriele-page .carousel-thumb.is-active,
html body.gabriele-page .carousel-thumb.is-active:hover,
html body.gabriele-page .carousel-thumb.is-active:focus-visible {
  border-color: #111111 !important;
  box-shadow: inset 0 0 0 1px #111111 !important;
}

html body.home-page .carousel-thumb img,
html body.home-page .carousel-thumb:hover img,
html body.home-page .carousel-thumb:focus-visible img,
html body.home-page .carousel-thumb.is-active img,
html body.home-page .carousel-thumb.is-active:hover img,
html body.home-page .carousel-thumb.is-active:focus-visible img,
html body.gabriele-page .carousel-thumb img,
html body.gabriele-page .carousel-thumb:hover img,
html body.gabriele-page .carousel-thumb:focus-visible img,
html body.gabriele-page .carousel-thumb.is-active img,
html body.gabriele-page .carousel-thumb.is-active:hover img,
html body.gabriele-page .carousel-thumb.is-active:focus-visible img {
  animation: none !important;
}

@media (max-width: 760px) {
  html body.home-page .carousel-viewport,
  html body.gabriele-page .carousel-viewport {
    min-height: 760px !important;
  }

  html body.home-page .amazon-review-viewer,
  html body.gabriele-page .amazon-review-viewer {
    min-height: 156px !important;
  }

  html body.home-page .review-title,
  html body.gabriele-page .review-title {
    min-height: 2.3em !important;
  }

  html body.home-page .review-quote,
  html body.gabriele-page .review-quote {
    min-height: 4.4em !important;
  }
}

/* Gabriele footer: stable legal navigation on desktop and mobile. */
html body.home-page footer.gabriele-legal-footer,
html body.gabriele-page footer.gabriele-legal-footer {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: center !important;
  justify-content: stretch !important;
  gap: 10px 18px !important;
  width: min(var(--max, 1180px), calc(100% - 40px)) !important;
  margin: clamp(10px, 1.2vw, 18px) auto 0 !important;
  padding: 18px clamp(12px, 1.8vw, 20px) 20px !important;
  border-top: 1px solid rgba(17, 17, 17, 0.18) !important;
  border-radius: 0 !important;
  background: #111111 !important;
  color: #ffffff !important;
}

html body.home-page footer.gabriele-legal-footer .footer-copy,
html body.gabriele-page footer.gabriele-legal-footer .footer-copy {
  min-width: 0 !important;
  color: rgba(255, 255, 255, 0.78) !important;
}

html body.home-page footer.gabriele-legal-footer .footer-copy strong,
html body.gabriele-page footer.gabriele-legal-footer .footer-copy strong {
  color: #ffffff !important;
}

html body.home-page footer.gabriele-legal-footer .footer-nav,
html body.gabriele-page footer.gabriele-legal-footer .footer-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  min-width: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

html body.home-page footer.gabriele-legal-footer .footer-nav::-webkit-scrollbar,
html body.gabriele-page footer.gabriele-legal-footer .footer-nav::-webkit-scrollbar,
html body.home-page footer.gabriele-legal-footer .footer-legal-row::-webkit-scrollbar,
html body.gabriele-page footer.gabriele-legal-footer .footer-legal-row::-webkit-scrollbar,
html body.home-page footer.gabriele-legal-footer .footer-legal-links::-webkit-scrollbar,
html body.gabriele-page footer.gabriele-legal-footer .footer-legal-links::-webkit-scrollbar {
  display: none !important;
}

html body.home-page footer.gabriele-legal-footer .footer-nav a,
html body.gabriele-page footer.gabriele-legal-footer .footer-nav a {
  flex: 0 0 auto !important;
  min-height: 30px !important;
  padding: 5px 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 7px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  font-size: 0.72rem !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

html body.home-page footer.gabriele-legal-footer .footer-legal-row,
html body.gabriele-page footer.gabriele-legal-footer .footer-legal-row {
  grid-column: 1 / -1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  min-width: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 10px 0 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

html body.home-page footer.gabriele-legal-footer .footer-legal-label,
html body.gabriele-page footer.gabriele-legal-footer .footer-legal-label {
  flex: 0 0 auto !important;
  min-height: 24px !important;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 0.72rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html body.home-page footer.gabriele-legal-footer .footer-legal-links,
html body.gabriele-page footer.gabriele-legal-footer .footer-legal-links {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex: 1 1 auto !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  min-width: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

html body.home-page footer.gabriele-legal-footer .footer-legal-links a,
html body.home-page footer.gabriele-legal-footer .footer-legal-links button,
html body.gabriele-page footer.gabriele-legal-footer .footer-legal-links a,
html body.gabriele-page footer.gabriele-legal-footer .footer-legal-links button {
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-height: 26px !important;
  padding: 3px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.62) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #ffffff !important;
  font: inherit !important;
  font-size: 0.7rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

html body.home-page footer.gabriele-legal-footer .footer-legal-links a:hover,
html body.home-page footer.gabriele-legal-footer .footer-legal-links a:focus-visible,
html body.home-page footer.gabriele-legal-footer .footer-legal-links button:hover,
html body.home-page footer.gabriele-legal-footer .footer-legal-links button:focus-visible,
html body.gabriele-page footer.gabriele-legal-footer .footer-legal-links a:hover,
html body.gabriele-page footer.gabriele-legal-footer .footer-legal-links a:focus-visible,
html body.gabriele-page footer.gabriele-legal-footer .footer-legal-links button:hover,
html body.gabriele-page footer.gabriele-legal-footer .footer-legal-links button:focus-visible {
  border-bottom-color: #ffffff !important;
  color: #ffffff !important;
  outline: none !important;
}

@media (max-width: 760px) {
  html body.home-page footer.gabriele-legal-footer,
  html body.gabriele-page footer.gabriele-legal-footer {
    grid-template-columns: minmax(0, 1fr) !important;
    width: min(100% - 16px, var(--max, 1180px)) !important;
    gap: 7px !important;
    padding: 12px 8px 14px !important;
  }

  html body.home-page footer.gabriele-legal-footer .footer-copy,
  html body.gabriele-page footer.gabriele-legal-footer .footer-copy {
    gap: 2px !important;
  }

  html body.home-page footer.gabriele-legal-footer .footer-nav,
  html body.gabriele-page footer.gabriele-legal-footer .footer-nav {
    justify-content: flex-start !important;
    gap: 5px !important;
  }

  html body.home-page footer.gabriele-legal-footer .footer-nav a,
  html body.gabriele-page footer.gabriele-legal-footer .footer-nav a {
    min-height: 26px !important;
    padding: 4px 6px !important;
    font-size: 0.58rem !important;
  }

  html body.home-page footer.gabriele-legal-footer .footer-legal-row,
  html body.gabriele-page footer.gabriele-legal-footer .footer-legal-row {
    gap: 8px !important;
    padding-top: 7px !important;
  }

  html body.home-page footer.gabriele-legal-footer .footer-legal-label,
  html body.gabriele-page footer.gabriele-legal-footer .footer-legal-label,
  html body.home-page footer.gabriele-legal-footer .footer-legal-links a,
  html body.home-page footer.gabriele-legal-footer .footer-legal-links button,
  html body.gabriele-page footer.gabriele-legal-footer .footer-legal-links a,
  html body.gabriele-page footer.gabriele-legal-footer .footer-legal-links button {
    min-height: 22px !important;
    font-size: 0.56rem !important;
  }
}

/* Accesso associati sempre raggiungibile nella barra alta, anche quando le azioni desktop si comprimono. */
html body .nav .member-access-direct,
html body .nav .member-access-short {
  display: none !important;
}

@media (min-width: 761px) and (max-width: 1120px) {
  html body .nav.has-member-access .member-access-direct {
    display: inline-flex !important;
    position: absolute !important;
    top: 50% !important;
    right: 78px !important;
    z-index: 44 !important;
    min-height: 40px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 12px !important;
    border: 1px solid rgba(213, 128, 146, 0.72) !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #D58092 !important;
    font-size: 0.78rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    text-shadow: 0 0 1px rgba(7, 9, 2, 0.18) !important;
    white-space: nowrap !important;
    transform: translateY(-50%) !important;
    box-shadow: none !important;
  }

  html body .nav.has-member-access .member-access-wide {
    display: inline !important;
  }

  html body .nav.has-member-access .brand {
    max-width: calc(100vw - 260px) !important;
  }
}

@media (max-width: 760px) {
  html body .nav.has-member-access .member-access-direct {
    display: inline-flex !important;
    position: absolute !important;
    top: 50% !important;
    right: 68px !important;
    z-index: 44 !important;
    min-height: 38px !important;
    max-width: 132px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 10px !important;
    border: 1px solid rgba(213, 128, 146, 0.72) !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #D58092 !important;
    font-size: 0.72rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-shadow: 0 0 1px rgba(7, 9, 2, 0.18) !important;
    white-space: nowrap !important;
    transform: translateY(-50%) !important;
    box-shadow: none !important;
  }

  html body .nav.has-member-access .member-access-direct:hover,
  html body .nav.has-member-access .member-access-direct:focus-visible {
    border-color: rgba(213, 128, 146, 0.9) !important;
    background: #fff7f7 !important;
    color: #D58092 !important;
  }

  html body .nav.has-member-access .member-access-wide {
    display: inline !important;
  }

  html body .nav.has-member-access .brand {
    max-width: calc(100vw - 220px) !important;
  }
}

@media (max-width: 520px) {
  html body .nav.has-member-access .member-access-direct {
    right: 62px !important;
    min-height: 36px !important;
    max-width: 78px !important;
    padding: 0 8px !important;
    font-size: 0.68rem !important;
  }

  html body .nav.has-member-access .member-access-wide {
    display: none !important;
  }

  html body .nav.has-member-access .member-access-short {
    display: inline !important;
  }

  html body .nav.has-member-access .brand {
    max-width: calc(100vw - 168px) !important;
  }
}

@media (max-width: 380px) {
  html body .nav.has-member-access .member-access-direct {
    right: 58px !important;
    max-width: 70px !important;
    padding: 0 7px !important;
    font-size: 0.65rem !important;
  }
}

/* member-access-final-20260727: il pulsante associati deve restare visibile anche su desktop larghi. */
@media (min-width: 1121px) {
  html body :where(.header, .site-header) .nav.has-member-access {
    padding-right: 148px !important;
  }

  html body :where(.header, .site-header) .nav.has-member-access .member-access-direct {
    display: inline-flex !important;
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    z-index: 60 !important;
    min-height: 42px !important;
    max-width: 136px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 12px !important;
    border: 1px solid rgba(213, 128, 146, 0.78) !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #D58092 !important;
    font-size: 0.78rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-shadow: 0 0 1px rgba(7, 9, 2, 0.2) !important;
    white-space: nowrap !important;
    transform: translateY(-50%) !important;
    box-shadow: none !important;
  }

  html body :where(.header, .site-header) .nav.has-member-access .member-access-wide {
    display: inline !important;
  }

  html body :where(.header, .site-header) .nav.has-member-access .member-access-short {
    display: none !important;
  }

  html body :where(.header, .site-header) .nav.has-member-access .nav-actions a[href*="accesso-associato"] {
    display: none !important;
  }
}

/* member-access-inline-20260727: voce normale in barra, visibile anche quando il pulsante assoluto non basta. */
html body .nav .nav-links a.member-access-nav-link,
html body :where(.header, .site-header) .nav .nav-links a.member-access-nav-link {
  display: inline-flex !important;
  min-height: 42px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 9px 13px !important;
  border: 1px solid rgba(213, 128, 146, 0.78) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #D58092 !important;
  font-weight: 950 !important;
  text-shadow: 0 0 1px rgba(7, 9, 2, 0.2) !important;
  white-space: nowrap !important;
}

html body .nav .nav-links a.member-access-nav-link:hover,
html body .nav .nav-links a.member-access-nav-link:focus-visible {
  border-color: rgba(213, 128, 146, 0.95) !important;
  background: #fff7f7 !important;
  color: #D58092 !important;
}

/* member-access-right-20260727: nella pagina Collettivo l'area associati vive solo nei pulsanti in alto a destra. */
html body.collective-pamuk-page :where(.header, .site-header) .nav.has-member-access {
  padding-right: 0 !important;
}

html body.collective-pamuk-page :where(.header, .site-header) .nav.has-member-access .member-access-direct,
html body.collective-pamuk-page :where(.header, .site-header) .nav.has-member-access .nav-links a.member-access-nav-link {
  display: none !important;
}

html body.collective-pamuk-page :where(.header, .site-header) .nav.has-member-access .nav-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  overflow: visible !important;
}

html body.collective-pamuk-page :where(.header, .site-header) .nav.has-member-access .nav-actions a.member-access-action {
  display: inline-flex !important;
  min-height: 42px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 9px 13px !important;
  border: 1px solid rgba(213, 128, 146, 0.82) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #D58092 !important;
  font-size: clamp(0.72rem, 0.86vw, 0.82rem) !important;
  font-weight: 950 !important;
  line-height: 1.12 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-shadow: 0 0 1px rgba(7, 9, 2, 0.2) !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

html body.collective-pamuk-page :where(.header, .site-header) .nav.has-member-access .nav-actions a.member-access-action:hover,
html body.collective-pamuk-page :where(.header, .site-header) .nav.has-member-access .nav-actions a.member-access-action:focus-visible {
  border-color: rgba(213, 128, 146, 0.98) !important;
  background: #fff7f7 !important;
  color: #D58092 !important;
}

/* member-access-grouped-20260728: Area personale deve stare nel gruppo azioni, accanto a Contatti. */
html body :where(.header, .site-header) .nav.has-member-access {
  justify-content: flex-start !important;
  padding-right: 0 !important;
}

html body :where(.header, .site-header) .nav.has-member-access .nav-links {
  flex: 0 0 auto !important;
  justify-content: flex-end !important;
  margin-left: auto !important;
}

html body :where(.header, .site-header) .nav.has-member-access .member-access-direct {
  display: none !important;
}

html body :where(.header, .site-header) .nav.has-member-access .nav-actions {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  margin-left: 0 !important;
  overflow: visible !important;
}

html body :where(.header, .site-header) .nav.has-member-access .nav-actions a.member-access-action {
  display: inline-flex !important;
  min-height: 42px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 9px 13px !important;
  border: 1px solid rgba(213, 128, 146, 0.82) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #D58092 !important;
  font-size: clamp(0.72rem, 0.86vw, 0.82rem) !important;
  font-weight: 950 !important;
  line-height: 1.12 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-shadow: 0 0 1px rgba(7, 9, 2, 0.2) !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

html body :where(.header, .site-header) .nav.has-member-access .nav-actions a.member-access-action:hover,
html body :where(.header, .site-header) .nav.has-member-access .nav-actions a.member-access-action:focus-visible {
  border-color: rgba(213, 128, 146, 0.98) !important;
  background: #fff7f7 !important;
  color: #D58092 !important;
}

/* mobile-footer-legal-wrap-20260728: le note legali non devono uscire lateralmente su smartphone. */
@media (max-width: 760px) {
  html body :where(.site-footer, footer.site-footer, .pamuk-public-footer) .footer-legal-row,
  html body :where(.site-footer, footer.site-footer, .pamuk-public-footer) .footer-legal-links {
    width: 100% !important;
    max-width: 100% !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
  }

  html body :where(.site-footer, footer.site-footer, .pamuk-public-footer) .footer-legal-row {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  html body :where(.site-footer, footer.site-footer, .pamuk-public-footer) .footer-legal-links {
    flex: 1 1 100% !important;
    align-self: stretch !important;
    justify-content: flex-start !important;
    gap: 2px 9px !important;
  }

  html body :where(.site-footer, footer.site-footer, .pamuk-public-footer) .footer-legal-links a,
  html body :where(.site-footer, footer.site-footer, .pamuk-public-footer) .footer-legal-links button {
    flex: 0 1 auto !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    text-align: left !important;
  }
}

/* donation-payment-tabs-20260803: i metodi di pagamento devono sembrare scelte, non due CTA gia premute. */
html body :where(.pamuk-payment-choice-tabs) .pamuk-payment-choice-button,
html body :where(.pamuk-payment-choice-tabs) .pamuk-payment-choice-button:not(.is-active),
html body :where(.pamuk-payment-choice-tabs) .pamuk-payment-choice-button[aria-selected="false"] {
  border-color: rgba(72, 81, 64, 0.28) !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #2C2F18 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

html body :where(.pamuk-payment-choice-tabs) .pamuk-payment-choice-button strong {
  color: #070902 !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

html body :where(.pamuk-payment-choice-tabs) .pamuk-payment-choice-button span {
  color: #677567 !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

html body :where(.pamuk-payment-choice-tabs) .pamuk-payment-choice-button:hover,
html body :where(.pamuk-payment-choice-tabs) .pamuk-payment-choice-button:focus-visible {
  border-color: #D58092 !important;
  background: #fff7f7 !important;
  background-color: #fff7f7 !important;
  color: #2C2F18 !important;
  transform: none !important;
}

html body :where(.pamuk-payment-choice-tabs) .pamuk-payment-choice-button.is-active,
html body :where(.pamuk-payment-choice-tabs) .pamuk-payment-choice-button[aria-selected="true"] {
  border-color: #D58092 !important;
  background: linear-gradient(135deg, #D58092, #D06F86) #D58092 !important;
  background-color: #D58092 !important;
  color: #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22) !important;
}

html body :where(.pamuk-payment-choice-tabs) .pamuk-payment-choice-button.is-active strong,
html body :where(.pamuk-payment-choice-tabs) .pamuk-payment-choice-button.is-active span,
html body :where(.pamuk-payment-choice-tabs) .pamuk-payment-choice-button[aria-selected="true"] strong,
html body :where(.pamuk-payment-choice-tabs) .pamuk-payment-choice-button[aria-selected="true"] span {
  color: #ffffff !important;
  text-shadow: 0 1px 1px rgba(7, 9, 2, 0.34) !important;
}

/* callout-button-fit-20260901: i CTA della call devono rientrare anche in italiano, senza parole spezzate. */
html body.collective-pamuk-page .home-callout .home-callout-buttons {
  grid-template-columns: repeat(2, minmax(118px, 1fr)) !important;
  min-width: 0 !important;
}

html body.collective-pamuk-page .home-callout .home-callout-actions .button,
html body.collective-pamuk-page .home-callout .home-callout-buttons .button {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 42px !important;
  padding: 8px 12px !important;
  line-height: 1.14 !important;
  text-align: center !important;
  white-space: normal !important;
  text-wrap: balance !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

@media (max-width: 680px) {
  html body.collective-pamuk-page .home-callout .home-callout-buttons {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* marketplace-nav-light-20260901: la vetrina in barra alta deve essere un pulsante chiaro. */
html body :where(.header, .site-header) .nav .nav-actions a.marketplace-action,
html body :where(.header, .site-header) .nav .nav-actions a.button.marketplace-action {
  border-color: rgba(213, 128, 146, 0.82) !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #D58092 !important;
  text-shadow: 0 0 1px rgba(7, 9, 2, 0.2) !important;
  -webkit-text-stroke: 0.12px rgba(7, 9, 2, 0.18) !important;
}

html body :where(.header, .site-header) .nav .nav-actions a.marketplace-action:hover,
html body :where(.header, .site-header) .nav .nav-actions a.marketplace-action:focus-visible,
html body :where(.header, .site-header) .nav .nav-actions a.button.marketplace-action:hover,
html body :where(.header, .site-header) .nav .nav-actions a.button.marketplace-action:focus-visible {
  border-color: rgba(213, 128, 146, 0.98) !important;
  background: #fff7f7 !important;
  background-color: #fff7f7 !important;
  background-image: none !important;
  color: #D58092 !important;
}

/* Public reading and actions: scoped so the administrative screens keep their layout. */
html body.pamuk-public-shell-ready main :where(p, .lead, .home-callout-text, .project-copy, .step span, .agenda-simple-help span) {
  font-weight: 400 !important;
  line-height: 1.5 !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

html body.pamuk-public-shell-ready main :where(p, .lead, .home-callout-text, .project-copy) strong {
  font-weight: 700 !important;
}

html body.pamuk-public-shell-ready :where(.home-callout-text, .project-copy, .access-intro .lead, .auth-box p, .agenda-code-head p) {
  color: #292d25 !important;
  font-size: 1rem !important;
}

html body.pamuk-public-shell-ready .pamuk-public-header .nav :is(.nav-links, .nav-actions) a:not(.brand),
html body.pamuk-public-shell-ready .pamuk-public-header .pamuk-mobile-nav-toggle {
  color: #2C2F18 !important;
  background: #ffffff !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  letter-spacing: 0 !important;
}

html body.pamuk-public-shell-ready .pamuk-public-header .nav a:not(.brand) span {
  color: inherit !important;
}

html body.pamuk-public-shell-ready main :is(.button, .membership-action-link) {
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 44px !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  line-height: 1.35 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  box-shadow: none !important;
}

html body.pamuk-public-shell-ready main :is(.button:not(.secondary):not(.is-secondary), .membership-action-link:not(.is-secondary)) {
  background: #98435b !important;
  border-color: #98435b !important;
  color: #ffffff !important;
}

html body.pamuk-public-shell-ready main :is(.button.secondary, .button.is-secondary, .membership-action-link.is-secondary) {
  background: #ffffff !important;
  border-color: #75796f !important;
  color: #2C2F18 !important;
}

html body.pamuk-public-shell-ready main :is(.button:hover, .button:focus-visible, .membership-action-link:hover, .membership-action-link:focus-visible) {
  background: #2C2F18 !important;
  border-color: #2C2F18 !important;
  color: #ffffff !important;
  transform: none !important;
}

html body.pamuk-public-shell-ready main :is(.button, .membership-action-link) :where(span, strong, b) {
  color: inherit !important;
}

html body.collective-pamuk-page .home-callout-steps {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.45;
  gap: 6px;
}

html body.collective-pamuk-page .home-callout-actions {
  grid-template-columns: minmax(0, 1fr) minmax(350px, 1.2fr) minmax(180px, .7fr);
}

html body.collective-pamuk-page .home-callout .home-callout-buttons {
  align-items: stretch;
}

html body.collective-pamuk-page .home-callout .home-callout-buttons .button {
  height: 100% !important;
  min-height: 64px !important;
}

html body.collective-pamuk-page .home-callout-share {
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.45;
}

html body.pamuk-projects-page .intro-panel {
  padding: 4px 0 16px;
  border: 0;
  background: transparent !important;
  box-shadow: none;
}

html body.pamuk-projects-page .intro-panel h1 {
  font-size: 2rem;
  line-height: 1.15;
}

html body.pamuk-projects-page .project-meta {
  gap: 6px 20px;
  font-size: .875rem;
  font-weight: 700;
  color: #38402f;
}

html body.pamuk-projects-page .project-side {
  border: 0 !important;
  border-left: 1px solid #d2d4cf !important;
  border-radius: 0;
  background: transparent !important;
  color: #292d25 !important;
  padding: 0 0 0 20px;
}

html body.pamuk-projects-page .project-side strong {
  color: #292d25 !important;
  text-shadow: none !important;
}

html body.pamuk-projects-page .project-side ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
  line-height: 1.5;
}

.project-details-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

html body.pamuk-public-shell-ready :where(.project-details-links, .marketplace-help, .access-help) a {
  color: #7d344a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html body.pamuk-member-access-page .access-card {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: 780px;
  margin-inline: auto;
  gap: 16px !important;
}

html body.pamuk-member-access-page .auth-panel,
html body.pamuk-member-access-page .auth-box {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.pamuk-member-access-page h1 {
  font-size: 2rem !important;
  line-height: 1.15 !important;
}

html body.pamuk-member-access-page .access-logo-row img {
  width: 36px !important;
}

html body.pamuk-member-access-page .access-session-note {
  font-size: .875rem !important;
}

html body.pamuk-member-access-page input {
  min-height: 46px !important;
  font-size: 1rem !important;
}

html body.agenda-module-page .agenda-code-head p {
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

html body.agenda-module-page .agenda-code-grid input {
  min-height: 46px !important;
  font-size: 1rem !important;
  background: #ffffff !important;
  color: #292d25 !important;
}

html body.agenda-module-page .agenda-code-box .membership-action-link {
  min-height: 44px !important;
  height: auto !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  background: #98435b !important;
  border-color: #98435b !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

html body.pamuk-projects-page .project-details-links a {
  color: #7d344a !important;
}

html body.pamuk-public-shell-ready main p a:not(.button) {
  color: #7d344a !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.access-help, .marketplace-help {
  border-top: 1px solid #d2d4cf;
  padding-top: 10px;
  text-align: left;
}

html body.pamuk-public-shell-ready :is(.access-help, .marketplace-help) summary {
  cursor: pointer;
  color: #292d25 !important;
  font-weight: 700;
  min-height: 32px;
  line-height: 1.5;
}

.access-help p, .marketplace-help p {
  margin: 8px 0 0;
}

html body.pamuk-marketplace-page > main {
  width: min(1180px, calc(100% - 32px)) !important;
  margin: 12px auto !important;
}

html body.pamuk-marketplace-page .hero {
  padding: 0 0 16px !important;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

html body.pamuk-marketplace-page .hero h1 {
  font-size: 2.25rem !important;
  line-height: 1.15;
}

html body.pamuk-marketplace-page .hero p {
  color: #292d25 !important;
  font-size: 1rem;
}

html body.pamuk-marketplace-page .work-media {
  aspect-ratio: 1;
  background: #ffffff !important;
}

html body.pamuk-marketplace-page .work-media-frame {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

@media (max-width: 980px) {
  html body.collective-pamuk-page .home-callout-actions {
    grid-template-columns: minmax(0, 1fr);
  }
  html body.collective-pamuk-page .home-callout-share {
    max-width: none;
  }
  html body.pamuk-projects-page .project-side {
    border-left: 0 !important;
    border-top: 1px solid #d2d4cf !important;
    padding: 16px 0 0;
  }
}

@media (max-width: 760px) {
  html body.pamuk-public-shell-ready main :where(p, li, .lead, .home-callout-text, .project-copy, .agenda-simple-help span) {
    text-align: left !important;
    text-align-last: auto !important;
    word-spacing: normal !important;
    overflow-wrap: anywhere;
  }
  html body.collective-pamuk-page .home-callout h2 {
    font-size: 1.75rem;
  }
  html body.agenda-module-page .agenda-quick-guide {
    grid-template-columns: minmax(0, 1fr);
  }
  html body.agenda-module-page .agenda-quick-guide span {
    font-size: .94rem;
    line-height: 1.45;
  }
  html body.collective-pamuk-page .home-callout .home-callout-buttons .button {
    min-height: 48px !important;
  }
}
/* Touch layouts scoped to candidature and member pages; no form behaviour changes. */
@media (max-width: 700px) {
  html body:is(.agenda-module-page,.pamuk-member-area-page).pamuk-mobile-nav-ready .header .nav .brand strong {font-size:16px!important;line-height:1.2!important}
  html body:is(.agenda-module-page,.pamuk-member-area-page).pamuk-mobile-nav-ready .header .nav .brand img.brand-logo {width:30px!important;min-width:30px!important;height:32px!important;flex:0 0 30px!important;object-fit:contain}
  html body:is(.agenda-module-page,.pamuk-member-area-page).pamuk-mobile-nav-ready .header .nav .brand {gap:8px!important;min-width:0!important}
  html body.pamuk-member-area-page main.member-area-shell {width:100%!important;max-width:100%!important;margin:0!important;padding:16px!important}
  html body.pamuk-member-area-page .member-area-shell .member-hero {padding:14px!important;gap:10px}
  html body.pamuk-member-area-page .member-area-shell .member-hero h1 {font-family:system-ui,sans-serif!important;font-size:28px!important;line-height:1.25!important;margin:6px 0 10px!important}
  html body.pamuk-member-area-page .member-area-shell .member-hero-actions {justify-items:end}
  html body.pamuk-member-area-page .member-area-shell .logout-form {width:auto}
  html body.pamuk-member-area-page .member-area-shell .logout-form button {min-height:44px;width:auto!important;padding:10px 20px!important;background:#fff!important;color:#542638!important;border:1px solid #b9a5ac!important}
  html body.pamuk-member-area-page .member-sections {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0!important}
  html body.pamuk-member-area-page .member-sections a {display:flex;align-items:center;justify-content:center;min-width:0;min-height:46px;padding:10px 6px!important;font-size:14px;line-height:1.25;white-space:normal}
  html body.pamuk-member-area-page .member-sections a:last-child {grid-column:1/-1}
  html body.pamuk-member-area-page .member-area-shell .member-layout {margin-top:0;gap:16px}
  html body.pamuk-member-area-page .member-area-shell .member-card {min-width:0;padding:14px!important}
  html body.pamuk-member-area-page .member-area-shell :is(h2,h3) {font-family:system-ui,sans-serif!important;line-height:1.3!important;overflow-wrap:anywhere}
  html body.pamuk-member-area-page .member-project-filters {gap:10px}
  html body.pamuk-member-area-page .member-area-shell :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {min-width:0;max-width:100%;font-size:16px!important}
  html body.pamuk-member-area-page .member-area-shell :is(.button,button,select) {min-height:44px;white-space:normal;line-height:1.35}
  html body.pamuk-member-area-page .member-area-shell .button-row {display:flex;flex-wrap:wrap;gap:8px}
  html body.pamuk-member-area-page .member-area-shell .button-row>.button {flex:1 1 180px;text-align:center}
  html body.agenda-module-page {background:#f5f6f8!important;background-image:none!important}
  html body.agenda-module-page form.agenda-project-form {width:calc(100% - 24px)!important;max-width:none!important;margin:12px!important;padding:14px!important;font-family:system-ui,sans-serif!important;box-sizing:border-box}
  html body.agenda-module-page form.agenda-project-form .agenda-form-title {font-family:system-ui,sans-serif!important;font-size:22px!important;line-height:1.3!important;height:auto!important;max-height:none!important;margin:0 0 18px!important;white-space:normal!important}
  html body.agenda-module-page form.agenda-project-form .form-step {padding:0!important}
  html body.agenda-module-page form.agenda-project-form .works-calendar-layout {margin:0;gap:12px}
  html body.agenda-module-page form.agenda-project-form .opera-box {padding:12px!important;border:1px solid #d5d9e0!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important;margin:12px 0!important}
  html body.agenda-module-page form.agenda-project-form .opera-heading {display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
  html body.agenda-module-page form.agenda-project-form :is(h3,h4) {font-family:system-ui,sans-serif!important;line-height:1.3!important}
  html body.agenda-module-page form.agenda-project-form :is(p,.opera-helper,.upload-guide-list) {font-weight:400!important;font-size:14px!important;line-height:1.5!important}
  html body.agenda-module-page form.agenda-project-form :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {font-family:system-ui,sans-serif!important;font-size:16px!important;min-width:0!important;max-width:100%!important;box-sizing:border-box}
  html body.agenda-module-page form.agenda-project-form :is(button,select,summary,.step-button) {min-height:44px;line-height:1.35;white-space:normal}
  html body.agenda-module-page form.agenda-project-form .step-actions {gap:10px;flex-wrap:wrap;margin-top:18px}
  html body.agenda-module-page form.agenda-project-form .text-work-tools textarea {min-height:240px;line-height:1.6!important}
  html body.agenda-module-page form.agenda-project-form :is(.date-payment-code-row,.file-drop-zone) {overflow-wrap:anywhere;min-width:0}
}
@media (max-width:360px) {
  html body:is(.agenda-module-page,.pamuk-member-area-page).pamuk-mobile-nav-ready .header .nav .brand strong {font-size:14px!important}
  html body.agenda-module-page form.agenda-project-form {padding:12px!important}
}
