/* Home page */

    .highlight-blue {
      padding: 0.08em 0.22em;
      background: rgba(47, 111, 178, 0.12);
      border-radius: 0.18em;
      box-decoration-break: clone;
      -webkit-box-decoration-break: clone;
    }

    .menu-toggle {
      display: none;
      align-items: center;
      justify-content: center;
      min-height: 2.6rem;
      padding: 0.55rem 0.75rem;
      border: 1px solid rgba(86, 100, 118, 0.22);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.62);
      color: var(--text-soft);
      font: inherit;
      font-size: 0.92rem;
      font-weight: 800;
      cursor: pointer;
    }

    .menu-toggle::before {
      content: "";
      width: 1.05rem;
      height: 0.76rem;
      margin-right: 0.55rem;
      background:
        linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
        linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
        linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
    }

    .menu-toggle:hover,
    .menu-toggle:focus {
      border-color: rgba(47, 111, 178, 0.32);
      color: var(--accent-strong);
    }

    @media (max-width: 760px) {
      .site-header .header-inner {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
      }

      .site-header .menu-toggle {
        display: inline-flex;
      }

      .site-header .site-nav {
        display: none;
        grid-column: 1 / -1;
        width: 100%;
        padding-top: 0.6rem;
      }

      .site-header .site-nav.is-open {
        display: grid;
        gap: 0.45rem;
      }

      .site-header .site-nav a,
      .site-header .site-nav button {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
      }
    }

    body.page-index {
      --page-bg: #f4f1ec;
      --page-bg-soft: #fbfaf8;
      --surface-strong: #ffffff;
      --surface-muted: #f7f4ef;
      --surface-soft: #faf8f4;
      --border: rgba(86, 100, 118, 0.16);
      --border-strong: rgba(86, 100, 118, 0.26);
      --text: #18212b;
      --text-soft: #334153;
      --text-muted: #687587;
      --accent: #2f6fb2;
      --accent-strong: #235a94;
      --accent-soft: rgba(47, 111, 178, 0.08);
      --shadow-lg: none;
      --shadow-md: none;
      --shadow-sm: none;
      --radius-xl: 10px;
      --radius-lg: 8px;
      --radius: 6px;
      --container: 1160px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    body.page-index {
      margin: 0;
      font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      background: linear-gradient(180deg, var(--page-bg-soft) 0%, var(--page-bg) 100%);
      color: var(--text);
      font-size: 18px;
      line-height: 1.78;
    }

    body.page-index a {
      color: var(--accent);
      text-decoration: none;
    }

    body.page-index a:hover,
body.page-index a:focus {
      text-decoration: underline;
    }

    body.page-index .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(12px);
      background: rgba(251, 250, 248, 0.9);
      border-bottom: 1px solid rgba(86, 100, 118, 0.12);
    }

    body.page-index .header-inner,
body.page-index .page-shell,
body.page-index .footer-inner {
      width: min(calc(100% - 2rem), var(--container));
      margin: 0 auto;
    }

    body.page-index .header-inner,
body.page-index .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 1rem 0;
    }

    body.page-index .project-name {
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: 0.02em;
      color: var(--text);
    }

    body.page-index .site-nav {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

    body.page-index .site-nav a,
body.page-index .footer-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--text-soft);
      padding: 0.45rem 0;
      transition: background 0.2s ease, color 0.2s ease;
    }

    body.page-index .site-nav a:hover,
body.page-index .site-nav a:focus,
body.page-index .footer-link:hover,
body.page-index .footer-link:focus {
      color: var(--accent-strong);
      text-decoration: underline;
    }

    body.page-index main {
      padding: 4.2rem 0 5.75rem;
    }

    body.page-index .page-shell {
      display: grid;
      gap: 5.4rem;
    }

    body.page-index .section-heading {
      margin-bottom: 1.6rem;
      padding-top: 1.35rem;
      border-top: 1px solid rgba(86, 100, 118, 0.18);
    }

    body.page-index .section-heading h2 {
      margin: 0 0 0.85rem;
      font-size: clamp(1.9rem, 3.2vw, 2.5rem);
      line-height: 1.08;
      letter-spacing: -0.03em;
    }

    body.page-index .section-heading p {
      margin: 0;
      color: var(--text-soft);
      font-size: 1.03rem;
      line-height: 1.8;
    }

    body.page-index .hero {
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.82fr);
      gap: clamp(2rem, 5vw, 4.5rem);
      align-items: stretch;
    }

    body.page-index .hero-copy {
      display: grid;
      align-content: center;
      gap: 1.15rem;
      padding: 1rem 0;
    }

    body.page-index .hero-copy h1 {
      margin: 0;
      
      font-size: clamp(3.05rem, 5.8vw, 4.5rem);
      line-height: 0.95;
      letter-spacing: -0.04em;
    }

    body.page-index .hero-copy p {
      margin: 0;
      max-width: 34rem;
      color: var(--text-soft);
      font-size: 1.16rem;
      line-height: 1.86;
    }

    body.page-index .hero-cta {
      display: grid;
      gap: 0.38rem;
      width: fit-content;
      max-width: 100%;
      padding-top: 0.35rem;
    }

    body.page-index .hero-actions {
      display: flex;
      align-items: flex-end;
      gap: 0.8rem;
      flex-wrap: wrap;
    }

    body.page-index .hero-action-note {
      display: inline-flex;
      align-items: center;
      gap: 0.34rem;
      width: fit-content;
      max-width: 18rem;
      color: var(--text-muted);
      font-size: 0.78rem;
      font-weight: 650;
      line-height: 1.25;
      padding-left: 4px;
    }



    body.page-index .button-primary,
body.page-index .button-secondary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 3.15rem;
      padding: 0.86rem 1.35rem;
      border-radius: var(--radius);
      font-weight: 700;
      transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
    }

    body.page-index .button-primary {
      background: var(--accent-strong);
      border: 1px solid var(--accent-strong);
      color: #ffffff;
    }

    body.page-index .button-primary:hover,
body.page-index .button-primary:focus {
      color: #ffffff;
      text-decoration: none;
      background: #1d4d80;
      border-color: #1d4d80;
    }

    body.page-index .button-secondary {
      background: transparent;
      border: 1px solid rgba(86, 100, 118, 0.32);
      color: var(--text-soft);
    }

    body.page-index .button-secondary:hover,
