.admin-body{--surface:#fff;--soft:#edf3e9;--muted:#56675e;font-size:15px;line-height:1.65}.admin-main{padding-bottom:36px}.admin-heading,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.admin-heading{margin-bottom:24px}.admin-heading h1{margin:4px 0 8px;letter-spacing:-.8px}.eyebrow{font-size:12px;letter-spacing:2px;color:var(--muted);margin:0}.muted,.help,.data-note{color:var(--muted)}.admin-heading p{margin-top:0;margin-bottom:0}.admin-nav{display:flex;gap:8px;border-bottom:1px solid var(--border);padding-bottom:12px;flex-wrap:wrap}.admin-nav a{min-height:44px;display:flex;align-items:center;padding:10px 18px;border-radius:8px;font-weight:600}.admin-nav a:hover{background:var(--soft)}.admin-nav a[aria-current=page]{background:var(--forest);color:var(--lime)}.data-note{font-size:13px;margin:18px 0}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:24px 0}.stat-card,.admin-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:24px;min-width:0}.stat-card>span{display:block;color:var(--muted);font-size:13px}.stat-card>strong{display:block;font-size:34px;line-height:1.3;font-weight:600;letter-spacing:-1px;margin:12px 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.stat-card>small{color:var(--muted);font-size:12px}.settings-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:22px}.admin-card h2{font-size:19px;line-height:1.45;margin:0 0 12px;font-weight:650}.admin-card p{font-size:14px}.section-heading{margin-bottom:24px;align-items:flex-start}.section-heading p{margin:0}.admin-body .field{margin-bottom:22px}.admin-body label{font-size:14px}.admin-body input,.admin-body select{font-size:16px;min-height:46px}.admin-body select{font:inherit;width:100%;border:1px solid #b3c0b6;background:var(--surface);color:var(--forest);border-radius:8px;padding:10px 12px;line-height:1.6}.admin-body select:focus-visible,.table-scroll:focus-visible{outline:3px solid #55806f;outline-offset:3px}.help{font-size:13px!important;margin:8px 0 0;line-height:1.7}.rule-card{background:#f0f4eb}.rule-card ul{padding-left:21px;margin:20px 0}.rule-card li{margin:12px 0;font-size:14px}.status-badge{font-size:12px;display:inline-block;white-space:nowrap;padding:3px 9px;border-radius:6px;background:#edf1ef;color:#40564b;font-weight:600}.status-paid{background:#e5f3d7;color:#315719}.status-pending{background:#fff1cf;color:#705419}.status-failed{background:#fde6e2;color:#963536}.filter-row{display:flex;gap:16px;align-items:flex-end;flex-wrap:wrap;margin:22px 0}.filter-row .field{flex:1 1 180px;margin:0;min-width:0}.filter-row>.button{min-height:46px}.order-filters .field{flex-basis:145px}.order-filters .field:first-child{flex-grow:2}.table-scroll{overflow:auto;max-width:100%;border:1px solid var(--border);border-radius:9px}.admin-body table{width:100%;border-collapse:collapse;min-width:740px;font-size:14px;text-align:left}.admin-body th{background:#f4f6f1;color:var(--muted);font-size:12px;font-weight:600;white-space:nowrap}.admin-body th,.admin-body td{padding:15px 16px;border-bottom:1px solid var(--border);vertical-align:top}.admin-body tbody tr:last-child td{border-bottom:0}.admin-body tbody tr:hover{background:#fafcf7}.admin-body td small{display:block;color:var(--muted);font-size:12px;line-height:1.6;margin-top:4px}.admin-body .mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;overflow-wrap:anywhere;max-width:270px}.admin-body td .button{font-size:12px;min-height:44px;padding:8px 12px;white-space:nowrap}.row-actions{display:flex;gap:8px}.pager{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:20px}.pager>span{color:var(--muted);font-size:13px;margin-right:auto}.pager .button{font-size:13px}.form-message{min-height:1.5em;color:var(--forest)}.form-message.error{color:var(--error)}.admin-section[aria-busy=true]{opacity:.7}.admin-body button:disabled{cursor:default}.action-row{display:flex;gap:12px;flex-wrap:wrap}#user-editor{margin-top:22px;scroll-margin-top:24px}.empty-cell{text-align:center;padding:38px!important;color:var(--muted)}@media(max-width:1000px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-grid{grid-template-columns:1fr}.stat-card{padding:20px}}@media(max-width:600px){.admin-body .site-header{height:auto;min-height:90px;padding-top:16px;padding-bottom:16px;gap:16px;flex-wrap:wrap}.admin-body .header-right{gap:10px}.admin-body .button-small{font-size:12px;min-height:44px}.admin-card{padding:20px 16px}.stat-grid{gap:12px}.stat-card{padding:16px}.stat-card>strong{font-size:28px}.admin-heading{align-items:flex-start;gap:12px}.admin-heading h1{font-size:28px}.admin-heading .muted{font-size:13px;overflow-wrap:anywhere}.admin-nav{gap:4px}.admin-nav a{padding:10px 12px;font-size:14px}.filter-row{gap:12px}.filter-row .field{flex-basis:100%}.order-filters .field{flex-basis:44%}.order-filters .field:first-child{flex-basis:100%}.admin-body .site-footer{font-size:12px}.pager{gap:8px}}
