:root{--green:#123e36;--gold:#d6a452;--paper:#f7f4ed;--ink:#203c34;--muted:#718078;--line:#e1e6dd;--danger:#a82f37}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}header{max-width:960px;margin:auto;padding:20px 22px;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:10px;color:var(--green);text-decoration:none;font-weight:800;font-size:22px;line-height:1.05}.brand-icon{background:var(--green);color:#e9c68a;border-radius:15px;width:42px;height:42px;display:grid;place-items:center;font-size:29px}.brand-light{font-weight:400}.brand small{display:block;font-size:9px;letter-spacing:2px;text-transform:uppercase;margin-top:6px;font-weight:600}main{max-width:740px;margin:auto;padding:20px 20px 44px;min-height:70vh}.hero{text-align:center;padding:25px 6px 10px}.eyebrow{font-size:11px;letter-spacing:2px;text-transform:uppercase;font-weight:750;color:#7c6847}.hero h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(40px,9vw,68px);line-height:1.08;letter-spacing:-2px;margin:18px 0}.hero h1 em{color:#9a753d}.hero p{max-width:390px;margin:16px auto;color:var(--muted)}.art{height:145px;display:flex;justify-content:center;align-items:center;gap:10px;position:relative}.giftbox{height:94px;width:95px;border-radius:20px;background:#e7bf7e;transform:rotate(-9deg);display:grid;place-items:center;font-size:58px;box-shadow:0 16px 35px #9e743528}.giftbox:last-child{background:#dbe8df;transform:rotate(12deg);width:74px;height:74px;font-size:43px}.spark{font-size:33px;color:var(--gold)}h1{font-size:30px;line-height:1.2;margin:5px 0 12px;letter-spacing:-.7px}h2{font-size:22px;line-height:1.25;margin:0 0 12px}h3{font-size:17px;margin:0 0 7px}p{margin:6px 0 16px}.muted,small{color:var(--muted)}.card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;margin:16px 0;box-shadow:0 5px 16px #18372d03}.green{background:var(--green);color:#fff;border:none}.green .muted,.green small{color:#bcd4c8}.green h2{font-family:Georgia,serif;font-size:29px;font-weight:400}.section{margin-top:26px}.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.row>div{min-width:0}.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stack{display:grid;gap:10px}.badge{display:inline-block;font-size:11px;font-weight:750;background:#edf2e9;color:#446847;border-radius:30px;padding:6px 10px;white-space:nowrap}.badge.gold{background:#fcf2dd;color:#876026}.badge.red{background:#fce7e7;color:var(--danger)}button,.button{cursor:pointer;display:inline-flex;justify-content:center;align-items:center;gap:8px;border:0;border-radius:14px;background:var(--green);color:white;font:inherit;font-size:15px;font-weight:700;padding:14px 18px;text-decoration:none;min-height:48px;transition:transform .15s;touch-action:manipulation}button:active,.button:active{transform:scale(.98)}button:disabled{opacity:.55;cursor:wait}.primary{width:100%}.secondary{background:#e9eee6;color:var(--green)}.green .secondary{background:#ffffff18;color:white}.goldbtn{background:#e5bc79;color:#392e1a}.danger{background:#fae9e8;color:var(--danger)}.textbtn{background:none;color:var(--muted);font-size:12px;min-height:35px;padding:7px}.iconbtn{background:#e8ece3;color:var(--green);font-size:24px;padding:6px 14px}label{display:block;font-size:13px;font-weight:700;margin:15px 0 6px}input,textarea,select{width:100%;font:inherit;color:var(--ink);background:#fbfcf8;border:1px solid #dce3d8;border-radius:12px;padding:13px;min-height:48px}textarea{resize:vertical;min-height:88px}input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:var(--green)}.check{display:flex;gap:10px;align-items:center;font-weight:400}.check input{flex-shrink:0}.form-actions{margin-top:22px}.fieldhint{font-size:12px;margin:7px 0 0}.tabs{display:flex;gap:6px;margin:19px -3px;overflow-x:auto;padding:3px;scrollbar-width:none}.tabs button{flex-shrink:0;background:#e8ede4;color:#687d6b;font-size:13px;padding:11px 15px;min-height:42px}.tabs button.active{background:var(--green);color:#fff}.steps{display:flex;gap:5px;margin:20px 0}.steps span{height:5px;background:#dfe5d9;border-radius:10px;flex:1}.steps .done{background:var(--gold)}.stat strong{display:block;font-size:30px;line-height:1.2}.stat span{font-size:12px;color:var(--muted)}.choice{display:flex;width:100%;justify-content:space-between;text-align:left;background:white;border:1px solid var(--line);color:var(--ink);padding:18px;border-radius:18px;margin:10px 0}.choice.chosen{border:2px solid var(--green);background:#eef4eb}.choice small{display:block;font-weight:400;margin-top:4px}.list-item{padding:15px 0;border-bottom:1px solid var(--line)}.list-item:last-child{border:none}.list-item .row{align-items:flex-start}.list-item button{font-size:12px;min-height:36px;padding:8px 12px}.wrap{flex-wrap:wrap}.pillnum{width:35px;height:35px;background:#edf2e9;border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-weight:700}.feature{display:flex;gap:15px;padding:16px 0}.feature p{font-size:13px;margin:3px 0;color:var(--muted)}.partner{border-top:1px solid var(--line);padding:17px 0}.empty{text-align:center;padding:25px 15px;color:var(--muted);font-size:14px}.countdown{font-size:42px;font-weight:750;letter-spacing:-2px}.bigfriend{text-align:center;padding:30px 10px}.bigfriend h2{font-family:Georgia,serif;font-size:36px;color:var(--green)}.secret-reveal{min-height:180px;display:grid;place-items:center;background:#eef2e9;border-radius:20px}.note{font-size:13px;border-left:3px solid var(--gold);padding:10px 14px;background:#fcf7eb;margin:16px 0;white-space:pre-wrap}.pre{white-space:pre-wrap;overflow-wrap:anywhere}footer{max-width:740px;text-align:center;margin:0 auto;padding:20px;font-size:11px;color:var(--muted)}footer a{display:block;color:var(--green);margin:6px;text-decoration:none}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#183b32;color:#fff;max-width:90vw;width:max-content;border-radius:15px;padding:13px 20px;box-shadow:0 10px 40px #0003;z-index:20;display:none}dialog{border:none;border-radius:24px;padding:25px;max-width:calc(100vw - 30px);width:470px;color:var(--ink)}dialog::backdrop{background:#123e3680;backdrop-filter:blur(5px)}dialog .secondary{width:100%;margin-top:20px}.loading{text-align:center;padding:80px 20px}a{color:var(--green)}.back{margin-bottom:20px}.hint-title{font-size:12px;text-transform:uppercase;letter-spacing:1.4px;color:var(--muted)}.sticky{position:sticky;bottom:12px;z-index:2}details{margin:15px 0}summary{cursor:pointer;font-weight:700}hr{border:0;border-top:1px solid var(--line);margin:20px 0}:focus-visible{outline:3px solid var(--gold);outline-offset:3px}@media(min-width:700px){main{padding-top:35px}.hero{padding-top:10px}.hero .primary{max-width:360px;margin:auto}.desktop-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.desktop-grid .card{margin:0}.art{height:155px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media(max-width:370px){main{padding:16px 14px}header{padding:16px}.card{padding:18px}.grid{gap:8px}button{padding:12px}}

/* Landing: all primary information within the mobile browser's visible viewport. */
body.home-screen{min-height:100dvh;display:flex;flex-direction:column}
.home-screen header{width:100%;padding:14px 20px;flex-shrink:0}
.home-screen main{width:100%;min-height:0;flex:1;display:flex;align-items:center;padding:0 20px}
.home-layout{width:100%;max-width:540px;margin:auto;display:grid;gap:16px}
.home-screen .hero{padding:0}
.home-screen .eyebrow{font-size:10px;letter-spacing:1.6px}
.home-screen .art{height:100px;margin:4px 0}
.home-screen .giftbox{width:68px;height:68px;font-size:43px;border-radius:18px}
.home-screen .giftbox:last-child{width:60px;height:60px;font-size:37px}
.home-screen .spark{font-size:24px}
.home-screen .hero h1{font-size:44px;line-height:1.06;margin:8px 0 12px;letter-spacing:-1.7px}
.home-screen .hero p{font-size:14px;line-height:1.45;margin:0 auto}
.home-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fff;border:1px solid var(--line);border-radius:19px;padding:14px 4px;text-align:center}
.home-benefits>div{padding:0 5px;border-right:1px solid var(--line)}
.home-benefits>div:last-child{border:0}
.home-benefits .pillnum{margin:0 auto 6px;width:26px;height:26px;font-size:12px}
.home-benefits h3{font-size:13px;margin:0 0 3px}
.home-benefits p{font-size:10px;line-height:1.35;margin:0;color:var(--muted)}
.home-actions{text-align:center}
.home-actions>.primary{max-width:none;width:100%;min-height:48px}
.home-actions>.fieldhint{margin:7px 0 0;font-size:11px}
.home-links{display:flex;justify-content:center;gap:6px;margin-top:7px}
.home-links .textbtn{font-size:11px;padding:5px 7px;min-height:32px}
.home-screen footer{width:100%;padding:9px 15px 10px;flex-shrink:0;font-size:10px;line-height:1.35}
.home-screen footer a{display:inline;margin:0 0 0 4px}
.home-screen footer .textbtn{display:block;margin:auto;min-height:24px;padding:2px;font-size:10px}
.home-actions .saved-label{font-size:10px;text-align:left;margin:9px 0 3px}
.home-actions select{font-size:12px;min-height:38px;padding:7px 10px}
@media(min-width:700px){.home-screen .hero h1{font-size:58px}.home-screen .art{height:120px}.home-layout{gap:22px}.home-benefits{padding:18px 8px}.home-benefits h3{font-size:15px}.home-benefits p{font-size:12px}}
@media(max-height:680px){.home-screen header{padding-top:10px;padding-bottom:10px}.home-layout{gap:11px}.home-screen .art{height:75px}.home-screen .giftbox{height:53px;width:53px;font-size:34px}.home-screen .giftbox:last-child{height:47px;width:47px;font-size:30px}.home-screen .hero h1{font-size:37px;margin:5px 0 8px}.home-screen .hero p{font-size:12px}.home-benefits{padding:10px 3px}.home-links{margin-top:4px}}
@media(max-height:560px){.home-screen .art{height:48px}.home-screen .giftbox{height:38px;width:38px;font-size:24px}.home-screen .giftbox:last-child{height:34px;width:34px;font-size:22px}.home-screen .hero h1{font-size:30px}.home-layout{gap:8px}.home-benefits .pillnum{display:none}.home-benefits{padding:9px 3px}.home-screen .eyebrow{font-size:8px}.home-screen .brand{font-size:19px}.home-screen .brand-icon{width:34px;height:34px}.home-actions>.primary{min-height:42px;padding:10px}.home-screen footer{padding:5px 10px}}