body.page-index .button-secondary:focus {
      color: var(--accent-strong);
      text-decoration: none;
      background: rgba(47, 111, 178, 0.06);
      border-color: rgba(47, 111, 178, 0.32);
    }

    body.page-index .hero-anchor {
      max-width: 30rem;
      padding-left: 1rem;
      border-left: 3px solid rgba(47, 111, 178, 0.28);
      color: var(--text);
      font-size: 1.02rem;
      font-weight: 700;
      line-height: 1.65;
    }

    body.page-index .hero-summary {
      display: grid;
      gap: 0;
      padding: 0.05rem 0 0.05rem 1.35rem;
      background: transparent;
      border-left: 1px solid rgba(86, 100, 118, 0.22);
      align-content: start;
    }

    body.page-index .summary-intro {
      padding-bottom: 0.85rem;
      border-bottom: 1px solid rgba(86, 100, 118, 0.14);
    }

    body.page-index .summary-intro h2 {
      margin: 0;
      font-size: 1.8rem;
      line-height: 1.15;
      letter-spacing: -0.02em;
    }

    body.page-index .summary-intro p {
      margin: 0;
      color: var(--text-soft);
      font-size: 0.97rem;
      line-height: 1.72;
    }

    body.page-index .summary-list {
      display: grid;
      gap: 1.08rem;
      margin: 0;
      padding: 1.1rem 0 0;
    }

    body.page-index .summary-list section {
      padding: 0;
    }

    body.page-index .summary-list h3 {
      margin: 0 0 0.58rem;
      font-size: 1.2rem;
      font-weight: 780;
      line-height: 1.2;
      letter-spacing: 0;
    }

    body.page-index .summary-list ul {
      display: grid;
      gap: 0.24rem;
      list-style: none;
      margin: 0;
      padding: 0 0 0 0.78rem;
      border-left: 2px solid rgba(47,
        111,
        178,
        0.28);
      color: var(--text-soft);
      font-size: 0.96rem;
      line-height: 1.55;
    }

    body.page-index .summary-list section:nth-child(2) ul {
      border-left-color: rgba(47,
        111,
        178,
        0.28);
    }

    body.page-index .summary-list section:nth-child(3) ul {
      padding-left: 0;
      border-left: 0;
    }

    body.page-index .summary-list li {
      padding-left: 0.02rem;
    }

    body.page-index .summary-list .highlight-blue {
      padding: 0.04em 0.16em;
      background: rgba(47, 111, 178, 0.09);
    }

    body.page-index .summary-note {
      margin: 1.05rem 0 0;
      padding-top: 0.75rem;
      border-top: 1px solid rgba(86, 100, 118, 0.12);
      color: var(--text-muted);
      font-size: 0.86rem;
      font-weight: 650;
      letter-spacing: 0.01em;
    }

    body.page-index .split-section {
      display: grid;
      grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
      gap: clamp(2rem, 5vw, 4rem);
      align-items: start;
      padding: 1.45rem 0 0.2rem;
      border-top: 1px solid rgba(86, 100, 118, 0.18);
    }

    body.page-index .section-lead h2 {
      margin: 0 0 0.8rem;
      font-size: clamp(1.95rem, 3.3vw, 2.6rem);
      line-height: 1;
      letter-spacing: -0.03em;
    }

    body.page-index .section-lead p {
      margin: 0;
      max-width: 18rem;
      color: var(--text-muted);
      font-size: 0.98rem;
      line-height: 1.76;
    }

    body.page-index .feature-panel {
      padding: 0;
      background: transparent;
    }

    body.page-index .feature-statement {
      margin: 0 0 1.45rem;
      max-width: 42rem;
      padding-left: 1.25rem;
      border-left: 3px solid rgba(47, 111, 178, 0.28);
      font-size: clamp(1.35rem, 2.2vw, 1.75rem);
      line-height: 1.45;
      letter-spacing: -0.02em;
      color: var(--text);
    }

    body.page-index .feature-copy {
      display: grid;
      gap: 0.95rem;
      max-width: 42rem;
    }

    body.page-index .feature-copy p {
      margin: 0;
      color: var(--text-soft);
      line-height: 1.84;
    }

    body.page-index .note-strip {
      margin-top: 1.55rem;
      padding: 0.2rem 0 0.2rem 1.15rem;
      border-left: 3px solid rgba(47, 111, 178, 0.24);
      color: var(--text-soft);
      max-width: 40rem;
    }

    body.page-index .cases-section {
      display: grid;
      gap: 2rem;
    }

    body.page-index .cases-grid {
      display: grid;
      gap: 1.35rem;
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.page-index .cases-card {
      padding: 1.35rem 1.25rem;
      background: rgba(255, 255, 255, 0.62);
      border: 1px solid rgba(86, 100, 118, 0.14);
      border-radius: var(--radius);
    }

    body.page-index .cases-card:nth-child(2) {
      background: #fcfbf8;
    }

    body.page-index .cases-card:nth-child(3) {
      background: #f8fafc;
    }

    body.page-index .cases-card h3 {
      margin: 0 0 0.95rem;
      font-size: 1.28rem;
      line-height: 1.18;
      letter-spacing: -0.02em;
    }

    body.page-index .cases-card p {
      margin: 0;
      color: var(--text-soft);
      line-height: 1.82;
    }

    body.page-index .cases-card ul {
      margin: 0;
      padding-left: 1.25rem;
      color: var(--text-soft);
      line-height: 1.85;
    }

    body.page-index .cases-card li + li {
      margin-top: 0.65rem;
    }

    body.page-index .advice-section {
      display: grid;
      grid-template-columns: minmax(220px, 0.58fr) minmax(0, 1.42fr);
      gap: clamp(1.5rem, 4vw, 3rem);
      padding: 1.25rem 0;
      border-top: 1px solid rgba(86, 100, 118, 0.18);
      border-bottom: 1px solid rgba(86, 100, 118, 0.18);
    }

    body.page-index .advice-section h2 {
      margin: 0;
      font-size: clamp(1.7rem, 2.6vw, 2.2rem);
      line-height: 1.08;
      letter-spacing: -0.025em;
    }

    body.page-index .advice-section p {
      max-width: 48rem;
      margin: 0;
      color: var(--text-soft);
      line-height: 1.76;
    }

    body.page-index .advice-copy {
      display: grid;
      gap: 0.85rem;
    }

    body.page-index .advice-section p + p {
      margin-top: 0;
    }

    body.page-index .cta-section {
      background: transparent;
      text-align: center;
    }

    body.page-index .cta-section h2 {
      margin: 0 0 0.9rem;
      font-size: clamp(2rem, 3.4vw, 2.8rem);
      line-height: 1.04;
      letter-spacing: -0.03em;
    }

    body.page-index .cta-section p {
      max-width: 38rem;
      margin: 0 auto;
      color: var(--text-soft);
      font-size: 1.08rem;
      line-height: 1.82;
    }

    body.page-index .cta-actions {
      margin-top: 1.85rem;
      display: flex;
      justify-content: center;
    }

    body.page-index .site-footer {
      border-top: 1px solid rgba(86, 100, 118, 0.12);
      background: rgba(250, 248, 245, 0.7);
    }

    body.page-index .footer-inner {
      color: var(--text-muted);
      font-size: 0.95rem;
    }

    @media (max-width: 980px) {
      body.page-index .hero,
      body.page-index .split-section,
body.page-index .advice-section,
body.page-index .cases-grid {
        grid-template-columns: 1fr;
      }

      body.page-index .hero-copy h1 {
        max-width: 14ch;
      }

      body.page-index .section-lead p {
        max-width: 32rem;
      }

      body.page-index .hero-summary {
        padding: 1.25rem 0 0;
        border-left: 0;
        border-top: 1px solid rgba(47, 111, 178, 0.22);
      }
    }

    @media (max-width: 760px) {
      body.page-index .header-inner,
body.page-index .page-shell,
body.page-index .footer-inner {
        width: min(calc(100% - 1.25rem), var(--container));
      }

      body.page-index .footer-inner,
body.page-index .hero-actions {
        align-items: flex-start;
        flex-direction: column;
      }

      body.page-index main {
        padding: 2.3rem 0 4rem;
      }

      body.page-index .page-shell {
        gap: 3.5rem;
      }

      body.page-index .cases-card {
        padding: 1.3rem;
      }

      body.page-index .hero-copy h1 {
        max-width: 13ch;
      }

      body.page-index .button-primary,
body.page-index .button-secondary {
        width: 100%;
      }

      body.page-index .hero-cta {
        width: 100%;
      }

      body.page-index .hero-action-note {
        max-width: none;
      }

      body.page-index .cta-actions {
        justify-content: stretch;
      }
    }

/* Submit page */

    body.page-submit {
      --page-bg: #f4f1ec;
      --page-bg-soft: #fbfaf8;
      --surface: rgba(255, 255, 255, 0.9);
      --surface-strong: #ffffff;
      --surface-muted: #f7f4ef;
      --border: rgba(86, 100, 118, 0.16);
      --border-strong: rgba(86, 100, 118, 0.28);
      --text: #18212b;
      --text-soft: #334153;
      --text-muted: #687587;
      --accent: #2f6fb2;
      --accent-strong: #235a94;
      --accent-focus: #1f5f9d;
      --accent-soft: rgba(47, 111, 178, 0.1);
      --danger: #b74242;
      --danger-soft: rgba(183, 66, 66, 0.08);
      --warning-soft: rgba(181, 143, 56, 0.11);
      --info-soft: rgba(47, 111, 178, 0.07);
      --shadow-lg: 0 24px 60px rgba(39, 45, 54, 0.08);
      --shadow-md: 0 16px 36px rgba(39, 45, 54, 0.06);
      --shadow-sm: 0 10px 24px rgba(39, 45, 54, 0.05);
      --radius-xl: 28px;
      --radius-lg: 22px;
      --radius: 16px;
      --radius-sm: 12px;
      --container: 980px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    body.page-submit {
      margin: 0;
      font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      background:
        radial-gradient(circle at top left, rgba(47, 111, 178, 0.08), transparent 26%),
        radial-gradient(circle at top right, rgba(194, 169, 116, 0.08), transparent 24%),
        linear-gradient(180deg, var(--page-bg-soft) 0%, var(--page-bg) 100%);
      color: var(--text);
      line-height: 1.55;
    }

    body.page-submit a { color: var(--accent); text-decoration: none; }
    body.page-submit a:hover,
body.page-submit a:focus { text-decoration: underline; }

    body.page-submit .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(12px);
      background: rgba(250, 248, 245, 0.84);
      border-bottom: 1px solid rgba(86, 100, 118, 0.12);
      box-shadow: 0 10px 30px rgba(39, 45, 54, 0.05);
    }

    body.page-submit .header-inner,
body.page-submit .page-shell {
      width: min(calc(100% - 2rem), var(--container));
      margin: 0 auto;
    }

    body.page-submit .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 1rem 0;
    }

    body.page-submit .project-name {
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: 0.02em;
    }

    body.page-submit .site-nav {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

    body.page-submit .site-nav a {
      color: var(--text-soft);
      padding: 0.55rem 0.85rem;
      border-radius: 999px;
      transition: background 0.2s ease, color 0.2s ease;
    }

    body.page-submit .site-nav a:hover,
body.page-submit .site-nav a:focus {
      background: rgba(47, 111, 178, 0.08);
      color: var(--accent-strong);
      text-decoration: none;
    }

    body.page-submit main { padding: 2.25rem 0 4.5rem; }
    body.page-submit .page-shell { display: grid; gap: 1.5rem; }
    body.page-submit .hero { padding: 0.25rem 0 0.5rem; margin-bottom: 0.25rem; }

    body.page-submit .hero h1 {
      margin: 0 0 0.75rem;
      font-size: clamp(2.3rem, 4.4vw, 3.25rem);
      line-height: 1.02;
      letter-spacing: -0.02em;
    }

    body.page-submit .hero p {
      max-width: 70ch;
      margin: 0 0 1rem;
      color: var(--text-soft);
      font-size: 1.03rem;
    }

    body.page-submit .privacy-note,
body.page-submit .warning-block,
body.page-submit .form-warning,
body.page-submit .success-note {
      border: 1px solid;
      border-radius: 14px;
      padding: 1rem 1.15rem;
    }

    body.page-submit .privacy-note {
      margin: 1.25rem 0 0;
      background: linear-gradient(180deg, rgba(247, 250, 253, 0.98) 0%, rgba(243, 247, 251, 0.98) 100%);
      border-color: rgba(47, 111, 178, 0.12);
      color: var(--text-soft);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    }

    body.page-submit .privacy-note::before {
      content: "i";
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 1.35rem;
      height: 1.35rem;
      margin-right: 0.7rem;
      border-radius: 999px;
      background: var(--info-soft);
      color: var(--accent-strong);
      font-size: 0.88rem;
      font-weight: 800;
      vertical-align: top;
    }

    body.page-submit form { display: block; }

    body.page-submit .form-section {
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(251, 249, 246, 0.96) 100%);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-md);
      padding: 1.7rem;
      margin-bottom: 1.6rem;
      position: relative;
    }

    body.page-submit .form-section h2 {
      margin: 0 0 0.55rem;
      font-size: 1.52rem;
      font-weight: 800;
      letter-spacing: -0.015em;
    }

    body.page-submit .form-section h2::after {
      content: "";
      display: block;
      width: 3rem;
      height: 2px;
      margin-top: 0.8rem;
      border-radius: 999px;
      background: linear-gradient(90deg, rgba(47, 111, 178, 0.55), rgba(47, 111, 178, 0));
    }

    body.page-submit .section-intro {
      margin: 0 0 1.55rem;
      color: var(--text-muted);
      font-size: 0.98rem;
    }

    body.page-submit .form-shell {
      background: rgba(255, 255, 255, 0.74);
      border: 1px solid rgba(86, 100, 118, 0.1);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow-lg);
      padding: clamp(1rem, 2vw, 1.35rem);
    }

    body.page-submit .field-block,
