.page { min-width: 0; padding: 66px 0 96px; overflow-x: clip; }
.intro { width: min(100%, 780px); min-width: 0; margin: 0 auto 34px; text-align: center; }
.intro h1 { margin: 12px 0 0; font: 600 clamp(38px, 5vw, 58px)/1.08 Onest, Manrope, sans-serif; letter-spacing: -.035em; }
.intro > p:last-child { margin: 18px auto 0; color: var(--civic-text); font-size: 17px; line-height: 1.65; overflow-wrap: anywhere; }
.draftNotice { display: flex; width: min(100%,900px); margin: 0 auto 18px; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 18px; border: 1px solid #cbdad3; border-radius: 14px; background: #f4f8f6; color: var(--civic-text); }
.draftNotice > div { min-width: 0; }
.draftNotice strong { color: var(--civic-green); font-size: 13px; }
.draftNotice p { margin: 4px 0 0; font-size: 13px; line-height: 1.55; }
.draftNotice > button { min-height: 44px; flex: 0 0 auto; padding: 0 14px; border: 1px solid var(--civic-green); border-radius: 10px; background: #fff; color: var(--civic-green); font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
.form { display: grid; width: min(100%, 900px); min-width: 0; margin: 0 auto; gap: 18px; }
.formFields { display: grid; min-width: 0; margin: 0; padding: 0; border: 0; gap: 18px; }
.formFields:disabled { pointer-events: none; }
.panel { min-width: 0; padding: 28px; border: 1px solid var(--civic-line); border-radius: 20px; background: #fff; box-shadow: 0 12px 32px rgba(17,43,32,.035); }
.sectionTitle { display: flex; margin-bottom: 24px; align-items: flex-start; gap: 13px; }
.sectionTitle > div { min-width: 0; }
.sectionTitle > span { flex: 0 0 auto; color: #8aa399; font-size: 11px; font-weight: 800; line-height: 1.8; }
.sectionTitle h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.sectionTitle p { margin: 5px 0 0; color: var(--civic-muted); font-size: 13px; line-height: 1.55; }
.grid { display: grid; min-width: 0; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.publicLinksSection { display: grid; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--civic-line); gap: 14px; }
.publicLinksSection h3 { margin: 0; font-size: 17px; font-weight: 650; }
.publicLinksSection > div:first-child > p { margin: 5px 0 0; color: var(--civic-muted); font-size: 13px; line-height: 1.5; }
.publicLinkRow { display: grid; grid-template-columns: minmax(150px,.7fr) minmax(0,1.8fr); gap: 14px; }
.wide { grid-column: 1 / -1; }
.panel label { display: grid; min-width: 0; gap: 7px; color: var(--civic-text); font-size: 13px; font-weight: 700; }
.panel label > small { color: var(--civic-muted); font-size: 12px; font-weight: 500; line-height: 1.45; }
.panel input, .panel select, .panel textarea { width: 100%; min-width: 0; max-width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--civic-line-strong); border-radius: 11px; background: #fff; color: var(--civic-ink); }
.panel textarea { resize: vertical; line-height: 1.55; }
.panel input:focus-visible, .panel select:focus-visible, .panel textarea:focus-visible { border-color: var(--civic-green); outline: 3px solid rgba(21,81,60,.14); outline-offset: 0; }
.photoInput { position: absolute; width: 1px!important; height: 1px; min-height: 0!important; padding: 0!important; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.photoPlaceholder { display: grid; width: 100%; min-height: 220px; place-items: center; align-content: center; gap: 10px; padding: 24px; border: 1px dashed var(--civic-line-strong); border-radius: 18px; background: var(--civic-surface); color: var(--civic-muted); font: inherit; text-align: center; cursor: pointer; transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease; }
.photoPlaceholder strong { color: var(--civic-text); font-size: 14px; font-weight: 750; }
.photoPlaceholder span { max-width: 440px; font-size: 12px; line-height: 1.5; }
.photoPlaceholder:hover { border-color: var(--civic-green); background: #f2f7f4; color: var(--civic-green); box-shadow: 0 10px 26px rgba(17,43,32,.06); }
.photoPlaceholder:focus-visible { border-color: var(--civic-green); outline: 3px solid rgba(21,81,60,.18); outline-offset: 3px; }
.photoPlaceholder:active { transform: translateY(1px); }
.photoPlaceholderDragging, .photoPlaceholder.is-dragging { border-color: var(--civic-green); border-style: solid; background: #eaf4ef; color: var(--civic-green); box-shadow: inset 0 0 0 2px rgba(21,81,60,.1), 0 10px 26px rgba(17,43,32,.08); }
.photoHelp { margin: 12px 0 0; color: var(--civic-muted); font-size: 12px; line-height: 1.55; }
.photoReplacement { display: flex; min-width: 0; align-items: center; }
.photoReplacement button { display: inline-flex; width: fit-content; min-height: 46px; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 1px solid var(--civic-line-strong); border-radius: 11px; background: #fff; color: var(--civic-green); font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
.photoReplacement button:hover { border-color: var(--civic-green); background: #f5f8f6; }
.photoReplacement button:focus-visible { outline: 3px solid rgba(21,81,60,.18); outline-offset: 2px; }
.cropEditor { display: grid; min-width: 0; margin-top: 24px; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: 24px; }
.cropEditor[hidden] { display: none; }
.cropCard { display: grid; min-width: 0; justify-items: center; gap: 14px; padding: 18px; border: 1px solid var(--civic-line); border-radius: 18px; background: #f8faf9; }
.cropHeading { width: 100%; min-width: 0; text-align: left; }
.cropHeading h3 { margin: 0; color: var(--civic-ink); font: 600 18px/1.3 Onest, Manrope, sans-serif; }
.cropHeading p { margin: 5px 0 0; color: var(--civic-muted); font-size: 12px; font-weight: 500; line-height: 1.5; }
.cropSurface { position: relative; width: min(100%, 360px); max-width: 100%; overflow: hidden; border: 1px solid #c8d6cf; border-radius: 18px; background: #e8efec; cursor: grab; touch-action: none; overscroll-behavior: contain; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; box-shadow: 0 12px 28px rgba(15,45,33,.08); }
.cropSurface:active { cursor: grabbing; }
.cropSurface:focus-visible { outline: 4px solid rgba(21,81,60,.2); outline-offset: 3px; }
.cropSurfaceRound { width: min(100%, 340px); border-radius: 50%; }
.cropImage { position: absolute; display: block; max-width: none!important; object-fit: fill; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.cropActions { display: grid; width: 100%; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.cropActions button { display: inline-flex; min-width: 0; min-height: 44px; align-items: center; justify-content: center; gap: 5px; padding: 0 9px; border: 1px solid var(--civic-line-strong); border-radius: 10px; background: #fff; color: var(--civic-green); font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }
.cropActions button:hover { border-color: var(--civic-green); }
.cropActions button:focus-visible, .cropDone button:focus-visible { outline: 3px solid rgba(21,81,60,.18); outline-offset: 2px; }
.cropActions button:disabled { cursor: not-allowed; opacity: .45; }
.cropDone { display: flex; min-width: 0; grid-column: 1 / -1; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; padding-top: 2px; }
.cropDone button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; padding: 0 22px; border: 0; border-radius: 11px; background: var(--civic-green); color: #fff; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
.cropDone span { color: var(--civic-green); font-size: 12px; font-weight: 700; }
.fieldError { color: #a13c36!important; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { display: inline-flex; min-height: 38px; align-items: center; gap: 7px; padding: 0 7px 0 13px; border: 1px solid #cbd7d1; border-radius: 999px; background: #f4f8f6; color: var(--civic-text); font-size: 13px; font-weight: 650; }
.chips button { display: grid; width: 30px; height: 30px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--civic-muted); font-size: 18px; cursor: pointer; }
.categoryActions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.categoryActions > span { color: var(--civic-muted); font-size: 13px; }
.legacyCategories { display: grid; gap: 5px; margin-top: 14px; padding: 14px 16px; border: 1px solid #d9b98f; border-radius: 12px; background: #fffaf1; color: #493d2e; }
.legacyCategories p, .legacyCategories small { margin: 0; }
.legacyCategories small { color: #74644f; line-height: 1.45; }
.missingCategory { margin-top: 16px; border-top: 1px solid var(--civic-line); padding-top: 14px; }
.missingCategory summary { width: fit-content; min-height: 44px; align-content: center; color: var(--civic-green); font-weight: 750; cursor: pointer; }
.missingCategory label { margin-top: 10px; }
.missingCategory small { display: block; margin-top: 8px; color: var(--civic-muted); line-height: 1.45; }
.addRow { display: grid; margin-top: 14px; grid-template-columns: minmax(220px,1fr) auto; gap: 10px; }
.addRow button, .addButton { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; border: 1px solid var(--civic-line-strong); border-radius: 11px; background: #fff; color: var(--civic-green); font-weight: 700; cursor: pointer; }
.addButton { width: 100%; border-style: dashed; background: var(--civic-surface); }
.repeater { display: grid; min-width: 0; gap: 12px; }
.repeater:not(:empty) { margin-bottom: 12px; }
.repeater article { min-width: 0; padding: 18px; border: 1px solid var(--civic-line); border-radius: 15px; background: #f9fbfa; }
.repeaterHead { display: flex; margin-bottom: 14px; align-items: center; justify-content: space-between; gap: 16px; }
.repeaterHead h3 { margin: 0; font-size: 15px; }
.repeaterHead button { display: inline-flex; min-height: 44px; align-items: center; gap: 6px; padding: 0 6px; border: 0; background: transparent; color: #913c38; font-size: 12px; font-weight: 700; cursor: pointer; }
.consentPanel { padding: 18px 22px; }
.consent { display: flex!important; min-height: 52px; align-items: center; justify-content: space-between; gap: 20px!important; cursor: pointer; }
.consent span { max-width: 760px; font-weight: 500; line-height: 1.58; }
.consent input { width: 24px!important; min-height: 24px!important; flex: 0 0 24px; padding: 0!important; accent-color: var(--civic-green); }
.fileNotice { margin: 0 0 12px; padding: 14px 16px; border-radius: 12px; background: var(--civic-surface); color: var(--civic-text); font-size: 13px; line-height: 1.6; }
.turnstilePanel { position: relative; display: grid; min-width: 0; justify-items: center; gap: 8px; padding: 14px 16px; border: 1px solid var(--civic-line); border-radius: 14px; background: #fff; text-align: center; }
.turnstilePanel p { margin: 0; color: var(--civic-muted); font-size: 11px; line-height: 1.45; }
.turnstileWidget { width: min(100%, 300px); min-height: 1px; }
.honeypot { position: absolute!important; width: 1px!important; height: 1px!important; min-height: 0!important; padding: 0!important; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.submitBar { display: flex; width: 100%; min-width: 0; min-height: 76px; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 16px 16px 20px; border: 1px solid #cfdbd5; border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgba(15,45,33,.07); }
.submitBar > button { display: inline-flex; min-height: 52px; flex: 0 0 auto; align-items: center; justify-content: center; gap: 9px; padding: 0 22px; border: 0; border-radius: 11px; background: var(--civic-green); color: #fff; font-weight: 700; cursor: pointer; }
.submitBar > button:hover { background: var(--civic-green-hover); }
.submitBar > button:disabled { cursor: wait; opacity: .65; }
.status { color: var(--civic-muted); font-size: 13px; line-height: 1.5; }
.limitNote { margin: 0 0 4px; color: var(--civic-muted); font-size: 12px; line-height: 1.4; }
.error { color: #9d352f; font-weight: 700; }
.working { color: #7f621d; }
.failure { display: grid; gap: 3px; color: #8f302b; }
.failure strong { font-size: 14px; }
.failure p { margin: 0; font-size: 13px; line-height: 1.5; }
.fallbackActions { display: flex; margin-top: 10px; align-items: center; flex-wrap: wrap; gap: 9px 12px; }
.fallbackActions button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; border: 1px solid var(--civic-green); border-radius: 10px; background: #fff; color: var(--civic-green); font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }
.fallbackActions span { color: var(--civic-muted); font-size: 12px; line-height: 1.45; }
.fallbackActions button:focus-visible { outline: 3px solid rgba(21,81,60,.18); outline-offset: 2px; }
.success { display: flex; width: min(100%,900px); margin: 0 auto 20px; align-items: flex-start; gap: 15px; padding: 22px; border: 1px solid #bdd8cb; border-radius: 18px; background: var(--civic-green-soft); }
.success:focus { outline: 4px solid rgba(21,81,60,.18); outline-offset: 4px; }
.success > span { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 50%; background: var(--civic-green); color: #fff; }
.success h2 { margin: 0; font-size: 20px; }
.success p { margin: 5px 0 0; color: var(--civic-text); line-height: 1.55; }
.success small { display: block; margin-top: 12px; color: var(--civic-muted); line-height: 1.5; }
.successActions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.successActions button, .successActions a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 7px; padding: 0 14px; border: 1px solid var(--civic-green); border-radius: 10px; background: var(--civic-green); color: #fff; font: inherit; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; }
.successActions .secondaryAction, .successActions a { background: #fff; color: var(--civic-green); }
.successActions button:focus-visible, .successActions a:focus-visible { outline: 3px solid rgba(21,81,60,.18); outline-offset: 2px; }
.confirmBackdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(10,28,21,.52); }
.confirmDialog { width: min(100%,420px); padding: 24px; border: 1px solid #cbd8d2; border-radius: 18px; background: #fff; box-shadow: 0 24px 70px rgba(9,30,21,.24); }
.confirmDialog h2 { margin: 0; font: 600 23px/1.25 Onest, Manrope, sans-serif; }
.confirmDialog p { margin: 9px 0 0; color: var(--civic-text); line-height: 1.55; }
.confirmDialog > div { display: grid; margin-top: 22px; grid-template-columns: 1fr 1fr; gap: 10px; }
.confirmDialog button { min-height: 48px; padding: 0 14px; border: 1px solid var(--civic-green); border-radius: 10px; background: #fff; color: var(--civic-green); font: inherit; font-weight: 750; cursor: pointer; }
.confirmDialog button:last-child { background: var(--civic-green); color: #fff; }
.confirmDialog button:focus-visible, .draftNotice > button:focus-visible { outline: 3px solid rgba(21,81,60,.18); outline-offset: 2px; }
@media (max-width: 760px) {
  .page { padding: 44px 0 72px; }
  .intro { margin-bottom: 26px; text-align: left; }
  .intro h1 { font-size: 39px; }
  .intro > p:last-child { font-size: 15px; }
  .draftNotice { align-items: stretch; flex-direction: column; }
  .draftNotice > button { width: 100%; }
  .panel { padding: 20px; border-radius: 17px; }
  .grid { grid-template-columns: 1fr; }
  .publicLinkRow { grid-template-columns: 1fr; }
  .wide { grid-column: auto; }
  .photoPlaceholder { min-height: 190px; padding: 22px 16px; }
  .photoReplacement button { width: 100%; }
  .cropEditor { grid-template-columns: 1fr; gap: 18px; }
  .cropCard { padding: 0; border: 0; border-radius: 0; background: transparent; }
  .cropSurface { width: min(100%,358px); }
  .cropSurfaceRound { width: min(100%,330px); }
  .cropActions button span { display: none; }
  .cropDone { grid-column: auto; }
  .cropDone button { width: 100%; }
  .addRow { grid-template-columns: 1fr; }
  .consent { align-items: flex-start; }
  .consent input { margin-top: 4px; }
  .submitBar { align-items: stretch; flex-direction: column; }
  .submitBar > button { width: 100%; }
  .fallbackActions { align-items: stretch; flex-direction: column; }
  .fallbackActions button { width: 100%; }
  .successActions { display: grid; }
  .successActions > * { width: 100%; }
  .confirmDialog { padding: 21px; }
  .confirmDialog > div { grid-template-columns: 1fr; }
}
