/* Common work surfaces. Keep product colors as accents, not as status codes. */
[hidden]{display:none!important}
.adminFeedback{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:14px 18px;margin-bottom:22px;border:1px solid #e5bd6a;border-radius:12px;background:#fff9ee;color:#644717;line-height:1.5}
.adminFeedback button{width:auto;flex-shrink:0}
.adminSectionNav{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.adminSectionNav button{border:1px solid var(--line);border-radius:9px;padding:11px 16px;background:#fff;color:var(--navy);font:inherit;font-weight:600}
.adminSectionNav button[aria-pressed="true"]{background:#e8f1f8;border-color:#9bbcd5;color:#163f60;box-shadow:inset 0 -2px #2b73a5}
.adminSectionNav button:focus-visible,.terriovaAdminNavButton:focus-visible,button:focus-visible{outline:3px solid #2b73a5;outline-offset:3px}
button.secondary{border:1px solid #c6d6e2;border-radius:9px;background:#fff;color:#244f70;padding:10px 15px;font:inherit;font-weight:600;min-height:40px}
button.secondary:hover:not(:disabled){background:#f0f6fa;border-color:#90afc5}
button:disabled{cursor:not-allowed;opacity:.6}
select,textarea{font:inherit}
#clientsProductFilter{border:1px solid #c6d6e2;border-radius:9px;padding:10px 12px;background:#fff;color:#244f70;margin:0 0 12px 10px;min-height:42px}
#adminClientsView .adminViewHeading{display:flex;align-items:center;justify-content:space-between;gap:20px}
#adminClientsView .adminViewHeading>button{flex-shrink:0;width:auto}
#commercialFollowup{margin-top:22px;margin-bottom:22px}
.dashboardPanel{box-shadow:0 3px 12px #18344f04}
.dashboardQuickActions{margin-bottom:24px}
.dashboardCommercialMetrics .metric{border-radius:12px}
#adminRequestsView .adminRequestsFilters{margin-top:20px}
#adminRequestsView .adminRequestCard{margin-top:16px}
#requestsSitePane:empty::before{content:'Chargement des demandes…';color:var(--muted)}
#adminSettingsView .settingsSections{display:block}
#adminSettingsView .settingsSection{margin-top:0;margin-bottom:20px}
.productBadge[data-product-code="RH"]{background:#eaf3fc;color:#1c568b;border-color:#c5def5}
.productBadge[data-product-code="SALLE"]{background:#fff1e6;color:#8d4914;border-color:#f0d1b7}
.productBadge[data-product-code="PERI"]{background:#edf6e7;color:#3a651e;border-color:#d0e3c3}
.productCard[data-product-code="RH"]{border-top:3px solid #357ebb}
.productCard[data-product-code="SALLE"]{border-top:3px solid #de8a3e}
.productCard[data-product-code="PERI"]{border-top:3px solid #76a842}
.productBadge{white-space:normal;line-height:1.45}
.terriovaAdminNav{gap:4px;flex-wrap:wrap}
.terriovaAdminNavButton{min-height:48px}
.clientsToolbar input[type="search"]{min-width:180px}
.productDialog,.followupDialog,.productActivationDialog{max-width:calc(100vw - 24px)}
@media(max-width:760px){
  .topbar{height:auto;min-height:72px;gap:16px;padding:16px 20px;flex-wrap:wrap}
  .topRight{gap:12px;flex-wrap:wrap}
  .shell{padding:22px 16px}
  .adminSectionNav{gap:8px}
  .adminSectionNav button{flex:1 1 160px}
  .adminFeedback{align-items:flex-start;flex-direction:column}
  .dashboardQuickActions button{width:100%}
  .terriovaAdminNav{padding:8px 12px}
  .terriovaAdminNavButton{padding:10px 12px;font-size:14px}
  .followupRow{flex-direction:column;align-items:flex-start}
  .followupToolbar{flex-wrap:wrap}
  #adminClientsView .adminViewHeading{align-items:flex-start;flex-direction:column}
}