body.page-submit .conditional-field {
      min-width: 0;
    }

    body.page-submit .field-block {
      background: var(--surface-strong);
      border: 1px solid rgba(86, 100, 118, 0.12);
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
      padding: 1.2rem;
      transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    }

    body.page-submit .field-block:hover {
      transform: translateY(-1px);
      border-color: rgba(86, 100, 118, 0.16);
      box-shadow: 0 14px 28px rgba(39, 45, 54, 0.07);
    }

    body.page-submit .field-stack {
      display: grid;
      gap: 1.15rem;
    }

    body.page-submit .conditional-field {
      margin-top: 0.75rem;
      margin-left: 0.5rem;
      padding-top: 0.75rem;
      padding-left: 0.95rem;
      border-top: 1px solid rgba(86, 100, 118, 0.1);
      border-left: 2px solid rgba(47, 111, 178, 0.12);
    }

    body.page-submit .hidden { display: none; }

    body.page-submit label,
body.page-submit .group-label,
body.page-submit .sub-label {
      display: block;
      margin-bottom: 0.55rem;
      font-weight: 700;
      color: var(--text);
    }

    body.page-submit label,
body.page-submit .group-label {
      font-size: 1.01rem;
      font-weight: 750;
    }

    body.page-submit .sub-label {
      font-size: 0.9rem;
      color: var(--text-soft);
    }

    body.page-submit .required-marker { color: var(--danger); }

    body.page-submit input[type="text"],
body.page-submit input[type="email"],
body.page-submit input[type="number"],
body.page-submit select,
body.page-submit textarea,
body.page-submit input[type="file"] {
      width: 100%;
      border: 1px solid var(--border-strong);
      border-radius: 14px;
      background: var(--surface-muted);
      color: var(--text);
      padding: 1.02rem 1rem;
      min-height: 3.4rem;
      font: inherit;
      transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
      appearance: none;
    }

    body.page-submit input::placeholder,
