@import url("app-compat-v5.5.0029.css");

/* Château La Châteline Operations Hub · V5.5.0029
   Authoritative production design layer.
   The imported compatibility foundation keeps older functional components
   intact; every current Admin/Office/Reception/Staff/Login surface is governed
   by this final layer so legacy visual themes cannot surface. */
:root{
  --ui-page:#f4f5f6;--ui-panel:#fff;--ui-line:#d9dde0;--ui-line-strong:#c7cdd1;
  --ui-ink:#273036;--ui-muted:#68737a;--ui-green:#0f5136;--ui-green-hover:#0b422c;
  --ui-soft:#f8f9f9;--ui-success:#0a7a50;--ui-danger:#b42318;--ui-warning:#a15c00;
  --ui-radius:3px;--ui-font:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}
html{background:var(--ui-page);overflow-x:clip}
body{font-family:var(--ui-font)}

/* Admin / Office */
body.backend-wa.exact-enterprise-v5529{background:var(--ui-page)!important;color:var(--ui-ink)!important;font-size:14px!important;overflow-y:visible!important;overflow-x:clip!important}
html:has(body.backend-wa.exact-enterprise-v5529){overflow-y:auto!important;overflow-x:clip!important}
body.backend-wa.exact-enterprise-v5529 :where(.card,.panel,.business-kpi,.business-attention,.checkout-main,.checkout-side){border-radius:var(--ui-radius)!important;box-shadow:none!important;border-color:var(--ui-line)!important}
body.backend-wa.exact-enterprise-v5529 :where(.input,input,select,textarea){border-radius:2px!important;border-color:var(--ui-line-strong)!important;font-size:13px!important}
body.backend-wa.exact-enterprise-v5529 .btn{border-radius:2px!important;font-size:12px!important;min-height:34px!important}
body.backend-wa.exact-enterprise-v5529 table{font-size:13px!important}
body.backend-wa.exact-enterprise-v5529 table th{font-size:11.5px!important}
body.backend-wa.exact-enterprise-v5529 .topbar{position:sticky!important;top:0!important;z-index:120!important;background:#fff!important}
body.backend-wa.exact-enterprise-v5529 .exact-module-nav{position:sticky!important;top:50px!important;z-index:110!important;background:#fff!important}
body.backend-wa.exact-enterprise-v5529 .hub-context-nav{position:sticky!important;top:88px!important;z-index:105!important;background:#fff!important}

/* Unified exact-style logins: no old pwa-v20007 visual theme */
body.exact-login-v5529{margin:0;min-height:100vh;background:var(--ui-page);color:var(--ui-ink);font:14px/1.5 var(--ui-font);display:grid;place-items:center;padding:24px}
body.exact-login-v5529 .login-shell{width:min(100%,430px);margin:0;padding:0}
body.exact-login-v5529 .login-card{background:#fff;border:1px solid var(--ui-line);border-top:4px solid var(--ui-green);border-radius:3px;box-shadow:none;padding:28px}
body.exact-login-v5529 .login-brand{display:flex;align-items:center;gap:14px;padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid #e5e8e7}
body.exact-login-v5529 .login-brand img{width:64px;height:54px;object-fit:contain}
body.exact-login-v5529 .login-brand strong{display:block;font:700 21px Georgia,serif;color:var(--ui-green)}
body.exact-login-v5529 .login-brand span{display:block;margin-top:3px;color:var(--ui-muted);font-size:12px}
body.exact-login-v5529 h1{margin:0 0 6px;font-size:23px;font-weight:560;color:var(--ui-ink)}
body.exact-login-v5529 p{color:var(--ui-muted)}
body.exact-login-v5529 .input{width:100%;min-height:42px;background:#fff;border:1px solid var(--ui-line-strong);border-radius:2px;padding:9px 11px;font-size:14px;box-sizing:border-box}
body.exact-login-v5529 .btn{border-radius:2px;min-height:40px;font-size:13px;font-weight:700}
body.exact-login-v5529 .btn:not(.secondary){background:var(--ui-green);color:#fff;border-color:var(--ui-green)}
body.exact-login-v5529 .btn:not(.secondary):hover{background:var(--ui-green-hover)}
body.exact-login-v5529 .mdesk-credit{text-align:center;margin-top:14px;color:var(--ui-muted);font-size:11px}

/* Staff / office PWA */
body.pwa-body.pwa-exact-v5529{background:var(--ui-page)!important;color:var(--ui-ink)!important;font-size:14px!important}
body.pwa-body.pwa-exact-v5529 :where(.card,.ops-focus,.ops-quick,.list-item,.pwa-card){border-radius:3px!important;box-shadow:none!important;border-color:var(--ui-line)!important}
body.pwa-body.pwa-exact-v5529 .bottom-nav{background:#fff!important;border-top:1px solid var(--ui-line)!important;box-shadow:none!important}
body.pwa-body.pwa-exact-v5529 .bottom-nav a{font-size:11px!important}

/* Reception */
body.reception-wa.pwa-exact-v5529{background:var(--ui-page)!important;color:var(--ui-ink)!important;font-size:14px!important}
body.reception-wa.pwa-exact-v5529 :where(.reception-card,.reception-easy-card,.reception-hero,.reception-action-card){border-radius:3px!important;box-shadow:none!important;border-color:var(--ui-line)!important;background:#fff!important}
body.reception-wa.pwa-exact-v5529 .reception-top{background:#fff!important;border-bottom:1px solid var(--ui-line)!important}
body.reception-wa.pwa-exact-v5529 .reception-mobile-nav{background:#fff!important;border-top:1px solid var(--ui-line)!important;box-shadow:none!important}

/* Reception POS */
body.reception-pos-v5529{background:var(--ui-page)!important;color:var(--ui-ink)!important;font:14px/1.45 var(--ui-font)!important}
body.reception-pos-v5529 :where(.pos-product,.pos-section){background:#fff!important;border:1px solid var(--ui-line)!important;border-radius:3px!important;box-shadow:none!important}
body.reception-pos-v5529 .pos-close{border-radius:2px!important}

@media(max-width:700px){
 body.exact-login-v5529{padding:12px;place-items:start center}
 body.exact-login-v5529 .login-card{padding:20px 18px}
 body.backend-wa.exact-enterprise-v5529{font-size:14px!important}
}
