/* Guest reply form and privacy choices, in the site's existing ink and paper. */
[hidden] { display: none !important; }
.reply-card { background: var(--paper); color: var(--ink); padding: 36px; margin: 36px auto; text-align: left; border-radius: 4px; box-shadow: 0 14px 60px #07150c1c; }
.reply-card .eyebrow { color: var(--ink); }
.reply-card h3 { font: 40px/1.08 var(--serif); margin: 16px 0; }
.rsvp .reply-card p { color: #536678; margin: 12px 0 22px; font-size: 14px; }
.reply-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; font-size: 13px; margin: 0 0 18px; min-width: 0; }
.field input, .field textarea, .owner-tools input { width: 100%; min-width: 0; padding: 12px; font: 16px/1.5 var(--sans); color: #243f58; border: 1px solid #a7b2b9; border-radius: 3px; background: #fffcf6; }
.field textarea { resize: vertical; min-height: 86px; }
.field input:focus, .field textarea:focus { outline: 2px solid #577a97; outline-offset: 2px; }
.rsvp .reply-card .field-help { font-size: 12px; line-height: 1.65; margin: -7px 0 22px; }
.attendance { padding: 0; margin: 28px 0; border: 0; min-width: 0; }
.attendance legend { font: 25px/1.2 var(--serif); padding: 0; margin-bottom: 12px; }
.radio-options { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-options label { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid #b7c0c5; border-radius: 3px; font-size: 12px; min-height: 46px; cursor: pointer; }
.radio-options label:has(input:checked) { background: #e4ebee; border-color: #577a97; }
.radio-options input { width: 17px; height: 17px; accent-color: #375d7e; flex-shrink: 0; }
.reply-submit { width: 100%; justify-content: center; background: #294c68; color: #fffaf0; border-color: #294c68; font: 12px var(--sans); cursor: pointer; }
.reply-submit:disabled { opacity: .6; cursor: wait; }
.rsvp .reply-card .reply-privacy { font-size: 11px; line-height: 1.7; }
.rsvp .reply-card .form-error { color: #922f30; border-left: 2px solid; padding-left: 12px; }
.reply-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.reply-actions button { cursor: pointer; }
.reply-actions .text-link { background: none; border: 0; color: inherit; padding: 12px 0; text-decoration: underline; font-family: var(--sans); }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.visit-privacy { position: fixed; left: 20px; bottom: 20px; width: min(410px, calc(100% - 40px)); background: #f9f6ed; border: 1px solid #bbc4c8; color: #29445c; box-shadow: 0 6px 35px #10263924; padding: 24px; z-index: 90; border-radius: 4px; max-height: 65svh; overflow-y: auto; }
.visit-privacy h2 { font: 29px/1.15 var(--serif); margin-bottom: 12px; }
.visit-privacy p { font: 12px/1.65 var(--sans); margin-bottom: 12px; }
.visit-privacy .privacy-small { font-size: 10px; margin-top: 12px; margin-bottom: 0; }
.privacy-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.privacy-actions button { flex: 1; min-height: 44px; padding: 10px; font: 11px var(--sans); border: 1px solid #57758d; background: transparent; color: #29445c; border-radius: 2px; cursor: pointer; }
.privacy-actions button:first-child { background: #294c68; color: #fffaf0; }
.privacy-open { border: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; text-decoration: underline; padding: 10px; }
.editing-copy .visit-privacy { position: relative; left: auto; bottom: auto; margin: 30px auto 110px; }
.owner-page { --ink: #29435f; background: var(--paper); color: var(--ink); }
.owner-wrap { max-width: 1400px; margin: auto; padding: 40px 40px 90px; }
.owner-top { display: flex; justify-content: space-between; margin-bottom: 70px; font-size: 13px; }
.owner-top button { background: none; border: 1px solid #9daebb; padding: 10px 20px; color: inherit; font: inherit; cursor: pointer; }
.owner-page h1 { font: 78px/.98 var(--serif); margin: 20px 0; letter-spacing: -2px; }
.owner-intro { max-width: 660px; font-size: 15px; }
#owner-status { font-size: 12px; margin: 20px 0; color: #687d8a; }
.owner-metrics { display: grid; grid-template-columns: repeat(6,1fr); border-block: 1px solid #b7c4cc; margin: 35px 0; }
.owner-metrics > div { display: grid; gap: 5px; padding: 24px 12px; }
.owner-metrics strong { font: 46px var(--serif); }
.owner-metrics span { font-size: 11px; }
.owner-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; }
.owner-tabs button { font: 13px var(--sans); color: inherit; border: 1px solid #9bafb9; background: transparent; min-height: 44px; padding: 12px 20px; cursor: pointer; }
.owner-tabs button[aria-pressed="true"] { background: #294c68; color: #fffaf0; }
.owner-tools { display: flex; align-items: end; gap: 20px; justify-content: space-between; }
.owner-tools label { font-size: 12px; display: grid; gap: 8px; width: min(380px,100%); }
.owner-tools .button { white-space: nowrap; }
#table-note, #empty { font-size: 12px; margin: 24px 0; }
.owner-table-wrap { overflow-x: auto; border: 1px solid #c3cbd0; }
.owner-page table { border-collapse: collapse; min-width: 650px; width: 100%; text-align: left; font-size: 12px; }
.owner-page th { background: #e7ebea; font-weight: 500; white-space: nowrap; }
.owner-page th, .owner-page td { padding: 16px; border-bottom: 1px solid #d5dcdf; vertical-align: top; }
.owner-page td { white-space: pre-line; min-width: 125px; max-width: 330px; overflow-wrap: anywhere; }
.owner-view-visits { display: inline-block; margin-top: 10px; padding: 8px 0; min-height: 44px; background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.owner-map { height: min(65vh,620px); min-height: 360px; width: 100%; border: 1px solid #b7c4cc; background: #dce7ec; isolation: isolate; font-family: var(--sans); }
#map-summary, .owner-map-note, #map-tile-status { font-size: 12px; line-height: 1.7; margin: 20px 0; }
.visitor-map-marker { display: grid; place-items: center; border: 2px solid #fffaf0; border-radius: 50%; background: #294c68; color: white; font: 600 14px var(--sans); box-shadow: 0 2px 9px #19334c44; }
.visitor-map-marker:focus-visible { outline: 3px solid #294c68; outline-offset: 4px; }
.visitor-map-popup { font: 12px/1.5 var(--sans); color: #29435f; overflow-wrap: anywhere; }
.visitor-map-popup strong { font-weight: 600; }
.visitor-map-popup ul { margin: 0; padding: 0; list-style: none; }
.visitor-map-popup .owner-view-visits { margin-top: 0; text-align: left; }
.owner-map .leaflet-control-zoom a { width: 40px; height: 40px; line-height: 40px; }
.owner-map .leaflet-control-attribution { max-width: calc(100vw - 55px); font-size: 10px; }
.owner-explanation { margin-top: 35px; padding: 20px 0; border-top: 1px solid #b7c4cc; font-size: 13px; }
.owner-explanation p { margin: 18px 0; max-width: 850px; }
.owner-explanation code { overflow-wrap: anywhere; }
@media (max-width:760px) {
  .reply-card { padding: 24px 20px; margin-inline: -6px; }
  .reply-fields { grid-template-columns: 1fr; gap: 0; }
  .radio-options { gap: 7px; }
  .radio-options label { padding: 10px; }
  .reply-card h3 { font-size: 34px; }
  .visit-privacy { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 20px; }
  .owner-wrap { padding: 25px 20px 60px; }
  .owner-top { margin-bottom: 45px; }
  .owner-page h1 { font-size: 62px; }
  .owner-metrics { grid-template-columns: repeat(3,1fr); }
  .owner-tools { align-items: stretch; flex-direction: column; }
  .owner-tools .button { align-self: flex-start; }
}
@media print { .visit-privacy,.privacy-open,.reply-card,.owner-top,.owner-tools { display:none !important; } }