body.page-submit textarea::placeholder { color: #8894a4; }

    body.page-submit input:focus,
body.page-submit select:focus,
body.page-submit textarea:focus,
body.page-submit input[type="file"]:focus {
      outline: none;
      border-color: var(--accent-focus);
      background: var(--surface-strong);
      box-shadow: 0 0 0 4px rgba(47, 111, 178, 0.14), 0 12px 24px rgba(47, 111, 178, 0.08);
    }

    body.page-submit textarea {
      min-height: 190px;
      resize: vertical;
      padding-top: 0.95rem;
    }

    body.page-submit .field-hint {
      margin-top: 0.5rem;
      color: var(--text-muted);
      font-size: 0.87rem;
    }

    body.page-submit .choice-group {
      display: grid;
      gap: 0.82rem;
      padding-top: 0.1rem;
    }

    body.page-submit .choice {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      color: var(--text-soft);
      background: var(--surface-muted);
      border: 1px solid rgba(86, 100, 118, 0.12);
      border-radius: 14px;
      padding: 0.9rem 1rem;
      min-height: 3.25rem;
      cursor: pointer;
      transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    }

    body.page-submit .choice:hover {
      border-color: rgba(47, 111, 178, 0.18);
      background: #fbfaf7;
    }

    body.page-submit .choice input { accent-color: var(--accent); }

    body.page-submit select {
      padding-right: 3rem;
      background-image:
        linear-gradient(45deg, transparent 50%, #6f7d90 50%),
        linear-gradient(135deg, #6f7d90 50%, transparent 50%);
      background-position:
        calc(100% - 1.15rem) calc(50% - 0.12rem),
        calc(100% - 0.82rem) calc(50% - 0.12rem);
      background-size: 0.38rem 0.38rem, 0.38rem 0.38rem;
      background-repeat: no-repeat;
    }

    body.page-submit .inline-pair {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.9rem;
    }

    body.page-submit .warning-block {
      background: linear-gradient(180deg, #f9fbfd 0%, #f3f7fb 100%);
      border-color: rgba(47, 111, 178, 0.14);
      color: var(--text-soft);
    }

    body.page-submit .turnstile-container {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      opacity: 0;
      pointer-events: none;
    }

    body.page-submit .form-warning {
      display: none;
      background: var(--warning-soft);
      border-color: rgba(181, 143, 56, 0.18);
      color: #6d5216;
    }

    body.page-submit .success-note {
      display: none;
      background: rgba(69, 139, 92, 0.1);
      border-color: rgba(69, 139, 92, 0.22);
      color: #2f6942;
    }

    body.page-submit .error-text {
      min-height: 1.25rem;
      margin-top: 0.45rem;
      color: var(--danger);
      font-size: 0.92rem;
    }

    body.page-submit .field-block.has-error,
body.page-submit .conditional-field.has-error {
      border-color: rgba(183, 66, 66, 0.24);
      box-shadow: 0 12px 26px rgba(183, 66, 66, 0.08);
    }

    body.page-submit .field-block.has-error input,
body.page-submit .field-block.has-error select,
body.page-submit .field-block.has-error textarea,
body.page-submit .conditional-field.has-error input,
body.page-submit .conditional-field.has-error select,
body.page-submit .conditional-field.has-error textarea {
      border-color: var(--danger);
      box-shadow: 0 0 0 4px var(--danger-soft);
    }

    body.page-submit .confirm-list {
      display: grid;
      gap: 0.95rem;
    }

    body.page-submit .confirm-list label {
      display: flex;
      align-items: flex-start;
      gap: 0.8rem;
      margin: 0;
      padding: 0.95rem 1rem;
      background: var(--surface-muted);
      border: 1px solid rgba(86, 100, 118, 0.12);
      border-radius: 14px;
      font-weight: 500;
      color: var(--text-soft);
    }

    body.page-submit .confirm-list input {
      margin-top: 0.15rem;
      accent-color: var(--accent);
    }

    body.page-submit .actions {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      flex-wrap: wrap;
      margin-top: 1.35rem;
      padding-top: 0.4rem;
    }

    body.page-submit .submit-button {
      border: 0;
      border-radius: 999px;
      padding: 1.12rem 2rem;
      background: linear-gradient(180deg, #377dc2 0%, #245e97 100%);
      color: #ffffff;
      font: inherit;
      font-weight: 700;
      cursor: pointer;
      min-width: 13rem;
      font-size: 1rem;
      box-shadow: 0 18px 36px rgba(47, 111, 178, 0.24);
      transition: transform 0.18s ease, filter 0.2s ease, box-shadow 0.2s ease;
    }

    body.page-submit .submit-button:hover,
body.page-submit .submit-button:focus {
      filter: brightness(1.05);
      transform: translateY(-1px);
      box-shadow: 0 18px 34px rgba(47, 111, 178, 0.24);
    }

    body.page-submit .muted-note {
      color: var(--text-muted);
      font-size: 0.93rem;
      max-width: 34rem;
      text-align: center;
    }

    @media (max-width: 760px) {
      body.page-submit .header-inner,
body.page-submit .page-shell {
        width: min(calc(100% - 1.25rem), var(--container));
      }

      body.page-submit .inline-pair {
        grid-template-columns: 1fr;
      }

      body.page-submit .form-section {
        padding: 1.2rem;
        margin-bottom: 1.2rem;
      }

      body.page-submit .field-block {
        padding: 1rem;
      }

      body.page-submit .form-shell {
        padding: 0.75rem;
      }

      body.page-submit .actions {
        align-items: stretch;
        margin-top: 1.1rem;
      }

      body.page-submit .submit-button {
        width: 100%;
      }
    }

/* Thanks page */

    body.page-thanks {
      --page-bg: #f4f1ec;
      --page-bg-soft: #fbfaf8;
      --surface-strong: #ffffff;
      --surface-soft: #faf8f4;
      --surface-success: #f5faf7;
      --border: rgba(86, 100, 118, 0.16);
      --text: #18212b;
      --text-soft: #334153;
      --text-muted: #687587;
      --accent: #2f6fb2;
      --accent-strong: #235a94;
      --success: #2f7a50;
      --success-soft: rgba(47, 122, 80, 0.08);
      --shadow-lg: 0 24px 60px rgba(39, 45, 54, 0.08);
      --shadow-md: 0 16px 36px rgba(39, 45, 54, 0.06);
      --shadow-sm: 0 10px 24px rgba(39, 45, 54, 0.05);
      --radius-xl: 28px;
      --radius-lg: 22px;
      --radius: 16px;
      --container: 980px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    body.page-thanks {
      margin: 0;
      font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      background:
        radial-gradient(circle at top left, rgba(47, 111, 178, 0.08), transparent 26%),
        radial-gradient(circle at top right, rgba(194, 169, 116, 0.07), transparent 22%),
        linear-gradient(180deg, var(--page-bg-soft) 0%, var(--page-bg) 100%);
      color: var(--text);
      font-size: 18px;
      line-height: 1.8;
    }

    body.page-thanks a {
      color: var(--accent);
      text-decoration: none;
    }

    body.page-thanks a:hover,
body.page-thanks a:focus {
      text-decoration: underline;
    }

    body.page-thanks .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(12px);
      background: rgba(250, 248, 245, 0.84);
      border-bottom: 1px solid rgba(86, 100, 118, 0.12);
      box-shadow: 0 10px 30px rgba(39, 45, 54, 0.05);
    }

    body.page-thanks .header-inner,
body.page-thanks .page-shell,
body.page-thanks .footer-inner {
      width: min(calc(100% - 2rem), var(--container));
      margin: 0 auto;
    }

    body.page-thanks .header-inner,
body.page-thanks .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 1rem 0;
    }

    body.page-thanks .project-name {
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: 0.02em;
      color: var(--text);
    }

    body.page-thanks .site-nav {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

    body.page-thanks .site-nav a,
body.page-thanks .footer-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--text-soft);
      padding: 0.55rem 0.85rem;
      border-radius: 999px;
      transition: background 0.2s ease, color 0.2s ease;
    }

    body.page-thanks .site-nav a:hover,
body.page-thanks .site-nav a:focus,
body.page-thanks .footer-link:hover,
body.page-thanks .footer-link:focus {
      background: rgba(47, 111, 178, 0.08);
      color: var(--accent-strong);
      text-decoration: none;
    }

    body.page-thanks main {
      padding: 3.2rem 0 5.25rem;
    }

    body.page-thanks .page-shell {
      display: grid;
      justify-items: center;
      gap: 1.6rem;
    }

    body.page-thanks .success-card,
body.page-thanks .reassurance-panel {
      width: min(100%, 760px);
      border: 1px solid rgba(86, 100, 118, 0.12);
      border-radius: var(--radius-xl);
      background: var(--surface-strong);
      box-shadow: var(--shadow-lg);
    }

    body.page-thanks .success-card {
      padding: 2.25rem;
    }

    body.page-thanks .success-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.48rem 0.8rem;
      border-radius: 999px;
      background: var(--success-soft);
      color: var(--success);
      font-size: 0.9rem;
      font-weight: 700;
      letter-spacing: 0.02em;
    }

    body.page-thanks .success-card h1 {
      margin: 1rem 0 0.95rem;
      font-size: clamp(2.4rem, 4.4vw, 3.6rem);
      line-height: 0.98;
      letter-spacing: -0.04em;
    }

    body.page-thanks .success-card p {
      margin: 0;
      max-width: 38rem;
      color: var(--text-soft);
      font-size: 1.08rem;
      line-height: 1.84;
    }

    body.page-thanks .success-card p + p {
      margin-top: 0.95rem;
    }

    body.page-thanks .next-steps {
      margin-top: 1.8rem;
      padding: 1.4rem 1.45rem;
      background: var(--surface-soft);
      border: 1px solid rgba(86, 100, 118, 0.1);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-sm);
    }

    body.page-thanks .next-steps h2 {
      margin: 0 0 0.85rem;
      font-size: 1.38rem;
      line-height: 1.12;
      letter-spacing: -0.02em;
    }

    body.page-thanks .next-steps ul {
      margin: 0;
      padding-left: 1.25rem;
      color: var(--text-soft);
      line-height: 1.85;
    }

    body.page-thanks .next-steps li + li {
      margin-top: 0.62rem;
    }

    body.page-thanks .actions {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      margin-top: 1.85rem;
    }

    body.page-thanks .button-primary,
body.page-thanks .button-secondary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 3.55rem;
      padding: 1.08rem 1.8rem;
      border-radius: 999px;
      font-weight: 700;
      transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    }

    body.page-thanks .button-primary {
      background: linear-gradient(180deg, #377dc2 0%, #245e97 100%);
      color: #ffffff;
      box-shadow: 0 18px 36px rgba(47, 111, 178, 0.24);
    }

    body.page-thanks .button-primary:hover,
body.page-thanks .button-primary:focus {
      color: #ffffff;
      text-decoration: none;
      transform: translateY(-1px);
      box-shadow: 0 22px 40px rgba(47, 111, 178, 0.28);
    }

    body.page-thanks .button-secondary {
      background: rgba(255, 255, 255, 0.7);
      border: 1px solid rgba(86, 100, 118, 0.14);
      color: var(--text-soft);
      box-shadow: var(--shadow-sm);
    }

    body.page-thanks .button-secondary:hover,
body.page-thanks .button-secondary:focus {
      color: var(--accent-strong);
      text-decoration: none;
      transform: translateY(-1px);
      border-color: rgba(47, 111, 178, 0.2);
    }

    body.page-thanks .reassurance-panel {
      padding: 1.35rem 1.45rem;
      background: var(--surface-success);
      border-color: rgba(47, 122, 80, 0.14);
      box-shadow: var(--shadow-md);
    }

    body.page-thanks .reassurance-panel p {
      margin: 0;
      max-width: 42rem;
      color: var(--text-soft);
      line-height: 1.82;
    }

    body.page-thanks .site-footer {
      border-top: 1px solid rgba(86, 100, 118, 0.12);
      background: rgba(250, 248, 245, 0.7);
    }

    body.page-thanks .footer-inner {
      color: var(--text-muted);
      font-size: 0.95rem;
    }

    @media (max-width: 760px) {
      body.page-thanks .header-inner,
body.page-thanks .page-shell,
body.page-thanks .footer-inner {
        width: min(calc(100% - 1.25rem), var(--container));
      }

      body.page-thanks .footer-inner {
        align-items: flex-start;
        flex-direction: column;
      }

      body.page-thanks main {
        padding: 2.3rem 0 4rem;
      }

      body.page-thanks .success-card,
body.page-thanks .reassurance-panel {
        padding: 1.3rem;
      }

      body.page-thanks .actions {
        flex-direction: column;
      }

      body.page-thanks .button-primary,
body.page-thanks .button-secondary {
        width: 100%;
      }
    }

/* Privacy page */

    body.page-privacy {
      --page-bg: #f4f1ec;
      --page-bg-soft: #fbfaf8;
      --surface-strong: #ffffff;
      --surface-soft: #faf8f4;
      --surface-info: #f6f9fc;
      --border: rgba(86, 100, 118, 0.16);
      --border-strong: rgba(86, 100, 118, 0.26);
      --text: #18212b;
      --text-soft: #334153;
      --text-muted: #687587;
      --accent: #2f6fb2;
      --accent-strong: #235a94;
      --shadow-lg: 0 24px 60px rgba(39, 45, 54, 0.08);
      --shadow-md: 0 16px 36px rgba(39, 45, 54, 0.06);
      --shadow-sm: 0 10px 24px rgba(39, 45, 54, 0.05);
      --radius-xl: 28px;
      --radius-lg: 22px;
      --radius: 16px;
      --container: 1040px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    body.page-privacy {
      margin: 0;
      font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      background:
        radial-gradient(circle at top left, rgba(47, 111, 178, 0.08), transparent 26%),
        radial-gradient(circle at top right, rgba(194, 169, 116, 0.07), transparent 22%),
        linear-gradient(180deg, var(--page-bg-soft) 0%, var(--page-bg) 100%);
      color: var(--text);
      font-size: 18px;
      line-height: 1.8;
    }

    body.page-privacy a {
      color: var(--accent);
      text-decoration: none;
    }

    body.page-privacy a:hover,
body.page-privacy a:focus {
      text-decoration: underline;
    }

    body.page-privacy .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(12px);
      background: rgba(250, 248, 245, 0.84);
      border-bottom: 1px solid rgba(86, 100, 118, 0.12);
      box-shadow: 0 10px 30px rgba(39, 45, 54, 0.05);
    }

    body.page-privacy .header-inner,
body.page-privacy .page-shell,
body.page-privacy .footer-inner {
      width: min(calc(100% - 2rem), var(--container));
      margin: 0 auto;
    }

    body.page-privacy .header-inner,
body.page-privacy .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 1rem 0;
    }

    body.page-privacy .project-name {
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: 0.02em;
      color: var(--text);
    }

    body.page-privacy .site-nav {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

    body.page-privacy .site-nav a,
body.page-privacy .footer-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--text-soft);
      padding: 0.55rem 0.85rem;
      border-radius: 999px;
      transition: background 0.2s ease, color 0.2s ease;
    }

    body.page-privacy .site-nav a:hover,
