:root{--et-lp-primary:var(--et-primary,#078a61);--et-lp-dark:#0b322b;--et-lp-border:#dfe8e5;--et-lp-bg:#f5f9f8}.et-lp-gate{display:none;position:fixed;inset:0;z-index:2147482000;background:rgba(5,24,21,.82);backdrop-filter:blur(7px);align-items:center;justify-content:center;padding:18px}.et-lp-gate.et-lp-gate-open{display:flex}.et-lp-gate-card{width:min(560px,96vw);max-height:94vh;overflow:auto;background:#fff;border-radius:22px;box-shadow:0 24px 80px rgba(0,0,0,.3);padding:22px;color:#17211f}.et-lp-star{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:var(--et-lp-primary);color:#fff;font-size:26px;margin-bottom:12px}.et-lp-gate-title{font-size:24px;font-weight:800;line-height:1.2}.et-lp-gate-sub{font-size:14px;color:#60706c;margin-top:4px;margin-bottom:15px}.et-lp-gate-body{display:grid;grid-template-columns:1fr 110px;gap:10px}.et-lp-gate-body input,.et-lp-add input{min-width:0;height:48px;border:1px solid #cbdad6;border-radius:12px;padding:0 14px;font-size:17px;outline:none}.et-lp-gate-body input:focus,.et-lp-add input:focus{border-color:var(--et-lp-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--et-lp-primary) 16%,transparent)}.et-lp-gate button,.et-lp-admin-card button{border:0;border-radius:11px;padding:0 14px;min-height:42px;font-weight:700;cursor:pointer;background:var(--et-lp-primary);color:#fff}.et-lp-secondary{background:#edf4f2!important;color:#17352f!important}.et-lp-results{margin-top:12px;display:grid;gap:8px;max-height:250px;overflow:auto}.et-lp-customer-row{width:100%;display:grid!important;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;text-align:left;background:#f7faf9!important;color:#1a2422!important;border:1px solid #e0ebe8!important;padding:9px 10px!important}.et-lp-avatar{width:40px;height:40px;border-radius:12px;background:var(--et-lp-primary);color:#fff;display:grid;place-items:center;font-weight:800}.et-lp-customer-main{display:flex;flex-direction:column;min-width:0}.et-lp-customer-main strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.et-lp-customer-main small,.et-lp-points small{font-size:11px;color:#6b7a76}.et-lp-points{text-align:right;display:flex;flex-direction:column}.et-lp-points b{font-size:16px;color:var(--et-lp-primary)}.et-lp-keypad{margin-top:12px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.et-lp-keypad button{height:46px;background:#f1f6f5;color:#18352f;border:1px solid #dbe8e5;font-size:17px}.et-lp-keypad button:active{transform:scale(.98)}.et-lp-gate-actions{display:flex;gap:8px;justify-content:space-between;margin-top:12px}.et-lp-add{display:grid;gap:8px;padding:10px;background:#f7faf9;border-radius:14px;border:1px solid #e0ebe8}.et-lp-add>div{display:flex;gap:8px}.et-lp-loading,.et-lp-empty{padding:14px;text-align:center;color:#687773;background:#f7faf9;border-radius:12px}.et-lp-toast{position:fixed;z-index:2147483000;left:50%;top:24px;transform:translate(-50%,-12px);opacity:0;transition:.18s;background:#17211f;color:#fff;padding:10px 16px;border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.2);font-weight:700}.et-lp-toast.ok{background:#0b6f50}.et-lp-toast.bad{background:#a52c2c}.et-lp-toast.show{opacity:1;transform:translate(-50%,0)}
.et-lp-menu-link{cursor:pointer}.et-lp-menu-icon{width:20px;height:20px}.et-lp-admin-shell{padding:20px}.et-lp-admin-card{max-width:1180px;margin:0 auto;background:#fff;border-radius:18px;border:1px solid #e0e8e6;box-shadow:0 8px 28px rgba(0,0,0,.06);padding:20px;color:#17211f}.et-lp-admin-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:16px;border-bottom:1px solid #edf1f0}.et-lp-admin-head h2{margin:0;font-size:24px}.et-lp-admin-head p{margin:5px 0 0;color:#6c7976}.et-lp-admin-head button{background:#edf4f2;color:#163a32}.et-lp-section{padding:18px 0;border-bottom:1px solid #edf1f0}.et-lp-section h3{margin:0 0 12px;font-size:16px}.et-lp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.et-lp-field{display:flex;flex-direction:column;gap:6px}.et-lp-field span,.et-lp-wide span{font-size:12px;font-weight:700;color:#5d6d69}.et-lp-field input,.et-lp-field select,.et-lp-wide textarea{border:1px solid #d8e4e1;border-radius:10px;min-height:42px;padding:8px 10px;background:#fff;color:#17211f}.et-lp-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e0e9e7;border-radius:12px;padding:10px 12px;min-height:42px}.et-lp-switch input{width:42px;height:22px;accent-color:var(--et-lp-primary)}.et-lp-wide{display:flex;flex-direction:column;gap:6px;margin-top:10px}.et-lp-wide textarea{min-height:76px;resize:vertical}.et-lp-admin-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;padding-top:18px}.et-lp-admin-actions #et-lp-save-msg{margin-right:auto;font-size:13px;color:#56706a}.et-lp-admin-actions .primary{background:var(--et-lp-primary);min-width:140px}
@media(max-width:900px){.et-lp-grid{grid-template-columns:1fr 1fr}.et-lp-admin-shell{padding:12px}.et-lp-gate-card{width:min(520px,98vw);padding:18px}}@media(max-width:620px){.et-lp-gate{padding:8px}.et-lp-gate-card{border-radius:16px;padding:14px}.et-lp-gate-title{font-size:21px}.et-lp-gate-body{grid-template-columns:1fr 92px}.et-lp-grid{grid-template-columns:1fr}.et-lp-gate-actions{flex-direction:column}.et-lp-gate-actions button{width:100%}.et-lp-keypad button{height:50px}.et-lp-admin-head{flex-direction:column}.et-lp-admin-head button{align-self:flex-start}}


/* v2.0.1 compact loyalty gate + cart card */
.et-lp-gate-card{width:min(560px,96vw);max-height:min(92vh,760px);overflow:auto;overscroll-behavior:contain}
.et-lp-gate button,.et-lp-admin-card button{display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.15;white-space:nowrap}
.et-lp-pad-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;font-size:12px;font-weight:800;color:#5f6d69}
.et-lp-pad-head button{min-height:34px!important;padding:0 12px!important;border-radius:9px!important}
.et-lp-keypad{display:flex!important;flex-direction:column;gap:7px;margin-top:8px}
.et-lp-keypad[style*="display: none"]{display:none!important}
.et-lp-pad-row{display:grid;gap:7px}
.et-lp-pad-row.numeric{grid-template-columns:repeat(3,minmax(0,1fr))}
.et-lp-pad-row.alpha{grid-template-columns:repeat(var(--et-lp-cols,10),minmax(0,1fr))}
.et-lp-pad-row.alpha:nth-child(3){--et-lp-cols:9}.et-lp-pad-row.alpha:nth-child(4){--et-lp-cols:7}.et-lp-pad-row.alpha:nth-child(5){grid-template-columns:1fr 2.2fr 1fr 1.4fr}
.et-lp-keypad button{height:44px!important;min-width:0!important;padding:0 5px!important;background:#f1f6f5!important;color:#18352f!important;border:1px solid #dbe8e5!important;font-size:16px!important;font-weight:800!important}
.et-lp-pad-row.alpha button{height:38px!important;font-size:13px!important}
.et-lp-gate-actions button,.et-lp-add-actions button{min-height:44px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important}
.et-lp-add-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important}
.et-lp-cart-panel{margin:0 0 8px;padding:0}
.et-lp-cart-card{display:grid;grid-template-columns:36px minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:9px 10px;border-radius:10px;background:#eaf7f2;border:1px solid #bfe3d6;color:#17352f;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.et-lp-cart-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:var(--et-lp-primary);color:#fff;font-size:17px}
.et-lp-cart-copy{display:flex;flex-direction:column;min-width:0}.et-lp-cart-copy strong{font-size:12px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.et-lp-cart-copy small{font-size:10px;color:#668079;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.et-lp-cart-points{display:flex;flex-direction:column;text-align:right;line-height:1.05}.et-lp-cart-points b{font-size:16px;color:var(--et-lp-primary)}.et-lp-cart-points small{font-size:9px;color:#688078}
.et-lp-cart-change{min-height:32px!important;height:32px!important;padding:0 9px!important;border:0!important;border-radius:8px!important;background:var(--et-lp-primary)!important;color:#fff!important;font-size:11px!important;font-weight:800!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.et-pos-touch-active .pos-codecanyon .et-lp-cart-card{background:#e8f6f1!important;border-color:#a9d7c8!important;color:#123b33!important}
@media(max-width:620px){.et-lp-gate{align-items:flex-start;padding:8px;overflow:auto}.et-lp-gate-card{margin:6px auto;max-height:none;width:min(520px,100%)}.et-lp-pad-row.alpha{gap:4px}.et-lp-pad-row.alpha button{height:36px!important;font-size:12px!important;padding:0 2px!important}.et-lp-gate-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important}.et-lp-gate-actions button{width:100%!important}.et-lp-cart-card{grid-template-columns:32px minmax(0,1fr) auto}.et-lp-cart-points{display:none}.et-lp-cart-icon{width:30px;height:30px}}

/* v2.0.2 verified redemption, touch-mode sync, customer display */
.et-lp-cart-actions{display:flex;gap:5px;align-items:center}.et-lp-cart-redeem{min-height:32px!important;height:32px!important;padding:0 9px!important;border:1px solid color-mix(in srgb,var(--et-lp-primary) 35%,#d8e4e1)!important;border-radius:8px!important;background:#fff!important;color:var(--et-lp-primary)!important;font-size:11px!important;font-weight:800!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.et-lp-redeem{position:fixed;inset:0;z-index:2147482500;background:rgba(5,24,21,.78);backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:14px}.et-lp-redeem-card{width:min(480px,96vw);max-height:94vh;overflow:auto;background:#fff;border-radius:20px;padding:18px;box-shadow:0 24px 80px rgba(0,0,0,.3);color:#17211f}.et-lp-redeem-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.et-lp-redeem-head>div{display:flex;align-items:center;gap:10px}.et-lp-redeem-head>div>span{width:42px;height:42px;border-radius:12px;background:var(--et-lp-primary);color:#fff;display:grid;place-items:center;font-size:20px}.et-lp-redeem-head h3{margin:0;font-size:21px}.et-lp-redeem-head small{color:#6b7774}.et-lp-redeem-head>[data-close]{width:38px;height:38px;border:0;border-radius:10px;background:#eef4f2;color:#1f3832;font-size:23px;cursor:pointer}.et-lp-redeem-balance{margin:14px 0 10px;padding:12px 14px;border-radius:13px;background:#f1faf6;border:1px solid #cde8de;display:flex;justify-content:space-between;align-items:center}.et-lp-redeem-balance span{font-size:13px;font-weight:700;color:#5a6d67}.et-lp-redeem-balance b{font-size:24px;color:var(--et-lp-primary)}.et-lp-redeem-field{display:flex;flex-direction:column;gap:6px}.et-lp-redeem-field>span{font-size:12px;font-weight:800;color:#566660}.et-lp-redeem-field input,.et-lp-otp-box input{height:48px;border:1px solid #cbdad6;border-radius:11px;padding:0 13px;font-size:19px;outline:none}.et-lp-redeem-field small{color:#71807c;font-size:11px}.et-lp-redeem-value{font-weight:800;color:#176a50;margin:10px 0;text-align:right}.et-lp-redeem-pad{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:8px 0 12px}.et-lp-redeem-pad button{height:44px;border:1px solid #dae8e4;border-radius:9px;background:#f2f7f5;color:#17352f;font-weight:800;font-size:16px}.et-lp-redeem-methods{display:grid;grid-template-columns:1fr 1fr;gap:8px}.et-lp-redeem-methods button,.et-lp-otp-box button,.et-lp-redeem-foot button{min-height:44px;border:0;border-radius:10px;background:var(--et-lp-primary);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center}.et-lp-redeem-methods .et-lp-secondary,.et-lp-redeem-foot .et-lp-secondary{background:#edf4f2;color:#17352f}.et-lp-otp-box{grid-template-columns:1fr auto;gap:8px;margin-top:10px}.et-lp-otp-box button{padding:0 14px}.et-lp-redeem-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}.et-lp-redeem-foot span{font-size:12px;color:#a33;min-width:0}.et-lp-redeem-foot button{padding:0 14px}
.et-lp-display-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 14px;border-radius:14px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.18);min-width:260px}.light .et-lp-display-card{background:#eaf7f2;border-color:#c9e6db;color:#17352f}.et-lp-display-star{width:38px;height:38px;border-radius:11px;background:#078a61;display:grid;place-items:center;color:#fff;font-size:19px}.et-lp-display-copy{display:flex;flex-direction:column;min-width:0}.et-lp-display-copy b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.et-lp-display-copy small{font-size:11px;opacity:.75}.et-lp-display-points{display:flex;flex-direction:column;text-align:right}.et-lp-display-points b{font-size:20px}.et-lp-display-points small{font-size:10px;opacity:.7}
@media(max-width:620px){.et-lp-redeem{align-items:flex-start;overflow:auto;padding:8px}.et-lp-redeem-card{margin:7px auto;border-radius:15px}.et-lp-redeem-methods{grid-template-columns:1fr}.et-lp-otp-box{grid-template-columns:1fr}.et-lp-cart-actions{flex-direction:column}.et-lp-cart-redeem,.et-lp-cart-change{width:100%}.et-lp-display-card{grid-column:1/-1;min-width:0;width:100%}}

/* v2.0.2 final: native menu sizing + richer dual display */
.et-lp-menu .et-lp-menu-icon{width:19px!important;height:19px!important;flex:0 0 auto!important}.et-lp-menu.active>.nav-link{background:var(--et-lp-primary)!important;color:#fff!important}.et-lp-menu.active>.nav-link .nav-icon,.et-lp-menu.active>.nav-link .nav-text{color:#fff!important}
.et-lp-display-card{grid-template-columns:42px minmax(120px,1fr) minmax(190px,auto) auto!important}.et-lp-display-stats{display:grid;grid-template-columns:repeat(4,minmax(42px,1fr));gap:5px}.et-lp-display-stats>span{display:flex;flex-direction:column;text-align:center;padding:4px 6px;border-radius:8px;background:rgba(255,255,255,.08)}.light .et-lp-display-stats>span{background:#fff}.et-lp-display-stats b{font-size:14px}.et-lp-display-stats small{font-size:9px;opacity:.72}.et-lp-display-value{font-size:11px;font-weight:800;white-space:nowrap}
@media(max-width:900px){.et-lp-display-card{grid-template-columns:38px minmax(0,1fr)!important}.et-lp-display-stats{grid-column:1/-1}.et-lp-display-value{grid-column:1/-1;text-align:right}}

/* v2.0.8 keep search/results visible above Module 02 touch keypad */
.et-lp-gate-card{display:flex!important;flex-direction:column!important;overflow:hidden!important;max-height:min(94dvh,820px)!important}
.et-lp-star,.et-lp-gate-title,.et-lp-gate-sub,.et-lp-gate-body,.et-lp-pad-head,.et-lp-keypad,.et-lp-gate-actions{flex:0 0 auto!important}
.et-lp-results{flex:1 1 auto!important;min-height:0!important;max-height:min(230px,28dvh)!important;overflow-y:auto!important;overscroll-behavior:contain!important;scrollbar-gutter:stable!important;padding-right:2px!important}
.et-lp-results:not(:empty){min-height:58px!important}
@media(max-height:760px){.et-lp-gate-card{padding:15px!important}.et-lp-star{width:40px!important;height:40px!important;margin-bottom:7px!important}.et-lp-gate-sub{margin-bottom:9px!important}.et-lp-results{max-height:128px!important}.et-lp-keypad{margin-top:8px!important;gap:5px!important}.et-lp-keypad button{height:39px!important}.et-lp-gate-actions{margin-top:8px!important}}

/* Stocky 5.8 sidebar */
.sider .et-lp-menu{padding:6px 10px;margin-top:8px}.sider .et-lp-menu>button{width:100%;text-align:left;padding:12px;border:1px solid currentColor;border-radius:8px;background:transparent;color:inherit;font:inherit;cursor:pointer}

/* Compact, finger-sized numeric pad. Alphabet keyboard keeps its existing layout. */
#et-lp-keypad[data-mode="numeric"]{width:100%!important;max-width:420px!important;align-self:center!important;margin:8px auto 0!important;gap:7px!important;flex-shrink:0!important}
#et-lp-keypad[data-mode="numeric"] .et-lp-pad-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
#et-lp-keypad[data-mode="numeric"] button{height:64px!important;min-height:64px!important;font-size:28px!important;line-height:1.1!important;border-radius:12px!important;touch-action:manipulation;user-select:none}
#et-lp-keypad[data-mode="numeric"] button[data-key="Clear"]{font-size:18px!important}
.et-lp-gate-card{box-sizing:border-box!important;overflow-y:auto!important;max-height:calc(100dvh - 24px)!important}
.et-lp-star{width:40px!important;height:40px!important;margin-bottom:6px!important}
.et-lp-gate-sub{margin-bottom:10px!important}
.et-lp-gate-actions{flex-shrink:0!important}
@media(max-width:620px),(max-height:700px){#et-lp-keypad[data-mode="numeric"] button{height:56px!important;min-height:56px!important;font-size:25px!important}#et-lp-keypad[data-mode="numeric"]{gap:6px!important}.et-lp-gate-card{max-height:calc(100dvh - 16px)!important;margin:0 auto!important}.et-lp-results{max-height:120px!important}}

.sider .et-module58-menu{padding:4px 10px;margin-top:4px}
.sider .et-module58-menu>button{display:flex!important;align-items:center!important;gap:12px!important;min-height:44px;padding:10px 12px!important;line-height:1.3;text-align:left}
.sider .et-module58-menu>button>svg{width:20px!important;height:20px!important;min-width:20px!important;flex:0 0 20px!important;margin:0!important;color:inherit}
.sider .et-module58-menu>button>span{min-width:0;white-space:normal;overflow-wrap:anywhere}
.ant-layout-sider-collapsed .et-module58-menu>button{justify-content:center;padding:10px 4px!important}
.ant-layout-sider-collapsed .et-module58-menu>button>span{display:none}

/* Add form is separate from the scrollable search results. */
.et-lp-adding .et-lp-gate-card{width:min(800px,96vw)!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:start}
.et-lp-adding .et-lp-star,.et-lp-adding .et-lp-gate-sub,.et-lp-adding .et-lp-gate-body,.et-lp-adding .et-lp-pad-head,.et-lp-adding .et-lp-gate-actions{display:none!important}
.et-lp-adding .et-lp-gate-title{grid-column:1/-1;font-size:21px}
.et-lp-adding .et-lp-results{grid-column:1;margin:0!important;max-height:none!important;min-height:0!important;overflow:visible!important;padding:0!important;scrollbar-gutter:auto!important}
.et-lp-adding .et-lp-add{padding:0;border:0;background:transparent;gap:10px}
.et-lp-adding .et-lp-add input{width:100%;box-sizing:border-box;height:48px}
.et-lp-adding #et-lp-keypad{grid-column:2;margin:0!important}
.et-lp-adding .et-lp-add-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px}
.et-lp-alpha-popup{position:fixed;inset:0;z-index:2147483100;background:rgba(3,20,16,.65);display:flex;align-items:center;justify-content:center;padding:12px;box-sizing:border-box}
.et-lp-alpha-dialog{width:min(960px,100%);max-height:calc(100dvh - 24px);overflow:auto;background:#fff;color:#17352f;border-radius:18px;padding:16px;box-sizing:border-box}
.et-lp-alpha-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;font-size:20px}
.et-lp-alpha-popup button{border:1px solid #d4e3dd;border-radius:9px;background:#edf5f1;color:#17352f;font-size:22px;font-weight:700;min-height:56px;min-width:0;touch-action:manipulation;cursor:pointer}
.et-lp-alpha-title button{font-size:16px;padding:8px 16px;background:var(--et-lp-primary);color:white;min-height:44px}
.et-lp-alpha-value{display:block;width:100%;box-sizing:border-box;height:54px;padding:10px 14px;border:1px solid #b6cec2;border-radius:10px;font-size:23px;margin-bottom:12px}
.et-lp-alpha-keys{display:grid;gap:7px}.et-lp-alpha-row{display:flex;justify-content:center;gap:7px}.et-lp-alpha-row button{flex:1;max-width:86px}.et-lp-alpha-row.actions button{max-width:none;font-size:18px}
@media(max-width:620px){.et-lp-adding .et-lp-gate-card{display:flex!important;gap:8px;padding:12px!important}.et-lp-adding .et-lp-add{grid-template-columns:1fr 1fr;gap:7px}.et-lp-adding #et-lp-new-name,.et-lp-adding .et-lp-add-actions{grid-column:1/-1}.et-lp-adding .et-lp-results{width:100%}.et-lp-adding .et-lp-add input{height:42px;font-size:15px;padding:0 8px}.et-lp-alpha-popup{padding:6px}.et-lp-alpha-dialog{padding:9px}.et-lp-alpha-row,.et-lp-alpha-keys{gap:4px}.et-lp-alpha-popup .et-lp-alpha-row button{font-size:17px;min-height:48px;padding:0}}
