.source-title{margin:12px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.source-title:empty{display:none}.method-note{margin:20px 0 0;color:var(--muted);font-size:11px;line-height:1.6}.transcript-text{min-height:110px}.topbar{justify-content:flex-start}.workspace{min-height:600px}

.wer-panel{margin:22px 0;padding:20px;border:1px solid #d5e2d8;border-radius:13px;background:linear-gradient(145deg,#fff 72%,#f6faf6);box-shadow:0 6px 24px #142c2908}
.wer-heading,.wer-subheading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.wer-heading h3{font-size:18px;letter-spacing:-.4px;margin:0}.wer-heading .eyebrow{margin-bottom:6px}.wer-formula{color:var(--muted);font-size:10px;line-height:1.5;text-align:right;max-width:240px}
.wer-overview{display:grid;grid-template-columns:180px minmax(0,1fr);gap:10px;margin-top:17px}.wer-score{display:flex;flex-direction:column;justify-content:center;background:#eef6ef;border:1px solid #dfece1;border-radius:9px;padding:15px 18px}.wer-score strong{font-size:38px;line-height:1;letter-spacing:-1.8px;font-weight:600;color:#153f34}.wer-score span{font-size:11px;font-weight:600;margin-top:6px}.wer-score small{font-size:10px;color:var(--muted);margin-top:5px}.wer-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);border-radius:9px;background:#fff}.wer-count{display:flex;align-items:center;gap:10px;padding:12px;min-width:0}.wer-count+.wer-count{border-left:1px solid var(--line)}.wer-count strong{font-size:27px;line-height:1;min-width:22px}.wer-count span{font-size:11px;font-weight:600;line-height:1.35}.wer-count small{display:block;font-size:9px;color:var(--muted);font-weight:400;margin-top:3px}.wer-count.substitution strong{color:#9a630e}.wer-count.deletion strong{color:#b04e60}.wer-count.insertion strong{color:#286baf}
.wer-composition{display:flex;height:7px;background:#dce9df;border-radius:20px;overflow:hidden;margin-top:11px}.wer-composition span{display:block;height:100%;transition:width .25s}.wer-composition .substitution{background:#dfa62f}.wer-composition .deletion{background:#d46c7d}.wer-composition .insertion{background:#5f9bd4}
.wer-subheading{align-items:center;margin-top:24px}.wer-subheading h4,.wer-changes h4{font-size:12px;margin:0}.wer-subheading p{font-size:10px;color:var(--muted);margin:4px 0 0}.wer-nav{display:flex;align-items:center;gap:8px;white-space:nowrap}.wer-nav button{padding:4px 9px;font-size:15px}.wer-nav span{font-size:10px;color:var(--muted);min-width:34px;text-align:center}
.wer-lanes{display:grid;grid-template-columns:78px minmax(0,1fr);border:1px solid var(--line);border-radius:8px;background:white;margin-top:10px;overflow:hidden}.wer-lane-labels{display:grid;grid-template-rows:repeat(2,1fr);background:#f4f7f2;border-right:1px solid var(--line)}.wer-lane-labels span{display:flex;align-items:center;padding:9px 10px;font-size:10px;font-weight:700;color:var(--green)}.wer-lane-labels span+span{border-top:1px solid var(--line)}.word-lanes{display:flex;overflow-x:auto;scrollbar-width:thin;padding:6px;gap:4px;min-width:0}.word-lanes:focus-visible{outline:2px solid var(--green);outline-offset:-2px}.word-column{display:grid;grid-template-rows:repeat(2,minmax(28px,auto));gap:4px;flex:0 0 auto;border-radius:6px;padding:2px;min-width:28px}.word-token{display:flex;justify-content:center;align-items:center;white-space:nowrap;border-radius:4px;padding:5px 7px;font-size:11px;color:#344640;background:#f2f5f2}.word-column.substitution .word-token{background:#fff0c9;color:#79500b}.word-column.deletion .word-token{background:#fbe3e7;color:#983d52}.word-column.insertion .word-token{background:#e3efff;color:#225f9b}.word-column .word-token:where(:empty){min-width:26px}.word-column.current-difference{outline:2px solid var(--ink);outline-offset:1px}
.wer-key{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:10px;color:var(--muted);font-size:10px}.wer-key span{display:flex;align-items:center;gap:5px}.key-dot{width:9px;height:9px;border-radius:50%;display:inline-block;flex-shrink:0}.key-dot.match{background:#afc3b7}.key-dot.substitution{background:#dfa62f}.key-dot.deletion{background:#d46c7d}.key-dot.insertion{background:#5f9bd4}
.wer-changes{border-top:1px solid var(--line);margin-top:16px;padding-top:15px}.wer-change-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:7px;margin-top:10px}.wer-change{display:grid;grid-template-columns:20px 1fr;align-items:center;column-gap:7px;row-gap:3px;text-align:left;padding:9px 10px;background:white;border-radius:7px}.wer-change.active{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}.change-index{grid-row:1/3;display:grid;place-items:center;width:20px;height:20px;background:#f0f4f0;border-radius:50%;font-size:10px}.change-type{font-size:9px;letter-spacing:.6px;font-weight:700}.wer-change strong{grid-column:2;font-size:12px;overflow-wrap:anywhere}.change-location{grid-column:2;color:var(--muted);font-size:9px}.wer-change.substitution .change-type{color:#9a630e}.wer-change.deletion .change-type{color:#b04e60}.wer-change.insertion .change-type{color:#286baf}.wer-no-changes{margin:0;color:var(--muted);font-size:11px;line-height:1.5}
@media(max-width:1200px){.wer-overview{grid-template-columns:1fr}.wer-score{align-items:flex-start}.wer-count{gap:6px;padding:10px}.wer-count strong{font-size:24px}}
@media(max-width:700px){.wer-panel{padding:14px}.wer-heading{display:block}.wer-formula{display:block;text-align:left;max-width:none;margin-top:8px}.wer-counts{grid-template-columns:repeat(3,minmax(0,1fr))}.wer-count{display:block}.wer-count strong{display:block;margin-bottom:5px}.wer-count span{font-size:10px}.wer-lanes{grid-template-columns:67px minmax(0,1fr)}.wer-lane-labels span{font-size:9px;padding:7px}.wer-subheading{align-items:flex-start}.wer-nav{gap:4px}.wer-nav button{padding:4px 7px}}
