/* Cadence editorial shell — opt in with theme.shell = "editorial". */
body[data-shell="editorial"] {
  --cp-ink:#171716; --cp-paper:#f7f7f5; --cp-surface:#fff; --cp-muted:#6f706c;
  --cp-rule:#d9d9d4; --cp-soft:#ecece8; --cp-cadence:#542477; --cp-accent:var(--cp-cadence); --cp-tenant-accent:var(--tenant-accent,var(--cp-cadence));
  --cp-positive:#147a5a; --cp-warning:#a14e14; --cp-risk:#b23a48; --bg:var(--cp-paper); --canvas:var(--cp-paper);
  background:var(--cp-paper); color:var(--cp-ink); font-family:"Instrument Sans",Arial,sans-serif;
}
body[data-layout="topbar"][data-shell="editorial"] .app-shell { grid-template-rows:auto 1fr; }
body[data-layout="topbar"][data-shell="editorial"] .sidebar {
  min-height:78px; padding:0 30px; display:grid;
  grid-template-columns:minmax(230px,1fr) auto minmax(230px,1fr);
  align-items:center; gap:24px; background:var(--cp-surface);
  border-bottom:1px solid var(--cp-rule); box-shadow:none;
}
body[data-layout="topbar"][data-shell="editorial"] .sidebar::after { display:none; }
body[data-layout="topbar"][data-shell="editorial"] .sidebar-brand { justify-self:start; padding:0; margin:0; border:0; }
body[data-layout="topbar"][data-shell="editorial"] .sidebar-brand .wordmark {
  display:flex; align-items:center; color:var(--cp-ink);
  font-family:"Instrument Sans",Arial,sans-serif; font-size:18px;
  font-weight:600; letter-spacing:-.025em;
}
/* The wordmark IS the mark (brand-contract.md, FedEx logic): on a white surface "Cadence" is ink and
   "Plan" is jewel letters — P green, l blue, a purple, n red. The editorial sheet was forcing every
   span to ink with !important, which flattened it to a monochrome logotype. Only "Cadence" takes ink;
   the jewel letters keep their own colors.
   The flex container also swallowed the whitespace text node between the two words, so it rendered
   "CadencePlan" — hence the explicit gap. */
