:root{color-scheme:light;--pine:#172c25;--pine-2:#244236;--pine-3:#466655;--cream:#f5eee2;--paper:#fffdf8;--ink:#20352b;--muted:#798279;--line:#e6e3d8;--orange:#e7793f;--orange-dark:#ca5c2d;--gold:#d5ad69;--shadow:0 22px 60px #12231a12;--serif:Georgia,'Times New Roman',serif;--sans:Inter,'Segoe UI',Arial,sans-serif}*{box-sizing:border-box}html{min-height:100%;background:var(--cream)}body{margin:0;min-height:100vh;color:var(--ink);font-family:var(--sans);font-size:15px;background:radial-gradient(ellipse at 83% 4%,#e5d7ba6b,transparent 27rem),linear-gradient(120deg,#f8f2e8,#f1eadc 65%,#e9e1d1);overflow-x:hidden}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}.ambient{position:fixed;pointer-events:none;border-radius:50%;filter:blur(1px);opacity:.42;z-index:-1}.ambient-one{width:360px;height:360px;border:1px solid #c9b78b;top:-235px;right:17%;box-shadow:0 0 0 38px #c9b78b0c,0 0 0 78px #c9b78b0b}.ambient-two{width:220px;height:220px;border:1px solid #bdc8ad;bottom:-170px;left:-80px}.topbar{height:85px;max-width:1180px;margin:auto;padding:0 28px;display:flex;align-items:center;justify-content:space-between}.brand{color:var(--pine);text-decoration:none;display:flex;align-items:center;gap:11px;font-family:var(--serif);font-size:22px;letter-spacing:-.5px;font-weight:700}.brand small{display:block;font:10px var(--sans);letter-spacing:.11em;text-transform:uppercase;color:#7d897b;margin-top:2px}.brand-mark{display:grid;place-items:center;width:39px;height:39px;border-radius:50%;background:var(--pine);color:#f5e4bc;font-size:21px}.top-right{display:flex;align-items:center;gap:12px}.avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#e7d7b5;color:var(--pine);font-weight:700}.demo-pill{background:#f2dfc2;color:#8c4b24;border:1px solid #e9c99c;border-radius:999px;padding:7px 12px;font-size:11px;font-weight:800;letter-spacing:.035em}.shell{max-width:1050px;margin:0 auto;padding:22px 28px 64px}.hero{min-height:350px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;padding:20px 40px 28px;border-radius:24px;background:var(--pine);color:#f9f3e7;overflow:hidden;position:relative;box-shadow:0 22px 50px #142c2319}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(112deg,transparent 50%,#fff2df08);pointer-events:none}.hero-copy{position:relative;z-index:1}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.17em;text-transform:uppercase;color:#a87845;margin:0 0 13px}.hero .eyebrow{color:#c6a56d}.hero h1,.event-heading h1,.landing h1{font:500 clamp(37px,5vw,60px)/1.04 var(--serif);letter-spacing:-1.7px;margin:0 0 17px}.hero h1 em,.landing h1 em{color:#f0b37b;font-style:italic}.lead{max-width:390px;color:#d8ded3;line-height:1.6;margin:0 0 26px;font-size:15px}.button{border:0;border-radius:11px;padding:13px 18px;cursor:pointer;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:12px;font-weight:700;font-size:13px;transition:transform .16s,background .16s,box-shadow .16s}.button:hover{transform:translateY(-1px)}.button:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #e5975a;outline-offset:3px}.button.primary{background:var(--orange);color:white;box-shadow:0 7px 18px #d6633940}.button.primary:hover{background:var(--orange-dark)}.button.primary span{font-size:18px;line-height:12px}.button.secondary{background:#edf0e9;color:var(--pine);border:1px solid #dce3d9}.button.secondary:hover{background:#e3e9df}.button.danger{background:#b84f3b;color:white}.button.draw-button{margin-top:10px;background:#dce9dc;color:var(--pine)}.button:disabled{opacity:.55;cursor:default;transform:none}.hero-art{height:290px;position:relative;display:flex;align-items:flex-end;justify-content:center}.moon{position:absolute;right:28px;top:8px;width:92px;height:92px;border-radius:50%;background:#d8c493;box-shadow:0 0 0 19px #d8c49312,0 0 52px #d8c49340}.tree{position:absolute;bottom:4px;font-size:240px;line-height:.85;color:#29483b;text-shadow:15px 5px #223f34}.tree-back{font-size:180px;left:13px;bottom:17px;color:#203c31}.tree-front{right:28px;bottom:0}.giftbox{position:absolute;z-index:2;width:88px;height:72px;bottom:28px;left:48%;transform:translateX(-50%);background:#bf5b3d;border-radius:5px;box-shadow:0 18px 20px #07150d55}.giftbox:before{content:'';position:absolute;left:0;right:0;top:-12px;height:18px;background:#d8774f;border-radius:4px}.giftbox span{position:absolute;top:-12px;bottom:0;left:37px;width:14px;background:#e0b970}.giftbox i{position:absolute;top:-27px;left:31px;width:26px;height:20px;border:6px solid #e0b970;border-radius:50% 50% 0 50%;transform:rotate(32deg)}.cat{position:absolute;z-index:3;bottom:33px;left:34%;font-size:39px;filter:drop-shadow(0 4px 3px #06140e66)}.snow{position:absolute;color:#f3dca8}.s1{top:56px;left:44%;font-size:19px}.s2{right:13%;top:109px;font-size:42px}.s3{top:141px;left:17%;font-size:15px}.section-head{display:flex;align-items:end;justify-content:space-between;margin:42px 4px 15px}.section-head .eyebrow{margin-bottom:7px}.section-head h2,.panel h2{font:500 29px/1.15 var(--serif);letter-spacing:-.4px;margin:0}.count{display:inline-grid;place-items:center;vertical-align:middle;min-width:23px;height:23px;padding:0 6px;border-radius:20px;background:#e5dfd1;color:#697567;font:700 12px var(--sans);letter-spacing:0}.event-list{display:grid;gap:9px}.event-card{display:flex;align-items:center;gap:15px;width:100%;text-align:left;padding:17px 20px;border:1px solid #e5e0d5;background:#fffdf8bd;border-radius:15px;cursor:pointer;transition:transform .17s,border .17s,box-shadow .17s}.event-card:hover{transform:translateY(-2px);border-color:#c8b78e;box-shadow:0 8px 26px #172c2510}.event-icon{width:43px;height:43px;border-radius:13px;background:#f2e6ce;display:grid;place-items:center;font-size:20px;color:#a6733e}.event-main{display:grid;gap:5px;flex:1}.event-title{font:600 17px var(--serif)}.event-sub{font-size:12px;color:var(--muted)}.event-sub i{font-style:normal;margin:0 4px;color:#c4b99f}.event-date{font-size:12px;color:#747d72;display:flex;gap:16px;align-items:center}.event-date b{font-size:18px;color:#bd7950}.invite-note{display:flex;gap:13px;align-items:center;margin-top:18px;padding:13px 16px;color:#6e786d;font-size:12px}.invite-note span{color:#bd9055;font-size:22px}.invite-note p{margin:0}.empty{text-align:center;padding:50px 20px;background:#fffdf866;border:1px dashed #d4c8ae;border-radius:16px}.empty>span{font-size:30px;color:#bc8951}.empty h3{font:500 21px var(--serif);margin:8px}.empty p{color:var(--muted);font-size:13px}.footer{max-width:1050px;margin:0 auto;padding:20px 28px 32px;border-top:1px solid #dcd5c8;color:#899084;font-size:11px;display:flex;justify-content:space-between}.notice,.alert{padding:12px 15px;border-radius:12px;margin:0 0 14px;font-size:13px}.notice{background:#e5ecdf;color:#385143;border:1px solid #cbd9c9}.alert{background:#fbebe4;color:#913d2c;display:flex;align-items:center;gap:8px}.alert span{flex:1}.retry,.text-button{border:0;background:none;color:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.back{border:0;background:none;padding:4px 0 18px;color:#6e7b70;cursor:pointer;font-size:13px}.event-heading{display:flex;align-items:center;justify-content:space-between;padding:9px 2px 23px}.event-heading .eyebrow{color:#95794e}.event-heading h1{font-size:43px;color:var(--pine);margin:0 0 8px}.event-heading p{margin:0;color:#778075}.heading-art{font-size:56px;margin-right:25px}.dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#d87943;vertical-align:middle;margin:0 5px}.tabs{display:flex;gap:5px;border-bottom:1px solid #ddd7c9;margin-bottom:20px;overflow:auto}.tab{border:0;background:none;color:#7d857a;padding:12px 14px;white-space:nowrap;font-weight:650;font-size:13px;cursor:pointer;border-bottom:2px solid transparent}.tab.active{color:var(--pine);border-color:var(--orange)}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}.panel{background:var(--paper);border:1px solid #e7e2d7;border-radius:17px;padding:23px;box-shadow:var(--shadow)}.feature-panel{background:#fffdf8}.panel h3{font:500 23px/1.2 var(--serif);margin:15px 0 8px}.panel>p:not(.eyebrow),.feature-panel>p{color:#788175;font-size:13px;line-height:1.6}.panel-top{display:flex;justify-content:space-between;align-items:center}.panel-icon{font-size:25px;color:#ba8750}.badge{font-size:10px;letter-spacing:.04em;padding:6px 9px;border-radius:99px;background:#eef0e8;color:#62745e}.detail-row{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #eeeae1;padding:12px 0;color:#81877e;font-size:12px}.detail-row b{color:var(--pine);font-weight:700;text-align:right}.wide{width:100%;margin-top:14px}.checklist .eyebrow{margin:0 0 3px}.checklist h3{margin:0 0 15px}.step{display:flex;gap:12px;align-items:center;padding:10px 0}.step-no{width:27px;height:27px;border:1px solid #d9d7c9;border-radius:50%;display:grid;place-items:center;color:#758176;font-size:12px;flex:none}.step-no.done{background:#e3ecdf;color:#4f7554;border:0}.step b,.step small{display:block}.step b{font-size:13px}.step small{color:#93998e;font-size:11px;margin-top:3px}.draw-area{border-top:1px solid #eeeadf;margin-top:8px;padding-top:12px}.draw-area .button{margin-top:7px}.check-ok{color:#4e7951;font-size:12px}.recipient-card{text-align:center;padding:8px}.recipient-card .eyebrow{margin:8px}.recipient-name{font:500 38px var(--serif);color:var(--pine);margin:10px}.recipient-card p{color:#778175;font-size:13px}.recipient-card .button{margin-top:13px}.form-panel{max-width:700px;margin:0 auto}.form-panel h2,.settings-panel h2,.people-panel h2{margin-bottom:8px}.muted{color:#7b8379;font-size:13px;line-height:1.55}.form-panel form,.modal form{display:grid;gap:15px;margin-top:20px}.form-panel label,.modal label,.settings-meta label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#46584b}.hint{font-weight:400;color:#8b9287}.input, input,textarea,select{width:100%;border:1px solid #dddccf;border-radius:9px;background:#fffefa;color:#273c30;padding:11px 12px;font-size:14px}textarea{resize:vertical;line-height:1.5}input::placeholder,textarea::placeholder{color:#a9aea4}.privacy-hint{color:#8d9387;font-size:11px;line-height:1.55;margin:14px 0 0}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.person{display:flex;align-items:center;gap:11px;padding:11px 2px;border-bottom:1px solid #eeeae1}.person-avatar{width:33px;height:33px;border-radius:50%;display:grid;place-items:center;background:#e6eadf;color:#49624f;font-weight:700}.person-name{font-weight:650;font-size:13px;flex:1}.ready{font-size:11px;color:#aa8771}.ready.is-ready{color:#618365}.exclusion-box{margin-top:25px;border-top:1px solid var(--line);padding-top:18px}.exclusion-box h3{font-size:19px;margin:0 0 3px}.exclusion-box>div p{margin:0;color:#899085;font-size:12px}.exclusion-box form{display:flex;align-items:end;gap:8px;margin-top:14px;flex-wrap:wrap}.exclusion-box form label{display:grid;gap:5px;font-size:11px;color:#687369;flex:1;min-width:90px}.exclusion-box select{padding:9px;font-size:12px}.exclusion-box .check-label{display:flex;align-items:center;flex:0 0 auto;white-space:nowrap}.check-label input{width:auto}.exclusion-box .button{padding:10px;font-size:11px}.exclusions{padding:0;list-style:none}.exclusions li{padding:8px 0;font-size:12px;color:#59675d;border-bottom:1px solid #efede6}.exclusions button{float:right;border:0;background:none;color:#a35745;font-size:18px;cursor:pointer}.settings-panel{max-width:780px;margin:auto}.settings-meta{display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:11px;padding:18px 0 14px}.settings-meta input{font-size:12px;padding:10px}.budget-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}.setting{display:flex;align-items:center;gap:20px;padding:15px 3px;border-top:1px solid #eeebe4;position:relative;cursor:pointer}.setting>span{display:grid;gap:4px;flex:1}.setting b{font-size:12px}.setting small{font-size:11px;color:#898f83;line-height:1.45}.setting input[type=checkbox]{position:absolute;right:0;width:39px;height:23px;opacity:0;z-index:2;cursor:pointer}.toggle{width:39px;height:23px;border-radius:20px;background:#d8d9d1;position:relative;transition:.2s;flex:none}.toggle:after{content:'';position:absolute;width:17px;height:17px;left:3px;top:3px;border-radius:50%;background:white;box-shadow:0 1px 4px #0002;transition:.2s}.setting input:checked+.toggle{background:#718d70}.setting input:checked+.toggle:after{left:19px}.setting input:focus-visible+.toggle{outline:3px solid #e5975a;outline-offset:3px}.danger-zone{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding-top:18px;margin-top:7px;font-size:12px}.muted-red{color:#a7473a}.chat-panel{margin:16px auto 0;max-width:760px}.chat-panel h3,.chat-panel h2{margin:0 0 4px}.messages{min-height:55px;max-height:310px;overflow:auto;padding:10px 0}.message{width:fit-content;max-width:80%;padding:10px 13px;background:#f0eee5;border-radius:3px 12px 12px;margin:5px 0;font-size:13px;line-height:1.5}.message.mine{margin-left:auto;background:#e4eddf;border-radius:12px 3px 12px 12px}.chat-panel form{display:flex;gap:8px}.chat-panel form input{flex:1}.chat-panel form .button{margin:0}.gift-status{display:flex;gap:8px;align-items:center;border-top:1px solid var(--line);padding-top:13px;margin-top:14px;font-size:12px}.gift-status span{flex:1;font-weight:700}.gift-status button{border:1px solid #dbe3d7;background:#f5f7f1;border-radius:8px;padding:7px 10px;color:#4e6b52;font-size:11px;cursor:pointer}.group-message{padding:10px 12px;background:#f4f1e9;border-radius:10px;margin:7px 0}.group-message b{font-size:12px;color:#46604e}.group-message p{font-size:13px;margin:5px 0;color:#34483b;white-space:pre-wrap}.group-message small{font-size:10px;color:#90968c}.mute-setting{margin-top:14px}.danger-zone-panel{max-width:760px;margin:16px auto;border-color:#ebcec4;background:#fffaf8}.danger-zone-panel h3{margin-top:5px}.danger-zone-panel>p:not(.eyebrow){max-width:600px}.assignments{max-width:760px;margin:14px auto;background:#f9f7f0}.assignments .detail-row{color:#425448}.organizer-notice{margin-top:16px}.preview-card{max-width:570px;margin:20px auto;padding:34px}.preview-card h1{font:500 38px var(--serif);margin:4px 0}.preview-card>p:not(.eyebrow){color:#7c8478;line-height:1.6;font-size:13px}.preview-gift{float:right;font-size:34px}.preview-card form{margin-top:18px}.modal-backdrop{position:fixed;inset:0;z-index:10;background:#13241dcc;backdrop-filter:blur(5px);display:grid;place-items:center;padding:18px}.modal{position:relative;width:min(100%,500px);max-height:90vh;overflow:auto;background:var(--paper);border-radius:19px;padding:30px;box-shadow:0 28px 90px #0004}.modal h2{font:500 30px/1.1 var(--serif);margin:0 0 9px}.modal>p:not(.eyebrow){font-size:13px;color:#7c8379;line-height:1.6}.modal .eyebrow{margin-bottom:9px}.modal-close{position:absolute;top:14px;right:16px;border:0;background:none;font-size:25px;color:#7c8379;cursor:pointer}.modal-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:18px}.confirm-modal{text-align:center}.confirm-icon{font-size:42px;display:block;margin-bottom:9px}.confirm-modal label{text-align:left;margin-top:18px}.confirm-modal label b{color:#a34835}.confirm-modal .modal-actions{justify-content:center}.confirm-modal .modal-actions .button{min-width:145px}.recipient-modal{text-align:center}.recipient-modal ul{text-align:left;background:#f2efe6;border-radius:10px;padding:15px 15px 15px 34px;line-height:1.9;color:#425648;font-size:13px}.busy-cover{position:fixed;inset:0;z-index:20;background:#f6f0e5aa;backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;gap:11px;color:var(--pine);font-size:13px}.spinner{width:21px;height:21px;border:2px solid #d5dacc;border-top-color:var(--orange);border-radius:50%;animation:spin .7s linear infinite}.boot{height:100vh;display:flex;align-items:center;justify-content:center;gap:11px;color:#536253;font-size:13px}@keyframes spin{to{transform:rotate(360deg)}}.landing{max-width:780px;min-height:calc(100vh - 150px);margin:auto;padding:6vh 25px 12vh;display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center}.landing-art{width:140px;height:140px;border-radius:50%;display:grid;place-items:center;background:var(--pine);font-size:57px;position:relative;margin-bottom:24px;box-shadow:0 15px 40px #172c2529}.landing-art span{position:absolute;font-size:28px;right:2px;bottom:8px;transform:rotate(-10deg)}.landing h1{color:var(--pine);font-size:clamp(38px,6vw,61px)}.landing h1 em{color:#bc7444}.landing>p:not(.eyebrow){max-width:490px;color:#737e72;font-size:15px;line-height:1.65;margin:4px auto 22px}.landing .button{font-size:14px}.landing-demo{margin-top:20px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:720px){.topbar{height:70px;padding:0 18px}.brand{font-size:19px}.brand-mark{width:35px;height:35px}.brand small{font-size:9px}.shell{padding:12px 17px 45px}.hero{grid-template-columns:1fr;min-height:0;padding:27px 24px 0}.hero h1{font-size:42px}.lead{font-size:13px;margin-bottom:20px}.hero-art{height:220px;margin-top:6px}.tree{font-size:205px}.tree-back{font-size:155px}.moon{width:67px;height:67px;right:22px}.giftbox{transform:translateX(-50%) scale(.82);bottom:22px}.cat{bottom:23px}.section-head{margin:28px 2px 13px;align-items:center}.section-head h2{font-size:24px}.section-head>.button{font-size:11px;padding:10px}.event-card{padding:13px;gap:10px}.event-date{flex-direction:column-reverse;gap:3px;align-items:flex-end;font-size:10px}.event-title{font-size:15px}.event-sub{font-size:10px}.event-icon{width:38px;height:38px}.two-col{grid-template-columns:1fr}.panel{padding:19px}.event-heading{padding-bottom:16px}.event-heading h1{font-size:35px}.event-heading p{font-size:12px}.heading-art{font-size:40px;margin-right:4px}.settings-meta{grid-template-columns:1fr 1fr}.settings-meta>div:first-child{grid-column:1/-1}.tabs{margin-left:-17px;margin-right:-17px;padding-left:10px}.tab{padding:12px 11px;font-size:12px}.footer{padding:15px 18px 25px}.footer span:first-child{max-width:270px}.exclusion-box form{align-items:stretch}.exclusion-box form label{min-width:calc(50% - 5px)}.exclusion-box .check-label{flex-basis:auto}.exclusion-box form .button{width:100%}.preview-card{padding:25px 20px}.modal{padding:26px 21px}.modal-actions{flex-direction:column-reverse}.modal-actions .button{width:100%}}
@media(max-width:390px){.demo-pill{font-size:9px;padding:6px 8px}.avatar{width:32px;height:32px}.hero h1{font-size:37px}.section-head>.button{max-width:116px}.settings-meta{grid-template-columns:1fr}.settings-meta>div:first-child{grid-column:auto}.gift-status{flex-wrap:wrap}.gift-status span{flex-basis:100%}}
/* The explicitly activated envelope keeps its full sequence; Escape can skip it. */
@media(prefers-reduced-motion:reduce){*:not(.recipient-panel,.recipient-panel *),*:not(.recipient-panel,.recipient-panel *)::before,*:not(.recipient-panel,.recipient-panel *)::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
.settings-form{display:grid;gap:12px;margin-top:16px}.settings-meta{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-meta .description-field{grid-column:1/-1}.settings-form>.button{justify-self:start}.person .text-button{font-size:11px}.notification-notice{display:flex;align-items:center;justify-content:space-between;gap:12px}.chat-panel .panel-heading h3{margin:0}.currency-select{min-width:0}@media(max-width:720px){.settings-meta{grid-template-columns:1fr 1fr}.settings-meta .description-field{grid-column:1/-1}.notification-notice{align-items:flex-start}}
.wishlines{white-space:pre-wrap;text-align:left;line-height:1.8}.wishlines a{color:#416950;text-decoration-thickness:1px;text-underline-offset:2px;overflow-wrap:anywhere}.delivery-panel{max-width:760px;margin:16px auto;background:#fffaf3}.delivery-panel h3{margin:0 0 8px}.delivery-panel .button{margin-top:7px}.consent-note{padding:11px 12px;border-radius:10px;background:#f7ead3;color:#80532d;font-size:12px;line-height:1.55}.wishlines li{overflow-wrap:anywhere}
.person-row{border-bottom:1px solid #eeeae1}.person-row .person{border:0}.member-wishes{padding:0 10px 12px 45px;color:#6e786d;font-size:11px}.member-wishes summary{cursor:pointer;color:#668069}.member-wishes b{display:block;margin:8px 0 2px}.member-wishes .wishlines{margin:4px 0 8px;padding-left:17px}.member-wishes .wishlines li{padding:0;font-size:11px}

.event-actions{display:flex;align-items:center;gap:4px}.event-action{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;padding:11px;border:0;border-radius:10px;background:transparent;color:var(--pine);cursor:pointer}.event-action svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.event-action:hover{background:#edf0e9}.event-action-delete{color:#a7473a}.event-action-delete:hover{background:#faeae4}.event-action:disabled{opacity:.4;cursor:default}.recipient-panel{max-width:760px;margin:16px auto}.event-editor{width:min(100%,760px)}.event-editor>.settings-panel{padding:0;border:0;box-shadow:none;background:transparent;max-width:none}.event-editor .danger-zone{flex-wrap:wrap}.event-editor .settings-panel h2{padding-right:22px}.tabs{flex-wrap:wrap;overflow:visible}@media(max-width:390px){.event-editor .settings-meta{grid-template-columns:1fr}}

/* Compact responsive layout and fixed-chrome event dialogs. */
[hidden]{display:none!important}
.event-main{min-width:0;overflow-wrap:anywhere}
.event-title,.event-sub{overflow-wrap:anywhere;word-break:normal}
.event-card{min-width:0}
.event-card .event-date{flex:none}
.modal-backdrop{padding:12px;overflow:hidden}
.modal{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
.event-form-modal{width:min(100%,600px);height:auto;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:0;overflow:hidden;display:flex;flex-direction:column;min-height:0}
.modal-header{position:relative;flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px 10px;border-bottom:1px solid var(--line)}
.modal-header h2{font-size:24px;margin:0;padding-right:4px;overflow-wrap:anywhere}
.modal-close{position:static;flex:none;width:42px;height:42px;border-radius:10px;font-size:25px}
.form-tabs{flex:none;display:flex;gap:4px;padding:0 14px;border-bottom:1px solid var(--line);overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
.form-tab{flex:1 0 auto;min-height:44px;padding:10px 12px;border:0;border-bottom:2px solid transparent;background:none;color:#727d72;font-size:13px;font-weight:700;white-space:nowrap;cursor:pointer}
.form-tab.active{color:var(--pine);border-bottom-color:var(--orange)}
.modal-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:14px 18px}
.modal-body form{display:grid;gap:12px;margin:0}
.event-fields{display:grid;gap:11px}
.event-fields .field-full{grid-column:1/-1}
.event-fields .field{min-width:0;display:grid;gap:5px;font-size:12px;font-weight:700;color:#46584b}
.event-fields input,.event-fields textarea,.event-fields select{min-width:0;min-height:42px;padding:9px 10px;font-size:14px}
.event-fields textarea{min-height:58px;resize:vertical}
.budget-fields,.date-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.date-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.form-hint{margin:0;color:#788175;font-size:12px;line-height:1.45}
.form-pane{min-width:0}
.form-pane[hidden]{display:none!important}
.create-modal .option-check{display:flex;align-items:flex-start;gap:11px;min-height:54px;padding:10px 4px;border-top:1px solid #eeebe4;cursor:pointer}
.create-modal .option-check input[type=checkbox]{flex:none;width:20px;height:20px;margin:2px 0 0;accent-color:var(--pine)}
.create-modal .option-check>span{display:grid;gap:3px;min-width:0}
.create-modal .option-check b{font-size:13px;color:var(--pine)}
.create-modal .option-check small{font-size:12px;line-height:1.4;color:#81897e;font-weight:400}
.event-form-modal .setting{min-height:54px;padding:11px 3px}
.event-form-modal .settings-meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px 0}
.event-form-modal .settings-meta label{min-width:0}
.event-form-modal .settings-meta input,.event-form-modal .settings-meta select{min-width:0}
.modal-footer{flex:none;padding:10px 18px max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--paper)}
.modal-footer .button{width:100%;min-height:44px;padding:10px 14px}
.event-form-modal .danger-zone{margin-top:7px;padding-top:12px}
.add-event-button{width:44px;height:44px;flex:none;padding:0;border-radius:12px;font-size:25px;line-height:1}
.chat-panel,.chat-panel form,.chat-panel form input{min-width:0}
.chat-panel form{align-items:stretch}
.chat-panel form input{flex:1 1 auto}
.chat-panel form .button{flex:none;min-height:42px;padding:10px 12px}
@media(max-width:720px){
  .topbar{height:58px;padding:0 12px}
  .shell{padding:10px 12px 30px}
  .hero{grid-template-columns:minmax(0,1fr) minmax(90px,.45fr);min-height:0;height:174px;padding:17px;border-radius:18px}
  .hero-copy{min-width:0}
  .hero .eyebrow{font-size:9px;margin-bottom:7px}
  .hero h1{font-size:clamp(26px,7vw,34px);line-height:1.03;letter-spacing:-.8px;margin:0 0 9px}
  .lead{font-size:12px;line-height:1.4;margin:0 0 10px}
  .hero .button{min-height:42px;padding:9px 12px;font-size:12px}
  .hero-art{height:140px;min-width:0;margin:0;overflow:hidden}
  .tree{font-size:145px}.tree-back{font-size:110px;left:0}.tree-front{right:3px}
  .moon{width:48px;height:48px;right:8px;top:0}
  .giftbox{transform:translateX(-50%) scale(.62);bottom:8px}
  .cat{font-size:30px;bottom:15px;left:25%}
  .s1{top:22px}.s2{right:8%;top:58px;font-size:28px}.s3{top:74px;left:10%}
  .section-head{margin:20px 2px 10px}
  .section-head h2{font-size:22px}
  .section-head>.button{width:44px;height:44px;max-width:none;padding:0;font-size:24px}
  .event-card{gap:8px;padding:10px}
  .event-icon{width:36px;height:36px;flex:none}
  .event-title{font-size:15px;line-height:1.2;overflow-wrap:anywhere}
  .event-sub{font-size:11px;line-height:1.3}
  .event-date{gap:2px;font-size:10px}
  .event-action{width:40px;height:40px;padding:9px}
  .panel{padding:15px}
  .event-form-modal{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
  .modal-header{padding:9px 12px 7px}
  .modal-header h2{font-size:21px}
  .form-tabs{padding:0 9px}
  .form-tab{min-height:42px;padding:8px 10px;font-size:12px}
  .modal-body{padding:10px 12px}
  .modal-footer{padding:8px 12px max(10px,env(safe-area-inset-bottom))}
  .event-form-modal .settings-meta{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:380px){
  .brand{font-size:17px;gap:7px}.brand-mark{width:32px;height:32px}
  .demo-pill{font-size:9px;padding:6px 7px}
  .shell{padding-left:10px;padding-right:10px}
  .hero{height:160px;padding:13px 12px;grid-template-columns:minmax(0,1fr) 84px}
  .hero h1{font-size:26px}.lead{font-size:12px}
  .hero-art{height:130px}
  .tree{font-size:124px}.tree-back{font-size:94px}
  .event-card{gap:6px;padding:9px}
  .event-main{gap:3px}
  .event-date{max-width:54px;text-align:right;overflow-wrap:anywhere}
  .event-action{width:38px;height:40px}
  .budget-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  .event-fields input,.event-fields select{padding:8px 6px;font-size:13px}
  .event-form-modal .settings-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:340px){
  .hero{grid-template-columns:minmax(0,1fr) 68px}
  .hero-art{height:120px}
  .hero h1{font-size:25px}
  .event-card{gap:5px}
  .event-date{max-width:47px}
  .event-action{width:36px}
  .modal-backdrop{padding:8px}
  .event-form-modal{max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px)}
  .date-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
  .date-fields input{font-size:12px}
}

.event-heading{gap:10px;align-items:center}
.chat-channel-tabs{display:flex;gap:6px;max-width:760px;margin:0 auto 12px;padding:4px;background:#e8e7dc;border-radius:12px}
.chat-channel{flex:1;min-width:0;min-height:40px;padding:9px 8px;border:0;border-radius:9px;background:none;font-size:12px;font-weight:650;cursor:pointer}
.chat-channel.active{background:var(--paper);box-shadow:0 2px 8px #172c2510}
.chat-connection{font-size:11px;line-height:1.4;color:#946338;margin:8px 0 0}
.chat-connection:empty{display:none}
.wishlist-heading{gap:12px}.wishlist-heading .button{flex:none;min-height:40px;padding:9px 12px}
.wishlist-import-modal .modal-body{display:grid;gap:14px}
.wishlist-import-modal select{min-width:0;width:100%}
.import-preview{padding:12px;border:1px solid var(--line);border-radius:10px;background:#f6f3eb;overflow-wrap:anywhere}
.import-preview h3{font:600 13px var(--sans);margin:0 0 6px}
.import-preview h3:not(:first-child){margin-top:14px}
.import-preview .wishlines{margin:0;padding-left:18px;font-size:13px;line-height:1.5}
.import-preview .muted{margin:0;font-size:12px}
.wishlist-import-modal .import-avoid{display:flex;align-items:center;gap:9px;overflow-wrap:anywhere}
.import-avoid input{width:20px;height:20px;flex:none;margin:0;accent-color:var(--pine)}
.import-loading{display:flex;align-items:center;gap:10px;min-height:90px;color:var(--muted);font-size:13px}
.message{white-space:pre-wrap;overflow-wrap:anywhere}
.group-message p{overflow-wrap:anywhere}
.event-heading-main{flex:1;min-width:0}
.event-back{display:inline-flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;padding:0;border-radius:10px;font-size:23px}
.event-back:hover{background:#e6eade}
.feature-panel .panel-top{gap:8px;min-height:40px}
.feature-panel .panel-top h3{margin:0;font-size:21px}
.feature-panel .event-actions{flex:none}
.feature-panel .panel-top h3{flex:1;min-width:0}
.archive-modal .modal-footer{display:grid;gap:8px}
.archive-modal .modal-body p{font-size:13px;line-height:1.5;color:#687568;margin:0}
.archive-modal .modal-body p+p{margin-top:10px}
.archive-hint{font-size:12px;line-height:1.5;color:var(--muted)}
.draw-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:2px 0 4px}
.draw-summary b,.draw-summary small{display:block;font-size:12px;line-height:1.4}
.draw-summary small{margin-top:4px;color:var(--muted)}

/* Startup and lightweight action progress indicators. */
.boot.splash{
  position:relative;isolation:isolate;min-height:100vh;min-height:100dvh;width:100%;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;
  padding:max(24px,env(safe-area-inset-top)) 20px max(24px,env(safe-area-inset-bottom));
  overflow:hidden;background:radial-gradient(ellipse at 50% 42%,#fffdf8 0,#f8f2e8 39%,#f1eadc 100%);color:var(--pine)
}
.boot.splash:before{
  content:"";position:absolute;z-index:-1;width:min(74vw,320px);aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle,#e8ddc7a8 0,#e8ddc760 57%,#e8ddc700 72%);pointer-events:none
}
.splash-art{width:min(62vw,240px,calc(100dvh - 150px));max-width:100%;height:auto;aspect-ratio:1;object-fit:contain;filter:drop-shadow(0 12px 16px #172c2510)}
.splash-loading{width:min(240px,72vw);display:grid;gap:12px}
.splash-label{margin:0;text-align:center;color:#536253;font:500 13px/1.4 var(--sans)}
.load-track{position:relative;display:block;width:100%;height:5px;overflow:hidden;border-radius:999px;background:#172c2518}
.load-fill{display:block;width:25%;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--pine-2),var(--pine-3));transition:width .24s ease,transform .24s ease}
.load-track.is-indeterminate .load-fill{width:36%;background:linear-gradient(90deg,var(--orange-dark),var(--orange),#e6a45c);animation:splash-progress 1.25s ease-in-out infinite alternate}
@keyframes splash-progress{from{transform:translateX(0)}to{transform:translateX(178%)}}
.busy-indicator{display:flex;align-items:center;gap:10px;width:min(190px,70vw);padding:12px 14px;border:1px solid #e6e3d8;background:#fffdf8;border-radius:12px;box-shadow:0 8px 24px #172c2510}
.busy-indicator .load-track{height:4px}
.inline-loading{display:grid;justify-items:center;gap:10px;padding:18px 12px;color:var(--muted);font-size:13px}
.inline-loading .load-track{width:min(220px,72vw)}
@media(prefers-reduced-motion:reduce){.load-fill{transition:none}.load-track.is-indeterminate .load-fill{animation:none;width:55%;transform:none}}
@media(max-width:720px){
  .topbar{height:50px}
  .event-heading{padding:4px 0 12px}
  .event-heading h1{font-size:27px;line-height:1.12;letter-spacing:-.6px;margin:0}
  .event-heading .eyebrow{font-size:9px;letter-spacing:.09em;margin-bottom:4px}
  .event-heading p{font-size:12px;line-height:1.4;margin-top:6px;overflow-wrap:anywhere}
  .event-heading .heading-art{display:none}
  .tabs{margin:0 0 12px;padding:0;gap:0}
  .tab{flex:1 1 auto;padding:10px 7px;font-size:12px;min-height:40px}
  .two-col{gap:12px}
  .feature-panel .panel-top h3{font-size:20px;line-height:1.15}
  .feature-panel .detail-row{padding:8px 0}
  .feature-panel .wide{min-height:40px;padding:10px 12px;margin-top:10px}
  .checklist h3{font-size:21px;margin:0 0 10px}
  .draw-area{margin-top:8px;padding-top:8px}
  .draw-area .button{min-height:42px;margin-top:0;padding:10px 12px}
  .draw-area .draw-button{margin-top:8px}
  .event-action{min-width:40px}
}

/* Room chat: keep the composer in the visible viewport while messages scroll. */
#app.room-view{min-width:0}
.room-topbar{width:100%;height:56px;min-height:56px;max-width:1050px;margin:0 auto;padding:0 12px;justify-content:flex-start;gap:10px}
.room-back{width:44px;height:44px;min-width:44px;padding:0;display:grid;place-items:center;border:0;border-radius:10px;background:transparent;color:var(--pine);font-size:22px;cursor:pointer}
.room-back:hover{background:#e6eade}
.room-identity{min-width:0;flex:1;display:grid;gap:2px;align-content:center}
.room-title{min-width:0;margin:0;color:var(--pine);font:600 16px/1.15 var(--sans);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.room-meta{margin:0;color:#778075;font:11px/1.2 var(--sans);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.room-demo{flex:none;font-size:9px;padding:5px 8px}
#app.chat-view{height:var(--app-viewport-height,100dvh);min-height:0;overflow:hidden;display:flex;flex-direction:column}
html.chat-layout,html.chat-layout body{height:var(--app-viewport-height,100dvh);min-height:0;overflow:hidden}
#app.chat-view>.topbar{flex:none}
#app.chat-view>.room-shell{width:100%;max-width:1050px;min-height:0;flex:1;display:flex;flex-direction:column;padding:8px 12px 0;overflow:hidden}
.chat-view .room-notices{flex:none;max-height:24%;overflow-y:auto;overscroll-behavior:contain}
.chat-view .room-notices .notice,.chat-view .room-notices .alert{padding:7px 10px;margin:0 0 6px;border-radius:9px;font-size:12px;line-height:1.35}
.chat-view .chat-channel-tabs{flex:none;width:100%;margin:0 auto 6px;padding:3px;gap:4px}
.chat-view .chat-channel{min-height:36px;padding:7px 5px;font-size:11px}
.chat-view .chat-panel{width:100%;max-width:none;min-height:0;flex:1;margin:0;padding:10px 12px 0;display:flex;flex-direction:column;overflow:hidden}
.chat-view .chat-panel>.messages{min-height:0;max-height:none;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:6px 0 10px}
.chat-view .chat-footer{flex:none;display:flex;flex-direction:column;padding:4px 0 max(10px,env(safe-area-inset-bottom));background:var(--paper)}
.chat-view .chat-footer .chat-connection{order:0;margin:0 0 4px}
.chat-view .chat-footer .mute-setting{order:1;margin:0;padding:3px 0;border-top:1px solid #eeeae1}
.chat-view .chat-footer .mute-setting b{font-size:11px}
.chat-view .chat-footer form{order:2;align-items:stretch;gap:7px}
.chat-view .chat-footer form input{min-width:0;min-height:44px;padding:9px 11px;font-size:16px}
.chat-view .chat-footer form .button{min-height:44px;padding:9px 12px}
.chat-view .chat-footer form .chat-send{width:44px;min-width:44px;padding:0}
.chat-view .chat-footer form .chat-send svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.chat-view .chat-panel .archive-hint{flex:none;margin:8px 0;padding:7px 0 max(10px,env(safe-area-inset-bottom))}
@media(max-width:720px){
  .room-topbar{height:56px;min-height:56px;padding:0 10px;gap:7px}
  .room-title{font-size:16px}
  .chat-view .chat-panel{padding:8px 9px 0}
  .chat-view .chat-panel>.messages{padding-top:4px}
}
@media(max-height:400px){.room-meta{display:none}.chat-view .chat-panel{padding-top:4px}.chat-view .chat-footer{padding-top:2px}}

.room-shell{padding:8px 12px 32px}
.room-shell>.tabs{margin:0 0 12px;padding:0}
.event-description{margin:0 0 12px;color:var(--muted);font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.wishlist-view .room-shell{padding-bottom:12px}
.wishlist-panel form{margin:0;gap:10px}
.wishlist-name-row{display:flex;align-items:flex-end;gap:8px;min-width:0}
.wishlist-name-row>label{flex:1;min-width:0}
.wishlist-copy-field{position:relative}
.wishlist-copy-field textarea{display:block}
.wishlist-copy-suggestion{position:absolute;z-index:3;left:0;top:calc(100% + 4px);width:max-content;max-width:100%;padding:4px;border:1px solid var(--line);border-radius:9px;background:var(--paper);box-shadow:0 5px 18px #172c2520}
.wishlist-copy-suggestion.above{top:auto;bottom:calc(100% + 4px)}
.wishlist-copy-suggestion[hidden]{display:none}
.wishlist-copy-suggestion button{max-width:100%;min-height:40px;border:0;border-radius:6px;padding:8px 10px;background:transparent;color:var(--pine);font:600 13px/1.3 var(--sans);text-align:left;white-space:normal;cursor:pointer}
.wishlist-copy-suggestion button:hover,.wishlist-copy-suggestion button:focus-visible{background:#e8e7dc}
.wishlist-panel label{gap:5px;min-width:0}
.wishlist-panel input,.wishlist-panel textarea{min-width:0;padding:9px 10px;font-size:14px}
.wishlist-panel textarea{resize:vertical}
.wishlist-panel [name="wishlist"]{height:96px;min-height:64px}
.wishlist-panel [name="avoid"]{height:64px;min-height:48px}
.wishlist-panel form>.button{min-height:42px}
.wishlist-save-hint{margin:8px 0 0;font-size:11px;line-height:1.35;color:var(--muted)}
.people-actions{display:flex;justify-content:flex-end;margin-bottom:6px}
.people-actions .button{min-height:40px;padding:9px 12px}
.people-panel .person{padding:8px 0;gap:9px}
.people-panel .person-name{min-width:0;overflow-wrap:anywhere}
.people-panel .member-wishes{padding:0 0 8px 42px}
.people-panel>.privacy-hint{margin-top:10px;font-size:11px;line-height:1.4}
@media(max-height:620px){
  .wishlist-panel{padding:12px}
  .wishlist-panel form{gap:8px}
  .wishlist-panel input{min-height:40px;padding:8px 10px}
  .wishlist-panel [name="wishlist"]{height:76px}
  .wishlist-panel [name="avoid"]{height:48px}
  .wishlist-panel form>.button{min-height:40px;padding:10px 12px}
  .wishlist-save-hint{margin-top:6px}
}

/* The recipient reveal card fills the remaining overview space. */
.overview-content{width:100%;max-width:760px;margin:0 auto}
.overview-content>.feature-panel{width:100%}
#app.overview-view{min-height:var(--app-viewport-height,100dvh);display:flex;flex-direction:column}
#app.overview-view>.topbar{flex:none}
#app.overview-view>.room-shell{width:100%;flex:1;display:flex;flex-direction:column;padding-bottom:12px}
.overview-view .room-notices,.overview-view .tabs{flex:none}
.overview-view .overview-content{flex:1;display:flex;flex-direction:column;gap:12px}
.overview-view .overview-content>.feature-panel,.overview-view .event-description{flex:none;margin:0}
.overview-content>.recipient-panel{width:100%;max-width:none;min-height:232px;flex:1;margin:0;padding:0;display:flex;perspective:1200px;overflow:clip;border-radius:18px}
.recipient-flipper{width:100%;min-height:232px;flex:1;position:relative}
.recipient-face{position:absolute;inset:0;width:100%;height:100%;margin:0;border:1px solid #e8e3d8;border-radius:18px;background:var(--paper);box-shadow:var(--shadow);backface-visibility:hidden;-webkit-backface-visibility:hidden;overflow:hidden}
.recipient-front{padding:18px 16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--pine);font:inherit;cursor:pointer}
.recipient-front>.eyebrow{flex:none;margin:0;font-size:9px}
.recipient-art{display:block;width:min(86%,260px);height:0;min-height:80px;max-height:240px;flex:1;object-fit:contain;filter:drop-shadow(0 8px 10px #172c2510)}
.recipient-back{transform:rotateY(180deg);padding:16px;display:flex;flex-direction:column;gap:12px;text-align:left}
.recipient-back-header{flex:none;display:flex;align-items:center;justify-content:space-between;gap:10px}
.recipient-back-name{min-width:0;margin:0;font:500 clamp(20px,6vw,28px)/1.1 var(--serif);overflow-wrap:anywhere}
.recipient-back-header>.recipient-hide{width:40px;height:40px;min-width:40px;display:grid;place-items:center;padding:0;border-radius:10px;background:transparent}
.recipient-hide:hover{background:#edf0e9}
.recipient-hide svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.recipient-wishes{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;overflow-wrap:anywhere;font-size:13px;line-height:1.55}
.recipient-wishes h3{margin:0 0 6px;font:700 12px var(--sans)}
.recipient-wishes ul{padding-left:20px;margin:0 0 18px}
.recipient-wishes li{margin:0 0 5px}
.recipient-wishes a{color:var(--pine-3);text-decoration:underline}
.recipient-wishes p{margin:0 0 14px}
.draw-details{margin-top:12px}
.draw-details>summary{display:flex;align-items:center;min-height:44px;cursor:pointer;color:var(--pine);font-weight:650;font-size:14px;list-style:none}
.draw-details>summary::-webkit-details-marker{display:none}
.draw-details>summary:after{content:'▸';margin-left:auto;font-size:17px;color:var(--muted)}
.draw-details[open]>summary:after{content:'▾'}
.draw-details>.draw-summary{padding-top:6px}

/* Wishlist fields use the room's remaining visible height; the panel scrolls only when needed. */
html.wishlist-layout,html.wishlist-layout body{height:var(--app-viewport-height,100dvh);min-height:0;overflow:hidden}
#app.wishlist-layout,#app.wishlist-view{height:var(--app-viewport-height,100dvh);min-height:0;overflow:hidden;display:flex;flex-direction:column}
#app.wishlist-view>.topbar{flex:none}
#app.wishlist-view>.room-shell{width:100%;max-width:1050px;min-height:0;flex:1;display:flex;flex-direction:column;padding:8px 12px 12px;overflow:hidden}
.wishlist-view .room-notices,.wishlist-view>.room-shell>.tabs{flex:none}
.wishlist-panel{width:100%;max-width:none;min-height:0;flex:1;display:flex;flex-direction:column;overflow:auto;padding:12px}
.wishlist-panel form{width:100%;min-height:286px;flex:1;display:flex;flex-direction:column;gap:10px}
.wishlist-panel .wishlist-name-row{flex:none}
.wishlist-panel .wishlist-copy-field,.wishlist-panel form>label{min-height:0;display:flex;flex-direction:column;flex:1 1 0}
.wishlist-panel .wishlist-copy-field{flex:1.6 1 0;min-height:95px}
.wishlist-panel .wishlist-copy-field>label,.wishlist-panel form>label{min-height:0;display:flex;flex:1;flex-direction:column}
.wishlist-panel form>label{min-height:67px}
.wishlist-panel form textarea[name="wishlist"],.wishlist-panel form textarea[name="avoid"]{width:100%;height:auto;min-height:0;flex:1;resize:vertical}
.wishlist-panel form textarea[name="wishlist"]{min-height:76px}
.wishlist-panel form textarea[name="avoid"]{min-height:48px}
.wishlist-panel form>.button{flex:none}
.wishlist-panel>.wishlist-save-hint{flex:none}

/* Keep a visible gap between mute controls and the chat composer. */
.chat-view .chat-footer .mute-setting{margin:0 0 8px;padding:5px 0;border-top:1px solid #eeeae1}
.chat-view .chat-footer form{gap:10px}
@media(max-height:620px){
  .wishlist-panel{padding:12px}
  .wishlist-panel form{gap:8px}
  .wishlist-panel form textarea[name="wishlist"]{height:auto;min-height:76px}
  .wishlist-panel form textarea[name="avoid"]{height:auto;min-height:48px}
}

/* One-line event names keep the full card width; metadata stays below. */
.event-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;row-gap:4px}
.event-card .event-main{display:contents}
.event-card .event-icon{grid-column:1;grid-row:1 / 3}
.event-card .event-title{grid-column:2 / 4;grid-row:1;min-width:0;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;line-height:1.25}
.event-card .event-sub{grid-column:2;grid-row:2;min-width:0}
.event-card .event-date{grid-column:3;grid-row:2;max-width:none;flex-direction:row;align-self:end;gap:6px;white-space:nowrap}

/* Input limits stay visible without taking another row from the textareas. */
.wishlist-field-heading{min-width:0;display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.field-count{flex:none;white-space:nowrap;color:var(--muted);font:400 10px var(--sans)}
.home-demo{max-width:1050px;margin:8px auto 0;padding:0 12px}
.home-demo .demo-pill{display:inline-block;padding:4px 8px;font-size:9px}
.home-shell{padding-top:12px;padding-bottom:20px}
.home-shell .hero{height:auto;min-height:0;padding:24px 28px;gap:16px;grid-template-columns:minmax(0,1fr) 200px}
.home-shell .hero-art{height:200px;min-width:0}
.home-shell .tree{width:auto;height:100%;max-width:100%;font-size:0;text-shadow:none;fill:currentColor}
.home-shell .tree-back{height:75%;left:0;bottom:8px}
.home-shell .tree-front{right:0;bottom:0}
@media(max-width:720px){
  .home-shell .hero{padding:18px 20px;gap:12px;grid-template-columns:minmax(0,1fr) 120px}
  .home-shell .hero h1{font-size:34px}
  .home-shell .hero-art{height:160px}
  .home-shell .moon{width:54px;height:54px;right:4px;top:0}
  .home-shell .giftbox{transform:translateX(-50%) scale(.72);bottom:16px}
  .home-shell .cat{font-size:30px;bottom:22px}
}
@media(max-width:380px){
  .home-shell .hero{padding:16px;gap:10px;grid-template-columns:minmax(0,1fr) 96px}
  .home-shell .hero h1{font-size:32px}
  .home-shell .hero-art{height:140px}
  .home-shell .moon{width:46px;height:46px}
}

/* Participants occupy the available room height; draw tools are organizer-only. */
#app.people-view{min-height:var(--app-viewport-height,100dvh);display:flex;flex-direction:column}
#app.people-view>.topbar{flex:none}
#app.people-view>.room-shell{width:100%;flex:1;display:flex;flex-direction:column;padding-bottom:12px}
.people-view .room-notices,.people-view .tabs{flex:none}
.people-view .people-panel{width:100%;flex:1;display:flex;flex-direction:column}
.people-view .people-panel>*{flex:none}
.people-view .people-panel>.privacy-hint{font-size:11px;line-height:1.4}
.people-view .people-panel:not(.organizer-people)>.privacy-hint{margin-top:auto;padding-top:12px}
.people-view .people-panel>[data-action="leave"]{margin-top:12px}


/* Compact fixed-height people and overview panels, expandable previews, and form tiles. */
html:has(#app.people-view),body:has(#app.people-view),
html:has(#app.overview-view),body:has(#app.overview-view){height:var(--app-viewport-height,100dvh);min-height:0;overflow:hidden}
#app.people-view,#app.overview-view{height:var(--app-viewport-height,100dvh);min-height:0;overflow:hidden}
.people-view>.room-shell,.overview-view>.room-shell{min-height:0;overflow:hidden}
.people-view .people-panel{min-height:0;overflow:hidden}
.people-view .people-panel>*{flex:none}
.people-view .people-panel>.people-roster{min-height:0;flex:1 1 0;display:block;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain}
.people-roster:focus-visible{outline:3px solid #e5975a;outline-offset:-2px;border-radius:6px}
.people-view .people-panel>.people-actions{margin:0 0 5px}
.people-view .people-panel>.people-actions .button{min-height:38px;padding:8px 11px}
.people-view .people-panel>.privacy-hint{flex:none;margin:8px 0 0;padding:0;line-height:1.35}
.people-view .people-panel>.organizer-tools{flex:none;margin-top:8px}
.member-profile-link{display:inline;font-size:inherit;line-height:inherit}
.member-profile-link small{display:inline;margin-left:4px;font-size:10px;white-space:nowrap}
.management-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.management-tile{min-width:0;min-height:48px;display:grid;align-content:center;gap:2px;padding:6px 8px;border:1px solid var(--line);border-radius:9px;background:#fffdf8;color:var(--pine);text-align:left;cursor:pointer}
.management-tile b{font-size:11px;line-height:1.2}
.management-tile small{font-size:9px;line-height:1.25;color:var(--muted)}
.management-tile:hover{border-color:#c8b78e;background:#f8f5ed}
.management-tile:focus-visible{outline:3px solid #e5975a;outline-offset:2px}

.overflow-preview{position:relative;min-width:0;overflow:hidden}
.overflow-preview-body{min-width:0;max-height:var(--preview-height,160px);overflow:hidden;overflow-wrap:anywhere}
.overflow-preview.is-truncated>.overflow-preview-body{-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 calc(100% - 38px),transparent 100%);mask-image:linear-gradient(to bottom,#000 0%,#000 calc(100% - 38px),transparent 100%)}
.overflow-more{display:none;position:absolute;z-index:1;left:50%;bottom:0;transform:translateX(-50%);width:36px;height:36px;padding:0;border:1px solid #d9dfd4;border-radius:50%;background:var(--paper);color:var(--pine);box-shadow:0 2px 8px #172c2520;font-size:19px;line-height:1;cursor:pointer}
.overflow-preview.is-truncated>.overflow-more{display:grid;place-items:center}
.recipient-wishes.overflow-preview{min-height:0;flex:1;overflow:hidden}
.recipient-wishes>.overflow-preview-body{height:100%;max-height:none;overflow:hidden}
.event-description-preview{--preview-height:74px}
.event-description-preview .overflow-preview-body{max-height:74px}
.home-events-preview{min-height:0;flex:1}
.preview-card .wishlines,.preview-card .wishlines li{overflow-wrap:anywhere;word-break:break-word}

.content-modal{width:min(100%,600px);max-height:calc(var(--app-viewport-height,100dvh) - 24px);min-height:0;padding:0;overflow:hidden;display:flex;flex-direction:column}
.content-modal .modal-header{position:relative;z-index:1;flex:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 18px 10px;border-bottom:1px solid var(--line);background:var(--paper)}
.content-modal .modal-header h2{min-width:0;margin:0;font:500 22px/1.15 var(--serif);color:var(--pine)}
.content-modal .modal-header .modal-close{position:static;flex:none;width:40px;height:40px;display:grid;place-items:center;border-radius:9px}
.content-modal>.modal-body{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain}
.content-modal>.modal-footer{flex:none}
.owner-tools-modal .exclusion-box,.owner-tools-modal .draw-summary{margin-top:0}
.owner-tools-modal .exclusion-box{border:0;padding:0}
.owner-tools-modal .draw-summary{border:0;padding:0}
.option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.option-tile{min-width:0;min-height:54px;display:grid;align-content:center;gap:3px;padding:8px;border:1px solid #e3e2d9;border-radius:9px;background:#fffefa;color:var(--ink);text-align:left;cursor:pointer}
.option-tile b{font-size:12px;line-height:1.2;color:var(--pine)}
.option-tile small{font-size:10px;line-height:1.25;color:var(--muted);font-weight:400}
.option-tile[aria-pressed="true"]{border-color:#8fa58a;background:#edf2e9;box-shadow:inset 0 0 0 1px #8fa58a}
.option-tile:hover:not(:disabled){border-color:#b7a77e}
.option-tile:focus-visible{outline:3px solid #e5975a;outline-offset:2px}
.option-tile:disabled{opacity:.55;cursor:default}
.settings-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}
.settings-actions .settings-action{min-width:0;min-height:80px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;padding:10px;border:1px solid var(--line);border-radius:9px;background:#f7f5ee;color:var(--pine);text-align:left;cursor:pointer}
.settings-action b{font-size:12px;line-height:1.2}
.settings-action small{font-size:10.5px;line-height:1.3;color:var(--muted);font-weight:400}
.settings-actions .settings-action:hover{border-color:#b7a77e;background:#f0eee4}
.settings-actions button:focus-visible{outline:3px solid #e5975a;outline-offset:2px}
[hidden]{display:none!important}
@media(max-height:620px){
  .content-modal{max-height:calc(var(--app-viewport-height,100dvh) - 16px)}
  .content-modal .modal-header{padding:8px 12px 6px}
  .content-modal .modal-header h2{font-size:20px}
  .content-modal>.modal-body{padding:8px 12px}
  .option-grid{gap:5px}
  .option-tile{min-height:48px;padding:6px}
  .settings-actions{margin-top:7px;gap:5px}
}

.people-view .organizer-tools:has(>.management-tile){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}

/* Final integration for compact previews and constrained screens. */
.overflow-more{width:auto;max-width:90%;height:36px;padding:7px 12px;border-radius:9px;font-size:12px;font-weight:650;white-space:nowrap}
.member-profile-link{margin:0 0 8px 42px;padding:0;font-size:11px;min-height:24px}
.content-modal .modal-body .wishlines{padding-left:20px;margin:6px 0 20px;line-height:1.6;overflow-wrap:anywhere}
.content-modal .modal-body .wishlines li{margin-bottom:6px}
.full-description{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}
.overview-view .overview-content{min-height:0;overflow:hidden}
.overview-view .event-description-preview{flex:none}
html:has(#app.home-view),body:has(#app.home-view){height:var(--app-viewport-height,100dvh);min-height:0;overflow:hidden}
#app.home-view{height:var(--app-viewport-height,100dvh);min-height:0;overflow:hidden;display:flex;flex-direction:column}
.home-view .home-demo,.home-view .hero,.home-view .section-head,.home-view .room-notices,.home-view .archive-launch{flex:none}
.home-view .home-shell{width:100%;min-height:0;flex:1;display:flex;flex-direction:column;overflow:hidden}
.home-events-preview{display:flex;flex-direction:column;min-height:0;flex:1}
.home-events-preview>.overflow-preview-body{min-height:0;height:100%;max-height:none;flex:1;overflow:hidden}
@media(max-height:620px){
 .overview-content>.recipient-panel,.recipient-flipper{min-height:160px}
 .recipient-front{padding:12px;gap:8px}
 .recipient-art{min-height:48px}
 .event-description-preview .overflow-preview-body{max-height:56px}
}
@media(max-height:440px){
 .home-shell .hero{height:auto;min-height:0;padding:12px 16px}
 .home-shell .hero h1{font-size:25px}
 .home-shell .hero-art{height:110px}
 .home-view .section-head{margin-top:8px;margin-bottom:6px}
 .option-tile{padding:5px}
}

.modal.event-form-modal.content-modal{max-height:calc(var(--app-viewport-height,100dvh) - 24px)}

/* Immediate, low-motion feedback for native option and navigation buttons. */
.option-tile,.settings-actions .settings-action,.management-tile,.form-tab,.tab,.chat-channel{transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease,transform .12s ease}
.option-tile:active:not(:disabled),.settings-actions .settings-action:active:not(:disabled),.management-tile:active:not(:disabled),.form-tab:active:not(:disabled),.tab:active:not(:disabled),.chat-channel:active:not(:disabled){transform:scale(.985)}
.option-tile[aria-invalid="true"],.option-tile[data-save-error]{border-color:#c96b56;box-shadow:inset 0 0 0 1px #c96b56}
.option-save-status{margin:0;color:var(--muted);font-size:10px;line-height:1.3}
.option-save-status:empty{display:none}
@media(prefers-reduced-motion:reduce){.option-tile,.settings-actions .settings-action,.management-tile,.form-tab,.tab,.chat-channel{transition:none}.option-tile:active:not(:disabled),.settings-actions .settings-action:active:not(:disabled),.management-tile:active:not(:disabled),.form-tab:active:not(:disabled),.tab:active:not(:disabled),.chat-channel:active:not(:disabled){transform:none}}

/* Invitation lives below the roster tools and keeps feedback within its button. */
.people-view .people-panel>.people-invite-action{flex:none;margin-top:8px;width:100%}
.invite-button{width:100%;min-height:44px;gap:9px;padding:10px 12px;transition:background-color .16s,border-color .16s,transform .12s}
.invite-button svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.invite-button:active{transform:scale(.99)}
.invite-button.is-copied{background:#e2eddd;border-color:#b7cbb0}
.feature-panel>.invite-button{margin-top:10px}
#manual-invite-link{width:100%;font-size:14px}
@media(prefers-reduced-motion:reduce){.invite-button{transition:none}.invite-button:active{transform:none}}

/* Owner reminder and invite actions now live on Overview. */
.overview-actions{margin-top:10px}
.overview-view .overview-actions{flex:none;margin:0;gap:7px}
.overview-view .overview-actions .settings-action{min-height:72px;padding:8px;gap:4px}
.overview-view .overview-actions .settings-action b{font-size:11.5px;line-height:1.2}
.overview-view .overview-actions .settings-action small{font-size:10px;line-height:1.25}
.overview-view .overview-actions .settings-action:disabled{opacity:.55;cursor:default}
.overview-view .overview-actions .settings-action:disabled:hover{border-color:var(--line);background:#f7f5ee}
.overview-view .overview-content.has-owner-actions>.recipient-panel{min-height:128px}
.overview-view .overview-content.has-owner-actions .recipient-flipper{min-height:128px}
.overview-view .overview-content.has-owner-actions .recipient-front{padding:10px;gap:6px}
.overview-view .overview-content.has-owner-actions .recipient-art{min-height:20px}
.draw-check-error{flex:none;margin:8px 0 0;padding:9px 11px;border:1px solid #e3b2a8;border-radius:9px;background:#fff0ed;color:#8f3027;font-size:12px;line-height:1.4}

/* Preserve access when functional alerts leave unusually little room. */
.overview-view .overview-content{overflow-y:auto;overscroll-behavior:contain}

.overview-view .has-owner-actions .recipient-back-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* Participant cards, compact organizer tools, and public member profile dialogs. */
.people-view .people-roster .person-row{min-width:0;border-bottom:1px solid #eeeae1}
.people-view .person-open{width:100%;min-width:0;min-height:52px;display:flex;align-items:center;gap:10px;padding:8px 10px;border:0;border-radius:10px;background:transparent;color:var(--pine);text-align:left;cursor:pointer;transition:background-color .16s ease,transform .12s ease}
.people-view .person-open:hover{background:#f3f1e9}
.people-view .person-open:focus-visible{outline:3px solid #e5975a;outline-offset:2px;position:relative;z-index:1}
.people-view .person-open:active{transform:scale(.99);background:#ece9df}
.people-view .person-avatar{width:32px;height:32px;flex:none;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#e7d7b5;color:var(--pine);font-size:12px;font-weight:700}
.people-view .person-avatar img{width:100%;height:100%;object-fit:cover}
.people-view .person-name{min-width:0;flex:1;overflow-wrap:anywhere;font-size:14px;line-height:1.35;font-weight:650}
.people-view .member-arrow{width:30px;height:30px;flex:none;display:grid;place-items:center;border:1px solid #e5e2d8;border-radius:50%;background:#fffdf8;color:#788276}
.people-view .member-arrow svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.people-view .people-panel>.organizer-tools:has(>.management-tile){display:block;width:100%;margin-top:8px}
.people-view .management-tiles{grid-template-columns:minmax(0,1fr);gap:0}
.people-view .management-tile{width:100%;min-height:52px;padding:8px 12px;border-radius:10px}
.people-view .management-tile b{font-size:13px;line-height:1.3}
.people-view .management-tile small{font-size:11px;line-height:1.35}
.people-view .people-panel>.people-invite-action{margin-top:8px}
.people-view .people-panel>.people-draw-action{flex:none;width:100%;margin-top:7px}
.people-view .people-draw-action .draw-entry-button{width:100%;min-height:44px}
.member-profile-modal{width:min(100%,560px)}
.member-profile-modal.content-modal{height:min(520px,calc(var(--app-viewport-height,100dvh) - 24px));max-height:calc(var(--app-viewport-height,100dvh) - 24px);min-height:0;display:flex;flex-direction:column;overflow:hidden}
.member-profile-modal.content-modal>.modal-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.member-profile-modal.content-modal>.modal-footer{flex:none}
.member-profile-modal .member-details{min-width:0;overflow-wrap:anywhere}
.member-profile-modal .member-status{display:inline-flex;align-items:center;min-height:26px;margin:0 0 12px;padding:4px 9px;border-radius:999px;background:#edf0e9;color:#536c55;font-size:11px;line-height:1.3;font-weight:700}
.member-profile-modal .member-role{margin:0 0 14px;color:var(--muted);font-size:12px;line-height:1.45}
.member-profile-modal .member-profile-content{font-size:13px;line-height:1.55;overflow-wrap:anywhere}
.member-profile-modal .member-profile-content ul{margin:6px 0 12px;padding-left:21px}
.member-profile-modal .member-profile-content li{margin:0 0 6px;overflow-wrap:anywhere}
.member-profile-modal .member-contact-hint{margin:14px 0 0;padding-top:12px;border-top:1px solid var(--line);color:#697569;font-size:11px;line-height:1.5}
.member-profile-modal .member-profile-error{margin:8px 0 0;padding:9px 11px;border:1px solid #e3b2a8;border-radius:9px;background:#fff0ed;color:#8f3027;font-size:12px;line-height:1.4}
.member-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.member-actions .button{min-width:0;min-height:44px;padding:9px 10px;line-height:1.25;text-align:center;overflow-wrap:anywhere}
.member-actions>.button:only-child{grid-column:1/-1}
.member-account{margin:0 0 14px;font-size:12px;line-height:1.4;color:var(--muted);overflow-wrap:anywhere}
/* Keep asynchronously patched dialogs stable while their body and footer change. */
.wishlist-import-modal{height:min(420px,calc(var(--app-viewport-height,100dvh) - 24px));min-height:0}
.wishlist-import-modal>.modal-body{flex:1;min-height:0;overflow-y:auto}
/* Keep Basic/Settings tab changes inside one stable event-form frame. */
.event-form-modal.create-modal,.event-form-modal.event-editor{height:min(600px,calc(var(--app-viewport-height,100dvh) - 24px));min-height:0}
.event-form-modal.create-modal>.modal-body,.event-form-modal.event-editor>.modal-body{flex:1 1 0;min-height:0;overflow-y:auto}
.owner-tools-modal.content-modal{height:min(560px,calc(var(--app-viewport-height,100dvh) - 24px));min-height:0}
/* Entrance motion is opt-in: callers add these classes only for real navigation. */
.modal-backdrop.modal-enter{animation:modal-backdrop-enter .18s ease-out both}
.modal-backdrop.modal-enter>.modal{animation:modal-enter .2s cubic-bezier(.2,.75,.25,1) both}
.modal-backdrop.dialog-enter>.modal{animation:modal-enter .2s cubic-bezier(.2,.75,.25,1) both}
.view-enter{animation:view-enter .2s ease-out both}
.busy-cover{animation:busy-cover-reveal .15s ease-out .5s both}
@keyframes modal-backdrop-enter{from{opacity:0}to{opacity:1}}
@keyframes modal-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@keyframes view-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@keyframes busy-cover-reveal{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.modal-backdrop.modal-enter,.modal-backdrop.modal-enter>.modal,.modal-backdrop.dialog-enter>.modal,.view-enter{animation:none}}
@media(max-width:360px){.member-actions{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.people-view .person-open{transition:none}.people-view .person-open:active{transform:none}}

/* Shared icon geometry and consistent alignment across the app. */
.ui-icon{display:block;width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.button{line-height:1.25}
.button-icon{display:inline-grid;place-items:center;flex:none;width:18px;height:18px}
.button-icon>.ui-icon{width:18px;height:18px}
.add-event-button,.modal-close,.room-back,.icon-btn,.exclusions button{display:inline-grid;place-items:center;padding:0;line-height:1}
.add-event-button{gap:0}
.add-event-button>.ui-icon{width:22px;height:22px;stroke-width:2}
.modal-close>.ui-icon{width:20px;height:20px}
.icon-btn,.modal-close,.room-back,.event-action{appearance:none;-webkit-appearance:none;border:0;box-shadow:none;filter:none}
.icon-btn{width:32px;height:32px;flex:none;background:transparent;color:var(--pine);cursor:pointer}
.exclusions button{width:28px;height:28px;margin-top:-4px}
.exclusions button>.ui-icon{width:16px;height:16px}
.home-shell .section-head{margin-inline:0;align-items:center}
.home-shell .section-head{gap:10px}
.home-shell .section-head h2{min-width:0;font-size:24px;white-space:nowrap}
.home-actions{display:flex;align-items:center;gap:8px;flex:none}
.home-actions .button{display:inline-grid;place-items:center;width:44px;height:44px;min-width:44px;gap:0;padding:0;appearance:none;-webkit-appearance:none;box-shadow:none;filter:none}
.home-actions .archive-toggle-button[aria-pressed="true"]{background:#dfe7d9;border-color:#9eaf96}
.home-actions .archive-toggle-button>.ui-icon{width:21px;height:21px}
@media(max-width:360px){.home-shell .section-head h2{font-size:21px}.home-actions{gap:6px}}
.section-head h2{display:flex;align-items:center;gap:8px}
.count,.event-icon,.person-avatar{line-height:1}
.event-card{row-gap:1px}
.event-card .event-icon{grid-row:1 / 4;align-self:center}
.event-card .event-sub{display:contents}
.event-card .event-status{grid-column:2 / 4;grid-row:2;line-height:1.35;min-width:0;font-size:11px;color:var(--muted)}
.event-card .event-budget{grid-column:2;grid-row:3;min-width:0;font-size:11px;line-height:1.35;color:var(--muted)}
.event-card .event-date{grid-row:3;align-self:center;line-height:1.35}
.event-date b{display:grid;place-items:center;flex:none;color:#bd7950}
.event-date .ui-icon{width:16px;height:16px;stroke-width:1.6}
.room-shell>.tabs{flex:none;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden}
.tab,.form-tab,.chat-channel{display:flex;align-items:center;justify-content:center;line-height:1.25}
.tab,.form-tab{flex:1 1 0;min-width:0}
.tab{padding-inline:4px}
.option-grid{grid-auto-rows:1fr}
.option-tile{align-content:start}
.option-tile b{display:flex;align-items:flex-start;min-height:2.4em}
.settings-actions .settings-action{justify-content:flex-start}
.settings-action b{min-height:2.4em}
.chat-view .chat-footer form .chat-send{height:44px;align-self:end}
@media(max-width:380px){
 .event-card .event-status,.event-card .event-budget{font-size:10px}
 .room-shell>.tabs>.tab{font-size:11px}
 .feature-panel .panel-top h3{font-size:17px;white-space:nowrap}
 .feature-panel .event-actions{gap:2px}
}
@media(max-width:340px){.feature-panel .panel-top h3{font-size:16px}}

/* Recipient reveal: layered envelope and a letter that grows into the card. */
.recipient-panel>.recipient-flipper{--recipient-open-duration:1100ms;--recipient-close-duration:1100ms;position:relative;min-height:128px;flex:1;transform:none;transform-style:flat;transition:none;isolation:isolate;overflow:hidden;border-radius:18px}
.recipient-panel>.recipient-flipper.is-flipped{transform:none}
.recipient-flipper>.recipient-face{inset:0;width:100%;height:100%;transform:none;backface-visibility:visible;-webkit-backface-visibility:visible;transition:none!important}
.recipient-flipper>.recipient-front{z-index:2;padding:10px 14px 8px;gap:2px;background:radial-gradient(ellipse at 50% 30%,#fffdf8,#f7f0e3 75%,#eee2ce);border-color:#e5d7bf}
.recipient-front>.eyebrow{color:#7f6846;letter-spacing:.12em}
.recipient-front>.envelope-stage{width:100%;min-width:0;min-height:0;flex:1;display:flex;align-items:center;justify-content:center;overflow:visible}
.envelope-stage>.recipient-envelope-art{display:block;width:min(100%,390px);height:100%;min-height:0;max-height:100%;flex:1 1 auto;object-fit:contain;overflow:visible}
.recipient-flipper>.recipient-back{z-index:1;opacity:0;visibility:hidden;padding:16px;background:radial-gradient(ellipse at 15% 0%,#fffefb,#fffdf8 55%,#f6f1e7);transform-origin:center}
.recipient-panel .env-letter{opacity:0;transform:translateY(42px)}
.recipient-flipper[data-reveal-state="closed"]>.recipient-front{visibility:visible;opacity:1}
.recipient-flipper[data-reveal-state="closed"]>.recipient-back{visibility:hidden;opacity:0;animation:none}
.recipient-flipper[data-reveal-state="open"]>.recipient-front{visibility:hidden;opacity:0;pointer-events:none}
.recipient-flipper[data-reveal-state="open"]>.recipient-back{visibility:visible;opacity:1;animation:none}
.recipient-flipper[data-reveal-state="opening"]>.recipient-front,.recipient-flipper[data-reveal-state="closing"]>.recipient-front{visibility:visible}
.recipient-flipper[data-reveal-state="opening"]>.recipient-front{animation:recipient-front-fade 430ms ease 620ms both}
.recipient-flipper[data-reveal-state="opening"]>.recipient-front>.eyebrow{animation:recipient-copy-in 150ms ease reverse both}
.recipient-flipper[data-reveal-state="opening"] .env-flap,.recipient-flipper[data-reveal-state="closing"] .env-flap{transform-box:view-box;transform-origin:244px 105px}
.recipient-flipper[data-reveal-state="opening"] .env-flap{animation:recipient-flap-open 480ms cubic-bezier(.18,.72,.24,1) both}
.recipient-flipper[data-reveal-state="opening"] .env-flap>image{animation:recipient-flap-surface 480ms ease both}
.recipient-flipper[data-reveal-state="opening"] .env-letter{animation:recipient-letter-rise 660ms cubic-bezier(.18,.72,.24,1) 220ms both}
.recipient-flipper[data-reveal-state="opening"] .env-seal{animation:recipient-seal-lift 150ms ease both}
.recipient-flipper[data-reveal-state="opening"]>.recipient-back{visibility:visible;z-index:3;animation:recipient-letter-expand var(--recipient-open-duration) cubic-bezier(.2,.72,.22,1) both}
.recipient-flipper[data-reveal-state="opening"] .recipient-back-header,.recipient-flipper[data-reveal-state="opening"] .recipient-wishes{animation:recipient-copy-in 170ms ease 930ms both}
/* Mirror each opening track around the 1100ms endpoint, including its easing. */
.recipient-flipper[data-reveal-state="closing"]>.recipient-back{visibility:visible;z-index:3;animation:recipient-letter-expand var(--recipient-close-duration) cubic-bezier(.2,.72,.22,1) reverse both}
.recipient-flipper[data-reveal-state="closing"]>.recipient-front{z-index:2;animation:recipient-front-fade 430ms ease 50ms reverse both}
.recipient-flipper[data-reveal-state="closing"]>.recipient-front>.eyebrow{animation:recipient-copy-in 150ms ease 950ms both}
.recipient-flipper[data-reveal-state="closing"] .env-flap{animation:recipient-flap-open 480ms cubic-bezier(.18,.72,.24,1) 620ms reverse both}
.recipient-flipper[data-reveal-state="closing"] .env-flap>image{animation:recipient-flap-surface 480ms ease 620ms reverse both}
.recipient-flipper[data-reveal-state="closing"] .env-letter{animation:recipient-letter-rise 660ms cubic-bezier(.18,.72,.24,1) 220ms reverse both}
.recipient-flipper[data-reveal-state="closing"] .env-seal{animation:recipient-seal-lift 150ms ease 950ms reverse both}
.recipient-flipper[data-reveal-state="closing"] .recipient-back-header,.recipient-flipper[data-reveal-state="closing"] .recipient-wishes{animation:recipient-copy-in 170ms ease reverse both}
@keyframes recipient-flap-open{from{transform:rotateZ(-9deg) rotateX(0deg) rotateZ(9deg)}to{transform:rotateZ(-9deg) rotateX(168deg) rotateZ(9deg)}}
@keyframes recipient-flap-surface{0%,18%{opacity:1}45%,100%{opacity:0}}
@keyframes recipient-letter-rise{from{transform:translateY(42px);opacity:0}to{transform:translateY(-110px);opacity:1}}
@keyframes recipient-seal-lift{from{transform:translateY(0);opacity:1}to{transform:translateY(-12px);opacity:0}}
@keyframes recipient-front-fade{to{opacity:0;visibility:hidden}}
@keyframes recipient-copy-in{from{opacity:0}to{opacity:1}}
@keyframes recipient-letter-expand{0%,43%{opacity:0;clip-path:inset(27% 23% 28% round 12px);transform:scale(.72) translateY(-10%)}52%{opacity:1;clip-path:inset(25% 22% 27% round 12px);transform:scale(.74) translateY(-9%)}92%,100%{opacity:1;clip-path:inset(0 round 18px);transform:scale(1)}}

/* Acknowledgement for an explicit wishlist save; never moves the room layout. */
.save-feedback{position:fixed;z-index:70;top:0;left:0;width:100%;height:var(--app-viewport-height,100dvh);padding:16px;display:grid;place-items:center;pointer-events:none}
.save-feedback-card{display:grid;justify-items:center;gap:12px;min-width:164px;max-width:260px;padding:22px 26px;border:1px solid #d7e6d4;border-radius:20px;background:#fffef9;color:var(--pine);box-shadow:0 12px 36px #172c2524;text-align:center;animation:save-feedback-in .16s ease-out both,save-feedback-out .16s ease-in 1.2s forwards}
.save-feedback-check{display:block;width:56px;height:56px;fill:none}
.save-feedback-check circle{fill:#e6f2e6;stroke:#c6dfc6;stroke-width:1.5}
.save-feedback-check path{stroke:#38834a;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.save-feedback-card strong{font-size:16px;line-height:1.25}
.save-feedback-card small{max-width:200px;font-size:11px;line-height:1.4;color:var(--muted)}
@keyframes save-feedback-in{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
@keyframes save-feedback-out{to{opacity:0}}
@media(prefers-reduced-motion:reduce){.save-feedback-card{animation:none}}

.launch-error{width:min(100%,440px);min-height:var(--app-viewport-height,100dvh);margin:auto;padding:24px 16px;display:flex;align-items:center}
.launch-error>.panel{width:100%;padding:24px}
.launch-error h1{margin:0 0 14px;font:500 26px/1.15 var(--serif)}
.launch-error p{margin:0 0 20px;font-size:14px;line-height:1.55;color:#667365}
.launch-error .button{width:100%;min-height:44px}

