@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Prata&display=swap');
:root{--wine:#72283d;--wine-dark:#4d1928;--ivory:#f8f4ef;--paper:#fffdfa;--line:#e6dcd5;--muted:#81746e;--text:#362d2b;--shadow:0 12px 40px #50332408;--green:#416951;--danger:#9c3042;font-family:Manrope,Arial,sans-serif;color:var(--text);background:var(--ivory);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b88d99;outline-offset:3px}a{color:var(--wine)}.shell{max-width:1320px;margin:auto;padding:0 40px 70px}.topbar{padding:30px 0 26px;display:flex;align-items:center;gap:18px;border-bottom:1px solid var(--line)}.small-mark{display:grid;place-items:center;width:52px;height:52px;border:1px solid #ab7a88;border-radius:50%;font-family:Prata,Georgia,serif;font-size:21px;color:var(--wine);flex-shrink:0}.brand-name{font-family:Prata,Georgia,serif;font-weight:400;margin:0;font-size:22px;line-height:1.5}.brand-caption{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:4px 0 0}.top-actions{margin-left:auto;display:flex;align-items:center;gap:18px;flex-wrap:wrap}.user-name{font-size:13px;color:var(--muted)}.text-link{text-decoration:none;font-size:14px;font-weight:600}.tabs{display:flex;gap:30px;margin:30px 0 36px;border-bottom:1px solid var(--line)}.tab{background:none;border:0;padding:14px 0 17px;font-weight:600;color:var(--muted);position:relative;font-size:16px}.tab[aria-selected=true]{color:var(--wine)}.tab[aria-selected=true]:after{content:"";height:2px;background:var(--wine);position:absolute;bottom:-1px;left:0;right:0}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:26px}.page-heading h1{font:32px/1.4 Prata,Georgia,serif;margin:0 0 8px}.page-heading p,.section-description{margin:0;color:var(--muted);font-size:14px;line-height:1.7}.button{border:1px solid var(--line);border-radius:8px;background:var(--paper);padding:12px 18px;color:var(--text);text-decoration:none;font-size:14px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.45}.button.primary{color:#fff;background:var(--wine);border-color:var(--wine)}.button.primary:hover{background:var(--wine-dark)}.button.small{padding:8px 12px;font-size:13px}.button.danger{color:var(--danger)}.button.subtle{background:transparent;border-color:transparent}.stats{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin:0 0 28px}.stat{border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:20px 18px;box-shadow:var(--shadow)}.stat strong{display:block;font-family:Prata,Georgia,serif;font-size:30px;color:var(--wine);margin-bottom:10px;font-weight:400}.stat span{font-size:12px;line-height:1.5;color:var(--muted)}.stat.featured{background:var(--wine);border-color:var(--wine)}.stat.featured strong,.stat.featured span{color:#fff}.toolbar{display:grid;grid-template-columns:minmax(200px,1fr) 190px 175px auto;gap:12px;align-items:end;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--paper);margin-bottom:22px}.toolbar label{font-size:12px;color:var(--muted);display:flex;flex-direction:column;gap:8px}.input,input[type=text],input[type=tel],input[type=url],input[type=date],input[type=time],textarea,select{font-size:16px;border:1px solid #d9cec7;border-radius:7px;background:#fff;padding:12px 13px;color:var(--text);width:100%;min-height:46px}textarea{resize:vertical;line-height:1.6;min-height:112px}input[type=color]{height:46px;width:64px;border:1px solid var(--line);background:#fff;border-radius:7px;padding:5px;cursor:pointer}.result-count{font-size:13px;color:var(--muted);margin:0 0 14px}.guest-list{display:grid;gap:15px}.guest{border:1px solid var(--line);border-radius:12px;padding:24px;background:var(--paper);box-shadow:var(--shadow)}.guest-top{display:flex;gap:14px;align-items:flex-start}.guest h2{font-size:18px;margin:0 0 8px;font-weight:600}.guest-date{font-size:12px;color:var(--muted)}.badge{border-radius:100px;padding:6px 11px;background:#f3ede7;color:var(--muted);font-size:12px;white-space:nowrap;margin-left:auto}.badge.yes{background:#edf4ed;color:var(--green)}.badge.no{background:#f7ebed;color:var(--danger)}.badge.maybe{background:#f7f0df;color:#8b6c26}.guest-info{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0}.detail-label{display:block;color:var(--muted);font-size:11px;letter-spacing:.05em;text-transform:uppercase;margin-bottom:7px}.detail-value{font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.guest-message{padding:15px 18px;background:var(--ivory);border-radius:7px;font-size:14px;line-height:1.7;white-space:pre-wrap;margin:16px 0}.guest-footer{border-top:1px solid var(--line);padding-top:18px;display:flex;align-items:flex-end;gap:12px}.note-field{flex:1;display:flex;flex-direction:column;gap:8px;font-size:12px;color:var(--muted)}.note-field textarea{min-height:46px;max-height:180px;height:46px;font-size:14px}.guest-footer .button{flex-shrink:0}.empty{padding:65px 24px;border:1px dashed #d9c6c8;border-radius:12px;text-align:center;color:var(--muted);background:#fffaf5}.empty h2{color:var(--wine);font:24px/1.5 Prata,Georgia,serif;margin:0 0 12px}.empty p{font-size:14px;line-height:1.7;margin:0}.editor-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:32px;align-items:start}.editor-nav{position:sticky;top:20px;display:grid;gap:4px}.editor-nav a{text-decoration:none;padding:11px 13px;border-radius:7px;color:var(--muted);font-size:13px}.editor-nav a:hover{background:#eee4df;color:var(--wine)}.editor-section{border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:28px;margin-bottom:22px;scroll-margin-top:20px;box-shadow:var(--shadow)}.editor-section h2{font:23px/1.5 Prata,Georgia,serif;margin:0 0 8px;color:var(--wine)}.section-description{margin-bottom:23px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field{display:flex;flex-direction:column;gap:9px;font-size:13px;font-weight:600;min-width:0}.field.full{grid-column:1/-1}.help{font-size:12px;font-weight:400;line-height:1.6;color:var(--muted);margin:0}.photo-editor{grid-column:1/-1;display:grid;grid-template-columns:160px 1fr;gap:22px;padding:20px;border:1px solid var(--line);border-radius:8px;background:var(--ivory)}.photo-preview{width:160px;min-height:165px;border-radius:7px;border:1px dashed #cab5b8;background:#f0e6df;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden;color:var(--muted);font-size:13px;padding:15px}.photo-preview img{width:calc(100% + 30px);height:190px;object-fit:cover;margin:-15px;display:block}.photo-controls{display:flex;flex-direction:column;gap:12px;align-items:flex-start;justify-content:center}.photo-controls h3{font-size:14px;margin:0}.photo-actions{display:flex;flex-wrap:wrap;gap:8px}.file-input{max-width:100%;font-size:14px}.schedule-list{display:grid;gap:16px}.schedule-item{border:1px solid var(--line);border-radius:8px;background:var(--ivory);padding:20px}.schedule-item .fields{grid-template-columns:120px 1fr;gap:14px}.schedule-item textarea{min-height:80px}.schedule-actions{display:flex;gap:7px;margin-top:14px;align-items:center}.schedule-actions .step-label{color:var(--muted);font-size:12px;margin-right:auto}.add-schedule{margin-top:16px}.check-list{display:grid;grid-template-columns:1fr 1fr;gap:14px}.check-field{display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:7px;padding:15px;font-size:14px;line-height:1.5}.check-field input{width:19px;height:19px;accent-color:var(--wine);flex-shrink:0}.color-field{display:flex;gap:12px;align-items:center}.color-field input[type=text]{width:140px}.palette-list{display:flex;flex-wrap:wrap;gap:12px}.palette-item{display:flex;gap:3px;align-items:center}.palette-item .button{padding:6px}.savebar{position:sticky;bottom:15px;margin-top:22px;background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:16px 20px;display:flex;align-items:center;gap:15px;box-shadow:0 8px 35px #4625311a;z-index:5}.savebar p{font-size:13px;color:var(--muted);margin:0 auto 0 0;line-height:1.5}.savebar p.unsaved{color:var(--wine)}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:var(--wine-dark);color:#fff;z-index:100;border-radius:9px;padding:14px 22px;box-shadow:0 8px 35px #0002;max-width:min(90vw,600px);font-size:14px;line-height:1.6}.toast.error{background:#943c44}.loading-screen,.auth-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:30px;text-align:center}.loading-screen p{color:var(--muted);font-size:14px}.auth-screen h1{font:29px/1.5 Prata,Georgia,serif;color:var(--wine);margin:26px 0 12px}.auth-screen p{font-size:15px;line-height:1.7;max-width:450px;color:var(--muted);margin:0 0 24px}.auth-screen .text-link{margin-top:24px}.error-panel{border:1px solid #d5a4aa;background:#fff1f1;color:#8d3443;border-radius:8px;padding:18px;font-size:14px;line-height:1.6;margin-bottom:20px}.hidden,[hidden]{display:none!important}
@media(max-width:1100px){.stats{grid-template-columns:repeat(3,1fr)}.editor-layout{grid-template-columns:170px minmax(0,1fr);gap:20px}.editor-section{padding:23px}.toolbar{grid-template-columns:minmax(170px,1fr) 170px 150px}.toolbar>.button{grid-column:1/-1;justify-self:start}.user-name{display:none}}
@media(max-width:760px){.shell{padding:0 18px 45px}.topbar{padding:22px 0;gap:12px}.small-mark{width:44px;height:44px;font-size:18px}.brand-name{font-size:17px}.brand-caption{font-size:10px;letter-spacing:.04em}.top-actions{gap:8px}.top-actions .text-link{font-size:12px}.tabs{margin:18px 0 27px;gap:26px}.page-heading{flex-direction:column;gap:16px}.page-heading h1{font-size:27px}.stats{gap:8px;margin-bottom:20px}.stat{padding:15px 12px;border-radius:9px}.stat strong{font-size:25px;margin-bottom:7px}.stat span{font-size:11px}.toolbar{padding:15px;grid-template-columns:1fr 1fr;gap:12px}.toolbar label:first-child{grid-column:1/-1}.guest{padding:19px}.guest h2{font-size:17px}.guest-info{grid-template-columns:1fr 1fr;gap:17px}.guest-footer{flex-wrap:wrap;align-items:center}.note-field{flex-basis:100%}.guest-footer .button{font-size:12px}.badge{font-size:11px;padding:6px 8px}.editor-layout{display:block}.editor-nav{position:relative;top:0;display:flex;overflow:auto;margin:0 -18px 20px;padding:0 18px;gap:3px;scrollbar-width:none}.editor-nav a{white-space:nowrap;padding:9px 12px;border:1px solid var(--line);background:var(--paper)}.editor-section{padding:21px 17px;margin-bottom:17px}.editor-section h2{font-size:21px}.fields{grid-template-columns:1fr;gap:18px}.field.full{grid-column:auto}.photo-editor{grid-column:auto;grid-template-columns:1fr;padding:15px;gap:15px}.photo-preview{width:100%;height:240px}.photo-preview img{height:270px}.photo-controls{gap:11px}.schedule-item{padding:15px}.schedule-item .fields{grid-template-columns:100px minmax(0,1fr)}.schedule-item .full{grid-column:1/-1}.check-list{grid-template-columns:1fr}.savebar{padding:13px;gap:10px;flex-wrap:wrap;bottom:10px}.savebar p{flex-basis:100%;font-size:12px}.savebar .button{padding:11px 14px}.page-heading>.button{font-size:13px}.toast{bottom:20px;width:max-content}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Organizer sign-in uses the same stationery palette as the invitation. */
.auth-screen{background:var(--ivory);padding:40px 20px}.auth-card{width:min(100%,460px);padding:34px 30px 30px;background:#fffcf8;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 60px #72283d0a}.auth-card .small-mark{margin:0 auto 20px}.auth-card h1{font-size:28px;margin:12px 0 14px}.auth-screen .auth-eyebrow{font-size:10px;letter-spacing:.17em;margin:0;color:var(--wine)}.auth-form{text-align:left;width:100%;margin-top:24px}.auth-controls{border:0;padding:0;margin:0;min-width:0;display:flex;flex-direction:column;gap:18px}.auth-controls input[type=password],.auth-controls input[type=text]{width:100%;box-sizing:border-box;font:inherit;font-size:16px;border:1px solid #d9cec7;border-radius:7px;background:#fff;padding:13px;color:var(--wine)}.auth-controls input:focus{outline:2px solid #b68992;outline-offset:2px}.auth-controls>.primary{width:100%;margin-top:4px}.auth-controls .help{font-size:12px;line-height:1.6;margin:0}.auth-screen .auth-error,.auth-error{font-size:13px;line-height:1.6;margin:0;background:#fff1f1;color:#943c44;border:1px solid #e7c4c7;border-radius:7px;padding:12px;text-align:left}.auth-error[hidden]{display:none}.auth-screen .auth-notice{font-size:14px;background:#f5eae8;padding:18px;border-radius:7px}.auth-card>.text-link{display:inline-block;margin-top:26px}.password-dialog{width:min(480px,calc(100vw - 36px));box-sizing:border-box;border:1px solid var(--line);border-radius:12px;padding:30px;background:#fffcf8;color:var(--wine);box-shadow:0 25px 90px #32121d38}.password-dialog::backdrop{background:#2f15245c}.password-dialog h2{font:25px/1.4 Prata,Georgia,serif;margin:0 0 10px}.password-dialog>.help{font-size:13px;line-height:1.6}.password-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}@media(max-width:600px){.auth-card{padding:28px 22px}.auth-card h1{font-size:25px}.top-actions .button{padding:8px 10px;font-size:12px}.password-dialog{padding:24px}}
