:root {
    color-scheme: light;
    --app-bg: #f5f7f9;
    --app-surface: #ffffff;
    --app-ink: #263b3c;
    --app-muted: #768388;
    --app-border: #e5eaed;
    --app-green: #177b64;
    --app-green-soft: #e8f4ee;
    --app-sidebar-width: 244px;
    --bs-body-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --bs-body-color: var(--app-ink);
    --bs-body-bg: var(--app-bg);
    --bs-primary: var(--app-green);
    --bs-border-color: var(--app-border);
}
body { margin: 0; -webkit-font-smoothing: antialiased; }
a { color: var(--app-green); text-decoration: none; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #70af9c; outline-offset: 3px; }
.icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 2000; padding: 12px 18px; background: var(--app-surface); border: 2px solid var(--app-green); border-radius: 6px; }
.skip-link:focus { top: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; border-radius: 7px; font-weight: 500; }
.btn-outline-secondary { --bs-btn-color: #526168; --bs-btn-border-color: #dce3e6; --bs-btn-hover-color: #263b3c; --bs-btn-hover-bg: #edf3f0; --bs-btn-hover-border-color: #c8d5d0; --bs-btn-active-bg: #e5efea; --bs-btn-active-color: #263b3c; --bs-btn-active-border-color: #b7ccc2; background: var(--app-surface); }
.btn-primary { --bs-btn-bg: #177b64; --bs-btn-border-color: #177b64; --bs-btn-hover-bg: #11624f; --bs-btn-hover-border-color: #11624f; }
.btn-icon { width: 40px; height: 40px; padding: 8px; color: #7b878c; border: 0; }
.btn-icon:hover { background: #eef3f0; color: var(--app-green); }
.form-control, .form-select { min-height: 38px; font-size: 16px; border-color: #dfe5e8; border-radius: 7px; background-color: var(--app-surface); color: #516167; }
.form-control:focus, .form-select:focus { border-color: #73af99; box-shadow: 0 0 0 .2rem rgb(23 123 100 / 12%); }
.form-control::placeholder { color: #8b979c; }
.app-shell { min-height: 100vh; }
.sidebar { --bs-offcanvas-width: 290px; --bs-offcanvas-bg: var(--app-surface); display: flex; flex-direction: column; background: var(--app-surface); border-right: 1px solid var(--app-border); }
.brand-row { display: flex; align-items: center; justify-content: space-between; min-height: 80px; padding: 20px 24px; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #203e36; font-size: 28px; line-height: 1; letter-spacing: -1.4px; font-weight: 750; }
.brand-main { display: flex; align-items: center; gap: 10px; }
.brand-subtitle { font-size: 13px; line-height: 1.4; letter-spacing: .6px; font-weight: 500; color: #768388; }
.brand:hover { color: #203e36; }
.brand-dot { color: #42a181; }
.sidebar-body { display: flex; flex-direction: column; flex: 1; padding: 8px 16px 20px; overflow-y: auto; }
.main-nav { display: flex; flex-direction: column; gap: 5px; }
.nav-entry { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 12px; border-radius: 7px; color: #657278; font-size: 14px; font-weight: 500; }
.nav-entry > .icon { width: 19px; height: 19px; }
.nav-entry:hover, .nav-parent:hover { background: #f5f7f7; color: #2b5144; }
.nav-entry.active, .nav-parent.is-current { background: var(--app-green-soft); color: var(--app-green); }
.nav-entry.active { font-weight: 650; }
.nav-count { margin-left: auto; display: grid; place-items: center; min-width: 23px; height: 22px; padding: 0 5px; border-radius: 5px; background: #f0f3f4; color: #7a868b; font-size: 13px; font-weight: 600; }
.nav-parent { display: flex; align-items: stretch; border-radius: 7px; }
.nav-parent .nav-entry { flex: 1; color: inherit; }
.nav-parent .nav-entry:hover { background: transparent; }
.nav-toggle { display: grid; place-items: center; width: 40px; min-height: 44px; padding: 8px; flex-shrink: 0; background: transparent; border: 0; border-radius: 7px; color: #86928f; }
.nav-toggle .icon { width: 14px; height: 14px; transition: transform .18s ease; }
.nav-toggle[aria-expanded="true"] .icon { transform: rotate(90deg); }
.subnav { display: flex; flex-direction: column; gap: 1px; margin: 5px 0 5px 21px; border-left: 1px solid #e6ece9; padding-left: 10px; }
.subnav-entry { display: flex; align-items: center; min-height: 38px; padding: 7px 15px; color: #7b878b; border-radius: 6px; font-size: 14px; }
.subnav-entry:hover { color: var(--app-green); background: #f6f8f7; }
.subnav-entry.active { color: var(--app-green); background: #edf6f1; font-weight: 600; }
.sidebar-note { display: flex; align-items: flex-start; gap: 9px; margin-top: auto; padding: 50px 10px 4px; color: #89958f; }
.sidebar-note > .icon { width: 16px; height: 16px; margin-top: 2px; }
.sidebar-note strong { font-size: 14px; font-weight: 550; color: #6c7c74; }
.sidebar-note p { margin: 4px 0 0; font-size: 13px; line-height: 1.6; }
.sidebar-footer { display: flex; align-items: center; gap: 7px; min-height: 56px; padding: 15px 24px; border-top: 1px solid var(--app-border); font-size: 13px; color: #819088; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; background: currentColor; }
.sidebar-footer > .status-dot { background: #57a381; }
.sidebar-version { margin-left: auto; color: #7b897f; }
.main-shell { display: flex; flex-direction: column; min-height: 100vh; min-width: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; padding: 12px 32px; background: var(--app-surface); border-bottom: 1px solid var(--app-border); }
.topbar-start, .topbar-end { display: flex; align-items: center; gap: 16px; min-width: 0; }
.breadcrumb { --bs-breadcrumb-divider: '›'; align-items: center; row-gap: 4px; font-size: 22px; }
.breadcrumb-item { display: flex; align-items: center; }
.breadcrumb-item:not(.active) { font-size: 18px; }
.current-page-title { margin: 0; font-size: inherit; font-weight: 650; line-height: 1.3; letter-spacing: -.35px; color: #263e37; }
.breadcrumb-item a { color: #8b969a; }
.breadcrumb-item.active { color: #53656a; font-weight: 500; }
.breadcrumb-item + .breadcrumb-item::before { color: #b8c1c3; padding-right: 12px; }
.breadcrumb-item + .breadcrumb-item { padding-left: 12px; }
.environment-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid #e3eae6; background: #f8faf8; border-radius: 5px; color: #668372; font-size: 12px; white-space: nowrap; font-weight: 500; }
.environment-badge .status-dot { width: 5px; height: 5px; background: #6a9a7f; }
.topbar-divider { width: 1px; height: 27px; background: var(--app-border); margin: 0 2px; }
.account-preview { display: flex; align-items: center; gap: 10px; }
.avatar { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: #edf1e9; border: 1px solid #e2e9dd; color: #66825d; font-size: 13px; font-weight: 650; }
.account-label strong { display: block; color: #485c57; font-size: 14px; font-weight: 600; }
.account-label span { display: block; color: #74837a; font-size: 12px; margin-top: 2px; }
.account-link { padding: 5px 7px; margin: -5px -7px; border-radius: 7px; color: inherit; }
.account-link:hover, .account-link[aria-current="page"] { background: var(--app-green-soft); color: inherit; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.config-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.settings-toast-container { position: fixed; right: 16px; bottom: 20px; z-index: 1090; width: min(420px, calc(100vw - 32px)); pointer-events: none; }
.settings-toast { width: 100%; max-width: 100%; background: var(--app-surface); color: var(--app-ink); border: 1px solid var(--app-border); border-left: 4px solid var(--app-green); border-radius: 10px; box-shadow: 0 8px 28px rgb(0 0 0 / 16%); pointer-events: auto; }
.settings-toast .toast-body { display: flex; align-items: flex-start; gap: 10px; padding: 16px; font-size: 14px; line-height: 1.6; }
.settings-toast .toast-body > .icon { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; color: var(--app-green); }
.settings-toast .btn-close { flex-shrink: 0; margin: 16px 12px 0 0; }
.config-grid > section { scroll-margin-top: 20px; min-width: 0; }
.config-grid fieldset { min-width: 0; }
.config-grid textarea { resize: vertical; }
.config-key { display: block; margin: -3px 0 7px; font-size: 12px; color: var(--app-muted); overflow-wrap: anywhere; }
.config-grid .form-text, .config-grid .form-check-label { color: var(--app-muted); font-size: 12px; }
.config-label-row { display: flex; align-items: flex-start; gap: 5px; margin-bottom: 7px; }
.settings-field .config-label-row .form-label { margin-bottom: 0; }
.config-help-toggle, .config-help-close { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; padding: 4px; border: 0; border-radius: 50%; background: transparent; color: var(--app-muted); }
.config-help-toggle { margin-top: -3px; }
.config-help-toggle .icon { width: 18px; height: 18px; }
.config-help-toggle:hover, .config-help-toggle[aria-expanded="true"], .config-help-close:hover { background: var(--app-green-soft); color: var(--app-green); }
.config-help-toggle:focus-visible, .config-help-close:focus-visible { outline: 2px solid var(--app-green); outline-offset: 2px; }
.config-help { position: fixed; z-index: 1100; top: 12px; left: 12px; width: min(380px, calc(100vw - 24px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); margin: 0; padding: 0; overflow-y: auto; border: 1px solid var(--app-border); border-radius: 10px; background: var(--app-surface); color: var(--app-ink); box-shadow: 0 10px 32px rgb(0 0 0 / 18%); font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.config-help-heading { display: flex; align-items: flex-start; gap: 12px; padding: 14px 14px 10px 18px; border-bottom: 1px solid var(--app-border); }
.config-help-heading h3 { flex: 1; margin: 2px 0 0; font-size: 14px; font-weight: 600; line-height: 1.5; }
.config-help-close { font-size: 24px; line-height: 1; }
.config-help-body { padding: 14px 18px 18px; }
.config-help-body p { margin: 0; }
.config-help-body ul { margin: 12px 0 0; padding-left: 18px; }
.config-help-body a { color: var(--app-green); text-decoration: underline; text-underline-offset: 2px; }
.settings-panel .panel-heading { border-bottom: 1px solid var(--app-border); }
.settings-panel .panel-heading h2 > .icon { width: 18px; height: 18px; color: var(--app-muted); }
.settings-panel-body { padding: 20px 21px; }
.settings-profile { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.settings-avatar { width: 48px; height: 48px; font-size: 16px; }
.settings-profile strong { display: block; font-size: 16px; font-weight: 600; }
.settings-profile div > span { display: block; margin-top: 4px; font-size: 12px; color: var(--app-muted); }
.settings-field { margin-bottom: 18px; }
.settings-field .form-label { color: var(--app-ink); font-size: 14px; font-weight: 500; margin-bottom: 7px; }
.settings-help { margin: 16px 0 0; color: var(--app-muted); font-size: 12px; line-height: 1.8; }
.settings-intro { margin: 0 0 18px; color: var(--app-muted); font-size: 14px; line-height: 1.7; }
.appearance-choices { display: flex; flex-direction: column; gap: 10px; }
.appearance-option { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid var(--app-border); border-radius: 7px; cursor: pointer; }
.appearance-option:hover, .appearance-option:has(input:checked) { border-color: var(--app-green); background: var(--app-green-soft); }
.appearance-option .form-check-input { margin: 0; flex-shrink: 0; }
.appearance-option .form-check-input:checked { background-color: #177b64; border-color: #177b64; }
.appearance-option .appearance-icon { width: 20px; height: 20px; color: var(--app-muted); }
.appearance-option > span strong { display: block; color: var(--app-ink); font-size: 14px; font-weight: 600; }
.appearance-option > span > span { display: block; color: var(--app-muted); font-size: 12px; line-height: 1.6; margin-top: 3px; }
.notification-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--app-border); }
.notification-option:last-child { border-bottom: 0; padding-bottom: 0; }
.notification-option label > strong { display: block; color: var(--app-ink); font-weight: 500; font-size: 14px; }
.notification-option label > span { display: block; color: var(--app-muted); font-size: 12px; margin-top: 5px; }
.notification-option .form-check { margin-bottom: 0; flex-shrink: 0; }
.users-grid { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 22px; align-items: start; }
.users-add { padding: 0 15px 18px; }
.user-fields { display: grid; gap: 18px; padding: 0 21px 24px; }
.user-fields .form-label { font-weight: 600; }
.user-security-status, .user-invite-form p { color: var(--app-muted); font-size: 13px; margin: 0; }
.user-invite-form { border-top: 1px solid var(--app-border); padding: 20px 21px; display: grid; justify-items: start; gap: 12px; }
.user-delete-section { border-top: 1px solid var(--app-border); padding: 20px 21px; }
.user-delete-section p { color: var(--app-muted); font-size: 13px; margin-bottom: 12px; }
.user-delete-identity { overflow-wrap: anywhere; }
.user-list-entry > span:nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
.account-label { min-width: 0; max-width: 180px; }
.account-label strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.users-list { display: flex; flex-direction: column; gap: 5px; padding: 0 10px 12px; }
.user-list-entry { display: flex; align-items: center; gap: 10px; padding: 12px 10px; border-radius: 7px; color: var(--app-ink); }
.user-list-entry:hover, .user-list-entry.active { color: var(--app-ink); background: var(--app-green-soft); }
.user-list-entry .avatar { flex-shrink: 0; }
.user-list-entry > span:nth-child(2) { min-width: 0; }
.user-list-entry strong { display: block; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.user-list-entry span > span { display: block; font-size: 12px; color: var(--app-muted); margin-top: 4px; }
.user-list-entry > .icon { width: 14px; height: 14px; margin-left: auto; color: var(--app-muted); }
.users-list-note { border-top: 1px solid var(--app-border); padding: 15px 20px; color: var(--app-muted); font-size: 12px; line-height: 1.7; }
.permissions-intro { display: flex; align-items: flex-start; gap: 10px; padding: 0 21px 18px; color: var(--app-muted); }
.permissions-intro .icon { width: 17px; height: 17px; margin-top: 3px; }
.permissions-intro p { font-size: 13px; line-height: 1.8; margin: 0; }
.permission-columns, .permission-row { display: grid; grid-template-columns: minmax(0, 1fr) 175px 155px; gap: 16px; align-items: center; padding: 13px 21px; }
.permission-columns { border-top: 1px solid var(--app-border); border-bottom: 1px solid var(--app-border); font-size: 12px; color: var(--app-muted); }
.permission-row { border-bottom: 1px solid var(--app-border); min-height: 74px; }
.permission-section { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 550; min-width: 0; }
.permission-section .icon { width: 17px; height: 17px; color: var(--app-muted); }
.permission-child .permission-section { padding-left: 26px; font-weight: 400; }
.permission-child .permission-section::before { content: ''; width: 8px; height: 16px; border-left: 1px solid var(--app-border); border-bottom: 1px solid var(--app-border); flex-shrink: 0; margin-top: -8px; }
.permission-select { min-width: 0; padding-left: 10px; padding-right: 28px; }
.permission-result { min-width: 0; }
.status-badge.permission-none { border-color: var(--app-border); color: var(--app-muted); }
.permission-source { display: block; margin-top: 6px; color: var(--app-muted); font-size: 11px; line-height: 1.5; }
.permissions-footer { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: 20px 21px; }
.permissions-footer p { margin: 0; color: var(--app-muted); font-size: 12px; line-height: 1.8; }
.permissions-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.page-content { padding: 32px 32px 28px; flex: 1; width: 100%; max-width: 1760px; margin: 0 auto; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.page-heading p { color: #52695d; font-size: 17px; font-weight: 650; line-height: 1.6; margin: 0; }
.page-heading-tools { display: flex; align-items: center; gap: 17px; }
.date-label { display: flex; align-items: center; gap: 7px; color: #718278; font-size: 13px; white-space: nowrap; }
.date-label .icon { width: 15px; height: 15px; }
.refresh-button { font-size: 16px; padding: 8px 12px; }
.refresh-button .icon { width: 15px; height: 15px; }
.preview-banner { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; font-size: 13px; color: #929c98; }
.preview-label { display: inline-flex; align-items: center; gap: 6px; padding: 4px 7px; background: #f1f1e9; border: 1px solid #e9e8db; border-radius: 4px; color: #8b825a; font-size: 12px; white-space: nowrap; }
.preview-label .status-dot { width: 4px; height: 4px; }
.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 26px; }
.summary-card { display: flex; flex-direction: column; padding: 19px 21px 17px; background: var(--app-surface); border: 1px solid var(--app-border); border-radius: 10px; color: var(--app-ink); box-shadow: 0 2px 3px rgb(24 53 42 / 2%); transition: border-color .16s ease, box-shadow .16s ease; }
.summary-card:hover { color: inherit; border-color: #bacfc3; box-shadow: 0 3px 10px rgb(24 53 42 / 5%); }
.summary-top { display: flex; align-items: center; gap: 10px; }
.summary-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; }
.summary-icon .icon { width: 19px; height: 19px; }
.green-icon { background: #eaf4ee; color: #368568; }
.blue-icon { background: #edf2fb; color: #6c91c1; }
.amber-icon { background: #faf2e8; color: #b9965c; }
.summary-card-label { font-size: 14px; color: #718078; font-weight: 500; }
.summary-arrow { margin-left: auto; width: 15px; height: 15px; color: #b1beb6; }
.summary-value { display: flex; align-items: center; gap: 11px; font-size: 29px; line-height: 1.3; letter-spacing: -.7px; font-weight: 600; margin-top: 18px; color: #2c4439; }
.summary-value-description { font-size: 14px; font-weight: 400; color: #74837a; letter-spacing: 0; align-self: end; padding-bottom: 5px; }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: #48a17d; box-shadow: 0 0 0 4px #eef7f1; margin: 0 3px; }
.summary-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #74837a; margin-top: 16px; }
.metric-tag { font-size: 11px; color: #58a17d; background: #eff8f1; padding: 2px 6px; border-radius: 4px; }
.metric-note { font-size: 11px; color: #7c887f; }
.small-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin: 0 5px 1px 0; }
.dot-blue { background: #80a6cf; }.dot-amber { background: #cfb37c; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1fr) 288px; gap: 22px; align-items: start; }
.overview-main { min-width: 0; }
.overview-side { display: flex; flex-direction: column; gap: 20px; }
.panel { background: var(--app-surface); border: 1px solid var(--app-border); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 3px rgb(24 53 42 / 2%); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 21px 16px; }
.panel-heading h2 { margin: 0; display: flex; align-items: center; gap: 8px; color: #3b5146; font-size: 14px; line-height: 1.4; font-weight: 600; }
.panel-heading p { margin: 6px 0 0; font-size: 13px; color: #77857c; }
.heading-count { display: inline-grid; place-items: center; min-width: 21px; height: 20px; padding: 0 5px; border: 1px solid #e6eae6; border-radius: 5px; background: #f6f8f6; font-size: 12px; color: #8b998f; font-weight: 500; }
.panel-heading-icon { color: #b5bfb9; width: 17px; height: 17px; }
.report-tabs { display: flex; gap: 22px; padding: 0 21px; border-bottom: 1px solid #ecf0ec; }
.report-tab { background: none; color: #74837a; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 11px 0 12px; font-size: 13px; min-height: 42px; white-space: nowrap; }
.report-tab.active { color: var(--app-green); border-color: #2f8a68; font-weight: 600; }
.report-tab:hover { color: var(--app-green); }
.report-toolbar { display: flex; gap: 12px; padding: 16px 21px; }
.search-field { position: relative; flex: 1; min-width: 0; }
.search-field > .icon { position: absolute; top: 12px; left: 11px; width: 15px; height: 15px; color: #7b897f; pointer-events: none; }
.search-field .form-control { padding-left: 34px; }
.status-select { width: 162px; padding-left: 11px; }
.reports-table { --bs-table-bg: transparent; --bs-table-border-color: #edf0ee; width: 100%; }
.reports-table thead { background: #fafbfa; }
.reports-table th { font-size: 12px; font-weight: 500; color: #77857c; padding: 10px 12px; border-top: 1px solid #edf0ee; white-space: nowrap; }
.reports-table td { padding: 14px 12px; vertical-align: middle; }
.reports-table tr:last-child td { border-bottom: 0; }
.reports-table th:first-child, .reports-table td:first-child { padding-left: 21px; }
.reports-table th:last-child, .reports-table td:last-child { padding-right: 13px; }
.reports-table tbody tr:hover { background: #fcfdfc; }
.report-summary { display: flex; align-items: center; gap: 10px; min-width: 0; }
.report-symbol { display: inline-grid; place-items: center; width: 31px; height: 33px; border: 1px solid #e9edf1; border-radius: 7px; flex-shrink: 0; }
.report-symbol .icon { width: 15px; height: 15px; }
.flight-symbol { background: #f3f6fb; color: #82a1c2; }
.bug-symbol { background: #fcf6ee; color: #c3a776; border-color: #f1e9de; }
.report-text { min-width: 0; }
.report-title { display: block; padding: 0; background: none; border: 0; color: #3e5547; font-size: 14px; text-align: left; font-weight: 550; line-height: 1.6; min-height: 26px; }
.report-title:hover { color: var(--app-green); text-decoration: underline; text-underline-offset: 3px; }
.report-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: #7b897f; font-size: 11px; }
.source-label { color: #85938a; font-size: 12px; white-space: nowrap; }
.status-badge { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; border: 1px solid transparent; border-radius: 5px; padding: 3px 6px; font-size: 11px; font-weight: 500; }
.status-badge .status-dot { width: 4px; height: 4px; }
.status-blue { color: #426d98; background: #edf4fc; border-color: #e0edf9; }
.status-amber { color: #88671f; background: #fcf7e9; border-color: #f3ebd3; }
.status-green { color: #467956; background: #eff7f1; border-color: #e1eee5; }
.report-time { white-space: nowrap; font-size: 11px; color: #7b897f; }
.report-arrow-cell { width: 36px; }
.report-arrow { width: 30px; min-height: 38px; height: 38px; padding: 7px; }
.report-arrow .icon { width: 12px; height: 12px; color: #aebbb2; }
.mobile-report-time, .report-meta .mobile-report-source { display: none; }
.panel-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 21px; border-top: 1px solid #ecf0ed; font-size: 12px; color: #79877e; }
.sample-indicator { font-size: 11px; color: #7c887f; white-space: nowrap; }
.empty-state { text-align: center; padding: 36px 20px; color: #87988c; }
.empty-state > .icon { width: 25px; height: 25px; margin-bottom: 12px; }
.empty-state h3 { font-size: 15px; color: #52695b; }
.empty-state p { font-size: 14px; }
.empty-state .btn { font-size: 14px; }
.live-indicator { display: flex; align-items: center; gap: 5px; color: #7c887f; font-size: 11px; }
.live-indicator .status-dot { width: 4px; height: 4px; background: #82b295; }
.service-list { padding: 0 21px; }
.service-row { display: flex; align-items: center; gap: 10px; padding: 15px 0; border-bottom: 1px solid #eff2ef; }
.service-row:last-child { border: 0; }
.service-icon { display: inline-grid; place-items: center; width: 30px; height: 32px; border: 1px solid #e8ede9; border-radius: 6px; background: #f8faf8; color: #8fa795; }
.service-icon .icon { width: 15px; height: 15px; }
.service-row strong { display: block; font-weight: 550; font-size: 13px; color: #5c7262; }
.service-row div > span { display: block; font-size: 11px; color: #7c887f; margin-top: 3px; }
.service-state { display: flex; align-items: center; gap: 4px; margin-left: auto; font-size: 11px; color: #4c805e; }
.service-state .status-dot { width: 4px; height: 4px; }
.panel-link { display: flex; align-items: center; justify-content: space-between; padding: 14px 21px; margin-top: 6px; border-top: 1px solid #edf1ed; color: #78a18b; font-size: 12px; }
.panel-link:hover { background: #f9fcfa; color: var(--app-green); }
.panel-link .icon { width: 13px; height: 13px; }
.quick-panel .panel-heading { padding-bottom: 8px; }
.quick-link { display: flex; align-items: center; gap: 10px; padding: 14px 21px; }
.quick-link:hover { background: #f8fbf9; }
.quick-link:last-child { padding-bottom: 21px; }
.quick-icon { color: #92a699; }
.quick-icon .icon { width: 17px; height: 17px; }
.quick-link strong { display: block; font-size: 13px; font-weight: 550; color: #697d6f; }
.quick-link div > span { display: block; font-size: 11px; color: #7c887f; margin-top: 4px; }
.quick-link > .icon { margin-left: auto; width: 12px; height: 12px; color: #aebbb2; }
.workspace-tip { display: flex; align-items: flex-start; gap: 10px; padding: 0 6px; color: #a1b0a5; }
.workspace-tip > .icon { width: 17px; height: 17px; margin-top: 2px; }
.workspace-tip p { font-size: 12px; color: #94a397; margin: 0; line-height: 1.8; }
.workspace-tip span { display: block; color: #819086; font-size: 11px; }
.page-footer { display: flex; justify-content: space-between; gap: 12px; padding: 20px 32px; color: #7c887f; font-size: 12px; }
.footer-dot { margin: 0 8px; }
.report-detail { --bs-offcanvas-width: 480px; background: var(--app-surface); }
.report-detail .offcanvas-header { padding: 26px; border-bottom: 1px solid var(--app-border); gap: 20px; align-items: flex-start; }
.detail-eyebrow { display: block; color: #99a69e; font-size: 13px; letter-spacing: .7px; margin-bottom: 8px; }
.report-detail .offcanvas-title { font-size: 21px; line-height: 1.5; font-weight: 600; }
.report-detail .offcanvas-body { padding: 26px; }
.report-detail .status-badge { font-size: 14px; padding: 5px 10px; }
.detail-metadata { margin: 25px 0; }
.detail-metadata > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #eef2ee; font-size: 14px; }
.detail-metadata dt { color: #8a9a8f; font-weight: 400; }
.detail-metadata dd { margin: 0; text-align: right; }
.section-subtitle { font-size: 14px; font-weight: 600; }
.detail-description { font-size: 14px; color: #7c9082; line-height: 1.9; margin-top: 12px; }
.detail-note { display: flex; align-items: center; gap: 8px; color: #9eafa3; font-size: 13px; margin-top: 28px; }
.detail-note .icon { width: 16px; height: 16px; }
.detail-footer { padding: 20px 26px; border-top: 1px solid var(--app-border); }
.backend-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 21px 24px; gap: 18px; }
.backend-service { padding: 24px; border: 1px solid var(--app-border); border-radius: 8px; }
.backend-service h3 { font-size: 17px; margin: 18px 0 7px; }
.backend-service p { color: #8e9e93; font-size: 14px; }
.backend-service .status-badge { font-size: 13px; }
.service-page-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 26px; font-size: 14px; }
.service-page-link .icon { width: 16px; height: 16px; }
.log-view { background: #233a32; color: #c2d7c9; padding: 22px; margin: 0 21px 22px; border-radius: 7px; overflow-x: auto; font: 12px/2.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.log-view > div { display: flex; gap: 20px; min-width: 620px; }
.log-view time { color: #839f8f; }
.log-level { color: #82c6a5; }
.database-preview { text-align: center; padding: 60px 24px; }
.database-preview-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: #edf5ef; color: #88ac96; margin-bottom: 24px; }
.database-preview-icon .icon { width: 30px; height: 30px; }
.database-preview h2, .database-preview h3 { font-size: 22px; margin-bottom: 14px; }
.database-preview p { color: #708477; font-size: 14px; line-height: 1.8; margin-bottom: 25px; }
.database-preview .btn { font-size: 14px; }
[hidden] { display: none !important; }
@media (min-width: 992px) {
    .sidebar.offcanvas-lg { position: fixed; inset: 0 auto 0 0; width: var(--app-sidebar-width); display: flex; background: var(--app-surface) !important; }
    .main-shell { margin-left: var(--app-sidebar-width); }
}
@media (max-width: 1439.98px) and (min-width: 1200px) {
    .overview-grid { grid-template-columns: minmax(0, 1fr) 256px; gap: 18px; }
    .reports-table .time-column { display: none; }
}
@media (max-width: 1199.98px) {
    .users-grid { grid-template-columns: 1fr; }
    .users-list { flex-direction: row; flex-wrap: wrap; }
    .user-list-entry { flex: 1; min-width: 185px; }
    .overview-grid { grid-template-columns: minmax(0, 1fr); }
    .overview-side { display: grid; grid-template-columns: 1fr 1fr; }
    .workspace-tip { display: none; }
    .summary-grid { gap: 12px; }
    .summary-card { padding: 17px; }
    .metric-note { display: none; }
    .date-label { display: none; }
}
@media (max-width: 991.98px) {
    .topbar { padding: 12px 22px; }
    .page-content { padding: 26px 22px; }
    .page-footer { padding: 18px 22px; }
    .sidebar-note { margin-top: 28px; }
}
@media (max-width: 767.98px) {
    .permission-columns { display: none; }
    .permission-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 16px; }
    .permission-section { grid-column: 1 / -1; }
    .permission-child .permission-section { padding-left: 14px; }
    .permissions-intro { padding-right: 16px; padding-left: 16px; }
    .permissions-footer { padding: 18px 16px; }
    .permission-source { font-size: 12px; }
    .settings-grid { grid-template-columns: 1fr; gap: 18px; }
    .settings-panel-body { padding: 18px 16px; }
    .topbar { min-height: 64px; padding: 10px 14px; gap: 10px; }
    .topbar-start { gap: 5px; }
    .topbar-end { gap: 9px; }
    .account-label, .topbar-divider, .environment-badge { display: none; }
    .breadcrumb { font-size: 19px; }
    .breadcrumb-item:not(.active) { font-size: 16px; }
    .breadcrumb-item + .breadcrumb-item { padding-left: 7px; }
    .breadcrumb-item + .breadcrumb-item::before { padding-right: 7px; }
    .page-content { padding: 24px 16px; }
    .page-heading { align-items: center; gap: 12px; margin-bottom: 20px; }
    .page-heading p { font-size: 16px; }
    .page-heading-tools { flex-shrink: 0; }
    .refresh-button { padding: 8px; width: 38px; }
    .refresh-button span { display: none; }
    .preview-banner { gap: 8px; flex-wrap: wrap; font-size: 12px; margin-bottom: 18px; }
    .summary-grid { grid-template-columns: 1fr; gap: 10px; margin-bottom: 20px; }
    .summary-card { padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
    .summary-top { gap: 9px; }
    .summary-icon { width: 32px; height: 32px; }
    .summary-arrow { display: none; }
    .summary-card-label { font-size: 14px; }
    .summary-value { font-size: 23px; margin: 0; gap: 8px; }
    .summary-value-description { font-size: 12px; padding-bottom: 3px; }
    .summary-bottom { grid-column: 1 / -1; margin: 3px 0 0 41px; font-size: 12px; }
    .metric-tag { display: none; }
    .overview-side { display: flex; }
    .panel-heading { padding: 18px 16px 14px; }
    .report-tabs { gap: 19px; padding: 0 16px; }
    .report-tab { font-size: 13px; }
    .report-toolbar { padding: 14px 16px; gap: 8px; }
    .status-select { width: 150px; }
    .reports-table .source-column, .reports-table .time-column, .report-arrow-cell { display: none; }
    .reports-table th:first-child, .reports-table td:first-child { padding-left: 16px; }
    .reports-table th, .reports-table td { padding-right: 16px; }
    .reports-table td { padding-top: 16px; padding-bottom: 16px; }
    .report-summary { align-items: flex-start; gap: 9px; }
    .report-symbol { width: 28px; height: 30px; }
    .report-title { font-size: 14px; line-height: 1.65; min-height: 38px; }
    .report-meta { font-size: 11px; gap: 4px; }
    .report-meta .mobile-report-source { display: inline; }
    .reports-table td:nth-child(3) { text-align: right; width: 102px; }
    .mobile-report-time { display: block; color: #7c887f; font-size: 8px; margin-top: 8px; white-space: nowrap; }
    .status-badge { font-size: 11px; }
    .panel-footer { padding: 14px 16px; }
    .service-list { padding: 0 16px; }
    .service-row { padding: 17px 0; }
    .service-row strong, .quick-link strong { font-size: 14px; }
    .service-row div > span, .quick-link div > span { font-size: 12px; }
    .service-state { font-size: 12px; }
    .panel-link { padding: 15px 16px; font-size: 13px; }
    .quick-link { padding: 16px; }
    .quick-link:last-child { padding-bottom: 20px; }
    .page-footer { padding: 8px 16px 22px; font-size: 11px; }
    .page-footer > span:last-child { text-align: right; }
    .backend-service-grid { grid-template-columns: 1fr; padding: 0 16px 16px; }
    .log-view { margin-left: 16px; margin-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; }
}

@media (max-width: 479.98px) {
    .permission-row { grid-template-columns: 1fr; }
    .permission-result { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
    .permission-source { margin-top: 0; }
    .report-toolbar { flex-direction: column; }
    .status-select { width: 100%; }
}
