/* Editable and autofilled text stays light over the transparent scene.
   Clip native autofill paint to the letters; never hide it with a filled box. */
:root{color-scheme:dark;--field-text:#e2e8ec}
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=button]):not([type=submit]):not([type=hidden]),textarea{
  appearance:none;
  background-color:transparent!important;
  background-image:none!important;
  color:var(--field-text)!important;
  -webkit-text-fill-color:var(--field-text)!important;
  caret-color:#ff973e;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active{
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-box-shadow:none!important;
  box-shadow:none!important;
  -webkit-text-fill-color:var(--field-text)!important;
  caret-color:#ff973e;
}
input:autofill{
  -webkit-background-clip:text!important;
  background-clip:text!important;
  box-shadow:none!important;
  color:var(--field-text)!important;
  -webkit-text-fill-color:var(--field-text)!important;
  caret-color:#ff973e;
}

/* Text-only actions have no native focus box. Keep keyboard focus visible in ink. */
.line-action,.line-action:focus,.line-action:focus-visible{
  appearance:none;
  border:0!important;
  outline:none!important;
  box-shadow:none!important;
  background:transparent!important;
}
.line-action:focus-visible{color:#fff!important;text-shadow:0 0 6px #dce9ef66}
.line-action:active{scale:.97}

/* Shared relationships never take input or add a panel. */
.page-relationships{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:20}.page-relationships path{fill:none;stroke:#bed0d9;stroke-width:.5;stroke-dasharray:.4 4;stroke-linecap:round;vector-effect:non-scaling-stroke}
/* Drawn extruded action marks replace font/OS emoji rendering. */
.action-symbol{display:inline-block;width:18px;height:18px;object-fit:contain;vertical-align:-3px;margin-inline:3px;pointer-events:none}
