/* sppi.css
   Productivity (the SPPI, js/sppi.js): its question types on the survey screen, its dashboard tile,
   its summary page (#screen-sppi), and the /productivity page (pages/productivity.html).
*/

/* ---- questions ---- */
/* answers that are long or many wrap into a grid instead of one squeezed row */
#screen-survey .scale-buttons.sppi-choice{grid-template-columns:repeat(auto-fill,minmax(min(100%,190px),1fr));}
#screen-survey .scale-buttons.sppi-choice button{min-height:56px;padding:10px 12px;line-height:1.25;font-size:clamp(13px,1.5vw,15px);}

/* 0 to 10 */
#screen-survey .scale.sppi-scale10{display:block;}
.sppi-scale10-row{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:6px;}
#screen-survey .sppi-scale10-row button{min-height:52px;padding:0;font-size:16px;font-variant-numeric:tabular-nums;}
.sppi-scale10-ends{display:flex;justify-content:space-between;gap:12px;margin-top:8px;font-size:13px;font-weight:600;color:#44524c;}
@media (max-width:520px){
  .sppi-scale10-row{grid-template-columns:repeat(6,minmax(0,1fr));}
}

/* up to three */
#screen-survey .scale.sppi-pick3{display:block;}
.sppi-pick-hint{margin:0 0 10px;font-size:14px;font-weight:600;color:#44524c;}
.sppi-pick-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:8px;}
#screen-survey .sppi-pick-grid button{min-height:54px;padding:10px 12px;font-size:14px;line-height:1.25;text-align:left;}
#screen-survey .sppi-pick-grid button:disabled{opacity:.45;cursor:not-allowed;}
.sppi-pick-other{display:block;width:100%;margin-top:10px;min-height:48px;padding:10px 12px;font-size:16px;border:2px solid #cad3cd;border-radius:var(--control-radius,6px);background:#fff;color:#0f1a17;}

/* typed answers */
.sppi-entry .sppi-num-row{display:flex;flex-wrap:wrap;gap:12px;}
.sppi-entry .sppi-num{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;color:#0f1a17;text-transform:none;letter-spacing:0;}
#screen-survey .sppi-entry .sppi-num input{width:110px;}
.sppi-entry .scale-actions{gap:10px;}

/* ---- the dashboard tile ---- (#metroGrid: outranks the dashboard's own tile colors) */
.metro-tile.sppi-tile{display:flex;flex-direction:column;justify-content:space-between;gap:10px;text-align:left;}
.metro-page:not(.expanded-mode) #metroGrid .metro-tile.sppi-tile{background:#15231f;color:#f1f3ee;border-color:#24362f;}
.metro-page:not(.expanded-mode) #metroGrid .metro-tile.sppi-tile h3{color:#f1f3ee;}
.metro-page:not(.expanded-mode) #metroGrid .metro-tile.sppi-tile p{color:#c9d4ce;max-width:46ch;}
.metro-page:not(.expanded-mode) #metroGrid .metro-tile.sppi-tile .tile-note{color:#a3c2b4;}
.sppi-tile-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;}
.metro-page:not(.expanded-mode) #metroGrid .sppi-tile .tile-time{position:static;background:rgba(241,243,238,.12);color:#f1f3ee;}
.metro-page:not(.expanded-mode) #metroGrid .sppi-tile .tile-cta{background:#f2b33d;color:#0f1a17;}
/* locked until 10 assessments: the padlock note (dashboard-pastel.css) sits in the tile's footer */
.metro-page:not(.expanded-mode) #metroGrid .sppi-tile .sppi-unlock-note{position:static;opacity:1;filter:none;}
.sppi-tile-stats{display:flex;gap:clamp(12px,3vw,28px);flex-wrap:wrap;}
.sppi-tile-stat{display:flex;flex-direction:column;gap:2px;}
.sppi-tile-stat b{font-size:clamp(22px,2.6vw,34px);font-weight:750;line-height:1;color:#f2b33d;font-variant-numeric:tabular-nums;}
.sppi-tile-stat b small{font-size:.5em;margin-left:2px;color:#f1f3ee;}
.sppi-tile-stat em{font-style:normal;font-size:12px;color:#c9d4ce;}
@media (max-width:620px){
  .metro-page:not(.expanded-mode) #metroGrid .metro-tile.sppi-tile p{font-size:11px;}
  .sppi-tile-stat b{font-size:20px;}
}

/* ---- the report: styled after the SPPI Individual Report (PDF) ---- */
/* a full-width page (the other app screens are a 640px column), with the report as a white sheet */
#screen-sppi{max-width:none;width:100%;margin:0;background:#eceeec;min-height:100vh;min-height:100svh;padding:clamp(12px,3vw,40px) clamp(10px,3vw,32px) 64px;box-sizing:border-box;}
.sppi-report{width:100%;min-width:0;max-width:900px;margin:0 auto;color:#1a1a1a;box-sizing:border-box;}
.sppi-doc,.sppi-banner{min-width:0;box-sizing:border-box;}
.sppi-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:#0f1a17;color:#f1f3ee;padding:16px clamp(16px,3vw,28px);margin-bottom:14px;}
.sppi-kicker{margin:0 0 2px;font-size:12px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:#f2b33d;}
.sppi-banner-title{margin:0;font-size:clamp(18px,2.4vw,24px);font-weight:700;color:#f1f3ee;}
.sppi-banner .btn,.sppi-foot .btn{min-height:48px;padding:12px 18px;font-size:15px;}

.sppi-doc{background:#fff;padding:clamp(24px,7vw,84px) clamp(18px,7vw,96px);box-shadow:0 2px 14px rgba(0,0,0,.08);font-family:"Source Sans 3","Source Sans Pro",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.5;}
.sppi-doc h1,.sppi-doc h2,.sppi-doc h3{font-family:"Source Serif 4","Source Serif Pro",Georgia,"Times New Roman",serif;font-weight:700;color:#1b2b28;letter-spacing:-.01em;}
.sppi-doc h1{font-size:clamp(34px,6vw,58px);line-height:1.05;margin:0 0 18px;}
.sppi-doc h2{font-size:clamp(28px,4vw,40px);line-height:1.1;margin:0 0 4px;}
.sppi-doc h3{font-size:clamp(20px,2.6vw,24px);margin:6px 0 2px;}
.sppi-doc h5{font-size:16px;font-weight:700;margin:22px 0 8px;}
.sppi-doc p{margin:0 0 12px;}
.sppi-rule{border:0;border-top:2px solid #4fe0c0;margin:14px 0 22px;}
.sppi-title{margin-bottom:22px;}
.sppi-title p{font-family:"Source Serif 4","Source Serif Pro",Georgia,serif;font-size:clamp(18px,2.2vw,22px);margin:0 0 14px;}
.sppi-lead{font-weight:700;margin:18px 0 6px !important;}
.sppi-arrows{list-style:none;margin:0 0 6px;padding:0 0 0 22px;}
.sppi-arrows li{position:relative;margin:2px 0;}
.sppi-arrows li::before{content:"\27A2";position:absolute;left:-22px;color:#4fe0c0;}
.sppi-note{font-size:14px;color:#555;border-left:3px solid #4fe0c0;padding-left:12px;margin-top:18px !important;}
.sppi-part{margin-top:clamp(40px,7vw,72px);}
.sppi-part > .sppi-desc{margin-top:-8px;}
.sppi-block{margin-top:34px;}
.sppi-tick{display:block;width:44px;border-top:2px solid #4fe0c0;margin-bottom:22px;}
.sppi-desc{font-style:italic;margin:0 0 16px !important;}
/* the score tables: black lines, centered numbers, colored by band */
.sppi-table,.sppi-bands{border-collapse:collapse;margin:0 0 14px;max-width:100%;}
.sppi-table th,.sppi-table td{border:1px solid #000;padding:8px 18px;text-align:center;vertical-align:top;min-width:110px;font-variant-numeric:tabular-nums;}
.sppi-table th{font-weight:700;}
.sppi-table th[scope="row"]{text-align:center;max-width:220px;}
.sppi-bands td{border:1px solid #000;padding:8px 10px;text-align:center;width:150px;}
.sppi-doc .band-good{background:#d9ead3;}
.sppi-doc .band-fair{background:#fff2cc;}
.sppi-doc .band-low{background:#f4cccc;}
/* cohort distribution: red bars with their counts */
.sppi-dist{display:flex;align-items:flex-end;gap:clamp(4px,1.2vw,14px);height:200px;border-bottom:1px solid #ddd;padding:0 4px;margin-top:8px;}
.sppi-dist-col{flex:1 1 0;min-width:0;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;position:relative;padding-bottom:0;}
.sppi-dist-col i{display:block;width:72%;background:#e3392f;min-height:0;}
.sppi-dist-n{font-size:10px;color:#e3392f;margin-bottom:2px;}
.sppi-dist-x{position:absolute;top:100%;margin-top:4px;font-size:10px;color:#666;text-align:center;line-height:1.1;width:140%;}
.sppi-dist-key{display:flex;align-items:center;justify-content:center;gap:5px;font-size:11px;color:#555;margin:34px 0 0 !important;}
.sppi-dist-key i{display:inline-block;width:10px;height:10px;background:#e3392f;}
.sppi-doc ul ul{list-style:circle;}
/* the parts of burnout risk, under it in its table */
.sppi-table tr.sppi-sub th{font-weight:600;font-size:14px;padding-left:28px;text-align:left;}
.sppi-table tr.sppi-sub td{font-size:14px;}
.sppi-flag{display:block;margin-top:3px;font-size:11px;font-weight:750;letter-spacing:.04em;text-transform:uppercase;color:#a12c22;}
/* suggestions placed through the report: what else to measure, opening the dashboard */
.sppi-callout{display:flex;align-items:center;justify-content:space-between;gap:16px 24px;flex-wrap:wrap;margin:34px 0 8px;padding:18px 20px;background:#f3faf8;border:1px solid #cfeee6;border-left:5px solid #4fe0c0;}
.sppi-callout > div{flex:1 1 320px;min-width:0;}
.sppi-callout p{margin:0 0 4px !important;font-size:15px;}
.sppi-callout .sppi-callout-title{font-family:"Source Serif 4","Source Serif Pro",Georgia,serif;font-weight:700;font-size:19px;color:#1b2b28;}
.sppi-callout .btn{flex:0 0 auto;min-height:46px;padding:11px 18px;font-size:15px;}
.sppi-after{margin-top:34px !important;}
.sppi-tips{padding-left:22px;}
.sppi-tips li{margin:8px 0;}
.sppi-foot{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:18px;}
@media (max-width:620px){
  .sppi-table th,.sppi-table td{padding:6px 8px;min-width:0;font-size:14px;}
  .sppi-bands td{width:auto;font-size:14px;}
  .sppi-dist{height:150px;}
  .sppi-dist-x{font-size:8px;}
  .sppi-table{display:block;overflow-x:auto;}
}
/* ---- the /productivity page (its look comes from the public site, css/mmm-site.css) ---- */
.mmm .pp-time{margin-left:14px;font-size:15px;opacity:.85;}
/* the welcome for Diary Of A CEO workshop participants, in the look of their workshop page
   (doacworkshops.com): black, Inter, a countdown to the live workshop in glassy tiles, and a faint wall
   of screens. The top padding clears the site header, which sits over the top of the page. */
.mmm .pp-doac{position:relative;overflow:hidden;background:#000;color:#fff;text-align:center;padding:clamp(88px,8vw,100px) 0 clamp(26px,3vw,34px);
  font-family:Inter,"Inter Fallback",system-ui,-apple-system,"Segoe UI",sans-serif;}
.mmm .pp-doac-wall{position:absolute;inset:-20px;pointer-events:none;opacity:.9;
  background-image:repeating-linear-gradient(90deg,transparent 0 64px,#000 64px 76px),repeating-linear-gradient(0deg,transparent 0 40px,#000 40px 52px),
    linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.05));
  -webkit-mask-image:radial-gradient(ellipse 60% 70% at 50% 50%,transparent 35%,#000 80%);mask-image:radial-gradient(ellipse 60% 70% at 50% 50%,transparent 35%,#000 80%);}
.mmm .pp-doac-in{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;}
.mmm .pp-doac-title{margin:0;font-family:inherit;font-size:clamp(26px,3.6vw,40px);font-weight:600;line-height:1.1;letter-spacing:-.025em;color:#fff;}
.mmm .pp-doac-lead{margin:0;max-width:56ch;font-size:clamp(14px,1.5vw,16px);line-height:1.5;color:#d4d4d4;}
.mmm .pp-doac-lead em{font-style:normal;font-weight:600;color:#fff;}
.mmm .pp-doac-lead strong{font-weight:700;color:#fff;}
.mmm .pp-countdown{display:flex;justify-content:center;gap:8px;margin-top:6px;}
.mmm .pp-countdown span{display:flex;flex-direction:column;align-items:center;gap:2px;width:68px;padding:8px 0 7px;border-radius:12px;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);}
.mmm .pp-countdown b{font-size:26px;font-weight:600;line-height:1.05;color:#fff;font-variant-numeric:tabular-nums;}
.mmm .pp-countdown small{font-size:11px;color:#a6a6a6;}
.mmm .pp-countdown .pp-live{width:auto;padding:8px 16px;flex-direction:row;gap:8px;font-size:15px;font-weight:600;color:#fff;}
.mmm .pp-countdown .pp-live::before{content:"";width:8px;height:8px;border-radius:50%;background:#e22c2c;align-self:center;}
.mmm .pp-doac-when{margin:2px 0 0;font-size:13px;font-weight:600;color:#fff;}
.mmm .pp-doac-when:empty{display:none;}
/* "Get started": always in the top right corner of the workshop page, wherever you scroll */
.mmm .pp-get-started{position:fixed;top:clamp(14px,2vw,24px);right:clamp(14px,3vw,32px);z-index:60;}
/* the red pill: "Get started", here and on the page's other buttons */
.mmm .pp-get-started,.mmm #page-productivity a.btn-act{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 26px;border:0;border-radius:999px;
  background:#e22c2c;color:#fff;font-family:Inter,"Inter Fallback",system-ui,sans-serif;font-size:15px;font-weight:700;text-decoration:none;box-shadow:0 6px 20px rgba(0,0,0,.25);}
.mmm .pp-get-started:hover,.mmm #page-productivity a.btn-act:hover{background:#c41f1f;color:#fff;}
.mmm .pp-get-started:focus-visible,.mmm #page-productivity a.btn-act:focus-visible{outline:2px solid #fff;outline-offset:3px;}
@media (max-width:620px){
  .mmm .pp-get-started{min-height:40px;padding:9px 18px;font-size:14px;}
  .mmm .pp-countdown span{width:60px;}
  .mmm .pp-countdown b{font-size:22px;}
}/* the workshop page is only about the SPPI: no menu, no "Take the DDI", no footer links, and the logo
   doesn't lead away (js/public-site.js sets data-page on #screen-landing) */
#screen-landing[data-page="productivity"] .hdr .nav,
#screen-landing[data-page="productivity"] .hdr .menu-btn,
#screen-landing[data-page="productivity"] .hdr .menu,
#screen-landing[data-page="productivity"] .ftr nav{display:none !important;}
#screen-landing[data-page="productivity"] .brand{pointer-events:none;}
.mmm .pp-hero .tag-pill{color:#f2b33d;opacity:1;}
.mmm .pp-grid{list-style:none;margin:28px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:16px;}
.mmm .pp-grid li{border-top:3px solid currentColor;padding:18px 0 0;}
.mmm .pp-grid .ic{width:40px;height:40px;}
.mmm .pp-grid h3{margin:12px 0 6px;}
.mmm .pp-grid p{margin:0;line-height:1.5;}
/* the SPPI's progress: one equal block per section (js/sppi.js setSppiProgress), in place of the bar */
#screen-survey .survey-blocks{display:flex;gap:5px;width:min(280px,100%);}
#screen-survey .survey-blocks[hidden]{display:none;}
#screen-survey .survey-blocks span{flex:1;height:6px;border-radius:3px;background:#d6ddd8;overflow:hidden;}
#screen-survey .survey-blocks span.is-current{box-shadow:0 0 0 1.5px #f2b33d;}
#screen-survey .survey-blocks i{display:block;height:100%;width:0;background:#f2b33d;transition:width .25s ease;}
#screen-survey .survey-progress[hidden]{display:none;}
/* the thank-you page that stands in for a held report */
.sppi-notice > p{font-size:17px;line-height:1.6;}

/* ---- the SPPI report (js/sppi.js sppiReportHtml): a diagnostic document in the MMMI style. The same
   pages are the online report and the emailed PDF (scripts/sppi-report-print.html prints them). ---- */
.sppi-r{
  --r-paper:#fff; --r-panel:#f5f7f3; --r-ink:#0f1a17; --r-muted:#44524c; --r-line:#cad3cd; --r-line-2:#dce5df; --r-green:#1d6e55; --r-marigold:#f2b33d;
  --r-good:#dbeadf; --r-fair:#fbefc9; --r-low:#f4d5cc; --r-good-ink:#1d6e55; --r-fair-ink:#7a5a0c; --r-low-ink:#9a3a24;
  --r-serif:"Newsreader","Iowan Old Style",Georgia,serif; --r-sans:"Instrument Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  color:var(--r-ink);font-family:var(--r-sans);font-size:14.5px;line-height:1.5;max-width:880px;margin:0 auto;
  -webkit-print-color-adjust:exact;print-color-adjust:exact;
}
.sppi-r *{box-sizing:border-box}
.sppi-r-page{background:var(--r-paper);padding:44px 52px 40px;margin:0 0 22px;box-shadow:0 1px 3px rgba(15,26,23,.08)}
.sppi-r-runhead{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 16px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--r-muted);
  border-bottom:1px solid var(--r-line);padding-bottom:8px;margin-bottom:30px}
.sppi-r-runhead b{color:var(--r-ink);font-weight:700}
.sppi-r h1,.sppi-r h2,.sppi-r h3{font-family:var(--r-serif);font-weight:440;letter-spacing:-.01em;margin:0;color:var(--r-ink)}
.sppi-r h1{font-size:50px;line-height:1.05}
.sppi-r h2{font-size:36px;line-height:1.1}
.sppi-r h3{font-size:23px;line-height:1.2}
.sppi-r-eyebrow{font-size:11.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--r-muted);margin:0 0 8px}
.sppi-r-rule{width:44px;height:3px;background:var(--r-marigold);border:0;margin:14px 0}
.sppi-r-lede{color:var(--r-muted);font-style:italic;margin:0;max-width:640px}
.sppi-r-desc{color:var(--r-muted);font-style:italic;margin:3px 0 14px}
.sppi-r-brand{display:flex;align-items:center;gap:12px;margin-bottom:46px}
.sppi-r-brand b{display:grid;place-items:center;width:42px;height:42px;border-radius:8px;background:var(--r-ink);color:var(--r-marigold);font-family:var(--r-serif);font-size:24px;font-weight:500}
.sppi-r-brand span{font-family:var(--r-serif);font-size:16px;line-height:1.15}
.sppi-r-meta{width:100%;border-collapse:collapse;margin:26px 0 24px}
.sppi-r-meta th,.sppi-r-meta td{text-align:left;border:1px solid var(--r-ink);padding:9px 12px;font-size:14px;word-break:break-word}
.sppi-r-meta th{width:120px;background:var(--r-panel);font-weight:700}
.sppi-r-cols{display:grid;grid-template-columns:1fr 1.25fr;gap:28px;margin-top:22px}
.sppi-r-cols h4{font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;margin:0 0 8px}
.sppi-r-arrows{list-style:none;margin:0;padding:0}
.sppi-r-arrows li{position:relative;padding-left:22px;margin:6px 0}
.sppi-r-arrows li::before{content:"";position:absolute;left:2px;top:.62em;width:9px;height:9px;border-top:2px solid var(--r-marigold);border-right:2px solid var(--r-marigold);transform:rotate(45deg)}
.sppi-r-arrows li small{display:block;color:var(--r-muted)}
.sppi-r-how{margin-top:26px;background:var(--r-panel);padding:16px 18px;font-size:13.5px;color:var(--r-muted)}
.sppi-r-how b{color:var(--r-ink)}
.sppi-r-how span{padding:1px 6px;color:var(--r-ink)}
.sppi-r-how .good{background:var(--r-good)} .sppi-r-how .fair{background:var(--r-fair)} .sppi-r-how .low{background:var(--r-low)}
.sppi-r-block{padding:18px 0 4px;border-top:1px solid var(--r-line-2);margin-top:18px;break-inside:avoid}
.sppi-r-head + .sppi-r-block{border-top:0;margin-top:10px}
.sppi-r-gap{height:30px}
.sppi-r-scroll{overflow-x:auto}
.sppi-r-t{border-collapse:collapse;margin:4px 0 0;font-size:14px}
.sppi-r-t th,.sppi-r-t td{border:1px solid var(--r-ink);padding:8px 14px;text-align:center;min-width:112px}
.sppi-r-t thead th{background:var(--r-panel);font-weight:700}
.sppi-r-t tbody th{text-align:left;font-weight:700;background:#fff;min-width:200px}
.sppi-r-t tbody th small{display:block;font-weight:700;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--r-low-ink)}
.sppi-r-t tr.sub th{padding-left:30px;font-weight:600}
.sppi-r-t td.you{font-weight:700}
.sppi-r-t td .tag{display:block;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;margin-top:1px}
.sppi-r-t td.good,.sppi-r-bands td.good{background:var(--r-good)} .sppi-r-t td.fair,.sppi-r-bands td.fair{background:var(--r-fair)} .sppi-r-t td.low,.sppi-r-bands td.low{background:var(--r-low)}
.sppi-r-t td.good .tag{color:var(--r-good-ink)} .sppi-r-t td.fair .tag{color:var(--r-fair-ink)} .sppi-r-t td.low .tag{color:var(--r-low-ink)}
.sppi-r-t td.goal{background:var(--r-good)}
.sppi-r-label{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--r-muted);margin:16px 0 6px}
.sppi-r-bands{border-collapse:collapse;font-size:13px}
.sppi-r-bands td{border:1px solid var(--r-ink);padding:6px 10px;text-align:center;min-width:112px}
.sppi-r-bands td span{display:block;font-size:9.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;opacity:.75}
.sppi-r-chart{margin:4px 0 0;max-width:720px}
.sppi-r-chart .bars{display:flex;align-items:flex-end;gap:4px;height:120px;border-bottom:1px solid var(--r-ink);padding-top:28px}
.sppi-r-chart .bar{flex:1;position:relative;background:#9fb4aa;min-height:1px}
.sppi-r-chart .bar b{position:absolute;bottom:100%;left:0;right:0;text-align:center;font-size:9.5px;font-weight:600;color:var(--r-muted);padding-bottom:2px}
.sppi-r-chart .bar.me{background:var(--r-green)}
.sppi-r-chart .bar.me b{color:var(--r-green);font-weight:700}
.sppi-r-chart .bar b em{display:block;font-style:normal;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--r-green)}  /* "You", above your bar's count */
.sppi-r-chart .xs{display:flex;gap:4px;font-size:9.5px;color:var(--r-muted);margin-top:3px;padding-bottom:4px}
.sppi-r-chart .xs span{flex:1;text-align:center;line-height:1.15;overflow-wrap:anywhere}
.sppi-r-advice{border:1px solid var(--r-line);border-left:4px solid var(--r-marigold);padding:16px 20px;margin:14px 0 0;break-inside:avoid}
.sppi-r-advice h3{font-size:22px}
.sppi-r-advice h3 span{font-family:var(--r-sans);font-size:13px;font-weight:700;color:var(--r-muted);margin-left:6px}
.sppi-r-advice p{margin:4px 0}
.sppi-r-advice ul{margin:6px 0 0;padding-left:20px}
.sppi-r-tips{background:var(--r-ink);color:#e6ebe7;padding:22px 26px;margin:20px 0 0;break-inside:avoid}
.sppi-r-tips h3{color:#fff;font-size:24px}
.sppi-r-tips ol{margin:10px 0 0;padding-left:20px}
.sppi-r-tips li{margin:8px 0}
.sppi-r-tips b{color:var(--r-marigold)}
.sppi-r-callout{margin:0 0 22px}
@media (max-width:700px){
  .sppi-r-page{padding:26px 18px}
  .sppi-r-cols{grid-template-columns:1fr}
  .sppi-r h1{font-size:38px} .sppi-r h2{font-size:30px}
  .sppi-r-t th,.sppi-r-t td{min-width:0;padding:7px 8px} .sppi-r-t tbody th{min-width:120px}
  .sppi-r-bands td{min-width:0}
}
/* printed (the emailed PDF): one section per letter page, nothing split across pages */
@media print{
  .sppi-r{font-size:12.5px;line-height:1.42;max-width:none}
  .sppi-r-page{box-shadow:none;margin:0;padding:10mm 14mm 8mm;break-after:page}
  .sppi-r-page:last-of-type{break-after:auto}
  .sppi-r-runhead{margin-bottom:16px;font-size:9.5px}
  .sppi-r h1{font-size:40px} .sppi-r h2{font-size:29px} .sppi-r h3{font-size:19px}
  .sppi-r-rule{margin:9px 0}
  .sppi-r-brand{margin-bottom:26px}
  .sppi-r-meta{margin:16px 0 14px} .sppi-r-meta th,.sppi-r-meta td{padding:6px 10px;font-size:12.5px}
  .sppi-r-cols{margin-top:14px;gap:22px} .sppi-r-arrows li{margin:4px 0}
  .sppi-r-how{margin-top:16px;padding:12px 14px;font-size:11.5px}
  .sppi-r-block{padding:10px 0 2px;margin-top:10px}
  .sppi-r-desc{margin:2px 0 8px}
  .sppi-r-t{font-size:12px} .sppi-r-t th,.sppi-r-t td{padding:5px 10px;min-width:96px}
  .sppi-r-bands{font-size:11.5px} .sppi-r-bands td{padding:4px 8px;min-width:96px}
  .sppi-r-label{margin:9px 0 4px;font-size:10.5px}
  .sppi-r-chart .bars{height:78px;padding-top:22px} .sppi-r-chart .xs{font-size:8.5px;padding-bottom:4px} .sppi-r-chart .bar b{font-size:8.5px}
  .sppi-r-advice{padding:11px 16px;margin-top:9px} .sppi-r-advice h3{font-size:19px}
  .sppi-r-tips{padding:16px 20px;margin-top:14px} .sppi-r-tips h3{font-size:20px} .sppi-r-tips li{margin:5px 0}
  .sppi-r-block,.sppi-r-advice,.sppi-r-tips,.sppi-r-keep{break-inside:avoid}
  .sppi-r-callout{display:none}
}
