.em-root{--em-line:color-mix(in srgb,currentColor 22%,transparent);--em-soft:color-mix(in srgb,var(--em-acc) 12%,transparent);--em-good:#237a45;--em-warn:#a36d00;--em-bad:#b03a2e;--em-warn-soft:color-mix(in srgb,var(--em-warn) 16%,transparent);--em-bad-soft:color-mix(in srgb,var(--em-bad) 13%,transparent);display:flex;flex-direction:column;gap:20px;line-height:1.55;max-width:740px;margin-inline:auto}
.em-root *{box-sizing:border-box}
.em-root [hidden]{display:none!important}
.em-root h2,.em-root h3,.em-root p,.em-root ul{margin:0}
.em-root h2{font-size:1.6em;line-height:1.2}
.em-root h3{font-size:1.2em;line-height:1.25}
.em-muted{opacity:.72}
.em-small{font-size:.875em}
.em-label{font-size:.75em;letter-spacing:.08em;text-transform:uppercase;font-weight:600;opacity:.72;display:block}
.em-steps{display:flex;gap:6px}
.em-root button.em-step{flex:1;min-width:0;font:inherit;font-size:.78em;font-weight:600;line-height:1.3;color:inherit;background:none;border:0;border-bottom:4px solid var(--em-line);border-radius:0;box-shadow:none;padding:8px 2px 6px;text-align:center;cursor:pointer;opacity:.7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.em-root button.em-step.em-done{border-bottom-color:var(--em-acc);opacity:1}
.em-root button.em-step.em-cur{border-bottom-color:var(--em-acc);background:var(--em-soft);opacity:1}
.em-root button.em-step:disabled{opacity:.4;cursor:not-allowed}
.em-panel{display:flex;flex-direction:column;gap:18px;min-width:0}
.em-q{border-left:3px solid var(--em-acc);padding:2px 0 2px 12px;font-style:italic;overflow-wrap:anywhere}
.em-field{display:flex;flex-direction:column;gap:6px}
.em-field>label{font-weight:600}
.em-root textarea,.em-root input[type=text]{font:inherit;width:100%;min-width:0;border:1px solid var(--em-line);border-radius:6px;padding:10px 12px}
.em-root textarea{min-height:80px;resize:vertical}
.em-root input[type=range]{width:100%;margin:0;padding:0;accent-color:var(--em-acc)}
.em-list{display:flex;flex-direction:column;gap:8px}
.em-item{display:flex;gap:8px;align-items:center}
.em-item input{flex:1}
.em-root button.em-x{font:inherit;line-height:1;width:40px;height:40px;flex:none;padding:0;border-radius:6px;border:1px solid var(--em-line);background:none;color:inherit;cursor:pointer;box-shadow:none;opacity:.75}
.em-root button.em-x:hover,.em-root button.em-x:focus{background:var(--em-bad-soft);color:inherit;opacity:1}
.em-chips{display:flex;flex-wrap:wrap;gap:8px}
.em-root button.em-chip{font:inherit;font-size:.875em;line-height:1.4;border:1px dashed currentColor;background:none;color:inherit;border-radius:999px;padding:5px 12px;cursor:pointer;box-shadow:none}
.em-root button.em-chip:hover,.em-root button.em-chip:focus{background:var(--em-soft);color:inherit}
.em-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.em-nav{justify-content:space-between;padding-top:6px}
.em-root button.em-btn{cursor:pointer}
.em-root button:disabled{opacity:.45;cursor:not-allowed}
.em-root button.em-ghost{background:none;color:inherit;border:1px solid var(--em-line);box-shadow:none}
.em-root button.em-ghost:hover,.em-root button.em-ghost:focus{background:var(--em-soft);color:inherit;border-color:var(--em-line)}
.em-root button.em-danger,.em-root button.em-danger:hover{background:var(--em-bad);border-color:var(--em-bad);color:#fff}
.em-root button.em-sm{padding:6px 12px;font-size:.875em}
.em-root button:focus-visible,.em-root input:focus-visible,.em-root textarea:focus-visible{outline:2px solid var(--em-acc);outline-offset:2px}
.em-slides{display:flex;flex-direction:column;border-bottom:1px solid var(--em-line)}
.em-slide{display:flex;flex-direction:column;gap:4px;padding:12px 0;border-top:1px solid var(--em-line)}
.em-top{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.em-name{font-weight:600;min-width:0;overflow-wrap:anywhere}
.em-val{font-weight:700;font-size:1.25em;font-variant-numeric:tabular-nums}
.em-ends{display:flex;justify-content:space-between;gap:12px;font-size:.8em;opacity:.72}
.em-hint{background:var(--em-warn-soft);border-radius:6px;padding:10px 12px;font-size:.92em}
.em-note{background:var(--em-soft);border-radius:8px;padding:14px 16px;display:flex;flex-direction:column;gap:8px}
.em-root .em-note ul,.em-root .em-refl{padding-left:18px}
.em-pick{display:flex;flex-direction:column;gap:8px}
.em-root .em-pick button{font:inherit;font-weight:600;line-height:1.4;text-align:left;color:inherit;background:none;border:1px solid var(--em-line);border-radius:6px;padding:11px 14px;cursor:pointer;box-shadow:none;overflow-wrap:anywhere}
.em-root .em-pick button:hover,.em-root .em-pick button:focus{background:var(--em-soft);border-color:var(--em-acc);color:inherit}
.em-root .em-pick button.em-none{font-weight:400}
.em-rank{display:flex;flex-direction:column;gap:14px}
.em-rr{display:grid;grid-template-columns:1.6em minmax(0,1fr) auto;gap:4px 10px;align-items:baseline}
.em-pos{font-weight:700;font-size:1.25em;opacity:.6}
.em-rn{font-weight:600;overflow-wrap:anywhere}
.em-pct{font-weight:700;font-variant-numeric:tabular-nums}
.em-bar{grid-column:2/4;height:10px;border-radius:99px;background:var(--em-line);overflow:hidden}
.em-bar i{display:block;height:100%;border-radius:99px;background:currentColor;opacity:.45}
.em-first .em-pos,.em-first .em-pct{color:var(--em-acc);opacity:1}
.em-first .em-bar i{background:var(--em-acc);opacity:1}
.em-tag{font-size:.75em;font-weight:700;border-radius:99px;padding:2px 8px;background:var(--em-soft);margin-left:6px;white-space:nowrap}
.em-scroll{overflow-x:auto}
.em-root table{border-collapse:collapse;width:100%;margin:0;font-size:.9em;font-variant-numeric:tabular-nums;border:0}
.em-root th,.em-root td{padding:8px 10px;border:0;border-bottom:1px solid var(--em-line);text-align:right;vertical-align:top;background:none}
.em-root th:first-child,.em-root td:first-child{text-align:left;padding-left:0}
.em-root thead th{font-size:.85em;font-weight:700;opacity:.8}
.em-root tfoot td{font-weight:700;border-bottom:0}
.em-root td.em-hi{color:var(--em-good);font-weight:700}
.em-root td.em-lo{color:var(--em-bad)}
.em-sw{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.em-sw>div{min-width:0;display:flex;flex-direction:column;gap:4px;border-top:2px solid var(--em-line);padding-top:10px;overflow-wrap:anywhere}
.em-confirm{background:var(--em-bad-soft);border:1px solid var(--em-bad);border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:10px}
.em-foot{border-top:1px solid var(--em-line);padding-top:16px;display:flex;flex-direction:column;gap:12px}
@media (max-width:520px){.em-root button.em-step{font-size:.68em}}
@media print{
  body *{visibility:hidden}
  .em-root,.em-root *{visibility:visible}
  .em-root{position:absolute;left:0;top:0;width:100%;max-width:none;padding:0 12mm}
  .em-steps,.em-foot,.em-nav,.em-noprint{display:none!important}
  .em-bar,.em-bar i,.em-note,.em-tag{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
