/* Calculators page. Brand: navy #0B2545, gold #D89A2B, Fraunces headings, Manrope text. */
.calc-wrap { padding: 72px clamp(20px, 5vw, 80px) 96px; background: #FFFFFF; }
.calc-app { max-width: 1200px; margin: 0 auto; }
.calc-eyebrow { display: block; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: #D89A2B; font-weight: 700; }
.calc-app h2 { margin: 8px 0 12px; font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: clamp(28px, 4vw, 38px); line-height: 1.15; color: #0B2545; }
.calc-app h3 { margin: 0 0 16px; font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 22px; color: #0B2545; }
.calc-lead { margin: 0 0 28px; color: #5B6470; max-width: 760px; }
.calc-section { margin-bottom: 72px; }

.calc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.calc-grid-featured { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.calc-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid #D9DEE5; background: #FFFFFF; text-decoration: none; color: #16202A; transition: border-color .15s, transform .15s; }
.calc-card:hover, .calc-card:focus-visible { border-color: #0B2545; transform: translateY(-2px); color: #16202A; }
.calc-card strong { font-size: 18px; color: #0B2545; line-height: 1.3; }
.calc-card-summary { font-size: 15px; color: #5B6470; flex: 1; }
.calc-go { font-size: 14px; font-weight: 700; color: #0B2545; }
.calc-card-big { background: #F5F6F8; border-top: 4px solid #D89A2B; padding: 28px; }
.calc-card-big strong { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 24px; }

.calc-back { display: inline-block; margin-bottom: 20px; font-weight: 700; text-decoration: none; font-size: 15px; }
.calc-title { margin-top: 8px; }
.calc-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; margin-bottom: 56px; }
.calc-inputs { border-top: 2px solid #0B2545; padding-top: 24px; }
.calc-side { border-top: 2px solid #D89A2B; padding-top: 24px; position: sticky; top: 16px; }

.calc-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.calc-field label { font-weight: 700; font-size: 14px; color: #0B2545; }
.calc-help { font-size: 13px; color: #5B6470; margin: 0; }
.calc-control { display: flex; align-items: stretch; border: 1px solid #B8C0CC; background: #FFFFFF; }
.calc-control:focus-within { border-color: #0B2545; box-shadow: 0 0 0 2px rgba(11, 37, 69, .15); }
.calc-control input, .calc-control select, .calc-email input { flex: 1; min-width: 0; border: 0; padding: 12px 14px; font: inherit; font-size: 16px; color: #16202A; background: transparent; }
.calc-control input:focus, .calc-control select:focus { outline: none; }
.calc-pre, .calc-suf { display: flex; align-items: center; padding: 0 12px; background: #F5F6F8; color: #5B6470; font-size: 15px; white-space: nowrap; }
.calc-pre { border-right: 1px solid #D9DEE5; }
.calc-suf { border-left: 1px solid #D9DEE5; }

.calc-primary { background: #0B2545; color: #FFFFFF; padding: 24px 28px; display: flex; flex-direction: column; gap: 6px; }
.calc-primary span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #C9D3E0; font-weight: 700; }
.calc-primary strong { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: clamp(34px, 5vw, 46px); line-height: 1.1; color: #FFFFFF; overflow-wrap: anywhere; }
.calc-list { margin: 0; display: grid; grid-template-columns: 1fr auto; }
.calc-list dt, .calc-list dd { margin: 0; padding: 12px 0; border-bottom: 1px solid #D9DEE5; font-size: 15px; }
.calc-list dd { font-weight: 700; color: #0B2545; text-align: right; padding-left: 16px; white-space: nowrap; }
.calc-notes { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.calc-notes li { padding: 12px 16px; background: #F5F6F8; border-left: 3px solid #D89A2B; font-size: 15px; }

.calc-email { margin-top: 32px; padding: 24px; border: 1px solid #D9DEE5; background: #FFFFFF; }
.calc-email h3 { margin-bottom: 6px; }
.calc-email .calc-help { margin-bottom: 16px; }
.calc-email input:not([type=checkbox]) { border: 1px solid #B8C0CC; }
.calc-email input:not([type=checkbox]):focus { outline: 2px solid rgba(11, 37, 69, .25); border-color: #0B2545; }
.calc-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-bottom: 10px; cursor: pointer; }
.calc-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: #0B2545; flex: none; }
.calc-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.calc-btn { margin-top: 8px; min-height: 48px; padding: 12px 24px; background: #D89A2B; color: #071A33; border: 0; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.calc-btn:hover { background: #C88A1F; }
.calc-btn:disabled { opacity: .6; cursor: wait; }
.calc-status { margin: 12px 0 0; font-size: 14px; min-height: 1em; }
.calc-status.bad { color: #9B3A23; font-weight: 600; }
.calc-status.good { color: #3F6B45; font-weight: 700; }
.calc-fine { font-size: 12px; color: #5B6470; margin: 12px 0 0; }
.calc-related { border-top: 1px solid #D9DEE5; padding-top: 32px; }

@media (max-width: 860px) {
  .calc-body { grid-template-columns: 1fr; gap: 32px; }
  .calc-side { position: static; }
  .calc-wrap { padding-top: 48px; }
}
@media print {
  header, footer, nav, .calc-email, .calc-related, .calc-back, .calc-hero { display: none !important; }
  .calc-side { position: static; }
  .calc-primary { color: #000; background: #fff; border: 2px solid #0B2545; }
  .calc-primary strong, .calc-primary span { color: #0B2545; }
}

/* ---------- Business Planner layout ---------- */
.pl-block { margin-bottom: 64px; scroll-margin-top: 16px; }
.pl-block h2 { margin-top: 6px; }
.pl-tip { font-size: 14px; color: #5B6470; margin: -12px 0 24px; }
.pl-group { border: 0; border-top: 2px solid #0B2545; margin: 0 0 28px; padding: 18px 0 0; }
.pl-group legend { padding: 0 12px 0 0; font-family: "Fraunces", Georgia, serif; font-size: 20px; color: #0B2545; }
.pl-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 4px 28px; }
.pl-labelrow { display: flex; align-items: center; gap: 8px; }
.pl-labelrow label, .pl-labelrow .pl-rlabel { flex: 0 1 auto; }
.pl-q { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #0B2545; background: #FFFFFF; color: #0B2545; font: 700 12px/1 "Manrope", system-ui, sans-serif; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.pl-q[aria-expanded="true"] { background: #0B2545; color: #FFFFFF; }
.pl-q-demo { display: inline-flex; vertical-align: middle; cursor: default; }
.pl-explain { margin: 6px 0 2px; padding: 10px 14px; background: #FBF3E3; border-left: 3px solid #D89A2B; font-size: 14px; line-height: 1.55; color: #16202A; }
.calc-primary .pl-labelrow span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #C9D3E0; font-weight: 700; }
.calc-primary .pl-q { border-color: #C9D3E0; background: transparent; color: #FFFFFF; }
.calc-primary .pl-explain { color: #16202A; }
.pl-link { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: #0B2545; text-decoration: underline; cursor: pointer; }

.pl-glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 12px; background: #0B2545; }
.pl-glance-item { padding: 22px 16px; color: #FFFFFF; position: relative; display: flex; flex-direction: column; gap: 6px; }
.pl-glance-item + .pl-glance-item { border-left: 1px solid #2A4468; }
.pl-glance-item span { font-size: 13px; color: #C9D3E0; font-weight: 600; }
.pl-glance-item strong { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: clamp(18px, 2vw, 27px); line-height: 1.1; white-space: normal; overflow-wrap: normal; }
.pl-glance-last { background: #D89A2B; }
.pl-glance-last span { color: #071A33; }
.pl-glance-last strong { color: #071A33; }

.pl-section { border-top: 1px solid #D9DEE5; padding-top: 40px; }
.pl-optional { background: #F5F6F8; border-top: 4px solid #D89A2B; padding: 32px clamp(18px, 3vw, 36px); }
.pl-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.pl-body-full { grid-template-columns: minmax(0, 1fr); }
.pl-inputs { border-top: 2px solid #0B2545; padding-top: 20px; }
.pl-out { border-top: 2px solid #D89A2B; padding-top: 20px; }
.pl-body-full .pl-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); column-gap: 32px; }
.pl-row { border-bottom: 1px solid #D9DEE5; padding: 12px 0; }
.pl-rowtop { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 16px; }
/* the label and its buttons take what room there is, wrapping under one another rather than squeezing the label a word
   to a line; when even that is too narrow, the value drops to its own line instead of running past the column */
.pl-rowtop > .pl-labelrow { flex: 1 1 13em; min-width: 0; flex-wrap: wrap; row-gap: 6px; }
.pl-rowtop > .pl-value { flex: none; margin-left: auto; }
.pl-rowtop strong { color: #0B2545; white-space: nowrap; font-size: 16px; }
.pl-value { display: flex; align-items: center; gap: 10px; }
/* the grade a measure earns, on the same line as the measure */
.pl-rowgrade { font-family: "Fraunces", Georgia, serif; font-size: 17px; line-height: 1; min-width: 26px;
  padding: 4px 0; text-align: center; color: #0B2545; background: #F0F2F5; border-bottom: 2px solid #8FA0B8; }
.pl-rowgrade.is-good { color: #3F5B41; background: #EFF6F0; border-bottom-color: #5F7A61; }
.pl-rowgrade.is-bad { color: #8C3520; background: #FBF0EE; border-bottom-color: #9B3A23; }
.pl-rlabel { font-size: 15px; }
.pl-figure { margin: 28px 0 0; padding: clamp(16px, 2.5vw, 28px); background: #FFFFFF; border: 1px solid #D9DEE5; max-width: 860px; }
.pl-figtitle { font-family: "Fraunces", Georgia, serif; font-size: 18px; color: #0B2545; margin-bottom: 10px; }
.pl-chart { display: block; width: 100%; height: auto; font-family: "Manrope", system-ui, sans-serif; }
/* on a phone the labels would be too small to read, so the chart keeps its size and scrolls sideways */
.pl-chartscroll { overflow-x: auto; }
@media (max-width: 560px) { .pl-chart { min-width: 430px; } }
.pl-fignote { margin: 10px 0 0; font-size: 13.5px; line-height: 1.55; color: #5B6470; }

.pl-notes { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.pl-note { margin: 0; padding: 12px 16px; background: #F5F6F8; border-left: 3px solid #D89A2B; font-size: 15px; }
.pl-optional .pl-note { background: #FFFFFF; }
.pl-remove { margin-top: 20px; display: inline-block; color: #9B3A23; }

.pl-pack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 16px; }
.pl-pack { text-align: left; display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid #D9DEE5; background: #FFFFFF; cursor: pointer; font: inherit; color: #16202A; }
.pl-pack strong { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 20px; line-height: 1.2; color: #0B2545; }
.pl-pack span { font-size: 14px; color: #5B6470; }
.pl-pack .pl-pack-n { margin-top: auto; padding-top: 6px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: #8FA0B8; }
.pl-pack:hover, .pl-pack:focus-visible { border-color: #0B2545; background: #F5F6F8; }
.pl-pack-on, .pl-pack-on:hover { background: #0B2545; border-color: #0B2545; }
.pl-pack-on strong { color: #FFFFFF; }
.pl-pack-on span { color: #C9D3E0; }
.pl-pack-on .pl-pack-n { color: #D89A2B; }
.pl-pack-list { list-style: none; margin: 4px 0 2px; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.pl-pack-s { display: flex; gap: 8px; font-size: 13.5px; line-height: 1.35; color: #8FA0B8; }
.pl-pack-s.is-have { color: #16202A; }
.pl-tick { flex: none; width: 15px; font-weight: 700; color: #B8C0CC; }
.pl-pack-s.is-have .pl-tick { color: #5F7A61; }
.pl-pack-on .pl-pack-s { color: #6F86A6; }
.pl-pack-on .pl-pack-s.is-have { color: #FFFFFF; }
.pl-pack-on .pl-pack-s.is-have .pl-tick { color: #D89A2B; }
.pl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pl-group-line { margin: 2px 0 14px; font-size: 14px; color: #5B6470; }

/* the contents: a button on a phone, a column beside the page on a wide screen */
.pl-toc { position: fixed; right: 16px; bottom: 16px; z-index: 20; max-width: 264px; }
.pl-toc-btn { font: inherit; font-size: 14px; font-weight: 700; padding: 10px 18px; border: 0; background: #0B2545; color: #FFFFFF; cursor: pointer; box-shadow: 0 2px 10px rgba(11, 37, 69, .25); }
.pl-toc-list { display: none; list-style: none; margin: 10px 0 0; padding: 14px 18px; background: #FFFFFF; border: 1px solid #D9DEE5; box-shadow: 0 2px 14px rgba(11, 37, 69, .18); max-height: 62vh; overflow-y: auto; }
.pl-toc.is-open .pl-toc-list { display: block; }
.pl-toc-list li + li { margin-top: 8px; }
.pl-toc-list a { font-size: 14px; line-height: 1.35; color: #0B2545; text-decoration: none; border-bottom: 1px solid transparent; }
.pl-toc-list a:hover { border-bottom-color: #D89A2B; }
@media (min-width: 1240px) {
  .calc-wrap { padding-right: 312px; }
  .pl-toc { top: 88px; bottom: auto; right: 24px; width: 248px; max-width: 248px; }
  .pl-toc-btn { display: none; }
  /* it floats over the navy hero as well as the white page, so it keeps its own card */
  .pl-toc-list { display: block; margin: 0; border: 1px solid #D9DEE5; border-left: 3px solid #D89A2B;
    background: #FFFFFF; box-shadow: 0 2px 12px rgba(11, 37, 69, .12); max-height: 72vh; padding: 14px 18px; }
}

.pl-grade { font-family: "Fraunces", Georgia, serif; font-size: 24px !important; line-height: 1; min-width: 32px; text-align: center; }
.calc-primary-grade strong { font-size: clamp(56px, 10vw, 84px); }

/* good news, bad news, or neither: the number, its explainer and any note all take the same colour */
.pl-row.is-good { background: #F2F8F3; }
.pl-row.is-bad { background: #FCF2F0; }
.pl-row.is-good, .pl-row.is-bad { margin: 0 -12px; padding-left: 12px; padding-right: 12px; }
.pl-row.is-good .pl-rowtop strong { color: #2A5E3D; }
.pl-row.is-bad .pl-rowtop strong { color: #96341F; }
.pl-explain.is-good { background: #EFF6F0; border-left-color: #3F7A52; }
.pl-explain.is-bad { background: #FBF0EE; border-left-color: #9B3A23; }
.pl-note.is-good { background: #EFF6F0; border-left-color: #3F7A52; }
.pl-note.is-bad { background: #FBF0EE; border-left-color: #9B3A23; }
.pl-optional .pl-note.is-good, .pl-optional .pl-note.is-bad { background: #FFFFFF; }
.calc-primary.is-good { background: #14402B; }
.calc-primary.is-bad { background: #6E2013; }
.pl-report-name { color: #0B2545; }

.pl-adder-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.pl-add { text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1.5px dashed #0B2545; background: #FFFFFF; cursor: pointer; font: inherit; color: #16202A; }
.pl-add strong { color: #0B2545; font-size: 17px; }
.pl-add span { font-size: 14px; color: #5B6470; }
.pl-add:hover, .pl-add:focus-visible { border-style: solid; background: #F5F6F8; }

.pl-report { margin-top: 0; padding: clamp(20px, 4vw, 40px); border: 0; border-top: 4px solid #D89A2B; background: #F5F6F8; }
.pl-report-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 20px; }
.pl-report .calc-field input { background: #FFFFFF; }
.pl-download { font-size: 17px; padding: 14px 32px; min-height: 54px; }

@media (max-width: 860px) {
  .pl-body { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pl-glance { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pl-glance-item:nth-child(3) { border-left: 0; }
  .pl-glance-item:nth-child(n+3) { border-top: 1px solid #2A4468; }
  .pl-glance-item { padding: 16px 14px; }
  .pl-glance-item strong { font-size: clamp(18px, 5.4vw, 24px); }
  .pl-rowtop { align-items: flex-start; }
  .pl-rowtop strong { white-space: normal; text-align: right; }
}
@media print { .pl-adder, .pl-report, .pl-q, .pl-remove, .pl-link { display: none !important; } .pl-explain[hidden] { display: none; } }

[hidden] { display: none !important; }

/* Pitch deck outline (www.lepstrategy.com/pitch-deck) */
.pd-progress-wrap { margin-bottom: 40px; }
.pd-progress { height: 8px; background: #D9DEE5; overflow: hidden; }
.pd-progress i { display: block; height: 100%; background: #3F7A52; transition: width .2s; }
.pd-count { color: #0B2545; }
.pd-slide { border-top: 1px solid #D9DEE5; padding: 36px 0 40px; }
.pd-head { display: flex; gap: 18px; align-items: baseline; }
.pd-num { font-family: "Fraunces", Georgia, serif; font-size: 40px; line-height: 1; color: #D89A2B; flex: none; }
.pd-head h2 { margin: 0 0 6px; }
.pd-one { margin: 0; color: #5B6470; font-size: 17px; }
.pd-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; align-items: start; margin-top: 24px; }
.pd-guide { background: #F5F6F8; padding: 24px; }
.pd-guide h3 { margin: 0 0 10px; font-size: 18px; }
.pd-list { margin: 0; padding-left: 20px; color: #16202A; font-size: 15px; }
.pd-list li { margin-bottom: 5px; }
.pd-decide, .pd-mistake, .pd-note { margin: 14px 0 0; font-size: 14.5px; line-height: 1.55; }
.pd-decide { color: #2A5E3D; }
.pd-mistake { color: #96341F; }
.pd-note { color: #5B6470; border-top: 1px solid #D9DEE5; padding-top: 12px; }
.pd-field { margin-bottom: 20px; }
.pd-field label { display: block; font-weight: 700; font-size: 15px; color: #0B2545; }
.pd-hint { display: block; font-size: 14px; color: #5B6470; margin: 2px 0 8px; }
.pd-field textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid #B8C0CC; font: inherit; font-size: 16px; line-height: 1.55; background: #FFFFFF; resize: vertical; }
.pd-field textarea:focus { outline: none; border-color: #0B2545; box-shadow: 0 0 0 2px rgba(11, 37, 69, .15); }
@media (max-width: 860px) { .pd-body { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* ---------- The sidebar (/calc/browse.js): a search and the sections down the left. ---------- */
.cx-layout { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 48px; align-items: start; }
.cx-main .calc-app { max-width: none; }
.cx-side { position: sticky; top: calc(var(--lep-head, 76px) + 24px); max-height: calc(100vh - var(--lep-head, 76px) - 48px); overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding-right: 4px; }
.cx-search { display: flex; align-items: center; gap: 6px; border: 2px solid #0B2545; background: #FFFFFF; padding-right: 6px; }
.cx-search:focus-within { border-color: #D89A2B; }
.cx-search input { flex: 1; min-width: 0; border: 0; padding: 12px 14px; font: inherit; font-size: 16px; color: #16202A; background: transparent; }
.cx-search input:focus { outline: none; }
.cx-search input::-webkit-search-cancel-button { display: none; }
.cx-clear { flex: none; width: 30px; height: 30px; border: 0; background: #F0F2F5; color: #0B2545; font-size: 20px; line-height: 1; cursor: pointer; }
.cx-side-h { margin-top: 12px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #5B6470; font-weight: 700; }
.cx-cats, .cx-list { list-style: none; margin: 0; padding: 0; }
.cx-cats { border-left: 2px solid #D9DEE5; }
.cx-cat { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-left: -2px; padding: 9px 10px 9px 14px; border: 0; border-left: 2px solid transparent; background: none; font: inherit; font-size: 15px; font-weight: 700; color: #16202A; text-align: left; cursor: pointer; }
.cx-cat:hover { background: #F5F6F8; color: #0B2545; }
.cx-cat.is-on { border-left-color: #D89A2B; background: #F5F6F8; color: #0B2545; }
.cx-cat.is-none { color: #9AA3AE; }
.cx-n { flex: none; font-size: 12px; font-weight: 700; color: #5B6470; background: #F0F2F5; min-width: 26px; padding: 3px 7px; text-align: center; }
.cx-cat.is-on .cx-n { background: #0B2545; color: #FFFFFF; }
.cx-list { padding: 2px 0 8px 14px; }
.cx-list a { display: block; padding: 6px 10px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.35; color: #5B6470; text-decoration: none; }
.cx-list a:hover { color: #0B2545; background: #F5F6F8; }
.cx-list a.is-on { color: #0B2545; font-weight: 700; border-left-color: #0B2545; background: #F5F6F8; }
.cx-more { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.cx-more a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: #F5F6F8; border-top: 3px solid #D89A2B; font-size: 13px; color: #5B6470; text-decoration: none; }
.cx-more a strong { font-size: 14px; color: #0B2545; }
.cx-more a:hover strong { text-decoration: underline; }
.cx-status { margin: 0 0 24px; padding: 12px 16px; background: #F5F6F8; border-left: 3px solid #D89A2B; font-size: 15px; color: #16202A; }
.cx-main .calc-section:first-of-type h2, .cx-main .calc-section h2 { margin-top: 4px; }
.cx-main .calc-body { gap: 32px; }

/* the sidebar folds above the calculators: the search and the sections as a row of buttons */
@media (max-width: 960px) {
  .cx-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cx-side { position: static; max-height: none; overflow: visible; padding: 0; }
  .cx-cats { display: flex; gap: 8px; overflow-x: auto; border-left: 0; padding-bottom: 4px; }
  .cx-cat { margin: 0; border: 1px solid #D9DEE5; white-space: nowrap; padding: 8px 12px; }
  .cx-cat.is-on { border-color: #0B2545; }
  .cx-list, .cx-more { display: none !important; }
}
/* the reports page (/reports): the same sidebar holds the reports and the contents of yours, so the
   floating contents is only for a small screen */
@media (min-width: 961px) { .cx-main .pl-toc { display: none; } }
.pl-side-contents { padding-left: 0; border-left: 2px solid #D9DEE5; }
.pl-side-contents a { margin-left: -2px; }
.pl-side-contents a.is-on { border-left-color: #D89A2B; }
.pl-side-packs .cx-cat { padding-top: 6px; padding-bottom: 6px; font-size: 14px; font-weight: 600; }
.pl-side-packs .cx-cat.is-on { font-weight: 700; }
.pl-side-none { margin: 0; font-size: 14px; color: #9B3A23; }
.calc-btn.pl-side-get { margin: 0; display: flex; align-items: center; justify-content: center; text-decoration: none; color: #071A33; }
@media (max-width: 960px) { .pl-side-in, .pl-side-get { display: none !important; } }
@media print { .cx-side, .cx-status { display: none !important; } .cx-layout { display: block; } }

/* ---------- The customer profile calculator (/calc/profile.js): words, not sums. ---------- */
.calc-section-head { margin: 26px 0 12px; padding-top: 18px; border-top: 1px solid #D9DEE5; }
.calc-section-head:first-of-type { border-top: 0; padding-top: 0; margin-top: 10px; }
.calc-section-head h3 { margin: 0 0 4px; font-size: 18px; }
.calc-control textarea { flex: 1; min-width: 0; border: 0; padding: 12px 14px; font: inherit; font-size: 16px; line-height: 1.55; color: #16202A; background: transparent; resize: vertical; }
.calc-control textarea:focus { outline: none; }
.calc-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2px 18px; }
.calc-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 400; color: #16202A; margin: 6px 0; cursor: pointer; }
.calc-check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: #0B2545; }
.calc-words { background: #0B2545; color: #FFFFFF; padding: 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.calc-words-label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #C9D3E0; font-weight: 700; }
.calc-words p { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: 18px; line-height: 1.5; }
.calc-words .calc-words-empty { font-family: "Manrope", system-ui, sans-serif; font-size: 15px; color: #C9D3E0; }
.calc-find { margin-top: 24px; padding: 24px; border: 1px solid #D9DEE5; background: #FFFFFF; }
.calc-find h3 { margin-bottom: 6px; }
.calc-find .calc-field { margin-bottom: 12px; }
.calc-find .calc-check { margin: 10px 0 4px; }
.calc-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.calc-status { margin: 10px 0 0; font-size: 14px; color: #2A5E3D; min-height: 1.4em; }
.calc-status.bad { color: #96341F; }
