.hp-scope{min-width:0}.hp-scope mark.hp-mark{cursor:pointer;border-radius:2px;transition:background-color 180ms ease,box-shadow 180ms ease;color:inherit;font-weight:inherit;box-shadow:none;background:color-mix(in srgb,var(--accent) 23%,transparent);box-decoration-break:clone;-webkit-box-decoration-break:clone}.hp-scope.hp-active mark.hp-mark:not(.hp-current){background:color-mix(in srgb,var(--accent) 5%,transparent);box-shadow:none}.hp-scope mark.hp-mark.hp-current{background:color-mix(in srgb,var(--accent) 38%,transparent);box-shadow:inset 0 -1px 0 var(--accent)}.hp-mark:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.hp-editor{min-width:0;border-top:1px solid var(--line);padding-top:14px;margin-top:16px}.hp-editor>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.hp-editor h3{font-size:15px;margin:0}.hp-row{display:grid;grid-template-columns:42px minmax(0,1fr) minmax(0,1fr) 64px;gap:12px;align-items:start;padding:14px 0;border-bottom:1px solid var(--line);min-width:0;transition:background-color 180ms}.hp-row.hp-current{background:color-mix(in srgb,var(--accent) 5%,transparent)}.hp-row-head{display:flex;align-items:center;gap:2px;flex-wrap:wrap;min-height:36px}.hp-number{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.hp-row-head small{font-size:11px;color:var(--muted);flex-basis:100%;white-space:nowrap}.hp-endpoint{min-width:0}.hp-endpoint>label{display:grid;gap:4px;min-width:0}.hp-endpoint label>span,.hp-occurrence>span{font-size:12px;color:var(--muted)}.hp-editor textarea{display:block;width:100%;box-sizing:border-box;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;color:var(--text);font:inherit;font-size:16px;font-weight:400;line-height:1.6;min-height:36px;padding:6px 0;resize:vertical}.hp-editor textarea:hover{border-bottom-color:var(--muted)}.hp-editor textarea:focus{outline:0;box-shadow:0 1px 0 var(--accent);border-bottom-color:var(--accent)}.hp-row-actions{display:flex;align-items:center;gap:0;padding-top:18px}.hp-row-actions>.icon-btn{width:32px;height:32px;min-width:32px}.hp-occurrence{display:grid;gap:4px;margin-top:8px;min-width:0}.hp-occurrence .lexi-select{min-width:0;width:100%}.hp-empty,.hp-status{font-size:12px;color:var(--muted);margin:8px 0}.hp-status:empty{display:none}
.hp-row-head>.drag-handle{width:24px;height:32px;min-width:24px;padding:4px}.hp-row-head>.hp-number{min-width:12px}
.hp-readable-field>span{display:flex;align-items:center;gap:8px;min-height:30px}.hp-field-actions{display:flex;align-items:center;gap:4px;flex:none;margin-left:auto}.hp-readable-field .hp-field-actions>.icon-btn{margin:0;width:28px;height:28px;min-width:28px;min-height:28px;padding:5px}.hp-field-actions>.icon-btn svg{width:15px;height:15px}.hp-readable{font-weight:400;white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.8;padding:8px 0;min-width:0}.hp-readable-field textarea[hidden],.hp-readable[hidden],.hp-legacy-field[hidden],.hp-selection-add[hidden]{display:none!important}.hp-selection-add{font-size:12px;margin:4px 0}.scene-text-content.hp-scope{display:flex;flex-direction:column;gap:16px}.scene-text-content.hp-scope>.scene-field{width:100%}.scene-text-content.hp-scope>.hp-editor{margin-top:0}.hp-scope blockquote,.hp-scope p{white-space:pre-wrap;overflow-wrap:anywhere}.hp-review{grid-column:1/-1}
@media(max-width:600px){.hp-row{grid-template-columns:42px minmax(0,1fr) 64px;gap:8px}.hp-row-head{grid-column:1;grid-row:1/3}.hp-endpoint{grid-column:2}.hp-row-actions{grid-column:3;grid-row:1/3;padding-top:16px}.hp-editor textarea{font-size:16px}.hp-row-head small{white-space:normal}.hp-readable{line-height:1.7}}
@media(prefers-reduced-motion:reduce){.hp-scope mark.hp-mark,.hp-row{transition:none}}
