/* September 23 reference direction: generous account hierarchy, blue history
   canvas, quiet cards and one navy briefing metric. Functional modules remain
   intact; these rules share the existing light, dark and road theme tokens. */
html[data-theme="default"] {
  --page:#f5f8fc; --card:#fff; --surface:#fff; --surface-2:#f0f6fd;
  --surf2:#f5f8fc; --bluetint:#eaf3ff; --ink:#263e53; --ink2:#405974;
  --mute:#6b829d; --line:#dce6f0; --line2:#e8eef5; --blue:#1d65bf;
  --found:#1d65bf; --found-tint:#eef5ff; --found-line:#c9ddf5;
  --reference-history:#eaf3fd; --reference-navy:#1c3c55;
}
html[data-theme="dark"] { --reference-history:#172e45; --reference-navy:#163b56; }
html[data-theme="road"] { --reference-history:var(--bluetint); --reference-navy:#12354d; }
body { background:var(--surface-2); }
.app { max-width:1800px; margin:18px auto; width:calc(100% - 36px); min-height:calc(100dvh - 36px); border:1px solid var(--line); border-radius:24px; background:var(--page); }
.main { min-width:0; }
.side { padding:0 28px; gap:12px; height:82px; min-height:82px; background:var(--card); border-radius:24px 24px 0 0; }
.side .brand { margin-right:13px; width:170px; }
.side .s7lockup { width:170px; }
.side nav.sw-primary-nav { gap:0; }
.side nav.sw-primary-nav a { height:82px; padding:0 11px; font-size:13px; }
.side nav.sw-primary-nav a.on:after { background:var(--blue); left:11px; right:11px; }
.side .sw-navsrch { min-width:38px; width:38px; padding:0; justify-content:center; background:transparent; border-color:transparent; }
.side .sw-navsrch .srchtxt,.side .sw-navsrch kbd { display:none; }
.side .sw-navdt { font-size:11px; }
.side .sw-profile summary>span { display:none; }
.side .sw-profile summary .av { width:34px; height:34px; }
.wrap { max-width:1700px; padding:28px 34px 40px; }
body[data-signal-route=today] .wrap { padding-top:24px; padding-bottom:32px; }
.side .sw-today-view select { width:228px; max-width:228px; font-size:12px; background:var(--surface-2); }
.side .sw-today-view>span { display:none; }

/* Manager briefing: decision queues first, then the team and source detail. */
.w7mbriefing { max-width:1560px; margin:0 auto; }
.w7mhd { display:grid; grid-template-columns:minmax(0,2.25fr) minmax(250px,1fr); gap:28px; padding:24px; margin:0 0 24px; border-radius:20px; background:var(--surface-2); }
.w7mhdl { max-width:none; padding:1px 4px; }
.w7m-eyebrow { display:block; margin-bottom:8px; color:var(--blue); font:750 11px/1.5 var(--font-ui); letter-spacing:.13em; text-transform:uppercase; }
.w7mhd .w7dateline { font-size:11px; letter-spacing:.08em; color:var(--mute); }
.w7mhd .w7dateline img { display:none; }
.w7mhd .w7h1 { font-size:clamp(27px,2.6vw,42px); line-height:1.15; font-weight:650; letter-spacing:-.035em; margin:15px 0 15px; }
.w7mhd .w7sub { max-width:830px; font-size:14px; line-height:1.7; margin-bottom:18px; }
.w7mhd .w7chips { margin:0; padding-top:13px; border-top:1px solid var(--line); gap:12px; }
.w7mhd .w7chip { background:transparent; border-color:transparent; padding:0 16px 0 0; font-size:12px; color:var(--ink2); }
.w7mhd .w7chip+.w7chip { border-left:1px solid var(--line); padding-left:16px; border-radius:0; }
.w7mhd .w7chip .w7n { font-size:23px; font-weight:650; color:var(--ink); }
.w7m-feature { padding:23px 26px; border-radius:16px; background:var(--reference-navy,#1c3c55); color:#fff; align-self:stretch; display:flex; flex-direction:column; justify-content:center; }
.w7m-feature>span { color:#c9e0e8; font-size:10px; font-weight:700; line-height:1.5; letter-spacing:.13em; text-transform:uppercase; }
.w7m-feature>div:not(.w7m-feature-track) { display:flex; align-items:baseline; gap:12px; margin:4px 0 7px; }
.w7m-feature strong { color:#fff; font:500 64px/1.15 var(--font-ui); letter-spacing:-.05em; }
.w7m-feature b { color:#d9e6ee; font:400 28px/1.2 var(--font-ui); }
.w7m-feature p { color:#d7e5ed; margin:4px 0 15px; font-size:11px; }
.w7m-feature-track { height:5px; border-radius:8px; background:#59748a; overflow:hidden; }
.w7m-feature-track i { display:block; height:100%; min-width:0; background:#91caff; border-radius:8px; }
.w7m-sectionlabel { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:22px 2px 14px; }
.w7m-sectionlabel h2 { margin:0; color:var(--blue); font:750 11px/1.4 var(--font-ui); letter-spacing:.13em; text-transform:uppercase; }
.w7m-sectionlabel>span { color:var(--mute); font-size:11px; }
.w7msplit { grid-template-columns:minmax(0,1.65fr) minmax(310px,1fr); gap:18px; margin-top:0; align-items:stretch; }
.w7mside>.w7mneeds { height:100%; }
.w7mbriefing .w7mbox { border-radius:16px; }
.w7mbriefing .w7mboxh { padding:19px 22px 15px; border-bottom:0; align-items:center; gap:5px 12px; }
.w7mbriefing .w7mboxh h2 { font-size:19px; font-weight:650; letter-spacing:-.02em; }
.w7mbriefing .w7maside { font-size:11px; }
.w7mhandout .w7maside { flex-basis:100%; margin-left:0; }
.w7mneeds .w7mboxh>.w7maside { background:var(--guard-tint); color:var(--guard); font-size:13px; padding:5px 9px; border-radius:16px; font-weight:700; }
.w7mbriefing .w7mhopen { margin:0 18px 12px; padding:15px 17px; border-left:4px solid var(--blue); border-radius:4px 12px 12px 4px; background:var(--surface-2); }
.w7mhopen .w7nm .w7name { font-size:21px; line-height:1.2; }
.w7mhopen .w7nm { margin:5px 0; }
.w7mhopen .w7nm>.w7rm { flex-basis:100%; font-size:12px; }
.w7mhopen .w7rt { font-size:13px; line-height:1.5; }
.w7mbriefing .w7mhopanel { margin-top:9px; border:0; padding:9px 0 0; border-top:1px solid var(--line); background:transparent; border-radius:0; }
.w7mhopanel .w7mhopreview { font-size:12px; background:var(--card); }
.w7mbriefing .w7mhrow { grid-template-columns:minmax(0,1fr) 190px; padding:9px 21px; gap:12px; }
.w7mhrow .w7name { font-size:14px; }
.w7mhrow .w7rm,.w7mhrow .w7rt,.w7mhreason { font-size:12px; }
.w7mhright .w7msel { max-width:185px; width:100%; font-size:12px; }
.w7mbriefing .w7mneedrow { padding:13px 20px; }
.w7mneedrow:first-child { margin:0 16px 9px; padding:15px; border-radius:12px; background:var(--guard-tint); }
.w7mneedrow:first-child .w7name { font-size:20px; line-height:1.25; }
.w7mneedrow .w7rm,.w7mneedrow .w7rt { font-size:12px; line-height:1.5; }
.w7mneedrow .w7macts { padding:4px 0 0; }
.w7mbriefing .w7mboxf { padding:10px 20px 12px; font-size:11px; }
.w7mteam .w7mboxh { padding:12px 18px; }
.w7mteam .w7mboxh h2 { font-size:14px; }
.w7mteam-strip { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); padding:0 6px 10px; }
.w7mteam-person { padding:10px 13px; min-width:0; }
.w7mteam-person+.w7mteam-person { border-left:1px solid var(--line); }
.w7mteam-person>b { display:block; font-size:12px; font-weight:650; line-height:1.4; }
.w7mteam-person>small { display:block; margin:4px 0 2px; font-size:10px; color:var(--mute); }
.w7mteam-person>div { display:flex; align-items:baseline; gap:7px; flex-wrap:wrap; }
.w7mteam-person strong { font:550 29px/1.1 var(--font-ui); color:var(--ink); }
.w7mteam-person>div>span { font-size:10px; color:var(--mute); }
.w7mteam-person p { color:var(--blue); font-size:10px; line-height:1.4; margin:8px 0 0; }
.w7mteam-person .w7btn { min-height:28px; padding:4px 7px; margin-top:7px; font-size:11px; }
.w7mteam-detail>summary { padding:10px 18px; border-top:1px solid var(--line2); cursor:pointer; color:var(--blue); font-size:12px; }
.w7mbriefing .w7mroad { margin-top:20px; }
.w7mbriefing .w7mroad .w7mboxh { padding:13px 18px; }
.w7mbriefing .w7mroad h2 { font-size:15px; }
.w7mbriefing>.w7fresh { margin-top:18px; }

/* Company account profile. The original case heading is moved into this
   top slot so the name, owner, linked-record actions and provenance occur once. */
.w7c-page { max-width:none; }
.w7c-crumb { margin-bottom:11px; }
.w7c-profile-heading { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:18px; align-items:start; margin:0 0 24px; }
.w7c-profile-heading .w7ch { display:block; padding:0; border:0; background:transparent; }
.w7c-profile-heading .w7ch>.w7kicker { display:none; }
.w7c-profile-heading .w7cname { font:650 clamp(29px,3vw,43px)/1.12 var(--font-ui); letter-spacing:-.04em; margin:2px 0 11px; overflow-wrap:anywhere; }
.w7c-profile-heading .w7metaline { font-size:13px; line-height:1.5; gap:6px 12px; }
.w7c-profile-heading .w7sum { font-size:13px; line-height:1.6; max-width:900px; margin:11px 0 0; color:var(--ink2); }
.w7c-profile-heading .w7aka { font-size:12px; margin:0 0 8px; color:var(--mute); }
.w7c-profile-heading .w7legend-sample { margin-top:12px; max-width:900px; }
.w7c-profile-heading .w7ch-acts { margin-top:10px; padding:0; }
.w7c-profile-actions { display:flex; align-items:center; gap:10px; padding-top:5px; }
.w7c-profile-actions .w7btn { min-height:44px; padding:10px 17px; border-radius:12px; font-size:13px; }
.w7c-profile-actions .w7btn:not(.w7pri) { background:var(--card); border-color:transparent; font-variant-numeric:tabular-nums; }
.w7c-stat-strip { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); background:var(--card); border-radius:17px; margin:0 0 23px; padding:20px 4px; }
.w7c-stat-strip>div { padding:1px 22px; min-width:0; display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 10px; }
.w7c-stat-strip>div+div { border-left:1px solid var(--line); }
.w7c-stat-strip>div>span { flex-basis:100%; color:var(--mute); font-size:10px; letter-spacing:.17em; text-transform:uppercase; font-weight:700; margin-bottom:7px; }
.w7c-stat-strip strong { font:500 30px/1.2 var(--font-ui); color:var(--ink); letter-spacing:-.03em; }
.w7c-stat-strip small { font-size:11px; color:var(--mute); line-height:1.6; }
.w7c-stat-strip .w7c-stat-date { font-size:24px; }
.w7c-overview { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(0,.7fr) minmax(0,.7fr); gap:18px; align-items:stretch; margin:0 0 22px; }
.w7c-history-visual { background:var(--reference-history,var(--bluetint)); border-radius:18px; padding:25px 26px; min-width:0; }
.w7c-history-kicker { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; }
.w7c-history-kicker>span { color:var(--blue); font-size:10px; font-weight:750; letter-spacing:.2em; text-transform:uppercase; }
.w7c-history-kicker>small { font-size:10px; color:var(--mute); font-weight:650; text-transform:uppercase; white-space:nowrap; }
.w7c-history-visual h2 { font-size:22px; font-weight:550; letter-spacing:-.02em; margin:0 0 6px; }
.w7c-preview-sub { margin:0; color:var(--mute); font-size:12px; line-height:1.55; }
.w7c-history-chart { display:block; width:100%; height:auto; margin:16px 0 18px; border-top:1px solid color-mix(in srgb,var(--ink) 22%,transparent); padding-top:14px; overflow:visible; }
.w7c-chart-grid { stroke:var(--mute); stroke-opacity:.42; stroke-width:1; }
.w7c-chart-rule { stroke:var(--mute); stroke-opacity:.5; stroke-width:1; }
.w7c-chart-tick { fill:var(--mute); font:600 12px var(--font-ui); }
.w7c-chart-label { fill:var(--mute); font:650 12px var(--font-ui); letter-spacing:1.2px; text-transform:uppercase; }
.w7c-chart-count { fill:var(--blue); font:650 12px var(--font-ui); }
.w7c-history-chart circle { fill:var(--blue); stroke:var(--reference-history,var(--bluetint)); stroke-width:1.5; }
.w7c-chart-purchases circle { fill:var(--accent-2); }
.w7c-chart-service circle { fill:var(--mute); }
.w7c-recent-note { background:var(--card); border-left:4px solid var(--accent-2); border-radius:3px 12px 12px 3px; padding:14px 17px; }
.w7c-recent-note>span { display:flex; justify-content:space-between; gap:10px; color:var(--blue); font-size:10px; font-weight:750; letter-spacing:.15em; text-transform:uppercase; }
.w7c-recent-note time { color:var(--mute); letter-spacing:.04em; white-space:nowrap; }
.w7c-recent-note p { font-size:14px; color:var(--ink2); line-height:1.6; margin:9px 0 0; }
.w7c-textlink { border:0; padding:0; background:none; color:var(--blue); font:650 12px/1.6 var(--font-ui); cursor:pointer; text-align:left; min-height:36px; margin-top:10px; }
.w7c-textlink:hover { text-decoration:underline; text-underline-offset:3px; }
.w7c-textlink:focus-visible { outline:2px solid var(--blue); outline-offset:3px; border-radius:3px; }
.w7c-note-preview { min-width:0; border-top:5px solid var(--blue); padding:19px 20px 14px; border-radius:3px 3px 16px 16px; background:var(--card); display:flex; flex-direction:column; }
.w7c-note-preview-service { border-top-color:var(--mute); background:var(--surface-2); }
.w7c-note-preview>header { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.w7c-note-preview h2 { font-size:20px; font-weight:500; margin:0; }
.w7c-note-preview>header>span { color:var(--blue); font-size:15px; }
.w7c-note-preview>.w7c-preview-sub { font-size:11px; margin:7px 0 16px; }
.w7c-note-preview article { border-top:1px solid var(--line); padding:15px 0; }
.w7c-note-preview article time { display:block; color:var(--blue); font-size:10px; font-weight:750; text-transform:uppercase; letter-spacing:.13em; }
.w7c-note-preview-service article time { color:var(--mute); }
.w7c-note-preview article p { font-size:13px; line-height:1.6; color:var(--ink2); margin:9px 0 13px; overflow-wrap:anywhere; }
.w7c-note-preview article small { display:block; font-size:10px; line-height:1.5; color:var(--mute); }
.w7c-note-preview>.w7c-textlink { margin-top:auto; }
.w7c-note-empty,.w7c-history-empty { color:var(--mute); font-size:13px; line-height:1.6; padding:28px 0; }
.w7c-history-empty { min-height:180px; display:flex; align-items:center; }
#company-workflow-tools:empty,#company-note-summary-slot:empty { display:none; }
.w7c-intelligence-heading { display:flex; align-items:baseline; gap:14px; margin:28px 0 14px; }
.w7c-intelligence-heading>span { color:var(--blue); font-size:11px; font-weight:750; letter-spacing:.13em; text-transform:uppercase; }
.w7c-intelligence-heading p { margin:0; color:var(--mute); font-size:12px; }
.w7c-page>.w7case { background:transparent; border:0; }
.w7c-page>.w7case>.w7cbody { margin-top:0; }
.w7c-crmrail { background:var(--card); border-left:0; border-radius:13px; padding:12px; margin-bottom:16px; }
.w7c-crmrail .w7c-crmlink { background:transparent; border-color:transparent; min-height:36px; }
.w7c-crmrail .w7c-history { background:var(--bluetint); border-color:transparent; }
.w7c-utility { border:0; padding:16px 19px; border-radius:13px; }
.w7c-page .w7c-more { border-radius:15px; }
.w7c-page .w7csec>h2 { font-size:14px; }
.w7c-page .w7panel,.w7c-page .w7guardbox { border-radius:13px; padding:16px; }
.w7c-page .fleet-visuals .fleet-photo { border-radius:11px; }

/* Rep Today retains its full actionable case while adopting the same rhythm. */
.w7t-head { border-radius:17px; background:var(--surface-2); padding:20px 22px 17px; margin-bottom:17px; }
.w7t-head .w7h1 { letter-spacing:-.03em; }
.w7tday .w7t-body,.w7tday .w7t-pane { border-radius:15px; }
.w7tday .w7row.sel { background:var(--found-tint); }

/* Company and equipment discovery retain all geography as a visible choice. */
.company-search-options { display:flex; align-items:center; flex-wrap:wrap; gap:12px 18px; margin:14px 0 18px; padding:15px 18px; background:var(--card); border:1px solid var(--line); border-radius:14px; }
.company-search-options>label { display:flex; align-items:center; gap:9px; color:var(--ink2); font-size:12px; font-weight:650; }
.company-search-options>.equipment-search { flex:1; min-width:260px; }
.company-search-options select,.company-search-options input { min-height:39px; padding:8px 12px; border:1px solid var(--line); border-radius:9px; background:var(--surface-2); color:var(--ink); font:400 13px var(--font-ui); }
.company-search-options input { width:100%; min-width:0; }
.company-search-options select:focus-visible,.company-search-options input:focus-visible { outline:2px solid var(--blue); outline-offset:2px; }
.company-search-options>span { color:var(--mute); font-size:12px; line-height:1.5; }

@media(min-width:1100px) and (max-width:1450px) {
  .side { padding:0 21px; gap:9px; }
  .side .brand,.side .s7lockup { width:145px; }
  .side .brand { margin-right:5px; }
  .side nav.sw-primary-nav a { padding:0 8px; font-size:12px; }
  .side .sw-today-view select { width:215px; max-width:215px; }
  .side .sw-navdt { display:none; }
  .wrap { padding-left:26px; padding-right:26px; }
  .w7c-overview { grid-template-columns:minmax(0,1.5fr) minmax(0,.75fr) minmax(0,.75fr); gap:14px; }
  .w7c-history-visual { padding:22px; }
  .w7c-note-preview { padding:17px 17px 13px; }
  .w7mhd { gap:20px; }
}
@media(max-width:1099px) {
  .app { margin:12px auto; width:calc(100% - 24px); border-radius:20px; }
  .side { border-radius:20px 20px 0 0; padding:0 18px; gap:8px; }
  .side .brand,.side .s7lockup { width:133px; }
  .side .brand { margin-right:0; }
  .side nav.sw-primary-nav a { padding:0 7px; font-size:12px; }
  .side .sw-navdt { display:none; }
  .side .sw-today-view select { width:180px; max-width:180px; }
  .wrap { padding:24px; }
  .w7mhd { grid-template-columns:minmax(0,1.7fr) minmax(225px,1fr); padding:21px; }
  .w7mhd .w7h1 { font-size:30px; }
  .w7msplit { grid-template-columns:minmax(0,1.35fr) minmax(285px,1fr); gap:14px; }
  .w7mbriefing .w7mhrow { grid-template-columns:minmax(0,1fr); }
  .w7mhright { align-items:flex-start; flex-direction:row; align-items:center; flex-wrap:wrap; }
  .w7mteam-strip { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .w7mteam-person:nth-child(4) { border-left:0; }
  .w7mteam-person:nth-child(n+4) { border-top:1px solid var(--line); }
  .w7c-profile-heading { grid-template-columns:minmax(0,1fr); gap:12px; }
  .w7c-profile-actions { padding:0; }
  .w7c-overview { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
  .w7c-history-visual { grid-column:1/-1; }
  .w7c-history-chart { max-height:225px; }
  .w7c-stat-strip>div { padding:0 15px; }
  .w7c-stat-strip small { display:block; flex-basis:100%; }
}
@media(max-width:820px) {
  .app { margin:0; width:100%; border:0; border-radius:0; min-height:100dvh; }
  .side { border-radius:0; }
  .wrap,body[data-signal-route=today] .wrap { padding:20px 18px 120px; }
  .w7mhd { grid-template-columns:minmax(0,1fr); padding:20px; gap:16px; }
  .w7mhd .w7h1 { font-size:30px; }
  .w7mhd .w7sub { font-size:14px; }
  .w7m-feature { padding:18px 22px; min-height:140px; }
  .w7m-feature strong { font-size:48px; }
  .w7m-feature>span,.w7m-feature p { font-size:12px; }
  .w7m-sectionlabel { align-items:flex-start; }
  .w7m-sectionlabel h2,.w7m-sectionlabel>span { font-size:12px; }
  .w7m-sectionlabel>span { text-align:right; }
  .w7msplit { grid-template-columns:minmax(0,1fr); }
  .w7mbriefing .w7mboxh { padding:17px; }
  .w7mbriefing .w7maside,.w7mbriefing .w7mboxf { font-size:12px; }
  .w7mteam-person>small,.w7mteam-person>div>span,.w7mteam-person p,.w7mteam-person .w7btn { font-size:12px; }
  .w7mteam-person .w7btn { min-height:36px; }
  .w7mteam-detail>summary { font-size:13px; min-height:44px; }
  .w7c-profile-heading { display:none; }
  .w7c-stat-strip { grid-template-columns:repeat(2,minmax(0,1fr)); padding:0; }
  .w7c-stat-strip>div { padding:16px; }
  .w7c-stat-strip>div:nth-child(3) { border-left:0; }
  .w7c-stat-strip>div:nth-child(n+3) { border-top:1px solid var(--line); }
  .w7c-stat-strip>div>span { font-size:12px; letter-spacing:.07em; margin-bottom:3px; }
  .w7c-stat-strip small { font-size:12px; }
  .w7c-overview { display:block; }
  .w7c-history-visual { padding:20px; margin-bottom:17px; }
  .w7c-history-kicker { align-items:flex-start; flex-wrap:wrap; }
  .w7c-history-kicker>span,.w7c-history-kicker>small { font-size:12px; letter-spacing:.06em; }
  .w7c-history-visual h2 { font-size:23px; }
  .w7c-preview-sub { font-size:13px; }
  .w7c-history-chart { min-height:160px; margin:13px 0; }
  .w7c-recent-note>span { font-size:12px; letter-spacing:.04em; flex-wrap:wrap; }
  .w7c-recent-note p { font-size:14px; }
  .w7c-note-preview { padding:20px; margin-top:16px; }
  .w7c-note-preview h2 { font-size:22px; }
  .w7c-note-preview>.w7c-preview-sub,.w7c-note-preview article time,.w7c-note-preview article small { font-size:12px; }
  .w7c-note-preview article p { font-size:14px; }
  .w7c-textlink { font-size:13px; min-height:44px; }
  .w7c-intelligence-heading { display:block; }
  .w7c-intelligence-heading>span,.w7c-intelligence-heading p { font-size:12px; }
  .w7c-intelligence-heading p { margin-top:7px; }
  .w7t-head { padding:18px; }
  .company-search-options { align-items:stretch; gap:13px; padding:16px; }
  .company-search-options>label,.company-search-options>.equipment-search { width:100%; flex:none; min-width:0; display:grid; gap:7px; }
  .company-search-options select,.company-search-options input { width:100%; min-height:44px; font-size:14px; }
}
@media(max-width:480px) {
  .w7mteam-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .w7mteam-person:nth-child(3),.w7mteam-person:nth-child(5) { border-left:0; }
  .w7mteam-person:nth-child(4) { border-left:1px solid var(--line); }
  .w7mteam-person:nth-child(n+3) { border-top:1px solid var(--line); }
  .w7c-history-visual { padding:18px 15px; }
  .w7c-stat-strip strong { font-size:27px; }
  .w7c-stat-strip .w7c-stat-date { font-size:20px; }
}

/* Latest supplied manager reference: three navy metrics, two tinted queues. */
html[data-theme="default"] { --reference-warm:#fff1e8; --reference-warm-rule:#efdcd0; }
html[data-theme="dark"] { --reference-warm:#332921; --reference-warm-rule:#5b4230; }
html[data-theme="road"] { --reference-warm:var(--guard-tint); --reference-warm-rule:var(--guard-line); }
.w7mhd { grid-template-columns:minmax(0,1.3fr) minmax(440px,1fr); padding:27px 30px; gap:28px; align-items:center; }
.w7mhd .w7dateline,.w7m-queue-chips { display:none; }
.w7mhd .w7h1 { font-size:clamp(29px,2.6vw,41px); margin:24px 0 17px; }
.w7mhd .w7sub { margin-bottom:15px; font-size:13px; line-height:1.6; }
.w7m-pickup-help { color:var(--mute); font-size:11px; margin:13px 0 0; }
.w7m-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px; }
.w7m-feature { padding:18px 18px 15px; border-radius:16px; min-height:154px; justify-content:space-between; }
.w7m-feature>span { font-size:9px; letter-spacing:.09em; }
.w7m-feature>div:not(.w7m-feature-track) { gap:6px; margin:15px 0 6px; }
.w7m-feature strong { font-size:34px; font-weight:600; letter-spacing:-.03em; white-space:nowrap; }
.w7m-feature b { font-size:29px; white-space:nowrap; }
.w7m-feature p { font-size:10px; line-height:1.5; margin:8px 0 0; }
.w7m-feature-track { order:2; margin:0 0 5px; }
.w7m-feature p { order:3; }
.w7mbriefing .w7mhandout { background:var(--surface-2); border-color:transparent; }
.w7mbriefing .w7mneeds { background:var(--reference-warm); border-color:transparent; }
.w7mbriefing .w7mboxh { padding:18px 20px; }
.w7mbriefing .w7mboxh h2 { font-size:21px; }
.w7mneeds .w7mboxh>p { margin:0; flex-basis:100%; font-size:11px; color:var(--ink2); }
.w7m-priority-label,.w7m-queue-label { display:block; font-size:10px; line-height:1.4; font-weight:750; letter-spacing:.11em; text-transform:uppercase; color:var(--blue); }
.w7m-queue-label { margin:10px 20px 7px; }
.w7mneeds .w7m-priority-label,.w7mneeds .w7m-queue-label { color:var(--guard); }
.w7mbriefing .w7mhopen { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(180px,1fr); gap:20px; margin:0 18px 12px; padding:18px; background:var(--card); }
.w7mhprimary { min-width:0; }
.w7mhopen .w7nm .w7name { font-size:23px; }
.w7mhopen .w7kicker { font-size:10px; margin-top:10px; }
.w7mhopen .w7nm { margin:7px 0 8px; }
.w7mhopen .w7rt { font-size:12px; }
.w7mhopen .w7tn { font-size:17px; }
.w7mbriefing .w7mhopanel { min-width:0; padding:0 0 0 20px; margin:0; border-top:0; border-left:1px solid var(--line); display:flex; flex-direction:column; }
.w7mhopanel .w7mhoacts { gap:6px; margin-top:9px; }
.w7mhopanel .w7msel { width:100%; min-height:34px; font-size:13px; border-color:transparent; padding:0; }
.w7mhopanel .w7pri { width:100%; order:3; justify-content:center; margin-top:7px; }
.w7mhopanel .w7mhoacts>a { min-height:26px; padding:0; font-size:11px; border:0; color:var(--blue); }
.w7mhopanel .w7mhowhy,.w7mhopanel .w7mhopreview { font-size:11px; line-height:1.5; margin-top:7px; padding:0; border:0; background:transparent; }
.w7m-hand-details { margin-top:7px; }
.w7m-hand-details>summary { cursor:pointer; font-size:11px; color:var(--blue); line-height:1.5; padding:4px 0; }
.w7m-nextqueue { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 25px; padding:0 20px 10px; }
.w7mbriefing .w7mhrow { display:block; padding:0; min-width:0; border:0; border-bottom:1px solid var(--line); background:transparent; }
.w7mhrow>summary { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); align-items:center; gap:10px; list-style:none; cursor:pointer; padding:9px 0; }
.w7mhrow>summary::-webkit-details-marker,.w7mneed-closed>summary::-webkit-details-marker { display:none; }
.w7mhrow>summary>a { color:var(--ink); font-size:11px; font-weight:550; text-decoration:none; }
.w7mhrow>summary>a:hover { color:var(--blue); text-decoration:underline; }
.w7mhrow>summary>span { color:var(--ink2); font-size:10px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.w7mh-expanded { padding:8px 0 12px; }
.w7mh-expanded .w7name { font-size:13px; }
.w7mh-expanded .w7mhright { margin-top:9px; align-items:flex-start; }
.w7mbriefing .w7mneedrow:first-child { margin:0 18px 12px; padding:17px 18px; background:var(--card); }
.w7mneedrow:first-child .w7nm { margin:9px 0 7px; }
.w7mneedrow:first-child .w7name { font-size:21px; }
.w7mneeds .w7macts { padding-top:5px; }
.w7mneeds .w7macts .w7btn { font-size:11px; }
.w7mbriefing .w7mneed-closed { padding:0; margin:0 20px; border-top:0; border-bottom:1px solid var(--reference-warm-rule); }
.w7mneed-closed>summary { display:flex; align-items:baseline; justify-content:space-between; gap:10px; padding:8px 0; list-style:none; cursor:pointer; font-size:11px; color:var(--ink); }
.w7mneed-closed>summary>span:first-child { font-weight:550; }
.w7mneed-closed>summary>span:last-child { font-size:10px; color:var(--ink2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:43%; }
.w7mneed-closed[open] { padding-bottom:10px; }
.w7mneed-closed[open]>.w7nm { margin-top:10px; }
.w7mbriefing .w7mroad { margin:12px 0 4px; border:0; border-radius:0; background:transparent; }
.w7mroad>summary { display:flex; gap:20px; align-items:baseline; padding:3px 2px; cursor:pointer; list-style:none; font-size:11px; color:var(--ink2); }
.w7mroad>summary>b { font-size:10px; color:var(--guard); letter-spacing:.1em; text-transform:uppercase; white-space:nowrap; }
.w7mroad[open] { border-radius:12px; background:var(--card); }
.w7mroad[open]>summary { padding:12px 18px; }
.w7mteam { background:var(--surface-2); border-color:transparent; }
.w7mteam>.w7mboxh { display:none; }
.w7mteam-strip { padding:13px 5px; }
.w7mteam-person { padding:0 13px; position:relative; }
.w7mteam-person>b { font-size:11px; padding-right:34px; }
.w7mteam-person p { position:absolute; right:10px; top:1px; margin:0; font-size:10px; }
.w7mteam-person>small { margin-top:7px; }
.w7mteam-person strong { font-size:29px; }
.w7mteam .w7mboxf { background:var(--card); font-size:10px; }
.w7mteam-detail>summary { padding:7px 18px; font-size:11px; }
@media(max-width:1350px) and (min-width:821px) {
  .w7mhd { grid-template-columns:minmax(0,1.1fr) minmax(420px,1fr); padding:21px 24px; gap:20px; margin-bottom:19px; }
  .w7mhd .w7h1 { font-size:32px; margin:15px 0 12px; }
  .w7m-sectionlabel { margin-top:18px; margin-bottom:11px; }
  .w7m-feature { padding:16px 13px; }
  .w7m-feature strong { font-size:31px; }
  .w7m-feature b { font-size:25px; }
  .w7mbriefing .w7mhopen { grid-template-columns:minmax(0,1.15fr) minmax(170px,1fr); gap:14px; padding:15px; }
  .w7mbriefing .w7mhopanel { padding-left:14px; }
  .w7m-nextqueue { gap:0 15px; }
}
@media(max-width:1050px) {
  .w7mhd { grid-template-columns:minmax(0,1fr); gap:19px; }
  .w7mhd .w7h1 { margin-top:15px; }
  .w7m-feature { min-height:135px; }
  .w7mbriefing .w7mhopen { grid-template-columns:minmax(0,1fr); }
  .w7mbriefing .w7mhopanel { border-left:0; border-top:1px solid var(--line); padding:12px 0 0; }
  .w7m-nextqueue { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:820px) {
  .w7mhd { padding:20px; }
  .w7m-feature { min-height:145px; padding:14px 12px; }
  .w7m-feature strong { font-size:29px; }
  .w7m-feature b { font-size:22px; }
  .w7m-feature>span,.w7m-feature p,.w7m-pickup-help { font-size:12px; }
  .w7m-feature>span { letter-spacing:0; }
  .w7m-priority-label,.w7m-queue-label,.w7mneeds .w7mboxh>p { font-size:12px; }
  .w7mhrow>summary>a,.w7mhrow>summary>span,.w7mneed-closed>summary,.w7mneed-closed>summary>span:last-child,.w7mroad>summary,.w7mroad>summary>b { font-size:12px; }
  .w7mhrow>summary,.w7mneed-closed>summary { min-height:44px; padding:11px 0; }
  .w7mhopanel .w7mhowhy,.w7mhopanel .w7mhopreview,.w7mhopanel .w7mhoacts>a,.w7mneeds .w7macts .w7btn,.w7mteam .w7mboxf,.w7mteam-detail>summary { font-size:12px; }
  .w7m-hand-details>summary { font-size:12px; min-height:36px; }
  .w7mteam-person { padding:12px; }
  .w7mteam-person>b,.w7mteam-person p { font-size:12px; }
  .w7mteam-person p { position:static; margin-top:8px; }
  .w7mteam-person>b { padding-right:0; }
  .w7mroad>summary { align-items:flex-start; gap:13px; }
}
@media(max-width:450px) {
  .w7m-metrics { grid-template-columns:minmax(0,1fr); gap:8px; }
  .w7m-feature { display:grid; grid-template-columns:1fr auto; gap:0 10px; min-height:0; padding:13px 15px; }
  .w7m-feature>span { align-self:center; }
  .w7m-feature>div:not(.w7m-feature-track) { grid-column:2; grid-row:1/3; margin:0; }
  .w7m-feature p { margin:5px 0 0; }
  .w7m-feature-track { grid-column:1; margin-top:6px; }
}

/* Account working rhythm: record tools stay beside the heading, while every
   lower panel follows the same card and typography system as the overview. */
.w7c-profile-heading { margin-bottom:17px; gap:14px; }
.w7c-profile-heading .w7cname { font-size:clamp(28px,2.6vw,38px); margin-bottom:8px; }
.w7c-profile-heading .w7sum { font-size:12px; line-height:1.45; margin-top:8px; }
.w7c-profile-heading .w7ch-acts { margin-top:7px; }
.w7c-profile-heading .w7ch-acts .w7btn { min-height:30px; padding:5px 10px; font-size:11px; }
.w7c-profile-heading .w7legend-sample { padding:7px 10px; margin-top:8px; font-size:11px; }
.w7c-stat-strip { padding:15px 4px; margin-bottom:13px; border-radius:15px; }
.w7c-stat-strip>div>span { margin-bottom:3px; }
.w7c-stat-strip strong { font-size:27px; }
.w7c-stat-strip .w7c-stat-date { font-size:22px; }
.w7c-crmrail { margin:0 0 9px; padding:7px 10px; gap:4px; border-radius:12px; }
.w7c-crmrail .w7c-crmlink { min-height:34px; padding:6px 9px; font-size:12px; }
.w7c-page>#w7cMore { margin:0 0 12px; border-color:var(--line); border-radius:12px; }
.w7c-page>#w7cMore>summary { min-height:39px; padding:8px 15px; font-size:12px; }
.w7c-page>#w7cMore>summary .w7c-mc { font-size:12px; }
.w7c-page>#w7cMore>.w7c-mb { padding:15px 18px 18px; }
.w7c-page .crm-followups { margin:0 0 12px; padding:12px 16px; border-radius:12px; background:var(--card); border-color:var(--line); }
.w7c-page .crm-fu-head { gap:12px; }
.w7c-page .crm-fu-head h2 { font:650 14px/1.4 var(--font-ui); }
.w7c-page .crm-fu-head p { display:none; }
.w7c-page .crm-fu-head .w7btn { min-height:32px; font-size:12px; padding:6px 12px; background:var(--bluetint); border-color:transparent; color:var(--blue); }
.w7c-page .crm-fu-empty { margin:0; font-size:12px; line-height:1.4; color:var(--mute); }
.w7c-page .crm-followups:has(>.crm-fu-empty):not(:has(.crm-fu-form)) { display:grid; grid-template-columns:auto 1fr auto; gap:9px 17px; align-items:center; }
.w7c-page .crm-followups:has(>.crm-fu-empty):not(:has(.crm-fu-form))>.crm-fu-head { display:contents; }
.w7c-page .crm-followups:has(>.crm-fu-empty):not(:has(.crm-fu-form))>.crm-fu-head>button { grid-column:3; grid-row:1; }
.w7c-page .crm-followups:has(>.crm-fu-empty):not(:has(.crm-fu-form))>.crm-fu-empty { grid-column:2; grid-row:1; }
.w7c-page .crm-fu-list { margin-top:8px; }
.w7c-page .crm-fu-item { padding:10px 0; }
.w7c-page .crm-fu-item p { font-size:13px; margin:4px 0; }
.w7c-page .crm-fu-completed { grid-column:1/-1; }
.w7c-utility { margin-bottom:14px; padding:11px 15px; gap:4px 12px; border-radius:12px; }
.w7c-utility-place,.w7c-utility-place b { font-size:12px; }
.w7c-utility-label { font-size:10px; }
.w7c-utility-links { font-size:12px; }
.w7c-utility p { font-size:11px; }
.w7c-overview { margin-bottom:16px; gap:14px; }
.w7c-history-visual { padding:18px 21px; border-radius:15px; }
.w7c-history-kicker { margin-bottom:8px; }
.w7c-history-visual h2 { font-size:20px; margin-bottom:4px; }
.w7c-history-chart { margin:10px 0 11px; padding-top:9px; max-height:170px; }
.w7c-recent-note { padding:10px 13px; }
.w7c-recent-note p { margin-top:6px; font-size:13px; line-height:1.45; }
.w7c-note-preview { padding:14px 17px 9px; }
.w7c-note-preview h2 { font-size:18px; }
.w7c-note-preview>.w7c-preview-sub { margin:5px 0 10px; }
.w7c-note-preview article { padding:10px 0; }
.w7c-note-preview article p { margin:7px 0 8px; font-size:12px; line-height:1.5; }
.w7c-note-preview article small { font-size:10px; }
.w7c-overview .w7c-textlink { margin-top:5px; min-height:29px; font-size:11px; }
.w7c-intelligence-heading { margin:19px 0 11px; }
.w7c-page .w7csec { padding:16px 18px; border:1px solid var(--line); border-radius:15px; background:var(--card); }
.w7c-page .w7csec>h2 { margin:0 0 12px; padding:0; font-size:14px; color:var(--ink); }
.w7c-page .w7csec>h2 .w7q { background:var(--bluetint); color:var(--blue); border-color:transparent; }
.w7c-page .w7csec>.w7panel,.w7c-page .w7csec>.w7guardbox { padding:0; border:0; border-radius:0; background:transparent; }
.w7c-page .w7s-guard { background:var(--reference-warm,var(--guard-tint)); border-color:var(--reference-warm-rule,var(--guard-line)); }
.w7c-page .w7s-run { background:var(--surface-2); }
.w7c-page .w7evl { padding:9px 0; }
.w7c-page .w7evl .w7t,.w7c-page .w7runline,.w7c-page .w7say p { font-size:13px; line-height:1.55; }
.w7c-page .w7evl .w7s { font-size:11px; }
.w7c-page .w7recs li { padding:8px 0; font-size:12px; }
.w7c-page .w7c-rec .w6tablist { background:var(--surface-2); border:1px solid var(--line); padding:4px; border-radius:11px; gap:4px; }
.w7c-page .w7c-rec .w6tab { border-radius:8px; font-size:13px; padding:9px 13px; min-height:39px; border-bottom-color:transparent; }
.w7c-page .w7c-rec .w6tab[aria-selected=true] { background:var(--card); color:var(--blue); border:1px solid var(--line); }
.w7c-page .w7c-rec .w6panel { padding:17px 3px 0; }
.w7c-page .w7c-rec .w6sub { border:1px solid var(--line); padding:17px; border-radius:13px; background:var(--card); margin-bottom:13px; }
.w7c-page .w7c-rec .w6sub h4 { font-size:15px; margin:0 0 13px; }
.w7c-page .w6comp { padding:12px 14px; border-radius:12px; background:var(--surface-2); border:1px solid var(--line); margin:13px 0; }
.w7c-page .w6comp textarea { background:var(--card); border-radius:8px; padding:11px; font-size:14px; }
.w7c-page .w4tl { background:var(--card); }
.w7c-page .w4dayg { padding:13px 0; }
.w7c-page .w4when { color:var(--blue); font-size:11px; font-weight:650; }
.w7c-page .w4evb { background:var(--surface-2); padding:13px 15px; border-radius:11px; }
.w7c-page .w6ppl { border:1px solid var(--line); border-radius:13px; padding:5px 17px 14px; }
.w7c-page .w6ppl .pl { padding:14px 0; }
.w7c-page .w6ppl .pi b { font-size:14px; }
.w7c-page .w6ppl .pi span { font-size:12px; line-height:1.5; }
.w7c-page .fleet-visuals tbody tr { background:var(--surface-2); }
.w7c-page .fleet-visuals td { border-bottom:5px solid var(--card); }
.w7c-page .fleet-visuals .fleet-photo { background:var(--card); }
@media(max-width:820px) {
  .w7c-stat-strip { padding:0; }
  .w7c-stat-strip>div { padding:13px 15px; }
  .w7c-crmrail .w7c-crmlink { min-height:40px; font-size:12px; }
  .w7c-page .crm-followups:has(>.crm-fu-empty):not(:has(.crm-fu-form)) { grid-template-columns:1fr auto; gap:5px 10px; }
  .w7c-page .crm-followups:has(>.crm-fu-empty):not(:has(.crm-fu-form))>.crm-fu-head>button { grid-column:2; grid-row:1/3; min-height:40px; }
  .w7c-page .crm-followups:has(>.crm-fu-empty):not(:has(.crm-fu-form))>.crm-fu-empty { grid-column:1; grid-row:2; }
  .w7c-page .crm-fu-head { flex-direction:row; align-items:center; }
  .w7c-history-visual { padding:18px; }
  .w7c-history-chart { max-height:none; min-height:150px; }
  .w7c-note-preview h2 { font-size:20px; }
  .w7c-note-preview article p,.w7c-recent-note p { font-size:14px; }
  .w7c-note-preview article small,.w7c-overview .w7c-textlink,.w7c-utility p,.w7c-utility-label { font-size:12px; }
  .w7c-overview .w7c-textlink { min-height:40px; }
  .w7c-page .w7evl .w7t,.w7c-page .w7runline,.w7c-page .w7say p { font-size:14px; }
  .w7c-page .w7evl .w7s,.w7c-page .w4when { font-size:12px; }
  .w7c-page .w7c-rec .w6tab { min-height:44px; padding:9px; font-size:12px; }
  .w7c-page .w7c-rec .w6panel { padding-top:12px; }
}
