:root{--ink:#27251f;--muted:#8c877b;--gold:#9d773e;--line:#e8e2d8;--cream:#f6f3ed;--green:#205e4c;--red:#943d49}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:Tahoma,Arial,sans-serif;font-size:14px}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;transition:.2s}button:hover{filter:brightness(.95);transform:translateY(-1px)}button:disabled{opacity:.45;cursor:not-allowed}a{text-decoration:none;color:inherit}.sidebar{position:fixed;right:0;top:0;bottom:0;width:236px;background:#201f1a;color:#c5bda9;padding:34px 22px;display:flex;flex-direction:column;background-image:radial-gradient(ellipse at top right,#47402b55,transparent 65%)}.brand{display:flex;align-items:center;flex-direction:column;color:#c5a669;margin-bottom:60px}.brand b{font-family:Georgia,Tahoma,serif;font-size:35px;font-weight:500}.brand small{font-size:8px;margin-top:8px}.mark{font-size:65px;line-height:1}.side-caption{font-size:10px;color:#8e8877;margin:0 14px 17px}nav button{border:0;background:none;color:#c6c1b6;width:100%;text-align:right;border-radius:7px;padding:15px 12px;margin-bottom:9px;font-size:18px;display:flex;gap:12px;align-items:center}nav button span{font-size:12px}nav button.active{color:#e6d3a9;background:#a88a4f26;border:1px solid #a88a4f45}.side-bottom{margin-top:auto;display:flex;align-items:center;gap:12px;font-size:12px}.side-bottom small{display:block;color:#8e8877;font-size:9px;margin-top:8px}.avatar{border:1px solid #67604b;border-radius:50%;padding:12px 15px;color:#d2bb88}main{margin-right:236px;padding:0 44px}header{height:90px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted)}.breadcrumb span{margin:0 15px;color:#c6bfaf}.header-actions{display:flex;gap:18px;align-items:center}.demo-dot:before{content:'';display:inline-block;width:6px;height:6px;background:#ab8b51;border-radius:50%;margin-left:8px}.icon{background:none;border:1px solid var(--line);border-radius:7px;padding:7px 10px;color:var(--gold)}.page-top{display:flex;justify-content:space-between;align-items:center;margin:34px 0 27px}.eyebrow{font-size:10px;color:var(--gold);letter-spacing:1px}.page-top h1{font-size:28px;margin:10px 0 12px;font-weight:500}.page-top p{color:var(--muted);font-size:12px;line-height:1.8;margin:0}.pill{padding:8px 12px;background:#ebe5d9;border-radius:30px;font-size:10px;color:#8a713e}.hero{display:grid;grid-template-columns:1.3fr 1fr;gap:25px}.card{background:#fffcf7;border:1px solid var(--line);border-radius:12px;padding:25px}.event-card{min-height:270px;color:#f6ebd5;background:linear-gradient(110deg,#171b17,#343328);position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:32px}.event-card:after{content:'❧';position:absolute;font-family:Georgia;font-size:370px;left:-30px;top:-75px;color:#bda77316;transform:rotate(-30deg);pointer-events:none}.event-card .eyebrow{color:#d0b373}.event-card h2{font-family:Georgia,Tahoma,serif;font-size:35px;font-weight:400;margin:22px 0 12px}.event-card p{font-size:11px;color:#bfb8a6;line-height:1.9}.event-meta{display:flex;gap:20px;align-items:center;font-size:11px;color:#d8cbb0;z-index:1}.event-card button{background:#ffffff0d;border:1px solid #a8926855;color:#eadabd;border-radius:6px;padding:9px 13px}.card-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.card-heading h3{font-size:15px;font-weight:500;margin:0}.card-heading small{color:var(--muted);font-size:10px}.quantity{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:8px;padding:9px;margin:18px 0}.quantity button{background:#f2ede3;border:0;border-radius:5px;width:35px;height:35px;color:var(--gold);font-size:20px}.quantity input{border:0;background:none;text-align:center;width:80px;font-size:24px;outline:none}.price{display:flex;justify-content:space-between;margin:17px 0;color:var(--muted);font-size:11px}.price b{font-size:23px;color:var(--ink)}.price b small{font-size:11px;font-weight:400}.btn{padding:12px 19px;border-radius:7px;border:1px solid var(--line);background:#fffdf8;color:var(--ink);font-size:12px;display:inline-flex;gap:9px;align-items:center;justify-content:center}.gold{background:linear-gradient(105deg,#ad8b51,#8b6634);color:white;border-color:transparent}.full{width:100%}.pay-logos{text-align:center;margin-top:13px;color:#7e7b72;font-size:11px;word-spacing:14px}.settings{margin-top:24px;padding-top:20px;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:12px}label{display:block;font-size:11px;color:#777062;margin-bottom:8px}input,select{padding:11px;background:#fffdf9;border:1px solid var(--line);border-radius:6px;min-width:0;color:var(--ink);outline:none}input:focus,select:focus{border-color:#ad8b51}.toggle-line{grid-column:1/-1;display:flex;align-items:center;gap:8px;font-size:11px;color:#787263;margin-top:5px}.toggle-line input{accent-color:var(--green)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:25px 0}.stat{padding:19px;background:#fffdf8;border:1px solid var(--line);border-radius:9px}.stat span{color:var(--muted);font-size:10px}.stat b{font-family:Georgia,serif;font-size:30px;display:block;margin:10px 0 0;font-weight:400}.stat small{float:left;color:#a89065;font-size:17px}.toolbar{display:flex;justify-content:space-between;align-items:center;margin:30px 0 18px;gap:12px}.toolbar h2{font-size:19px;font-weight:500;margin:0 0 7px}.toolbar small{font-size:10px;color:var(--muted)}.actions{display:flex;gap:8px;flex-wrap:wrap}.table-card{padding:0;overflow:hidden}.table-search{padding:18px 22px;display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line)}.search{width:280px;font-size:11px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{font-size:10px;color:#8c8577;background:#f9f6ef;font-weight:400;padding:15px;text-align:right}td{padding:18px 15px;border-bottom:1px solid #eee9df;font-size:11px}td small{color:var(--muted)}.person{display:flex;align-items:center;gap:12px}.initial{width:30px;height:30px;display:inline-grid;place-items:center;background:#eee8dc;color:#8a744a;border-radius:50%;font-size:12px}.status{display:inline-block;font-size:10px;padding:7px 12px;border-radius:5px;background:#eee9df;color:#857149}.accepted{background:#e7eee6;color:#35634a}.declined{background:#f7e8e8;color:#94404a}.attended{background:#e2eeed;color:#24716e}.absent{background:#e8e6e3;color:#666}.row-actions{display:flex;gap:7px}.row-actions button{font-size:11px;padding:6px 9px;background:none;border:1px solid var(--line);border-radius:5px;color:var(--gold)}.pagination{display:flex;justify-content:space-between;align-items:center;padding:17px 22px;font-size:10px;color:var(--muted)}.pagination button{border:1px solid var(--line);background:#fffdf8;border-radius:5px;padding:8px 12px}.empty{text-align:center;color:var(--muted);padding:35px;font-size:12px}.locked{background:#eee8dd;border:1px dashed #d7c7aa;border-radius:8px;padding:16px;color:#8b7859;font-size:12px;margin-top:20px}footer{padding:30px 0;text-align:center;font-size:10px;color:#aaa191}footer span{margin:0 12px}dialog{width:510px;border:1px solid var(--line);border-radius:15px;background:#fcf9f2;padding:28px;color:var(--ink);max-width:94%;max-height:92vh}dialog::backdrop{background:#171b1866;backdrop-filter:blur(5px)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.modal-head h2{font-size:20px;font-weight:500}.form-grid{display:grid;gap:17px}.form-grid input{width:100%}.upload-zone{padding:30px;text-align:center;border:1px dashed #c5b38f;border-radius:10px;margin:15px 0;background:#f5f0e6;line-height:2;color:#88744e}.upload-zone input{max-width:100%;font-size:11px}.help{font-size:11px;line-height:1.9;color:var(--muted)}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);background:#252e25;color:white;border-radius:8px;padding:14px 25px;z-index:20;opacity:0;pointer-events:none;transition:.2s;font-size:12px}#toast.show{opacity:1;transform:translate(-50%,0)}.dash-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.group{background:#fffdf8;border:1px solid var(--line);border-radius:10px;overflow:hidden}.group header{height:54px;padding:0 20px;color:white;background:#8a774a;font-size:13px}.group header.accepted{background:#285e4b}.group header.declined{background:#853b45}.group header.attended{background:#287178}.group header.absent{background:#55534c}.group header b{border:1px solid #ffffff55;border-radius:50%;padding:5px 9px;font-size:11px}.guest-tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;padding:15px}.guest-tile{border:1px solid var(--line);border-radius:8px;padding:16px;font-size:12px}.guest-tile small{display:block;margin-top:10px;color:var(--muted);font-size:10px}.guest-tile em{display:block;font-size:10px;font-style:normal;color:var(--gold);margin-top:10px}.preview-layout{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:start;max-width:900px;margin:30px auto}.phone{width:320px;max-width:100%;min-height:610px;margin:auto;border:7px solid #292a23;border-radius:40px;box-shadow:0 25px 60px #2e2b1c25;overflow:hidden;background:radial-gradient(ellipse at 50% 30%,#746848,#252e26 70%);background-size:cover;background-position:center;padding:22px 24px;color:#f3e6cd;text-align:center;position:relative}.phone:before{content:'❧';position:absolute;top:80px;right:-30px;font-size:210px;color:#c6aa6a20;pointer-events:none}.phone-top{display:flex;justify-content:space-between;font-size:9px;margin-bottom:45px}.phone .mark{font-size:65px}.phone h2{font-family:Georgia,Tahoma;font-size:25px;font-weight:400;margin:30px 0 12px}.phone p{font-size:11px;line-height:1.9;color:#d9cfb9}.glass{margin-top:35px;padding:23px 14px;background:#f3e9d8dc;color:#3b3629;border:1px solid #fff8;border-radius:13px;backdrop-filter:blur(15px)}.glass p{color:#756b58}.glass .actions{justify-content:center}.glass button{font-size:11px;padding:11px 17px}.green{background:var(--green);color:white;border:0}.red{background:var(--red);color:white;border:0}.success-icon{font-size:25px;background:var(--green);color:white;border-radius:50%;display:inline-grid;place-items:center;width:42px;height:42px}.qr-demo{width:140px;height:140px;margin:15px auto;background:white;padding:9px;display:grid;grid-template-columns:repeat(21,1fr);gap:0}.qr-demo i{background:white}.qr-demo i.on{background:#222}.info-panel{padding-top:30px}.info-panel h2{font-size:26px;font-weight:400}.info-panel p{line-height:2;color:var(--muted);font-size:12px}.info-panel select{width:100%;margin:15px 0}.note{padding:15px;background:#eee8dc;border-radius:8px;font-size:11px;line-height:1.9;color:#8b7756}.scanner-frame{height:230px;background:#242a23;border-radius:12px;display:grid;place-items:center;margin:20px 0;color:#d0bb88}.scan-corners{width:160px;height:160px;border:2px dashed #c8b27d;border-radius:18px;display:grid;place-items:center;font-size:50px}.scan-result{padding:16px;background:#e4eee5;border-radius:8px;margin:12px 0;line-height:1.9;font-size:12px}.scan-result.error{background:#f4e2e3;color:var(--red)}.activity{padding:15px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;font-size:12px}.activity small{color:var(--muted)}@media(min-width:1500px){main{padding:0 75px}.hero{grid-template-columns:1.45fr 1fr}}@media(max-width:1000px){main{padding:0 22px;margin-right:190px}.sidebar{width:190px;padding:30px 15px}.hero{grid-template-columns:1fr}.event-card{min-height:230px}.preview-layout{gap:20px}}@media(max-width:700px){.sidebar{position:static;width:auto;padding:15px 18px;display:block}.brand{margin:0;flex-direction:row;gap:8px}.brand b{font-size:23px}.brand .mark{font-size:35px}.brand small{margin-right:auto;font-size:7px}.side-caption,.side-bottom{display:none}nav{display:flex;gap:5px;margin-top:17px}nav button{justify-content:center;padding:10px 5px;font-size:15px;margin:0}nav button span{font-size:9px}main{margin:0;padding:0 18px}header{height:60px;font-size:9px}.header-actions{gap:8px}.page-top{margin-top:25px;align-items:start}.page-top h1{font-size:24px}.page-top p{font-size:11px}.pill{font-size:9px;white-space:nowrap}.card{padding:20px}.event-card{padding:26px}.toolbar{align-items:start;flex-direction:column}.table-card{padding:0}.table-search{padding:14px}.search{width:100%}.stats{gap:8px}.stat{padding:15px 12px}.stat b{font-size:25px}.dash-grid,.preview-layout{grid-template-columns:1fr}.preview-layout{display:flex;flex-direction:column-reverse}.info-panel{padding:0;width:100%}.phone{margin:15px auto}.guest-tiles{grid-template-columns:1fr 1fr}.settings input{width:100%}.demo-dot{font-size:8px}.pagination{padding:14px}.page-top .actions{max-width:135px}}
.brand .mark,.phone>.mark{display:block;width:72px;height:108px;font-size:0;background-image:url('/logo.png');background-size:contain;background-position:center;background-repeat:no-repeat}.phone>.mark{margin:auto}.brand .mark{margin-bottom:8px}@media(max-width:700px){.brand .mark{width:48px;height:72px;margin:0}}
.qr-real{display:flex;justify-content:center}
.qr-real svg{width:140px;height:140px;background:#fff;border-radius:4px}
#cam{width:100%;border-radius:12px;margin:12px 0;background:#111;max-height:240px}
#switch-account{font-size:11px}
a.btn{cursor:pointer;text-decoration:none}
body.guest-mode .sidebar nav,body.guest-mode .side-caption,body.guest-mode .side-bottom,body.guest-mode .header-actions{display:none}
body.guest-mode .sidebar{position:static;width:auto;height:auto;padding:18px 22px}
body.guest-mode .brand{margin:0}
body.guest-mode main{margin:0;padding:0 22px}
body.scanner-mode nav button:not([data-view="scanner"]){display:none}
body.scanner-mode .header-actions{display:none}
#crumb{margin:0}
.group header{display:flex;align-items:center;justify-content:space-between}
main{margin:0 auto !important;max-width:1120px;padding:28px 18px 56px !important}
body.preview-mode main{max-width:none;padding:0 !important}
footer img,footer .site-logo{display:none !important}
.site-footer{padding:28px 16px 40px;text-align:center;line-height:2.1}
.footer-links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 0;margin-bottom:6px}
.footer-links a{color:var(--gold);font-size:13px;margin:0 8px}
.footer-links span{margin:0;color:#c8bfb0}
.footer-phone{margin:4px 0 8px;color:var(--ink);font-size:14px}
.footer-phone a{color:var(--gold);font-size:18px;font-weight:700}
.footer-note{margin:0;color:#aaa191;font-size:11px}
.legal-page{max-width:760px}
.legal-card h1{font-size:26px;font-weight:500;margin:0 0 12px}
.legal-card h2{font-size:16px;font-weight:600;margin:20px 0 8px}
.legal-card p{line-height:1.95;color:#5c564c;margin:0 0 8px}
.contact-phone{display:inline-block;margin-top:8px;font-family:Georgia,serif;font-size:32px;color:var(--gold)}
.vip-board-page .site-footer{background:#f6f3ed}
body.scanner-mode main{max-width:980px}
.page-back-row{display:flex;justify-content:flex-start;margin-bottom:8px}
.page-back{background:#fffdf8;border:1px solid var(--line);border-radius:8px;padding:8px 16px;color:var(--ink)}
.flow-brand{text-align:center;color:var(--gold);margin:8px 0 22px}
.site-logo{display:block;height:150px;width:auto;margin:0 auto;object-fit:contain}
.flow-brand b{display:block;font-family:Georgia,Tahoma,serif;font-size:28px;font-weight:500;margin-top:8px}
.logo-balance{display:inline-flex;align-items:center;justify-content:center;gap:22px;margin-top:16px;padding:12px 22px;background:#fffcf7;border:1px solid var(--line);border-radius:16px}
.logo-balance small{display:block;color:var(--gold);font-size:15px;font-weight:700}
.logo-balance b{display:block;font-family:Georgia,serif;font-size:52px;font-weight:400;line-height:1;color:var(--ink);margin-top:2px}
.site-logo-invite{height:92px;margin-bottom:14px;filter:drop-shadow(0 8px 16px rgba(0,0,0,.35))}
.invite-mark{display:flex;flex-direction:column;align-items:center;width:min(440px,100%)}
.invite-mark .glass{width:100%}
.balance-bar{display:flex;align-items:center;justify-content:space-between;gap:16px}
.balance-bar small{color:var(--muted);font-size:11px}
.balance-bar b{display:block;font-family:Georgia,serif;font-size:42px;font-weight:400;line-height:1.1;margin-top:6px}
.stack{display:grid;gap:14px;margin-top:14px}
.action-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.action-row h3{margin:0;font-size:16px;font-weight:500}
.bg-phone{width:min(280px,100%);margin:18px auto 0;padding:10px 10px 14px;border-radius:40px;background:linear-gradient(180deg,#2a2823,#141310);box-shadow:0 18px 40px #2e2b1c24,inset 0 0 0 1px #4a453b}
.bg-phone-screen{height:520px;border-radius:30px;overflow:hidden;background:#1c1a17;position:relative;display:flex;align-items:center;justify-content:center}
.bg-phone-screen:before{content:"";position:absolute;top:8px;left:50%;transform:translateX(-50%);width:78px;height:16px;border-radius:10px;background:#141310;z-index:2}
.bg-phone-screen img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;background:#1c1a17}
.bg-phone-screen .glass{position:relative;z-index:1;width:calc(100% - 28px);margin:0;text-align:center}
.phone-row{display:flex;gap:18px;justify-content:center;align-items:flex-start;flex-wrap:wrap;margin-top:22px}
.phone-item{display:flex;flex-direction:column;align-items:center;gap:12px}
.phone-item .bg-phone{width:230px;margin:0}
.phone-item .bg-phone-screen{height:430px}
.form-grid textarea{width:100%;min-height:110px;resize:vertical}
.count-input{width:72px;text-align:center;padding:8px}
.event-tools{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0 16px}
.event-tools .search{flex:1;min-width:180px}
.event-list,.event-item{display:flex}
.event-item{justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.event-item small{display:block;margin-top:6px;color:var(--muted)}
.qr-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.qr-head h1{font-size:30px;font-weight:500;margin:6px 0 0}
.qr-count{margin:12px 0 0;font-size:14px;font-weight:500;color:#2a261f}
.icon-btn{width:42px;height:42px;padding:0;color:var(--ink)}
.copy-icon{width:18px;height:18px;display:block}
.row-actions .icon-btn{width:32px;height:32px}
.row-actions .copy-icon{width:15px;height:15px}
.names-box textarea{width:100%;min-height:120px;max-height:240px;overflow:auto;resize:vertical}
.auth-switch{display:block;margin:14px auto 0;background:none;border:0;color:var(--gold);padding:6px}
.invite-screen{min-height:100vh;display:grid;place-items:center;padding:72px 18px 36px;background:#252e26 center/cover no-repeat;position:relative}
.invite-screen .glass{width:min(440px,100%);margin:0;text-align:center}
.invite-screen .glass h3{margin:0 0 16px;font-size:18px;font-weight:500;line-height:1.8}
.invite-back{position:absolute;top:16px;right:16px;background:#fffdf8e6;border:1px solid var(--line);border-radius:8px;padding:8px 14px;color:var(--ink)}
.phone-stage{min-height:calc(100vh - 90px);display:grid;place-items:center;padding:54px 12px 28px;position:relative}
.device{width:min(360px,100%);padding:12px 12px 16px;border-radius:48px;background:linear-gradient(180deg,#2a2823,#141310);box-shadow:0 28px 60px #2e2b1c30,inset 0 0 0 1px #4a453b}
.device-screen{height:min(700px,calc(100vh - 160px));min-height:560px;border-radius:36px;overflow:hidden;background-color:#1c1a17;background-position:center;background-size:contain;background-repeat:no-repeat;display:flex;align-items:center;justify-content:center;padding:54px 18px 28px;position:relative}
.device-screen:before{content:"";position:absolute;top:12px;left:50%;transform:translateX(-50%);width:108px;height:22px;border-radius:14px;background:#141310}
.device-screen .glass{width:100%;margin:0;text-align:center}
.device-screen .glass h3,.invite-screen .glass h3{margin:0 0 16px;font-size:16px;font-weight:500;line-height:1.8}
.glass{background:rgba(255,255,255,.22);color:#2a261f;border:1px solid rgba(255,255,255,.7);border-radius:18px;box-shadow:inset 0 1px 0 rgba(255,255,255,.75),0 14px 34px rgba(60,30,30,.1);backdrop-filter:blur(18px) saturate(150%);-webkit-backdrop-filter:blur(18px) saturate(150%)}
.glass h3,.glass p{color:#2a261f}
.footer-brand{margin:0 0 6px;color:#c6a15a;font-size:18px;font-weight:800}
.footer-copy{margin:8px 0 0;color:#b3aa9d;font-size:12px}

body.app-shell{background:#f7f3ec;color:#241f1a;font-family:"Cairo",Tahoma,Arial,sans-serif;font-size:15px;overflow-x:clip}
body.app-shell button,body.app-shell input,body.app-shell select,body.app-shell textarea{font-family:inherit}
body.app-shell main{max-width:480px !important;padding:12px 14px 36px !important}
@media(min-width:900px){body.app-shell main{max-width:520px !important}}
body.app-shell.preview-mode main,body.app-shell.guest-mode main{max-width:none !important;padding:0 !important}
body.app-shell button:hover{transform:none}
body.app-shell .ico{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;display:block;flex:none}
body.app-shell .site-logo{height:96px}
body.app-shell .flow-brand{margin:0 0 6px}
body.app-shell .flow-brand b{font-family:"Cairo",Tahoma,sans-serif;font-size:18px;font-weight:700;margin-top:0;color:#c6a15a}
body.app-shell .card{background:#fffdfb;border:1px solid #f3ebdf;border-radius:24px;padding:16px;box-shadow:0 12px 32px rgba(80,55,20,.045);margin-top:14px}
body.app-shell .btn{border-radius:14px;min-height:44px;font-weight:700;font-size:14px}
body.app-shell .btn.gold{background:#c6a15a;color:#fff;border:0;box-shadow:0 8px 18px rgba(180,140,70,.18)}
body.app-shell .btn.gold.full{width:100%;margin-top:12px}
body.app-shell .btn .ico{width:18px;height:18px}
body.app-shell .hero{grid-template-columns:1fr;gap:14px}

.top-bar{display:flex;min-height:42px;margin-bottom:2px}
.top-bar.start{justify-content:flex-start}
.top-bar.end{justify-content:flex-end}
.icon-back,.back-pill{background:#fff;border:1px solid #efe6d8;color:#2a241c;box-shadow:0 6px 16px rgba(70,50,20,.05)}
.icon-back{width:42px;height:42px;border-radius:14px;padding:0;display:grid;place-items:center}
.back-pill{display:inline-flex;align-items:center;gap:6px;border-radius:14px;padding:8px 12px;min-height:42px}
.page-intro{text-align:center;margin:2px 0 14px}
.page-intro h1{margin:0;font-size:30px;font-weight:800;line-height:1.35}
.page-intro p{margin:8px 0 0;color:#8a8378;font-size:14px;line-height:1.8}

.balance-card{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fffdfb;border:1px solid #f3ebdf;border-radius:22px;padding:14px;box-shadow:0 12px 32px rgba(80,55,20,.045);margin:6px 0 12px}
.balance-figure{display:flex;align-items:center;gap:10px}
.balance-copy{display:flex;flex-direction:column;align-items:flex-start;line-height:1.15}
.balance-copy small{color:#8a8378;font-size:12px;font-weight:600}
.balance-copy b{font-size:34px;font-weight:800;color:#241f1a;margin-top:2px}
.balance-copy em{font-style:normal;color:#8a8378;font-size:13px;font-weight:600}
.balance-add{white-space:nowrap}
.balance-card.wide .balance-add{flex:1;max-width:220px}
.icon-blob{width:44px;height:44px;border-radius:50%;background:#f8f1e4;color:#b08a4a;display:grid;place-items:center;flex:none}
.icon-blob.lg{width:64px;height:64px;margin:2px auto 8px}
.icon-blob.lg .ico{width:28px;height:28px}

.credit-card{text-align:center}
.credit-card h3{margin:0;font-size:20px;font-weight:800}
.credit-card>p{margin:4px 0 14px;color:#8a8378}
.qty-stepper{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #efe6d8;border-radius:16px;padding:8px;margin:0 0 12px;background:#fff}
.qty-stepper .step{width:52px;height:52px;border-radius:14px;border:0;font-size:28px;font-weight:500;padding:0}
.qty-stepper .minus{background:#f6f1e8;color:#b08a4a}
.qty-stepper .plus{background:#c6a15a;color:#fff}
.qty-num b{display:block;font-size:32px;font-weight:800;line-height:1}
.qty-num small{color:#8a8378;font-size:13px}
.money-row{display:flex;justify-content:space-between;align-items:center;padding:12px 2px;border-top:1px solid #f3ece2;text-align:start}
.money-row span{color:#5f584e;font-weight:700}
.money-row b{font-size:22px;font-weight:800}
.money-row small{font-size:13px;font-weight:600;color:#8a8378}
.money-row.total{background:#faf6ef;border-radius:14px;padding:14px 12px;border-top:0;margin-top:6px}
.demo-note{display:flex;gap:8px;align-items:flex-start;background:#faf6ef;border:1px solid #f0e6d4;color:#8a7040;border-radius:14px;padding:12px 14px;margin-top:12px;font-size:13px;line-height:1.7;text-align:right}
.demo-note .ico{margin-top:2px}

.date-line{position:relative;display:flex;align-items:center;gap:8px;border:1px solid #efe6d8;background:#fff;border-radius:16px;padding:14px 14px;min-height:54px}
.date-line.stand{background:#fffdfb;box-shadow:0 12px 32px rgba(80,55,20,.045);border-color:#f3ebdf;margin:4px 0 12px}
.date-line span{color:#8a8378;font-weight:700}
.date-line strong{margin-inline-start:auto;font-weight:800;letter-spacing:.3px}
.date-line .ico{color:#b08a4a}
.date-line input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;border:0;padding:0}

.section-head{display:flex;align-items:center;gap:8px;margin-bottom:14px}
.section-head h3{margin:0;font-size:17px;font-weight:800}
.count-pill{margin-inline-start:auto;display:inline-flex;align-items:center;gap:6px;background:#faf6ef;color:#8a7040;border-radius:999px;padding:4px 10px 4px 4px;font-size:13px;font-weight:700}
.count-pill b{width:24px;height:24px;border-radius:50%;background:#c6a15a;color:#fff;display:grid;place-items:center;font-size:12px}
.search-field{display:flex;align-items:center;gap:8px;border:1px solid #efe6d8;border-radius:14px;padding:0 12px;background:#fff;margin-bottom:10px}
.search-field .ico{color:#b9b1a4}
body.app-shell .search-field input{border:0;width:100%;background:transparent;padding:12px 0;min-height:46px;box-shadow:none}
.tool-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
body.app-shell .form-grid input,body.app-shell .names-box textarea,body.app-shell select{width:100%;border-radius:14px;border:1px solid #efe6d8;background:#fff;min-height:48px}
body.app-shell select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#b08a4a 50%),linear-gradient(135deg,#b08a4a 50%,transparent 50%);background-position:left 16px center,left 11px center;background-size:5px 5px,5px 5px;background-repeat:no-repeat;padding-left:28px}
body.app-shell label{font-weight:700;color:#241f1a;font-size:13px}

.occasion{border:1px solid #f3ebdf;border-radius:18px;padding:14px;margin-top:12px;background:#fff}
.occasion-top{display:flex;gap:10px;align-items:center}
.occasion-top b{display:block;font-size:16px;font-weight:800}
.occasion-top small{display:flex;align-items:center;gap:6px;color:#8a8378;margin-top:5px;font-size:13px}
.occasion-top .ico{width:15px;height:15px;color:#b08a4a}
.date-badge{margin-inline-start:auto;width:72px;min-height:76px;border-radius:16px;background:#faf6ef;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none}
.date-badge b{font-size:28px;font-weight:800;line-height:1;color:#241f1a}
.date-badge small{color:#b08a4a;font-size:12px;font-weight:700;margin-top:2px}
.pager{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:16px}
.pager button{min-width:76px;border-radius:12px;background:#fff;border:1px solid #efe6d8;min-height:40px}
.page-current{width:36px;height:36px;border-radius:10px;background:#c6a15a;color:#fff;display:grid;place-items:center;font-weight:800}
.page-note{text-align:center;color:#8a8378;font-size:12px;margin:8px 0 0}

.tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.tool-card{position:relative;background:#fffdfb;border:1px solid #f3ebdf;border-radius:22px;box-shadow:0 12px 32px rgba(80,55,20,.045);min-height:138px}
.tool-card a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:18px 10px 28px;min-height:138px;font-weight:800;font-size:14px}
.copy-float{position:absolute;left:8px;bottom:8px;width:28px;height:28px;border:0;background:transparent;color:#b08a4a;padding:0;min-height:0;box-shadow:none}
.copy-float .copy-icon{width:16px;height:16px}

.fold{background:#fffdfb;border:1px solid #f3ebdf;border-radius:24px;box-shadow:0 12px 32px rgba(80,55,20,.045);margin-top:14px}
.fold summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;padding:16px;font-weight:800}
.fold summary::-webkit-details-marker{display:none}
.fold summary .chev{margin-inline-start:auto;color:#b08a4a}
.fold:not([open]) summary .chev{transform:rotate(180deg)}
.fold-body{padding:0 14px 16px}
.seg{display:flex;gap:8px;margin-bottom:12px}
.seg button{flex:1;border-radius:14px;border:1px solid #efe6d8;background:#fff;color:#241f1a;min-height:46px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:6px}
.seg button.on{background:#c6a15a;color:#fff;border-color:transparent}
.upload-head{text-align:center;margin-bottom:8px}
.upload-head b{display:block;font-size:15px}
.upload-head small{color:#8a8378;font-size:12px}
.file-drop{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;border:1.5px dashed #e4d3b4;background:#fbf7f1;border-radius:16px;padding:18px 12px;margin:8px 0 12px;color:#6f675c}
.file-drop input{position:absolute;inset:0;opacity:0;cursor:pointer;height:100%;min-height:0}
.file-drop small{color:#b3aa9d;font-size:12px}
.names-box textarea{min-height:120px}

body.app-shell .phone-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:stretch;flex-wrap:nowrap;margin-top:8px}
body.app-shell .phone-item{min-width:0;display:flex;flex-direction:column;align-items:center}
body.app-shell .phone-item .bg-phone{width:100%;margin:0;padding:5px 5px 8px;border-radius:22px;flex:1;display:flex}
body.app-shell .phone-item .bg-phone-screen{width:100%;height:auto;min-height:228px;border-radius:16px;padding:18px 4px 10px;background:radial-gradient(circle at 50% 20%,#f3e6d2,#d9c3a2 72%)}
body.app-shell .phone-item .bg-phone-screen img{object-fit:cover}
body.app-shell .phone-item .bg-phone-screen:before{width:36px;height:8px;top:5px}
body.app-shell .bg-phone-screen .glass{width:calc(100% - 8px);margin:0;padding:8px 5px;border-radius:12px}
body.app-shell .bg-phone-screen .glass h3{margin:0 0 6px;font-size:clamp(8px,2.35vw,12px);line-height:1.45;font-weight:700}
body.app-shell .bg-phone-screen .actions{flex-direction:column;align-items:stretch;gap:4px;flex-wrap:nowrap}
body.app-shell .bg-phone-screen .btn{min-height:0;width:100%;padding:5px 2px;font-size:clamp(8px,2.2vw,11px);border-radius:8px;box-shadow:none}
.reply-preview{width:calc(100% - 8px);text-align:center;margin-top:18px}
.reply-mark{width:34px;height:34px;border-radius:50%;border:1.5px solid #c6a15a;color:#c6a15a;display:grid;place-items:center;margin:0 auto 8px;background:rgba(255,255,255,.45)}
.reply-mark .ico{width:16px;height:16px}
.reply-preview p{margin:0;font-size:clamp(8px,2.2vw,12px);line-height:1.5;color:#2a241c;background:rgba(255,255,255,.62);border:1px solid rgba(255,255,255,.85);border-radius:10px;padding:6px 4px;backdrop-filter:blur(8px)}
.text-edit{border:0;background:none;color:#6f675c;font-size:11px;display:inline-flex;align-items:center;gap:4px;padding:8px 0 0;min-height:0;box-shadow:none}
.text-edit .ico{width:13px;height:13px}

.guest-card{display:grid;grid-template-columns:26px minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:12px 0;border-top:1px solid #f4eee6}
.guest-index{width:26px;height:26px;border-radius:50%;background:#f6f1e8;color:#8a8378;display:grid;place-items:center;font-size:12px;font-weight:700}
.guest-main{min-width:0}
.guest-main b{display:block;font-size:14px;font-weight:800}
.guest-phone{display:block;color:#8a8378;font-size:11px;margin-top:2px}
body.app-shell .status{border-radius:999px;font-size:11px;padding:3px 8px;margin-top:4px}
.guest-count{text-align:center}
.guest-count small{display:block;font-size:10px;color:#8a8378;margin-bottom:4px}
.mini-step{display:flex;align-items:center;gap:4px}
.mini-step button{width:26px;height:26px;min-height:0;border-radius:8px;border:1px solid #efe6d8;background:#fff;color:#b08a4a;padding:0;font-size:16px}
.mini-step b{min-width:14px;text-align:center;font-size:14px}
.guest-links{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.guest-links button{border:0;background:none;color:#b08a4a;padding:0;min-height:0;font-size:12px;font-weight:700;display:inline-flex;align-items:center;gap:4px;white-space:nowrap;box-shadow:none}
.guest-links .ico{width:14px;height:14px}

body.app-shell .site-footer{padding:22px 8px 8px}
body.app-shell .footer-links{row-gap:6px}
body.app-shell .footer-links a{color:#9a907f;font-size:12px;font-weight:600;white-space:nowrap}
body.app-shell .footer-links a:not(:first-child)::before{content:"|";color:#d9d0c4;margin:0 5px;font-weight:400}
body.app-shell .footer-links span{display:none}
body.app-shell .footer-note{margin-top:6px}
body.app-shell .footer-note a{color:#c6a15a}

.policy-head{text-align:center;margin-bottom:8px}
.policy-head h1{margin:0;font-size:30px;font-weight:800;display:inline-flex;align-items:center;gap:8px}
.policy-updated{display:inline-block;margin-top:10px;background:#fff;border:1px solid #f0e6d4;color:#8a8378;border-radius:999px;padding:6px 12px;font-size:13px}
.policy-card{background:#fffdfb;border:1px solid #f3ebdf;border-radius:22px;box-shadow:0 12px 32px rgba(80,55,20,.04);padding:16px 16px 18px;margin-top:12px}
.policy-card header{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.policy-num{color:#c6a15a;font-weight:800;font-size:14px;letter-spacing:.4px}
.policy-card h2{margin:0;font-size:18px;font-weight:800}
.policy-card p{margin:0;color:#5c564c;line-height:1.95;font-size:15px}
.contact-cta{display:flex;justify-content:center;margin:18px 0 6px}
.contact-cta a{display:inline-flex;align-items:center;gap:8px;border:1px solid #e4d3b4;color:#b08a4a;background:#fff;border-radius:14px;padding:10px 16px;font-weight:800}
body.app-shell .contact-phone{font-family:"Cairo",Tahoma,sans-serif;font-weight:800}
body.app-shell.legal-body main{max-width:560px !important}
body.app-shell header{height:auto;border:0;display:block;font-size:inherit;color:inherit;background:transparent;padding:0}
body.app-shell .policy-card header{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.auth-back{display:inline-flex;align-items:center;gap:4px;border:0;background:none;color:#b08a4a;box-shadow:none;font-weight:700;padding:6px 0;min-height:0}
.auth-back .ico{width:16px;height:16px}
.auth-card{padding:26px 18px 18px}
.auth-card .icon-blob{margin:0 auto 6px}
.auth-fields{display:grid;gap:14px;margin-top:16px;text-align:start}
.field>span{display:block;margin-bottom:8px;font-weight:800}
.field-box{display:flex;align-items:center;gap:8px;border:1px solid #efe6d8;border-radius:14px;background:#fff;padding:0 12px;min-height:52px}
.field-box .ico{color:#c3b39a;width:18px;height:18px}
.field-ico{display:grid;place-items:center;color:#c3b39a}
body.app-shell .field-box input{flex:1;width:auto;min-width:0;border:0;background:transparent;box-shadow:none;min-height:48px;padding:10px 0}
body.app-shell .field-box input[dir="ltr"]{text-align:right}
.eye-btn{border:0;background:none;color:#c3b39a;padding:4px;min-height:0;box-shadow:none;display:grid;place-items:center}
.eye-btn .ico{width:18px;height:18px}
.auth-error{margin:0;background:#f8ecec;color:#943d49;border-radius:12px;padding:10px 12px;font-size:13px;line-height:1.7;text-align:right}
.auth-error[hidden]{display:none}
body.app-shell .auth-submit{min-height:54px;margin-top:4px;border-radius:14px;font-size:16px;font-weight:800;background:linear-gradient(90deg,#e2c27a 0%,#c6a15a 48%,#a9843e 100%)}
.auth-switch-line{margin:16px 0 2px;text-align:center;color:#8a8378;font-size:14px}
.auth-switch-line button{border:0;background:none;color:#b08a4a;font-weight:800;text-decoration:underline;text-underline-offset:3px;padding:0;min-height:0;box-shadow:none}
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=button]):not([type=submit]),
select,
textarea{font-size:16px}
@media(max-width:700px){
  body.app-shell:not(.guest-mode):not(.preview-mode) main{padding:8px 12px 24px !important}
  body.app-shell:not(.guest-mode):not(.preview-mode) .site-logo{height:76px}
  body.app-shell:not(.guest-mode):not(.preview-mode) .page-intro{margin-bottom:8px}
  body.app-shell:not(.guest-mode):not(.preview-mode) .page-intro h1,.policy-head h1{font-size:25px}
  body.app-shell:not(.guest-mode):not(.preview-mode) .page-intro p{font-size:13px;margin-top:4px}
  body.app-shell:not(.guest-mode):not(.preview-mode) .card{padding:12px;border-radius:18px;margin-top:10px}
  body.app-shell:not(.guest-mode):not(.preview-mode) .balance-card{padding:11px;border-radius:18px}
  body.app-shell:not(.guest-mode):not(.preview-mode) .balance-copy b{font-size:28px}
  body.app-shell:not(.guest-mode):not(.preview-mode) .icon-blob.lg{width:52px;height:52px}
  body.app-shell:not(.guest-mode):not(.preview-mode) .credit-card h3{font-size:18px}
  body.app-shell:not(.guest-mode):not(.preview-mode) .qty-num b{font-size:28px}
  body.app-shell:not(.guest-mode):not(.preview-mode) .qty-stepper .step{width:46px;height:46px;font-size:24px}
  body.app-shell:not(.guest-mode):not(.preview-mode) .money-row b{font-size:18px}
  body.app-shell:not(.guest-mode):not(.preview-mode) .date-badge{width:62px;min-height:64px}
  body.app-shell:not(.guest-mode):not(.preview-mode) .date-badge b{font-size:24px}
  body.app-shell:not(.guest-mode):not(.preview-mode) .tool-card,body.app-shell:not(.guest-mode):not(.preview-mode) .tool-card a{min-height:112px}
  body.app-shell:not(.guest-mode):not(.preview-mode) .policy-card h2{font-size:16px}
  body.app-shell:not(.guest-mode):not(.preview-mode) .policy-card p{font-size:14px}
  body.app-shell:not(.guest-mode):not(.preview-mode) .auth-card{padding:18px 14px 14px}
  body.qr-page,main.qr-page{padding:14px 12px 28px !important}
  .qr-page h1{font-size:26px}
}
