@font-face{font-family:Carlito;src:url('/assets/fonts/carlito-400-normal.woff2');font-weight:400;font-display:swap}@font-face{font-family:Carlito;src:url('/assets/fonts/carlito-700-normal.woff2');font-weight:700;font-display:swap}
:root{font-family:Carlito,Arial,sans-serif;color:#233d36;background:#f7f8f2;font-size:18px}*{box-sizing:border-box}body{margin:0}header{max-width:740px;margin:auto;padding:18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dce3d9}.brand{font-size:25px;font-weight:bold;text-decoration:none}.help{min-width:48px;min-height:48px;border:1px solid #ccd7cb;border-radius:50%;display:grid;place-items:center;text-decoration:none;font-size:26px}main{max-width:680px;margin:24px auto;padding:0 18px 60px}h1{font-size:34px;line-height:1.12;letter-spacing:-.8px}h2{font-size:26px}p{line-height:1.4}a{color:#185b4a}button,.button{font:inherit;font-weight:700;min-height:54px;border-radius:14px;padding:14px 18px;border:1px solid #ccd7cb;background:white;color:#233d36;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;gap:8px;text-decoration:none}button:disabled{opacity:.55;cursor:not-allowed}.primary{background:#185b4a;color:white;border-color:#185b4a}.full{width:100%;margin-top:14px}.panel{background:white;border:1px solid #dce3d9;border-radius:22px;padding:22px;margin:18px 0}.center{text-align:center}.art{width:110px;max-height:120px;margin:8px auto 18px;display:block}.card{max-width:440px;margin:18px auto;background:white;border:1px solid #dce3d9;border-radius:24px;overflow:hidden}.card h2{padding:24px;background:#285a49;color:white;margin:0}.card-body{padding:22px;text-align:center}.qr{display:block;width:240px;max-width:100%;height:auto;margin:12px auto;background:white}.reward{padding:12px;border-radius:14px;background:#eaf1da;font-weight:bold;margin:16px 0}.progress{font-size:32px;font-weight:bold;margin:18px 0}.muted,small{color:#52675d;font-size:16px}label{display:block;margin:18px 0 8px;font-weight:bold}input,select,textarea{width:100%;font:inherit;min-height:52px;padding:12px;border:1px solid #b8c5ba;border-radius:12px;background:white;color:#233d36}textarea{min-height:100px;overflow-wrap:anywhere}input[type=checkbox]{width:24px;height:24px;min-height:24px;margin-right:10px}.check{display:flex;align-items:center;min-height:48px}.check input{flex-shrink:0}.row{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0}.row>*{flex:1}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.stats strong{display:block;font-size:32px}.stats>div{padding:14px;background:#eaf1da;border-radius:14px;font-size:16px}.event{padding:14px 0;border-bottom:1px solid #dce3d9;display:flex;justify-content:space-between;gap:12px}summary{cursor:pointer;min-height:48px;padding:12px 0;font-weight:bold}video{width:100%;max-height:330px;object-fit:cover;border-radius:18px;background:#233d36}#notice{position:fixed;bottom:14px;left:50%;transform:translateX(-50%);background:#233d36;color:white;border-radius:14px;padding:16px;width:min(550px,calc(100% - 24px));display:none;z-index:20}#notice.visible{display:block}#mode{font-size:16px;background:#fff0d9;text-align:center;padding:8px}#mode:empty{display:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8aa755;outline-offset:3px}.code{word-break:break-all;font-size:16px}nav{display:flex;gap:8px;flex-wrap:wrap}nav a{padding:12px;min-height:48px}.warning{background:#fff0d9;padding:16px;border-radius:14px}dialog{border:1px solid #dce3d9;border-radius:22px;padding:24px;max-width:calc(100vw - 32px);width:440px;color:#233d36}dialog::backdrop{background:#20382d88}@media(max-width:400px){h1{font-size:30px}.panel{padding:18px}.stats{gap:6px}.stats>div{padding:12px 8px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.card-link{display:block;text-decoration:none}.card-link p{margin-bottom:0}dialog{max-height:90dvh;overflow:auto}h3{font-size:22px}textarea:focus-visible,summary:focus-visible{outline:3px solid #8aa755;outline-offset:3px}

.brand img{display:block;width:174px;max-width:55vw;height:auto}.muted,small,.code{font-size:18px}

[hidden]{display:none!important}.camera-stage{background:#eaf1da;border-radius:22px;padding:16px;text-align:center}.camera-stage video{height:min(42dvh,330px);object-fit:cover}.camera-stage p{margin:12px 0 0;min-height:26px}.counter-help{margin-top:18px}.counter-help p{font-size:18px}button,.button{touch-action:manipulation}

/* Owner authentication: scoped so the customer card and counter stay unchanged. */
.auth-shell{max-width:480px;margin:0 auto}.auth-art{display:block;width:76px;height:76px;object-fit:contain;margin:0 auto 14px}.auth-card{padding:28px;background:#fff;border:1px solid #dce3d9;border-radius:24px;box-shadow:0 8px 32px #233d3606}.auth-card h1{text-align:center;margin:0;font-size:34px;line-height:1.16}.auth-intro{text-align:center;margin:12px 0 24px;color:#52675d}.auth-card .google-signin{display:flex;width:min(288px,100%);min-height:0;margin:0 auto;padding:0;border:0;border-radius:999px;background:transparent;line-height:0}.google-signin img{display:block;width:100%;height:auto}.auth-card .google-signin:hover{box-shadow:0 2px 8px #233d3622}.auth-divider{display:flex;align-items:center;gap:14px;margin:22px 0;color:#52675d;white-space:nowrap}.auth-divider::before,.auth-divider::after{content:"";height:1px;background:#dce3d9;flex:1}.auth-card label{margin:0 0 8px}.auth-card input{min-height:54px;font-size:18px}.auth-password-label{display:flex;justify-content:space-between;align-items:center;margin-top:8px;gap:12px}.auth-password-label label{margin:0}.auth-password-label a{display:inline-flex;align-items:center;min-height:48px;font-weight:bold}.auth-password{position:relative}.auth-password input{padding-right:78px}.auth-password button{position:absolute;right:4px;top:3px;min-height:48px;min-width:66px;border:0;background:transparent;padding:8px;font-size:18px}.auth-card .full{min-height:56px;margin-top:20px}.auth-hint{margin:8px 0 0;color:#52675d;font-size:18px}.auth-switch{text-align:center;margin:18px 0 0}.auth-switch a{display:inline-flex;align-items:center;min-height:48px;font-weight:bold}.auth-footer{text-align:center;color:#52675d;margin:18px 0 0}.auth-feedback{padding:16px;margin:0 0 18px;border-radius:14px;background:#eaf1da;line-height:1.4}.auth-feedback.is-error{background:#fff0d9}.auth-local{border-top:1px solid #dce3d9;margin-top:20px;padding-top:12px}.auth-local p{margin-bottom:0}.auth-card input::placeholder{color:#63746b;opacity:1}@media(max-width:420px){.auth-card{padding:22px 20px}.auth-card h1{font-size:30px}.auth-art{width:64px;height:64px;margin-bottom:12px}.auth-intro{margin-bottom:20px}.auth-divider{margin:18px 0}}

#page-role{max-width:740px;margin:0 auto;padding:10px 18px 0;color:#52675d;font-size:18px;font-weight:bold}.screen-role{font-weight:bold;color:#52675d}.preview-note{background:#fff0d9;padding:16px;border-radius:14px}nav a[aria-current=page]{background:#eaf1da;border-radius:12px;font-weight:bold}#copy-status:empty{display:none}

/* Keep controls out of iPhone cutouts and the home-indicator area. */
body{padding-top:env(safe-area-inset-top,0px);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}
main{padding-bottom:calc(32px + env(safe-area-inset-bottom,0px))}
#notice{bottom:calc(14px + env(safe-area-inset-bottom,0px))}
/* A cashier needs a balance and one clear primary action, not a full customer card. */
.counter-screen header{padding-top:12px;padding-bottom:12px}.counter-screen .brand img{width:148px}.counter-screen #page-role{display:none}.counter-screen main{margin-top:22px}
.counter-result{max-width:480px;margin:0 auto}.counter-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.counter-heading h1{font-size:32px;margin:0 0 6px}.counter-heading p{margin:0;font-size:20px;color:#52675d;overflow-wrap:anywhere}.counter-heading img{width:68px;height:68px;flex-shrink:0;object-fit:contain}
.counter-summary{padding:24px;background:#fff;border:1px solid #dce3d9;border-radius:24px;text-align:center}.counter-summary h2{font-size:24px;line-height:1.25;margin:14px 0 20px;overflow-wrap:anywhere}.stamp-label{margin:0;color:#52675d}.stamp-total{font-size:52px;line-height:1.1;font-weight:700;margin:12px 0}.stamp-total span{font-size:32px;color:#52675d}.counter-summary .full{margin-top:0;min-height:58px;font-size:20px}.has-reward{background:#edf3e1;border-color:#dce6cc}.reward-count{display:inline-block;margin:0;background:#fff;padding:8px 14px;border-radius:999px;color:#285a49;font-weight:700}.next-reward{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid #d3dfc4;margin-top:22px;padding-top:18px;text-align:left}.next-reward strong{white-space:nowrap}.counter-actions{display:grid;gap:12px;margin-top:16px}.counter-actions .full{margin:0;min-height:56px;font-size:20px}.counter-actions .quiet{background:transparent;border-color:transparent}.owner-exception{margin-top:8px}.owner-exception summary{text-align:center;color:#52675d;min-height:52px}.counter-status{font-size:18px;text-align:left;margin-bottom:0}.counter-result button{white-space:normal}
@media(max-width:380px){.counter-summary{padding:20px}.counter-heading{gap:10px;margin-bottom:16px}.counter-heading h1{font-size:30px}.counter-heading img{width:56px;height:56px}.counter-heading p{font-size:18px}.next-reward{flex-wrap:wrap}}

/* Keep the frequent actions first; reserve explanation for Help and contextual details. */
.customer-screen #page-role,.auth-screen #page-role{display:none}.customer-screen main{max-width:480px;margin-top:18px}.customer-title{font-size:26px;text-align:center;margin:0 0 16px}.customer-screen .card{margin:0 auto 12px}.customer-screen .card h2{padding:18px 22px;font-size:24px}.customer-screen .card-body{padding:18px}.customer-screen .card-body h3{margin:0 0 12px}.customer-screen .qr{width:220px;margin:12px auto}.customer-screen .progress{margin:14px 0 0}.progress-label{display:block;font-size:18px;font-weight:400;color:#52675d;margin-top:4px}.card-wallet{margin:20px 0}.card-wallet h2{font-size:22px;margin:0 0 10px}.card-wallet p{margin:8px 0 12px}.text-action{display:inline-flex;align-items:center;min-height:48px;font-weight:700}.help-page{max-width:520px;margin:auto}.help-topic{border-bottom:1px solid #dce3d9;padding:4px 0}.help-topic summary{font-size:20px;padding:16px 0;min-height:56px}.help-topic p{margin:4px 0 18px}.panel>summary{font-size:22px;padding:4px 0;min-height:44px}nav{gap:4px;margin-bottom:18px}nav a{padding:10px 12px;text-decoration:none;border-radius:12px}h1{overflow-wrap:anywhere}.auth-art{width:64px;height:64px;margin-bottom:12px}

/* Printable customer signup sign: vector QR with its full white quiet zone. */
.signup-print-screen main{max-width:760px}.print-controls{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px}.print-controls p{width:100%;margin:0;font-size:18px}.print-controls #print-status:empty{display:none}.signup-sign{width:100%;padding:32px 28px;background:#fff;border:2px solid #285a49;border-radius:28px;text-align:center;color:#233d36;overflow-wrap:anywhere}.sign-cafe{margin:0;font-size:28px;font-weight:700;line-height:1.2}.sign-art{display:block;width:110px;height:96px;object-fit:contain;margin:16px auto 8px}.signup-sign h1{font-size:48px;margin:8px 0 14px;line-height:1.05}.sign-reward{font-size:23px;margin:0 auto 14px;max-width:560px}.sign-qr{display:block;width:280px;max-width:100%;height:auto;margin:0 auto}.signup-sign h2{font-size:30px;line-height:1.12;margin:12px 0}.sign-simple{font-size:21px;margin:0 0 12px}.sign-url{font-size:16px;margin:10px 0 20px}.sign-brand{display:block;width:145px;height:40px;object-fit:contain;margin:auto}
@media(max-width:420px){.signup-sign{padding:24px 16px}.signup-sign h1{font-size:38px}.sign-cafe{font-size:24px}.sign-reward{font-size:20px}.signup-sign h2{font-size:27px}.print-controls>a,.print-controls>button{flex:1}}
@media print{
 @page{size:auto;margin:10mm}
 body.signup-print-screen{padding:0!important;background:#fff;color:#000}
 .signup-print-screen>header,.signup-print-screen>#page-role,.signup-print-screen>#mode,.signup-print-screen>#notice,.signup-print-screen .print-controls{display:none!important}
 .signup-print-screen main{max-width:none;margin:0;padding:0}
 .signup-sign{width:180mm;max-width:100%;margin:0 auto;padding:8mm;border-radius:7mm;border:0.5mm solid #285a49;break-inside:avoid;page-break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 .sign-cafe{font-size:20pt}.sign-art{width:25mm;height:22mm;margin:3mm auto 2mm}.signup-sign h1{font-size:32pt;margin:2mm 0 4mm}.sign-reward{font-size:17pt;margin:0 auto 3mm}.sign-qr{width:65mm;height:65mm}.signup-sign h2{font-size:23pt;margin:3mm 0}.sign-simple{font-size:15pt;margin:0 0 3mm}.sign-url{font-size:11pt;margin:2mm 0 4mm}.sign-brand{width:35mm;height:9mm}
}

/* Plans and community ideas: owner-only, separate from the counter. */
.plan-tag{display:inline-block;padding:7px 12px;background:#e9f0d7;border-radius:99px;font-size:18px;font-weight:700}
.plan-pro{background:#eaf0dc}.plan-price{font-size:48px;font-weight:700;margin:14px 0}.plan-price span{font-size:20px;font-weight:400}
.plan-list{padding-left:24px;line-height:1.5}.plan-list li{margin:12px 0}.plan-note,.idea-guidance{font-size:18px;line-height:1.5;color:#51655c}
/* Community UI v1: common readable sizing for invitation, board and composer. */
.community-screen,.community-invitation,.merchant-plans{--community-body:20px;--community-note:18px;--community-radius:20px;font-size:var(--community-body)}
.community-screen h1{font-size:32px}.community-screen .panel,.community-invitation,.merchant-plans .panel{border-radius:var(--community-radius);padding:24px}
.community-screen button,.community-screen .button,.community-invitation .button,.merchant-plans .button{font-size:20px;min-height:54px;border-radius:14px}
.ideas-intro{margin:16px 0 24px}.ideas-intro img{float:right;margin:0 0 12px 12px;max-width:26%}.ideas-intro h1{clear:none}.ideas-intro p{margin-bottom:8px}
.idea-composer{max-width:520px;margin:auto}.idea-composer textarea{resize:vertical;margin-bottom:8px}.idea-composer input,.idea-composer textarea{font-size:20px;scroll-margin:24px}.idea-composer form p{font-size:18px}
.idea-card h2{margin:0 0 8px;font-size:24px;line-height:1.2;overflow-wrap:anywhere}.idea-source{display:inline-block;font-size:18px;color:#51655c;margin:0 0 16px;background:#edf2e4;padding:6px 12px;border-radius:99px}.idea-description{font-size:20px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 16px}
.idea-vote{display:flex;justify-content:space-between;gap:16px;width:100%;font-size:20px}.idea-vote.is-voted{background:#e9f0d7;opacity:1;color:#275747;border-color:#b8cca2}
.vote-feedback{font-size:18px;margin:12px 0 0}.vote-feedback:empty,#ideas-status:empty{display:none}#ideas-status:not(:empty){background:#e9f0d7;padding:16px;border-radius:14px}
.community-invitation{display:flex;align-items:center;gap:24px}.community-invitation img{flex-shrink:0;max-width:24%;height:auto}.community-invitation h2{font-size:24px;margin:8px 0}.community-invitation p{margin:8px 0}.community-eyebrow{font-size:18px;color:#51655c;font-weight:bold}.community-invitation .full{margin-top:8px}
@media(max-width:420px){.community-screen .panel,.community-invitation,.merchant-plans .panel{padding:20px}.community-invitation{display:block}.community-invitation img{float:right;width:76px;margin:0 0 8px 8px}.community-invitation .button{clear:both}.ideas-intro img{width:72px}}
.roadmap-invite{display:flex;align-items:center;gap:16px}.roadmap-invite h2{font-size:24px;margin-top:0}.roadmap-invite img{flex-shrink:0}.roadmap-invite .text-action{font-size:18px}
@media(max-width:360px){.ideas-intro img{float:none;margin:0;max-width:90px}.plan-list{padding-left:20px}.roadmap-invite{align-items:flex-start}.roadmap-invite img{width:48px}}

/* Business branding: whole logo, centered name, no card-art editor. */
.program-logo{display:block;width:112px;height:112px;object-fit:contain;margin:20px auto;background:#fff}.card>h2{text-align:center}.logo-screen{max-width:520px;margin:auto}.logo-screen h1{font-size:38px}.logo-screen>p{font-size:20px;line-height:1.45}.logo-preview{margin:24px auto}.logo-preview h2{font-size:26px;text-align:center;overflow-wrap:anywhere}.logo-preview h3{margin-top:0}.logo-screen [role=status]:empty{display:none}.logo-screen [role=status]{padding:16px;background:#eaf1d9;border-radius:14px}.logo-screen .muted{font-size:18px}.program-logo-entry .program-logo{margin:16px auto}

.customer-email{max-width:560px;margin:auto}.customer-email h1{font-size:clamp(32px,8vw,42px);line-height:1.1}.customer-email p,.customer-email label{font-size:20px;line-height:1.45}.customer-email input[type=email]{font-size:20px}.customer-email .email-address{overflow-wrap:anywhere;font-weight:700}.customer-email [role=status]:empty{display:none}.customer-email [role=status]{background:#eaf1d9;border-radius:14px;padding:16px}.customer-email .check{display:flex;gap:12px;align-items:flex-start;margin:24px 0}.customer-email input[type=checkbox]{flex:0 0 24px;width:24px;height:24px;margin-top:3px}.customer-email button{font-size:20px}.email-invite p:last-child{font-size:18px}

.danger{background:#8c3434;color:white;border-color:#8c3434}.support-message{white-space:pre-wrap;overflow-wrap:anywhere}.legal-links{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;padding:24px;font-size:16px}.legal-links a{min-height:44px;display:inline-flex;align-items:center}.legal-document{max-width:760px;margin:auto;padding:24px;line-height:1.65}.legal-document h2{margin-top:36px}

.legal-notice{font-size:16px;line-height:1.55}.legal-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.legal-links a{min-height:44px;display:inline-flex;align-items:center;padding:4px 0}

.email-return{text-decoration:underline;text-underline-offset:4px;display:flex;width:max-content;margin:8px auto;padding:0 16px;min-height:48px;font-size:20px;font-weight:400}.support-cafe-note{font-size:20px;line-height:1.5}.support-form-panel p,.support-form-panel label{font-size:20px;line-height:1.45}.support-form-panel>p:first-child{margin-top:0}.support-form-panel [role=status]:empty{display:none}

.card-deletion p,.card-deletion label{font-size:20px;line-height:1.45}.card-deletion .panel h2{margin-top:0}.card-deletion .deletion-balance{font-weight:700}.card-deletion .check{display:flex;gap:12px;align-items:flex-start;margin:24px 0}.card-deletion input[type=checkbox]{flex:0 0 24px;width:24px;height:24px;margin-top:3px}.card-deletion [role=status]:empty{display:none}.deletion-keep{display:flex;width:max-content;margin:8px auto 0;padding:0 16px;min-height:48px;font-size:20px;text-decoration:underline;text-underline-offset:4px}

.account-deletion p,.account-deletion label{font-size:20px;line-height:1.45}.account-deletion .panel>p:first-child{margin-top:0}.account-deletion .check{display:flex;gap:12px;align-items:flex-start;margin:24px 0}.account-deletion input[type=checkbox]{flex:0 0 24px;width:24px;height:24px;margin-top:3px}.account-deletion .closure-alternative{margin:20px 0}.account-deletion .text-action{min-height:48px}.account-deletion .panel>.text-action:not(.deletion-keep){display:flex;width:max-content;max-width:100%}

.support-inbox p,.support-inbox label{font-size:20px;line-height:1.45}.request-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.request-heading h2{font-size:24px;margin:0}.request-state{background:#eaf1d9;padding:6px 12px;border-radius:12px;font-size:18px;font-weight:700}.request-email{overflow-wrap:anywhere}.support-inbox .support-message{margin:24px 0}.support-inbox .resolve-action{display:block;margin:8px auto 16px;background:transparent;border:0;border-radius:0;color:#185b4a;text-decoration:underline;text-underline-offset:4px;font-size:20px;min-height:48px;padding:8px 16px}.request-details{border-top:1px solid #dce3d9;margin-top:16px;padding-top:8px}.request-details summary{font-size:18px;min-height:48px;display:flex;align-items:center;cursor:pointer}.request-details summary:before{content:"+";margin-right:10px}.request-details[open] summary:before{content:"−"}.request-details p{margin:8px 0}.support-inbox .check{display:flex;gap:12px;align-items:flex-start;margin:24px 0}.support-inbox input[type=checkbox]{flex:0 0 24px;width:24px;height:24px;margin-top:3px}.notification-warning{padding:16px;background:#fff0d9;border-radius:16px}

.customer-recovery [hidden]{display:none!important}.customer-recovery .recovery-secondary{display:block;margin:8px auto;background:transparent;border:0;border-radius:0;color:#185b4a;text-decoration:underline;text-underline-offset:4px;font-size:20px;font-weight:400;min-height:48px;padding:8px 16px}.recovery-help summary{font-size:20px;font-weight:400;text-decoration:underline;text-underline-offset:4px;min-height:48px}.customer-recovery .art{width:88px;max-height:96px;margin:0 auto 18px}

.customer-email .offers-hint{margin-top:-12px;margin-left:36px;font-size:18px}.customer-email .email-secondary{background:transparent;border:0;border-radius:0;color:#185b4a;text-decoration:underline;text-underline-offset:4px;min-height:48px;padding:8px 0;font-size:20px}.customer-email .panel>h2:first-child{margin-top:0}

/* Optional privacy settings and operator reports. */
.privacy-footer{max-width:740px;margin:20px auto;padding:8px 20px;text-align:center}.privacy-footer a{display:inline-flex;align-items:center;min-height:48px;font-size:18px;color:var(--green,#185b4a)}.analytics-table{max-width:100%;overflow:auto}.analytics-table table{border-collapse:collapse;width:100%;font-size:17px;text-align:left}.analytics-table th,.analytics-table td{padding:10px 12px;border-bottom:1px solid #d9e1d6;white-space:nowrap}.reporting-class{padding:20px 0;border-top:1px solid #d9e1d6}.reporting-class p{overflow-wrap:anywhere}
@media(max-width:480px){.platform-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.platform-counts>div{overflow-wrap:anywhere}}

.program-wide-logo{display:block;width:100%;height:auto;max-width:640px;margin:0 auto}.card>.program-wide-logo{margin:0}#wide-preview .program-wide-logo{border-radius:12px;margin:18px auto}#branding-color{height:52px;width:100%;cursor:pointer}#branding-status:empty{display:none}

.program-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;margin:24px 0 32px}.program-editor form{min-width:0}.program-editor input[type=color]{height:48px;width:100%;padding:5px}.setup-preview{min-width:0}.setup-pass{padding:20px;border-radius:22px;background:#24584a;color:#fff}.setup-preview-brand{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:700;overflow-wrap:anywhere}.setup-preview-brand img{width:42px;height:42px;object-fit:contain;border-radius:50%}.setup-preview-data{display:grid;gap:20px;margin-top:28px}.setup-preview-data small{display:block;font-size:13px;opacity:.8}.setup-preview-data strong{display:block;font-size:26px;margin-top:4px}.setup-qr-placeholder{margin:26px auto 0;width:150px;height:150px;border:3px solid currentColor;border-radius:18px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px}.setup-qr-placeholder span{font-size:42px;font-weight:bold}.setup-qr-placeholder small{font-size:11px}.setup-preview>img{display:block;width:100%;height:auto;border-radius:16px;margin-top:14px}.setup-preview>[hidden]{display:none}.program-editor [role=status]:empty{display:none}@media(max-width:700px){.program-editor{grid-template-columns:1fr}.setup-preview{grid-row:1}.setup-pass{max-width:380px;margin:auto}}

.setup-pass small{color:inherit}

/* Three owner destinations; serving a customer remains the primary overview action. */
.owner-screen #page-role{display:none}
.owner-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:5px;margin:0 0 28px;background:#edf1e7;border:1px solid #dce3d9;border-radius:16px}
.owner-nav a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:48px;padding:10px 6px;color:#52675d;font-size:18px;line-height:1.2;text-align:center;text-decoration:none;border-radius:11px}
.owner-nav a[aria-current=page]{background:#fff;color:#185b4a;box-shadow:0 1px 4px #233d3610}
.owner-nav a:hover{color:#185b4a;background:#f7f8f2}
.owner-nav a[aria-current=page]:hover{background:#fff}
.owner-welcome h1{margin:0 0 20px;font-size:36px;line-height:1.15}
.owner-welcome>.full{margin:0;justify-content:space-between;padding:16px 20px;min-height:60px;font-size:20px}
.overview-stats{margin:22px 0 28px;gap:10px}
.overview-stats>div{min-width:0;padding:16px 12px;background:transparent;border:1px solid #dce3d9;border-radius:16px;color:#52675d;line-height:1.25}
.overview-stats strong{color:#233d36;font-size:32px;margin-bottom:6px}
.stat-limit{white-space:nowrap}
.overview-invite{margin:0;padding:24px}
.overview-invite h2{margin:0 0 8px;font-size:24px}
.overview-invite>p{margin:0 0 20px;color:#52675d}
.signup-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.signup-actions>button,.signup-actions>.button{padding:12px;min-width:0;line-height:1.25}
.signup-details{border-top:1px solid #e5e9e1;margin-top:20px;padding-top:6px}
.signup-details summary{font-size:18px;color:#52675d;font-weight:400}
.overview-invite #copy-status:not(:empty){margin:14px 0 0;color:#185b4a}
.overview-invite>.muted{margin:8px 0 0;font-size:16px}
.owner-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:24px;padding-top:12px;border-top:1px solid #dce3d9}
.owner-footer a,.owner-footer button{display:inline-flex;align-items:center;min-height:48px;padding:8px 0;font-size:18px;font-weight:400;color:#52675d;text-decoration:underline;text-underline-offset:4px}
.owner-footer button{border:0;border-radius:0;background:transparent}
@media(max-width:380px){.owner-nav{margin-bottom:24px}.owner-welcome h1{font-size:30px}.overview-stats{gap:6px}.overview-stats>div{padding:14px 8px;font-size:15px}.overview-invite{padding:20px}.signup-actions{grid-template-columns:1fr;gap:10px}}

/* Counter setup separates owner invitations from staff confirmation. */
.counter-setup h1{margin:18px 0 12px}.counter-setup>p{color:#52675d;margin-top:0}.counter-setup .panel>h2:first-child{margin-top:0;font-size:25px}.setup-steps ol{padding-left:24px;margin:20px 0;line-height:1.5}.setup-steps li+li{margin-top:14px}
.access-options{padding:0;margin:24px 0 0;border:0;min-width:0}.access-options legend{font-weight:700;margin-bottom:12px}.access-options label{display:flex;gap:12px;align-items:flex-start;border:1px solid #dce3d9;border-radius:14px;padding:16px;margin:10px 0;cursor:pointer}.access-options label:has(input:checked){background:#edf3e1;border-color:#97b18d}.access-options input{width:22px;height:22px;min-height:22px;margin:2px 0 0;flex:0 0 22px;accent-color:#185b4a}.access-options small{display:block;font-size:17px;font-weight:400;line-height:1.4;margin-top:5px}.setup-note{font-size:17px;line-height:1.45;color:#52675d}.setup-feedback:empty{display:none}.setup-feedback{font-size:18px;line-height:1.4;color:#185b4a}.setup-help{border-bottom:1px solid #dce3d9;padding:6px 0;margin:16px 0}.setup-help summary{font-size:18px;color:#52675d}.setup-help p{font-size:18px;line-height:1.5}.device-list-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:30px}.device-list-heading h2{font-size:25px}.device-list-heading h2 span{color:#52675d;font-size:19px;white-space:nowrap}.quiet-action{background:transparent;border:0;padding:8px 0;min-height:48px;font-size:18px;font-weight:400;text-decoration:underline;text-underline-offset:4px}.device-entry-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.device-entry h3{margin:0;font-size:24px;overflow-wrap:anywhere}.device-entry label{font-size:17px}.device-status{padding:6px 10px;background:#eaf1da;color:#285a49;border-radius:20px;font-size:16px;white-space:nowrap}.device-status.is-expired{background:#fff0d9;color:#735120}.disconnect-action{display:block;margin:12px auto 0;color:#73534b}.counter-invitation{text-align:center;scroll-margin-top:20px}.counter-invitation h2{margin:6px 0 12px}.setup-eyebrow{font-size:16px;font-weight:700;color:#52675d;margin:0}.invitation-qr{display:block;width:300px;max-width:100%;height:auto;aspect-ratio:1;margin:12px auto;background:#fff}.invitation-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.invitation-actions>*{padding:12px;font-size:18px}.counter-invitation textarea{font-size:16px;word-break:break-all}.pair-setup{max-width:520px;margin:auto}.pair-setup .panel{padding:24px}.pair-setup #scan-invitation{margin-top:0}.pair-access{background:#edf3e1;border-radius:16px;padding:18px;margin-top:20px}.pair-access h2{font-size:24px;margin:0 0 8px}.pair-access p{margin:8px 0;font-size:18px;line-height:1.4}.pair-setup #invitation-camera{margin-top:16px}.counter-access-label{text-align:center;margin:-4px 0 18px;color:#52675d;font-size:16px;line-height:1.4}
@media(max-width:400px){.counter-setup .panel{padding:20px}.invitation-actions{grid-template-columns:1fr}.device-list-heading{align-items:baseline}.device-list-heading h2{font-size:23px}.device-list-heading .quiet-action{font-size:17px}}

/* Program keeps card editing and staff setup equally discoverable. */
.program-title{margin:0 0 22px}.program-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:24px}.program-summary.panel{display:flex;flex-direction:column;min-width:0;margin:0;padding:22px}.program-summary-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.program-summary-heading h2{font-size:25px;margin:0}.program-state{font-size:15px;color:#52675d;background:#edf1e7;padding:5px 9px;border-radius:20px;white-space:nowrap}.program-card-summary{display:flex;align-items:center;gap:14px;flex:1;min-width:0}.program-card-summary>div{min-width:0}.program-card-summary strong{display:block;font-size:21px;overflow-wrap:anywhere}.program-card-summary p{margin:6px 0 0;overflow-wrap:anywhere}.program-card-summary .program-logo{width:48px;height:48px;object-fit:contain;margin:0;flex:0 0 48px}.program-phones-summary{flex:1}.program-phones-summary>p:first-child{margin:0 0 12px}.program-summary .program-summary-note{font-size:17px;line-height:1.4;color:#52675d;margin:10px 0 0}.program-summary>.button{margin-top:22px}.program-phone-icon{color:#52675d;flex-shrink:0}
@media(max-width:580px){.program-overview{grid-template-columns:1fr;gap:14px}.program-summary.panel{padding:20px}.program-summary-heading{margin-bottom:14px}.program-summary>.button{margin-top:18px}}

/* Connected phones come first; setup appears only when requested. */
.staff-phones .device-list-heading{margin-top:20px}.staff-phones .device-list-heading h2{margin:0;font-size:24px}.staff-phones #connect-phone{margin-top:6px}.staff-phones #connect-phone-panel>h2{margin:0}.staff-phones #connect-phone-panel .access-options{margin-top:18px}.staff-phones #cancel-connect-phone{display:block;margin:10px auto 0}.staff-phones-help{margin-top:28px}.staff-phones-help ol{padding-left:24px;font-size:18px;line-height:1.5}.staff-phones-help li+li{margin-top:12px}.staff-phones-help h3{margin:20px 0 10px}.staff-phones #device-list>.setup-note{padding:20px;border:1px dashed #ccd7cb;border-radius:18px;background:#fff}

/* Keep each phone compact until its owner opens access management. */
.staff-phones .device-entry{padding:16px 20px;margin:12px 0}.staff-phones .device-entry h3{font-size:22px}.device-access{margin-top:6px}.device-access>summary{color:#185b4a;font-size:18px;font-weight:400}.device-access-controls{border-top:1px solid #e5e9e1;padding-top:2px}.device-access-controls>p{margin:12px 0}.device-access-controls .disconnect-action{margin-bottom:0}

.dev-environment{padding:10px 16px;background:#fff3b0;color:#463c05;text-align:center;font:600 14px system-ui,sans-serif;border-bottom:1px solid #cabb58}
