:root{font-family:Tahoma,"Segoe UI",sans-serif;color:#28322d;background:#f7f5ef;font-size:16px;line-height:1.85}*{box-sizing:border-box}body{margin:0}h1,h2,p{margin-top:0}h1{font-size:clamp(2rem,5vw,3.4rem);line-height:1.45;font-weight:500;margin-bottom:14px}h2{font-size:1.3rem;font-weight:600}a{color:#31594a}button,.buttonlink{border:0;border-radius:12px;background:#244a3c;color:white;padding:12px 18px;cursor:pointer;font:inherit;text-decoration:none;display:inline-block;text-align:center}button:hover,.buttonlink:hover{filter:brightness(1.08)}button:focus-visible,input:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #b48c57;outline-offset:2px}.secondary{background:#e9e9e3;color:#244a3c}.ghost{background:transparent;color:#8f6750;border:1px solid #ddd1c3}.small{padding:7px 10px;font-size:.82rem}.page{width:min(1080px,calc(100% - 30px));margin:40px auto 80px}.narrow{max-width:620px}.center{text-align:center;margin-top:18vh}.muted,.helper{color:#777d76}.helper{font-size:.82rem}.brand{font-size:.68rem;letter-spacing:3px;color:#ac8f68;direction:ltr;font-weight:bold}.invite{background:#fff;overflow:hidden;border:1px solid #ece8e0;border-radius:24px;box-shadow:0 18px 70px #303d3010;margin-top:20px;text-align:center}.invite-header{padding:55px 22px 27px;background:#22352c;color:#f6f3e9}.invite-header h1{margin:18px 0;color:#f3ebdb}.subtitle{color:#d3cebd;font-size:.92rem}.cover{width:100%;height:265px;display:block;object-fit:cover}.cover-placeholder{background:linear-gradient(132deg,#dfd5c2,#f5f0e8 48%,#c1cbbf);display:flex;align-items:center;justify-content:center;color:#8d8c82;font-size:.9rem}.welcome{padding:38px 20px 15px}.eyebrow{color:#af9373;font-size:.75rem;letter-spacing:1px}.welcome h2{font-size:1.7rem}.details{background:#faf8f3;margin:20px 25px;padding:22px;border-radius:16px}.details>div{margin-bottom:13px}.details span,.stats span{display:block;color:#85867d;font-size:.8rem}.details strong{display:block;font-size:1.1rem;font-weight:600}.textlink{display:inline-block;margin:8px auto;text-decoration:none;border-bottom:1px solid #31594a}.rsvp{padding:22px 22px 45px}.answer-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.answer-row .no{background:#e7e6df;color:#344139}.answer-row .selected{outline:3px solid #c5a87e;outline-offset:2px}.notice{background:#eff7ed;border-radius:12px;padding:9px}.foot{padding:18px;color:#b2a895;letter-spacing:1.6px;font-size:.67rem;border-top:1px solid #edeae3;direction:ltr}.panel{background:#fff;padding:25px;border:1px solid #e9e6dd;border-radius:16px;margin-bottom:25px}.admin-head,.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.admin h1{font-size:1.75rem}.admin-head{margin-bottom:15px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:25px}.stats>div{background:#fff;border:1px solid #e9e6dd;border-radius:12px;padding:16px}.stats strong{display:block;font-size:1.8rem}label{display:block;font-size:.9rem;color:#525e55}input,textarea{font:inherit;width:100%;padding:10px;border:1px solid #cdd1c9;border-radius:9px;background:#fff;color:#27362c}input[type=file]{max-width:350px}.form-column,.form-grid{display:grid;gap:15px}.form-column{margin-top:20px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid .wide{grid-column:1/-1}.inline-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.inline-form label{flex:1;min-width:200px}.inline{display:inline-block}.table-wrap{overflow:auto}table{width:100%;min-width:600px;border-collapse:collapse;text-align:right}th,td{border-bottom:1px solid #eee;padding:10px 8px}th{font-size:.75rem;color:#888}.status{background:#efeee8;border-radius:8px;padding:5px 8px;font-size:.8rem}.yes-status{background:#e4f1e8;color:#28633f}.no-status{background:#f5ece8;color:#9c4838}.alert{background:#fde7df;padding:12px;border-radius:10px}details{margin-top:22px;border-top:1px solid #eee;padding-top:10px}summary{cursor:pointer;color:#31594a}@media(max-width:650px){.page{margin-top:12px}.stats{grid-template-columns:repeat(2,1fr)}.admin-head,.section-head{align-items:start;flex-direction:column}.form-grid{grid-template-columns:1fr}.answer-row{grid-template-columns:1fr}.invite{border-radius:16px}.cover{height:205px}}
/* V3: family RSVP & operational admin; graphics will be redesigned later. */
[hidden]{display:none!important}select{font:inherit;width:100%;padding:10px;border:1px solid #cdd1c9;border-radius:9px;background:white;color:#27362c}
.subheading{font-size:1rem}.count-note{font-size:.87rem;color:#657067;margin:-10px 2px 26px}
.choice-group,.member-select{border:1px solid #e2e5df;border-radius:14px;margin:14px 0;padding:15px;text-align:right}
.choice-group legend,.member-select legend{font-weight:600;padding:0 7px}
.radio-choice,.member-option{display:flex;gap:10px;align-items:center;padding:9px;border-radius:9px;cursor:pointer}
.radio-choice:hover,.member-option:hover{background:#f4f5f1}
.radio-choice input,.member-option input{width:auto;flex:none;accent-color:#31594a}
.member-select{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px;background:#faf9f6}
.member-select legend{grid-column:1/-1}
.family-rsvp>button{width:100%}.selection-summary{background:#f3f4ee;border-radius:10px;padding:10px}
.member-summary{font-size:.85rem;margin:6px 0}.actions{display:flex;gap:7px;flex-wrap:wrap}.actions .buttonlink{font-size:.78rem;padding:7px 9px}
.member-list{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-top:10px}
.member-pill{font-size:.76rem;padding:2px 8px;border-radius:8px}.member-pill.attending{background:#e4f1e8;color:#28633f}.member-pill.absent{background:#f5ece8;color:#9c4838}.member-pill.unknown{background:#efeee8}
.admin td{vertical-align:top}.admin td>details{min-width:175px}.admin td>details form{padding-top:10px}
@media(max-width:650px){.member-select{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

.privacy-note{font-size:.7rem;padding:0 16px;margin:0 0 8px}
/* V3.1 read-only admin reporting: browser-first and accessible on mobile */
.report-page .stats{grid-template-columns:repeat(3,minmax(0,1fr))}
.report-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 14px}
.report-tab{display:inline-block;padding:9px 14px;border-radius:10px;text-decoration:none;background:#eeeae3;color:#31594a;border:1px solid transparent}
.report-tab.active{background:#244a3c;color:#fff;font-weight:600}
.report-filters{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:10px 0 22px}
.report-filters select{max-width:180px}
.report-table{min-width:850px;font-size:.85rem}
.report-table th{background:#edf2ed;color:#254435;position:sticky;top:0;z-index:1;white-space:nowrap}
.report-table td{max-width:310px;overflow-wrap:anywhere}
.report-table tbody tr:nth-child(even){background:#fafbf9}
.report-table tbody tr:hover{background:#f1f5f0}
@media(max-width:650px){.report-page .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.report-filters select{max-width:100%}}

/* V4 Wedding Story: editorial, cinematic invitation. Scoped to guest pages. */
:root{--story-ink:#26251f;--story-paper:#f6f2eb;--story-moss:#4a5044;--story-sand:#ded5c8;--story-light:#fffaf2;--story-gold:#8c7963}
.story-site{background:var(--story-paper);color:var(--story-ink);overflow:hidden}
.story-site *{box-sizing:border-box}
.story-site a{color:inherit}
.story-site h1,.story-site h2,.story-site h3,.story-site p{margin-top:0}
.story-topline{height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 clamp(18px,5vw,76px);background:var(--story-paper);direction:ltr}
.story-monogram{font-family:Georgia,serif;font-weight:400;font-size:23px;letter-spacing:-2px;white-space:nowrap}
.story-monogram span{font-style:italic;font-size:18px;color:#a18e7e}
.story-topline-caption{letter-spacing:.2em;font-family:Georgia,serif;font-size:10px;direction:ltr}
.story-topline-caption span{margin:0 7px;color:#978d7f}
.story-jump{font-size:12px;direction:rtl;text-decoration:none;border-bottom:1px solid #a5a195;padding-bottom:3px}
.story-hero{padding:0 clamp(10px,2vw,34px)}
.story-hero-film{width:100%;max-height:900px;aspect-ratio:16/9;position:relative;overflow:hidden;background:#514c45;color:#fff}
.story-hero-video{width:100%;height:100%;object-fit:cover;display:block;background:#544d43}
.story-film-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:22px;text-align:center;background:radial-gradient(circle at 28% 34%,#c1ada5 0%,transparent 36%),radial-gradient(circle at 70% 60%,#817e72 0%,transparent 45%),linear-gradient(125deg,#342d2d,#55544b 56%,#322f2b)}
.story-film-placeholder>span{font:11px Georgia,serif;letter-spacing:.34em;opacity:.65}
.story-film-placeholder strong{font-size:clamp(13px,2.1vw,23px);font-weight:400;opacity:.7}
.story-film-placeholder small{font-size:12px;opacity:.48}
.story-film-vignette{pointer-events:none;position:absolute;inset:0;background:linear-gradient(180deg,transparent 5%,#1514111e 44%,#0c0c0cb8 100%)}
.story-hero-overlay{position:absolute;left:0;right:0;bottom:clamp(20px,5vw,62px);z-index:1;text-align:center;pointer-events:none;padding:0 16px}
.story-film-label{font:11px Georgia,serif;letter-spacing:.35em;display:block}
.story-hero-overlay h1{font-size:clamp(46px,9vw,124px);font-weight:400;line-height:1.3;letter-spacing:-.05em;color:#fff7ed;margin:0 auto 8px;text-shadow:0 2px 22px #0006}
.story-hero-scroll{font-size:11px;letter-spacing:.04em;color:#eee4d7}
.story-video-control{position:absolute;left:22px;top:22px;z-index:3;border:1px solid #ffffff91;border-radius:50px;background:#1a1a1890;backdrop-filter:blur(4px);font-size:12px;color:white;padding:9px 16px}
.story-section{max-width:1320px;margin:auto;padding:clamp(55px,9vw,132px) clamp(20px,6vw,84px)}
.story-section-kicker{display:flex;align-items:center;justify-content:space-between;direction:ltr;border-top:1px solid #cbc2b7;padding-top:18px;font:11px Georgia,serif;letter-spacing:.2em;color:var(--story-gold)}
.story-section-kicker span:last-child{direction:rtl;font:13px Tahoma,Arial,sans-serif;letter-spacing:0}
.story-introduction{text-align:center;min-height:440px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:24px}
.story-introduction .story-section-kicker{width:100%;margin-bottom:28px}
.story-introduction h2{font-size:clamp(30px,5vw,66px);line-height:1.75;font-weight:400;letter-spacing:-.04em;margin:0}
.story-introduction p{font-size:clamp(15px,1.65vw,20px);max-width:650px;line-height:2.5;color:#716d64;margin:0}
.story-flourish{font-family:Georgia,serif;font-size:27px;color:#a88e77}
.story-gallery{max-width:1400px;margin:0 auto 80px;padding:0 clamp(20px,4vw,60px);display:grid;grid-template-columns:1.05fr .95fr;column-gap:clamp(18px,5vw,70px);row-gap:clamp(35px,6vw,84px)}
.story-gallery-lead{grid-column:1/-1;border-top:1px solid #cbc2b7;display:flex;justify-content:space-between;align-items:baseline;padding:18px 0 12px;direction:ltr}
.story-gallery-lead>span{font:11px Georgia,serif;letter-spacing:.2em;color:var(--story-gold)}
.story-gallery-lead p{direction:rtl;font-size:13px;color:#80796c}
.story-gallery-tile{margin:0;min-width:0}
.story-gallery-tile:nth-of-type(even){transform:translateY(65px)}
.story-gallery-tile img,.story-gallery-tile>.story-image-placeholder{display:block;width:100%;object-fit:cover;aspect-ratio:4/5;background:#d8cec1}
.story-gallery-tile-1 img,.story-gallery-tile-1>.story-image-placeholder,.story-gallery-tile-4 img,.story-gallery-tile-4>.story-image-placeholder{aspect-ratio:4/5}
.story-gallery-tile-2 img,.story-gallery-tile-2>.story-image-placeholder,.story-gallery-tile-3 img,.story-gallery-tile-3>.story-image-placeholder{aspect-ratio:5/4}
.story-gallery-tile figcaption{font:11px Georgia,serif;letter-spacing:.18em;color:#80786e;display:flex;justify-content:space-between;align-items:center;padding:14px 2px 0}
.story-gallery-tile figcaption span:first-child{margin:0 7px}
.story-image-placeholder{min-height:200px;position:relative;display:flex;flex-direction:column;gap:18px;align-items:center;justify-content:center;text-align:center;background:linear-gradient(145deg,#d8cec1,#bfb6aa 50%,#e1d9cf)!important;color:#544e47}
.story-gallery-tile:nth-of-type(odd) .story-image-placeholder{background:linear-gradient(25deg,#afa99f,#e7dcd0 65%,#c4c0b4)!important}
.story-image-placeholder:before{content:"";position:absolute;border:1px solid #ffffff56;inset:18px;pointer-events:none}
.story-image-placeholder>span{font:11px Georgia,serif;letter-spacing:.29em;color:#6e665c}
.story-image-placeholder>small{font-size:14px;color:#776e63}
.story-quote{text-align:center;margin:0 auto;padding:clamp(85px,10vw,145px) 24px;background:#ded8cd}
.story-quote span{font:11px Georgia,serif;letter-spacing:.36em;color:#7c7268}
.story-quote p{font-size:clamp(21px,3.6vw,48px);font-weight:400;line-height:2;margin:30px auto 0;max-width:920px;color:#3d3933}
.story-venue{padding-bottom:70px}
.story-feature-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(30px,6vw,96px);align-items:center;margin-top:54px;direction:ltr}
.story-feature-grid-reverse{grid-template-columns:.9fr 1.1fr}
.story-feature-grid-reverse .story-feature-media{order:2}
.story-feature-copy{direction:rtl;padding:20px 0}
.story-feature-media img,.story-feature-media .story-image-placeholder{width:100%;aspect-ratio:5/4;object-fit:cover;display:flex}
.story-feature-grid-reverse .story-feature-media img,.story-feature-grid-reverse .story-feature-media .story-image-placeholder{aspect-ratio:4/3}
.story-feature-copy .story-number{font-family:Georgia,serif;font-size:13px;color:#8a7d6c;border-bottom:1px solid #9d8d78;padding-bottom:12px;display:inline-block;margin-bottom:48px}
.story-feature-copy .story-label{font-size:13px;color:#877765;display:block;letter-spacing:.08em}
.story-feature-copy h2{font-size:clamp(27px,4.1vw,58px);font-weight:400;line-height:1.65;margin:14px 0 18px}
.story-feature-copy p{font-size:15px;line-height:2.2;color:#6f6a5f;max-width:460px}
.story-address{padding:10px 0;border-top:1px solid #d0c8bd}
.story-outline-link{display:inline-flex;align-items:center;gap:6px;border:1px solid #a59786;border-radius:0;text-decoration:none;font-size:13px;padding:13px 22px;margin-top:14px;transition:background .15s,color .15s}
.story-outline-link:hover{background:#332f2b;color:#fff}
.story-band{padding-top:25px;padding-bottom:clamp(80px,10vw,150px)}
.story-invitation{background:#2b302c;color:#eee7d8;padding:clamp(74px,9vw,130px) 20px;text-align:center}
.story-invitation-inner{max-width:820px;margin:auto}
.story-invite-kicker{font:12px Georgia,serif;letter-spacing:.34em;color:#cbbca5}
.story-invitation h2{font-size:clamp(48px,8vw,100px);font-weight:400;line-height:1.35;letter-spacing:-.05em;margin:12px 0 16px;color:#fff7e8}
.story-invite-text{font-size:clamp(14px,1.7vw,18px);color:#d1c8b9;line-height:2.4}
.story-guest-address{margin:54px auto 34px;padding:28px 16px;border-block:1px solid #77796e}
.story-guest-address span{font-size:13px;color:#c5bba9}
.story-guest-address h3{color:#fff8e9;font-size:clamp(24px,3.9vw,41px);font-weight:400;line-height:1.65;margin:10px 0}
.story-guest-address p{color:#b7b3a5;font-size:13px;margin-bottom:0}
.story-date-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:38px 0 18px}
.story-date-grid>div{border-left:1px solid #5d675c;padding:12px}
.story-date-grid>div:last-child{border-left:0}
.story-date-grid span{display:block;color:#c0bbab;font-size:13px;margin-bottom:10px}
.story-date-grid strong{display:block;color:#f6eddd;font-size:15px;font-weight:400;line-height:1.8}
.story-last-address{color:#d2cabc;line-height:2}
.story-invitation .story-outline-link{color:#eee7d8;border-color:#85897c}
.story-invitation .story-outline-link:hover{color:#232620;background:#ddd1bf}
.story-rsvp-wrap{background:var(--story-light);color:#292922;margin-top:62px;padding:clamp(20px,4vw,52px);text-align:right;box-shadow:0 30px 90px #0708072b}
.story-rsvp-wrap .rsvp{padding:0}
.story-rsvp-wrap .rsvp>h2{text-align:center;font-weight:500;font-size:clamp(20px,2.5vw,31px);color:#2c302b;margin:0 0 25px;letter-spacing:0}
.story-rsvp-wrap .helper{line-height:2}
.story-rsvp-wrap .answer-row{margin-top:23px}
.story-rsvp-wrap .answer-row .yes{background:#3b5044}
.story-rsvp-wrap .choice-group,.story-rsvp-wrap .member-select{background:#faf7f2}
.story-invitation .privacy-note{color:#b7b1a4;margin:16px 0 0}
.story-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#21221f;color:#bbb7ad;padding:30px clamp(18px,5vw,76px);font:11px Georgia,serif;letter-spacing:.24em;direction:ltr}
.story-footer a{font:12px Tahoma,Arial,sans-serif;color:#e3dcd0;letter-spacing:0;direction:rtl;text-decoration:none}
.media-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:22px}
.media-admin-card{border:1px solid #e1e3da;padding:18px;border-radius:12px;min-width:0}
.media-admin-card .form-column{gap:10px;margin-top:14px}
.media-admin-card .form-column input[type=file]{width:100%;font-size:12px}
.media-admin-card form+form{margin-top:9px}
@media(max-width:800px){
 .story-topline-caption{display:none}.story-topline{height:58px}
 .story-gallery{gap:16px;margin-bottom:95px}.story-gallery-tile:nth-of-type(even){transform:translateY(25px)}
 .story-feature-grid,.story-feature-grid-reverse{grid-template-columns:1fr;gap:16px;direction:rtl;margin-top:25px}
 .story-feature-grid-reverse .story-feature-media{order:0}
 .story-feature-copy .story-number{margin-bottom:24px}
 .story-feature-copy{padding:20px 0}
 .story-band{padding-top:0}
}
@media(max-width:580px){
 .story-topline{padding:0 18px}.story-monogram{font-size:20px}.story-jump{font-size:11px}
 .story-hero{padding:0}.story-hero-film{aspect-ratio:16/10;min-height:225px}
 .story-hero-overlay h1{font-size:clamp(34px,9vw,55px)}.story-film-label{font-size:8px;letter-spacing:.18em}.story-hero-scroll{font-size:9px}
 .story-film-placeholder{gap:9px}.story-film-placeholder strong{font-size:12px}.story-video-control{top:9px;left:9px;font-size:10px;padding:7px 10px}
 .story-introduction{min-height:340px}.story-introduction .story-section-kicker{margin-bottom:10px}
 .story-gallery{padding:0 13px;gap:12px 12px}.story-gallery-lead{margin:0 5px}.story-gallery-lead p{font-size:11px}
 .story-gallery-tile figcaption{font-size:9px;letter-spacing:.08em}
 .story-image-placeholder{min-height:150px}.story-image-placeholder:before{inset:10px}.story-image-placeholder>span{font-size:8px}.story-image-placeholder>small{font-size:11px}
 .story-feature-media .story-image-placeholder{min-height:240px}
 .story-quote{padding:80px 22px}.story-date-grid{grid-template-columns:1fr;gap:0}
 .story-date-grid>div{border:0;border-bottom:1px solid #656d61;padding:14px}
 .story-guest-address{margin-top:38px}.story-rsvp-wrap{margin-top:36px}
 .story-footer{padding:22px 15px;font-size:9px;letter-spacing:.07em}
 .media-admin-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
 .story-outline-link{transition:none}.story-gallery-tile:nth-of-type(even){transform:none}
}
.story-introduction p,.story-feature-copy p{white-space:pre-line}
