/* Calculators — design: Calculators.dc.html, Calculator.dc.html (C-01), CogCalc.dc.html (C-02).
   Shares .bp/.bpl/.crumb/.sr-only from blog.css and .page-hero/.sec-head from site.css. */

.page-calculators main > section, .page-calc main > section { padding-top: 0; padding-bottom: 0; }
.cx-eyebrow { margin: 0; font-family: "IBM Plex Mono", monospace; font-size: 13px; letter-spacing: .12em; color: var(--blue); text-transform: uppercase; }
.cx-eyebrow--orange { color: #FF8A57; }
.cx-h2 { margin: 0; font-family: Archivo, sans-serif; font-weight: 700; font-size: 36px; line-height: 1.1; color: var(--navy); }
.cx-h3 { margin: 0; font-family: Archivo, sans-serif; font-weight: 700; font-size: 24px; color: var(--navy); }
.cx-lbl { display: flex; flex-direction: column; gap: 6px; margin: 0; font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .06em; color: #6A7490; }
.cx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cx-small { margin: -6px 0 0; font-size: 12px; color: #6A7490; }
.cx-note { margin: 14px 0 0; font-size: 12.5px; color: #6A7490; }

/* inputs: override site.css (max-width 520, padding) inside calculators */
.cx-work input[type=text], .cx-work select, .cx-req input, .cx-req textarea {
  max-width: none; width: 100%; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid #C9D1E3; border-radius: 4px;
  font-family: "IBM Plex Mono", monospace; font-size: 14px; color: var(--navy); background: #fff;
}
.cx-work select { font-family: "IBM Plex Sans", sans-serif; height: 44px; }
.cx-req textarea { height: 96px; padding: 10px 12px; font-family: "IBM Plex Sans", sans-serif; resize: vertical; }
.cx-req input { height: 44px; font-family: "IBM Plex Sans", sans-serif; }

/* buttons: site.css paints every <button> blue with a navy hover — reset per role */
.cx-btn, .cx-btn:hover { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 20px; border: 0; border-radius: 4px;
  background: var(--blue); color: #fff; font: 600 15px/1 "IBM Plex Sans", sans-serif; letter-spacing: 0; cursor: pointer; }
.cx-btn:hover { background: var(--blue-dark); }
.cx-ghost, .cx-ghost:hover { height: 44px; padding: 0 16px; border: 1px solid #C9D1E3; border-radius: 4px; background: #fff; color: var(--navy);
  font: 500 14px/1 "IBM Plex Sans", sans-serif; letter-spacing: 0; cursor: pointer; }
.cx-ghost:hover { border-color: var(--navy); }

/* ================================================================= index hero */
.cx-hero { display: flex; gap: 56px; padding: 60px var(--pad) 64px !important; align-items: flex-start; }
.cx-hero__text { position: relative; flex: 1 1 0; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.cx-hero h1, .cx-phero h1 { margin: 0; font-family: Archivo, sans-serif; font-weight: 800; font-size: 54px; line-height: 1.05; letter-spacing: -.015em; color: #fff; }
.cx-hero__intro { margin: 0; max-width: 600px; font-size: 17px; line-height: 1.6; color: #C3CCE2; }
.cx-search { position: relative; display: block; max-width: 560px; margin: 0; }
.cx-search svg { position: absolute; left: 14px; top: 16px; }
.cx-search input { width: 100%; max-width: none; height: 48px; border: 0; border-radius: 4px; padding: 0 12px 0 40px; font-size: 15px; }
.cx-tiers { position: relative; width: 400px; flex-shrink: 0; background: #0F1D42; border: 1px solid #2A3D75; border-radius: 6px; overflow: hidden; }
.cx-tiers__head { padding: 12px 18px; border-bottom: 1px solid #2A3D75; font-family: "IBM Plex Mono", monospace; font-size: 12px; color: #A9B4CF; }
.cx-tiers__grid { display: grid; grid-template-columns: 1fr 58px 70px 52px; font-size: 13.5px; color: #E3E9FF; }
.cx-tiers__grid > .cx-pro { color: #FFB38A; }
.cx-tiers__grid > span { padding: 10px 18px; border-bottom: 1px solid #1E2F63; }
.cx-tiers__grid > .cx-c { padding: 10px 0; text-align: center; font-family: "IBM Plex Mono", monospace; }
.cx-tiers__th { font-family: "IBM Plex Mono", monospace; font-size: 10.5px !important; color: #7C89AD; }
.cx-yes { color: #3DD17A; } .cx-no { color: #5C6B93; }
.cx-tiers__foot { padding: 14px 18px; display: flex; flex-direction: column; gap: 10px; }
.cx-tiers__pro { display: block; text-align: center; border: 1px solid #FF8A57; color: #FFB38A; font-weight: 600; font-size: 14px; padding: 11px 0; border-radius: 4px; }
.cx-tiers__pro:hover { background: #FF6A2B; color: #fff; border-color: #FF6A2B; }
.cx-tiers__me--acc { color: #A9B4CF; }
.cx-tiers__btn { display: block; text-align: center; background: #fff; color: var(--navy); font-weight: 600; font-size: 14px; padding: 12px 0; border-radius: 4px; }
.cx-tiers__btn:hover { background: #E6ECFF; color: var(--navy); }
.cx-tiers__me { display: block; text-align: center; font-family: "IBM Plex Mono", monospace; font-size: 12px; color: #3DD17A; }

/* ================================================================= featured */
.cx-featured { padding: 72px var(--pad) 80px !important; }
.cx-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 20px; }
.cx-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #D5DCEA; border-radius: 6px; color: #0E1526; transition: transform .2s, box-shadow .2s; }
a.cx-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(10,22,51,.12); color: #0E1526; }
.cx-card--hot { border-color: var(--navy); box-shadow: 0 12px 28px rgba(10,22,51,.12); }
.cx-card__fig { position: relative; height: 200px; display: flex; align-items: center; justify-content: center; }
.cx-card__fig > svg { display: block; width: 100%; height: 200px; }
.cx-card__new { position: absolute; left: 14px; top: 12px; font-family: "IBM Plex Mono", monospace; font-size: 10.5px; color: #fff; background: #FF6A2B; padding: 3px 8px; border-radius: 3px; }
.cx-cog-mark { animation: cxCog 5s ease-in-out infinite; transform-origin: 195px 99px; }
@keyframes cxCog { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(-14px, 6px); } 60% { transform: translate(10px, -5px); } }
.cx-conv { width: 100%; padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; font-family: "IBM Plex Mono", monospace; font-size: 13px; color: #fff; }
.cx-conv > div { display: grid; grid-template-columns: 64px 18px 1fr; white-space: nowrap; }
.cx-conv i { font-style: normal; color: #FF8A57; text-align: center; }
.cx-conv span + i + span { color: #C3CCE2; }
.cx-card__body { flex-grow: 1; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.cx-card__code { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: #6A7490; }
.cx-card__title { font-family: Archivo, sans-serif; font-weight: 700; font-size: 22px; line-height: 1.2; color: var(--navy); }
.cx-card__text { font-size: 14px; line-height: 1.55; color: #4A5570; }
.cx-card__go { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--blue); }
.cx-card__go.is-off { color: #6A7490; }

/* ================================================================= tools table */
.cx-tools { padding: 80px var(--pad) 90px !important; }
.cx-tools .sec-head { margin-bottom: 24px; }
.cx-legend { display: flex; gap: 14px; flex-wrap: wrap; font-family: "IBM Plex Mono", monospace; font-size: 11px; color: #4A5570; }
.cx-legend span { display: flex; align-items: center; gap: 6px; }
.cx-legend b, .cx-st { font-weight: 400; padding: 3px 7px; border-radius: 3px; font-family: "IBM Plex Mono", monospace; font-size: 11px; }
.st-READY { color: #2E7D45; background: #EEF8F1; } .st-NEXT { color: var(--blue); background: #EEF2FF; } .st-ROADMAP { color: #6A7490; background: #F4F6FA; }
.cx-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.cx-chip, .cx-chip:hover { font: 12px/1 "IBM Plex Mono", monospace; letter-spacing: .05em; color: var(--navy); background: #fff; border: 1px solid #C9D1E3; border-radius: 3px; padding: 12px 13px; cursor: pointer; }
.cx-chip:hover { border-color: var(--navy); }
.cx-chip.is-on { color: #fff; background: var(--navy); border-color: var(--navy); }
.cx-chip span { opacity: .6; }
.cx-table { border: 1px solid #D5DCEA; border-radius: 6px; overflow: hidden; }
.cx-row { display: grid; grid-template-columns: 80px 64px minmax(0, 1fr) 260px 130px 120px; align-items: center; border-top: 1px solid #E3E8F2; color: #0E1526; background: #fff; }
.cx-row[hidden] { display: none; }
.cx-row > span { padding: 12px 18px; }
.cx-row--head { border-top: 0; background: var(--navy); color: #fff; font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: .06em; }
.cx-row--head > span { padding: 13px 18px; }
.cx-row.is-ready { background: #FBFCFE; }
a.cx-row:hover { background: #F2F5FF; color: #0E1526; }
.cx-row__id { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: #6A7490; }
.cx-row > .cx-row__badge { padding: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cx-row__badge svg { display: block; overflow: visible; }
.cx-row__tool { display: flex; flex-direction: column; gap: 3px; }
.cx-row__tool b { font-weight: 600; font-size: 15px; color: var(--navy); }
.cx-row__tool span { font-size: 13px; color: #4A5570; }
.cx-row__ref { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--navy); }
.cx-row__cat { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: #6A7490; }
.cx-empty { margin: 0; padding: 20px 18px; border-top: 1px solid #E3E8F2; color: #4A5570; }

/* ================================================================= trust + request */
.cx-trust { display: flex; gap: 40px; padding: 80px var(--pad) 90px !important; align-items: flex-start; scroll-margin-top: 20px; }
.cx-trust__main { flex: 1 1 0; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.cx-trust__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cx-trust__item { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid #D5DCEA; border-radius: 6px; padding: 16px 18px; }
.cx-trust__n { font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 600; color: #FF6A2B; }
.cx-trust__item b { font-weight: 600; font-size: 15px; color: var(--navy); }
.cx-trust__item span:last-child { font-size: 13.5px; line-height: 1.5; color: #4A5570; }
.cx-req { position: relative; width: 420px; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--navy); border-radius: 6px; padding: 24px; }
.cx-req__k { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .1em; color: var(--orange); }
.cx-req__t { font-family: Archivo, sans-serif; font-weight: 700; font-size: 22px; line-height: 1.2; color: var(--navy); }
.cx-flash { margin: 0; padding: 10px 12px; border-radius: 4px; font-size: 14px; }
.cx-flash--success { background: #EEF8F1; color: #14532D; } .cx-flash--error { background: #FDEEEE; color: var(--orange); }

/* ================================================================= calculator page */
.cx-phero { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; padding: 48px var(--pad) 40px !important; }
.cx-phero__text { position: relative; display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.cx-phero h1 { font-size: 46px; }
.cx-phero__badges { position: relative; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; font-family: "IBM Plex Mono", monospace; font-size: 12px; }
.cx-badge { padding: 6px 10px; border-radius: 4px; color: var(--navy); background: #fff; }
.cx-badge--free { color: #14532D; background: #DCFCE7; }

.cx-work { padding: 36px var(--pad) 56px !important; }
.cx-grid { display: flex; gap: 32px; align-items: flex-start; }
.cx-print-head { display: none; }

/* beam input */
.cx-in { width: 400px; flex-shrink: 0; background: #fff; border: 1px solid #D5DCEA; border-radius: 6px; }
.cx-in__head { display: flex; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid #E3E8F2; font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .08em; color: #4A5570; }
.cx-in__head b { color: var(--navy); }
.cx-in__body { padding: 20px; display: flex; flex-direction: column; gap: 22px; }
.cx-in__note { margin: -8px 0 0; font-size: 12px; line-height: 1.5; color: #6A7490; }
.cx-fs { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cx-fs legend, .cx-field__t { padding: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--navy); }
.cx-fs legend small { font-weight: 400; color: #6A7490; margin-left: 6px; }
.cx-field { display: flex; flex-direction: column; gap: 0; margin: 0; font-size: 13px; font-weight: 600; color: var(--navy); }
.cx-field--s { gap: 6px; font-size: 12px; font-weight: 400; color: #4A5570; }
.cx-field--s .cx-field__t { padding: 0 0 4px; }
.cx-unit { display: flex; border: 1px solid #C9D1E3; border-radius: 4px; overflow: hidden; }
.cx-work .cx-unit input { border: 0; border-radius: 0; height: 44px; font-size: 15px; }
.cx-unit > span { display: flex; align-items: center; padding: 0 14px; background: #F4F6FA; font-family: "IBM Plex Mono", monospace; font-size: 13px; color: #4A5570; }
.cx-sups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cx-sup, .cx-sup:hover { height: 72px; padding: 0 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid #C9D1E3;
  background: #fff; border-radius: 4px; font: 500 12px/1.2 "IBM Plex Sans", sans-serif; letter-spacing: 0; color: #3A4460; cursor: pointer; }
.cx-sup:hover { border-color: var(--navy); }
.cx-sup.is-on { border: 2px solid var(--blue); background: #EEF2FF; color: var(--navy); font-weight: 600; }
.cx-loads { display: flex; flex-direction: column; gap: 8px; }
.cx-load { display: grid; grid-template-columns: 62px minmax(0, 1fr) 36px; gap: 8px; align-items: center; border: 1px solid #E3E8F2; border-radius: 4px; padding: 8px 6px 8px 10px; }
.cx-load__t { font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 600; color: var(--blue); }
.cx-load--point .cx-load__t { color: var(--orange); } .cx-load--moment .cx-load__t { color: #7A3FF2; }
.cx-load__fs { display: flex; flex-wrap: wrap; gap: 6px; }
.cx-load__f { display: flex; align-items: center; gap: 4px; margin: 0; font-family: "IBM Plex Mono", monospace; font-size: 11px; color: #6A7490; }
.cx-work .cx-load__f input { width: 64px; height: 34px; padding: 0 6px; font-size: 13px; }
.cx-load__f em { font-style: normal; }
.cx-load__x, .cx-load__x:hover, .cx-x, .cx-x:hover { width: 36px; height: 36px; padding: 0; border: 0; background: transparent; color: #6A7490; font-size: 18px; line-height: 1; cursor: pointer; border-radius: 4px; }
.cx-load__x:hover, .cx-x:hover { background: #FDEEEE; color: #B42318; }
.cx-load__none { margin: 0; font-size: 13px; color: #6A7490; }
.cx-add { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cx-add button, .cx-add button:hover, .cx-dash, .cx-dash:hover { height: 44px; padding: 0 8px; border: 1px dashed #A9B2C1; background: #fff; border-radius: 4px; font: 500 13px/1 "IBM Plex Sans", sans-serif; letter-spacing: 0; color: var(--navy); cursor: pointer; }
.cx-add button:hover, .cx-dash:hover { border-color: var(--navy); background: #F8F9FC; }
.cx-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cx-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cx-pair[hidden], .cx-trio[hidden] { display: none; }

/* results */
.cx-out { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.cx-err { margin: 0; padding: 12px 16px; border: 1px solid #F4C7C3; background: #FDEEEE; border-radius: 6px; color: #B42318; font-size: 14px; }
.cx-err[hidden] { display: none; }
.has-error .cx-out figure, .has-error .cx-kpis, .has-error .cx-checks, .has-error .cx-sum { opacity: .45; }
.cx-fig, .cx-view { margin: 0; background: #fff; border: 1px solid #D5DCEA; border-radius: 6px; padding: 14px 16px 8px; }
.cx-fig figcaption, .cx-view figcaption { display: flex; justify-content: space-between; gap: 12px; font-family: "IBM Plex Mono", monospace; font-size: 12px; color: #4A5570; }
.cx-fig svg { display: block; width: 100%; height: auto; }
.cx-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cx-kpi { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: #fff; border: 1px solid #E3E8F2; border-radius: 6px; }
.cx-kpi span { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: #4A5570; }
.cx-kpi b { font-family: Archivo, sans-serif; font-weight: 700; font-size: 26px; color: var(--navy); white-space: nowrap; }
.cx-kpi small { font-size: 14px; font-weight: 600; }
.cx-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cx-check { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid #D5DCEA; border-radius: 6px; }
.cx-check > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cx-check span { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: #4A5570; }
.cx-check b { font-family: "IBM Plex Mono", monospace; font-weight: 400; font-size: 15px; color: var(--navy); }
.cx-u { flex-shrink: 0; font-family: "IBM Plex Mono", monospace; font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 4px; }
.cx-u.is-ok { color: #14532D; background: #DCFCE7; } .cx-u.is-warn { color: #92400E; background: #FEF3C7; } .cx-u.is-bad { color: #B42318; background: #FDEEEE; }

.cx-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cx-act, .cx-act:hover { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid var(--navy); background: #fff; color: var(--navy);
  border-radius: 4px; font: 600 14px/1 "IBM Plex Sans", sans-serif; letter-spacing: 0; cursor: pointer; }
.cx-act:hover { background: #F2F5FF; }
.cx-act--dark, .cx-act--dark:hover { background: var(--navy); color: #fff; }
.cx-act--dark:hover { background: #16254D; }
.cx-act--light, .cx-act--light:hover { border-color: #C9D1E3; font-weight: 400; }
.cx-act:disabled { opacity: .6; cursor: wait; }
.cx-actions__note { font-size: 13px; color: #4A5570; }
.cx-saved { padding: 14px 16px; background: #fff; border: 1px solid #E3E8F2; border-radius: 6px; }
.cx-saved[hidden] { display: none; }
.cx-saved__k { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: #6A7490; }
.cx-saved ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.cx-saved li { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: #6A7490; }
.cx-saved__item, .cx-saved__item:hover { padding: 0; border: 0; background: none; color: var(--blue); font: 500 14px/1.4 "IBM Plex Sans", sans-serif; letter-spacing: 0; text-align: left; cursor: pointer; }
.cx-saved__item:hover { text-decoration: underline; }

/* C-03 buckling */
.cx-ends { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.cx-end, .cx-end:hover { height: 88px; font-size: 10.5px; line-height: 1.15; text-align: center; }
.cx-opt-note { font-weight: 400; color: #6A7490; margin-left: 6px; }
.cx-axes { background: #fff; border: 1px solid #D5DCEA; border-radius: 6px; overflow: hidden; }
.cx-axes__row { display: grid; grid-template-columns: 90px repeat(5, minmax(0, 1fr)); align-items: center; border-top: 1px solid #E3E8F2; font-family: "IBM Plex Mono", monospace; font-size: 13px; color: var(--navy); }
.cx-axes__row > span { padding: 11px 14px; }
.cx-axes__row--head { border-top: 0; background: #F4F6FA; font-size: 11px; color: #4A5570; }
.cx-axes__row.is-gov { background: #EEF2FF; font-weight: 600; }
.cx-axes__row.is-gov > span:first-child::after { content: " ◂ governs"; font-weight: 400; font-size: 10.5px; color: var(--blue); }
.cx-notes { list-style: none; margin: 0; padding: 14px 18px; border: 1px solid #F6D2BF; background: #FFF6F1; border-radius: 6px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.5; color: var(--navy); }
.cx-notes[hidden] { display: none; }
.cx-notes li { display: grid; grid-template-columns: 22px 1fr; }
.cx-notes li::before { content: "!"; font-family: "IBM Plex Mono", monospace; font-weight: 700; color: var(--orange); }

/* C-04 section */
.cx-modes { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #C9D1E3; border-radius: 4px; overflow: hidden; }
.cx-mode, .cx-mode:hover { height: 42px; padding: 0; border: 0; border-radius: 0; background: #fff; color: #3A4460; font: 600 13px/1 "IBM Plex Sans", sans-serif; letter-spacing: 0; cursor: pointer; }
.cx-mode.is-on { background: var(--navy); color: #fff; }
[data-pane] { display: flex; flex-direction: column; gap: 22px; }
[data-pane][hidden] { display: none; }
.cx-shapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.cx-shape, .cx-shape:hover { height: 64px; font-size: 11px; }
.cx-dims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cx-dims [hidden] { display: none; }
.cx-parts { display: flex; flex-direction: column; gap: 8px; }
.cx-part { display: grid; grid-template-columns: 58px minmax(0, 1fr) 32px; gap: 6px; align-items: center; border: 1px solid #E3E8F2; border-radius: 4px; padding: 8px 6px 8px 10px; }
.cx-part.is-hole { background: #FFF6F1; border-style: dashed; }
.cx-part .cx-load__t { color: var(--navy); }
.cx-part.is-hole .cx-load__t { color: var(--orange); }
.cx-add--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cx-props { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cx-pgroup { background: #fff; border: 1px solid #D5DCEA; border-radius: 6px; overflow: hidden; }
.cx-pgroup__k { padding: 10px 14px; background: #F4F6FA; font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .06em; color: #4A5570; }
.cx-pgroup dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.cx-pgroup dt, .cx-pgroup dd { margin: 0; padding: 8px 14px; border-top: 1px solid #EEF1F6; font-size: 13.5px; }
.cx-pgroup dt { color: #4A5570; } .cx-pgroup dt i { font-style: normal; font-family: "IBM Plex Mono", monospace; color: var(--navy); margin-right: 6px; }
.cx-pgroup dd { text-align: right; font-family: "IBM Plex Mono", monospace; color: var(--navy); white-space: nowrap; }
.cx-pgroup dd small { color: #6A7490; margin-left: 4px; }
.cx-notes--info { border-color: #D5DCEA; background: #F8F9FC; }
.cx-notes--info li::before { content: "i"; color: var(--blue); }

/* C-05 frame */
.cx-in--wide { width: 470px; }
.cx-tbl { display: grid; gap: 5px; align-items: center; }
.cx-tbl--nodes { grid-template-columns: 30px minmax(0, 1fr) minmax(0, 1fr) 118px 30px; }
.cx-tbl--members { grid-template-columns: 30px 52px 52px minmax(0, 1fr) 62px 30px; }
.cx-tbl__head { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; color: #6A7490; }
.cx-tbl + div > .cx-tbl, [data-nodes] > .cx-tbl, [data-members] > .cx-tbl { margin-top: 5px; }
.cx-tbl > b { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--navy); }
.cx-work .cx-tbl input, .cx-work .cx-tbl select { height: 34px; padding: 0 6px; font-size: 13px; }
.cx-work .cx-tbl select { padding: 0 2px; }
.cx-hinges { display: flex; gap: 4px; }
.cx-hinge, .cx-hinge:hover { width: 29px; height: 34px; padding: 0; border: 1px solid #C9D1E3; border-radius: 4px; background: #fff; color: #6A7490; font: 11px/1 "IBM Plex Mono", monospace; letter-spacing: 0; cursor: pointer; }
.cx-hinge.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.cx-add--1 { grid-template-columns: 1fr; }
.cx-lrow { display: grid; grid-template-columns: 58px minmax(0, 1fr) 30px; gap: 6px; align-items: center; border: 1px solid #E3E8F2; border-radius: 4px; padding: 6px 4px 6px 8px; margin-top: 6px; }
.cx-lrow .cx-load__t { font-size: 11px; }
.cx-work .cx-lrow input { width: 58px; height: 32px; padding: 0 5px; font-size: 12.5px; }
.cx-work .cx-lrow select { width: auto; height: 32px; padding: 0 2px; font-size: 12px; }
.cx-views { display: flex; gap: 4px; }
.cx-view-b, .cx-view-b:hover { height: 28px; padding: 0 10px; border: 1px solid #C9D1E3; border-radius: 3px; background: #fff; color: var(--navy); font: 11px/1 "IBM Plex Mono", monospace; letter-spacing: .04em; cursor: pointer; }
.cx-view-b.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.cx-rtable { background: #fff; border: 1px solid #D5DCEA; border-radius: 6px; overflow-x: auto; }
.cx-rtable table { width: 100%; border-collapse: collapse; font-family: "IBM Plex Mono", monospace; font-size: 12.5px; }
.cx-rtable caption { text-align: left; padding: 10px 14px; background: #F4F6FA; font-size: 11px; letter-spacing: .06em; color: #4A5570; }
.cx-rtable th, .cx-rtable td { padding: 7px 10px; border-top: 1px solid #EEF1F6; text-align: right; white-space: nowrap; color: var(--navy); }
.cx-rtable th { font-weight: 400; color: #6A7490; font-size: 11px; }
.cx-rtable th:first-child, .cx-rtable td:first-child { text-align: left; }

/* C-10 wind */
.cx-quad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cx-cpe { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.cx-cpe:empty { display: none; }
.cx-cpe label { display: flex; flex-direction: column; gap: 4px; margin: 0; font-family: "IBM Plex Mono", monospace; font-size: 11px; color: #6A7490; text-align: center; }
.cx-work .cx-cpe input { height: 36px; text-align: center; padding: 0 4px; }
.cx-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cx-charts .cx-fig { padding: 14px 12px 6px; }

/* CoG */
.cx-grid--cog { gap: 24px; }
.cx-cog-in { width: 520px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.cx-card2 { background: #fff; border: 1px solid #D5DCEA; border-radius: 6px; overflow: hidden; }
.cx-card2__head { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--navy); font-family: "IBM Plex Mono", monospace; font-size: 12px; color: #A9B4CF; }
.cx-card2__body { padding: 14px 16px; }
.cx-card2__foot { padding: 8px 16px 14px; }
.cx-dash { width: 100%; font-weight: 600; font-size: 14px; }
.cx-mt { display: grid; grid-template-columns: minmax(0, 1fr) 78px 58px 58px 58px 32px; gap: 5px; padding: 4px 16px; align-items: center; }
.cx-mt--head, .cx-st--head { padding-top: 10px; font-family: "IBM Plex Mono", monospace; font-size: 10.5px; color: #6A7490; }
.cx-work .cx-mt input { height: 38px; padding: 0 7px; font-size: 13.5px; }
.cx-work .cx-mt input.cx-mt__n { font-family: "IBM Plex Sans", sans-serif; }
.cx-x, .cx-x:hover { width: 32px; height: 38px; border: 1px solid #E3E8F2; color: #B42318; }
.cx-count { display: flex; gap: 8px; align-items: center; padding: 12px 16px 6px; }
.cx-count .cx-lbl { width: 92px; }
.cx-count__b, .cx-count__b:hover { width: 44px; height: 40px; padding: 0; border: 1px solid #C9D1E3; background: #fff; color: var(--navy); border-radius: 4px; font: 14px/1 "IBM Plex Mono", monospace; cursor: pointer; }
.cx-count__b:hover { border-color: var(--navy); }
.cx-count__b.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.cx-st { display: grid; grid-template-columns: 50px minmax(0, 1fr) minmax(0, 1fr) 110px; gap: 6px; padding: 4px 16px; align-items: center; }
.cx-st > b { font-family: "IBM Plex Mono", monospace; font-size: 13px; color: var(--navy); }
.cx-work .cx-st input { height: 38px; font-size: 13.5px; }
.cx-st__r { text-align: right; font-family: "IBM Plex Mono", monospace; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.cx-st__r.is-neg { color: #B42318; }
.cx-st--head > span:last-child { text-align: right; }
.cx-opt { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding-top: 12px; }
.cx-opt .cx-ghost { height: 48px; }
.cx-out--cog { gap: 16px; }
.cx-view { padding: 0; overflow: hidden; }
.cx-view figcaption { padding: 10px 14px; border-bottom: 1px solid #E3E8F2; font-size: 11.5px; }
.cx-view svg { display: block; width: 100%; height: auto; }
.cx-views2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cx-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid #D5DCEA; border-radius: 6px; overflow: hidden; }
.cx-sum > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-right: 1px solid #E3E8F2; }
.cx-sum > div:last-child { border-right: 0; }
.cx-sum b { font-family: "IBM Plex Mono", monospace; font-size: 18px; font-weight: 600; color: var(--navy); }
.cx-sum b.is-cog { font-size: 15px; color: #FF6A2B; }
.cx-status { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border: 1px solid #C9D6FF; background: #EEF2FF; border-radius: 6px; }
.cx-status b { flex-shrink: 0; padding-top: 2px; font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--blue); }
.cx-status span { font-size: 14px; line-height: 1.55; color: var(--navy); }
.cx-status.is-eq { border-color: #BFE3CB; background: #EEF8F1; } .cx-status.is-eq b { color: #2E7D45; }
.cx-status.is-bad { border-color: #F4C7C3; background: #FDEEEE; } .cx-status.is-bad b { color: #B42318; }

/* how it's calculated */
.cx-how { display: flex; gap: 56px; padding: 64px var(--pad) 0 !important; align-items: flex-start; }
.cx-how__main { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.cx-how__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.cx-how__head > div { display: flex; flex-direction: column; gap: 10px; }
.cx-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid #D5DCEA; }
.cx-steps[hidden] { display: none; }
.cx-steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid #E3E8F2; }
.cx-steps__n { font-family: "IBM Plex Mono", monospace; font-size: 13px; font-weight: 600; color: #FF6A2B; }
.cx-steps li > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cx-steps b { font-family: Archivo, sans-serif; font-weight: 700; font-size: 17px; color: var(--navy); }
.cx-steps code { display: block; padding: 10px 12px; background: #F4F6FA; border: 1px solid #E3E8F2; border-radius: 4px; font-family: "IBM Plex Mono", monospace; font-size: 13.5px; line-height: 1.6;
  color: var(--navy); white-space: pre-wrap; overflow-wrap: anywhere; }
.cx-steps li span:last-child:not(.cx-steps__n) { font-size: 13.5px; line-height: 1.55; color: #4A5570; }
.cx-ref { margin: 0; font-size: 13px; color: #4A5570; }
.cx-how__side { width: 380px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.cx-box { padding: 18px 20px; border: 1px solid #D5DCEA; border-radius: 6px; font-size: 13.5px; line-height: 1.55; color: #4A5570; }
.cx-box__k { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .06em; color: var(--navy); }
.cx-box--warn { border-color: #F6D2BF; background: #FFF6F1; font-size: 12.5px; }
.cx-box--warn .cx-box__k { color: var(--orange); }
.cx-assume { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cx-assume li { display: grid; grid-template-columns: 16px 1fr; }
.cx-assume li::before { content: "·"; font-family: "IBM Plex Mono", monospace; color: var(--blue); font-weight: 700; }

.cx-cta-wrap { padding: 64px var(--pad) 0 !important; }
.cx-cta { display: flex; justify-content: space-between; align-items: center; gap: 48px; padding: 44px 48px; border-radius: 8px; }
.cx-cta > div { display: flex; flex-direction: column; gap: 12px; max-width: 700px; }
.cx-cta h2 { margin: 0; font-family: Archivo, sans-serif; font-weight: 700; font-size: 32px; line-height: 1.15; color: #fff; }
.cx-cta__btn { flex-shrink: 0; background: var(--blue); color: #fff; font-weight: 600; font-size: 15px; padding: 16px 24px; border-radius: 4px; white-space: nowrap; }
.cx-cta__btn:hover { background: #fff; color: var(--navy); }
.cx-more { padding: 64px var(--pad) 80px !important; display: flex; flex-direction: column; gap: 20px; }
.cx-more__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cx-more__card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid #D5DCEA; border-radius: 6px; color: #0E1526; }
.cx-more__card span { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: #6A7490; }
.cx-more__card span.is-live { color: #2E7D45; }
.cx-more__card b { font-family: Archivo, sans-serif; font-weight: 700; font-size: 17px; color: var(--navy); }
.cx-more__card.is-here { border: 2px solid var(--blue); }
.cx-more__card.is-here span { color: var(--blue); }
a.cx-more__card:not(.is-here):hover { border-color: var(--navy); }

/* access chips + lock cards */
.cx-acc { font-style: normal; font-family: "IBM Plex Mono", monospace; font-size: 10px; font-weight: 500; letter-spacing: .06em; padding: 2px 6px; border-radius: 3px; color: #0A1633; background: #E3E8F2; vertical-align: 2px; }
.cx-acc--pro { color: #fff; background: #C2410C; }
.cx-badge--account { color: var(--navy); background: #E6ECFF; }
.cx-badge--pro { color: #fff; background: #C2410C; }
.cx-gate { display: flex; align-items: center; gap: 20px; padding: 26px 28px; background: #fff; border: 1px solid var(--navy); border-radius: 6px; }
.cx-gate--pro { border-color: #C2410C; box-shadow: 0 12px 28px rgba(194,65,12,.10); }
.cx-gate__icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--navy); color: #fff; }
.cx-gate--pro .cx-gate__icon { background: #C2410C; }
.cx-gate__text { flex: 1 1 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cx-gate__k { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .1em; color: #6A7490; }
.cx-gate--pro .cx-gate__k { color: #C2410C; }
.cx-gate__text b { font-family: Archivo, sans-serif; font-size: 20px; color: var(--navy); }
.cx-gate__text > span:last-child { font-size: 14px; color: #4A5570; }
.cx-gate__acts { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cx-gate__btn { display: inline-block; padding: 13px 20px; border-radius: 4px; background: var(--blue); color: #fff; font-weight: 600; font-size: 14px; white-space: nowrap; }
.cx-gate--pro .cx-gate__btn { background: #C2410C; }
.cx-gate__btn:hover { background: var(--navy); color: #fff; }
.cx-gate__link { font-size: 13px; color: var(--blue); }
.cx-locked { position: relative; }
.cx-steps--ghost { filter: blur(3px); opacity: .55; pointer-events: none; user-select: none; }
.cx-locked .cx-gate { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(640px, 92%); }

/* ================================================================= responsive */
@media (max-width: 1180px) {
  .cx-grid, .cx-grid--cog { flex-direction: column; }
  .cx-in, .cx-cog-in, .cx-in--wide { width: 100%; }
  .cx-out { width: 100%; }
  /* Şekil kutusunun örtük `min-width: auto`'su, içindeki figcaption'ın
     min-content genişliğini tabana çeviriyordu; 320px'te sayfa bu yüzden
     yatay kaydırılıyordu. Tablolar zaten .cx-rtable içinde kendi kendine
     kayıyor, sorun tabloda değil şekil kutusundaydı. */
  .cx-fig, .cx-view { min-width: 0; }
  .cx-fig figcaption, .cx-view figcaption { flex-wrap: wrap; }
  .cx-row { grid-template-columns: 64px 52px minmax(0, 1fr) 200px 110px; }
  .cx-row > span:nth-child(5) { display: none; }
  .cx-row--head > span:nth-child(5) { display: none; }
}
@media (max-width: 1000px) {
  .cx-hero, .cx-trust, .cx-how { flex-direction: column; }
  .cx-tiers, .cx-req, .cx-how__side { width: 100%; }
  .cx-phero { flex-direction: column; align-items: flex-start; }
  .cx-phero__badges { justify-content: flex-start; }
  .cx-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .cx-gate { flex-direction: column; align-items: flex-start; }
  .cx-gate__acts { align-items: flex-start; }
  .cx-hero h1 { font-size: 38px; } .cx-phero h1 { font-size: 34px; }
  .cx-hero, .cx-phero { padding-top: 40px !important; padding-bottom: 40px !important; }
  .cx-featured, .cx-tools, .cx-trust { padding-top: 56px !important; padding-bottom: 56px !important; }
  .cx-row { grid-template-columns: 52px minmax(0, 1fr) 90px; }
  .cx-row > .cx-row__badge, .cx-row > .cx-row__ref, .cx-row--head > span:nth-child(2), .cx-row--head > span:nth-child(4) { display: none; }
  .cx-row > span { padding: 10px 10px; }
  .cx-trust__grid { grid-template-columns: 1fr; }
  .cx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-kpi b { font-size: 21px; }
  .cx-checks, .cx-views2, .cx-charts { grid-template-columns: 1fr; }
  .cx-quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-ends { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cx-props { grid-template-columns: 1fr; }
  .cx-axes__row { grid-template-columns: 56px repeat(3, minmax(0, 1fr)); }
  .cx-axes__row > span:nth-child(2), .cx-axes__row > span:nth-child(4) { display: none; }
  .cx-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-sum > div:nth-child(2) { border-right: 0; } .cx-sum > div:nth-child(-n+2) { border-bottom: 1px solid #E3E8F2; }
  .cx-mt { grid-template-columns: minmax(0, 1fr) 64px 48px 48px 48px 30px; gap: 3px; padding: 4px 8px; }
  .cx-work .cx-mt input { padding: 0 4px; font-size: 12.5px; }
  .cx-st { grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1fr) 84px; padding: 4px 8px; }
  .cx-cta { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .cx-cta h2 { font-size: 24px; }
  .cx-more__grid { grid-template-columns: 1fr; }
  .cx-how__head { flex-direction: column; align-items: flex-start; }
}

/* ================================================================= print (PDF report) */
@media print {
  .site-header, .site-footer, .crumb, .cx-in, .cx-cog-in, .cx-actions, .cx-saved, .cx-cta-wrap, .cx-more, [data-collapse], .cookie-banner, .cx-err { display: none !important; }
  .cx-phero { padding: 0 0 8px; background: none !important; color: #000; }
  .cx-phero h1 { color: #000; font-size: 24px; } .cx-phero .cx-hero__intro, .hero__grid, .hero__bg, .hero__scrim { display: none; }
  .cx-phero .cx-eyebrow { color: #555; }
  .cx-work, .cx-how { padding: 0 !important; background: none !important; }
  .cx-print-head { display: flex; justify-content: space-between; gap: 12px; font-family: "IBM Plex Mono", monospace; font-size: 10px; border-bottom: 1px solid #000; padding-bottom: 6px; margin-bottom: 10px; }
  .cx-how { flex-direction: column; gap: 12px; margin-top: 12px; }
  .cx-how__side { width: 100%; }
  .cx-fig, .cx-view, .cx-steps li, .cx-check, .cx-kpi { break-inside: avoid; }
  .cx-steps[hidden] { display: block !important; }
}
