/* v7.16.82.129: scoped presentation; existing markup and server behavior preserved. */
.afaq-system-body :is(.afaq-panel-head,.afaq-page-head,.afaq-section-head){min-width:0;flex-wrap:wrap;row-gap:10px}
.afaq-system-body :is(.afaq-panel-head,.afaq-page-head,.afaq-section-head)>:first-child{min-width:0;max-width:100%}
.afaq-system-body :is(.afaq-panel-head,.afaq-page-head,.afaq-section-head) :is(h1,h2,h3){line-height:1.45;overflow-wrap:anywhere;letter-spacing:-.015em}
.afaq-system-body :is(.afaq-panel-head,.afaq-page-head,.afaq-section-head) p{line-height:1.75;color:var(--afaq-muted,#64748b);margin-block:4px 0}
.afaq-system-body :is(.afaq-panel-head,.afaq-page-head,.afaq-section-head) :is(a,button):focus-visible{outline:2px solid #118577;outline-offset:3px}
/* Reuse existing empty-state classes; SVG is purely decorative and never replaces readable text. */
.afaq-system-body :is(.afaq-empty,.afaq-empty-state,.afaq-filter-empty,.afaq-finance-empty){display:block;min-width:0;max-width:100%;margin-inline:auto;color:var(--afaq-muted,#64748b);font-size:.92rem;line-height:1.8}
.afaq-system-body :is(.afaq-empty,.afaq-empty-state,.afaq-filter-empty,.afaq-finance-empty)::before{content:"";display:block;width:38px;height:38px;margin:0 auto 12px;background-position:center;background-repeat:no-repeat;background-size:contain;opacity:.7;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='none' stroke='%23647c80' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18M8 14h8M10 17h4'/%3E%3C/svg%3E")}
/* Native validation stays native; only invalid states and associated messages are styled. */
.afaq-system-body :is(input,select,textarea)[aria-invalid="true"],.afaq-system-body :is(input,select,textarea):not([type="hidden"]):user-invalid{border-color:#b42318!important;box-shadow:0 0 0 2px rgba(180,35,24,.1)}
.afaq-system-body :is(.afaq-field-error,.afaq-error-text,.afaq-validation-error,[data-afaq-field-error]){color:#a5261e;line-height:1.6;font-size:.82rem;overflow-wrap:anywhere}
.afaq-system-body :is(.afaq-field-error,.afaq-error-text,.afaq-validation-error,[data-afaq-field-error]):not(:empty){margin-block:4px 0}
@media(max-width:600px){.afaq-system-body :is(.afaq-panel-head,.afaq-page-head,.afaq-section-head){align-items:flex-start}.afaq-system-body :is(.afaq-panel-head,.afaq-page-head,.afaq-section-head)>:is(a,button){max-width:100%;white-space:normal}.afaq-system-body :is(.afaq-empty,.afaq-empty-state,.afaq-filter-empty,.afaq-finance-empty)::before{width:32px;height:32px}}
@media(prefers-reduced-motion:reduce){.afaq-system-body :is(.afaq-panel-head,.afaq-page-head,.afaq-section-head) *{scroll-behavior:auto!important}}
