.mte-chart-link{display:inline-flex;align-items:center;gap:8px;border:0;background:none;color:#2563eb;padding:10px 0;min-height:44px;font-size:14px;font-weight:600;cursor:pointer}.mte-chart-dialog{width:min(560px,calc(100% - 24px));max-height:88dvh;padding:22px;border:0;border-radius:20px;box-shadow:0 20px 60px #0f172a33;color:#0f172a}.mte-chart-dialog::backdrop{background:#0f172a73}.mte-chart-header,.mte-chart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.mte-chart-header h2{font-size:22px;margin:0}.mte-chart-close{border:0;background:#f1f5f9;border-radius:50%;width:44px;height:44px;font-size:26px}.mte-chart-subtitle,.mte-chart-note{color:#64748b;font-size:13px;line-height:1.6}.mte-chart-content{display:grid;gap:18px;margin-top:20px}.mte-chart-content p{margin:0}.mte-chart-units{display:flex;gap:4px}.mte-chart-button{min-height:44px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#334155;padding:8px 14px;cursor:pointer}.mte-chart-units [aria-pressed=true]{background:#eff6ff;color:#2563eb;border-color:#93c5fd}.mte-chart-scroll{overflow-x:auto;border:1px solid #e2e8f0;border-radius:12px}.mte-chart-table{width:100%;border-collapse:collapse;white-space:nowrap}.mte-chart-table th,.mte-chart-table td{padding:14px 16px;text-align:left;border-bottom:1px solid #e2e8f0}.mte-chart-table thead{background:#f8fafc}.mte-chart-selected{background:#eff6ff}.mte-chart-caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.mte-chart-help{padding:16px;background:#f8fafc;border-radius:12px;line-height:1.6}.mte-chart-help h3,.mte-chart-content h3{font-size:15px;margin:0 0 8px}.mte-chart-error{color:#b91c1c;line-height:1.5}.mte-chart-editor{display:grid;gap:16px;grid-column:1/-1}.mte-chart-settings{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.mte-chart-field{display:grid;gap:7px;font-weight:500}.mte-chart-columns{display:flex;flex-wrap:wrap;gap:14px;border:0;padding:0}.mte-chart-columns legend{font-size:14px;font-weight:600}.mte-chart-columns .mte-chart-field{display:flex;align-items:center;gap:8px}.mte-chart-row-editor{border:1px solid #e2e8f0;background:#f8fafc;border-radius:12px;padding:16px;display:grid;gap:14px}.mte-chart-range{display:flex;gap:8px}.mte-chart-range input{min-width:0}.mte-spec-field:has(.mte-chart-editor){grid-column:1/-1}@media(max-width:600px){.mte-chart-dialog{margin:auto auto 0;width:100%;max-width:100%;max-height:88dvh;border-radius:22px 22px 0 0}.mte-chart-table th,.mte-chart-table td{padding:12px}.mte-chart-settings{grid-template-columns:1fr}.mte-chart-dialog:focus-visible,.mte-chart-button:focus-visible,.mte-chart-link:focus-visible{outline:3px solid #93c5fd;outline-offset:3px}}

.mte-chart-measurement-guide summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:14px;font-weight:600}.mte-chart-measurement-guide[open]{display:grid;gap:12px}.mte-chart-measurement-guide dl{margin:0;display:grid;gap:6px}.mte-chart-measurement-guide dt{font-weight:600}.mte-chart-measurement-guide dd{margin:0 0 8px}.mte-chart-measurement-guide summary:focus-visible{outline:3px solid #93c5fd;outline-offset:3px;border-radius:4px}
.mte-chart-measurement-guide summary::after{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-left:auto;margin-right:4px}.mte-chart-measurement-guide[open] summary::after{transform:rotate(225deg)}