body.page-privacy .site-nav a:focus,
body.page-privacy .footer-link:hover,
body.page-privacy .footer-link:focus {
      background: rgba(47, 111, 178, 0.08);
      color: var(--accent-strong);
      text-decoration: none;
    }

    body.page-privacy main {
      padding: 3.15rem 0 5.25rem;
    }

    body.page-privacy .page-shell {
      display: grid;
      gap: 3.1rem;
    }

    body.page-privacy .hero {
      display: grid;
      gap: 1.4rem;
    }

    body.page-privacy .hero h1 {
      margin: 0;
      font-size: clamp(3rem, 5.5vw, 4.6rem);
      line-height: 0.95;
      letter-spacing: -0.045em;
    }

    body.page-privacy .hero p {
      margin: 0;
      max-width: 42rem;
      color: var(--text-soft);
      font-size: 1.12rem;
      line-height: 1.86;
    }

    body.page-privacy .info-panel {
      max-width: 46rem;
      padding: 1.1rem 1.2rem;
      border: 1px solid rgba(47, 111, 178, 0.12);
      border-radius: var(--radius);
      background: var(--surface-info);
      color: var(--text-soft);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    }

    body.page-privacy .content-stack {
      display: grid;
      gap: 1.2rem;
    }

    body.page-privacy .privacy-section {
      padding: 1.6rem 1.7rem;
      background: var(--surface-strong);
      border: 1px solid rgba(86, 100, 118, 0.12);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-sm);
    }

    body.page-privacy .privacy-section h2 {
      margin: 0 0 0.8rem;
      font-size: 1.42rem;
      line-height: 1.12;
      letter-spacing: -0.02em;
    }

    body.page-privacy .privacy-section p {
      margin: 0;
      max-width: 44rem;
      color: var(--text-soft);
      line-height: 1.84;
    }

    body.page-privacy .practice-panel {
      padding: 1.7rem;
      background: var(--surface-soft);
      border: 1px solid rgba(86, 100, 118, 0.12);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow-md);
    }

    body.page-privacy .practice-panel h2 {
      margin: 0 0 0.95rem;
      font-size: 1.55rem;
      line-height: 1.1;
      letter-spacing: -0.02em;
    }

    body.page-privacy .practice-panel ul {
      margin: 0;
      padding-left: 1.3rem;
      color: var(--text-soft);
      line-height: 1.88;
    }

    body.page-privacy .practice-panel li + li {
      margin-top: 0.62rem;
    }

    body.page-privacy .cta-section {
      padding: 2.5rem 1.9rem;
      background: var(--surface-strong);
      border: 1px solid rgba(47, 111, 178, 0.16);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow-lg);
      text-align: center;
    }

    body.page-privacy .cta-section h2 {
      margin: 0 0 0.85rem;
      font-size: clamp(2rem, 3.4vw, 2.8rem);
      line-height: 1.05;
      letter-spacing: -0.03em;
    }

    body.page-privacy .cta-section p {
      max-width: 34rem;
      margin: 0 auto;
      color: var(--text-soft);
      font-size: 1.06rem;
      line-height: 1.82;
    }

    body.page-privacy .cta-actions {
      margin-top: 1.7rem;
      display: flex;
      justify-content: center;
    }

    body.page-privacy .button-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 3.55rem;
      padding: 1.08rem 1.8rem;
      border-radius: 999px;
      background: linear-gradient(180deg, #377dc2 0%, #245e97 100%);
      color: #ffffff;
      font-weight: 700;
      box-shadow: 0 18px 36px rgba(47, 111, 178, 0.24);
      transition: transform 0.18s ease, box-shadow 0.2s ease;
    }

    body.page-privacy .button-primary:hover,
body.page-privacy .button-primary:focus {
      color: #ffffff;
      text-decoration: none;
      transform: translateY(-1px);
      box-shadow: 0 22px 40px rgba(47, 111, 178, 0.28);
    }

    body.page-privacy .site-footer {
      border-top: 1px solid rgba(86, 100, 118, 0.12);
      background: rgba(250, 248, 245, 0.7);
    }

    body.page-privacy .footer-inner {
      color: var(--text-muted);
      font-size: 0.95rem;
    }

    @media (max-width: 760px) {
      body.page-privacy .header-inner,
body.page-privacy .page-shell,
body.page-privacy .footer-inner {
        width: min(calc(100% - 1.25rem), var(--container));
      }

      body.page-privacy .footer-inner {
        align-items: flex-start;
        flex-direction: column;
      }

      body.page-privacy main {
        padding: 2.35rem 0 4rem;
      }

      body.page-privacy .page-shell {
        gap: 2.4rem;
      }

      body.page-privacy .privacy-section,
body.page-privacy .practice-panel,
body.page-privacy .cta-section {
        padding: 1.3rem;
      }

      body.page-privacy .button-primary {
        width: 100%;
      }

      body.page-privacy .cta-actions {
        justify-content: stretch;
      }
    }

/* Admin dashboard */

    body.page-admin {
      --page-bg: #f3f1ed;
      --page-bg-soft: #fbfaf8;
      --surface: #ffffff;
      --surface-muted: #f7f4ef;
      --border: rgba(86, 100, 118, 0.14);
      --border-strong: rgba(86, 100, 118, 0.24);
      --text: #18212b;
      --text-soft: #344253;
      --text-muted: #697688;
      --accent: #2f6fb2;
      --accent-strong: #235a94;
      --shadow-md: 0 12px 30px rgba(39, 45, 54, 0.06);
      --radius-lg: 20px;
      --radius: 14px;
      --container: 1180px;
      --status-new-bg: rgba(47, 111, 178, 0.12);
      --status-new-text: #1f5d98;
      --status-reviewed-bg: rgba(90, 126, 81, 0.14);
      --status-reviewed-text: #41653a;
      --status-verified-bg: rgba(58, 143, 120, 0.14);
      --status-verified-text: #216d5b;
      --status-duplicate-bg: rgba(181, 143, 56, 0.18);
      --status-duplicate-text: #765818;
      --status-spam-bg: rgba(183, 66, 66, 0.12);
      --status-spam-text: #9c3232;
    }

    * { box-sizing: border-box; }

    body.page-admin {
      margin: 0;
      font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at top left, rgba(47, 111, 178, 0.06), transparent 24%),
        radial-gradient(circle at top right, rgba(194, 169, 116, 0.06), transparent 26%),
        linear-gradient(180deg, var(--page-bg-soft) 0%, var(--page-bg) 100%);
      line-height: 1.5;
    }

    body.page-admin a { color: var(--accent); text-decoration: none; }
    body.page-admin a:hover,
body.page-admin a:focus { text-decoration: underline; }

    body.page-admin .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(14px);
      background: rgba(250, 248, 245, 0.88);
      border-bottom: 1px solid rgba(86, 100, 118, 0.12);
      box-shadow: 0 10px 28px rgba(39, 45, 54, 0.05);
    }

    body.page-admin .header-inner,
body.page-admin .page-shell {
      width: min(calc(100% - 2rem), var(--container));
      margin: 0 auto;
    }

    body.page-admin .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 1rem 0;
    }

    body.page-admin .header-title {
      display: grid;
      gap: 0.2rem;
    }

    body.page-admin .header-title strong {
      font-size: 1.08rem;
      letter-spacing: 0.01em;
    }

    body.page-admin .header-title span {
      color: var(--text-muted);
      font-size: 0.92rem;
    }

    body.page-admin .site-nav {
      display: flex;
      gap: 0.85rem;
      flex-wrap: wrap;
    }

    body.page-admin .site-nav a {
      border: 0;
      padding: 0.55rem 0.85rem;
      border-radius: 999px;
      background: transparent;
      color: var(--text-soft);
      font: inherit;
      cursor: pointer;
    }

    body.page-admin .site-nav a:hover,
