.hourly-report{max-width:1800px;color:var(--navy);min-width:0;margin:auto;padding:24px}.hourly-heading{align-items:center;gap:14px;margin-bottom:22px;display:flex}.hourly-icon{color:#008f83;background:#dff3ef;border-radius:16px;flex-shrink:0;place-items:center;width:52px;height:52px;display:grid}.hourly-heading p{letter-spacing:.12em;color:#587a75;font-size:10px;font-weight:700}.hourly-heading h1{letter-spacing:-.6px;margin:4px 0;font-size:26px;font-weight:750}.hourly-heading span:not(.hourly-icon){color:#6c827e;font-size:13px}.hourly-panel{background:#fff;border:1px solid #dce9e6;border-radius:18px;min-width:0;margin-bottom:18px;padding:20px;box-shadow:0 4px 18px #214c4204}.hourly-filters{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.hourly-filters label{flex-direction:column;flex:1;gap:7px;min-width:0;font-size:12px;font-weight:600;display:flex}.hourly-filters .hourly-store{flex:2}.hourly-report input,.hourly-report select{width:100%;min-width:0;height:46px;color:inherit;background:#fff;border:1px solid #d4e3df;border-radius:10px;padding:0 12px;font-size:14px}.hourly-report button{cursor:pointer;border-radius:10px;min-height:44px;padding:8px 14px;font-size:13px;font-weight:600}.hourly-report button:disabled{opacity:.45;cursor:not-allowed}.hourly-report button:focus-visible{outline-offset:3px;outline:2px solid #008f83}.hourly-report input:focus-visible{outline-offset:3px;outline:2px solid #008f83}.hourly-report select:focus-visible{outline-offset:3px;outline:2px solid #008f83}.hourly-table-scroll:focus-visible{outline-offset:3px;outline:2px solid #008f83}.hourly-primary{color:#fff;background:#008f83;justify-content:center;align-items:center;gap:8px;height:46px;display:flex}.hourly-quick{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.hourly-quick button{color:#55716a;background:#f4f8f7}.hourly-period{color:#647e78;flex-wrap:wrap;justify-content:space-between;gap:8px;margin:18px 2px 12px;font-size:12px;display:flex}.hourly-kpis{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin-bottom:18px;display:grid}.hourly-kpis article{background:#fff;border:1px solid #dce9e6;border-radius:16px;min-width:0;padding:20px;position:relative}.hourly-kpis svg{color:#008f83;width:19px;position:absolute;top:18px;right:18px}.hourly-kpis p{color:#617d76;padding-right:25px;font-size:12px}.hourly-kpis strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:10px 0 6px;font-size:25px;line-height:1.35;display:block}.hourly-kpis small{font-size:12px;font-weight:500}.hourly-kpis span{color:#637c76;font-size:12px}.hourly-kpis .hourly-kpi-main{background:linear-gradient(120deg,#e0f5ef,#f4fcf9);border-color:#a9dbd0}.hourly-kpis .hourly-kpi-main strong{color:#007d71}.hourly-kpis .hourly-leader{font-size:20px}.hourly-section-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.hourly-section-head h2{font-size:16px;font-weight:700}.hourly-section-head p{color:#70857f;margin-top:5px;font-size:12px}.hourly-toggle{background:#f1f6f4;border-radius:12px;padding:3px;display:flex}.hourly-toggle button[aria-pressed=true]{color:#008f83;background:#fff;box-shadow:0 2px 6px #123b3410}.hourly-compare{--compare-outline:#cbdcd9;color:#6b827a;margin-top:18px;font-size:12px}.hourly-compare button{white-space:normal;text-align:left;justify-content:center;align-items:center;gap:7px;display:inline-flex}.hourly-compare button svg,.hourly-compare-dot{flex-shrink:0}.hourly-compare-dot{border-radius:50%;width:8px;height:8px}.hourly-compare .hourly-compare-total{border-width:2px;margin-right:8px;font-weight:600}.hourly-compare .hourly-compare-locked{color:#627571;border-color:var(--compare-outline);cursor:pointer;background:#f5f7f7}.hourly-compare-notice{color:#9a430b;background:#fff1df;border-radius:8px;margin:10px 0 0;padding:9px 12px;line-height:1.5}.hourly-compare-notice:empty{display:none}.hourly-compare>div{flex-wrap:wrap;gap:7px;max-height:155px;margin-top:8px;display:flex;overflow:auto}.hourly-compare button{border:1px solid #dce9e6;font-size:12px}.hourly-compare button[aria-pressed=true]{color:#007c70;background:#e0f4ee;border-color:#87cfc0}.hourly-chart{min-width:0;height:290px;margin-top:20px}.hourly-legend{color:#56736b;flex-wrap:wrap;justify-content:center;gap:18px;font-size:12px;display:flex}.hourly-legend span{align-items:center;gap:7px;display:flex}.hourly-legend i{border-radius:3px;width:9px;height:9px}.hourly-matrix-panel{padding:0;overflow:hidden}.hourly-matrix-panel .hourly-section-head{padding:20px}.hourly-table-scroll{max-height:620px;overflow:auto}.hourly-report table{border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums;width:100%;font-size:13px}.hourly-report th,.hourly-report td{text-align:right;white-space:nowrap;border-bottom:1px solid #e5eeeb;min-width:170px;padding:14px 16px}.hourly-report thead th{z-index:2;white-space:normal;background:#edf5f2;max-width:230px;font-size:12px;position:sticky;top:0}.hourly-report th:first-child{z-index:1;text-align:left;background:#fff;min-width:140px;position:sticky;left:0}.hourly-report thead th:first-child{z-index:3;background:#edf5f2}.hourly-report tfoot th,.hourly-report tfoot td{background:#e4f4ef;font-weight:750}.hourly-report tfoot th:first-child{background:#e4f4ef}.hourly-row-total{background:#f5faf8;font-weight:700}.hourly-peak th:first-child{color:#008d7f;background:#f0faf7}.hourly-peak small{color:#b45309;background:#fff1df;border:1px solid #fed7aa;border-radius:6px;margin-top:4px;padding:3px 7px;font-size:10px;font-weight:700;display:table}.hourly-status,.hourly-error,.hourly-warning{background:#edf6f3;border-radius:12px;margin:16px 0;padding:16px;font-size:13px}.hourly-error{color:#b34235;background:#fff0ee}.hourly-warning{color:#8a6223;background:#fff7e9}.hourly-report tbody tr:hover td{box-shadow:inset 0 0 0 999px #008f8308}@media (max-width:640px){.hourly-report{padding:14px 12px}.hourly-heading h1{font-size:21px}.hourly-heading p{font-size:9px}.hourly-icon{width:42px;height:42px}.hourly-panel{border-radius:14px;padding:14px}.hourly-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr);display:grid}.hourly-filters .hourly-store,.hourly-primary{grid-column:1/-1}.hourly-report input,.hourly-report select{padding:0 6px;font-size:16px}.hourly-kpis{grid-template-columns:1fr;gap:10px}.hourly-kpis article{padding:16px}.hourly-kpis strong{font-size:23px}.hourly-chart{height:250px}.hourly-matrix-panel{padding:0}.hourly-report th,.hourly-report td{min-width:145px;padding:12px}.hourly-report th:first-child{min-width:118px}.hourly-section-head{align-items:start}.hourly-quick button{padding:7px 10px;font-size:12px}}.rs-tabs{border:1px solid var(--border);background:#edf4f2;border-radius:18px;gap:10px;margin-bottom:20px;padding:7px;display:flex}.rs-tabs [role=tab]{--tab-color:#087f75;--tab-soft:#e5f5f1;--tab-border:#85cdbf;background:var(--tab-soft);text-align:left;min-height:64px;color:var(--tab-color);border:1px solid #0000;border-radius:13px;flex:1;align-items:center;gap:12px;min-width:0;padding:12px 18px;font-size:15px;transition:background .15s,border-color .15s;display:flex}.rs-tabs #rs-tab-supplier{--tab-color:#285ca8;--tab-soft:#eaf2ff;--tab-border:#96b8eb}.rs-tabs #rs-tab-category{--tab-color:#7545a4;--tab-soft:#f3ecfa;--tab-border:#c3a5df}.rs-tab-icon{width:38px;height:38px;color:var(--tab-color);background:#ffffff9c;border-radius:11px;flex-shrink:0;place-items:center;display:grid}.rs-tabs [role=tab]:hover{background:var(--tab-soft);border-color:var(--tab-border)}.rs-tabs [role=tab]:focus-visible{outline:2px solid var(--tab-color);outline-offset:3px}.rs-tabs [role=tab][aria-selected=true]{color:var(--tab-color);border-color:var(--tab-border);box-shadow:inset 0 -3px 0 var(--tab-color), 0 3px 10px #145c4d0d;background:#fff;font-weight:700}.rs-tabs [aria-selected=true] .rs-tab-icon{background:var(--tab-color);color:#fff}.rs-tab-check{flex-shrink:0;margin-left:auto}.rs-period,.rs-mode,.rs-grid-heading,.rs-pagination{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.rs-period{color:var(--muted-foreground);margin:15px 0;font-size:12px}.rs-mode{margin:20px 0 12px}.rs-mode>span{font-weight:700}.rs-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.rs-kpis article{background:var(--card);border:1px solid var(--border);border-radius:16px;min-width:0;padding:20px}.rs-kpis article:first-child{background:linear-gradient(120deg,#e1f5ef,#f8fcfb);border-color:#9bddd0}.rs-kpis span,.rs-kpis small{color:var(--muted-foreground);font-size:12px;display:block}.rs-kpis strong{color:var(--primary-dark);overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin:10px 0;font-size:26px;line-height:1.4;display:block}.rs-kpis .rs-leader{font-size:19px}.rs-insight{color:#39635c;margin-top:14px;font-size:13px;line-height:1.7}.rs-chart-title h2,.rs-grid-heading h2{font-size:16px;font-weight:700}.rs-chart-title span,.rs-grid-heading p{color:var(--muted-foreground);margin-top:6px;font-size:12px;display:block}.rs-chart{min-width:0;margin:18px 0}.rs-tooltip{color:#9a430b;white-space:normal;overflow-wrap:anywhere;background:#fff1df;border:1px solid #f59e0b;border-radius:12px;max-width:min(330px,80vw);padding:14px;font-size:12px;box-shadow:0 5px 18px #d9770626}.rs-tooltip p{border-top:1px solid #f0d4ac;margin-top:8px;padding-top:8px}.rs-tooltip span,.rs-tooltip b,.rs-tooltip small{display:block}.rs-tooltip b{margin:3px 0;font-size:14px}.rs-grid-heading{margin-bottom:16px}.rs-search{align-items:center;gap:6px;width:100%;max-width:320px;display:flex;position:relative}.rs-search svg{color:var(--muted-foreground);position:absolute;left:12px}.rs-search input{padding-left:37px}.rs-table-scroll{border:1px solid var(--border);border-radius:12px;max-width:100%;overflow:auto}.rs-table-scroll table{border-collapse:separate;border-spacing:0;width:100%;font-size:13px}.rs-table-scroll th,.rs-table-scroll td{border-bottom:1px solid var(--border);text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;background:var(--card);padding:14px 16px}.rs-table-scroll th:first-child{z-index:1;text-align:left;white-space:normal;min-width:180px;max-width:320px;position:sticky;left:0}.rs-table-scroll th small{color:var(--muted-foreground);white-space:normal;min-width:90px;max-width:230px;margin-top:5px;font-size:11px;font-weight:400;display:block}.rs-table-scroll thead th{z-index:2;background:#eaf5f2;font-size:12px;position:sticky;top:0}.rs-table-scroll thead th:first-child{z-index:3}.rs-table-scroll tfoot th,.rs-table-scroll tfoot td{background:#def1eb;font-weight:700}.rs-table-scroll tbody tr:hover>*{background:#f1f9f6}.rs-report .rs-drill{text-align:left;white-space:normal;color:var(--navy);overflow-wrap:anywhere;align-items:center;gap:7px;padding:0;font-weight:600;display:inline-flex}.rs-drill svg{opacity:.45;flex-shrink:0}.rs-drill:hover svg{opacity:1}.rs-drill:hover{text-decoration:underline}.rs-report .rs-amount{color:var(--primary-dark);padding:0;font-weight:500}.rs-amount:hover{text-decoration:underline}.rs-pagination{justify-content:flex-end;padding-top:16px;font-size:12px}.rs-pagination>span{color:var(--muted-foreground);margin-right:auto}.rs-pagination button{background:var(--card);border:1px solid var(--border);align-items:center;gap:5px;display:inline-flex}.rs-footnote{color:var(--muted-foreground);margin-top:15px;font-size:11px;line-height:1.6}.rs-drawer{border:0;border-left:1px solid var(--border);width:min(760px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;color:var(--navy);background:var(--card);margin:0;padding:0;position:fixed;inset:0 0 0 auto}.rs-drawer[open]{flex-direction:column;display:flex}.rs-drawer::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#123b3440}.rs-drawer header{border-bottom:1px solid var(--border);background:linear-gradient(120deg,#e4f6ef,#fff);justify-content:space-between;align-items:flex-start;gap:12px;padding:22px;display:flex}.rs-drawer h2{overflow-wrap:anywhere;font-size:20px;font-weight:700}.rs-drawer small,.rs-drawer header p{color:var(--muted-foreground);font-size:12px}.rs-drawer header button{color:#b42318;cursor:pointer;background:#fff1f0;border:1px solid #f3aaa4;border-radius:9px;flex-shrink:0;align-items:center;gap:6px;min-height:44px;padding:10px 14px;display:flex}.rs-drawer-body{flex:1;min-height:0;padding:20px;overflow:auto}.rs-drawer .rs-pagination{border-top:1px solid var(--border);padding:16px}.rs-drawer .rs-pagination button{cursor:pointer;border-radius:9px;min-height:44px;padding:8px 16px}.rs-drawer button:disabled{opacity:.45}.rs-drawer button:focus-visible{outline:2px solid var(--primary);outline-offset:3px}@media (max-width:767px){.rs-tabs{gap:5px;padding:5px}.rs-tabs [role=tab]{text-align:center;flex-direction:column;justify-content:center;gap:7px;min-height:98px;padding:10px 5px;font-size:12px;position:relative}.rs-tab-check{width:12px;position:absolute;top:5px;right:5px}.rs-tab-icon{width:32px;height:32px}.rs-kpis{grid-template-columns:1fr;gap:9px}.rs-kpis article{padding:15px}.rs-kpis strong{margin:6px 0;font-size:23px}.rs-mode>span,.rs-mode .hourly-toggle{width:100%}.rs-mode button{flex:1}.rs-grid{padding:14px}.rs-table-scroll th,.rs-table-scroll td{padding:12px}.rs-table-scroll th:first-child{min-width:140px;max-width:180px}.rs-drawer header,.rs-drawer-body{padding:15px}}.invoice-value-report .invoice-average{background:#fff8ed;border-color:#eed9b7}.invoice-value-report .invoice-average strong,.invoice-value-report .invoice-average svg{color:#a96012}.invoice-chart-scroll{overflow-x:auto}.invoice-tooltip{color:#9a430b;background:#fff1df;border:1px solid #f59e0b;border-radius:12px;padding:12px;font-size:12px;box-shadow:0 6px 20px #d9770626}.invoice-tooltip p{margin-top:6px}.invoice-average-cell{color:#a96012;font-weight:700}.invoice-code{color:#79918b;margin-top:4px;font-size:11px;font-weight:400;display:block}.invoice-value-report th:first-child{white-space:normal;min-width:200px;max-width:300px}.invoice-metrics{flex-wrap:wrap}@media (max-width:640px){.invoice-value-report th:first-child{min-width:150px;max-width:160px}.invoice-metrics{width:100%}.invoice-metrics button{flex:1;padding:8px;font-size:12px}}.yoy-report .hourly-kpis strong,.yoy-cell strong{color:#17212b}.yoy-report .yoy-previous,.yoy-report .yoy-previous-kpi strong,.yoy-report .yoy-previous-kpi svg{color:#7890ad}.yoy-previous-kpi{background:#f3f6fa!important;border-color:#d0dbe7!important}.yoy-report .yoy-up{color:#16834d!important}.yoy-report .yoy-down{color:#c64536!important}.yoy-report .yoy-flat{color:#6c7c78!important}.yoy-report .hourly-kpis article:last-child strong{font-size:23px}.yoy-period{flex-wrap:wrap;gap:12px 28px;margin:14px 0 18px;font-size:12px;display:flex}.yoy-legend{flex-wrap:wrap;gap:20px;font-size:12px;font-weight:650;display:flex}.yoy-legend span{align-items:center;gap:7px;display:flex}.yoy-legend i{border-radius:3px;width:10px;height:10px;display:inline-block}.yoy-dot-current{background:#009b8c}.yoy-dot-previous{background:#7890ad}.yoy-chart-scroll{overflow-x:auto}.yoy-chart{min-width:920px;height:330px;margin-top:12px}.yoy-tooltip{color:#9a430b;background:#fff1df;border:1px solid #f59e0b;border-radius:12px;max-width:290px;padding:14px;font-size:12px;box-shadow:0 6px 20px #d9770626}.yoy-tooltip p{margin-top:6px}.yoy-tooltip small{margin-top:8px;display:block}.yoy-cell{flex-direction:column;gap:7px;line-height:1.2;display:flex}.yoy-cell strong{font-size:14px;font-weight:700}.yoy-cell>span{font-size:13px}.yoy-cell small{font-size:11px;font-weight:600}.yoy-future{color:#8c9995;font-size:11px;font-weight:400}.yoy-muted{color:#8c9995}.yoy-partial{color:#b75b09;margin-top:5px;font-size:10px;font-weight:500;display:block}.yoy-code{color:#81918a;font-size:11px;font-weight:400;display:block}.yoy-report th:first-child{white-space:normal;min-width:200px;max-width:240px}.yoy-report th:first-child button{text-align:left;white-space:normal;color:inherit;padding:4px 0}.yoy-report th:first-child button:hover{color:#008f83}.yoy-total{background:#f1f8f5}.yoy-report .hourly-table-scroll{max-height:650px}.yoy-report td{min-width:155px}@media (max-width:640px){.yoy-report th:first-child{min-width:140px;max-width:145px}.yoy-report .hourly-filters{grid-template-columns:minmax(0,1fr)}.yoy-report .hourly-kpis article:last-child strong{font-size:21px}.yoy-report .hourly-kpis article{padding:16px}.yoy-legend{gap:14px}}.member-accrual-badge{white-space:nowrap;border-radius:7px;align-items:center;padding:5px 9px;font-size:12px;font-weight:600;line-height:1.4;display:inline-flex}.member-accrual-purchase{background:var(--primary-light);color:var(--primary-dark)}.member-accrual-forgotten{color:#9a430b;background:#fff1df}.member-accrual-unknown{color:#526170;background:#eef1f4}.member-bill-entry{margin-bottom:16px}.member-forgotten-bill{border:1px solid var(--primary);background:var(--card);border-radius:14px;min-width:0;margin-bottom:20px;padding:18px}.member-bill-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.member-bill-heading h3{color:var(--primary-dark);align-items:center;gap:8px;font-size:16px;font-weight:700;display:flex}.member-bill-preview{background:var(--primary-light);border:1px solid var(--border);border-radius:12px;margin-top:16px;padding:16px}.member-bill-preview h4{margin-bottom:12px;font-weight:700}.member-bill-preview dl>div{flex-wrap:wrap;justify-content:space-between;gap:12px;margin:10px 0;font-size:14px;display:flex}.member-bill-preview dd{overflow-wrap:anywhere;min-width:0;font-weight:600}.member-bill-preview dt{color:var(--muted-foreground)}@media (max-width:480px){.member-forgotten-bill{padding:12px}.member-bill-entry>.form-button,.member-bill-preview>.form-button{width:100%}.member-bill-preview{padding:12px}}.members-page{max-width:1800px;color:var(--foreground);margin:auto;padding:24px}.members-heading,.members-result-title,.members-pagination,.member-drawer>header,.member-actions{justify-content:space-between;align-items:center;gap:16px;display:flex}.members-heading{flex-wrap:wrap;margin-bottom:24px}.members-heading h1{color:var(--navy);margin:6px 0;font-size:26px;font-weight:700}.members-heading p,.members-result-title span,.member-readonly-note{color:var(--muted-foreground);font-size:13px}.members-eyebrow{letter-spacing:.06em;color:var(--primary);align-items:center;gap:7px;font-size:12px;font-weight:700;display:flex}.members-page .form-button,.member-drawer .form-button{cursor:pointer;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 14px;font-size:14px;display:inline-flex}.members-page button:disabled,.member-drawer button:disabled{opacity:.5;cursor:not-allowed}.members-filters{background:var(--card);border:1px solid var(--border);border-radius:16px;flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:18px;padding:18px;display:flex}.members-filters label{flex:1;min-width:180px}.members-filters label>span,.member-fields label,.member-group-form label{font-size:13px;font-weight:600;display:block}.members-filters input,.members-filters select,.member-fields input,.member-fields select,.member-fields textarea,.member-group-form input{border:1px solid var(--border);background:var(--card);width:100%;min-height:44px;color:var(--foreground);border-radius:9px;margin-top:7px;padding:10px;font-size:16px}.members-filters .members-search{flex:2}.members-search>div{position:relative}.members-search svg{color:var(--muted-foreground);position:absolute;top:21px;left:10px}.members-search input{padding-left:36px}.members-results{background:var(--card);border:1px solid var(--border);border-radius:16px;overflow:hidden}.members-result-title{border-bottom:1px solid var(--border);flex-wrap:wrap;padding:18px;font-size:14px}.members-table{max-height:65vh;overflow:auto}.members-table table{border-collapse:collapse;width:100%;font-size:13px}.members-table th{background:var(--background);text-align:left;white-space:nowrap;color:var(--muted-foreground);padding:14px;font-weight:600;position:sticky;top:0}.members-table td{border-bottom:1px solid var(--border);padding:14px}.members-table tr:hover{background:var(--accent)}.members-name{text-align:left;cursor:pointer;min-height:44px;display:block}.members-name strong{color:var(--navy);font-size:14px;display:block}.members-name span{color:var(--muted-foreground);margin-top:5px;font-size:12px;display:block}.members-badge{background:var(--primary-light);color:var(--primary-dark);border-radius:7px;padding:5px 9px;font-size:12px;display:inline-block}.members-table .members-number{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.members-balance{color:var(--primary-dark);font-weight:700}.members-pagination{justify-content:flex-end;padding:14px;font-size:14px}.members-empty{color:var(--muted-foreground);text-align:center;justify-items:center;gap:12px;padding:50px 16px;display:grid}.members-empty h2{color:var(--navy);font-weight:600}.members-notice,.members-error{border-radius:9px;margin:12px 0;padding:12px;font-size:14px}.members-notice{background:var(--primary-light);color:var(--primary-dark)}.members-error{color:#b42318;background:#fff1f0}.members-cards{display:none}.member-drawer{border:0;border-left:1px solid var(--border);background:var(--card);width:min(600px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;color:var(--foreground);margin:0;padding:0;position:fixed;inset:0 0 0 auto}.member-drawer[open]{flex-direction:column;display:flex}.member-drawer::backdrop{background:#163b5c59}.member-drawer>header{border-bottom:1px solid var(--border);flex-shrink:0;padding:20px}.member-drawer h2{color:var(--navy);overflow-wrap:anywhere;margin-top:8px;font-size:22px;font-weight:700}.member-drawer-body{min-height:0;padding:20px;padding-bottom:max(24px,env(safe-area-inset-bottom));overflow:auto}.member-points{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:24px;display:grid}.member-points>div{border:1px solid var(--border);background:var(--background);border-radius:12px;min-width:0;padding:14px}.member-points span{color:var(--muted-foreground);font-size:12px;display:block}.member-points strong{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin-top:7px;font-size:20px;display:block}.member-fields{grid-template-columns:1fr 1fr;gap:14px;display:grid}.member-fields label{min-width:0}.member-wide{grid-column:1/-1}.member-drawer legend{color:var(--navy);margin-bottom:14px;font-size:15px;font-weight:700}.member-drawer fieldset{border:0;margin:0 0 14px;padding:0}.member-drawer :disabled{opacity:1}.member-drawer fieldset:disabled input,.member-drawer fieldset:disabled textarea,.member-drawer select:disabled{background:var(--background);color:var(--foreground);-webkit-text-fill-color:var(--foreground)}.member-actions{justify-content:flex-end;margin-top:18px}.member-group-form{border:1px solid var(--border);background:var(--background);border-radius:12px;margin-top:20px;padding:16px}.member-group-form h3{font-weight:700}.member-group-form p{color:var(--muted-foreground);margin:10px 0;font-size:13px}.member-group-form label{margin-top:12px}.member-readonly-note{margin-top:24px;line-height:1.6}@media (max-width:767px){.members-page{padding:16px 12px}.members-heading h1{font-size:22px}.members-filters{padding:12px}.members-filters label{min-width:100%}.members-cards{gap:12px;padding:12px;display:grid}.members-table{display:none}.members-card{text-align:left;border:1px solid var(--border);background:var(--card);cursor:pointer;border-radius:12px;width:100%;padding:14px;display:block}.members-card>div{flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.members-card strong{color:var(--navy)}.members-card small{color:var(--muted-foreground);font-size:12px}.members-card .members-badge{margin:10px 0}.members-card p{color:var(--muted-foreground);align-items:center;gap:7px;margin:6px 0;font-size:13px;display:flex}.members-card footer{border-top:1px solid var(--border);justify-content:space-between;gap:8px;margin-top:12px;padding-top:10px;font-size:13px;display:flex}.members-card footer strong{color:var(--primary-dark)}.member-drawer-body{padding:16px}.member-fields{grid-template-columns:1fr}.member-points strong{font-size:18px}}.members-page .form-button,.member-drawer .form-button{border:1px solid var(--border);background:var(--card);color:var(--navy);border-radius:10px;transition:background .15s,border-color .15s,box-shadow .15s}.members-page .form-button:hover:not(:disabled),.member-drawer .form-button:hover:not(:disabled){background:var(--accent);border-color:var(--primary)}.members-page .form-button-primary,.member-drawer .form-button-primary{background:var(--primary);border-color:var(--primary);color:#fff;min-height:48px;box-shadow:0 4px 12px #008f8329}.members-page .form-button-primary:hover:not(:disabled),.member-drawer .form-button-primary:hover:not(:disabled){background:var(--primary-dark);border-color:var(--primary-dark)}:is(.members-page button:focus-visible,.member-drawer button:focus-visible,.member-drawer input:focus-visible,.member-drawer select:focus-visible,.member-drawer textarea:focus-visible){outline:3px solid var(--primary-light);outline-offset:2px;border-color:var(--primary)}.member-drawer{overflow:hidden;box-shadow:-16px 0 48px #163b5c1f}.member-drawer>header{background:linear-gradient(120deg,var(--primary-light),var(--card));gap:12px}.member-header-icon{background:var(--card);width:48px;height:48px;color:var(--primary);border:1px solid var(--border);border-radius:14px;flex-shrink:0;place-items:center;display:grid}.member-header-title{flex:1;min-width:0}.member-header-title p{color:var(--muted-foreground);margin:6px 0 0;font-size:13px}.member-drawer .member-close{background:var(--card);flex-shrink:0}.member-drawer-body{background:var(--background);flex:1}.member-drawer-body>form{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:20px}.member-form-hint{color:var(--muted-foreground);margin:0 0 20px;font-size:12px;line-height:1.6}.member-field-label{align-items:center;gap:6px;display:flex}.member-field-label svg{color:var(--primary);flex-shrink:0}.member-field-label b{color:#b42318;font-weight:500}.member-drawer .member-add-group{background:var(--primary-light);color:var(--primary-dark);border-color:var(--primary-light)}.member-drawer-footer{padding:16px 20px;padding-bottom:max(16px,env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--card);flex-shrink:0;justify-content:flex-end;gap:12px;display:flex}.member-drawer-footer .form-button-primary{min-width:180px}.member-drawer-footer>.form-button:not(.form-button-primary){min-width:100px}@media (max-width:480px){.member-drawer>header{gap:8px;padding:16px 12px}.member-header-icon{display:none}.member-drawer h2{font-size:20px}.member-header-title p{font-size:12px}.member-drawer-body{padding:12px}.member-drawer-body>form{padding:16px 12px}.member-drawer-footer{padding:12px;padding-bottom:max(12px,env(safe-area-inset-bottom));gap:8px}.member-drawer-footer .form-button-primary{flex:1;min-width:0}.member-drawer-footer>.form-button:not(.form-button-primary){min-width:80px}}.members-workspace{grid-template-columns:minmax(0,1fr);align-items:start;gap:20px;display:grid}.members-workspace.has-profile{grid-template-columns:300px minmax(0,1fr)}.members-workspace.has-profile>.members-results .members-table{display:none}.members-workspace.has-profile>.members-results .members-cards{gap:10px;max-height:65vh;padding:12px;display:grid;overflow:auto}.members-workspace.has-profile .members-card{text-align:left;border:1px solid var(--border);background:var(--card);cursor:pointer;border-radius:12px;width:100%;padding:14px}.members-workspace.has-profile .members-card>div{flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.members-workspace.has-profile .members-card small{color:var(--muted-foreground);font-size:12px}.members-workspace.has-profile .members-card p{color:var(--muted-foreground);gap:6px;margin:7px 0;font-size:13px;display:flex}.members-workspace.has-profile .members-card footer{border-top:1px solid var(--border);justify-content:space-between;margin-top:10px;padding-top:10px;font-size:13px;display:flex}.members-workspace.has-profile .members-card .members-badge{margin-top:8px}.member-profile.member-drawer{border:1px solid var(--border);border-radius:18px;flex-direction:column;width:100%;min-width:0;max-width:none;height:min(850px,85vh);max-height:none;display:flex;position:static;inset:auto;box-shadow:0 6px 24px #163b5c0d}.member-profile .member-avatar{background:var(--primary);color:#fff;border-radius:18px;flex-shrink:0;place-items:center;width:56px;height:56px;font-size:20px;font-weight:700;display:grid}.member-profile .member-points{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.member-profile .member-points>div{background:var(--card)}.member-profile .member-points>.members-balance{background:var(--primary-light);border-color:var(--primary)}.member-profile-tabs{border-bottom:1px solid var(--border);flex-wrap:wrap;gap:6px;margin-bottom:18px;padding-bottom:12px;display:flex}.member-profile-tabs .form-button[aria-pressed=true]{background:var(--primary-light);border-color:var(--primary);color:var(--primary-dark)}.member-history{min-width:0}.member-history .members-filters{padding:12px}.member-history .members-filters label{min-width:140px;font-size:13px}.member-history-table{border:1px solid var(--border);border-radius:10px;max-height:400px;margin-top:16px;overflow:auto}.member-history-table table{border-collapse:collapse;background:var(--card);width:100%;font-size:13px}.member-history-table th,.member-history-table td{text-align:left;border-bottom:1px solid var(--border);white-space:nowrap;padding:12px}.member-history-table th{background:var(--primary-light);color:var(--primary-dark);position:sticky;top:0}@media (max-width:1100px){.members-workspace.has-profile{grid-template-columns:260px minmax(0,1fr)}.member-profile .member-points{grid-template-columns:repeat(2,minmax(0,1fr))}.member-profile>header{flex-wrap:wrap}}@media (max-width:767px){.members-workspace.has-profile{grid-template-columns:minmax(0,1fr)}.members-workspace.has-profile>.members-results{display:none}.member-profile.member-drawer{height:auto;max-height:none}.member-profile .member-drawer-body{overflow:visible}.member-profile .member-avatar{width:44px;height:44px;font-size:16px}.member-profile-tabs .form-button{flex:1;padding:8px;font-size:13px}.member-history .members-filters label{min-width:100%}}.member-drawer .form-button.member-close{color:#b42318;background:#fff1f0;border:1px solid #f3aaa4;border-radius:10px;flex-shrink:0;align-self:flex-start;min-width:96px;min-height:44px;margin-left:auto;font-weight:700;box-shadow:0 2px 6px #b4231814}.member-drawer .form-button.member-close svg{color:inherit;stroke-width:2.5px}.member-drawer .form-button.member-close:hover:not(:disabled){color:#912018;background:#ffe2df;border-color:#b42318}.member-drawer .form-button.member-close:focus-visible{outline-offset:3px;outline:3px solid #f3aaa4}.members-name strong{color:var(--primary-dark)}:is(.members-name:hover strong,.members-name:focus-visible strong){text-underline-offset:3px;text-decoration:underline}.members-table .members-detail-column{text-align:right;white-space:nowrap;width:100px}.members-page .members-detail-button{background:var(--accent);border-color:var(--border);min-height:44px;color:var(--primary-dark);box-shadow:none;border-radius:8px;gap:5px;padding:6px 9px;font-size:13px;font-weight:400;line-height:1.2}.members-detail-button svg{flex-shrink:0}.member-drawer-footer{padding-top:12px;padding-bottom:max(12px,env(safe-area-inset-bottom));align-items:center;gap:10px}.member-drawer .member-drawer-footer>.form-button{min-width:104px;height:48px;min-height:48px;box-shadow:none;border-radius:9px;padding:0 16px;font-size:14px;font-weight:600;line-height:1.2}.member-drawer .member-drawer-footer>.member-close{align-self:auto;margin-left:0}.member-drawer .member-drawer-footer>.form-button-primary{min-width:144px}@media (max-width:480px){.member-drawer .member-drawer-footer>.form-button{min-width:0;padding:0 12px}.member-drawer .member-drawer-footer>.member-close{flex:none}}.member-analytics{max-width:1800px;color:var(--foreground);margin:auto;padding:24px}.ma-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.ma-heading span{color:var(--primary);align-items:center;gap:8px;font-size:12px;font-weight:600;display:flex}.ma-heading h1{color:var(--navy);margin:6px 0;font-size:26px;font-weight:700}.member-analytics p{color:var(--muted-foreground);font-size:13px;line-height:1.6}.member-analytics .form-button{background:var(--card);min-height:44px;color:var(--navy);border:1px solid var(--border);cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:10px 14px;font-size:14px;display:inline-flex}.member-analytics .ma-primary{background:var(--primary);color:#fff;min-height:48px}.member-analytics button:disabled{opacity:.5;cursor:wait}.member-analytics :focus-visible{outline:3px solid var(--primary);outline-offset:2px}.ma-filters{background:var(--card);border:1px solid var(--border);border-radius:16px;flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:20px;padding:18px;display:flex}.ma-filters label{flex:1;min-width:140px;font-size:13px}.ma-filters input,.ma-filters select{border:1px solid var(--border);background:var(--card);border-radius:8px;width:100%;min-height:44px;margin-top:6px;padding:9px;font-size:16px;display:block}.ma-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px;display:grid}.ma-stats article{background:var(--card);border:1px solid var(--border);border-radius:16px;min-width:0;padding:20px}.ma-stats svg{color:var(--primary);margin-bottom:12px}.ma-stats span{color:var(--muted-foreground);font-size:13px;display:block}.ma-stats strong{color:var(--primary-dark);overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin-top:8px;font-size:26px;display:block}.ma-charts{grid-template-columns:1fr 1fr;gap:20px;display:grid}.ma-panel{border:1px solid var(--border);background:var(--card);border-radius:16px;min-width:0;margin-bottom:20px;padding:20px}.ma-panel h2{color:var(--navy);margin-bottom:6px;font-size:17px;font-weight:600}.ma-bars,.ma-rank-bars{margin:20px 0}.ma-rank-bars{max-height:360px;padding-right:8px;overflow:auto}.ma-bar-row{margin-bottom:16px}.ma-bar-row>div:first-child{justify-content:space-between;gap:12px;margin-bottom:7px;font-size:13px;display:flex}.ma-bar-row span{overflow-wrap:anywhere}.ma-bar-row strong{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:500}.ma-track{background:var(--background);border-radius:9px;height:9px;overflow:hidden}.ma-track>span{background:var(--primary);transform-origin:0;border-radius:9px;height:100%;animation:.5s ease-out ma-grow;display:block}.ma-track [data-tone="2"],.ma-track [data-tone="3"]{background:var(--warning)}.ma-track [data-tone="4"],.ma-track [data-tone="5"]{background:var(--navy)}.ma-track [data-tone="6"]{background:var(--muted-foreground)}.ma-track [data-tone="7"],.ma-track [data-negative=true]{background:#b42318}.ma-table{margin-top:16px;overflow:auto}.ma-table table{border-collapse:collapse;width:100%;font-size:14px}.ma-table th,.ma-table td{text-align:left;border-bottom:1px solid var(--border);white-space:nowrap;padding:14px}.ma-table th{background:var(--background);font-size:13px;font-weight:500}.ma-table small{color:var(--muted-foreground);margin-top:4px;font-size:12px;display:block}.ma-table .ma-money{color:var(--primary-dark);font-variant-numeric:tabular-nums;font-weight:600}.ma-rank{background:var(--primary-light);min-width:30px;height:30px;color:var(--primary-dark);border-radius:9px;place-items:center;display:inline-grid}.ma-empty{text-align:center;padding:40px 12px}.member-analytics .ma-error{color:#b42318;background:#fff1f0;border-radius:9px;margin:12px 0;padding:12px}.ma-note{margin-bottom:16px}@keyframes ma-grow{0%{transform:scaleX(0)}to{transform:scaleX(1)}}@media (prefers-reduced-motion:reduce){.ma-track>span{animation:none}}.ma-stats small{color:var(--muted-foreground);margin-top:8px;font-size:12px;line-height:1.5;display:block}.ma-recency-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.ma-recency-subtitle{color:var(--muted-foreground);font-size:12px}.ma-recency-total{background:var(--primary-light);color:var(--primary-dark);font-variant-numeric:tabular-nums;border-radius:20px;align-items:center;gap:6px;padding:7px 10px;font-size:12px;font-weight:600;display:inline-flex}.ma-recency-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.ma-recency-card{--period-color:var(--primary);--period-tint:var(--primary-light);border:1px solid var(--border);border-top:3px solid var(--period-color);background:linear-gradient(135deg,var(--period-tint),var(--card) 75%);border-radius:12px;min-width:0;padding:14px}.ma-recency-card[data-period="1"]{--period-color:var(--primary-dark);--period-tint:var(--accent)}.ma-recency-card[data-period="2"]{--period-color:var(--warning);--period-tint:color-mix(in srgb,var(--warning) 10%,var(--card))}.ma-recency-card[data-period="3"]{--period-color:var(--warning);--period-tint:color-mix(in srgb,var(--warning) 18%,var(--card))}.ma-recency-card[data-period="4"]{--period-color:var(--navy);--period-tint:color-mix(in srgb,var(--navy) 6%,var(--card))}.ma-recency-card[data-period="5"]{--period-color:var(--navy);--period-tint:color-mix(in srgb,var(--navy) 12%,var(--card))}.ma-recency-card-title{align-items:center;gap:9px;display:flex}.ma-recency-card h3{color:var(--navy);font-size:13px;font-weight:500;line-height:1.5}.ma-recency-icon{background:var(--card);width:32px;height:32px;color:var(--period-color);border-radius:9px;flex-shrink:0;place-items:center;display:grid}.ma-recency-value{font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:baseline;gap:5px;margin:13px 0 10px;display:flex}.ma-recency-value strong{color:var(--navy);font-size:26px;font-weight:650;line-height:1}.ma-recency-value>span{color:var(--muted-foreground);font-size:12px}.ma-recency-value small{color:var(--navy);margin-left:auto;font-size:12px}.ma-recency-card .ma-track{background:var(--border);height:5px}.ma-recency-card .ma-track>span{background:var(--period-color)}.ma-recency-special{border-top:1px dashed var(--border);gap:8px;margin-top:18px;padding-top:12px;display:grid}.ma-recency-special-row{background:var(--background);color:var(--muted-foreground);border-radius:9px;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;font-size:12px;display:flex}.ma-recency-special-row svg{flex-shrink:0}.ma-recency-special-row>span{flex:1;min-width:100px}.ma-recency-special-row strong{color:var(--navy);font-variant-numeric:tabular-nums;font-size:14px}.ma-recency-special-row small{font-size:12px;font-weight:400}.ma-recency-special-row[data-warning=true]{color:#b42318;background:#fff1f0}.member-analytics .ma-recency-footnote{margin-top:12px;font-size:12px}@media (max-width:420px){.ma-recency-grid{grid-template-columns:1fr}.ma-recency-card{padding:12px}}.ma-frequency{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;margin-top:20px;display:grid}@media (max-width:600px){.ma-frequency{grid-template-columns:1fr}}@media (max-width:1000px){.ma-charts{grid-template-columns:1fr}.ma-stats strong{font-size:22px}}@media (max-width:600px){.member-analytics{padding:16px 12px}.ma-heading{flex-wrap:wrap}.ma-filters{padding:12px}.ma-filters label{min-width:100%}.ma-stats{grid-template-columns:1fr;gap:10px}.ma-stats article,.ma-panel{padding:16px}.ma-bar-row>div:first-child{flex-wrap:wrap}.ma-rank-bars{max-height:400px}}
