.coupon-workspace{display:grid;gap:22px}.coupon-workspace-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.coupon-workspace-toolbar>button{display:inline-flex;align-items:center;gap:8px}.coupon-tabs{display:flex;padding:4px;gap:4px;border:1px solid #dbe7df;border-radius:12px;background:#eaf1ed}.coupon-tabs>button{display:flex;align-items:center;gap:9px;background:none;color:#577062;padding:10px 15px;font-size:13px;border:0;border-radius:8px}.coupon-tabs>button[aria-selected=true]{background:white;color:#176c43;box-shadow:0 2px 6px #163f2810}.coupon-tabs span{padding:2px 6px;background:#eaf3ed;border-radius:5px;font-size:11px}.coupon-searchbar{display:flex;align-items:center;gap:12px;padding:14px;background:#fff;border:1px solid #dce8e1;border-radius:14px}.coupon-searchbar>label{display:flex;align-items:center;gap:9px;flex:1;min-width:0}.coupon-searchbar input{border:0;background:transparent;padding:5px;min-width:0;width:100%}.coupon-searchbar>select{width:180px}.coupon-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.coupon-admin-grid>[hidden]{display:none}.coupon-admin-grid>div{min-width:0}.coupon-admin-card{height:100%;display:flex;flex-direction:column;gap:12px;padding:22px;border:1px solid #dce8e1;border-radius:17px;background:#fff;box-sizing:border-box;box-shadow:0 4px 16px #173d2906}.coupon-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.coupon-ticket-icon{display:flex;align-items:center;justify-content:center;flex:none;width:42px;height:42px;border:1px solid #d3e8d9;border-radius:12px;background:#edf7f0;color:#16834a}.coupon-ticket-icon svg{width:21px;height:21px}.coupon-state{padding:5px 9px;border-radius:6px;background:#f1f2f2;color:#758078;font-size:11px;font-weight:600}.coupon-state.is-active{background:#e9f6ee;color:#16834a}.coupon-admin-card h3,.loyalty-rule-card h3{margin:0;font-size:16px;color:#234836;line-height:1.4}.coupon-benefit{font-size:23px;color:#16834a;letter-spacing:-.03em}.coupon-admin-card p{font-size:13px;margin:0;color:#556e5f;line-height:1.5}.coupon-admin-card small{font-size:11px;color:#7b8a80;line-height:1.8}.coupon-admin-card footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:14px;border-top:1px solid #ecf1ee}.coupon-admin-card footer>span{font-size:11px;color:#7b8a80}.coupon-admin-card footer>div{display:flex;gap:7px}.coupon-admin-card footer button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 10px;font-size:12px}.loyalty-rule-list{display:grid;gap:14px}.loyalty-rule-card{display:flex;align-items:center;gap:16px;padding:20px;background:white;border:1px solid #dce8e1;border-radius:15px}.loyalty-rule-card>div{flex:1;min-width:0}.loyalty-rule-card p{margin:6px 0;font-size:13px}.loyalty-rule-card small{color:#75877b;font-size:12px}.loyalty-rule-card button{font-size:12px}.coupon-empty{grid-column:1/-1;padding:30px;border:1px dashed #cddfd3;border-radius:14px;background:#f8fbf9;color:#698172;text-align:center;font-size:14px;line-height:1.7}
body.coupon-dialog-open{overflow:hidden}.coupon-dialog{width:min(640px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:1px solid #dce8e1;border-radius:20px;background:white;color:#254435;box-shadow:0 24px 90px #08291b40;overflow:hidden}.coupon-dialog.is-wide{width:min(880px,calc(100vw - 32px))}.coupon-dialog::backdrop{background:#092c2077;backdrop-filter:blur(4px)}.coupon-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px;border-bottom:1px solid #e7eee9}.coupon-dialog-header .eyebrow{font-size:10px;color:#548268;letter-spacing:.1em}.coupon-dialog-header h2{margin:5px 0 0;font-size:22px;line-height:1.4}.coupon-dialog .coupon-close{width:34px;height:34px;min-height:34px;padding:0;font-size:22px;flex:none}.coupon-dialog-body{padding:22px 24px;overflow:auto;max-height:calc(100dvh - 230px);overscroll-behavior:contain;scrollbar-width:thin}.coupon-dialog-footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;border-top:1px solid #e7eee9;background:#fcfdfc}.coupon-dialog-footer button{min-width:100px;min-height:40px;height:auto;align-self:center;padding:9px 15px;font-size:13px}.coupon-dialog .form-grid{gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}.coupon-dialog label:not(.coupon-check):not(.wallet-coupon-radio){font-size:12px;line-height:1.5}.coupon-dialog input:not([type=checkbox]):not([type=radio]),.coupon-dialog select{min-height:42px;box-sizing:border-box;font-size:13px;width:100%}.coupon-dialog input[type=checkbox],.coupon-dialog input[type=radio]{width:17px;height:17px;min-width:17px;min-height:17px;margin:0;accent-color:#16834a;flex:none}.coupon-dialog .coupon-check{display:flex;align-items:center;gap:9px;font-size:13px;margin:0;line-height:1.5}.coupon-option-block{display:grid;gap:12px;padding:15px;border:1px solid #e0ebe4;border-radius:11px;background:#f8fbf9;margin:16px 0}.coupon-option-block>label:not(.coupon-check){max-width:300px}.coupon-dialog [hidden]{display:none!important}.coupon-scope-editor{padding:14px 0;margin:16px 0;border:0;border-top:1px solid #e2ece5}.coupon-scope-editor>summary{padding:8px 0;font-size:13px;color:#326747;font-weight:650;cursor:pointer}.coupon-scope-editor .form-grid{margin:14px 0}.coupon-scope-editor p{font-size:12px;color:#728579}.coupon-categories{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px}.coupon-categories .coupon-check{padding:7px;border:1px solid #e1ebe4;border-radius:7px;background:#f8faf8}.coupon-scope-editor [data-coupon-scope-results]{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:12px 0}.coupon-scope-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0}.coupon-scope-pagination button{min-height:32px;padding:5px 9px;font-size:12px}.coupon-scope-pagination span,[data-coupon-scope-count]{font-size:12px;color:#74877b}.coupon-rule-explanation{padding:13px;background:#f1f7f3;border-radius:10px;font-size:13px;line-height:1.6;color:#587461}.coupon-dialog .form-error{margin:12px 0 0}
.wallet-checkout-card{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid #d5e8db;border-radius:14px;background:#f8fcf9}.wallet-checkout-card>div:nth-child(2){flex:1;min-width:0}.wallet-checkout-card h2{margin:0;font-size:16px}.wallet-checkout-card p{margin:6px 0 0;font-size:13px;color:#668070}.wallet-checkout-actions{display:flex;flex-direction:column;gap:5px}.wallet-checkout-actions button{font-size:12px;padding:8px 12px;min-height:36px}.wallet-customer-nav{display:flex;justify-content:flex-end;margin-bottom:18px}.wallet-customer-nav a{display:inline-flex;align-items:center;gap:8px}.wallet-customer-page{max-width:900px;margin:auto;display:grid;gap:14px}.wallet-customer-page>.button{justify-self:start}.wallet-coupon-card{display:flex;align-items:center;gap:18px;min-width:0;padding:18px;margin-bottom:12px;border:1px solid #cde4d5;border-radius:14px;background:#fcfefd}.wallet-coupon-value{display:grid;align-content:center;justify-items:start;gap:12px;flex:0 0 150px;align-self:stretch;padding-right:18px;border-right:1px dashed #d6e4da;color:#16834a}.wallet-coupon-value strong{font-size:22px;line-height:1.25;letter-spacing:-.02em}.wallet-coupon-copy{flex:1;min-width:0}.wallet-coupon-copy h3{margin:0 0 7px;font-size:15px;line-height:1.4}.wallet-coupon-copy p{margin:3px 0;font-size:12px;color:#62796b;line-height:1.5}.wallet-coupon-copy small{font-size:11px;color:#869388}.wallet-unavailable-reason{font-size:12px;color:#997044;line-height:1.5;margin-top:8px}.wallet-eligible-label{display:block;margin-top:8px;color:#20864b;font-size:11px;font-weight:650}.wallet-coupon-card.is-unavailable{background:#fafbf9;border-color:#e0e6e1}.wallet-coupon-card.is-unavailable .wallet-coupon-value{color:#859689}.wallet-coupon-radio{display:flex;align-items:center;justify-content:center;flex:none;padding:10px}.wallet-coupon-radio input{cursor:pointer}.wallet-coupon-card:has(input:checked){border-color:#16834a;box-shadow:0 0 0 1px #16834a;background:#f1faf4}.wallet-group-title{font-size:14px;margin:20px 0 12px;color:#4b6e57}.wallet-picker-note{margin-top:0;color:#718477;font-size:13px}.wallet-history{margin-top:14px;padding:0;border:0}.wallet-history summary{padding:14px 0;cursor:pointer;font-size:14px;font-weight:650}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:1100px){.coupon-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.coupon-admin-grid{grid-template-columns:1fr}.coupon-workspace-toolbar{align-items:stretch}.coupon-tabs{width:100%}.coupon-tabs>button{flex:1;padding:9px;font-size:12px;justify-content:center}.coupon-workspace-toolbar>button{margin-left:auto}.coupon-searchbar{padding:10px;flex-wrap:wrap}.coupon-searchbar>select{width:100%}.loyalty-rule-card{flex-wrap:wrap;padding:16px;gap:12px}.loyalty-rule-card>.coupon-ticket-icon{display:none}.loyalty-rule-card>div{flex-basis:calc(100% - 90px)}.loyalty-rule-card>button{margin-left:auto}.coupon-dialog-header,.coupon-dialog-body{padding:16px}.coupon-dialog-header h2{font-size:20px}.coupon-dialog .form-grid{grid-template-columns:1fr}.coupon-dialog-footer{padding:12px 16px}.coupon-dialog{max-height:calc(100dvh - 24px);width:calc(100vw - 20px)}.coupon-dialog.is-wide{width:calc(100vw - 20px)}.coupon-dialog-body{max-height:calc(100dvh - 205px)}.coupon-dialog .coupon-scope-editor [data-coupon-scope-results]{grid-template-columns:1fr}.wallet-coupon-card{padding:13px;gap:12px}.wallet-coupon-value{flex-basis:95px;padding-right:12px}.wallet-coupon-value strong{font-size:18px}.wallet-coupon-copy h3{font-size:13px}.wallet-coupon-radio{padding:3px}.wallet-checkout-card{flex-wrap:wrap}.wallet-checkout-actions{flex-direction:row;margin-left:56px}.wallet-coupon-copy p,.wallet-unavailable-reason{font-size:11px}}
.coupon-use-settings{display:grid;gap:16px;margin:14px 0 20px}.coupon-use-settings>.coupon-option-block{margin:0;gap:10px}.coupon-dialog .coupon-field-help{display:block;margin:0;color:#718478;font-size:12px;line-height:1.6;font-weight:400}.coupon-use-settings>[data-coupon-owner-limit]{display:grid;gap:6px;max-width:320px}.coupon-use-settings .coupon-rule-use-note{margin:0;padding:13px 15px;border:1px solid #dceadf;border-radius:10px;background:#f2f8f4;color:#53745e;font-size:12px;line-height:1.7}

.checkout-coupon.wallet-checkout-card{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px;min-width:0}.wallet-checkout-card>.coupon-ticket-icon{width:40px;height:40px;min-width:0;flex:none;align-self:start;display:flex;align-items:center;justify-content:center}.wallet-checkout-card>div:nth-child(2){min-width:0}.checkout-coupon.wallet-checkout-card h2{font-size:16px;line-height:1.35;margin:0;letter-spacing:-.02em;overflow-wrap:anywhere}.checkout-coupon.wallet-checkout-card p{font-size:13px;line-height:1.55;margin:5px 0 0;overflow-wrap:anywhere}.wallet-checkout-card .wallet-checkout-actions{display:flex;flex-direction:column;gap:6px;margin:0;min-width:0}.wallet-checkout-actions button{white-space:normal;max-width:100%}@media(max-width:600px){.checkout-coupon.wallet-checkout-card{grid-template-columns:36px minmax(0,1fr);padding:16px;column-gap:12px;row-gap:12px;border-radius:16px}.wallet-checkout-card>.coupon-ticket-icon{width:36px;height:36px;border-radius:11px}.wallet-checkout-card>.coupon-ticket-icon .icon{width:21px;height:21px}.wallet-checkout-card .wallet-checkout-actions{grid-column:2;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;margin:0}.wallet-checkout-card .wallet-checkout-actions button{min-height:38px;font-size:12px;padding:9px 13px}.checkout-coupon.wallet-checkout-card h2{font-size:16px}.checkout-coupon.wallet-checkout-card p{font-size:12px}.wallet-checkout-card .wallet-unavailable-reason{display:block;overflow-wrap:anywhere}}
