/* Inline field hints (field-feedback.js). Theme-aware through --jd-error. */
:root{--jd-error:#c4361f;--jd-error-soft:rgba(196,54,31,.14)}
[data-jd-theme^="dark-"]{--jd-error:#ff8f78;--jd-error-soft:rgba(255,143,120,.18)}
.jd-field-error:not([type=checkbox]):not([type=radio]){border-color:var(--jd-error)!important;box-shadow:0 0 0 3px var(--jd-error-soft)!important;outline:0!important}
input[type=checkbox].jd-field-error,input[type=radio].jd-field-error{outline:2px solid var(--jd-error)!important;outline-offset:2px}
.jd-field-note{display:flex!important;gap:6px;align-items:flex-start;box-sizing:border-box;width:100%;max-width:100%;grid-column:1/-1;flex:1 0 100%;margin:5px 0 8px;padding:0 2px;color:var(--jd-error)!important;font:500 12.5px/1.35 inherit;font-size:12.5px!important;line-height:1.35!important;text-align:left;white-space:normal;overflow-wrap:anywhere;animation:jd-note-in .18s ease-out}
.jd-field-note::before{content:"!";flex:0 0 16px;width:16px;height:16px;margin-top:1px;border-radius:50%;background:var(--jd-error);color:#fff;font:700 11px/16px system-ui,sans-serif;text-align:center}
[data-jd-theme^="dark-"] .jd-field-note::before{color:#1b1210}
@keyframes jd-note-in{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.jd-field-note{animation:none}}
