/* MuADMINS - css/facts-panel.css (2026-11-01, session s20261101-cards3)
   "What you get" on the directory cards of category.php (js/facts-panel.js): the button in the card keeps the look of
   the old <summary> (css/compare.css .mxf-more>summary, same size, so nothing moves when it is swapped in); the facts
   open in ONE panel across the whole card grid, under the row of the card. Colours only from the site tokens. */
.mxp-btn{display:inline-flex;align-items:center;gap:7px;min-height:34px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;cursor:pointer;font:600 12.5px/1.2 var(--font-ui);letter-spacing:normal;text-align:left;color:var(--mx-ink,#fff);text-decoration:underline;text-underline-offset:3px;-webkit-tap-highlight-color:transparent}
.mxp-btn:hover{color:var(--mx-accent-h,#fff);text-decoration-thickness:2px}
.mxp-btn:focus-visible{outline:2px solid var(--mx-ink,#fff);outline-offset:2px;border-radius:4px}
.mxp-btn i{display:inline-block;flex:none;width:7px;height:7px;margin:-4px 1px 0;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
.mxp-btn[aria-expanded="true"] i{margin-top:3px;transform:rotate(-135deg)}
.dir-card.mxp-on,.dir-card.mxp-on:hover{border-color:var(--mx-ink,#fff)}

/* the panel: a full row of the grid (the grid's own gap separates it from the cards) */
.mxp{grid-column:1/-1;position:relative;min-width:0;padding:16px 20px 20px;background:var(--mx-panel-h,var(--mx-panel));border:1px solid var(--mx-ink,#fff);border-radius:10px;box-shadow:var(--mx-shadow-h, none);container-type:inline-size}
.mxp:focus{outline:none}
.mxp:focus-visible{outline:2px solid var(--mx-ink,#fff);outline-offset:3px}
.mxp-h{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 8px}
.mxp-t{min-width:0;font:700 16.5px/1.3 var(--font-ui);color:var(--mx-ink,#fff);overflow-wrap:anywhere}
.mxp-k{display:block;margin:0 0 3px;font:600 10.5px/1.4 var(--font-ui);letter-spacing:.12em;text-transform:uppercase;color:var(--mx-icon,var(--mx-dim))}
.mxp-x{flex:none}
.mxp-b>.mxf-dl:first-child{margin-top:2px}
/* a wide panel puts two facts side by side */
@container (min-width:760px){
  .mxp-b .mxf-dl{grid-template-columns:150px minmax(0,1fr) 150px minmax(0,1fr);column-gap:18px}
}
@media (max-width:640px){
  .mxp{padding:14px 14px 16px}
  .mxp-t{font-size:15.5px}
}
@media (prefers-reduced-motion:no-preference){
  .mxp{animation:mxp-in .16s ease-out}
  @keyframes mxp-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
}

/* (owner 2026-11-03) the whole card opens "What you get" (js/facts-panel.js) */
.dir-grid > .dir-card:has(.mxp-btn) { cursor: pointer; }
