/* Aegis free tools — shared styles. Built on the marketing-site design tokens
   (near-black ground, warm paper, indigo signal, Archivo/Inter). Dark single-theme,
   matching the rest of the site. Reading text always sits on a solid surface. */
:root {
  --ink: #0B0C10;
  --paper: #F5F3EF;
  --signal: #5B5FEF;
  --signal-ink: #FFFFFF;
  --steel: #8A8F98;
  --hairline: rgba(255, 255, 255, 0.12);
  --card-bg: #15171C;
  --card-2: #1B1E24;
  --ok: #3FB98B;
  --warn: #E4A93C;
  --bad: #E9614B;
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'Chivo Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --container: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ink); color: #fff; font-family: var(--font-body); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--signal); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

/* ---------- nav (matches site) ---------- */
header.nav { border-bottom: 1px solid var(--hairline); position: sticky; top: 0; background: rgba(11,12,16,0.92); backdrop-filter: blur(8px); z-index: 10; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: var(--container); margin: 0 auto; }
.wordmark .logo-img { height: 64px; width: auto; display: block; }
nav.links { display: flex; gap: 30px; font-size: 0.92rem; color: #d8d9dc; }
nav.links a { color: #d8d9dc; } nav.links a:hover { color: #fff; text-decoration: none; }
.nav-cta { background: var(--signal); color: var(--signal-ink); font-weight: 700; font-size: 0.88rem; padding: 10px 20px; border-radius: 4px; transition: opacity 180ms ease; }
.nav-cta:hover { opacity: 0.88; text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; margin-left: auto; }
.nav-toggle svg { display: block; width: 26px; height: 26px; }
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  nav.links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #0e1016; border-bottom: 1px solid var(--hairline); padding: 6px 0; z-index: 20; }
  nav.links.open { display: flex; }
  nav.links a { padding: 14px 24px; font-size: 1rem; }
  header.nav .nav-inner { position: relative; }
}

/* ---------- breadcrumb ---------- */
.crumb { max-width: var(--container); margin: 0 auto; padding: 16px 24px 0; font-size: 0.82rem; color: var(--steel); }
.crumb a { color: var(--steel); } .crumb a:hover { color: #fff; }
.crumb span { margin: 0 7px; opacity: 0.6; }

/* ---------- hero ---------- */
.tool-hero { max-width: var(--container); margin: 0 auto; padding: 34px 24px 8px; }
.eyebrow { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--signal); }
.tool-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.06; letter-spacing: -0.02em; margin: 12px 0 14px; text-wrap: balance; }
.tool-hero .lede { font-size: 1.12rem; color: #cdd0d6; max-width: 62ch; }

/* ---------- the calculator card ---------- */
.calc { background: var(--card-bg); border: 1px solid var(--hairline); border-radius: 14px; margin: 26px auto 0; max-width: var(--container); overflow: hidden; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; }
.calc-inputs { padding: 26px 28px; border-right: 1px solid var(--hairline); }
.calc-outputs { padding: 26px 28px; background: var(--card-2); }
.calc h2 { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); font-weight: 700; margin-bottom: 16px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 0.9rem; color: #cdd0d6; margin-bottom: 6px; }
.field label .hint { color: var(--steel); font-size: 0.8rem; }
.field .in { display: flex; align-items: center; gap: 8px; background: var(--ink); border: 1px solid var(--hairline); border-radius: 8px; padding: 0 12px; }
.field .in:focus-within { border-color: var(--signal); }
.field .in .pre { color: var(--steel); font-family: var(--font-mono); font-size: 0.95rem; }
.field input { flex: 1; background: none; border: 0; color: #fff; font-family: var(--font-mono); font-size: 1.05rem; padding: 11px 0; width: 100%; outline: none; }
.field input::placeholder { color: #4a4e57; }

.out-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hairline); }
.out-row:first-of-type { border-top: 0; }
.out-row .k { font-size: 0.92rem; color: #cdd0d6; } .out-row .k small { color: var(--steel); display: block; font-size: 0.76rem; }
.out-row .v { font-family: var(--font-mono); font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.out-row.hero-metric .v { font-size: 2.1rem; }
.v.good { color: var(--ok); } .v.warn { color: var(--warn); } .v.bad { color: var(--bad); } .v.mut { color: var(--steel); }
.interpret { margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--signal); background: rgba(91,95,239,0.08); border-radius: 0 8px 8px 0; font-size: 0.95rem; color: #e7e8ec; }
.interpret.good { border-left-color: var(--ok); background: rgba(63,185,139,0.09); }
.interpret.bad { border-left-color: var(--bad); background: rgba(233,97,75,0.09); }
.interpret.warn { border-left-color: var(--warn); background: rgba(228,169,60,0.09); }

/* ---------- content (reading text — solid surface, never the raw ground) ---------- */
.tool-body { max-width: 760px; margin: 0 auto; padding: 8px 24px 40px; }
.tool-body section { padding: 30px 0; border-top: 1px solid var(--hairline); }
.tool-body h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; letter-spacing: -0.01em; margin-bottom: 12px; }
.tool-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; margin: 22px 0 6px; }
.tool-body p { color: #d3d5da; margin-bottom: 12px; }
.tool-body p, .tool-body li { max-width: 68ch; }
.tool-body ul { margin: 0 0 12px 20px; color: #d3d5da; }
.tool-body li { margin-bottom: 6px; }
.formula { font-family: var(--font-mono); background: var(--card-bg); border: 1px solid var(--hairline); border-radius: 8px; padding: 14px 16px; color: #fff; margin: 6px 0 14px; font-size: 1rem; overflow-x: auto; }
.formula .op { color: var(--signal); }
.bandtable { width: 100%; border-collapse: collapse; margin: 8px 0 14px; font-size: 0.94rem; }
.bandtable th { text-align: left; color: var(--steel); font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--hairline); }
.bandtable td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--hairline); color: #d3d5da; vertical-align: top; }
.bandtable td.mono { font-family: var(--font-mono); color: #fff; white-space: nowrap; }

.faq details { border-top: 1px solid var(--hairline); padding: 14px 0; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 1.02rem; color: #fff; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--signal); font-family: var(--font-mono); }
.faq details[open] summary::after { content: '\2212'; }
.faq p { color: var(--steel); margin: 10px 0 0; }

/* related tools + CTA */
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 8px; }
.related a { display: block; background: var(--card-bg); border: 1px solid var(--hairline); border-radius: 10px; padding: 14px 16px; color: #fff; }
.related a:hover { border-color: var(--signal); text-decoration: none; }
.related a b { display: block; font-family: var(--font-display); font-size: 1rem; }
.related a span { color: var(--steel); font-size: 0.85rem; }

.endcta { max-width: var(--container); margin: 8px auto 64px; padding: 0 24px; }
.endcta-in { background: linear-gradient(180deg, var(--card-2), var(--card-bg)); border: 1px solid var(--hairline); border-radius: 14px; padding: 38px; text-align: center; }
.endcta h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; margin-bottom: 8px; }
.endcta p { color: #cdd0d6; max-width: 54ch; margin: 0 auto 20px; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--signal); color: var(--signal-ink); font-weight: 700; font-size: 0.98rem; padding: 13px 24px; border-radius: 6px; }
.btn:hover { opacity: 0.9; text-decoration: none; }
.btn.ghost { background: none; color: #fff; border: 1px solid var(--hairline); }

/* footer (matches site) */
footer { border-top: 1px solid var(--hairline); }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 30px 24px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--steel); font-size: 0.85rem; }
.footer-inner .logo-img { height: 52px; width: auto; }
.footer-links { display: flex; gap: 18px; }
.footer-inner a { color: var(--steel); } .footer-inner a:hover { color: #fff; }
.footer-inner .spacer { flex: 1; }

/* ---------- shared bits for the file-driven and builder tools ---------- */
.wide { max-width: var(--container); margin: 26px auto 0; padding: 0 24px; }
.pill { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; border: 1px solid currentColor; white-space: nowrap; }
.pill.good { color: var(--ok); } .pill.bad { color: var(--bad); } .pill.warn { color: var(--warn); } .pill.mut { color: var(--steel); }
.note { color: var(--steel); font-size: 0.86rem; margin-top: 14px; max-width: 70ch; }
.err { background: rgba(233,97,75,0.1); border: 1px solid var(--bad); color: #ffd8d1; border-radius: 10px; padding: 14px 16px; margin-top: 18px; }
button { font-family: inherit; cursor: pointer; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn.sm { font-size: 0.85rem; padding: 9px 16px; }
.privacy-line { display: flex; align-items: center; gap: 8px; color: var(--steel); font-size: 0.85rem; margin-top: 14px; }
.privacy-line b { color: #cdd0d6; font-weight: 600; }

/* ---------- drop zone (DCMA) ---------- */
.drop { border: 1.5px dashed rgba(255,255,255,0.22); border-radius: 14px; background: var(--card-bg); padding: 44px 28px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--signal); background: var(--card-2); }
.drop.busy { opacity: 0.6; pointer-events: none; }
.drop h2 { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 6px; }
.drop p { color: var(--steel); max-width: 52ch; margin: 0 auto 4px; font-size: 0.95rem; }
.drop .or { color: var(--steel); font-size: 0.85rem; margin: 16px 0 10px; }
.drop-opts { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; color: var(--steel); font-size: 0.85rem; }
.drop-opts select { background: var(--ink); color: #fff; border: 1px solid var(--hairline); border-radius: 6px; padding: 7px 10px; font-family: var(--font-mono); font-size: 0.85rem; }

/* ---------- DCMA results ---------- */
.dcma-head { display: grid; grid-template-columns: 260px 1fr; gap: 20px; background: var(--card-bg); border: 1px solid var(--hairline); border-radius: 14px; padding: 24px 26px; }
.dcma-score { border-right: 1px solid var(--hairline); padding-right: 20px; }
.dcma-score-v { font-family: var(--font-mono); font-size: 3.4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.dcma-score-v.good { color: var(--ok); } .dcma-score-v.warn { color: var(--warn); } .dcma-score-v.bad { color: var(--bad); }
.dcma-score-k { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.74rem; color: var(--steel); margin-top: 8px; }
.dcma-score-na { color: var(--steel); font-size: 0.85rem; margin-top: 12px; }
.dcma-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 4px 18px; align-content: start; }
.dcma-meta-row { display: flex; flex-direction: column; padding: 6px 0; }
.dcma-meta-row .k { color: var(--steel); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
.dcma-meta-row .v { font-family: var(--font-mono); font-size: 0.95rem; color: #fff; overflow-wrap: anywhere; }
.dcma-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

.checks { margin-top: 18px; border: 1px solid var(--hairline); border-radius: 14px; overflow: hidden; background: var(--card-bg); }
.check { border-top: 1px solid var(--hairline); }
.check:first-child { border-top: 0; }
.check > summary { display: grid; grid-template-columns: 34px 1fr 88px 92px 118px; gap: 12px; align-items: center; padding: 13px 18px; cursor: pointer; list-style: none; }
.check > summary::-webkit-details-marker { display: none; }
.check > summary:hover { background: var(--card-2); }
.ck-n { font-family: var(--font-mono); color: var(--steel); font-size: 0.85rem; }
.ck-name { font-weight: 600; font-size: 0.98rem; }
.ck-metric { font-size: 1rem; text-align: right; }
.ck-thr { color: var(--steel); font-size: 0.82rem; text-align: right; }
.check.pass .ck-metric { color: var(--ok); } .check.fail .ck-metric { color: var(--bad); } .check.na .ck-metric { color: var(--steel); }
.check > summary .pill { justify-self: end; }
.ck-body { padding: 2px 18px 18px 64px; }
.ck-body p { color: #d3d5da; font-size: 0.93rem; max-width: 78ch; }
.ck-oh { color: var(--steel); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 14px 0 6px; }
.ck-list { list-style: none; max-height: 260px; overflow: auto; border: 1px solid var(--hairline); border-radius: 8px; }
.ck-list li { font-family: var(--font-mono); font-size: 0.83rem; color: #cdd0d6; padding: 7px 12px; border-bottom: 1px solid var(--hairline); }
.ck-list li:last-child { border-bottom: 0; }

/* ---------- editable grid (RAID, critical path) ---------- */
.grid-wrap { border: 1px solid var(--hairline); border-radius: 12px; overflow-x: auto; background: var(--card-bg); }
table.grid { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 640px; }
table.grid th { text-align: left; color: var(--steel); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--hairline); background: var(--card-2); white-space: nowrap; }
table.grid td { border-bottom: 1px solid var(--hairline); padding: 0; vertical-align: middle; }
table.grid tr:last-child td { border-bottom: 0; }
table.grid input, table.grid select, table.grid textarea { width: 100%; background: none; border: 0; color: #fff; font-family: var(--font-body); font-size: 0.9rem; padding: 10px 12px; outline: none; resize: none; }
table.grid input:focus, table.grid select:focus, table.grid textarea:focus { background: rgba(91,95,239,0.12); }
table.grid select { font-family: var(--font-mono); font-size: 0.84rem; }
table.grid select option { background: var(--ink); color: #fff; }
table.grid td.num input, table.grid td.mono input { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
table.grid td.out { font-family: var(--font-mono); font-variant-numeric: tabular-nums; padding: 10px 12px; color: #fff; white-space: nowrap; }
table.grid td.out.crit { color: var(--bad); font-weight: 500; }
table.grid tr.is-critical td { background: rgba(233,97,75,0.07); }
.row-del { background: none; border: 0; color: var(--steel); font-size: 1.1rem; line-height: 1; padding: 8px 12px; }
.row-del:hover { color: var(--bad); }

/* ---------- critical path chart ---------- */
.cpm-chart { border: 1px solid var(--hairline); border-radius: 12px; background: var(--card-bg); padding: 18px; overflow-x: auto; margin-top: 18px; }
.cpm-row { display: grid; grid-template-columns: 190px 1fr; gap: 12px; align-items: center; margin-bottom: 6px; min-width: 560px; }
.cpm-lbl { font-size: 0.86rem; color: #cdd0d6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cpm-lbl b { font-family: var(--font-mono); color: #fff; font-size: 0.82rem; margin-right: 6px; }
.cpm-track { position: relative; height: 22px; background: rgba(255,255,255,0.04); border-radius: 4px; }
.cpm-bar { position: absolute; top: 3px; height: 16px; border-radius: 3px; background: var(--signal); }
.cpm-bar.crit { background: var(--bad); }
.cpm-float { position: absolute; top: 9px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.16); }
.cpm-axis { display: grid; grid-template-columns: 190px 1fr; gap: 12px; color: var(--steel); font-family: var(--font-mono); font-size: 0.72rem; margin-top: 8px; min-width: 560px; }
.cpm-axis .ticks { display: flex; justify-content: space-between; }

/* ---------- RAID tabs ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--hairline); padding-bottom: 0; }
.tabbtn { background: none; border: 1px solid transparent; border-bottom: 0; color: var(--steel); font-size: 0.95rem; font-weight: 600; padding: 11px 18px; border-radius: 8px 8px 0 0; display: flex; align-items: center; gap: 8px; margin-bottom: -1px; }
.tabbtn:hover { color: #fff; }
.tabbtn.on { color: #fff; background: var(--card-bg); border-color: var(--hairline); border-bottom: 1px solid var(--card-bg); }
.tabbtn .cnt { font-family: var(--font-mono); font-size: 0.72rem; color: var(--steel); background: rgba(255,255,255,0.07); border-radius: 20px; padding: 2px 8px; }
.tabbtn.on .cnt { color: var(--signal); background: rgba(91,95,239,0.16); }
.tabpanel { background: var(--card-bg); border: 1px solid var(--hairline); border-top: 0; border-radius: 0 0 12px 12px; padding: 18px; }
.tabpanel .blurb { color: var(--steel); font-size: 0.9rem; max-width: 78ch; margin-bottom: 14px; }
.tabpanel .grid-wrap { border-radius: 10px; }

/* ---------- risk matrix ---------- */
.rm-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
/* Grid items default to min-width:auto, so the 5×5 grid's min-content width would push the whole
   page sideways on a phone rather than shrinking. min-width:0 lets it shrink; the overflow-x is the
   backstop once the cells hit their own minimum. */
.rm-wrap > * { min-width: 0; }
.matrix { border: 1px solid var(--hairline); border-radius: 12px; background: var(--card-bg); padding: 18px; overflow-x: auto; }
.matrix-grid { display: grid; grid-template-columns: 26px 108px repeat(5, 1fr); grid-template-rows: auto repeat(5, minmax(64px, auto)) auto; gap: 4px; }
.m-cell { border-radius: 6px; padding: 5px; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 4px; cursor: pointer; border: 1px solid transparent; }
.m-cell:hover { border-color: #fff; }
.m-cell.sel { border-color: #fff; }
.m-head { color: var(--steel); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4px; }
.m-head.row { justify-content: flex-end; text-align: right; font-size: 0.72rem; color: #cdd0d6; }
.m-axis { color: var(--steel); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; display: flex; align-items: center; justify-content: center; }
.m-axis.v { writing-mode: vertical-rl; transform: rotate(180deg); grid-row: 2 / span 5; }
.m-dot { width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,0.55); color: #fff; font-family: var(--font-mono); font-size: 0.7rem; display: flex; align-items: center; justify-content: center; }
.lvl-low { background: rgba(63,185,139,0.30); } .lvl-mod { background: rgba(228,169,60,0.26); }
.lvl-high { background: rgba(233,97,75,0.30); } .lvl-ext { background: rgba(233,97,75,0.62); }
.rm-side { background: var(--card-bg); border: 1px solid var(--hairline); border-radius: 12px; padding: 18px; }
.rm-side h3 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 10px; }
.rm-side label { display: block; font-size: 0.8rem; color: var(--steel); margin: 10px 0 4px; }
.rm-side input, .rm-side select, .rm-side textarea { width: 100%; background: var(--ink); border: 1px solid var(--hairline); border-radius: 6px; color: #fff; font-family: var(--font-body); font-size: 0.9rem; padding: 9px 10px; outline: none; }
.rm-side input:focus, .rm-side select:focus, .rm-side textarea:focus { border-color: var(--signal); }
.rm-side select option { background: var(--ink); }
.rm-legend { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; color: var(--steel); font-size: 0.78rem; }
.rm-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.risk-rows td.sev { font-family: var(--font-mono); font-size: 0.82rem; }

@media (max-width: 900px) {
  .rm-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .calc-grid { grid-template-columns: 1fr; }
  .calc-inputs { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .dcma-head { grid-template-columns: 1fr; }
  .dcma-score { border-right: 0; border-bottom: 1px solid var(--hairline); padding-bottom: 16px; padding-right: 0; }
  .check > summary { grid-template-columns: 26px 1fr auto; row-gap: 6px; }
  .ck-thr { display: none; }
  .check > summary .pill { grid-column: 3; }
  .ck-metric { grid-column: 2; text-align: left; }
  .ck-body { padding-left: 18px; }
  /* A four-column band table cannot fit 375px at body size. Shrink it first, and let it scroll
     inside its own box rather than pushing the page sideways. */
  .bandtable { display: block; overflow-x: auto; font-size: 0.86rem; }
  .bandtable th, .bandtable td { padding-right: 8px; }
  .matrix { padding: 12px; }
  .matrix-grid { grid-template-columns: 18px 58px repeat(5, minmax(38px, 1fr)); grid-template-rows: auto repeat(5, minmax(54px, auto)) auto; gap: 3px; }
  .m-head { font-size: 0.58rem; padding: 2px; }
  .m-head.row { font-size: 0.6rem; }
  .m-dot { width: 19px; height: 19px; font-size: 0.6rem; }
  .m-cell { padding: 3px; gap: 3px; }
}

/* ---------------------------------------------------------------------------
   Practitioner note — first-hand experience, attributed.
   Added 2026-08-08. Lives in tools.css rather than compare.css because the
   guides use it too and they do not load compare.css.

   These blocks carry the one thing generated content cannot fake: something
   the author actually watched happen. They are deliberately visually distinct
   from the surrounding argument, and deliberately signed — an unattributed
   anecdote is worth nothing, and Google's E-E-A-T rewards the attribution as
   much as the content.
   --------------------------------------------------------------------------- */
.field-note {
  background: var(--card-bg);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--signal);
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 20px 0;
  max-width: none !important;
}
.field-note .fn-head {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  display: block;
  margin-bottom: 9px;
}
.field-note p { margin-bottom: 10px; max-width: none !important; }
.field-note p:last-child { margin-bottom: 0; }
.field-note .fn-sig {
  font-size: 0.85rem;
  color: var(--steel);
  border-top: 1px solid var(--hairline);
  padding-top: 9px;
  margin-top: 12px;
}