body[data-layout="topbar"][data-shell="editorial"] .sidebar-brand .wordmark .wm-1 {
  color:var(--cp-ink)!important; font-size:inherit; font-weight:inherit;
}
body[data-layout="topbar"][data-shell="editorial"] .sidebar-brand .wordmark .wm-2 {
  font-size:inherit; font-weight:inherit; margin-left:.28em;
}
body[data-layout="topbar"][data-shell="editorial"] .sidebar-brand .wordmark .wm-2 .wp1 { color:#047857!important; }
body[data-layout="topbar"][data-shell="editorial"] .sidebar-brand .wordmark .wm-2 .wp2 { color:#1e40af!important; }
body[data-layout="topbar"][data-shell="editorial"] .sidebar-brand .wordmark .wm-2 .wp3 { color:#6b21a8!important; }
body[data-layout="topbar"][data-shell="editorial"] .sidebar-brand .wordmark .wm-2 .wp4 { color:#c81e1e!important; }
body[data-layout="topbar"][data-shell="editorial"] .sidebar-brand .brand-mark {
  width:29px; height:27px; margin-right:11px; transform:none;
  border-radius:0; background:transparent; padding:0;
}
body[data-layout="topbar"][data-shell="editorial"] .sidebar-brand > span {
  margin:2px 0 0 40px; color:var(--cp-muted); font-size:12px; line-height:1;
}
body[data-layout="topbar"][data-shell="editorial"] .sidebar-nav { justify-self:center; height:100%; gap:22px; }
body[data-layout="topbar"][data-shell="editorial"] .nav-group,
body[data-layout="topbar"][data-shell="editorial"] .nav-group-flat { height:100%; }
body[data-layout="topbar"][data-shell="editorial"] .nav-group-label,
body[data-layout="topbar"][data-shell="editorial"] .nav-item-top,
body[data-layout="topbar"][data-shell="editorial"] .nav-group[style*="--nav-accent"] > .nav-group-label,
body[data-layout="topbar"][data-shell="editorial"] .nav-group[style*="--nav-accent"] .nav-item-top {
  height:100%; padding:0 1px; color:var(--cp-muted)!important;
  background:transparent!important; border-bottom:2px solid transparent!important;
  font-size:14px; font-weight:400;
}
body[data-layout="topbar"][data-shell="editorial"] .nav-group:hover > .nav-group-label,
body[data-layout="topbar"][data-shell="editorial"] .nav-group:focus-within > .nav-group-label,
body[data-layout="topbar"][data-shell="editorial"] .nav-item-top:hover { color:var(--cp-ink)!important; }
body[data-layout="topbar"][data-shell="editorial"] .nav-group:has(.nav-item.active) > .nav-group-label,
body[data-layout="topbar"][data-shell="editorial"] .nav-item-top.active {
  color:var(--cp-ink)!important; border-bottom-color:var(--cp-accent)!important; font-weight:500;
}
body[data-layout="topbar"][data-shell="editorial"] .nav-soon .nav-item-top { color:#aaa9a4!important; }
body[data-layout="topbar"][data-shell="editorial"] .nav-group-items {
  top:calc(100% + 1px); background:var(--cp-surface); border:1px solid var(--cp-rule);
  border-radius:8px; box-shadow:0 18px 45px rgba(23,23,22,.12);
}
body[data-layout="topbar"][data-shell="editorial"] .nav-group-items .nav-item { color:var(--cp-muted); font-weight:400; }
body[data-layout="topbar"][data-shell="editorial"] .nav-group-items .nav-item:hover,
body[data-layout="topbar"][data-shell="editorial"] .nav-group-items .nav-item.active {
  color:var(--cp-ink); background:var(--cp-paper);
}
.shell-actions { display:none; }
body[data-layout="topbar"][data-shell="editorial"] .shell-actions {
  justify-self:end; display:flex; align-items:center; gap:18px;
}
body[data-layout="topbar"][data-shell="editorial"] .shell-actions button {
  border:0; padding:8px 0; background:transparent; color:var(--cp-muted);
  font:inherit; font-size:13px; cursor:pointer;
}
body[data-layout="topbar"][data-shell="editorial"] .shell-actions .shell-ask {
  padding:9px 16px; color:var(--cp-ink); border:1px solid var(--cp-rule); border-radius:999px;
}
body[data-layout="topbar"][data-shell="editorial"] .sidebar-footer { display:none; }
body[data-layout="topbar"][data-shell="editorial"] .topbar { display:none!important; }
body[data-shell="editorial"] .main, body[data-shell="editorial"] .view { background:var(--cp-paper); }
@media(max-width:1040px){
  body[data-layout="topbar"][data-shell="editorial"] .sidebar { grid-template-columns:auto 1fr auto; padding:0 20px; }
  body[data-layout="topbar"][data-shell="editorial"] .sidebar-nav { gap:14px; }
}
@media(max-width:820px){
  body[data-layout="topbar"][data-shell="editorial"] .sidebar { min-height:auto; grid-template-columns:1fr auto; padding:13px 18px; }
  body[data-layout="topbar"][data-shell="editorial"] .sidebar-nav { grid-column:1/-1; justify-self:stretch; overflow-x:auto; padding-top:8px; }
}
/* Executive editorial composition — live FV data, shared primitives. */
body[data-shell="editorial"] .view { padding:0 32px 42px; }
.cp-exec { max-width:1560px; margin:0 auto; color:var(--cp-ink); }
.cp-exec-context {
  min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:24px;
  color:var(--cp-muted); border-bottom:1px solid var(--cp-rule); font-size:13px;
}
.cp-exec-context b { color:var(--cp-ink); font-weight:500; }
.cp-exec-context-right { display:flex; align-items:center; gap:16px; }
.cp-period .seg { display:flex; padding:3px; gap:2px; border:1px solid var(--cp-rule); border-radius:999px; background:var(--cp-surface); }
.cp-period .seg-btn {
  min-height:0; padding:7px 13px; border:0; border-radius:999px; background:transparent;
  color:var(--cp-muted); font-size:12px; font-weight:400;
}
.cp-period .seg-btn.active { color:#fff; background:var(--cp-ink); box-shadow:none; }
.cp-exec-hero {
  display:grid; grid-template-columns:minmax(0,1.5fr) minmax(320px,.64fr);
  gap:58px; align-items:start; padding:52px 0 42px;
}
.cp-kicker {
  margin:0 0 13px; color:var(--cp-accent); font-size:11px; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase;
}
.cp-exec-hero h1 {
  max-width:850px; margin:0; color:var(--cp-ink);
  font-family:"Instrument Serif",Georgia,serif; font-size:clamp(44px,4.6vw,72px);
  font-weight:400; line-height:.98; letter-spacing:-.035em;
}
.cp-exec-hero h1 em { color:var(--cp-accent); font-style:normal; }
.cp-exec-read {
  max-width:760px; margin:22px 0 0; color:var(--cp-muted);
  font-size:15px; line-height:1.65;
}
.cp-cadence-read {
  padding:26px; color:#fff; background:var(--cp-ink); border-radius:10px;
  box-shadow:0 18px 50px rgba(18,18,17,.12);
}
.cp-ai-label {
  display:flex; align-items:center; gap:10px; margin:0 0 28px;
  color:#aaa9a4; font-size:10px; font-weight:600; letter-spacing:.13em; text-transform:uppercase;
}
.cp-ai-label i { width:9px; height:9px; background:var(--cp-cadence); transform:rotate(45deg); }
.cp-cadence-read h2 {
  margin:0 0 12px; color:#fff; font-family:"Instrument Serif",Georgia,serif;
  font-size:28px; font-weight:400; line-height:1.04;
}
.cp-cadence-read > p:not(.cp-ai-label) { margin:0; color:#c5c4bf; font-size:13px; line-height:1.58; }
.cp-cadence-read button {
  margin-top:22px; padding:0 0 5px; border:0; border-bottom:1px solid #777671;
  background:transparent; color:#fff; font:inherit; font-size:12px; cursor:pointer;
}
.cp-proof-strip {
  display:grid; grid-template-columns:repeat(5,minmax(0,1fr));
  border-top:1px solid var(--cp-rule); border-bottom:1px solid var(--cp-rule);
}
.cp-proof {
  position:relative; display:grid; gap:5px; min-width:0; padding:22px 20px;
  text-align:left; border:0; border-right:1px solid var(--cp-rule);
  background:transparent; cursor:pointer;
}
.cp-proof:first-child { padding-left:0; }
.cp-proof:last-child { border-right:0; }
.cp-proof.active::after {
  content:""; position:absolute; left:0; right:20px; bottom:-1px; height:3px; background:var(--cp-accent);
}
.cp-proof > span { color:var(--cp-muted); font-size:11px; }
.cp-proof > strong {
  color:var(--cp-ink); font-family:"Instrument Serif",Georgia,serif;
  font-size:32px; font-weight:400; letter-spacing:-.02em;
}
.cp-proof > small { font-size:11px; }
.cp-proof .positive { color:var(--cp-positive); }
.cp-proof .warning { color:var(--cp-warning); }
.cp-evidence {
  display:grid; grid-template-columns:minmax(0,1.46fr) minmax(310px,.54fr);
  gap:58px; padding-top:40px;
}
.cp-section-head {
  display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:16px;
}
.cp-section-head h2 { margin:0; color:var(--cp-ink); font-size:18px; font-weight:500; }
.cp-section-head span { color:var(--cp-muted); font-size:11px; }
.cp-trajectory .hl-chart { width:100%; max-height:315px; }
.cp-movers { padding-left:34px; border-left:1px solid var(--cp-rule); }
.cp-mover {
  display:block; width:100%; padding:13px 0 15px; text-align:left;
  border:0; border-bottom:1px solid var(--cp-rule); background:transparent; cursor:pointer;
}
.cp-mover-line { display:flex; justify-content:space-between; gap:16px; color:var(--cp-ink); font-size:12px; }
.cp-mover-line b { font-weight:600; }
.cp-mover-bar { display:block; height:5px; margin:9px 0 5px; overflow:hidden; background:var(--cp-soft); }
.cp-mover-bar i { display:block; height:100%; background:var(--cp-ink); }
.cp-mover.risk .cp-mover-bar i { background:var(--cp-risk); }
.cp-mover small { color:var(--cp-muted); font-size:10px; }
.cp-source { padding-top:34px; color:var(--cp-muted); font-size:10px; }
@media(max-width:920px){
  body[data-shell="editorial"] .view { padding-inline:20px; }
  .cp-exec-hero,.cp-evidence { grid-template-columns:1fr; }
  .cp-proof-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cp-proof { border-bottom:1px solid var(--cp-rule); }
  .cp-movers { padding:28px 0 0; border-left:0; border-top:1px solid var(--cp-rule); }
}
@media(max-width:620px){
  .cp-exec-context,.cp-exec-context-right { align-items:flex-start; flex-direction:column; }
  .cp-exec-context { padding:16px 0; }
  .cp-exec-hero { gap:30px; padding:36px 0 30px; }
  .cp-proof-strip { grid-template-columns:1fr; }
  .cp-proof { padding-left:0; border-right:0; }
}
/* Editorial sign-in */
.login-story { display:none; }
.login-password-label { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
body[data-shell="editorial"] .login-screen {
  min-height:100vh; padding:0; display:grid; place-items:stretch;
  grid-template-columns:minmax(0,1.35fr) minmax(420px,.65fr);
  color:var(--cp-ink); background:var(--cp-paper);
}
body[data-shell="editorial"] .login-screen.hidden { display:none; }
body[data-shell="editorial"] .login-strip { display:none; }
body[data-shell="editorial"] .login-story {
  position:relative; min-height:100vh; padding:44px clamp(44px,6vw,104px) 38px;
  display:flex; flex-direction:column; overflow:hidden;
  background:var(--cp-surface); border-right:1px solid var(--cp-rule);
}
body[data-shell="editorial"] .login-story::after {
  content:""; position:absolute; width:480px; height:480px; left:-220px; bottom:-300px;
  border:1px solid color-mix(in srgb,var(--cp-accent) 26%,transparent); border-radius:50%;
  box-shadow:0 0 0 82px color-mix(in srgb,var(--cp-accent) 3%,transparent),0 0 0 164px color-mix(in srgb,var(--cp-accent) 2%,transparent);
}
body[data-shell="editorial"] .login-story-brand {
  position:relative; z-index:1; display:flex; align-items:center; gap:12px;
  color:var(--cp-ink); font-family:"Instrument Sans",Arial,sans-serif; font-size:18px; font-weight:600; letter-spacing:-.025em;
}
body[data-shell="editorial"] .login-story-brand svg {
  width:30px; height:28px; padding:0; overflow:visible; border-radius:0; background:transparent;
}
body[data-shell="editorial"] .login-story-copy { position:relative; z-index:1; margin:auto 0; max-width:760px; }
body[data-shell="editorial"] .login-story-copy > p {
  margin:0 0 18px; color:var(--cp-accent); font-size:11px; font-weight:600;
  letter-spacing:.15em; text-transform:uppercase;
}
body[data-shell="editorial"] .login-story-copy h1 {
  margin:0; font-family:"Instrument Serif",Georgia,serif; font-size:clamp(56px,6vw,92px);
  font-weight:400; line-height:.92; letter-spacing:-.045em;
}
body[data-shell="editorial"] .login-story-copy h1 br { display:none; }
body[data-shell="editorial"] .login-story-copy h1 em {
  display:block; margin-top:.1em; color:var(--cp-accent); font-style:normal;
}
body[data-shell="editorial"] .login-story-copy > span {
  display:block; max-width:610px; margin-top:30px; color:var(--cp-muted); font-size:15px; line-height:1.65;
}
body[data-shell="editorial"] .login-story-proof {
  position:relative; z-index:1; display:flex; gap:0; color:var(--cp-muted);
  font-size:10px; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
}
body[data-shell="editorial"] .login-story-proof span { padding-right:22px; margin-right:22px; border-right:1px solid var(--cp-rule); }
body[data-shell="editorial"] .login-story-proof span:last-child { border:0; }
body[data-shell="editorial"] .login-panel {
  align-self:center; width:min(100%,520px); margin:0 auto; padding:54px clamp(42px,5vw,84px);
  background:transparent; border:0; border-radius:0; box-shadow:none;
}
body[data-shell="editorial"] .login-lockup { display:none; }
body[data-shell="editorial"] .login-tenant {
  margin:0 0 64px; text-align:left; color:var(--cp-muted); font-size:12px;
}
body[data-shell="editorial"] .login-tenant #login-name { color:var(--cp-ink); font-weight:500; }
body[data-shell="editorial"] .login-eyebrow {
  margin:0 0 12px!important; text-align:left!important; color:var(--cp-accent)!important;
  font-size:10px!important; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
}
body[data-shell="editorial"] .login-panel h2 {
  max-width:380px; margin:0 0 12px; text-align:left; font-family:"Instrument Serif",Georgia,serif;
  font-size:40px; font-weight:400; line-height:1.02; letter-spacing:-.035em;
}
body[data-shell="editorial"] .login-panel #login-panel-sub {
  margin:0 0 34px; text-align:left; color:var(--cp-muted); font-size:13px;
}
body[data-shell="editorial"] .login-password-label {
  position:static; width:auto; height:auto; overflow:visible; clip:auto; display:block;
  margin:0 0 8px; color:var(--cp-ink); font-size:11px; font-weight:500;
}
body[data-shell="editorial"] .login-panel input {
  height:50px; margin:0 0 12px; padding:0 15px; color:var(--cp-ink); background:var(--cp-surface);
  border:1px solid var(--cp-rule); border-radius:7px; outline:none; box-shadow:none;
}
body[data-shell="editorial"] .login-panel input:focus { border-color:var(--cp-ink); box-shadow:0 0 0 3px color-mix(in srgb,var(--cp-accent) 10%,transparent); }
body[data-shell="editorial"] .login-panel .primary-btn {
  min-height:50px; display:flex; align-items:center; justify-content:space-between;
  padding:0 17px; color:#fff; background:var(--cp-cadence); border:0; border-radius:7px;
  font-size:12px; font-weight:500; box-shadow:none;
}
body[data-shell="editorial"] .login-panel .primary-btn:hover { background:color-mix(in srgb,var(--cp-cadence) 86%,#000); transform:none; }
body[data-shell="editorial"] .login-panel .primary-btn span { color:rgba(255,255,255,.82); font-size:17px; }
body[data-shell="editorial"] .login-note {
  margin:18px 0 0!important; text-align:left!important; color:#9a9a95!important; font-size:10px!important;
}
body[data-shell="editorial"] .login-error { min-height:18px; margin-top:12px; text-align:left; color:#a7362d; font-size:11px; }
@media(max-width:860px){
  body[data-shell="editorial"] .login-screen { grid-template-columns:1fr; }
  body[data-shell="editorial"] .login-story { min-height:auto; padding:26px 24px; border:0; border-bottom:1px solid var(--cp-rule); }
  body[data-shell="editorial"] .login-story-copy { margin:70px 0 24px; }
  body[data-shell="editorial"] .login-story-copy h1 { font-size:52px; }
  body[data-shell="editorial"] .login-story-copy > span, body[data-shell="editorial"] .login-story-proof { display:none; }
  body[data-shell="editorial"] .login-panel { padding:42px 24px 54px; }
  body[data-shell="editorial"] .login-tenant { margin-bottom:40px; }
}
/* Persistent product navigation */
.shell-context-nav { display:none; }
body[data-layout="topbar"][data-shell="editorial"] .shell-context-nav {
  position:sticky; top:78px; z-index:20; min-height:47px; padding:0 32px;
  display:flex; align-items:center; gap:24px; background:color-mix(in srgb,var(--cp-surface) 96%,transparent);
  border-bottom:1px solid var(--cp-rule); backdrop-filter:blur(12px);
}
body[data-layout="topbar"][data-shell="editorial"] .shell-context-nav[hidden] { display:none!important; }
body[data-shell="editorial"] .shell-context-label {
  flex:none; padding-right:23px; border-right:1px solid var(--cp-rule); color:var(--cp-muted);
  font-size:10px; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
}
body[data-shell="editorial"] .shell-context-links { min-width:0; display:flex; align-self:stretch; gap:22px; overflow-x:auto; }
body[data-shell="editorial"] .shell-context-link {
  position:relative; flex:none; padding:0; border:0; background:transparent; color:var(--cp-muted);
  font:inherit; font-size:12px; font-weight:400; cursor:pointer; white-space:nowrap;
}
body[data-shell="editorial"] .shell-context-link:hover { color:var(--cp-ink); }
body[data-shell="editorial"] .shell-context-link.active { color:var(--cp-ink); font-weight:500; }
body[data-shell="editorial"] .shell-context-link.active::after {
  content:""; position:absolute; left:0; right:0; bottom:0; height:2px; background:var(--cp-cadence);
}
body[data-layout="topbar"][data-shell="editorial"] .shell-user {
  width:34px; height:34px; padding:0; display:grid; place-items:center; color:var(--cp-ink);
  background:var(--cp-paper); border:1px solid var(--cp-rule); border-radius:50%;
}
body[data-layout="topbar"][data-shell="editorial"] .shell-user span { font-size:11px; font-weight:600; }
body[data-layout="topbar"][data-shell="editorial"] .shell-user:hover { border-color:var(--cp-ink); }
body[data-layout="topbar"][data-shell="editorial"] .nav-group-items { display:none!important; }
@media(max-width:820px){
  body[data-layout="topbar"][data-shell="editorial"] .shell-context-nav { position:static; padding:0 18px; gap:16px; }
  body[data-shell="editorial"] .shell-context-label { padding-right:15px; }
}/* ===== Frances Valentine premium MFP workspace ===== */
body[data-shell="editorial"] .mfp-premium {
  --mfp-accent:var(--cp-accent,#542477);
  --mfp-ink:var(--cp-ink,#171716);
  --mfp-muted:var(--cp-muted,#6f6e69);
  --mfp-rule:var(--cp-rule,#deded8);
  --mfp-soft:var(--cp-soft,#f0f0ea);
  position:relative;
}
body[data-shell="editorial"] .mfp-premium .mfp-page-head {
  align-items:center;
  margin:0 0 2px;
  min-height:48px;
}
body[data-shell="editorial"] .mfp-premium .mfp-page-head h2 {
  font-size:24px;
  font-weight:620;
  letter-spacing:-.03em;
}
body[data-shell="editorial"] .mfp-premium .mfp-page-head p {
  margin-top:3px;
  font-size:11px;
}
body[data-shell="editorial"] .mfp-premium .mfp-tabs {
  min-height:36px;
  margin:0;
  gap:24px;
  border-bottom:1px solid var(--mfp-rule);
}
body[data-shell="editorial"] .mfp-premium .mfp-tab {
  padding:8px 0 7px;
  font-size:12px;
  font-weight:500;
}
body[data-shell="editorial"] .mfp-premium .mfp-tab.active {
  color:var(--mfp-ink);
  border-bottom-color:var(--mfp-accent);
}
body[data-shell="editorial"] .mfp-commandbar {
  position:sticky;
  top:125px;
  z-index:18;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:6px 0;
  background:color-mix(in srgb,var(--cp-paper,#f7f7f3) 94%,transparent);
  border-bottom:1px solid var(--mfp-rule);
  backdrop-filter:blur(16px);
}
body[data-shell="editorial"] .mfp-command-left,
body[data-shell="editorial"] .mfp-command-right {
  min-width:0;
  display:flex;
  align-items:center;
  gap:6px;
}
body[data-shell="editorial"] .mfp-command-left { flex:1; overflow-x:auto; scrollbar-width:none; }
body[data-shell="editorial"] .mfp-command-left::-webkit-scrollbar { display:none; }
body[data-shell="editorial"] .mfp-command-right { flex:none; }
body[data-shell="editorial"] .mfp-command-rule {
  width:1px;
  height:24px;
  margin:0 3px;
  background:var(--mfp-rule);
}
body[data-shell="editorial"] .mfp-commandbar .plan-ver {
  min-height:32px;
  border:0;
  border-radius:7px;
  background:var(--cp-surface,#fff);
  box-shadow:inset 0 0 0 1px var(--mfp-rule);
}
body[data-shell="editorial"] .mfp-commandbar .plan-ver-lbl { display:none; }
body[data-shell="editorial"] .mfp-commandbar .plan-ver-sel {
  max-width:150px;
  height:30px;
  border:0;
  background:transparent;
  font-size:11px;
  font-weight:650;
}
body[data-shell="editorial"] .mfp-commandbar .plan-ver-act {
  min-height:30px;
  padding-inline:8px;
  font-size:10.5px;
}
body[data-shell="editorial"] .mfp-commandbar .mfp-view-seg {
  margin:0;
  padding:2px;
  background:var(--mfp-soft);
  border-radius:7px;
}
body[data-shell="editorial"] .mfp-commandbar .mfp-view-seg .seg-btn {
  min-height:27px;
  padding:3px 9px;
  font-size:10.5px;
  border-radius:5px;
}
body[data-shell="editorial"] .mfp-command-btn,
body[data-shell="editorial"] .mfp-command-icon {
  min-height:30px;
  flex:none;
  border:1px solid transparent;
  border-radius:7px;
  background:transparent;
  color:var(--mfp-muted);
  font:inherit;
  font-size:10.5px;
  font-weight:600;
  cursor:pointer;
  transition:background .15s ease,border-color .15s ease,color .15s ease;
}
body[data-shell="editorial"] .mfp-command-btn { padding:5px 9px; }
body[data-shell="editorial"] .mfp-command-icon { width:30px; padding:0; font-size:14px; }
body[data-shell="editorial"] .mfp-command-btn:hover,
body[data-shell="editorial"] .mfp-command-icon:hover:not(:disabled) {
  color:var(--mfp-ink);
  background:var(--cp-surface,#fff);
  border-color:var(--mfp-rule);
}
body[data-shell="editorial"] .mfp-command-btn.active {
  color:#fff;
  background:var(--mfp-accent);
}
body[data-shell="editorial"] .mfp-command-btn.subtle { color:var(--mfp-muted); }
body[data-shell="editorial"] .mfp-command-icon:disabled { opacity:.28; cursor:default; }
body[data-shell="editorial"] .mfp-command-compare {
  min-height:30px;
  display:flex;
  align-items:center;
  gap:5px;
  padding-left:8px;
  border-left:1px solid var(--mfp-rule);
}
body[data-shell="editorial"] .mfp-command-compare > span {
  color:var(--mfp-muted);
  font-size:9px;
  font-weight:650;
  letter-spacing:.06em;
  text-transform:uppercase;
}
body[data-shell="editorial"] .mfp-command-compare select {
  max-width:145px;
  height:28px;
  border:0;
  background:transparent;
  font-size:10.5px;
}
body[data-shell="editorial"] .mfp-commandbar .plan-save {
  white-space:nowrap;
  font-size:10.5px;
  font-weight:600;
}
body[data-shell="editorial"] .mfp-scenario-composer {
  position:relative;
  z-index:17;
  margin:8px 0;
  padding:14px 16px;
  border:1px solid color-mix(in srgb,var(--mfp-accent) 32%,var(--mfp-rule));
  border-radius:10px;
  background:var(--cp-surface,#fff);
  box-shadow:0 18px 52px rgba(31,26,37,.12);
}
body[data-shell="editorial"] .mfp-scenario-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:12px;
}
body[data-shell="editorial"] .mfp-scenario-head b { display:block; font-size:13px; }
body[data-shell="editorial"] .mfp-scenario-head span { display:block; margin-top:2px; color:var(--mfp-muted); font-size:11px; }
body[data-shell="editorial"] .mfp-scenario-head button {
  border:0;
  background:transparent;
  color:var(--mfp-muted);
  cursor:pointer;
}
body[data-shell="editorial"] .mfp-scenario-fields {
  display:grid;
  grid-template-columns:minmax(150px,1fr) 110px minmax(150px,1fr) auto;
  gap:10px;
  align-items:end;
}
body[data-shell="editorial"] .mfp-scenario-fields label {
  display:grid;
  gap:5px;
  color:var(--mfp-muted);
  font-size:9px;
  font-weight:650;
  letter-spacing:.06em;
  text-transform:uppercase;
}
body[data-shell="editorial"] .mfp-scenario-fields select,
body[data-shell="editorial"] .mfp-scenario-fields input {
  width:100%;
  max-width:none;
  min-height:34px;
  color:var(--mfp-ink);
  background:var(--cp-paper,#f7f7f3);
}
body[data-shell="editorial"] .mfp-scenario-foot {
  margin-top:9px;
  color:var(--mfp-muted);
  font-size:10px;
}
body[data-shell="editorial"] .mfp-previewbar,
body[data-shell="editorial"] .mfp-compare-active {
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:8px 0;
  padding:7px 10px 7px 13px;
  border-radius:8px;
  font-size:11px;
}
body[data-shell="editorial"] .mfp-previewbar {
  color:#443055;
  background:color-mix(in srgb,var(--mfp-accent) 9%,#fff);
  border:1px dashed color-mix(in srgb,var(--mfp-accent) 42%,transparent);
}
body[data-shell="editorial"] .mfp-previewbar span { display:flex; gap:9px; align-items:center; }
body[data-shell="editorial"] .mfp-previewbar span b {
  color:var(--mfp-accent);
  font-size:9px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body[data-shell="editorial"] .mfp-previewbar div { display:flex; gap:6px; }
body[data-shell="editorial"] .mfp-compare-active {
  justify-content:flex-start;
  color:var(--mfp-muted);
  background:var(--mfp-soft);
  border:1px solid var(--mfp-rule);
}
body[data-shell="editorial"] .mfp-compare-active button {
  border:0;
  background:transparent;
  color:var(--mfp-accent);
  font-size:10.5px;
  font-weight:650;
  cursor:pointer;
}
body[data-shell="editorial"] .mfp-compare-active button:last-child { margin-left:auto; color:var(--mfp-muted); }
body[data-shell="editorial"] .mfp-premium .mfp-kpis {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:0;
  margin:6px 0;
  border-top:1px solid var(--mfp-rule);
  border-bottom:1px solid var(--mfp-rule);
}
body[data-shell="editorial"] .mfp-premium .mfp-kpi {
  min-width:0;
  min-height:62px;
  margin:0;
  padding:9px 13px;
  text-align:left;
  border:0;
  border-right:1px solid var(--mfp-rule);
  border-radius:0;
  background:transparent;
  cursor:pointer;
  box-shadow:none;
  transition:background .15s ease;
}
body[data-shell="editorial"] .mfp-premium .mfp-kpi:last-child { border-right:0; }
body[data-shell="editorial"] .mfp-premium .mfp-kpi:hover { background:var(--cp-surface,#fff); }
body[data-shell="editorial"] .mfp-premium .mfp-kpi label {
  font-size:9px;
  font-weight:600;
  letter-spacing:.06em;
  cursor:pointer;
}
body[data-shell="editorial"] .mfp-premium .mfp-kpi strong {
  margin:1px 0 0;
  font-family:"Instrument Serif",Georgia,serif;
  font-size:21px;
  font-weight:400;
  letter-spacing:-.02em;
}
body[data-shell="editorial"] .mfp-premium .mfp-kpi span { font-size:9.5px; }
body[data-shell="editorial"] .mfp-premium .mfp-kpi em {
  display:block;
  margin-top:2px;
  color:var(--mfp-accent);
  font-size:9px;
  font-style:normal;
  font-weight:650;
}
body[data-shell="editorial"] .mfp-formulabar {
  min-height:36px;
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:7px;
  padding:4px 7px;
  color:var(--mfp-muted);
  background:var(--cp-surface,#fff);
  border:1px solid var(--mfp-rule);
  border-bottom:0;
  border-radius:9px 9px 0 0;
  font-size:10.5px;
}
body[data-shell="editorial"] .mfp-formula-name {
  width:150px;
  overflow:hidden;
  color:var(--mfp-ink);
  font-weight:650;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body[data-shell="editorial"] .mfp-fx {
  width:24px;
  text-align:center;
  color:var(--mfp-accent);
  font-family:"Instrument Serif",Georgia,serif;
  font-size:15px;
  font-style:italic;
}
body[data-shell="editorial"] #mfp-formula-input {
  width:170px;
  min-height:27px;
  padding:3px 8px;
  color:var(--mfp-ink);
  background:var(--cp-paper,#f7f7f3);
  border:1px solid transparent;
  border-radius:5px;
  font:inherit;
  font-variant-numeric:tabular-nums;
}
body[data-shell="editorial"] #mfp-formula-input:focus { border-color:var(--mfp-accent); outline:none; }
body[data-shell="editorial"] .mfp-formula-source {
  flex:1;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body[data-shell="editorial"] .mfp-formula-actions { display:flex; gap:2px; }
body[data-shell="editorial"] .mfp-formula-actions button {
  min-height:25px;
  padding:3px 7px;
  color:var(--mfp-muted);
  background:transparent;
  border:0;
  border-radius:5px;
  font:inherit;
  font-size:9.5px;
  cursor:pointer;
}
body[data-shell="editorial"] .mfp-formula-actions button:hover { color:var(--mfp-ink); background:var(--mfp-soft); }
body[data-shell="editorial"] .mfp-keyhint { color:#9a9993; font-size:9px; white-space:nowrap; }
body[data-shell="editorial"] .mfp-premium .mfp-grid-wrap {
  max-height:calc(100vh - 330px);
  margin:0;
  border-radius:0 0 10px 10px;
  border-color:var(--mfp-rule);
  box-shadow:0 12px 32px rgba(32,28,37,.06);
  scroll-behavior:smooth;
  /* No scroll snapping. The roll-up columns carried scroll-snap-align:start, so on open the browser
     snapped the nearest one to the left edge and dragged the grid right — FEB rendered clipped
     ("‚874,674"). A planning grid reads left-to-right from the first month; position 0 must be where
     it opens. */
}
body[data-shell="editorial"] .mfp-premium .mfp-grid {
  --mh:84,36,119;
  border-collapse:separate;
  border-spacing:0;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid td,
body[data-shell="editorial"] .mfp-premium .mfp-grid th {
  height:26px;
  padding:3px 8px;
  border-bottom-color:#ecece7;
  font-size:11px;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid thead th {
  height:32px;
  color:#777670;
  background:#fafaf7;
  font-size:9.5px;
  font-weight:650;
  letter-spacing:.045em;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-mcol,
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-rlabel {
  min-width:176px;
  padding-left:14px;
  background:#fff;
  box-shadow:1px 0 0 var(--mfp-rule);
}
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-fy {
  position:sticky;
  right:0;
  z-index:4;
  min-width:92px;
  background:#f2f1ed;
  border-left:1px solid #cbc9c2;
  box-shadow:-8px 0 16px rgba(28,25,31,.05);
}
body[data-shell="editorial"] .mfp-premium .mfp-grid thead .mfp-fy { z-index:8; }
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-roll {
  border-left:1px solid #d8d7d1;
  background:#f8f8f5;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-current {
  color:var(--mfp-ink);
  background:color-mix(in srgb,var(--mfp-accent) 7%,#fafaf7);
  box-shadow:inset 0 -2px 0 var(--mfp-accent);
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk {
  --mh:84,36,119!important;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-mhead td {
  height:31px;
  color:var(--mfp-ink);
  background:#f6f6f2;
  border-top:1px solid #d8d7d1;
  box-shadow:inset 2px 0 0 color-mix(in srgb,var(--mfp-accent) 52%,transparent);
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-mlabel {
  color:var(--mfp-ink);
  font-size:11.5px;
  font-weight:680;
}
body[data-shell="editorial"] .mfp-premium .mfp-editbadge {
  color:#777670;
  background:#e7e6e1!important;
  font-size:8px;
  font-weight:650;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk td:not(.mfp-rlabel):not(.mfp-mcol):not(.mfp-roll):not(.mfp-fy) {
  background-color:#fff;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-editrow td:not(.mfp-rlabel):not(.mfp-mcol):not(.mfp-roll):not(.mfp-fy) {
  background:color-mix(in srgb,var(--mfp-accent) 5%,#fff)!important;
  box-shadow:inset 0 1px 0 color-mix(in srgb,var(--mfp-accent) 13%,transparent),inset 0 -1px 0 color-mix(in srgb,var(--mfp-accent) 13%,transparent);
}
body[data-shell="editorial"] .mfp-premium .mfp-editrow .mfp-rlabel::after { color:var(--mfp-accent); }
body[data-shell="editorial"] .mfp-premium .mfp-editrow .mfp-in {
  border-color:transparent;
  background:transparent;
  font-weight:650;
}
body[data-shell="editorial"] .mfp-premium .mfp-in:hover { border-color:#c9c7c0; background:#fff; }
body[data-shell="editorial"] .mfp-premium .mfp-in:focus {
  border-color:var(--mfp-accent);
  background:#fff;
  box-shadow:none;
}
body[data-shell="editorial"] .mfp-premium .mfp-cell-selected {
  position:relative;
  background:color-mix(in srgb,var(--mfp-accent) 8%,#fff)!important;
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--mfp-accent) 28%,transparent)!important;
}
body[data-shell="editorial"] .mfp-premium .mfp-cell-active {
  z-index:5;
  background:#fff!important;
  box-shadow:inset 0 0 0 2px var(--mfp-accent),0 2px 10px rgba(84,36,119,.14)!important;
}
body[data-shell="editorial"] .mfp-premium .mfp-row-focus td:not(.mfp-cell-active),
body[data-shell="editorial"] .mfp-premium .mfp-col-focus:not(.mfp-cell-active) {
  background:color-mix(in srgb,var(--mfp-accent) 2.5%,#fff)!important;
}
body[data-shell="editorial"] .mfp-premium .mfp-ghost {
  background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--mfp-accent) 7%,#fff),color-mix(in srgb,var(--mfp-accent) 7%,#fff) 6px,#fff 6px,#fff 12px)!important;
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--mfp-accent) 28%,transparent)!important;
}
body[data-shell="editorial"] .mfp-premium .mfp-ghost .mfp-in {
  color:var(--mfp-accent);
  font-weight:720;
}
body[data-shell="editorial"] .mfp-premium .mfp-has-audit::after {
  content:"";
  position:absolute;
  top:2px;
  right:2px;
  width:0;
  height:0;
  border-top:5px solid var(--mfp-accent);
  border-left:5px solid transparent;
}
body[data-shell="editorial"] .mfp-premium .mfp-why {
  min-width:25px;
  margin-left:6px;
  padding:2px 7px;
  opacity:0;
  color:var(--mfp-accent);
  background:transparent;
  border-color:transparent;
  transition:opacity .15s ease,background .15s ease;
}
body[data-shell="editorial"] .mfp-premium .mfp-mhead:hover .mfp-why,
body[data-shell="editorial"] .mfp-premium .mfp-why:focus-visible { opacity:1; }
body[data-shell="editorial"] .mfp-premium .mfp-why:hover { background:color-mix(in srgb,var(--mfp-accent) 7%,#fff); }
body[data-shell="editorial"] .mfp-premium .mfp-seed td { color:#756d7d; }
body[data-shell="editorial"] .mfp-premium .mfp-varrow td { color:#85847f; }
body[data-shell="editorial"] .mfp-premium .mfp-src {
  margin:8px 2px 0;
  color:#92918c;
  font-size:9.5px;
}
@media(max-width:1180px) {
  body[data-shell="editorial"] .mfp-commandbar { top:0; position:relative; flex-wrap:wrap; }
  body[data-shell="editorial"] .mfp-command-left { flex-basis:100%; }
  body[data-shell="editorial"] .mfp-command-right { margin-left:auto; }
  body[data-shell="editorial"] .mfp-keyhint,
  body[data-shell="editorial"] .mfp-formula-source { display:none; }
  body[data-shell="editorial"] .mfp-premium .mfp-grid-wrap { max-height:calc(100vh - 300px); }
}
@media(max-width:820px) {
  body[data-shell="editorial"] .mfp-premium .mfp-kpis { grid-template-columns:repeat(5,150px); overflow-x:auto; }
  body[data-shell="editorial"] .mfp-scenario-fields { grid-template-columns:1fr 100px; }
  body[data-shell="editorial"] .mfp-scenario-fields .primary-btn { min-height:34px; }
  body[data-shell="editorial"] .mfp-formulabar { overflow-x:auto; }
  body[data-shell="editorial"] .mfp-formula-name { min-width:130px; }
  body[data-shell="editorial"] #mfp-formula-input { min-width:140px; }
  body[data-shell="editorial"] .mfp-commandbar .plan-ver-act { display:none; }
}
@media(prefers-reduced-motion:reduce) {
  body[data-shell="editorial"] .mfp-premium *,
  body[data-shell="editorial"] .mfp-premium *::before,
  body[data-shell="editorial"] .mfp-premium *::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; }
}

/* ===== Premium density and colour pass ===== */
body[data-shell="editorial"] {
  --cp-paper:#f5f1e9;
  --cp-surface:#fffdf9;
  --cp-muted:#6d685f;
  --cp-rule:#d8d0c3;
  --cp-soft:#ebe3d7;
  background:var(--cp-paper);
}
body[data-layout="topbar"][data-shell="editorial"] .sidebar {
  min-height:48px;
  padding:0 22px;
  grid-template-columns:minmax(210px,1fr) auto minmax(210px,1fr);
  border-bottom-color:#cfc4b5;
  box-shadow:inset 0 -3px 0 color-mix(in srgb,var(--cp-accent) 16%,transparent);
}
body[data-layout="topbar"][data-shell="editorial"] .sidebar-brand .wordmark { font-size:14px; }
body[data-layout="topbar"][data-shell="editorial"] .sidebar-brand .brand-mark { width:22px; height:21px; margin-right:8px; }
body[data-layout="topbar"][data-shell="editorial"] .sidebar-brand > span { margin:0 0 0 31px; font-size:9.5px; }
body[data-layout="topbar"][data-shell="editorial"] .sidebar-nav { gap:20px; }
body[data-layout="topbar"][data-shell="editorial"] .nav-group-label,
body[data-layout="topbar"][data-shell="editorial"] .nav-item-top,
body[data-layout="topbar"][data-shell="editorial"] .nav-group[style*="--nav-accent"] > .nav-group-label,
body[data-layout="topbar"][data-shell="editorial"] .nav-group[style*="--nav-accent"] .nav-item-top { font-size:12px; }
body[data-layout="topbar"][data-shell="editorial"] .shell-actions { gap:12px; }
body[data-layout="topbar"][data-shell="editorial"] .shell-actions .shell-ask { padding:6px 12px; font-size:11px; }
body[data-layout="topbar"][data-shell="editorial"] .shell-user { width:28px; height:28px; }
body[data-layout="topbar"][data-shell="editorial"] .shell-context-nav {
  top:48px;
  min-height:32px;
  padding:0 22px;
  gap:18px;
  background:color-mix(in srgb,#efe6f2 82%,var(--cp-surface));
  border-bottom-color:#d7cadd;
}
body[data-shell="editorial"] .shell-context-label { padding-right:18px; color:#765d7e; font-size:8.5px; }
body[data-shell="editorial"] .shell-context-links { gap:19px; }
body[data-shell="editorial"] .shell-context-link { font-size:10px; }
body[data-shell="editorial"] .view { padding:0 26px 28px; }

body[data-shell="editorial"] .mfp-premium {
  --mfp-accent:#64377b;
  --mfp-plum:#302039;
  --mfp-plum-deep:#24182c;
  --mfp-sand:#eee4d6;
  --mfp-rule:#d8d0c3;
  --mfp-soft:#ebe3d7;
}
body[data-shell="editorial"] .mfp-workspace-head {
  position:relative;
  min-height:38px;
  display:grid;
  grid-template-columns:max-content minmax(0,1fr);
  align-items:stretch;
  gap:30px;
  padding-right:68px;
  border-bottom:1px solid var(--mfp-rule);
}
body[data-shell="editorial"] .mfp-workspace-head .mfp-page-head {
  min-height:38px;
  margin:0;
  align-items:center;
}
body[data-shell="editorial"] .mfp-workspace-head .mfp-page-head h2 { font-size:17.5px; letter-spacing:-.025em; }
body[data-shell="editorial"] .mfp-workspace-head .mfp-page-head p { display:none; }
body[data-shell="editorial"] .mfp-workspace-head .mfp-page-head .actions {
  position:absolute;
  right:0;
  top:5px;
}
body[data-shell="editorial"] .mfp-workspace-head .help-btn { min-height:26px; padding:3px 9px; font-size:10px; }
body[data-shell="editorial"] .mfp-workspace-head .mfp-tabs {
  min-height:38px;
  margin:0;
  gap:22px;
  align-self:stretch;
  border:0;
}
body[data-shell="editorial"] .mfp-workspace-head .mfp-tab { padding:11px 0 8px; font-size:10.5px; }
body[data-shell="editorial"] .mfp-commandbar {
  top:80px;
  min-height:36px;
  padding:3px 6px;
  margin:0 -6px;
  background:color-mix(in srgb,var(--mfp-sand) 90%,transparent);
  border-bottom-color:#d2c5b4;
  box-shadow:0 4px 14px rgba(57,40,65,.045);
}
body[data-shell="editorial"] .mfp-commandbar .plan-ver { min-height:28px; background:#fffaf4; }
body[data-shell="editorial"] .mfp-commandbar .plan-ver-sel { height:28px; }
body[data-shell="editorial"] .mfp-commandbar .mfp-view-seg { background:#ddd0c0; }
body[data-shell="editorial"] .mfp-commandbar .mfp-view-seg .seg-btn { min-height:25px; }
body[data-shell="editorial"] .mfp-command-btn,
body[data-shell="editorial"] .mfp-command-icon { min-height:28px; }
body[data-shell="editorial"] .mfp-focus-toggle { color:var(--mfp-accent); }
body[data-shell="editorial"] .mfp-focus-toggle::before { content:"↗"; margin-right:5px; font-size:11px; }
body[data-shell="editorial"] .mfp-focus-toggle.active::before { content:"↙"; }

body[data-shell="editorial"] .mfp-premium .mfp-kpis {
  min-height:48px;
  margin:6px 0;
  overflow:hidden;
  color:#fff;
  background:linear-gradient(112deg,var(--mfp-plum-deep),var(--mfp-plum) 58%,#40294b);
  border:0;
  border-radius:9px;
  box-shadow:0 8px 24px rgba(46,29,56,.13);
}
body[data-shell="editorial"] .mfp-premium .mfp-kpi {
  min-height:48px;
  padding:5px 13px;
  border-right-color:rgba(255,255,255,.13);
  color:#fff;
}
body[data-shell="editorial"] .mfp-premium .mfp-kpi:hover { background:rgba(255,255,255,.07); }
body[data-shell="editorial"] .mfp-premium .mfp-kpi label { color:#d9cce1; }
body[data-shell="editorial"] .mfp-premium .mfp-kpi strong { color:#fff; font-size:19px; }
body[data-shell="editorial"] .mfp-premium .mfp-kpi .mfp-pos { color:#9bd8b6!important; }
body[data-shell="editorial"] .mfp-premium .mfp-kpi .mfp-neg { color:#ffb7ae!important; }
body[data-shell="editorial"] .mfp-exc-strip { min-height:26px; margin:4px 0; }
body[data-shell="editorial"] .mfp-exc-clean {
  padding:3px 10px;
  color:#23654f;
  background:#e2eee6;
  border-color:#bfd8ca;
}
body[data-shell="editorial"] .mfp-formulabar {
  min-height:29px;
  margin-top:2px;
  padding:2px 7px;
  background:#fffaf4;
  border-color:#cec3b4;
}
body[data-shell="editorial"] #mfp-formula-input { min-height:25px; background:#f3ece2; }
body[data-shell="editorial"] .mfp-premium .mfp-grid-wrap {
  max-height:calc(100vh - 248px);
  border-color:#cfc4b5;
  box-shadow:0 12px 30px rgba(49,32,57,.10);
}
body[data-shell="editorial"] .mfp-premium .mfp-grid thead th {
  color:#5f554a;
  background:#e9dfd2;
  border-bottom-color:#cfc2b2;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-mcol,
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-rlabel { background:#fffdf9; }
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-fy {
  background:#eee2d2;
  border-left-color:#bcae9c;
  box-shadow:-9px 0 18px rgba(54,39,62,.09);
}
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-roll { background:#f7f0e7; border-left-color:#d2c5b5; }
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-current {
  background:#e9ddf0;
  box-shadow:inset 0 -3px 0 var(--mfp-accent);
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk:nth-of-type(1) { --mfp-band:#ede2f2; --mfp-band-ink:#6a377e; }
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk:nth-of-type(2) { --mfp-band:#dcefeb; --mfp-band-ink:#176c63; }
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk:nth-of-type(3) { --mfp-band:#f4ead0; --mfp-band-ink:#966520; }
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk:nth-of-type(4) { --mfp-band:#f3dfe2; --mfp-band-ink:#9b3f50; }
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk:nth-of-type(5) { --mfp-band:#deebdd; --mfp-band-ink:#3e7147; }
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-mhead td {
  height:29px;
  color:var(--mfp-band-ink,var(--mfp-ink));
  background:var(--mfp-band,#eee8df)!important;
  border-top-color:color-mix(in srgb,var(--mfp-band-ink,var(--mfp-accent)) 28%,#fff);
  box-shadow:inset 4px 0 0 var(--mfp-band-ink,var(--mfp-accent));
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-mlabel { color:inherit; }
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-editrow td:not(.mfp-rlabel):not(.mfp-mcol):not(.mfp-roll):not(.mfp-fy) {
  background:color-mix(in srgb,var(--mfp-band,#ede2f2) 42%,#fff)!important;
}
body[data-shell="editorial"] .mfp-premium .mfp-editbadge {
  color:var(--mfp-band-ink,var(--mfp-accent));
  background:color-mix(in srgb,var(--mfp-band,#ede2f2) 74%,#fff)!important;
  border:1px solid color-mix(in srgb,var(--mfp-band-ink,var(--mfp-accent)) 22%,transparent);
}
body[data-shell="editorial"] .mfp-premium .mfp-editbadge.derived { color:#665f56; background:#e3dbcf!important; border-color:#d0c4b4; }
body[data-shell="editorial"] .mfp-premium .mfp-seed td { color:#6f587b; background:#faf7fb; }
body[data-shell="editorial"] .mfp-premium .mfp-varrow td { color:#746e66; background:#f8f4ed; }

body[data-layout="topbar"][data-shell="editorial"]:has(.mfp-focus-grid) .sidebar,
body[data-layout="topbar"][data-shell="editorial"]:has(.mfp-focus-grid) .shell-context-nav { display:none!important; }
body[data-layout="topbar"][data-shell="editorial"]:has(.mfp-focus-grid) .app-shell { grid-template-rows:1fr; }
body[data-shell="editorial"] .mfp-focus-grid .mfp-workspace-head,
body[data-shell="editorial"] .mfp-focus-grid .mfp-kpis,
body[data-shell="editorial"] .mfp-focus-grid .mfp-exc-strip { display:none; }
body[data-shell="editorial"] .mfp-focus-grid .mfp-commandbar { top:0; margin-top:0; }
body[data-shell="editorial"] .mfp-focus-grid .mfp-formulabar { margin-top:2px; }
body[data-shell="editorial"] .mfp-focus-grid .mfp-grid-wrap { max-height:calc(100vh - 78px); }

@media(max-width:1180px) {
  body[data-layout="topbar"][data-shell="editorial"] .sidebar { grid-template-columns:auto 1fr auto; padding:0 18px; }
  body[data-shell="editorial"] .mfp-commandbar { top:80px; position:sticky; flex-wrap:nowrap; }
  body[data-shell="editorial"] .mfp-command-left { flex-basis:auto; }
  body[data-shell="editorial"] .mfp-premium .mfp-grid-wrap { max-height:calc(100vh - 248px); }
}
@media(max-width:820px) {
  body[data-layout="topbar"][data-shell="editorial"] .sidebar {
    min-height:50px;
    grid-template-columns:auto minmax(0,1fr) auto;
    padding:0 12px;
    gap:12px;
  }
  body[data-layout="topbar"][data-shell="editorial"] .sidebar-brand > span { display:none; }
  body[data-layout="topbar"][data-shell="editorial"] .sidebar-nav {
    grid-column:auto;
    justify-self:stretch;
    padding:0;
    gap:12px;
    overflow-x:auto;
  }
  body[data-layout="topbar"][data-shell="editorial"] .shell-actions .shell-ask { display:none; }
  body[data-layout="topbar"][data-shell="editorial"] .shell-context-nav { top:50px; min-height:34px; padding:0 14px; }
  body[data-shell="editorial"] .view { padding-inline:14px; }
  body[data-shell="editorial"] .mfp-workspace-head { gap:18px; padding-right:0; }
  body[data-shell="editorial"] .mfp-workspace-head .mfp-page-head .actions { display:none; }
  body[data-shell="editorial"] .mfp-workspace-head .mfp-tabs { gap:16px; overflow-x:auto; }
  body[data-shell="editorial"] .mfp-commandbar { top:84px; }
  body[data-shell="editorial"] .mfp-premium .mfp-kpis { grid-template-columns:repeat(5,145px); }
}
@media(max-width:620px) {
  body[data-shell="editorial"] .mfp-workspace-head { grid-template-columns:1fr; gap:0; }
  body[data-shell="editorial"] .mfp-workspace-head .mfp-page-head { min-height:38px; }
  body[data-shell="editorial"] .mfp-workspace-head .mfp-tabs { min-height:34px; }
  body[data-shell="editorial"] .mfp-workspace-head .mfp-tab { padding:9px 0 7px; }
  body[data-shell="editorial"] .mfp-command-compare > span { display:none; }
}
/* Compact mobile focus mode */
@media(max-width:820px) {
  body[data-shell="editorial"] .mfp-focus-grid .mfp-command-right { display:none; }
  body[data-shell="editorial"] .mfp-focus-grid .mfp-commandbar { min-height:36px; flex-wrap:nowrap; }
  body[data-shell="editorial"] .mfp-focus-grid .mfp-command-left { flex-basis:100%; }
  body[data-shell="editorial"] .mfp-focus-grid .mfp-grid-wrap { max-height:calc(100vh - 80px); }
}
/* ===== Daily planner calibration ===== */
body[data-shell="editorial"] {
  --cp-paper:#f5f6f8;
  --cp-surface:#ffffff;
  --cp-muted:#687181;
  --cp-rule:#d9dee7;
  --cp-soft:#edf0f5;
  background:var(--cp-paper);
}
body[data-layout="topbar"][data-shell="editorial"] .sidebar {
  border-bottom-color:#d8dce4;
  box-shadow:inset 0 -2px 0 color-mix(in srgb,var(--cp-accent) 14%,transparent);
}
body[data-layout="topbar"][data-shell="editorial"] .shell-context-nav {
  background:color-mix(in srgb,#f3eff7 88%,#fff);
  border-bottom-color:#ddd5e3;
}
body[data-shell="editorial"] .shell-context-label { color:#755982; }
body[data-shell="editorial"] .mfp-premium {
  --mfp-sand:#f1f3f7;
  --mfp-rule:#d9dee7;
  --mfp-soft:#edf0f5;
}
body[data-shell="editorial"] .mfp-commandbar {
  background:color-mix(in srgb,#f1f3f7 94%,transparent);
  border-bottom-color:#d7dce5;
  box-shadow:0 3px 12px rgba(45,34,56,.04);
}
body[data-shell="editorial"] .mfp-commandbar .plan-ver { background:#fff; }
body[data-shell="editorial"] .mfp-commandbar .mfp-view-seg { background:#e4e8ef; }

body[data-shell="editorial"] .mfp-premium .mfp-kpis {
  min-height:40px;
  margin:4px 0;
  color:var(--mfp-ink);
  background:#f7f5fa;
  border:1px solid #dcd4e2;
  border-radius:7px;
  box-shadow:none;
}
body[data-shell="editorial"] .mfp-premium .mfp-kpi {
  min-height:40px;
  padding:4px 11px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-rows:auto auto;
  align-content:center;
  column-gap:8px;
  color:var(--mfp-ink);
  border-right-color:#e2dbe7;
}
body[data-shell="editorial"] .mfp-premium .mfp-kpi:hover { background:#fff; }
body[data-shell="editorial"] .mfp-premium .mfp-kpi label {
  grid-column:1/-1;
  grid-row:1;
  color:#77677f;
  font-size:8px;
  line-height:1.05;
}
body[data-shell="editorial"] .mfp-premium .mfp-kpi strong {
  grid-column:1;
  grid-row:2;
  min-width:0;
  margin:1px 0 0;
  overflow:hidden;
  color:#241b29;
  font-family:"Instrument Sans",Arial,sans-serif;
  font-size:15px;
  font-weight:670;
  line-height:1.1;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body[data-shell="editorial"] .mfp-premium .mfp-kpi span {
  grid-column:2;
  grid-row:2;
  align-self:end;
  padding-bottom:1px;
  font-size:8.5px;
  white-space:nowrap;
}
body[data-shell="editorial"] .mfp-premium .mfp-kpi .mfp-pos { color:#16805d!important; }
body[data-shell="editorial"] .mfp-premium .mfp-kpi .mfp-neg { color:#c04452!important; }
body[data-shell="editorial"] .mfp-premium .mfp-kpi em { grid-column:1/-1; font-size:8px; }

body[data-shell="editorial"] .mfp-formulabar { background:#fff; border-color:#d5dbe4; }
body[data-shell="editorial"] #mfp-formula-input { background:#f2f4f7; }
body[data-shell="editorial"] .mfp-premium .mfp-grid-wrap {
  max-height:calc(100vh - 210px);
  border-color:#d2d8e1;
  box-shadow:0 10px 26px rgba(40,34,52,.08);
}
body[data-shell="editorial"] .mfp-premium .mfp-grid thead th {
  color:#596273;
  background:#edf0f4;
  border-bottom-color:#d3d8e0;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-mcol,
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-rlabel { background:#fff; }
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-fy {
  background:#eceef5;
  border-left-color:#c6ccd7;
  box-shadow:-9px 0 18px rgba(40,34,52,.07);
}
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-roll { background:#f6f7fa; border-left-color:#d7dce4; }
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-current { background:#ebe3f3; }
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk:nth-of-type(1) { --mfp-band:#eee7f5; --mfp-band-ink:#69377f; }
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk:nth-of-type(2) { --mfp-band:#e1f1f3; --mfp-band-ink:#147681; }
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk:nth-of-type(3) { --mfp-band:#e7edfa; --mfp-band-ink:#345fa5; }
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk:nth-of-type(4) { --mfp-band:#f8e6eb; --mfp-band-ink:#a33f5d; }
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk:nth-of-type(5) { --mfp-band:#e2f1e9; --mfp-band-ink:#267858; }
body[data-shell="editorial"] .mfp-premium .mfp-seed td { color:#665177; background:#faf8fc; }
body[data-shell="editorial"] .mfp-premium .mfp-varrow td { color:#6d7480; background:#f7f8fa; }
@media(max-width:1180px) {
  body[data-shell="editorial"] .mfp-premium .mfp-grid-wrap { max-height:calc(100vh - 210px); }
}
/* ===== Neutral workbook hierarchy ===== */
body[data-shell="editorial"] .mfp-commandbar .mfp-view-seg .seg-btn.active {
  color:#fff;
  background:var(--mfp-accent);
  box-shadow:none;
}
body[data-shell="editorial"] .mfp-command-orientation {
  min-height:26px;
  display:flex;
  align-items:center;
  gap:11px;
  margin-right:2px;
  padding-right:11px;
  border-right:1px solid #d7dbe2;
  white-space:nowrap;
}
body[data-shell="editorial"] .mfp-command-orientation span { display:inline-flex; align-items:baseline; gap:4px; }
body[data-shell="editorial"] .mfp-command-orientation i {
  color:#7a818d;
  font-size:7.5px;
  font-style:normal;
  font-weight:650;
  letter-spacing:.055em;
  text-transform:uppercase;
}
body[data-shell="editorial"] .mfp-command-orientation b { color:#2a2430; font-size:10.5px; font-weight:680; }
body[data-shell="editorial"] .mfp-formulabar.is-idle { display:none; }
body[data-shell="editorial"] .mfp-premium .mfp-grid-wrap {
  max-height:calc(100vh - 168px);
  margin-top:4px;
}
body[data-shell="editorial"] .mfp-formulabar:not(.is-idle) + .mfp-grid-wrap { margin-top:0; }

body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-mhead td {
  height:28px;
  color:#303744;
  background:#f5f6f8!important;
  border-top:1px solid #dce0e6;
  border-bottom:1px solid #e5e8ed;
  box-shadow:inset 3px 0 0 var(--mfp-band-ink,var(--mfp-accent));
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-mlabel {
  color:var(--mfp-band-ink,var(--mfp-accent));
  font-weight:690;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-editrow td:not(.mfp-rlabel):not(.mfp-mcol):not(.mfp-roll):not(.mfp-fy) {
  background:#faf8fc!important;
  box-shadow:inset 0 1px 0 #eee8f2,inset 0 -1px 0 #eee8f2;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-editrow .mfp-rlabel {
  color:#3d2b46;
  background:#faf8fc;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk td:not(.mfp-rlabel):not(.mfp-mcol):not(.mfp-roll):not(.mfp-fy) { background-color:#fff; }
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-seed td,
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-varrow td { background:#fff; }
body[data-shell="editorial"] .mfp-premium .mfp-seed td { color:#77717c; }
body[data-shell="editorial"] .mfp-premium .mfp-varrow td { color:#777f8a; }
body[data-shell="editorial"] .mfp-premium .mfp-editbadge {
  color:#685073;
  background:#fff!important;
  border-color:#d9cfe0;
}
body[data-shell="editorial"] .mfp-premium .mfp-editbadge.derived {
  color:#747b85;
  background:#fff!important;
  border-color:#dce0e5;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-fy { background:#f1f2f5; }
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-roll { background:#f8f9fa; }
body[data-shell="editorial"] .mfp-premium .mfp-grid thead .mfp-current { background:#ebe3f3; }
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk:nth-of-type(1) { --mfp-band-ink:#633574; }
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk:nth-of-type(2) { --mfp-band-ink:#26737a; }
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk:nth-of-type(3) { --mfp-band-ink:#42669b; }
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk:nth-of-type(4) { --mfp-band-ink:#99475e; }
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk:nth-of-type(5) { --mfp-band-ink:#347258; }
@media(max-width:1500px) {
  body[data-shell="editorial"] .mfp-command-orientation { display:none; }
}
@media(max-width:1180px) {
  body[data-shell="editorial"] .mfp-premium .mfp-grid-wrap { max-height:calc(100vh - 168px); }
}
/* ===== Cadence flagship editorial utility ===== */
body[data-shell="editorial"] {
  --cp-ink:#211d22;
  --cp-paper:#f5f2ed;
  --cp-surface:#fffdf9;
  --cp-muted:#706a70;
  --cp-rule:#ddd7d1;
  --cp-soft:#eee9e3;
  background:#f5f2ed;
}
body[data-shell="editorial"] .main,
body[data-shell="editorial"] .view {
  background:linear-gradient(180deg,#f8f5f1 0%,#f4f1ec 68%,#f1eee9 100%);
}
body[data-layout="topbar"][data-shell="editorial"] .sidebar {
  background:#fffdf9;
  border-bottom-color:#ded8d2;
  box-shadow:inset 0 -2px 0 color-mix(in srgb,var(--cp-accent) 12%,transparent);
}
body[data-layout="topbar"][data-shell="editorial"] .shell-context-nav {
  background:color-mix(in srgb,#f5eff6 88%,#fffdf9);
  border-bottom-color:#dfd5e1;
}
body[data-shell="editorial"] .mfp-workspace-head { border-bottom-color:#ded7dd; }
body[data-shell="editorial"] .mfp-workspace-head .mfp-page-head h2 {
  color:#241d27;
  font-family:"Instrument Serif",Georgia,serif;
  font-size:22px;
  font-weight:500;
  letter-spacing:-.025em;
}
body[data-shell="editorial"] .mfp-workspace-head .mfp-tab { color:#746c74; }
body[data-shell="editorial"] .mfp-workspace-head .mfp-tab.active { color:#35223e; }

body[data-shell="editorial"] .mfp-commandbar {
  min-height:38px;
  top:80px;
  margin:5px 0 7px;
  padding:4px 5px;
  background:rgba(255,253,249,.96);
  border:1px solid #ded6dd;
  border-radius:10px;
  box-shadow:0 7px 20px rgba(53,34,62,.07);
  backdrop-filter:blur(18px);
}
body[data-shell="editorial"] .mfp-commandbar .plan-ver { background:#faf7f3; box-shadow:inset 0 0 0 1px #e2dcd5; }
body[data-shell="editorial"] .mfp-commandbar .mfp-view-seg { background:#eee9e4; }
body[data-shell="editorial"] .mfp-commandbar .mfp-view-seg .seg-btn.active { background:#64377b; }
body[data-shell="editorial"] .mfp-command-orientation { border-right-color:#ddd5da; }
body[data-shell="editorial"] .mfp-command-orientation i { color:#847a83; }
body[data-shell="editorial"] .mfp-command-orientation b {
  color:#36263d;
  font-family:"Instrument Serif",Georgia,serif;
  font-size:13px;
  font-weight:500;
}
body[data-shell="editorial"] .mfp-commandbar .plan-save {
  padding:4px 8px;
  color:#3c684f;
  background:#e8f0ea;
  border-radius:999px;
}
body[data-shell="editorial"] .mfp-focus-toggle { color:#684078; }

body[data-shell="editorial"] .mfp-formulabar {
  min-height:34px;
  margin-top:0;
  color:#746d74;
  background:#fbf8f4;
  border-color:#dcd4cd;
  border-radius:10px 10px 0 0;
}
body[data-shell="editorial"] #mfp-formula-input { background:#fffdf9; }
body[data-shell="editorial"] .mfp-premium .mfp-grid-wrap {
  max-height:calc(100vh - 180px);
  margin-top:0;
  overflow:auto;
  background:#fffdf9;
  border:1px solid #d9d2cc;
  border-radius:11px;
  box-shadow:0 18px 44px rgba(47,35,52,.10),0 2px 8px rgba(47,35,52,.04);
}
body[data-shell="editorial"] .mfp-formulabar:not(.is-idle) + .mfp-grid-wrap {
  border-top:0;
  border-radius:0 0 11px 11px;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid { background:#fffdf9; }
body[data-shell="editorial"] .mfp-premium .mfp-grid td,
body[data-shell="editorial"] .mfp-premium .mfp-grid th {
  height:29px;
  padding:4px 9px;
  color:#332f34;
  border-bottom-color:#ebe6e1;
  font-size:11.25px;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid thead th {
  height:35px;
  color:#6f676f;
  background:#f3eee8;
  border-bottom:1px solid #d4ccc6;
  font-size:9px;
  letter-spacing:.06em;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-mcol,
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-rlabel {
  background:#fffdf9;
  box-shadow:1px 0 0 #ded8d2;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-fy {
  background:#f0eaf2;
  border-left-color:#cfc3d3;
  box-shadow:-9px 0 18px rgba(61,41,67,.07);
}
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-roll {
  background:#faf7f2;
  border-left-color:#dfd7d0;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid thead .mfp-current {
  color:#3d2547;
  background:#e9deed;
  box-shadow:inset 0 -3px 0 #64377b;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-mhead td {
  height:34px;
  padding-top:7px;
  padding-bottom:5px;
  color:#332837;
  background:#fbf8f4!important;
  border-top:5px solid #f5f2ed;
  border-bottom:1px solid #e6dfd8;
  box-shadow:inset 4px 0 0 var(--mfp-band-ink,var(--mfp-accent));
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk:first-of-type .mfp-mhead td { border-top-width:0; }
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-mlabel {
  color:var(--mfp-band-ink,var(--mfp-accent));
  font-family:"Instrument Serif",Georgia,serif;
  font-size:15px;
  font-weight:600;
  letter-spacing:-.01em;
}
body[data-shell="editorial"] .mfp-premium .mfp-editbadge {
  padding:1px 5px;
  color:#6d5b73;
  background:#fffdf9!important;
  border-color:#d9cfdc;
  border-radius:999px;
  font-family:"Instrument Sans",Arial,sans-serif;
  font-size:7.5px;
}
body[data-shell="editorial"] .mfp-premium .mfp-editbadge.derived { color:#777176; border-color:#ddd7d2; }
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-editrow td:not(.mfp-rlabel):not(.mfp-mcol):not(.mfp-roll):not(.mfp-fy),
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-editrow .mfp-rlabel {
  background:#faf6fb!important;
  box-shadow:inset 0 1px 0 #eee6f0,inset 0 -1px 0 #eee6f0;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-wp td { color:#29252b; font-weight:670; }
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-wp .mfp-rlabel { color:#35293a; }
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-seed td { color:#766d77; background:#fffdf9; }
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-varrow td {
  color:#858087;
  background:#fcfaf7;
  font-size:10px;
}
body[data-shell="editorial"] .mfp-premium .mfp-in:focus {
  border-color:#64377b;
  background:#fff;
  box-shadow:0 0 0 2px rgba(100,55,123,.12);
}
body[data-shell="editorial"] .mfp-premium .mfp-cell-active {
  box-shadow:inset 0 0 0 2px #64377b,0 3px 12px rgba(100,55,123,.16)!important;
}
body[data-shell="editorial"] .mfp-premium .mfp-src { color:#8d8589; }
@media(max-width:1180px) {
  body[data-shell="editorial"] .mfp-commandbar { top:80px; }
  body[data-shell="editorial"] .mfp-premium .mfp-grid-wrap { max-height:calc(100vh - 180px); }
}
@media(max-width:820px) {
  body[data-shell="editorial"] .mfp-commandbar { top:84px; margin-top:4px; }
  body[data-shell="editorial"] .mfp-premium .mfp-grid td,
  body[data-shell="editorial"] .mfp-premium .mfp-grid th { height:28px; padding:4px 8px; }
}
/* ===== Workbook architecture: canvas, masthead, metric spine ===== */
/* Cement is the surrounding application canvas. The plan itself is a warm-white workbook. */
body[data-shell="editorial"] {
  --cp-paper:#efede9;
  --cp-surface:#fffdfa;
  --cp-rule:#d8d1ca;
  background:#efede9;
}
body[data-shell="editorial"] .main,
body[data-shell="editorial"] .view {
  background:#efede9;
}
body[data-shell="editorial"] .view { padding:0 22px 24px; }
body[data-layout="topbar"][data-shell="editorial"] .shell-context-nav[hidden] { display:none!important; }

body[data-shell="editorial"] .mfp-workbook-head {
  min-height:54px;
  display:grid;
  grid-template-columns:minmax(280px,340px) minmax(420px,1fr) auto;
  align-items:end;
  gap:26px;
  color:#2d252f;
  background:transparent;
}
body[data-shell="editorial"] .mfp-module-switch {
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:0;
  padding:7px 0 6px;
}
body[data-shell="editorial"] .mfp-workbook-kicker {
  color:#7b687f;
  font-size:8px;
  font-weight:760;
  letter-spacing:.11em;
  line-height:1;
  text-transform:uppercase;
}
body[data-shell="editorial"] .mfp-module-switch select {
  width:100%;
  height:30px;
  margin-left:-4px;
  padding:0 28px 0 3px;
  color:#2b202e;
  background:transparent;
  border:0;
  outline:0;
  font-family:"Instrument Serif",Georgia,serif;
  font-size:22px;
  font-weight:500;
  letter-spacing:-.025em;
  cursor:pointer;
}
body[data-shell="editorial"] .mfp-module-switch select:hover,
body[data-shell="editorial"] .mfp-module-switch select:focus-visible { color:#64377b; }
body[data-shell="editorial"] .mfp-workbook-head .mfp-tabs {
  min-height:54px;
  display:flex;
  align-items:flex-end;
  gap:24px;
  margin:0;
  overflow:auto hidden;
  border:0;
}
body[data-shell="editorial"] .mfp-workbook-head .mfp-tab {
  min-height:42px;
  padding:17px 0 10px;
  color:#766e76;
  border-bottom:3px solid transparent;
  font-size:10.5px;
  white-space:nowrap;
}
body[data-shell="editorial"] .mfp-workbook-head .mfp-tab:hover { color:#35283a; }
body[data-shell="editorial"] .mfp-workbook-head .mfp-tab.active {
  color:#342239;
  border-bottom-color:#64377b;
  font-weight:700;
}
body[data-shell="editorial"] .mfp-workbook-actions {
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding-bottom:9px;
}
body[data-shell="editorial"] .mfp-workbook-actions .help-btn {
  min-height:27px;
  padding:4px 10px;
  background:#f8f5f0;
  border-color:#d6cfc8;
  font-size:10px;
}

body[data-shell="editorial"] .mfp-workbook-frame {
  position:relative;
  overflow:hidden;
  background:#fffdfa;
  border:1px solid #d7d0c9;
  border-radius:13px;
  box-shadow:0 18px 44px rgba(50,39,53,.10),0 2px 7px rgba(50,39,53,.05);
}
body[data-shell="editorial"] .mfp-workbook-secondary { padding:0; }
body[data-shell="editorial"] .mfp-workbook-frame > .mfp-commandbar {
  min-height:41px;
  top:48px;
  z-index:20;
  margin:0;
  padding:5px 7px;
  background:#f8f4ee;
  border:0;
  border-bottom:1px solid #d8d0c7;
  border-radius:0;
  box-shadow:none;
  backdrop-filter:none;
}
body[data-shell="editorial"] .mfp-workbook-frame > .mfp-commandbar .plan-ver { background:#fffdfa; }
body[data-shell="editorial"] .mfp-workbook-frame > .mfp-commandbar .mfp-view-seg { background:#e9e2dc; }
body[data-shell="editorial"] .mfp-workbook-frame > .mfp-previewbar,
body[data-shell="editorial"] .mfp-workbook-frame > .mfp-scenario-composer,
body[data-shell="editorial"] .mfp-workbook-frame > .mfp-compare-active { margin:0; border-left:0; border-right:0; border-radius:0; }
body[data-shell="editorial"] .mfp-workbook-frame > .mfp-kpis { margin:0; border-radius:0; }
body[data-shell="editorial"] .mfp-workbook-frame > .mfp-viewnote,
body[data-shell="editorial"] .mfp-workbook-frame > .mfp-uv-note { margin:0; border-radius:0; }
body[data-shell="editorial"] .mfp-workbook-frame .mfp-formulabar {
  margin:0;
  border-left:0;
  border-right:0;
  border-radius:0;
}
body[data-shell="editorial"] .mfp-premium .mfp-workbook-frame .mfp-grid-wrap {
  max-height:calc(100vh - 146px);
  margin:0;
  background:#fffdfa;
  border:0;
  border-radius:0;
  box-shadow:none;
}
body[data-shell="editorial"] .mfp-formulabar:not(.is-idle) + .mfp-grid-wrap { border-radius:0; }

body[data-shell="editorial"] .mfp-premium .mfp-grid {
  background:#fffdfa;
  border-collapse:separate;
  border-spacing:0;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid td,
body[data-shell="editorial"] .mfp-premium .mfp-grid th {
  height:30px;
  padding:4px 9px;
  border-left:0;
  border-right:0;
  border-bottom:1px solid #eee9e4;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid thead th {
  height:35px;
  color:#716970;
  background:#f5f1ec;
  border-bottom:1px solid #d5cec7;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-mcol,
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-rlabel {
  min-width:204px;
  width:204px;
  color:#4d464d;
  background:#faf6f1;
  box-shadow:1px 0 0 #d8d1ca;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid thead .mfp-mcol {
  color:#6f6570;
  background:#f0ebe5;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-mhead td {
  height:36px;
  padding-top:6px;
  padding-bottom:5px;
  border-top:7px solid #efede9;
  border-bottom:0;
  box-shadow:none;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk:first-of-type .mfp-mhead td { border-top-width:0; }
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-mhead .mfp-mcol {
  position:sticky;
  left:0;
  z-index:7;
  color:#fffaf4;
  background:#33263a!important;
  border-left:4px solid var(--mfp-band-ink,#9d7aaa);
  box-shadow:7px 0 16px rgba(48,35,53,.10);
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-mhead .mfp-mhead-fill {
  background:#f3eee8!important;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-mlabel {
  color:#fffaf4;
  font-family:"Instrument Serif",Georgia,serif;
  font-size:15px;
  font-weight:600;
}
body[data-shell="editorial"] .mfp-premium .mfp-mhead .mfp-editbadge {
  color:#e9deec;
  background:rgba(255,255,255,.08)!important;
  border-color:rgba(255,255,255,.25);
}
body[data-shell="editorial"] .mfp-premium .mfp-mhead .mfp-editbadge.derived {
  color:#dcd4dc;
  background:rgba(255,255,255,.06)!important;
  border-color:rgba(255,255,255,.18);
}
body[data-shell="editorial"] .mfp-premium .mfp-mhead .mfp-why { color:#fffaf4; }
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk td:not(.mfp-rlabel):not(.mfp-mcol):not(.mfp-roll):not(.mfp-fy):not(.mfp-mhead-fill) { background:#fffdfa; }
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-editrow td:not(.mfp-rlabel):not(.mfp-mcol):not(.mfp-roll):not(.mfp-fy),
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-editrow .mfp-rlabel {
  background:#faf7fb!important;
  box-shadow:inset 0 1px 0 #eee8f0,inset 0 -1px 0 #eee8f0;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-roll {
  background:#f8f4ef;
  border-left:1px solid #ded6cf;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-fy {
  background:#f1eaf3;
  border-left:1px solid #cfc2d3;
  box-shadow:-7px 0 14px rgba(61,41,67,.06);
}
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-varrow td { color:#8a8489; font-size:10px; }
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-wp td { color:#282329; font-weight:680; }
body[data-shell="editorial"] .mfp-premium .mfp-src { margin-top:8px; }

body[data-shell="editorial"] .mfp-focus-grid .mfp-workbook-head { display:none; }
body[data-shell="editorial"] .mfp-focus-grid .mfp-workbook-frame { border-radius:0; box-shadow:none; }
body[data-shell="editorial"] .mfp-focus-grid .mfp-workbook-frame > .mfp-commandbar { top:0; }
body[data-shell="editorial"] .mfp-focus-grid .mfp-workbook-frame .mfp-grid-wrap { max-height:calc(100vh - 44px); }

@media(max-width:1180px) {
  body[data-shell="editorial"] .view { padding:0 14px 18px; }
  body[data-shell="editorial"] .mfp-workbook-head { grid-template-columns:minmax(240px,300px) minmax(340px,1fr) auto; gap:16px; }
  body[data-shell="editorial"] .mfp-workbook-head .mfp-tabs { gap:16px; }
  body[data-shell="editorial"] .mfp-premium .mfp-workbook-frame .mfp-grid-wrap { max-height:calc(100vh - 146px); }
}
@media(max-width:820px) {
  body[data-shell="editorial"] .mfp-workbook-head { min-height:88px; grid-template-columns:1fr auto; gap:0 12px; }
  body[data-shell="editorial"] .mfp-module-switch { padding-bottom:0; }
  body[data-shell="editorial"] .mfp-module-switch select { font-size:19px; }
  body[data-shell="editorial"] .mfp-workbook-head .mfp-tabs { grid-column:1/-1; grid-row:2; min-height:34px; gap:18px; }
  body[data-shell="editorial"] .mfp-workbook-head .mfp-tab { min-height:34px; padding:8px 0 7px; }
  body[data-shell="editorial"] .mfp-workbook-actions { grid-column:2; grid-row:1; min-height:48px; padding-bottom:0; }
  body[data-shell="editorial"] .mfp-premium .mfp-workbook-frame .mfp-grid-wrap { max-height:calc(100vh - 181px); }
  body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-mcol,
  body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-rlabel { min-width:168px; width:168px; }
}
/* ===== Crisp workbook correction: white grid, sans utility type ===== */
/* The cement belongs to the app canvas only. Every table plane is white or cool-neutral. */
body[data-shell="editorial"] .mfp-premium,
body[data-shell="editorial"] .mfp-premium button,
body[data-shell="editorial"] .mfp-premium input,
body[data-shell="editorial"] .mfp-premium select,
body[data-shell="editorial"] .mfp-premium table {
  font-family:"Instrument Sans","Segoe UI",Arial,sans-serif;
}
body[data-shell="editorial"] .mfp-module-switch select {
  color:#241f27;
  font-family:"Instrument Sans","Segoe UI",Arial,sans-serif;
  font-size:19px;
  font-weight:720;
  letter-spacing:-.025em;
}
body[data-shell="editorial"] .mfp-command-orientation b {
  font-family:"Instrument Sans","Segoe UI",Arial,sans-serif;
  font-size:11px;
  font-weight:720;
}
body[data-shell="editorial"] .mfp-workbook-frame,
body[data-shell="editorial"] .mfp-premium .mfp-workbook-frame .mfp-grid-wrap,
body[data-shell="editorial"] .mfp-premium .mfp-grid { background:#fff!important; }
body[data-shell="editorial"] .mfp-workbook-frame > .mfp-commandbar {
  background:#f8f8fa;
  border-bottom-color:#d9d9df;
}
body[data-shell="editorial"] .mfp-workbook-frame > .mfp-commandbar .plan-ver { background:#fff; }
body[data-shell="editorial"] .mfp-workbook-frame > .mfp-commandbar .mfp-view-seg { background:#eae9ed; }
body[data-shell="editorial"] .mfp-premium .mfp-grid thead th {
  color:#62616a;
  background:#f5f5f7;
  border-bottom-color:#d8d8df;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid thead .mfp-mcol {
  color:#5d5a63;
  background:#f2f2f5;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-mcol,
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-rlabel {
  background:#fbfbfc;
  box-shadow:1px 0 0 #dddde2;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-mhead td {
  border-top-color:#fff;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-mhead .mfp-mhead-fill {
  background:#fff!important;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-mhead .mfp-mcol {
  color:#fff;
  background:#2f2536!important;
  box-shadow:6px 0 14px rgba(39,31,43,.09);
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-mlabel {
  color:#fff;
  font-family:"Instrument Sans","Segoe UI",Arial,sans-serif;
  font-size:11.5px;
  font-weight:740;
  letter-spacing:-.01em;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk td:not(.mfp-rlabel):not(.mfp-mcol):not(.mfp-roll):not(.mfp-fy):not(.mfp-mhead-fill),
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-seed td,
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-varrow td { background:#fff; }
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-roll {
  background:#fafafa;
  border-left-color:#dedee3;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-fy {
  background:#f5f2f7;
  border-left-color:#d5ccda;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-editrow td:not(.mfp-rlabel):not(.mfp-mcol):not(.mfp-roll):not(.mfp-fy),
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-editrow .mfp-rlabel {
  background:#faf8fc!important;
}
/* ===== Compact command spacing ===== */
/* Version actions and view mode are one toolbar: no oversized field wrapper or double gap. */
body[data-shell="editorial"] .mfp-workbook-frame > .mfp-commandbar {
  padding:5px 6px;
  gap:8px;
}
body[data-shell="editorial"] .mfp-command-left,
body[data-shell="editorial"] .mfp-command-right { gap:4px; }
body[data-shell="editorial"] .mfp-commandbar .plan-ver {
  min-height:28px;
  gap:2px;
  margin:0;
  padding:0;
  background:transparent!important;
  border:0;
  border-radius:0;
  box-shadow:none;
}
body[data-shell="editorial"] .mfp-commandbar .plan-ver-sel {
  width:132px;
  max-width:132px;
  height:28px;
  padding:0 24px 0 9px;
  background:#fff!important;
  border:1px solid #d8d8de;
  border-radius:6px;
  font-size:10.5px;
}
body[data-shell="editorial"] .mfp-commandbar .plan-ver-act {
  min-height:28px;
  padding:3px 6px;
  border-radius:5px;
  font-size:10px;
  line-height:1;
}
body[data-shell="editorial"] .mfp-commandbar .mfp-view-seg { margin:0 0 0 3px; }
body[data-shell="editorial"] .mfp-command-rule { margin:0 1px; }
@media(max-width:1180px) {
  body[data-shell="editorial"] .mfp-commandbar .plan-ver-sel { width:118px; max-width:118px; }
}
/* ===== Workbook toolbar vertical alignment ===== */
/* The grid scrolls independently; a sticky top offset here only creates an empty band. */
body[data-shell="editorial"] .mfp-workbook-frame > .mfp-commandbar {
  position:relative!important;
  top:auto!important;
}
/* ===== Semantic grid warmth ===== */
/* Local workbook surface token: structural ink, not a replacement for the purple jewel. */
body[data-shell="editorial"] .mfp-premium {
  --mfp-grid-ink:#2f2536;
  --mfp-rollup:#f7f0e4;
  --mfp-rollup-year:#eee2d2;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-mhead .mfp-mcol {
  color:#fff;
  background:var(--mfp-grid-ink)!important;
  border-left:4px solid var(--mfp-band-ink,var(--mfp-accent));
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-mhead .mfp-mhead-fill {
  background:color-mix(in srgb,var(--mfp-band,#eee8df) 72%,#fff)!important;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-editrow td:not(.mfp-rlabel):not(.mfp-mcol):not(.mfp-roll):not(.mfp-fy),
body[data-shell="editorial"] .mfp-premium .mfp-grid tbody.mfp-blk .mfp-editrow .mfp-rlabel {
  background:color-mix(in srgb,var(--mfp-band,#eee8df) 30%,#fff)!important;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-roll {
  background:var(--mfp-rollup)!important;
  border-left-color:#ded2c1;
}
body[data-shell="editorial"] .mfp-premium .mfp-grid .mfp-fy {
  background:var(--mfp-rollup-year)!important;
  border-left-color:#cfbea7;
  box-shadow:-6px 0 13px rgba(76,58,42,.055);
}
/* ===== Home planning cockpit · editorial luxury pass ===== */
body[data-shell="editorial"]:has(.cp-home-cockpit) .view {
  background:#f5f1ea;
}
body[data-shell="editorial"] .cp-home-cockpit {
  --cp-home-ink:#211b22;
  --cp-home-aubergine:#2f2536;
  --cp-home-muted:#746d72;
  --cp-home-rule:#d8cec3;
  --cp-home-rule-soft:#e8e0d7;
  --cp-home-paper:#f5f1ea;
  --cp-home-surface:#fffdfa;
  --cp-home-warm:#f0e5d8;
  --cp-home-plum:#542477;
  color:var(--cp-home-ink);
}
body[data-shell="editorial"] .cp-home-cockpit .cp-exec-context {
  min-height:50px;
  margin-bottom:0;
  color:#776f75;
  border-bottom-color:var(--cp-home-rule);
}
body[data-shell="editorial"] .cp-home-cockpit .cp-exec-context b {
  color:var(--cp-home-aubergine);
  font-weight:650;
}
body[data-shell="editorial"] .cp-home-cockpit .cp-period .seg {
  background:rgba(255,253,250,.72);
  border-color:var(--cp-home-rule);
}
body[data-shell="editorial"] .cp-home-cockpit .cp-period .seg-btn.active {
  background:var(--cp-home-aubergine);
}
body[data-shell="editorial"] .cp-insight-ribbon {
  display:grid;
  grid-template-columns:92px minmax(260px,.72fr) minmax(320px,1.35fr) auto;
  gap:18px;
  align-items:center;
  min-height:72px;
  margin-top:8px;
  padding:13px 0 14px;
  background:transparent;
  border:0;
  border-bottom:1px solid var(--cp-home-rule);
  border-radius:0;
  box-shadow:none;
}
body[data-shell="editorial"] .cp-insight-mark { display:none; }
body[data-shell="editorial"] .cp-insight-label {
  position:relative;
  padding-left:15px;
  color:var(--cp-home-plum);
  font-size:9px;
  font-weight:760;
  letter-spacing:.14em;
  line-height:1.25;
  text-transform:uppercase;
}
body[data-shell="editorial"] .cp-insight-label::before {
  content:"";
  position:absolute;
  left:1px;
  top:3px;
  width:7px;
  height:7px;
  background:var(--cp-home-plum);
  transform:rotate(45deg);
}
body[data-shell="editorial"] .cp-insight-ribbon strong {
  color:var(--cp-home-aubergine);
  font-family:"Instrument Serif",Georgia,serif;
  font-size:21px;
  font-weight:400;
  letter-spacing:-.02em;
  line-height:1.08;
}
body[data-shell="editorial"] .cp-insight-copy {
  color:var(--cp-home-muted);
  font-size:11.5px;
  line-height:1.48;
}
body[data-shell="editorial"] .cp-insight-ribbon button {
  padding:4px 0 3px;
  color:#4e275f;
  background:transparent;
  border:0;
  border-bottom:1px solid #9e8ea6;
  font-size:10.5px;
  font-weight:700;
  white-space:nowrap;
  cursor:pointer;
}
body[data-shell="editorial"] .cp-plan-score {
  display:grid;
  grid-template-columns:repeat(5,minmax(150px,1fr));
  margin-top:0;
  background:transparent;
  border:0;
  border-bottom:1px solid var(--cp-home-rule);
  border-radius:0;
  overflow:visible;
}
body[data-shell="editorial"] .cp-plan-metric {
  position:relative;
  display:grid;
  gap:7px;
  min-width:0;
  padding:17px 19px 15px;
  text-align:left;
  background:transparent;
  border:0;
  border-right:1px solid var(--cp-home-rule);
  cursor:pointer;
}
body[data-shell="editorial"] .cp-plan-metric:first-child { padding-left:0; }
body[data-shell="editorial"] .cp-plan-metric:last-child { padding-right:0; border-right:0; }
body[data-shell="editorial"] .cp-plan-metric::after {
  content:"";
  position:absolute;
  right:18px;
  bottom:-1px;
  left:18px;
  height:3px;
  background:transparent;
}
body[data-shell="editorial"] .cp-plan-metric:first-child::after { left:0; }
body[data-shell="editorial"] .cp-plan-metric:last-child::after { right:0; }
body[data-shell="editorial"] .cp-plan-metric:hover { background:rgba(255,253,250,.42); }
body[data-shell="editorial"] .cp-plan-metric.active::after { background:var(--cp-home-plum); }
body[data-shell="editorial"] .cp-plan-label {
  color:#7d757b;
  font-size:8.5px;
  font-weight:760;
  letter-spacing:.115em;
  line-height:1.2;
  text-transform:uppercase;
}
body[data-shell="editorial"] .cp-plan-metric > strong {
  color:var(--cp-home-aubergine);
  font-family:"Instrument Serif",Georgia,serif;
  font-size:31px;
  font-weight:400;
  letter-spacing:-.035em;
  line-height:.98;
}
body[data-shell="editorial"] .cp-plan-comps {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:5px;
  padding-top:0;
  border-top:0;
}
body[data-shell="editorial"] .cp-plan-comp {
  min-width:0;
  color:#716a70;
  font-size:9.5px;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
body[data-shell="editorial"] .cp-plan-comp b {
  display:inline;
  margin-right:3px;
  color:#9a9298;
  font-size:7.5px;
  letter-spacing:.065em;
}
body[data-shell="editorial"] .cp-plan-comp.up { color:#2f7257; }
body[data-shell="editorial"] .cp-plan-comp.down { color:#a25f39; }
body[data-shell="editorial"] .cp-plan-comp.na { color:#aaa3a8; }
body[data-shell="editorial"] .cp-performance-evidence {
  display:grid;
  grid-template-columns:minmax(0,3fr) minmax(240px,.82fr);
  gap:38px;
  padding-top:28px;
}
body[data-shell="editorial"] .cp-performance-evidence .cp-section-head,
body[data-shell="editorial"] .cp-hierarchy .cp-section-head {
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-end;
  margin-bottom:13px;
}
body[data-shell="editorial"] .cp-performance-evidence h2,
body[data-shell="editorial"] .cp-hierarchy h2 {
  margin:0 0 3px;
  color:var(--cp-home-aubergine);
  font-family:"Instrument Serif",Georgia,serif;
  font-size:23px;
  font-weight:400;
  letter-spacing:-.025em;
}
body[data-shell="editorial"] .cp-performance-evidence .cp-section-head span,
body[data-shell="editorial"] .cp-hierarchy .cp-section-head span {
  color:#847c82;
  font-size:10px;
}
body[data-shell="editorial"] .cp-compare-switch {
  display:inline-flex;
  padding:2px;
  background:rgba(255,253,250,.68);
  border:1px solid var(--cp-home-rule);
  border-radius:999px;
}
body[data-shell="editorial"] .cp-compare-switch button {
  min-width:36px;
  padding:4px 8px;
  color:#756d74;
  background:transparent;
  border:0;
  border-radius:999px;
  font-size:8.5px;
  font-weight:760;
  cursor:pointer;
}
body[data-shell="editorial"] .cp-compare-switch button.active {
  color:#fff;
  background:var(--cp-home-aubergine);
  box-shadow:none;
}
body[data-shell="editorial"] .cp-plan-chart {
  padding:13px 14px 4px 4px;
  background:var(--cp-home-surface);
  border:1px solid var(--cp-home-rule-soft);
  border-radius:2px;
  box-shadow:0 10px 28px rgba(55,43,52,.045);
}
body[data-shell="editorial"] .cp-plan-chart .hl-chart {
  display:block;
  width:100%;
  max-height:255px;
}
body[data-shell="editorial"] .cp-plan-legend {
  display:flex;
  justify-content:flex-end;
  gap:15px;
  min-height:20px;
  color:#6d666c;
  font-size:9px;
}
body[data-shell="editorial"] .cp-plan-legend span {
  display:inline-flex;
  gap:5px;
  align-items:center;
}
body[data-shell="editorial"] .cp-plan-legend span.missing { color:#aaa3a8; }
body[data-shell="editorial"] .cp-plan-legend i {
  width:16px;
  height:2px;
  background:var(--line);
}
body[data-shell="editorial"] .cp-plan-legend .missing i { opacity:.3; }
body[data-shell="editorial"] .cp-movers {
  padding-left:27px;
  border-left:1px solid var(--cp-home-rule);
}
body[data-shell="editorial"] .cp-mover {
  display:block;
  width:100%;
  padding:11px 0 12px;
  text-align:left;
  background:transparent;
  border:0;
  border-bottom:1px solid var(--cp-home-rule);
  cursor:pointer;
}
body[data-shell="editorial"] .cp-mover-line {
  display:flex;
  justify-content:space-between;
  gap:9px;
  color:#393239;
  font-size:10.5px;
}
body[data-shell="editorial"] .cp-mover-line b { font-weight:680; }
body[data-shell="editorial"] .cp-mover-bar {
  display:block;
  height:3px;
  margin:7px 0 4px;
  background:#e6ddd5;
}
body[data-shell="editorial"] .cp-mover-bar i {
  display:block;
  height:100%;
  background:var(--cp-home-aubergine);
}
body[data-shell="editorial"] .cp-mover.risk .cp-mover-bar i { background:#a15155; }
body[data-shell="editorial"] .cp-mover small { color:#8b8389; font-size:9px; }
body[data-shell="editorial"] .cp-hierarchy {
  margin-top:34px;
  padding-top:23px;
  border-top:1px solid var(--cp-home-rule);
}
body[data-shell="editorial"] .cp-hierarchy-tools {
  display:flex;
  gap:4px;
}
body[data-shell="editorial"] .cp-hierarchy-tools button {
  padding:5px 9px;
  color:#655d64;
  background:rgba(255,253,250,.72);
  border:1px solid var(--cp-home-rule);
  border-radius:999px;
  font-size:8.5px;
  font-weight:680;
  cursor:pointer;
}
body[data-shell="editorial"] .cp-hierarchy-tools button:hover {
  color:#4e275f;
  border-color:#ad9cb3;
}
body[data-shell="editorial"] .cp-hierarchy-scroll {
  max-height:435px;
  overflow:auto;
  background:var(--cp-home-surface);
  border:1px solid var(--cp-home-rule);
  border-radius:2px;
  box-shadow:0 13px 32px rgba(55,43,52,.055);
}
body[data-shell="editorial"] .cp-hierarchy table {
  width:100%;
  min-width:1120px;
  border-collapse:separate;
  border-spacing:0;
  font-size:10px;
  font-variant-numeric:tabular-nums;
}
body[data-shell="editorial"] .cp-hierarchy th {
  position:sticky;
  top:0;
  z-index:3;
  height:34px;
  padding:0 10px;
  color:#d9d0da;
  text-align:left;
  background:var(--cp-home-aubergine);
  border-bottom:1px solid #211a27;
  font-size:8px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  white-space:nowrap;
}
body[data-shell="editorial"] .cp-hierarchy td {
  height:32px;
  padding:5px 10px;
  color:#4b454b;
  background:var(--cp-home-surface);
  border-bottom:1px solid #ece5de;
  white-space:nowrap;
}
body[data-shell="editorial"] .cp-hierarchy th.num,
body[data-shell="editorial"] .cp-hierarchy td.num { text-align:right; }
body[data-shell="editorial"] .cp-hierarchy th:first-child {
  left:0;
  z-index:5;
  min-width:285px;
}
body[data-shell="editorial"] .cp-hierarchy td:first-child {
  position:sticky;
  left:0;
  z-index:2;
  min-width:285px;
  box-shadow:1px 0 0 #ded5ce;
}
body[data-shell="editorial"] .cp-hierarchy tr[data-home-level="0"] td {
  color:#2e2530;
  background:var(--cp-home-warm);
  font-weight:750;
  border-bottom-color:#d7c8b8;
}
body[data-shell="editorial"] .cp-hierarchy tr[data-home-level="1"] td {
  background:#faf6ef;
  font-weight:680;
}
body[data-shell="editorial"] .cp-hierarchy tbody tr:hover td { background:#f8f1fa; }
body[data-shell="editorial"] .cp-tree-name {
  display:flex;
  align-items:center;
  gap:6px;
  padding-left:calc(9px + var(--level) * 17px)!important;
}
body[data-shell="editorial"] .cp-tree-name > span {
  overflow:hidden;
  text-overflow:ellipsis;
}
body[data-shell="editorial"] .cp-tree-name small {
  margin-left:auto;
  color:#a0989e;
  font-size:7.5px;
  font-weight:650;
  letter-spacing:.055em;
  text-transform:uppercase;
}
body[data-shell="editorial"] .cp-tree-toggle,
body[data-shell="editorial"] .cp-tree-leaf {
  display:inline-grid;
  place-items:center;
  flex:0 0 17px;
  width:17px;
  height:17px;
}
body[data-shell="editorial"] .cp-tree-toggle {
  color:#fff;
  background:var(--cp-home-plum);
  border:0;
  border-radius:50%;
  font-size:12px;
  line-height:1;
  cursor:pointer;
}
body[data-shell="editorial"] .cp-hierarchy .up { color:#2e7357; font-weight:650; }
body[data-shell="editorial"] .cp-hierarchy .down { color:#a25c3b; font-weight:650; }
body[data-shell="editorial"] .cp-hierarchy .na { color:#aaa3a8; }
body[data-shell="editorial"] .cp-hierarchy .strong { color:#2d2730; font-weight:720; }
body[data-shell="editorial"] .cp-home-cockpit .cp-source {
  margin:10px 0 18px;
  padding-top:0;
  color:#938b90;
}
@media(max-width:1100px) {
  body[data-shell="editorial"] .cp-insight-ribbon {
    grid-template-columns:92px minmax(230px,1fr) auto;
  }
  body[data-shell="editorial"] .cp-insight-copy {
    grid-column:2 / 4;
  }
  body[data-shell="editorial"] .cp-performance-evidence {
    grid-template-columns:1fr;
  }
  body[data-shell="editorial"] .cp-movers {
    padding:22px 0 0;
    border-top:1px solid var(--cp-home-rule);
    border-left:0;
  }
}
@media(max-width:760px) {
  body[data-shell="editorial"] .cp-home-cockpit .cp-exec-context {
    align-items:flex-start;
  }
  body[data-shell="editorial"] .cp-home-cockpit .cp-exec-context-right {
    align-items:flex-end;
  }
  body[data-shell="editorial"] .cp-insight-ribbon {
    grid-template-columns:1fr auto;
    gap:5px 14px;
    padding:9px 0;
  }
  body[data-shell="editorial"] .cp-insight-label { grid-column:1; }
  body[data-shell="editorial"] .cp-insight-ribbon strong {
    grid-column:1 / 3;
    font-size:19px;
  }
  body[data-shell="editorial"] .cp-insight-copy { grid-column:1 / 3; }
  body[data-shell="editorial"] .cp-insight-ribbon button {
    grid-column:2;
    grid-row:1;
  }
  body[data-shell="editorial"] .cp-plan-score {
    grid-template-columns:repeat(5,minmax(190px,1fr));
    overflow-x:auto;
  }
  body[data-shell="editorial"] .cp-plan-metric:first-child { padding-left:14px; }
  body[data-shell="editorial"] .cp-plan-metric:last-child { padding-right:14px; }
  body[data-shell="editorial"] .cp-plan-metric:first-child::after { left:14px; }
  body[data-shell="editorial"] .cp-plan-metric:last-child::after { right:14px; }
  body[data-shell="editorial"] .cp-performance-evidence { padding-top:21px; }
  body[data-shell="editorial"] .cp-performance-evidence .cp-section-head,
  body[data-shell="editorial"] .cp-hierarchy .cp-section-head { align-items:flex-start; }
  body[data-shell="editorial"] .cp-hierarchy-tools {
    flex-wrap:wrap;
    justify-content:flex-end;
  }
}
body[data-shell="editorial"] .cp-hierarchy-empty {
  display:grid;
  grid-template-columns:minmax(190px,.36fr) minmax(280px,1fr);
  gap:22px;
  align-items:baseline;
  padding:22px 24px;
  background:var(--cp-home-surface);
  border:1px solid var(--cp-home-rule);
  border-left:4px solid var(--cp-home-aubergine);
}
body[data-shell="editorial"] .cp-hierarchy-empty strong {
  color:var(--cp-home-aubergine);
  font-family:"Instrument Serif",Georgia,serif;
  font-size:20px;
  font-weight:400;
}
body[data-shell="editorial"] .cp-hierarchy-empty span {
  color:var(--cp-home-muted);
  font-size:11px;
  line-height:1.5;
}
@media(max-width:760px) {
  body[data-shell="editorial"] .cp-hierarchy-empty { grid-template-columns:1fr; gap:6px; }
}
/* ===== FV Item Master · merchant luxury system ===== */
body:has(.afa-im-ledger){--im-ink:#2f2536;--im-plum:#542477;--im-plum-soft:#eee7f3;--im-paper:#fffdfa;--im-canvas:#f5f1ea;--im-rule:#d9d0c6;--im-muted:#756d68;background:var(--im-canvas)}
body:has(.afa-im-ledger) .page-head{align-items:end;margin:0 0 12px;padding:15px 2px 11px;border-bottom:1px solid var(--im-rule)}
body:has(.afa-im-ledger) .page-head :is(h1,h2){color:#211d24;font-family:var(--font-serif,"Iowan Old Style",Baskerville,Georgia,serif);font-size:31px;font-weight:500;letter-spacing:-.035em;line-height:1}
body:has(.afa-im-ledger) .page-head p{max-width:680px;margin-top:7px;color:var(--im-muted);font-size:12px}
body:has(.afa-im-ledger) .afa-view-seg{padding:2px;background:#e9e3dc;border:0;border-radius:7px}
body:has(.afa-im-ledger) .afa-view-seg .seg-btn{min-width:62px;min-height:30px;color:#6d6560;border:0;border-radius:5px}
body:has(.afa-im-ledger) .afa-view-seg .seg-btn.active{color:#fff;background:var(--im-ink);box-shadow:0 1px 3px rgba(47,37,54,.18)}
body:has(.afa-im-ledger) .secondary-btn.compact{min-height:34px;border-color:var(--im-rule);background:var(--im-paper)}
body .afa-im-ledger{display:flex;align-items:stretch;gap:0;margin:0 0 10px;padding:0;overflow:hidden;background:var(--im-paper,#fffdfa);border:1px solid var(--im-rule,#d9d0c6);border-radius:3px;box-shadow:0 8px 22px rgba(47,37,54,.035)}
body .afa-im-ledger .scope-totals{display:grid;grid-template-columns:repeat(7,minmax(96px,1fr));flex:1;min-width:0}
body .afa-im-ledger .stat{min-width:0;padding:12px 15px 11px;border-right:1px solid #e6ded6}
body .afa-im-ledger .stat label,body .afa-im-health>span{display:block;margin:0 0 5px;color:#8a817b;font-size:9px;font-weight:700;letter-spacing:.085em;line-height:1;text-transform:uppercase}
body .afa-im-ledger .stat strong{display:block;overflow:hidden;color:#262128;font-family:var(--font-serif,"Iowan Old Style",Baskerville,Georgia,serif);font-size:19px;font-weight:500;letter-spacing:-.025em;line-height:1.05;text-overflow:ellipsis;white-space:nowrap}
body .afa-im-health{display:flex;align-content:center;align-items:center;flex:0 0 auto;flex-wrap:wrap;gap:5px;max-width:350px;padding:10px 13px;background:#f0ebe5}
body .afa-im-health>span{width:100%;margin-bottom:1px}
body .afa-exc{min-height:23px;padding:3px 8px;color:#5d5550;font-size:10px;background:#fffaf4;border:1px solid #d8cdc1;border-radius:999px}
body .afa-exc strong{margin-left:3px;color:#2f2536}body .afa-exc.alert{border-left:3px solid #a64555}body .afa-exc.warn{border-left:3px solid #aa7437}
body .afa-exc.on{color:#fff;background:var(--im-ink,#2f2536);border-color:var(--im-ink,#2f2536)}body .afa-exc.on strong{color:#fff}
body .afa-im-filter-shell{position:relative;z-index:5;margin:0 0 9px;padding:8px;background:rgba(255,253,250,.96);border:1px solid var(--im-rule,#d9d0c6);border-radius:3px}
body .afa-im-filter-primary,body .afa-im-filter-more{display:flex;align-items:center;gap:6px}
body .afa-im-filter-more{flex-wrap:wrap;margin-top:8px;padding-top:8px;border-top:1px solid #e6ded6}
body .afa-im-searchbox{flex:1 1 280px;min-width:220px;max-width:420px}
body .afa-im-searchbox input{width:100%;height:34px;padding:0 12px 0 34px;color:#29242a;background:#fff;border:1px solid #d8cfc6;border-radius:5px}
body .afa-im-filter-shell .mpicker-btn{min-width:142px;height:34px;padding:0 30px 0 10px;color:#3b343a;background:#fff;border-color:#d8cfc6;border-radius:5px;font-size:11px}
body .afa-im-filter-shell .mpicker-btn .pick-label{color:#867d77}
body .afa-im-filter-shell .mpicker-btn.has-value,body .afa-im-filter-shell .mpicker.open .mpicker-btn{color:var(--im-plum,#542477);border-color:#a98dbb;box-shadow:inset 0 -2px 0 var(--im-plum,#542477)}
body .afa-im-more-btn,body .afa-im-clear{height:34px;padding:0 10px;color:#615a56;background:transparent;border:1px solid #d8cfc6;border-radius:5px;font-size:10.5px}
body .afa-im-more-btn span{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:4px;color:#fff;background:var(--im-ink,#2f2536);border-radius:999px;font-size:9px}
body .afa-im-more-btn.active{color:var(--im-plum,#542477);border-color:#a98dbb}
body .afa-im-sort{display:flex;align-items:center;gap:6px;height:34px;padding:0 8px;color:#817873;background:#f4efe9;border-radius:5px;font-size:9px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
body .afa-im-sort select{color:#332d32;background:transparent;border:0;font-size:11px;font-weight:650;outline:0}
body .afa-im-filter-status{margin-left:auto;color:#7b716a;font-size:10px;white-space:nowrap}body .afa-im-clear{height:26px;padding:0 7px;color:var(--im-plum,#542477);border:0}
body .afa-im-profiles{display:flex;align-items:center;gap:2px;margin:0 0 7px;padding:4px;width:max-content;max-width:100%;background:#eae4dd;border-radius:6px}
body .afa-im-profiles>span{padding:0 7px;color:#867d77;font-size:9px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}
body .afa-im-profiles button{min-height:28px;padding:0 10px;color:#675f5a;background:transparent;border:0;border-radius:4px;font-size:10.5px}
body .afa-im-profiles button.active{color:#fff;background:var(--im-ink,#2f2536);box-shadow:0 1px 3px rgba(47,37,54,.16)}
body .afa-cards-grid:has(.afa-im-card){display:grid;grid-template-columns:repeat(auto-fill,minmax(186px,1fr));gap:10px}
body .afa-im-card{overflow:hidden;min-width:0;padding:0;text-align:left;background:var(--im-paper,#fffdfa);border:1px solid #ded6ce;border-radius:3px;box-shadow:0 8px 20px rgba(47,37,54,.035);transition:border-color .16s,box-shadow .16s,transform .16s}
body .afa-im-card:hover{border-color:#a99ca9;box-shadow:0 13px 28px rgba(47,37,54,.09);transform:translateY(-2px)}
body .afa-im-card .afa-card-img{aspect-ratio:4/5;height:auto;background-color:#e9e2da;background-position:center;background-size:cover;border-radius:0}
body .afa-im-card .afa-card-body{padding:11px 11px 10px}
body .afa-im-card-eyebrow{display:flex;align-items:center;justify-content:space-between;min-height:20px;margin-bottom:6px;color:#81756f;font-size:9px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
body .afa-im-card-eyebrow>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body .afa-im-card-eyebrow .afa-im-signal:not(.clean){display:none}
body .afa-im-card .afa-card-name{display:-webkit-box;min-height:38px;overflow:hidden;color:#241f25;font-size:13px;font-weight:700;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}
body .afa-im-card .afa-card-sub{height:30px;margin-top:3px;overflow:hidden;color:#817873;font-size:10px;line-height:1.45}
body .afa-card-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:9px -11px -10px;border-top:1px solid #e5ddd5}
body .afa-card-stats>span{padding:8px 9px;border-right:1px solid #e5ddd5}body .afa-card-stats>span:last-child{border-right:0}
body .afa-card-stats small{display:block;margin-bottom:3px;color:#958b84;font-size:8px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}body .afa-card-stats b{color:#2d2730;font-size:11px;font-variant-numeric:tabular-nums}
body .afa-im-grid-shell{overflow:hidden;background:var(--im-paper,#fffdfa);border:1px solid var(--im-rule,#d9d0c6);border-radius:3px;box-shadow:0 10px 26px rgba(47,37,54,.045)}
body .afa-im-grid-note{display:flex;align-items:center;justify-content:space-between;min-height:30px;padding:0 10px;color:#837a74;background:#f3eee8;border-bottom:1px solid #d8cfc6;font-size:9.5px}
body .afa-im-grid-note span:first-child{color:#3c353a;font-weight:700}
body .afa-im-grid-wrap{max-height:calc(100vh - 300px);min-height:360px;overflow:auto}
body .afa-im-grid{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;table-layout:auto}
body .afa-im-grid th{position:sticky;z-index:3;top:0;height:34px;padding:0 10px;color:#eae4ed;background:var(--im-ink,#2f2536);border-right:1px solid rgba(255,255,255,.1);border-bottom:0;font-size:8.5px;font-weight:750;letter-spacing:.07em;text-transform:uppercase;white-space:nowrap}
body .afa-im-grid th.item{left:0;z-index:5;min-width:360px;text-align:left}
body .afa-im-grid td{height:52px;padding:5px 10px;color:#443d41;background:#fffdfa;border-right:1px solid #ece6df;border-bottom:1px solid #e5ded6;font-size:10.5px;white-space:nowrap}
body .afa-im-grid tbody tr:nth-child(even) td{background:#fcf8f3}body .afa-im-grid tbody tr:hover td{background:#f2eaf3}
body .afa-im-grid td.num{color:#302a30;text-align:right;font-variant-numeric:tabular-nums}body .afa-im-grid td.strong{color:#251d2b;font-weight:750}body .afa-im-grid td.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9.5px}
body .afa-im-item-col{position:sticky;z-index:2;left:0;min-width:360px;max-width:360px;padding:4px 8px!important;box-shadow:7px 0 13px rgba(47,37,54,.04)}
body .afa-im-grid-item{display:flex;align-items:center;gap:9px;min-width:0}
body .afa-im-thumb{display:grid;flex:0 0 38px;width:38px;height:42px;place-items:center;overflow:hidden;color:#fff;background-position:center;background-size:cover;border-radius:2px}
body .afa-im-thumb i{font-family:var(--font-serif,Georgia,serif);font-style:normal}body .afa-im-grid-item>span:last-child{min-width:0}
body .afa-im-grid-item b,body .afa-im-grid-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body .afa-im-grid-item b{color:#282229;font-size:11px}body .afa-im-grid-item small{margin-top:3px;color:#89807a;font-size:9px}
body .afa-im-signal-cell{min-width:120px}.afa-im-signal{display:inline-flex;align-items:center;min-height:19px;margin:1px 3px 1px 0;padding:2px 7px;color:#685f59;background:#eee8e1;border-radius:999px;font-size:8.5px;font-weight:700;white-space:nowrap}.afa-im-signal.clean{color:#356b57;background:#e5f0e9}.afa-im-signal.warn{color:#815821;background:#f4e9d8}.afa-im-signal.alert{color:#8a3442;background:#f4e1e5}
body .afa-im-up{color:#39745d;font-weight:700}body .afa-im-down{color:#a04250;font-weight:700}body .afa-im-na{color:#aaa19a}
body .afa-buy-ov{background:rgba(27,22,30,.58);backdrop-filter:blur(3px)}body .afa-im-panel{width:min(980px,96vw);max-width:none;color:#312b30;background:var(--im-canvas,#f5f1ea);border-left:1px solid rgba(255,255,255,.45);box-shadow:-24px 0 70px rgba(29,23,32,.25)}
body .afa-im-drawer-head{position:sticky;z-index:8;top:0;min-height:82px;padding:15px 22px 13px;color:#f8f4f1;background:var(--im-ink,#2f2536);border:0}body .afa-im-drawer-head>div{min-width:0}
body .afa-im-drawer-head span{color:#bea9c9;font-size:8.5px;font-weight:750;letter-spacing:.12em;text-transform:uppercase}
body .afa-im-drawer-head h3{max-width:760px;margin:5px 0 3px;overflow:hidden;color:#fff;font-family:var(--font-serif,"Iowan Old Style",Baskerville,Georgia,serif);font-size:21px;font-weight:500;letter-spacing:-.025em;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}
body .afa-im-drawer-head p{color:#c8beca;font-size:10px}body .afa-im-drawer-head .afa-buy-x{display:grid;width:31px;height:31px;place-items:center;color:#fff;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:50%}
body .afa-im-tabs{position:sticky;z-index:7;top:82px;display:flex;gap:2px;padding:0 18px;overflow-x:auto;background:rgba(255,253,250,.98);border-bottom:1px solid var(--im-rule,#d9d0c6)}
body .afa-im-tabs button{position:relative;min-height:43px;padding:0 11px;color:#776e69;background:transparent;border:0;font-size:10.5px;white-space:nowrap}body .afa-im-tabs button.active{color:var(--im-plum,#542477);font-weight:750}body .afa-im-tabs button.active:after{position:absolute;right:10px;bottom:0;left:10px;height:3px;content:"";background:var(--im-plum,#542477)}
body .afa-im-drawer-body{padding:18px 20px 44px;background:var(--im-canvas,#f5f1ea)}
body .afa-im-identity{display:grid;grid-template-columns:250px minmax(0,1fr);gap:0;margin-bottom:13px;overflow:hidden;background:var(--im-paper,#fffdfa);border:1px solid var(--im-rule,#d9d0c6);border-radius:3px}
body .afa-im-identity-media{min-height:290px;background-color:#e4ddd4;background-position:center;background-size:cover}
body .afa-im-identity-copy{display:flex;align-items:flex-start;flex-direction:column;justify-content:center;min-width:0;padding:28px 30px}
body .afa-im-kicker{margin-bottom:10px;color:var(--im-plum,#542477);font-size:9px;font-weight:750;letter-spacing:.1em;text-transform:uppercase}
body .afa-im-identity h3{max-width:610px;margin:0;color:#241f25;font-family:var(--font-serif,"Iowan Old Style",Baskerville,Georgia,serif);font-size:31px;font-weight:500;letter-spacing:-.035em;line-height:1.04}
body .afa-im-identity p{margin:10px 0 16px;color:#746b66;font-size:11px}body .afa-im-identity-tags{display:flex;flex-wrap:wrap;gap:5px}body .afa-im-identity-tags span{padding:5px 8px;color:#5f565f;background:#f1ebe5;border:1px solid #ddd3ca;border-radius:2px;font-size:9px}body .afa-im-identity-signal{margin-top:12px}
body .afa-im-section{margin:0 0 12px;overflow:hidden;background:var(--im-paper,#fffdfa);border:1px solid var(--im-rule,#d9d0c6);border-radius:3px}
body .afa-im-section-head{display:flex;align-items:flex-end;justify-content:space-between;min-height:51px;padding:11px 14px 9px;border-bottom:1px solid #e4dcd4}
body .afa-im-section-head h4{margin:0;color:#302830;font-family:var(--font-serif,"Iowan Old Style",Baskerville,Georgia,serif);font-size:17px;font-weight:500;letter-spacing:-.018em}body .afa-im-section-head span{display:block;margin-top:3px;color:#8a817b;font-size:9.5px}
body .afa-im-performance{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}body .afa-im-metric{min-width:0;padding:15px 14px 14px;border-right:1px solid #e7dfd7}body .afa-im-metric:last-child{border-right:0}
body .afa-im-metric label{display:block;margin-bottom:7px;color:#8b817b;font-size:8.5px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}body .afa-im-metric strong{display:block;overflow:hidden;color:#282129;font-family:var(--font-serif,"Iowan Old Style",Baskerville,Georgia,serif);font-size:21px;font-weight:500;letter-spacing:-.025em;line-height:1;text-overflow:ellipsis;white-space:nowrap}body .afa-im-metric>span{display:block;min-height:14px;margin-top:6px;color:#817771;font-size:9px}body .afa-im-metric.warn{box-shadow:inset 0 -3px 0 #a64555}body .afa-im-performance.compact .afa-im-metric strong{font-size:18px}
body .afa-im-attrs,body .afa-im-quickfacts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:4px 14px 12px}body .afa-im-attr{min-width:0;padding:10px 14px 8px 0;border-bottom:1px solid #eee7df}body .afa-im-attr label{display:block;margin-bottom:4px;color:#918780;font-size:8px;font-weight:750;letter-spacing:.075em;text-transform:uppercase}body .afa-im-attr span{display:block;overflow:hidden;color:#383137;font-size:11px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}
body .afa-im-loading{padding:20px;color:#887e77;font-size:11px;font-style:italic}body .afa-im-sub{padding:10px 12px 7px;color:#766c66;font-size:8.5px;font-weight:750;letter-spacing:.085em;text-transform:uppercase}body .afa-im-section .afa-grid-wrap{margin:0;border:0;border-radius:0;box-shadow:none}body .afa-im-section .afa-grid th{background:#eee8e1;color:#635a55}body .afa-im-section .afa-grid td{background:#fffdfa}
@media(max-width:1380px){body .afa-im-ledger{flex-direction:column}body .afa-im-health{max-width:none}body .afa-im-health>span{width:auto;margin:0 6px 0 0}body .afa-im-filter-primary{flex-wrap:wrap}body .afa-im-filter-status{margin-left:0}}
@media(max-width:980px){body .afa-im-ledger .scope-totals{grid-template-columns:repeat(4,1fr)}body .afa-im-ledger .stat:nth-child(4){border-right:0}body .afa-im-performance{grid-template-columns:repeat(3,1fr)}body .afa-im-performance .afa-im-metric:nth-child(3n){border-right:0}body .afa-im-attrs,body .afa-im-quickfacts{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){body:has(.afa-im-ledger) .page-head{align-items:flex-start;gap:10px}body:has(.afa-im-ledger) .page-head :is(h1,h2){font-size:26px}body .afa-im-ledger .scope-totals{grid-template-columns:repeat(2,1fr)}body .afa-im-ledger .stat{padding:10px}body .afa-im-ledger .stat:nth-child(even){border-right:0}body .afa-im-filter-primary{align-items:stretch}body .afa-im-searchbox{flex-basis:100%;max-width:none}body .afa-im-filter-shell .mpicker{flex:1 1 calc(50% - 4px)}body .afa-im-filter-shell .mpicker-btn{width:100%;min-width:0}body .afa-im-profiles{width:100%;overflow-x:auto}body .afa-im-grid-wrap{max-height:calc(100vh - 360px)}body .afa-im-grid th.item,body .afa-im-item-col{min-width:270px;max-width:270px}body .afa-im-panel{width:100vw;max-width:100vw}body .afa-im-drawer-head{min-height:76px;padding:13px 16px 11px}body .afa-im-drawer-head h3{max-width:calc(100vw - 88px);font-size:18px}body .afa-im-tabs{top:76px;padding:0 8px}body .afa-im-drawer-body{padding:10px 10px 30px}body .afa-im-identity{grid-template-columns:1fr}body .afa-im-identity-media{min-height:320px}body .afa-im-identity-copy{padding:22px 18px}body .afa-im-identity h3{font-size:27px}body .afa-im-performance{grid-template-columns:repeat(2,1fr)}body .afa-im-performance .afa-im-metric:nth-child(3n){border-right:1px solid #e7dfd7}body .afa-im-performance .afa-im-metric:nth-child(even){border-right:0}body .afa-im-attrs,body .afa-im-quickfacts{grid-template-columns:repeat(2,1fr)}}

/* ---- Masthead brand carrier -------------------------------------------------------------------
   The four jewels appear ONCE in the top band, not twice. Two colour events 40px apart (a spectrum
   rule and jewel letters) reads decorative; one reads deliberate.

     body[data-brand="strip"]   2px full-bleed spectrum rule closing the masthead, wordmark in ink
     body[data-brand="letters"] no rule, the wordmark's jewel letters carry it   (default)

   ?brand=strip / ?brand=letters overrides per session so the two can be compared live.
   The rule lands on whichever band is last: the section nav when it's showing, the top bar when it
   isn't (data-ctxnav is set by renderContextNav). Jewel order and values are the brand contract's —
   green #047857, blue #1e40af, purple #6b21a8, red #c81e1e — never a tint or a reorder. */
body[data-brand="strip"] .cp-brandstrip,
body[data-layout="topbar"][data-shell="editorial"][data-brand="strip"] .shell-context-nav::after,
body[data-layout="topbar"][data-shell="editorial"][data-brand="strip"][data-ctxnav="0"] .sidebar::after {
  content:''; display:block; position:absolute; left:0; right:0; bottom:-1px; height:2px; z-index:30;
  background:linear-gradient(90deg,#047857 0 25%,#1e40af 0 50%,#6b21a8 0 75%,#c81e1e 0 100%);
}
/* .shell-context-nav is position:sticky, which ALREADY establishes a containing block for the ::after.
   Setting position:relative here overrode the sticky (they are mutually exclusive), which shifted the
   band and dropped the page title 30px behind it. Only the non-positioned .sidebar needs relative. */
body[data-layout="topbar"][data-shell="editorial"][data-brand="strip"] .sidebar { position:relative; }
/* Quiet wordmark when the strip is carrying the brand — the rule is the colour moment, not the word. */
body[data-layout="topbar"][data-shell="editorial"][data-brand="strip"] .sidebar-brand .wordmark .wm-2 .wp1,
body[data-layout="topbar"][data-shell="editorial"][data-brand="strip"] .sidebar-brand .wordmark .wm-2 .wp2,
body[data-layout="topbar"][data-shell="editorial"][data-brand="strip"] .sidebar-brand .wordmark .wm-2 .wp3,
body[data-layout="topbar"][data-shell="editorial"][data-brand="strip"] .sidebar-brand .wordmark .wm-2 .wp4 {
  color:var(--cp-ink)!important;
}
/* The glyph is the contract's 4 rhythm bars on a 64x64 grid. It was being drawn into a cropped,
   non-square box (viewBox 7 11 50 46 at 22x21), which clipped the outer bars — the green one read as
   missing. Square box, full uncropped viewBox, large enough that all four bars are legible.
   Heights, order and colours are the contract's and are untouched. */
body[data-layout="topbar"][data-shell="editorial"] .sidebar-brand .brand-mark {
  width:30px; height:30px; margin-right:10px;
}

/* Glyph fills — defeat the legacy tile-era rules in retail-afa-v2.css.
   Those were written for a mark whose FIRST rect was the background tile chip, so they hide
   rect:first-child (opacity 0 / translucent white) and recolour nth-child(3)(4)(5) to the retired
   2026-07-17 jewels. This mark is bare bars with no tile, so every index is off by one: the green bar
   was being painted invisible, purple was overwritten with blue and red with purple. That is why the
   glyph read as three bars in the wrong colours.
   Pinned to the brand contract: green, blue, purple, red — in order, all visible. */
body[data-layout="topbar"][data-shell="editorial"] .sidebar-brand .brand-mark rect { opacity:1!important; }
body[data-layout="topbar"][data-shell="editorial"] .sidebar-brand .brand-mark rect:nth-child(1) { fill:#047857!important; }
body[data-layout="topbar"][data-shell="editorial"] .sidebar-brand .brand-mark rect:nth-child(2) { fill:#1e40af!important; }
body[data-layout="topbar"][data-shell="editorial"] .sidebar-brand .brand-mark rect:nth-child(3) { fill:#6b21a8!important; }
body[data-layout="topbar"][data-shell="editorial"] .sidebar-brand .brand-mark rect:nth-child(4) { fill:#c81e1e!important; }
/* ===== FV Open to Buy · premium decision cockpit ===== */
body:has(.otb-workspace){--otb-ink:#2f2536;--otb-plum:#542477;--otb-paper:#fffdfa;--otb-canvas:#f5f1ea;--otb-rule:#d9d0c6;--otb-muted:#756d68;background:var(--otb-canvas)}
body:has(.otb-workspace) .page-head{align-items:flex-end;margin:0 0 9px;padding:12px 2px 10px;border-bottom:1px solid var(--otb-rule)}
body:has(.otb-workspace) .page-head :is(h1,h2){color:#211d24;font-family:var(--font-serif,"Iowan Old Style",Baskerville,Georgia,serif);font-size:30px;font-weight:500;letter-spacing:-.035em;line-height:1}
body:has(.otb-workspace) .page-head p{max-width:680px;margin-top:6px;color:var(--otb-muted);font-size:11px}
body:has(.otb-workspace) .page-head .actions{align-items:center;gap:6px}
body:has(.otb-workspace) .secondary-btn.compact{min-height:31px;border-color:var(--otb-rule);background:var(--otb-paper);border-radius:5px}
body .otb-workspace{display:flex;flex-direction:column;gap:8px;margin-bottom:12px;color:#302a30}
body .otb-scopebar{display:flex;min-height:62px;overflow:hidden;background:var(--otb-paper,#fffdfa);border:1px solid var(--otb-rule,#d9d0c6);border-radius:3px;box-shadow:0 8px 22px rgba(47,37,54,.035)}
body .otb-scope-title{display:flex;flex:0 0 214px;flex-direction:column;justify-content:center;padding:9px 16px;color:#fff;background:var(--otb-ink,#2f2536)}
body .otb-scope-title span{color:#baaac2;font-size:8px;font-weight:750;letter-spacing:.1em;text-transform:uppercase}
body .otb-scope-title strong{margin:4px 0 2px;overflow:hidden;font-family:var(--font-serif,"Iowan Old Style",Baskerville,Georgia,serif);font-size:17px;font-weight:500;letter-spacing:-.02em;text-overflow:ellipsis;white-space:nowrap}
body .otb-scope-title em{color:#cfc6d1;font-size:8.5px;font-style:normal}
body .otb-scope-list{display:flex;flex:1;min-width:0;overflow-x:auto;scrollbar-width:thin}
body .otb-scope-node{position:relative;display:flex;flex:1 0 132px;min-width:118px;flex-direction:column;justify-content:center;padding:8px 12px;text-align:left;background:#fffdfa;border:0;border-right:1px solid #e6ded6;cursor:pointer}
body .otb-scope-node span{overflow:hidden;color:#7f756f;font-size:8px;font-weight:750;letter-spacing:.07em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}
body .otb-scope-node b{margin:4px 0 2px;color:#2d2730;font-family:var(--font-serif,"Iowan Old Style",Baskerville,Georgia,serif);font-size:16px;font-weight:500;letter-spacing:-.018em}
body .otb-scope-node small{color:#958b84;font-size:8px;white-space:nowrap}
body .otb-scope-node:hover{background:#f7f1eb}
body .otb-scope-node.active{background:#eee7f3;box-shadow:inset 0 -3px 0 var(--otb-plum,#542477)}
body .otb-scope-node.active span,body .otb-scope-node.active b{color:#4b245f}
body .otb-scope-node.risk:after{position:absolute;top:8px;right:8px;width:5px;height:5px;content:"";background:#aa7437;border-radius:50%}
body .otb-controlbar{display:flex;align-items:stretch;min-height:50px;overflow:hidden;background:rgba(255,253,250,.96);border:1px solid var(--otb-rule,#d9d0c6);border-radius:3px}
body .otb-control{display:flex;align-items:center;gap:8px;padding:7px 13px;border-right:1px solid #e4dcd4}
body .otb-control>span,body .otb-window>span{color:#857b75;font-size:8px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
body .otb-control label{display:flex;align-items:center;height:31px;overflow:hidden;background:#fff;border:1px solid #d6cdc5;border-radius:5px}
body .otb-control label input{width:55px;height:29px;padding:0 7px;text-align:right;background:transparent;border:0;font-size:12px;font-weight:700;outline:0}
body .otb-control label b{padding-right:8px;color:#817771;font-size:9px;font-weight:500}
body .otb-control em,body .otb-window em{color:#928780;font-size:8.5px;font-style:normal;white-space:nowrap}
body .otb-control .mfp-basis-seg{padding:2px;background:#eae4dd;border:0;border-radius:6px}
body .otb-control .mfp-basis-seg .seg-btn{min-width:54px;min-height:27px;padding:0 8px;color:#716861;background:transparent;border:0;border-radius:4px;font-size:9.5px}
body .otb-control .mfp-basis-seg .seg-btn.active{color:#fff;background:var(--otb-ink,#2f2536);box-shadow:0 1px 3px rgba(47,37,54,.16)}
body .otb-window{display:flex;min-width:140px;flex-direction:column;justify-content:center;padding:7px 14px;border-right:1px solid #e4dcd4}
body .otb-window strong{margin:3px 0 1px;color:#322b32;font-size:11px}
body .otb-control-actions{display:flex;align-items:center;gap:5px;margin-left:auto;padding:7px 9px}
body .otb-ledger{display:grid;grid-template-columns:1.55fr repeat(4,minmax(135px,1fr));overflow:hidden;background:var(--otb-paper,#fffdfa);border:1px solid var(--otb-rule,#d9d0c6);border-radius:3px;box-shadow:0 10px 28px rgba(47,37,54,.045)}
body .otb-ledger-hero{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:13px 17px;color:#fff;background:linear-gradient(125deg,#2f2536,#3a2c42)}
body .otb-ledger-hero label,body .otb-ledger-metric label{color:#baaac2;font-size:8px;font-weight:750;letter-spacing:.1em;text-transform:uppercase}
body .otb-ledger-hero strong{margin:5px 0 3px;font-family:var(--font-serif,"Iowan Old Style",Baskerville,Georgia,serif);font-size:28px;font-weight:500;letter-spacing:-.035em;line-height:.95}
body .otb-ledger-hero span{color:#d6cfd9;font-size:9px}
body .otb-ledger-hero.is-over{background:linear-gradient(125deg,#4d2932,#63323e)}
body .otb-ledger-metric{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:12px 14px;border-right:1px solid #e6ded6}
body .otb-ledger-metric label{color:#8a817b}
body .otb-ledger-metric strong{margin:6px 0 4px;overflow:hidden;color:#29232a;font-family:var(--font-serif,"Iowan Old Style",Baskerville,Georgia,serif);font-size:19px;font-weight:500;letter-spacing:-.025em;text-overflow:ellipsis;white-space:nowrap}
body .otb-ledger-metric strong small{font-family:inherit;font-size:11px;font-weight:500}
body .otb-ledger-metric span{overflow:hidden;color:#8b817a;font-size:8.5px;text-overflow:ellipsis;white-space:nowrap}
body .otb-ledger-metric.is-risk{box-shadow:inset 0 -3px 0 #a64555}
body .otb-ledger-context{grid-column:1/-1;display:flex;gap:0;min-height:27px;color:#776e68;background:#f0ebe5;border-top:1px solid #e2dad2;font-size:8.5px}
body .otb-ledger-context span{display:flex;align-items:center;padding:0 13px;border-right:1px solid #ded5cd}
body .otb-ledger-context b{margin-left:4px;color:#3a3339;font-weight:750}
body .otb-exceptionbar{display:flex;min-height:50px;overflow:hidden;background:#f1ebe5;border:1px solid #d8cec5;border-radius:3px}
body .otb-exception-title{display:flex;flex:0 0 128px;align-items:center;justify-content:space-between;padding:0 13px;color:#655b65;border-right:1px solid #d8cec5}
body .otb-exception-title span{font-size:8px;font-weight:750;letter-spacing:.09em;text-transform:uppercase}
body .otb-exception-title strong{display:grid;width:21px;height:21px;place-items:center;color:#fff;background:var(--otb-ink,#2f2536);border-radius:50%;font-size:9px}
body .otb-exception-list{display:flex;flex:1;min-width:0;overflow-x:auto}
body .otb-exception{position:relative;display:grid;min-width:190px;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-content:center;gap:2px 10px;padding:7px 12px;text-align:left;background:#fffaf5;border:0;border-right:1px solid #dfd6ce;box-shadow:inset 3px 0 0 #aa7437;cursor:pointer}
body .otb-exception.alert{box-shadow:inset 3px 0 0 #a64555}
body .otb-exception.clean{display:flex;min-width:100%;align-items:center;justify-content:space-between;box-shadow:inset 3px 0 0 #39745d;cursor:default}
body .otb-exception span{color:#554c52;font-size:9.5px;font-weight:700}
body .otb-exception b{color:#2e282e;font-size:9.5px}
body .otb-exception i{grid-column:1/-1;color:#8d817a;font-size:8px;font-style:normal}
body .otb-exception:hover{background:#f8efe8}
body .otb-grid-shell{overflow:hidden;background:#fff;border:1px solid var(--otb-rule,#d9d0c6);border-radius:3px;box-shadow:0 12px 30px rgba(47,37,54,.055)}
body .otb-grid-head{display:flex;align-items:center;justify-content:space-between;min-height:36px;padding:6px 11px;color:#776e68;background:#f1ece6;border-bottom:1px solid #d9d0c6;font-size:8.5px}
body .otb-grid-head>div:first-child{display:flex;align-items:baseline;gap:9px}
body .otb-grid-head span{font-size:8px;font-weight:750;letter-spacing:.085em;text-transform:uppercase}
body .otb-grid-head strong{color:#3b333a;font-family:var(--font-serif,"Iowan Old Style",Baskerville,Georgia,serif);font-size:14px;font-weight:500}
body .otb-grid-head i{display:inline-block;width:7px;height:7px;margin-right:3px;background:var(--otb-plum,#542477);border-radius:50%}
body .otb-grid-shell .mfp-grid-wrap{max-height:calc(100vh - 405px);min-height:355px;margin:0;border:0;border-radius:0;box-shadow:none}
body .otb-grid{width:max-content;min-width:100%;background:#fff;border-collapse:separate;border-spacing:0}
body .otb-grid th{position:sticky;z-index:4;top:0;height:34px;padding:0 9px;color:#e9e3ec;background:var(--otb-ink,#2f2536);border-right:1px solid rgba(255,255,255,.09);border-bottom:0;font-size:8px;font-weight:750;letter-spacing:.065em;text-transform:uppercase;white-space:nowrap}
body .otb-grid thead .mfp-mcol{left:0;z-index:7;min-width:218px;color:#fff;background:var(--otb-ink,#2f2536);text-align:left}
body .otb-grid th.otb-elapsed{color:#b8aeba;background:#493e50}
body .otb-grid th.otb-open-start{border-left:3px solid #a67ab8;box-shadow:-4px 0 10px rgba(30,22,34,.2)}
body .otb-grid td{height:29px;padding:4px 8px;color:#453e43;background:#fff;border-right:1px solid #ece6df;border-bottom:1px solid #e7e1db;font-size:9.5px;font-variant-numeric:tabular-nums;white-space:nowrap}
body .otb-grid .mfp-rlabel{position:sticky;z-index:3;left:0;min-width:218px;color:#4b4249;background:#fffdfa;box-shadow:6px 0 12px rgba(47,37,54,.035);text-align:left}
body .otb-grid tr:not(.otb-group-row):hover td{background:#f5eef6}
body .otb-grid .mfp-dimrow td{color:#817872;background:#fcf9f5}
body .otb-grid .mfp-otb-past{color:#aba39d!important;background:#f5f2ef!important;opacity:1}
body .otb-grid .mfp-roll{background:#f8f3ed}
body .otb-grid .mfp-fy{background:#f0eae4;font-weight:750}
body .otb-grid .mfp-in-td{padding:2px 4px;background:#f2eaf3}
body .otb-grid .mfp-in{height:23px;color:#3e2848;background:#fff;border:1px solid #cdbdd5;border-radius:3px;font-size:9.5px;font-weight:700}
body .otb-grid .mfp-otb-hero td{color:#35243d;background:#eee5f1!important;border-top:1px solid #bda6c7;border-bottom:1px solid #bda6c7;font-weight:780}
body .otb-grid .mfp-otb-hero .mfp-rlabel{box-shadow:inset 4px 0 0 var(--otb-plum,#542477),6px 0 12px rgba(47,37,54,.035)}
body .otb-grid .mfp-otb-over{color:#993948!important;background:#f7e6e8!important}
body .otb-group-row td{height:31px;padding:0!important;color:#534657;background:#ece5ef!important;border-bottom:1px solid #d9cedd!important;border-top:2px solid #fff!important;font-family:inherit;text-align:left!important}
body .otb-group-row span{margin-left:9px;color:#4d3357;font-family:var(--font-serif,"Iowan Old Style",Baskerville,Georgia,serif);font-size:13px;font-weight:500;letter-spacing:-.01em}
body .otb-group-row em{margin-left:9px;color:#897c89;font-size:8px;font-style:normal}
body .otb-group-row.group-inventory-position td{color:#345b60;background:#e5efee!important;border-bottom-color:#cfdfdc!important}
body .otb-group-row.group-inventory-position span{color:#285b59}
body .otb-group-row.group-commitments td{color:#765927;background:#f3ecdc!important;border-bottom-color:#e1d5ba!important}
body .otb-group-row.group-commitments span{color:#765927}
body .otb-group-row.group-decision td{color:#315d48;background:#e5eee8!important;border-bottom-color:#ceddd3!important}
body .otb-group-row.group-decision span{color:#315d48}
body .otb-methodology{overflow:hidden;background:#f0ebe5;border:1px solid #d9d0c6;border-radius:3px;color:#796f69;font-size:9px}
body .otb-methodology summary{padding:7px 10px;color:#5f555c;font-size:8px;font-weight:750;letter-spacing:.07em;cursor:pointer;text-transform:uppercase}
body .otb-methodology>div{padding:0 10px 9px;line-height:1.55}
body .otb-action-overlay{position:fixed;z-index:80;inset:0;display:flex;justify-content:flex-end;background:rgba(28,22,31,.48);backdrop-filter:blur(3px)}
body .otb-action-panel{width:min(540px,96vw);height:100%;overflow-y:auto;color:#302a30;background:var(--otb-canvas,#f5f1ea);box-shadow:-22px 0 65px rgba(29,23,32,.24)}
body .otb-action-head{display:flex;align-items:flex-start;justify-content:space-between;padding:20px 22px 18px;color:#fff;background:var(--otb-ink,#2f2536)}
body .otb-action-head span{color:#baaac2;font-size:8px;font-weight:750;letter-spacing:.1em;text-transform:uppercase}
body .otb-action-head h3{margin:6px 0 4px;font-family:var(--font-serif,"Iowan Old Style",Baskerville,Georgia,serif);font-size:25px;font-weight:500;letter-spacing:-.03em}
body .otb-action-head p{color:#cfc6d1;font-size:10px}
body .otb-action-head button{display:grid;width:31px;height:31px;place-items:center;color:#fff;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:50%;font-size:18px;cursor:pointer}
body .otb-action-body{padding:18px}
body .otb-action-callout{display:flex;flex-direction:column;margin-bottom:12px;padding:18px;background:#fffdfa;border:1px solid #d9d0c6;box-shadow:inset 4px 0 0 #a64555}
body .otb-action-callout label,body .otb-action-metrics label,body .otb-receipt-input>span{color:#8b817a;font-size:8px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}
body .otb-action-callout strong{margin:8px 0 5px;font-family:var(--font-serif,"Iowan Old Style",Baskerville,Georgia,serif);font-size:30px;font-weight:500}
body .otb-action-callout span{color:#766c66;font-size:10px}
body .otb-action-metrics{display:grid;grid-template-columns:repeat(2,1fr);margin-bottom:12px;background:#fffdfa;border:1px solid #d9d0c6}
body .otb-action-metrics>div{display:flex;min-height:78px;flex-direction:column;justify-content:center;padding:12px 14px;border-right:1px solid #e5ddd5;border-bottom:1px solid #e5ddd5}
body .otb-action-metrics strong{margin-top:7px;font-family:var(--font-serif,"Iowan Old Style",Baskerville,Georgia,serif);font-size:21px;font-weight:500}
body .otb-receipt-input{display:block;margin-bottom:10px;padding:13px 14px;background:#fffdfa;border:1px solid #d9d0c6}
body .otb-receipt-input>span{display:block;margin-bottom:7px}
body .otb-receipt-input input{width:100%;height:38px;padding:0 10px;color:#312735;background:#f6f0f6;border:1px solid #c8b5d1;border-radius:3px;font-size:15px;font-weight:750}
body .otb-action-buttons{display:grid;grid-template-columns:1fr;gap:6px;margin-bottom:12px}
body .otb-action-buttons button{min-height:38px;padding:0 12px;text-align:left;color:#4b3a51;background:#fffdfa;border:1px solid #d9d0c6;border-radius:3px;font-size:10px;font-weight:700;cursor:pointer}
body .otb-action-buttons button:hover{color:#fff;background:var(--otb-plum,#542477);border-color:var(--otb-plum,#542477)}
body .otb-action-note{margin-bottom:12px;padding:13px 14px;color:#736a65;background:#eee8e1;border-left:3px solid #aa7437;font-size:10px;line-height:1.5}
body .otb-action-note b{color:#4f474c}body .otb-action-note p{margin:4px 0 0}
@media(max-width:1360px){body .otb-control em{display:none}body .otb-ledger{grid-template-columns:1.35fr repeat(4,minmax(120px,1fr))}body .otb-scope-node{flex-basis:124px}}
@media(max-width:1080px){body .otb-controlbar{flex-wrap:wrap}body .otb-control-actions{margin-left:0}body .otb-ledger{grid-template-columns:repeat(2,1fr)}body .otb-ledger-hero{grid-column:1/-1}body .otb-ledger-metric{min-height:74px}body .otb-grid-shell .mfp-grid-wrap{max-height:calc(100vh - 500px)}}
@media(max-width:760px){body:has(.otb-workspace) .page-head{align-items:flex-start;gap:8px}body:has(.otb-workspace) .page-head :is(h1,h2){font-size:26px}body:has(.otb-workspace) .page-head .actions{width:100%;overflow-x:auto}body .otb-scopebar{flex-direction:column}body .otb-scope-title{flex-basis:auto;min-height:58px}body .otb-scope-list{max-width:100%}body .otb-controlbar{display:grid;grid-template-columns:1fr 1fr}body .otb-control,body .otb-window,body .otb-control-actions{min-width:0;border-bottom:1px solid #e4dcd4}body .otb-control{align-items:flex-start;flex-direction:column}body .otb-control-actions{justify-content:flex-start;padding:7px}body .otb-control-actions .secondary-btn{font-size:9px}body .otb-ledger{grid-template-columns:1fr 1fr}body .otb-ledger-context{overflow-x:auto}body .otb-ledger-context span{flex:0 0 auto}body .otb-exceptionbar{flex-direction:column}body .otb-exception-title{min-height:34px;flex-basis:auto}body .otb-grid-head{align-items:flex-start;flex-direction:column;gap:3px}body .otb-grid-shell .mfp-grid-wrap{max-height:calc(100vh - 540px);min-height:340px}body .otb-grid thead .mfp-mcol,body .otb-grid .mfp-rlabel{min-width:188px}body .otb-action-panel{width:100vw;max-width:100vw}}

/* ===== Premium Pulse analytical workbenches (drill-outs) ===== */
/* Premium Pulse analytical workbenches */
body[data-shell="editorial"]:has(.cp-deep) .view{background:#f5f1ea}
body[data-shell="editorial"] .cp-deep{--deep-ink:#211b22;--deep-aubergine:#2f2536;--deep-plum:#542477;--deep-paper:#f5f1ea;--deep-surface:#fffdfa;--deep-rule:#d8cec3;--deep-soft:#ebe2d8;max-width:1600px;margin:0 auto;color:var(--deep-ink)}
body[data-shell="editorial"] .cp-deep-nav{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:8px 0 15px;border-bottom:1px solid var(--deep-rule)}
body[data-shell="editorial"] .cp-deep-nav>button{height:34px;padding:0 13px;border:1px solid var(--deep-rule);border-radius:999px;background:var(--deep-surface);color:var(--deep-aubergine);font-size:11px;cursor:pointer}
body[data-shell="editorial"] .cp-deep-nav>div>span{display:block;color:#81777e;font-size:9px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
body[data-shell="editorial"] .cp-deep-nav h1{margin:2px 0 0;color:var(--deep-aubergine);font-family:"Instrument Serif",Georgia,serif;font-size:27px;font-weight:500;letter-spacing:-.025em}
body[data-shell="editorial"] .cp-deep-period{text-align:right}
body[data-shell="editorial"] .cp-deep-period b{display:block;color:var(--deep-aubergine);font-size:12px;font-weight:650}
body[data-shell="editorial"] .cp-deep-period span{margin-top:2px!important;color:#8a8185!important;font-size:9px!important;letter-spacing:.03em!important;text-transform:none!important}
body[data-shell="editorial"] .cp-deep-read{grid-template-columns:116px minmax(240px,.78fr) minmax(320px,1fr);margin:0;padding:12px 0;background:transparent}
body[data-shell="editorial"] .cp-deep-ledger{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid var(--deep-rule);border-bottom:1px solid var(--deep-rule);background:var(--deep-surface)}
body[data-shell="editorial"] .cp-deep-metric{min-width:0;padding:15px 18px;border-right:1px solid var(--deep-rule)}
body[data-shell="editorial"] .cp-deep-metric:last-child{border-right:0}
body[data-shell="editorial"] .cp-deep-metric label{display:block;color:#7b7377;font-size:9px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
body[data-shell="editorial"] .cp-deep-metric>strong{display:block;margin:3px 0 7px;color:var(--deep-aubergine);font-family:"Instrument Serif",Georgia,serif;font-size:24px;font-weight:500;font-variant-numeric:tabular-nums}
body[data-shell="editorial"] .cp-deep-metric>div{display:flex;gap:10px;min-height:13px;overflow:hidden;color:#777077;font-size:8px;white-space:nowrap}
body[data-shell="editorial"] .cp-deep-metric>div span{display:flex;gap:3px}.cp-deep-metric>div b{font-weight:750}
body[data-shell="editorial"] .cp-deep-metric .up{color:#2f7257}.cp-deep-metric .down{color:#a25f39}.cp-deep-metric .na{color:#aaa3a8}
body[data-shell="editorial"] .cp-deep-note{display:block!important;overflow:hidden;text-overflow:ellipsis}
body[data-shell="editorial"] .cp-deep-signals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:13px;border:1px solid var(--deep-rule);background:var(--deep-surface)}
body[data-shell="editorial"] .cp-deep-signal{position:relative;min-width:0;padding:13px 17px;border-right:1px solid var(--deep-rule)}
body[data-shell="editorial"] .cp-deep-signal:last-child{border-right:0}
body[data-shell="editorial"] .cp-deep-signal:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--deep-plum)}
body[data-shell="editorial"] .cp-deep-signal.risk:before{background:#a15155}.cp-deep-signal.positive:before{background:#2f7257}
body[data-shell="editorial"] .cp-deep-signal span{display:block;color:#847a80;font-size:8px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
body[data-shell="editorial"] .cp-deep-signal strong{display:block;margin:3px 0;color:var(--deep-aubergine);font-size:13px}
body[data-shell="editorial"] .cp-deep-signal small{display:block;overflow:hidden;color:#776f74;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
body[data-shell="editorial"] .cp-deep-table,body[data-shell="editorial"] .cp-deep-chart{margin-top:18px}
body[data-shell="editorial"] .cp-deep .cp-section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:7px}
body[data-shell="editorial"] .cp-deep .cp-section-head h2{margin:0;color:var(--deep-aubergine);font-family:"Instrument Serif",Georgia,serif;font-size:20px;font-weight:500}
body[data-shell="editorial"] .cp-deep .cp-section-head span{color:#837a7f;font-size:9px}
body[data-shell="editorial"] .cp-deep-table-scroll{overflow:auto;background:var(--deep-surface);border:1px solid var(--deep-rule)}
body[data-shell="editorial"] .cp-deep-table table{width:100%;min-width:820px;border-collapse:collapse;font-size:10px;font-variant-numeric:tabular-nums}
body[data-shell="editorial"] .cp-deep-table th{height:32px;padding:0 10px;background:var(--deep-aubergine);color:#ede6ee;font-size:8px;font-weight:700;letter-spacing:.06em;text-align:left;text-transform:uppercase;white-space:nowrap}
body[data-shell="editorial"] .cp-deep-table td{height:37px;padding:0 10px;border-bottom:1px solid #e7dfd6;background:var(--deep-surface);white-space:nowrap}
body[data-shell="editorial"] .cp-deep-table tbody tr:last-child td{border-bottom:0}.cp-deep-table tbody tr:hover td{background:#f8f1fa}
body[data-shell="editorial"] .cp-deep-table .num{text-align:right}.cp-deep-table .strong{color:#2f2830;font-weight:720}.cp-deep-table .muted{color:#8a8387}.cp-deep-table .up{color:#2f7257;font-weight:650}.cp-deep-table .down,.cp-deep-table .risk-text{color:#a15155;font-weight:650}
body[data-shell="editorial"] .cp-deep-name{font-weight:650}.cp-deep-name>i{display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%}.cp-deep-name>span{margin-left:8px;padding:2px 5px;background:#eee7f0;color:#65416f;font-size:7px;text-transform:uppercase}
body[data-shell="editorial"] .cp-deep-bar{width:130px}.cp-deep-bar:before{content:"";display:block;height:4px;background:#eee8e1}.cp-deep-bar>i{display:block;height:4px;margin-top:-4px;background:var(--deep-aubergine)}
body[data-shell="editorial"] .cp-deep-table tr.partial td{color:#91898e;background:#f8f5f1}
body[data-shell="editorial"] .cp-deep-chart .cp-plan-chart{border-color:var(--deep-rule);background:var(--deep-surface)}
body[data-shell="editorial"] .cp-deep-source{margin:16px 0 5px;padding-top:8px;border-top:1px solid var(--deep-rule);color:#7f777b;font-size:9px}
body[data-shell="editorial"] .cp-deep-source summary{cursor:pointer;font-weight:650}.cp-deep-source p{margin:6px 0}
@media(max-width:1050px){body[data-shell="editorial"] .cp-deep-ledger{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-deep-metric{border-bottom:1px solid var(--deep-rule)}body[data-shell="editorial"] .cp-deep-signals{grid-template-columns:1fr}.cp-deep-signal{border-right:0!important;border-bottom:1px solid var(--deep-rule)}}
@media(max-width:720px){body[data-shell="editorial"] .cp-deep-nav{grid-template-columns:auto 1fr}.cp-deep-period{grid-column:1/3;text-align:left!important}.cp-deep-read{grid-template-columns:1fr!important}.cp-deep-ledger{grid-template-columns:1fr!important}.cp-deep-metric{border-right:0!important}.cp-deep-table,.cp-deep-chart{margin-top:13px!important}}

/* ===== Daily Sales premium trading cockpit ===== */
/* Premium Daily Sales trading cockpit */
body[data-shell="editorial"]:has(.cp-daily) .view{background:#f5f1ea}
body[data-shell="editorial"] .cp-daily{--daily-ink:#211b22;--daily-aubergine:#2f2536;--daily-plum:#542477;--daily-surface:#fffdfa;--daily-rule:#d8cec3;--daily-soft:#ece3da;max-width:1600px;margin:0 auto;color:var(--daily-ink)}
body[data-shell="editorial"] .cp-daily-command{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:7px 0 11px;border-bottom:1px solid var(--daily-rule)}
body[data-shell="editorial"] .cp-daily-command>div{display:flex;align-items:center;gap:8px}
body[data-shell="editorial"] .cp-daily-command select{height:31px;padding:0 29px 0 10px;border:1px solid var(--daily-rule);border-radius:3px;background:var(--daily-surface);color:var(--daily-ink);font-size:10px}
body[data-shell="editorial"] .cp-daily-live{display:flex;align-items:center;gap:6px;color:#756e72;font-size:9px;font-weight:650}.cp-daily-live i{width:6px;height:6px;border-radius:50%;background:#2f7257;box-shadow:0 0 0 3px #dce9e2}
body[data-shell="editorial"] .cp-daily-periods{padding:3px;border:1px solid var(--daily-rule);border-radius:999px;background:var(--daily-surface)}
body[data-shell="editorial"] .cp-daily-periods button{height:25px;padding:0 12px;border:0;border-radius:999px;background:transparent;color:#756d73;font-size:9px;cursor:pointer}.cp-daily-periods button.active{background:var(--daily-aubergine);color:#fff}
body[data-shell="editorial"] .cp-daily-insight{position:relative;display:grid;grid-template-columns:105px minmax(230px,.7fr) minmax(340px,1fr) auto auto;align-items:center;gap:13px;min-height:58px;padding:9px 12px;margin-top:10px;border:1px solid var(--daily-rule);border-left:3px solid var(--daily-plum);background:var(--daily-surface)}
body[data-shell="editorial"] .cp-daily-ai{color:var(--daily-plum);font-size:9px;font-weight:750;letter-spacing:.11em;text-transform:uppercase}.cp-daily-insight strong{color:var(--daily-aubergine);font-family:"Instrument Serif",Georgia,serif;font-size:17px;font-weight:500}.cp-daily-insight>span:not(.cp-daily-ai){color:#716a6f;font-size:10px;line-height:1.4}
body[data-shell="editorial"] .cp-daily-insight button{height:27px;padding:0 9px;border:1px solid var(--daily-rule);border-radius:999px;background:transparent;color:#665f64;font-size:8px;cursor:pointer}.cp-daily-insight button.refresh{width:27px;padding:0}
body[data-shell="editorial"] .cp-daily-watch{grid-column:2/6;display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding-top:8px;border-top:1px solid var(--daily-rule)}.cp-daily-watch p{margin:0;padding:7px 9px;background:#f6f0e9;color:#6f6266;font-size:9px}
body[data-shell="editorial"] .cp-daily-ledger{display:grid;grid-template-columns:1.45fr repeat(4,minmax(0,1fr));margin-top:10px;border:1px solid var(--daily-rule);background:var(--daily-surface)}
body[data-shell="editorial"] .cp-daily-hero{padding:14px 18px;background:var(--daily-aubergine);color:#fff}.cp-daily-hero label,.cp-daily-metric label{display:block;font-size:8px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}.cp-daily-hero label{color:#d9cedd}.cp-daily-hero strong{display:block;margin:2px 0;font-family:"Instrument Serif",Georgia,serif;font-size:30px;font-weight:500}.cp-daily-hero span{font-size:9px}
body[data-shell="editorial"] .cp-daily-metric{padding:14px 16px;border-right:1px solid var(--daily-rule)}.cp-daily-metric:last-child{border-right:0}.cp-daily-metric label{color:#81787d}.cp-daily-metric strong{display:block;margin:4px 0;color:var(--daily-aubergine);font-family:"Instrument Serif",Georgia,serif;font-size:21px;font-weight:500}.cp-daily-metric span{color:#7c7479;font-size:8px}
body[data-shell="editorial"] .cp-daily .up{color:#2f7257!important}.cp-daily .down{color:#a15155!important}
body[data-shell="editorial"] .cp-daily-windows{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin-top:8px;border-top:1px solid var(--daily-rule);border-bottom:1px solid var(--daily-rule)}
body[data-shell="editorial"] .cp-daily-windows button{position:relative;padding:9px 13px;text-align:left;border:0;border-right:1px solid var(--daily-rule);background:transparent;cursor:pointer}.cp-daily-windows button:last-child{border-right:0}.cp-daily-windows button.active{background:#fffaf6}.cp-daily-windows button.active:after{content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:3px;background:var(--daily-plum)}
body[data-shell="editorial"] .cp-daily-windows span{display:block;color:#82797f;font-size:8px;text-transform:uppercase}.cp-daily-windows strong{display:block;margin:2px 0;color:var(--daily-aubergine);font-size:13px}.cp-daily-windows small{font-size:8px}
body[data-shell="editorial"] .cp-daily-evidence{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:26px;margin-top:18px}.cp-daily-leaders{padding-left:24px;border-left:1px solid var(--daily-rule)}
body[data-shell="editorial"] .cp-daily .cp-section-head{display:flex;justify-content:space-between;margin-bottom:7px}.cp-daily .cp-section-head h2{margin:0;color:var(--daily-aubergine);font-family:"Instrument Serif",Georgia,serif;font-size:19px;font-weight:500}.cp-daily .cp-section-head span{color:#837b80;font-size:9px}
body[data-shell="editorial"] .cp-daily-trend{min-width:0;padding:10px 13px 5px;border:1px solid var(--daily-rule);background:var(--daily-surface)}.cp-daily-chart{display:block;width:100%;height:auto;max-height:265px}.cp-daily-chart .area{fill:#2f7257;opacity:.07}.cp-daily-chart path.ty{fill:none;stroke:#2f7257;stroke-width:2.6}.cp-daily-chart path.ly{fill:none;stroke:#a9a0a5;stroke-width:1.5;stroke-dasharray:4 4}
body[data-shell="editorial"] .cp-daily-chart-legend{display:flex;justify-content:flex-end;gap:14px;color:#7f777c;font-size:8px}.cp-daily-chart-legend span{display:flex;align-items:center;gap:5px}.cp-daily-chart-legend i{width:13px;height:2px}.cp-daily-chart-legend i.ty{background:#2f7257}.cp-daily-chart-legend i.ly{background:#a9a0a5}
body[data-shell="editorial"] .cp-daily-ranks{border-top:1px solid var(--daily-rule)}.cp-daily-rank{display:grid;width:100%;grid-template-columns:1fr auto auto;gap:3px 9px;padding:8px 0;text-align:left;border:0;border-bottom:1px solid var(--daily-rule);background:transparent;color:var(--daily-ink);font-size:9px}.cp-daily-rank button{cursor:pointer}.cp-daily-rank .name{font-weight:650}.cp-daily-rank .sales{font-weight:700}.cp-daily-rank .bar{grid-column:1/4;height:3px;background:var(--daily-soft)}.cp-daily-rank .bar i{display:block;height:100%;background:var(--daily-aubergine)}.cp-daily-rank small{grid-column:1/4;color:#857c81;font-size:8px}
body[data-shell="editorial"] .cp-daily-channel{margin-top:17px;padding:11px 13px;border:1px solid var(--daily-rule);background:var(--daily-surface)}.cp-daily-channel .cp-daily-ranks{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.cp-daily-channel .cp-daily-rank{padding:7px 0}
body[data-shell="editorial"] .cp-daily-source{margin:12px 0 4px;color:#81787d;font-size:8px}.cp-daily-source summary{cursor:pointer;font-weight:650}.cp-daily-source p{margin:5px 0}
@media(max-width:1050px){body[data-shell="editorial"] .cp-daily-insight{grid-template-columns:90px 1fr auto}.cp-daily-insight>span:not(.cp-daily-ai){grid-column:1/4}.cp-daily-watch{grid-column:1/4!important}.cp-daily-ledger{grid-template-columns:repeat(2,1fr)}.cp-daily-hero{grid-column:1/3}.cp-daily-evidence{grid-template-columns:1fr}.cp-daily-leaders{padding:0;border:0}.cp-daily-channel .cp-daily-ranks{grid-template-columns:1fr}}
@media(max-width:720px){body[data-shell="editorial"] .cp-daily-command{align-items:flex-start;flex-direction:column}.cp-daily-command>div{max-width:100%;overflow:auto}.cp-daily-periods{max-width:100%;overflow:auto}.cp-daily-insight{grid-template-columns:1fr}.cp-daily-insight>*{grid-column:1!important}.cp-daily-watch{grid-template-columns:1fr}.cp-daily-ledger{grid-template-columns:1fr}.cp-daily-hero{grid-column:1}.cp-daily-metric{border-bottom:1px solid var(--daily-rule)}.cp-daily-windows{display:flex;overflow:auto}.cp-daily-windows button{min-width:130px}.cp-daily-evidence{gap:15px}.cp-daily-channel{padding:9px}}

/* Small-base comparison: when LY is too thin for a percentage to mean anything, the row states the
   base instead. Neutral weight on purpose — it is context, not a movement. */
.cp-daily-rank .flat { color:var(--cp-muted); font-weight:600; font-variant-numeric:tabular-nums; white-space:nowrap; }

/* ---- Channel-first planning rows ---------------------------------------------------------------
   The channels are what a planner types into; the topline is their roll-up. So the channel rows read
   as the working surface and the total reads as a result — quiet label, ruled off above, tabular. */
body[data-shell="editorial"] .mfp-grid tr.mfp-chanrow .mfp-rlabel {
  padding-left:22px; font-weight:600; color:var(--mfp-ink,#211d22);
}
body[data-shell="editorial"] .mfp-grid tr.mfp-chanrow .mfp-rlabel::before {
  content:''; position:absolute; left:10px; top:50%; width:4px; height:4px; margin-top:-2px;
  border-radius:50%; background:currentColor; opacity:.42;
}
body[data-shell="editorial"] .mfp-grid tr.mfp-chanrow .mfp-rlabel { position:relative; }
body[data-shell="editorial"] .mfp-grid tr.mfp-wp-total > td { border-top:1px solid #cfc7bd; font-weight:700; background:#faf7f2; }
body[data-shell="editorial"] .mfp-grid tr.mfp-wp-total .mfp-rlabel { color:var(--mfp-ink,#211d22); letter-spacing:.01em; }
/* Per-channel LY comparison rows (detail mode) — context beneath the row being planned. */
body[data-shell="editorial"] .mfp-grid tr.mfp-chanly .mfp-rlabel { padding-left:22px; color:var(--cp-muted); font-style:italic; }
body[data-shell="editorial"] .mfp-grid tr.mfp-chanly td { color:var(--cp-muted); }
/* Unclassified: real sales that belong to no channel. Carried, not planned. */
body[data-shell="editorial"] .mfp-grid tr.mfp-chanro .mfp-rlabel { color:var(--cp-muted); }
body[data-shell="editorial"] .mfp-grid tr.mfp-chanro td { color:var(--cp-muted); }
/* Locked month: pinned by the planner, so a rollup edit spreads the balance around it. */
body[data-shell="editorial"] .mfp-grid td.mfp-locked { position:relative; background:var(--cp-locked-bg,rgba(120,113,108,.10)); }
body[data-shell="editorial"] .mfp-grid td.mfp-locked input.mfp-in { color:var(--cp-muted); cursor:default; font-style:italic; }
body[data-shell="editorial"] .mfp-grid td.mfp-locked::after {
  content:"\1F512"; position:absolute; top:1px; right:3px; font-size:9px; line-height:1; opacity:.55; pointer-events:none;
}
/* Shared grid control: which measures show, in what order. Same cluster on every planning grid. */
body[data-shell="editorial"] .grid-meas { position:relative; display:inline-flex; }
body[data-shell="editorial"] .grid-meas > button em { font-style:normal; opacity:.6; margin-left:5px; font-variant-numeric:tabular-nums; }
body[data-shell="editorial"] .grid-meas-pop {
  min-width:250px;
  background:var(--cp-surface,#fff); border:1px solid var(--cp-line,rgba(0,0,0,.12));
  border-radius:8px; box-shadow:0 12px 34px rgba(0,0,0,.16); padding:6px;
}
body[data-shell="editorial"] .grid-meas-head { display:flex; align-items:center; justify-content:space-between; padding:5px 7px 7px; }
body[data-shell="editorial"] .grid-meas-head b { font-size:12px; letter-spacing:.04em; text-transform:uppercase; opacity:.7; }
body[data-shell="editorial"] .grid-meas-head button,
body[data-shell="editorial"] .grid-meas-foot button { background:none; border:0; cursor:pointer; color:inherit; opacity:.65; font-size:11px; }
body[data-shell="editorial"] .grid-meas-head button:hover,
body[data-shell="editorial"] .grid-meas-foot button:hover { opacity:1; }
body[data-shell="editorial"] .grid-meas-list { list-style:none; margin:0; padding:0; }
body[data-shell="editorial"] .grid-meas-row { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:4px 7px; border-radius:5px; }
body[data-shell="editorial"] .grid-meas-row:hover { background:rgba(0,0,0,.045); }
body[data-shell="editorial"] .grid-meas-row label { display:flex; align-items:center; gap:8px; cursor:pointer; font-size:13px; margin:0; }
body[data-shell="editorial"] .grid-meas-move { display:inline-flex; gap:1px; }
body[data-shell="editorial"] .grid-meas-move button {
  background:none; border:0; cursor:pointer; color:inherit; opacity:.5; font-size:9px; line-height:1; padding:3px 4px; border-radius:3px;
}
body[data-shell="editorial"] .grid-meas-move button:hover:not(:disabled) { opacity:1; background:rgba(0,0,0,.08); }
body[data-shell="editorial"] .grid-meas-move button:disabled { opacity:.16; cursor:default; }
body[data-shell="editorial"] .grid-meas-foot { border-top:1px solid var(--cp-line,rgba(0,0,0,.1)); margin-top:5px; padding:6px 7px 3px; }
@media (prefers-color-scheme: dark) {
  body[data-shell="editorial"] .grid-meas-row:hover { background:rgba(255,255,255,.06); }
  body[data-shell="editorial"] .grid-meas-move button:hover:not(:disabled) { background:rgba(255,255,255,.12); }
}
/* Positioned FIXED from the button's screen coordinates: both the control strip (scrolls sideways)
   and the grid frame (holds a 20-column grid) must clip their contents, so a menu living inside
   either one gets cut off. A scrim behind it closes on click-outside. */
body[data-shell="editorial"] .grid-meas-pop { position: fixed; z-index: 90; }
body[data-shell="editorial"] .grid-meas-scrim { position: fixed; inset: 0; z-index: 89; background: transparent; }
/* Save conflict: unsaved work that would have destroyed someone else's. Louder than an error, and
   it carries its own two ways out rather than leaving the planner to guess. */
body[data-shell="editorial"] .plan-save.conflict {
  display:inline-flex; align-items:center; gap:8px; flex-wrap:wrap;
  background:rgba(185,28,28,.10); color:#B91C1C; border:1px solid rgba(185,28,28,.35);
  border-radius:6px; padding:3px 8px; font-weight:600;
}
body[data-shell="editorial"] .plan-save.conflict button {
  background:#B91C1C; color:#fff; border:0; border-radius:4px; padding:3px 8px;
  font-size:11px; font-weight:600; cursor:pointer; white-space:nowrap;
}
body[data-shell="editorial"] .plan-save.conflict button + button { background:transparent; color:#B91C1C; border:1px solid rgba(185,28,28,.45); }
body[data-shell="editorial"] .plan-save.conflict button:hover { opacity:.85; }
/* Version manager: the dropdown says which version you are in, this says who owns it, when it last
   moved, and whether it is safe to touch. Fixed overlay so it opens from any planning screen. */
body[data-shell="editorial"] .pvm-scrim { position:fixed; inset:0; z-index:120; background:rgba(20,18,16,.34); }
body[data-shell="editorial"] .pvm {
  position:fixed; z-index:121; top:50%; left:50%; transform:translate(-50%,-50%);
  width:min(720px,calc(100vw - 48px)); max-height:min(76vh,760px); overflow:auto;
  background:var(--cp-surface,#fff); border:1px solid var(--cp-line,rgba(0,0,0,.12));
  border-radius:10px; box-shadow:0 24px 64px rgba(0,0,0,.26);
}
body[data-shell="editorial"] .pvm-top { display:flex; align-items:flex-start; justify-content:space-between; padding:16px 18px 10px; }
body[data-shell="editorial"] .pvm-top h4 { margin:0; font-size:15px; }
body[data-shell="editorial"] .pvm-sub { font-size:11px; color:var(--cp-muted); margin-top:2px; }
body[data-shell="editorial"] .pvm-x { background:none; border:0; cursor:pointer; font-size:13px; opacity:.6; color:inherit; }
body[data-shell="editorial"] .pvm-x:hover { opacity:1; }
body[data-shell="editorial"] .pvm-table { width:100%; border-collapse:collapse; }
body[data-shell="editorial"] .pvm-table td { padding:10px 18px; border-top:1px solid var(--cp-line,rgba(0,0,0,.08)); vertical-align:middle; }
body[data-shell="editorial"] .pvm-cur { background:rgba(91,91,214,.07); }
body[data-shell="editorial"] .pvm-name { font-size:13px; font-weight:600; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
body[data-shell="editorial"] .pvm-name em { font-style:normal; font-size:10px; font-weight:600; letter-spacing:.05em; text-transform:uppercase; color:#5B5BD6; }
body[data-shell="editorial"] .pvm-lock,
body[data-shell="editorial"] .plan-ver-frozen {
  font-size:10px; font-weight:600; letter-spacing:.04em; text-transform:uppercase;
  background:rgba(120,113,108,.16); color:var(--cp-muted); border-radius:3px; padding:1px 5px;
}
body[data-shell="editorial"] .pvm-meta { font-size:11px; color:var(--cp-muted); margin-top:3px; }
body[data-shell="editorial"] .pvm-acts { text-align:right; white-space:nowrap; }
body[data-shell="editorial"] .pvm-acts button {
  background:none; border:1px solid var(--cp-line,rgba(0,0,0,.16)); border-radius:5px;
  padding:4px 9px; margin-left:5px; font-size:11px; cursor:pointer; color:inherit;
}
body[data-shell="editorial"] .pvm-acts button:hover { background:rgba(0,0,0,.05); }
body[data-shell="editorial"] .pvm-acts button.danger { color:#B91C1C; border-color:rgba(185,28,28,.34); }
body[data-shell="editorial"] .pvm-foot { padding:12px 18px 16px; font-size:11px; color:var(--cp-muted); border-top:1px solid var(--cp-line,rgba(0,0,0,.08)); }
@media (prefers-color-scheme: dark) { body[data-shell="editorial"] .pvm-acts button:hover { background:rgba(255,255,255,.08); } }
