:root{--brand:#e00000;--ink:#20212a;--muted:#7b7d8c;--paper:#f7f7fa;--line:#e9e9f0;--radius:18px;--shadow:0 8px 36px #24243608;--good:#178457;--bad:#be3b4b;--warn:#a37116;--sidebar:258px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font-family:Cairo,system-ui,sans-serif;font-size:14px;line-height:1.75;-webkit-tap-highlight-color:transparent}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-touch-callout:default}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible{outline:3px solid color-mix(in srgb,var(--brand) 35%,transparent);outline-offset:3px}input:focus,textarea:focus,select:focus{outline:0;border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 10%,transparent)}a{color:var(--brand);text-decoration:none}h1,h2,h3,h4,p{margin:0}h1{font-size:29px;line-height:1.5;letter-spacing:-.6px}h2{font-size:20px;line-height:1.6}h3{font-size:16px}small,.small{font-size:12px}.muted{color:var(--muted)}.lead{font-size:15px;line-height:2}.ltr{direction:ltr;unicode-bidi:plaintext}.hidden{display:none!important}.icon{width:21px;height:21px;flex:none;vertical-align:middle}.btn{border:1px solid transparent;background:var(--brand);color:#fff;font-weight:700;font-size:13px;min-height:44px;padding:10px 17px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:11px;transition:background .15s,transform .15s;white-space:nowrap;text-align:center;line-height:1.5}.btn:hover{filter:brightness(.96);transform:translateY(-1px)}.btn.soft{background:#f2f2f7;color:#454555;border-color:var(--line)}.btn.outline{background:#fff;border-color:var(--line);color:var(--ink)}.btn.dark{background:#25252e}.btn.good{background:var(--good)}.btn.danger{background:var(--bad)}.btn.wa{background:#168455}.btn.tiny{min-height:34px;padding:7px 10px;font-size:12px}.btn.full{width:100%}.btn.busy:before{content:'';width:14px;height:14px;border:2px solid currentColor;border-left-color:transparent;border-radius:50%;animation:spin .7s linear infinite}.icon-btn{border:1px solid var(--line);background:#fff;border-radius:10px;padding:8px;min-width:38px;min-height:38px;display:inline-flex;align-items:center;justify-content:center;color:#5d5e6d}.icon-btn:hover{background:#f4f4f8}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.actions.end{justify-content:flex-end;margin-top:22px}.flex-between{display:flex;align-items:center;justify-content:space-between;gap:16px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:25px;box-shadow:var(--shadow)}.panel+.panel{margin-top:20px}.panel-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:22px}.eyebrow{font-size:12px;font-weight:800;color:var(--brand);letter-spacing:.3px}.rule{height:1px;background:var(--line);margin:22px 0}.note{padding:13px 17px;border-radius:12px;background:#f4f4f9;color:#616372;font-size:12px;line-height:1.9}.note.warning{background:#fff7e5;color:#8b6623}.note.error{background:#fff0f2;color:var(--bad)}.note.success{background:#eef9f3;color:var(--good)}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700}.field>span{color:#535361}.field input,.field select,.field textarea,select.control,input.control,textarea.control{border:1px solid #dddfe8;border-radius:10px;background:#fff;min-height:46px;padding:10px 12px;color:var(--ink);width:100%;transition:box-shadow .15s;font-size:14px;font-weight:500}.field textarea,textarea.control{resize:vertical;min-height:96px}.field input[type=color]{height:46px;padding:4px}.field input[type=file]{font-size:12px;padding:8px}.field small{color:var(--muted);font-weight:400}.form-stack{display:grid;gap:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.span2{grid-column:1/-1}.checkline{display:flex;align-items:flex-start;gap:10px;font-size:13px;cursor:pointer}.checkline input{accent-color:var(--brand);width:17px;height:17px;flex:none;margin:4px 0 0}input[type=checkbox]{accent-color:var(--brand)}.hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.field-error{color:var(--bad);font-size:13px;margin-top:8px}.chip{border-radius:7px;background:#f1f1f6;color:#686a7a;display:inline-flex;align-items:center;padding:4px 10px;font-size:11px;font-weight:700;white-space:nowrap}.chip.accepted,.chip.approved,.chip.active,.chip.ready,.chip.published{background:#eaf7ef;color:#158052}.chip.declined,.chip.rejected,.chip.revoked{background:#fcedf0;color:#b13c55}.chip.pending,.chip.review,.chip.draft{background:#fff5dc;color:#a4781d}.chip.used,.chip.confirmed_sent{background:#edf0fc;color:#596bab}.chip.whatsapp_opened{background:#eef5f4;color:#3e8670}.brand{display:flex;flex-direction:column;align-items:flex-start;gap:9px;text-decoration:none;color:var(--ink);max-width:250px}.brand img{width:190px;height:42px;object-fit:contain;object-position:right center;max-width:100%}.brand small{font-size:10px;opacity:.65;font-weight:500;letter-spacing:.2px}.brand-symbol{font:800 32px/1 system-ui;letter-spacing:-5px;color:var(--brand)}.brand-dark{color:white}.sidebar{position:fixed;right:0;top:0;bottom:0;width:var(--sidebar);background:#1d1d26;color:#fff;z-index:40;padding:34px 20px 24px;display:flex;flex-direction:column;border-left:1px solid #ffffff0a}.sidebar .brand{padding:0 10px 29px;align-items:flex-start}.sidebar .brand img{filter:none;background:#121212;border-radius:6px;padding:5px;height:49px}.sidebar .nav-label{font-size:10px;color:#898997;padding:10px 15px;margin-top:10px}.nav{display:grid;gap:5px}.nav a,.nav button{display:flex;align-items:center;gap:12px;padding:12px 15px;border-radius:11px;background:none;color:#aeaebb;border:0;text-align:right;width:100%;font-weight:600;font-size:13px}.nav a:hover,.nav button:hover{background:#ffffff06;color:#fff}.nav .active{background:color-mix(in srgb,var(--brand) 22%,#1d1d26);color:#fff}.nav .active .icon{color:#ff9191}.sidebar-bottom{margin-top:auto;padding-top:25px;border-top:1px solid #ffffff0e}.sidebar-bottom small{display:block;color:#777786;text-align:center;margin-top:14px;font-size:10px}.main{margin-right:var(--sidebar);min-height:100vh}.topbar{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 36px;background:#fff;border-bottom:1px solid var(--line);gap:14px}.topbar .crumb{font-size:12px;color:var(--muted)}.topbar .user{display:flex;align-items:center;gap:11px;font-size:12px;font-weight:700}.avatar{display:grid;place-items:center;width:37px;height:37px;background:color-mix(in srgb,var(--brand) 10%,white);color:var(--brand);border-radius:12px;font-size:17px;font-weight:800}.mobile-toggle{display:none}.content{padding:32px 36px;max-width:1620px;margin:auto}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:27px}.page-head p{color:var(--muted);margin-top:4px;font-size:13px}.product-footer{color:#9696a6;font-size:10px;display:flex;justify-content:center;gap:8px;margin:26px 0 4px}.events-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.event-card{border:1px solid var(--line);background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}.event-cover{height:155px;position:relative;background:radial-gradient(ellipse at 0 120%,color-mix(in srgb,var(--brand) 30%,#292533),transparent 55%),linear-gradient(145deg,#302c39,#1c1e29);overflow:hidden;display:flex;align-items:center;justify-content:center;color:#ffffffa8}.event-cover:after{content:'';width:210px;height:210px;border:1px solid #ffffff1f;border-radius:50%;position:absolute;left:-40px;top:-110px}.event-cover>.icon{width:56px;height:56px;stroke-width:1}.event-cover>img{width:100%;height:100%;object-fit:cover}.event-cover .chip{position:absolute;right:17px;top:17px;z-index:1}.event-card-body{padding:21px}.event-card h3{font-size:17px;margin-bottom:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.event-meta{display:flex;align-items:center;gap:9px;font-size:12px;color:#80818e;margin:7px 0}.event-meta .icon{width:15px;height:15px}.event-card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);margin-top:17px;padding-top:17px;font-size:11px;color:var(--muted)}.event-switcher{max-width:300px;min-width:180px}.event-switcher select{font-size:13px}.event-hero{padding:25px 28px;border-radius:20px;background:linear-gradient(115deg,#28232e,#1d202b);color:white;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px;position:relative;overflow:hidden}.event-hero:after{content:'';width:300px;height:300px;border:1px solid #ffffff13;border-radius:50%;position:absolute;left:13%;top:-210px;pointer-events:none}.event-hero .eyebrow{color:#ffb3b3}.event-hero h2{font-size:26px;margin:3px 0 7px}.event-hero p{font-size:12px;color:#bcb8c7}.event-hero .btn{background:#ffffff10;border-color:#ffffff1a;color:white}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{background:#fff;border:1px solid var(--line);border-radius:15px;padding:19px;display:flex;flex-direction:column;gap:13px}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#82828f;font-size:11px}.stat-top .icon{width:19px;height:19px}.stat-value{font-size:29px;font-weight:800;line-height:1.3;color:#292935}.stat-foot{font-size:11px;color:var(--muted)}.stat.accepted .stat-top .icon,.stat.accepted .stat-value{color:var(--good)}.stat.declined .stat-top .icon,.stat.declined .stat-value{color:var(--bad)}.stat.pending .stat-top .icon{color:var(--warn)}.two-col{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:22px}.two-col>.panel+.panel{margin-top:0}.metrics{display:grid;gap:19px}.metric-line{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:8px}.progress{height:7px;background:#f1f1f5;border-radius:20px;overflow:hidden}.progress span{display:block;height:100%;background:var(--brand);border-radius:20px;max-width:100%;transition:width .4s}.progress.good span{background:var(--good)}.progress.bad span{background:var(--bad)}.activity-list{display:grid;gap:0}.activity-item{position:relative;display:flex;gap:12px;padding:13px 0;border-bottom:1px solid #f0f0f5}.activity-item:last-child{border:0}.activity-dot{margin-top:7px;width:8px;height:8px;flex:none;border-radius:50%;background:var(--brand);box-shadow:0 0 0 4px #f7edf2}.activity-item h4{font-size:12px;font-weight:700}.activity-item p{font-size:11px;color:var(--muted);margin-top:3px;overflow-wrap:anywhere}.activity-item small{font-size:10px;color:#a2a2ae}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:13px}.data-table{width:100%;border-collapse:collapse;text-align:right;white-space:nowrap}.data-table th{background:#f8f8fb;font-size:11px;color:#7a7b8a;font-weight:700;padding:13px 16px;border-bottom:1px solid var(--line)}.data-table td{padding:16px;font-size:12px;border-bottom:1px solid #f0f0f5;vertical-align:middle}.data-table tr:last-child td{border:0}.data-table tbody tr:hover{background:#fcfcfe}.data-table .guest-name{font-size:13px;font-weight:700}.data-table .subline{display:block;font-size:10px;color:var(--muted);margin-top:3px}.data-table .row-check{width:17px;height:17px}.data-table .actions{flex-wrap:nowrap}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}.search-input{display:flex;position:relative;min-width:240px;max-width:340px;flex:1}.search-input .icon{position:absolute;right:13px;top:14px;width:17px;height:17px;color:#a0a0b0}.search-input input{padding-right:39px}.filters{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 20px}.filter{border:1px solid var(--line);background:#fff;color:#7d7e8c;border-radius:9px;font-size:11px;padding:7px 13px}.filter.active{background:#252530;color:#fff;border-color:#252530}.bulkbar{padding:12px 15px;border-radius:11px;background:#f6f2f7;margin-bottom:15px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px}.pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);margin-top:18px}.pagination .actions{gap:7px}.empty{padding:55px 22px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px;color:var(--muted)}.empty>.icon{width:48px;height:48px;stroke-width:1.2;color:#b2a4b1}.empty h3{color:#5e5e6e;font-size:17px}.empty p{max-width:390px;font-size:13px}.loading-block{min-height:240px;display:grid;place-items:center}.initial-loader{min-height:90vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;color:var(--muted)}.spinner{display:inline-block;width:26px;height:26px;border-radius:50%;border:2px solid #ddd9e1;border-left-color:var(--brand);animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#msi-toasts{position:fixed;bottom:25px;left:25px;display:flex;flex-direction:column;gap:10px;z-index:200;max-width:min(480px,calc(100vw - 40px))}.toast{background:#242530;color:#fff;border-radius:13px;padding:14px 20px;font-size:13px;box-shadow:0 8px 35px #0002}.toast.error{background:#a63750}.modal-open{overflow:hidden}.modal-backdrop{position:fixed;inset:0;background:#12121c90;backdrop-filter:blur(4px);z-index:120;display:flex;justify-content:center;align-items:center;padding:24px;overflow-y:auto}.modal{width:560px;max-width:100%;background:#fff;border-radius:22px;max-height:calc(100dvh - 48px);display:flex;flex-direction:column;box-shadow:0 35px 90px #0003}.modal.wide{width:860px}.modal>header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 24px;border-bottom:1px solid var(--line);flex:none}.modal>header h2{font-size:18px}.modal-body{padding:24px;overflow-y:auto}.copy-text{width:100%;min-height:100px;border:1px solid var(--line);border-radius:10px;padding:12px;font-family:monospace;font-size:12px}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.details-grid dt{font-size:11px;color:var(--muted)}.details-grid dd{margin:4px 0 0;font-size:14px;overflow-wrap:anywhere}.details-grid .wide{grid-column:1/-1}.tabs{display:flex;gap:4px;padding:5px;background:#f4f4f8;border-radius:11px;margin-bottom:23px;overflow:auto}.tabs button{flex:1;border:0;background:none;padding:9px 13px;color:#7e7e8e;border-radius:7px;font-size:12px;font-weight:700;white-space:nowrap}.tabs button.active{background:#fff;color:var(--brand);box-shadow:0 2px 6px #00000008}.tab-pane{display:none}.tab-pane.active{display:block}.design-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.design-option{position:relative;cursor:pointer;display:flex;flex-direction:column;border:2px solid var(--line);border-radius:12px;overflow:hidden}.design-option:has(input:checked){border-color:var(--brand)}.design-option input{position:absolute;right:8px;top:8px;accent-color:var(--brand)}.design-option>div{height:95px;background:linear-gradient(140deg,#312435,#171d29);display:grid;place-items:center;color:#dbb5c6;font-size:26px}.design-option.ivory>div{background:#f5eedf;color:#b19559}.design-option.botanical>div{background:#14352e;color:#a2bdac}.design-option>span{padding:8px;text-align:center;font-size:11px;background:white}.media-preview{width:100%;max-height:260px;object-fit:cover;border-radius:12px;display:block;margin-top:10px}.upload-box{padding:28px;border:1px dashed #cfc9d3;border-radius:14px;text-align:center;display:grid;gap:14px;justify-items:center;background:#fbfafd}.upload-box>.icon{width:35px;height:35px;color:var(--brand)}.import-progress{font-size:27px;font-weight:800;margin:20px 0 10px}.import-errors{max-height:220px;overflow:auto;font-size:12px;color:var(--bad);margin-top:14px}.import-errors p{padding:8px 0;border-bottom:1px solid #f5edf1}.owner-list{display:grid;gap:10px}.owner-row{display:flex;gap:13px;align-items:center;border:1px solid var(--line);padding:15px;border-radius:12px}.owner-row p{font-size:12px;color:var(--muted)}.auth-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh;background:#fff}.auth-art{background:radial-gradient(ellipse at 10% 100%,#9d305870,transparent 55%),linear-gradient(145deg,#302430,#171c28);color:#fff;padding:60px 55px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}.auth-art:before,.auth-art:after{content:'';position:absolute;width:470px;height:470px;left:-160px;top:22%;border:1px solid #ffffff12;border-radius:50%;pointer-events:none}.auth-art:after{width:580px;height:580px;top:17%;left:-210px}.auth-art .brand img{background:#121212;padding:7px;border-radius:7px}.auth-art h1{font-size:42px;max-width:370px;margin:32px 0 20px}.auth-art p{max-width:400px;color:#bdb9c6;line-height:2}.auth-art .eyebrow{color:#e4a5ba}.auth-art small{color:#85828f}.auth-form-wrap{padding:50px 30px;display:flex;align-items:center;justify-content:center}.auth-form{max-width:410px;width:100%;display:grid;gap:24px}.auth-form h2{font-size:29px}.auth-form p{color:var(--muted);font-size:13px}.auth-form form{display:grid;gap:16px}.auth-form details{border-top:1px solid var(--line);padding-top:15px}.auth-form summary{cursor:pointer;color:var(--brand);font-size:12px;margin-bottom:14px}.auth-form .brand{display:none}.public-topbar{padding:23px 5%;display:flex;justify-content:space-between;align-items:center;background:white;border-bottom:1px solid var(--line)}.public-topbar .brand img{width:178px}.public-topbar .brand small{display:none}.join-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:38px;max-width:1040px;margin:48px auto;padding:0 24px;align-items:start}.join-story{padding:25px 0}.join-story h1{font-size:36px;margin:13px 0 18px}.join-story p{color:var(--muted);font-size:14px;line-height:2}.join-story .event-cover{height:260px;border-radius:20px;margin-bottom:25px}.join-story .event-meta{font-size:13px;margin:12px 0}.public-main{padding:40px 18px;min-height:85vh;display:flex;flex-direction:column;align-items:center}.invitation{width:min(100%,510px);background:#fff;border:1px solid var(--line);box-shadow:0 24px 90px #2c203410;border-radius:25px;overflow:hidden}.invite-art{min-height:380px;padding:43px 34px;text-align:center;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;isolation:isolate;background:radial-gradient(ellipse at 0 0,#97516660,transparent 50%),linear-gradient(160deg,#2b2332,#171d27);color:#fff}.invite-art:before{content:'';position:absolute;inset:18px;border:1px solid #e4bad72e;border-radius:120px 120px 8px 8px;z-index:-1;pointer-events:none}.invite-art:after{content:'';position:absolute;width:220px;height:220px;border:1px solid #ffffff14;border-radius:50%;left:-135px;top:30%;pointer-events:none}.invite-art>.icon{color:#d9b7c8;margin-bottom:20px;width:34px;height:34px;stroke-width:1}.invite-art .invite-kicker{font-size:11px;color:#d4b6c7;letter-spacing:.4px}.invite-art h1{font-size:29px;line-height:1.7;max-width:350px;margin:20px 0;overflow-wrap:anywhere}.invite-art p{font-size:12px;color:#c9becd;white-space:pre-wrap;line-height:2.1;max-width:330px}.invite-art .art-date{margin-top:22px;padding:9px 16px;border-top:1px solid #ffffff20;border-bottom:1px solid #ffffff20;font-size:12px;color:#e4d8e4}.invitation.ivory .invite-art{background:radial-gradient(ellipse at 0 0,#e3d1a9a0,transparent 55%),#f7f2e7;color:#5f4e37}.invitation.ivory .invite-art:before{border-color:#ba9c5e55}.invitation.ivory .invite-art p,.invitation.ivory .invite-art .invite-kicker,.invitation.ivory .invite-art .art-date{color:#897551}.invitation.ivory .invite-art>.icon{color:#b09964}.invitation.botanical .invite-art{background:radial-gradient(ellipse at 110% 120%,#769e7050,transparent 60%),#18362e;color:#f2eddd}.invitation.botanical .invite-art p,.invitation.botanical .invite-art .invite-kicker,.invitation.botanical .invite-art .art-date{color:#adc7b7}.invite-cover-img{display:block;width:100%;max-height:640px;object-fit:contain;background:#f6f3f5}.invite-body{padding:28px 29px;text-align:center}.invite-body .greeting{font-size:11px;color:var(--muted)}.invite-body .guest-heading{font-size:23px;margin:5px 0 12px;overflow-wrap:anywhere}.invite-body .rsvp-actions{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:24px 0}.rsvp-btn{background:#fff;border:1px solid var(--line);border-radius:15px;padding:19px 10px;display:flex;flex-direction:column;align-items:center;gap:10px;font-weight:700;font-size:13px;color:var(--good)}.rsvp-btn .round{border:1px solid #5fb788;background:#f0faf3;border-radius:50%;width:46px;height:46px;display:grid;place-items:center}.rsvp-btn.decline{color:var(--bad)}.rsvp-btn.decline .round{border-color:#db8a99;background:#fff3f5}.invite-info{display:grid;gap:10px;text-align:right;font-size:12px;padding:17px;background:#fafafd;border-radius:13px;margin:20px 0}.invite-info>div{display:flex;align-items:start;gap:11px}.invite-info .icon{width:18px;height:18px;color:#a695a5}.invite-info a{overflow-wrap:anywhere}.guest-contact{border-top:1px solid var(--line);margin-top:26px;padding-top:20px;text-align:right}.guest-contact summary{display:flex;gap:9px;align-items:center;cursor:pointer;font-size:12px;font-weight:700;list-style:none;color:#716472}.guest-contact form{display:grid;gap:12px;margin-top:15px}.tickets-grid{display:grid;gap:17px}.ticket-card{text-align:center;border:1px solid var(--line);border-radius:17px;padding:21px;background:#fff}.ticket-card h3{font-size:16px}.ticket-card .ticket-subtitle{font-size:12px;color:var(--muted);margin-top:5px}.ticket-card canvas{display:block;max-width:100%;width:270px;height:auto;margin:14px auto;border-radius:0}.ticket-card .code-disabled{padding:37px 12px;background:#f7f7fa;border-radius:13px;margin:16px 0}.ticket-card .code-disabled .icon{width:50px;height:50px;color:#9398b1}.ticket-card .code-disabled p{font-size:12px;color:#8b8b9e;margin-top:9px}.ticket-card .actions{justify-content:center}.ticket-note{font-size:10px;color:#aaa5b1;margin:9px 0 17px}.gate-shell{max-width:1120px;margin:32px auto;padding:0 24px}.gate-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.gate-head h1{font-size:26px}.gate-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:23px;align-items:start}.camera-box{background:#1c1d26;border-radius:17px;min-height:310px;position:relative;overflow:hidden;display:grid;place-items:center;color:#b7b2c1;text-align:center}.camera-box video{width:100%;height:340px;object-fit:cover;display:block;background:#1c1d26}.camera-box .camera-idle{display:flex;flex-direction:column;align-items:center;gap:17px;padding:30px;position:absolute;inset:0;justify-content:center;pointer-events:none}.camera-idle .icon{width:55px;height:55px;stroke-width:1.1}.scan-frame{position:absolute;inset:15% 22%;border:2px solid #ffffff70;border-radius:19px;pointer-events:none}.scanner-toolbar{margin:14px 0 18px;display:flex;gap:8px;flex-wrap:wrap}.scanner-toolbar .btn{flex:1}.gate-manual summary{font-size:12px;color:var(--muted);cursor:pointer}.gate-manual form{display:grid;gap:10px;margin-top:15px}.gate-result{min-height:280px;border-radius:17px;padding:25px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f8f8fb;border:1px solid var(--line);gap:13px}.gate-result .result-icon{display:grid;place-items:center;border-radius:50%;width:70px;height:70px;background:#e8e8ef;color:#858496}.gate-result .result-icon .icon{width:35px;height:35px}.gate-result h2{font-size:22px}.gate-result p{font-size:12px;color:var(--muted)}.gate-result.ready,.gate-result.success{background:#eff9f3;border-color:#cbe8d7}.gate-result.ready .result-icon,.gate-result.success .result-icon{background:#d7efdf;color:var(--good)}.gate-result.used{background:#f2f2fc;border-color:#dedeef}.gate-result.no{background:#fff3f5;border-color:#f1d1d9}.gate-result.no .result-icon{background:#f7dfe5;color:var(--bad)}.gate-result .guest-line{font-size:17px;font-weight:800;color:var(--ink)}.gate-result .detail{font-size:12px;color:#6e7282}.gate-network{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--good)}.gate-network:before{content:'';width:6px;height:6px;background:currentColor;border-radius:50%}.gate-network.offline{color:var(--bad)}.gate-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:22px}.gate-stats .stat{padding:14px}.gate-stats .stat-value{font-size:25px}.gate-stats .stat-top{font-size:10px}.gate-activity{max-height:270px;overflow:auto;margin-top:18px}.gate-activity .activity-item{font-size:12px}.import-mapping{display:grid;grid-template-columns:1fr 1fr;gap:14px}.message-text{white-space:pre-wrap;overflow-wrap:anywhere;padding:15px;background:#fbf8fa;border-radius:12px;font-size:13px}.chart-ring{width:142px;height:142px;position:relative;border-radius:50%;margin:20px auto;background:conic-gradient(var(--brand) var(--percent,0%),#efedf2 0)}.chart-ring:before{content:'';position:absolute;inset:10px;background:#fff;border-radius:50%}.chart-ring strong{position:absolute;inset:0;display:grid;place-items:center;font-size:26px}.queue-guest{padding:28px 0;text-align:center}.queue-guest h3{font-size:25px}.queue-guest p{font-size:13px;color:var(--muted)}.print-only{display:none}.slide-in{animation:appear .25s ease}@keyframes appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@media(min-width:1550px){.events-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1250px){:root{--sidebar:225px}.content{padding:26px}.topbar{padding:0 26px}.events-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-grid{gap:12px}.stat{padding:16px}.two-col{grid-template-columns:1fr}.two-col>.panel+.panel{margin-top:0}}@media(max-width:900px){.sidebar{transform:translateX(100%);transition:transform .2s;width:258px;box-shadow:-5px 0 60px #0001}.sidebar.visible{transform:none}.main{margin-right:0}.mobile-toggle{display:inline-flex}.topbar{height:74px;padding:0 22px}.content{padding:25px 22px}.auth-layout{grid-template-columns:1fr}.auth-art{display:none}.auth-form-wrap{min-height:100dvh}.auth-form .brand{display:flex;margin-bottom:15px}.gate-grid{grid-template-columns:1fr}.gate-shell{max-width:680px}.gate-head{align-items:start}.gate-head .event-switcher{min-width:0;max-width:220px}.join-layout{gap:25px;margin-top:25px}.join-story h1{font-size:28px}.join-story .event-cover{height:200px}.mobile-scrim{position:fixed;inset:0;background:#18182380;z-index:39}}@media(max-width:620px){body{font-size:13px}.topbar{padding:0 17px}.topbar .user-name{display:none}.content{padding:22px 15px}.page-head{align-items:flex-start;flex-wrap:wrap;margin-bottom:22px;gap:16px}.page-head h1{font-size:25px}.page-head>.actions{width:100%}.page-head>.actions .btn{flex:1}.events-grid{grid-template-columns:1fr;gap:18px}.event-cover{height:165px}.event-hero{padding:23px;align-items:flex-start;flex-direction:column;gap:17px}.event-hero h2{font-size:23px}.stats-grid{grid-template-columns:repeat(2,1fr);gap:10px}.stat{padding:16px}.stat-value{font-size:27px}.stat-top{font-size:10px}.panel{padding:19px;border-radius:16px}.panel-head h2{font-size:17px}.two-col{gap:17px}.form-grid,.details-grid,.import-mapping{grid-template-columns:1fr}.details-grid .wide{grid-column:auto}.span2{grid-column:auto}.toolbar{align-items:stretch}.search-input{max-width:none;width:100%;min-width:0;flex-basis:100%}.toolbar .actions{width:100%}.toolbar .actions .btn{flex:1}.filters{gap:5px;margin-bottom:16px}.filter{padding:7px 10px;font-size:10px}.modal-backdrop{padding:12px}.modal{max-height:calc(100dvh - 24px);border-radius:18px}.modal>header{padding:18px}.modal-body{padding:19px}.modal>header h2{font-size:17px}.join-layout{grid-template-columns:1fr;margin:20px auto;padding:0 16px;gap:5px}.join-story{padding:0 0 15px}.join-story .event-cover{height:180px;margin-bottom:19px}.join-story h1{font-size:27px;margin:8px 0 12px}.public-topbar{padding:19px 20px}.public-topbar .brand img{width:155px;height:34px}.public-topbar>.small{font-size:10px}.public-main{padding:22px 13px}.invitation{border-radius:20px}.invite-art{padding:40px 25px;min-height:340px}.invite-art h1{font-size:27px}.invite-body{padding:24px 21px}.invite-body .guest-heading{font-size:21px}.gate-shell{padding:0 15px;margin:24px auto}.gate-head{flex-direction:column;gap:13px}.gate-head .event-switcher{max-width:none;width:100%}.gate-head h1{font-size:24px}.camera-box{min-height:280px}.camera-box video{height:300px}.gate-stats{gap:7px}.gate-stats .stat{padding:13px 10px}.gate-stats .stat-value{font-size:23px}.gate-stats .stat-top{font-size:10px}.scanner-toolbar .btn{padding:10px;font-size:11px}.auth-form-wrap{padding:35px 23px}.auth-form h2{font-size:27px}.design-option>div{height:78px}.auth-form{gap:22px}.bulkbar{font-size:11px}.bulkbar .btn{min-height:35px;padding:7px 10px;font-size:10px}.pagination{font-size:11px}.brand small{font-size:9px}.product-footer{font-size:9px}.table-wrap .data-table td{padding:13px}.tabs button{font-size:11px;padding:8px 11px}.btn{font-size:12px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}@media print{.sidebar,.topbar,.actions,.btn,.toolbar,.filters,.product-footer,#msi-toasts,#msi-modals{display:none!important}.main{margin:0}.content{padding:0}.panel,.stat{box-shadow:none}.table-wrap{overflow:visible}.print-only{display:block}body{background:white}.page-head{margin-bottom:10px}}
.guest-open{font:700 13px Cairo,sans-serif;padding:0;background:none;border:0;color:var(--ink);max-width:200px;overflow:hidden;text-overflow:ellipsis;display:block}.guest-open:hover{color:var(--brand)}.mini-pass{margin-top:45px;border:1px solid #ffffff22;border-radius:16px;background:#ffffff08;padding:25px;display:grid;gap:9px;max-width:310px;transform:rotate(-5deg)}.mini-pass span{font-size:11px;color:#cdb3c5}.mini-pass b{font-size:17px}.mini-pass i{font:9px system-ui;letter-spacing:2px;color:#a597a6;margin-top:7px}.auth-footer{color:#9d94a4;font-size:11px}.back-link{font-size:12px;margin-top:8px}.auth-art .art-copy{position:relative;z-index:1}.auth-form .field{margin:0}.auth-form .checkline{flex-direction:row}

.brand img{background:#121212;padding:6px 8px;border-radius:6px}.public-topbar .brand img{height:42px}.nav .active{background:color-mix(in srgb,var(--brand) 22%,#1d1d26)}

/* Compact activity feeds keep the dashboard balanced. */
.two-col{align-items:start}.two-col [data-activity]{max-height:475px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-inline-end:5px}
@media(max-width:620px){.two-col [data-activity]{max-height:370px}}
@media print{.two-col [data-activity]{max-height:none;overflow:visible}}
