/* Results History — consistent with the existing Fizz City design. */
.mmh-home{max-width:1210px;margin:25px auto 35px;padding:28px;background:#fff2cf;border:3px solid #fff;border-radius:29px;box-shadow:0 7px 0 #d6a661}
.mmh-home-header{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.mmh-home h2,.mmh-page h2{font-size:clamp(24px,3vw,34px);margin:4px 0 6px;color:#292743}
.mmh-home p{margin:6px 0;color:#655f78}.mmh-mini-grid,.mmh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:22px}
.mmh-mini{appearance:none;text-align:left;border:2px solid #ead1a4;background:#fffaf1;border-radius:21px;padding:20px;color:#292743;display:flex;flex-direction:column;gap:7px;cursor:pointer;box-shadow:0 4px 0 #d7b37e;transition:transform .15s}
.mmh-mini:hover,.mmh-mini:focus-visible{transform:translateY(-2px);outline:3px solid #9e77f6;outline-offset:2px}.mmh-mini span{font-size:13px;color:#655f78}.mmh-mini strong{font-size:20px}
.mmh-page{max-width:1210px;margin:22px auto 35px;padding-bottom:30px}.mmh-overview{display:flex;justify-content:space-between;gap:22px;align-items:center;background:#fff2cf;border:3px solid #fff;border-radius:27px;padding:24px 28px;box-shadow:0 6px 0 #d6a661}
.mmh-overview p{max-width:700px}.mmh-total{display:flex;flex-direction:column;align-items:flex-end;min-width:195px;gap:5px}.mmh-total strong{font-size:32px;color:#20a674}.mmh-total small,.mmh-total span{font-size:13px;color:#6a617b}
.mmh-card{background:#fff7e3;border:3px solid #fff;border-radius:25px;padding:24px;box-shadow:0 6px 0 #d7aa76;min-height:250px;display:flex;flex-direction:column;gap:10px}
.mmh-card h3{color:#292743;font-size:24px;margin:5px 0 0}.mmh-card p{color:#655f78;margin:0 0 8px}.mmh-cardtop{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:center}.mmh-round{font-size:12px;font-weight:900;letter-spacing:.12em;color:#af6530}
.mmh-status{border-radius:999px;padding:7px 11px;font-size:12px;font-weight:800;background:#efe5d1;color:#6f6658}.mmh-status.is-done{background:#d9f6ce;color:#287f38}.mmh-status.is-pending{background:#fff0bc;color:#85601c}
.mmh-metrics{display:flex;gap:12px;margin:auto 0 5px}.mmh-metrics>div{display:flex;flex:1;flex-direction:column;gap:3px;background:#fff;border-radius:14px;padding:13px}.mmh-metrics span{color:#6b6580;font-size:12px}.mmh-metrics b{font-size:27px;color:#292743}.mmh-metrics small{font-size:13px;color:#88839a}
.mmh-cardbtn{margin-top:6px;align-self:flex-start}.mmh-cardnote{margin-top:auto;color:#7e7381;font-size:14px;padding:12px;background:#fff9ef;border-radius:12px}.mmh-loading{padding:25px;text-align:center;color:#70637a}
@media(max-width:700px){.mmh-home{margin:20px 10px;padding:17px}.mmh-mini-grid,.mmh-grid{grid-template-columns:1fr}.mmh-overview{flex-direction:column;align-items:stretch}.mmh-total{align-items:flex-start}.mmh-page{padding:10px}.mmh-card{min-height:220px}}
/* Student-only performance and industry panels */
.mmh-student-insights{display:grid;gap:18px;margin-top:22px}.mmh-insight-panel{background:#fff8eb;border:3px solid #fff;border-radius:25px;padding:24px;box-shadow:0 6px 0 #d7aa76;color:#292743}.mmh-si-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.mmh-si-heading h2{margin:3px 0}.mmh-si-heading p{color:#6a617b}.mmh-si-pill,.mmh-si-you{background:#ffe4a9;color:#8c4b26;padding:6px 11px;border-radius:20px;font-size:12px;font-weight:800}.mmh-si-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.mmh-si-stat{border:1px solid #e8cba1;border-radius:14px;padding:16px;background:#fffdf9;display:flex;flex-direction:column;gap:8px;min-width:0}.mmh-si-stat small,.mmh-si-position small{color:#6a617b}.mmh-si-stat strong{font-size:clamp(18px,2vw,25px);color:#a64b23;overflow-wrap:anywhere}.mmh-si-stat span{font-size:12px;color:#786a5d}.mmh-si-stat .mmh-si-up{color:#277b40}.mmh-si-stat .mmh-si-down{color:#b1532e}.mmh-si-observations{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.mmh-si-observations p{margin:0;border:1px solid #e8cba1;border-radius:12px;background:#fffdf9;padding:14px;color:#594e47}.mmh-si-position{text-align:right}.mmh-si-position strong{display:block;font-size:30px;color:#a64b23}.mmh-si-position strong span{font-size:15px;color:#6a617b}.mmh-si-scroll{overflow-x:auto;margin:15px 0 20px;border:1px solid #e8cba1;border-radius:15px}.mmh-si-table{width:100%;border-collapse:collapse;min-width:520px;text-align:left}.mmh-si-table th,.mmh-si-table td{padding:13px 15px;border-bottom:1px solid #ecd7b8;white-space:nowrap}.mmh-si-table thead{background:#f6dfb9}.mmh-si-table tbody tr:nth-child(even){background:#fff2dc}.mmh-si-table tbody tr.mmh-si-me{background:#ffebc2;font-weight:800}.mmh-si-table tr:last-child td{border-bottom:0}.mmh-insight-panel h3{margin:20px 0 8px}.mmh-si-disclaimer{font-size:12px;color:#73695f;margin-bottom:0}@media(max-width:850px){.mmh-si-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.mmh-si-stats{grid-template-columns:1fr}.mmh-insight-panel{padding:16px}}

/* Student Results History: compact interactive performance trend */
.mmh-trend{margin:16px 0 20px;padding:18px;border:1px solid #e8cba1;border-radius:16px;background:#fffdf8}
.mmh-trend-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.mmh-trend-head h3{margin:0 0 4px;font-size:20px;color:#292743}
.mmh-trend-head p,.mmh-trend-note{margin:0;color:#766b70;font-size:13px}
.mmh-trend-tabs{display:flex;gap:7px;flex-wrap:wrap}
.mmh-trend-tab{border:1px solid #e4bd8e;background:#fff4df;color:#633f30;border-radius:999px;padding:9px 13px;font:inherit;font-size:13px;font-weight:750;cursor:pointer}
.mmh-trend-tab.is-active{background:#a84d26;border-color:#a84d26;color:white}
.mmh-trend-tab:focus-visible{outline:3px solid #5c4b9a;outline-offset:2px}
.mmh-trend-chart{margin-top:14px;overflow:hidden}
.mmh-trend-chart svg{display:block;width:100%;height:auto}
.mmh-trend-values{display:flex;flex-wrap:wrap;gap:9px;margin:2px 0 12px}
.mmh-trend-value{background:#fff3dc;border:1px solid #efd5ad;border-radius:10px;padding:9px 12px;display:flex;flex-direction:column;gap:3px;min-width:125px}
.mmh-trend-value small{color:#6e6271}.mmh-trend-value strong{color:#9e4826;font-size:15px}
@media(max-width:600px){.mmh-trend{padding:12px}.mmh-trend-tabs{width:100%}.mmh-trend-tab{flex:1;padding:9px 6px;font-size:12px}.mmh-trend-value{flex:1;min-width:calc(50% - 9px)}}

/* Industry trend: student vs same-round industry average */
.mmh-industry-legend{display:flex;flex-wrap:wrap;gap:20px;margin-top:16px;color:#594e47;font-size:13px;font-weight:700}
.mmh-industry-legend span{display:inline-flex;align-items:center;gap:8px}
.mmh-industry-key{display:inline-block;width:27px;border-top:4px solid #ae512b;border-radius:3px}
.mmh-industry-key-average{border-top-color:#337b78;border-top-style:dashed}
.mmh-industry-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:5px 0 12px}
.mmh-industry-value{border:1px solid #efd5ad;background:#fff3dc;border-radius:10px;padding:11px;display:flex;flex-direction:column;gap:6px;font-size:12px}
.mmh-industry-value small{color:#766b70}.mmh-industry-value span{display:flex;justify-content:space-between;gap:5px}.mmh-industry-value strong{color:#292743}
.mmh-industry-takeaway{background:#fff1d8;border:1px solid #e8cba1;border-radius:12px;padding:13px;color:#594e47;margin:12px 0}
@media(max-width:750px){.mmh-industry-values{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:450px){.mmh-industry-values{grid-template-columns:1fr}}
