/* Service layer: checkout, guest RSVP, couple page, owner page. Same tokens and tone as styles.css. */
.link-button{background:none;border:0;padding:0;color:inherit;font-size:11px;letter-spacing:.02em;border-bottom:1px solid currentColor;cursor:pointer}
.form-actions .link-button{align-self:center;margin-left:6px;color:#7b8077}
.form-note a,.price-card>p a,.footer-inner p a,.text-page a{border-bottom:1px solid #b4bbad}
.existing-order{margin-top:10px;color:#5f655d}
.existing-order .text-link{padding:4px 1px}
.field-error{color:#a24b3a;font-size:11px;letter-spacing:0}
.builder-form [aria-invalid="true"]{border-color:#c9826f;background:#fff8f5}

/* Checkout */
.checkout-dialog{padding:0;border:0;width:min(94vw,520px);max-height:94vh;background:#fffdf8;color:var(--ink);box-shadow:0 30px 100px #090b0b80}
.checkout-dialog::backdrop{background:#1c211dce;backdrop-filter:blur(5px)}
.checkout-form{position:relative;padding:38px 38px 32px;display:flex;flex-direction:column;gap:18px}
.checkout-form .eyebrow{margin:0}
.checkout-form h2{font-family:var(--serif);font-weight:400;font-size:40px;letter-spacing:-.05em;margin:-6px 0 0;line-height:1}
.checkout-close{position:absolute;top:14px;right:14px;width:36px;height:36px;border:1px solid #e0ded6;border-radius:50%;background:#fff;font-size:22px;line-height:1;color:#444}
.checkout-summary{margin:0;border-top:1px solid #e1e2d8}
.checkout-summary div{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid #e1e2d8;padding:11px 0;font-size:13px}
.checkout-summary dt{color:#8b8d83}
.checkout-summary dd{margin:0;text-align:right;overflow-wrap:anywhere}
.checkout-summary .co-total dd{font-family:var(--serif);font-size:26px;letter-spacing:-.04em}
.checkout-summary .co-total{align-items:center}
.checkout-form>label{display:flex;flex-direction:column;gap:8px;color:#656a61;font-size:11px;letter-spacing:.03em}
.checkout-form input[type=email]{background:#fbfaf6;border:1px solid #dadbd2;color:#383d36;padding:13px;font-size:15px;outline:none}
.checkout-form input[type=email]:focus{border-color:#859b81;box-shadow:0 0 0 2px #dce7d9}
.checkout-steps{margin:0;padding-left:18px;color:#5f655d;font-size:12px;line-height:1.6;display:grid;gap:6px}
.checkout-form .consent{flex-direction:row;align-items:flex-start;gap:10px;font-size:12px;line-height:1.5;color:#4f544b;letter-spacing:0}
.consent input{margin-top:3px;width:17px;height:17px;accent-color:#3b4938;flex:none}
.consent a{border-bottom:1px solid #b4bbad}
.checkout-hint{margin:0;font-size:12px;line-height:1.5;color:#6b6f66}.checkout-hint a{border-bottom:1px solid #b4bbad}
.rsvp-form label.rsvp-consent{flex-direction:row;align-items:flex-start;gap:12px;font-size:12px;letter-spacing:0;line-height:1.5;margin-top:2px;cursor:pointer}
.rsvp-consent input{appearance:none;-webkit-appearance:none;flex:none;width:18px;height:18px;margin:0;border:1px solid #bdbab0;background:#fff;display:grid;place-content:center;cursor:pointer;transition:background .15s,border-color .15s}
.rsvp-consent input::before{content:'';width:10px;height:8px;background:#fff;clip-path:polygon(0 52%,14% 38%,38% 62%,86% 0,100% 14%,38% 90%);transform:scale(0);transition:transform .12s}
.rsvp-consent input:checked{background:var(--invite-accent);border-color:var(--invite-accent)}
.rsvp-consent input:checked::before{transform:scale(1)}
.rsvp-consent input:focus-visible{outline:2px solid var(--invite-accent);outline-offset:2px}
.theme-midnight .rsvp-consent input{background:#1d2a40;border-color:#ffffff50}
.theme-midnight .rsvp-consent input:checked{background:var(--invite-accent);border-color:var(--invite-accent)}
.theme-midnight .rsvp-consent input::before{background:#101a2a}
.form-error{margin:0;color:#a24b3a;font-size:12px;min-height:1em}
.form-error:empty{display:none}
.checkout-submit{width:100%}
.button.is-loading{opacity:.6;pointer-events:none}
.button:disabled{opacity:.55;cursor:default;transform:none}
.dialog-note .link-button{font-size:10px;margin-left:6px;color:#3b4938;font-weight:650}

/* Guest page */
.guest-body{background:#e9e6df}
.guest-page{max-width:520px;margin:0 auto;min-height:100vh;box-shadow:0 0 70px #2a2c2620}
.guest-page.theme-bg-midnight{background:#101a2a}
.guest-page .invite-cover{height:min(100svh,760px);min-height:560px}
.guest-page .invite-body{padding:64px 34px 40px}
.guest-footer{text-align:center;font-size:10px;letter-spacing:.06em;color:#8d9088;padding:22px 16px 30px;margin:0;background:#fffdfa}
.guest-page.theme-bg-terracotta .guest-footer{background:#fcf5eb}
.guest-page.theme-bg-midnight .guest-footer{background:#142033;color:#9ea3ab}
.guest-footer a{border-bottom:1px solid currentColor}
.rsvp-form{display:flex;flex-direction:column;gap:16px;text-align:left;font-family:var(--sans);max-width:360px;margin:0 auto}
.rsvp-form label{display:flex;flex-direction:column;gap:8px;font-size:11px;letter-spacing:.03em;color:inherit;opacity:.9}
.rsvp-form input:not([type=radio]):not([type=checkbox]),.rsvp-form select,.rsvp-form textarea{font:inherit;font-size:15px;background:#ffffffcc;border:1px solid #d8d6cc;color:#383d36;padding:12px;border-radius:0;width:100%;outline:none}
.rsvp-form input:not([type=radio]):not([type=checkbox]):focus,.rsvp-form select:focus,.rsvp-form textarea:focus{border-color:var(--invite-accent);box-shadow:0 0 0 2px #0000000d}
.theme-midnight .rsvp-form input:not([type=radio]):not([type=checkbox]),.theme-midnight .rsvp-form select,.theme-midnight .rsvp-form textarea{background:#1d2a40;border-color:#ffffff30;color:#f3eadb}
.rsvp-choice{border:0;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.rsvp-choice legend{font-size:11px;letter-spacing:.03em;margin-bottom:8px;padding:0}
.rsvp-choice label{position:relative;flex-direction:row;align-items:center;justify-content:center;gap:10px;border:1px solid #d8d6cc;padding:12px 8px;font-size:14px;cursor:pointer;opacity:1;transition:border-color .15s,background .15s}
.theme-midnight .rsvp-choice label{border-color:#ffffff30}
.rsvp-choice input{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
.choice-icon{flex:none;width:22px;height:22px;border-radius:50%;border:1px solid currentColor;display:grid;place-items:center;opacity:.45;transition:background .15s,border-color .15s,opacity .15s}
.choice-icon svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.rsvp-choice input:checked+.choice-icon{opacity:1;background:var(--invite-accent);border-color:var(--invite-accent);color:#fff}
.theme-midnight .rsvp-choice input:checked+.choice-icon{color:#101a2a}
.rsvp-choice label:has(input:checked){border-color:var(--invite-accent);box-shadow:inset 0 0 0 1px var(--invite-accent);background:#ffffff40}
.theme-midnight .rsvp-choice label:has(input:checked){background:#ffffff0d}
.rsvp-choice label:has(input:focus-visible){outline:2px solid var(--invite-accent);outline-offset:2px}
.rsvp-submit{border:0;background:var(--invite-ink);color:#fff;padding:15px;font-size:12px;font-weight:600;letter-spacing:.04em;margin-top:4px}
.theme-midnight .rsvp-submit{background:#d9bf85;color:#101a2a}
.rsvp-submit:disabled{opacity:.6}
.rsvp-status{min-height:1.4em;margin:0!important;max-width:none!important;font-size:12px!important;text-align:center}
.rsvp-form .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* Couple page */
.manage-page{padding-block:56px 90px}
.manage-head h1{font-family:var(--serif);font-weight:400;font-size:clamp(44px,6vw,72px);letter-spacing:-.06em;line-height:1;margin:0;overflow-wrap:anywhere}
.manage-head h1 em{color:#8d9a85}
.manage-warning{max-width:560px;color:#75786f;font-size:13px;line-height:1.6;margin:18px 0 0}
.status-card{margin-top:36px;background:#fffefa;border:1px solid #e7e2d9;padding:30px 32px;display:grid;gap:22px;box-shadow:0 20px 55px #5254480a}
.status-card h2{font-family:var(--serif);font-weight:400;font-size:32px;letter-spacing:-.04em;margin:0 0 8px;display:inline}
.status-card p{color:#5f655d;line-height:1.6;margin:8px 0 0;max-width:640px}
.status-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:#c9b57a;margin-right:12px;vertical-align:6px}
.status-published .status-dot{background:#7fa072}
.status-payment_failed .status-dot,.status-unpublished .status-dot{background:#c9826f}
.status-awaiting_payment .status-dot{animation:pulse 1.4s ease-in-out infinite}
@keyframes pulse{50%{opacity:.35}}
.status-card>.button{justify-self:start}
.share-box label{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#656a61;letter-spacing:.03em}
.share-box input{font:inherit;font-size:15px;padding:13px;border:1px solid #dadbd2;background:#fbfaf6;color:#383d36;width:100%}
.share-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.receipt-line{font-size:12px!important;color:#7b8077!important;border-top:1px solid #e1e2d8;padding-top:14px;margin:0!important}
.receipt-line.ok{color:#4f6b47!important}
.manage-section{margin-top:70px}
.manage-section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:24px;flex-wrap:wrap}
.manage-section h2{font-family:var(--serif);font-weight:400;font-size:clamp(34px,4vw,48px);letter-spacing:-.05em;margin:0}
.manage-section-head>p,.manage-section.help p{max-width:520px;color:#75786f;line-height:1.65;margin:0;font-size:13px}
.rsvp-totals{display:flex;gap:22px;flex-wrap:wrap;font-size:12px;color:#6f7069}
.rsvp-totals strong{font-family:var(--serif);font-size:30px;font-weight:400;color:var(--ink);margin-right:6px}
.table-wrap{overflow-x:auto;background:#fffefa;border:1px solid #e7e2d9;margin-bottom:16px}
.data-table{width:100%;border-collapse:collapse;font-size:13px}
.data-table th{text-align:left;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#8b8f82;font-weight:650;padding:14px 16px;border-bottom:1px solid #e1e2d8}
.data-table td{padding:13px 16px;border-bottom:1px solid #eeede6;vertical-align:top;overflow-wrap:anywhere}
.data-table tr:last-child td{border-bottom:0}
.nowrap{white-space:nowrap}
.pill{display:inline-block;font-size:11px;padding:3px 9px;border-radius:20px;background:#eee;white-space:nowrap}
.pill.yes{background:#e3ecdd;color:#3f5a37}.pill.no{background:#f3e3dc;color:#8a4632}.pill.warn{background:#f6e7c8;color:#7a5410}
.empty{color:#8b8d83;font-size:13px;padding:22px;background:#fffefa;border:1px dashed #dcd8cd;margin:0}
.manage-page .builder-layout{margin-top:10px}
.manage-section.help{border-top:1px solid var(--line);padding-top:40px}

/* Owner page */
.admin-page{padding-block:48px 80px}
.admin-page h1{font-family:var(--serif);font-weight:400;font-size:52px;letter-spacing:-.05em;margin:0 0 12px}
.admin-page h2{font-family:var(--serif);font-weight:400;font-size:32px;margin:48px 0 16px}
.admin-intro{max-width:900px;color:#5f655d;line-height:1.65;font-size:13px}
.flash{background:#eef2e9;color:#3f5a37;padding:11px 14px;font-size:13px}
.flash-error{background:#f7e4de;color:#8a3b28}
.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0 14px}
.tab{padding:9px 14px;border:1px solid #d6d3c8;font-size:12px;background:#fffefa}
.tab.active{background:#333b30;color:#fff;border-color:#333b30}
.inline-form{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
.inline-form input,.inline-form textarea{font:inherit;font-size:12px;padding:7px 8px;border:1px solid #d6d3c8;background:#fff;min-width:150px}
.inline-form button:not(.link-button){font-size:12px;padding:7px 10px;border:0;background:#333b30;color:#fff}
.note-form{flex-direction:column;align-items:flex-start}
.muted{color:#8b8d83;font-size:12px}
.admin-table td{min-width:120px}
.funnel{max-width:640px;background:#fffefa;border:1px solid #e7e2d9}

/* Text and service pages */
.text-page{max-width:760px;padding-block:60px 90px;line-height:1.7;color:#4a4f46}
.text-page h1{font-family:var(--serif);font-weight:400;font-size:clamp(40px,5vw,60px);letter-spacing:-.05em;line-height:1.05;color:var(--ink);margin:10px 0 24px}
.text-page h2{font-family:var(--serif);font-weight:400;font-size:26px;margin:34px 0 8px;color:var(--ink)}
.text-page .button{margin-top:20px}
.mock-pay{padding-block:60px 90px;max-width:640px}
.mock-pay h1{font-family:var(--serif);font-weight:400;font-size:52px;letter-spacing:-.05em;margin:0}
.mock-actions{display:grid;gap:10px;margin-top:28px}

@media(max-width:760px){
  .checkout-form{padding:30px 22px 24px}
  .status-card{padding:24px 20px}
  .share-actions .button{flex:1 1 auto}
  .manage-section{margin-top:54px}
  .data-table{font-size:12px}
  .data-table th,.data-table td{padding:11px 10px}
}
@media(max-width:450px){
  .checkout-dialog{width:100vw;max-width:100vw;max-height:100vh;height:100%;margin:0}
  .form-actions .link-button{margin:6px auto 0}
  .guest-page .invite-body{padding:52px 22px 34px}
}
.button .price-inline{font-size:inherit;font-weight:inherit;margin-left:.35em}
#start-checkout,.checkout-submit{gap:0}
.keep-link{margin-top:28px;background:#eaece4;padding:24px 28px}
.keep-link h2{font-family:var(--serif);font-weight:400;font-size:26px;letter-spacing:-.03em;margin:0 0 8px}
.keep-link p{margin:0 0 14px;color:#5f655d;font-size:13px;line-height:1.6;max-width:760px}
.keep-link-row{display:flex;gap:10px;flex-wrap:wrap}
.keep-link-row input{flex:1 1 320px;min-width:0;font:inherit;font-size:14px;padding:13px;border:1px solid #cfd3c7;background:#fbfaf6;color:#383d36}
.receipt-line a{border-bottom:1px solid currentColor}
.admin-search{margin:0 0 0 auto}
@media(max-width:760px){.keep-link{padding:20px 18px}.keep-link-row .button{flex:1 1 auto}}
.ops-panel{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}
.ops-panel>div{background:#fffefa;border:1px solid #e7e2d9;padding:18px 20px}
.ops-panel h2{font-family:var(--serif);font-weight:400;font-size:24px!important;margin:0 0 8px!important}
.ops-panel p{font-size:13px;line-height:1.6;color:#4f544b;margin:0 0 10px}
.ops-panel .inline-form button{font-size:12px;padding:8px 12px;border:0;background:#333b30;color:#fff}
.sales-paused-note{color:#8a4632!important}
@media(max-width:760px){.ops-panel{grid-template-columns:1fr}}
.restore-form{display:grid;gap:14px;max-width:420px;margin-top:22px}
.restore-form label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#656a61}
.restore-form input[type=email]{font:inherit;font-size:15px;padding:13px;border:1px solid #dadbd2;background:#fbfaf6}
.restore-form .hp{position:absolute;left:-9999px}
.mail-on{display:none}
body[data-mail="1"] .mail-on{display:revert}
body[data-mail="1"] .mail-off{display:none}
.cookie-banner{position:fixed;left:16px;right:16px;bottom:16px;z-index:60;max-width:560px;margin:0 auto;background:#fffdf9;border:1px solid #d8d3c8;box-shadow:0 12px 32px #0000001f;padding:16px 18px;display:flex;flex-direction:column;gap:12px;font-size:13px;line-height:1.5;color:#3d423a}
.cookie-banner[hidden]{display:none}.cookie-banner p{margin:0}.cookie-banner a{border-bottom:1px solid #b4bbad}
.cookie-actions{display:flex;gap:10px;flex-wrap:wrap}.cookie-actions .button{padding:10px 18px;font-size:13px}
/* Landing: what the couple sees after publishing (static example, fictional guests) */
.answers-section{background:#eaece4;padding-block:95px}
.answers-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:8%;align-items:center}
.answers-copy h2{font-family:var(--serif);font-weight:400;letter-spacing:-.064em;line-height:1.04;margin:0;font-size:clamp(49px,4.9vw,72px)}
.answers-copy>p:not(.eyebrow){max-width:380px;color:#6f746b;line-height:1.7;margin:28px 0 22px}
.answers-demo{margin:0;background:#fffefa;border:1px solid #e1ded4;box-shadow:0 24px 60px #3a392f1c}
.answers-demo-bar{display:flex;align-items:center;gap:6px;padding:11px 16px;border-bottom:1px solid #eeede6;background:#f7f5ef}
.answers-demo-bar span{width:8px;height:8px;border-radius:50%;background:#dcd9cf}
.answers-demo-bar small{margin-left:10px;font-size:10px;letter-spacing:.04em;color:#9a9d93}
.answers-demo-body{padding:26px 26px 18px}
.answers-demo-title{font-family:var(--serif);font-size:30px;letter-spacing:-.04em;margin:0 0 14px}
.answers-demo .rsvp-totals{margin-bottom:18px}
.answers-demo .table-wrap{margin-bottom:0}
.answers-demo-csv{font-size:12px;font-weight:600;margin:16px 0 0;color:#3e433b}
.answers-demo figcaption{font-size:10px;color:#a2a69e;padding:0 26px 16px}
@media(max-width:760px){.answers-section{padding-block:70px}.answers-layout{grid-template-columns:1fr;gap:40px}.answers-copy h2{font-size:clamp(45px,8vw,64px)}.answers-demo-body{padding:20px 16px 14px}.answers-demo figcaption{padding:0 16px 14px}.answers-demo .rsvp-totals{gap:14px}.answers-demo .rsvp-totals strong{font-size:26px}}
