:root{--navy:#0b2d5b;--gold:#d4af37;--ink:#10213a;--muted:#6b7280;--bg:#f5f6f8;--line:#e3e7ed;--green:#176a4a}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);border-radius:9px;padding:11px 14px;background:white;color:var(--navy);font-weight:650}button:hover{filter:brightness(.96)}button:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.primary{background:var(--navy);color:white;border-color:var(--navy)}.secondary{background:#edf1f7}.textbutton{border:0;padding:0;background:none;text-decoration:underline}.sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:white;border-right:1px solid var(--line);padding:30px 24px;display:flex;flex-direction:column}.brand{text-decoration:none;font-weight:800;letter-spacing:3px;font-size:13px;color:var(--navy);display:flex;align-items:center;gap:12px}.brand i{font-size:42px;letter-spacing:0}.sidebar>small{font-size:9px;letter-spacing:2px;color:var(--gold);margin:25px 0 20px}nav{display:grid;gap:7px}nav a{padding:13px 15px;border-radius:10px;color:var(--muted);text-decoration:none;font-weight:600;display:flex;gap:12px}nav a.active{background:var(--navy);color:white}.sidefoot{margin-top:auto;border-top:1px solid var(--line);padding-top:20px;font-size:12px}.sidefoot b{display:block;margin-top:12px}.sidefoot p{color:var(--muted)}.avatar{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#f8f4df;border:1px solid var(--gold);color:var(--navy);font-weight:700}.badge{font-size:9px;letter-spacing:1px;color:var(--muted)}main{margin-left:250px;padding:36px 42px 100px;max-width:1600px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;color:#a88b27}h1{font-size:31px;letter-spacing:-1px;margin:8px 0 0}h2{font-size:22px;letter-spacing:-.5px;margin:0 0 12px}h3{font-size:16px;margin:0 0 10px}p{line-height:1.6}.muted{color:var(--muted)}.demo{font-size:11px;background:#fff8e1;border-radius:9px;padding:11px 14px;line-height:1.6;margin-bottom:28px;display:flex;justify-content:space-between;gap:12px}.hero{background:var(--navy);color:white;border-radius:24px;padding:30px 32px;position:relative;overflow:hidden;display:flex;gap:30px;align-items:center;justify-content:space-between;margin-bottom:24px}.hero:after{content:'P';position:absolute;right:15px;top:-45px;font-weight:800;font-style:italic;font-size:240px;opacity:.045;pointer-events:none}.hero h2{font-size:28px}.hero .eyebrow{color:var(--gold)}.hero p{max-width:580px;color:#d9e2ef}.hero button{background:white;z-index:1;white-space:nowrap}.grid{display:grid;gap:20px}.stats{grid-template-columns:repeat(4,1fr);margin:24px 0}.card{background:white;border:1px solid var(--line);border-radius:18px;padding:24px}.stat .label{color:var(--muted);font-size:12px}.stat strong{display:block;font-size:30px;letter-spacing:-1px;margin:10px 0}.trend{color:var(--green);font-size:11px}.split{grid-template-columns:1.45fr 1fr}.sectionhead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.sectionhead h2{margin:0}.pill{display:inline-block;padding:5px 9px;border-radius:999px;background:#e7f3ec;color:var(--green);font-size:11px;font-weight:700}.pill.paused{background:#f3f4f6;color:var(--muted)}.pill.gold{background:#fff8e1;color:#8a6d0f}.row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}.row:last-child{border:0}.row p{margin:4px 0;font-size:12px;color:var(--muted)}.actions{display:flex;gap:8px;flex-wrap:wrap}.actions button{font-size:12px;padding:8px 12px}.bars{height:150px;display:flex;gap:14px;align-items:end;margin-top:25px}.bar{flex:1;background:var(--navy);border-radius:5px 5px 0 0;position:relative;min-height:8px}.bar:nth-child(3n){background:var(--gold)}.bar span{position:absolute;bottom:-24px;font-size:10px;color:var(--muted);left:50%;transform:translateX(-50%)}.chart-caption{font-size:11px;color:var(--muted);margin-top:40px}.progress{height:8px;background:#e8edf3;border-radius:20px;overflow:hidden;margin:15px 0}.progress i{display:block;background:var(--gold);height:100%;border-radius:20px}.metrics{display:flex;gap:26px;flex-wrap:wrap}.metrics span{font-size:11px;color:var(--muted)}.metrics strong{display:block;color:var(--ink);font-size:22px;margin-top:4px}.policy{font-size:12px;line-height:1.6;background:#f8f5e9;border-left:3px solid var(--gold);padding:14px;border-radius:8px;margin-top:16px}.offergrid{grid-template-columns:repeat(2,1fr)}.offer-icon{background:#eff3f8;color:var(--navy);height:90px;border-radius:12px;margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;padding:20px;font-size:38px}.offer-icon .eyebrow{font-size:10px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:18px}label{display:block;font-size:12px;font-weight:650;margin-bottom:7px}input,select,textarea{width:100%;border:1px solid #cbd2db;border-radius:9px;padding:11px 12px;color:var(--ink);background:white}textarea{min-height:90px;resize:vertical}.full{grid-column:1/-1}.hint{font-size:11px;color:var(--muted);margin:7px 0 0}.budget{display:flex;gap:8px;flex-wrap:wrap}.budget button.selected{background:var(--navy);color:white}.validation{padding:20px;border-radius:12px;margin-top:18px;background:#e7f3ec;color:var(--green)}.validation.error{background:#fff0ec;color:#9b3d24}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);padding:12px 8px}td{padding:16px 8px;border-top:1px solid var(--line)}.tablewrap{overflow:auto}.empty{color:var(--muted);padding:24px;text-align:center}dialog{border:0;border-radius:22px;padding:28px;width:min(640px,calc(100% - 28px));max-height:90vh;box-shadow:0 24px 80px #10213a30;color:var(--ink)}dialog::backdrop{background:#10213a80;backdrop-filter:blur(3px)}.modalhead{display:flex;justify-content:space-between;align-items:start;margin-bottom:22px}.modalhead button{border:0;padding:0;font-size:25px}.modalfoot{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.assistant-launch{position:fixed;right:24px;bottom:24px;border:0;border-radius:999px;background:var(--navy);color:white;box-shadow:0 8px 30px #0b2d5b40;padding:16px 20px;z-index:30}.assistant{position:fixed;right:24px;bottom:88px;width:380px;max-height:calc(100vh - 120px);background:white;border:1px solid var(--line);border-radius:20px;box-shadow:0 20px 70px #10213a30;z-index:31;overflow:hidden}.assistant[hidden]{display:none}.assistant-head{background:var(--navy);color:white;display:flex;justify-content:space-between;padding:19px}.assistant-head small{display:block;font-size:8px;letter-spacing:1.4px;color:var(--gold);margin-top:7px}.assistant-head button{color:white;background:none;border:0;font-size:24px;padding:0}.assistant-context{font-size:11px;background:#f8f5e9;padding:12px 18px;color:#6b5b29;line-height:1.6}.messages{padding:16px;max-height:280px;overflow:auto}.message{padding:12px;border-radius:12px;background:#f2f4f7;font-size:12px;line-height:1.6;margin-bottom:10px}.message.user{background:#edf1f8;margin-left:25px}.suggestions{display:flex;gap:6px;padding:0 14px 12px;flex-wrap:wrap}.suggestions button{font-size:10px;padding:7px}.assistant form{display:flex;gap:8px;padding:14px;border-top:1px solid var(--line)}.assistant input{min-width:0;font-size:12px}.assistant form button{font-size:12px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:10px;padding:12px 20px;display:none;z-index:100}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:1050px){main{padding:28px 24px 100px;margin-left:210px}.sidebar{width:210px;padding:25px 18px}.stats{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}.hero{display:block}.hero button{margin-top:8px}}@media(max-width:700px){.sidebar{inset:auto 0 0;width:100%;height:72px;padding:6px;z-index:20;border-right:0;border-top:1px solid var(--line)}.brand,.sidebar>small,.sidefoot{display:none}nav{display:flex;overflow:auto;gap:3px;justify-content:space-around}nav a{display:flex;flex-direction:column;align-items:center;padding:8px 7px;font-size:9px;gap:5px;border-radius:8px;min-width:53px}main{margin:0;padding:24px 16px 150px}header{margin-bottom:18px}h1{font-size:28px}.eyebrow{font-size:8px}.demo{display:block}.demo button{margin-left:8px}.hero{padding:25px;border-radius:20px}.hero h2{font-size:25px}.stats{gap:12px}.card{padding:19px}.stat strong{font-size:26px}.offergrid,.formgrid{grid-template-columns:1fr}.full{grid-column:auto}.row{align-items:start}.assistant-launch{bottom:87px;right:16px}.assistant{bottom:148px;right:12px;width:calc(100% - 24px);max-height:calc(100vh - 170px)}.messages{max-height:210px}.sectionhead{align-items:start}.sectionhead button{font-size:12px}dialog{padding:22px}.hero p{font-size:13px}}
.profile-edit-top{display:flex;align-items:center;gap:16px;margin-bottom:25px}.profile-avatar{width:62px;height:62px;border-radius:50%;background:var(--navy);border:3px solid var(--gold);display:grid;place-items:center;font-size:19px;font-weight:800;color:white;flex-shrink:0}.profile-avatar.large{width:94px;height:94px;font-size:28px;border:4px solid white;box-shadow:0 0 0 2px var(--gold);margin-top:-40px;background:var(--navy)}.showcase-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:550px}.showcase-card{min-width:0}.video-open{position:relative;padding:0;width:100%;height:210px;overflow:hidden;border-radius:17px;display:block;background:var(--navy);border:0;color:white;text-align:left}.showcase-video{width:100%;height:100%;object-fit:cover;display:block}.video-open:after{content:'';position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#07192ccc);pointer-events:none}.story-avatar{position:absolute;top:12px;left:12px;border:2px solid var(--gold);box-shadow:0 0 0 2px white;border-radius:50%;height:34px;width:34px;display:grid;place-items:center;background:var(--navy);font-size:10px;z-index:1}.story-title{position:absolute;bottom:29px;left:12px;right:12px;font-size:13px;line-height:1.25;font-weight:750;z-index:1}.motion-hint{position:absolute;bottom:12px;left:12px;font-size:8px;color:#e1e7ef;z-index:1}.video-play{position:absolute;top:13px;right:12px;font-size:11px;z-index:1}.video-open.is-playing .video-play{opacity:.65}.editor-showcase{max-width:none;gap:20px}.editor-showcase .video-open{height:145px}.editor-showcase .showcase-edit{margin-top:15px}.showcase-edit input,.showcase-edit textarea{font-size:12px}.showcase-edit textarea{min-height:75px}.showcase-edit label{margin-top:12px}.video-file{font-size:10px!important;padding:8px;max-width:100%}.video-file-label{color:var(--navy)}.profile-save{display:flex;gap:12px;align-items:center;justify-content:end;margin-top:22px;flex-wrap:wrap}.profile-save>span{font-size:11px;color:var(--muted);margin-right:auto}.customer-mode .sidebar{display:none}.customer-mode main{margin:0 auto;max-width:1000px;padding-bottom:60px}.customer-mode header{display:none}.customer-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.customer-profile{background:white;border:1px solid var(--line);border-radius:23px;overflow:hidden}.profile-cover{height:170px;background:radial-gradient(ellipse at 80% 10%,#d4af3733,transparent 55%),linear-gradient(120deg,#0b2d5b,#193e66);position:relative;overflow:hidden;color:var(--gold);padding:28px}.profile-cover span{font-size:10px;font-weight:700;letter-spacing:3px}.profile-cover i{position:absolute;right:25px;top:-55px;font-size:240px;color:#ffffff0c;font-weight:900}.customer-identity{display:flex;gap:22px;padding:22px 28px 0;align-items:center}.customer-identity h2{font-size:29px;margin:9px 0 0}.customer-identity p{margin:8px 0}.customer-identity .pill{margin-left:auto;white-space:nowrap}.customer-bio{padding:0 28px 20px}.customer-bio>p{max-width:680px;font-size:14px}.profile-facts{display:flex;gap:18px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.customer-showcase,.customer-offers{border-top:1px solid var(--line);padding:24px 28px}.customer-showcase .sectionhead h3{margin:0}.expanded-video{width:100%;max-height:58vh;object-fit:contain;background:var(--navy);border-radius:13px}.customer-mode .demo{font-size:10px}.customer-mode .demo button{display:none}@media(max-width:700px){.editor-showcase{gap:9px}.editor-showcase .video-open{height:125px}.showcase-edit label{font-size:10px}.showcase-edit input,.showcase-edit textarea{font-size:11px;padding:8px}.showcase-edit .textbutton{font-size:10px}.showcase-edit .hint{font-size:9px;overflow-wrap:anywhere}.showcase-edit input[type=file]{font-size:8px!important}.customer-mode main{padding:20px 12px 40px}.profile-cover{height:115px;padding:20px}.customer-identity{padding:18px 18px 0;gap:14px;flex-wrap:wrap}.profile-avatar.large{width:70px;height:70px;font-size:21px;margin-top:-35px}.customer-identity>div:nth-child(2){flex:1;min-width:190px}.customer-identity h2{font-size:23px}.customer-identity .pill{margin-left:84px;margin-top:-4px}.customer-bio{padding:0 18px 18px}.customer-showcase,.customer-offers{padding:20px 18px}.showcase-row{gap:9px}.video-open{height:172px;border-radius:13px}.story-avatar{width:26px;height:26px;top:9px;left:9px;font-size:8px}.story-title{font-size:11px;left:9px;right:7px}.motion-hint{left:9px;font-size:7px}.profile-save{justify-content:stretch}.profile-save button{flex:1}.profile-save>span{width:100%}.customer-offers .row{display:block}.customer-offers .pill{margin-top:8px}.customer-toolbar button{font-size:12px}.customer-showcase .sectionhead{gap:8px}.customer-showcase .sectionhead>span{font-size:9px!important}.customer-mode .profile-facts{gap:10px}.sidebar nav a{min-width:49px}.customer-mode .assistant-launch{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.workspace-intro{margin-bottom:32px}.workspace-intro>p{margin-top:0}.section-shortcuts{display:flex;gap:10px;flex-wrap:wrap}.section-shortcuts button{background:white;font-size:12px}.merged-section{margin-top:48px;padding-top:32px;border-top:1px solid var(--line)}#member-offers,#campaign-results,#activity-reports,#member-visits{scroll-margin-top:24px}.offer-icon{height:58px;font-size:29px}.offergrid .card h2{font-size:21px}.sidebar nav{gap:10px}.sidebar nav a{padding:15px}.customer-mode .section-shortcuts{display:none}@media(max-width:700px){.sidebar nav{justify-content:space-around;overflow:visible;gap:2px}.sidebar nav a{flex:1;min-width:0;padding:9px 5px;font-size:10px;white-space:nowrap}.sidebar{height:72px}.section-shortcuts{gap:8px}.section-shortcuts button{font-size:11px;padding:10px 12px}.merged-section{margin-top:32px;padding-top:24px}.sectionhead{flex-wrap:wrap;gap:14px}.workspace-intro{margin-bottom:24px}.sectionhead>div{flex:1;min-width:200px}.sectionhead>button{flex-shrink:0}#member-offers,#campaign-results,#activity-reports,#member-visits{scroll-margin-top:16px}}
.assistant-launch{width:64px;height:64px;padding:13px;border-radius:50%;display:grid;place-items:center;background:#0b2d5b;box-shadow:0 8px 25px #0b2d5b35;border:1px solid #244776}.assistant-launch[hidden]{display:none}.passport-p{display:block;width:38px;height:38px;overflow:visible;filter:drop-shadow(0 1px 1px #091d3b60)}@media(max-width:700px){.assistant-launch{width:60px;height:60px;padding:12px;bottom:87px;right:16px}.passport-p{width:36px;height:36px}}
.workspace-tools{display:flex;justify-content:flex-end;gap:20px;margin-top:28px;font-size:11px;color:var(--muted)}.workspace-tools button{font-size:11px;color:var(--muted);font-weight:500}.workspace-tools button[hidden]{display:none}.customer-mode .workspace-tools{display:none}.promotions-page header .eyebrow{display:none}.promotions-page header h1{margin:0}.promotions-page header .primary{font-size:12px;padding:9px 13px}.promotions-page header{margin-bottom:24px}.campaign-cards{margin-top:24px}
.typed-offers{grid-template-columns:repeat(3,minmax(0,1fr))}.typed-offer{padding:20px;min-width:0}.offer-type-art{position:relative;min-height:170px;border-radius:14px;padding:18px;overflow:hidden;display:flex;flex-direction:column;color:white;background:var(--navy)}.offer-type-art>span{font-size:22px;color:var(--gold)}.offer-type-art>b{position:absolute;top:22px;right:18px;font-size:11px;letter-spacing:1px;text-transform:uppercase}.offer-type-art>strong{font-size:48px;letter-spacing:-2px;margin-top:13px}.offer-type-art>small{font-size:11px;margin-top:4px;color:#dde6f2}.offer-type-art.recurring{background:#174b58}.offer-type-art.loyalty{background:#9b7b20}.offer-type-art.loyalty>span{color:#fff0ab}.stamp-art{margin-top:25px}.stamps{display:flex;gap:7px;flex-wrap:wrap}.stamps i{font-style:normal;width:33px;height:33px;display:grid;place-items:center;border:1px dashed #ffffff70;border-radius:50%;font-size:15px;background:#ffffff14}.stamps .free-stamp{background:#fff1ba;color:#866715;border:1px solid #fff1ba}.typed-offer h2{font-size:20px;margin-top:16px}.typed-offer .sectionhead{gap:7px}.typed-offer .micro{font-size:10px}.typed-offer p{font-size:13px}.typed-offer .actions button{padding:8px 10px;font-size:11px}.other-offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:24px}@media(max-width:1100px){.typed-offers{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.typed-offers,.other-offers{grid-template-columns:1fr}.offer-type-art{min-height:150px}.offer-type-art>strong{font-size:44px}.typed-offer .sectionhead>span{min-width:0}.typed-offer h2{font-size:22px}.stamps i{width:37px;height:37px}.stamp-art{margin-top:25px}}
.merchant-logo{display:block;width:100%;height:100%;object-fit:contain}.official-avatar{background:#fcf4e9!important;overflow:hidden;padding:3px}.sidefoot .official-avatar{width:52px;height:52px}.profile-avatar.official-avatar{padding:3px}.profile-avatar.large.official-avatar{background:#fcf4e9}.merchant-context{display:block;font-size:11px;color:var(--muted);margin-top:8px;font-weight:600}.simulation-note{display:block;text-align:right;margin-top:20px;font-size:9px;color:var(--muted)}.profile-facts a{color:var(--navy);text-decoration:none}.profile-facts a:hover{text-decoration:underline}.story-demo{position:absolute;top:54px;left:9px;font-size:6px;letter-spacing:.5px;color:#fff;z-index:2;background:#0b2d5b99;padding:3px 4px;border-radius:3px}.customer-showcase .sectionhead>span{font-size:10px!important}@media(max-width:700px){.merchant-context{font-size:10px}.profile-facts{overflow-wrap:anywhere}.customer-identity h2{font-size:24px}.story-demo{top:42px;font-size:5px;padding:2px}.simulation-note{font-size:8px}}
.story-avatar.official-story-avatar{background:#fcf4e9;overflow:hidden;padding:1px}.official-story-avatar .merchant-logo{width:100%;height:100%;object-fit:contain}

.showcase-video{object-fit:contain;background:var(--navy)}

/* Profile stays within the merchant workspace. */
body:not(.customer-mode) .customer-profile .profile-cover{height:72px}
body:not(.customer-mode) .customer-profile .profile-avatar.large{margin-top:0}
body:not(.customer-mode) .customer-showcase .showcase-row{max-width:720px}
body:not(.customer-mode) .customer-showcase .video-open{height:280px}
@media(max-width:700px){body:not(.customer-mode) .customer-showcase .video-open{height:200px}body:not(.customer-mode) .customer-identity>div:nth-child(2){min-width:160px}body:not(.customer-mode) .customer-toolbar{margin-bottom:14px}}

.profile-landing header #title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.profile-landing header .merchant-context{display:none}
.profile-edit-action{padding:0 28px 24px;display:flex;justify-content:flex-end}
@media(max-width:700px){.profile-edit-action{padding:0 18px 20px}.profile-edit-action button{font-size:12px}}

@media(max-width:700px){.sidebar{padding-bottom:env(safe-area-inset-bottom)}main{padding-bottom:calc(130px + env(safe-area-inset-bottom))}.assistant-launch{bottom:calc(85px + env(safe-area-inset-bottom))}.assistant{bottom:calc(85px + env(safe-area-inset-bottom))}}

/* Subtle Profile spacing, with the supplied storefront replacing the generic cover. */
body:not(.customer-mode) .customer-profile .profile-cover{height:72px;padding:0;background:var(--navy)}
.profile-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 48%}
.profile-landing .customer-identity{padding-top:18px;gap:20px}
.profile-landing .customer-bio{padding-bottom:16px}
.profile-landing .customer-showcase,.profile-landing .customer-offers{padding-top:20px;padding-bottom:20px}
.profile-landing .story-title{bottom:13px}
@media(max-width:700px){body:not(.customer-mode) .customer-profile .profile-cover{height:72px}.profile-cover img{object-position:58% 46%}.profile-landing .customer-identity{padding-top:15px;gap:12px}.profile-landing .customer-bio{padding-bottom:14px}.profile-landing .customer-showcase,.profile-landing .customer-offers{padding-top:17px;padding-bottom:17px}}
