/* V1 editorial system — bespoke pieces for the inherited-object record sheet.
   Structural chrome (fields/actions) lives in v1-tools.css; objeto-heredado.js
   builds .record-row(--owners|--evidence|--oral|--timeline)/.record-remove
   entirely itself into each [data-rows] container, with plain
   input/select/textarea (aria-label only, no classes) — styled here by
   descendant selector rather than a class the engine would need to emit. */
html.v1 .record-rows{display:grid;gap:.75rem;margin:1rem 0}
html.v1 .record-row{display:grid;grid-template-columns:1.2fr 1fr 1.2fr 2.75rem;gap:.6rem;align-items:start}
html.v1 .record-row--owners{grid-template-columns:1.1fr .7fr .7fr 1fr 1.4fr 1fr 1fr 2.75rem}
html.v1 .record-row--evidence{grid-template-columns:.55fr .9fr 1.5fr 1.2fr .9fr 2.75rem}
html.v1 .record-row--oral{grid-template-columns:1fr .9fr 2fr .9fr 1fr 2.75rem}
html.v1 .record-row--timeline{grid-template-columns:.75fr .75fr 2fr 1fr 1fr 2.75rem}
html.v1 .record-row input,html.v1 .record-row select,html.v1 .record-row textarea{width:100%;min-height:var(--control-min-height);border:1px solid var(--color-border);border-radius:var(--radius-input);background:var(--surface-page);color:var(--color-text);padding:.5rem .7rem;font:400 .9rem/1.4 var(--font-ui)}
html.v1 .record-row textarea{resize:vertical;min-height:2.75rem}
html.v1 .record-row input:focus-visible,html.v1 .record-row select:focus-visible,html.v1 .record-row textarea:focus-visible{outline:2px solid var(--focus-color);outline-offset:2px}
html.v1 .record-remove{min-width:2.75rem;min-height:2.75rem;border:1px solid var(--color-border);background:none;color:var(--color-text);font-size:1.15rem;cursor:pointer}
html.v1 .record-remove:hover{border-color:var(--color-text)}

@media(max-width:900px){
  html.v1 .record-row,html.v1 .record-row--owners,html.v1 .record-row--evidence,html.v1 .record-row--oral,html.v1 .record-row--timeline{grid-template-columns:1fr 1fr}
  html.v1 .record-remove{grid-column:2;justify-self:end}
}
@media(max-width:560px){
  html.v1 .record-row,html.v1 .record-row--owners,html.v1 .record-row--evidence,html.v1 .record-row--oral,html.v1 .record-row--timeline{grid-template-columns:1fr}
  html.v1 .record-remove{grid-column:auto;justify-self:start}
}
