@font-face {
    font-family: Fortis Archivo;
    src: url('fortis-fonts/archivo-400-w100-latin.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: Fortis Archivo;
    src: url('fortis-fonts/archivo-700-w100-latin.woff2') format('woff2');
    font-weight: 600 800;
    font-display: swap;
}
@font-face {
    font-family: Fortis Wordmark;
    src: url('fortis-fonts/archivo-800-w70-latin.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}
@font-face {
    font-family: Fortis Mono;
    src: url('fortis-fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

.fortis-client-theme {
    --fortis-ink: #202221;
    --fortis-muted: #656a68;
    --fortis-rule: #dce0dc;
    --fortis-accent: #e8481c;
    --bs-body-color: var(--fortis-ink);
    --bs-link-color: #303c38;
    --bs-link-hover-color: #202221;
    --bs-link-color-rgb: 48, 60, 56;
    --bs-link-hover-color-rgb: 32, 34, 33;
    background: #f6f7f6 !important;
    color: var(--fortis-ink);
    font-family: Fortis Archivo, system-ui, sans-serif;
    font-size: 15px;
    letter-spacing: 0;
    line-height: 1.55;
}
.fortis-client-theme .navbar {
    --bs-navbar-color: #606662;
    --bs-navbar-hover-color: #202221;
    --bs-navbar-active-color: #202221;
    background: #fff !important;
    border-top: 3px solid var(--fortis-accent);
    border-bottom: 1px solid var(--fortis-rule);
    padding: 15px 0;
}
.fortis-client-theme .navbar-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--fortis-ink); margin-right: 36px; }
.fortis-client-theme .navbar-brand:hover { color: var(--fortis-ink); }
.fortis-brand-mark { position: relative; width: 22px; height: 22px; border: 1px solid #202221; flex: none; }
.fortis-brand-mark::after { content: ''; position: absolute; bottom: 2px; right: 2px; width: 8px; height: 8px; background: var(--fortis-accent); }
.fortis-brand-name { font-family: Fortis Wordmark, system-ui, sans-serif; font-size: 25px; font-weight: 800; text-transform: uppercase; line-height: 1; }
.fortis-brand-sub { font-family: Fortis Mono, monospace; font-size: 10px; text-transform: uppercase; color: var(--fortis-muted); }
.fortis-client-theme .navbar .nav-link { font-size: 13px; padding: 10px 12px; }
.fortis-client-theme .navbar .nav-link.active { font-weight: 700; box-shadow: inset 0 -2px var(--fortis-accent); }
.fortis-client-theme .navbar-toggler { border-color: var(--fortis-rule); border-radius: 4px; }
.fortis-client-theme .navbar-toggler .text-white { color: var(--fortis-ink) !important; }
.fortis-client-theme .dropdown-menu { font-size: 14px; border-radius: 4px; border-color: var(--fortis-rule); }
.fortis-client-theme .fortis-client-container { margin-top: 22px !important; padding-bottom: 34px; }
.fortis-client-theme .fortis-client-welcome { margin-bottom: 0 !important; gap: 12px !important; }
.fortis-client-theme .fortis-client-welcome h4 { font-size: 14px; font-weight: 400; }
.fortis-client-theme .fortis-client-welcome .fa-stack { width: 36px; height: 36px; line-height: 36px; border: 1px solid var(--fortis-rule); border-radius: 4px; background: #fff; }
.fortis-client-theme .fortis-client-welcome .fa-stack-2x { display: none; }
.fortis-client-theme .fortis-client-welcome .fa-stack-1x { color: var(--fortis-ink) !important; font-family: Fortis Mono, monospace; font-size: 12px; }
.fortis-client-theme .fortis-client-welcome img { max-width: 142px; object-fit: contain; }
.fortis-client-theme .fortis-client-welcome img.rounded-circle { width: 36px; height: 36px; }
.fortis-client-theme .fortis-client-container > hr { opacity: 1; color: var(--fortis-rule); margin: 18px 0 26px; }
.fortis-client-theme .fortis-portal-heading { padding-bottom: 18px; margin-bottom: 22px !important; border-bottom: 1px solid var(--fortis-rule); }
.fortis-client-theme .fortis-portal-heading h2 { font-size: 29px; line-height: 1.2; font-weight: 700; overflow-wrap: anywhere; }
.fortis-client-theme .fortis-portal-heading > div:first-child { min-width: 0; }
.fortis-client-theme h3 { font-size: 22px; font-weight: 700; overflow-wrap: anywhere; }
.fortis-client-theme .text-muted, .fortis-client-theme .text-secondary { color: var(--fortis-muted) !important; }
.fortis-client-theme .btn { border-radius: 4px; font-size: 13px; font-weight: 600; padding: 9px 14px; }
.fortis-client-theme .btn-sm { padding: 6px 10px; }
.fortis-client-theme .btn-primary { --bs-btn-bg: #262b28; --bs-btn-border-color: #262b28; --bs-btn-hover-bg: #404942; --bs-btn-hover-border-color: #404942; --bs-btn-active-bg: #202221; --bs-btn-active-border-color: #202221; --bs-btn-disabled-bg: #656a68; --bs-btn-disabled-border-color: #656a68; }
.fortis-client-theme .btn-outline-secondary { --bs-btn-color: #4d5550; --bs-btn-border-color: #cbd1cb; --bs-btn-hover-bg: #e9ede9; --bs-btn-hover-color: #202221; --bs-btn-hover-border-color: #a9b1a9; }
.fortis-client-theme a:focus-visible, .fortis-client-theme button:focus-visible { outline: 2px solid #98602c; outline-offset: 3px; }
.fortis-client-theme .form-control, .fortis-client-theme .form-select { border-color: #ccd3cc; border-radius: 4px; font-size: 14px; min-height: 40px; }
.fortis-client-theme .form-control:focus, .fortis-client-theme .form-select:focus { border-color: #787f79; box-shadow: 0 0 0 3px #dfe4df; }
.fortis-client-theme .form-label { font-size: 12px; color: var(--fortis-muted); margin-bottom: 6px; }
.fortis-portal-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0 0 26px; padding: 0 0 22px; border-bottom: 1px solid var(--fortis-rule); }
.fortis-portal-stats > div { min-width: 0; padding: 0 20px; border-left: 1px solid var(--fortis-rule); }
.fortis-portal-stats > div:first-child { padding-left: 0; border-left: 0; }
.fortis-portal-stats dt { color: var(--fortis-muted); font-size: 11px; font-family: Fortis Mono, monospace; font-weight: 400; text-transform: uppercase; margin-bottom: 4px; }
.fortis-portal-stats dd { font-size: 28px; font-weight: 700; line-height: 1.35; margin: 0; overflow-wrap: anywhere; }
.fortis-portal-stats dd.fortis-stat-date { font-size: 16px; padding-top: 7px; }
.fortis-client-theme .table { --bs-table-bg: #fff; --bs-table-border-color: var(--fortis-rule); --bs-table-hover-bg: #f0f3f0; font-size: 13px; }
.fortis-client-theme .table th { background: #eef1ee; font-family: Fortis Mono, monospace; font-size: 10px; text-transform: uppercase; font-weight: 400; color: #555e57; padding: 13px 14px; border-bottom-width: 1px; }
.fortis-client-theme .table td { padding: 16px 14px; overflow-wrap: anywhere; }
.fortis-client-theme .table td:first-child { font-weight: 600; }
.fortis-client-theme .table td:first-child small { font-family: Fortis Mono, monospace; font-size: 11px; font-weight: 400; margin-top: 4px; }
.fortis-client-theme .table td a:not(.btn) { color: #303c38; font-weight: 600; text-decoration: none; }
.fortis-client-theme .table td a:hover { text-decoration: underline; }
.fortis-client-theme .table td a.btn:hover { text-decoration: none; }
.fortis-client-theme .fortis-state { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 4px; background: #edf0ed; }
.fortis-client-theme .fortis-state.is-good { background: #e9f4ed; color: #17683f !important; }
.fortis-state.is-good::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.fortis-client-theme .fortis-backup-filters { padding-bottom: 22px; margin-bottom: 22px !important; border-bottom: 1px solid var(--fortis-rule); }
.fortis-client-theme .fortis-backup-details { display: grid; grid-template-columns: 210px minmax(0,1fr); margin: 22px 0; gap: 0 20px; }
.fortis-client-theme .fortis-backup-details > dt, .fortis-client-theme .fortis-backup-details > dd { width: auto; padding: 11px 0; margin: 0 !important; border-bottom: 1px solid var(--fortis-rule); overflow-wrap: anywhere; }
.fortis-client-theme .fortis-backup-details dt { color: var(--fortis-muted); font-weight: 400; font-size: 12px; }
.fortis-client-theme .fortis-backup-details dd { font-size: 14px; }
.fortis-client-theme .fortis-backup-details code, .fortis-client-theme .fortis-archive-name { font-family: Fortis Mono, monospace; font-size: 12px; color: #555e57; overflow-wrap: anywhere; }
.fortis-client-theme .fortis-restore-request { max-width: 850px; }
.fortis-client-theme .app-footer { background: #fff; border-color: var(--fortis-rule); font-size: 11px; padding: 16px !important; }
.fortis-client-theme .app-footer small { font-size: 10px; }

.fortis-client-theme .fortis-monitor-host { padding: 22px; border-color: var(--fortis-rule); border-radius: 4px; box-shadow: 0 2px 2px #20222103; }
.fortis-client-theme .fortis-monitor-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.fortis-client-theme .fortis-monitor-host h4 { font-size: 16px; font-weight: 700; }
.fortis-client-theme .fortis-monitor-host h4 a { color: var(--fortis-ink); }
.fortis-client-theme .fortis-monitor-host-top { gap: 14px; min-height: 42px; }
.fortis-client-theme .fortis-monitor-status { font-size: 11px; border-radius: 4px; padding: 4px 7px; background: #edf0ed; }
.fortis-client-theme .fortis-monitor-status.is-online { background: #e9f4ed; color: #17683f; }
.fortis-client-theme .fortis-monitor-status.is-offline { background: #faeeec; color: #a12c24; }
.fortis-client-theme .fortis-monitor-dot { width: 5px; height: 5px; }
.fortis-client-theme .fortis-monitor-measures { margin: 26px 0 22px; gap: 20px; }
.fortis-client-theme .fortis-monitor-measure-label { color: var(--fortis-muted); font-size: 12px; }
.fortis-client-theme .fortis-monitor-measure-label strong { color: var(--fortis-ink); font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fortis-client-theme .fortis-monitor-traffic { color: var(--fortis-muted); font-size: 12px; border-color: var(--fortis-rule); }
.fortis-client-theme .fortis-monitor-traffic strong { color: var(--fortis-ink); font-variant-numeric: tabular-nums; }
.fortis-client-theme .fortis-monitor-traffic i { color: #59685d; }
.fortis-client-theme .fortis-monitor-host-foot { font-size: 12px; margin-top: 18px; }
.fortis-client-theme .fortis-monitor-host-foot a { color: #303c38; font-weight: 600; }
.fortis-client-theme .fortis-monitor-modes { border-color: #cbd1cb; border-radius: 4px; }
.fortis-client-theme .fortis-monitor-modes a { color: #4d5550; font-size: 12px; padding: 7px 12px; }
.fortis-client-theme .fortis-monitor-modes a.is-active { background: #262b28; color: #fff; }
.fortis-client-theme .fortis-monitor-modes a:hover:not(.is-active) { background: #e9ede9; }
.fortis-client-theme .fortis-monitor-summary { border-color: var(--fortis-rule); }
.fortis-client-theme .fortis-monitor-summary strong { color: var(--fortis-ink); font-size: 20px; }
.fortis-client-theme .fortis-monitor-summary span { color: var(--fortis-muted); font-size: 11px; }
.fortis-client-theme .fortis-monitor-history h4, .fortis-client-theme .fortis-monitor-issues h4 { font-size: 16px; font-weight: 700; }
.fortis-client-theme .fortis-monitor-history h4 span { color: var(--fortis-muted); font-size: 11px; }
.fortis-client-theme .fortis-monitor-history section { border-top: 1px solid var(--fortis-rule); padding-top: 18px; }

@media (min-width: 992px) {
    .fortis-client-theme { font-size: 16.5px; }
    .fortis-client-theme .fortis-brand-mark { width: 24px; height: 24px; }
    .fortis-client-theme .fortis-brand-name { font-size: 27.5px; }
    .fortis-client-theme .fortis-brand-sub { font-size: 11px; }
    .fortis-client-theme .navbar .nav-link, .fortis-client-theme .btn,
    .fortis-client-theme .table { font-size: 14.3px; }
    .fortis-client-theme .dropdown-menu, .fortis-client-theme .form-control,
    .fortis-client-theme .form-select, .fortis-client-theme .fortis-client-welcome h4,
    .fortis-client-theme .fortis-backup-details dd { font-size: 15.4px; }
    .fortis-client-theme .fortis-portal-heading h2 { font-size: 32px; }
    .fortis-client-theme h3 { font-size: 24px; }
    .fortis-client-theme .form-label, .fortis-client-theme .fortis-backup-details dt,
    .fortis-client-theme .fortis-backup-details code, .fortis-client-theme .fortis-archive-name,
    .fortis-client-theme .fortis-monitor-measure-label, .fortis-client-theme .fortis-monitor-traffic,
    .fortis-client-theme .fortis-monitor-host-foot, .fortis-client-theme .fortis-monitor-modes a { font-size: 13.2px; }
    .fortis-client-theme .fortis-portal-stats dt, .fortis-client-theme .fortis-state,
    .fortis-client-theme .table td:first-child small, .fortis-client-theme .fortis-monitor-status,
    .fortis-client-theme .fortis-monitor-summary span, .fortis-client-theme .fortis-monitor-history h4 span { font-size: 12.1px; }
    .fortis-client-theme .table th { font-size: 11px; }
    .fortis-client-theme .fortis-portal-stats dd { font-size: 31px; }
    .fortis-client-theme .fortis-portal-stats dd.fortis-stat-date,
    .fortis-client-theme .fortis-monitor-host h4, .fortis-client-theme .fortis-monitor-history h4,
    .fortis-client-theme .fortis-monitor-issues h4 { font-size: 17.6px; }
    .fortis-client-theme .fortis-monitor-measure-label strong { font-size: 21px; }
    .fortis-client-theme .fortis-monitor-summary strong { font-size: 22px; }
}

@media (max-width: 991px) {
    .fortis-client-theme .navbar .nav-link.active { box-shadow: none; background: #eef1ee; border-left: 2px solid var(--fortis-accent); }
    .fortis-client-theme .navbar .navbar-collapse { padding-top: 12px; }
}
@media (min-width: 1600px) {
    .fortis-client-theme .fortis-monitor-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 767px) {
    .fortis-client-theme .fortis-monitor-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 575px) {
    .fortis-client-theme .navbar { padding: 11px 0; }
    .fortis-client-theme .navbar-brand { margin-right: 12px; }
    .fortis-client-theme .fortis-client-container { margin-top: 18px !important; }
    .fortis-client-theme .fortis-portal-heading h2 { font-size: 25px; }
    .fortis-portal-stats > div { padding: 0 10px; }
    .fortis-portal-stats dt { font-size: 9px; }
    .fortis-portal-stats dd { font-size: 23px; }
    .fortis-portal-stats dd.fortis-stat-date { font-size: 12px; padding-top: 4px; }
    .fortis-client-theme .fortis-backup-details { grid-template-columns: minmax(0,1fr); gap: 0; }
    .fortis-client-theme .fortis-backup-details > dt { border: 0; padding-bottom: 2px; }
    .fortis-client-theme .fortis-backup-details > dd { padding-top: 2px; }
    .fortis-client-theme .fortis-backup-table, .fortis-client-theme .fortis-backup-table tbody { display: block; width: 100%; }
    .fortis-client-theme .fortis-backup-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .fortis-client-theme .fortis-backup-table tbody tr { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); border-top: 1px solid var(--fortis-rule); margin-bottom: 12px; padding: 12px 0; background: #fff; }
    .fortis-client-theme .fortis-backup-table td { display: block; padding: 8px 12px; border: 0; }
    .fortis-client-theme .fortis-backup-table td[data-label]::before { display: block; content: attr(data-label); font-family: Fortis Mono, monospace; font-size: 9px; color: var(--fortis-muted); font-weight: 400; margin-bottom: 3px; }
    .fortis-client-theme .fortis-backup-table td:first-child, .fortis-client-theme .fortis-backup-table td[colspan] { grid-column: 1 / -1; }
    .fortis-client-theme .fortis-monitor-host { padding: 18px; }
}
