/* ShieldDPC · Report-Date-audit approve patch (16 Oct 2026) */

/* British date fields: dd/mm/yyyy text box with a calendar button; the hidden native field carries the ISO value */
.dpc-uk-wrap { position: relative; display: flex; align-items: center; gap: 4px; width: 100%; }
.dpc-uk-wrap > .dpc-uk-date { flex: 1 1 auto; min-width: 7.5em; }
.dpc-uk-wrap > .dpc-uk-native { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: 0; padding: 0; margin: 0; }
.dpc-uk-cal { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--border, #D0D7E2); border-radius: 8px; background: var(--surface, #fff); color: var(--dpc-blue-800, #10458F); cursor: pointer; }
.dpc-uk-cal:hover { border-color: var(--dpc-orange-600, #FF791F); color: var(--dpc-orange-600, #FF791F); }
.dpc-uk-cal:disabled { opacity: .5; cursor: default; }
.dpc-row > .dpc-uk-wrap, .dpc-filter .dpc-uk-wrap { width: auto; }

/* AI actions: an orange button that says AI, with a short note */
.dpc-btn--ai, a.dpc-btn--ai { background: #FF791F; border: 1px solid #FF791F; color: #fff; font-weight: 600; }
.dpc-btn--ai:hover, .dpc-btn--ai:focus-visible { background: #E2650F; border-color: #E2650F; color: #fff; }
.dpc-btn--ai svg { color: #fff; stroke: #fff; }
.dpc-ai-tag { display: inline-block; padding: 0 6px; margin-right: 2px; border-radius: 4px; background: rgba(255, 255, 255, .22); font-size: .75em; font-weight: 700; letter-spacing: .04em; }
.dpc-ai-note { font-size: .75rem; color: var(--text-muted, #5A6779); font-style: italic; }
.dpc-ai-action { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* AI access for team members */
.dpc-ai-grant td { vertical-align: middle; }
.dpc-ai-grant .dpc-input--sm, .dpc-ai-grant .dpc-select--sm { max-width: 9em; }
.dpc-meter { position: relative; height: 6px; border-radius: 3px; background: var(--surface-2, #EDF2FA); overflow: hidden; min-width: 80px; }
.dpc-meter > span { position: absolute; left: 0; top: 0; bottom: 0; background: #10458F; }
.dpc-meter--warn > span { background: #FF791F; }
.dpc-meter--over > span { background: #C0392B; }
