/* Shared readability settings. Loaded after page styles and locale adjustments. */
:root {
    --text: #283342;
    --ink: #283342;
    --muted: #536170;
}
html[lang] body { font-size: 16px; line-height: 1.7; }
html[lang] :is(.intro, .page-heading p, .breadcrumbs, .topbar-caption,
    .member-identity, .member-identity small, .page-footer, .workspace-footer,
    .record-count, .table-footer, .record-time-note, .member-footnote,
    .member-list-meta, .member-pagination, .person-name, .protected-label,
    .profile-heading p, .profile-details dt, .account-details dt,
    .member-form-title p, .section-hint, .optional, .field small, .member-field small) {
    color: #536170;
    font-size: 14px;
    line-height: 1.8;
}
html[lang] :is(.form-wrap > .eyebrow, .back-link, .back-records, .reset-filter,
    .record-reset, .language-switch a, .member-list-meta b, .required, .required-mark) {
    color: #805000;
    font-size: 14px;
}
html[lang] .language-switch a[aria-current] { color: #704500; font-weight: 700; }
html[lang] :is(h2, .page-heading h1, .profile-heading h2, .member-form-title h2) { color: #283342; }
html[lang] h2 { font-size: 34px; }
html[lang] .page-heading h1 { font-size: 30px; font-weight: 600; }
html[lang] :is(.profile-heading h2, .member-form-title h2, .delete-confirmation h2) { font-size: 20px; font-weight: 600; }
html[lang] :is(label, .filter-controls label, .member-filter label, .record-list-controls > label,
    .member-field label, .column-options label, .column-options strong) {
    color: #3e4958;
    font-size: 15px;
    font-weight: 550;
}
html[lang] :is(input, select, .filter-controls input, .filter-controls select,
    .member-filter input, .member-filter select, .member-field input,
    .member-field select, .record-list-controls select, .search-field input,
    .record-list-controls .search-field input) {
    color: #283342;
    font-size: 16px;
    min-height: 44px;
    border-color: #919cab;
}
html[lang] input::placeholder { color: #687383; opacity: 1; }
html[lang] :is(input[readonly], input:disabled, select:disabled) { color: #596575; background: #f2f4f7; }
html[lang] :is(.button, .member-button, .toolbar-button, .password-toggle,
    .member-password button, .captcha-refresh, .text-button,
    .switch-page, .member-dropdown a, .member-dropdown button) {
    font-size: 15px;
    line-height: 1.6;
}
html[lang] :is(.button, .member-button, .toolbar-button, .captcha-refresh) { min-height: 44px; }
html[lang] :is(.member-button:not(.primary):not(.danger), .toolbar-button, .password-toggle,
    .member-password button, .captcha-refresh, .text-button) { color: #69450b; }
html[lang] :is(.member-button:disabled, .toolbar-button:disabled) { color: #637080; opacity: 1; }
html[lang] :is(.password-input input, .member-password input) { padding-right: 76px; }
html[lang] .password-toggle { top: 7px; }
html[lang] .member-password button { top: 5px; height: 34px; }
html[lang] :is(.icon-button, .menu-toggle) { min-width: 44px; height: 44px; color: #536170; }
html[lang] .nav-item { font-size: 16px; color: #e0e4eb; padding-block: 19px; }
html[lang] .subnav a { font-size: 15px; color: #d3d9e3; min-height: 47px; }
html[lang] :is(.nav-item.active, .nav-item.group-active, .subnav a.selected) { color: #fff; font-weight: 600; }
html[lang] .nav-item small { font-size: 11px; color: #d2d8e2; border-color: #828c9d; }
html[lang] .sidebar-footer { font-size: 13px; color: #d2d8e2; }
html[lang] .sidebar-footer small { font-size: 11px; color: #d2d8e2; }
html[lang] .topbar { min-height: 88px; height: auto; padding-block: 12px; }
html[lang] .member-identity > span { font-size: 15px; color: #3e4958; }
html[lang] .member-identity small { font-size: 13px; }
html[lang] .member-dropdown { min-width: 260px; }
html[lang] .member-dropdown p { font-size: 14px; color: #536170; }
html[lang] .member-dropdown strong { font-size: 14px; color: #805000; }
html[lang] .page-badge { font-size: 13px; color: #805000; }
html[lang] :is(.records-table th, .members-table th) {
    font-size: 15px;
    font-weight: 650;
    color: #364151;
    background: #eef1f5;
    padding: 17px 15px;
}
html[lang] :is(.records-table td, .members-table td, .live-records-table td) {
    font-size: 15px;
    color: #3e4958;
    padding: 17px 15px;
    line-height: 1.8;
}
html[lang] :is(.account-name, .profile-details dd, .account-details dd) { font-size: 16px; color: #283342; }
html[lang] .account-name { font-weight: 650; }
html[lang] .person-name { font-size: 14px; }
html[lang] .person-name small { font-size: 12px; color: #536170; }
html[lang] :is(.role-label, .status-label) { font-size: 13px; }
html[lang] .role-label { color: #46556a; }
html[lang] .role-label.highest { color: #805000; }
html[lang] .status-label.enabled { color: #286044; }
html[lang] .status-label.disabled { color: #735151; }
html[lang] .member-actions a { font-size: 15px; color: #805000; }
html[lang] .member-actions a.danger-link { color: #a1322b; }
html[lang] .live-records-table .gps-warning { color: #b12626; font-weight: 600; }
html[lang] :is(.member-panel time, .member-list-meta strong, .member-pagination a) { font-size: 14px; color: #465365; }
html[lang] .member-pagination a { min-width: 36px; height: 36px; }
html[lang] .member-pagination a[aria-current] { color: #704500; font-weight: 650; }
html[lang] .empty-state strong { font-size: 17px; font-weight: 600; color: #465365; }
html[lang] .empty-state p { font-size: 15px; color: #536170; }
html[lang] :is(.notice, .member-notice, .service-error, .registration-note,
    .member-warning, .location-note, .form-status, .workspace-status,
    .member-form-actions [role=status]) { font-size: 14px; line-height: 1.85; }
html[lang] :is(.registration-note, .member-warning, .location-note, .workspace-status,
    .member-form-actions [role=status]) { color: #73501c; }
html[lang] .switch-page { color: #536170; }
html[lang] .record-list-controls { gap: 10px; }
html[lang] .record-list-controls .search-field input { width: 240px; padding-left: 36px; }
html[lang] .filter-controls input { width: 170px; }
html[lang] .records-filter-form .filter-controls .zone-control select { width: 190px; }
html[lang] .route-control select { width: 220px; }
html[lang] .records-toolbar { gap: 20px; }
html[lang] .column-options { min-width: 210px; }
html[lang] .column-options input { min-height: auto; width: 16px; height: 16px; }
html[lang] .member-search { max-width: 520px; }
html[lang] .workspace-brand > span { font-size: 20px; }
@media (max-width: 1100px) {
    html[lang] .nav-item { font-size: 15px; padding-inline: 16px; gap: 9px; }
    html[lang] .nav-item small { font-size: 10px; }
    html[lang] .nav-item.unavailable { white-space: normal; }
    html[lang] .records-table { min-width: 1000px; }
}
@media (max-width: 760px) {
    html[lang] .page-heading { align-items: flex-start; flex-wrap: wrap; }
    html[lang] .page-heading h1 { font-size: 26px; }
    html[lang] h2 { font-size: 30px; }
    html[lang] :is(.profile-heading h2, .member-form-title h2, .delete-confirmation h2) { font-size: 20px; }
    html[lang] .member-fields { gap: 24px; }
    html[lang] .language-switch { font-size: 13px; gap: 8px; }
    html[lang] .language-switch a { font-size: 13px; }
    html[lang] .topbar { gap: 7px; padding-inline: 12px; }
    html[lang] .member-identity > span { max-width: 132px; font-size: 14px; }
    html[lang] .member-identity small { font-size: 12px; }
    html[lang] .member-menu > summary { padding-inline: 3px; gap: 5px; }
    html[lang] .member-menu > summary > .icon { width: 11px; }
    html[lang] .filter-controls input { width: 100%; }
    html[lang] .route-control select { width: 100%; }
    html[lang] .record-list-controls { justify-content: flex-start; }
    html[lang] .record-list-controls .search-field { flex-basis: 100%; }
    html[lang] .record-list-controls .search-field input { width: 100%; }
    html[lang] .table-actions { flex-wrap: wrap; }
    html[lang] .auto-toggle { flex-basis: 100%; margin-right: 0; }
    html[lang] .member-pagination { gap: 16px; }
    html[lang] .workspace-footer { font-size: 13px; }
}
/* Keep the orange/gold identity while making white brand text readable. */
html[lang] .brand-panel { background: #a86505; }
html[lang] :is(.brand-description, .brand-footer, .brand-tags span,
    .route-label, .brand-content > .eyebrow) {
    color: #fff;
    font-size: 14px;
    line-height: 1.8;
}
html[lang] .brand-description { font-size: 16px; }
html[lang] .brand-caption { font-size: 17px; color: #fff; }
@media (min-width: 761px) and (max-height: 760px) {
    html[lang] .brand-panel { padding-top: 28px; }
    html[lang] .brand-content { padding-block: 28px 18px; }
    html[lang] .patrol-graphic { margin-block: 18px; }
}
@media (max-width: 760px) {
    html[lang] .brand-caption { font-size: 15px; }
}
