/* Clearer storefront and dashboard hierarchy with comfortable touch targets. */
body { font-size: 15px; line-height: 1.55; }
.store-nav { font-size: 13px; }
.store-nav a, .account-tabs a { min-height: 42px; display: inline-flex; align-items: center; }
.store-search input, input, select, textarea { font-size: 14px; }
.account-heading { padding: 22px 0 26px; }
.account-heading h1 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -1.2px; }
.account-heading>div>p:last-child { font-size: 15px; line-height: 1.6; }
.account-heading-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.account-rank { display:inline-flex; align-items:center; gap:8px; padding:11px 15px; border:1px solid #e5e9dc; border-radius:14px; background:linear-gradient(135deg,#f7f8ee,#fff); color:#43563e; font-size:13px; font-weight:700; }
.account-tabs { gap:26px; margin-bottom:24px; }
.account-tabs a { font-size:14px; }
.account-action-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:0 0 24px; }
.account-action { display:flex; align-items:center; gap:14px; min-height:82px; padding:17px; color:#26352d; background:linear-gradient(135deg,#fff 0%,#f3f7ef 100%); border:1px solid #e6ebdf; border-radius:17px; box-shadow:0 5px 18px rgba(40,56,40,.045); }
.account-action:hover { transform:translateY(-2px); border-color:#cbd8c1; box-shadow:0 12px 24px rgba(40,56,40,.09); }
.account-action-icon { width:44px; height:44px; flex:0 0 44px; display:grid; place-items:center; color:#496343; background:linear-gradient(145deg,#e8f0df,#f8f8ed); border-radius:14px; }
.account-action strong { display:block; font-size:15px; }
.account-action small { display:block; margin-top:2px; color:#718071; font-size:12px; }
.metric-grid { gap:16px; }
.metric { min-height:164px; padding:24px; background:linear-gradient(145deg,#fff 0%,#f6f7f0 100%); box-shadow:0 7px 22px rgba(40,56,40,.045); }
.metric:nth-child(2) { background:linear-gradient(145deg,#fff 0%,#eff7f5 100%); }
.metric:nth-child(3) { background:linear-gradient(145deg,#fff 0%,#f5f1fb 100%); }
.metric.featured { background:linear-gradient(135deg,#29483a 0%,#45654a 100%); box-shadow:0 12px 26px rgba(37,68,50,.2); }
.metric p { font-size:14px; }
.metric strong { font-size:clamp(28px,3vw,36px); }
.section-heading { padding:24px; }
.section-heading h2, .member-card h2 { font-size:21px; }
.data-table { font-size:14px; }
.data-table th { font-size:11px; }
.data-table td { padding-top:17px; padding-bottom:17px; }
.status-pill { font-size:12px; }
.admin-sidebar { width:252px; background:linear-gradient(180deg,#20372e 0%,#294638 58%,#20372e 100%); padding:28px 15px 22px; }
.admin-sidebar .brand-mark { margin-bottom:34px; }
.admin-sidebar .brand-symbol { box-shadow:0 6px 18px rgba(0,0,0,.16); }
.admin-sidebar .eyebrow { font-size:11px; letter-spacing:.15em; margin-bottom:10px; }
.admin-sidebar nav { gap:8px; }
.admin-sidebar nav a { min-height:46px; padding:12px 14px; border:1px solid transparent; border-radius:12px; font-size:14px; color:#d4ded2; }
.admin-sidebar nav a:hover { background:rgba(255,255,255,.09); border-color:rgba(255,255,255,.07); transform:translateX(2px); }
.admin-sidebar nav a.selected { color:#263e2c; background:linear-gradient(110deg,#f4f5e7,#dce8d1); box-shadow:0 7px 18px rgba(0,0,0,.12); }
.admin-sidebar nav svg { width:19px; height:19px; }
.admin-sidebar-bottom { font-size:13px; line-height:1.7; }
.admin-sidebar-bottom a { min-height:38px; display:flex; align-items:center; font-size:13px; }
.admin-shell { grid-template-columns:252px minmax(0,1fr); background:#f5f7f2; }
.admin-topbar { min-height:78px; height:auto; padding:15px 34px; font-size:14px; }
.admin-content { padding:34px; }
.admin-content h1 { font-size:clamp(28px,3vw,36px)!important; line-height:1.2; }
.admin-content p { line-height:1.55; }
.admin-content button, .admin-content a, .admin-content select { touch-action:manipulation; }
.admin-stat-card { min-height:142px; padding:21px!important; border-radius:18px!important; box-shadow:0 9px 24px rgba(31,48,37,.055)!important; transition:transform .18s ease,box-shadow .18s ease; }
.admin-stat-card:hover { transform:translateY(-3px); box-shadow:0 15px 30px rgba(31,48,37,.1)!important; }
.admin-stat-card:nth-child(1) { background:linear-gradient(140deg,#fff 0%,#eef4ff 100%)!important; }
.admin-stat-card:nth-child(2) { background:linear-gradient(140deg,#fff 0%,#eaf7f0 100%)!important; }
.admin-stat-card:nth-child(3) { background:linear-gradient(140deg,#fff 0%,#f4effb 100%)!important; }
.admin-stat-card:nth-child(4) { background:linear-gradient(140deg,#fff 0%,#fff5e8 100%)!important; }
.admin-stat-card .admin-stat-label { font-size:12px; letter-spacing:.06em; }
.admin-stat-card .admin-stat-value { font-size:30px; line-height:1.2; }
.admin-shortcut { min-height:88px; padding:17px 18px!important; border-radius:16px!important; background:linear-gradient(135deg,#fff 0%,#f1f5ee 100%); border:1px solid #e4eade; box-shadow:0 6px 18px rgba(31,48,37,.04); font-size:14px; transition:transform .18s ease,box-shadow .18s ease; }
.admin-shortcut:hover { transform:translateY(-2px); box-shadow:0 12px 24px rgba(31,48,37,.09); }
.admin-shortcut-icon { width:38px; height:38px; display:grid; place-items:center; flex:0 0 38px; border-radius:12px; color:#466448; background:linear-gradient(145deg,#e7f0df,#f7f8ee); }
.admin-table-card { border-radius:18px!important; box-shadow:0 8px 24px rgba(31,48,37,.05)!important; }
.admin-content table { font-size:14px; }
.admin-content table th { font-size:11px; }
.admin-content table td { font-size:13px; }
@media (max-width:1023px) {
    .admin-shell { grid-template-columns:1fr; }
    .admin-sidebar { width:280px; padding-top:22px; }
    .admin-content { padding:26px 22px; }
}
@media (max-width:700px) {
    body { font-size:15px; }
    .account-heading { align-items:stretch; gap:16px; padding:18px 0 22px; }
    .account-heading h1 { font-size:30px; }
    .account-heading-actions { width:100%; }
    .account-heading-actions .primary-link { flex:1; text-align:center; justify-content:center; }
    .account-tabs { gap:21px; margin-left:-16px; margin-right:-16px; padding:0 16px; }
    .account-tabs a { font-size:13px; }
    .account-action-grid { grid-template-columns:1fr; gap:10px; }
    .account-action { min-height:72px; padding:13px 15px; }
    .metric-grid { grid-template-columns:1fr; gap:11px; }
    .metric { min-height:unset; padding:19px; }
    .metric p { margin-bottom:10px; }
    .metric strong { font-size:29px; }
    .section-heading { padding:18px; }
    .section-heading h2, .member-card h2 { font-size:19px; }
    .admin-topbar { padding:12px 14px; gap:8px; font-size:12px; }
    .admin-topbar>div { gap:8px; }
    .admin-topbar .status-pill { display:none; }
    .admin-content { padding:20px 14px; }
    .admin-intro { flex-direction:column; margin-bottom:21px; }
    .admin-intro .primary-link { width:100%; justify-content:center; }
    .admin-stat-card { min-height:120px; padding:16px!important; }
    .admin-stat-card .admin-stat-label { font-size:11px; }
    .admin-stat-card .admin-stat-value { font-size:26px; }
    .admin-shortcut { min-height:78px; padding:13px!important; }
    .admin-content table { font-size:13px; }
}
@media (prefers-reduced-motion:reduce) {
    .account-action,.admin-stat-card,.admin-shortcut,.admin-sidebar nav a { transition:none!important; }
    .account-action:hover,.admin-stat-card:hover,.admin-shortcut:hover,.admin-sidebar nav a:hover { transform:none; }
}
