/* Marina — Chris's actual 10:19 screen, 2026-10-02.
   Template accents, never literal company colors. Load after rail-messaging,
   phone-composer and Home visibility. Paint only: no dimensions, flow,
   state, controls, draft, availability or delivery changes. */
:root[data-company-appearance] .office-console-shell {
  --office-color-edge:color-mix(in srgb,var(--accent) 54%,var(--line));
  --office-color-message:color-mix(in srgb,var(--accent) 18%,var(--surface));
}
/* A clear conversation identity and fine colored rule. */
:root[data-company-appearance] .office-console-shell :is(.conversation-head,.remote-page-head) {
  border-color:var(--office-color-edge);
}
:root[data-company-appearance] .office-console-shell .conversation-avatar {
  background:var(--accent);
  color:var(--accent-ink);
  box-shadow:0 0 0 4px var(--accent-soft);
}
:root[data-company-appearance] .office-console-shell :is(.conversation-title h1,.conversation-title h2) {color:var(--accent)}
/* Colored authors carry the rhythm; long prose keeps its quiet canvas. */
:root[data-company-appearance] .office-console-shell :is(.conversation .msg,.remote-message):not(.speaker-you) .msg-head :is(strong,.who) {color:var(--accent)}
:root[data-company-appearance] .office-console-shell :is(.conversation .msg,.remote-message)>.message-avatar:not(img):not(.is-staffmor) {
  background:var(--accent-soft);
  color:var(--accent);
  border-color:var(--office-color-edge);
}
:root[data-company-appearance] .office-console-shell :is(.conversation .msg,.remote-message).speaker-staffmor .msg-head :is(strong,.who) {color:var(--brass)}
:root[data-company-appearance] .office-console-shell :is(.conversation .msg,.remote-message).speaker-you>.message-avatar:not(img) {
  background:var(--brass-soft);
  color:var(--ink);
  border-color:var(--brass);
}
:root[data-company-appearance] .office-console-shell :is(.conversation .msg,.remote-message).speaker-you .message-main>.body {
  background:var(--office-color-message);
  border-color:var(--office-color-edge);
}
:root[data-company-appearance] .office-console-shell :is(.conversation .msg,.remote-message) :is(.msg-reply,.body a) {color:var(--accent)}
:root[data-company-appearance] .office-console-shell :is(.conversation .msg,.remote-message).speaker-you .body a {color:var(--ink)}
/* Steady console edge, a small warm recipient cue, existing ordinary Send. */
:root[data-company-appearance] .office-console-shell .office-console-dock>form.office-composer {
  border-color:var(--office-color-edge);
  box-shadow:0 2px 5px #00000005,inset 0 1px 0 var(--accent-soft);
}
:root[data-company-appearance] .office-console-shell .office-composer-address {color:var(--brass)}
:root[data-company-appearance] .office-console-shell .office-composer-address :is(p,label>span,.console-recipient) {color:var(--brass)}
/* Group chevrons and numeric badges use the existing template rail tokens.
   Do not recolor activity/status indicators or imply unread from color alone. */
:root[data-company-appearance] .office-console-shell .rail .rail-group-head::before {color:var(--rail-focus)}
:root[data-company-appearance] .office-console-shell .rail .rail-group-label {color:var(--rail-ink)}
:root[data-company-appearance] .office-console-shell .rail :is(.count,.rail-group-unread) {
  color:var(--rail-selected-ink);
  background:var(--rail-selected);
  border-radius:4px;
  box-shadow:0 0 0 2px var(--rail-selected);
}
:root[data-company-appearance] .office-console-shell .rail :is(.is-selected,[aria-current='page'],:has(>[aria-current='page'])) :is(.count,.rail-group-unread) {
  color:var(--rail-selected-ink);
  background:transparent;
  box-shadow:none;
}
/* Home and inbox: warm answers, cool work; all real count/state gates stay. */
:root[data-company-appearance] .office-console-shell :is(.home-dashboard-inbox-link,.home-focus-inbox,.inbox-zero) {
  background:var(--brass-soft);
  border-color:color-mix(in srgb,var(--brass) 52%,var(--line));
}
:root[data-company-appearance] .office-console-shell :is(.home-focus-priority-list,.answer-inbox .work-item) {
  background:var(--accent-soft);
  border-color:var(--office-color-edge);
}
:root[data-company-appearance] .office-console-shell .home-dashboard-inbox-head h2 {color:var(--brass)}
:root[data-company-appearance] .office-console-shell :is(.home-dashboard-inbox-title,.home-focus-inbox-label) {color:var(--ink)}
:root[data-company-appearance] .office-console-shell :is(.home-focus-priorities-head h2,.home-focus-priority-title,.answer-inbox h1) {color:var(--accent)}
