.entry-field-help { display: block; font-size: .78rem; line-height: 1.4; font-weight: 400; min-width: 0; }
.entry-invisible-warning, .entry-decimal-hint { display: block; margin: .25rem 0; overflow-wrap: anywhere; }
.entry-invisible-warning { color: var(--warning, #946200); border-inline-start: 3px solid currentColor; padding-inline-start: .5rem; }
.entry-decimal-hint, .entry-field-help small { color: var(--muted); }
.entry-decimal-convert { display: inline; border: 1px solid var(--border); border-radius: .3rem; background: var(--surface); color: var(--text); padding: .2rem .4rem; cursor: pointer; font: inherit; }
.entry-spell-language { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; font-size: inherit; margin-top: .3rem; }
.entry-spell-language select { width: auto; min-height: 1.8rem; padding: .15rem .3rem; font-size: inherit; }
.entry-field-help [hidden] { display: none; }
.entry-field { min-width: 0; }
.entry-field > label { min-width: 0; }
.entry-spell-options { margin-top: .2rem; color: var(--muted); }
.entry-spell-options > summary { cursor: pointer; font-size: .75rem; }
.entry-spell-options > label { margin-top: .3rem; }
.entry-spell-options select { width: auto; font-size: .78rem; min-height: 1.8rem; padding: .15rem .3rem; }
@media (max-width: 900px) {
  .item-row > .entry-field:first-child { grid-column: 1 / -1; }
}
.entry-unit-options { margin-top: .2rem; color: var(--muted); }
.entry-unit-options > summary { cursor: pointer; font-size: .78rem; min-height: 44px; display: list-item; align-content: center; }
.entry-unit-options > label { display: grid; gap: .25rem; margin-top: .25rem; overflow-wrap: anywhere; }
.entry-unit-options select { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; min-height: 44px; padding: .25rem; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: .3rem; }
.entry-unit-options :is(summary, select):focus-visible { outline: 2px solid var(--accent, currentColor); outline-offset: 2px; }