.form-field{min-width:0}.form-field input{min-width:0;max-width:100%;display:block}
body.create-screen{min-height:100dvh;display:flex;flex-direction:column}
.create-screen header{width:100%;padding:12px 20px;flex-shrink:0}
.create-screen main{width:100%;min-height:0;flex:1;display:flex;align-items:center;padding:4px 20px}
.create-layout{width:100%;max-width:520px;margin:auto}
.create-heading h1{font-size:23px;line-height:1.15;margin:0;letter-spacing:-.6px}
.create-heading .textbtn{flex-shrink:0;font-size:11px;padding:4px;min-height:30px}
.create-heading>p{font-size:12px;margin:5px 0 10px}
.create-card{margin:0;padding:16px;border-radius:20px}
.create-card form{display:grid;gap:8px}
.create-card .grid{gap:10px;align-items:end}
.create-card label{font-size:11px;margin:0 0 4px;line-height:1.25}
.create-card input{min-height:39px;height:39px;padding:8px 10px;border-radius:10px;font-size:16px;line-height:normal}
.create-card input[type=date],.create-card input[type=time]{width:100%;-webkit-appearance:none;appearance:none}
.create-card .check{font-size:11px;line-height:1.4;margin:0;gap:7px}
.create-card input[type=checkbox]{height:18px;min-height:18px;width:18px;padding:0}
.create-card .gift-options{align-items:center}
.create-card .form-actions{margin:0}
.create-card .primary{min-height:43px;padding:10px;font-size:14px}
.create-screen footer{width:100%;padding:8px 15px;flex-shrink:0;font-size:10px;line-height:1.3}
.create-screen footer a{display:inline;margin:0 0 0 4px}
.create-screen footer .textbtn{display:block;margin:auto;min-height:22px;padding:2px;font-size:10px}
@media(max-height:610px){.create-screen header{padding:8px 18px}.create-screen main{padding:0 16px}.create-heading h1{font-size:20px}.create-heading>p{margin:3px 0 6px;font-size:11px}.create-card{padding:12px}.create-card form{gap:6px}.create-card input{height:35px;min-height:35px;padding:6px 9px}.create-card .primary{min-height:39px;padding:8px}.create-screen footer{padding:5px 10px}}

