/* Compare: Prepare meeting brief (compare-meeting.js) */
.mt{border:1px solid #cfdad3;border-radius:14px;padding:18px clamp(12px,2.5vw,24px);margin:12px 0 26px;background:#fff}
.mt h2{margin:0 0 .3rem}.mt-intro{margin:1rem 0 .4rem;max-width:62rem;color:#3d5250;font-size:.92rem}
.mt-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.mt-edit{border:1px solid #dce5df;border-radius:10px;padding:0 12px;margin:8px 0}.mt-edit[open]{padding-bottom:12px;background:#f8fbf8}
.mt-edit>summary{cursor:pointer;font-weight:650;color:#0c5749;min-height:44px;display:flex;align-items:center}
.mt-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 14px;align-items:end}.mt-wide{grid-column:1/-1}.mt-field .ds-c-field{max-width:none;width:100%}
.mt-field textarea{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.95rem}
.mt-msg{min-height:1.3em}.mt-bad{color:#a4282c;font-weight:600}
.mt-sample{display:inline-block;background:#f1f7f2;border:1px solid #c9ddcf;border-radius:7px;padding:3px 10px;margin:4px 0 6px;font-size:.85rem}
.mt-lead{font-size:clamp(1.02rem,1.8vw,1.25rem);font-weight:650;line-height:1.35;margin:.7rem 0;max-width:60rem}
.mt-yrs{display:block;font-size:.75rem;font-weight:700;letter-spacing:.04em;color:#0c5749;margin:.2rem 0}
.mt-sel{margin-top:.8rem}
.mt-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.mt-actions .ds-c-button{min-height:44px}
.mt-prompt textarea{width:100%;max-width:none;font-size:.82rem}
.mt-prompt>summary,.mt-agenda>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600;color:#0c5749}
.mt-agl{margin:.2rem 0 .6rem;padding-left:1.4rem}.mt-agl li{margin:.45rem 0;line-height:1.4}.mt-agq{font-size:.95rem}
.mt-h3{margin:1.4rem 0 .5rem;font-size:1.1rem}

/* opening comparison: decimal-aligned money columns, one row per ACO */
.mt-otw.table-scroll{border:0;background:transparent;margin:.3rem 0 .2rem}
.mt-otw .mt-otab{font-variant-numeric:tabular-nums lining-nums;border-collapse:collapse;width:auto;min-width:min(100%,560px);max-width:100%}
.mt-otab caption{text-align:left;font-size:.8rem;color:#52645f;font-weight:400;padding:0 0 6px;caption-side:top}
.mt-otab th,.mt-otab td{padding:7px 12px 7px 0;vertical-align:top;border-bottom:1px solid #dce5df;text-align:left;white-space:normal;overflow-wrap:normal;word-break:normal}
.mt-otab th+th,.mt-otab td{padding-left:12px}
.mt-otab thead th{font-size:.78rem;font-weight:700;letter-spacing:.02em;border-bottom:2px solid #0f3037;vertical-align:bottom}
.mt-otab tbody th{font-weight:600;min-width:9.5rem}.mt-otab th small,.mt-otab td small{display:block;font-weight:400;font-size:.74rem;color:#52645f}
.mt-otab .num{text-align:right}.mt-ov{font-size:1.05rem;font-weight:650;color:#0f3037;white-space:nowrap}
.mt-otab tfoot th,.mt-otab tfoot td{border-bottom:0;border-top:1px solid #9fb3aa;font-size:.85rem;font-weight:500}.mt-otab tfoot .mt-ov{font-size:.92rem;font-weight:600}
.mt-tag{display:block;font-size:.68rem;font-weight:750;letter-spacing:.05em;text-transform:uppercase;color:#0c5749;margin-top:1px}
.mt-den{margin-top:1px}

/* follow-up questions */
.mt-fu{border-top:1px solid #dce5df;margin:0}.mt-fu:last-of-type{border-bottom:1px solid #dce5df}
.mt-fu>summary{cursor:pointer;min-height:44px;display:flex;flex-wrap:wrap;align-items:center;gap:2px 10px;font-weight:650;color:#0f3037;padding:6px 0}
.mt-fun{font-size:.7rem;font-weight:750;letter-spacing:.06em;text-transform:uppercase;color:#0c5749;white-space:nowrap}
.mt-fub{padding:0 0 12px}.mt-fua{font-weight:600;margin:.2rem 0 .5rem;max-width:58rem}
.mt-route{margin:14px 0 4px;display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center}.mt-route .ds-c-button{min-height:44px}

/* signed bars: one scale per measure, labelled $0 baseline; negatives extend left; $0 is a marker; missing has no mark */
.mt-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.mt-fig{margin:0;border:1px solid #dce5df;border-radius:10px;padding:10px 12px}.mt-fig figcaption{display:flex;flex-direction:column;font-size:.75rem;color:#52645f}.mt-fig figcaption b{font-size:.92rem;color:#0f3037}
.mt-gapfig{margin:4px 0 8px;max-width:720px}
.mt-bars{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px}
.mt-bars li{display:grid;grid-template-columns:minmax(110px,190px) minmax(80px,1fr) minmax(6.5rem,auto);gap:8px;align-items:center;font-size:.8rem}
.mt-gapbars li{grid-template-columns:minmax(64px,120px) minmax(80px,1fr) minmax(6.5rem,auto)}
.mt-bl{overflow-wrap:anywhere}.mt-bl small{color:#52645f}
.mt-track{position:relative;display:block;height:14px}
.mt-base{position:absolute;top:-5px;bottom:-5px;width:0;border-left:1.5px solid #39484a}
.mt-bar{position:absolute;top:0;height:14px;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.mt-pos{border-radius:0 4px 4px 0}.mt-neg{border-radius:4px 0 0 4px;background-image:repeating-linear-gradient(45deg,transparent 0 4px,rgba(255,255,255,.55) 4px 7px)}
.mt-tiny{min-width:2px}
.mt-zmark{position:absolute;top:2px;width:8px;height:8px;margin-left:-6px;border:2px solid #39484a;background:#fff;transform:rotate(45deg);-webkit-print-color-adjust:exact;print-color-adjust:exact}
.mt-bvw{white-space:nowrap}.mt-bv{font-variant-numeric:tabular-nums}.mt-bs{color:#52645f;font-size:.72rem}
.mt-b-na .mt-bv{font-weight:500;font-style:italic;color:#7a5a00}
.mt-axis{margin-top:-2px}.mt-axt{height:16px}.mt-sidet{height:14px}
.mt-tick{position:absolute;top:0;font-size:.68rem;color:#39484a;white-space:nowrap;transform:translateX(-50%)}
.mt-tick.mt-t0{font-weight:700}.mt-tick.mt-tl{transform:none}.mt-tick.mt-tr{transform:translateX(-100%)}
.mt-axt .mt-t0[style^="left:0.00%"]{transform:none}.mt-axt .mt-t0[style^="left:100.00%"]{transform:translateX(-100%)}
.mt-side-l,.mt-side-r{position:absolute;top:0;font-size:.68rem;color:#52645f;white-space:nowrap}.mt-side-l{left:0}.mt-side-r{right:0}

.mt-table{font-variant-numeric:tabular-nums}.mt-table caption{text-align:left;font-weight:600}.mt-table .num{text-align:right}.mt-gap{color:#7a5a00;font-style:italic}.mt-medrow th,.mt-medrow td{border-top:2px solid #cfe0d5}
.mt-legend{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;font-size:.85rem}.mt-check{display:flex;gap:6px;align-items:center;min-height:44px}.mt-focus{width:auto;max-width:22rem}
.mt-keys{list-style:none;display:flex;flex-wrap:wrap;gap:4px 14px;padding:0;margin:0;font-size:.8rem}.mt-key{display:inline-block;width:11px;height:11px;border-radius:3px;margin-right:5px;vertical-align:-1px;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.mt-chart{margin:8px 0}.mt-svg{width:100%;height:auto;max-width:760px;display:block}.mt-grid{stroke:#e3e9e4}.mt-zero{stroke:#7c8c84;stroke-dasharray:2 3}.mt-ax{font-size:11px;fill:#52645f}
.mt-med{stroke:#5b6b64;stroke-width:1.6;stroke-dasharray:6 4}.mt-medl{font-size:11px;fill:#3d4f48}.mt-dl{font-size:12px;font-weight:700}.mt-dim{opacity:.18}
.mt-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:12px}
.mt-card{border:1px solid #d6e2d9;border-radius:11px;padding:12px 14px;background:#fbfdfb;break-inside:avoid}.mt-card h4{margin:.1rem 0 .3rem;font-size:1.02rem}.mt-ck{margin:0;font-size:.72rem;font-weight:700;letter-spacing:.04em;color:#52645f;text-transform:uppercase}
.mt-card dl{margin:0}.mt-card dl div{margin-top:7px}.mt-card dt{font-size:.68rem;font-weight:750;letter-spacing:.06em;text-transform:uppercase;color:#0c5749}.mt-card dd{margin:1px 0 0;font-size:.88rem;line-height:1.45}
.mt-cite{display:block;font-size:.75rem;color:#52645f;margin-top:2px}.mt-ctx{font-size:.8rem;color:#3d5250;margin:.5rem 0 0}.mt-lim{font-size:.8rem;color:#7a4a00;background:#fff7e6;border-radius:6px;padding:4px 7px;margin:.5rem 0 0}
.mt-findings li{margin:.35rem 0;font-size:.9rem}.mt-methods{margin-top:1.2rem;font-size:.88rem}.mt-methods li{margin:.2rem 0}.mt-sha{font-size:.7rem;overflow-wrap:anywhere}
.mt input[type=checkbox]{display:inline-block;appearance:auto;-webkit-appearance:checkbox;width:18px;height:18px;min-width:18px;margin:0 4px 0 0;opacity:1;position:static}
.mt-snapsel{margin-top:1rem;border:1px solid #dce5df;border-radius:9px;padding:8px 12px}.mt-snapsel label{display:inline-flex;gap:4px;align-items:center;min-height:44px;margin-right:10px}
.mt-proot{display:none}
.mt a:focus-visible,.mt button:focus-visible,.mt summary:focus-visible,.mt select:focus-visible,.mt textarea:focus-visible,.mt input:focus-visible{outline:3px solid #cf7600;outline-offset:2px}
@media(max-width:760px){
  .mt-form{grid-template-columns:1fr 1fr}.mt-pair{grid-template-columns:1fr}
  .mt-bars li{grid-template-columns:1fr auto}.mt-bars .mt-track{grid-column:1/-1;grid-row:2}.mt-bars .mt-axis .mt-bl,.mt-bars .mt-axis .mt-bvw,.mt-bars .mt-sides .mt-bl,.mt-bars .mt-sides .mt-bvw{display:none}
  .mt-actions .ds-c-button{flex:1 1 100%;text-align:center}
  .mt-otw .mt-otab{min-width:0;width:100%}.mt-otab th,.mt-otab td{padding:6px 0}.mt-otab th+th,.mt-otab td{padding-left:8px}.mt-otab tbody th,.mt-otab tfoot th{min-width:0;width:40%;font-size:.88rem;line-height:1.25}.mt-otab thead th{font-size:.7rem}.mt-ov{font-size:.95rem}.mt-otab caption{font-size:.74rem}.mt-tag{font-size:.6rem;letter-spacing:.03em}.mt-otab td small,.mt-otab th small{font-size:.68rem}
  .mt h2{font-size:1.35rem}.mt-sample{font-size:.78rem}.mt-fun{flex-basis:100%}.mt-lead{font-size:1rem}
}
@media(prefers-reduced-motion:reduce){.mt *{transition:none!important;animation:none!important}}

/* Print: the "Print meeting packet" action builds #mt-proot (a direct child of <body>) and adds body.mt-printing. Every other
   body child is display:none, so hidden page sections take no print space; page one carries the names, dated agenda and
   reference; cards start a new page; exhibits, findings and sources follow. */
@media print{
  body.mt-printing>*:not(.mt-proot){display:none!important}
  body.mt-printing{background:#fff}
  body.mt-printing .mt-proot p,body.mt-printing .mt-proot li,body.mt-printing .mt-proot dd{max-width:none}
  body.mt-printing .mt-proot li{margin-top:0;margin-bottom:0}
  body.mt-printing>.mt-proot{display:block;font-size:10pt;line-height:1.35;color:#0f2326}
  .mt-proot h1,.mt-proot h2,.mt-proot h3,.mt-proot h4,.mt-proot caption,.mt-proot figcaption{break-after:avoid;page-break-after:avoid}
  .mt-proot h2{font-size:13pt;margin:12pt 0 5pt;border-bottom:1px solid #9fb3aa;padding-bottom:2pt}
  .mt-proot h3{font-size:11pt;margin:9pt 0 4pt}
  .mt-pp-head{border-bottom:2px solid #0f3037;padding-bottom:6pt;margin-bottom:4pt}
  .mt-pp-kick{margin:0;font-size:8.5pt;letter-spacing:.06em;text-transform:uppercase;color:#0c5749;font-weight:700}
  .mt-pp-title{font-size:16pt;margin:2pt 0 4pt}
  .mt-pp-lead{margin:6pt 0 0;font-size:10pt}
  .mt-pp-names{margin:0 0 5pt;padding-left:16pt;font-size:10pt;columns:2;column-gap:18pt}body.mt-printing .mt-pp-names li{break-inside:avoid;margin:0 0 1pt}
  .mt-pp-meta{margin:0;font-size:8.5pt;color:#3d5250}
  .mt-pp-agenda .mt-agl{padding-left:16pt;margin:0}body.mt-printing .mt-pp-agenda .mt-agl li{margin:0 0 4pt;break-inside:avoid;line-height:1.28}.mt-pp-agenda .mt-agq{font-size:9.5pt}.mt-pp-agenda small{font-size:7.5pt}
  .mt-pp-cards{break-before:page;page-break-before:always}
  .mt-proot .mt-cards{grid-template-columns:1fr 1fr;gap:8pt}
  .mt-proot .mt-card{padding:7pt 9pt;background:#fff}.mt-proot .mt-card dd{font-size:9pt}
  .mt-proot .mt-fig,.mt-proot .mt-pp-fu,.mt-proot .mt-svg,.mt-proot tr,.mt-proot .mt-pair,.mt-proot .table-scroll{break-inside:avoid;page-break-inside:avoid}
  .mt-proot .table-scroll{overflow:visible}
  .mt-proot table{font-size:8.5pt;width:100%}
  .mt-proot .mt-otw .mt-otab{min-width:0;width:auto}.mt-proot .mt-ov{font-size:9.5pt}
  .mt-proot .mt-pair{gap:8pt;margin:6pt 0}
  .mt-proot .mt-pair{grid-template-columns:1fr 1fr}
  .mt-proot .mt-bars li{grid-template-columns:minmax(80px,120px) minmax(60px,1fr) minmax(5.6rem,auto);font-size:8pt}
  .mt-proot .mt-bars .mt-track{grid-column:auto;grid-row:auto}
  .mt-proot .mt-bars .mt-axis .mt-bl,.mt-proot .mt-bars .mt-axis .mt-bvw,.mt-proot .mt-bars .mt-sides .mt-bl,.mt-proot .mt-bars .mt-sides .mt-bvw{display:block}
  .mt-proot small.meta{display:block;font-size:7.5pt}.mt-proot .mt-srp{display:none}
  .mt-proot .mt-srcs td:first-child{white-space:nowrap}
  .mt-proot .mt-gapbars li{grid-template-columns:minmax(60px,100px) minmax(60px,1fr) minmax(5.5rem,auto)}
  .mt-proot .mt-svg{max-width:620px}
  .mt-proot a{color:inherit;text-decoration:none}
  .mt-proot a[href^="http"]::after{content:none}
  .mt-proot .mt-srcs a[href^="http"]::after{content:" (" attr(href) ")";font-size:7pt;overflow-wrap:anywhere;word-break:break-all}
  .mt-proot .mt-srcs td{overflow-wrap:anywhere;word-break:break-word}
  .mt-proot .mt-methods{margin-top:10pt;font-size:9pt}
  .mt-proot .mt-methods h3{font-size:13pt;border-bottom:1px solid #9fb3aa;padding-bottom:2pt}
  .mt-proot .mt-sr{position:static!important;width:auto;height:auto;overflow:visible;clip:auto;clip-path:none;white-space:normal;display:block;font-size:7.5pt;color:#52645f}
}
