/* Shared surface contract. Reference: outputs/white-palette-mockup.png.
   White structural surfaces; tint is reserved for selected/semantic states. */
:root,body.app-shell {
  --paper:#fff;--surface:#fff;--ink:#18221c;--muted:#46534b;
  --product-muted:#46534b;--line:#e1e7e3;--product-border:#e1e7e3;
}
body {background-color:#fff}
body .service-story {--story-muted:#46534b;--story-line:#e1e7e3}
body :is(.profile-editor-intro,.profile-publication-note,.report-guidance,
  .reviews-summary,.account-menu-identity,.media-preview-stage,
  .messenger-link-step:not(:empty),.bio-toolbar) {background-color:#fff}
body #content[data-view=deal-detail] #composer {background-color:#fff}
body :is(.workspace-nav>a,.workspace-nav>button,.identity-role,
  .messenger-intro,.messenger-footnote,.auth-code-reserve,
  .profile-reputation,.project-client,.talent-summary,.expert-summary) {
  color:var(--muted);
}
body .workspace-nav [aria-current=page] {color:#176a18}
body :is(.messenger-state:not(.is-connected),.deal-review-empty,
  .lead,.intro>p,.page-heading>p) {color:var(--muted)}
body .social-login-button {background-color:#fff;border-color:#e1e7e3}
@media(hover:hover){body .social-login-button:hover {background:var(--provider-soft)}}
body .social-login-button:focus-visible {background:var(--provider-soft)}
body :is(.faithful-home-copy p,.faithful-home-actions span,.faithful-section>p,
  .faithful-categories p,.faithful-steps p,.faithful-features p,.faithful-line p,
  .faithful-audience-hero p,.guide-card p,.guide-bottom p,.story-brief-tip,
  .service-result p,.service-person,.service-supplier p,.expert-info p) {
  color:var(--muted);
}
/* Neutral overlay instead of an olive wash; the dialog remains the focus. */
html body dialog::backdrop,html body dialog#modal::backdrop {
  background:rgb(24 30 27 / 22%);backdrop-filter:blur(2px);
}
/* Keep labels/actions apart on the narrowest account-settings layout. */
@container(max-width:340px){
  .messenger-settings .messenger-card {grid-template-columns:40px minmax(0,1fr)}
  .messenger-settings .messenger-card button {grid-column:2;grid-row:3;justify-self:start}
}
