/* App palette override for the isolated Douceurs & Maison copy. */
:root {
  --mr-navy: #a96e86;
  --mr-navy-deep: #77576c;
  --mr-navy-soft: #fdf1f5;
  --mr-blue: #7994ad;
  --mr-gold: #c5a47b;
  --mr-gold-2: #d8bd98;
  --mr-gold-soft: #fff7ef;
  --mr-bg: #fffaf9;
  --mr-surface: #fffefd;
  --mr-card: #fffefd;
  --mr-ink: #35495c;
  --mr-muted: #68788a;
  --mr-line: #ede3e8;
  --mr-soft: #fdf1f5;
  --mr-cream: #fff7ef;
  --mr-shadow: 0 14px 38px rgba(101, 85, 104, .08);
  --mr-shadow-hover: 0 20px 44px rgba(101, 85, 104, .12);
}
.dm-app-brand { color: var(--mr-navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; font-weight: 700; letter-spacing: -.035em; }
body.mr-public .btn.gold, body.mr-login .btn.gold, body.mr-client .btn.gold, body.mr-admin .btn.gold, body.mr-terrain .btn.gold { background: var(--mr-gold) !important; color: #352a25 !important; border-color: var(--mr-gold) !important; }
body.mr-public .btn.primary, body.mr-login .btn.primary, body.mr-client .btn.primary, body.mr-admin .btn.primary, body.mr-terrain .btn.primary { background: var(--mr-navy) !important; border-color: var(--mr-navy) !important; }
body.mr-admin .tabbtn.active, body.mr-admin .navbtn.active, body.mr-terrain .tabbtn.active { background: var(--mr-navy) !important; border-color: var(--mr-navy) !important; }
body.mr-public a, body.mr-login a, body.mr-client a, body.mr-admin a, body.mr-terrain a { color: var(--mr-navy); }
body.mr-admin .sidebar, body.mr-terrain .sidebar { background: var(--mr-navy-deep) !important; }

/* 16 octobre 2026 — couleur SAP douce, lisibilité et sobriété. */
body.mr-login .mr-login-side { background:linear-gradient(150deg,#7b98af,#9e7894 70%,#c48ea6)!important; }
body.mr-login .mr-login-title { color:#76506b!important; }
body.mr-login #loginBtn { background:linear-gradient(135deg,#a96e86,#c58fa5)!important; border-color:#c5a47b!important; }
body.mr-login .mr-login-logo { width:min(270px,78%);height:auto;object-fit:contain; }
body.mr-login .mr-help { background:rgba(54,65,80,.18)!important; }
body.mr-login .mr-feature .mr-icon { border-color:rgba(255,255,255,.75)!important; }
body.mr-login .mr-feature span { color:#fff!important; }
body.mr-login .mr-login-side h2 em { color:#ffe8ed!important; }
body.mr-admin .sidebar, body.mr-terrain .sidebar { background:#765a70!important; }
body.mr-admin .navbtn.active, body.mr-admin .tabbtn.active, body.mr-terrain .tabbtn.active { background:#a96e86!important; }

/* 17 octobre 2026 — identité applicative premium, claire et mobile. */
body.mr-admin,body.mr-client,body.mr-terrain{background:linear-gradient(145deg,#fffaf9 0%,#fff 52%,#fdf3f6 100%)!important;color:#34495b!important}
body.mr-admin header,body.mr-terrain header{background:rgba(255,253,252,.96)!important;color:#35495c!important;border-bottom:1px solid #eadde3!important;box-shadow:0 8px 30px rgba(103,78,96,.07)!important;backdrop-filter:blur(14px)}
body.mr-admin .brand p,body.mr-terrain .brand p,body.mr-admin #adminEmail{color:#776b75!important;opacity:1!important}
body.mr-admin .shell,body.mr-client .wrap,body.mr-terrain main{padding-top:26px!important}
body.mr-admin .card,body.mr-client .card,body.mr-terrain section,body.mr-terrain .hello{background:rgba(255,255,255,.96)!important;border:1px solid #ecdee4!important;border-radius:22px!important;box-shadow:0 14px 36px rgba(99,76,94,.07)!important}
body.mr-admin .tab{background:#fff!important;border-color:#eadfe4!important;color:#655567!important}
body.mr-admin .tab.active{background:#9f7188!important;color:#fff!important;border-color:#9f7188!important}
body.mr-admin .btn.light,body.mr-terrain .btn,body.mr-client .btn.ghost{background:#fff!important;color:#76566a!important;border:1px solid #e6d7de!important}
body.mr-admin .btn.gold,body.mr-terrain .btn.gold,body.mr-client .btn.primary{background:linear-gradient(135deg,#c6a47c,#dfc29e)!important;color:#362d31!important;border:0!important}
body.mr-admin input,body.mr-admin select,body.mr-admin textarea,body.mr-client input,body.mr-client select,body.mr-client textarea,body.mr-terrain input,body.mr-terrain select,body.mr-terrain textarea{background:#fff!important;color:#35495c!important;border-color:#e5d9df!important}
body.mr-admin .metric strong{color:#9a657f!important}
body.mr-admin .item strong,body.mr-admin .notification-title,body.mr-admin h1,body.mr-admin h2,body.mr-admin h3,body.mr-client h1,body.mr-client h2,body.mr-client h3,body.mr-terrain h1,body.mr-terrain h2,body.mr-terrain h3{color:#6f5064!important}
body.mr-admin .nav-groups,body.mr-admin .terrain-direct-link{background:#fff!important;border:1px solid #e9dce2!important;box-shadow:none!important}
body.mr-admin .nav-group.active{background:#f3e3ea!important;color:#6f5064!important}
body.mr-terrain .terrain-sidebar{background:#fff!important;border:1px solid #e9dce2!important;box-shadow:0 12px 32px rgba(99,76,94,.06)!important}
body.mr-terrain .terrain-sidebar a{color:#67586a!important}
body.mr-terrain .terrain-sidebar a.active{background:#f4e5eb!important;color:#754f66!important}
body.mr-client .client-sidebar{background:linear-gradient(180deg,#8e687c,#73586b)!important}
body.mr-client .client-sidebar a{color:#fff!important}
body.mr-client .client-sidebar a.active{background:rgba(255,255,255,.18)!important}
@media(max-width:760px){body.mr-admin .top,body.mr-terrain .top{align-items:flex-start!important}body.mr-admin .brand,body.mr-terrain .brand{width:100%!important}body.mr-admin .actions{width:100%!important}body.mr-admin .actions>*{flex:1 1 auto!important}body.mr-admin .shell{padding:14px 10px 80px!important}body.mr-admin .card,body.mr-client .card,body.mr-terrain section,body.mr-terrain .hello{border-radius:18px!important;padding:15px!important}body.mr-terrain .terrain-layout{display:block!important}body.mr-terrain .terrain-sidebar{position:sticky!important;top:0!important;z-index:4!important;display:flex!important;overflow:auto!important;border-radius:0 0 18px 18px!important;padding:9px!important}body.mr-terrain .terrain-sidebar h3{display:none!important}body.mr-terrain .terrain-sidebar a{white-space:nowrap!important}}