body.page-admin .site-nav a:focus {
      text-decoration: none;
      background: rgba(47, 111, 178, 0.08);
      color: var(--accent-strong);
    }

    body.page-admin main { padding: 2rem 0 4rem; }

    body.page-admin .page-shell {
      display: grid;
      gap: 1.4rem;
    }

    body.page-admin .page-intro {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
    }

    body.page-admin .page-intro h1 {
      margin: 0 0 0.35rem;
      font-size: clamp(2rem, 4vw, 2.8rem);
      line-height: 1.05;
      letter-spacing: -0.02em;
    }

    body.page-admin .page-intro p {
      margin: 0;
      color: var(--text-muted);
      max-width: 60ch;
    }

    body.page-admin .stats-panel {
      display: grid;
      gap: 0.65rem;
    }

    body.page-admin .stats-primary,
    body.page-admin .stats-secondary {
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 0.65rem;
    }

    body.page-admin .stats-secondary {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.page-admin .stats-secondary[hidden] {
      display: none;
    }

    body.page-admin .stat-tile,
    body.page-admin .more-stats-button {
      min-height: 4.4rem;
      padding: 0.7rem 0.85rem;
      background: rgba(255, 255, 255, 0.96);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: 0 8px 20px rgba(39, 45, 54, 0.045);
    }

    body.page-admin .card,
body.page-admin .table-card,
body.page-admin .empty-state {
      background: rgba(255, 255, 255, 0.96);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-md);
    }

    body.page-admin .card {
      padding: 1.25rem;
    }

    body.page-admin .stat-tile {
      display: grid;
      align-content: center;
      gap: 0.2rem;
    }

    body.page-admin .stat-tile-strong {
      border-color: rgba(47, 111, 178, 0.18);
      background: rgba(255, 255, 255, 0.98);
    }

    body.page-admin .stat-tile-muted {
      background: rgba(255, 255, 255, 0.82);
      box-shadow: 0 6px 16px rgba(39, 45, 54, 0.035);
    }

    body.page-admin .stat-label {
      color: var(--text-muted);
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0.04em;
      margin-bottom: 0;
      text-transform: uppercase;
    }

    body.page-admin .stat-value {
      font-size: 1.45rem;
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.05;
      margin-bottom: 0;
    }

    body.page-admin .stat-note {
      color: var(--text-soft);
      font-size: 0.92rem;
    }

    body.page-admin .more-stats-button {
      color: var(--accent-strong);
      font: inherit;
      font-size: 0.92rem;
      font-weight: 800;
      cursor: pointer;
      text-align: center;
    }

    body.page-admin .more-stats-button:hover,
body.page-admin .more-stats-button:focus {
      background: rgba(47, 111, 178, 0.08);
    }

    body.page-admin .operator-breakdown-card {
      display: grid;
      align-content: start;
    }

    body.page-admin .operator-breakdown {
      display: grid;
      gap: 0.25rem;
      margin: 0.1rem 0 0;
    }

    body.page-admin .operator-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.6rem;
      color: var(--text-soft);
      font-size: 0.82rem;
      line-height: 1.25;
    }

    body.page-admin .operator-row strong {
      color: var(--text);
      overflow-wrap: anywhere;
    }

    body.page-admin .operator-count {
      flex: 0 0 auto;
      min-width: 2rem;
      text-align: right;
      font-weight: 800;
      color: var(--accent-strong);
    }

    body.page-admin .filters-card {
      padding: 1.25rem;
    }

    body.page-admin .section-heading {
      margin: 0 0 1rem;
      font-size: 1.08rem;
      font-weight: 800;
    }

    body.page-admin .filters-grid {
      display: grid;
      grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr));
      gap: 0.9rem;
    }

    body.page-admin .filter-field label {
      display: block;
      margin-bottom: 0.45rem;
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--text-soft);
    }

    body.page-admin .filter-field input,
body.page-admin .filter-field select {
      width: 100%;
      min-height: 3.15rem;
      border-radius: 14px;
      border: 1px solid var(--border-strong);
      background: var(--surface-muted);
      padding: 0.9rem 1rem;
      font: inherit;
      color: var(--text);
    }

    body.page-admin .filter-field input:focus,
body.page-admin .filter-field select:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 4px rgba(47, 111, 178, 0.12);
      background: #fff;
    }

    body.page-admin .table-card {
      overflow: hidden;
    }

    body.page-admin .table-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 1.1rem 1.25rem;
      border-bottom: 1px solid rgba(86, 100, 118, 0.1);
    }

    body.page-admin .table-header p {
      margin: 0.2rem 0 0;
      color: var(--text-muted);
      font-size: 0.92rem;
    }

    body.page-admin .export-message {
      min-height: 1.25rem;
    }

    body.page-admin .export-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 2.8rem;
      padding: 0.7rem 1.05rem;
      border-radius: 999px;
      border: 1px solid rgba(47, 111, 178, 0.18);
      background: rgba(47, 111, 178, 0.08);
      color: var(--accent-strong);
      font: inherit;
      font-weight: 700;
      cursor: pointer;
      white-space: nowrap;
    }

    body.page-admin .export-button:hover,
body.page-admin .export-button:focus {
      text-decoration: none;
      background: rgba(47, 111, 178, 0.14);
    }

    body.page-admin .export-button:disabled {
      cursor: not-allowed;
      opacity: 0.55;
    }

    body.page-admin .table-wrap {
      overflow-x: auto;
    }

    body.page-admin table {
      width: 100%;
      border-collapse: collapse;
      min-width: 860px;
    }

    body.page-admin th,
body.page-admin td {
      padding: 1rem 1.25rem;
      text-align: left;
      border-bottom: 1px solid rgba(86, 100, 118, 0.1);
      vertical-align: middle;
    }

    body.page-admin th {
      color: var(--text-muted);
      font-size: 0.82rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      background: rgba(247, 244, 239, 0.6);
    }

    body.page-admin tbody tr:hover {
      background: rgba(47, 111, 178, 0.035);
    }

    body.page-admin .table-primary {
      font-weight: 700;
      color: var(--text);
    }

    body.page-admin .table-secondary {
      display: block;
      color: var(--text-muted);
      font-size: 0.88rem;
      margin-top: 0.2rem;
    }

    body.page-admin .status-badge,
body.page-admin .upload-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      padding: 0.42rem 0.78rem;
      font-size: 0.82rem;
      font-weight: 800;
      white-space: nowrap;
    }

    body.page-admin .status-new { background: var(--status-new-bg); color: var(--status-new-text); }
    body.page-admin .status-reviewed { background: var(--status-reviewed-bg); color: var(--status-reviewed-text); }
    body.page-admin .status-verified { background: var(--status-verified-bg); color: var(--status-verified-text); }
    body.page-admin .status-duplicate { background: var(--status-duplicate-bg); color: var(--status-duplicate-text); }
    body.page-admin .status-spam { background: var(--status-spam-bg); color: var(--status-spam-text); }
    body.page-admin .upload-yes { background: rgba(58, 143, 120, 0.12); color: #216d5b; }
    body.page-admin .upload-no { background: rgba(86, 100, 118, 0.1); color: var(--text-soft); }

    body.page-admin .action-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 2.6rem;
      padding: 0.6rem 1rem;
      border-radius: 999px;
      border: 1px solid rgba(47, 111, 178, 0.18);
      background: rgba(47, 111, 178, 0.08);
      color: var(--accent-strong);
      font-weight: 700;
    }

    body.page-admin .action-link:hover,
body.page-admin .action-link:focus {
      text-decoration: none;
      background: rgba(47, 111, 178, 0.14);
    }

    body.page-admin .empty-state {
      display: none;
      padding: 2.4rem 1.5rem;
      text-align: center;
    }

    body.page-admin .empty-state h2 {
      margin: 0 0 0.45rem;
      font-size: 1.3rem;
    }

    body.page-admin .empty-state p {
      margin: 0;
      color: var(--text-muted);
    }

    @media (max-width: 980px) {
      body.page-admin .stats-primary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      body.page-admin .stats-secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

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

    @media (max-width: 700px) {
      body.page-admin .header-inner,
body.page-admin .page-shell {
        width: min(calc(100% - 1.25rem), var(--container));
      }

      body.page-admin .stats-primary,
body.page-admin .stats-secondary,
body.page-admin .filters-grid {
        grid-template-columns: 1fr;
      }

      body.page-admin .table-header {
        align-items: flex-start;
        flex-direction: column;
      }
    }

/* Admin submission page */

    body.page-admin-submission {
      --page-bg: #f3f1ed;
      --page-bg-soft: #fbfaf8;
      --surface: #ffffff;
      --surface-muted: #f7f4ef;
      --border: rgba(86, 100, 118, 0.14);
      --border-strong: rgba(86, 100, 118, 0.24);
      --text: #18212b;
      --text-soft: #344253;
      --text-muted: #697688;
      --accent: #2f6fb2;
      --accent-strong: #235a94;
      --shadow-md: 0 12px 30px rgba(39, 45, 54, 0.06);
      --radius-lg: 20px;
      --radius: 14px;
      --container: 1180px;
      --status-reviewed-bg: rgba(90, 126, 81, 0.14);
      --status-reviewed-text: #41653a;
      --status-verified-text: #216d5b;
      --status-spam-text: #9c3232;
    }

    * { box-sizing: border-box; }

    body.page-admin-submission {
      margin: 0;
      font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at top left, rgba(47, 111, 178, 0.06), transparent 24%),
        radial-gradient(circle at top right, rgba(194, 169, 116, 0.06), transparent 26%),
        linear-gradient(180deg, var(--page-bg-soft) 0%, var(--page-bg) 100%);
      line-height: 1.5;
    }

    body.page-admin-submission a { color: var(--accent); text-decoration: none; }
    body.page-admin-submission a:hover,
