/* Shared feedback, readable numbers and responsive administrative workspaces. */
body.af-ux .af-form-feedback {flex:1 0 100%;grid-column:1 / -1;min-width:0;margin:0;font-size:12px;line-height:1.45;color:#61768a;overflow-wrap:anywhere;max-height:130px;overflow-y:auto;}
body.af-ux .af-form-feedback[hidden],body.af-ux .af-day-context[hidden],body.af-ux .af-connection-notice[hidden] {display:none!important;}
body.af-ux .af-form-feedback[data-state="error"] {padding:8px 10px;border-radius:9px;background:#fff0f0;color:#a52323;font-weight:600;}
body.af-ux .af-form-feedback[data-state="saving"] {color:#086dcc;}
body.af-ux .af-day-context {display:inline-flex;align-items:center;margin:5px 0 0;padding:3px 7px;border-radius:6px;color:#94600c;background:#fff2d9;font-size:11px;font-weight:700;line-height:1.35;}
body.af-ux .af-day-context[data-kind="closed"] {background:#e8eef4;color:#49647d;}
body.af-ux .af-day-context[data-kind="future"] {background:#eaf1ff;color:#325cac;}
body.af-ux .af-connection-notice {display:flex;align-items:center;gap:10px;margin:8px 0 12px;padding:10px 12px;border:1px solid #f4d4a6;border-radius:12px;background:#fff8eb;color:#7a4d14;}
body.af-ux .af-connection-notice p {flex:1;min-width:0;margin:0;font-size:12px;line-height:1.5;overflow-wrap:anywhere;}
body.af-ux .af-connection-notice button {flex:none;min-height:44px;padding:6px 12px;border:1px solid #e4b87d;border-radius:8px;background:#fff;color:#7a4d14;font:inherit;font-size:12px;font-weight:700;}
body.af-ux :is(.finance-card,.report-strip,.debt-summary-card-v34228,.staff-kpi,.management-kpi,.af-daybar) strong {font-variant-numeric:tabular-nums;}
body.af-ux :is(button,a,summary):focus-visible {outline:2px solid #1683ee;outline-offset:3px;}
body.af-ux #system :is(.system-section,.system-grid,.system-health-grid,.system-health-card,.system-health-detail,.system-health-item,.system-config-grid)>* {min-width:0;}
body.af-ux #system :is(pre,code,.muted,.health-detail) {overflow-wrap:anywhere;word-break:break-word;}
body.af-ux #system pre {white-space:pre-wrap;max-width:100%;}
body.af-ux #system :is(input,select,textarea) {max-width:100%;min-width:0;}
body.af-ux #system>.page-head>div {min-width:0;max-width:100%;}
body.af-ux #system>.page-head p {white-space:normal;overflow-wrap:anywhere;}
@media(max-width:760px) {
  body.af-ux dialog :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea) {font-size:16px;}
  body.af-ux .af-connection-notice {gap:8px;padding:8px 10px;}
  body.af-ux .af-form-feedback {max-height:min(22dvh,110px);}
}
@media(prefers-reduced-motion:reduce) {
  body.af-ux *,body.af-ux *::before,body.af-ux *::after {scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important;}
}
