/* V1 editorial system — bespoke pieces for the JSON-LD generator.
   Structural chrome lives in v1-tools.css. jsonld-escritores.js renders
   #jsonld-fields' contents itself (plain label+input/textarea, no classes)
   from a per-mode field config, so this file styles those via descendant
   selectors instead of a class the engine would need to emit. */
html.v1 #jsonld-form,html.v1 #jsonld-fields{min-width:0;max-width:100%;overflow-x:hidden}
html.v1 [data-publishing-processor] form{width:100%;overflow-x:hidden}
html.v1 #jsonld-fields{margin-top:1.5rem;min-height:30rem}
html.v1 #jsonld-fields label{display:block;min-width:0;max-width:100%;font:600 .8rem/1.3 var(--font-ui);letter-spacing:.02em;margin:1.2rem 0 .5rem;overflow-wrap:anywhere}
html.v1 #jsonld-fields label:first-child{margin-top:0}
html.v1 #jsonld-fields input,html.v1 #jsonld-fields textarea{width:100%;min-width:0;max-width:100%;border:1px solid var(--color-border);border-radius:var(--radius-input);background:var(--surface-page);color:var(--color-text);padding:.6rem .8rem;font:400 .95rem/1.5 var(--font-ui);min-height:var(--control-min-height)}
html.v1 #jsonld-fields textarea{min-height:5.5rem;resize:vertical}
html.v1 #jsonld-fields input:focus-visible,html.v1 #jsonld-fields textarea:focus-visible{outline:2px solid var(--focus-color);outline-offset:2px}

html.v1 #jsonld-report{margin:1rem 0 0;min-height:8rem}
html.v1 #jsonld-report p{margin:0 0 .6rem;font:400 .95rem/1.55 var(--font-reading)}
html.v1 #jsonld-report li{list-style:none;margin:.4rem 0;padding:.5rem .75rem;border-left:2px solid var(--color-border);font:400 .88rem/1.5 var(--font-ui);color:var(--color-muted)}
html.v1 #jsonld-report li.is-error{border-left-color:var(--color-accent-strong);color:var(--color-text);font-weight:600}
html.v1 #jsonld-report li.is-warning{border-left-color:var(--color-accent)}

html.v1 #jsonld-output{display:block;min-height:18rem}

@media(max-width:767px){
  html.v1 #jsonld-fields{min-height:34rem}
  html.v1 #jsonld-output{min-height:14rem}
}
