@import url('./modules/game/game.css');
@layer base, layout, components, responsive;
@layer base{
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#21332e;background:#f6f8f7;font-size:16px;font-synthesis:none;--green:#173f38;--green-dark:#102f29;--lime:#daecac;--muted:#65736d;--line:#e2e8e4;--white:#fff;line-height:1.5}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:2.6rem;line-height:1.15;font-weight:650;letter-spacing:-1.5px;margin-bottom:10px}h2{font-size:1.1rem;letter-spacing:-.25px;line-height:1.4;font-weight:650;margin-bottom:16px}h3{font-size:1.05rem}p{margin-bottom:16px}small{font-size:.82rem}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex="0"]:focus-visible{outline:3px solid #467dec;outline-offset:4px}input,select{font-size:max(1rem,1em)}.icon{width:21px;height:21px;flex:none;vertical-align:middle}.muted,.hint{color:var(--muted)}.hint{font-size:.875rem;line-height:1.6}.centered{text-align:center}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.skip{position:fixed;left:20px;top:-100px;background:#fff;padding:14px;z-index:100}.skip:focus{top:20px}main:focus{outline:none}svg{max-width:100%}
}
@layer layout{
.layout{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100dvh}.sidebar{position:sticky;top:0;height:100dvh;background:#fff;border-right:1px solid var(--line);padding:32px 22px 22px;display:flex;flex-direction:column}.sidebar #side-nav{display:flex;flex-direction:column;flex:1;min-height:0}.main-wrap{min-width:0}.topbar{height:84px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:18px}.top-actions{display:flex;align-items:center;gap:18px}.breadcrumbs{font-size:.875rem;color:var(--muted);white-space:nowrap}.breadcrumbs span{padding:0 12px;color:#a8b4ad}.breadcrumbs strong{color:#31463c;font-weight:500}main{max-width:1510px;margin:auto;padding:22px 38px 36px}footer{max-width:1510px;margin:0 auto;padding:10px 38px 26px;display:flex;justify-content:space-between;gap:15px;font-size:.8rem;color:var(--muted)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:30px 0}.heading-actions{display:flex;gap:10px;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.overview-grid{display:grid;grid-template-columns:2.6fr 1fr;gap:22px;margin-bottom:24px}.lower-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:24px}.two-columns{display:grid;grid-template-columns:1.45fr 1fr;align-items:start;gap:24px}.settings-grid{grid-template-columns:1.1fr 1fr}.guide-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-bottom:24px}.guide-bottom{margin-top:24px}.align-top{align-self:start}
}
@layer components{
.brand{font-size:2.3rem;line-height:1;letter-spacing:-1.6px;font-weight:750;display:inline-flex;align-items:center;gap:10px;width:max-content}.brand-mark{display:grid;place-items:center;background:var(--green);color:var(--lime);height:35px;width:35px;border-radius:12px;transform:rotate(-8deg)}.brand-mark svg{transform:rotate(8deg);width:23px;height:23px;stroke-width:3}.brand-dot{margin-left:-8px;color:#649771}.business{margin:40px 0 26px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:11px}.business-avatar{width:36px;height:40px;background:#eaf0df;border-radius:10px;display:grid;place-items:center;flex:none}.business strong{font-size:.9rem}.business small,.profile small{display:block;color:var(--muted);font-size:.75rem}.nav-label{font-size:.7rem;letter-spacing:1.8px;color:var(--muted);margin:0 12px 12px}.nav-item{display:flex;align-items:center;gap:13px;min-height:49px;padding:10px 13px;margin:4px 0;border-radius:9px;font-size:.9rem;color:#62746a}.nav-item.active{background:#eaf0e8;color:var(--green);font-weight:650}.nav-item:hover{background:#f0f4f0;color:var(--green)}.nav-pill{background:var(--lime);color:var(--green);font-size:.58rem;padding:3px 5px;border-radius:4px;margin-left:auto;font-weight:700}.sidebar-note{background:#f1f5ec;border-radius:12px;padding:18px 16px;margin-top:auto;margin-bottom:24px}.sidebar-note>.icon{display:block;margin-bottom:12px;color:#557c49}.sidebar-note strong{font-size:.9rem}.sidebar-note p{font-size:.8rem;color:var(--muted);margin:7px 0 9px}.text-button{padding:0;min-height:32px;background:none;color:var(--green);border:0;text-decoration:underline;text-underline-offset:3px;font-size:.8rem}.profile{display:flex;gap:10px;align-items:center;padding-top:18px;border-top:1px solid var(--line)}.profile strong{font-size:.85rem}.avatar{width:37px;height:37px;flex:none;background:#edf2eb;color:#365344;display:grid;place-items:center;border-radius:50%;font-size:.8rem;font-weight:650}.avatar.peach{background:#fae9df;color:#805d47}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:11px 17px;border-radius:8px;border:1px solid transparent;font-size:.875rem;font-weight:550;line-height:1.3;white-space:nowrap;text-align:center;transition:background .15s,box-shadow .15s}.button.primary{background:var(--green);color:#fff;box-shadow:0 2px 2px #173f3810}.button.primary:hover{background:#245b4c}.button.secondary{background:#fff;border-color:#cdd8d0;color:#304d3b}.button.secondary:hover{background:#f0f5ed}.button.light{background:#ebf2d8;color:var(--green)}.button.light:hover{background:#d7e9b3}.button.compact{min-height:40px;padding:9px 12px;font-size:.8rem}.button.danger{background:#fff;color:#a13d38;border-color:#d1aca7}.button.danger:hover{background:#fff1f0}.button.full{width:100%}.button-stack{display:flex;flex-direction:column;gap:10px}.icon-button{border:1px solid var(--line);background:#fff;border-radius:8px;min-width:40px;min-height:40px;padding:8px;display:inline-grid;place-items:center}.icon-button:hover{background:#eef3ec}.demo-tag{font-size:.65rem;letter-spacing:1.15px;font-weight:650;color:#6a754c;background:#f1f4e7;padding:6px 9px;border-radius:5px}.demo-notice{font-size:.78rem;color:#68755c;border-bottom:1px solid #e0e8d9;padding:1px 0 12px}.eyebrow{font-size:.65rem;letter-spacing:1.8px;color:#6d7c6b;font-weight:650;margin-bottom:12px}.subtitle{color:var(--muted);font-size:.94rem;margin:0}.stat{border:1px solid var(--line);border-radius:12px;background:#fff;padding:21px 21px 18px}.stat>div{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:.81rem;color:#566a5e}.stat .icon{color:#668568;width:20px}.stat>strong{display:block;font-size:2.1rem;letter-spacing:-1px;line-height:1.3;margin:11px 0 5px;font-weight:650}.stat small{font-size:.73rem;color:#7a847d}.hero-program{position:relative;background:var(--green);color:white;border-radius:14px;padding:32px 28px;display:grid;grid-template-columns:1fr 1fr;gap:24px;overflow:hidden;min-height:295px;align-items:center}.hero-program:before{content:'';position:absolute;width:400px;height:400px;border:1px solid #ffffff0b;border-radius:50%;right:-80px;top:-210px;pointer-events:none}.light-eyebrow{display:block;color:#c5d9ad;font-size:.61rem;letter-spacing:1.5px;font-weight:600;margin-bottom:17px}.hero-copy h2{font-size:1.65rem;line-height:1.27;letter-spacing:-.65px;color:#fff;font-weight:550;margin-bottom:14px}.hero-copy p{font-size:.84rem;line-height:1.65;color:#d0dfd3;max-width:310px;margin-bottom:24px}.card-wrap{position:relative;transform:rotate(-5deg);padding:14px 0}.preview-label{display:block;text-align:center;margin-top:18px;font-size:.65rem;color:#c0d2c4;transform:rotate(5deg)}.loyalty{background:#f3f2de;border-radius:13px;color:#263a28;padding:20px 18px;box-shadow:0 8px 20px #082d2825;border:1px solid #ffffff38}.loyalty-top{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #b3c1a366;padding-bottom:14px;margin-bottom:17px}.loyalty-top>span:first-child{font-size:.85rem;font-weight:650;display:flex;align-items:center;gap:7px}.loyalty-top>span:last-child{font-size:.48rem;letter-spacing:1.3px}.loyalty-top .icon{width:18px}.loyalty h3{font-size:1.1rem;font-weight:600;line-height:1.25;margin-bottom:6px;overflow-wrap:anywhere}.loyalty p{font-size:.61rem;color:#526345;margin-bottom:21px}.stamps{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:20px}.stamp{width:36px;height:36px;display:grid;place-items:center;border:1px dashed #9fa88b;border-radius:50%;color:#89927b}.stamp .icon{width:17px;height:17px}.stamp.filled{background:var(--green);border:1px solid var(--green);color:#e7edc6}.loyalty-bottom{display:flex;justify-content:space-between;gap:10px;font-size:.58rem;color:#4a5e45;border-top:1px solid #b3c1a366;padding-top:12px}.loyalty.large{padding:28px;transform:none}.large .loyalty-top>span:first-child{font-size:1.1rem}.large .loyalty-top>span:last-child{font-size:.6rem}.large h3{font-size:1.45rem}.large p{font-size:.8rem}.large .stamp{height:46px;width:46px}.large .stamp .icon{width:21px;height:21px}.large .loyalty-bottom{font-size:.8rem}.panel{padding:26px;background:#fff;border:1px solid var(--line);border-radius:12px;min-width:0}.panel-label{font-size:.65rem;letter-spacing:1.5px;color:var(--muted);margin-bottom:16px}.next-panel{background:#f0f3e9;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;padding:25px}.big-icon{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:#e2eacb;color:#46633b;margin-bottom:17px}.big-icon .icon{width:26px;height:26px}.next-panel h2{font-size:1.35rem;line-height:1.25;letter-spacing:-.5px;margin-bottom:10px}.next-panel p{font-size:.8rem;color:#63715b;margin-bottom:17px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:15px}.section-head h2{margin:0}.section-head a{font-size:.78rem;color:#516d42;text-decoration:underline;text-underline-offset:4px}.section-head>.icon{color:#728363}.activity-item{display:flex;gap:12px;align-items:center;padding:16px 0;border-bottom:1px solid #edf0ed}.activity-item:last-child{border-bottom:0}.activity-symbol{width:35px;height:35px;border-radius:9px;background:#eef3e7;color:#658254;display:grid;place-items:center;flex:none}.activity-symbol.pink{background:#fcece1;color:#a4754a}.activity-symbol .icon{width:18px}.activity-item>div{min-width:0;flex:1}.activity-item strong{font-size:.84rem;font-weight:600}.activity-item p{font-size:.75rem;color:#6a796f;margin:2px 0;overflow-wrap:anywhere}.activity-item small{font-size:.65rem;color:#7b857e}.delta{font-size:.75rem;white-space:nowrap;color:#52733b;font-weight:600}.delta.negative{color:#8b6d56}.ready-person{display:flex;align-items:center;gap:10px;padding:20px 0}.ready-person>div:nth-child(2){flex:1;min-width:0}.ready-person strong{font-size:.84rem}.ready-person small{display:block;color:var(--muted);font-size:.75rem;margin-top:3px}.tip{display:flex;gap:10px;margin-top:20px;border-top:1px solid var(--line);padding-top:20px;color:#5f725b}.tip .icon{margin-top:3px;width:18px}.tip p{font-size:.78rem;line-height:1.7;margin:0}.tip strong{color:#465f3d;font-weight:550}.badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:5px;font-size:.73rem;font-weight:500;white-space:nowrap}.badge.green{background:#edf3df;color:#4c6b31}.badge.neutral{background:#f0f3f1;color:#647367}.table-tools{display:flex;justify-content:space-between;gap:18px;margin-bottom:24px;flex-wrap:wrap}search{flex:1;min-width:230px}.search-input{display:flex;align-items:center;gap:10px;border:1px solid #84968a;padding:0 12px;border-radius:8px;min-height:48px}.search-input .icon{color:#6e7e71}.search-input input{width:100%;min-width:0;border:0;background:none;min-height:46px;color:inherit}.filter-buttons{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.chip{min-height:44px;border:1px solid transparent;background:#fff;padding:8px 14px;border-radius:7px;font-size:.82rem;color:#647166}.chip.selected{background:#edf2e7;color:#355c39;border-color:#c6d3bd}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:.875rem}th{color:#708073;font-size:.75rem;font-weight:550;background:#f7f9f6;padding:13px 15px;white-space:nowrap}td{padding:19px 15px;border-bottom:1px solid #eaf0e9;vertical-align:middle}td small{font-size:.73rem;color:var(--muted)}td:first-child{padding-left:10px}.person{display:flex;align-items:center;gap:11px}.person strong{font-size:.84rem;white-space:nowrap;font-weight:600}.person small{display:block;color:var(--muted);margin-top:3px;font-size:.72rem}.progress-line{height:5px;width:95px;background:#e9eee5;border-radius:4px;margin-bottom:6px}.progress-line span{display:block;height:100%;background:#7b9868;border-radius:4px}.row-actions{display:flex;gap:7px;align-items:center}.table-foot{font-size:.75rem;color:var(--muted);margin:20px 0 0}.empty{padding:25px 0;color:var(--muted);font-size:.9rem}.redeem-block{display:flex;flex-direction:column;gap:20px;padding:18px 0 25px;margin-bottom:20px;border-bottom:1px solid var(--line)}.referral-banner{display:flex;align-items:center;justify-content:space-between;gap:30px;background:var(--green);color:white;border-radius:14px;padding:36px 45px;margin-bottom:24px}.referral-banner h2{font-size:2rem;line-height:1.2;font-weight:550}.referral-banner p{color:#c6d8c9;max-width:580px;font-size:.9rem;margin-bottom:0}.referral-illustration{text-align:center;min-width:200px}.referral-illustration>span{display:inline-flex;align-items:center;justify-content:center;width:72px;height:72px;background:#ffffff15;border-radius:50%;margin-right:15px}.referral-illustration .icon{width:38px;height:38px}.referral-illustration b{font-size:4rem;color:var(--lime);font-weight:500;letter-spacing:-3px;vertical-align:middle}.referral-illustration small{display:block;color:#cfdbc5;margin-top:8px}.invite-row{padding:18px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px;flex-wrap:wrap}.invite-row .person{margin-right:auto}.code-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:16px 0}.code-row strong{font-size:.875rem}.code-row small{display:block;font-size:.8rem;letter-spacing:1.4px;color:#6b7c58;margin-top:2px}.field{margin-bottom:19px}.field label,.demo-switch label{font-size:.875rem;font-weight:550;margin-bottom:7px;display:block}.field input,select{width:100%;border:1px solid #839487;background:#fff;color:#21332e;border-radius:7px;min-height:48px;padding:11px 13px}.field input::placeholder{color:#77837a}.field input:user-invalid{border-color:#b84438;background:#fff9f8}.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-error{color:#a63730;font-size:.875rem;margin:12px 0}.form-error:empty{display:none}.checkbox{display:flex;align-items:flex-start;gap:10px;margin:18px 0 22px;font-size:.85rem;color:#60715f}.checkbox input{width:20px;height:20px;margin-top:3px;accent-color:var(--green);flex:none}.checkbox label{cursor:pointer}.settings-grid .loyalty{margin-top:18px}.data-panel{margin-top:24px}.data-panel p{font-size:.875rem}.guide-card{padding:30px}.guide-card h2{font-size:1.2rem}.guide-card p{font-size:.9rem;color:var(--muted);line-height:1.8;margin-bottom:0}.steps{padding-left:22px;color:#5f705f;font-size:.9rem}.steps li{padding:0 0 18px 7px}.production-note{background:#f1f5ea}.production-note p,.checklist{font-size:.875rem;color:#5e705b}.checklist{padding-left:21px}.checklist li{padding-bottom:10px}.error{background:#fff1ed;color:#9c3a2e;padding:15px;border-radius:7px}dialog{width:min(530px,calc(100% - 32px));max-height:calc(100dvh - 48px);border:1px solid #d5e0d7;border-radius:15px;padding:28px;color:#263a2c;box-shadow:0 30px 80px #102c3040}dialog::backdrop{background:#122b2699;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.dialog-heading h2{font-size:1.25rem;margin:0}.dialog-heading+.muted{font-size:.9rem}.redeem-summary{text-align:center}.redeem-summary .big-icon{margin:10px auto 18px}.redeem-summary h3{font-size:1.4rem}.redeem-summary p{color:var(--muted);font-size:.9rem}.qr-print{text-align:center}.qr-print h3{font-size:1.4rem;margin-bottom:8px}.qr-print p{font-size:.875rem;color:var(--muted)}.qr-code{width:220px;margin:10px auto 18px}.qr-code svg{display:block;width:100%;height:auto}.qr-print strong{font-size:1rem}.qr-print>p:last-child{font-size:.75rem;margin-top:14px}.customer-shell{min-height:100dvh;background:radial-gradient(ellipse at top,#e7efdd,transparent 60%),#f7f9f5}.customer-header{display:flex;align-items:center;justify-content:space-between;max-width:1100px;margin:auto;padding:30px}.customer-header .brand{font-size:1.8rem}.customer-main{max-width:540px;padding:30px 24px 45px}.customer-main>.demo-tag{display:table;margin:0 auto 35px}.customer-main>.eyebrow,.customer-main>h1,.customer-main>.subtitle{text-align:center}.customer-main>h1{font-size:2.5rem}.customer-main>.subtitle{margin-bottom:30px}.customer-main>.loyalty{margin-bottom:22px}.customer-info{padding:28px}.customer-info h2{font-size:1.3rem}.customer-info>p{font-size:.875rem;color:var(--muted)}.referral-ticket{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#f1f5e9;border-radius:9px;padding:15px;margin:22px 0 16px}.referral-ticket small{display:block;font-size:.75rem;color:#677c5b}.referral-ticket strong{font-size:1.3rem;letter-spacing:2px;font-weight:600}.demo-switch{margin-top:20px;padding:18px 24px}.demo-switch summary{cursor:pointer;font-size:.85rem}.demo-switch p{margin-top:16px}.demo-switch .button{margin-top:14px}.customer-main>.hint{margin-top:24px}.customer-shell footer{justify-content:center}.mobile-menu{display:none}#toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,20px);max-width:calc(100% - 32px);width:max-content;background:#173f38;color:#fff;padding:15px 22px;border-radius:10px;box-shadow:0 8px 30px #14392735;z-index:20;font-size:.875rem;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translate(-50%,0)}
}
@layer responsive{
@media(min-width:1500px){.hero-program{padding:36px 40px;gap:35px}.hero-copy h2{font-size:2rem}.loyalty{padding:25px}.stamp{height:43px;width:43px}.loyalty h3{font-size:1.3rem}}
@media(max-width:1200px){.layout{grid-template-columns:218px minmax(0,1fr)}.sidebar{padding-inline:15px}main{padding-inline:24px}.topbar{padding-inline:24px}.hero-program{grid-template-columns:1fr;gap:10px;padding:26px}.hero-copy h2 br{display:none}.hero-copy p{max-width:100%}.hero-copy .button{min-height:40px}.card-wrap{max-width:360px;width:100%;margin:0 auto;transform:rotate(-3deg)}.overview-grid{grid-template-columns:1.8fr 1fr}.next-panel{justify-content:center;gap:5px}.lower-grid{grid-template-columns:1fr 1fr}.stats{gap:10px}.stat{padding:17px 14px}.stat>div{font-size:.75rem}.stat small{font-size:.7rem}.stat .icon{width:17px}.top-actions{gap:10px}.breadcrumbs{font-size:.8rem}.topbar .demo-tag{display:none}}
@media(max-width:900px){.two-columns,.lower-grid{grid-template-columns:1fr}.page-heading{align-items:flex-start;flex-direction:column;gap:18px}.overview-grid{grid-template-columns:1fr}.hero-program{grid-template-columns:1fr 1fr;gap:22px}.hero-copy h2 br{display:block}.next-panel{display:none}.stats{grid-template-columns:repeat(2,1fr);gap:15px}.stat>div{font-size:.85rem}.stat small{font-size:.75rem}.guide-cards{grid-template-columns:1fr}.guide-card{padding:24px}.referral-banner{padding:30px;gap:12px}.referral-illustration{min-width:130px}.referral-illustration>span{display:none}.referral-banner h2{font-size:1.6rem}h1{font-size:2.3rem}.topbar{height:72px}.topbar .breadcrumbs{display:none}.top-actions{margin-left:auto}footer{font-size:.73rem;flex-wrap:wrap}}
@media(max-width:650px){.layout{display:block}.sidebar{height:auto;position:relative;display:block;padding:19px 20px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{font-size:1.9rem}.sidebar .brand-mark{width:30px;height:30px;border-radius:9px}.sidebar #side-nav{display:none}.sidebar #side-nav.open{display:flex}.mobile-menu{display:inline-flex;align-items:center;gap:8px;float:right;background:#fff;border:1px solid #d5dfd5;border-radius:7px;padding:8px 12px;min-height:40px;font-size:.85rem}.sidebar .business{margin:20px 0}.sidebar-note{display:none}.profile{margin-top:16px;padding-bottom:3px}.topbar{height:65px;padding-inline:20px}.top-actions{width:100%;justify-content:space-between}.topbar .demo-tag{display:inline-block;font-size:.55rem;letter-spacing:.7px;padding:5px}.topbar .button{font-size:.75rem}main{padding:16px 18px 25px}.demo-notice{font-size:.7rem;line-height:1.6;padding-bottom:12px}.page-heading{margin-top:25px}h1{font-size:2.2rem}.eyebrow{font-size:.6rem}.subtitle{font-size:.875rem}.heading-actions{width:100%}.heading-actions .button{flex:1;font-size:.8rem;white-space:normal}.stats{gap:10px;margin-bottom:18px}.stat{padding:16px 13px}.stat>div{font-size:.75rem;align-items:flex-start;min-height:34px}.stat>strong{font-size:1.9rem;margin:5px 0}.stat small{font-size:.68rem;line-height:1.5;display:block}.stat .icon{width:17px;height:17px}.hero-program{grid-template-columns:1fr;padding:26px}.hero-copy h2{font-size:1.6rem}.hero-copy h2 br{display:none}.hero-copy p{font-size:.85rem}.card-wrap{max-width:350px}.overview-grid{margin-bottom:18px}.panel{padding:21px}.lower-grid,.two-columns{gap:18px}.section-head h2{font-size:1rem}.activity-item{gap:9px}.activity-symbol{width:31px;height:31px}.activity-item strong{font-size:.8rem}.activity-item p{font-size:.72rem}.activity-item small{font-size:.63rem}.delta{font-size:.68rem}.form-pair{grid-template-columns:1fr;gap:0}.referral-banner{padding:26px;flex-direction:column;align-items:flex-start}.referral-illustration{align-self:flex-end;display:flex;align-items:center;gap:14px;min-width:0}.referral-illustration b{font-size:3rem}.referral-illustration small{font-size:.75rem;max-width:100px}.table-tools{gap:15px}search{min-width:100%}.chip{padding-inline:11px}.filter-buttons{gap:2px}.customer-header{padding:20px;gap:20px}.customer-header .button{font-size:.65rem;white-space:normal;max-width:142px}.customer-header .brand{font-size:1.65rem}.customer-main{padding:25px 18px 40px}.customer-main>h1{font-size:2.2rem}.loyalty.large{padding:23px 20px}.large .loyalty-top>span:first-child{font-size:.9rem}.large .loyalty-top>span:last-child{font-size:.5rem}.large .stamp{width:39px;height:39px}.large .loyalty-bottom{font-size:.65rem}.referral-ticket{gap:10px;padding:13px}.referral-ticket .button{font-size:.7rem;padding-inline:8px}.referral-ticket strong{font-size:1.1rem}.customer-info{padding:22px}.invite-row .button{width:100%}dialog{padding:23px}.dialog-heading h2{font-size:1.1rem}footer{padding-inline:20px}.button.compact,.icon-button{min-height:44px}#toast{bottom:15px;max-width:calc(100% - 24px);font-size:.8rem;padding:14px 18px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{body>*{display:none!important}dialog[open]{display:block!important;position:static;width:100%;max-height:none;border:0;box-shadow:none;padding:40px}dialog::backdrop{background:white}dialog>*{display:none!important}dialog .qr-print{display:block!important}.qr-code{width:300px}.qr-print h3{font-size:2rem}.qr-print p{color:#000}.qr-print strong{font-size:1.4rem}}
}
@layer components{
.sidebar{overflow-y:auto}.crm-workspace{display:grid;grid-template-columns:minmax(270px,.85fr) minmax(0,1.45fr);gap:24px;align-items:start}.crm-list-panel{padding:22px}.crm-search-line{display:flex;gap:8px}.crm-search-line input{width:100%;min-width:0;min-height:48px;border:1px solid #839487;border-radius:7px;padding:10px 12px}.crm-search-line .icon-button{min-height:48px;min-width:48px}.crm-filters{margin:15px 0}.crm-client-list{display:flex;flex-direction:column;gap:7px}.crm-client{width:100%;border:1px solid transparent;background:#fff;padding:15px 11px;display:flex;gap:11px;align-items:center;text-align:left;border-radius:9px;color:inherit;min-height:82px}.crm-client:hover{background:#f4f7f1}.crm-client.selected{background:#eef3e7;border-color:#c8d7bb}.crm-person-info{display:flex;flex-direction:column;min-width:0;gap:4px}.crm-person-info strong{font-size:.9rem;font-weight:600;overflow-wrap:anywhere}.crm-person-info small{font-size:.875rem;color:#65745e}.crm-next{font-size:.875rem;color:#5e7552}.crm-next.overdue{color:#a24832;font-weight:550}.crm-profile-heading{display:flex;gap:14px;align-items:center;margin-bottom:22px}.crm-profile-heading .avatar{width:52px;height:52px;font-size:1rem}.crm-profile-heading>div{flex:1;min-width:0}.crm-profile-heading h2{font-size:1.4rem;margin:0;overflow-wrap:anywhere}.crm-profile-heading .eyebrow{margin-bottom:6px}.crm-profile-heading p.muted{font-size:.875rem;margin:4px 0 0}.crm-customer-stats{display:flex;gap:17px;flex-wrap:wrap;border-block:1px solid var(--line);padding:14px 0;margin-bottom:12px;font-size:.875rem;color:#63755e}.crm-customer-stats strong{color:var(--green);font-weight:650}.crm-detail h3{font-size:1rem;margin:24px 0 17px}.crm-state-options{border:0;padding:0;margin:0 0 20px;display:flex;flex-wrap:wrap;gap:10px 15px}.crm-state-options legend{font-size:.875rem;font-weight:550;margin-bottom:8px}.crm-state-options label{font-size:.875rem;display:flex;align-items:center;gap:5px;min-height:40px;cursor:pointer}.crm-state-options input{width:17px;height:17px;accent-color:var(--green)}.field textarea{width:100%;font:inherit;font-size:max(1rem,1em);line-height:1.6;resize:vertical;border:1px solid #839487;border-radius:7px;padding:12px;color:#21332e;background:#fff;min-height:100px}.field textarea:user-invalid{border-color:#b84438;background:#fff9f8}.field textarea:focus-visible{outline:3px solid #467dec;outline-offset:4px}.crm-profile-actions{display:flex;gap:12px;flex-wrap:wrap}.crm-notes{border-top:1px solid var(--line);margin-top:30px;padding-top:4px}.crm-note{border-left:2px solid #b5c79a;padding:0 0 18px 17px;margin:23px 0}.crm-note p{font-size:.94rem;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0 8px}.crm-note p.hint{font-size:.875rem}.crm-note small{font-size:.8rem;color:#6c7d68}.crm-scope-note{display:flex;gap:12px;color:#607256;margin-top:24px;padding:20px 24px;border:1px solid #dfe7d5;background:#f0f4e8;border-radius:10px}.crm-scope-note p{margin:0;font-size:.875rem}.crm-scope-note .icon{flex:none;margin-top:3px}
}
@layer responsive{
@media(max-width:1050px){.crm-workspace{grid-template-columns:1fr}.crm-client-list{max-height:350px;overflow:auto}.crm-list-panel .hint{margin-top:15px}}@media(max-width:650px){.crm-list-panel,.crm-detail{padding:20px}.crm-profile-heading h2{font-size:1.2rem}.crm-profile-heading .avatar{width:44px;height:44px}.crm-profile-actions .button{flex:1;white-space:normal}.crm-scope-note{padding:17px}.crm-state-options label{min-height:48px}.crm-list-panel .section-head{flex-wrap:wrap}.crm-client-list{max-height:310px}}
}

/* Cámara del lector QR: proporción estable y sin audio. */
.qr-video{display:block;width:100%;aspect-ratio:4/3;max-height:260px;object-fit:cover;background:#173f38;border-radius:14px;margin-block:14px}.scan-customer{text-align:center;padding-block:14px}.scan-customer h3{font-size:1.6rem;margin-block:10px}.scan-customer .badge{margin-block:8px}dialog:modal{overscroll-behavior:contain}dialog::backdrop{overflow:hidden;overscroll-behavior:contain}

@media(max-width:700px){.topbar{height:auto;min-height:65px;padding-block:12px}.top-actions{flex-wrap:wrap;gap:8px}.top-actions .button{flex:1 1 auto;justify-content:center}}

/* La plantilla de Sello conserva su estructura y recibe la marca de cada negocio. */
.business-logo{width:32px;height:32px;object-fit:contain;vertical-align:middle;flex-shrink:0}.brand-mark .business-logo{width:100%;height:100%}.branded-card{background:var(--brand-surface,#f3f3df);color:var(--brand-ink,#173f38)}.branded-card .loyalty-top,.branded-card .loyalty-bottom{border-color:color-mix(in srgb,var(--brand-ink,#173f38) 20%,transparent);color:inherit}.branded-card h3,.branded-card p,.branded-card .loyalty-top span,.branded-card .loyalty-bottom span{color:inherit}.branded-card .stamp{color:var(--brand-ink,#173f38);border-color:var(--brand-ink,#173f38)}.branded-card .stamp.filled{background:var(--brand-primary,#173f38);color:var(--brand-on-primary,#fff);border-color:var(--brand-primary,#173f38)}.branded-page{background:var(--brand-page);color:var(--brand-page-ink)}.branded-page .customer-shell{background:var(--brand-page);color:var(--brand-page-ink)}.branded-page .customer-main>h1,.branded-page .customer-main>.subtitle,.branded-page .customer-main>.eyebrow,.branded-page .customer-header .brand{color:var(--brand-page-ink)}.branded-page .panel{background:var(--brand-surface);color:var(--brand-ink)}.branded-page .panel h2,.branded-page .panel .hint,.branded-page .panel .muted{color:inherit}.branded-page .button.primary,.builder-customer-preview .button.primary{background:var(--brand-primary);color:var(--brand-on-primary)}.branded-page .brand-mark{background:var(--brand-primary);color:var(--brand-on-primary)}.branded-page input,.branded-page select{background:#fff;color:#173f38}.branded-page input[type=checkbox]{accent-color:var(--brand-primary)}.branded-page footer{color:var(--brand-page-ink)}
.builder-pages{margin-block-end:24px}.builder-pages .section-head{align-items:flex-start;gap:16px}.builder-page-list{display:flex;flex-wrap:wrap;gap:12px}.builder-page-link{display:flex;flex-direction:column;gap:6px;text-decoration:none;padding:14px 18px;border:1px solid #d4dcd7;border-radius:12px;color:#173f38;min-width:180px;max-width:100%;overflow-wrap:anywhere}.builder-page-link.selected{border-color:#173f38;background:#eef4e8}.builder-page-link small{font-size:.8rem}.builder-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.builder-grid .panel{min-width:0}.builder-grid .hint,.builder-pages .hint{font-size:.875rem;line-height:1.6}.builder-fieldset{border:1px solid #d5ddd7;border-radius:12px;padding:18px;margin-block:22px}.builder-fieldset legend{padding-inline:8px;font-size:.9rem;font-weight:700}.builder-colors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.builder-colors input[type=color]{padding:5px;width:100%;height:48px;cursor:pointer}.builder-colors output{font-size:.85rem;margin-top:8px}.builder-preview-column{display:grid;gap:24px;position:sticky;top:20px}.builder-preview-panel{padding:18px}.builder-customer-preview{padding:24px 18px;background:var(--brand-page);color:var(--brand-page-ink);border-radius:16px}.builder-mini-brand{display:flex;align-items:center;gap:10px;margin-bottom:28px}.builder-mini-brand strong{font-size:1.2rem}.preview-headline{font-size:1.8rem;line-height:1.2;margin-block:12px}.builder-customer-preview>p{font-size:.95rem;line-height:1.6;margin-bottom:24px}.builder-customer-preview .loyalty{transform:none;margin:0;width:100%;box-sizing:border-box}.preview-register{background:var(--brand-surface);color:var(--brand-ink);padding:20px;border-radius:14px;margin-top:24px}.preview-register>strong{font-size:1.1rem}.preview-register p{font-size:.9rem;margin-block:18px}.builder-grid details{margin-top:20px}.builder-grid summary{cursor:pointer;font-weight:700;min-height:44px;display:flex;align-items:center}.builder-grid details p{font-size:.9rem;line-height:1.7}.builder-grid input[type=file]{max-width:100%;font-size:.9rem}.builder-grid .data-panel .button{margin-bottom:12px}
@media(max-width:1050px){.builder-grid{grid-template-columns:minmax(0,1fr)}.builder-preview-column{position:static}.builder-preview-panel{max-width:620px;width:100%}}@media(max-width:500px){.builder-colors{grid-template-columns:1fr}.builder-pages .section-head{flex-wrap:wrap}.builder-page-link{width:100%}.builder-fieldset{padding:14px}.builder-customer-preview{padding:20px 12px}.preview-headline{font-size:1.6rem}.builder-grid{gap:18px}}

.branded-page .brand-mark{background:var(--brand-surface);color:var(--brand-ink)}.business-logo{background:var(--brand-surface,#f3f3df);border-radius:4px}

.branded-admin .button.primary{background:var(--admin-primary,#173f38);color:var(--admin-contrast,#fff);border-color:var(--admin-ink,#173f38)}.branded-admin .sidebar .brand{font-size:1.6rem;line-height:1.2;overflow-wrap:anywhere;color:var(--admin-ink,#173f38)}.branded-admin .brand-mark{background:var(--admin-primary,#173f38);color:var(--admin-contrast,#fff);flex-shrink:0}.branded-admin .brand-mark .business-logo{background:#fff}.branded-admin .nav-item.active{color:var(--admin-ink,#173f38)}

.customer-header{flex-wrap:wrap}.customer-header .brand{min-width:0;max-width:100%;overflow-wrap:anywhere}.customer-header .brand-mark{flex-shrink:0}@media(max-width:500px){.customer-header{gap:12px}.customer-header .brand{font-size:1.4rem}}

/* Automatic registration QR, scoped to the current business. */
.business-qr{min-width:0;text-align:center;align-self:start}.business-qr h2{font-size:1.4rem;margin-block:10px}.business-qr>p{line-height:1.6}.business-qr-image{background:#fff;border-radius:12px;max-width:320px;margin:20px auto;padding:0}.business-qr-image svg{display:block;width:100%;height:auto}.business-qr-compact .business-qr-image{max-width:248px}.business-qr-link{display:grid;text-align:left;gap:8px;font-size:.875rem;font-weight:600}.business-qr-link input{display:block;box-sizing:border-box;width:100%;min-width:0;font-size:.85rem}.business-qr-actions{display:flex;flex-wrap:wrap;gap:10px;margin-block:16px}.business-qr-actions .button{flex:1 1 145px;justify-content:center;min-height:44px;white-space:normal}.business-qr-open{display:inline-block;max-width:100%;overflow-wrap:anywhere;line-height:1.6}.business-qr:not(.business-qr-compact){max-width:640px}.business-qr-compact>p{font-size:.875rem}.business-qr-compact .business-qr-actions .button{font-size:.8rem}
@media(max-width:500px){.business-qr-actions .button{flex-basis:100%}.business-qr-image{max-width:280px}.business-qr-compact .business-qr-image{max-width:240px}}

.builder-preview-column{position:static}

/* Native progress replaces inline width styles under the enforced CSP. */
.login-title{font-size:2rem}
progress.progress-line{display:block;width:92px;height:5px;border:0;border-radius:8px;overflow:hidden;background:#e9ede5;appearance:none}
progress.progress-line::-webkit-progress-bar{background:#e9ede5;border-radius:8px}
progress.progress-line::-webkit-progress-value{background:#809478;border-radius:8px}
progress.progress-line::-moz-progress-bar{background:#809478;border-radius:8px}

/* Visual WhatsApp template editor: preview styles are local, never inline. */
.wt-page{max-width:1440px;margin:auto}.wt-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px}.wt-heading h1{margin:5px 0 10px}.wt-heading p{max-width:700px}.wt-start h2,.wt-library h2{font-size:1.05rem;margin:0 0 14px}.wt-ideas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:26px}.wt-idea{display:flex;align-items:center;gap:14px;text-align:left;padding:16px;background:white;border:1px solid #d9e1d8;border-radius:14px;color:inherit;font:inherit;cursor:pointer;min-height:82px}.wt-idea:hover,.wt-idea:focus-visible{border-color:var(--brand-primary);background:var(--brand-surface)}.wt-idea>span:first-child{font-size:1.7rem}.wt-idea strong,.wt-idea small{display:block}.wt-idea small{font-size:.8rem;line-height:1.4;color:#58645c;margin-top:4px}.wt-library{margin-bottom:20px}#wt-library-list{display:flex;flex-wrap:wrap;gap:8px}.wt-saved{max-width:100%;overflow-wrap:anywhere;font:inherit;text-align:left;background:white;color:inherit;border:1px solid #d8dfd6;border-radius:12px;padding:12px 16px;cursor:pointer}.wt-saved strong,.wt-saved small{display:block}.wt-saved small{font-size:.76rem;margin-top:4px;color:#5b675f}.wt-saved.selected{border:2px solid var(--brand-primary);background:var(--brand-surface)}.wt-columns{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:26px;align-items:start}.wt-form-panel{padding:26px}.wt-form-heading{display:flex;align-items:start;justify-content:space-between;gap:12px}.wt-form-heading h2{margin:0 0 8px}.wt-form-heading #wt-status{font-size:.85rem;color:#56675a}.wt-toolbar{display:flex;flex-wrap:wrap;gap:4px;padding:6px;border:1px solid #c2cdc3;border-bottom:0;border-radius:10px 10px 0 0;background:#f5f7f3}.wt-toolbar button{font:inherit;min-width:40px;min-height:40px;border:0;border-radius:7px;background:transparent;cursor:pointer}.wt-toolbar button:hover{background:#e7ede5}.wt-form-panel #wt-body{border-radius:0 0 10px 10px;line-height:1.7;resize:vertical;min-height:210px}.wt-variables{border:0;padding:0;margin:10px 0 22px;min-width:0}.wt-variables legend{font-weight:700;margin-bottom:3px}.wt-variables>div{display:flex;gap:7px;flex-wrap:wrap}.wt-chip{font:inherit;font-size:.82rem;border:1px solid #cad8c8;border-radius:999px;background:#f1f6ee;padding:9px 13px;color:#234833;cursor:pointer;min-height:40px}.wt-advanced{margin:20px 0}.wt-advanced summary{font-weight:600;cursor:pointer;padding:10px 0}.wt-save-row{display:flex;gap:10px;flex-wrap:wrap}.wt-preview-column{max-width:440px;width:100%;margin-inline:auto}.wt-preview-label{display:flex;justify-content:space-between;gap:10px;font-size:.85rem;margin-bottom:12px}.wt-preview-label>span{color:#5b675e;text-align:right}.wt-phone{border:1px solid #bcc9c0;border-radius:26px;overflow:hidden;box-shadow:0 8px 32px #183e3510;background:#efeae2}.wt-phone-bar{display:flex;align-items:center;gap:10px;padding:20px 18px;background:#075e54;color:white}.wt-phone-bar>span:first-child{font-size:1.9rem}.wt-phone-bar>span:last-child{margin-left:auto;font-size:1.4rem}.wt-avatar{display:grid;place-items:center;overflow:hidden;width:42px;height:42px;border-radius:50%;background:#e1efe8;color:#184d40;flex:none;font-size:.8rem;font-weight:700}.wt-avatar img{width:100%;height:100%;object-fit:contain}.wt-phone-bar strong,.wt-phone-bar small{display:block}.wt-phone-bar strong{font-size:.95rem}.wt-phone-bar small{font-size:.72rem;opacity:.85;margin-top:3px}.wt-chat{min-height:365px;padding:20px 18px 45px;background-color:#efeae2;background-image:radial-gradient(#d6d2c844 1px,transparent 1px);background-size:14px 14px}.wt-day{display:block;width:max-content;margin:0 auto 24px;padding:5px 9px;background:#ffffffa8;font-size:.6rem;border-radius:6px;color:#56675d;letter-spacing:.06em}.wt-bubble{position:relative;max-width:96%;padding:16px 16px 11px;background:#fff;border-radius:3px 14px 14px;box-shadow:0 1px 2px #00000012;overflow-wrap:anywhere;color:#15261e;font-size:.92rem;line-height:1.6}.wt-bubble:before{content:"";position:absolute;left:-8px;top:0;border-top:10px solid white;border-left:9px solid transparent}.wt-bubble>strong{display:block;font-size:1rem;white-space:pre-wrap;margin-bottom:9px}.wt-bubble>strong:empty{display:none}#wt-chat-body{white-space:pre-wrap}.wt-bubble>small{display:block;color:#637269;font-size:.74rem;line-height:1.45;white-space:pre-wrap;margin-top:12px}.wt-bubble>small:empty{display:none}.wt-chat-time{display:block;text-align:right;font-size:.62rem;color:#79877e;margin-top:8px}.wt-chat-time>span{color:#45a7ca}.wt-publish{padding:22px;margin-top:22px}.wt-publish h2{font-size:1.1rem;margin:0 0 10px}.wt-publish p{font-size:.86rem;line-height:1.6}.wt-publish .button{white-space:normal;text-align:center}.wt-page button:focus-visible,.wt-page summary:focus-visible{outline:3px solid #467861;outline-offset:3px}.wt-page [hidden]{display:none!important}
@media(max-width:1100px){.wt-columns{grid-template-columns:minmax(0,1fr)}.wt-preview-column{max-width:500px}.wt-ideas{grid-template-columns:repeat(2,minmax(0,1fr))}.wt-heading{align-items:start;flex-direction:column}}@media(max-width:520px){.wt-ideas{grid-template-columns:minmax(0,1fr)}.wt-form-panel{padding:18px}.wt-preview-label{flex-direction:column}.wt-preview-label>span{text-align:left}.wt-save-row>.button{width:100%}}

.wt-phone-bar>div{min-width:0}.wt-phone-bar strong{overflow-wrap:anywhere}

/* Fase 2: reuse each business theme; no inline styles. */
.phase2-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:1rem;margin-block:1.5rem}.phase2-metrics article{padding:1.25rem;border:1px solid var(--line,#d8ddd7);border-radius:1rem}.phase2-metrics strong{font-size:1.6rem}.phase2-caption{text-align:start;font-weight:600;padding-block:1rem}.table-wrap{overflow:auto}.table-wrap:focus-visible{outline:3px solid var(--brand-primary,#173f38);outline-offset:3px}#team-form{max-width:36rem}#cashier-search{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin-block:1rem}#cashier-search input{min-height:3rem;font:inherit}#phase2-results h2{margin-block-start:2rem}.profile small{overflow-wrap:anywhere}

.phase2-table tbody th[scope="row"]{background:transparent;font-size:.9rem;font-weight:600;color:inherit;text-transform:none;letter-spacing:normal}

.operation-branch{display:grid;gap:.2rem;min-width:10rem}.operation-branch label{font-size:.75rem}.operation-branch select{font:inherit;min-height:2.75rem;max-width:15rem}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}#saas-results form{max-width:40rem;margin-block-end:2rem}#saas-results td{vertical-align:top}#saas-results input,#saas-results select,#saas-results textarea{font:inherit;font-size:max(1rem,1em)}
#directory-retry[hidden]{display:none}

#superuser-create-link[hidden],#superuser-creation[hidden]{display:none}
