/* Admin refinements: compact summaries, readable content and touch-friendly controls. */
:root{--radius:8px;--radius-sm:8px}
.card,.report-card,.metric,.quick-action,.catalog-hub,.catalog-create-options>button{border-radius:8px;box-shadow:none}
.metric:after,.business-hero:after,.auth-orb{display:none}
.metric{min-height:116px;background:var(--surface);border-top:3px solid var(--line-strong)}
.metric-value{font-size:28px;line-height:1.2;letter-spacing:0;margin-top:12px}
.metric-label{font-size:12px}.metric-note{font-size:11px;line-height:1.45}
.metrics{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
.section-head h2{font-size:18px;line-height:1.35}.section-head p,.page-subtitle{font-size:12px;line-height:1.5}
.topbar h1,.auth-copy h1,.catalog-hub h2,.modal-head h2{letter-spacing:0}
.topbar{background:var(--surface);backdrop-filter:none;gap:16px}
.nav-item{border-radius:6px;min-height:44px}.nav-item.active{box-shadow:inset 0 0 0 1px var(--gold)}
.field>span{font-size:13px}.field input,.field select,.field textarea{font-size:14px;border-radius:6px;background:var(--surface);color:var(--text)}
.btn,.mini-btn,.filter-btn,.ops-tab{border-radius:6px}.mini-btn{height:auto;min-height:36px;font-size:12px}.filter-btn,.ops-tab{min-height:36px;font-size:12px}
.empty-state p,.compact-empty span{font-size:12px;line-height:1.6}.empty-state h3,.compact-empty b{font-size:14px}
.data-table th{font-size:11px}.data-table td{font-size:13px}.cell-title{font-size:14px}.cell-sub{font-size:12px}
.report-grid{margin-top:16px}.report-card{min-width:0}.report-card p{line-height:1.6}
.section{box-shadow:none}.catalog-hub{background:var(--surface);border-left:0;border-right:0;border-radius:0}
.auth-screen{background:var(--ink-2)}.auth-screen:before{display:none}.auth-card{background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow-lg)}
.auth-card .field{margin-bottom:14px}.auth-card.recovery-form .field{margin-bottom:0}
.auth-links .link-btn{min-height:44px}.auth-copy h1{line-height:1.2}.auth-foot{font-size:12px}
.form-message{font-size:13px;line-height:1.5}.security-note{font-size:12px;flex-wrap:wrap}.security-note span{font-size:12px}
.catalog-create-options>button{min-height:138px}.catalog-create-options b{line-height:1.4}
@media(max-width:980px){.topbar-actions{gap:6px}.global-search{width:min(240px,25vw)}}
@media(max-width:650px){
 .topbar{align-items:center;min-height:76px;padding:10px 12px;gap:6px}.topbar-left{align-items:center;gap:6px}.topbar h1{font-size:18px}.topbar .eyebrow{font-size:8px!important}
 .topbar-actions{gap:4px}.topbar-tool{display:none}.global-search{width:36px;height:40px}.topbar-actions .btn{width:40px;min-width:40px}.menu-btn{width:32px;flex:0 0 32px}
 .page-content{padding:16px 12px}.metrics,.finance-metrics,.catalog-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .metric{min-height:105px;padding:12px;border-top-width:2px}.metric-value{font-size:24px;margin-top:10px}.metric-label{font-size:12px}.metric-icon{width:26px;height:26px;flex:0 0 26px}.metric-top{gap:4px}.metric-note{display:none}
 .section-head{align-items:flex-start;flex-wrap:wrap;gap:10px}.section-head h2{font-size:17px}.section-head .btn{min-height:44px}
 .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-action{padding:14px}.quick-action b{font-size:13px}.quick-action small{font-size:12px}
 .filters{flex-wrap:wrap;overflow:visible;width:auto}.filter-btn,.ops-tab,.mini-btn{min-height:44px}.btn{min-height:44px;white-space:normal;text-align:center;line-height:1.4;padding:8px 12px}
 .auth-screen{padding:20px 16px}.auth-card{padding:24px}.auth-copy h1{font-size:26px}.auth-card input,.field input,.field select,.field textarea{font-size:16px}
 .auth-links{gap:6px}.auth-links .link-btn{font-size:13px}.recovery-form .link-btn{min-height:40px}
 .modal{border-radius:8px;max-height:94dvh}.modal-head h2{font-size:20px}.modal-head p:last-child{font-size:12px}.modal-actions{position:sticky;bottom:0;background:var(--surface);padding:12px 0;margin-top:16px;z-index:5}
 .report-filters{align-items:stretch;gap:10px}.report-filters>*{min-width:0;flex:1 1 140px}.report-filters .field{flex-basis:45%}.report-filters>div{flex-basis:100%}
 .catalog-hub{padding:18px 0}.catalog-create-options{gap:10px}.catalog-create-options>button{padding:14px;min-height:154px}.catalog-create-options small{font-size:12px}
 .catalog-toolbar .row-actions{flex-wrap:wrap}.catalog-toolbar .btn{flex:1 1 140px}.ops-two-col,.file-grid{grid-template-columns:1fr}
 .toolbar{gap:12px}.client-card-actions .btn{font-size:12px;min-height:44px}.client-card-meta .badge{font-size:11px}
 .product-editor-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.product-editor-sections .mini-btn{white-space:normal;text-align:left}
 .report-bars{gap:6px}.report-stage{grid-template-columns:100px minmax(0,1fr) 24px}.report-table{display:block;overflow:auto}
}
@media(max-width:360px){.topbar .eyebrow{display:none}.topbar h1{font-size:16px}.topbar-actions{gap:2px}.metric-value{font-size:22px}.metric-label{font-size:11px}}