:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#f5f6f3;--surface:#fff;--surface-soft:#f9faf8;--foreground:#17231f;--muted:#718078;--line:#e5e9e5;--primary:#176b54;--primary-dark:#0c4e3c;--orange:#ed8739;--danger:#c74848;--sidebar-width:252px}*{box-sizing:border-box}html,body{background:var(--background);min-height:100%;color:var(--foreground);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select{font:inherit}button{cursor:pointer}.admin-layout{min-height:100vh}.admin-login-page{background:radial-gradient(circle at 15% 10%,#ed87392e,#0000 30%),linear-gradient(135deg,#f5f6f3,#e7efea);place-items:center;min-height:100vh;padding:24px;display:grid}.admin-login-card{border:1px solid var(--line);background:#fff;border-radius:22px;width:min(420px,100%);padding:36px;box-shadow:0 28px 70px #0c4e3c1f}.login-brand-mark{background:var(--orange);color:#fff;border-radius:14px;place-items:center;width:48px;height:48px;font-size:13px;font-weight:900;display:grid}.login-brand-mark img,.brand-mark img{object-fit:contain;width:100%;height:100%;display:block}.login-kicker{color:var(--primary);letter-spacing:.15em;margin-top:22px;font-size:9px;font-weight:900;display:block}.admin-login-card h1{margin:9px 0 7px;font-size:25px}.admin-login-card>p{color:var(--muted);margin:0 0 24px;font-size:12px}.admin-login-card form{gap:14px;display:grid}.admin-login-card .primary-button{width:100%;margin-top:4px}.sidebar{z-index:30;width:var(--sidebar-width);color:#fff;background:#0b4638;flex-direction:column;padding:24px 16px 18px;display:flex;position:fixed;inset:0 auto 0 0;overflow-y:auto}.brand{align-items:center;gap:12px;padding:0 8px 24px;display:flex}.brand-mark{background:var(--orange);color:#fff;letter-spacing:.08em;border-radius:13px;place-items:center;width:42px;height:42px;font-size:13px;font-weight:900;display:grid}.brand strong,.brand span,.admin-profile strong,.admin-profile span{display:block}.brand strong{font-size:15px}.brand span{color:#9dc2b5;margin-top:3px;font-size:11px}.main-nav{flex:1}.nav-section-label{color:#7aa697;letter-spacing:.16em;margin:12px 10px 8px;font-size:9px;font-weight:900}.nav-section-spaced{margin-top:28px}.nav-button{color:#c5ddd4;text-align:left;background:0 0;border:0;border-radius:11px;align-items:center;gap:11px;width:100%;padding:10px 11px;font-size:13px;font-weight:650;transition:background .16s,color .16s;display:flex}.nav-button:hover{background:#ffffff14}.nav-button.active{color:#fff;background:#1c6854}.nav-icon{letter-spacing:.05em;background:#ffffff14;border-radius:8px;place-items:center;width:25px;height:25px;font-size:8px;font-weight:900;display:grid}.nav-button.active .nav-icon{background:var(--orange)}.nav-count{color:#fff;background:#f19a58;border-radius:10px;place-items:center;min-width:20px;height:20px;margin-left:auto;font-size:10px;display:grid}.sidebar-help{background:#ffffff0f;border:1px solid #ffffff1a;border-radius:14px;margin:18px 4px;padding:16px}.sidebar-help .help-icon{background:#ffffff1f;border-radius:9px;place-items:center;width:26px;height:26px;margin-bottom:9px;font-weight:900;display:grid}.sidebar-help strong{font-size:12px}.sidebar-help p{color:#a8c8bc;margin:5px 0 12px;font-size:10px;line-height:1.45}.sidebar-help button{width:100%;color:var(--primary-dark);background:#fff;border:0;border-radius:8px;padding:8px;font-size:10px;font-weight:800}.admin-profile{border-top:1px solid #ffffff1a;align-items:center;gap:10px;padding:14px 7px 0;display:flex}.avatar{background:#e8a46e;border-radius:11px;place-items:center;width:36px;height:36px;font-size:10px;font-weight:900;display:grid}.admin-profile strong{font-size:11px}.admin-profile span{color:#91b7aa;margin-top:2px;font-size:9px}.profile-more{margin-left:auto;color:#fff!important}.logout-button{color:#fff;background:#ffffff1a;border:0;border-radius:8px;width:25px;height:25px;font-size:10px;font-weight:900}.admin-main{min-height:100vh;margin-left:var(--sidebar-width)}.topbar{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:20;background:#ffffffeb;align-items:center;gap:16px;min-height:91px;padding:19px 32px;display:flex;position:sticky;top:0}.topbar-copy{min-width:230px}.topbar h1{letter-spacing:-.02em;margin:0;font-size:20px}.topbar p{color:var(--muted);margin:5px 0 0;font-size:11px}.topbar-actions{align-items:center;gap:10px;margin-left:auto;display:flex}.global-search{border:1px solid var(--line);background:var(--surface-soft);color:#9aa49f;border-radius:11px;align-items:center;gap:8px;width:min(270px,22vw);height:39px;padding:0 12px;display:flex}.global-search span{font-size:10px;font-weight:900}.global-search input{width:100%;color:var(--foreground);background:0 0;border:0;outline:0;font-size:12px}.icon-button,.menu-toggle{border:1px solid var(--line);width:39px;height:39px;color:var(--foreground);background:#fff;border-radius:11px;font-weight:900}.menu-toggle{display:none}.primary-button,.secondary-button{border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:39px;padding:0 14px;font-size:11px;font-weight:800;display:inline-flex}.primary-button{border:1px solid var(--primary);background:var(--primary);color:#fff}.primary-button span{font-size:18px;font-weight:400}.secondary-button{border:1px solid var(--line);color:var(--foreground);background:#fff}.admin-content{max-width:1500px;margin:0 auto;padding:26px 32px 42px}.dashboard-stack{gap:20px;display:grid}.breadcrumb{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:14px;align-items:center;gap:8px;padding:12px 16px;font-size:12px;font-weight:800;display:flex}.breadcrumb-item{align-items:center;gap:8px;display:inline-flex}.breadcrumb button{color:var(--primary);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.breadcrumb strong{color:var(--foreground)}.breadcrumb-separator{color:#a8b4ae}.error-banner{color:#893636;background:#fff2f2;border:1px solid #eccaca;border-radius:14px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;padding:16px 18px;display:flex}.error-banner strong{font-size:13px}.error-banner p{margin:4px 0 0;font-size:11px}.error-banner button{color:#fff;background:#9e3b3b;border:0;border-radius:9px;padding:9px 12px;font-size:11px;font-weight:800}.metrics-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.metric-card{border:1px solid var(--line);background:#fff;border-radius:15px;align-items:flex-start;gap:14px;min-height:118px;padding:18px;display:flex;box-shadow:0 6px 18px #12302606}.metric-icon{border-radius:12px;flex:0 0 40px;place-items:center;width:40px;height:40px;font-size:9px;font-weight:900;display:grid}.metric-green{color:#187054;background:#e4f2ec}.metric-orange{color:#c86c2b;background:#fff0e2}.metric-blue{color:#2b75a8;background:#e5f0f7}.metric-purple{color:#745c9c;background:#eee9f6}.metric-card p,.metric-card strong,.metric-card span{display:block}.metric-card p{color:var(--muted);margin:0 0 7px;font-size:10px;font-weight:700}.metric-card strong{letter-spacing:-.04em;font-size:clamp(20px,2vw,26px)}.metric-card span{color:#8d9892;margin-top:7px;font-size:9px}.muted-cell{color:var(--muted);font-size:12px}.dashboard-grid{grid-template-columns:minmax(0,1.65fr) minmax(290px,.85fr);gap:20px;display:grid}.lower-grid{grid-template-columns:1fr 1fr}.panel{border:1px solid var(--line);background:#fff;border-radius:16px;box-shadow:0 6px 18px #12302605}.panel-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;min-height:69px;padding:17px 20px;display:flex}.panel-header h2{margin:0;font-size:14px}.panel-header p{color:var(--muted);margin:5px 0 0;font-size:10px}.panel-actions{align-items:center;gap:8px;display:flex}.panel-actions select{border:1px solid var(--line);background:var(--surface-soft);height:34px;color:var(--foreground);border-radius:9px;outline:none;padding:0 10px;font-size:10px}.revenue-summary{justify-content:space-between;align-items:flex-end;padding:18px 22px 4px;display:flex}.revenue-summary span,.revenue-summary strong{display:block}.revenue-summary>div>span{color:var(--muted);font-size:10px}.revenue-summary strong{margin-top:4px;font-size:22px}.trend{border-radius:20px;padding:5px 8px;font-size:9px;font-weight:800}.trend-up{color:#1c7557;background:#e5f3ec}.chart{background-image:linear-gradient(to top, var(--line) 1px, transparent 1px);background-size:100% 44px;align-items:flex-end;gap:14px;height:190px;padding:18px 24px 20px;display:flex}.chart-column{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:7px;height:100%;display:flex}.chart-bar{background:linear-gradient(#2f876c,#176b54);border-radius:7px 7px 2px 2px;width:min(32px,75%);min-height:8px}.chart-column:last-child .chart-bar{background:linear-gradient(180deg, #f1a066, var(--orange))}.chart-column span{color:var(--muted);font-size:9px}.payment-split{justify-content:center;align-items:center;gap:28px;min-height:220px;padding:20px;display:flex}.donut{border-radius:50%;flex:0 0 130px;place-items:center;width:130px;height:130px;display:grid}.donut>div{text-align:center;background:#fff;border-radius:50%;place-content:center;width:82px;height:82px;display:grid}.donut strong,.donut span{display:block}.donut strong{font-size:20px}.donut span{color:var(--muted);margin-top:3px;font-size:8px}.payment-legend{min-width:105px}.payment-legend>div{grid-template-columns:9px 1fr auto;align-items:center;gap:7px;padding:10px 0;display:grid}.payment-legend p{color:var(--muted);margin:0;font-size:10px}.payment-legend strong{font-size:11px}.payment-summary-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;padding:16px 20px 4px;display:grid}.payment-summary-card{border:1px solid var(--line);background:var(--surface-soft);min-height:92px;color:var(--foreground);text-align:left;cursor:pointer;border-radius:14px;grid-template-columns:auto 1fr;align-items:center;gap:7px;padding:12px;display:grid}.payment-summary-card strong,.payment-summary-card em{grid-column:1/-1;display:block}.payment-summary-card strong{margin-top:3px;font-size:20px}.payment-summary-card em{color:var(--muted);font-size:10px;font-style:normal;font-weight:800}.payment-summary-card span:not(.status-dot){color:var(--muted);font-size:10px;font-weight:800}.status-dot{border-radius:50%;width:8px;height:8px}.status-dot-success{background:#1b7555}.status-dot-warning{background:#b56324}.status-dot-danger{background:#b33d3d}.legend-dot{border-radius:50%;width:8px;height:8px}.wave-dot{background:#2d90d4}.orange-dot{background:#f09136}.text-button{width:calc(100% - 40px);color:var(--primary);background:#edf5f1;border:0;border-radius:9px;margin:0 20px 18px;padding:10px;font-size:10px;font-weight:800}.text-button.compact{width:auto;margin:0;padding:7px 10px}.table-panel{overflow:hidden}.page-panel{min-height:calc(100vh - 160px)}.table-scroll{overflow:auto visible}.order-summary-table{padding-bottom:8px}table{border-collapse:collapse;white-space:nowrap;width:100%}th,td{text-align:left;border-bottom:1px solid #edf0ed;padding:13px 20px;font-size:10px}th{color:#8a958f;letter-spacing:.07em;text-transform:uppercase;background:#fafbf9;font-size:8px}tbody tr{transition:background .12s}tbody tr:hover{background:#fafcfb}tbody tr.action-row-open{z-index:500;position:relative}tbody tr:last-child td{border-bottom:0}.team-groups-table th:last-child,.team-groups-table td:last-child{text-align:right;width:1%}.team-groups-table td:last-child .status-action-group{justify-content:flex-end}.team-roles-table th:last-child,.team-roles-table td:last-child{text-align:right;width:1%}.team-roles-table td:last-child .status-action-group{justify-content:flex-end}.permission-tags{white-space:normal;flex-wrap:wrap;gap:6px;display:flex}.permission-tag{color:#315f51;background:#f3f8f6;border:1px solid #dce8e2;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:800}.permission-tag.muted{color:var(--muted)}.role-editor-panel{border:1px solid var(--line);background:#f8faf8;border-radius:16px;gap:16px;padding:16px;display:grid}.role-permission-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.team-groups-panel{flex-direction:column;min-height:calc(100vh - 260px);display:flex}.team-groups-scroll{padding-bottom:150px}.team-groups-pagination{margin-top:auto;padding-top:48px}.team-group-members-table th:last-child,.team-group-members-table td:last-child{text-align:right;width:1%}.team-group-members-table td:last-child .status-action-group{justify-content:flex-end}.group-members-panel{flex-direction:column;display:flex}.group-members-scroll{padding-bottom:96px}.group-members-pagination{margin-top:auto;padding-top:34px}.group-action-cell{z-index:20;position:relative}.group-action-cell:has(.group-actions-menu){z-index:600}.group-actions-menu{z-index:700;text-align:left;background:#fff;border:1px solid #dde5e0;border-radius:10px;gap:4px;width:220px;padding:8px;display:grid;position:absolute;top:36px;right:20px;box-shadow:0 16px 36px #0c4e3c29}.group-actions-menu input{height:30px;color:var(--foreground);background:#eef7fb;border:1px solid #dce8e2;border-radius:8px;outline:none;padding:0 10px;font-size:10px}.group-actions-menu button{color:var(--foreground);text-align:left;background:0 0;border:0;border-radius:7px;padding:8px 9px;font-size:10px;font-weight:750}.group-actions-menu button:hover{color:var(--primary);background:#f0f4f2}.group-actions-menu span{color:var(--muted);padding:8px 9px;font-size:10px}.mono{color:#43534c;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px;font-weight:700}.amount-cell{font-weight:800}.table-identity{align-items:center;gap:9px;display:flex}.customer-avatar,.product-thumb{width:29px;height:29px;color:var(--primary);background:#e7f0ec;border-radius:9px;flex:0 0 29px;place-items:center;font-size:8px;font-weight:900;display:grid}.product-thumb{color:#9b907a;background:#eee9dd;border-radius:11px;flex-basis:38px;width:38px;height:38px;overflow:hidden}.product-thumb.small{flex-basis:30px;width:30px;height:30px}.product-thumb img{object-fit:cover;width:100%;height:100%}.status-badge,.provider{border-radius:20px;align-items:center;padding:5px 8px;font-size:8px;font-weight:800;display:inline-flex}.status-success{color:#1b7555;background:#e3f2ea}.status-warning{color:#b56324;background:#fff0dc}.status-danger{color:#b33d3d;background:#fbe5e5}.status-neutral{color:#617069;background:#eaeeec}.provider-wave{color:#2279b4;background:#e2f1fb}.provider-orange_money{color:#c66a25;background:#fff0e3}.provider-paytech{color:#126b55;background:#dff3ea}.provider-credit_card{color:#1d4ed8;background:#e8efff}.status-action-group{align-items:center;gap:6px;display:inline-flex}.row-action{width:28px;height:26px;color:var(--muted);background:0 0;border:0;border-radius:8px;place-items:center;font-weight:900;display:inline-grid}.row-action:hover{color:var(--primary);background:#eef1ef}.row-action:disabled{cursor:not-allowed;opacity:.45}.row-action svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.group-action-panel{border:1px solid var(--line);background:#f8faf8;border-radius:16px;gap:14px;padding:16px;display:grid}.group-action-tabs{justify-self:start}.form-actions-inline{justify-content:flex-end;align-items:flex-end;display:flex}.delete-confirm-panel{background:#fff8f7;border:1px solid #f0d1cc;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;padding:14px;display:flex}.delete-confirm-panel strong{color:var(--danger);font-size:12px;display:block}.delete-confirm-panel p{color:var(--muted);margin:4px 0 0;font-size:11px}.danger-button{border:1px solid var(--danger);background:var(--danger);color:#fff;border-radius:999px;font-weight:850}.danger-button:hover{filter:brightness(.96)}.danger-button:disabled{cursor:not-allowed;opacity:.6}.table-input,.table-select{height:32px;color:var(--foreground);background:#fff;border:1px solid #dce2de;border-radius:9px;outline:none;padding:0 10px;font-size:10px}.table-input{width:145px}.table-select{min-width:112px}.table-input:focus,.table-select:focus{border-color:#70a995;box-shadow:0 0 0 3px #176b5414}.role-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.role-group-card{border:1px solid var(--line);background:#fafbf9;border-radius:14px;overflow:hidden}.role-group-heading{border-bottom:1px solid var(--line);padding:16px}.role-group-heading h4{margin:10px 0 5px;font-size:14px}.role-group-heading p,.role-empty{color:var(--muted);white-space:normal;margin:0;font-size:10px;line-height:1.5}.role-member-list{display:grid}.role-member-row{border-bottom:1px solid #edf0ed;justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:12px 14px;display:flex}.role-member-row:last-child{border-bottom:0}.role-empty{padding:14px}.role-member-list.bordered{border:1px solid var(--line);background:#fafbf9;border-radius:14px;overflow:hidden}.group-create-sections{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.team-selection-panel{border:1px solid var(--line);background:#fafbf9;border-radius:14px;overflow:hidden}.team-selection-panel h4{border-bottom:1px solid var(--line);margin:0;padding:14px 16px;font-size:12px}.team-selection-list{max-height:260px;display:grid;overflow-y:auto}.team-selection-row{border-bottom:1px solid #edf0ed;align-items:center;gap:10px;min-height:54px;padding:11px 14px;display:flex}.team-selection-row:last-child{border-bottom:0}.team-selection-row span,.team-selection-row strong,.team-selection-row small{display:block}.team-selection-row strong{font-size:10px}.team-selection-row small{color:var(--muted);margin-top:3px;font-size:9px}.team-selection-row input:disabled+span{opacity:.62}.mini-list{padding:4px 20px 12px}.mini-list-row{border-bottom:1px solid #edf0ed;align-items:center;gap:12px;min-height:62px;display:flex}.mini-list-row:last-child{border-bottom:0}.mini-list-copy{flex:1}.mini-list-copy strong,.mini-list-copy span{display:block}.mini-list-copy strong,.mini-list-row>strong{font-size:10px}.mini-list-copy span{color:var(--muted);margin-top:4px;font-size:8px}.quick-actions{grid-template-columns:1fr 1fr;gap:10px;padding:18px 20px 22px;display:grid}.imports-stack{gap:20px;display:grid}.import-intro{color:#fff;background:linear-gradient(125deg,#0b4938,#197058);border-radius:18px;justify-content:space-between;align-items:center;gap:28px;min-height:170px;padding:28px 30px;display:flex;position:relative;overflow:hidden}.import-intro:after{content:"";background:#ffffff12;border-radius:50%;width:260px;height:260px;position:absolute;top:-110px;right:-80px}.import-intro>*{z-index:1;position:relative}.import-kicker{color:#f4aa70;letter-spacing:.16em;font-size:9px;font-weight:900}.import-intro h2{margin:10px 0 8px;font-size:24px}.import-intro p{color:#c3ddd3;max-width:690px;margin:0;font-size:12px;line-height:1.6}.import-intro .import-hint{color:#fff7ed;margin-top:10px;font-weight:800}.import-create-button{border-color:var(--orange);background:var(--orange);flex:none}.import-actions{flex:none;align-items:center;gap:10px;display:flex}.file-import-button{color:#fff;background:#ffffff1f;border-color:#ffffff47;position:relative;overflow:hidden}.file-import-button input{opacity:0;cursor:pointer;position:absolute;inset:0}.import-form-body{gap:26px;padding:22px;display:grid}form.import-form{gap:16px;padding:18px 20px 22px;display:grid}.form-error{color:#9b3f3f;background:#fff1f1;border:1px solid #eccaca;border-radius:10px;padding:12px 14px;font-size:11px;font-weight:700}.form-success{color:var(--primary-dark);background:#effaf4;border:1px solid #b7dec9;border-radius:10px;padding:12px 14px;font-size:11px;font-weight:800}.bulk-import-panel{gap:12px;padding:18px 20px;display:grid}.bulk-progress-track{background:#edf2f7;border-radius:999px;height:10px;overflow:hidden}.bulk-progress-fill{border-radius:inherit;background:linear-gradient(90deg, var(--primary), var(--orange));height:100%;transition:width .18s}.bulk-import-panel p,.bulk-import-panel span{color:var(--muted);margin:0;font-size:12px;font-weight:800}.form-notice{color:var(--primary-dark);background:#f4faf7;border:1px solid #d7e4dd;border-radius:10px;margin:16px 20px 0;padding:12px 14px;font-size:11px;font-weight:800;line-height:1.5}.table-error{margin:0 22px 12px}.table-action-button{height:30px;color:var(--primary);cursor:pointer;background:#f7fbf8;border:1px solid #d7e4dd;border-radius:999px;padding:0 12px;font-size:10px;font-weight:800}.table-action-button:disabled{cursor:progress;opacity:.6}.pagination-bar{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;gap:14px;padding:14px 18px 18px;font-size:11px;font-weight:800;display:flex}.pagination-actions{align-items:center;gap:10px;display:flex}.pagination-actions strong{color:var(--foreground);font-size:11px}.pagination-actions .table-action-button:disabled{cursor:not-allowed}.form-section{gap:14px;display:grid}.form-section h3{margin:0;font-size:13px}.detail-tabs{gap:16px;margin:0;display:grid}.tab-list{border:1px solid var(--line);background:#f6f9f7;border-radius:999px;align-items:center;gap:4px;width:fit-content;max-width:100%;padding:4px;display:inline-flex;overflow-x:auto}.tab-list button{min-height:32px;color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:999px;padding:0 14px;font-size:10px;font-weight:850}.tab-list button.active{color:var(--primary);background:#fff;box-shadow:0 2px 10px #12302614}.header-tab-list{flex:0 auto}.tab-panel{border-top:1px solid var(--line);background:#fff;gap:16px;padding:18px 20px 22px;display:grid}.tab-panel-heading{justify-content:space-between;align-items:center;gap:14px;display:flex}.tab-panel h3{margin:0;font-size:13px}.tab-panel p{color:var(--muted);margin:5px 0 0;font-size:10px;line-height:1.5}.compact-button{min-height:32px;padding-inline:12px;font-size:10px}.form-section-heading{justify-content:space-between;align-items:center;gap:18px;display:flex}.form-section-heading p{color:var(--muted);margin:4px 0 0;font-size:10px}.form-grid,.product-form-grid,.cost-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.product-form-grid,.cost-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.form-control{gap:6px;display:grid}.form-control span{color:#56665e;font-size:9px;font-weight:800}.form-control input,.form-control select,.form-control textarea{width:100%;color:var(--foreground);background:#fff;border:1px solid #dce2de;border-radius:9px;outline:none;padding:0 11px;font-size:11px}.form-control input,.form-control select{height:39px}.form-control textarea{resize:vertical;min-height:112px;padding-block:11px}.form-control input:focus,.form-control select:focus,.form-control textarea:focus{border-color:#70a995;box-shadow:0 0 0 3px #176b5414}.modal-backdrop{z-index:80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0b463847;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.modal-panel{border:1px solid var(--line);background:#fff;border-radius:18px;width:min(520px,100%);overflow:hidden;box-shadow:0 28px 70px #0c4e3c33}.modal-panel.wide-modal{width:min(1120px,100%)}.modal-body{gap:16px;padding:20px;display:grid}.modal-actions{justify-content:flex-end;gap:10px;display:flex}.modal-hint{color:var(--muted);margin:0;font-size:11px}.member-search-box{border:1px solid var(--line);background:#fff;border-radius:12px;gap:0;display:grid;overflow:hidden}.member-search-grid{background:#fbfcfb;grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:end;gap:14px;padding:16px 20px;display:grid}.member-search-grid .form-control span{display:none}.member-search-grid .form-control input{background:#e9f3fb;border-color:#e1edf6}.member-search-box .table-scroll{border-top:1px solid var(--line)}.member-search-box table th,.member-search-box table td{text-align:center}.member-search-box table th:first-child,.member-search-box table td:first-child{width:42px}.member-search-box .pagination-bar{padding:12px 20px}.selected-row{background:#f2faf6}.note-preview{border:1px solid var(--line);background:#fafbf9;border-radius:12px;padding:12px}.note-preview strong{margin-bottom:6px;font-size:10px;display:block}.note-preview p{color:var(--muted);white-space:normal;margin:0;font-size:11px;line-height:1.5}.import-lines{gap:12px;display:grid}.import-line{border:1px solid var(--line);background:#fafbf9;border-radius:13px;padding:16px}.import-line-heading{justify-content:space-between;align-items:center;margin-bottom:13px;display:flex}.import-line-heading strong{font-size:11px}.import-line-heading>button{color:var(--danger);background:0 0;border:0;font-size:9px;font-weight:800}.import-line-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.import-line-actions label{color:var(--muted);align-items:center;gap:6px;font-size:10px;font-weight:800;display:inline-flex}.import-summary{background:#edf5f1;border-radius:13px;grid-template-columns:repeat(4,minmax(100px,1fr)) auto;align-items:center;gap:18px;padding:16px;display:grid}.import-summary span,.import-summary strong,.table-subtitle{display:block}.import-summary span{color:var(--muted);font-size:8px}.import-summary strong{margin-top:4px;font-size:12px}.table-subtitle{color:var(--muted);margin-top:3px;font-size:8px}.quick-actions button{border:1px solid var(--line);background:var(--surface-soft);min-height:75px;color:var(--foreground);text-align:left;border-radius:12px;flex-direction:column;justify-content:center;align-items:flex-start;gap:8px;padding:12px;font-size:10px;font-weight:800;display:flex}.quick-actions button:hover{background:#f3f8f5;border-color:#b9d1c7}.quick-actions span{color:var(--primary);font-size:14px;font-weight:900}.empty-table{min-height:180px;color:var(--muted);place-content:center;justify-items:center;gap:9px;font-size:11px;display:grid}.empty-table span{width:34px;height:34px;color:var(--primary);background:#eef2ef;border-radius:11px;place-items:center;font-size:20px;display:grid}.skeleton{background:#e8ece9;border-radius:16px;position:relative;overflow:hidden}.skeleton:after{content:"";background:linear-gradient(90deg,#0000,#ffffffa6,#0000);animation:1.4s infinite shimmer;position:absolute;inset:0;transform:translate(-100%)}.skeleton-metric{height:118px}.skeleton-large{height:330px}.skeleton-table{height:300px}.sidebar-overlay{display:none}@keyframes shimmer{to{transform:translate(100%)}}@media (max-width:1050px){.metrics-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.lower-grid{grid-template-columns:1fr 1fr}.global-search{display:none}.product-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.import-summary{grid-template-columns:repeat(2,1fr)}.payment-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:760px){.sidebar{transition:transform .18s;transform:translate(-105%)}.sidebar-open{transform:translate(0)}.sidebar-overlay{z-index:25;background:#08171285;border:0;display:block;position:fixed;inset:0}.admin-main{margin-left:0}.menu-toggle{flex:0 0 39px;display:block}.topbar{min-height:75px;padding:14px 16px}.topbar-copy{flex:1;min-width:0}.topbar-copy p,.icon-button{display:none}.primary-button{width:39px;padding:0;font-size:0}.primary-button span{font-size:20px}.admin-content{padding:18px 14px 30px}.metrics-grid,.lower-grid,.payment-summary-grid{grid-template-columns:1fr}.metric-card{min-height:98px}.panel-header{flex-direction:column;align-items:flex-start}.panel-actions,.panel-actions select,.panel-actions .secondary-button{width:100%}.breadcrumb,.pagination-bar{flex-direction:column;align-items:flex-start}.tab-list{width:100%}.tab-list button{flex:1}.pagination-actions{flex-wrap:wrap}.payment-split{flex-direction:column}.import-intro,.tab-panel-heading,.form-section-heading{flex-direction:column;align-items:flex-start}.form-grid,.product-form-grid,.cost-grid,.import-summary,.role-groups,.group-create-sections{grid-template-columns:1fr}.import-create-button,.form-section-heading .secondary-button,.import-summary .primary-button{width:100%}.chart{gap:6px;padding-inline:14px}th,td{padding-inline:14px}}
