:root{--bg:#fff9f5;--surface:#fff;--text:#201a17;--muted:#756a65;--brand:#f2512c;--brand2:#f2512c;--line:#eadfd9;--green:#1f9d68;--yellow:#be7b00;--red:#d74b49;--shadow:0 18px 60px rgba(72,38,24,.09);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:linear-gradient(180deg,#fff9f5 0,#fff 50%);color:var(--text);min-height:100vh}a{color:inherit;text-decoration:none}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;max-width:1080px;margin:auto;padding:0 22px}.brand{display:flex;align-items:center;gap:10px;font-weight:850;font-size:19px}.brandmark{width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;display:grid;place-items:center;box-shadow:0 8px 18px rgba(242,81,44,.26)}nav{display:flex;align-items:center;gap:12px}.hello{color:var(--muted);font-size:14px}.inline{display:inline}.linkbtn{background:none;border:0;font:inherit;cursor:pointer}.shell{max-width:900px;margin:auto;padding:28px 20px 80px}.hero{padding:70px 0 40px;max-width:720px}.eyebrow{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--brand)}h1{font-size:clamp(38px,7vw,72px);line-height:.98;letter-spacing:-.045em;margin:12px 0 20px}h1 span{color:var(--brand)}h2{letter-spacing:-.025em}.hero p{font-size:20px;line-height:1.55;color:var(--muted);max-width:650px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.btn{border:0;border-radius:16px;padding:13px 18px;font-weight:800;font-size:15px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.btn.primary{background:var(--brand);color:white;box-shadow:0 10px 24px rgba(242,81,44,.22)}.btn.ghost{background:#fff;border:1px solid var(--line)}.btn.big{padding:16px 22px;font-size:17px}.btn.full{width:100%}.btn.whatsapp{background:#1fc76a;color:#fff;margin-top:10px}.demo-card,.form-card,.panel,.share-card,.winner,.event-card,.empty,.center-card{background:rgba(255,255,255,.94);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:26px}.demo-card{padding:28px;max-width:560px;transform:rotate(-1deg)}.swipe-pill,.tag,.status,.count-badge{display:inline-flex;padding:6px 9px;border-radius:999px;background:#fff0ea;color:#b64231;font-size:11px;font-weight:900;letter-spacing:.05em}.mini-row,.result-row{display:flex;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--line)}.mini-row.best{color:var(--green)}.venue-demo{margin-top:18px;padding:18px;background:#f5fff9;border-radius:18px;display:flex;flex-direction:column}.venue-demo span,.result-row span,.muted,.optional{color:var(--muted);font-size:14px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:20px 0 28px}.page-head h1,.invite-head h1{font-size:clamp(36px,7vw,58px);margin:8px 0}.form-card{padding:28px}.narrow{max-width:500px;margin:40px auto}.form-card label,.confirm label{display:block;font-size:13px;font-weight:800;margin:16px 0 8px}.form-card input,.form-card select,.confirm select,.sharebox input{width:100%;border:1px solid var(--line);background:#fff;border-radius:14px;padding:14px;font:inherit;outline:none}.form-card input:focus,.confirm select:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(242,81,44,.10)}.choice-row{display:flex;gap:8px;flex-wrap:wrap}.choice input,.vote input,.venue-choice input{position:absolute;opacity:0;pointer-events:none}.choice span{display:block;padding:12px 15px;border:1px solid var(--line);border-radius:14px;cursor:pointer}.choice input:checked+span{border-color:var(--brand);background:#fff0ea}.date-list,.venue-inputs{display:grid;gap:10px}.date-option{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:8px}.event-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.event-card{padding:20px;transition:.2s}.event-card:hover{transform:translateY(-2px)}.event-top{display:flex;justify-content:space-between}.event-card h3{font-size:22px;margin-bottom:28px}.event-meta,.event-code{color:var(--muted);font-size:13px}.event-code{margin-top:6px}.status.voting{background:#fff3da;color:#9a6200}.status.confirmed{background:#e7f9ef;color:#147c4f}.empty,.center-card{text-align:center;padding:52px 28px}.huge{font-size:52px}.share-card,.panel{padding:22px;margin:14px 0}.share-card>span{font-weight:850}.sharebox{display:flex;gap:8px;margin-top:10px}.sharebox input{min-width:0}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.result-row>div{display:flex;flex-direction:column}.counts{align-items:flex-end}.people{display:flex;flex-wrap:wrap;gap:8px}.people span{padding:8px 11px;background:#f8f4f1;border-radius:999px;font-size:13px}.winner{padding:22px;display:flex;align-items:center;gap:20px;background:linear-gradient(135deg,#f0fff7,#fff)}.invite-head{text-align:center;padding:30px 10px}.invite-head p{color:var(--muted)}.vote-date{padding:18px 0;border-bottom:1px solid var(--line)}.date-name{display:flex;justify-content:space-between;margin-bottom:10px}.date-name span{color:var(--muted)}.vote-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.vote span{display:block;text-align:center;padding:11px 6px;border:1px solid var(--line);border-radius:13px;font-size:13px;font-weight:800;cursor:pointer}.vote input:checked+span{box-shadow:inset 0 0 0 2px currentColor}.vote.yes input:checked+span{color:var(--green);background:#ebfff4}.vote.maybe input:checked+span{color:var(--yellow);background:#fff8e7}.vote.no input:checked+span{color:var(--red);background:#fff0f0}.venue-votes{display:grid;gap:9px}.venue-choice span{display:flex;justify-content:space-between;align-items:center;padding:15px;border:1px solid var(--line);border-radius:15px;cursor:pointer}.venue-choice span small{color:var(--muted)}.venue-choice input:checked+span{border-color:var(--brand);background:#fff3ef}.compact{box-shadow:none}.toast{background:#24201e;color:#fff;padding:13px 16px;border-radius:14px;margin-bottom:18px}.footer{text-align:center;color:var(--muted);padding:30px;font-size:13px}.sticky-save{margin-top:14px}@media(max-width:680px){.shell{padding:15px 14px 80px}.topbar{height:62px;padding:0 15px}.hello{display:none}.hero{padding-top:45px}.hero p{font-size:17px}.event-grid,.stats-grid{grid-template-columns:1fr}.date-option{grid-template-columns:1fr 1fr}.date-option input:first-child{grid-column:1/-1}.page-head{align-items:flex-end}.page-head h1{font-size:38px}.form-card,.panel,.share-card{padding:18px;border-radius:20px}.sharebox{flex-direction:column}.sticky-save{position:sticky;bottom:12px;z-index:5}.vote-buttons{grid-template-columns:1fr}.vote span{text-align:left}.demo-card{transform:none}}
.admin-link{font-weight:850;color:var(--brand)}.admin-actions{display:flex;gap:8px;flex-wrap:wrap}.warning{background:#fffaf0;border-color:#f2d59b}.admin-table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}.admin-table{width:100%;border-collapse:collapse;min-width:720px}.admin-table th,.admin-table td{padding:14px 16px;border-bottom:1px solid var(--line);text-align:left;font-size:14px}.admin-table th{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.05em}.venue-admin-name{display:flex;align-items:center;gap:12px}.venue-admin-name img,.venue-thumb{width:46px;height:46px;border-radius:13px;object-fit:cover;background:#fff3ef;display:grid;place-items:center}.venue-thumb.google{background:#eef3ff;color:#245cc0;font-weight:900}.venue-admin-name div:last-child{display:flex;flex-direction:column;gap:3px}.venue-admin-name small{color:var(--muted)}.source-badge{font-size:11px;font-weight:900;padding:5px 8px;border-radius:999px}.source-badge.manual{background:#fff0ea;color:#b64231}.source-badge.google{background:#eef3ff;color:#245cc0}.row-actions{white-space:nowrap}.row-actions>*{margin-right:10px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.form-grid .span2{grid-column:1/-1}.form-card textarea{width:100%;border:1px solid var(--line);background:#fff;border-radius:14px;padding:14px;font:inherit;resize:vertical}.toggle-row{display:flex;gap:18px;margin:18px 0}.quick-searches{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 16px}.quick-searches button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 11px;cursor:pointer}.google-results{display:grid;gap:8px;margin-bottom:16px}.google-result{display:flex;gap:12px;border:1px solid var(--line);border-radius:16px;padding:14px;cursor:pointer}.google-result:has(input:checked){border-color:var(--brand);background:#fff4ef}.google-result div{display:flex;flex-direction:column;gap:3px}.google-result span,.google-result small{color:var(--muted)}.catalog-venues{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.catalog-venue input{position:absolute;opacity:0}.catalog-venue span{border:1px solid var(--line);border-radius:16px;padding:10px;display:grid;grid-template-columns:54px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;cursor:pointer}.catalog-venue img,.catalog-venue i{width:54px;height:54px;border-radius:12px;grid-row:1/3;object-fit:cover;background:#fff3ef;display:grid;place-items:center;font-style:normal}.catalog-venue small{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.catalog-venue input:checked+span{border-color:var(--brand);box-shadow:0 0 0 2px rgba(242,81,44,.08);background:#fff5f1}@media(max-width:680px){.admin-actions{width:100%}.admin-actions .btn{flex:1}.form-grid{grid-template-columns:1fr}.form-grid .span2{grid-column:auto}.catalog-venues{grid-template-columns:1fr}}

/* AperiSwipe v0.3 — venue swipe */
.swipe-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.swipe-head h2{margin:4px 0 4px}.swipe-progress{flex:0 0 auto;border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900;color:var(--muted)}.venue-swipe-stage{position:relative;min-height:470px;margin:18px auto 12px;max-width:460px;touch-action:pan-y}.venue-swipe-card{position:absolute;inset:0;background:#fff;border:1px solid var(--line);border-radius:26px;overflow:hidden;box-shadow:0 22px 70px rgba(45,27,19,.16);user-select:none;cursor:grab;transform-origin:50% 100%;transition:transform .25s ease,opacity .25s ease;will-change:transform}.venue-swipe-card:active{cursor:grabbing}.venue-swipe-card.is-hidden{display:none}.venue-swipe-card.throw-left{transform:translateX(-135%) rotate(-18deg)!important;opacity:0}.venue-swipe-card.throw-right{transform:translateX(135%) rotate(18deg)!important;opacity:0}.venue-swipe-photo{height:310px;position:relative;overflow:hidden;background:#f6eee9}.venue-swipe-photo img,.venue-photo-placeholder{width:100%;height:100%;object-fit:cover;display:block}.venue-photo-placeholder{display:grid;place-items:center;font-size:82px;background:linear-gradient(145deg,#fff0e7,#ffd6c8)}.venue-swipe-photo:after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,rgba(20,14,11,.45));pointer-events:none}.compatibility-badge{position:absolute;left:14px;bottom:14px;z-index:2;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);border-radius:999px;padding:8px 11px;font-size:12px;font-weight:900;color:var(--brand)}.swipe-stamp{position:absolute;top:28px;z-index:3;border:4px solid currentColor;border-radius:10px;padding:6px 10px;font-size:23px;font-weight:950;letter-spacing:.06em;opacity:0;transition:opacity .08s;transform:rotate(-10deg);background:rgba(255,255,255,.72)}.swipe-stamp.like{left:24px;color:var(--green)}.swipe-stamp.pass{right:24px;color:var(--red);transform:rotate(10deg)}.venue-swipe-card.drag-like .swipe-stamp.like,.venue-swipe-card.drag-pass .swipe-stamp.pass{opacity:1}.venue-swipe-content{padding:18px 20px;display:grid;grid-template-columns:1fr auto;gap:8px 16px;align-items:start}.venue-swipe-content h3{font-size:25px;line-height:1.05;margin:0 0 7px;letter-spacing:-.03em}.venue-swipe-content p{margin:0;color:var(--muted);font-size:13px;line-height:1.35}.venue-group-score{text-align:right;display:flex;flex-direction:column;gap:2px}.venue-group-score strong{font-size:16px;color:var(--brand)}.venue-group-score span,.venue-source{font-size:11px;color:var(--muted)}.venue-source{grid-column:1/-1}.venue-swipe-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:460px;margin:0 auto}.swipe-action{border:1px solid var(--line);background:#fff;border-radius:18px;padding:14px 18px;font:inherit;font-weight:900;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:9px;box-shadow:0 8px 24px rgba(45,27,19,.06)}.swipe-action span{font-size:22px;line-height:1}.swipe-action.pass{color:var(--red)}.swipe-action.like{color:var(--green)}.swipe-action:hover{transform:translateY(-1px)}.swipe-help{text-align:center;color:var(--muted);font-size:12px;margin:9px 0 0}.swipe-complete{text-align:center;max-width:460px;margin:18px auto 4px;padding:28px 18px;border:1px dashed var(--line);border-radius:22px;background:#fffaf7}.swipe-complete-icon{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;margin:0 auto 10px;background:#e9fff3;color:var(--green);font-size:25px;font-weight:950}.swipe-complete h3{margin:0 0 5px}.swipe-result-meta{display:flex;gap:7px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.compat-mini{display:inline-flex;border-radius:999px;padding:4px 7px;background:#fff0ea;color:#b64231;font-size:11px;font-weight:900}
@media(max-width:680px){.swipe-head{align-items:flex-start}.venue-swipe-stage{min-height:430px}.venue-swipe-photo{height:275px}.venue-swipe-content{padding:16px}.venue-swipe-content h3{font-size:22px}.venue-swipe-actions{position:relative;z-index:2}.swipe-action{padding:13px 10px}}
@media(prefers-reduced-motion:reduce){.venue-swipe-card{transition:none}.swipe-action:hover{transform:none}}


/* AperiSwipe v0.3.3 — official branding */
.topbar{border-bottom:1px solid rgba(234,223,217,.72)}
.brand{gap:9px;font-weight:900;letter-spacing:-.03em}
.brand-logo{width:42px;height:34px;display:block;object-fit:contain;flex:0 0 auto}
.brand-name{font-size:21px;line-height:1;color:var(--text)}
.brand-name span{color:var(--brand)}
.hero-brand{display:flex;align-items:center;gap:14px;margin-bottom:26px}
.hero-brand img{width:82px;height:auto;display:block}
.hero-wordmark{font-size:31px;font-weight:900;letter-spacing:-.045em;color:var(--text)}
.hero-wordmark span{color:var(--brand)}
.auth-card{position:relative;overflow:hidden}
.auth-brand{display:flex;align-items:center;gap:12px;margin-bottom:22px}
.auth-brand img{width:62px;height:auto;display:block}
.auth-brand span{font-size:25px;font-weight:850;letter-spacing:-.04em;color:var(--text)}
.auth-brand strong{color:var(--brand);font-weight:900}
.auth-card h1{font-size:clamp(36px,6vw,50px);margin-top:8px}
.btn.primary{transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.btn.primary:hover{background:#df4524;transform:translateY(-1px)}
.btn.primary:active{transform:translateY(0)}
@media(max-width:680px){.brand-logo{width:36px;height:29px}.brand-name{font-size:19px}.hero-brand{margin-bottom:20px}.hero-brand img{width:68px}.hero-wordmark{font-size:27px}.auth-brand img{width:54px}.auth-brand span{font-size:23px}}

/* AperiSwipe v0.4 — app experience, event management, friends and PWA install */
:root{--brand-soft:#fff0ea;--brand-soft-2:#fff7f3;--ink-soft:#413631;--blue:#5272ff;--nav-h:72px}
body{background:radial-gradient(circle at 15% 0,rgba(242,81,44,.10),transparent 28rem),linear-gradient(180deg,#fff9f5 0,#fff 46%);}
.shell{max-width:980px}.topbar{position:sticky;top:0;z-index:30;max-width:none;padding-left:max(22px,calc((100vw - 1080px)/2 + 22px));padding-right:max(22px,calc((100vw - 1080px)/2 + 22px));background:rgba(255,249,245,.88);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.install-nav-btn{border:1px solid rgba(242,81,44,.22);background:var(--brand-soft);color:var(--brand);border-radius:999px;padding:8px 12px;font:inherit;font-size:13px;font-weight:900;cursor:pointer}
.btn.soft{background:var(--brand-soft);color:var(--brand);border:1px solid rgba(242,81,44,.12)}.btn.danger{background:#fff0f0;color:#b73535;border:1px solid #f2cccc}.text-link{color:var(--brand);font-weight:850;font-size:13px}
.hero-v4{position:relative;padding-top:62px}.hero-v4:after{content:"";position:absolute;z-index:-1;width:240px;height:240px;border-radius:50%;background:rgba(242,81,44,.07);filter:blur(4px);right:-80px;top:35px}.hero-cta-stack{max-width:500px;margin-top:30px;display:grid;gap:10px}.hero-main-cta{min-height:58px}.hero-secondary-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hero-proof{display:flex;gap:14px;flex-wrap:wrap;margin-top:18px;color:var(--muted);font-size:12px;font-weight:750}.demo-card-v4{margin-top:8px;max-width:590px;transform:rotate(-.35deg);box-shadow:0 26px 90px rgba(72,38,24,.13)}.demo-top{display:flex;justify-content:space-between;align-items:flex-start}.demo-top h2{font-size:29px;margin:10px 0 15px}.demo-avatar{width:44px;height:44px;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:900;box-shadow:0 9px 24px rgba(242,81,44,.25)}.demo-people{display:flex;align-items:center;margin-top:18px}.demo-people span,.demo-people b{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff;border:2px solid #fff;box-shadow:0 4px 14px rgba(0,0,0,.08);margin-left:-6px;font-size:12px}.demo-people span:first-child{margin-left:0}.demo-people b{background:var(--brand-soft);color:var(--brand)}
.dashboard-hero-v4{position:relative;display:grid;grid-template-columns:1fr auto;gap:18px;padding:34px;border-radius:30px;background:linear-gradient(135deg,#241b18 0,#3b2922 65%,#f2512c 160%);color:#fff;box-shadow:0 25px 70px rgba(45,27,19,.20);overflow:hidden;margin-bottom:30px}.dashboard-hero-v4:after{content:"🍹";position:absolute;right:18%;bottom:-35px;font-size:125px;opacity:.08;transform:rotate(-12deg)}.dashboard-hero-v4 .eyebrow{color:#ffb39f}.dashboard-hero-v4 h1{font-size:clamp(40px,6vw,62px);margin:8px 0 12px}.dashboard-hero-v4 p{color:#e8dcd7;margin:0;max-width:580px}.dashboard-hero-v4>.btn{align-self:center;z-index:1}.dashboard-kpis{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}.dashboard-kpis span{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:9px 12px;font-size:12px}.dashboard-kpis b{font-size:16px;margin-right:3px}.dashboard-section{margin:34px 0}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.section-head h2{margin:4px 0;font-size:27px}.section-count{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);font-weight:900;font-size:12px}.invite-inbox{margin:26px 0}.horizontal-events{display:flex;gap:12px;overflow:auto;padding:2px 2px 8px}.mini-event{min-width:260px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:15px;display:flex;gap:12px;box-shadow:0 10px 30px rgba(72,38,24,.07)}.mini-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:var(--brand-soft);font-size:23px}.mini-event div{display:flex;flex-direction:column;gap:2px}.mini-event small{color:var(--muted)}.mini-event span:last-child{color:var(--brand);font-size:12px;font-weight:850;margin-top:4px}.rich-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rich-event{position:relative;overflow:hidden;min-height:260px;padding:22px}.event-card-accent{height:5px;background:linear-gradient(90deg,var(--brand),#ff9b65);position:absolute;top:0;left:0;right:0}.rich-event h3{font-size:27px;margin:24px 0 22px}.event-date-big{display:flex;align-items:center;gap:10px}.event-date-big>b{font-size:47px;line-height:1;letter-spacing:-.05em}.event-date-big>span{font-size:13px;font-weight:900;color:var(--brand);display:flex;flex-direction:column}.event-date-big small{color:var(--muted);font-size:12px;margin-top:3px}.event-footer{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:12px;margin-top:23px;padding-top:15px;border-top:1px solid var(--line)}.event-list-clean{display:grid;gap:9px}.event-row-card{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:13px;padding:14px 16px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 8px 25px rgba(72,38,24,.045)}.event-row-emoji{width:44px;height:44px;border-radius:14px;background:var(--brand-soft);display:grid;place-items:center;font-size:22px}.event-row-main{display:flex;flex-direction:column}.event-row-main small{color:var(--muted);margin-top:3px}.row-arrow{font-size:29px;color:#b9aaa2}.history-list{display:grid;gap:12px}.history-card{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:start;background:#fff;border:1px solid var(--line);border-radius:22px;padding:17px;box-shadow:0 9px 30px rgba(72,38,24,.05)}.history-date{width:58px;height:66px;border-radius:17px;background:var(--brand-soft);display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--brand)}.history-date b{font-size:24px;line-height:1}.history-date span{font-size:10px;font-weight:900;margin-top:4px}.history-main{display:flex;flex-direction:column;gap:3px}.history-main>small{color:var(--muted)}.history-attendees{margin-top:10px}.history-attendees>strong{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.history-attendees em{display:block;color:var(--muted);font-size:12px;margin-top:5px}.attendee-chip-list{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}.attendee-chip-list span{display:inline-flex;align-items:center;gap:5px;border-radius:999px;background:#f8f4f1;padding:5px 8px 5px 5px;font-size:11px}.attendee-chip-list i{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--brand);font-size:9px;font-style:normal;font-weight:900}
.manage-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:-14px;margin-bottom:14px}.share-card-v4{background:linear-gradient(145deg,#fff,#fff8f4)}.share-card-title{display:flex;gap:11px;align-items:center}.share-card-title>div{display:flex;flex-direction:column}.share-card-title small{color:var(--muted);margin-top:2px}.share-icon{width:38px;height:38px;border-radius:12px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;font-size:19px;font-weight:900}.direct-invite-panel{border-color:#f1d7cc}.compact-picker{margin-bottom:14px}.result-panel{box-shadow:0 10px 35px rgba(72,38,24,.05)}.winner-v4{border-color:#ccebdc;box-shadow:0 12px 42px rgba(31,157,104,.09)}
.vote-transparency{margin-top:18px}.organizer-strip{display:flex;gap:11px;align-items:center;padding:12px;border-radius:16px;background:var(--brand-soft-2);border:1px solid #f5ded5;margin-bottom:12px}.organizer-strip>div{display:flex;flex-direction:column}.organizer-strip small{color:var(--muted)}.friend-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);font-weight:900;flex:0 0 auto}.friend-avatar.large{width:48px;height:48px}.vote-person-list{display:grid;gap:10px}.vote-person-card{border:1px solid var(--line);border-radius:18px;padding:14px;background:#fff}.vote-person-card header{display:flex;gap:10px;align-items:center}.vote-person-card header>div{display:flex;flex-direction:column;min-width:0}.vote-person-card header small{color:var(--muted)}.participant-state{margin-left:auto;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:900;background:#f4f1ef;color:var(--muted)}.participant-state.going{background:#e7f9ef;color:#147c4f}.participant-state.not_going{background:#fff0f0;color:#a83c3c}.person-votes{display:grid;gap:11px;margin-top:13px;padding-top:12px;border-top:1px solid var(--line)}.person-votes strong{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.vote-chip-wrap{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.vote-chip{font-size:11px;font-weight:780;padding:6px 8px;border-radius:999px;background:#f5f2f0}.vote-chip.yes,.vote-chip.like{background:#eaf9f1;color:#17794f}.vote-chip.maybe{background:#fff7df;color:#956400}.vote-chip.no,.vote-chip.pass{background:#fff0f0;color:#a83b3b}.vote-chip.empty{color:#938781}.confirm-v4{border:1px solid #f2cfc2;background:linear-gradient(145deg,#fff,#fff6f1)}
.attendance-panel{border-color:#dceadf}.attendance-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0}.attendance-list label{display:flex;gap:9px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:15px;cursor:pointer;background:#fff}.attendance-list input{accent-color:var(--brand)}.attendance-list label>div{display:flex;flex-direction:column}.attendance-list small{color:var(--muted)}.danger-zone{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px;border-radius:19px;border:1px solid #f0cece;background:#fff8f8;margin:20px 0}.danger-zone p{margin:4px 0 0;color:#8a6c6c;font-size:13px}.cancelled-card{display:flex;gap:17px;align-items:center;padding:24px;border-radius:24px;background:#fff1f1;border:1px solid #f1caca;margin:16px 0}.cancelled-card>span{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#b83f3f;font-size:27px;font-weight:900}.cancelled-card h2{margin:3px 0}.cancelled-card p{margin:0;color:#8f6767}.public-cancelled{max-width:650px;margin:20px auto 60px}
.invite-head-v4{padding-top:38px}.organizer-attendance-pill{display:inline-flex;margin-top:5px;background:#f7f2ef;border:1px solid var(--line);padding:7px 10px;border-radius:999px;color:var(--muted);font-size:11px;font-weight:800}.join-card{box-shadow:0 20px 65px rgba(72,38,24,.10)}.auth-mini-profile{display:flex;gap:11px;align-items:center;padding:10px 0}.auth-mini-profile>div{display:flex;flex-direction:column}.auth-mini-profile small{color:var(--muted)}.guest-account-hint{display:flex;justify-content:center;gap:10px;align-items:center;flex-wrap:wrap;margin-top:16px;font-size:12px;color:var(--muted)}.guest-account-hint a{color:var(--brand);font-weight:850}.vote-panel-v4{box-shadow:0 15px 45px rgba(72,38,24,.06)}.rsvp-card{display:grid;grid-template-columns:1fr auto;align-items:center;gap:18px}.rsvp-card h2{margin:4px 0}.rsvp-actions{display:flex;gap:8px}.rsvp-yes{background:#e8f9ef;color:#15764d}.rsvp-no{background:#fff0f0;color:#a43c3c}.rsvp-actions .selected{box-shadow:inset 0 0 0 2px currentColor}.group-votes-details{padding:0;overflow:hidden}.group-votes-details summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:18px 20px;cursor:pointer}.group-votes-details summary::-webkit-details-marker{display:none}.group-votes-details summary span{display:flex;flex-direction:column}.group-votes-details summary small{color:var(--muted);margin-top:2px}.group-votes-details summary i{font-size:22px;font-style:normal;color:var(--brand)}.group-votes-details[open] summary i{transform:rotate(45deg)}.group-vote-content{border-top:1px solid var(--line);padding:14px 18px 18px}.public-vote-person{padding:12px 0;border-bottom:1px solid var(--line)}.public-vote-person:last-child{border-bottom:0}.public-vote-person header{display:flex;gap:9px;align-items:center}.venue-public-votes{margin-top:7px}.group-preview{margin-top:20px}
.friend-search-card{background:linear-gradient(145deg,#fff,#fff8f4);border:1px solid var(--line);border-radius:22px;padding:18px;box-shadow:0 10px 32px rgba(72,38,24,.06)}.friend-search-card label{font-size:12px;font-weight:850}.search-row{display:flex;gap:8px;margin-top:7px}.search-row input{flex:1;min-width:0;border:1px solid var(--line);border-radius:14px;padding:13px;font:inherit}.friend-list{display:grid;gap:8px}.friend-row{display:flex;align-items:center;gap:11px;border:1px solid var(--line);background:#fff;border-radius:17px;padding:11px}.friend-row>div{display:flex;flex-direction:column;min-width:0;flex:1}.friend-row small{color:var(--muted)}.friend-state{font-size:11px;font-weight:850;color:var(--muted)}.friend-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.friend-tile{display:flex;flex-direction:column;align-items:center;text-align:center;border:1px solid var(--line);border-radius:20px;background:#fff;padding:18px;box-shadow:0 8px 26px rgba(72,38,24,.04)}.friend-tile small{color:var(--muted);font-size:11px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.friend-picker{display:flex;gap:8px;flex-wrap:wrap}.friend-picker label{position:relative;border:1px solid var(--line);border-radius:999px;background:#fff;padding:6px 10px 6px 6px;display:flex;align-items:center;gap:6px;cursor:pointer;margin:0}.friend-picker input{position:absolute;opacity:0}.friend-picker label:has(input:checked){border-color:var(--brand);background:var(--brand-soft)}.friend-picker label.already{opacity:.72;cursor:default}.friend-picker small{color:var(--muted);font-size:9px}.avatar-mini{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);font-size:10px;font-weight:900}.soft-empty{display:flex;gap:12px;align-items:center;padding:14px;border-radius:16px;background:#faf7f5;border:1px dashed var(--line)}.soft-empty>span{font-size:25px}.soft-empty>div{display:flex;flex-direction:column;flex:1}.soft-empty small{color:var(--muted)}.soft-empty>a{color:var(--brand);font-size:12px;font-weight:850}.soft-empty.large{padding:22px}.event-editor{padding:0;overflow:hidden}.editor-block{display:grid;grid-template-columns:42px 1fr;gap:15px;padding:24px;border-bottom:1px solid var(--line)}.editor-block:last-of-type{border-bottom:0}.editor-step{width:36px;height:36px;border-radius:12px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;font-weight:900}.editor-body h2{margin:4px 0 14px}.editor-submit{border-radius:0}.attendance-choice{display:grid;grid-template-columns:1fr 1fr;gap:9px}.attendance-choice input{position:absolute;opacity:0}.attendance-choice span{height:100%;display:flex;flex-direction:column;gap:3px;border:1px solid var(--line);border-radius:16px;padding:14px;cursor:pointer}.attendance-choice small{color:var(--muted)}.attendance-choice input:checked+span{border-color:var(--brand);background:var(--brand-soft)}.page-sub{color:var(--muted);margin:0;max-width:620px}.mini-heading{font-size:12px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);margin-top:20px}
.install-sheet[hidden]{display:none}.install-sheet{position:fixed;z-index:100;inset:0;display:grid;align-items:end}.install-sheet-backdrop{position:absolute;inset:0;background:rgba(23,17,14,.45);backdrop-filter:blur(4px)}.install-sheet-card{position:relative;background:#fff;border-radius:28px 28px 0 0;padding:28px 24px calc(24px + env(safe-area-inset-bottom));max-width:520px;width:100%;margin:0 auto;box-shadow:0 -20px 70px rgba(0,0,0,.18);text-align:center}.install-sheet-card img{border-radius:18px}.install-sheet-card h2{margin:12px 0 5px}.install-sheet-card p{color:var(--muted)}.install-close{position:absolute;right:16px;top:14px;border:0;background:#f5f1ef;width:34px;height:34px;border-radius:50%;font-size:21px;cursor:pointer}.ios-install-help{display:grid;gap:8px;text-align:left;background:#faf7f5;border-radius:16px;padding:14px;margin:14px 0}.ios-install-help span{color:var(--muted);font-size:13px}
.mobile-app-nav{display:none}
@media(max-width:720px){
  body{padding-bottom:calc(var(--nav-h) + env(safe-area-inset-bottom))}.shell{padding-bottom:34px}.footer{padding-bottom:20px}
  .topbar{padding-left:14px;padding-right:14px}.topbar nav{gap:8px}.admin-link{display:none}
  .hero-v4{padding-top:35px}.hero-v4 h1{font-size:44px}.hero-secondary-actions{grid-template-columns:1fr}.hero-proof{gap:7px;flex-direction:column}.demo-card-v4{margin-top:2px}
  .dashboard-hero-v4{grid-template-columns:1fr;padding:24px}.dashboard-hero-v4>.btn{width:100%}.dashboard-hero-v4:after{right:-15px}.dashboard-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.dashboard-kpis span{text-align:center;padding:8px 4px}.dashboard-kpis b{display:block}
  .rich-grid{grid-template-columns:1fr}.event-row-card{grid-template-columns:auto 1fr auto}.event-row-card .status{display:none}.history-card{grid-template-columns:auto 1fr}.history-card>.row-arrow{display:none}.history-attendees{max-width:100%}.attendee-chip-list{max-width:100%}
  .manage-head{display:block}.manage-head>.status{margin-top:8px}.stats-grid{grid-template-columns:1fr}.attendance-list{grid-template-columns:1fr}.danger-zone{align-items:flex-start;flex-direction:column}.danger-zone form,.danger-zone .btn{width:100%}
  .rsvp-card{grid-template-columns:1fr}.rsvp-actions{display:grid;grid-template-columns:1fr 1fr}.vote-person-card header{align-items:flex-start}.participant-state{font-size:9px}
  .friend-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.search-row{flex-direction:column}.attendance-choice{grid-template-columns:1fr}.editor-block{grid-template-columns:32px 1fr;padding:18px 15px;gap:10px}.editor-step{width:30px;height:30px;border-radius:10px}.form-card.event-editor{padding:0}
  .mobile-app-nav{position:fixed;z-index:50;left:10px;right:10px;bottom:calc(8px + env(safe-area-inset-bottom));height:64px;border-radius:22px;background:rgba(35,27,24,.94);backdrop-filter:blur(16px);display:grid;grid-template-columns:1fr 1fr 62px 1fr 1fr;align-items:center;padding:5px 8px;box-shadow:0 15px 45px rgba(26,17,13,.30)}.mobile-nav-item{color:#d8cbc5;display:flex;flex-direction:column;gap:2px;align-items:center;justify-content:center;font-size:16px}.mobile-nav-item b{font-size:9px;font-weight:750}.mobile-nav-create{width:54px;height:54px;border-radius:18px;background:var(--brand);color:#fff;display:grid;place-items:center;margin:-20px auto 0;box-shadow:0 10px 26px rgba(242,81,44,.40);border:4px solid #2b211e}.mobile-nav-create span{font-size:31px;font-weight:300;line-height:1}
}
@media(max-width:430px){.friend-grid{grid-template-columns:1fr}.hero-v4 h1{font-size:40px}.invite-head-v4 h1{font-size:42px}.dashboard-kpis span{font-size:10px}.rich-event h3{font-size:24px}}
.desktop-app-link{font-size:13px;font-weight:800;color:var(--muted)}.desktop-app-link:hover{color:var(--text)}.desktop-organize-link{font-size:12px;font-weight:900;background:var(--brand-soft);color:var(--brand);padding:8px 11px;border-radius:999px}@media(max-width:720px){.desktop-app-link,.desktop-organize-link{display:none}}

/* v0.4.1 — profilo, notifiche, date dinamiche, città locali */
.password-field{position:relative}.password-field input{padding-right:50px}.password-field button{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;background:#f7f2ef;border-radius:11px;cursor:pointer;font-size:16px}.auth-helper-row{display:flex;justify-content:flex-end;margin:-2px 0 14px}.auth-helper-row a{font-size:12px;font-weight:800;color:var(--brand)}
.profile-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:16px}.profile-summary{display:flex;align-items:center;gap:16px;height:max-content}.profile-summary h2{margin:0 0 4px}.profile-summary p{margin:0 0 10px;color:var(--muted)}.profile-avatar{width:70px;height:70px;border-radius:24px;background:var(--brand-soft,#fff0ea);color:var(--brand);display:grid;place-items:center;font-size:28px;font-weight:900}.profile-password-card{margin:0}
.notification-link{position:relative;width:36px;height:36px;border-radius:12px;background:#fff;border:1px solid var(--line);display:grid;place-items:center;font-size:16px}.notification-link span{position:absolute;right:-5px;top:-6px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:var(--brand);color:#fff;font-size:9px;font-weight:900;display:grid;place-items:center}.notification-list{display:grid;gap:8px}.notification-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:13px 14px}.notification-row.is-unread{background:#fff6f1;border-color:#f5c7b8}.notification-icon{width:42px;height:42px;border-radius:14px;background:var(--brand-soft,#fff0ea);display:grid;place-items:center;font-size:20px}.notification-row>div{display:flex;flex-direction:column;gap:3px}.notification-row small,.notification-row time{color:var(--muted);font-size:11px}.user-mode-link{font-size:12px;font-weight:900;color:var(--brand);background:var(--brand-soft,#fff0ea);padding:9px 12px;border-radius:999px}
.editor-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.editor-title-row h2{margin:4px 0 14px}.mini-add-btn{border:1px solid var(--line);background:#fff;color:var(--brand);font-weight:850;border-radius:12px;padding:8px 10px;cursor:pointer}.date-option{grid-template-columns:1.4fr 1fr 1fr auto;align-items:center}.date-remove{width:36px;height:36px;border:0;border-radius:11px;background:#fff0f0;color:#ad3e3e;font-size:20px;cursor:pointer}.catalog-loading,.catalog-empty{padding:14px;border:1px dashed var(--line);border-radius:14px;color:var(--muted);font-size:13px}.catalog-venues.is-loading{opacity:.5;pointer-events:none}
@media(max-width:720px){.profile-grid{grid-template-columns:1fr}.notification-link{width:34px;height:34px}.user-mode-link{font-size:11px}.date-option{grid-template-columns:1fr 1fr auto}.date-option input[type="date"]{grid-column:1/-1}.date-option input[type="time"]{grid-column:auto}.date-remove{grid-column:3;grid-row:2}.editor-title-row{align-items:flex-start}.mini-add-btn{white-space:nowrap}.topbar .notification-link{display:grid}}

/* AperiSwipe v0.4.2 — liste amici, foto profilo, header notifications */
.friend-avatar.has-photo,.avatar-mini.has-photo,.profile-avatar.has-photo,.header-user-avatar.has-photo{overflow:hidden;background:#f2ece8;color:transparent}
.friend-avatar.has-photo img,.avatar-mini.has-photo img,.profile-avatar.has-photo img,.header-user-avatar.has-photo img{width:100%;height:100%;object-fit:cover;display:block}
.friend-remove-btn{margin-top:10px;background:#fff5f3;color:#b83f32;border:1px solid #f4d2cb;padding:8px 11px;font-size:11px;border-radius:12px;box-shadow:none}
.friend-remove-btn:hover{background:#ffebe7}
.friend-list-create{display:flex;gap:9px;margin:18px 0}.friend-list-create input{flex:1;min-width:0;border:1px solid var(--line);border-radius:15px;padding:13px 14px;font:inherit;background:#fff}.friend-list-create input:focus{outline:0;border-color:var(--brand);box-shadow:0 0 0 3px rgba(242,81,44,.1)}
.friend-list-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.friend-group-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:17px;box-shadow:0 10px 30px rgba(72,38,24,.05)}.friend-group-card>header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:13px}.friend-group-card h3{margin:0;font-size:20px;letter-spacing:-.02em}.friend-group-card header small{color:var(--muted)}.group-title-row{display:flex;align-items:center;gap:8px}.icon-danger-btn{width:30px;height:30px;border-radius:10px;border:1px solid #f0d3cd;background:#fff7f5;color:#bd4636;font-size:20px;line-height:1;cursor:pointer}.group-member-picker{display:grid;gap:6px;max-height:260px;overflow:auto;padding-right:2px}.group-member-picker label{position:relative;margin:0;cursor:pointer}.group-member-picker input{position:absolute;opacity:0}.group-member-picker label>span{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:14px;padding:7px 9px;background:#fff}.group-member-picker input:checked+span{border-color:var(--brand);background:var(--brand-soft,#fff0ea)}.group-save-btn{margin-top:10px;width:100%}
.friend-list-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0 16px}.friend-list-picker label{position:relative;margin:0;cursor:pointer}.friend-list-picker input{position:absolute;opacity:0}.friend-list-picker label>span{display:flex;flex-direction:column;gap:2px;border:1px solid var(--line);border-radius:16px;padding:12px;background:#fff}.friend-list-picker label>span small{color:var(--muted);font-size:11px}.friend-list-picker input:checked+span{border-color:var(--brand);background:var(--brand-soft,#fff0ea);box-shadow:inset 0 0 0 1px var(--brand)}.compact-list-picker{grid-template-columns:repeat(3,minmax(0,1fr))}
.profile-summary-v42{position:relative}.profile-avatar-wrap{position:relative;flex:0 0 auto}.profile-avatar.has-photo{border-radius:24px}.profile-photo-badge{position:absolute;right:-5px;bottom:-5px;width:25px;height:25px;border-radius:9px;display:grid;place-items:center;background:var(--brand);color:#fff;border:3px solid #fff;font-weight:900;line-height:1}.profile-photo-card{margin:0}.avatar-upload-drop{display:flex!important;align-items:center!important;gap:10px!important;border:1px dashed #d9c7bf;border-radius:18px;padding:14px!important;background:#fffaf7;cursor:pointer;margin:12px 0!important}.avatar-upload-drop input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none}.avatar-upload-drop .avatar-upload-icon{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:var(--brand-soft,#fff0ea);color:var(--brand);font-size:22px}.avatar-upload-drop b{font-size:13px}.avatar-upload-drop small{margin-left:auto;color:var(--muted);font-size:10px;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-avatar-remove{display:block;margin:10px auto 0;color:#b64537;font-size:12px}
.password-field button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.password-field button.is-visible{color:var(--brand)}
.header-user{display:flex;align-items:center;gap:7px}.header-user-avatar{width:30px;height:30px;border-radius:10px;background:var(--brand-soft,#fff0ea);color:var(--brand);display:grid;place-items:center;font-size:11px;font-weight:900;overflow:hidden}.header-user-avatar img{width:100%;height:100%;object-fit:cover}.header-logout .linkbtn{font-size:12px;color:var(--muted)}
.notification-link{order:99;flex:0 0 auto}.notification-link svg{width:19px;height:19px;fill:none;stroke:#302824;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;display:block}.notification-link:hover svg{stroke:var(--brand)}
@media(max-width:720px){.friend-list-groups{grid-template-columns:1fr}.friend-list-picker,.compact-list-picker{grid-template-columns:1fr 1fr}.friend-list-create{flex-direction:column}.header-logout{display:none}.header-user .hello{display:none}.header-user-avatar{width:32px;height:32px}.topbar nav{margin-left:auto}.profile-grid{grid-template-columns:1fr}.avatar-upload-drop small{max-width:38%}}
@media(max-width:430px){.friend-list-picker,.compact-list-picker{grid-template-columns:1fr}}

/* v0.4.3 — prossimi aperitivi: confermati + non confermati */
.status.pending{background:#fff4df;color:#9b6100;border:1px solid #f3d59c}.rich-event.is-pending .event-card-accent{background:linear-gradient(90deg,#f2a43a,#ffd183)}.pending-hint{display:inline-flex;align-items:center;gap:6px;margin-top:13px;padding:7px 10px;border-radius:999px;background:#fff8eb;color:#8b5b12;font-size:11px;font-weight:850}.rich-event.is-pending .event-date-big>b{color:#8b5b12}

/* AperiSwipe v0.4.4 — deadline, ricerca amici, profilo, installazione e auth compatta */
.response-deadline-field{margin-top:18px;padding:15px 16px;border:1px solid #eadfd9;border-radius:17px;background:#fffaf7}.response-deadline-field label{margin:0!important}.response-deadline-field input{margin-top:7px}.response-deadline-field>small{display:block;color:var(--muted);font-size:11px;line-height:1.5;margin-top:8px}.response-deadline-field .optional{font-weight:650;text-transform:none;letter-spacing:0;margin-left:4px}
.invite-meta-pills{display:flex;justify-content:center;gap:7px;flex-wrap:wrap}.invite-meta-pills .organizer-attendance-pill{margin-top:5px}.deadline-pill{display:inline-flex;margin-top:5px;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:850;border:1px solid}.deadline-pill.is-open{background:#fff8e7;border-color:#f2d59b;color:#8b5b12}.deadline-pill.is-closed{background:#f2efed;border-color:#ded5d1;color:#625650}
.deadline-status-card{display:flex;align-items:center;gap:13px;padding:15px 17px;border-radius:19px;margin:14px 0;border:1px solid}.deadline-status-card>div{display:flex;flex-direction:column;gap:2px}.deadline-status-card span{font-size:13px;font-weight:800}.deadline-status-card small{color:var(--muted);font-size:11px}.deadline-status-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:13px;flex:0 0 auto}.deadline-status-card.is-open{background:#fffaf0;border-color:#f1d9a7}.deadline-status-card.is-open .deadline-status-icon{background:#fff0c9}.deadline-status-card.is-closed{background:#f6f3f1;border-color:#ddd4cf}.deadline-status-card.is-closed .deadline-status-icon{background:#e9e3df}.status.closed{background:#efebe8;color:#675a54;border:1px solid #ddd4cf}.participant-state.closed{background:#eee9e6;color:#625650}.response-closed-card{display:flex;align-items:flex-start;gap:15px;background:linear-gradient(145deg,#f8f5f3,#fff);border-color:#ded5d1}.response-closed-card h2{margin:3px 0 7px}.response-closed-card p{margin:0 0 5px;color:var(--muted)}.response-closed-card small{color:#7a6d67}.closed-lock{width:44px;height:44px;border-radius:14px;background:#eee8e4;display:grid;place-items:center;flex:0 0 auto}.closed-lock svg{width:22px;height:22px;fill:none;stroke:#625650;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.public-person-title{display:flex!important;align-items:center!important;flex-direction:row!important;gap:8px!important}.public-person-title .participant-state{margin-left:0}
.friend-search-card-v44{padding:20px}.friend-search-input{flex:1;min-width:0;position:relative}.friend-search-input svg{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:18px;height:18px;fill:none;stroke:#8b7c75;stroke-width:1.8;stroke-linecap:round}.search-row .friend-search-input input{width:100%;padding-left:41px}.friend-search-hint{display:block;margin-top:8px;color:var(--muted);font-size:11px}.email-invite-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;background:#fff8f4;border:1px solid #f3d2c7;border-radius:19px;padding:14px}.email-invite-card>div{display:flex;flex-direction:column;gap:2px}.email-invite-card small{color:var(--muted)}.email-invite-icon{width:42px;height:42px;border-radius:13px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center}.email-invite-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.profile-summary-v44{position:relative;align-items:center}.profile-avatar-xl{width:92px;height:92px;border-radius:28px;font-size:34px;flex:0 0 auto}.profile-photo-jump{display:inline-flex;margin-top:4px;color:var(--brand);font-size:12px;font-weight:900}.profile-photo-card-v44{margin:0}.avatar-file-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;pointer-events:none}.avatar-primary-action{display:flex!important;align-items:center!important;gap:13px!important;border:1.5px dashed #d9bdb3!important;border-radius:19px!important;padding:16px!important;background:#fff8f4!important;cursor:pointer;margin:14px 0 10px!important}.avatar-primary-action:hover{border-color:var(--brand)!important;background:#fff3ee!important}.avatar-action-icon{width:48px;height:48px;border-radius:15px;background:var(--brand);color:#fff;display:grid;place-items:center;flex:0 0 auto}.avatar-action-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.avatar-primary-action>span:last-child{display:flex;flex-direction:column;gap:3px}.avatar-primary-action small{color:var(--muted);font-size:11px}.avatar-save-btn{margin-top:6px}.profile-avatar-remove{border:0;background:none;cursor:pointer}.profile-password-card{grid-column:2}.profile-photo-card-v44{grid-column:2}.profile-summary-v44{grid-row:1/3}
.install-nav-auth{order:70}.desktop-install-help{display:grid;gap:8px;text-align:left;background:#faf7f5;border-radius:16px;padding:14px;margin:14px 0}.desktop-install-help span{color:var(--muted);font-size:13px}
.auth-card-v44{overflow:visible}.auth-card-v44 h1{margin-bottom:10px}.auth-card-v44>p{margin-top:0}.auth-login-form .password-label{margin-bottom:0}.auth-helper-tight{margin:4px 0 12px!important}.auth-helper-tight a{line-height:1.2}.invite-registration-note{display:flex;gap:10px;align-items:center;padding:12px;border-radius:16px;background:#fff4ef;border:1px solid #f1d2c6;margin-bottom:15px}.invite-registration-note>span{font-size:24px}.invite-registration-note>div{display:flex;flex-direction:column}.invite-registration-note small{color:var(--muted);font-size:11px}
.rich-event.is-pending .pending-hint.is-closed{background:#f2eeeb;color:#665952}.pending-hint.is-closed:before{content:"🔒"}
@media(max-width:720px){.email-invite-card{grid-template-columns:auto 1fr}.email-invite-card form{grid-column:1/-1}.email-invite-card .btn{width:100%}.profile-summary-v44{grid-row:auto}.profile-photo-card-v44,.profile-password-card{grid-column:auto}.profile-avatar-xl{width:82px;height:82px}.install-nav-auth{padding:7px 9px;font-size:11px}.response-closed-card{align-items:flex-start}.friend-search-card-v44 .search-row{flex-direction:column}.friend-search-card-v44 .search-row>.btn{width:100%}}


/* AperiSwipe v0.4.5 — mobile/PWA viewport hardening */
html,body{width:100%;max-width:100%;overflow-x:hidden}body{position:relative}img,svg,video,canvas{max-width:100%}input,select,textarea,button{max-width:100%}.topbar,.shell,.footer{width:100%;max-width:100%}.shell>*{min-width:0;max-width:100%}.event-grid>* ,.stats-grid>* ,.profile-grid>* ,.friend-grid>* ,.history-card>* ,.event-row-card>* ,.winner>* ,.dashboard-hero-v4>*{min-width:0}.event-card,.panel,.share-card,.form-card,.winner,.history-card,.soft-empty,.invite-head,.dashboard-section{max-width:100%}.event-footer,.event-top,.section-head,.page-head{min-width:0}.event-footer>* ,.event-top>* ,.section-head>* ,.page-head>*{min-width:0}.rich-event h3,.history-main,.event-row-main{overflow-wrap:anywhere}.sharebox,.sharebox input{min-width:0;max-width:100%}
@media(max-width:720px){
  :root{--mobile-nav-base:70px}
  html,body{overflow-x:hidden;overscroll-behavior-x:none}
  body{padding-bottom:calc(var(--mobile-nav-base) + env(safe-area-inset-bottom) + 8px)}
  .shell{padding-left:14px;padding-right:14px;padding-bottom:24px;overflow:visible}
  .topbar{width:100%;max-width:100vw;min-width:0;padding-left:12px;padding-right:12px;gap:8px;overflow:hidden}
  .topbar .brand{min-width:0;flex:0 1 auto;gap:6px}
  .topbar .brand-logo{flex:0 0 auto}
  .topbar .brand-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:17px}
  .topbar nav{min-width:0;flex:0 0 auto;gap:6px}
  .install-nav-auth{padding:7px 9px;font-size:11px;white-space:nowrap}
  .header-user{display:none}
  .notification-link{flex:0 0 34px}
  .dashboard-hero-v4,.event-card,.panel,.form-card,.share-card,.winner,.history-card,.soft-empty{width:100%;max-width:100%}
  .dashboard-hero-v4{overflow:hidden}
  .rich-grid{grid-template-columns:minmax(0,1fr)}
  .event-footer{flex-wrap:wrap}
  .history-card{grid-template-columns:auto minmax(0,1fr) auto;gap:12px}
  .horizontal-events{max-width:100%;overscroll-behavior-x:contain}
  .mobile-app-nav{left:0;right:0;bottom:0;width:100%;max-width:100vw;height:calc(var(--mobile-nav-base) + env(safe-area-inset-bottom));border-radius:22px 22px 0 0;padding:6px 12px max(8px,env(safe-area-inset-bottom));box-shadow:0 -10px 38px rgba(26,17,13,.26);grid-template-columns:1fr 1fr 64px 1fr 1fr;overflow:visible;transform:translateZ(0)}
  .mobile-nav-create{margin:-18px auto 0}
  .footer{display:none}
  .app-list-head{align-items:flex-start;flex-direction:column}.app-list-head .btn{width:100%}
}
@media(max-width:390px){.topbar .brand-name{display:none}.topbar .brand-logo{width:40px;height:32px}.install-nav-auth{padding:7px 8px}.mobile-app-nav{padding-left:7px;padding-right:7px}.mobile-nav-item b{font-size:8.5px}}
@media(display-mode:standalone) and (max-width:720px){
  .topbar{padding-top:env(safe-area-inset-top);height:calc(62px + env(safe-area-inset-top))}
  .mobile-app-nav{padding-bottom:max(8px,env(safe-area-inset-bottom))}
}


/* AperiSwipe v0.4.6 — city combobox, compact PWA nav, viewport fixes */
.city-combobox{position:relative;width:100%;margin-top:7px}.city-combobox>input{width:100%;padding-right:48px!important}.city-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;border-radius:12px;background:#fff7f3;color:#4c3c35;font-size:22px;cursor:pointer}.city-options{position:absolute;z-index:40;left:0;right:0;top:calc(100% + 6px);max-height:280px;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:16px;padding:6px;box-shadow:0 18px 50px rgba(50,30,20,.16)}.city-option{width:100%;border:0;background:transparent;border-radius:11px;padding:11px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;cursor:pointer;font:inherit;color:inherit}.city-option:hover,.city-option:focus{background:var(--brand-soft);outline:none}.city-option span{font-weight:800}.city-option small{color:var(--muted);font-size:11px}.city-no-results{padding:12px;color:var(--muted);font-size:13px}.city-options[hidden]{display:none!important}
@media(max-width:720px){
  :root{--mobile-nav-base:54px}
  body{padding-bottom:calc(68px + env(safe-area-inset-bottom))}
  .mobile-app-nav{left:8px!important;right:8px!important;bottom:calc(6px + env(safe-area-inset-bottom))!important;width:auto!important;max-width:calc(100vw - 16px)!important;height:54px!important;border-radius:18px!important;padding:4px 6px!important;grid-template-columns:1fr 1fr 52px 1fr 1fr!important;overflow:visible!important}
  .mobile-nav-item{font-size:14px!important;gap:0!important;min-width:0}.mobile-nav-item b{font-size:8px!important;line-height:1.05!important;margin-top:1px}.mobile-nav-create{width:46px!important;height:46px!important;border-radius:15px!important;margin:-12px auto 0!important;border-width:3px!important}.mobile-nav-create span{font-size:27px!important}
  .shell{padding-bottom:18px!important}.city-options{max-height:min(44vh,300px);-webkit-overflow-scrolling:touch}.city-option{min-height:46px}
}
@media(display-mode:standalone) and (max-width:720px){.mobile-app-nav{bottom:calc(4px + env(safe-area-inset-bottom))!important}}

/* AperiSwipe v0.4.6.8 — swipe rows, live searches, state accent sync */
.swipe-card-row{display:flex!important;grid-template-columns:none!important;gap:14px;overflow-x:auto;overflow-y:hidden;padding:3px 3px 13px;scroll-snap-type:x mandatory;scroll-padding-inline:3px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;cursor:grab;user-select:none}.swipe-card-row.is-dragging{cursor:grabbing;scroll-snap-type:none}.swipe-card-row>*{scroll-snap-align:start;scroll-snap-stop:always;user-select:text}.upcoming-swipe-row>.rich-event{flex:0 0 clamp(320px,44vw,430px);width:clamp(320px,44vw,430px)}.rich-event.is-confirmed .event-card-accent{background:linear-gradient(90deg,#3dbb78,#83ddb0)}.rich-event.is-pending .event-card-accent{background:linear-gradient(90deg,#f2a43a,#ffd183)}.event-venue-choice{display:inline-flex;align-items:center;gap:7px;margin-top:13px;padding:7px 10px;border-radius:12px;background:#f0faf5;color:#276d49;font-size:12px;max-width:100%}.event-venue-choice b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.friend-swipe-row>.friend-tile{flex:0 0 250px;width:250px;min-height:220px}.group-swipe-row>.friend-group-card{flex:0 0 clamp(300px,42vw,430px);width:clamp(300px,42vw,430px)}.collection-search{position:relative;max-width:430px;margin:0 0 13px}.collection-search svg{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:18px;height:18px;fill:none;stroke:#8b7c75;stroke-width:1.8;stroke-linecap:round}.collection-search input{width:100%;border:1px solid var(--line);border-radius:14px;background:#fff;padding:12px 13px 12px 41px;font:inherit}.collection-search input:focus{outline:2px solid rgba(242,81,44,.13);border-color:var(--brand)}.collection-filter-empty{padding:14px;border:1px dashed var(--line);border-radius:14px;color:var(--muted);font-size:13px}.city-options-meta{position:sticky;top:-6px;z-index:2;background:#fff;padding:7px 10px 8px;border-bottom:1px solid #f0e7e2;color:var(--muted);font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}.auto-choice-note{margin:-2px 0 14px;padding:11px 12px;border-radius:14px;background:#fff8f4;border:1px solid #f2d3c8;color:#6f5d55;font-size:12px}.friend-list-groups.swipe-card-row{grid-template-columns:none}.friend-grid.swipe-card-row{grid-template-columns:none}
.swipe-card-row::-webkit-scrollbar{height:7px}.swipe-card-row::-webkit-scrollbar-thumb{background:#d9cbc4;border-radius:999px}.swipe-card-row::-webkit-scrollbar-track{background:transparent}
@media(max-width:720px){.swipe-card-row{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px;scroll-padding-left:14px;scrollbar-width:none}.swipe-card-row::-webkit-scrollbar{display:none}.upcoming-swipe-row>.rich-event{flex-basis:calc(100vw - 46px);width:calc(100vw - 46px);min-width:0}.friend-swipe-row>.friend-tile{flex-basis:min(78vw,285px);width:min(78vw,285px)}.group-swipe-row>.friend-group-card{flex-basis:calc(100vw - 46px);width:calc(100vw - 46px);min-width:0}.collection-search{max-width:none}.event-venue-choice{max-width:calc(100vw - 100px)}}


/* AperiSwipe v0.4.7.3 — venue usage + compact catalog + scalable Admin venues */
.venue-usage-badge{display:inline-flex;align-items:center;width:max-content;max-width:100%;margin-top:6px;padding:4px 8px;border-radius:999px;font-size:10px;font-style:normal;font-weight:850;line-height:1.1;letter-spacing:.01em;background:#fff3ed;color:#9f3d27;border:1px solid #f2d2c5}.venue-usage-badge.aperitivo{background:#fff4e9;color:#9b5a09;border-color:#f3d39f}.venue-usage-badge.aperitivo_cena{background:#eef8f3;color:#25704c;border-color:#cbe8da}.venue-usage-badge.cena{background:#f2eff8;color:#66517f;border-color:#ddd4eb}
.venue-catalog-tools{display:flex;align-items:end;gap:10px;margin:12px 0 10px}.venue-live-search{flex:1;margin:0!important}.venue-live-search>span{display:block;margin:0 0 5px;font-size:11px;font-weight:800;color:var(--muted)}.venue-live-search input{width:100%}.compact-catalog{max-height:460px;overflow:auto;padding-right:4px;align-content:start}.compact-catalog .catalog-venue>span{min-height:74px;padding:10px 12px}.compact-catalog .catalog-venue img,.compact-catalog .catalog-venue i{width:48px;height:48px}.compact-catalog .catalog-venue b{font-size:13px}.compact-catalog .catalog-venue small{font-size:10px}.catalog-empty{padding:18px;border:1px dashed var(--line);border-radius:14px;color:var(--muted)}
.admin-venue-filters{display:grid;grid-template-columns:minmax(260px,1.8fr) repeat(7,minmax(120px,1fr));gap:10px;align-items:end;margin:16px 0 10px;padding:14px;border:1px solid var(--line);border-radius:18px;background:#fff}.admin-venue-filters label{margin:0}.admin-venue-filters label>span{display:block;margin:0 0 5px;font-size:10px;text-transform:uppercase;letter-spacing:.05em;font-weight:850;color:var(--muted)}.admin-venue-filters input,.admin-venue-filters select{width:100%;min-height:42px;padding:9px 11px;border:1px solid var(--line);border-radius:12px;background:#fff;font:inherit}.admin-venue-summary{display:flex;gap:7px;align-items:center;color:var(--muted);font-size:12px;margin:8px 2px}.admin-bulkbar{position:sticky;top:76px;z-index:8;display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 12px;margin-bottom:10px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.96);backdrop-filter:blur(10px)}.admin-bulkbar label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:750}.admin-bulkbar select{min-height:38px;border:1px solid var(--line);border-radius:10px;padding:7px 10px;background:#fff}.admin-venue-list{display:grid;gap:8px;transition:opacity .15s ease}.admin-venue-list.is-loading{opacity:.45;pointer-events:none}.admin-venue-row{display:grid;grid-template-columns:28px 54px minmax(220px,1fr) minmax(280px,auto) auto;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:15px;background:#fff}.admin-row-check{width:17px;height:17px}.admin-venue-photo{width:50px;height:50px;border-radius:12px;overflow:hidden;background:#fff3ee;display:grid;place-items:center}.admin-venue-photo img{width:100%;height:100%;object-fit:cover}.admin-venue-main{min-width:0;display:flex;flex-direction:column;gap:3px}.admin-venue-main strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-venue-main small{font-size:10.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-venue-tags{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.admin-venue-tags .venue-usage-badge{margin:0}.admin-status{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:850}.admin-status.on{background:#eaf8f0;color:#27764d}.admin-status.off{background:#f3efed;color:#7b6c65}.admin-venue-actions{display:flex;justify-content:flex-end}.admin-venue-actions .btn.small{padding:7px 10px;font-size:10px}.admin-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin:16px 0}.admin-pagination span{font-size:12px;color:var(--muted)}
@media(max-width:1200px){.admin-venue-filters{grid-template-columns:repeat(4,minmax(140px,1fr))}.admin-search-field{grid-column:span 2}.admin-venue-row{grid-template-columns:28px 54px minmax(180px,1fr) auto}.admin-venue-tags{grid-column:3/5;justify-content:flex-start}.admin-venue-actions{grid-column:4;grid-row:1/2}}
@media(max-width:720px){.venue-catalog-tools{align-items:stretch;flex-direction:column}.venue-catalog-tools .btn{width:100%}.compact-catalog{max-height:52vh;grid-template-columns:1fr!important}.admin-venue-filters{grid-template-columns:1fr 1fr;padding:11px}.admin-search-field{grid-column:1/-1}.admin-bulkbar{top:64px;gap:7px}.admin-bulkbar select{flex:1;min-width:180px}.admin-venue-row{grid-template-columns:24px 48px minmax(0,1fr) auto;gap:9px;padding:9px}.admin-venue-photo{width:44px;height:44px}.admin-venue-main strong{font-size:13px}.admin-venue-main small{white-space:normal;line-height:1.25}.admin-venue-tags{grid-column:2/5;justify-content:flex-start}.admin-venue-actions{grid-column:4;grid-row:1/2}.admin-pagination{justify-content:space-between}.admin-pagination .btn{padding:8px 10px}}

/* AperiSwipe v0.4.7.4 — fix filtro locale live, badge utilizzo e menu mobile */
.catalog-venue>span{grid-template-rows:auto auto auto!important}
.catalog-venue img,.catalog-venue i{grid-row:1/4!important}
.catalog-venue .venue-usage-badge{grid-column:2!important;grid-row:3!important;justify-self:start!important;align-self:start!important;max-width:100%!important;width:auto!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.15!important}
.compact-catalog .catalog-venue .venue-usage-badge{margin-top:5px!important}
@media(max-width:720px){
  .mobile-app-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important;height:58px!important;padding:5px 10px!important}
  .mobile-app-nav.is-admin{grid-template-columns:repeat(5,minmax(0,1fr))!important}
  .mobile-nav-item{font-size:18px!important;gap:1px!important;min-width:0!important;padding:4px 2px!important}
  .mobile-nav-item b{font-size:9.5px!important;line-height:1.05!important;margin-top:1px!important;white-space:nowrap!important}
  .mobile-nav-admin{color:#ffd9ce!important}
  .catalog-venue>span{grid-template-columns:48px minmax(0,1fr)!important;column-gap:10px!important}
  .catalog-venue .venue-usage-badge{font-size:9.5px!important;padding:4px 7px!important}
}
@media(max-width:390px){.mobile-nav-item{font-size:17px!important}.mobile-nav-item b{font-size:9px!important}}

/* v0.4.7.5 - telefono prenotazione sui prossimi confermati */
.event-booking-phone{display:flex;align-items:center;gap:8px;margin-top:8px;padding:8px 10px;border:1px solid #dcefe4;border-radius:12px;background:#f7fcf9;color:#315f49;font-size:12px;max-width:100%}.event-booking-phone>span:nth-child(2){display:flex;flex-direction:column;min-width:0;line-height:1.15}.event-booking-phone small{font-size:9px;text-transform:uppercase;letter-spacing:.055em;color:#789483;font-weight:850;margin-bottom:2px}.event-booking-phone b{overflow-wrap:anywhere}.event-call-action{margin-left:auto;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 10px;border-radius:999px;background:#276d49;color:#fff;font-size:11px;font-weight:900;cursor:pointer;user-select:none}.event-call-action:focus-visible{outline:2px solid #276d49;outline-offset:2px}@media(max-width:720px){.event-booking-phone{padding:8px}.event-call-action{min-height:32px;padding-inline:11px}}

/* v0.4.7.6 — il filtro città usa l’attributo hidden: display:flex non deve sovrascriverlo. */
.city-option[hidden]{display:none!important}

/* v0.4.7.7 — città profilo + fallback foto Google */
.profile-city-card{margin:0}.profile-city-form{display:flex;align-items:end;gap:10px}.profile-city-form label{flex:1;margin:0}.profile-city-form input{width:100%}.profile-city-summary{margin:4px 0 0!important;color:#6f625c!important;font-size:12px!important}.venue-photo-fallback{width:100%;height:100%;display:grid;place-items:center;background:#fff3ee;font-size:20px;line-height:1}.catalog-venue .venue-photo-fallback{grid-column:1!important;grid-row:1/4!important;width:48px;height:48px;border-radius:12px}.venue-swipe-photo>.venue-photo-fallback{position:absolute;inset:0;width:100%;height:100%;font-size:42px}.admin-venue-photo>.venue-photo-fallback{width:100%;height:100%}@media(max-width:720px){.profile-city-form{align-items:stretch;flex-direction:column}.profile-city-form .btn{width:100%}}

/* v0.4.8.2 — foto locali da sorgenti riutilizzabili */
.commons-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;margin:18px 0}.commons-photo-card{overflow:hidden;border:1px solid var(--border,#eadfd9);border-radius:18px;background:var(--surface,#fff);box-shadow:0 8px 24px rgba(31,20,16,.05)}.commons-photo-card>img{display:block;width:100%;height:160px;object-fit:cover;background:#f7f2ef}.commons-photo-meta{display:flex;flex-direction:column;gap:7px;padding:12px}.commons-photo-meta strong{font-size:.94rem;line-height:1.25;overflow-wrap:anywhere}.commons-photo-meta small{color:var(--muted,#746c68);line-height:1.35}.commons-photo-meta a{font-size:.82rem}.commons-photo-meta form{margin-top:4px}.photo-current-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.photo-current-panel img{width:190px;height:120px;object-fit:cover;border-radius:16px}.photo-google-fallback{margin-top:20px}.photo-google-fallback span{opacity:.8}.venue-photo-credit{display:block;margin-top:6px;font-size:.72rem;line-height:1.25;color:var(--muted,#746c68)}.admin-venue-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:720px){.commons-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.commons-photo-card>img{height:120px}.commons-photo-meta{padding:9px}.photo-current-panel{align-items:flex-start;flex-direction:column}.photo-current-panel img{width:100%;height:180px}.admin-venue-actions{justify-content:flex-start}}

/* v0.4.8.3 · Editor locali + ricerca foto massiva */
.mobile-app-nav.is-editor{grid-template-columns:repeat(5,minmax(0,1fr))!important}.venue-editor-assign{margin:18px 0;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff8f5}.venue-editor-assign label{display:block;margin:0}.venue-editor-assign select{width:100%;margin-top:6px}.venue-editor-assign p{margin:7px 0 0}.editor-permissions-note{margin:18px 0}.editor-venue-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.editor-venue-card{overflow:hidden;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 8px 24px rgba(31,20,16,.05)}.editor-venue-card-photo{height:160px;display:grid;place-items:center;background:#fff3ee;font-size:42px;overflow:hidden}.editor-venue-card-photo img{width:100%;height:100%;object-fit:cover}.editor-venue-card-body{padding:16px}.editor-venue-card-body h2{margin:3px 0 6px;font-size:1.15rem}.editor-venue-card-body p{min-height:1.2em}.editor-venue-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.bulk-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;margin:18px 0}.bulk-photo-card{overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff}.bulk-photo-preview{height:150px;display:grid;place-items:center;background:#fff3ee;font-size:36px}.bulk-photo-preview img{width:100%;height:100%;object-fit:cover}.bulk-photo-body{display:flex;flex-direction:column;gap:6px;padding:12px}.bulk-photo-body>small{line-height:1.3}.bulk-photo-choice{display:flex!important;align-items:center;gap:8px;margin:6px 0 0!important;font-weight:800}.bulk-photo-choice input{width:auto!important}.bulk-photo-submit{display:flex;justify-content:flex-end;margin:16px 0 28px}
@media(max-width:720px){.editor-venue-grid,.bulk-photo-grid{grid-template-columns:1fr}.bulk-photo-submit .btn{width:100%}}

/* AperiSwipe v0.4.8.4 · Admin Locali/Utenti + motore ricerca locali */
.admin-section-tabs{max-width:900px;margin:4px auto 0;padding:0 20px;display:flex;gap:8px}.admin-section-tabs a{min-width:132px;display:flex;align-items:center;justify-content:center;gap:7px;padding:11px 18px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--muted);font-weight:850}.admin-section-tabs a.active{background:#fff1eb;border-color:#f7b5a4;color:var(--brand);box-shadow:0 7px 18px rgba(242,81,44,.08)}
.admin-user-filters{display:grid;grid-template-columns:minmax(240px,2fr) repeat(3,minmax(130px,1fr)) auto;align-items:end;gap:10px;padding:12px;margin-bottom:14px;border:1px solid var(--line);border-radius:16px;background:#fff}.admin-user-filters label{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:800;color:var(--muted)}.admin-user-filters input,.admin-user-filters select{min-height:40px;border:1px solid var(--line);border-radius:11px;padding:8px 10px;background:#fff;font:inherit;color:var(--text)}.admin-user-summary{margin:8px 2px 12px;color:var(--muted);font-size:13px}.admin-user-list{display:grid;gap:8px}.admin-user-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto 64px 18px;align-items:center;gap:11px;padding:11px 13px;border:1px solid var(--line);border-radius:15px;background:#fff}.admin-user-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#fff0ea;color:var(--brand);font-weight:900}.admin-user-main{display:flex;flex-direction:column;gap:3px;min-width:0}.admin-user-main strong,.admin-user-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-user-main small{color:var(--muted);font-size:11px}.admin-user-role{padding:5px 8px;border-radius:999px;font-size:10px;font-weight:900}.role-user{background:#f3efed;color:#6f625c}.role-editor{background:#fff3da;color:#936000}.role-admin{background:#fff0ea;color:#b64231}.admin-user-venues{display:flex;align-items:center;justify-content:center;gap:4px;color:var(--muted)}.admin-user-venues small{font-size:10px}.admin-user-venue-assign{margin:24px 0}.admin-user-venue-search{width:100%;margin:4px 0 10px;border:1px solid var(--line);border-radius:13px;padding:12px;font:inherit}.admin-user-venue-list{max-height:430px;overflow:auto;display:grid;gap:7px;padding:2px}.admin-user-venue-item{display:flex!important;align-items:center;gap:10px;margin:0!important;padding:10px;border:1px solid var(--line);border-radius:13px;background:#fff;cursor:pointer}.admin-user-venue-item input{width:auto!important;flex:0 0 auto}.admin-user-venue-item>span{display:flex;flex:1;min-width:0;flex-direction:column;gap:2px}.admin-user-venue-item small{color:var(--muted);font-weight:500}.admin-user-venue-item em{color:#9a6200;font-size:10px;font-style:normal}.admin-user-venue-item:has(input:checked){border-color:#f2a38f;background:#fff7f3}.admin-pagination .is-disabled{opacity:.45;pointer-events:none}
.venue-discovery{margin:18px 0 28px;padding:18px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(135deg,#fff,#fff8f4);box-shadow:0 12px 34px rgba(72,38,24,.06)}.venue-discovery-head{margin-bottom:12px}.venue-discovery-head h2{margin:4px 0}.venue-discovery-head p{margin:4px 0 0}.venue-discovery-controls{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(260px,2fr);gap:10px}.venue-discovery-controls label{display:flex;flex-direction:column;gap:5px;color:var(--muted);font-size:11px;font-weight:850}.venue-discovery-controls select,.venue-discovery-controls input{width:100%;min-height:44px;border:1px solid var(--line);border-radius:13px;padding:10px 12px;background:#fff;font:inherit;color:var(--text)}.venue-discovery-status{margin:10px 2px;font-size:11px}.venue-discovery-results{display:grid;gap:9px;transition:opacity .15s}.venue-discovery.is-loading .venue-discovery-results{opacity:.45}.venue-discovery-card{display:grid;grid-template-columns:74px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px;border:1px solid var(--line);border-radius:16px;background:#fff}.venue-discovery-photo{width:72px;height:72px;border-radius:13px;overflow:hidden;display:grid;place-items:center;background:#fff3ee;font-size:28px}.venue-discovery-photo img{width:100%;height:100%;object-fit:cover}.venue-discovery-main{min-width:0}.venue-discovery-title{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.venue-discovery-main>small{display:block;margin-top:3px;color:var(--muted);font-size:11px}.venue-discovery-main p{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.3}.venue-discovery-actions{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap}.venue-discovery-actions .btn.small{padding:8px 10px;font-size:11px}.preselected-venue-notice{display:flex;align-items:center;gap:10px;margin:0 0 14px;padding:11px 13px;border:1px solid #cde9da;border-radius:14px;background:#f4fcf7;color:#226946}.preselected-venue-notice>span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#dff4e8;font-weight:900}.preselected-venue-notice>div{display:flex;flex-direction:column}.preselected-venue-notice small{color:#5f7d6c}
@media(max-width:720px){.admin-section-tabs{padding:0 14px;margin-top:2px}.admin-section-tabs a{flex:1;min-width:0;padding:10px}.admin-user-filters{grid-template-columns:1fr 1fr}.admin-user-filters .admin-search-field{grid-column:1/-1}.admin-user-filters .btn{grid-column:1/-1}.admin-user-row{grid-template-columns:40px minmax(0,1fr) auto 16px}.admin-user-role{grid-column:3}.admin-user-venues{grid-column:2;justify-content:flex-start}.venue-discovery{margin:14px 0 24px;padding:14px;border-radius:20px}.venue-discovery-controls{grid-template-columns:1fr}.venue-discovery-card{grid-template-columns:60px minmax(0,1fr)}.venue-discovery-photo{width:58px;height:58px}.venue-discovery-actions{grid-column:1/-1;justify-content:stretch}.venue-discovery-actions .btn{flex:1}.venue-discovery-main p{display:none}}


/* AperiSwipe v0.4.8.5 · assegnazione Editor mobile senza salti di scroll */
.admin-user-venue-list{overflow-anchor:none;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.admin-user-venue-item{touch-action:manipulation;scroll-margin-block:0}.admin-user-venue-item input{scroll-margin:0}
@media(max-width:720px){.admin-user-venue-list{max-height:min(52vh,430px)}}

/* AperiSwipe v0.4.8.6 · ricerca solo su input + CTA uniformi + Editor mobile stabile */
.venue-discovery-actions .venue-discovery-organize{min-width:180px}
@media(max-width:720px){
  .venue-discovery-actions{justify-content:flex-end}
  .venue-discovery-actions .venue-discovery-organize{flex:0 0 calc(50% - 3px);width:calc(50% - 3px);min-width:0}
  .venue-discovery-actions .btn:not(.venue-discovery-organize){flex:1 1 0;min-width:0}
  .admin-user-venue-item input{pointer-events:none}
}

/* AperiSwipe v0.4.8.7 — Editor list stable scroll + phone CTA */
.admin-user-venue-list{overflow-anchor:none;overscroll-behavior:contain;contain:layout paint;}
.admin-user-venue-item{user-select:none;-webkit-user-select:none;}
.admin-user-venue-item:focus-visible{outline:2px solid var(--brand);outline-offset:2px;}
.admin-user-venue-checkbox{pointer-events:none;}
.venue-discovery-phone{display:flex!important;flex-direction:column;align-items:center;justify-content:center;line-height:1.05;gap:3px;}
.venue-discovery-phone small{font-size:9px;font-weight:800;white-space:nowrap;color:inherit;}
@media(max-width:720px){
  .admin-user-venue-list{height:min(50dvh,430px);min-height:280px;max-height:none;overflow-y:auto;}
  .venue-discovery-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;align-items:stretch;}
  .venue-discovery-actions .venue-discovery-organize{width:100%;min-width:0;grid-column:2;grid-row:1;}
  .venue-discovery-actions .venue-discovery-phone{width:100%;min-width:0;grid-column:1;grid-row:1;}
  .venue-discovery-actions .venue-discovery-site{grid-column:1/-1;grid-row:2;}
}


/* AperiSwipe v0.4.8.8 — Editor stabile + telefono nelle card di Organizza */
.admin-user-venue-assign[hidden]{display:block!important}
.admin-user-venue-assign{border-top:1px solid var(--line);padding-top:18px}
.admin-user-venue-assign.is-role-editor{border-top-color:#f4b29f}
.admin-user-venue-checkbox{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;margin:0!important}
.admin-user-venue-check{width:24px;height:24px;border:1px solid var(--line);border-radius:7px;display:grid;place-items:center;flex:0 0 24px;color:transparent;background:#fff;font-weight:950;line-height:1}
.admin-user-venue-item[aria-checked="true"]{border-color:#f2a38f;background:#fff7f3}
.admin-user-venue-item[aria-checked="true"] .admin-user-venue-check{background:var(--brand);border-color:var(--brand);color:#fff}
.admin-user-venue-copy{display:flex!important;flex:1;min-width:0;flex-direction:column;gap:2px}
.admin-user-venue-item{position:relative;outline:none!important;overflow-anchor:none}
.catalog-venue>span{grid-template-rows:auto auto auto auto!important}
.catalog-venue img,.catalog-venue i{grid-row:1/5!important}
.catalog-venue .venue-usage-badge{grid-row:3!important}
.catalog-venue-phone{grid-column:2;grid-row:4;display:flex;align-items:center;gap:7px;min-width:0;margin-top:5px;color:#466a57}
.catalog-venue-phone a{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:4px 9px;border-radius:999px;background:#2f7752;color:#fff;font-size:10px;font-weight:900;text-decoration:none;flex:0 0 auto}
.catalog-venue-phone b{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:800}
.preselected-venue-phone{display:flex;align-items:center;gap:8px;margin-top:5px}.preselected-venue-phone a{display:inline-flex;padding:4px 9px;border-radius:999px;background:#2f7752;color:#fff;font-size:10px;font-weight:900}.preselected-venue-phone b{font-size:11px}
@media(max-width:720px){
  .admin-user-venue-list{height:min(50dvh,430px);overflow-y:auto;overflow-anchor:none;contain:strict;touch-action:pan-y}
  .admin-user-venue-item{touch-action:pan-y;min-height:56px}
  .catalog-venue-phone{gap:6px}.catalog-venue-phone a{min-height:28px}.catalog-venue-phone b{font-size:10px}
}

/* AperiSwipe v0.4.8.9 — cache-bust, Editor senza form control, RSVP binario */
.vote-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}
.admin-user-venue-list{contain:none!important;overflow-anchor:none!important;scroll-behavior:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.admin-user-venue-item{position:relative;min-height:58px;touch-action:pan-y;overflow-anchor:none!important;user-select:none;-webkit-user-select:none}
.admin-user-venue-item>.admin-user-venue-check{width:24px!important;height:24px!important;flex:0 0 24px!important;display:grid!important;place-items:center!important}
.admin-user-venue-item>.admin-user-venue-copy{display:flex!important;flex:1 1 auto!important;min-width:0!important;flex-direction:column!important;gap:2px!important}
.admin-user-venue-item[aria-checked="true"]{border-color:#f2a38f;background:#fff7f3}
.admin-user-venue-item[aria-checked="true"]>.admin-user-venue-check{background:var(--brand);border-color:var(--brand);color:#fff}
.venue-swipe-phone{display:flex;align-items:center;gap:8px;margin-top:7px;flex-wrap:wrap}.venue-swipe-phone a{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:5px 10px;border-radius:999px;background:#2f7752;color:#fff;font-size:10px;font-weight:900}.venue-swipe-phone b{font-size:11px;color:#466a57;overflow-wrap:anywhere}
@media(max-width:720px){
  .admin-user-venue-list{height:min(52dvh,440px)!important;max-height:none!important;overflow-y:auto!important}
  .vote-buttons{grid-template-columns:1fr 1fr}
  .vote span{text-align:center}
  .catalog-venue-phone{display:flex!important;visibility:visible!important;opacity:1!important}
}


/* AperiSwipe v0.4.9.0 — registrazione/privacy + stabilità selezione locali Editor */
.register-name-grid{grid-template-columns:1fr 1fr;gap:10px}
.privacy-ack-row{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:10px!important;margin:6px 0 0;font-weight:700!important;line-height:1.35}
.privacy-ack-row input{width:20px!important;height:20px!important;min-width:20px;margin:1px 0 0!important;accent-color:var(--brand)}
.privacy-ack-row span{display:block;min-width:0}.privacy-ack-row a{text-decoration:underline;text-underline-offset:2px}
.privacy-version-note{display:block;margin:-2px 0 8px}
.privacy-policy-page{max-width:860px;margin:0 auto}.privacy-page-head{align-items:flex-start}.privacy-policy-card{line-height:1.65}.privacy-policy-card h2{margin:28px 0 8px;font-size:19px}.privacy-policy-card p{margin:8px 0}.privacy-policy-card ul{padding-left:22px}.privacy-policy-card li{margin:5px 0}.privacy-warning{padding:10px 12px;border-radius:12px;background:#fff7e6;border:1px solid #f3d28a}
.footer a{margin-left:8px;text-decoration:underline;text-underline-offset:2px}
[data-user-venue-hidden]{display:none!important}
.admin-user-venue-assign .section-count{min-width:2.4rem;text-align:center;font-variant-numeric:tabular-nums}
.admin-user-venue-list{overflow-anchor:none!important;scroll-behavior:auto!important;overscroll-behavior-y:contain!important}
.admin-user-venue-item{overflow-anchor:none!important}
@media(max-width:720px){.register-name-grid{grid-template-columns:1fr}.privacy-policy-card{padding:16px}.privacy-policy-card h2{font-size:18px}.admin-user-venue-list{overscroll-behavior-y:contain!important}}


/* AperiSwipe v0.4.9.1 · Dark Mode, logout mobile e cancellazione account */
.profile-theme-card,.profile-danger-card{margin:0}.theme-preference-form{margin-top:14px}.theme-toggle-row{display:flex!important;align-items:center;justify-content:space-between;gap:18px;margin:0!important;padding:14px 0!important}.theme-toggle-row>span:first-child{display:flex;flex-direction:column;gap:3px}.theme-toggle-row small{color:var(--muted);font-size:12px}.theme-switch{position:relative;display:inline-flex;width:54px;height:30px;flex:0 0 auto}.theme-switch input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:auto!important}.theme-switch>span{position:absolute;inset:0;border-radius:999px;background:#d8cec9;transition:.2s;box-shadow:inset 0 0 0 1px rgba(50,30,20,.08)}.theme-switch>span:after{content:"";position:absolute;width:24px;height:24px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 7px rgba(0,0,0,.2);transition:.2s}.theme-switch input:checked+span{background:var(--brand)}.theme-switch input:checked+span:after{transform:translateX(24px)}.theme-switch input:focus-visible+span{outline:3px solid rgba(242,81,44,.25);outline-offset:2px}.theme-system-btn{margin-top:8px;color:var(--brand);font-weight:800}.profile-mobile-logout{display:none}.danger-eyebrow{color:#b73535}.danger-outline{border:1px solid #e3a9a9!important;background:#fff7f7!important;color:#a42f2f!important}.btn.danger{background:#b73535;color:#fff}.delete-account-details{margin-top:14px}.delete-account-details>summary{list-style:none;cursor:pointer;width:100%}.delete-account-details>summary::-webkit-details-marker{display:none}.delete-account-form{margin-top:16px;padding-top:4px;border-top:1px solid var(--line)}.delete-account-form input{width:100%;border:1px solid var(--line);background:#fff;border-radius:14px;padding:14px;font:inherit;outline:none}.delete-account-form .btn.danger{margin-top:16px}
@media(max-width:720px){.profile-mobile-logout{display:block;margin:0}.profile-danger-card{grid-column:1}.profile-theme-card{grid-column:1}}

html[data-theme="dark"]{color-scheme:dark;--bg:#151210;--surface:#201b18;--text:#f6efeb;--muted:#b9aaa3;--line:#413630;--brand-soft:#3a201a;--brand-soft-2:#2b1c18;--shadow:0 18px 60px rgba(0,0,0,.28)}
html[data-theme="dark"] body{background:linear-gradient(180deg,#151210 0,#1b1715 52%,#151210 100%);color:var(--text)}
html[data-theme="dark"] .topbar,html[data-theme="dark"] .footer{color:var(--text)}
html[data-theme="dark"] .demo-card,html[data-theme="dark"] .form-card,html[data-theme="dark"] .panel,html[data-theme="dark"] .share-card,html[data-theme="dark"] .winner,html[data-theme="dark"] .event-card,html[data-theme="dark"] .empty,html[data-theme="dark"] .center-card,html[data-theme="dark"] .history-card,html[data-theme="dark"] .soft-empty,html[data-theme="dark"] .dashboard-section,html[data-theme="dark"] .invite-head,html[data-theme="dark"] .editor-venue-card,html[data-theme="dark"] .bulk-photo-card,html[data-theme="dark"] .venue-editor-assign{background:#201b18!important;border-color:var(--line)!important;color:var(--text)}
html[data-theme="dark"] .btn.ghost,html[data-theme="dark"] .form-card input,html[data-theme="dark"] .form-card select,html[data-theme="dark"] .form-card textarea,html[data-theme="dark"] .confirm select,html[data-theme="dark"] .sharebox input,html[data-theme="dark"] .delete-account-form input,html[data-theme="dark"] .avatar-primary-action,html[data-theme="dark"] .avatar-upload-drop{background:#181412!important;border-color:var(--line)!important;color:var(--text)!important}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#877a74}
html[data-theme="dark"] .choice span,html[data-theme="dark"] .vote span,html[data-theme="dark"] .venue-choice span,html[data-theme="dark"] .people span,html[data-theme="dark"] .desktop-install-help{background:#181412;border-color:var(--line)}
html[data-theme="dark"] .choice input:checked+span,html[data-theme="dark"] .venue-choice input:checked+span{background:#3a201a;border-color:var(--brand)}
html[data-theme="dark"] .mobile-app-nav,html[data-theme="dark"] .admin-section-tabs,html[data-theme="dark"] .install-sheet-card{background:#211b18!important;border-color:var(--line)!important;color:var(--text)}
html[data-theme="dark"] .venue-discovery-card,html[data-theme="dark"] .catalog-venue,html[data-theme="dark"] .event-row-card,html[data-theme="dark"] .friend-card,html[data-theme="dark"] .notification-card{background:#201b18!important;border-color:var(--line)!important;color:var(--text)}
html[data-theme="dark"] .venue-discovery-photo,html[data-theme="dark"] .venue-photo-fallback,html[data-theme="dark"] .editor-venue-card-photo,html[data-theme="dark"] .bulk-photo-preview{background:#2d211d!important}
html[data-theme="dark"] .danger-outline{background:#2b1717!important;border-color:#714343!important;color:#ffaaaa!important}
html[data-theme="dark"] .toast{background:#f2e8e2;color:#221b18}
html[data-theme="dark"] .profile-photo-badge{border-color:#201b18}
html[data-theme="dark"] .theme-switch>span{background:#5a4d47}


/* AperiSwipe v0.4.9.2 · Dark Mode contrast pass + pill leggibili */
html[data-theme="dark"]{
  --surface:#211b18;
  --surface-2:#181412;
  --surface-3:#2a211d;
  --surface-hover:#30251f;
  --text:#f7f0ec;
  --muted:#c0b1aa;
  --line:#4b3e38;
  --brand-soft:#3b211b;
  --brand-soft-2:#2b1d19;
}

/* Superfici e card che in 0.4.9.1 restavano bianche */
html[data-theme="dark"] .venue-swipe-card,
html[data-theme="dark"] .swipe-progress,
html[data-theme="dark"] .swipe-action,
html[data-theme="dark"] .swipe-complete,
html[data-theme="dark"] .mini-event,
html[data-theme="dark"] .friend-search-card,
html[data-theme="dark"] .friend-row,
html[data-theme="dark"] .friend-tile,
html[data-theme="dark"] .friend-picker label,
html[data-theme="dark"] .friend-list-picker label>span,
html[data-theme="dark"] .vote-person-card,
html[data-theme="dark"] .confirm-v4,
html[data-theme="dark"] .response-closed-card,
html[data-theme="dark"] .admin-table-wrap,
html[data-theme="dark"] .admin-venue-filters,
html[data-theme="dark"] .admin-venue-row,
html[data-theme="dark"] .admin-user-filters,
html[data-theme="dark"] .admin-user-row,
html[data-theme="dark"] .admin-user-venue-item,
html[data-theme="dark"] .catalog-venue>span,
html[data-theme="dark"] .venue-discovery,
html[data-theme="dark"] .venue-discovery-card,
html[data-theme="dark"] .city-options,
html[data-theme="dark"] .city-option,
html[data-theme="dark"] .soft-empty,
html[data-theme="dark"] .warning,
html[data-theme="dark"] .privacy-warning{
  background:var(--surface)!important;
  border-color:var(--line)!important;
  color:var(--text)!important;
  box-shadow:none;
}

html[data-theme="dark"] .venue-discovery{
  background:linear-gradient(135deg,#211b18,#261c18)!important;
}
html[data-theme="dark"] .friend-search-card,
html[data-theme="dark"] .confirm-v4{
  background:linear-gradient(145deg,#211b18,#261c18)!important;
}

/* Campi input/select e controlli secondari */
html[data-theme="dark"] .venue-discovery-controls select,
html[data-theme="dark"] .venue-discovery-controls input,
html[data-theme="dark"] .admin-venue-filters input,
html[data-theme="dark"] .admin-venue-filters select,
html[data-theme="dark"] .admin-bulkbar select,
html[data-theme="dark"] .admin-user-filters input,
html[data-theme="dark"] .admin-user-filters select,
html[data-theme="dark"] .admin-user-venue-search,
html[data-theme="dark"] .quick-searches button,
html[data-theme="dark"] .search-row input,
html[data-theme="dark"] .friend-list-create input,
html[data-theme="dark"] .collection-search input,
html[data-theme="dark"] .city-combobox input,
html[data-theme="dark"] .city-toggle,
html[data-theme="dark"] .venue-live-search input,
html[data-theme="dark"] .date-option input,
html[data-theme="dark"] .response-deadline-field input,
html[data-theme="dark"] .venue-inputs input{
  background:var(--surface-2)!important;
  border-color:var(--line)!important;
  color:var(--text)!important;
}
html[data-theme="dark"] select option{background:#181412;color:#f7f0ec}
html[data-theme="dark"] input[type="date"],
html[data-theme="dark"] input[type="time"],
html[data-theme="dark"] input[type="datetime-local"]{color-scheme:dark}

/* Selezioni: scure ma chiaramente attive */
html[data-theme="dark"] .catalog-venue input:checked+span,
html[data-theme="dark"] .google-result:has(input:checked),
html[data-theme="dark"] .admin-user-venue-item[aria-checked="true"],
html[data-theme="dark"] .admin-user-venue-item:has(input:checked),
html[data-theme="dark"] .friend-picker label:has(input:checked),
html[data-theme="dark"] .friend-list-picker input:checked+span,
html[data-theme="dark"] .attendance-choice input:checked+span{
  background:#3a211b!important;
  border-color:#a95741!important;
  color:var(--text)!important;
}
html[data-theme="dark"] .admin-user-venue-check{background:#181412!important;border-color:#65534b!important}
html[data-theme="dark"] .admin-user-venue-item[aria-checked="true"] .admin-user-venue-check{background:var(--brand)!important;border-color:var(--brand)!important;color:#fff!important}

/* Scheda swipe locale */
html[data-theme="dark"] .venue-swipe-card{box-shadow:0 22px 70px rgba(0,0,0,.38)}
html[data-theme="dark"] .venue-swipe-photo{background:#261d19}
html[data-theme="dark"] .venue-photo-placeholder{background:linear-gradient(145deg,#31231e,#47271f)}
html[data-theme="dark"] .compatibility-badge{background:rgba(28,22,19,.92)!important;color:#ff9b82!important;border:1px solid #59443b}
html[data-theme="dark"] .swipe-stamp{background:rgba(24,19,17,.80)}
html[data-theme="dark"] .swipe-action.pass{background:#251818!important;border-color:#5d3939!important;color:#ff9b9b!important}
html[data-theme="dark"] .swipe-action.like{background:#15251d!important;border-color:#345e48!important;color:#88ddb0!important}
html[data-theme="dark"] .swipe-complete-icon{background:#173426;color:#91e3b9}

/* Pillole uso locale: contrasto AA sul fondo scuro */
html[data-theme="dark"] .venue-usage-badge{background:#3b241e!important;color:#ffb49f!important;border-color:#684236!important}
html[data-theme="dark"] .venue-usage-badge.aperitivo{background:#3b2a15!important;color:#ffd08a!important;border-color:#6b4b20!important}
html[data-theme="dark"] .venue-usage-badge.aperitivo_cena{background:#17382a!important;color:#9be0bd!important;border-color:#315f49!important}
html[data-theme="dark"] .venue-usage-badge.cena{background:#2d2440!important;color:#d5c1f1!important;border-color:#56466f!important}

/* Source / stato Admin: niente pillole bianche con testo scuro */
html[data-theme="dark"] .source-badge{background:#302824!important;color:#e8ddd7!important;border:1px solid #554640}
html[data-theme="dark"] .source-badge.manual{background:#3b211b!important;color:#ffad97!important;border-color:#664035}
html[data-theme="dark"] .source-badge.google{background:#1d2b43!important;color:#a9c8ff!important;border-color:#38537a}
html[data-theme="dark"] .source-badge.json{background:#2b2a31!important;color:#e4dff0!important;border-color:#4c4957}
html[data-theme="dark"] .admin-status.on{background:#17382a!important;color:#9be0bd!important;border:1px solid #315f49}
html[data-theme="dark"] .admin-status.off{background:#302824!important;color:#c9bbb4!important;border:1px solid #554640}
html[data-theme="dark"] .role-user{background:#302824!important;color:#ddd0c9!important}
html[data-theme="dark"] .role-editor{background:#3b2a15!important;color:#ffd08a!important}
html[data-theme="dark"] .role-admin{background:#3b211b!important;color:#ffad97!important}

/* Pillole generiche e stati evento */
html[data-theme="dark"] .swipe-pill,
html[data-theme="dark"] .tag,
html[data-theme="dark"] .count-badge,
html[data-theme="dark"] .compat-mini{background:#3b211b!important;color:#ffad97!important}
html[data-theme="dark"] .status.voting,
html[data-theme="dark"] .status.pending,
html[data-theme="dark"] .pending-hint{background:#3a2b16!important;color:#ffd080!important;border-color:#684d24!important}
html[data-theme="dark"] .status.confirmed,
html[data-theme="dark"] .participant-state.going,
html[data-theme="dark"] .vote-chip.yes,
html[data-theme="dark"] .vote-chip.like{background:#17382a!important;color:#9be0bd!important;border-color:#315f49!important}
html[data-theme="dark"] .participant-state.not_going,
html[data-theme="dark"] .vote-chip.no,
html[data-theme="dark"] .vote-chip.pass{background:#3b1f20!important;color:#ffabab!important}
html[data-theme="dark"] .participant-state,
html[data-theme="dark"] .vote-chip,
html[data-theme="dark"] .status.closed,
html[data-theme="dark"] .pending-hint.is-closed{background:#302824!important;color:#d0c2bb!important;border-color:#554640!important}

/* Box informativi chiari */
html[data-theme="dark"] .preselected-venue-notice,
html[data-theme="dark"] .event-venue-choice{background:#17382a!important;color:#9be0bd!important;border-color:#315f49!important}
html[data-theme="dark"] .preselected-venue-notice>span{background:#214b38!important;color:#b7efcf!important}
html[data-theme="dark"] .preselected-venue-notice small{color:#a9cbb9!important}
html[data-theme="dark"] .deadline-status-card.is-open{background:#342817!important;border-color:#6b5229!important}
html[data-theme="dark"] .deadline-status-card.is-open .deadline-status-icon{background:#4a381c!important}
html[data-theme="dark"] .deadline-status-card.is-closed{background:#2b2522!important;border-color:#554842!important}
html[data-theme="dark"] .deadline-status-card.is-closed .deadline-status-icon,
html[data-theme="dark"] .closed-lock{background:#3a322e!important}
html[data-theme="dark"] .response-closed-card{background:linear-gradient(145deg,#241f1c,#1c1816)!important}
html[data-theme="dark"] .privacy-warning,
html[data-theme="dark"] .warning{background:#342817!important;border-color:#6b5229!important;color:#f1dcc0!important}

/* Admin bar e tab */
html[data-theme="dark"] .admin-bulkbar{background:rgba(31,25,22,.96)!important;border-color:var(--line)!important}
html[data-theme="dark"] .admin-section-tabs a{background:#211b18!important;border-color:var(--line)!important;color:var(--muted)!important}
html[data-theme="dark"] .admin-section-tabs a.active{background:#3b211b!important;border-color:#744637!important;color:#ff9b82!important}
html[data-theme="dark"] .admin-venue-photo,
html[data-theme="dark"] .venue-thumb,
html[data-theme="dark"] .catalog-venue img,
html[data-theme="dark"] .catalog-venue i,
html[data-theme="dark"] .admin-user-avatar{background:#2d211d!important}

/* Testi secondari sempre leggibili */
html[data-theme="dark"] .catalog-venue small,
html[data-theme="dark"] .venue-discovery-main>small,
html[data-theme="dark"] .venue-discovery-main p,
html[data-theme="dark"] .admin-venue-main small,
html[data-theme="dark"] .admin-user-main small,
html[data-theme="dark"] .friend-tile small,
html[data-theme="dark"] .friend-row small,
html[data-theme="dark"] .attendance-choice small,
html[data-theme="dark"] .soft-empty small{color:var(--muted)!important}

/* AperiSwipe v0.4.9.3 · Dark header/pills + segnalazione locale chiuso */
html[data-theme="dark"] .topbar{
  background:rgba(24,20,18,.94)!important;
  border-bottom-color:#40342f!important;
  color:var(--text)!important;
  box-shadow:0 8px 28px rgba(0,0,0,.20);
}
html[data-theme="dark"] .topbar .desktop-app-link,
html[data-theme="dark"] .topbar .hello,
html[data-theme="dark"] .topbar .header-logout .linkbtn{
  color:#cbbdb6!important;
}
html[data-theme="dark"] .topbar .desktop-app-link:hover,
html[data-theme="dark"] .topbar .header-logout .linkbtn:hover{
  color:#fff!important;
}
html[data-theme="dark"] .topbar .brand-name{color:#f7f0ec!important}
html[data-theme="dark"] .topbar .notification-link{
  background:#211b18!important;
  border-color:#594a43!important;
}
html[data-theme="dark"] .topbar .notification-link svg{stroke:#f1e8e3!important}
html[data-theme="dark"] .topbar .header-user-avatar{background:#2d211d!important;border-color:#4b3e38!important}

html[data-theme="dark"] .attendee-chip-list span{
  background:#2a221f!important;
  border:1px solid #4b3e38!important;
  color:#f7f0ec!important;
}
html[data-theme="dark"] .attendee-chip-list i{
  background:#171311!important;
  color:#ff7a58!important;
  border:1px solid #453832;
}
html[data-theme="dark"] .history-main>small,
html[data-theme="dark"] .history-attendees>strong,
html[data-theme="dark"] .history-attendees em{color:#c0b1aa!important}

.venue-report-closed{
  appearance:none;border:0;background:transparent;color:#8c7770;padding:4px 0;
  font:inherit;font-size:11px;font-weight:750;text-decoration:underline;text-underline-offset:3px;
  cursor:pointer;white-space:nowrap;
}
.venue-report-closed:hover{color:#b74238}
.venue-report-closed[disabled]{opacity:.55;cursor:wait}
.venue-report-closed.is-sent{color:#3f8b65;text-decoration:none}
.venue-discovery-actions .venue-report-closed{align-self:center;margin:2px 4px}
.catalog-venue-report{grid-column:2;justify-self:start;margin-top:2px;position:relative;z-index:2}
html[data-theme="dark"] .venue-report-closed{color:#c9aaa0}
html[data-theme="dark"] .venue-report-closed:hover{color:#ff9b82}
html[data-theme="dark"] .venue-report-closed.is-sent{color:#91dfb5}
@media(max-width:720px){
  .venue-discovery-actions .venue-report-closed{grid-column:1/-1;justify-self:center;margin-top:2px}
}

/* v0.4.9.3 — report action also on swipe venue cards */
.venue-swipe-report{margin-top:10px;max-width:max-content}
html[data-theme="dark"] .venue-swipe-report{color:#d8c9c2!important;border-color:#5a4941!important;background:#211b18!important}

/* v0.4.9.3 · generatore JSON Italia */
.italy-json-generator{margin-top:18px;display:grid;gap:14px}
.italy-json-generator h2{margin:4px 0 6px}
.italy-json-progress{display:grid;gap:7px}
.italy-json-progress progress{width:100%;height:12px;accent-color:#ff5a36}
.italy-json-progress strong.error{color:#b74238}
html[data-theme="dark"] .italy-json-generator{background:#211b18!important;border-color:#493d37!important}
html[data-theme="dark"] .italy-json-progress strong{color:#f7f0ec}
html[data-theme="dark"] .italy-json-progress strong.error{color:#ff9b82}

/* AperiSwipe v0.4.9.4 · import JSON + foto locali */
.json-local-photo-option{margin-top:14px;display:flex;gap:11px;align-items:flex-start;padding:13px 14px;border:1px solid var(--line);border-radius:14px;background:var(--soft)}
.json-local-photo-option input{margin-top:3px;flex:0 0 auto}
.json-local-photo-option span{display:grid;gap:3px}
.json-local-photo-option small{color:var(--muted);line-height:1.4}
.photo-localize-info{margin-bottom:18px}
.photo-localize-runner{display:grid;gap:14px}
.photo-localize-runner progress{width:100%;height:13px;accent-color:#f2512c}
.photo-localize-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.photo-localize-stats span{display:grid;gap:2px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--soft)}
.photo-localize-stats b{font-size:22px}
.photo-localize-stats small{color:var(--muted)}
.photo-localize-actions{display:flex;gap:10px;flex-wrap:wrap}
html[data-theme="dark"] .json-local-photo-option,
html[data-theme="dark"] .photo-localize-stats span{background:#211b18!important;border-color:#493d37!important}
html[data-theme="dark"] .photo-localize-info{background:#211b18!important;border-color:#493d37!important}
@media(max-width:720px){.photo-localize-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
