:root {
    color-scheme: light;
    --tpros-navy: #14233d;
    --tpros-navy-deep: #0e1a30;
    --tpros-navy-soft: #203553;
    --tpros-gold: #b49a66;
    --tpros-gold-soft: #f5efe3;
    --tpros-ink: #17253b;
    --tpros-muted: #65748b;
    --tpros-line: #e7e5df;
    --tpros-surface: #ffffff;
    --tpros-canvas: #f6f5f1;
    --tpros-radius: 12px;
    --tpros-shadow: 0 6px 18px rgb(20 35 61 / 4%);
}

body.fi-body {
    background: var(--tpros-canvas) !important;
    color: var(--tpros-ink);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.fi-main {
    padding-top: 1.75rem;
    padding-bottom: 3rem;
}

.fi-header {
    margin-bottom: 1.5rem;
}

.fi-header-heading,
.fi-section-header-heading,
.fi-wi-stats-overview-header-heading {
    color: var(--tpros-ink) !important;
    letter-spacing: -0.025em;
}

.fi-header-subheading,
.fi-section-header-description,
.fi-wi-stats-overview-header-description {
    color: var(--tpros-muted) !important;
}

/* Navy navigation gives the system a clear institutional identity. */
.fi-sidebar,
.fi-sidebar-header,
.fi-sidebar-nav {
    background: var(--tpros-navy-deep) !important;
}

.fi-sidebar {
    border-right: 1px solid rgb(255 255 255 / 7%);
}

.fi-sidebar-header {
    border-bottom: 1px solid rgb(255 255 255 / 9%);
    box-shadow: none !important;
}

.fi-sidebar-header .tpros-compact-brand span:first-child {
    color: #f4bb43 !important;
}

.fi-sidebar-header .tpros-compact-brand span:last-child {
    color: #b8c4d6 !important;
}

.fi-sidebar-group-label {
    color: #9eacc1 !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fi-sidebar-group-collapse-button,
.fi-sidebar-group-collapse-button svg {
    color: #9eacc1 !important;
}

.fi-sidebar-item-button {
    border-radius: 0.7rem !important;
    color: #d3dbea !important;
    transition: background-color 150ms ease, color 150ms ease;
}

.fi-sidebar-item-button:hover,
.fi-sidebar-group-button:hover {
    background: rgb(255 255 255 / 7%) !important;
    color: #ffffff !important;
}

.fi-sidebar-item-button .fi-sidebar-item-icon {
    color: #aab7ca !important;
}

.fi-sidebar-item.fi-active > .fi-sidebar-item-button {
    background: rgb(209 139 8 / 17%) !important;
    box-shadow: inset 3px 0 0 #e2a529;
    color: #ffd36d !important;
}

.fi-sidebar-item.fi-active > .fi-sidebar-item-button .fi-sidebar-item-icon {
    color: #f4bb43 !important;
}

.fi-sidebar-item-badge {
    border-color: rgb(255 255 255 / 13%);
}

.fi-topbar nav {
    background: var(--tpros-navy) !important;
    border-bottom: 1px solid rgb(255 255 255 / 8%);
    box-shadow: 0 4px 16px rgb(14 26 48 / 12%) !important;
    color: #f7f9fc;
}

.fi-topbar nav button,
.fi-topbar nav a,
.fi-topbar nav svg {
    color: #e2e8f0;
}

.fi-topbar nav button:hover,
.fi-topbar nav a:hover {
    background-color: rgb(255 255 255 / 9%);
}

/* Shared surfaces for pages, tables, dashboard widgets and forms. */
.fi-section,
.fi-wi-stats-overview-stat,
.fi-wi-chart,
.fi-wi-table,
.fi-ta-ctn,
.fi-simple-main {
    border: 1px solid var(--tpros-line) !important;
    border-radius: var(--tpros-radius) !important;
    background: var(--tpros-surface) !important;
    box-shadow: var(--tpros-shadow) !important;
}

.fi-section-header,
.fi-section-footer {
    border-color: var(--tpros-line) !important;
}

.fi-ta-ctn,
.fi-wi-table {
    overflow: hidden;
}

.fi-ta-header-toolbar,
.fi-ta-filters,
.fi-ta-pagination,
.fi-ta-content-ctn {
    background: #ffffff !important;
}

.fi-ta-header-cell {
    background: #f7f9fc !important;
    color: #506078 !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.fi-ta-row {
    border-color: #edf0f5 !important;
}

.fi-ta-row:hover {
    background: #f9fafc !important;
}

.fi-ta-cell,
.fi-ta-text-item {
    color: #29384f;
}

.fi-fo-field-wrp-label,
.fi-fo-field-wrp-label label {
    color: #34445c !important;
    font-weight: 600 !important;
}

.fi-input-wrp,
.fi-select-input,
.fi-fo-textarea textarea,
.fi-fo-text-input input,
.fi-fo-select .choices__inner,
.fi-fo-date-time-picker input,
.fi-fo-key-value .fi-input-wrp {
    border-color: #d9e0ea !important;
    background: #ffffff !important;
    color: var(--tpros-ink) !important;
    box-shadow: 0 1px 2px rgb(20 35 61 / 3%);
}

.fi-input-wrp:focus-within,
.fi-fo-textarea textarea:focus,
.fi-fo-text-input input:focus {
    border-color: #d39a2d !important;
    box-shadow: 0 0 0 3px rgb(209 139 8 / 14%) !important;
}

.fi-btn {
    border-radius: 0.7rem !important;
    font-weight: 650 !important;
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.fi-btn-color-primary:not(.fi-btn-outlined) {
    box-shadow: 0 4px 10px rgb(209 139 8 / 17%);
}

.fi-btn-color-primary:not(.fi-btn-outlined):hover {
    box-shadow: 0 7px 16px rgb(209 139 8 / 22%);
    transform: translateY(-1px);
}

.fi-pagination-item button,
.fi-pagination-item a,
.fi-ta-filters-trigger,
.fi-ta-col-toggle {
    border-radius: 0.65rem !important;
}

/* Login and account pages use a restrained, branded canvas. */
.fi-simple-layout {
    background:
        radial-gradient(ellipse at 18% 15%, rgb(229 190 108 / 13%), transparent 34%),
        radial-gradient(ellipse at 88% 84%, rgb(47 81 126 / 10%), transparent 36%),
        #f3f5f9;
    padding: 1rem;
}

.fi-simple-main {
    max-width: 32rem;
    padding: 2.5rem !important;
}

.tpros-login-brand {
    gap: 0.08rem;
}

.tpros-login-name {
    color: #bd7900 !important;
    font-size: 1.65rem !important;
    letter-spacing: 0.2em !important;
}

.tpros-login-title {
    color: #263750 !important;
    font-size: 0.93rem !important;
    letter-spacing: 0.075em !important;
    line-height: 1.55 !important;
}

/* Bring the hand-built module dashboards into the same light design system. */
.tpros-dashboard [class~="bg-gray-900/80"],
.tpros-dashboard [class~="bg-gray-900"] {
    background-color: #ffffff !important;
}

.tpros-dashboard [class~="border-gray-800"] {
    border-color: var(--tpros-line) !important;
}

.tpros-dashboard [class~="border-white/10"],
.tpros-dashboard [class~="border-white/5"] {
    border-color: #e8edf3 !important;
}

.tpros-dashboard [class~="bg-white/5"],
.tpros-dashboard [class~="bg-white/[0.03]"],
.tpros-dashboard [class~="bg-white/[0.02]"] {
    background-color: #f4f6fa !important;
}

.tpros-dashboard [class~="text-white"],
.tpros-dashboard [class~="text-gray-100"],
.tpros-dashboard [class~="text-gray-200"] {
    color: #1c2c44 !important;
}

.tpros-dashboard [class~="text-gray-300"],
.tpros-dashboard [class~="text-gray-400"] {
    color: #5d6c82 !important;
}

.tpros-dashboard [class~="text-gray-500"] {
    color: #78869a !important;
}

.tpros-dashboard-hero {
    border: 1px solid rgb(242 191 81 / 30%) !important;
    background: linear-gradient(118deg, #14233d 0%, #1d3555 64%, #263c59 100%) !important;
    box-shadow: 0 15px 34px rgb(20 35 61 / 16%) !important;
}

.tpros-dashboard-hero [class~="text-white"] {
    color: #ffffff !important;
}

.tpros-dashboard-hero [class~="text-gray-300"] {
    color: #d2dbea !important;
}

.tpros-dashboard-hero [class~="text-primary-300"] {
    color: #f4c45f !important;
}

.tpros-dashboard table {
    color: #33445d;
}

.tpros-dashboard thead {
    background: #f5f7fa !important;
    color: #506078 !important;
}

.tpros-dashboard tbody tr {
    border-color: #e8edf3 !important;
}

@media (max-width: 767px) {
    .fi-main {
        padding-top: 1.1rem;
        padding-bottom: 2rem;
    }

    .fi-simple-layout {
        padding: 0.5rem;
    }

    .fi-simple-main {
        padding: 2rem 1.25rem !important;
    }
}
.fi-dropdown-panel,
.fi-modal-window,
.fi-notifications {
    border-color: var(--tpros-line) !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 45px rgb(20 35 61 / 15%) !important;
}

.fi-tabs-item.fi-active {
    color: #9a6400 !important;
}

.fi-tabs-item.fi-active::after {
    background: #d18b08 !important;
}

.tpros-library-dashboard [class~="grid-cols-12"] {
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
}

/* Exclusive institutional finish shared by all panel pages. */
.fi-sidebar-header .tpros-compact-brand span:first-child { color: #ddcba5 !important; letter-spacing: .08em; }
.fi-sidebar-item.fi-active > .fi-sidebar-item-button { background: rgb(255 255 255 / 6%) !important; box-shadow: inset 2px 0 0 var(--tpros-gold); color: #eadcbe !important; }
.fi-sidebar-item.fi-active > .fi-sidebar-item-button .fi-sidebar-item-icon { color: #cdbb94 !important; }
.fi-topbar nav { background: #fff !important; border-bottom: 1px solid var(--tpros-line); box-shadow: none !important; color: var(--tpros-ink); }
.fi-topbar nav button, .fi-topbar nav a, .fi-topbar nav svg { color: #657588; }
.fi-topbar nav button:hover, .fi-topbar nav a:hover { background-color: #f4f3ef; }
.fi-avatar { object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 1px #cabb9c; }
.fi-ta-header-cell { background: #f8f7f3 !important; text-transform: none; letter-spacing: 0; font-weight: 500 !important; }
.fi-ta-row:hover { background: #faf9f6 !important; }
.fi-btn { font-weight: 500 !important; }
.fi-btn-color-primary:not(.fi-btn-outlined) { box-shadow: 0 3px 8px rgb(24 53 77 / 10%); }
.fi-btn-color-primary:not(.fi-btn-outlined):hover { box-shadow: 0 5px 12px rgb(24 53 77 / 14%); }
.fi-input-wrp:focus-within, .fi-fo-textarea textarea:focus, .fi-fo-text-input input:focus { border-color: #b49a66 !important; box-shadow: 0 0 0 3px rgb(180 154 102 / 12%) !important; }
.fi-tabs-item.fi-active { color: #18354d !important; }
.fi-tabs-item.fi-active::after { background: var(--tpros-gold) !important; }
.fi-wi-stats-overview-stat { padding: 1.5rem !important; }
.fi-wi-stats-overview-stat-value { font-weight: 500 !important; letter-spacing: -.04em; color: var(--tpros-ink); }
.fi-wi-stats-overview-stat-icon { color: #a58e60 !important; }
.fi-account-widget > .fi-section { border-top: 2px solid var(--tpros-gold) !important; }
.tpros-welcome { display:flex; align-items:center; gap:1.25rem; padding:.25rem; }
.tpros-welcome-avatar { flex-shrink:0; }
.tpros-welcome-avatar .fi-avatar { width:64px; height:64px; border:3px solid #fff; }
.tpros-welcome-greeting { font-size:.8rem; color:#7b8691; margin-bottom:.3rem; }
.tpros-welcome-name { font-size:1.4rem; font-weight:600; line-height:1.4; color:var(--tpros-ink); margin-bottom:.35rem; overflow-wrap:anywhere; letter-spacing:-.025em; }
.tpros-welcome-date { color:#8a7756; font-size:.73rem; margin-top:.65rem; }
.tpros-welcome-action { flex-shrink:0; margin-left:auto; }
.tpros-dashboard-hero { background:var(--tpros-surface) !important; border:1px solid var(--tpros-line) !important; border-top:2px solid var(--tpros-gold) !important; box-shadow:var(--tpros-shadow) !important; }
.tpros-dashboard-hero [class~="text-white"] { color:var(--tpros-ink) !important; }
.tpros-dashboard-hero [class~="text-gray-300"] { color:var(--tpros-muted) !important; }
.tpros-dashboard-hero [class~="text-primary-300"] { color:#8a7756 !important; }
.tpros-dashboard-hero a { background:#18354d !important; color:#fff !important; box-shadow:none !important; }
.tpros-profile-photo .filepond--root { width:112px !important; }
.fi-fo-file-upload .filepond--panel-root { background:#f5f4ef; }
@media(max-width:640px) {
    .tpros-welcome { flex-wrap:wrap; gap:1rem; }
    .tpros-welcome-name { font-size:1.15rem; }
    .tpros-welcome-action { width:100%; margin-top:.5rem; }
    .fi-wi-stats-overview-stat { padding:1.25rem !important; }
}

.tpros-inventory-dashboard [class~="grid-cols-6"] {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

@media (max-width: 640px) {
    .tpros-library-dashboard [class~="grid-cols-12"] {
        min-width: 720px;
    }

    .tpros-inventory-dashboard [class~="grid-cols-6"] {
        min-width: 540px;
    }
}


/* Compact T-PROS wordmark for the dashboard top bar. */
.tpros-topbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex: 0 0 auto;
    margin-inline-end: 0.25rem;
    padding: 0.25rem 0.75rem 0.25rem 0.1rem;
    border-radius: 0.65rem;
    text-decoration: none !important;
    transition: background-color 150ms ease;
}

.tpros-topbar-brand:hover {
    background: #f8f7f3;
}

.tpros-topbar-brand:focus-visible {
    outline: 2px solid var(--tpros-gold);
    outline-offset: 2px;
}

.tpros-topbar-brand__mark {
    display: grid;
    width: 2.15rem;
    height: 2.15rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgb(180 154 102 / 42%);
    border-radius: 0.65rem;
    background: linear-gradient(145deg, #fff, var(--tpros-gold-soft));
    color: var(--tpros-navy);
    font-weight: 700;
}

.tpros-topbar-brand__copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    line-height: 1.1;
}

.tpros-topbar-brand__copy strong {
    color: var(--tpros-ink);
    font-size: 0.8rem;
    font-weight: 750;
    letter-spacing: 0.16em;
}

.tpros-topbar-brand__copy small {
    color: var(--tpros-muted);
    font-size: 0.52rem;
    font-weight: 600;
    letter-spacing: 0.065em;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .tpros-topbar-brand__copy small {
        display: none;
    }

    .tpros-topbar-brand {
        gap: 0.5rem;
        padding-inline-end: 0.25rem;
    }
}


/* Refined brand lockup: remove the duplicate monogram and clarify hierarchy. */
.fi-topbar .tpros-topbar-brand {
    display: inline-flex !important;
    align-items: center;
    min-height: 3.1rem;
    margin-inline-start: 0.75rem;
    margin-inline-end: 1.25rem;
    padding: 0.3rem 0.9rem;
        border-left: none;
    border-radius: 0 0.45rem 0.45rem 0;
    background: transparent !important;
}

.fi-topbar .tpros-topbar-brand:hover {
    background: #faf8f2 !important;
}

.fi-topbar .tpros-topbar-brand__copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start;
    gap: 0.22rem;
    line-height: 1.08;
}

.fi-topbar .tpros-topbar-brand__copy strong {
    display: block !important;
    color: var(--tpros-navy) !important;
    font-size: 1.12rem !important;
    font-weight: 750;
    letter-spacing: 0.12em;
    line-height: 1;
}

.fi-topbar .tpros-topbar-brand__copy small {
    display: block !important;
    color: #758194 !important;
    font-size: 0.72rem !important;
    font-weight: 600;
    letter-spacing: 0.055em;
    line-height: 1.1;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .fi-topbar .tpros-topbar-brand {
        margin-inline: 0.25rem;
        padding-inline: 0.55rem;
    }

    .fi-topbar .tpros-topbar-brand__copy strong {
        font-size: 0.92rem !important;
    }

    .fi-topbar .tpros-topbar-brand__copy small {
        font-size: 0.55rem !important;
        letter-spacing: 0.025em;
        white-space: normal;
    }
}


/* T-PROS visual system refresh — 19 Oct 2026 */
:root {
  --tpros-navy: #14283f;
  --tpros-navy-deep: #0d1b2a;
  --tpros-navy-soft: #263d56;
  --tpros-gold: #b28e4e;
  --tpros-gold-soft: #f3ead8;
  --tpros-ink: #1f2937;
  --tpros-muted: #5f6b78;
  --tpros-line: #e4e3de;
  --tpros-surface: #ffffff;
  --tpros-canvas: #f5f3ee;
  --tpros-radius: 12px;
  --tpros-shadow: 0 1px 2px rgba(20, 40, 63, .035), 0 8px 24px rgba(20, 40, 63, .045);
}

body.fi-body {
  background: var(--tpros-canvas) !important;
  color: var(--tpros-ink) !important;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -.005em;
}

.fi-main { padding-block: 2rem 3.5rem; }
.fi-header { margin-bottom: 1.75rem; gap: 1.25rem; }
.fi-header-heading {
  color: var(--tpros-navy) !important;
  font-size: clamp(1.7rem, 2.1vw, 2rem) !important;
  font-weight: 700 !important;
  line-height: 1.18;
  letter-spacing: -.035em !important;
}
.fi-header-subheading, .fi-section-header-description,
.fi-wi-stats-overview-stat-description { color: var(--tpros-muted) !important; }
.fi-section-header-heading, .fi-section-header-heading > span {
  color: var(--tpros-navy) !important;
  font-size: 1.05rem !important;
  font-weight: 650 !important;
  letter-spacing: -.015em;
}

.fi-sidebar {
  background: var(--tpros-navy-deep) !important;
  border-right: 1px solid rgba(255,255,255,.08);
}
.fi-sidebar-header { border-bottom: 1px solid rgba(255,255,255,.09); }
.fi-sidebar-item-button {
  min-height: 42px;
  border-radius: 8px !important;
  transition: background-color .16s ease, color .16s ease;
}
.fi-sidebar-item-button:hover { background: rgba(255,255,255,.07) !important; }
.fi-sidebar-item-button.fi-active,
.fi-sidebar-item-button[aria-current="page"] {
  background: rgba(178,142,78,.16) !important;
  box-shadow: inset 3px 0 0 var(--tpros-gold);
}
.fi-sidebar-item-button.fi-active .fi-sidebar-item-label,
.fi-sidebar-item-button.fi-active .fi-sidebar-item-icon,
.fi-sidebar-item-button[aria-current="page"] .fi-sidebar-item-label,
.fi-sidebar-item-button[aria-current="page"] .fi-sidebar-item-icon {
  color: #f4e6c5 !important;
}
.fi-sidebar-item-label { color: #c7d0db !important; font-size: .9rem; }
.fi-sidebar-group-label {
  color: #9eacbb !important;
  font-size: .7rem !important;
  font-weight: 700 !important;
  letter-spacing: .09em;
}

.fi-topbar {
  background: rgba(255,255,255,.96) !important;
  border-bottom: 1px solid var(--tpros-line);
  box-shadow: 0 2px 10px rgba(20,40,63,.025);
}
.fi-section, .fi-wi-widget, .fi-ta-ctn, .fi-modal-window,
.fi-dropdown-panel {
  border: 1px solid var(--tpros-line) !important;
  border-radius: var(--tpros-radius) !important;
  box-shadow: var(--tpros-shadow) !important;
}
.fi-section, .fi-wi-widget, .fi-ta-ctn { background: var(--tpros-surface); }
.fi-section { overflow: hidden; }
.fi-section-header { padding: 1.1rem 1.35rem !important; }
.fi-section-content { padding: 1.35rem !important; }

.fi-btn {
  min-height: 40px;
  border-radius: 8px !important;
  font-size: .9rem !important;
  font-weight: 600 !important;
  letter-spacing: -.005em;
  box-shadow: none !important;
  transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}
.fi-btn:active { transform: translateY(1px); }
.fi-btn-color-primary {
  background: var(--tpros-navy) !important;
  color: #fff !important;
  border-color: var(--tpros-navy) !important;
}
.fi-btn-color-primary:hover { background: var(--tpros-navy-soft) !important; }
.fi-btn-color-gray {
  background: #fff !important;
  color: var(--tpros-navy) !important;
  border: 1px solid #d9dfe5 !important;
}
.fi-btn-color-gray:hover { background: #f7f8fa !important; border-color: #b9c3cd !important; }

.fi-input-wrp {
  min-height: 46px;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: inset 0 0 0 1px #dfe3e7 !important;
}
.fi-input-wrp:focus-within {
  box-shadow: inset 0 0 0 1px var(--tpros-navy), 0 0 0 3px rgba(20,40,63,.12) !important;
}
.fi-input, .fi-select-input, .fi-textarea {
  color: var(--tpros-ink) !important;
  font-size: .95rem !important;
}
.fi-input::placeholder, .fi-textarea::placeholder { color: #8490a0 !important; }
.fi-fo-field-wrp-label, .fi-fo-field-wrp-label span {
  color: #344255 !important;
  font-size: .88rem !important;
  font-weight: 600 !important;
}
.fi-textarea { min-height: 148px; line-height: 1.65 !important; }

.fi-ta-header-ctn { background: #f8f7f4 !important; }
.fi-ta-header-cell { color: #536174 !important; font-size: .75rem !important; font-weight: 700 !important; letter-spacing: .045em; }
.fi-ta-row { border-color: #eceae5 !important; }
.fi-ta-row:hover { background: #faf9f6 !important; }
.fi-ta-cell { color: #344255; font-size: .9rem; }
.fi-ta-empty-state { padding-block: 2.5rem !important; }
.fi-breadcrumbs-item-label { color: var(--tpros-muted) !important; font-size: .85rem; }
.fi-wi-stats-overview-stat { border-radius: 10px !important; }
.fi-wi-stats-overview-stat-value { color: var(--tpros-navy) !important; font-weight: 700 !important; letter-spacing: -.035em; }
:focus-visible { outline: 3px solid rgba(178,142,78,.55); outline-offset: 2px; }

@media (max-width: 768px) {
  .fi-main { padding: 1.25rem 1rem 2.5rem; }
  .fi-header { margin-bottom: 1.25rem; }
  .fi-section-header, .fi-section-content { padding: 1rem !important; }
  .fi-btn { min-height: 42px; }
}


/* Golden Twilight from Coolors trending; neutral surface from Adobe Color Luxury. */
:root {
  --tpros-navy: #001d3d;
  --tpros-navy-deep: #000814;
  --tpros-navy-soft: #003566;
  --tpros-gold: #ffc300;
  --tpros-gold-soft: rgb(255 195 0 / 12%);
  --tpros-ink: #000814;
  --tpros-muted: rgb(0 29 61 / 72%);
  --tpros-line: rgb(0 29 61 / 12%);
  --tpros-surface: #ffffff;
  --tpros-canvas: #f2f2f2;
  --tpros-radius: 12px;
  --tpros-shadow: 0 6px 18px rgb(0 8 20 / 6%);
}
body.fi-body { background: var(--tpros-canvas) !important; color: var(--tpros-ink) !important; }
.fi-sidebar, .fi-sidebar-header, .fi-sidebar-nav { background: #000814 !important; color: #ffffff !important; }
.fi-sidebar-item-button { color: rgb(255 255 255 / 78%) !important; }
.fi-sidebar-item-button:hover { background: rgb(255 255 255 / 8%) !important; color: #ffffff !important; }
.fi-sidebar-item.fi-active > .fi-sidebar-item-button { background: rgb(255 195 0 / 12%) !important; box-shadow: inset 3px 0 0 #ffc300 !important; color: #ffffff !important; }
.fi-sidebar-item.fi-active .fi-sidebar-item-icon { color: #ffd60a !important; }
.fi-sidebar-group-label, .fi-sidebar-header .tpros-compact-brand span:first-child { color: #ffd60a !important; }
.fi-topbar nav { background: #ffffff !important; border-bottom: 1px solid var(--tpros-line) !important; color: var(--tpros-ink) !important; }
.fi-topbar nav button, .fi-topbar nav a, .fi-topbar nav svg { color: #003566 !important; }
.fi-topbar nav button:hover, .fi-topbar nav a:hover { background: rgb(0 29 61 / 5%) !important; }
.fi-header-heading, .fi-section-header-heading, .fi-wi-stats-overview-header-heading { color: var(--tpros-ink) !important; }
.fi-section, .fi-wi, .fi-ta-ctn, .fi-modal-window { background: #ffffff !important; border-color: var(--tpros-line) !important; box-shadow: var(--tpros-shadow) !important; }
.fi-input-wrp, .fi-fo-textarea textarea, .fi-fo-text-input input, .fi-fo-select-input select { background: #ffffff !important; border-color: var(--tpros-line) !important; color: var(--tpros-ink) !important; }
.fi-input-wrp:focus-within, .fi-fo-textarea textarea:focus, .fi-fo-text-input input:focus { border-color: #ffc300 !important; box-shadow: 0 0 0 3px rgb(255 195 0 / 18%) !important; }
.fi-btn-color-primary:not(.fi-btn-outlined) { background: #001d3d !important; color: #ffffff !important; box-shadow: 0 3px 8px rgb(0 29 61 / 14%) !important; }
.fi-btn-color-primary:not(.fi-btn-outlined):hover { background: #003566 !important; }
.fi-tabs-item.fi-active { color: #001d3d !important; border-color: #ffc300 !important; }
.fi-wi-stats-overview-stat-icon { color: #003566 !important; }
.fi-ta-header-ctn, .fi-ta-header-cell { background: #f2f2f2 !important; color: #001d3d !important; }
.fi-ta-row { border-color: var(--tpros-line) !important; }
.fi-ta-row:hover { background: rgb(0 29 61 / 3%) !important; }
.tpros-dashboard-hero { border-color: rgb(255 195 0 / 32%) !important; background: linear-gradient(118deg, #000814 0%, #001d3d 64%, #003566 100%) !important; color: #ffffff !important; }
.tpros-dashboard-hero [class~="text-primary-300"] { color: #ffd60a !important; }
.tpros-dashboard-hero a { background: #ffc300 !important; color: #000814 !important; box-shadow: none !important; }


/* Keep the session report actions in the document flow so they do not cover fields while scrolling. */
.fi-page:has(.tpros-writing-field) .fi-form-actions {
    position: static !important;
    bottom: auto !important;
    z-index: auto !important;
}


/* ToggleButtons: make selected and unselected choices visibly distinct. */
.fi-fo-toggle-buttons label.fi-btn[for] {
    background-color: #ffffff !important;
    color: #18354d !important;
    border: 1px solid #cbd5df !important;
    box-shadow: none !important;
}

.fi-fo-toggle-buttons label.fi-btn[for]:hover {
    background-color: #f3f6f8 !important;
    border-color: #9aaaba !important;
}

.fi-fo-toggle-buttons input:checked + label.fi-btn[for] {
    background-color: #18354d !important;
    color: #ffffff !important;
    border-color: #18354d !important;
    box-shadow: 0 2px 6px rgb(24 53 77 / 18%) !important;
}

.fi-fo-toggle-buttons input:checked + label.fi-btn[for]:hover {
    background-color: #264963 !important;
    border-color: #264963 !important;
}

.fi-fo-toggle-buttons input:focus-visible + label.fi-btn[for] {
    outline: 3px solid rgb(180 154 102 / 32%);
    outline-offset: 2px;
}


/* Director quick access cards: restrained navy and champagne finish. */
.tpros-director-modules {
    margin: 0 0 1.5rem;
    padding: 1.35rem;
    border: 1px solid var(--tpros-line);
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #fbfaf7 100%);
    box-shadow: var(--tpros-shadow);
}

.tpros-director-modules__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tpros-director-modules__eyebrow,
.tpros-module-card__eyebrow {
    color: #8a7756;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.35;
}

.tpros-director-modules__heading h2 {
    margin: 0.28rem 0 0.25rem;
    color: var(--tpros-navy);
    font-size: 1.05rem;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.tpros-director-modules__heading p {
    margin: 0;
    color: var(--tpros-muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.tpros-director-modules__count {
    flex: 0 0 auto;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgb(180 154 102 / 22%);
    border-radius: 999px;
    background: var(--tpros-gold-soft);
    color: #715c35;
    font-size: 0.72rem;
    font-weight: 600;
}

.tpros-director-modules__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.tpros-module-card {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    align-items: start;
    gap: 0.95rem;
    min-width: 0;
    padding: 1.1rem;
    border: 1px solid #e8e3d9;
    border-radius: 12px;
    background: #ffffff;
    color: var(--tpros-ink);
    text-decoration: none !important;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.tpros-module-card:hover {
    transform: translateY(-2px);
    border-color: rgb(180 154 102 / 58%);
    box-shadow: 0 10px 24px rgb(20 40 63 / 8%);
}

.tpros-module-card:focus-visible {
    outline: 3px solid rgb(180 154 102 / 45%);
    outline-offset: 3px;
}

.tpros-module-card__icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border: 1px solid rgb(180 154 102 / 24%);
    border-radius: 0.9rem;
    background: linear-gradient(145deg, #fbf8f0, #f1eadc);
    color: var(--tpros-navy);
}

.tpros-module-card__icon svg {
    width: 1.4rem;
    height: 1.4rem;
}

.tpros-module-card__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.26rem;
}

.tpros-module-card__copy > strong {
    color: var(--tpros-navy);
    font-size: 1.03rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.tpros-module-card__description {
    color: var(--tpros-muted);
    font-size: 0.79rem;
    line-height: 1.5;
}

.tpros-module-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.25rem;
    color: var(--tpros-navy);
    font-size: 0.76rem;
    font-weight: 650;
}

.tpros-module-card__link svg {
    width: 0.9rem;
    height: 0.9rem;
    color: #9a8050;
}

@media (max-width: 760px) {
    .tpros-director-modules__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 520px) {
    .tpros-director-modules {
        padding: 1rem;
    }

    .tpros-director-modules__heading {
        flex-direction: column;
        gap: 0.65rem;
    }

    .tpros-module-card {
        grid-template-columns: 2.7rem minmax(0, 1fr);
        gap: 0.75rem;
        padding: 0.95rem;
    }

    .tpros-module-card__icon {
        width: 2.7rem;
        height: 2.7rem;
    }
}


/* Director dashboard header: calm title and action layout. */
body:has(.tpros-dashboard-page) .fi-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.15rem 1.35rem;
    border: 1px solid rgb(20 35 61 / 9%);
    border-left: 4px solid var(--tpros-gold);
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #fbfaf7 100%);
    box-shadow: 0 8px 24px rgb(20 35 61 / 6%);
}

body:has(.tpros-dashboard-page) .fi-header > div:first-child {
    flex: 1 1 19rem;
    min-width: 15rem;
}

body:has(.tpros-dashboard-page) .fi-header > div:last-child {
    display: flex;
    flex: 0 1 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
}

body:has(.tpros-dashboard-page) .fi-header-heading {
    max-width: 19ch;
    font-size: clamp(1.5rem, 2vw, 1.9rem);
    line-height: 1.12;
}

body:has(.tpros-dashboard-page) .fi-header .fi-btn {
    min-height: 2.6rem;
    border-radius: 0.7rem;
}

@media (max-width: 1024px) {
    body:has(.tpros-dashboard-page) .fi-header {
        align-items: stretch;
        flex-direction: column;
        gap: 0.85rem;
    }

    body:has(.tpros-dashboard-page) .fi-header > div:last-child {
        justify-content: flex-start;
    }
}

/* Keep the dashboard header compact on tablet and mobile. */
@media (max-width: 1024px) {
  body:has(.tpros-dashboard-page) .fi-header > div:first-child {
    flex: 0 1 auto;
    min-width: 0;
    width: 100%;
  }
}
