.sunny-guest-totals{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:16px 0}
.sunny-guest-totals>div{padding:12px 8px;border:1px solid var(--bp-border,var(--line,#ded2be));border-radius:12px;text-align:center;background:var(--bp-card,var(--card,#fff))}
.sunny-guest-totals strong{display:block;font-size:1.45rem;color:var(--bp-text,var(--text,#342b24))}.sunny-guest-totals span{font-size:.8rem}
.sunny-guest-note{font-size:.88rem;line-height:1.5}
.sunny-guest-tools,.sunny-guest-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.sunny-guest-fields,.sunny-guest-filters{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.sunny-guest-fields label,.sunny-guest-filters label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:.9rem}
.sunny-guest-fields input,.sunny-guest-fields select,.sunny-guest-fields textarea,.sunny-guest-filters input,.sunny-guest-filters select{box-sizing:border-box;width:100%;min-width:0;min-height:44px;font:inherit}
.sunny-guest-wide{grid-column:1/-1}#bpGuestForm{padding:16px;margin:16px 0;border:1px solid var(--bp-border,#decbaa);border-radius:14px}#bpGuestForm[hidden]{display:none!important}
.sunny-guest-form-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.sunny-guest-row{display:flex;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--bp-border,#decbaa);overflow-wrap:anywhere}.sunny-guest-info{min-width:0}.sunny-guest-row strong{font-size:1rem}.sunny-guest-row p{margin:5px 0;font-size:.88rem;line-height:1.5}.sunny-guest-notes{white-space:pre-wrap}
.sunny-guest-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:7px;font-size:.82rem}.sunny-guest-state{padding:3px 8px;border-radius:8px;font-weight:700;background:#eee5d4;color:#473929}.sunny-guest-state.accepted{background:#d8efdf;color:#174c2d}.sunny-guest-state.invited{background:#fff0b5;color:#493400}.sunny-guest-state.declined{background:#f5dfe1;color:#702f37}
.sunny-guest-actions button,.sunny-guest-tools button,.sunny-guest-form-actions button{min-height:44px;font:inherit;padding:9px 12px}.sunny-guest-summary-card{margin-top:18px;padding:18px;border:1px solid var(--line,#ded2be);border-radius:14px}.sunny-guest-summary-card h3{margin-top:0}
@media(max-width:650px){.sunny-guest-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.sunny-guest-row{flex-direction:column;gap:10px}.sunny-guest-actions{align-self:flex-start}}
@media(max-width:450px){.sunny-guest-fields,.sunny-guest-filters{grid-template-columns:minmax(0,1fr)}}

/* DJ-P guest overview: scoped dark theme; BP styles remain unchanged. */
html[data-theme="dark"] .sunny-guest-summary-card{color-scheme:dark;background:#121c2b!important;color:#e8edf5!important;border-color:#334155!important}
html[data-theme="dark"] .sunny-guest-summary-card .sunny-guest-totals>div{background:#172231!important;color:#e8edf5!important;border-color:#465366!important}
html[data-theme="dark"] .sunny-guest-summary-card h3,html[data-theme="dark"] .sunny-guest-summary-card .sunny-guest-totals strong{color:#eef3f8!important}
html[data-theme="dark"] .sunny-guest-summary-card .sunny-guest-totals span,html[data-theme="dark"] .sunny-guest-summary-card .sunny-guest-note{color:#c8d2df!important}
html[data-theme="dark"] .sunny-guest-summary-card button.secondary{background:#243246!important;color:#eef3f8!important;border:1px solid #526176!important;min-height:44px}

/* WIR. guest planning: editorial wedding-inspired interface */
#bp-panel-guests>.card{background:linear-gradient(165deg,#fffaf7 0%,#fff 55%,#fcf8f5 100%);border:1px solid #e9dcd5;border-radius:20px;padding:clamp(16px,3vw,28px);box-shadow:0 12px 35px #603d3012;color:#49322f}
.wir-guests-hero{position:relative;overflow:hidden;border-radius:17px;min-height:178px;margin:-3px -3px 22px;background:linear-gradient(95deg,#fff3ed 0%,#f9e7de 48%,#cda99b 100%)}
.wir-guests-hero:after{content:"";position:absolute;right:-4%;top:-35%;width:53%;height:190%;opacity:.65;background:radial-gradient(ellipse at 70% 45%,#f7d5cb 0 11%,transparent 12%),radial-gradient(ellipse at 50% 36%,#eab9aa 0 8%,transparent 9%),radial-gradient(ellipse at 77% 68%,#f7e2d4 0 10%,transparent 11%),radial-gradient(ellipse at 40% 64%,#fff6eb 0 7%,transparent 8%);filter:blur(10px);pointer-events:none}
.wir-guests-hero-content{position:relative;z-index:1;padding:clamp(22px,4vw,38px);max-width:710px}
.wir-guests-eyebrow{display:block;text-transform:uppercase;letter-spacing:.16em;font-size:.68rem;font-weight:750;color:#996f66}
.wir-guests-hero h2{font-family:Georgia,serif;font-size:clamp(2rem,4vw,3.2rem);font-weight:400;line-height:1.1;margin:12px 0;color:#55302e}
.wir-guests-hero p{max-width:550px;line-height:1.6;margin:0;color:#644d49}
.wir-guest-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0 24px}
#bp-panel-guests .wir-guest-action{min-width:0;min-height:132px;display:flex;gap:12px;align-items:flex-start;text-align:left;border:1px solid #eadbd4;border-radius:16px;padding:18px 14px;background:#fff;color:#53332e;box-shadow:0 5px 15px #56362a0a;transition:transform .15s,box-shadow .15s}
#bp-panel-guests .wir-guest-action:hover{transform:translateY(-2px);box-shadow:0 8px 20px #56362a19}
#bp-panel-guests .wir-guest-action:nth-child(2){background:#fff0eb;border-color:#e7c8bc}
.wir-guest-action-icon{flex-shrink:0;font-size:1.9rem;font-weight:300;color:#ac786e;line-height:1}
.wir-guest-action strong{display:block;font-family:Georgia,serif;font-size:1.06rem;font-weight:500;line-height:1.3}
.wir-guest-action small{display:block;font-size:.75rem;line-height:1.5;margin-top:7px;color:#7d6a65}
.wir-guest-action-arrow{align-self:flex-end;margin-left:auto;font-size:1.15rem;color:#a57469}
#bp-panel-guests .sunny-guest-totals{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:12px 0}
#bp-panel-guests .sunny-guest-totals>div{background:#fff9f6;border:1px solid #edddd6;padding:16px 8px}
#bp-panel-guests .sunny-guest-totals strong{color:#70443d;font-family:Georgia,serif;font-size:1.65rem}
#bp-panel-guests .sunny-guest-note{color:#806c66}
.wir-guest-list-heading{display:flex;justify-content:space-between;gap:12px;align-items:baseline;border-top:1px solid #eddfd8;padding-top:24px;margin-top:24px}
.wir-guest-list-heading h3{font:400 1.65rem Georgia,serif;color:#573631;margin:0}
.wir-guest-list-heading span{font-size:.82rem;color:#8b756f}
#bp-panel-guests .sunny-guest-filters{margin:16px 0 18px}
#bp-panel-guests .sunny-guest-filters input,#bp-panel-guests .sunny-guest-filters select,#bp-panel-guests .sunny-guest-fields input,#bp-panel-guests .sunny-guest-fields select,#bp-panel-guests .sunny-guest-fields textarea{border:1px solid #e3d4ce;border-radius:10px;background:#fff;color:#4b3934;padding:11px}
#bp-panel-guests .sunny-guest-row{background:#fff;border:1px solid #efe4de;border-radius:12px;margin:9px 0;padding:16px}
#bp-panel-guests .sunny-guest-import{border:1px solid #eadbd4;background:#fffdfb;border-radius:17px;padding:clamp(16px,3vw,26px);margin:18px 0}
.wir-import-heading h3{font:400 1.7rem Georgia,serif;color:#553631;margin:8px 0}
.wir-import-heading p{margin:0 0 18px;color:#826d66}
.wir-import-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0 22px}
.wir-import-steps span{display:flex;align-items:center;gap:8px;font-size:.83rem;color:#6b514b}
.wir-import-steps b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#b47d72;color:#fff;font-family:Georgia,serif;font-size:1rem;font-weight:400;flex-shrink:0}
#bp-panel-guests .sunny-guest-import-warning{background:#fff0cb;color:#4d3512}
#bp-panel-guests .sunny-guest-import button:not(.secondary){background:#88574f;color:white}
@media(max-width:900px){.wir-guest-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.wir-guest-action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#bp-panel-guests .wir-guest-action{min-height:130px;flex-direction:column;padding:12px;gap:6px}.wir-guest-action-arrow{display:none}.wir-guest-action strong{font-size:.97rem}.wir-guest-action small{font-size:.72rem}.wir-guest-list-heading{display:block}.wir-guest-list-heading span{display:block;margin-top:7px}.wir-import-steps{grid-template-columns:1fr}.wir-guests-hero:after{opacity:.3}}
:root[data-theme="dark"] #bp-panel-guests>.card{background:#1b2940;color:#f2e9e4;border-color:#574c51}
:root[data-theme="dark"] .wir-guests-hero{background:linear-gradient(100deg,#3c303b,#61474c)}
:root[data-theme="dark"] .wir-guests-hero h2,:root[data-theme="dark"] .wir-guests-hero p,:root[data-theme="dark"] .wir-guest-list-heading h3{color:#fff0e8}
:root[data-theme="dark"] #bp-panel-guests .wir-guest-action,:root[data-theme="dark"] #bp-panel-guests .sunny-guest-row,:root[data-theme="dark"] #bp-panel-guests .sunny-guest-import{background:#28344b;color:#f3e8e2;border-color:#65575a}
:root[data-theme="dark"] #bp-panel-guests .wir-guest-action:nth-child(2){background:#49383f}
:root[data-theme="dark"] #bp-panel-guests .sunny-guest-totals>div{background:#28344b;border-color:#65575a}
:root[data-theme="dark"] #bp-panel-guests .sunny-guest-totals strong{color:#f6d3c8}

/* V1.22.58: tidy guest search and filter */
#bp-panel-guests .wir-guest-list-heading{align-items:center;margin-top:26px;padding:24px 2px 12px;border-top:1px solid #eddfd8}
#bp-panel-guests .wir-guest-list-heading h3{margin:5px 0 0;font:400 clamp(1.5rem,3vw,1.85rem) Georgia,serif;line-height:1.2}
#bp-panel-guests .wir-guest-list-heading p{margin:0;color:#8b756f;font-size:.84rem;line-height:1.45;text-align:right}
#bp-panel-guests .sunny-guest-filters{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:14px;align-items:end;background:#fff8f4;border:1px solid #efe2dc;border-radius:15px;padding:18px;margin:12px 0 15px}
#bp-panel-guests .sunny-guest-filters label{display:flex;flex-direction:column;gap:8px;margin:0;color:#6d5049;font-weight:650;font-size:.83rem}
#bp-panel-guests .sunny-guest-filters input,#bp-panel-guests .sunny-guest-filters select{appearance:auto;display:block;width:100%;height:48px;min-height:48px;line-height:1.3;border:1px solid #e1d0c8;border-radius:10px;background:#fff;color:#513c36;font:inherit;font-size:.94rem;padding:0 14px;box-sizing:border-box}
#bp-panel-guests .sunny-guest-filters input:focus,#bp-panel-guests .sunny-guest-filters select:focus{outline:2px solid #b98074;outline-offset:2px}
#bp-panel-guests .sunny-guest-filters input::placeholder{color:#9d918c;font-weight:400}
:root[data-theme="dark"] #bp-panel-guests .sunny-guest-filters{background:#28344b;border-color:#65575a}
:root[data-theme="dark"] #bp-panel-guests .sunny-guest-filters label,:root[data-theme="dark"] #bp-panel-guests .wir-guest-list-heading p{color:#e1c6bf}
:root[data-theme="dark"] #bp-panel-guests .sunny-guest-filters input,:root[data-theme="dark"] #bp-panel-guests .sunny-guest-filters select{background:#1b2940;color:#fff;border-color:#65575a}
@media(max-width:600px){#bp-panel-guests .wir-guest-list-heading{display:block}#bp-panel-guests .wir-guest-list-heading p{text-align:left;margin:9px 0 0}#bp-panel-guests .sunny-guest-filters{grid-template-columns:minmax(0,1fr);padding:14px;gap:13px}}

/* V1.22.59: wedding photo header (image remains decorative; text stays selectable and accessible) */
#bp-panel-guests .wir-guests-hero{background:#f8eae3;min-height:205px;isolation:isolate}
#bp-panel-guests .wir-guests-hero:after{content:"";position:absolute;inset:0 0 0 35%;width:auto;height:auto;opacity:1;filter:none;background:url('/brautpaar/gaesteliste-header-v1.webp') center right/cover no-repeat;mask-image:linear-gradient(to right,transparent 0%,#000 45%);-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 45%);pointer-events:none;z-index:-1}
#bp-panel-guests .wir-guests-hero-content{max-width:690px;padding:clamp(23px,4vw,38px)}
#bp-panel-guests .wir-guests-hero h2{font-size:clamp(2rem,4vw,3.05rem)}
@media(max-width:650px){#bp-panel-guests .wir-guests-hero:after{inset:0 0 0 30%;opacity:.48;mask-image:linear-gradient(to right,transparent,#000 80%);-webkit-mask-image:linear-gradient(to right,transparent,#000 80%)}#bp-panel-guests .wir-guests-hero{min-height:220px}}
:root[data-theme="dark"] #bp-panel-guests .wir-guests-hero{background:#44343b}
:root[data-theme="dark"] #bp-panel-guests .wir-guests-hero:after{opacity:.45}

/* V1.22.60: avoid double lettering; picture occupies only right side */
#bp-panel-guests .wir-guests-hero{background:#f7e9e2;isolation:isolate}
#bp-panel-guests .wir-guests-hero:after{background-image:url('/brautpaar/gaesteliste-header-v1.webp');background-position:center right;background-size:cover;left:52%;-webkit-mask-image:linear-gradient(to right,transparent,#000 48%);mask-image:linear-gradient(to right,transparent,#000 48%)}
#bp-panel-guests .wir-guests-hero h2,#bp-panel-guests .wir-guests-hero p,#bp-panel-guests .wir-guests-eyebrow{text-shadow:none!important}

/* V1.22.61: actual new guest-list artwork, cropped to avoid duplicated headline */
#bp-panel-guests .wir-guests-hero:after{background-image:url('/brautpaar/gaesteliste-header-v2.webp');background-position:center right;background-size:cover;left:48%;opacity:1}
@media(max-width:650px){#bp-panel-guests .wir-guests-hero:after{left:42%;opacity:.38}}

/* V1.22.65: compact and scalable wedding guest overview */
#bp-panel-guests .wir-guest-list-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0 10px}
#bp-panel-guests .wir-guest-view-switch{display:flex;gap:3px;padding:4px;background:#f8eee9;border:1px solid #ebdbd3;border-radius:12px}
#bp-panel-guests .wir-guest-view-switch button{border:0;border-radius:9px;background:transparent;color:#72544d;padding:9px 16px;font-size:.86rem}
#bp-panel-guests .wir-guest-view-switch button[aria-pressed="true"]{background:#fff;color:#55352f;box-shadow:0 2px 7px #4e2e2215}
#bp-panel-guests .wir-guest-sort{display:flex;align-items:center;gap:9px;color:#755d55;font-size:.82rem}
#bp-panel-guests .wir-guest-sort select{min-height:40px;border:1px solid #e7d6ce;border-radius:9px;padding:8px;background:#fff;color:#543b35}
#bp-panel-guests .wir-guest-compact-list{border:1px solid #eadbd4;border-radius:15px;overflow:hidden;background:#fff}
#bp-panel-guests .wir-guest-compact-item+.wir-guest-compact-item{border-top:1px solid #f0e6e1}
#bp-panel-guests .wir-guest-compact-main{display:flex;align-items:center;gap:12px;width:100%;min-height:62px;padding:10px 16px;text-align:left;border:0;background:#fff;color:#4e3630}
#bp-panel-guests .wir-guest-compact-main:hover,#bp-panel-guests .wir-guest-compact-main[aria-expanded="true"]{background:#fff8f4}
#bp-panel-guests .wir-guest-avatar{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:50%;background:#f2e3dc;color:#966d60;font:500 .76rem Georgia,serif}
#bp-panel-guests .wir-guest-identity{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}
#bp-panel-guests .wir-guest-identity strong{font-size:.94rem;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#bp-panel-guests .wir-guest-identity small{font-size:.75rem;color:#8a756e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#bp-panel-guests .wir-guest-chevron{font-size:1.2rem;color:#a27b70}
#bp-panel-guests .wir-guest-compact-detail{background:#fffbf8;border-top:1px solid #f0e5df;padding:12px 18px 18px 65px}
#bp-panel-guests .wir-guest-compact-detail p{margin:5px 0;color:#735b53;font-size:.87rem;overflow-wrap:anywhere}
#bp-panel-guests .wir-guest-compact-detail .sunny-guest-actions{margin-top:12px}
#bp-panel-guests .wir-guest-group{border-bottom:1px solid #eadbd4}
#bp-panel-guests .wir-guest-group:last-child{border-bottom:0}
#bp-panel-guests .wir-guest-group h4{font:500 1rem Georgia,serif;color:#765147;background:#f9f0eb;padding:11px 16px;margin:0}
#bp-panel-guests .wir-guest-pagination{display:flex;align-items:center;justify-content:center;gap:15px;margin:16px 0 22px}
#bp-panel-guests .wir-guest-pagination button{min-height:38px;border-radius:9px;padding:8px 13px}
#bp-panel-guests .wir-guest-pagination span{color:#826c64;font-size:.82rem}
:root[data-theme="dark"] #bp-panel-guests .wir-guest-compact-list,:root[data-theme="dark"] #bp-panel-guests .wir-guest-compact-main{background:#28344b;color:#f3e8e2;border-color:#65575a}
:root[data-theme="dark"] #bp-panel-guests .wir-guest-compact-detail,:root[data-theme="dark"] #bp-panel-guests .wir-guest-compact-main:hover{background:#354057}
@media(max-width:550px){#bp-panel-guests .wir-guest-list-toolbar{align-items:stretch;flex-direction:column}#bp-panel-guests .wir-guest-sort{justify-content:space-between}#bp-panel-guests .wir-guest-compact-main{padding:10px;gap:8px}#bp-panel-guests .wir-guest-avatar{width:31px;height:31px}#bp-panel-guests .wir-guest-compact-detail{padding-left:12px}#bp-panel-guests .wir-guest-pagination{gap:8px}}

/* V1.22.67 – iPhone guest dashboard: prevent five squeezed counters */
@media(max-width:700px){
 #bp-panel-guests>.card{min-width:0;padding:14px;border-radius:17px;overflow:hidden}
 #bp-panel-guests .sunny-guest-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0}
 #bp-panel-guests .sunny-guest-totals>div{min-width:0;min-height:76px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 7px;box-sizing:border-box}
 #bp-panel-guests .sunny-guest-totals>div:last-child{grid-column:1/-1;min-height:65px}
 #bp-panel-guests .sunny-guest-totals strong{font-size:clamp(1.55rem,7vw,2rem);line-height:1.15}
 #bp-panel-guests .sunny-guest-totals span{font-size:.79rem;line-height:1.35;overflow-wrap:break-word;text-align:center}
 #bp-panel-guests .wir-guests-hero{min-height:0;margin:0 0 16px;border-radius:15px}
 #bp-panel-guests .wir-guests-hero-content{padding:22px 19px;max-width:none}
 #bp-panel-guests .wir-guests-hero h2{font-size:clamp(1.85rem,7.2vw,2.65rem);line-height:1.13;margin:10px 0}
 #bp-panel-guests .wir-guests-hero p{font-size:.91rem;line-height:1.5;max-width:32ch}
 #bp-panel-guests .wir-guests-hero:after{left:42%;opacity:.24;background-position:65% center;-webkit-mask-image:linear-gradient(to right,transparent,#000 65%);mask-image:linear-gradient(to right,transparent,#000 65%)}
 #bp-panel-guests .wir-guest-action-grid{gap:9px;margin:16px 0 22px}
 #bp-panel-guests .wir-guest-action{min-height:112px;padding:13px 12px;gap:6px;border-radius:13px}
 #bp-panel-guests .wir-guest-action-icon{font-size:1.5rem}
 #bp-panel-guests .wir-guest-action strong{font-size:clamp(.92rem,3.4vw,1.04rem);line-height:1.23;overflow-wrap:anywhere}
 #bp-panel-guests .wir-guest-action small{font-size:.72rem;line-height:1.35;margin-top:5px}
 #bp-panel-guests .wir-guest-action-arrow{display:none}
 #bp-panel-guests .wir-guest-list-heading{padding-top:18px;margin-top:18px}
}
@media(max-width:380px){
 #bp-panel-guests>.card{padding:10px}
 #bp-panel-guests .wir-guest-action{padding:11px 9px}
 #bp-panel-guests .wir-guest-action strong{font-size:.88rem}
}
