*{font-family:Kanit,sans-serif;font-weight:400;font-style:normal}html,body{overflow-x:hidden}.birth-date-selects select{min-width:0}.logo-size{width:100px;height:auto}.npecard-size{width:200px;height:auto}.bg-mynpe{background-color:#0d6efd;color:#fff}.full-page-background-blur{position:fixed;inset:0;background:url(/static/images/bg.jpg) no-repeat center center;background-size:cover;filter:blur(60px);z-index:-1}.box-transparent{background:transparent;border:2px solid Orgba(255,255,255,•2);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.text-transparent{background:transparent}.box-transparent input:focus{background:transparent}.box-rounder-t{padding:0 0 20px;border-radius:0 50px}.box-color-rounder-tr-ml{background-image:linear-gradient(to right,#110c6a,#4803af);padding:20px;border-radius:0 50px 0 0}.card-header p{margin-bottom:0;line-height:1.2}.box-info{overflow:hidden;text-align:center;padding:10px;border:1px solid #cccccc;height:80px}.box-info p{color:gray;margin-top:1px;font-size:.8rem}.box-info i{font-size:30px;-webkit-background-clip:text;background-clip:text;color:transparent;background-image:linear-gradient(to right,#0d6efd,#0d6efd)}a,a:hover{text-decoration:none}hr.custom-hr{margin:1px 0;padding:0;border:none;height:2px;background-color:#ccc}.custom-list{list-style-type:circle;list-style-position:inside;padding-left:0}.custom-list li{display:list-item}html.mourning:before,body.mourning:before{content:"";position:fixed;inset:0;background:#50505059;z-index:2147483647;pointer-events:none}html.mourning,body.mourning{background-color:#f1f1f1!important;color:#333!important}body.mourning img:not(.no-grayscale),body.mourning .full-page-background-blur{filter:grayscale(100%) brightness(85%)}body.mourning .bg-mynpe{background-color:#777!important;color:#fff!important}body.mourning .btn,body.mourning .btn-primary{background-color:#666!important;border-color:#666!important;color:#fff!important}body.mourning .btn:hover{background-color:#555!important;border-color:#555!important}body.mourning .card,body.mourning .box-info,body.mourning .box-transparent{background-color:#f8f8f8!important;color:#333!important;border-color:#ccc!important}.crm-home .card{border-radius:18px;overflow:hidden;box-shadow:0 8px 24px #19295416}.crm-home .member-info{gap:10px;padding:4px 0 8px;flex-wrap:wrap;overflow-wrap:anywhere}.crm-home .profile-wrap{margin:12px 0!important}.crm-home .profile-wrap img{width:112px!important;height:112px!important}.crm-home .points-panel{background:#f3f2ff;border:1px solid #e8e5ff;border-radius:12px;padding:16px;margin-top:12px;text-align:left}.crm-home .points-overview{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.crm-home .points-label{font-size:.82rem;color:#666b79;margin:0 0 5px}.crm-home .points-value{font-size:1.8rem;font-weight:700;color:#4546c7;line-height:1.3;font-variant-numeric:tabular-nums}.crm-home .points-value small{font-size:.9rem;font-weight:500}.crm-home .expiry-overview{text-align:right}.crm-home .expiry-date{font-size:1.05rem;font-weight:600;color:#454957;white-space:nowrap}.crm-home .points-details{font-size:.87rem;color:#646777;margin-top:12px}.crm-home .points-details summary{cursor:pointer;text-align:center;padding:6px}.crm-home .points-details summary:focus-visible{outline:3px solid #a6adff;border-radius:5px}.crm-home .expiry-row{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid #e1e0ef;font-variant-numeric:tabular-nums}.crm-home .menu-heading{font-size:1rem;font-weight:700;color:#33364a;text-align:left;margin:8px 0 16px}.crm-home .card-footer{padding-bottom:20px}.crm-home .menu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px}.crm-home .menu-grid>a{text-decoration:none;min-width:0;color:#5754e9;border-radius:12px}.crm-home .menu-grid>a:focus-visible{outline:3px solid #a6adff;outline-offset:2px}.crm-home .menu-tile{min-height:94px;border:1px solid #e0e3eb;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:12px 4px;background:#fff}.crm-home .menu-grid>a:hover .menu-tile{background:#f7f6ff;border-color:#aaa8ef}.crm-home .menu-tile i{font-size:26px}.crm-home .menu-tile span{font-size:.82rem;color:#555b65;line-height:1.4}.crm-home .shop-tile img{width:42px;height:42px;object-fit:contain}.crm-home .logout-button{background:#fff;border:1px solid #cdd1db;color:#626773;border-radius:8px;padding:10px}.crm-home .logout-button:hover{background:#f3f4f7;color:#333}@media(max-width:399px){.crm-home .member-info{flex-direction:column}.crm-home .member-info p{margin-right:0!important}.crm-home .points-overview{gap:8px}.crm-home .points-panel{padding:12px}.crm-home .points-value{font-size:1.5rem}.crm-home .expiry-date{font-size:.95rem}.crm-home .expiry-row{flex-wrap:wrap}.crm-home .menu-grid{gap:8px}}.crm-history{max-width:576px;margin:28px auto;padding:0 12px;color:#252a32}.crm-history .history-card{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 8px 24px #19295416}.crm-history .history-logo{text-align:center;padding:20px 0}.crm-history .history-logo img{width:100px;height:100px;object-fit:contain}.crm-history .history-title{margin:0;padding:12px;text-align:center;font-size:1.2rem;color:#fff}.crm-history .history-body{padding:20px 16px}.crm-history .history-summary{background:#f3f2ff;border:1px solid #e8e5ff;border-radius:12px;padding:16px;margin-bottom:20px}.crm-history .history-count{margin:0 0 10px;font-weight:600}.crm-history .history-caption{font-size:.85rem;color:#646777;margin:0}.crm-history .history-total{font-size:1.9rem;font-weight:700;color:#4546c7;line-height:1.4;font-variant-numeric:tabular-nums}.crm-history .history-total small{font-size:.9rem;font-weight:500}.crm-history .history-hint{font-size:.8rem;color:#6c707a;margin:8px 0 0}.crm-history .history-list{list-style:none;padding:0;margin:0}.crm-history .history-item{padding:15px 0;border-bottom:1px solid #e9ebef}.crm-history .history-item:first-child{padding-top:0}.crm-history .history-item:last-child{border-bottom:0}.crm-history .history-main{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.crm-history .history-date{font-weight:600}.crm-history .history-amount{font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}.crm-history .history-meta{font-size:.85rem;color:#6c707a;margin-top:6px;overflow-wrap:anywhere}.crm-history .history-table{width:100%;font-size:.88rem;margin:0;border-collapse:collapse}.crm-history .history-table th{background:#f5f6fa;color:#555b65;font-weight:600}.crm-history .history-table th,.crm-history .history-table td{padding:12px 8px;border-bottom:1px solid #e9ebef}.crm-history .history-table tbody tr:nth-child(2n){background:#fafbfe}.crm-history .history-money{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.crm-history .history-empty{text-align:center;color:#6c707a;padding:24px 8px}.crm-history .history-footer{padding:16px;border-top:1px solid #eceef3}.crm-history .history-back{display:block;padding:10px;text-align:center;border:1px solid #5655ee;border-radius:8px;color:#4f4de0;text-decoration:none;font-weight:600}.crm-history .history-back:hover{background:#f3f2ff}.crm-history .history-back:focus-visible{outline:3px solid #a6adff;outline-offset:3px}@media(max-width:767px){.crm-history .history-desktop{display:none}}@media(min-width:768px){.crm-history .history-mobile{display:none}}.crm-spend{max-width:576px;margin:0 auto;padding:0 12px 28px}.crm-spend .spend-card{border-radius:18px;overflow:hidden;box-shadow:0 10px 32px #232f561f}.crm-spend .spend-content{padding:22px 24px 24px}.crm-spend .spend-balance{background:#f5f6ff;border:1px solid #e8e9fc;border-radius:14px;padding:18px 20px}.crm-spend .spend-balance-label{color:#6a6d7c;font-size:.9rem;margin-bottom:3px}.crm-spend .spend-balance-number{color:#363271;font-size:2.25rem;font-weight:700;line-height:1.2}.crm-spend .spend-balance-unit{font-size:1rem;font-weight:400;margin-left:6px}.crm-spend .spend-caption{color:#747784;font-size:.85rem}.crm-spend .spend-range{display:flex;align-items:center;gap:12px;margin-top:12px}.crm-spend .spend-range input{min-width:0;flex:1;margin:0;accent-color:#5653f5}.crm-spend .spend-range span{color:#747784;font-size:.85rem;white-space:nowrap}.crm-spend .spend-summary{margin:20px 0 0}.crm-spend .spend-line{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:10px 0}.crm-spend .spend-line dt{margin:0;font-size:.9rem;font-weight:400;color:#737682}.crm-spend .spend-line dd{margin:0;font-size:1rem;font-weight:600;text-align:right;white-space:nowrap}.crm-spend .spend-discount{padding:13px 15px;margin:4px 0;background:#edf8f0;border-radius:11px;color:#24744a}.crm-spend .spend-discount dt{color:#347755;font-weight:500}.crm-spend .spend-discount dd{font-size:1.6rem;line-height:1.2}.crm-spend .spend-payment-note{font-size:.85rem;color:#747784;text-align:center;margin:10px 0 18px}.crm-spend .spend-primary{min-height:48px;border-radius:10px;font-weight:600}.crm-spend .spend-conditions{border-top:1px solid #e9eaef;margin-top:22px;padding-top:18px}.crm-spend .spend-key-terms{font-size:.85rem;color:#737682;margin:0 0 10px;line-height:1.7}.crm-spend .spend-terms summary{cursor:pointer;color:#575867;font-size:.9rem}.crm-spend .spend-terms summary:focus-visible{outline:2px solid #5653f5;outline-offset:4px}.crm-spend .spend-terms ul{padding-left:1.25rem;margin:12px 0}.crm-spend .spend-terms li{margin-bottom:6px;overflow-wrap:anywhere}.crm-spend .spend-terms-body{color:#747784;font-size:.82rem;line-height:1.7}.crm-spend .spend-back{min-height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center}.crm-spend .spend-qr{max-width:220px;width:65%;height:auto}@media(max-width:380px){.crm-spend .spend-content{padding:18px 16px}.crm-spend .spend-line{gap:8px}.crm-spend .spend-line dt{font-size:.82rem}}.crm-edit{max-width:576px;margin:28px auto;padding:0 12px;color:#252a32}.crm-edit>.row{margin:0}.crm-edit>.row>.col-11{width:100%;padding:0}.crm-edit .card{border-radius:18px;overflow:hidden;box-shadow:0 8px 24px #19295416}.crm-edit .card-header{padding:8px 16px}.crm-edit .card-body{padding:20px 16px!important;margin-bottom:0!important}.crm-edit .section-title{font-size:1.05rem;font-weight:700;margin:0 0 18px;color:#33364a}.crm-edit .address-heading{padding:20px 16px 0;border-top:1px solid #eceef3}.crm-edit .address-heading .section-title{margin:0}.crm-edit .form-label{font-size:.9rem;font-weight:600;margin-bottom:7px}.crm-edit .form-control{min-height:44px;border-radius:8px;border-color:#dce0e8;font-size:.95rem}.crm-edit .form-control:focus{border-color:#7878ef;box-shadow:0 0 0 3px #5655ee20}.crm-edit .form-control:disabled,.crm-edit .form-control[readonly]{background:#f3f4f7;color:#666b75}.crm-edit .field-hint{font-size:.78rem;color:#6c707a;margin:6px 0 0}.crm-edit .profile-picker{text-align:center;padding:0 0 20px;border-bottom:1px solid #eceef3;margin-bottom:20px!important}.crm-edit .profile-picker img{width:112px!important;height:112px!important}.crm-edit .photo-button{display:inline-block;border:1px solid #5655ee;border-radius:8px;color:#4f4de0;padding:8px 18px;cursor:pointer;font-size:.9rem}.crm-edit .photo-button:hover{background:#f3f2ff}.crm-edit .photo-button:focus-within{outline:3px solid #a6adff}.crm-edit .card-footer{padding:16px;margin-bottom:0!important;border-top:1px solid #eceef3!important}.crm-edit .edit-actions{display:grid!important;grid-template-columns:1fr 1.6fr;gap:10px}.crm-edit .edit-actions .btn{width:100%;margin:0!important;min-height:44px;white-space:normal;border-radius:8px;font-size:.9rem}.crm-edit .cancel-button{background:#fff;border:1px solid #5655ee;color:#4f4de0}.crm-edit .cancel-button:hover{background:#f3f2ff}.crm-edit .shadow{box-shadow:none!important}@media(max-width:399px){.crm-edit .name-row{display:block!important}.crm-edit .name-row>.col-6{width:100%;padding:0!important}}.legacy-frame{max-width:576px;margin:auto}.legacy-otp{width:200px;font-size:2rem;letter-spacing:8px;border:none;border-bottom:2px solid gray;border-radius:0;box-shadow:none}.legacy-avatar{width:150px;height:150px;object-fit:cover}.legacy-heading{height:40px}.legacy-qr{height:auto}.legacy-loading{max-width:552px;margin:48px auto;padding:16px;text-align:center}.legacy-otp:focus{border:none;border-bottom:2px solid gray;border-radius:0;box-shadow:none}.crm-home .member-menu-grid .menu-tile span small{display:block;color:#8b92a5;font-size:.72rem;line-height:1.5;margin-top:2px}.premium-placeholder-icon{font-size:36px;color:#5754e9}.crm-home .member-menu-grid .menu-tile{height:100%;min-height:116px}.crm-home .member-menu-grid .menu-tile i{font-size:30px}.crm-home .member-menu-grid .menu-tile>span{font-size:.9rem;color:#20273c}.page-enter{animation:crm-page-enter .18s ease-out both}@keyframes crm-page-enter{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.app-loader{max-width:552px;min-height:250px;margin:48px auto 28px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;background:#ffffffed;border-radius:18px;box-shadow:0 8px 24px #19295412}.app-loader>img{animation:crm-logo-appear .18s ease-out both}@keyframes crm-logo-appear{0%{opacity:0}to{opacity:1}}.loader-dots{display:flex;gap:7px}.loader-dots>span{width:7px;height:7px;border-radius:50%;background:#5754e9;animation:crm-dot 1.2s ease-in-out infinite}.loader-dots>span:nth-child(2){animation-delay:.15s}.loader-dots>span:nth-child(3){animation-delay:.3s}@keyframes crm-dot{0%,70%,to{opacity:.3;transform:none}35%{opacity:1;transform:translateY(-3px)}}.button-spinner{display:inline-block;width:.95em;height:.95em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;margin-right:8px;vertical-align:-.1em;animation:crm-spin .75s linear infinite}@keyframes crm-spin{to{transform:rotate(360deg)}}.member-skeleton{max-width:576px;margin:48px auto 24px;padding:0 12px}.loading-card{padding:16px;background:#fff;border-radius:18px;box-shadow:0 8px 24px #19295416}.skeleton{display:block;position:relative;overflow:hidden;isolation:isolate;background:#eceef5;border-radius:7px;min-height:14px}.skeleton:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,#ffffffb3,transparent);transform:translate(-100%);animation:crm-skeleton 1.4s ease-in-out infinite}@keyframes crm-skeleton{to{transform:translate(100%)}}.skeleton-card{aspect-ratio:1016/638;height:auto;border-radius:10px}.skeleton-row{display:flex;justify-content:space-between;gap:24px;margin:20px 0}.skeleton-name{width:42%;height:18px}.skeleton-qr{width:50%;aspect-ratio:1;margin:24px auto}.skeleton-points{background:#f5f5fb;border-radius:12px;padding:18px}.skeleton-label{width:42%;height:14px}.skeleton-number{width:55%;height:32px;margin-top:12px}.skeleton-menu{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0 4px}.skeleton-menu>.skeleton{height:98px;border-radius:12px}.skeleton-summary{height:135px;margin-bottom:20px;border-radius:12px}.skeleton-history-row{display:flex;justify-content:space-between;gap:24px;padding:20px 0;border-bottom:1px solid #e9ebef}.skeleton-amount{width:25%;height:16px}.permission-loading{color:#6c707a;padding:8px 0}.permission-loading .button-spinner{color:#5754e9}.qr-reveal{animation:crm-logo-appear .18s ease-out both}.qr-result{position:relative;display:inline-block;width:65%;max-width:220px;line-height:0}.crm-spend .qr-result .spend-qr{width:100%;max-width:none}.qr-success-mark{position:absolute;right:-22px;top:0;font-size:18px;line-height:1;background:#fff;border-radius:50%;color:#198754;opacity:0;animation:crm-qr-success 1.3s ease-out both}@keyframes crm-qr-success{0%{opacity:0}20%,70%{opacity:1}to{opacity:0}}@media(max-width:575px){.app-loader{margin:48px 24px 28px}}@media(prefers-reduced-motion:reduce){.page-enter,.app-loader>img,.loader-dots>span,.button-spinner,.skeleton:after,.qr-reveal,.qr-success-mark{animation:none!important;transform:none!important}.skeleton:after{display:none}.loader-dots>span{opacity:.65}.qr-success-mark{opacity:1}.btn{transition:none!important}}.spend-skeleton{max-width:576px;margin:24px auto;padding:0 12px}.spend-skeleton .loading-card{padding:24px}.skeleton-logo{width:100px;height:100px;margin:0 auto 24px}.skeleton-balance{height:90px;margin-bottom:28px}.skeleton-slider{height:8px;margin:22px 0}.skeleton-button{height:48px;margin-top:28px;border-radius:10px}.premium-body{padding:1.5rem;text-align:left}.premium-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.premium-heading p{font-size:.9rem}.premium-heading button{flex-shrink:0}.premium-list{list-style:none;margin:0;padding:0;display:grid;gap:1rem}.premium-item{border:1px solid #e1e3ef;border-radius:1rem;padding:1.25rem;overflow-wrap:anywhere;background:#fff}.premium-item-top{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.premium-item-top i{color:#5b50ec;font-size:1.5rem}.premium-item h3{font-size:1.1rem;line-height:1.6;margin:0;color:#34344e}.premium-item dl{margin:0;display:grid;gap:.65rem}.premium-item dl>div{display:flex;justify-content:space-between;gap:1rem}.premium-item dt{font-weight:400;color:#737581}.premium-item dd{margin:0;text-align:right;max-width:65%}.premium-quantity{color:#5149d8;font-weight:700}@media(max-width:400px){.premium-body{padding:1rem}.premium-heading{align-items:flex-start;flex-wrap:wrap}.premium-item{padding:1rem}}.premium-card{position:relative;isolation:isolate}.premium-confetti{position:absolute;inset:0 0 auto;height:min(460px,70vh);overflow:hidden;border-radius:inherit;pointer-events:none!important;z-index:3;contain:layout paint}.premium-confetti span{position:absolute;top:-15px;opacity:0;animation:premium-confetti-fall 1.85s cubic-bezier(.18,.5,.55,1) var(--confetti-delay) both;will-change:transform,opacity}@keyframes premium-confetti-fall{0%{opacity:0;transform:translateZ(0) rotate(0)}8%,65%{opacity:.9}to{opacity:0;transform:translate3d(var(--confetti-drift),440px,0) rotate(var(--confetti-turn))}}.premium-congratulations{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1.5rem;padding:1.25rem;background:linear-gradient(120deg,#f3f0ff,#f0f6ff);border:1px solid #e3ddff;border-radius:1rem;color:#39336c;animation:crm-page-enter .18s ease-out both}.premium-gift{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:42px;height:42px;border-radius:50%;background:#e6e0ff;color:#5b50dc;font-size:1.2rem}.premium-congratulations h2{font-size:1.1rem;line-height:1.6;font-weight:600;margin:0 0 .35rem}.premium-congratulations p{font-size:.9rem;line-height:1.7;margin:0;color:#656179}.premium-list .premium-item{animation:crm-page-enter .18s ease-out both}@media(max-width:400px){.premium-congratulations{gap:.75rem;padding:1rem}.premium-gift{width:34px;height:34px}}@media(prefers-reduced-motion:reduce){.premium-confetti{display:none}.premium-confetti span,.premium-congratulations,.premium-list .premium-item{animation:none!important;transform:none!important}}.home-summary{margin:1rem;padding:1.25rem;text-align:left;border:1px solid #e4e0fa;border-radius:1rem;background:linear-gradient(120deg,#f5f2ff,#f1f7ff);color:#34344e;animation:crm-page-enter .18s ease-out both}.home-summary h2{font-size:1.1rem;line-height:1.65;font-weight:600;margin:0 0 .85rem;overflow-wrap:anywhere}.home-highlights{list-style:none;display:grid;gap:.7rem;padding:0;margin:0;line-height:1.7;font-size:.95rem}.home-highlights li{display:flex;align-items:flex-start;gap:.6rem}.home-highlights li>span:first-child{flex-shrink:0}.home-highlights strong{font-weight:600;color:#4c4387}.home-summary-hint{font-size:.9rem;color:#737080;margin:0;line-height:1.7}.home-summary-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.9rem}.home-summary-actions:empty{display:none}.home-summary-actions a{padding:.45rem .8rem;border-radius:.6rem;background:#fff;border:1px solid #dcd5f7;text-decoration:none;color:#5448c5;font-size:.9rem}.home-summary-actions a:hover{background:#ece7ff}.home-summary-actions a:focus-visible{outline:2px solid #5448c5;outline-offset:3px}@media(max-width:400px){.home-summary{margin:.75rem;padding:1rem}}@media(prefers-reduced-motion:reduce){.home-summary{animation:none!important;transform:none!important}}.home-welcome{font-size:.9rem;line-height:1.7;color:#696779;margin:0 0 1rem}.premium-qr{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e9e7f3;text-align:center}.premium-qr p{font-size:.9rem;color:#686776;margin:0 0 1rem}.premium-qr img{display:block;width:min(240px,100%);aspect-ratio:1/1;height:auto;padding:12px;margin:0 auto;background:#fff;border-radius:8px;box-sizing:border-box}.premium-no-code{margin:1.25rem 0 0;padding-top:1rem;border-top:1px solid #e9e7f3;color:#747581;font-size:.9rem;text-align:center}.admin-premium-body{text-align:left;padding:1.5rem}.premium-scan-mode-tabs{display:flex;gap:.75rem;align-items:stretch}.premium-scan-mode-tabs .btn{flex:1;border-radius:.5rem!important}.premium-scan-mode-tabs .premium-audit-active{background:#2f68ee;border-color:#2f68ee;color:#fff}.premium-scan-mode-tabs .premium-audit-active:hover,.premium-scan-mode-tabs .premium-audit-active:focus{background:#2459c4;color:#fff}html[data-theme=dark] .premium-scan-mode-tabs .premium-audit-active{background:#2f68ee;border-color:#2f68ee;color:#fff}html[data-theme=dark] .premium-scan-mode-tabs .premium-audit-active:hover,html[data-theme=dark] .premium-scan-mode-tabs .premium-audit-active:focus{background:#2459c4;color:#fff}.premium-audit-table{--bs-table-bg:#2b2a40;--bs-table-color:#f3f0ff;--bs-table-border-color:#57536e;color:#f3f0ff;background:#2b2a40}.premium-audit-table th{background:#34324e;color:#fff;white-space:nowrap}.premium-audit-table td{background:#2b2a40;color:#f3f0ff;border-color:#57536e;vertical-align:top}.premium-audit-member-input{display:flex;gap:.75rem;margin-bottom:.75rem}.premium-audit-member-input .form-control{flex:1;margin-bottom:0}.premium-camera-button{width:3.25rem;flex:0 0 3.25rem;padding:0}.admin-code-form{margin-top:1.5rem}.admin-code-form input{min-height:44px}.admin-camera{margin-top:1rem;border-radius:.75rem;overflow:hidden;background:#151722;color:#fff;text-align:center}.admin-camera video{display:block;width:100%;max-height:360px;object-fit:contain}.admin-camera p{padding:.75rem;margin:0;font-size:.9rem}.admin-preview{margin-top:1.5rem;padding:1.25rem;border:1px solid #dedfec;border-radius:.8rem;background:#f9f9ff}.admin-preview ul{list-style:none;padding:0;margin:1rem 0;display:grid;gap:.75rem}.admin-preview li{padding:.75rem;background:#fff;border:1px solid #e7e6f1;border-radius:.6rem}.admin-preview li span{display:block;font-size:.9rem;color:#686b77;margin-top:.35rem;overflow-wrap:anywhere}.admin-preview p{font-size:.9rem;line-height:1.7}.admin-preview strong{font-weight:600}.admin-premium .btn{min-height:44px}.admin-premium .btn[aria-disabled=true]{pointer-events:none;opacity:.65}.admin-tabs{display:flex;gap:.5rem;margin-bottom:1.25rem;flex-wrap:wrap}.admin-tabs a{flex:1;text-align:center;text-decoration:none;padding:.65rem .5rem;border:1px solid #dddced;border-radius:.65rem;color:#554ac5;background:#fff;font-size:.95rem}.admin-tabs a[aria-current=page]{background:#2f68ee;border-color:#2f68ee;color:#fff;font-weight:600}.admin-tabs a[aria-current=page]:hover,.admin-tabs a[aria-current=page]:focus{background:#2459c4;color:#fff}html[data-theme=dark] .admin-tabs a[aria-current=page]{background:#2f68ee;border-color:#2f68ee;color:#fff}html[data-theme=dark] .admin-tabs a[aria-current=page]:hover,html[data-theme=dark] .admin-tabs a[aria-current=page]:focus{background:#2459c4;color:#fff}.admin-tabs a[aria-disabled=true]{opacity:.6;pointer-events:none}.admin-report-body{text-align:left;padding:1.5rem}.report-filters{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.report-filters>div{min-width:0}.report-filters label{font-size:.9rem;display:block;margin-bottom:.35rem}.report-filters input{width:100%;min-height:42px}.report-filters .report-mine{grid-column:1/-1;display:flex;align-items:center;gap:.6rem;margin:0}.report-mine input{width:18px;min-height:18px}.report-filter-actions{grid-column:1/-1;display:flex;gap:.75rem}.report-filter-actions .btn{flex:1;min-height:44px}.report-hint{font-size:.85rem;color:#737582;line-height:1.6;margin:.9rem 0}.report-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin:1.25rem 0}.report-summary>div{background:#f4f2ff;border:1px solid #e3dff6;border-radius:.7rem;padding:.8rem .6rem;text-align:center}.report-summary span{display:block;font-size:.78rem;color:#6f6b82}.report-summary strong{display:block;font-size:1.4rem;color:#4a4287;font-weight:600;margin-top:.4rem}.report-summary small{font-size:.75rem}.report-filters .report-staff-filter{grid-column:1/-1}.report-branch-summary{margin:1rem 0 1.5rem}.report-branch-summary h2{font-size:1rem;font-weight:600;margin:0 0 .65rem;color:#34344e}.report-branch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.report-branch-grid article{min-width:0;padding:.8rem;border:1px solid #e3dff6;border-radius:.7rem;background:#faf9ff}.report-branch-grid article>strong{display:block;margin-bottom:.55rem;color:#4a4287}.report-branch-grid p{display:flex;justify-content:space-between;gap:.5rem;margin:.25rem 0;font-size:.82rem}.report-branch-grid p span{color:#6f6b82}.report-branch-grid p b{white-space:nowrap;font-weight:600}.report-branch-grid article>small{display:block;margin-top:.5rem;color:#737582;font-size:.72rem}.report-list{list-style:none;padding:0;margin:0;display:grid;gap:1rem}.report-entry{border:1px solid #e0e1ed;border-radius:.8rem;padding:1rem;overflow-wrap:anywhere}.report-entry-top{display:flex;justify-content:space-between;gap:.75rem;color:#3d3d58;margin-bottom:.65rem}.report-entry-top strong{font-weight:600}.report-entry p{font-size:.85rem;color:#6c6e79;margin:0 0 .4rem}.report-entry details{margin-top:.75rem;font-size:.9rem}.report-entry summary{color:#554ac5;cursor:pointer}.report-entry ul{list-style:none;padding:0;margin:.75rem 0 0;display:grid;gap:.75rem}.report-entry li{background:#f8f8fc;border-radius:.6rem;padding:.75rem}.report-entry li strong{font-weight:500}.report-entry li span{display:block;font-size:.8rem;color:#747581;margin-top:.3rem}.report-pagination{display:flex;justify-content:space-between;gap:1rem;margin-top:1.25rem}.report-empty{padding:1.5rem 0;text-align:center;color:#737582}@media(max-width:380px){.admin-report-body{padding:1rem}.report-filters{grid-template-columns:1fr}.report-summary{gap:.35rem}.report-summary>div{padding:.7rem .3rem}.report-summary strong{font-size:1.2rem}.report-branch-grid{grid-template-columns:1fr}}.premium-manual-location{margin-top:1rem;padding:1rem;border:1px solid #e1e2eb;border-radius:.75rem;text-align:left}.premium-manual-location p{font-size:.9rem;line-height:1.6}.premium-manual-location label{display:block;margin:.75rem 0 .35rem;font-weight:600}.premium-manual-location .form-select{min-height:44px}.premium-action-row{display:flex;gap:.65rem;margin-top:.65rem}.premium-action-row .btn{flex:1;min-height:44px}@media(max-width:480px){.premium-action-row{flex-direction:column}.premium-action-row .btn{width:100%}}.premium-invoice-preview{margin-top:1rem;width:100%;max-width:100%;box-sizing:border-box;overflow:hidden}.premium-invoice-list{display:grid;gap:.75rem;max-width:100%}.premium-invoice-list article{border:1px solid #57536e;border-radius:.75rem;padding:.75rem;background:#242338;width:100%;max-width:100%;box-sizing:border-box;overflow:hidden}.premium-invoice-list h3{font-size:1rem;margin:0 0 .35rem;color:#f3f0ff;overflow-wrap:anywhere}.premium-invoice-list p{font-size:.85rem;color:#c8c5d8;margin:0 0 .65rem;overflow-wrap:anywhere}.premium-invoice-table{margin:0;min-width:720px;font-size:.82rem}.premium-invoice-table th{background:#34324e;color:#fff;font-size:.78rem;white-space:nowrap}.premium-invoice-table td{background:#242338;color:#f3f0ff;border-color:#57536e;vertical-align:middle;overflow-wrap:anywhere;line-height:1.45}.premium-invoice-image{display:block;width:60px;height:60px;object-fit:contain;background:#fff;border-radius:6px}.premium-invoice-preview{color:var(--crm-text,#252a32)}.premium-invoice-list article{background:var(--crm-surface,#fff);border-color:var(--crm-border,#dedfec)}.premium-invoice-list h3{color:var(--crm-heading,#252a32)}.premium-invoice-list p{color:var(--crm-muted,#686b77)}.premium-invoice-summary>div{color:var(--crm-muted,#686b77)}.premium-invoice-details summary{background:var(--crm-tint,#f4f0ff);color:var(--crm-heading,#514184)}.premium-invoice-table th{background:var(--crm-tint,#f4f0ff);color:var(--crm-heading,#514184)}.premium-invoice-table td{background:var(--crm-surface,#fff);color:var(--crm-text,#252a32);border-color:var(--crm-border,#e3dfef)}html[data-theme=dark] .premium-invoice-list article{background:var(--crm-surface,#242338);border-color:var(--crm-border,#57536e)}html[data-theme=dark] .premium-invoice-table td{background:var(--crm-surface,#242338);color:var(--crm-text,#f3f0ff);border-color:var(--crm-border,#57536e)}.premium-invoice-summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}.premium-invoice-summary h2{margin:0}.premium-invoice-summary>div{color:#c8c5d8;font-size:.9rem}.premium-invoice-details{margin-top:.75rem}.premium-invoice-details summary{display:inline-block;cursor:pointer;padding:.6rem .8rem;margin-bottom:.65rem;border-radius:.6rem;background:#34324e;color:#c8b9ff;font-weight:600}.premium-invoice-details .table-responsive{padding-top:.15rem}.premium-invoice-table{border-spacing:0}.premium-invoice-table th{padding:.55rem .6rem;line-height:1.35}.premium-invoice-table td{padding:.6rem}.premium-scope-badge{display:inline-block;margin:.1rem .2rem .1rem 0;padding:.25rem .45rem;border-radius:999px;background:#34324e;color:#c8b9ff;font-size:.75rem;font-weight:600}.premium-product-code{white-space:nowrap;word-break:normal;overflow-wrap:normal}.premium-audit-results{margin-top:1rem;max-width:100%;overflow:hidden}.premium-audit-results-heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin-bottom:.75rem}.premium-audit-results-heading h2{margin:0}.premium-audit-results-heading span{color:#c8c5d8;font-size:.85rem}.premium-audit-results-table{min-width:1280px;font-size:.8rem}.premium-audit-results-table th{white-space:nowrap;background:#34324e;color:#fff;padding:.55rem .6rem}.premium-audit-results-table td{background:#242338;color:#f3f0ff;border-color:#57536e;vertical-align:middle;padding:.6rem;line-height:1.4}.premium-audit-results-table td strong,.premium-audit-results-table td small{display:block}.premium-audit-results-table td small{color:#c8c5d8;margin-top:.2rem}.premium-audit-result-image{display:block;width:78px;height:78px;object-fit:contain;background:#fff;border-radius:8px}.premium-audit-status{display:inline-flex;align-items:center;justify-content:center;padding:0;background:transparent;font-weight:700;white-space:nowrap}.premium-audit-status i{display:block;font-style:normal;font-size:1.65rem;line-height:1;filter:none}.premium-audit-status.is-pass,.premium-audit-status.is-fail,.premium-audit-status.is-superseded{background:transparent}.premium-audit-results{background:var(--crm-surface,#fff);border-color:var(--crm-border,#dedfec);color:var(--crm-text,#252a32)}.premium-audit-results-heading span{color:var(--crm-muted,#777687)}.premium-audit-results-table th{background:var(--crm-tint,#f4f0ff);color:var(--crm-heading,#514184)}.premium-audit-results-table td{background:var(--crm-surface,#fff);color:var(--crm-text,#252a32);border-color:var(--crm-border,#e3dfef)}.premium-audit-results-table td small{color:var(--crm-muted,#777687)}html[data-theme=dark] .premium-audit-results{background:var(--crm-surface,#242338);border-color:var(--crm-border,#57536e);color:var(--crm-text,#f3f0ff)}html[data-theme=dark] .premium-audit-results-table th{background:var(--crm-tint,#34324e);color:var(--crm-text,#fff)}html[data-theme=dark] .premium-audit-results-table td{background:var(--crm-surface,#242338);color:var(--crm-text,#f3f0ff);border-color:var(--crm-border,#57536e)}html[data-theme=dark] .premium-audit-results-table td small{color:var(--crm-muted,#c8c5d8)}.premium-invoice-list h3{color:#2459c4}.premium-invoice-list p{color:#69738a}.premium-invoice-summary>div{color:#69738a}.premium-invoice-details summary{background:#eef2ff;color:#4054b5}.premium-invoice-table th{background:#eef3ff;color:#4054b5}.premium-invoice-table td{color:#27365b}.premium-invoice-table td small{color:#69738a}html[data-theme=dark] .premium-invoice-list h3{color:var(--crm-text,#f3f0ff)}html[data-theme=dark] .premium-invoice-list p,html[data-theme=dark] .premium-invoice-summary>div{color:var(--crm-muted,#c8c5d8)}html[data-theme=dark] .premium-invoice-details summary{background:var(--crm-tint,#34324e);color:#c8b9ff}html[data-theme=dark] .premium-invoice-table th{background:var(--crm-tint,#34324e);color:var(--crm-text,#fff)}html[data-theme=dark] .premium-invoice-table td{color:var(--crm-text,#f3f0ff)}.premium-preview-image{display:block;width:min(280px,100%);height:200px;object-fit:contain;background:#fff;border-radius:8px;margin:0 auto .75rem}.admin-preview li{display:flex;flex-direction:column;align-items:flex-start}@media(max-width:480px){.premium-preview-image{width:100%;max-width:280px;height:200px}}.crm-home .member-menu-icon-badge{position:relative;display:inline-flex;align-items:center;justify-content:center;line-height:1;font-size:30px}.crm-home .member-menu-grid .menu-tile>.member-menu-icon-badge{color:inherit}.crm-home .member-menu-icon-badge>i{font-size:30px}.crm-home .member-menu-count-badge{position:absolute;top:-.72rem;right:-.9rem;z-index:1;display:inline-flex;min-width:1.15rem;height:1.15rem;align-items:center;justify-content:center;padding:0 .2rem;border:1px solid #dc3545;border-radius:999px;background:#fff;color:#dc3545!important;font-size:.65rem!important;font-weight:700;line-height:1;white-space:nowrap}.contribution-heatmap{margin:1rem 0 1.5rem;padding:1rem;border:1px solid #e3dff6;border-radius:.85rem;background:#fff}.heatmap-heading h2{margin:0;font-size:1rem;font-weight:600;color:#34344e}.heatmap-heading p{margin:.25rem 0 .8rem;color:#737582;font-size:.8rem}.heatmap-branches{display:flex;gap:.45rem;overflow-x:auto;padding:0 0 .6rem}.heatmap-branches button{flex:1;min-width:max-content;padding:.45rem .7rem;border:1px solid #e3dff6;border-radius:.55rem;background:#fff;color:#554ac5;font-size:.82rem}.heatmap-branches button.is-active{background:#f1efff;border-color:#aaa2e7;font-weight:600}.heatmap-total{display:flex;justify-content:space-between;gap:.75rem;margin:.3rem 0 .7rem;padding:.65rem .75rem;border-radius:.55rem;background:#f5f2ff;color:#4a4287;font-size:.85rem}.heatmap-total span{font-weight:600}.heatmap-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem}.heatmap-month{min-width:0;padding:.6rem .5rem;border:1px solid #e8e5f2;border-radius:.6rem;background:#faf9ff}.heatmap-month h3{margin:0 0 .55rem;color:#45415d;font-size:.8rem;font-weight:600}.heatmap-calendar{display:flex;gap:.35rem}.heatmap-weekdays{display:grid;grid-template-rows:repeat(7,12px);gap:3px;width:16px;flex:0 0 16px;color:#858494;font-size:.55rem;text-align:center;line-height:12px}.heatmap-cells{display:grid;grid-template-columns:repeat(6,minmax(10px,1fr));grid-template-rows:repeat(7,12px);gap:3px;flex:1}.heatmap-cell{width:12px;height:12px;min-width:0;padding:0;border:1px solid transparent;border-radius:3px;background:#eeeef3}.heatmap-cells .heatmap-cell{width:100%;height:12px;cursor:pointer}.heatmap-cell:disabled{cursor:default;opacity:.35}.heatmap-level-1{background:#ddd9f4}.heatmap-level-2{background:#bcb5ed}.heatmap-level-3{background:#8c81e0}.heatmap-level-4{background:#554ac5}.heatmap-cell.is-selected{outline:2px solid #34344e;outline-offset:1px}.heatmap-legend{display:flex;align-items:center;justify-content:flex-end;gap:.3rem;margin:.75rem 0;color:#737582;font-size:.68rem}.heatmap-legend .heatmap-cell{flex:0 0 12px}.heatmap-filter-note{margin:.35rem 0 0;color:#777687;font-size:.72rem}.heatmap-day-detail{margin-top:.85rem;padding:.8rem;border:1px solid #e3dff6;border-radius:.65rem;background:#fbfaff}.heatmap-day-heading{display:flex;justify-content:space-between;gap:.5rem;align-items:center}.heatmap-day-heading h3{margin:0;font-size:.9rem}.heatmap-day-heading strong{color:#4a4287;font-size:.8rem}.heatmap-day-detail ul{list-style:none;padding:0;margin:.6rem 0 0}.heatmap-day-detail li{display:flex;justify-content:space-between;gap:.7rem;padding:.55rem 0;border-top:1px solid #e8e5f2;font-size:.82rem}.heatmap-day-detail li small{display:block;margin-top:.15rem;color:#777687;font-size:.7rem}.heatmap-day-detail li>strong{white-space:nowrap;color:#4a4287}@media(max-width:560px){.heatmap-months{grid-template-columns:1fr}.heatmap-month{padding:.7rem}.heatmap-cells{grid-template-columns:repeat(6,14px)}.heatmap-cells .heatmap-cell{height:14px}.heatmap-weekdays{grid-template-rows:repeat(7,14px);line-height:14px}.heatmap-total{font-size:.8rem}}.report-branch-list{display:grid;gap:.45rem}.report-branch-list article{display:grid;grid-template-columns:minmax(5rem,1fr) auto;align-items:center;gap:.2rem .75rem;padding:.65rem .75rem;border:1px solid #e3dff6;border-radius:.65rem;background:#faf9ff}.report-branch-list article>strong{color:#4a4287}.report-branch-metrics{display:flex;gap:1rem;font-size:.82rem}.report-branch-metrics span{display:flex;gap:.3rem;color:#6f6b82}.report-branch-metrics b{color:#292832;white-space:nowrap}.report-branch-list article>small{grid-column:1/-1;color:#737582;font-size:.72rem}.heatmap-months{grid-template-columns:1fr;gap:.65rem}.heatmap-month{padding:.65rem}.heatmap-month h3{margin-bottom:.5rem}.heatmap-weekdays,.heatmap-cells{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;width:auto}.heatmap-weekdays{margin-bottom:4px;color:#777687;font-size:.7rem}.heatmap-cells{grid-auto-rows:minmax(42px,auto)}.heatmap-cell{width:100%;height:100%;min-height:42px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1px solid #e7e5ef;border-radius:.45rem;color:#39364f}.heatmap-cell-empty{visibility:hidden}.heatmap-cells .heatmap-cell{height:auto;cursor:pointer}.heatmap-cell strong{font-size:.78rem;line-height:1}.heatmap-cell small{font-size:.66rem;font-weight:650;line-height:1}.heatmap-level-1,.heatmap-level-2,.heatmap-level-3,.heatmap-level-4{border-color:transparent}.heatmap-level-4{color:#fff}.heatmap-cell:disabled{opacity:.42}.heatmap-legend{justify-content:flex-start;flex-wrap:wrap}.heatmap-legend small{flex-basis:100%;margin-top:.2rem}.heatmap-filter-note{margin-top:.5rem}@media(max-width:380px){.report-branch-list article{grid-template-columns:1fr;gap:.35rem}.report-branch-metrics{justify-content:space-between}.heatmap-cells{gap:3px;grid-auto-rows:minmax(38px,auto)}.heatmap-cell{min-height:38px}.heatmap-cell strong{font-size:.74rem}.heatmap-cell small{font-size:.62rem}}.heatmap-cells{grid-template-rows:none;grid-auto-rows:minmax(42px,auto)}.heatmap-cell.is-out-of-range{opacity:.25;background:transparent;border-color:transparent;color:#898795}.heatmap-cell-empty{background:transparent;border-color:transparent}.heatmap-scroll{overflow-x:auto;padding:0 0 .4rem}.heatmap-board{width:100%;min-width:100%;padding:.4rem 0}.heatmap-month-row{display:grid;gap:4px;margin:0 0 .4rem;color:#555264;font-size:.72rem;font-weight:600;line-height:1.2}.heatmap-month-row>span:not(:first-child){white-space:nowrap}.heatmap-graph{display:flex;align-items:flex-start;gap:4px}.heatmap-graph .heatmap-weekdays{display:grid;grid-template-columns:30px;grid-template-rows:repeat(7,14px);gap:3px;flex:0 0 30px;width:30px;color:#777687;font-size:.62rem;text-align:left;line-height:14px}.heatmap-graph .heatmap-cells{display:grid;grid-auto-rows:14px;gap:3px;flex:1;width:100%;grid-template-rows:repeat(7,14px)}.heatmap-graph .heatmap-cell{display:block;place-self:center;width:14px;height:14px;min-height:14px;padding:0;border-radius:3px;cursor:pointer}.heatmap-graph .heatmap-cell-empty{cursor:default}.heatmap-graph .heatmap-cell:disabled{cursor:default}.heatmap-graph .heatmap-cell.is-selected{outline:2px solid #34344e;outline-offset:1px}.heatmap-legend .heatmap-cell{min-width:14px;width:14px;height:14px;min-height:14px;display:block;padding:0}.heatmap-board{display:inline-block;width:max-content;min-width:0}.heatmap-month-row{gap:3px}.heatmap-graph .heatmap-weekdays{grid-template-rows:repeat(7,16px);line-height:16px}.heatmap-graph .heatmap-cells{flex:0 0 auto;width:max-content;grid-auto-rows:16px;grid-template-rows:repeat(7,16px)}.heatmap-graph .heatmap-cell{width:16px;height:16px;min-height:16px;border:1px solid #dedce8;border-radius:4px;background:#f0eff5}.heatmap-graph .heatmap-cell.heatmap-level-1{background:#d8d2f1;border-color:#c9c1ec}.heatmap-graph .heatmap-cell.heatmap-level-2{background:#b5aae8;border-color:#a99cde}.heatmap-graph .heatmap-cell.heatmap-level-3{background:#8a7cda;border-color:#7c6dcc}.heatmap-graph .heatmap-cell.heatmap-level-4{background:#5543bd;border-color:#5543bd}.heatmap-graph .heatmap-cell-empty{background:transparent;border-color:transparent}.heatmap-legend .heatmap-cell{width:15px;height:15px;min-height:15px;border:1px solid #dedce8}.report-pivot-wrap{overflow-x:auto;border:1px solid #e3dff6;border-radius:.65rem}.report-pivot{width:100%;border-collapse:collapse;font-size:.88rem}.report-pivot th,.report-pivot td{padding:.7rem .8rem;border-bottom:1px solid #e8e5f2}.report-pivot th{text-align:left;font-weight:600;color:#4a4287}.report-pivot td,.report-pivot thead th:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}.report-pivot thead,.report-pivot tfoot{background:#f4f2ff}.report-pivot tbody tr:nth-child(2n){background:#faf9ff}.report-pivot tfoot td{font-weight:600;color:#4a4287}.report-pivot tfoot th,.report-pivot tfoot td{border-bottom:0}.ch-scroll{overflow-x:auto;padding:12px 0 6px}.ch-board{display:inline-block;width:max-content}.ch-months{display:grid;gap:3px;margin-bottom:8px;font-size:11px;color:#655f76;line-height:16px}.ch-months span{white-space:nowrap}.ch-graph{display:flex;align-items:flex-start;gap:3px}.ch-weekdays{display:grid;grid-template-columns:30px;grid-template-rows:repeat(7,16px);gap:3px;width:30px;font-size:11px;line-height:16px;color:#655f76}.ch-days{display:grid;gap:3px;width:max-content;align-content:start}.ch-cell{display:block;box-sizing:border-box;width:16px;height:16px;min-width:16px;min-height:16px;margin:0;padding:0;border:1px solid #dedbe8;border-radius:3px;background:#e7e5ef;box-shadow:none;appearance:none;cursor:pointer}.ch-level-1{background:#d3caf0;border-color:#c7bce8}.ch-level-2{background:#ad99e1;border-color:#a08bd4}.ch-level-3{background:#8462d0;border-color:#7957c4}.ch-level-4{background:#5b35b5;border-color:#5b35b5}.ch-empty{visibility:hidden;pointer-events:none}.ch-cell.is-selected{outline:2px solid #34344e;outline-offset:1px}.ch-cell:focus-visible{outline:2px solid #34344e;outline-offset:2px}.ch-cell:disabled{cursor:default;opacity:.55}.ch-legend{display:flex;align-items:center;gap:4px;margin:10px 0;color:#777184;font-size:11px}.ch-legend .ch-cell{cursor:default}.ch-branch-heading{font-size:1rem;font-weight:600;color:#39354f;margin:1.5rem 0 .7rem}.ch-branch-cards>.contribution-heatmap{margin:.75rem 0 1rem}.ch-branch-cards>.contribution-heatmap:not(:first-child){background:linear-gradient(135deg,#fff 35%,#f8f5ff);border-color:#ded5f1}.ch-branch-cards .heatmap-heading h2{line-height:1.5}.report-pivot-aligned{table-layout:fixed;min-width:420px}.report-pivot-aligned th,.report-pivot-aligned td{overflow-wrap:anywhere}.report-pivot-aligned tbody td:nth-child(2),.report-pivot-aligned thead th:nth-child(2){text-align:left}.report-pivot-aligned td:nth-last-child(-n+2){white-space:nowrap}.customer-insight-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.customer-insight-summary>div{text-align:left;min-width:0}.customer-insight-summary>div:last-child>small{display:block;margin-top:.35rem;color:#777687;font-size:.7rem}.customer-insight-panel{min-width:0;margin:1rem 0;padding:1rem;border:1px solid #e3dff6;border-radius:.85rem;background:#fff}.customer-insight-panel h2{margin:0 0 .65rem;color:#39354f;font-size:1rem;font-weight:650}.customer-insight-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.customer-insight-charts .customer-insight-panel{margin:.5rem 0}.customer-bar-list{display:grid;gap:.65rem}.customer-bar-row{display:grid;grid-template-columns:minmax(92px,28%) minmax(40px,1fr) 48px;gap:.55rem;align-items:center;font-size:.78rem}.customer-bar-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-bar-row>strong{text-align:right;font-variant-numeric:tabular-nums}.customer-bar-track{height:12px;overflow:hidden;border-radius:99px;background:#f0edf7}.customer-bar-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#a694e8,#5b35b5)}.customer-insight-table{width:100%;min-width:680px;table-layout:auto;border-collapse:collapse;font-size:.82rem}.customer-insight-table th,.customer-insight-table td{padding:.7rem .65rem;border-bottom:1px solid #e8e5f2;vertical-align:middle;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.customer-insight-table thead{background:#f4f0ff;color:#514184}.customer-insight-table th:first-child,.customer-insight-table td:first-child{text-align:left}.customer-insight-table tbody tr:nth-child(2n){background:#faf9ff}.customer-insight-table tbody th{font-weight:600}.customer-sales-scroll{overflow-x:auto}.customer-sales-chart{display:flex;align-items:flex-end;gap:.5rem;min-height:190px;width:max-content;min-width:100%;padding:.75rem .25rem .3rem;border-bottom:1px solid #ded9eb}.customer-sales-column{display:flex;flex:0 0 46px;height:172px;flex-direction:column;justify-content:flex-end;align-items:center;gap:.35rem}.customer-sales-column strong{font-size:.62rem;color:#645b7d;white-space:nowrap;font-weight:600}.customer-sales-column i{display:block;width:24px;min-height:2px;max-height:132px;border-radius:5px 5px 0 0;background:linear-gradient(180deg,#9a85e4,#5b35b5)}.customer-sales-column span{font-size:.68rem;color:#777687;white-space:nowrap}.customer-insight-selected-day{margin:.6rem 0 0;color:#514184;font-size:.82rem;font-weight:600}.customer-insights .customer-signup-heatmap{margin-top:1rem}@media(max-width:600px){.customer-insight-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-tabs a:last-child:nth-child(odd){flex-basis:100%}.customer-insight-charts{grid-template-columns:1fr}.customer-insight-panel{padding:.8rem}.customer-bar-row{grid-template-columns:minmax(82px,30%) minmax(36px,1fr) 42px;gap:.4rem;font-size:.74rem}.customer-insight-summary>div strong{font-size:1.12rem}.customer-sales-column{flex-basis:42px}}.report-pivot-aligned tbody td{text-align:left}.report-pivot-aligned tbody td:nth-last-child(-n+2){text-align:right}.report-pivot-aligned th[scope=rowgroup]{vertical-align:top}.access-location-consent{margin:1rem;padding:1rem;text-align:left;border:1px solid #ded5f1;border-radius:.8rem;background:#faf8ff}.access-location-consent h2{font-size:1rem;margin:0 0 .5rem;color:#39354f}.access-location-consent p{font-size:.85rem;line-height:1.7;margin:0 0 .75rem;color:#666174}.access-location-consent>div{display:flex;flex-wrap:wrap;gap:.5rem}.access-location-consent .btn{min-height:44px;font-size:.85rem}.access-location-consent small{display:block;margin-top:.6rem;color:#666174}.access-location-consent .access-location-error{color:#8a3b30}.access-location-consent>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.access-location-consent>div>.btn{width:100%;min-width:0;min-height:44px;height:100%;display:flex;align-items:center;justify-content:center;text-align:center;white-space:normal}.admin-tabs a{display:flex;align-items:center;justify-content:center;min-height:44px}.access-report .report-filters select{min-height:42px}.access-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.access-history-table{width:100%;min-width:960px;table-layout:fixed;border-collapse:collapse;font-size:.85rem}.access-history-table th,.access-history-table td{text-align:left;padding:.8rem .7rem;vertical-align:top;border-bottom:1px solid #e8e5f2;overflow-wrap:anywhere}.access-history-table thead{background:#f4f0ff;color:#514184}.access-history-table tbody tr:nth-child(2n){background:#faf9ff}.access-history-table small{display:block;margin-top:.3rem;color:#777086;font-size:.74rem}.access-history-table td>strong{font-weight:600}.access-event-badge{display:inline-block;border-radius:.4rem;padding:.25rem .45rem;font-size:.78rem;font-weight:600}.access-event-login_success{background:#edf8f0;color:#37734b}.access-event-login_failed{background:#fee;color:#9b423d}.access-event-logout{background:#efedf3;color:#777080}.access-position-button{min-height:36px;font-size:.8rem;width:100%}.access-location-status{color:#777086}.access-report .report-pagination{align-items:center;font-size:.85rem}.access-position-panel{margin-top:1.25rem;padding:1rem;border:1px solid #ded5f1;border-radius:.8rem;background:#f8f5ff;text-align:left}.access-position-heading{display:flex;gap:.75rem;justify-content:space-between;align-items:flex-start;margin-bottom:.65rem}.access-position-heading h2{font-size:1rem;line-height:1.6;margin:0;overflow-wrap:anywhere}.access-position-heading .btn{min-height:36px;flex-shrink:0}.access-position-panel p{font-size:.85rem;line-height:1.6;color:#777086;margin:0 0 .6rem}.access-position-panel>a{min-height:44px}@media(max-width:560px){.access-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-tabs a{font-size:.8rem}.access-position-heading{gap:.4rem}}.staff-pivot .staff-branch-summary th,.staff-pivot .staff-branch-summary td{padding-top:0;padding-bottom:0;height:48px;vertical-align:middle}.staff-branch-toggle{display:flex;align-items:center;gap:.35rem;width:100%;min-height:48px;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:600;text-align:left;cursor:pointer}.staff-branch-toggle:focus-visible{outline:2px solid #9581d3;outline-offset:2px;border-radius:4px}.staff-pivot tbody[hidden]{display:none}.product-pivot{min-width:800px;table-layout:auto}.product-pivot th,.product-pivot td{min-width:64px;text-align:right}.product-pivot thead th[colspan]{text-align:center;border-left:1px solid #e5dff5}.product-pivot thead tr:first-child th:first-child,.product-pivot tbody th,.product-pivot tfoot th{position:sticky;left:0;z-index:1;min-width:170px;max-width:240px;text-align:left;background:#fff}.product-pivot tbody tr:nth-child(2n) th{background:#faf9ff}.product-pivot thead tr:first-child th:first-child,.product-pivot tfoot th{background:#f4f2ff;z-index:2}.product-pivot-total{font-weight:600}html[data-theme=dark] .product-pivot tbody th{background:var(--crm-surface)}html[data-theme=dark] .product-pivot tbody tr:nth-child(2n) th{background:var(--crm-raised)}html[data-theme=dark] .product-pivot thead tr:first-child th:first-child,html[data-theme=dark] .product-pivot tfoot th{background:var(--crm-tint)}.report-pivot.product-pivot{table-layout:fixed;min-width:800px}.product-pivot tbody th{overflow-wrap:anywhere}.product-report-heading{display:flex;align-items:center;gap:.75rem;margin:0 0 .65rem}.report-branch-summary .product-report-heading h2{margin:0}.product-report-heading .btn{flex:none}@media(max-width:380px){.product-report-heading{gap:.45rem}.product-report-heading .btn{padding:.3rem .5rem;font-size:.85rem}}.access-map-section{margin:1.5rem 0 0}.access-map-section h2{font-size:1rem;font-weight:600}.access-map{height:400px;width:100%;border:2px solid #b2a5ff;border-radius:16px;isolation:isolate;z-index:0}.access-map .leaflet-popup-content{font-family:inherit;line-height:1.8;color:#222}.access-map .leaflet-control-attribution{color:#333;background:#fffd}.access-map .leaflet-control-attribution a{color:#00659e}.access-map .leaflet-container{font-family:inherit}@media(max-width:480px){.access-map{height:340px}}.home-promotions{margin:1.5rem 0;text-align:left}.promotion-heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.75rem}.crm-home .promotion-heading .menu-heading{margin:0}.promotion-heading>a{font-size:.8rem;color:#5944be;white-space:nowrap}.promotion-pages{overflow:hidden;touch-action:pan-y;--promotion-gap:.65rem}.promotion-track{display:flex;gap:var(--promotion-gap);will-change:transform}.promotion-track>.promotion-card{flex:0 0 calc((100% - 2*var(--promotion-gap))/3);box-sizing:border-box}.promotion-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.promotion-page[hidden]{display:none}.promotion-card{border:1px solid #e3dff6;border-radius:14px;overflow:hidden;background:#fff;min-width:0}.promotion-card>a{display:flex;flex-direction:column;color:inherit;text-decoration:none;height:100%}.promotion-image{background:#fff;display:flex;justify-content:center;align-items:center;height:130px;padding:8px}.promotion-image img{height:100%;width:100%;object-fit:contain}.promotion-details{padding:.7rem;display:flex;flex-direction:column;flex:1;gap:.6rem}.promotion-details h3{font-size:.8rem;line-height:1.5;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.4rem;color:#34344e}.promotion-prices{display:flex;flex-direction:column;gap:.25rem;margin-top:auto}.promotion-prices del{font-size:.7rem;color:#767286}.promotion-prices strong{font-size:1rem;color:#5141b8}.promotion-view{font-size:.78rem;color:#5944be;font-weight:600}.promotion-controls{display:flex;justify-content:center;align-items:center;gap:.65rem;margin-top:.65rem}.promotion-controls>button{border:1px solid #ded8f3;background:#fff;border-radius:8px;min-width:36px;min-height:36px;color:#5944be;font-size:1.2rem}.promotion-dots{display:flex;gap:.4rem}.promotion-dots button{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:#dcd5ef}.promotion-dots button.active{background:#6650cd}.promotion-status{font-size:.85rem;color:#757085;background:#f6f4fc;border-radius:12px;padding:1rem}.promotion-card a:focus-visible,.promotion-controls button:focus-visible{outline:2px solid #8365dc;outline-offset:-3px}@media(max-width:480px){.promotion-pages{--promotion-gap:.4rem}.promotion-image{height:90px;padding:5px}.promotion-details{padding:.5rem;gap:.45rem}.promotion-details h3{font-size:.68rem;min-height:2.1rem;-webkit-line-clamp:3}.promotion-prices del{font-size:.6rem}.promotion-prices strong{font-size:.75rem}.promotion-view{font-size:.67rem}}.promotion-preview-form{display:flex;gap:.6rem;align-items:flex-end;flex-wrap:wrap;margin-bottom:.65rem}.promotion-preview-form>div{flex:1;min-width:180px}.promotion-preview-form label{display:block;font-size:.9rem;margin-bottom:.4rem}.promotion-preview-source{padding:1rem;border:1px solid #ddd6f4;background:#f5f2ff;border-radius:12px;margin:1rem 0}.promotion-preview-source p{margin:.5rem 0 0;font-size:.9rem}.promotion-preview-source small{display:block;margin-top:.5rem}.promotion-preview-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.promotion-preview-stats>div{padding:.8rem;border:1px solid #e4def5;border-radius:10px}.promotion-preview-stats span{display:block;font-size:.8rem}.promotion-preview-stats strong{display:block;font-size:1.2rem;margin-top:.35rem}.promotion-preview-stats small{font-size:.75rem}.promotion-preview-profile{margin:1rem 0 1.5rem;font-size:.85rem}.promotion-preview-profile>div{padding:.65rem 0;border-bottom:1px solid #e4def5}.promotion-preview-profile dt{font-weight:600}.promotion-preview-profile dd{margin:.3rem 0 0;overflow-wrap:anywhere}.promotion-preview-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.promotion-preview-products article{border:1px solid #ddd6f4;border-radius:12px;overflow:hidden;min-width:0}.promotion-preview-products article>img{width:100%;height:140px;object-fit:contain;background:#fff;padding:10px}.promotion-preview-products article>div{padding:.8rem}.promotion-preview-products h3{font-size:.9rem;line-height:1.6;overflow-wrap:anywhere;margin:0 0 .4rem}.promotion-preview-products article small,.promotion-preview-products del,.promotion-preview-products strong{display:block}.promotion-preview-products small,.promotion-preview-products del{font-size:.75rem;color:#787286;margin:.3rem 0}.promotion-preview-products strong{color:#5944b6}.promotion-preview-products ul{padding-left:1rem;margin:.7rem 0;font-size:.78rem}.promotion-preview-products li{margin:.35rem 0}.promotion-preview-products a{font-size:.8rem}@media(max-width:600px){.admin-tabs a{flex:1 1 calc(50% - .5rem)}}@media(max-width:380px){.promotion-preview-products{grid-template-columns:1fr}}.premium-product-image{display:block;width:min(280px,100%);max-width:100%;height:200px;object-fit:contain;margin:1.5rem auto;background:#fff;border-radius:8px;padding:0;box-sizing:border-box}.premium-product-image[hidden]{display:none}.line-login-choice{margin:1rem 0}.line-login-button{background:#06c755;color:#fff;border:1px solid #06a947;font-weight:600}.line-login-button:hover,.line-login-button:focus{background:#049d43;color:#fff}.line-login-choice p{font-size:.85rem;color:#686776;margin:.8rem 0}.line-link-notice{padding:.8rem;border:1px solid #06c755;border-radius:8px}.line-account{max-width:520px;margin:1rem auto;padding:1rem;background:var(--crm-surface,#fff);border:1px solid var(--crm-border,#ddd);border-radius:10px;text-align:center}.line-account p{margin:0 0 .6rem}.line-account small{display:block}.premium-received{margin-top:1.6rem;padding-top:1.3rem;border-top:1px solid var(--crm-border,#e9e7f3)}.premium-received-heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin-bottom:.65rem}.premium-received-heading h2{font-size:1.05rem;font-weight:600;margin:0}.premium-received-filters{display:flex;gap:.4rem;flex-wrap:wrap}.premium-received-filters .btn{font-size:.85rem;min-height:40px}.premium-received-list{list-style:none;margin:1rem 0;padding:0;display:grid;gap:.85rem}.premium-received-item{display:flex;gap:1rem;border:1px solid var(--crm-border,#e3dfef);border-radius:12px;padding:1rem;background:var(--crm-surface,#fff)}.premium-received-image{width:96px;height:96px;object-fit:contain;background:#fff;flex-shrink:0;border-radius:6px}.premium-received-detail{flex:1;min-width:0;text-align:left}.premium-received-detail h3{font-size:1rem;line-height:1.6;margin:.4rem 0}.premium-received-detail p{font-size:.8rem;color:var(--crm-muted,#777086);margin:0 0 .6rem;overflow-wrap:anywhere}.premium-received-badge{display:inline-block;color:#287147;background:#edf8f0;border-radius:6px;padding:.2rem .5rem;font-size:.8rem}.premium-received-detail dl{margin:0;font-size:.85rem}.premium-received-detail dl>div{display:grid;grid-template-columns:7rem minmax(0,1fr);gap:.5rem;margin:.35rem 0}.premium-received-detail dt{font-weight:400;color:var(--crm-muted,#777086)}.premium-received-detail dd{margin:0;overflow-wrap:anywhere}.premium-received-quantity{font-weight:600}.premium-received-pages{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin-top:1rem}.premium-last-claim{margin:1rem 0;padding:1rem;border:1px solid var(--crm-border,#bcdcc7);border-radius:12px;background:var(--crm-surface,#f3faf6)}.premium-last-claim ul{list-style:none;padding:0;margin:.75rem 0}.premium-last-claim li{padding:.6rem 0;border-bottom:1px solid var(--crm-border,#dcebe1)}.premium-last-claim li>*{display:block;overflow-wrap:anywhere}.premium-last-claim p{font-size:.85rem;margin:.4rem 0}.premium-last-claim small{color:var(--crm-muted,#686776)}@media(max-width:480px){.premium-received-item{gap:.65rem;padding:.8rem}.premium-received-image{width:64px;height:64px}.premium-received-detail dl>div{grid-template-columns:5.5rem minmax(0,1fr);gap:.3rem}.premium-received-detail h3{font-size:.9rem}}.interaction-filters{display:flex;gap:.75rem;flex-wrap:wrap;align-items:end;margin:1rem 0}.interaction-filters label{display:flex;flex-direction:column;gap:.35rem;flex:1;min-width:140px}.interaction-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem;margin:1rem 0}.interaction-stats strong{font-size:1.4rem}.interaction-table-scroll{overflow-x:auto}.interaction-report-table{table-layout:fixed;min-width:780px;width:100%;text-align:left}.interaction-report-table th:nth-child(n+4),.interaction-report-table td:nth-child(n+4){text-align:right}.interaction-report-table td{overflow-wrap:anywhere}@media(max-width:600px){.interaction-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}.admin-tabs.admin-main-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.admin-main-tabs a{min-width:0}@media(max-width:600px){.admin-tabs.admin-main-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}.interest-subtabs{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}.interest-preview-toggle input{margin-right:.4rem}.ai-audit-report th:nth-child(n),.ai-audit-report td:nth-child(n){text-align:left}.ai-audit-report th:last-child,.ai-audit-report td:last-child{text-align:right}.ai-audit-report .ai-audit-detail{text-align:left}.ai-audit-detail{padding:.6rem}.ai-audit-detail li{padding:.3rem 0;overflow-wrap:anywhere}.ai-audit-report{min-width:1200px}.interest-customer-table{min-width:1080px}.interest-customer-table th:nth-child(n),.interest-customer-table td:nth-child(n){text-align:left}.interest-customer-table th:nth-child(n+2):nth-child(-n+5),.interest-customer-table td:nth-child(n+2):nth-child(-n+5){text-align:right}.interest-customer-detail{padding:.75rem;text-align:left}.interest-product-table{width:100%;table-layout:fixed}.interest-product-table th:nth-child(2),.interest-product-table th:nth-child(3),.interest-product-table td:nth-child(2),.interest-product-table td:nth-child(3){text-align:right}.ai-log-entry{padding:.8rem 0;border-bottom:1px solid var(--crm-border,#ddd)}.interest-customer-table .interest-product-table td:nth-child(4),.interest-customer-table .interest-product-table th:nth-child(4){text-align:left}.signup-chart-scroll{overflow-x:auto;padding:.5rem .25rem}.signup-chart-bars{display:flex;gap:.5rem;width:max-content;min-width:100%;align-items:flex-end;border-bottom:1px solid var(--crm-border,#ddd)}.signup-period{flex:0 0 70px;width:70px;padding:.4rem .2rem;border:0;border-radius:.4rem;background:transparent;color:inherit;display:flex;flex-direction:column;gap:.45rem;text-align:center;font-size:.85rem}.signup-period strong{font-variant-numeric:tabular-nums}.signup-bar-area{height:160px;width:100%;display:flex;align-items:flex-end;justify-content:center}.signup-bar-area i{display:block;width:70%;background:var(--crm-accent,#6358e7);border-radius:5px 5px 0 0}.signup-period[aria-pressed=true],.signup-period:focus-visible{outline:2px solid #8a7df5;outline-offset:-2px}.signup-chart-total strong{font-size:1.4rem}.signup-trend figure{margin:0}.signup-trend figcaption{margin-top:.8rem}.signup-branch-detail{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--crm-border,#ddd)}.signup-branch-detail tfoot{font-weight:700;border-top:1px solid var(--crm-border,#ddd)}.signup-branch-detail{min-width:0;max-width:100%}.signup-branch-detail .customer-insight-table{width:100%;min-width:0;max-width:100%;table-layout:fixed;font-size:.78rem}.signup-branch-detail .customer-insight-table th,.signup-branch-detail .customer-insight-table td{padding:.45rem .3rem;white-space:normal;overflow-wrap:anywhere}.signup-branch-detail .customer-insight-table td:last-child,.signup-branch-detail .customer-insight-table thead th:last-child{white-space:nowrap;text-align:right}@media(max-width:600px){.signup-branch-detail .customer-insight-table{font-size:.74rem}}.sales-month-button{border:0;padding:0;background:transparent;color:inherit;border-radius:.35rem;cursor:pointer;text-align:center}.sales-month-button[aria-pressed=true],.sales-month-button:focus-visible{outline:2px solid #9a85e4;outline-offset:2px}.sales-month-detail{margin-top:1rem;padding-top:.8rem;border-top:1px solid var(--crm-border,#ddd)}.sales-month-detail h3{font-size:.9rem;font-weight:600;margin:0 0 .7rem}.sales-month-detail dl{margin:0;font-size:.78rem}.sales-month-detail dl>div{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;padding:.4rem 0;border-bottom:1px solid var(--crm-border,#ddd)}.sales-month-detail dt{font-weight:500}.sales-month-detail dd{margin:0;min-width:0;text-align:right;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.sales-branch-detail{margin-top:1rem}.sales-branch-detail h4{font-size:.85rem}.sales-branch-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:.74rem}.sales-branch-table th,.sales-branch-table td{padding:.45rem .2rem;border-bottom:1px solid var(--crm-border,#ddd);text-align:right;font-variant-numeric:tabular-nums}.sales-branch-table th:first-child{text-align:left;overflow-wrap:anywhere}.sales-branch-table td{overflow-wrap:anywhere}.sales-branch-table tfoot{font-weight:700}.interest-flow-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.interest-flow-table{min-width:900px}.interest-flow-table th:nth-child(n),.interest-flow-table td:nth-child(n),.interest-flow-products th:nth-child(n),.interest-flow-products td:nth-child(n){text-align:left}.interest-flow-table th:nth-child(n+2):nth-child(-n+4),.interest-flow-table td:nth-child(n+2):nth-child(-n+4),.interest-flow-products th:nth-child(n+2):nth-child(-n+4),.interest-flow-products td:nth-child(n+2):nth-child(-n+4){text-align:right}.interest-member-link{border:0;padding:0;background:transparent;color:var(--crm-accent,#6358e7);font:inherit;text-decoration:underline;cursor:pointer}.interest-member-link:focus-visible{outline:2px solid currentColor;outline-offset:3px}@media(max-width:900px){.interest-flow-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.interest-flow-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.interest-flow-stats>:last-child{grid-column:1/-1}}.interest-flow-table.interest-customer-table th:nth-child(5),.interest-flow-table.interest-customer-table td:nth-child(5),.interest-flow-table .interest-flow-products th:nth-child(5),.interest-flow-table .interest-flow-products td:nth-child(5){text-align:left}.interest-sort{border:0;padding:0;background:transparent;color:inherit;font:inherit;text-align:inherit;cursor:pointer}.interest-sort:focus-visible{outline:2px solid currentColor;outline-offset:4px}.interest-sort:disabled{cursor:wait;opacity:.65}.crm-analytics-settings{position:fixed;right:12px;bottom:8px;z-index:1050;border:1px solid #bbb;border-radius:6px;background:#fff;color:#333;padding:5px 10px;font:inherit;font-size:12px}.crm-analytics-consent{position:fixed;bottom:46px;left:16px;right:16px;z-index:1051;max-width:640px;margin:auto;background:var(--crm-card-bg,#fff);color:var(--crm-text,#222);border:1px solid #aaa;border-radius:12px;box-shadow:0 6px 24px #0003;padding:18px;max-height:65vh;overflow:auto;font-size:14px}.crm-analytics-consent p{margin:8px 0}.crm-analytics-actions{display:flex;gap:10px;margin-top:12px}.crm-analytics-actions button{flex:1;padding:10px;border:1px solid #6358e7;border-radius:6px;background:#fff;color:#4537b1;font:inherit}.crm-analytics-actions button:focus-visible,.crm-analytics-settings:focus-visible{outline:3px solid #9387ff;outline-offset:2px}:root{--crm-theme-button-bg:#f1ecff;--crm-theme-button-border:#ddd5f4;--crm-theme-button-ink:#514184;color-scheme:light}:root[data-theme=dark]{color-scheme:dark;--crm-bg:#111521;--crm-surface:#202536;--crm-raised:#292e42;--crm-tint:#2e2b49;--crm-text:#f0edf8;--crm-muted:#b1afc4;--crm-border:#45455b;--crm-accent:#b7a5ff;--crm-theme-button-bg:#36354e;--crm-theme-button-border:#59536f;--crm-theme-button-ink:#f0edf8}.theme-toolbar{position:fixed;bottom:calc(16px + env(safe-area-inset-bottom,0px));right:16px;display:flex;justify-content:flex-end;z-index:1040;pointer-events:none}body{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}.theme-toggle{pointer-events:auto;display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;border:1px solid var(--crm-theme-button-border);border-radius:12px;background:var(--crm-theme-button-bg);color:var(--crm-theme-button-ink);box-shadow:0 2px 8px #15102214;font-size:23px;line-height:1;cursor:pointer}.theme-toggle:focus-visible{outline:3px solid #8d7cdb;outline-offset:3px}html[data-theme=dark],html[data-theme=dark] body{background:var(--crm-bg);color:var(--crm-text)}html[data-theme=dark] .full-page-background-blur{background:var(--crm-bg);filter:none}html[data-theme=dark] :is(.card,.card-body,.card-header,.card-footer,.bg-white,.history-card,.loading-card,.app-loader){background:var(--crm-surface)!important;color:var(--crm-text);border-color:var(--crm-border)}html[data-theme=dark] :is(.crm-edit,.crm-history,.crm-spend){color:var(--crm-text)}html[data-theme=dark] :is(.text-muted,.field-hint,.permission-loading,.home-welcome,.report-hint,.report-empty,.heatmap-heading p,.heatmap-filter-note,.ch-months,.ch-weekdays,.ch-legend,.access-location-status,.access-history-table small,.access-position-panel p){color:var(--crm-muted)!important}html[data-theme=dark] :is(.section-title,.menu-heading,.premium-item h3,.report-branch-summary h2,.heatmap-heading h2,.ch-branch-heading,.access-location-consent h2,.access-position-heading h2){color:var(--crm-text)}html[data-theme=dark] a:not(.btn){color:var(--crm-accent)}html[data-theme=dark] :is(.form-control,.form-select){background-color:var(--crm-raised);color:var(--crm-text);border-color:var(--crm-border)}html[data-theme=dark] :is(.form-control,.form-select)::placeholder{color:var(--crm-muted);opacity:1}html[data-theme=dark] :is(.form-control,.form-select):focus{background-color:var(--crm-raised);color:var(--crm-text);border-color:var(--crm-accent);box-shadow:0 0 0 .2rem #b7a5ff26}html[data-theme=dark] :is(.form-control,.form-select):disabled,html[data-theme=dark] .form-control[readonly]{background-color:#262a3a;color:var(--crm-muted);border-color:var(--crm-border)}html[data-theme=dark] .form-select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23b7a5ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}html[data-theme=dark] input{accent-color:#9581e3}html[data-theme=dark] .btn-outline-primary{color:var(--crm-accent);border-color:#9481d1;background:transparent}html[data-theme=dark] .btn-outline-primary:hover{color:#fff;background:#6252c8;border-color:#6252c8}html[data-theme=dark] :is(.btn-outline-secondary,.crm-edit .cancel-button,.crm-home .logout-button){color:var(--crm-muted);border-color:#707084;background:transparent}html[data-theme=dark] :is(.btn-outline-secondary,.crm-edit .cancel-button,.crm-home .logout-button):hover{color:var(--crm-text);background:var(--crm-raised)}html[data-theme=dark] .btn-link{color:var(--crm-accent)}html[data-theme=dark] .btn-close{filter:invert(1)}html[data-theme=dark] .alert-warning{background:#443a25;color:#f4d58d;border-color:#786640}html[data-theme=dark] .alert-danger{background:#442b34;color:#ffb8b0;border-color:#774650}html[data-theme=dark] .alert-success{background:#213d32;color:#99d7b0;border-color:#39634e}html[data-theme=dark] :is(.home-summary,.premium-congratulations){background:linear-gradient(120deg,var(--crm-tint),#253346);border-color:var(--crm-border);color:var(--crm-text)}html[data-theme=dark] :is(.home-summary-hint,.premium-congratulations p,.premium-item dt,.premium-qr p,.premium-no-code){color:var(--crm-muted)}html[data-theme=dark] :is(.home-highlights strong,.premium-quantity){color:var(--crm-accent)}html[data-theme=dark] :is(.home-summary-actions a,.premium-gift){background:var(--crm-raised);border-color:var(--crm-border);color:var(--crm-accent)}html[data-theme=dark] :is(.crm-home .points-panel,.crm-history .history-summary,.crm-spend .spend-balance,.report-summary>div,.heatmap-total,.skeleton-points){background:var(--crm-tint);border-color:var(--crm-border);color:var(--crm-text)}html[data-theme=dark] :is(.crm-home .points-value,.crm-history .history-total,.crm-spend .spend-balance-number,.report-summary strong,.heatmap-total){color:var(--crm-accent)}html[data-theme=dark] :is(.crm-home .points-label,.crm-home .points-details,.crm-history .history-caption,.crm-history .history-hint,.crm-history .history-meta,.report-summary span,.crm-spend .spend-caption,.crm-spend .spend-balance-label,.crm-spend .spend-range span,.crm-spend .spend-line dt,.crm-spend .spend-payment-note,.crm-spend .spend-key-terms,.crm-spend .spend-terms summary,.crm-spend .spend-terms-body){color:var(--crm-muted)}html[data-theme=dark] .crm-home .expiry-date{color:var(--crm-text)}html[data-theme=dark] :is(.crm-home .expiry-row,.crm-history .history-item,.crm-history .history-table th,.crm-history .history-table td,.crm-spend .spend-conditions,.premium-qr,.premium-no-code,.crm-edit .profile-picker,.crm-edit .address-heading,.crm-edit .card-footer,.admin-preview,.premium-manual-location){border-color:var(--crm-border)!important}html[data-theme=dark] .crm-home .menu-tile{background:var(--crm-raised);border-color:var(--crm-border)}html[data-theme=dark] .crm-home .menu-grid>a:hover .menu-tile{background:var(--crm-tint);border-color:#9481d1}html[data-theme=dark] .crm-home .menu-tile>span{color:var(--crm-text)}html[data-theme=dark] .crm-home .member-menu-grid .menu-tile>.member-menu-icon-badge,html[data-theme=dark] .crm-home .menu-tile>i{color:var(--crm-accent)}html[data-theme=dark] .crm-home .member-menu-grid .menu-tile span small{color:var(--crm-muted)}html[data-theme=dark] .crm-spend .spend-discount{background:#213d32;color:#99d7b0}html[data-theme=dark] .crm-spend .spend-discount dt{color:#99d7b0}html[data-theme=dark] :is(.premium-item,.admin-preview,.admin-preview li,.premium-manual-location,.access-location-consent,.access-position-panel,.heatmap-day-detail,.report-entry,.report-entry li,.report-branch-list article){background:var(--crm-raised);border-color:var(--crm-border);color:var(--crm-text)}html[data-theme=dark] :is(.admin-preview li span,.access-location-consent p,.access-location-consent small,.report-entry p,.report-entry li span,.heatmap-day-detail li small){color:var(--crm-muted)}html[data-theme=dark] .access-location-consent .access-location-error{color:#ffb8b0}html[data-theme=dark] :is(.report-branch-list article>strong,.report-branch-metrics b,.heatmap-day-heading strong){color:var(--crm-accent)}html[data-theme=dark] .admin-tabs a{background:var(--crm-raised);border-color:var(--crm-border);color:var(--crm-accent)}html[data-theme=dark] .admin-tabs a[aria-current=page]{background:var(--crm-tint);border-color:#9481d1}html[data-theme=dark] .report-pivot-wrap{border-color:var(--crm-border)}html[data-theme=dark] :is(.report-pivot th,.report-pivot td,.access-history-table th,.access-history-table td,.heatmap-day-detail li){border-color:var(--crm-border);color:var(--crm-text)}html[data-theme=dark] :is(.report-pivot thead,.report-pivot tfoot,.access-history-table thead,.crm-history .history-table th){background:var(--crm-tint);color:var(--crm-accent)}html[data-theme=dark] :is(.report-pivot th,.report-pivot tfoot td,.access-history-table thead th){color:var(--crm-accent)}html[data-theme=dark] :is(.report-pivot tbody tr:nth-child(2n),.access-history-table tbody tr:nth-child(2n)){background:var(--crm-raised)}html[data-theme=dark] .report-pivot tbody tr[style]{background:var(--crm-tint)!important}html[data-theme=dark] .contribution-heatmap,html[data-theme=dark] .ch-branch-cards>.contribution-heatmap:not(:first-child){background:linear-gradient(135deg,var(--crm-surface),var(--crm-tint));border-color:var(--crm-border)}html[data-theme=dark] .ch-cell{background:#36344c;border-color:#46415e}html[data-theme=dark] .ch-level-1{background:#514375;border-color:#615285}html[data-theme=dark] .ch-level-2{background:#7660a8;border-color:#8770b8}html[data-theme=dark] .ch-level-3{background:#9b7bd1;border-color:#ac8ce1}html[data-theme=dark] .ch-level-4{background:#bf9aff;border-color:#caaaff}html[data-theme=dark] .ch-cell.is-selected{outline-color:#fff}html[data-theme=dark] .access-event-login_success{background:#213d32;color:#99d7b0}html[data-theme=dark] .access-event-login_failed{background:#442b34;color:#ffb8b0}html[data-theme=dark] .access-event-logout{background:#383549;color:#d2cce0}html[data-theme=dark] .skeleton{background:#363b51}html[data-theme=dark] .skeleton:after{background:linear-gradient(90deg,transparent,#ffffff18,transparent)}html[data-theme=dark] :is(.legacy-qr,.spend-qr,.premium-qr img){background:#fff!important;filter:none!important}html[data-theme=dark] .crm-home .member-menu-count-badge{background:#fff;border-color:#dc3545;color:#dc3545!important}html[data-theme=dark] .crm-edit .photo-button{color:var(--crm-accent);border-color:#9481d1}html[data-theme=dark] .crm-edit .photo-button:hover{background:var(--crm-raised)}html[data-theme=dark] .text-primary{color:var(--crm-accent)!important}html[data-theme=dark] .text-success{color:#99d7b0!important}html[data-theme=dark] .text-danger{color:#ffb8b0!important}html[data-theme=dark] .text-secondary{color:var(--crm-muted)!important}html[data-theme=dark] .text-dark{color:var(--crm-text)!important}html[data-theme=dark] .bg-light{background-color:var(--crm-raised)!important}html[data-theme=dark] .box-info{background:var(--crm-surface);border-color:var(--crm-border);color:var(--crm-text)}html[data-theme=dark] .box-info p{color:var(--crm-muted)}html[data-theme=dark] input:-webkit-autofill{-webkit-text-fill-color:var(--crm-text);-webkit-box-shadow:0 0 0 1000px var(--crm-raised) inset}@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none}}html[data-theme=dark] .crm-history .history-table tbody tr{background:var(--crm-surface);color:var(--crm-text)}html[data-theme=dark] .crm-history .history-table tbody tr:nth-child(2n){background:var(--crm-raised)}html[data-theme=dark] .crm-history .history-table tbody td{background:transparent;color:var(--crm-text)}html[data-theme=dark] .promotion-card{background:var(--crm-raised);border-color:var(--crm-border)}html[data-theme=dark] .promotion-details h3{color:var(--crm-text)}html[data-theme=dark] :is(.promotion-heading>a,.promotion-prices strong,.promotion-view){color:var(--crm-accent)}html[data-theme=dark] .promotion-prices del{color:var(--crm-muted)}html[data-theme=dark] .promotion-controls>button{background:var(--crm-tint);border-color:var(--crm-border);color:var(--crm-text)}html[data-theme=dark] .promotion-status{background:var(--crm-tint);color:var(--crm-muted)}html[data-theme=dark] .promotion-preview-source{background:var(--crm-tint);border-color:var(--crm-border)}html[data-theme=dark] :is(.promotion-preview-stats>div,.promotion-preview-products article,.promotion-preview-profile>div){border-color:var(--crm-border)}html[data-theme=dark] .promotion-preview-products strong{color:var(--crm-accent)}html[data-theme=dark] :is(.promotion-preview-products small,.promotion-preview-products del){color:var(--crm-muted)}html[data-theme=dark] .customer-insight-panel{background:var(--crm-surface);border-color:var(--crm-border);color:var(--crm-text)}html[data-theme=dark] .customer-insight-panel h2{color:var(--crm-text)}html[data-theme=dark] .customer-insight-summary>div:last-child>small,html[data-theme=dark] .customer-bar-row,html[data-theme=dark] .customer-sales-column span,html[data-theme=dark] .customer-sales-column strong{color:var(--crm-muted)}html[data-theme=dark] .customer-bar-track{background:var(--crm-raised)}html[data-theme=dark] .customer-insight-table th,html[data-theme=dark] .customer-insight-table td{border-color:var(--crm-border);color:var(--crm-text)}html[data-theme=dark] .customer-insight-table thead{background:var(--crm-tint)}html[data-theme=dark] .customer-insight-table tbody tr:nth-child(2n){background:var(--crm-raised)}html[data-theme=dark] .customer-sales-chart{border-color:var(--crm-border)}html[data-theme=dark] .customer-insight-selected-day{color:var(--crm-accent)}html[data-theme=dark] .interaction-report-table{--bs-table-bg:var(--crm-surface);--bs-table-color:var(--crm-text);--bs-table-border-color:var(--crm-border);color:var(--crm-text);border-color:var(--crm-border)}html[data-theme=dark] .interaction-report-table :is(th,td){color:var(--crm-text)!important;border-color:var(--crm-border)!important;box-shadow:none}html[data-theme=dark] .interaction-report-table thead th{background:var(--crm-tint)!important;color:var(--crm-accent)!important}html[data-theme=dark] .interaction-report-table tbody td{background:var(--crm-surface)!important}html[data-theme=dark] .interaction-report-table tbody tr:nth-child(2n) td{background:var(--crm-raised)!important}html[data-theme=dark] .interaction-report-table td small{color:var(--crm-muted)!important}