.map-link{display:inline-block;font-size:12px;margin-top:5px;text-decoration:none;font-weight:700}.green .map-link{color:#e5bc79}.address-preview:empty{display:none}.create-card .map-link{font-size:10px;margin-top:2px}.address-field gmp-place-autocomplete{display:block;width:100%;color-scheme:light;border:1px solid #dce3d8;border-radius:10px;background:#fbfcf8;font-size:16px;min-height:39px}.address-field gmp-place-autocomplete:focus-within{outline:2px solid var(--gold);outline-offset:2px}

/* Additional address line within the compact registration layout. */
.create-screen .create-card form{gap:6px}.create-screen .create-card input{height:35px;min-height:35px}.create-screen .create-heading>p{margin-bottom:7px}.create-screen .create-card{padding:12px 14px}.create-screen .address-field input[type=hidden]{display:none}
@media(max-height:610px){.create-screen .create-card form{gap:4px}.create-screen .create-card input{height:32px;min-height:32px}.create-screen .create-card label{margin-bottom:3px}.create-screen .create-heading h1{font-size:19px}.create-screen .create-card .primary{min-height:36px}.create-screen .address-field gmp-place-autocomplete{min-height:32px}}

/* Compact internal event overview, with every navigation tab visible. */
body.event-screen{min-height:100dvh;display:flex;flex-direction:column}
.event-screen header{width:100%;padding:10px 18px;flex-shrink:0}
.event-screen main{width:100%;min-height:0;flex:1;padding:6px 18px 8px;max-width:640px}
.event-screen main>.eyebrow{font-size:9px;letter-spacing:1.5px}
.event-screen h1{font-size:25px;line-height:1.15;margin:4px 0 8px}
.event-screen main>.row{gap:6px;align-items:center}
.event-screen main>.row>.muted{font-size:11px}
.event-screen main>.row>.badge{font-size:8px;padding:5px 7px}
.event-screen .steps{margin:10px 0;height:4px}
.event-screen .steps span{height:4px}
.event-screen .tabs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:4px;overflow:visible;padding:0;margin:10px 0}
.event-screen .tabs button{min-width:0;white-space:normal;font-size:10px;line-height:1.2;min-height:35px;padding:5px 3px;border-radius:10px}
.event-screen .card{padding:14px;margin:9px 0;border-radius:18px}
.event-screen h2{font-size:18px;margin-bottom:7px}.event-screen h3{font-size:14px}
.event-screen .event-summary{padding:14px 16px}
.event-screen .event-summary small{font-size:11px;line-height:1.35}
.event-screen .countdown{font-size:33px;line-height:1.15;letter-spacing:-1px}
.event-screen .countdown span{font-size:24px}
.event-location{margin-top:7px;line-height:1.3;overflow-wrap:anywhere}
.event-screen .map-link{font-size:10px;margin:3px 0 0 5px}
.summary-stats{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #ffffff26;margin-top:9px;padding-top:8px;font-size:11px;color:#bcd4c8}
.summary-stats strong{font-size:17px;color:#fff;margin-right:4px}
.next-step>p{font-size:12px;line-height:1.4;margin:0 0 10px}
.event-screen .invite-actions{gap:7px}
.invite-actions button{font-size:11px;min-height:39px;padding:9px 7px;line-height:1.2}
.event-screen .phase-action{font-size:12px;min-height:37px;padding:8px;margin-top:7px}
.private-access{background:#e9eee6;border-radius:12px;padding:8px 10px;margin-top:9px}
.private-access small{font-size:10px;line-height:1.35;max-width:160px}
.private-access button{font-size:10px;padding:6px 9px;min-height:33px;background:#fff;flex-shrink:0}
.event-bottom-links{display:flex;justify-content:center;gap:12px;margin:2px 0 0}
.event-bottom-links button{min-height:27px;padding:4px;font-size:10px}
.event-screen footer{padding:6px 14px;width:100%;font-size:9px;line-height:1.3;flex-shrink:0}
.event-screen footer a{display:inline;margin:0 0 0 4px}.event-screen footer .textbtn{display:block;margin:auto;min-height:20px;padding:1px;font-size:9px}
.event-screen .compact-notice{font-size:11px;padding:7px 10px;margin:8px 0;max-height:70px;overflow:auto}
.presence-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:8px 0}.presence-actions button{font-size:11px;min-height:35px;padding:7px}.contribution{border-top:1px solid var(--line);padding-top:8px;margin-top:8px}.contribution p{font-size:12px;margin-bottom:4px}
@media(max-height:610px){.event-screen header{padding:7px 16px}.event-screen main{padding-top:0}.event-screen h1{font-size:22px;margin-bottom:5px}.event-screen .steps{margin:7px 0}.event-screen .tabs{margin:7px 0}.event-screen .card{margin:7px 0;padding:11px 13px}.event-screen .countdown{font-size:28px}.event-screen .countdown span{font-size:22px}.summary-stats{margin-top:6px;padding-top:5px}.next-step>p{margin-bottom:7px;font-size:11px}.event-screen .phase-action{min-height:34px;margin-top:5px}.event-screen .invite-actions button{min-height:35px}.private-access{margin-top:6px;padding:6px 9px}}

.invited-by{font-size:14px;color:var(--muted);margin:5px 0 16px}.invited-by strong{color:var(--green)}

body.invite-screen{min-height:100dvh;display:flex;flex-direction:column}
.invite-screen header{padding:10px 18px;width:100%;flex-shrink:0}
.invite-screen main{width:100%;min-height:0;flex:1;max-width:520px;padding:10px 18px}
.invite-screen main>.eyebrow{font-size:9px;letter-spacing:1.5px}
.invite-screen h1{font-size:27px;line-height:1.15;margin:5px 0 6px}
.invite-screen .invited-by{font-size:13px;margin:0 0 10px}
.invite-screen .card{padding:15px;margin:10px 0;border-radius:18px}
.invite-screen .invite-date{font-size:14px;font-weight:700;margin:0 0 6px}
.invite-screen .green small{font-size:11px;line-height:1.4}
.invite-screen .map-link{font-size:11px;margin-left:5px}
.invite-screen h2{font-size:19px;margin:0 0 10px}
.invite-screen form{display:grid;gap:10px}
.invite-screen label{font-size:11px;margin:0 0 4px}
.invite-screen input{min-height:40px;height:40px;font-size:16px;padding:8px 10px}
.invite-screen .check{font-size:11px;line-height:1.35;margin:0;gap:7px}
.invite-screen input[type=checkbox]{height:18px;min-height:18px;width:18px}
.invite-screen .form-actions{margin:0}
.invite-screen button.primary{min-height:40px;padding:9px;font-size:13px}
.invite-screen .fieldhint{font-size:10px;line-height:1.35;margin-top:8px;margin-bottom:0}
.invite-screen footer{padding:7px 12px;width:100%;flex-shrink:0;font-size:9px;line-height:1.3}
.invite-screen footer a{display:inline;margin:0 0 0 4px}
.invite-screen footer .textbtn{display:block;margin:auto;min-height:20px;padding:1px;font-size:9px}
@media(max-height:610px){.invite-screen header{padding:7px 16px}.invite-screen main{padding-top:2px}.invite-screen h1{font-size:23px}.invite-screen .card{padding:12px;margin:8px 0}.invite-screen form{gap:7px}.invite-screen input{height:36px;min-height:36px}.invite-screen button.primary{min-height:36px}.invite-screen h2{font-size:17px;margin-bottom:7px}}

.home-links .secondary.primary{width:100%;font-size:13px;min-height:39px;padding:9px 12px}.home-links{margin-top:9px}@media(max-height:610px){.home-links .secondary.primary{min-height:35px;padding:7px 10px;font-size:12px}}

.settings-layout{background:#fff;border:1px solid var(--line);border-radius:17px;padding:12px;min-width:0}
.settings-form{display:grid;gap:6px}.settings-form .grid{gap:8px;align-items:end}
.settings-layout label{font-size:10px;line-height:1.25;margin:0 0 3px}
.settings-layout input,.settings-layout select{display:block;width:100%;min-width:0;max-width:100%;min-height:32px;height:32px;border-radius:8px;padding:5px 8px;font-size:16px;line-height:normal}
.settings-layout input[type=date],.settings-layout input[type=time]{appearance:none;-webkit-appearance:none}
.settings-layout textarea{min-height:40px;height:40px;padding:6px 8px;font-size:13px;border-radius:8px}
.settings-layout .check{font-size:10px;line-height:1.3;margin:0;gap:6px}.settings-layout input[type=checkbox]{width:17px;min-height:17px;height:17px}
.settings-layout button{font-size:11px;padding:7px 10px;min-height:32px;border-radius:9px}
.settings-controls{border-top:1px solid var(--line);padding-top:7px;margin-top:7px}.settings-controls select{font-size:12px}.settings-controls .row{gap:7px}.settings-controls button{flex-shrink:0}.settings-delete{margin-top:7px}.settings-delete small{font-size:10px}.settings-layout .address-field gmp-place-autocomplete{min-height:32px}.settings-layout .map-link{font-size:9px;margin:0}
.settings-screen header{padding:6px 16px}.settings-screen main{padding-top:0}.settings-screen h1{font-size:21px;margin-bottom:5px}.settings-screen .steps{margin:6px 0}.settings-screen .tabs{margin:6px 0}.settings-screen .tabs button{min-height:31px}.settings-screen footer{padding-top:3px;padding-bottom:3px}
@media(max-height:650px){.settings-layout{padding:9px 10px}.settings-form{gap:4px}.settings-layout label{font-size:9px;margin-bottom:2px}.settings-layout input,.settings-layout select{min-height:29px;height:29px;padding:4px 7px}.settings-layout textarea{min-height:34px;height:34px}.settings-layout button{min-height:29px;padding:5px 8px}.settings-controls{padding-top:5px;margin-top:5px}.settings-delete{margin-top:5px}.settings-screen .brand-icon{height:33px;width:33px}.settings-screen .brand{font-size:19px}.settings-screen .iconbtn{font-size:20px;min-height:34px}.settings-screen .address-field gmp-place-autocomplete{min-height:29px}}

.member-row{padding:8px 0;border-bottom:1px solid var(--line)}.member-row>.badge{margin-bottom:4px}.member-register label{font-size:11px;margin:3px 0}.member-register input{min-height:36px;padding:7px;font-size:16px}.member-register form>.secondary{margin-top:8px;min-height:35px;font-size:12px}.member-register form>.primary{margin-top:8px;min-height:38px;font-size:12px}.participation-summary form .check{font-size:11px;margin:6px 0}.participation-summary form button{min-height:37px;font-size:12px}
/* A bounded app viewport: navigation stays visible; long content remains accessible. */
html{height:100%;overflow-x:hidden}body{height:100dvh;min-height:0!important;display:flex;flex-direction:column;overflow:hidden}body>header{width:100%;flex-shrink:0}body>main{width:100%;min-height:0;flex:1;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}body>footer{width:100%;flex-shrink:0}body.event-screen main{display:flex;flex-direction:column;overflow:hidden;gap:0}.event-heading{flex-shrink:0;min-width:0}.event-heading>.row{gap:6px;align-items:center}.event-heading>.row>.muted{font-size:11px}.event-heading>.row>.badge{font-size:8px;padding:5px 7px}.event-heading>.eyebrow{font-size:9px;letter-spacing:1.5px}.event-content{flex:1;min-height:0;overflow:auto;overflow-x:hidden;overscroll-behavior:contain;padding-bottom:3px;scrollbar-width:thin}main>*{max-width:100%}input,select,textarea{min-width:0;max-width:100%}.row>*{min-width:0}h1,h2,h3,p,small,.pre{overflow-wrap:anywhere}button,.button{max-width:100%;white-space:normal}dialog{max-height:calc(100dvh - 28px);overflow:auto;overscroll-behavior:contain}dialog textarea{font-size:12px;min-height:54px}.event-content label{font-size:11px;margin:7px 0 3px}.event-content input,.event-content select{min-height:36px;padding:7px 9px;font-size:16px}.event-content textarea{min-height:54px;padding:8px;font-size:14px}.event-content .form-actions{margin-top:10px}.event-content .card>p{font-size:12px;line-height:1.4;margin-bottom:9px}.event-content .bigfriend{padding:16px 10px}.event-content .bigfriend h2{font-size:29px}.event-content .secret-reveal{min-height:105px}.event-content .partner{padding:10px 0}.event-content .note{font-size:11px}.event-content .choice{padding:12px;margin:7px 0}.event-content .choice h3{font-size:13px}.event-content .choice small{font-size:11px}.members-toolbar{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:6px 0}.members-toolbar h2{font-size:15px;margin:0}.members-toolbar button{font-size:10px;min-height:31px;padding:6px 9px}.members-toolbar .row{gap:5px}.member-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:12px;margin:7px 0}.member-card h3{font-size:14px;margin-bottom:3px}.member-card small{font-size:10px}.member-card .badge{font-size:9px;padding:5px 7px}.profile-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:9px}.profile-actions button{font-size:10px;line-height:1.3;min-height:35px;padding:7px 5px}.member-extras{display:flex;align-items:center;gap:7px;margin-top:5px;flex-wrap:wrap}.member-extras>small{margin-right:auto}.member-extras button{font-size:9px;min-height:25px;padding:3px}.member-pagination{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:8px}.member-pagination button{font-size:10px;min-height:31px;padding:6px 10px}.member-pagination small{font-size:10px}.settings-layout .settings-form label{margin:0 0 3px}.settings-layout .settings-form input{min-height:29px;height:29px;padding:4px 7px}.settings-layout .settings-form textarea{height:34px;min-height:34px}.settings-layout input[type=checkbox]{min-height:17px!important;height:17px!important}.address-field input[type=hidden]{display:none!important}@media(max-width:360px){header .brand{font-size:19px}.event-heading h1{font-size:21px}.member-card{padding:10px}.member-card .row{gap:5px}.profile-actions button{font-size:9px}.members-toolbar button{padding:6px;font-size:9px}}@media(max-height:580px){.member-card{padding:9px;margin:5px 0}.profile-actions{margin-top:6px}.profile-actions button{min-height:30px}.member-card h3{font-size:12px}.member-card .badge{font-size:8px}.member-extras{margin-top:2px}.event-screen .event-heading h1{font-size:20px}.event-screen header{padding:5px 14px}.event-screen .tabs button{min-height:29px}}

/* Shared single-line footer, including every screen variant. */
body>footer{display:flex!important;align-items:center;justify-content:center;gap:7px;white-space:nowrap;flex-wrap:nowrap;font-size:10px!important;line-height:1.2!important;padding:8px 10px!important;min-height:30px}body>footer a{display:inline!important;margin:0!important;font-size:inherit;text-decoration:none}body>footer .textbtn{display:inline-flex!important;width:auto!important;margin:0!important;min-height:0!important;padding:0!important;font-size:inherit!important;line-height:inherit!important;font-weight:400}body>footer>span{white-space:nowrap}

.member-row-heading{margin-bottom:4px}.member-row-heading>.textbtn{font-size:10px;min-height:25px;padding:4px 6px;color:var(--danger)}

.meal-preview{display:grid;gap:7px;margin:12px 0}.meal-preview p{font-size:13px;margin:0;padding:9px;border-radius:10px;background:#eef2e9}.meal-choices .choice{padding:11px;margin:7px 0}.meal-choices .choice h3{font-size:13px}.meal-choices .choice small{font-size:10px}.meal-choices .badge{font-size:9px}
/* Personalization uses short steps and paginated block cards. */
.event-screen .tabs.admin-tabs{grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.event-screen .tabs.admin-tabs button{min-height:27px;font-size:10px;padding:5px}.custom-toolbar{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:7px 0}.custom-toolbar h2{font-size:17px;margin:0}.custom-toolbar button{min-height:31px;padding:6px 10px;font-size:10px}.custom-summary{padding:9px 11px;border-radius:12px;background:#e9eee6;margin:7px 0}.custom-summary p{font-size:12px;line-height:1.35;margin:0 0 4px;max-height:50px;overflow:auto}.custom-summary small{font-size:10px;line-height:1.3}.custom-add{min-height:33px;padding:7px;font-size:12px;margin:3px 0 7px}.custom-block{width:100%;display:flex;text-align:left;align-items:center;justify-content:space-between;gap:8px;background:#fff;color:var(--ink);border:1px solid var(--line);padding:10px 12px;border-radius:13px;min-height:57px;margin:6px 0}.custom-block>span:first-child{min-width:0}.custom-block small{display:block;font-size:9px;font-weight:400}.custom-block strong{display:block;font-size:13px;line-height:1.3;margin-top:3px}.custom-block>span:last-child{font-size:9px;flex-shrink:0}.custom-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px;margin:7px 0}.custom-card>.textbtn{min-height:23px;padding:0;font-size:10px;margin-bottom:5px}.custom-card h2{font-size:18px;margin:4px 0 8px}.custom-card .badge{font-size:9px;padding:4px 8px}.custom-card form{display:grid;gap:6px}.custom-card label{font-size:10px;line-height:1.25;margin:0 0 3px}.custom-card input,.custom-card select{min-height:33px;height:33px;font-size:16px;padding:5px 8px}.custom-card textarea{min-height:45px;height:45px;font-size:13px;padding:6px 8px}.custom-card button{min-height:33px;padding:7px 9px;font-size:12px}.custom-card .check{font-size:11px;margin:4px 0}.custom-card input[type=checkbox]{height:18px;min-height:18px;width:18px}.custom-card .form-actions{margin-top:4px}.custom-card .fieldhint{font-size:10px;line-height:1.3;margin:3px 0}.custom-description{font-size:12px;line-height:1.4;max-height:84px;overflow:auto;margin:6px 0 10px}.custom-card .stack{gap:7px}.poll-result{font-size:12px;display:flex;justify-content:space-between;padding:5px 0;margin:0}.custom-card .list-item{padding:8px 0}.custom-card .note{font-size:11px;padding:8px;margin:8px 0}@media(max-height:640px){.custom-card{padding:9px 10px;margin:5px 0}.custom-card h2{font-size:16px;margin-bottom:6px}.custom-card form{gap:5px}.custom-card input,.custom-card select{height:30px;min-height:30px}.custom-card textarea{height:36px;min-height:36px}.custom-card button{min-height:30px;padding:6px 8px}.custom-block{min-height:49px;padding:8px 10px}.custom-description{max-height:62px}.custom-summary{padding:7px 9px}.custom-toolbar{margin:5px 0}.event-screen .tabs.admin-tabs button{min-height:25px}}
