/* Shared shell colours inherit the tenant accent and appearance preference. */
.wa-suite :is(.ww-root,.wb-root,.cr-hub,.wa-automation,.meet-hub,.wm-client),.wa-suite main.wa-automation {
 --brand-bg:light-dark(#f7f6f3,#18161d); --brand-panel:light-dark(#fffefd,#24212a);
 --brand-ink:light-dark(#271d30,#f9f4ff); --brand-muted:light-dark(#665e6c,#c2b9ca);
 --brand-line:light-dark(#dcd7dd,#48414f); --brand-rail:light-dark(#f0edef,#231f29);
 --brand-soft:light-dark(#ebe4f7,#352b45); --brand-accent:var(--workspace-accent,light-dark(#5a3890,#d6b8ff));
 --brand-action-ink:var(--workspace-accent-ink,light-dark(white,#251835))
}
.wa-suite :is(.ww-page-heading,.wm-header,.meet-heading) h1 {letter-spacing:-.045em}
.wa-suite [data-workspace-view=files] .ww-page-heading,.wa-suite [data-workspace-view=mail] .wm-client .wm-header,.wa-suite .meet-hub .meet-heading {background:linear-gradient(110deg,#342440,#593e77);color:white;border-radius:18px}
.wa-suite :is(.ww-resources,.wm-layout,.meet-card) {border-color:var(--brand-line);background-color:var(--brand-panel)}
.wa-suite :is(.wb-modal,.ww-dialog) {border-radius:18px;border:1px solid var(--brand-line);background:var(--brand-panel);color:var(--brand-ink)}
.wa-suite :is(.ww-nav-group,.wb-content) summary {cursor:pointer}
.wa-suite .wb-title h1 {font-family:Georgia,serif;font-weight:500;letter-spacing:-.045em}
.wa-suite :is(.wb-modal,.ww-dialog,.wb-content,.ww-main) :where(input,select,textarea):focus-visible {outline:2px solid var(--brand-accent);outline-offset:2px}

/* Business records and project creation share a page hierarchy with the assistant. */
.wa-suite .wb-content .wb-empty,.wa-suite .wb-content .wb-title,.wa-suite .cr-hub:not(:has(.cr-document-bar)) .cr-heading {
  padding:clamp(20px,3vw,38px);border:1px solid var(--brand-line);border-radius:20px;
  background:linear-gradient(110deg,var(--brand-panel),var(--brand-soft));color:var(--brand-ink)
}
.wa-suite .wb-content :is(.wb-title,.wb-empty) h1,.wa-suite .cr-hub:not(:has(.cr-document-bar)) .cr-heading h2,.wa-suite main.wa-automation h1 {font:500 clamp(32px,4vw,56px)/1.08 Georgia,serif;letter-spacing:-.045em;margin-block:8px 14px}
.wa-suite .wb-content :is(.wb-panel,.wb-kpis article),.wa-suite .cr-hub .cr-projects button {
  background:var(--brand-panel);color:var(--brand-ink);border:1px solid var(--brand-line);border-radius:14px
}
.wa-suite .cr-hub .cr-new {display:flex;flex-wrap:wrap;align-items:end;gap:12px;background:var(--brand-panel);color:var(--brand-ink);padding:18px;border:1px solid var(--brand-line);border-radius:14px}
.wa-suite .cr-new label {flex:1 1 200px;min-width:0}
.wa-suite .cr-new input:not([hidden]) {max-width:100%;box-sizing:border-box}
.wa-suite main.wa-automation {width:min(1080px,100%);box-sizing:border-box;margin-inline:auto;padding:clamp(20px,4vw,56px);background:var(--brand-bg);color:var(--brand-ink)}
.wa-suite main.wa-automation>div {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:12px}
.wa-suite main.wa-automation>div>button {min-width:0;text-align:left;padding:20px;border:1px solid var(--brand-line);border-radius:16px;background:var(--brand-panel);color:var(--brand-ink)}
.wa-suite main.wa-automation>div>button:hover {border-color:var(--brand-accent);background:var(--brand-soft)}
.wa-suite main.wa-automation button small {color:var(--brand-muted)}
@media(max-width:650px){
  .wa-suite .wb-content .wb-title,.wa-suite .cr-heading {flex-wrap:wrap;gap:10px}
  .wa-suite .cr-new button {flex:1 1 120px}
  .wa-suite main.wa-automation>div {grid-template-columns:minmax(0,1fr)}
}
