/* Merchant setup, useful discovery and branded materials. */
.merchant-shell .sidebar{overflow-y:auto;gap:20px}
.merchant-shell .sidebar>div,.merchant-shell .sidebar>button{flex-shrink:0}
.home-feature-grid{align-items:start;grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr)}
.home-loyalty{padding:20px}
.home-loyalty .home-pass-compact{border:0;padding:0;background:transparent;box-shadow:none;min-height:0}
.compact-pass-top{display:flex;align-items:center;gap:11px}
.compact-pass-top .merchant-avatar{width:39px;height:39px;flex-shrink:0;font-size:22px}
.compact-pass-top>div{display:grid;gap:4px;flex:1;min-width:0}
.compact-pass-top strong{font-size:13px}
.compact-pass-top small{color:var(--muted);font-size:11px}
.compact-pass-top>span:last-child{font-size:10px;color:var(--muted);white-space:nowrap}
.compact-pass-top b{font-size:23px;color:var(--ink);letter-spacing:-.04em}
.compact-meter{height:5px;background:#e9e3f0;border-radius:4px;margin:19px 0 14px;overflow:hidden}
.compact-meter span{display:block;height:100%;background:var(--purple);border-radius:4px}
.compact-pass-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}
.compact-pass-bottom small{font-size:11px;color:var(--muted)}
.compact-pass-bottom .button{padding:9px 11px;font-size:10px}
.explore-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 15px}
.explore-filters button{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:7px;padding:10px 12px;background:#fff;font-size:11px;color:#726a7a}
.explore-filters button .icon{width:15px;height:15px}
.explore-filters button.selected{color:var(--purple);border-color:#c3afe9;background:#f2edf9}
.explore-filters .clear-filters{border:0;background:transparent;text-decoration:underline;color:var(--muted)}
.filter-count{color:var(--muted);font-size:11px;margin-bottom:16px}
.pass-identify{display:flex;align-items:center;justify-content:center;gap:7px;border-top:1px solid var(--line);margin-top:16px;padding:13px 0 0;font-size:11px;color:var(--purple);width:100%}
.pass-identify .icon{width:15px;height:15px}
.loyalty-access-layout{display:grid;grid-template-columns:1fr 1fr;gap:25px;align-items:start;max-width:860px;margin:auto}
.member-identity{background:#fff;border:1px solid var(--line);border-radius:14px;padding:25px;text-align:center;display:flex;flex-direction:column;align-items:center}
.member-identity .eyebrow{color:var(--muted);font-size:9px}
.member-identity h3{font-size:25px;margin:8px 0}
.member-identity p{font-size:12px;color:var(--muted);line-height:1.6;max-width:270px}
.member-qr{width:180px;margin:15px 0 10px}
.member-qr svg{display:block;width:100%;height:auto}
.member-code{font-size:22px;letter-spacing:.05em;color:var(--ink)}
.member-short-code{display:grid;gap:5px;margin-top:15px}
.member-short-code>span{font-size:8px;letter-spacing:.14em;color:#a094a5}
.member-short-code .member-code{font-size:26px;letter-spacing:.08em;font-family:'Manrope',sans-serif}
.member-account-email{display:flex;align-items:center;gap:10px;width:100%;max-width:310px;margin:14px 0 0;padding:11px 13px;border:1px solid var(--line);border-radius:10px;background:#faf8fc;text-align:left}
.member-account-email>.icon{width:17px;height:17px;color:var(--purple);flex-shrink:0}
.member-account-email>span{display:grid;gap:3px;min-width:0}
.member-account-email small{font-size:8px;color:#9c8fa4;text-transform:uppercase;letter-spacing:.08em}
.member-account-email strong{font-size:11px;overflow-wrap:anywhere}
.member-caption{font-size:11px;color:var(--muted);margin:8px 0 18px}
.member-identity>small{font-size:9px;color:#a39aa9;margin-top:17px}
.modal .member-identity{border:0;padding:6px 0 0}
.join-access h2{margin:13px 0}
.join-access .button{margin-top:22px}
.setup-banner{display:flex;align-items:center;gap:17px;background:#f0ecf7;border:1px solid #ded3ee;border-radius:12px;padding:18px 20px;margin:0 0 23px}
.setup-banner-icon{display:grid;place-items:center;width:43px;height:43px;flex-shrink:0;background:#fff;border-radius:10px;color:var(--purple)}
.setup-banner-icon .icon{width:22px;height:22px}
.setup-banner>div{flex:1}
.setup-banner strong{font-size:14px}
.setup-banner p{font-size:11px;line-height:1.6;color:#8d7ba4;margin-top:4px}
.setup-banner .button{white-space:nowrap;font-size:11px;padding:11px 13px}
.setup-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:17px}
.setup-steps button{display:flex;align-items:center;gap:10px;text-align:left;padding:14px;background:#fff;border:1px solid var(--line);border-radius:10px;color:var(--muted)}
.setup-steps button>span{display:grid;place-items:center;width:27px;height:27px;flex-shrink:0;background:#f5f3f7;border-radius:50%;font-size:11px}
.setup-steps strong{font-size:11px}
.setup-steps .current{border-color:var(--purple);color:var(--purple);background:#f6f2fc}
.setup-steps .complete>span{background:#e8f1e9;color:#467453}
.setup-steps .icon{width:15px;height:15px}
.setup-progress{height:3px;background:#ebe7f0;border-radius:4px;overflow:hidden;margin-bottom:27px}
.setup-progress span{height:100%;display:block;background:var(--purple)}
.setup-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr);gap:32px;align-items:start}
.setup-editor{padding:30px;min-height:430px}
.setup-editor>.eyebrow{color:var(--purple)}
.setup-editor h2{font-size:29px;margin:12px 0 10px}
.setup-editor>p{line-height:1.7;margin-bottom:25px;max-width:420px}
.setup-editor .field{margin-top:19px}
.setup-editor .helper-note{line-height:1.6;margin:20px 0}
.setup-editor .error{margin:12px 0}
.setup-preview{display:flex;flex-direction:column;align-items:center;gap:18px}
.setup-preview>.eyebrow{color:#938798;font-size:9px}
.setup-preview-phone{background:#fff;border:6px solid #282330;border-radius:28px;max-width:290px;width:100%;box-shadow:0 18px 35px #2419320d;overflow:hidden}
.setup-cover{height:116px;width:100%;object-fit:cover}
.setup-preview-body{padding:0 17px 17px}
.setup-preview-body>.merchant-avatar{width:43px;height:43px;border:3px solid #fff;margin-top:-23px;position:relative;font-size:24px}
.setup-preview-body h3{font-size:19px;margin:6px 0}
.setup-preview-body>p{font-size:10px;color:var(--muted);line-height:1.5}
.setup-preview-body>small{font-size:8px;color:#a39aa9;display:block;margin-top:6px;line-height:1.5}
.setup-preview-section{display:grid;grid-template-columns:54px 1fr;gap:5px 10px;border-top:1px solid var(--line);padding-top:16px;margin-top:17px;align-items:center}
.setup-preview-section>span{grid-column:1/-1;font-size:8px;color:var(--muted);letter-spacing:.1em;margin-bottom:4px}
.setup-preview-section img{width:54px;height:54px;object-fit:cover;border-radius:7px;grid-row:2/4}
.setup-preview-section strong{font-size:10px;align-self:end}
.setup-preview-section b{font-size:10px;color:var(--purple);align-self:start}
.setup-preview-reward{display:flex;align-items:center;gap:10px;padding:12px;margin-top:15px;background:#f5f1fc;border-radius:8px;color:var(--purple)}
.setup-preview-reward .icon{width:21px;height:21px}
.setup-preview-reward div{display:grid;gap:4px}
.setup-preview-reward strong{font-size:10px}
.setup-preview-reward small{font-size:9px;color:#9a89b4}
.setup-preview-video{display:flex;gap:7px;align-items:center;font-size:9px;color:var(--muted);margin-top:15px}
.setup-preview-video .icon{width:15px;height:15px}
.setup-item{display:flex;align-items:center;gap:12px;border:1px solid var(--line);padding:12px;border-radius:10px;margin:21px 0}
.setup-item>img{width:57px;height:64px;object-fit:cover;border-radius:6px;flex-shrink:0}
.setup-item>div{flex:1;display:grid;gap:6px;min-width:0}
.setup-item strong{font-size:12px;line-height:1.5}
.setup-item small{font-size:11px;color:var(--muted)}
.setup-item .button{font-size:10px;padding:9px}
.setup-actions{margin:19px 0 27px}
.setup-rule{border-left:3px solid var(--purple);background:#f7f4fb;padding:16px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.setup-rule>span{font-size:11px;color:var(--muted)}
.setup-rule>strong{font-size:15px;flex:1}
.setup-finished{text-align:center;display:flex;flex-direction:column;align-items:center;gap:15px;padding:25px 0}
.setup-finished>span{display:grid;place-items:center;background:#eef5ef;color:#477f52;width:60px;height:60px;border-radius:50%}
.setup-finished>span .icon{width:29px;height:29px}
.setup-finished>p{color:var(--muted);font-size:13px;line-height:1.7;max-width:380px}
.counter-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
.counter-layout .content-card{padding:29px;min-height:380px}
.counter-layout .eyebrow{color:var(--purple);font-size:9px}
.counter-layout h2{font-size:27px;margin:13px 0 10px}
.counter-layout .content-card>p{margin-bottom:24px}
.counter-layout .helper-note{font-size:11px;margin-top:17px;line-height:1.7}
.counter-identify-actions{display:flex;align-items:center;gap:10px;margin:18px 0 14px}
.counter-identify-actions .button{font-size:10px;padding:9px 12px}
.counter-identify-actions>span{font-size:10px;color:var(--muted)}
.qr-scanner{display:grid;gap:10px;margin:18px 0;padding:12px;border:1px solid var(--line);border-radius:12px;background:#171717}
.qr-scanner video{width:100%;max-height:280px;object-fit:cover;border-radius:8px;background:#111}
.qr-scanner p{margin:0;color:#F5F0E6;text-align:center;font-size:10px;line-height:1.5}
.accrual-mode-options{display:grid;gap:9px;margin:19px 0;border:0;padding:0}
.accrual-mode-options legend{font-size:11px;font-weight:650;color:#796f88;margin-bottom:9px}
.accrual-mode-options label{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid var(--line);border-radius:10px;cursor:pointer}
.accrual-mode-options input{margin-top:3px;accent-color:var(--purple)}
.accrual-mode-options span{display:grid;gap:3px}
.accrual-mode-options strong{font-size:11px}
.accrual-mode-options small{font-size:9px;color:var(--muted);line-height:1.45}
.counter-matches{display:grid;margin-top:15px;gap:6px}
.counter-matches button{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:8px;padding:12px;text-align:left}
.counter-matches button span{display:grid;gap:6px}
.counter-matches small{font-size:10px;color:var(--muted)}
.counter-member{display:flex;gap:12px;align-items:center;background:#f2eef9;border-radius:10px;padding:16px;margin:22px 0}
.counter-member>span{display:grid;place-items:center;width:39px;height:39px;border-radius:50%;background:#fff;color:var(--purple);font-weight:700;flex-shrink:0}
.counter-member>div{flex:1;display:grid;gap:5px;min-width:0}
.counter-member strong{font-size:12px}
.counter-member small{font-size:10px;color:var(--muted);overflow-wrap:anywhere}
.counter-member b{font-size:11px;color:var(--purple);letter-spacing:.02em;margin-top:3px}
.counter-member>.icon{width:18px;height:18px;color:var(--purple)}
.counter-scope{border-top:1px solid var(--line);padding-top:17px;display:flex;gap:7px;align-items:center;font-size:10px;color:var(--muted);margin-top:21px}
.counter-scope .icon{width:15px;height:15px}
.point-quote{display:flex;align-items:baseline;gap:10px;background:#f5f1fb;padding:19px;border-radius:10px;margin:20px 0;color:var(--purple)}
.point-quote strong{font-size:35px;font-weight:800;letter-spacing:-.05em}
.point-quote span{font-size:11px;color:#9c88b6}
.counter-checkout .check-row{font-size:11px;line-height:1.7;align-items:flex-start;margin-bottom:16px}
.counter-checkout .check-row input{margin-top:3px;flex-shrink:0}
.counter-checkout .error{margin-bottom:14px}
.counter-await{text-align:center;color:var(--muted);padding:50px 15px;max-width:350px;margin:auto}
.counter-await>.icon{width:55px;height:55px;color:#bdb0cc;margin-bottom:15px}
.counter-await h2{font-size:25px;color:var(--ink)}
.counter-await p{font-size:12px;line-height:1.8}
.counter-success{text-align:center;padding-top:20px}
.counter-success>span{display:grid;place-items:center;background:#eaf3ec;color:#4c8057;width:53px;height:53px;border-radius:50%;margin:auto}
.counter-success h2{font-size:37px;color:var(--purple);margin:22px 0 12px}
.counter-success p{font-size:12px;color:var(--muted);line-height:1.8}
.counter-total{display:grid;gap:8px;border-top:1px solid var(--line);padding-top:17px;margin:23px 0}
.counter-total small{font-size:10px;color:var(--muted)}
.counter-total strong{font-size:18px}
.material-destinations{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:24px}
.material-destinations>button{display:flex;align-items:center;gap:16px;padding:20px;background:#fff;border:1px solid var(--line);border-radius:12px;text-align:left}
.material-destinations>button>span{display:grid;place-items:center;width:41px;height:41px;flex-shrink:0;border-radius:9px;background:#f5f3f7;color:#a194b3}
.material-destinations>button>span .icon{width:23px;height:23px}
.material-destinations>button>div{display:grid;gap:6px;flex:1}
.material-destinations strong{font-size:15px}
.material-destinations small{font-size:10px;color:var(--muted);line-height:1.5}
.material-destinations>button>.icon{width:17px;height:17px;color:#bcb3c7}
.material-destinations>button.active{border-color:var(--purple);background:#f8f5ff}
.material-destinations>button.active>span{background:#ece5fb;color:var(--purple)}
.material-destinations>button.active>.icon{color:var(--purple)}
.materials-layout{display:grid;grid-template-columns:minmax(300px,1fr) minmax(340px,1.2fr);gap:24px;align-items:start}
.material-editor{padding:25px}
.material-editor>.eyebrow{color:var(--muted);font-size:9px}
.material-formats{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:20px 0 24px}
.material-formats button{display:grid;gap:6px;text-align:left;border:1px solid var(--line);border-radius:8px;padding:13px}
.material-formats strong{font-size:11px}
.material-formats small{font-size:9px;color:var(--muted)}
.material-formats .active{border-color:var(--purple);background:#f5f0fd;color:var(--purple)}
.material-editor .field{margin-bottom:19px}
.material-editor textarea{min-height:70px;resize:vertical}
.material-editor .field>small{font-size:10px;line-height:1.6;margin-top:5px}
.material-style{grid-template-columns:1fr 1.1fr;gap:13px}
.color-picker{display:flex;align-items:center;gap:9px;height:43px;border:1px solid var(--line);border-radius:8px;padding:5px 9px}
.color-picker input[type=color]{width:31px;height:31px;border:0;padding:0;background:none;flex-shrink:0}
.color-picker span{font-size:11px;color:var(--muted);font-family:monospace}
.material-url-settings{border-top:1px solid var(--line);padding-top:15px;margin:10px 0 19px}
.material-url-settings summary{font-size:11px;color:#85748f;cursor:pointer}
.material-url-settings .field{margin-top:16px}
.material-preview-panel{min-width:0}
.print-stage{background:#e9e5df;border-radius:13px;min-height:430px;display:flex;justify-content:center;align-items:center;position:relative;overflow:hidden;padding:30px 30px 38px}
.print-stage:before{content:'';position:absolute;inset:0;background:linear-gradient(125deg,#ffffff50,transparent 70%);pointer-events:none}
.print-sheet{position:relative;width:254px;max-width:100%;box-shadow:0 13px 26px #382e3126;z-index:1}
.print-sheet>svg{width:100%;height:auto;display:block}
.table-stage{background:linear-gradient(180deg,#e4dfd9 0%,#e4dfd9 80%,#d0bda8 80%,#d0bda8 100%)}
.table-stage .print-sheet{border:5px solid #ffffff65;border-radius:3px;transform:perspective(1200px) rotateY(-6deg);width:254px;transform-origin:bottom}
.table-stand{position:absolute;bottom:30px;width:283px;height:8px;border-radius:4px;background:#e6e2db;border:1px solid #c4b9af;z-index:2;box-shadow:0 8px 9px #583c452e}
.wall-stage .print-sheet{width:265px}
.print-caption{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:13px 2px 20px}
.print-caption strong{font-size:11px}
.print-caption span{font-size:10px;color:var(--muted)}
.print-error{flex-direction:column;color:var(--muted);gap:14px;text-align:center;font-size:12px}
.print-error>.icon{width:50px;height:50px;color:#b6a8c5}
.material-downloads{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:21px}
.material-downloads>.button:first-child{flex:1;min-width:230px}
.material-downloads .button{font-size:11px;padding:12px 13px}
.material-link-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:16px}
.material-link-card>label{font-size:10px;font-weight:600;color:#8e7d9e}
.material-link-row{display:flex;align-items:center;gap:7px;margin:10px 0 15px}
.material-link-row input{background:#f8f7fa;font-size:10px;border:1px solid #ebe5f1;border-radius:6px;color:#7f6c99;min-width:0;flex:1;padding:12px}
.material-link-row .icon-button{width:36px;height:36px;color:var(--purple)}
.material-link-row .icon{width:17px;height:17px}
.material-link-card .text-link{font-size:10px}
.material-print-note{font-size:10px;color:var(--muted);line-height:1.7;margin:14px 2px 0}
.materials-layout button:disabled{opacity:.4;cursor:wait}
.material-link-card [aria-disabled=true]{opacity:.4;pointer-events:none}
.team-intro{display:flex;justify-content:space-between;align-items:start;gap:24px}.team-intro h2,.team-invite h2,.team-list-card h2{font-size:18px;margin:0 0 7px}.team-intro p,.team-invite p,.team-list-card p{font-size:11px;line-height:1.65;color:var(--muted);margin:0}.team-role-guide{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.team-role-guide span{border:1px solid var(--line);border-radius:999px;padding:8px 10px;color:var(--muted);font-size:9px;white-space:nowrap}.team-role-guide b{color:var(--ink);font-weight:700}.team-invite{display:grid;grid-template-columns:minmax(190px,.7fr) 1.3fr;gap:28px;align-items:start;margin-top:18px}.team-invite-form{display:grid;grid-template-columns:minmax(180px,1fr) 145px auto;gap:10px;align-items:end}.team-invite-form .field{margin:0}.team-invite-form .button{min-height:42px;white-space:nowrap}.team-invite-form .error{grid-column:1/-1;margin:0}.team-list-card{margin-top:18px}.team-list{margin-top:14px;border-top:1px solid var(--line)}.team-member{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.team-member-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;overflow:hidden;background:#f2eee8;color:var(--ink);font-size:12px;font-weight:800;flex:none}.team-member-avatar img{width:100%;height:100%;object-fit:cover}.team-member>div{min-width:0;flex:1}.team-member h3{font-size:12px;margin:0 0 3px}.team-member p{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.team-member .status-badge{flex:none}.team-remove{font-size:10px;color:#b34227;flex:none}
@media(min-width:721px){.home-loyalty{min-height:0}.home-feature-grid .daily-feature{min-height:290px}}
@media(max-width:1100px){.materials-layout{grid-template-columns:minmax(270px,1fr) minmax(300px,1fr);gap:18px}.material-editor{padding:20px}.material-style{grid-template-columns:1fr}.material-destinations>button{padding:15px;gap:10px}.setup-steps button{padding:11px;gap:7px}.counter-layout .content-card{padding:23px}}
@media(max-width:900px){.home-feature-grid{grid-template-columns:1fr}.home-loyalty{max-width:none}.setup-layout{grid-template-columns:1fr 280px;gap:22px}.setup-banner{flex-wrap:wrap}.setup-banner .button{margin-left:60px}.materials-layout{grid-template-columns:1fr}.material-preview-panel{display:grid;grid-template-columns:1fr;max-width:none}.material-style{grid-template-columns:1fr 1fr}.print-stage{min-height:420px}.material-destinations>button{align-items:flex-start}.counter-layout{gap:16px}.setup-editor{padding:24px}}
@media(max-width:720px){.home-loyalty{padding:15px}.home-pass-heading{margin-bottom:13px;padding-bottom:11px}.compact-meter{margin:15px 0 11px}.home-feature-grid{gap:15px}.home-page .daily-feature{min-height:260px}.explore-filters{gap:6px}.explore-filters button{font-size:10px;padding:9px}.filter-count{font-size:10px}.loyalty-access-layout{grid-template-columns:1fr;gap:20px}.member-identity{padding:23px}.setup-banner{padding:16px;gap:12px}.setup-banner>div{min-width:180px}.setup-banner strong{font-size:13px}.setup-banner .button{margin-left:0;width:100%;justify-content:center}.setup-steps{grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:13px}.setup-steps strong{font-size:10px}.setup-progress{margin-bottom:20px}.setup-layout{grid-template-columns:1fr;gap:25px}.setup-editor{min-height:0;padding:23px}.setup-preview{padding-top:10px}.setup-editor h2{font-size:26px}.setup-item{gap:9px;padding:10px}.setup-item .button{font-size:9px}.setup-item strong{font-size:11px}.setup-item>img{width:45px;height:53px}.counter-layout{grid-template-columns:1fr;gap:18px}.counter-layout .content-card{min-height:0;padding:24px}.counter-layout h2{font-size:25px}.counter-await{padding:25px 10px}.counter-identify-actions{margin:15px 0 12px}.qr-scanner video{max-height:220px}.material-destinations{gap:9px;margin-bottom:19px}.material-destinations>button{padding:13px 11px;gap:8px;flex-wrap:wrap}.material-destinations>button>span{width:31px;height:31px}.material-destinations>button>span .icon{width:18px;height:18px}.material-destinations>button>div{min-width:80px}.material-destinations>button>.icon{display:none}.material-destinations strong{font-size:12px}.material-destinations small{font-size:9px}.material-editor{padding:20px}.material-style{grid-template-columns:1fr 1.1fr;gap:10px}.print-stage{min-height:410px;padding:25px 25px 37px}.material-downloads .button{font-size:10px}.material-downloads>.button:first-child{min-width:190px}.print-caption span{font-size:9px}.color-picker{gap:6px;padding:5px 7px}.color-picker span{font-size:10px}.material-editor input[type=file]{font-size:10px}.materials-layout{gap:21px}.member-code{font-size:21px}}
@media(prefers-reduced-motion:reduce){.table-stage .print-sheet{transform:none}}
@media(max-width:720px){.team-intro{display:grid;gap:15px}.team-role-guide{justify-content:flex-start}.team-invite{grid-template-columns:1fr;gap:16px}.team-invite-form{grid-template-columns:1fr 1fr}.team-invite-form .button{grid-column:1/-1}.team-member{align-items:flex-start;flex-wrap:wrap}.team-member>div{min-width:calc(100% - 50px)}.team-member .status-badge{margin-left:48px}.team-remove{margin-left:auto}}

/* Atendimento seguro: leitura e correção de pontos */
.qr-scanner-guided{position:relative;overflow:hidden;background:#111;border-radius:18px;min-height:250px}
.qr-scanner-guided video{display:block;width:100%;min-height:250px;object-fit:cover}
.qr-scan-frame{position:absolute;inset:14% 18%;border:2px solid #fff;border-radius:18px;box-shadow:0 0 0 999px rgba(0,0,0,.28);pointer-events:none}
.qr-scan-frame:after{content:"";position:absolute;left:8%;right:8%;top:50%;height:2px;background:#ff4f17;box-shadow:0 0 12px #ff4f17;animation:oyeeScan 1.8s ease-in-out infinite}
.qr-scanner-guided p{position:absolute;bottom:10px;left:16px;right:16px;margin:0;color:#fff;text-align:center;font-size:.82rem;text-shadow:0 1px 3px #000}
.qr-scanner-unavailable{min-height:90px}.qr-scanner-unavailable video,.qr-scanner-unavailable .qr-scan-frame{display:none}
@keyframes oyeeScan{0%,100%{transform:translateY(-45px);opacity:.45}50%{transform:translateY(45px);opacity:1}}
.counter-success-actions{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:18px 0}
.counter-success-actions .text-button,.counter-recent .text-button{border:0;background:transparent;color:var(--orange,#ff4f17);font-weight:700;padding:8px;cursor:pointer}
.counter-recent{margin-top:22px;padding:22px}.counter-recent h3{margin:4px 0 16px;font-size:1.05rem}
.counter-recent-list{display:grid;gap:0}.counter-recent-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:13px 0;border-top:1px solid rgba(20,20,20,.09)}
.counter-recent-list span{display:grid;gap:3px}.counter-recent-list small{color:#8e8797;font-size:.77rem}.counter-recent-list b{white-space:nowrap;font-size:.88rem}
.modal-separator{text-align:center;color:#8e8797;margin:20px 0 14px;font-size:.84rem}
@media(max-width:600px){.counter-recent{padding:18px}.counter-recent-list>div{grid-template-columns:minmax(0,1fr) auto}.counter-recent-list .text-button{grid-column:1/-1;justify-self:start;padding-left:0}.qr-scan-frame{inset:16% 14%}}

/* Mobile merchant service: make scanning and point confirmation the primary path. */
.merchant-workspace:has(.counter-layout) .page-top{align-items:center}
.merchant-workspace:has(.counter-layout) .page-top>.button{background:#f4511e;color:#fff;border-radius:11px}
.counter-layout .content-card{border:1px solid #ece8e1;border-radius:18px;background:#fff;box-shadow:0 7px 22px #241b1008}
.counter-layout .eyebrow{color:#e65329;letter-spacing:.1em}
.counter-search>h2{letter-spacing:-.04em}
.counter-identify-actions .button{background:#f4511e;color:#fff;border-color:#f4511e}
.counter-identify-actions .button:hover{background:#da4218;color:#fff}
.counter-member{background:#fff4ed;border:1px solid #f7dccd}
.counter-member>span{background:#f4511e;color:white}
.counter-member b{color:#d84b25}
.counter-checkout{scroll-margin-top:82px}
.point-quote{background:#fff2e9;color:#d84b25}
.point-quote span{color:#906d5c}
.counter-await>.icon{color:#f4511e}
.counter-success>span{background:#eaf5ec;color:#347e4b}
@media(max-width:720px){
 .merchant-workspace:has(.counter-layout){padding-top:14px}
 .merchant-workspace:has(.counter-layout) .page-top{display:grid;grid-template-columns:minmax(0,1fr);gap:11px;margin-bottom:14px}
 .merchant-workspace:has(.counter-layout) .page-top>div{min-width:0}
 .merchant-workspace:has(.counter-layout) .page-top h1{font-size:25px}
 .merchant-workspace:has(.counter-layout) .page-top p{font-size:11px;max-width:34ch}
 .merchant-workspace:has(.counter-layout) .page-top>.button{width:100%;min-height:47px;justify-content:center;font-size:12px}
 .counter-layout{grid-template-columns:minmax(0,1fr);gap:12px}
 .counter-layout .content-card{padding:18px;border-radius:16px;min-height:0}
 .counter-layout .eyebrow{font-size:9px}
 .counter-layout h2{font-size:21px;line-height:1.2;margin:8px 0 6px}
 .counter-layout .content-card>p{font-size:11px;line-height:1.5;margin-bottom:13px}
 .counter-identify-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;margin:13px 0 11px}
 .counter-identify-actions .button{width:100%;min-height:50px;justify-content:center;border-radius:12px;font-size:12px}
 .counter-identify-actions>span{text-align:center;font-size:10px}
 #counter-search-form .field{margin-bottom:9px}
 #counter-search-form .field label{font-size:10px}
 #counter-search-form .field input{min-height:45px;font-size:14px}
 #counter-search-form>.button{width:100%;min-height:45px;justify-content:center;border-radius:11px;font-size:11px}
 .counter-layout .helper-note{font-size:10px;line-height:1.5;margin-top:12px}
 .counter-member{margin:13px 0;padding:12px;gap:10px;border-radius:13px}
 .counter-member>div{gap:4px}
 .counter-member strong{font-size:13px}
 .counter-member small{font-size:10px}
 .counter-member b{font-size:11px}
 .counter-scope{margin-top:14px;padding-top:12px;font-size:10px}
 .counter-checkout{scroll-margin-top:72px}
 .counter-checkout>h2{font-size:21px}
 .counter-checkout>p{font-size:11px;line-height:1.5;margin:0 0 13px}
 .counter-checkout .field{margin-bottom:10px}
 .counter-checkout .field label{font-size:11px}
 .counter-checkout .field input{min-height:49px;font-size:18px}
 .point-quote{margin:12px 0;padding:13px 15px;border-radius:12px;gap:8px}
 .point-quote strong{font-size:29px}
 .point-quote span{font-size:10px}
 .counter-checkout .check-row{font-size:10px;line-height:1.5;margin:10px 0 12px}
 .counter-checkout form>.button{min-height:48px;border-radius:12px;font-size:11px}
 .counter-await{padding:27px 12px}
 .counter-await>.icon{width:38px;height:38px;margin-bottom:9px}
 .counter-await h2{font-size:19px;margin:4px 0 6px}
 .counter-await p{font-size:11px;line-height:1.55}
 .counter-success{padding-top:5px}
 .counter-success h2{font-size:29px;margin:14px 0 8px}
 .counter-success p{font-size:11px;line-height:1.55}
 .counter-total{margin:15px 0;padding-top:12px}
 .counter-success-actions{gap:5px;margin:12px 0}
 .counter-success-actions .button{min-height:40px;font-size:10px}
 .counter-success .button.full{min-height:46px;font-size:11px}
 .counter-recent{padding:15px;margin-top:12px;border-radius:15px}
 .counter-recent h3{font-size:14px;margin:4px 0 10px}
 .counter-recent-list>div{gap:8px;padding:11px 0}
 .counter-recent-list strong{font-size:11px}
 .counter-recent-list small{font-size:9px}
 .counter-recent-list b{font-size:10px}
 .qr-scanner-guided{min-height:min(43dvh,360px);border-radius:14px}
 .qr-scanner-guided video{min-height:min(43dvh,360px);height:min(43dvh,360px);object-fit:cover}
 .qr-scan-frame{inset:13% 12%;border-radius:15px}
 .qr-scanner-guided p{font-size:11px;bottom:12px}
 .modal:has(.qr-scanner-guided){padding:22px 17px calc(18px + env(safe-area-inset-bottom,0px));max-height:94dvh;overflow:auto}
 .modal:has(.qr-scanner-guided)>h2{font-size:21px;margin:0 0 7px}
 .modal:has(.qr-scanner-guided) .modal-intro{font-size:11px;line-height:1.45;margin-bottom:10px}
 .modal:has(.qr-scanner-guided) .field{margin:10px 0}
 .modal:has(.qr-scanner-guided) .field input{min-height:44px;font-size:14px}
 .modal:has(.qr-scanner-guided)>.button.full{min-height:46px;border-radius:11px}
}
@media(max-height:680px) and (max-width:720px){.qr-scanner-guided,.qr-scanner-guided video{min-height:205px;height:34dvh}.modal:has(.qr-scanner-guided){max-height:96dvh}}

.merchant-more-trigger,.merchant-bottom-nav{display:none}
.merchant-more-list{display:grid;gap:8px;margin-top:18px}
.merchant-more-list button{display:flex;align-items:center;gap:12px;width:100%;padding:14px;border:1px solid #e9e5dd;border-radius:12px;text-align:left;font-size:13px;font-weight:700}
.merchant-more-list button span{flex:1}
.merchant-more-list button .icon{width:18px;height:18px}
.merchant-more-list button .icon:last-child{width:15px;height:15px;color:#918b80}
@media(max-width:720px){
 .merchant-topbar{height:60px;background:#171717;border:0}
 .merchant-topbar .logo{width:80px}
 .merchant-more-trigger{display:flex;align-items:center;gap:6px;margin-left:auto;padding:9px 12px;border:1px solid #ffffff50;border-radius:10px;color:#fff;font-size:11px;font-weight:700}
 .merchant-more-trigger .icon{width:17px;height:17px}
 .merchant-shell>.sidebar{display:none}
 .merchant-workspace{padding-bottom:calc(106px + env(safe-area-inset-bottom,0px))}
 .merchant-section-nav{top:60px;margin-top:-14px}
 .counter-checkout{scroll-margin-top:116px}
 .merchant-bottom-nav{display:flex;position:fixed;z-index:45;bottom:calc(10px + env(safe-area-inset-bottom,0px));left:12px;right:12px;max-width:590px;margin:0 auto;padding:8px 5px;border:1px solid #33312f;border-radius:18px;background:#171717;box-shadow:0 10px 30px #17141135}
 .merchant-bottom-nav button{display:grid;flex:1;min-width:0;justify-items:center;align-content:center;gap:4px;min-height:52px;padding:3px 1px;color:#f5f0e6;font-size:9px;font-weight:700}
 .merchant-bottom-nav button .icon{width:20px;height:20px}
 .merchant-bottom-nav button.active{color:#f4511e}
 .merchant-bottom-nav button.active .icon{stroke-width:2.4}
}

/* Merchant navigation and nested counter tabs. */
.merchant-section-nav{display:flex;align-items:center;gap:18px;margin:0 0 22px;padding:0 0 12px;border-bottom:1px solid #e9e5dd}
.merchant-section-nav>span{color:#948f86;font-size:9px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.merchant-section-nav>div{display:flex;gap:6px}
.merchant-section-nav button{padding:8px 11px;border-radius:9px;color:#726d64;font-size:10px;font-weight:600}
.merchant-section-nav button:hover{background:#fff;color:#171717}
.merchant-section-nav button.active{background:#fff0e9;color:#e65329}
@media(max-width:720px){
 .merchant-shell>.sidebar{position:sticky;top:60px;left:auto;z-index:37;width:100%;height:auto;padding:7px 12px;border:0;border-bottom:1px solid #e9e5dd;background:#fff;box-shadow:0 4px 12px #17141108;transform:none;transition:none;overflow:hidden}
 .merchant-shell>.sidebar nav{display:flex;align-items:center;gap:8px;overflow-x:auto;scrollbar-width:none}
 .merchant-shell>.sidebar nav::-webkit-scrollbar{display:none}
 .merchant-shell .merchant-nav-group{display:flex;align-items:center;gap:5px;flex:none}
 .merchant-shell .nav-label,.merchant-sidebar-foot{display:none}
 .merchant-shell .nav-item{min-height:39px;flex:none;gap:6px;padding:8px 10px;border:1px solid transparent;border-radius:10px;font-size:10px}
 .merchant-shell .nav-item.active{border-color:#f5d7ca}
 .merchant-shell .nav-item .icon{width:16px;height:16px}
 .merchant-nav-dot{width:5px;height:5px}
 .merchant-section-nav{position:sticky;top:112px;z-index:36;display:block;margin:-14px -16px 13px;padding:8px 16px;background:#f7f5f0f2;backdrop-filter:blur(12px);border-bottom:1px solid #e9e5dd;overflow:hidden}
 .merchant-section-nav>span{display:none}
 .merchant-section-nav>div{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}
 .merchant-section-nav>div::-webkit-scrollbar{display:none}
 .merchant-section-nav button{flex:none;white-space:nowrap;padding:7px 10px;border:1px solid #ebe7df;background:#fff;font-size:9px}
 .merchant-section-nav button.active{background:#191817;color:#fff;border-color:#191817}
}

/* On phones, keep only the primary bottom navigation and the secondary drawer. */
.merchant-more-intro{margin:8px 0 0;color:#716c64;font-size:12px;line-height:1.5}
.merchant-more-list button[aria-current="page"]{border-color:#f4511e;background:#fff0e9;color:#d94316}
@media(max-width:720px){
 .merchant-shell>.sidebar,.merchant-shell .merchant-section-nav{display:none}
 .merchant-shell{display:block}
 .counter-checkout{scroll-margin-top:72px}
 #modal-root .modal-overlay:has(.merchant-more-list){justify-content:flex-end;align-items:stretch;padding:0;background:#17171799}
 #modal-root .modal:has(.merchant-more-list){width:min(360px,90vw);max-width:none;height:100dvh;max-height:100dvh;margin:0;padding:56px 20px 24px;border-radius:20px 0 0 20px;overflow-y:auto;animation:none}
 #modal-root .modal:has(.merchant-more-list)>h2{font-size:22px}
}
