    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --cream:      #F6F0E5;
      --parchment:  #EDE3CF;
      --amber:      #93591C;
      --amber-lt:   #E2A84E;
      --brown:      #6B4928;
      --dark:       #1E1109;
      --ink:        #3A250E;
      --muted:      #8A6A4A;
      --warm-white: #FBF7F0;
      --green:      #3A7A4A;
      --red:        #8B2222;
      --red-lt:     #F8EBEB;
    }

    html { scroll-behavior: smooth; }
    body {
      font-family: 'Jost', sans-serif;
      background: var(--cream);
      color: var(--ink);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    body::after {
      content: '';
      position: fixed; inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.032'/%3E%3C/svg%3E");
      pointer-events: none; z-index: 9999;
    }

    nav {
      position: relative;
      display: flex; align-items: center; justify-content: space-between;
      padding: 1.1rem 3.5rem;
      background: rgba(246,240,229,.93);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(147,89,28,.13);
      z-index: 500;
    }
    .nav-logo {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.35rem; font-weight: 600;
      color: var(--brown); letter-spacing: .03em; text-decoration: none;
    }
    .nav-logo span { color: var(--amber); }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 1.25rem;
    }
    .nav-link {
      font-size: .76rem;
      font-weight: 400;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--muted);
      text-decoration: none;
      transition: color .2s;
    }
    .nav-link:hover { color: var(--brown); }
    .nav-user {
      display: flex;
      align-items: center;
      gap: .85rem;
    }
    .lang-toggle {
      display: flex;
      background: rgba(147,89,28,.1);
      border: 1px solid rgba(147,89,28,.22);
      border-radius: 3px;
      overflow: hidden;
    }
    .lang-btn {
      padding: .35rem .75rem;
      border: none;
      cursor: pointer;
      font-family: 'Jost', sans-serif;
      font-size: .72rem;
      font-weight: 500;
      letter-spacing: .1em;
      background: transparent;
      color: var(--muted);
      transition: all .15s;
    }
    .lang-btn.active { background: var(--amber); color: white; }
    .lang-btn:not(.active):hover { background: rgba(147,89,28,.15); color: var(--brown); }

    main {
      flex: 1;
      width: 100%;
      max-width: 720px;
      margin: 0 auto;
      padding: 2.5rem 2rem 4rem;
      position: relative;
      z-index: 1;
    }

    .page-header {
      margin-bottom: 2rem;
    }
    .page-header h1 {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2rem, 5vw, 2.75rem);
      font-weight: 400;
      color: var(--dark);
      line-height: 1.1;
    }
    .page-header p {
      margin-top: .55rem;
      font-size: .95rem;
      color: var(--muted);
      font-weight: 300;
      line-height: 1.65;
    }

    .back-dashboard {
      display: inline-block;
      font-size: .8rem;
      color: var(--amber);
      text-decoration: none;
      margin-bottom: 1.25rem;
    }
    .back-dashboard:hover { color: var(--brown); text-decoration: underline; }

    .profile-card {
      background: rgba(255,255,255,.72);
      border: 1.5px solid rgba(147,89,28,.24);
      border-radius: 2px;
      padding: 1.5rem 1.4rem;
      margin-bottom: 1.25rem;
      box-shadow: 0 12px 40px rgba(30,17,9,.06);
    }
    .profile-card--danger {
      border-color: rgba(139,34,34,.45);
      background: var(--red-lt);
    }
    .profile-card__title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.45rem;
      font-weight: 400;
      color: var(--dark);
      margin-bottom: 1.1rem;
      line-height: 1.2;
    }
    .profile-card__title--danger { color: var(--red); }

    .profile-avatar-row {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: .85rem;
      margin-bottom: 1.35rem;
    }
    .profile-avatar {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      overflow: hidden;
      border: 2px solid rgba(147,89,28,.35);
      background: var(--parchment);
      flex-shrink: 0;
    }
    .profile-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .profile-avatar svg { width: 100%; height: 100%; display: block; }

    .identity-fields { margin-top: .25rem; }
    .inline-field { margin-bottom: 1.15rem; }
    .inline-field__label {
      display: block;
      font-size: .72rem;
      font-weight: 500;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: .35rem;
    }
    .inline-field__row {
      display: flex;
      align-items: center;
      gap: .45rem;
      flex-wrap: wrap;
    }
    .inline-field__value {
      flex: 1;
      min-width: 0;
      font-size: .95rem;
      color: var(--ink);
      line-height: 1.45;
    }
    .inline-field__value.is-empty {
      color: var(--muted);
      font-style: italic;
      font-weight: 300;
    }
    .inline-field__input {
      flex: 1;
      min-width: 140px;
      padding: .5rem .65rem;
      border: 1.5px solid rgba(147,89,28,.35);
      border-radius: 2px;
      background: rgba(255,255,255,.85);
      font-family: 'Jost', sans-serif;
      font-size: .92rem;
      color: var(--ink);
      outline: none;
    }
    .inline-field__input:focus {
      border-color: var(--amber);
      box-shadow: 0 0 0 3px rgba(147,89,28,.1);
    }
    .inline-field__input--error {
      border-color: rgba(154, 59, 50, 0.65);
    }
    .inline-field__input--error:focus {
      border-color: rgba(154, 59, 50, 0.85);
      box-shadow: 0 0 0 3px rgba(154, 59, 50, 0.12);
    }
    .inline-field__actions {
      display: flex;
      align-items: center;
      gap: .15rem;
      flex-shrink: 0;
    }
    .inline-field__icon-btn {
      border: none;
      background: transparent;
      cursor: pointer;
      padding: .3rem;
      line-height: 0;
      border-radius: 2px;
      transition: background .15s;
    }
    .inline-field__icon-btn:hover { background: rgba(147,89,28,.12); }
    .inline-field__icon-btn:disabled { opacity: .45; cursor: wait; }
    .inline-field__flash {
      flex-basis: 100%;
      font-size: .78rem;
      font-weight: 500;
      color: var(--green);
      margin-top: .15rem;
      min-height: 1.1em;
    }
    .inline-field__reset {
      display: inline-block;
      margin-top: .3rem;
      font-size: .78rem;
      font-weight: 400;
      color: var(--amber);
      background: none;
      border: none;
      cursor: pointer;
      padding: 0;
      text-decoration: underline;
    }
    .inline-field__reset:hover { color: var(--brown); }
    .inline-field__reset.hidden { display: none !important; }

    .identity-affiliation-row {
      display: flex;
      gap: .5rem;
      align-items: flex-start;
      flex: 1;
      min-width: 0;
      width: 100%;
    }
    .identity-affiliation-type {
      flex: 0 0 auto;
      width: auto;
      min-width: 9rem;
    }
    .identity-affiliation-autocomplete-wrapper {
      position: relative;
      flex: 1;
      min-width: 0;
    }
    .identity-affiliation-autocomplete-wrapper .inline-field__input {
      width: 100%;
    }
    .identity-affiliation-dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      max-height: 220px;
      overflow-y: auto;
      background: #EDE3CF;
      border: 1px solid #93591C;
      border-top: none;
      border-radius: 0 0 6px 6px;
      z-index: 100;
      display: none;
    }

    .verified-badge {
      display: inline-flex;
      align-items: center;
      background: #93591C;
      color: #F6F0E5;
      font-family: 'Jost', sans-serif;
      font-size: 0.7rem;
      font-weight: 600;
      padding: 2px 8px;
      border-radius: 999px;
      margin-left: 8px;
      vertical-align: middle;
    }

    .btn-outline {
      display: inline-block;
      padding: .55rem 1rem;
      border: 1.5px solid var(--amber);
      background: transparent;
      color: var(--amber);
      font-family: 'Jost', sans-serif;
      font-size: .76rem;
      font-weight: 500;
      letter-spacing: .08em;
      text-transform: uppercase;
      border-radius: 2px;
      cursor: pointer;
      transition: background .2s, color .2s, border-color .2s;
    }
    .btn-outline:hover {
      background: rgba(147,89,28,.1);
      color: var(--brown);
      border-color: var(--brown);
    }
    .btn-outline:disabled { opacity: .55; cursor: wait; }

    .btn-primary {
      display: inline-block;
      padding: .72rem 1.25rem;
      background: var(--amber);
      color: var(--warm-white);
      border: none;
      font-family: 'Jost', sans-serif;
      font-size: .76rem;
      font-weight: 500;
      letter-spacing: .1em;
      text-transform: uppercase;
      border-radius: 2px;
      cursor: pointer;
      transition: background .2s, transform .15s;
    }
    .btn-primary:hover { background: var(--brown); transform: translateY(-1px); }
    .btn-primary:disabled { opacity: .55; cursor: wait; transform: none; }

    .field { margin-bottom: 1rem; }
    .field label {
      display: block;
      font-size: .72rem;
      font-weight: 500;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: .35rem;
    }
    .field input,
    .field select,
    .field textarea {
      width: 100%;
      padding: .75rem .9rem;
      border: 1.5px solid rgba(147,89,28,.35);
      border-radius: 2px;
      background: rgba(255,255,255,.85);
      font-family: 'Jost', sans-serif;
      font-size: .92rem;
      color: var(--ink);
      outline: none;
      transition: border-color .2s, box-shadow .2s;
    }
    .field textarea {
      min-height: 5rem;
      resize: vertical;
      line-height: 1.55;
    }
    .field input:focus,
    .field select:focus,
    .field textarea:focus {
      border-color: var(--amber);
      box-shadow: 0 0 0 3px rgba(147,89,28,.1);
    }
    .field input:read-only {
      background: rgba(237,227,207,.5);
      color: var(--muted);
      cursor: default;
    }

    .diocese-autocomplete-wrapper {
      position: relative;
    }

    #diocese-dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      max-height: 220px;
      overflow-y: auto;
      background: #EDE3CF;
      border: 1px solid #93591C;
      border-top: none;
      border-radius: 0 0 6px 6px;
      z-index: 100;
      display: none;
    }

    .diocese-dropdown-option {
      padding: 10px 14px;
      cursor: pointer;
      color: #3A250E;
      font-family: 'Jost', sans-serif;
      font-size: 0.95rem;
    }

    .diocese-dropdown-option:hover {
      background: #F6F0E5;
    }

    .stats-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }
    .stat-box {
      text-align: center;
      padding: 1.25rem 1rem;
      background: rgba(237,227,207,.35);
      border: 1px solid rgba(147,89,28,.2);
      border-radius: 2px;
    }
    .stat-box__value {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.5rem;
      font-weight: 600;
      color: var(--amber);
      line-height: 1;
    }
    .stat-box__label {
      margin-top: .45rem;
      font-size: .78rem;
      font-weight: 400;
      color: var(--muted);
      line-height: 1.4;
    }

    .verify-badge {
      display: inline-block;
      font-size: .72rem;
      font-weight: 500;
      letter-spacing: .06em;
      text-transform: uppercase;
      padding: .35rem .65rem;
      border-radius: 2px;
      margin-bottom: .75rem;
    }
    .verify-badge--unverified {
      background: rgba(138,106,74,.15);
      color: var(--muted);
    }
    .verify-badge--pending {
      background: rgba(147,89,28,.18);
      color: var(--brown);
    }
    .verify-badge--verified {
      background: rgba(58,122,74,.15);
      color: var(--green);
    }

    .verify-verified-msg {
      font-size: .9rem;
      font-weight: 400;
      color: var(--ink);
      line-height: 1.65;
      margin: 0;
    }

    .verify-rejected-notice {
      font-size: .88rem;
      font-weight: 500;
      color: var(--red);
      background: var(--red-lt);
      border: 1px solid rgba(139,34,34,.25);
      border-radius: 2px;
      padding: .65rem .85rem;
      margin-bottom: 1rem;
      line-height: 1.5;
    }

    .verify-readonly-card {
      padding: .25rem 0 0;
    }

    .verify-readonly-card .inline-field:last-child {
      margin-bottom: 0;
    }

    .verify-form .field label {
      overflow: visible;
    }

    .verify-form {
      margin-top: .25rem;
    }

    .verify-form .btn-primary {
      margin-top: .35rem;
    }

    .verify-resubmit-btn {
      margin-top: 1rem;
    }

    .verify-resubmit-confirm {
      margin-top: 1rem;
      padding-top: 1rem;
      border-top: 1px solid rgba(147,89,28,.25);
    }

    .verify-resubmit-confirm p {
      font-size: .9rem;
      font-weight: 400;
      color: var(--ink);
      line-height: 1.65;
      margin: 0 0 .85rem;
    }

    .verify-resubmit-confirm__actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: .75rem 1rem;
    }

    .btn-text {
      background: none;
      border: none;
      padding: .5rem 0;
      font-family: 'Jost', sans-serif;
      font-size: .85rem;
      font-weight: 500;
      color: var(--muted);
      cursor: pointer;
      text-decoration: underline;
      text-underline-offset: 2px;
    }

    .btn-text:hover {
      color: var(--ink);
    }

    .verify-note {
      font-size: .9rem;
      font-weight: 300;
      color: var(--ink);
      line-height: 1.65;
      margin-bottom: 1rem;
    }

    .section-msg {
      font-size: .85rem;
      font-weight: 500;
      margin-top: .75rem;
      min-height: 1.2em;
    }
    .section-msg:empty { display: none; }
    .section-msg--ok { color: var(--green); }
    .section-msg--err { color: var(--red); }

    .btn-danger-outline {
      display: inline-block;
      padding: .65rem 1.15rem;
      border: 1.5px solid var(--red);
      background: transparent;
      color: var(--red);
      font-family: 'Jost', sans-serif;
      font-size: .76rem;
      font-weight: 500;
      letter-spacing: .08em;
      text-transform: uppercase;
      border-radius: 2px;
      cursor: pointer;
    }
    .btn-danger-outline:hover {
      background: var(--red);
      color: var(--warm-white);
    }

    .modal-backdrop {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(30,17,9,.5);
      z-index: 800;
      align-items: center;
      justify-content: center;
      padding: 1.5rem;
    }
    .modal-backdrop.is-open { display: flex; }
    .modal {
      position: relative;
      width: 100%;
      max-width: 480px;
      background: var(--warm-white);
      border: 1.5px solid rgba(147,89,28,.3);
      border-radius: 2px;
      padding: 1.5rem 1.35rem;
      box-shadow: 0 20px 50px rgba(30,17,9,.15);
    }
    .modal-close {
      position: absolute;
      top: .5rem;
      right: .65rem;
      background: none;
      border: none;
      cursor: pointer;
      font-size: 1.5rem;
      line-height: 1;
      color: #9a8f80;
      padding: .15rem .35rem;
    }
    .modal-close:hover { color: #5a5046; }
    .modal-result {
      padding: .5rem .25rem 1rem;
      text-align: center;
    }
    .modal-result p {
      font-size: .95rem;
      line-height: 1.5;
      margin: 0;
    }
    .modal-result p.is-ok { color: #4A4035; }
    .modal-result p.is-err { color: #b4451f; }
    .modal h2 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.35rem;
      font-weight: 400;
      color: var(--dark);
      margin-bottom: .35rem;
    }
    .modal h3 {
      font-size: .88rem;
      font-weight: 400;
      color: var(--muted);
      margin-bottom: 1rem;
      line-height: 1.5;
    }
    .modal-radio {
      display: flex;
      align-items: flex-start;
      gap: .55rem;
      margin-bottom: .75rem;
      font-size: .88rem;
      font-weight: 300;
      line-height: 1.45;
      cursor: pointer;
    }
    .modal-radio input { margin-top: .2rem; flex-shrink: 0; }
    .modal-feedback-label {
      font-size: .82rem;
      color: #8A7A68;
      margin-top: 16px;
      margin-bottom: 6px;
    }
    .modal-feedback {
      display: block;
      width: 100%;
      font-family: 'Jost', sans-serif;
      font-size: .9rem;
      line-height: 1.5;
      color: var(--ink);
      padding: .55rem .65rem;
      border: 1px solid #D9CDB8;
      border-radius: 2px;
      background: var(--warm-white);
      resize: vertical;
    }
    .modal-actions {
      display: flex;
      flex-wrap: wrap;
      gap: .65rem;
      margin-top: 1.25rem;
    }
    .btn-danger {
      padding: .65rem 1rem;
      border: 1.5px solid var(--red);
      background: var(--red);
      color: var(--warm-white);
      font-family: 'Jost', sans-serif;
      font-size: .76rem;
      font-weight: 500;
      letter-spacing: .06em;
      text-transform: uppercase;
      border-radius: 2px;
      cursor: pointer;
    }
    .btn-danger:hover { background: #6F1A1A; border-color: #6F1A1A; }
    .btn-secondary {
      padding: .65rem 1rem;
      border: 1.5px solid rgba(138,106,74,.45);
      background: transparent;
      color: var(--muted);
      font-family: 'Jost', sans-serif;
      font-size: .76rem;
      font-weight: 500;
      letter-spacing: .06em;
      text-transform: uppercase;
      border-radius: 2px;
      cursor: pointer;
    }
    .btn-secondary:hover { border-color: var(--brown); color: var(--brown); }

    .hidden { display: none !important; }
    .page-loading {
      text-align: center;
      font-size: .9rem;
      color: var(--muted);
      font-style: italic;
      padding: 3rem 1rem;
    }

    footer {
      border-top: 1px solid rgba(147,89,28,.13);
      text-align: center;
      color: var(--muted);
      font-size: .82rem;
      padding: 1.2rem;
      position: relative;
      z-index: 1;
    }

    @media (max-width: 600px) {
      nav { padding: 1rem 1.25rem; }
      main { padding: 2rem 1.25rem 3rem; }
      .stats-row { grid-template-columns: 1fr; }
    }
  