body.page-admin-submission a:focus { text-decoration: underline; }

    body.page-admin-submission .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(14px);
      background: rgba(250, 248, 245, 0.88);
      border-bottom: 1px solid rgba(86, 100, 118, 0.12);
      box-shadow: 0 10px 28px rgba(39, 45, 54, 0.05);
    }

    body.page-admin-submission .header-inner,
body.page-admin-submission .page-shell {
      width: min(calc(100% - 2rem), var(--container));
      margin: 0 auto;
    }

    body.page-admin-submission .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 1rem 0;
    }

    body.page-admin-submission .header-title strong {
      font-size: 1.08rem;
      letter-spacing: 0.01em;
    }

    body.page-admin-submission .site-nav {
      display: flex;
      gap: 0.85rem;
      flex-wrap: wrap;
    }

    body.page-admin-submission .site-nav a {
      border: 0;
      padding: 0.55rem 0.85rem;
      border-radius: 999px;
      background: transparent;
      color: var(--text-soft);
      font: inherit;
      cursor: pointer;
    }

    body.page-admin-submission .site-nav a:hover,
body.page-admin-submission .site-nav a:focus {
      text-decoration: none;
      background: rgba(47, 111, 178, 0.08);
      color: var(--accent-strong);
    }

    body.page-admin-submission main { padding: 2rem 0 4rem; }

    body.page-admin-submission .page-shell {
      display: grid;
      gap: 1.4rem;
    }

    body.page-admin-submission .summary-card,
body.page-admin-submission .section-card,
body.page-admin-submission .guidance-card,
body.page-admin-submission .state-card {
      background: rgba(255, 255, 255, 0.96);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-md);
    }

    body.page-admin-submission .summary-card {
      padding: 1.25rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
    }

    body.page-admin-submission .summary-meta {
      display: flex;
      gap: 1.5rem;
      flex-wrap: wrap;
    }

    body.page-admin-submission .meta-item span {
      display: block;
      color: var(--text-muted);
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 0.35rem;
    }

    body.page-admin-submission .meta-item strong {
      font-size: 1rem;
    }

    body.page-admin-submission .status-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      padding: 0.45rem 0.84rem;
      font-size: 0.82rem;
      font-weight: 800;
      background: var(--status-reviewed-bg);
      color: var(--status-reviewed-text);
    }

    body.page-admin-submission .content-grid {
      display: grid;
      grid-template-columns: minmax(0, 2.1fr) minmax(280px, 0.9fr);
      gap: 1.25rem;
    }

    body.page-admin-submission .main-column,
body.page-admin-submission .side-column {
      display: grid;
      gap: 1.25rem;
    }

    body.page-admin-submission .section-card {
      padding: 1.3rem;
    }

    body.page-admin-submission .section-card h2,
body.page-admin-submission .guidance-card h2 {
      margin: 0 0 1rem;
      font-size: 1.15rem;
      font-weight: 800;
    }

    body.page-admin-submission .detail-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.9rem;
    }

    body.page-admin-submission .detail-item {
      padding: 0.95rem 1rem;
      border-radius: var(--radius);
      border: 1px solid rgba(86, 100, 118, 0.1);
      background: var(--surface-muted);
    }

    body.page-admin-submission .detail-item span {
      display: block;
      color: var(--text-muted);
      font-size: 0.84rem;
      margin-bottom: 0.35rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    body.page-admin-submission .detail-item strong,
body.page-admin-submission .detail-item div {
      color: var(--text);
      font-weight: 700;
      min-width: 0;
      overflow-wrap: anywhere;
      word-break: break-word;
    }

    body.page-admin-submission .wording-block {
      margin: 0;
      padding: 1.15rem;
      border-radius: var(--radius);
      background: var(--surface-muted);
      border: 1px solid rgba(86, 100, 118, 0.1);
      white-space: pre-wrap;
      color: var(--text-soft);
      font: inherit;
    }

    body.page-admin-submission .file-meta {
      display: grid;
      gap: 0.8rem;
      margin-bottom: 1rem;
    }

    body.page-admin-submission .file-actions,
body.page-admin-submission .review-actions {
      display: flex;
      gap: 0.75rem;
      flex-wrap: wrap;
    }

    body.page-admin-submission .button,
body.page-admin-submission .button-secondary,
body.page-admin-submission .button-muted,
body.page-admin-submission .button-danger {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 2.8rem;
      padding: 0.7rem 1rem;
      border-radius: 999px;
      border: 0;
      font: inherit;
      font-weight: 700;
      cursor: pointer;
      text-decoration: none;
    }

    body.page-admin-submission .button {
      background: linear-gradient(180deg, #377dc2 0%, #245e97 100%);
      color: #fff;
    }

    body.page-admin-submission .button-secondary {
      background: rgba(58, 143, 120, 0.12);
      color: var(--status-verified-text);
    }

    body.page-admin-submission .button-muted {
      background: rgba(86, 100, 118, 0.1);
      color: var(--text-soft);
    }

    body.page-admin-submission .button-danger {
      background: rgba(183, 66, 66, 0.12);
      color: var(--status-spam-text);
    }

    body.page-admin-submission .button:disabled,
body.page-admin-submission .button-secondary:disabled,
body.page-admin-submission .button-muted:disabled,
body.page-admin-submission .button-danger:disabled,
body.page-admin-submission .button.is-disabled,
body.page-admin-submission .button-secondary.is-disabled,
body.page-admin-submission .button-muted.is-disabled,
body.page-admin-submission .button-danger.is-disabled {
      opacity: 0.6;
      cursor: not-allowed;
      pointer-events: none;
    }

    body.page-admin-submission .review-field {
      margin-bottom: 1rem;
    }

    body.page-admin-submission .review-field label {
      display: block;
      margin-bottom: 0.45rem;
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--text-soft);
    }

    body.page-admin-submission .review-field select,
body.page-admin-submission .review-field textarea {
      width: 100%;
      border-radius: 14px;
      border: 1px solid var(--border-strong);
      background: var(--surface-muted);
      color: var(--text);
      padding: 0.95rem 1rem;
      font: inherit;
    }

    body.page-admin-submission .review-field textarea {
      min-height: 160px;
      resize: vertical;
    }

    body.page-admin-submission .review-feedback {
      display: none;
      margin-bottom: 1rem;
      padding: 0.9rem 1rem;
      border-radius: var(--radius);
      border: 1px solid rgba(86, 100, 118, 0.12);
      background: var(--surface-muted);
      color: var(--text-soft);
      font-size: 0.94rem;
    }

    body.page-admin-submission .review-feedback.is-success {
      display: block;
      border-color: rgba(58, 143, 120, 0.18);
      background: rgba(58, 143, 120, 0.08);
      color: #216d5b;
    }

    body.page-admin-submission .review-feedback.is-error {
      display: block;
      border-color: rgba(183, 66, 66, 0.16);
      background: rgba(183, 66, 66, 0.08);
      color: #9c3232;
    }

    body.page-admin-submission .guidance-card {
      padding: 1.2rem;
      align-self: start;
    }

    body.page-admin-submission .guidance-card ul {
      margin: 0;
      padding-left: 1.1rem;
      color: var(--text-soft);
    }

    body.page-admin-submission .guidance-card li + li {
      margin-top: 0.7rem;
    }

    body.page-admin-submission .state-card {
      padding: 2rem 1.4rem;
      text-align: center;
    }

    body.page-admin-submission .hidden {
      display: none;
    }

    body.page-admin-submission .file-feedback {
      display: none;
      margin: 0 0 1rem;
      padding: 0.9rem 1rem;
      border-radius: var(--radius);
      border: 1px solid rgba(86, 100, 118, 0.12);
      background: var(--surface-muted);
      color: var(--text-soft);
      font-size: 0.94rem;
    }

    body.page-admin-submission .file-feedback.is-visible {
      display: block;
    }

    body.page-admin-submission .file-feedback.is-error {
      border-color: rgba(183, 66, 66, 0.16);
      background: rgba(183, 66, 66, 0.08);
      color: #9c3232;
    }

    @media (max-width: 960px) {
      body.page-admin-submission .content-grid { grid-template-columns: 1fr; }
    }

    @media (max-width: 720px) {
      body.page-admin-submission .header-inner,
body.page-admin-submission .page-shell {
        width: min(calc(100% - 1.25rem), var(--container));
      }

      body.page-admin-submission .detail-grid { grid-template-columns: 1fr; }
      body.page-admin-submission .summary-card {
        align-items: flex-start;
        flex-direction: column;
      }
    }

/* Admin login */

    body.page-admin-login {
      --page-bg: #f3f1ed;
      --page-bg-soft: #fbfaf8;
      --surface: rgba(255, 255, 255, 0.96);
      --surface-muted: #f7f4ef;
      --border: rgba(86, 100, 118, 0.14);
      --border-strong: rgba(86, 100, 118, 0.24);
      --text: #18212b;
      --text-soft: #344253;
      --text-muted: #697688;
      --accent: #2f6fb2;
      --accent-strong: #235a94;
      --danger: #9c3232;
      --danger-soft: rgba(183, 66, 66, 0.08);
      --shadow-lg: 0 18px 44px rgba(39, 45, 54, 0.08);
      --radius-xl: 28px;
      --radius-lg: 20px;
      --radius: 14px;
      --container: 1180px;
    }

    * { box-sizing: border-box; }

    body.page-admin-login {
      margin: 0;
      min-height: 100vh;
      font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at top left, rgba(47, 111, 178, 0.07), transparent 25%),
        radial-gradient(circle at top right, rgba(194, 169, 116, 0.07), transparent 25%),
        linear-gradient(180deg, var(--page-bg-soft) 0%, var(--page-bg) 100%);
      line-height: 1.5;
    }

    body.page-admin-login a { color: var(--accent); text-decoration: none; }
    body.page-admin-login a:hover,
