/* Command Center. Every rule is scoped to the plugin application root. No PDF styles. */
body.abr-command-page { margin: 0; padding: 0 24px; background: #f5f6fa; }
body.abr-command-page > .abr-ui { min-height: calc(100vh - 82px); }
.abr-ui {
    --ui-bg: #f5f6fa;
    --ui-surface: #fff;
    --ui-ink: #17243b;
    --ui-muted: #526179;
    --ui-line: #dce2ed;
    --ui-accent: #4b46ce;
    --ui-soft: #eeedfc;
    --ui-radius: 14px;
    --ui-shadow: 0 4px 22px rgb(32 46 76 / 4%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--ui-ink);
    background: var(--ui-bg);
    text-align: start;
    isolation: isolate;
    position: relative;
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    min-height: 720px;
    border: 1px solid var(--ui-line);
    border-radius: 18px;
    overflow: clip;
    width: 100%;
    max-width: 1600px;
    margin: 24px auto;
    box-shadow: var(--ui-shadow);
}
.abr-ui *, .abr-ui *::before, .abr-ui *::after { box-sizing: border-box; }
.abr-ui:not(:has(.abr-ui-rail)) { grid-template-columns: minmax(0, 1fr); }
.abr-ui a { text-underline-offset: 3px; }
.abr-ui :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible {
    outline: 3px solid var(--ui-accent); outline-offset: 3px; box-shadow: 0 0 0 5px #eeedfc;
}
.abr-ui .abr-ui-skip { position: absolute; inset-block-start: 8px; inset-inline-start: 8px; transform: translateY(-180%); z-index: 5; padding: 10px 16px; background: white; color: var(--ui-accent); }
.abr-ui .abr-ui-skip:focus { transform: none; }
.abr-ui .abr-ui-rail { background: #fff; border-inline-end: 1px solid var(--ui-line); padding: 24px 16px; min-width: 0; }
.abr-ui .abr-ui-brand { display: flex; align-items: center; gap: 10px; padding: 0 4px 26px; color: var(--ui-ink); font-size: 14px; font-weight: 750; line-height: 1.4; }
.abr-ui .abr-ui-monogram { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; background: var(--ui-accent); color: white; border-radius: 11px; font-size: 14px; letter-spacing: -.6px; }
.abr-ui .abr-ui-brand small { display: block; font-size: 11px; font-weight: 500; color: var(--ui-muted); margin-top: 3px; }
.abr-ui .abr-ui-menu { margin: 0; border: 0; padding: 0; background: transparent; }
.abr-ui .abr-ui-menu > summary { color: var(--ui-muted); font-size: 11px; font-weight: 750; letter-spacing: .05em; padding: 8px 10px; cursor: pointer; }
.abr-ui .abr-ui-rail nav { display: grid; gap: 5px; }
.abr-ui .abr-ui-rail nav a { display: block; border: 1px solid transparent; border-radius: 8px; padding: 10px 12px; color: #46536b; font-weight: 600; text-decoration: none; font-size: 13px; line-height: 1.5; }
.abr-ui .abr-ui-rail nav a:hover { color: var(--ui-accent); background: #f6f5ff; }
.abr-ui .abr-ui-rail nav a[aria-current=page] { color: #3730a3; background: var(--ui-soft); border-color: #e1defb; }
.abr-ui .abr-ui-section-index { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--ui-line); }
.abr-ui .abr-ui-section-index strong { color: var(--ui-muted); padding: 0 12px 8px; font-size: 11px; }
.abr-ui .abr-ui-section-index a { font-size: 12px !important; padding-block: 6px !important; }
.abr-ui .abr-ui-profile { margin-top: 30px; padding: 18px 8px 0; border-top: 1px solid var(--ui-line); display: flex; gap: 10px; align-items: center; overflow-wrap: anywhere; }
.abr-ui .abr-ui-avatar { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; background: #edf0f7; color: #3730a3; border-radius: 50%; font-weight: 700; }
.abr-ui .abr-ui-profile strong { font-size: 12px; }
.abr-ui .abr-ui-profile small { display: block; color: var(--ui-muted); font-size: 11px; }
.abr-ui .abr-ui-workspace { min-width: 0; }
.abr-ui .abr-ui-topbar { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 28px; background: rgb(255 255 255 / 90%); border-bottom: 1px solid var(--ui-line); font-size: 12px; color: var(--ui-muted); }
.abr-ui .abr-ui-topbar span span { padding-inline: 12px; color: #a1aabc; }
.abr-ui .abr-ui-version { border: 1px solid var(--ui-line); border-radius: 6px; padding: 2px 8px; font-size: 11px; }
.abr-ui .abr-ui-topbar-actions { display: flex; gap: 12px; align-items: center; }
.abr-ui .abr-ui-content { min-width: 0; padding: 28px; }
.abr-ui .abr-ui-content:focus { outline: none; }
.abr-ui .abr-portal-admin { max-width: none; margin: 0; font-size: 14px; }
.abr-ui :where(.abr-portal-wrap,.abr-portal-box,.abr-portal-form) { max-width: none; width: 100%; margin: 0 0 20px; padding: 24px; background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: var(--ui-radius); color: var(--ui-ink); box-shadow: var(--ui-shadow); }
.abr-ui .abr-ui-content > .abr-portal-wrap { padding: 0; border: 0; background: transparent; box-shadow: none; }
.abr-ui :where(h1,h2,h3,h4):not(.abr-doc *) { font-family: inherit; color: var(--ui-ink); line-height: 1.3; letter-spacing: -.025em; font-weight: 700; }
.abr-ui :where(.abr-portal-admin h1,.abr-portal-wrap h1,.abr-portal-wrap h2,.abr-portal-form h2) { font-size: clamp(23px, 2.2vw, 30px); margin: 0 0 12px; padding: 0; color: var(--ui-ink); }
.abr-ui :where(h2,h3):not(.abr-doc *) { font-size: 18px; margin: 24px 0 14px; }
.abr-ui h4:not(.abr-doc *) { font-size: 15px; }
.abr-ui p:not(.abr-doc *) { font-size: 14px; line-height: 1.65; }
.abr-ui h1:not(.abr-doc *),.abr-ui h2:not(.abr-doc *),.abr-ui h3:not(.abr-doc *) { color: var(--ui-ink); }
.abr-ui .abr-portal-wrap h2:not(.abr-doc *) { font-size: 22px; }
.abr-ui .abr-ui-signout { color: #46536b; font-size: 12px; font-weight: 600; text-decoration: none; padding: 5px 10px; border: 1px solid var(--ui-line); border-radius: 6px; }
.abr-ui .abr-portal-quick-nav[hidden] { display: none !important; }
.abr-ui .abr-tab-nav a.is-active,.abr-ui .abr-tab-nav a.active,.abr-ui .abr-prop-filters a.is-active { background: white; color: #3730a3; border-color: #d7d3f7; box-shadow: 0 1px 3px #182b4410; }
.abr-ui .abr-portal-home-card { background: transparent; border: 0; padding: 0; box-shadow: none; }
.abr-ui .abr-portal-home-header { border-bottom: 1px solid var(--ui-line); padding-bottom: 22px; }
.abr-ui .abr-portal-home-tile { background: white; border: 1px solid var(--ui-line); border-radius: 12px; box-shadow: var(--ui-shadow); color: var(--ui-ink); padding: 22px; }
.abr-ui .abr-portal-home-tile:hover { border-color: #ada8f1; background: #faf9ff; transform: none; }
.abr-ui .abr-portal-home-tile-title { color: var(--ui-ink); }
.abr-ui .abr-portal-home-tile-desc { color: var(--ui-muted); }
.abr-ui .abr-portal-home-header h1 { color: var(--ui-ink); }
.abr-ui .abr-portal-filter,.abr-ui .abr-report-filter,.abr-ui .abr-filter-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; padding: 16px; border: 1px solid var(--ui-line); border-radius: 10px; background: #fff; margin: 20px 0; }
.abr-ui .abr-ui-filter-field { display: grid; gap: 5px; flex: 1 1 150px; min-width: 0; }
.abr-ui .abr-ui-filter-field label { margin: 0; }
.abr-ui .abr-ui-filter-field :where(input,select) { width: 100%; }
.abr-ui .abr-success { padding: 14px 18px; border: 1px solid #b4dec6; border-radius: 9px; background: #e5f6ed; color: #16633c; }
.abr-ui .abr-chart-panel { background: white; border: 1px solid var(--ui-line); border-radius: 12px; padding: 20px; }
.abr-ui .abr-chart-row > div { background: #edf0f7; border-radius: 4px; }
.abr-ui .abr-chart-row > div > i { background: var(--ui-accent); border-radius: 4px; }
.abr-ui .abr-chart-cost > div > i { background: #b86a14; }
.abr-ui .abr-chart-profit > div > i { background: #278568; }
.abr-ui .abr-prop-summary { box-shadow: 0 6px 24px rgb(32 46 76 / 10%); }
.abr-ui :where(.abr-muted,.abr-portal-muted,.description,small):not(.abr-doc *) { color: var(--ui-muted); }
.abr-ui .abr-ui-panel { padding: 24px; margin: 24px 0; border: 1px solid var(--ui-line); border-radius: var(--ui-radius); background: white; box-shadow: var(--ui-shadow); scroll-margin-top: 50px; min-width: 0; }
.abr-ui .abr-ui-panel > h2:first-child { margin-top: 0; font-size: 18px; }
.abr-ui .abr-ui-panel > hr:last-child { display: none; }
.abr-ui :where(.abr-portal-cards,.abr-cards,.abr-kpi-grid,.abr-metric-grid) { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(180px,100%),1fr)); gap: 14px; margin: 22px 0; }
.abr-ui :where(.abr-portal-card,.abr-card,.abr-kpi-card,.abr-metric-card) { min-width: 0; background: white; border: 1px solid var(--ui-line); border-radius: 12px; padding: 20px; box-shadow: var(--ui-shadow); }
.abr-ui :where(.abr-portal-card,.abr-card,.abr-kpi-card) strong { display: block; color: var(--ui-ink); font-size: clamp(23px,2vw,30px); line-height: 1.3; letter-spacing: -.035em; font-weight: 750; overflow-wrap: anywhere; }
.abr-ui :where(.abr-portal-card,.abr-card) > span { color: var(--ui-muted); font-size: 12px; font-weight: 550; }
.abr-ui .abr-portal-admin > div[style*="display:flex"] { grid-template-columns: repeat(auto-fit,minmax(min(165px,100%),1fr)); gap: 14px !important; }
.abr-ui .abr-portal-admin > div[style*="display:flex"] > div { border: 1px solid var(--ui-line) !important; border-radius: 12px; padding: 20px !important; color: var(--ui-muted); font-size: 12px; }
.abr-ui .abr-portal-admin > div[style*="display:flex"] strong { color: var(--ui-ink); font-size: 27px; letter-spacing: -.03em; }
.abr-ui :where(.abr-business-header,.abr-portal-header) { padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--ui-line); }
.abr-ui :where(.abr-business-logo) { max-width: 100px; max-height: 52px; object-fit: contain; }
.abr-ui :where(.abr-portal-shell) { display: grid; grid-template-columns: minmax(0,1fr) 240px; gap: 20px; align-items: start; }
.abr-ui .abr-portal-shell:not(:has(> aside)):not(:has(> .abr-performance-sidebar)) { grid-template-columns: minmax(0,1fr); }
.abr-ui :where(.abr-portal-main,.abr-report-section,.abr-portal-section,.abr-admin-panel,.abr-help-layout,.abr-help-content) { min-width: 0; }
.abr-ui :where(.abr-admin-panel,.abr-report-section,.abr-portal-section) { background: white; border: 1px solid var(--ui-line); border-radius: 12px; padding: 22px; margin-bottom: 20px; }
.abr-ui .abr-settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; background: transparent !important; padding: 0 !important; border: 0 !important; max-width: none !important; }
.abr-ui .abr-settings-grid .abr-admin-panel { margin: 0; }
.abr-ui .abr-portal-admin form { max-width: none; }
.abr-ui .abr-ui-panel > form { border: 0; padding: 0; margin-bottom: 0; box-shadow: none; }
.abr-ui :where(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]):not([type=color]),select,textarea) {
    font-family: inherit; font-size: 14px; line-height: 1.5; color: var(--ui-ink); background: white; border: 1px solid #bec8d8; border-radius: 8px; padding: 10px 12px; min-height: 42px; max-width: 100%; box-shadow: none;
}
.abr-ui :where(input[type=checkbox],input[type=radio]) { width: 17px; height: 17px; min-height: 0; accent-color: var(--ui-accent); vertical-align: middle; flex: 0 0 auto; margin-inline-end: 6px; }
.abr-ui :where(textarea) { min-height: 100px; resize: vertical; }
.abr-ui select[multiple] { min-height: 150px; padding: 6px; }
.abr-ui select[multiple] option { padding: 7px; border-radius: 4px; }
.abr-ui :where(label) { font-size: 13px; color: #33415b; font-weight: 600; }
.abr-ui :where(input,select,textarea):disabled { background: #f0f2f6; color: #667085; cursor: not-allowed; }
.abr-ui :where(.abr-form-grid,.abr-form-row) { gap: 16px; }
.abr-ui .form-table { margin-top: 0; }
.abr-ui .form-table th { width: 180px; padding: 17px 16px 12px 0; font-size: 13px; }
.abr-ui .form-table td { padding: 10px 0; }
.abr-ui .form-table :where(input.regular-text,textarea.large-text,select) { max-width: 100%; }
.abr-ui :where(button,.button,input[type=submit],.abr-button,.abr-login-required-button) {
    font-family: inherit; font-size: 13px; font-weight: 650; line-height: 1.5; min-height: 40px; padding: 9px 15px; border-radius: 8px; cursor: pointer; text-decoration: none; transition: background-color .15s,border-color .15s; box-shadow: none;
}
.abr-ui :where(.abr-button,.button-primary,button[type=submit],input[type=submit],.abr-portal-form button,.abr-login-required-button) { background: var(--ui-accent); color: white; border: 1px solid var(--ui-accent); }
.abr-ui :where(.abr-button,.button-primary,button[type=submit],input[type=submit]):hover { background: #3730a3; color: white; border-color: #3730a3; }
.abr-ui .abr-ui-content button[type=submit],.abr-ui .abr-ui-content .abr-button,.abr-ui .abr-ui-content .button-primary,.abr-ui .abr-ui-content input[type=submit] { background: var(--ui-accent); border-color: var(--ui-accent); color: #fff; }
.abr-ui .abr-ui-content button[type=submit]:hover,.abr-ui .abr-ui-content .abr-button:hover,.abr-ui .abr-ui-content .button-primary:hover { background: #3730a3; border-color: #3730a3; }
.abr-ui .abr-ui-content .abr-button-secondary { background: white; border-color: #cbd3e1; color: #394760 !important; }
.abr-ui :where(.abr-button-secondary,.button-secondary,.button:not(.button-primary)) { background: white; color: #394760; border: 1px solid #cbd3e1; }
.abr-ui :where(.abr-button-secondary,.button-secondary,.button:not(.button-primary)):hover { background: #f1f3fa; color: #252f46; }
.abr-ui :where(.abr-tab-nav,.nav-tab-wrapper,.abr-prop-filters,.abr-portal-quick-nav) { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 6px; border-radius: 10px; background: #eaeef6; margin: 16px 0 24px; }
.abr-ui :where(.abr-tab-nav a,.nav-tab,.abr-prop-filters a,.abr-portal-quick-nav a) { color: #46536b; font-size: 13px; padding: 9px 13px; margin: 0; border: 1px solid transparent; border-radius: 7px; background: transparent; text-decoration: none; font-weight: 600; }
.abr-ui :where(.abr-tab-nav a.is-active,.abr-tab-nav a.active,.nav-tab-active,.abr-prop-filters a.is-active) { background: white; color: #3730a3; border-color: var(--ui-line); box-shadow: 0 1px 3px #182b4410; }
.abr-ui .abr-ui-table-scroll { max-width: 100%; overflow: auto; border: 1px solid var(--ui-line); border-radius: 10px; background: white; margin: 14px 0 22px; overscroll-behavior-inline: contain; }
.abr-ui .abr-ui-table-scroll table { margin: 0; border: 0; border-radius: 0; width: 100%; border-collapse: collapse; background: white; font-size: 13px; }
.abr-ui .abr-ui-table-scroll :where(th,td) { padding: 13px 15px; text-align: start; vertical-align: top; border: 0; border-bottom: 1px solid #e8ecf3; color: var(--ui-ink); min-width: 85px; }
.abr-ui .abr-ui-table-scroll thead th { background: #f7f8fc; color: var(--ui-muted); font-size: 11px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.abr-ui .abr-ui-table-scroll tbody tr:nth-child(even) { background: #fcfcfe; }
.abr-ui .abr-ui-table-scroll tbody tr:hover { background: #f6f5ff; }
.abr-ui .abr-ui-table-scroll tr:last-child td { border-bottom: 0; }
.abr-ui .abr-ui-table-scroll form { border: 0; background: transparent; padding: 0; margin: 0; min-width: 140px; }
.abr-ui :where(.abr-status,.abr-status-pill,.abr-prop-pill,.abr-badge) { display: inline-block; padding: 4px 9px; border-radius: 6px; font-size: 11px; line-height: 1.5; font-weight: 700; }
.abr-ui :where(.abr-status-approved,.abr-status-accepted,.abr-status-success) { background: #e5f6ed; color: #16633c; }
.abr-ui :where(.abr-status-pending,.abr-status-pending_approval,.abr-status-warning) { background: #fff2d6; color: #87510a; }
.abr-ui :where(.abr-status-rejected,.abr-status-error,.abr-status-declined) { background: #fde9e9; color: #a12323; }
.abr-ui :where(.notice,.abr-alert,.abr-notice,.abr-portal-notice) { border-radius: 9px; padding: 14px 18px; margin: 16px 0; box-shadow: none; font-size: 13px; }
.abr-ui :where(.abr-empty,.abr-empty-state,.abr-portal-empty) { padding: 28px; border: 1px dashed #bec8d8; border-radius: 12px; background: #fafbfe; color: var(--ui-muted); text-align: center; }
.abr-ui details:not(.abr-ui-menu) { border: 1px solid var(--ui-line); border-radius: 10px; padding: 12px 16px; margin-block: 12px; background: white; }
.abr-ui summary { cursor: pointer; font-weight: 650; min-height: 28px; }
.abr-ui .abr-prop-builder { grid-template-columns: minmax(0,1fr) 280px; gap: 20px; }
.abr-ui :where(.abr-prop-panel,.abr-prop-box,.abr-pi,.abr-prop-summary,.abr-prop-action) { border-color: var(--ui-line); border-radius: 12px; box-shadow: none; }
.abr-ui .abr-prop-panel { background: white; padding: 20px; }
.abr-ui .abr-pi.is-on { border-color: #ada8f1; background: #faf9ff; }
.abr-ui .abr-prop-summary { background: white; color: var(--ui-ink); border: 1px solid var(--ui-line); }
.abr-ui .abr-prop-summary :where(small,.abr-muted) { color: var(--ui-muted); }
.abr-ui .abr-prop-bonus strong { color: #16633c; }
.abr-ui :where(.abr-prop-flag,.abr-prop-std-flag) { font-size: 12px; line-height: 1.6; }
.abr-ui :where(.abr-prop-totals,.abr-prop-summary) strong { font-variant-numeric: tabular-nums; }
.abr-ui .abr-ui-submit-status { display: inline-block; margin: 10px; color: var(--ui-muted); font-size: 12px; }
.abr-ui [aria-busy=true] { cursor: progress; }
.abr-ui :where(.abr-help-layout) { gap: 20px; }
.abr-ui :where(.abr-login-wrap) { max-width: 760px; margin: 20px auto; }
.abr-ui .abr-login-card { border: 1px solid var(--ui-line); box-shadow: var(--ui-shadow); border-radius: 16px; }
.abr-ui :where(.abr-bar-fill,.abr-chart-bar-fill) { background: var(--ui-accent); border-radius: 5px; }
@media (max-width: 1180px) {
    .abr-ui { grid-template-columns: 200px minmax(0,1fr); }
    .abr-ui .abr-ui-content { padding: 22px; }
    .abr-ui .abr-prop-builder,.abr-ui .abr-portal-shell { grid-template-columns: minmax(0,1fr); }
    .abr-ui .abr-prop-summary { position: static; }
}
@media (max-width: 900px) {
    .abr-ui .abr-settings-grid { grid-template-columns: minmax(0,1fr); }
    .abr-ui .abr-form-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 760px) {
    body.abr-command-page { padding: 0 8px; }
    .abr-ui { grid-template-columns: minmax(0,1fr); margin: 12px 0; border-radius: 12px; min-height: 0; align-content: start; }
    .abr-ui .abr-ui-rail { padding: 14px; border-inline-end: 0; border-bottom: 1px solid var(--ui-line); }
    .abr-ui .abr-ui-brand { padding: 0 0 8px; }
    .abr-ui .abr-ui-menu > summary { min-height: 42px; padding: 10px; background: var(--ui-soft); border-radius: 7px; }
    .abr-ui .abr-ui-rail nav { padding-top: 8px; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .abr-ui .abr-ui-profile { display: none; }
    .abr-ui .abr-ui-section-index { margin-top: 10px; }
    .abr-ui .abr-ui-topbar { padding: 12px 16px; min-height: 48px; }
    .abr-ui .abr-ui-content { padding: 16px; }
    .abr-ui :where(.abr-ui-panel,.abr-portal-section,.abr-report-section,.abr-admin-panel,.abr-prop-panel) { padding: 16px; }
    .abr-ui .form-table :where(th,td) { display: block; width: 100%; padding: 6px 0; }
    .abr-ui .form-table th { padding-top: 16px; }
    .abr-ui .abr-portal-admin > div[style*="display:flex"],.abr-ui .abr-portal-cards,.abr-ui .abr-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .abr-ui :where(.abr-portal-card,.abr-card) { padding: 15px; }
    .abr-ui :where(.abr-prop-decide,.abr-pi-grid,.abr-prop-grid,.abr-help-layout) { grid-template-columns: minmax(0,1fr); }
    .abr-ui :where(.abr-tab-nav,.abr-prop-filters) { gap: 3px; padding: 4px; }
    .abr-ui .abr-tab-nav a { padding: 9px 10px; }
    .abr-ui .abr-portal-admin .regular-text { width: 100%; }
    .abr-ui .abr-ui-filter-field { flex-basis: 100%; }
    .abr-ui .abr-report-header { display: block; }
    .abr-ui :where(button,.button,.abr-button) { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .abr-ui * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print {
    .abr-ui { display: block; border: 0; box-shadow: none; margin: 0; background: white; }
    .abr-ui :where(.abr-ui-rail,.abr-ui-topbar,.abr-ui-skip,.no-print) { display: none !important; }
    .abr-ui .abr-ui-content { padding: 0; }
    .abr-ui .abr-ui-table-scroll { overflow: visible; border: 0; }
    .abr-ui .abr-ui-panel { box-shadow: none; break-inside: auto; }
}

/* Portal form contrast: theme color overrides stop at the application boundary.
 * Only color properties are enforced; dimensions, validation borders, focus,
 * native arrows and submission behavior remain owned by existing components. */
:is(.abr-ui,.abr-portal-admin) { color-scheme: light; }
:is(.abr-ui,.abr-portal-admin) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]):not([type=reset]):not([type=color]):not([type=range]):not([type=file]):not([type=image]),select,textarea) {
    background-color: var(--ui-field-bg, #fff) !important;
    color: var(--ui-field-ink, #17243b) !important;
    color-scheme: light !important;
    -webkit-text-fill-color: var(--ui-field-ink, #17243b);
    caret-color: var(--ui-field-ink, #17243b);
}
:is(.abr-ui,.abr-portal-admin) :is(input,textarea)::placeholder { color: #5d6b80; opacity: 1; -webkit-text-fill-color: #5d6b80; }
:is(.abr-ui,.abr-portal-admin) :is(select option,select optgroup) { background-color: #fff; color: #17243b; }
:is(.abr-ui,.abr-portal-admin) :is(input,select,textarea):disabled { --ui-field-bg: #f0f2f6; --ui-field-ink: #526179; opacity: 1; }
:is(.abr-ui,.abr-portal-admin) :is(input,textarea)[readonly] { --ui-field-bg: #f7f8fb; }
:is(.abr-ui,.abr-portal-admin) textarea.is-changed { --ui-field-bg: #fffbeb; }
:is(.abr-ui,.abr-portal-admin) :is(input,select,textarea)[aria-invalid=true],
:is(.abr-ui,.abr-portal-admin) :is(input,select,textarea):user-invalid { border-color: #b42318; }
:is(.abr-ui,.abr-portal-admin) input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px var(--ui-field-bg, #fff) inset; -webkit-text-fill-color: var(--ui-field-ink, #17243b) !important; caret-color: #17243b; }
:is(.abr-ui,.abr-portal-admin) input:autofill { background-color: var(--ui-field-bg, #fff) !important; color: var(--ui-field-ink, #17243b) !important; }
@media (forced-colors: active) {
    :is(.abr-ui,.abr-portal-admin) :is(input,select,textarea) { forced-color-adjust: auto; }
}

:is(.abr-ui,.abr-portal-admin) :is(label,legend) { color: #33415b !important; }
:is(.abr-ui,.abr-portal-admin) select option:disabled { color: #667085; }

@media (forced-colors: active) {
    :is(.abr-ui,.abr-portal-admin) :is(input,select,textarea) { background-color: Canvas !important; color: CanvasText !important; -webkit-text-fill-color: CanvasText !important; caret-color: CanvasText; }
    :is(.abr-ui,.abr-portal-admin) :is(input,select,textarea):disabled { color: GrayText !important; -webkit-text-fill-color: GrayText !important; }
    :is(.abr-ui,.abr-portal-admin) :is(label,legend,option,optgroup) { background-color: Canvas; color: CanvasText !important; }
}

/* Conditional telemarketing controls must override shared label display rules. */
:is(.abr-ui,.abr-portal-admin) .abr-call-form [hidden] { display: none !important; }

:is(.abr-ui,.abr-portal-admin) .abr-sales-audit { white-space: pre-wrap; overflow-wrap: anywhere; max-inline-size: 100%; }
