*{box-sizing:border-box}body{margin:0;background:#f6f4f8;color:#292333;font:14px Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif}button,input,select{font:inherit}button{cursor:pointer;border:0;border-radius:9px;padding:10px 14px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary{background:#812b94;color:#fff}.primary:hover{background:#6d217e}.primary:disabled{opacity:.55;cursor:wait}.secondary{background:#f0e7f3;color:#76258a}.outline{background:#fff;color:#5c5362;border:1px solid #e5dfe8}.full{width:100%;margin-top:15px}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(135deg,#f8f3fa,#eee5f2)}.login-card{width:min(100%,420px);background:#fff;border:1px solid #e7dfea;border-radius:20px;padding:30px;box-shadow:0 15px 45px #38134412}.logo{width:230px;max-height:90px;object-fit:contain;display:block;margin:0 auto 10px}.eyebrow{text-align:center;color:#812b94;font-size:10px;font-weight:800;letter-spacing:2px}.login-card h1{text-align:center;margin:6px 0}.muted{color:#777080;font-size:12px}.centered{text-align:center}.login-card label,form label,.modal-card label{display:block;margin:12px 0 5px;font-weight:700;font-size:12px}input,select{width:100%;height:41px;border:1px solid #dcd4e1;border-radius:9px;padding:0 11px;background:#fff;color:#292333;min-width:0}input:focus,select:focus{outline:2px solid #e6c9ee;border-color:#9a4ba9}.error{background:#fff0f0;color:#a51f2b;padding:10px;border-radius:8px;margin-top:10px}.topbar{min-height:76px;background:#fff;border-bottom:1px solid #e8e1eb;display:flex;align-items:center;gap:16px;padding:0 max(20px,calc((100vw - 1450px)/2));position:sticky;top:0;z-index:4}.topbar img{width:155px;max-height:55px;object-fit:contain}.brand-title{border-left:1px solid #e8e1eb;padding-left:16px}.topbar small{display:block;color:#8a8190;font-size:10px}.userbox{margin-left:auto;display:flex;align-items:center;gap:12px;text-align:right;font-size:12px}.iconbtn{background:#f2edf4;color:#5c4563;padding:9px;min-width:36px}.container{max-width:1450px;margin:26px auto;padding:0 20px}.welcome{display:flex;align-items:center;justify-content:space-between}.welcome h1{margin:0 0 4px;font-size:25px}.welcome p{margin:0;color:#777080}.role{font-size:10px;background:#f0e7f3;color:#812b94;padding:7px 10px;border-radius:20px;font-weight:800}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.stats>div{background:#fff;border:1px solid #e9e3ec;border-radius:13px;padding:15px;display:grid;grid-template-columns:30px 1fr;align-items:center}.stats svg{grid-row:span 2;color:#8b3b9d}.stats strong{font-size:20px}.stats small{color:#777080}.tabs{display:flex;gap:7px;border-bottom:1px solid #e3dce6;margin-bottom:17px;overflow:auto}.tabs button{background:transparent;color:#766b7c;border-radius:9px 9px 0 0;white-space:nowrap}.tabs button.active{background:#fff;color:#812b94;border:1px solid #e3dce6;border-bottom:2px solid #812b94}.grid{display:grid;grid-template-columns:minmax(360px,500px) minmax(0,1fr);gap:16px}.card{background:#fff;border:1px solid #e8e1eb;border-radius:15px;padding:20px;min-width:0}.card h2{font-size:17px;margin:0}.card h3{font-size:14px;margin:20px 0 8px}.card form>label{margin-top:12px}.inline{display:flex;gap:8px;align-items:center}.inline.end{justify-content:flex-end;margin-top:20px}.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.successbox{background:#edf8f0;color:#176b3a;padding:11px;border-radius:9px;margin:12px 0;font-size:12px}.notice{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:10px;margin:0 0 14px;background:#edf8f0;color:#176b3a;font-size:13px;box-shadow:0 5px 18px #2c153b08}.notice.error{background:#fff0f0;color:#a51f2b}.notice.warning{background:#fff8e8;color:#855600}.notice.info{background:#f0eafa;color:#5e3869}.notice>span{display:flex}.notice>div{flex:1}.notice-close{padding:5px;background:transparent;color:inherit}.saved-ticket-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fff;border:1px solid #dceee1;color:#176b3a;border-radius:10px;padding:10px 13px;margin-bottom:14px;font-size:12px}.saved-ticket-bar>span{display:flex;gap:8px;align-items:center}.cardhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.cardhead .muted{margin:5px 0 0}.lookup-row,.phone-row{display:flex;gap:8px}.lookup-row input{flex:1}.phone-row select{max-width:165px;flex:0 0 165px}.code-box{border:1px solid #e5d8eb;background:#faf6fc;border-radius:11px;padding:12px 14px;margin:16px 0;display:grid;grid-template-columns:1fr auto;align-items:center;gap:3px 12px}.code-box span{font-weight:700;font-size:12px;color:#64566b}.code-box strong{font-size:25px;color:#812b94;font-variant-numeric:tabular-nums}.code-box small{grid-column:1/-1;color:#827888;font-size:11px}.section-title{font-size:13px;font-weight:800;margin:18px 0 4px;padding-top:14px;border-top:1px solid #eee8f1}.form-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:18px}.form-actions button{min-height:44px}.preview-card{min-width:0}.preview-label{background:#edf8f0;color:#176b3a;font-size:9px;font-weight:800;letter-spacing:.7px;padding:6px 8px;border-radius:30px}.ticket-canvas-wrap{overflow:auto;background:#eeeaf0;border:1px solid #e5dfe8;border-radius:11px;padding:10px}.ticket-canvas{width:100%;height:auto;display:block;background:#fff;box-shadow:0 3px 12px #00000012}.hint-box{display:flex;align-items:flex-start;gap:8px;margin-top:12px;background:#f8f5fa;color:#6f6574;border-radius:9px;padding:10px;font-size:11px;line-height:1.5}.hint-box svg{flex:0 0 auto;color:#812b94}.searchbar{display:flex;align-items:center;gap:8px;background:#faf8fb;border:1px solid #e8e1eb;border-radius:9px;padding:0 10px;margin:12px 0}.searchbar>svg{color:#918598;flex:0 0 auto}.searchbar input{border:0;background:transparent;box-shadow:none!important;outline:0!important}.tablewrap{overflow:auto;border:1px solid #e9e3ec;border-radius:9px;margin:12px 0 22px}table{width:100%;border-collapse:collapse;white-space:nowrap}th,td{text-align:left;padding:10px;border-bottom:1px solid #eee9f0;font-size:12px;vertical-align:middle}th{background:#f8f5f9;color:#655b6b;font-weight:700}tr:last-child td{border-bottom:0}.empty{text-align:center;color:#8d8491;padding:20px}.selectable{cursor:pointer}.selectable:hover,.selected-row{background:#fbf5fc}.customer-detail{margin-top:22px;border-top:1px solid #eee8f1;padding-top:18px}.customer-detail .cardhead{margin-bottom:10px}.customer-detail h3{margin:12px 0 4px}.detail-metrics{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.detail-metrics span{background:#f8f5fa;border:1px solid #eee7f1;border-radius:8px;padding:9px 12px;color:#716779;font-size:11px}.detail-metrics b{color:#322839;font-size:14px;margin-right:4px}.action-pill{display:inline-block;background:#f0e7f3;color:#76258a;padding:4px 8px;border-radius:20px;font-weight:800;font-size:10px}.audit-detail{min-width:90px}.audit-detail summary{cursor:pointer;color:#812b94;font-weight:700}.audit-detail>div{position:absolute;z-index:3;background:#fff;border:1px solid #e8e1eb;box-shadow:0 8px 30px #0001;padding:12px;border-radius:9px;max-width:min(550px,80vw);max-height:50vh;overflow:auto}.audit-detail pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f8f6f9;padding:9px;border-radius:6px;font-size:10px}.new-user-form{background:#faf8fb;border:1px solid #eee8f1;border-radius:11px;padding:14px;margin:14px 0 22px}.new-user-form h3{display:flex;align-items:center;gap:8px;margin:0 0 6px}.user-create-grid,.edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}.user-create-grid label,.edit-grid label{margin-top:8px}.new-user-form>button{margin-top:12px}.state{font-size:10px;font-weight:800;border-radius:20px;padding:5px 8px}.state.active{background:#edf8f0;color:#176b3a}.state.inactive{background:#fff0f0;color:#a51f2b}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#20152b88;z-index:20;display:grid;place-items:center;padding:18px}.modal-card{background:#fff;border-radius:16px;padding:22px;width:min(700px,100%);max-height:92vh;overflow:auto;box-shadow:0 18px 60px #130b1d40}.modal-card h2{font-size:18px;margin:0}.checkline{display:flex!important;align-items:center;gap:8px}.checkline input{width:auto;height:auto}.foot{text-align:center;color:#938a98;font-size:11px;padding:28px}.center{min-height:100vh;display:grid;place-items:center;color:#766b7c}@media(max-width:850px){.grid{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr}.container{padding:0 12px}}@media(max-width:600px){.topbar{padding:8px 10px;gap:8px}.topbar img{width:92px}.brand-title{font-size:11px;padding-left:8px}.userbox{font-size:10px;gap:5px}.container{padding:0 10px;margin:18px auto}.card{padding:14px}.two,.user-create-grid,.edit-grid{grid-template-columns:1fr}.stats>div{padding:10px}.welcome h1{font-size:21px}.form-actions{grid-template-columns:1fr}.phone-row select{max-width:135px;flex-basis:135px}.cardhead{align-items:flex-start}.saved-ticket-bar{align-items:flex-start;flex-direction:column}.lookup-row{flex-direction:column}}.preview-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.preview-tools>span:not(.preview-label){font-size:11px;color:#776c80;min-width:35px;text-align:center}.preview-tools .iconbtn{padding:7px 9px;min-width:32px}.export-toolbar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;padding:13px;background:#faf8fb;border:1px solid #e9e3ec;border-radius:11px;margin:12px 0 16px}.date-range-fields{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end}.date-range-fields label{display:flex;flex-direction:column;gap:5px;margin:0;font-size:11px;font-weight:700;color:#655b6b;min-width:145px}.date-range-fields input{height:38px;min-width:145px}.export-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-left:auto}.export-actions button{min-height:38px}.export-hint{flex-basis:100%;margin:0;color:#777080;font-size:11px}.date-error{flex-basis:100%;margin:0;color:#a51f2b;font-size:11px;font-weight:700}.spin{animation:chapa-spin 1s linear infinite}@keyframes chapa-spin{to{transform:rotate(360deg)}}@media(max-width:760px){.export-toolbar{align-items:stretch}.date-range-fields{width:100%}.date-range-fields label{flex:1;min-width:125px}.export-actions{margin-left:0;width:100%}.export-actions button{flex:1}}@media(max-width:480px){.date-range-fields{flex-direction:column;align-items:stretch}.date-range-fields label,.date-range-fields input{width:100%}.export-actions{flex-direction:column}.export-actions button{width:100%}}.date-field{position:relative;width:100%;min-width:0}.date-input-wrap{display:flex;align-items:stretch;gap:5px}.date-input-wrap input{min-width:0;flex:1}.date-trigger{width:40px;flex:0 0 40px;border:1px solid #d9d2df;border-radius:9px;background:#fff;color:#65546e;display:grid;place-items:center;cursor:pointer}.date-trigger:hover{border-color:#9639a7;background:#faf6fb}.date-popover{position:absolute;z-index:40;top:calc(100% + 7px);left:0;width:276px;padding:12px;background:#fff;border:1px solid #e5dce9;border-radius:13px;box-shadow:0 12px 35px #25152d24}.date-popover-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;text-transform:capitalize}.date-popover-head button,.date-popover-foot button{border:1px solid #e8e3ec;border-radius:7px;background:#fff;padding:6px 9px;cursor:pointer;color:#493c50}.date-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.date-weekday{text-align:center;color:#877b8b;font-size:11px;font-weight:700;padding:5px 0}.date-day{border:0;border-radius:7px;background:#f7f4f8;min-height:30px;cursor:pointer;color:#302638}.date-day:hover:not(:disabled){background:#eadcf0;color:#69237c}.date-day.selected{background:#7d2991;color:#fff;font-weight:700}.date-day.outside{background:transparent}.date-day:disabled{opacity:.3;cursor:not-allowed}.date-popover-foot{display:flex;justify-content:space-between;margin-top:10px}.phone-lookup select{max-width:110px;min-width:90px}.phone-match-list{display:grid;gap:6px;margin:8px 0 12px}.phone-match-list button{border:1px solid #e5dce9;background:#fbf9fc;padding:9px 11px;border-radius:9px;text-align:left;display:flex;justify-content:space-between;gap:10px;cursor:pointer}.phone-match-list button:hover{border-color:#9639a7;background:#fbf5fd}.phone-match-list span{color:#746979;font-size:12px}.validated-check{width:18px;height:18px;accent-color:#176b3a;vertical-align:middle}.validated-check:disabled{accent-color:#a4a0a8;cursor:not-allowed;opacity:.65}@media(max-width:560px){.date-popover{width:min(276px,calc(100vw - 44px))}.phone-match-list button{flex-direction:column;gap:2px}}.individual-ticket-panel{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:14px;padding:13px;border:1px solid #dfe9df;border-radius:11px;background:#f6fbf6}.individual-ticket-panel>div{display:flex;flex-direction:column;gap:4px;min-width:190px;flex:1}.individual-ticket-panel b{font-size:13px;color:#244b32}.individual-ticket-panel small{font-size:11px;line-height:1.45;color:#647369}.individual-ticket-panel button{flex:0 0 auto}.wide-field{grid-column:1/-1}@media(max-width:600px){.individual-ticket-panel{align-items:stretch}.individual-ticket-panel button{width:100%}.wide-field{grid-column:auto}}.history-table{min-width:1380px;border-collapse:separate;border-spacing:0}.history-table th.sticky-action-th{position:sticky;left:0;z-index:6;min-width:326px;width:326px;background:#f8f5f9;box-shadow:2px 0 #e6e0e9}.history-table td.sticky-action-cell{position:sticky;left:0;z-index:4;min-width:326px;width:326px;background:#fff;box-shadow:2px 0 #e6e0e9}.history-table tbody tr:hover td.sticky-action-cell{background:#fcf8fd}.row-actions{display:flex;align-items:center;justify-content:space-between;gap:3px;min-width:312px;white-space:nowrap}.action-mini-btn{width:52px;min-width:52px;height:44px;padding:4px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1px solid transparent;background:#f2edf4;color:#5c4563}.action-mini-btn small{font-size:8px;line-height:10px;font-weight:800;color:#655b6b}.action-mini-btn:hover:not(:disabled){border-color:#d9c8df;background:#f8f1fa}.action-mini-btn:disabled{opacity:.4;cursor:not-allowed}.action-check{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:2px!important;min-width:45px;margin:0!important;cursor:default}.action-check small{font-size:8px;line-height:10px;color:#6e6473;font-weight:800}.action-check input{margin:0}.danger-icon{color:#b42332!important}.danger-icon:hover:not(:disabled){background:#fff0f1!important;border-color:#efb8bd!important}.danger-icon:disabled{color:#aaa!important;opacity:.45}.pagination-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0 20px;padding:11px 12px;border:1px solid #e9e3ec;border-radius:10px;background:#faf8fb;font-size:11px;color:#706677}.pagination-bar>label{display:flex;align-items:center;gap:8px;font-weight:700}.pagination-bar select{height:34px;min-width:72px;padding:5px 25px 5px 9px;border:1px solid #ddd5e2;border-radius:8px;background:#fff;color:#382e3e;font-weight:700}.pagination-count{font-variant-numeric:tabular-nums}.pagination-buttons{display:flex;align-items:center;gap:8px}.pagination-buttons button{display:flex;align-items:center;gap:4px;min-height:34px;padding:6px 10px}.pagination-buttons button:disabled{opacity:.42;cursor:not-allowed}.pagination-buttons span{white-space:nowrap;font-weight:700;color:#554a5d}.delete-modal{width:min(560px,100%)}.delete-warning{display:flex;align-items:flex-start;gap:10px;margin:14px 0;padding:12px;border:1px solid #f0c9cd;border-radius:10px;background:#fff5f5;color:#8b2630;font-size:12px;line-height:1.5}.delete-warning svg{flex:0 0 auto}.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 14px;border:1px solid #a91f2c;border-radius:9px;background:#b42332;color:#fff;font-weight:800;cursor:pointer}.danger-button:disabled{opacity:.4;cursor:not-allowed}@media(max-width:700px){.pagination-bar{align-items:stretch}.pagination-bar>label{justify-content:flex-start}.pagination-count{order:3;width:100%}.pagination-buttons{justify-content:space-between;width:100%}.history-table th.sticky-action-th,.history-table td.sticky-action-cell{min-width:316px;width:316px}.row-actions{min-width:302px}.action-mini-btn{width:49px;min-width:49px}}.history-table th.sticky-action-th,.history-table td.sticky-action-cell{width:72px;min-width:72px;max-width:72px;padding-left:12px;padding-right:12px;box-sizing:border-box;text-align:center}.purchase-actions{display:flex;justify-content:center;min-width:44px}.purchase-actions-trigger{position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;padding:0;border:1px solid #e4d8e9;border-radius:12px;background:#f4eef7;color:#7c278e;cursor:pointer;touch-action:manipulation}.purchase-actions-trigger:hover,.purchase-actions-trigger[aria-expanded=true]{background:#eadcf1;border-color:#c99bd7}.purchase-actions-trigger:focus-visible,.purchase-actions-menu button:focus-visible{outline:3px solid #a35bb7;outline-offset:2px}.purchase-actions-validated{position:absolute;top:5px;right:5px;width:7px;height:7px;background:#18864b;border:2px solid #f4eef7;border-radius:50%;box-sizing:content-box}.purchase-actions-menu{z-index:1000;max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;padding:6px;border:1px solid #e3d7e9;border-radius:16px;background:#fff;box-shadow:0 12px 36px #32163f29;color:#302438;text-align:left}.purchase-actions-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 8px 12px;border-bottom:1px solid #f0e8f3;margin-bottom:4px}.purchase-actions-heading b{font-size:12px;white-space:nowrap}.purchase-validation-status{border-radius:20px;padding:4px 6px;background:#f6f0e6;color:#8a6320;font-size:10px;white-space:nowrap;font-weight:600}.purchase-validation-status.is-validated{background:#eaf6ee;color:#237442}.purchase-actions-menu button{display:flex;align-items:center;gap:11px;width:100%;min-height:44px;height:auto;padding:10px;border:0;border-radius:9px;background:transparent;color:#513b5c;font:inherit;font-size:13px;font-weight:600;line-height:1.3;text-align:left;cursor:pointer;white-space:normal;touch-action:manipulation}.purchase-actions-menu button svg{flex:none}.purchase-actions-menu button span{display:block}.purchase-actions-menu button small{display:block;margin-top:3px;font-size:11px;font-weight:400;color:#84738c}.purchase-actions-menu button:hover:not(:disabled),.purchase-actions-menu button:focus-visible{background:#f6eff9}.purchase-actions-menu button:disabled{opacity:.4;cursor:not-allowed}.purchase-actions-separator{height:1px;margin:5px 6px;background:#f0e8f3}.purchase-actions-menu button.purchase-actions-delete{color:#b42332}.purchase-actions-menu button.purchase-actions-delete:hover:not(:disabled){background:#fff0f1}@media(max-width:700px){.history-table th.sticky-action-th,.history-table td.sticky-action-cell{width:64px;min-width:64px;max-width:64px;padding-left:8px;padding-right:8px}.history-table th.sticky-action-th{font-size:10px}}.purchase-actions-menu button{justify-content:flex-start;gap:9px;font-size:12px;padding:9px 10px;min-height:44px}.purchase-actions-menu button svg{width:15px;height:15px;stroke-width:1.7}.purchase-actions-menu button span{text-align:left}.purchase-actions-menu button small{font-size:10px;margin-top:2px}.notice-overlay{z-index:2000}.notice-dialog{width:min(420px,100%);padding:24px;text-align:left}.notice-dialog h2{display:flex;align-items:center;gap:10px;font-size:18px}.notice-dialog p{line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}.notice-dialog.error h2{color:#b42332}.notice-dialog.success h2{color:#176b3a}.notice-dialog.warning h2{color:#855600}.backup-settings{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:20px 0}.backup-settings label{display:grid;gap:6px;font-size:12px;font-weight:600}.backup-settings select{width:180px}.backup-summary{padding:14px;border-radius:10px;background:#f6f0f8;color:#60436c;line-height:1.6}.backup-danger{background:#fff3ed;color:#8b3f16;padding:12px;border-radius:9px;line-height:1.6}.backup-role{display:flex!important;align-items:center;gap:8px}.backup-role input{width:16px;height:16px}:root{--brand:#8f3798;--brand-dark:#752980;--cyan:#00b7dc;--ink:#292333;--surface:#ffffffed;--line:#e9e2ed}body{background:radial-gradient(ellipse at 0 0,#eee4f52e,transparent 65%),#f6f5f9;color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased}button{font-weight:600;transition:background .15s,border-color .15s,box-shadow .15s;letter-spacing:-.1px}button:disabled{cursor:not-allowed;opacity:.42}.primary{background:var(--brand);box-shadow:0 3px 9px #7a268b16}.primary:hover:not(:disabled){background:var(--brand-dark)}.secondary{background:#f1e8f5;color:var(--brand-dark)}.outline{border-color:#e6ddea;background:#ffffffd9}.topbar{background:#ffffffd9;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid #e9e2ed9c;min-height:80px}.topbar img{width:158px}.container{max-width:1450px}.welcome h1{font-weight:700;letter-spacing:-.7px}.welcome p{font-size:13px}.role{font-weight:600;background:#eee5f4;color:var(--brand-dark)}.card{background:var(--surface);border:1px solid var(--line);border-radius:19px;box-shadow:0 3px 18px #3b174604}.card h2{font-weight:650;letter-spacing:-.3px}.stats{gap:12px}.stats>div{background:linear-gradient(140deg,#fff,#fcf9ff);border-color:#e9e1ee;border-radius:17px;padding:17px;box-shadow:0 3px 10px #34203d05;gap:2px 7px}.stats svg{width:22px;height:22px;stroke-width:1.6}.stats strong{font-size:25px;letter-spacing:-.6px;font-weight:650}.stats small{font-size:11px}.stats .stat-sales{background:linear-gradient(145deg,#fbf6ff,#f5f1fc)}.stats .stat-sales svg{color:#019fbe}.stats .stat-sales strong{color:var(--brand-dark)}.tabs{border:1px solid #e8dfee;background:#ffffffb8;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-radius:14px;padding:5px;gap:3px;margin-bottom:20px}.tabs button{padding:11px 13px;min-height:43px;font-size:12px;border-radius:10px;flex:none;gap:7px}.tabs button.active{background:#efe4f5;color:#792488;border:0;box-shadow:0 2px 6px #5b216d09}.tabs svg{stroke-width:1.7}.nav-short,.tabs .nav-more,.mobile-more{display:none}input,select{border-color:#dfd6e5;border-radius:10px;background:#fff;min-height:43px}input:focus,select:focus{outline:3px solid #8f379816;border-color:#b471bf}input::placeholder{color:#9a91a3}.country-trigger{height:43px;min-width:68px;flex:0 0 68px;padding:0 10px;border:1px solid #dfd6e5;border-radius:10px;background:#fff;color:#76697e;justify-content:center;gap:8px}.country-flag{display:block;flex:none;border-radius:3px;box-shadow:0 0 0 1px #27213312}.country-options{z-index:1800;overflow:auto;overscroll-behavior:contain;background:#fffffff5;border:1px solid #e9deef;border-radius:15px;padding:6px;box-shadow:0 12px 38px #32163f24;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.country-options button{width:100%;display:flex;justify-content:flex-start;text-align:left;gap:10px;min-height:44px;border-radius:9px;padding:9px;background:transparent;font-size:13px;font-weight:500}.country-options button[aria-selected=true]{background:#f0e4f6;color:#7b288b}.country-options button:hover,.country-options button:focus-visible{background:#f6f0fa;outline:2px solid #ba80c7;outline-offset:-2px}.country-options button span:nth-of-type(1){min-width:35px}.country-options button svg:last-child:not(.country-flag){margin-left:auto}.phone-lookup{display:grid;grid-template-columns:68px minmax(0,1fr) auto;align-items:center}.phone-row{display:flex;align-items:center}.phone-row input{flex:1}.phone-row select{width:auto}.phone-lookup input{width:100%}.tablewrap{border-color:#ece4f0;border-radius:12px}th{background:#faf7fc;color:#71647c;font-weight:600}td{border-bottom-color:#f0eaf3}tbody tr:last-child td{border-bottom:0}.purchase-actions-trigger{border-color:#e9ddef;border-radius:11px;background:#f5eff8;color:#873296}.purchase-actions-menu{border-radius:16px;background:#fffffff7;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:0 12px 35px #39144622}.purchase-actions-menu button:disabled{color:#a69baa;opacity:.55;background:transparent}.purchase-actions-menu button svg{stroke-width:1.6}.purchase-mobile-list{display:none}.notice-dialog{background:#fff}.modal-card{border-radius:20px}.date-trigger,.date-day{touch-action:manipulation}@media(min-width:1100px){.tabs button{flex:1}}@media(max-width:850px){input,select,textarea,.date-input-wrap input{font-size:16px!important}.topbar{min-height:70px}.brand-title{font-size:12px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stats>div{padding:14px}.stats strong{font-size:23px}}@media(max-width:700px){.container{margin-top:20px;padding:0 14px 100px}.welcome{gap:10px}.welcome h1{font-size:23px}.welcome p{font-size:12px}.role{font-size:9px;padding:6px 8px;max-width:120px;text-align:center}.topbar{padding:10px 14px;gap:10px}.topbar img{width:125px}.brand-title{display:none}.userbox{font-size:11px;text-align:right;max-width:55%}.userbox>span{min-width:0;overflow-wrap:anywhere}.userbox small{font-size:9px}.card{padding:17px;border-radius:18px}.stats{margin:18px 0;gap:9px}.stats>div{padding:13px 11px;grid-template-columns:23px minmax(0,1fr);gap:2px 6px}.stats small{font-size:10px}.stats strong{font-size:22px;overflow-wrap:anywhere}.tabs{position:fixed;left:10px;right:10px;bottom:calc(8px + env(safe-area-inset-bottom));z-index:12;margin:0;padding:5px 3px;display:flex;justify-content:space-evenly;gap:1px;border:1px solid #e8dff0;border-radius:20px;background:#fffffff0;box-shadow:0 4px 28px #40204d12;overflow:visible}.tabs button{flex:1;min-width:0;min-height:53px;padding:6px 2px;flex-direction:column;gap:5px;border-radius:14px;font-size:10px;white-space:nowrap}.tabs svg{width:20px;height:20px;stroke-width:1.65}.tabs .nav-full,.tabs .nav-audit,.tabs .nav-backups{display:none}.tabs .nav-short{display:inline}.tabs .nav-more{display:flex}.tabs button.active{background:#f0e7f7}.mobile-more{display:grid;position:fixed;z-index:13;right:14px;bottom:calc(84px + env(safe-area-inset-bottom));width:210px;background:#fffffff7;border:1px solid #e8dcef;border-radius:16px;padding:6px;box-shadow:0 9px 30px #32163f22}.mobile-more button{justify-content:flex-start;padding:13px;background:transparent;color:#5c3c67;border-radius:10px;font-size:13px}.mobile-more button:hover{background:#f5eefa}.phone-lookup{grid-template-columns:68px minmax(0,1fr);gap:7px}.phone-lookup>.secondary{grid-column:1/-1;min-height:42px}.phone-row{gap:7px}.country-trigger{height:44px}.phone-id-hint{line-height:1.5}.code-box strong{font-size:25px}.preview-tools{flex-wrap:wrap;justify-content:flex-end}.preview-card .cardhead{flex-direction:column}.preview-card .hint-box{line-height:1.5}.purchase-ledger-table{display:none}.purchase-mobile-list{display:grid;gap:11px;margin-top:15px}.purchase-history-card{background:linear-gradient(145deg,#fff,#fcfaff);border:1px solid #e9e0ee;border-radius:16px;padding:12px;box-shadow:0 2px 5px #51205a03}.purchase-card-top{display:flex;justify-content:space-between;gap:12px;align-items:center}.purchase-card-top>div:first-child{display:grid;gap:4px}.purchase-card-top b{font-size:12px;letter-spacing:.1px}.purchase-card-top small{font-size:10px;color:#93829b}.purchase-card-top .purchase-actions-trigger{width:44px;min-width:44px;height:44px;border:0;background:#f5eef8}.purchase-card-summary{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:9px 0}.purchase-card-summary>div{display:grid;gap:5px;min-width:0}.purchase-card-summary strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}.purchase-card-summary span{font-size:11px;color:#8d7d97}.purchase-card-amount{background:#f1e7f7;border-radius:9px;padding:7px 9px;color:#812a94;font-size:14px;font-weight:650;white-space:nowrap}.purchase-history-card details{border-top:1px solid #eee7f3;margin-top:10px;padding-top:9px;font-size:11px}.purchase-history-card summary{color:#80648c;cursor:pointer;padding:4px 0}.purchase-history-card dl{margin:8px 0 2px;display:grid;gap:8px}.purchase-history-card dl>div{display:grid;grid-template-columns:65px minmax(0,1fr);gap:10px}.purchase-history-card dt{color:#95829e}.purchase-history-card dd{margin:0;overflow-wrap:anywhere}.export-toolbar{border:1px solid #eee5f3;border-radius:14px;background:#fcf9ff;padding:11px}.export-actions{flex-direction:row;flex-wrap:wrap;gap:7px}.export-actions button{font-size:11px;min-height:40px;padding:8px 9px;width:auto;flex:1}.export-hint{font-size:10px;line-height:1.5}.date-range-fields{flex-direction:row;gap:8px}.date-range-fields label{width:calc(50% - 4px);min-width:0;font-size:10px}.date-range-fields input{width:100%;padding:0 7px}.date-trigger{width:34px;flex-basis:34px}.date-popover{width:min(276px,calc(100vw - 64px));position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:45;box-shadow:0 16px 70px #20122850}.date-day{min-height:34px;font-size:14px}.date-popover-head{font-size:13px}.date-popover-head button,.date-popover-foot button{min-height:36px}.pagination-bar{font-size:11px}.pagination-bar select{min-width:75px;font-size:16px}.pagination-buttons button{font-size:11px}.searchbar{gap:6px}.searchbar input{padding:0 7px}.cardhead h2{font-size:16px}.cardhead .muted{line-height:1.5}}@media(prefers-reduced-motion:reduce){button{transition:none}}
