/* Coordinate-anchored comparison, with the complete retained support visible. */
.hitomezashi-code-page{max-width:none;min-width:0;font-size:1rem}
.hitomezashi-code-page>header{max-width:80rem}
.hitomezashi-code-page h1{max-width:22ch}
.hitomezashi-code-page>.panel{padding:1rem;margin:1rem 0;min-width:0}
.hitomezashi-code-page h2{font-size:1.6rem;margin:.35rem 0 .8rem}
.hitomezashi-code-page h3{font-size:1.2rem;line-height:1.4}
.hitomezashi-code-page button,.hitomezashi-code-page .button{font-size:1rem;line-height:1.4;min-height:2.7rem;max-width:100%;white-space:normal}
.hitomezashi-code-page .toolbar{display:flex;flex-wrap:wrap;gap:.6rem}
.hm-query-panel{border-top:4px solid var(--teal)}
.hm-build-panel{border-top:4px solid var(--teal)}
.hm-code-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;max-width:56rem;margin:1rem 0}
.hm-code-fields label{display:flex;flex-direction:column;gap:.45rem;min-width:0}
.hm-code-fields input{font:1.5rem/1.4 var(--mono,monospace);letter-spacing:.16em;padding:.6rem;width:100%;min-width:0;max-width:24rem;color:#173d50;background:#fffdf7;border:1px solid #86968d;border-radius:.2rem}
.hm-code-fields label>span{font-size:.95rem}
.hm-window{padding:.7rem .9rem;background:#f4ead1;border-left:3px solid var(--gold)}
.hm-dirty{padding:.85rem;border-left:4px solid var(--copper);background:#f8e7d4;font-size:1rem;line-height:1.6}
.hm-operation-panel{border-top:4px solid var(--gold)}
.hm-operation-panel>p{max-width:85ch}
.hm-query-panel label{display:block;font-size:1rem;font-weight:600;margin:.8rem 0 .4rem}
.hm-query-panel select{font:inherit;width:100%;min-width:0;max-width:45rem;padding:.7rem;line-height:1.4}
.hm-query-panel p{max-width:85ch}
.hm-answer{border-top:4px solid var(--gold)}
.hm-answer.hm-status-separated,.hm-answer.hm-status-missing_point{border-top-color:var(--copper)}
.hm-answer.hm-status-connected{border-top-color:var(--teal)}
.hm-answer-text{font-size:1.15rem;line-height:1.5;max-width:75ch}
.hm-anchor-cards{display:flex;flex-wrap:wrap;gap:.7rem;margin:1rem 0}
.hm-anchor-cards>div{display:grid;gap:.35rem;min-width:13rem;padding:.8rem;border:1px solid var(--soft-line);background:#fff9eb}
.hm-anchor-cards strong{font-size:1.2rem}
.hm-anchor-cards span{font-size:.95rem}
.hm-anchor-chip{display:inline-flex;align-items:center;justify-content:center;width:1.6rem;height:1.6rem;background:#e6d6ae;border:1px solid #97763b;border-radius:50%;margin-right:.35rem;color:#173d50;font-weight:700}
.hm-anchor-chip-1{background:#d3e5e4;border-color:#246b79}
.hm-table-wrap{max-width:100%;overflow:auto;margin:1rem 0;border:1px solid var(--soft-line)}
.hm-table-wrap table{font-size:1rem;line-height:1.5;min-width:34rem}
.hm-table-wrap td,.hm-table-wrap th{padding:.7rem}
.hm-table-wrap th span{display:block;font-weight:400;white-space:nowrap}
.hm-legend{display:flex;flex-wrap:wrap;gap:.55rem 1.2rem;align-items:center;border-left:3px solid var(--gold);padding:.7rem .9rem;background:#f4ead1;font-size:.95rem;line-height:1.45}
.hm-legend>span{display:flex;align-items:center;gap:.45rem}
.hm-legend i{display:inline-block;flex:none;width:1.5rem;height:.2rem;background:#8b998e}
.hm-legend .hm-key-witness{height:.32rem;background:#246b79}
.hm-legend .hm-key-anchor{width:.8rem;height:.8rem;border:2px solid #9c6e2d;background:#fff9eb;border-radius:50%}
.hm-plates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start}
.hm-single-plate{grid-template-columns:minmax(0,1fr);max-width:48rem;margin-inline:auto}
.hm-word-record{font-size:1.1rem;line-height:1.6;margin:.6rem 0}
.hm-word-record code{font-size:1.15rem;letter-spacing:.08em;overflow-wrap:anywhere}
.hm-metrics .hm-unavailable{font-size:1.2rem;line-height:1.8}
.hm-operand{padding:1rem;min-width:0}
.hm-operand>header{min-height:10rem}
.hm-operand h2{font-size:1.55rem;max-width:22ch}
.hm-metrics{display:flex;flex-wrap:wrap;gap:.6rem 1.3rem;margin:.7rem 0;padding:.6rem 0;border-block:1px solid var(--soft-line)}
.hm-metrics>div{display:flex;flex-direction:column-reverse}
.hm-metrics dt{font-size:.9rem;line-height:1.4;font-weight:400;margin:0}
.hm-metrics dd{font:1.65rem/1.3 var(--serif);margin:0;color:#173d50}
.hm-plate{margin:.6rem 0;background:#fff9eb;border:1px solid var(--soft-line);min-width:0}
.hm-plate figcaption{font-size:.95rem;line-height:1.5;padding:.8rem;border-top:1px solid var(--soft-line);min-height:7rem;overflow-wrap:anywhere}
.hm-svg{display:block;width:100%;height:auto;min-height:38rem;max-height:52rem;padding:.4rem;overflow:hidden}
.hm-native-arc{fill:none;stroke:#6d8e89;stroke-width:.045;stroke-linecap:round;stroke-linejoin:round;opacity:.72}
.hm-style-analysis .hm-native-arc{stroke:#64777e;opacity:.65}
.hm-native-terminal{fill:#8a6745;stroke:#fff9eb;stroke-width:.025}
.hm-witness{cursor:pointer}
.hm-witness-halo{fill:none;stroke:#fff9eb;stroke-width:.19;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.hm-witness-path{fill:none;stroke:#246b79;stroke-width:.105;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.hm-witness-1 .hm-witness-path{stroke:#a45e3b}
.hm-style-analysis .hm-witness-path{stroke:#173d50}
.hm-style-analysis .hm-witness-1 .hm-witness-path{stroke:#784b7d}
.hm-witness.is-selected .hm-witness-path{stroke:#a7762f;stroke-width:.15}
.hm-witness-hit{fill:none;stroke:transparent;stroke-width:.3;pointer-events:stroke}
.hm-anchor{cursor:pointer}
.hm-anchor circle{fill:#fff9eb;stroke:#9c6e2d;stroke-width:.06}
.hm-anchor-1 circle{stroke:#246b79}
.hm-anchor text{font:bold .40px var(--sans);fill:#173d50;paint-order:stroke;stroke:#fff9eb;stroke-width:.055;pointer-events:none}
.hm-anchor.is-selected circle{fill:#e7bd62;stroke:#173d50;stroke-width:.08}
.hm-anchor.is-missing circle{stroke:#a45636;stroke-dasharray:.09 .055}
.hm-missing-cross{fill:none;stroke:#a45636;stroke-width:.045;pointer-events:none}
.hm-svg [role=button]:focus-visible{outline:none}
.hm-svg .hm-anchor:focus-visible circle{stroke:#784b7d;stroke-width:.1;fill:#efd19a}
.hm-svg .hm-witness:focus-visible .hm-witness-path{stroke:#784b7d;stroke-width:.16}
.hm-side-witnesses{margin-top:1rem}
.hm-witness-buttons,.hm-anchor-buttons{display:flex;flex-wrap:wrap;gap:.55rem}
.hm-witness-buttons button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:.65rem .8rem;gap:.25rem;flex:1 1 15rem}
.hm-witness-buttons span{font-size:.95rem;font-weight:400}
.hm-inspection>p{font-size:1.05rem;line-height:1.6}
.hm-inspection details,.hm-evidence details{min-width:0;border:1px solid var(--soft-line);background:#fbf3df;padding:.75rem;margin:.7rem 0}
.hm-inspection summary,.hm-evidence summary{font-size:1rem;line-height:1.5;cursor:pointer;font-weight:600}
.hm-inspection code{white-space:normal;overflow-wrap:anywhere}
.hm-evidence pre{max-height:26rem;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.85rem;line-height:1.45}
.hm-error{border-left:4px solid var(--copper);padding:.8rem;background:#f7e4d2;overflow-wrap:anywhere}
@media(max-width:1100px){.hm-plates{grid-template-columns:1fr}.hm-operand>header{min-height:0}.hm-svg{min-height:38rem;max-height:55rem}.hm-plate figcaption{min-height:0}}
@media(max-width:600px){.hitomezashi-code-page{padding:1rem}.hitomezashi-code-page>.panel,.hm-operand{padding:.8rem}.hm-code-fields{grid-template-columns:1fr}.hm-code-fields input{max-width:none}.hm-svg{min-height:31rem;max-height:42rem}.hm-anchor-cards{display:grid;grid-template-columns:1fr}.hm-anchor-cards>div{min-width:0}.hm-anchor-buttons button{width:100%;text-align:left}.hm-legend{font-size:.9rem}}
