:root {
  /* Light / warm palette to match the site screenshot */
  --bg: transparent;            /* don't fight the theme's page bg */
  --panel: #ffffff;             /* cards on white */
  --panel-alt: #f8f5ef;         /* subtle warm fill */
  --muted: #667085;             /* muted gray for helper text */
  --text: #2b2f33;              /* main text (near-black) */
  --accent: #2c6fb7;            /* AmazingTemples blue (links/headlines) */
  --danger: #c0392b;
  --ring: rgba(44,111,183,0.28);/* focus ring in accent */
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: inherit;              /* inherit theme font stack */
}

.mtr-wrap { margin: 1rem 0; color: var(--text); }
.mtr-card { background: var(--panel); border: 1px solid #e6dfd2; border-radius: 12px; padding: 16px; box-shadow: 0 6px 20px rgba(0,0,0,.04); }
.mtr-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 12px; }
.mtr-col-12 { grid-column: span 12; }
.mtr-col-6 { grid-column: span 6; }
.mtr-col-4 { grid-column: span 4; }
.mtr-label { display: block; font-size: .92rem; color: var(--muted); margin-bottom: 6px; }
.mtr-input { width: 100%; padding: 10px 12px; border: 1px solid #d8d5cd; border-radius: 10px; background: #fff; color: var(--text); font-variant-numeric: tabular-nums; font-family: var(--sans); }
.mtr-input:focus { outline: 2px solid var(--ring); border-color: transparent; box-shadow: 0 0 0 2px var(--ring); }
.mtr-toggle { display:flex; align-items:center; gap:8px; }
.mtr-toggle input { accent-color: var(--accent); }
.mtr-muted { color: var(--muted); font-size: .9rem; }
.mtr-mono { font-family: var(--mono); }

.mtr-stat { background: var(--panel-alt); border: 1px dashed #e6dfd2; border-radius: 10px; padding: 10px; }
.mtr-stat h3 { font-size: .95rem; margin: 0 0 4px; color: var(--muted); }
.mtr-stat .val { font-size: 1.12rem; }

.mtr-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.mtr-table th, .mtr-table td { padding: 10px; border-bottom: 1px solid #e6dfd2; text-align: left; font-variant-numeric: tabular-nums; }
.mtr-table th { color: var(--muted); font-weight: 600; }
.mtr-right { text-align: right; }
.mtr-help { margin-top: 8px; }

