/* 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);
}