body.page-admin-login a:focus { text-decoration: underline; }

    body.page-admin-login .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(14px);
      background: rgba(250, 248, 245, 0.88);
      border-bottom: 1px solid rgba(86, 100, 118, 0.12);
      box-shadow: 0 10px 28px rgba(39, 45, 54, 0.05);
    }

    body.page-admin-login .header-inner,
body.page-admin-login .page-shell {
      width: min(calc(100% - 2rem), var(--container));
      margin: 0 auto;
    }

    body.page-admin-login .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 1rem 0;
    }

    body.page-admin-login .header-title {
      display: grid;
      gap: 0.2rem;
    }

    body.page-admin-login .header-title strong {
      font-size: 1.08rem;
      letter-spacing: 0.01em;
    }

    body.page-admin-login .header-title span {
      color: var(--text-muted);
      font-size: 0.92rem;
    }

    body.page-admin-login .site-nav {
      display: flex;
      gap: 0.85rem;
      flex-wrap: wrap;
    }

    body.page-admin-login .site-nav a {
      padding: 0.55rem 0.85rem;
      border-radius: 999px;
      color: var(--text-soft);
    }

    body.page-admin-login .site-nav a:hover,
body.page-admin-login .site-nav a:focus {
      text-decoration: none;
      background: rgba(47, 111, 178, 0.08);
      color: var(--accent-strong);
    }

    body.page-admin-login main {
      display: grid;
      min-height: calc(100vh - 74px);
      place-items: center;
      padding: 2rem 0 3rem;
    }

    body.page-admin-login .page-shell {
      display: grid;
      place-items: center;
    }

    body.page-admin-login .login-card {
      width: min(100%, 440px);
      padding: 1.5rem;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow-lg);
    }

    body.page-admin-login .login-card h1 {
      margin: 0 0 0.5rem;
      font-size: clamp(2rem, 4vw, 2.45rem);
      line-height: 1.05;
      letter-spacing: -0.02em;
    }

    body.page-admin-login .login-card p {
      margin: 0 0 1.4rem;
      color: var(--text-muted);
    }

    body.page-admin-login .field-group + .field-group {
      margin-top: 1rem;
    }

    body.page-admin-login label {
      display: block;
      margin-bottom: 0.45rem;
      font-size: 0.94rem;
      font-weight: 700;
      color: var(--text-soft);
    }

    body.page-admin-login input {
      width: 100%;
      min-height: 3.3rem;
      border-radius: 14px;
      border: 1px solid var(--border-strong);
      background: var(--surface-muted);
      color: var(--text);
      padding: 0.95rem 1rem;
      font: inherit;
      transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    body.page-admin-login input:focus {
      outline: none;
      border-color: var(--accent);
      background: #fff;
      box-shadow: 0 0 0 4px rgba(47, 111, 178, 0.12);
    }

    body.page-admin-login .error-message {
      display: none;
      margin-top: 1rem;
      padding: 0.95rem 1rem;
      border-radius: var(--radius);
      border: 1px solid rgba(183, 66, 66, 0.16);
      background: var(--danger-soft);
      color: var(--danger);
      font-size: 0.94rem;
    }

    body.page-admin-login .actions {
      display: grid;
      gap: 0.9rem;
      margin-top: 1.25rem;
    }

    body.page-admin-login .sign-in-button {
      border: 0;
      border-radius: 999px;
      min-height: 3.2rem;
      padding: 0.9rem 1.2rem;
      background: linear-gradient(180deg, #377dc2 0%, #245e97 100%);
      color: #fff;
      font: inherit;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 14px 28px rgba(47, 111, 178, 0.2);
      transition: transform 0.18s ease, filter 0.2s ease;
    }

    body.page-admin-login .sign-in-button:hover,
body.page-admin-login .sign-in-button:focus {
      filter: brightness(1.05);
      transform: translateY(-1px);
    }

    body.page-admin-login .sign-in-button:disabled {
      cursor: wait;
      opacity: 0.72;
      transform: none;
      filter: none;
    }

    body.page-admin-login .support-note {
      color: var(--text-muted);
      font-size: 0.9rem;
      text-align: center;
    }

    @media (max-width: 640px) {
      body.page-admin-login .header-inner,
body.page-admin-login .page-shell {
        width: min(calc(100% - 1.25rem), var(--container));
      }

      body.page-admin-login .login-card {
        padding: 1.2rem;
      }
    }

/* 404 page */

      body.page-not-found { background: #ECEFF1; color: rgba(0,0,0,0.87); font-family: Roboto, Helvetica, Arial, sans-serif; margin: 0; padding: 0; }
      body.page-not-found #message { background: white; max-width: 360px; margin: 100px auto 16px; padding: 32px 24px 16px; border-radius: 3px; }
      body.page-not-found #message h3 { color: #888; font-weight: normal; font-size: 16px; margin: 16px 0 12px; }
      body.page-not-found #message h2 { color: #ffa100; font-weight: bold; font-size: 16px; margin: 0 0 8px; }
      body.page-not-found #message h1 { font-size: 22px; font-weight: 300; color: rgba(0,0,0,0.6); margin: 0 0 16px;}
      body.page-not-found #message p { line-height: 140%; margin: 16px 0 24px; font-size: 14px; }
      body.page-not-found #message a { display: block; text-align: center; background: #039be5; text-transform: uppercase; text-decoration: none; color: white; padding: 16px; border-radius: 4px; }
      body.page-not-found #message,
body.page-not-found #message a { box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); }
      body.page-not-found #load { color: rgba(0,0,0,0.4); text-align: center; font-size: 13px; }
      @media (max-width: 600px) {
        body.page-not-found,
body.page-not-found #message { margin-top: 0; background: white; box-shadow: none; }
      body.page-not-found { border-top: 16px solid #ffa100; }
      }

/* Shared header */

    body .site-header .project-name {
      color: var(--text-soft);
      font-size: 1.6rem;
      font-weight: 650;
      line-height: 1.1;
      letter-spacing: 0.012em;
      text-decoration: none;
    }

    body.page-index .site-header .header-inner,
    body.page-submit .site-header .header-inner,
    body.page-thanks .site-header .header-inner,
    body.page-privacy .site-header .header-inner {
      padding: 0.68rem 0;
    }

    body.page-index .site-header .site-nav,
    body.page-submit .site-header .site-nav,
    body.page-thanks .site-header .site-nav,
    body.page-privacy .site-header .site-nav {
      gap: 0.72rem;
    }

    body.page-index .site-header .site-nav a,
    body.page-submit .site-header .site-nav a,
    body.page-thanks .site-header .site-nav a,
    body.page-privacy .site-header .site-nav a {
      border-radius: 4px;
      background: transparent;
      color: var(--text-soft);
      padding: 0.35rem 0;
      font-weight: 650;
      text-decoration: none;
    }

    body.page-index .site-header .site-nav a:hover,
    body.page-index .site-header .site-nav a:focus,
    body.page-submit .site-header .site-nav a:hover,
    body.page-submit .site-header .site-nav a:focus,
    body.page-thanks .site-header .site-nav a:hover,
    body.page-thanks .site-header .site-nav a:focus,
    body.page-privacy .site-header .site-nav a:hover,
    body.page-privacy .site-header .site-nav a:focus,
    body .site-header .project-name:hover,
    body .site-header .project-name:focus {
      background: transparent;
      color: var(--accent-strong);
      text-decoration: underline;
    }

/* Shared responsive header */

    @media (max-width: 760px) {
      body .site-header .header-inner {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
      }

      body .site-header .menu-toggle {
        display: inline-flex;
      }

      body .site-header .site-nav {
        display: none;
        grid-column: 1 / -1;
        width: 100%;
        padding-top: 0.6rem;
      }

      body .site-header .site-nav.is-open {
        display: grid;
        gap: 0.45rem;
      }

      body .site-header .site-nav a,
      body .site-header .site-nav button {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
      }
    }
