/* Phase 53 - Customer & Admin Typography Contrast and UI Consistency */
:root{
  --sk-font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --sk-text: #172033;
  --sk-text-strong: #071226;
  --sk-text-muted: #526174;
  --sk-text-soft: #66758a;
  --sk-surface: #ffffff;
  --sk-surface-soft: #f7fafc;
  --sk-surface-warm: #fffaf3;
  --sk-border: #dbe5ee;
  --sk-accent: #0b7171;
  --sk-accent-dark: #065b5f;
  --sk-link: #075f68;
  --sk-success: #147a45;
  --sk-warning: #a15c00;
  --sk-danger: #b42318;
  --sk-info: #155eef;
  --sk-radius: 18px;
  --sk-radius-sm: 12px;
  --sk-shadow: 0 10px 30px rgba(15,23,42,.08);
  --sk-shadow-sm: 0 5px 18px rgba(15,23,42,.06);
}
html,body{font-family:var(--sk-font-family)!important;color:var(--sk-text)!important;background:#f4f7fa;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}
body, p, li, td, th, label, input, select, textarea, button, a, span, small{font-family:var(--sk-font-family)!important;letter-spacing:-.01em;}
p, li, td, label, input, select, textarea{font-size:15px;line-height:1.55;color:var(--sk-text);}
small,.muted,.text-muted,.help-text,.subtitle,.description,.card-subtitle,.supporting-text{color:var(--sk-text-muted)!important;line-height:1.5;}
a{color:var(--sk-link);text-decoration:none;} a:hover{text-decoration:none;color:var(--sk-accent-dark);}
h1,.h1,.page-title{font-size:clamp(26px,3vw,36px)!important;line-height:1.15!important;font-weight:650!important;color:var(--sk-text-strong)!important;margin:0 0 12px!important;}
h2,.h2,.section-title{font-size:clamp(21px,2.2vw,28px)!important;line-height:1.2!important;font-weight:620!important;color:var(--sk-text-strong)!important;margin:0 0 12px!important;}
h3,.h3,.card-title,.widget-title{font-size:clamp(18px,1.65vw,22px)!important;line-height:1.25!important;font-weight:600!important;color:var(--sk-text-strong)!important;margin:0 0 10px!important;}
h4,h5,h6,.dish-title,.dish-name,.product-title,.menu-card-title,.food-title{font-size:clamp(15.5px,1.35vw,18px)!important;line-height:1.3!important;font-weight:560!important;color:var(--sk-text-strong)!important;margin:0 0 6px!important;}
strong,b{font-weight:620;}.nav-label,.eyebrow,.badge-label{text-transform:none!important;letter-spacing:.01em!important;font-weight:600!important;color:var(--sk-text-muted)!important;}
.card,.panel,.box,.widget,.admin-card,.dashboard-card,.stat-card,.form-card,.table-card,.sk-card,.receipt-card,.report-card,section[class*="card"]{background:var(--sk-surface);border:1px solid var(--sk-border);border-radius:var(--sk-radius);box-shadow:var(--sk-shadow-sm);color:var(--sk-text);}
input,select,textarea,.form-control{color:var(--sk-text-strong)!important;background:#fff!important;border:1px solid var(--sk-border)!important;border-radius:14px!important;font-size:15px!important;font-weight:450!important;box-shadow:none!important;}
input::placeholder,textarea::placeholder{color:#64748b!important;opacity:1!important;} label,.form-label{color:var(--sk-text-strong)!important;font-size:14px!important;font-weight:560!important;margin-bottom:6px;}
button,.btn,.button,input[type="submit"],.action-btn{font-size:14.5px!important;font-weight:600!important;border-radius:14px!important;line-height:1.2!important;min-height:42px;letter-spacing:-.01em;}
.btn-primary,.primary-btn,button[type="submit"],input[type="submit"]{background:var(--sk-accent)!important;color:#fff!important;border-color:var(--sk-accent)!important;}.btn-primary:hover,.primary-btn:hover,button[type="submit"]:hover,input[type="submit"]:hover{background:var(--sk-accent-dark)!important;}
.table,table{color:var(--sk-text)!important;} th{font-size:13.5px!important;font-weight:650!important;color:#7a2e10!important;background:#fff7ed!important;} td{font-size:14.5px!important;color:var(--sk-text)!important;vertical-align:middle;}
.status-success,.success,.delivered{color:var(--sk-success)!important}.status-warning,.warning,.pending{color:var(--sk-warning)!important}.status-danger,.danger,.error{color:var(--sk-danger)!important}.status-info,.info{color:var(--sk-info)!important}
/* Customer frontend */
.sk-cx-header,.site-header{background:rgba(255,255,255,.96)!important;color:var(--sk-text-strong)!important;border-bottom:1px solid var(--sk-border)!important;box-shadow:0 8px 22px rgba(15,23,42,.06)!important;}
.sk-cx-logo span,.site-header .logo{color:var(--sk-text-strong)!important;font-weight:650!important;}.sk-cx-mainnav a,.site-header nav a{color:var(--sk-text)!important;font-weight:550!important}.sk-cx-mainnav a.active,.site-header nav a:hover{color:var(--sk-accent)!important;background:#eaf7f5!important;}
.menu-card,.dish-card,.product-card,.special-card,.category-card{overflow:hidden;background:#fff!important;color:var(--sk-text)!important;border:1px solid var(--sk-border)!important;border-radius:20px!important;box-shadow:var(--sk-shadow-sm)!important;}
.menu-card p,.dish-card p,.product-card p,.special-card p,.category-card p{color:var(--sk-text-muted)!important;font-size:14px!important;line-height:1.45!important}.price,.dish-price,.product-price{color:#083d40!important;font-weight:650!important;font-size:15.5px!important;}
/* Admin backend */
.admin-body,.admin-content{color:var(--sk-text)!important}.admin-sidebar{background:#0f172a!important;color:#e5edf7!important}.admin-sidebar .nav-link,.admin-sidebar .brand-text strong{color:#edf5ff!important}.admin-sidebar .nav-label,.admin-sidebar .brand-text span{color:#aebdd0!important}.admin-sidebar .nav-link:hover,.admin-sidebar .nav-link.active{background:rgba(255,255,255,.12)!important;color:#fff!important}.admin-topbar{background:#fff!important;color:var(--sk-text-strong)!important;border-bottom:1px solid var(--sk-border)!important}.owner-text strong{color:var(--sk-text-strong)!important}.owner-text span{color:var(--sk-text-muted)!important}
.admin-content .page-subtitle,.admin-content p,.admin-content .description{color:var(--sk-text-muted)!important}.admin-content .card,.admin-content .panel,.admin-content .form-card{padding:clamp(18px,2.2vw,28px);}
.alert,.notice,.message{border-radius:14px!important;font-size:14.5px!important;line-height:1.45!important;color:var(--sk-text-strong)!important}.alert-success{background:#ecfdf3!important;color:#075e37!important}.alert-warning{background:#fffaeb!important;color:#7a3d00!important}.alert-danger,.alert-error{background:#fef3f2!important;color:#912018!important}.alert-info{background:#eff8ff!important;color:#1849a9!important}
.theme-dark,.theme-dark body,.admin-body.theme-dark{--sk-text:#e7eef8;--sk-text-strong:#ffffff;--sk-text-muted:#c3cfdd;--sk-text-soft:#aab8c8;--sk-surface:#111827;--sk-surface-soft:#0b1220;--sk-border:#263244;background:#07111f!important;color:#e7eef8!important}.theme-dark .admin-topbar,.theme-dark .card,.theme-dark .panel,.theme-dark .widget,.theme-dark .admin-card{background:#111827!important;color:#e7eef8!important;border-color:#263244!important}.theme-dark input,.theme-dark select,.theme-dark textarea{background:#0b1220!important;color:#fff!important;border-color:#334155!important}.theme-dark th{background:#1f2937!important;color:#fde9d6!important}.theme-dark td{color:#e7eef8!important}.theme-dark small,.theme-dark .muted,.theme-dark .text-muted{color:#c3cfdd!important}
@media(max-width:768px){body{font-size:15px!important}h1,.h1,.page-title{font-size:26px!important}h2,.h2,.section-title{font-size:21px!important}h3,.h3,.card-title{font-size:18px!important}.dish-title,.dish-name,.product-title{font-size:16px!important}.card,.panel,.widget,.admin-card,.form-card{border-radius:16px!important}input,select,textarea{font-size:16px!important;min-height:46px}.btn,button{min-height:44px!important}.admin-content,.container,.page-wrap{padding-left:14px!important;padding-right:14px!important}}
