@import url("../../assets/css/sysimple-actions.css?v=20260910-global");
@import url("../../assets/css/sysimple-grid.css?v=20260910");
.sys-dashboard-studio {
    --sysdash-bg: #17191d;
    --sysdash-surface: #202328;
    --sysdash-surface-2: #272b31;
    --sysdash-surface-3: #15171a;
    --sysdash-line: rgba(255,255,255,.10);
    --sysdash-line-strong: rgba(255,255,255,.18);
    --sysdash-text: #f5f7fa;
    --sysdash-muted: rgba(245,247,250,.62);
    --sysdash-muted-strong: rgba(245,247,250,.78);
    --sysdash-accent: #3c8dbc;
    --sysdash-accent-2: #00a65a;
    --sysdash-warning: #f39c12;
    --sysdash-danger: #dd4b39;
    --sysdash-accent-soft: rgba(60,141,188,.16);
    --sysdash-success-soft: rgba(0,166,90,.14);
    --sysdash-warning-soft: rgba(243,156,18,.16);
    --sysdash-danger-soft: rgba(221,75,57,.16);
    --sysdash-shadow: 0 14px 36px rgba(0,0,0,.20);
    --sysdash-chart-text: rgba(245,247,250,.68);
    --sysdash-chart-grid: rgba(255,255,255,.08);
    --sysdash-scroll-track: rgba(255,255,255,.08);
    --sysdash-scroll-thumb: rgba(255,255,255,.28);
    --sysdash-scroll-thumb-hover: rgba(60,141,188,.72);
    height: var(--sysdash-mainview-height, calc(100vh - 76px));
    min-height: 0 !important;
    color: var(--sysdash-text);
    background: var(--sysdash-bg);
    overflow: hidden;
    scrollbar-color: var(--sysdash-scroll-thumb) var(--sysdash-scroll-track);
    scrollbar-width: thin;
}

.skin-blue-light .sys-dashboard-studio,
.skin-sysimple-soft .sys-dashboard-studio {
    --sysdash-bg: #f3f5f7;
    --sysdash-surface: #ffffff;
    --sysdash-surface-2: #f9fafb;
    --sysdash-surface-3: #eef1f4;
    --sysdash-line: rgba(38,50,56,.12);
    --sysdash-line-strong: rgba(38,50,56,.22);
    --sysdash-text: #263238;
    --sysdash-muted: rgba(38,50,56,.58);
    --sysdash-muted-strong: rgba(38,50,56,.76);
    --sysdash-accent-soft: rgba(60,141,188,.12);
    --sysdash-success-soft: rgba(0,166,90,.12);
    --sysdash-warning-soft: rgba(243,156,18,.13);
    --sysdash-danger-soft: rgba(221,75,57,.12);
    --sysdash-shadow: 0 12px 30px rgba(38,50,56,.10);
    --sysdash-chart-text: rgba(38,50,56,.68);
    --sysdash-chart-grid: rgba(38,50,56,.10);
    --sysdash-scroll-track: rgba(38,50,56,.08);
    --sysdash-scroll-thumb: rgba(38,50,56,.28);
    --sysdash-scroll-thumb-hover: rgba(60,141,188,.70);
}

.skin-sysimple-midnight .sys-dashboard-studio {
    --sysdash-bg: #101317;
    --sysdash-surface: #1c2128;
    --sysdash-surface-2: #232933;
    --sysdash-surface-3: #15191f;
    --sysdash-accent: #5cb8ff;
    --sysdash-accent-soft: rgba(92,184,255,.16);
}

.skin-sysimple-vs .sys-dashboard-studio {
    --sysdash-bg: #16181b;
    --sysdash-surface: #24272d;
    --sysdash-surface-2: #2a2e35;
    --sysdash-surface-3: #1b1e23;
}

.sys-dashboard-studio * { box-sizing: border-box; }
.sys-dashboard-studio button,
.sys-dashboard-studio input,
.sys-dashboard-studio select { font: inherit; }
.main-header .navbar-custom-menu .sys-header-one-mark,
.main-header .navbar-nav .sys-header-one-mark { display: inline-block; width: auto; height: 18px; max-width: 62px; object-fit: contain; vertical-align: middle; }
.sys-dashboard-studio ::-webkit-scrollbar { width: 11px; height: 11px; }
.sys-dashboard-studio ::-webkit-scrollbar-track { background: var(--sysdash-scroll-track); }
.sys-dashboard-studio ::-webkit-scrollbar-thumb { background: var(--sysdash-scroll-thumb); border: 3px solid transparent; background-clip: padding-box; }
.sys-dashboard-studio ::-webkit-scrollbar-thumb:hover { background: var(--sysdash-scroll-thumb-hover); border: 2px solid transparent; background-clip: padding-box; }

.sysdash-shell { display: flex; flex-direction: column; height: 100%; min-height: 0; padding: 14px 18px 22px; overflow: hidden; }
.sysdash-commandbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; margin-bottom: 14px; padding: 10px 12px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface); box-shadow: var(--sysdash-shadow); }
.sysdash-brand { display: flex; align-items: center; min-width: 0; gap: 12px; }
.sysdash-brand-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--sysdash-line-strong); background: var(--sysdash-accent-soft); color: var(--sysdash-accent); }
.sysdash-brand-logo-block { display: grid; align-items: center; gap: 2px; min-width: 0; }
.sysdash-brand-logo { display: block; width: min(170px, 28vw); max-width: 100%; height: auto; max-height: 28px; object-fit: contain; object-position: left center; }
.sysdash-brand-logo-dark { display: block; }
.sysdash-brand-logo-light { display: none; }
.skin-sysimple-midnight .sysdash-brand-logo-dark,
.skin-sysimple-vs .sysdash-brand-logo-dark,
.skin-sysimple-dark .sysdash-brand-logo-dark { display: none; }
.skin-sysimple-midnight .sysdash-brand-logo-light,
.skin-sysimple-vs .sysdash-brand-logo-light,
.skin-sysimple-dark .sysdash-brand-logo-light { display: block; }
.sysdash-brand h1 { margin: 0; color: var(--sysdash-text); font-size: 22px; line-height: 1.1; font-weight: 600; letter-spacing: 0; }
.sysdash-brand p { margin: 4px 0 0; color: var(--sysdash-muted); font-size: 12px; }
.sysdash-brand-logo-block p { margin: 0; color: var(--sysdash-muted-strong); font-size: 12px; line-height: 1.2; }
.sysdash-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.sysdash-segment { display: inline-flex; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); }
.sysdash-segment button { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; border: 0; border-right: 1px solid var(--sysdash-line); padding: 0 12px; background: transparent; color: var(--sysdash-muted-strong); }
.sysdash-segment button:last-child { border-right: 0; }
.sysdash-segment button.is-active { background: var(--sysdash-accent-soft); color: var(--sysdash-text); }
.sysdash-icon-btn,
.sysdash-primary-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 34px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); color: var(--sysdash-text); padding: 0 11px; }
.sysdash-icon-btn { width: 34px; padding: 0; }
.sysdash-primary-btn { border-color: rgba(0,166,90,.45); background: var(--sysdash-success-soft); }
.sysdash-save-control { display: grid; justify-items: end; gap: 3px; }
.sysdash-save-btn { min-width: 128px; border-color: rgba(0,166,90,.72); background: rgba(0,166,90,.20); font-weight: 800; }
.sysdash-save-control small { display: inline-flex; align-items: center; gap: 5px; min-height: 16px; color: var(--sysdash-muted); font-size: 10px; line-height: 1; white-space: nowrap; }
.sysdash-save-control[data-save-state="dirty"] .sysdash-save-btn { border-color: rgba(243,156,18,.80); background: var(--sysdash-warning-soft); }
.sysdash-save-control[data-save-state="dirty"] small { color: var(--sysdash-warning); }
.sysdash-save-control[data-save-state="saving"] .sysdash-save-btn { opacity: .82; pointer-events: none; }
.sysdash-save-control[data-save-state="saving"] small { color: var(--sysdash-accent); }
.sysdash-save-control[data-save-state="error"] .sysdash-save-btn { border-color: rgba(221,75,57,.72); background: var(--sysdash-danger-soft); }
.sysdash-save-control[data-save-state="error"] small { color: var(--sysdash-danger); }
.sysdash-icon-btn:hover,
.sysdash-primary-btn:hover,
.sysdash-segment button:hover { border-color: var(--sysdash-accent); color: var(--sysdash-text); }
.sysdash-icon-btn.is-active { border-color: var(--sysdash-accent); background: var(--sysdash-accent-soft); color: var(--sysdash-text); }

.sysdash-main { display: grid; grid-template-columns: 276px minmax(0, 1fr); gap: 14px; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.sysdash-nav,
.sysdash-canvas,
.sysdash-inspector { border: 1px solid var(--sysdash-line); background: var(--sysdash-surface); box-shadow: var(--sysdash-shadow); }
.sysdash-nav { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.sysdash-nav-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 50px; padding: 10px 12px; border-bottom: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); }
.sysdash-nav-head span { color: var(--sysdash-muted-strong); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.sysdash-nav-actions { display: inline-flex; align-items: center; gap: 6px; }
.sysdash-search-wrap { position: relative; margin: 12px; }
.sysdash-search-wrap > i { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--sysdash-muted); }
.sysdash-search-wrap input { width: 100%; height: 36px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); padding: 0 34px 0 30px; outline: 0; }
.sysdash-search-wrap input:focus { border-color: var(--sysdash-accent); }
.sysdash-search-wrap [data-catalog-filter-clear] { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border: 0; background: transparent; color: var(--sysdash-muted); display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.sysdash-search-wrap [data-catalog-filter-clear]:hover { color: var(--sysdash-text); }
.sysdash-list { flex: 1 1 auto; min-height: 0; max-height: none; overflow: auto; padding: 0 6px 10px; scrollbar-color: var(--sysdash-scroll-thumb) var(--sysdash-scroll-track); scrollbar-width: thin; }
.sysdash-nav-section { margin: 0 0 8px; }
.sysdash-nav-section[draggable="true"] { cursor: grab; }
.sysdash-nav-section-head { display: grid; grid-template-columns: 38px minmax(0, 1fr) 26px 30px; align-items: stretch; gap: 0; margin-bottom: 4px; border: 1px solid var(--sysdash-line-strong); background: var(--sysdash-surface-2); box-shadow: inset 0 -1px 0 var(--sysdash-line); }
.sys-dashboard-studio:not(.is-admin) .sysdash-nav-section-head { grid-template-columns: 38px minmax(0, 1fr); }
.sysdash-nav-section-head [data-section-command="toggle"] { display: inline-grid; grid-template-columns: 9px 17px; align-items: center; justify-content: center; column-gap: 3px; width: 38px; min-height: 36px; border: 0; border-right: 1px solid var(--sysdash-line); background: transparent; color: var(--sysdash-accent); padding: 0; }
.sysdash-nav-section-head [data-section-command="toggle"]:hover,
.sysdash-nav-section-head.is-section-drop [data-section-command="toggle"],
.sysdash-nav-section-head.is-section-drop-before [data-section-command="toggle"],
.sysdash-nav-section-head.is-section-drop-after [data-section-command="toggle"],
.sysdash-nav-section-head.is-section-drop .sysdash-section-title { background: var(--sysdash-accent-soft); color: var(--sysdash-text); }
.sysdash-nav-section-head.is-section-drop-before .sysdash-section-title,
.sysdash-nav-section-head.is-section-drop-before .sysdash-section-drag-handle,
.sysdash-nav-section-head.is-section-drop-after .sysdash-section-title,
.sysdash-nav-section-head.is-section-drop-after .sysdash-section-drag-handle { background: var(--sysdash-accent-soft); color: var(--sysdash-text); }
.sysdash-nav-section-head [data-section-command="toggle"] .fa-chevron-right,
.sysdash-nav-section-head [data-section-command="toggle"] .fa-chevron-down { color: var(--sysdash-muted-strong); font-size: 10px; }
.sysdash-section-title-with-handle { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.sysdash-section-title { display: flex; align-items: center; gap: 6px; min-width: 0; min-height: 36px; color: var(--sysdash-text); padding: 0 8px; }
.sysdash-section-title span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.sysdash-section-title em { color: var(--sysdash-muted); font-size: 10px; font-style: normal; font-weight: 700; }
.sysdash-section-drag-handle { display: inline-flex; flex: 0 0 22px; width: 22px; height: 20px; align-items: center; justify-content: center; border: 1px solid var(--sysdash-line); background: transparent; color: var(--sysdash-muted); cursor: grab; }
.sysdash-section-drag-handle:hover { border-color: var(--sysdash-accent); color: var(--sysdash-accent); }
.sysdash-section-drag-handle:focus-visible { outline: 0; border-color: var(--sysdash-accent); color: var(--sysdash-accent); }
.sysdash-section-pin { display: inline-flex; flex: 0 0 22px; width: 22px; height: 20px; align-items: center; justify-content: center; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface); color: var(--sysdash-muted); padding: 0; }
.sysdash-section-pin:hover,
.sysdash-section-pin:focus-visible { outline: 0; border-color: var(--sysdash-accent); color: var(--sysdash-accent); background: var(--sysdash-accent-soft); }
.sysdash-section-pin.is-active { border-color: var(--sysdash-accent); color: var(--sysdash-accent); background: var(--sysdash-accent-soft); box-shadow: inset 0 -2px 0 var(--sysdash-accent); }
.sysdash-nav-section-head.is-section-drop-before { box-shadow: inset 0 2px 0 var(--sysdash-accent); }
.sysdash-nav-section-head.is-section-drop-after { box-shadow: inset 0 -2px 0 var(--sysdash-accent); }
.sysdash-nav-section-head.is-section-drop { border-color: var(--sysdash-accent); }
.sysdash-nav-section-head input { width: 100%; min-width: 0; height: 24px; border: 1px solid transparent; background: transparent; color: var(--sysdash-text); font: inherit; font-size: 12px; font-weight: 700; outline: 0; padding: 0 2px; }
.sysdash-nav-section-head input:focus { border-color: var(--sysdash-accent); background: var(--sysdash-surface); }
.sysdash-section-order-actions { display: grid; grid-template-rows: 1fr 1fr; min-height: 36px; border-left: 1px solid var(--sysdash-line); }
.sysdash-section-order-actions button { display: inline-flex; align-items: center; justify-content: center; width: 26px; min-height: 18px; border: 0; background: transparent; color: var(--sysdash-muted); padding: 0; font-size: 9px; }
.sysdash-section-order-actions button + button { border-top: 1px solid var(--sysdash-line); }
.sysdash-section-order-actions button:hover { color: var(--sysdash-accent); background: var(--sysdash-accent-soft); }
.sysdash-nav-section-head [data-section-command="delete"] { display: inline-flex; align-items: center; justify-content: center; border: 0; border-left: 1px solid var(--sysdash-line); background: transparent; color: var(--sysdash-muted); min-height: 36px; }
.sysdash-nav-section-head [data-section-command="delete"]:hover { color: #dd4b39; border-color: rgba(221,75,57,.5); background: rgba(221,75,57,.08); }
.sys-dashboard-studio:not(.is-admin) .sysdash-section-order-actions,
.sys-dashboard-studio:not(.is-admin) .sysdash-section-pin,
.sys-dashboard-studio:not(.is-admin) .sysdash-section-drag-handle,
.sys-dashboard-studio:not(.is-admin) .sysdash-nav-section-head [data-section-command="delete"] { display: none !important; }
.sysdash-nav-section.is-virtual .sysdash-nav-section-head { background: var(--sysdash-surface-3); border-style: dashed; }
.sysdash-section-drop-zone { display: none; }
.sysdash-nav-section-body { position: relative; min-height: 8px; margin-left: 18px; padding-left: 10px; border-left: 2px solid var(--sysdash-line-strong); }
.sysdash-list-row { display: grid; grid-template-columns: minmax(0, 1fr) 32px; align-items: stretch; gap: 4px; margin-bottom: 5px; }
.sys-dashboard-studio:not(.is-admin) .sysdash-list-row { grid-template-columns: minmax(0, 1fr); }
.sys-dashboard-studio:not(.is-admin) .sysdash-list-action,
.sys-dashboard-studio:not(.is-admin) .sysdash-list-delete { display: none !important; }
.sysdash-list-row .sysdash-list-item { margin-bottom: 0; min-width: 0; }
.sysdash-list-row.is-active .sysdash-list-item { border-color: var(--sysdash-accent); background: var(--sysdash-accent-soft); }
.sysdash-list-delete { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-muted); min-height: 32px; }
.sysdash-list-delete:hover { color: #dd4b39; border-color: rgba(221,75,57,.5); }
.sysdash-list-item { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 7px; width: 100%; min-height: 48px; margin-bottom: 0; border: 1px solid transparent; background: transparent; color: var(--sysdash-text); text-align: left; padding: 6px 7px; }
.sysdash-list-item:hover,
.sysdash-list-item.is-active { border-color: var(--sysdash-accent); background: var(--sysdash-accent-soft); }
.sysdash-list-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--sysdash-surface-3); color: var(--sysdash-accent); }
.sysdash-list-copy { min-width: 0; }
.sysdash-list-copy strong,
.sysdash-list-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-list-copy strong { font-size: 13px; font-weight: 600; }
.sysdash-list-copy small { margin-top: 3px; color: var(--sysdash-muted); font-size: 11px; }
.sysdash-empty-small { padding: 16px; color: var(--sysdash-muted); text-align: center; }

.sysdash-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; min-height: 0; overflow: hidden; }
.sys-dashboard-studio.is-admin .sysdash-stage { grid-template-columns: minmax(0, 1fr) minmax(340px, 380px); }
.sysdash-canvas { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.sysdash-canvas-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 82px; padding: 15px 18px; border-bottom: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); }
.sysdash-eyebrow { color: var(--sysdash-accent); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sysdash-canvas-head h2 { margin: 4px 0 0; color: var(--sysdash-text); font-size: 25px; line-height: 1.1; font-weight: 600; letter-spacing: 0; }
.sysdash-canvas-head p { max-width: 760px; margin: 6px 0 0; color: var(--sysdash-muted); font-size: 12px; }
.sysdash-section-shortcut { position: relative; z-index: 1200; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); align-items: flex-start; gap: 8px; width: 100%; max-width: 100%; margin-top: 8px; overflow: visible; }
.sysdash-section-quick-access-wrap { display: flex; align-items: stretch; gap: 0; min-width: 0; width: 100%; max-width: 100%; position: relative; }
.sysdash-section-quick-access-trigger { display: inline-flex; flex: 1 1 auto; align-items: center; gap: 7px; min-width: 0; min-height: 32px; max-width: 100%; border: 1px solid var(--sysdash-line-strong); background: var(--sysdash-surface-3); color: var(--sysdash-text); padding: 0 8px; }
.sysdash-section-quick-access-trigger-icon { display: inline-flex; align-items: center; justify-content: center; width: 20px; min-width: 20px; color: var(--sysdash-accent); }
.sysdash-section-quick-access-trigger-name { display: block; min-width: 0; max-width: calc(100% - 46px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 700; color: var(--sysdash-text); }
.sysdash-section-quick-access-trigger-caret { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; color: var(--sysdash-muted); font-size: 11px; }
.sysdash-section-quick-access-trigger:hover,
.sysdash-section-quick-access-trigger:focus { border-color: var(--sysdash-accent); color: var(--sysdash-text); }
.sysdash-section-quick-access-menu { position: fixed; top: calc(100% + 8px); left: 0; z-index: 2000600; min-width: min(100%, 400px); max-height: 280px; width: clamp(220px, 30vw, 360px); overflow: auto; border: 1px solid var(--sysdash-line-strong); background: var(--sysdash-surface); box-shadow: var(--sysdash-shadow); }
.sysdash-section-quick-access-menu[hidden] { display: none; }
.sysdash-section-quick-access-empty { color: var(--sysdash-muted); padding: 9px 11px; font-size: 11px; }
.sysdash-section-quick-access-group { display: grid; grid-template-columns: minmax(0, 1fr) 30px; align-items: center; min-height: 32px; border-bottom: 1px solid var(--sysdash-line-strong); background: var(--sysdash-surface-2); color: var(--sysdash-muted-strong); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.sysdash-section-quick-access-group span { display: inline-flex; align-items: center; gap: 8px; min-width: 0; padding: 0 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-section-quick-access-group i { color: var(--sysdash-accent); }
.sysdash-section-quick-access-remove { display: inline-flex; flex: 0 0 44px; align-items: center; justify-content: center; width: 44px; min-width: 44px; min-height: 32px; border: 1px solid var(--sysdash-line-strong); border-left: 0; background: var(--sysdash-surface-3); color: var(--sysdash-muted); }
.sysdash-section-quick-access-remove:hover { color: #dd4b39; background: rgba(221,75,57,.08); }
.sysdash-section-quick-access-item { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 8px; width: 100%; min-height: 34px; border: 0; border-bottom: 1px solid var(--sysdash-line); background: transparent; color: var(--sysdash-text); text-align: left; padding: 5px 8px 5px 9px; }
.sysdash-section-quick-access-item:last-child { border-bottom: 0; }
.sysdash-section-quick-access-item:hover,
.sysdash-section-quick-access-item:focus,
.sysdash-section-quick-access-item.is-active { background: var(--sysdash-accent-soft); color: var(--sysdash-text); }
.sysdash-section-quick-access-item-icon { display: inline-flex; align-items: center; justify-content: center; width: 20px; min-width: 20px; color: var(--sysdash-accent); }
.sysdash-section-quick-access-item-name { display: inline-flex; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.sysdash-status { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.sysdash-status span { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-muted-strong); padding: 0 9px; font-size: 11px; }
.sysdash-status .fa-circle { color: var(--sysdash-accent-2); font-size: 8px; }
.sysdash-dashboard-variables { border-bottom: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); }
.sysdash-global-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; padding: 10px 14px; }
.sysdash-global-filters-title { display: grid; grid-template-columns: 28px minmax(0, 1fr) 30px; align-items: center; gap: 8px; min-width: 240px; min-height: 36px; color: var(--sysdash-muted); }
.sysdash-global-filters-title i { grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid var(--sysdash-line); background: var(--sysdash-accent-soft); color: var(--sysdash-accent); }
.sysdash-global-filters-title strong { color: var(--sysdash-text); font-size: 12px; line-height: 1.1; }
.sysdash-global-filters-title span { grid-column: 2; font-size: 10px; line-height: 1.1; }
.sysdash-global-filters-title button { grid-column: 3; grid-row: 1 / span 2; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface); color: var(--sysdash-muted); }
.sysdash-global-filters-title button:hover { border-color: var(--sysdash-accent); color: var(--sysdash-accent); }
.sysdash-global-filter { display: grid; gap: 4px; min-width: 168px; color: var(--sysdash-muted); font-size: 11px; }
.sysdash-global-filter > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.sysdash-global-filter strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sysdash-muted-strong); font-size: 11px; }
.sysdash-global-filter em { flex: 0 0 auto; font-style: normal; color: var(--sysdash-muted); font-size: 10px; }
.sysdash-global-filter > div { display: flex; gap: 4px; }
.sysdash-global-filter input { min-height: 30px; min-width: 0; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface); color: var(--sysdash-text); padding: 0 8px; }
.sysdash-global-filter button { width: 30px; min-width: 30px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface); color: var(--sysdash-muted); }
.sysdash-global-filter button:hover { border-color: var(--sysdash-accent); color: var(--sysdash-accent); }

.sysdash-admin-tools { display: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 12px; border-bottom: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); }
.sys-dashboard-studio.is-admin .sysdash-admin-tools { display: grid; }
.sys-dashboard-studio.is-admin:not(.is-dashboard-editable) .sysdash-admin-tools { display: none; }
.sysdash-admin-tools button { display: grid; grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 9px; align-items: center; min-height: 58px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface); color: var(--sysdash-text); padding: 9px; text-align: left; }
.sysdash-admin-tools button i { grid-row: 1 / span 2; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: var(--sysdash-accent-soft); color: var(--sysdash-accent); }
.sysdash-admin-tools button strong { font-size: 12px; line-height: 1.1; }
.sysdash-admin-tools button span { color: var(--sysdash-muted); font-size: 11px; }
.sysdash-admin-tools button:hover { border-color: var(--sysdash-accent); transform: translateY(-1px); }

.sysdash-grid { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 14px; background: var(--sysdash-bg); scrollbar-color: var(--sysdash-scroll-thumb) var(--sysdash-scroll-track); scrollbar-width: thin; }
.sysdash-grid-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 62px; grid-auto-flow: row; align-items: stretch; gap: 14px; }
.sysdash-cell { min-width: 0; min-height: 0; padding: 0; overflow: hidden; transition: grid-column .18s ease, opacity .14s ease; }
.sysdash-w-3 { grid-column: span 3; width: auto; }
.sysdash-w-4 { grid-column: span 4; width: auto; }
.sysdash-w-5 { grid-column: span 5; width: auto; }
.sysdash-w-6 { grid-column: span 6; width: auto; }
.sysdash-w-7 { grid-column: span 7; width: auto; }
.sysdash-w-8 { grid-column: span 8; width: auto; }
.sysdash-w-9 { grid-column: span 9; width: auto; }
.sysdash-w-10 { grid-column: span 10; width: auto; }
.sysdash-w-11 { grid-column: span 11; width: auto; }
.sysdash-w-12 { grid-column: span 12; width: auto; }
.sysdash-widget { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 0; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface); box-shadow: 0 10px 24px rgba(0,0,0,.12); transition: border-color .14s ease, transform .14s ease, box-shadow .14s ease; overflow: hidden; }
.sysdash-widget:hover { border-color: var(--sysdash-line-strong); }
.sysdash-widget.is-admin { cursor: move; touch-action: none; user-select: none; }
.sysdash-widget.is-selected { border-color: var(--sysdash-accent); box-shadow: 0 0 0 1px var(--sysdash-accent), var(--sysdash-shadow); }
.sysdash-h-2 { min-height: 132px; }
.sysdash-h-3 { min-height: 184px; }
.sysdash-h-4 { min-height: 246px; }
.sysdash-h-5 { min-height: 308px; }
.sysdash-h-6 { min-height: 370px; }
.sysdash-h-8 { min-height: 494px; }
.sysdash-widget-head { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-height: 46px; padding: 10px 12px; border-bottom: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); }
.sysdash-widget-title { display: flex; align-items: center; min-width: 0; gap: 8px; color: var(--sysdash-text); font-weight: 600; }
.sysdash-widget-title i { color: var(--sysdash-accent); }
.sysdash-widget-title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-filter-badge { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 4px; min-width: 30px; height: 24px; border: 1px solid rgba(60,141,188,.46); background: var(--sysdash-accent-soft); color: var(--sysdash-accent-strong); padding: 0 7px; font-size: 11px; line-height: 1; cursor: pointer; outline: 0; }
.sysdash-filter-badge > i { color: inherit; font-size: 11px; }
.sysdash-filter-badge b { color: var(--sysdash-text); font-size: 10px; font-weight: 800; }
.sysdash-filter-badge:hover,
.sysdash-filter-badge:focus { border-color: var(--sysdash-accent); background: rgba(60,141,188,.18); }
.sysdash-widget-state-badge { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 4px; height: 24px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-muted-strong); padding: 0 7px; font-size: 10px; line-height: 1; }
.sysdash-widget-state-badge i { font-size: 11px; }
.sysdash-widget-state-badge small { display: inline-block; max-width: 58px; overflow: hidden; color: inherit; font-size: 10px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-widget-state-badge.is-warning { border-color: rgba(243,156,18,.55); background: var(--sysdash-warning-soft); color: var(--sysdash-warning); }
.sysdash-widget-state-badge.is-info { border-color: rgba(60,141,188,.46); background: var(--sysdash-accent-soft); color: var(--sysdash-accent-strong); }
.sysdash-filter-popover { --sysdash-popover-arrow-left: 20px; position: fixed; z-index: 99990; max-height: min(460px, calc(100vh - 24px)); overflow: auto; border: 1px solid var(--sysdash-line-strong, #c6d2dc); background: var(--sysdash-surface, #fff); color: var(--sysdash-text, #1f2d3d); box-shadow: 0 18px 42px rgba(0,0,0,.28); padding: 10px; opacity: 0; transform: translateY(-4px); transition: opacity .12s ease, transform .12s ease; }
.sysdash-filter-popover.is-visible { opacity: 1; transform: translateY(0); }
.sysdash-filter-popover::before { position: absolute; left: var(--sysdash-popover-arrow-left); top: -6px; width: 10px; height: 10px; border-left: 1px solid var(--sysdash-line-strong, #c6d2dc); border-top: 1px solid var(--sysdash-line-strong, #c6d2dc); background: var(--sysdash-surface, #fff); content: ""; transform: rotate(45deg); }
.sysdash-filter-popover.is-above::before { top: auto; bottom: -6px; border: 0; border-right: 1px solid var(--sysdash-line-strong, #c6d2dc); border-bottom: 1px solid var(--sysdash-line-strong, #c6d2dc); }
.sysdash-filter-popover-head { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 9px; align-items: center; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--sysdash-line, #d9e1e8); }
.sysdash-filter-popover-head > span { display: inline-grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(60,141,188,.35); background: var(--sysdash-accent-soft, rgba(60,141,188,.12)); color: var(--sysdash-accent-strong, #2c7fb0); }
.sysdash-filter-popover-head strong { display: block; color: var(--sysdash-text, #1f2d3d); font-size: 13px; line-height: 1.2; }
.sysdash-filter-popover-head small { display: block; color: var(--sysdash-muted, #7b8794); font-size: 11px; line-height: 1.25; }
.sysdash-filter-popover ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.sysdash-filter-popover li { display: grid; gap: 6px; border: 1px solid var(--sysdash-line, #d9e1e8); background: var(--sysdash-surface-2, #f6f8fa); padding: 8px; }
.sysdash-filter-popover-row-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.sysdash-filter-popover-row-head strong { min-width: 0; overflow: hidden; color: var(--sysdash-text, #1f2d3d); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-filter-popover-row-head em { flex: 0 0 auto; border: 1px solid var(--sysdash-line, #d9e1e8); background: var(--sysdash-surface, #fff); color: var(--sysdash-muted, #7b8794); padding: 2px 5px; font-size: 9px; font-style: normal; letter-spacing: .05em; text-transform: uppercase; }
.sysdash-filter-popover-rule { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px; align-items: start; }
.sysdash-filter-popover-rule span { display: inline-flex; min-height: 22px; align-items: center; border: 1px solid rgba(60,141,188,.35); background: var(--sysdash-accent-soft, rgba(60,141,188,.12)); color: var(--sysdash-accent-strong, #2c7fb0); padding: 2px 6px; font-size: 10px; font-weight: 800; }
.sysdash-filter-popover-rule b { min-width: 0; color: var(--sysdash-text, #1f2d3d); font-size: 12px; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.sysdash-filter-popover li small { color: var(--sysdash-muted, #7b8794); font-size: 10px; }
.sysdash-filter-popover-more,
.sysdash-filter-popover-empty { color: var(--sysdash-muted-strong, #5f6f7d); font-size: 11px; font-weight: 800; text-align: center; }
.sysdash-filter-popover-loading { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 2px 9px; align-items: center; min-height: 58px; color: var(--sysdash-muted, #7b8794); }
.sysdash-filter-popover-loading i { grid-row: 1 / span 2; color: var(--sysdash-accent-strong, #2c7fb0); font-size: 16px; }
.sysdash-filter-popover-loading strong { color: var(--sysdash-text, #1f2d3d); font-size: 12px; }
.sysdash-filter-popover-loading small { font-size: 11px; }
.sysdash-widget-actions { display: flex; align-items: center; gap: 6px; color: var(--sysdash-muted); font-size: 11px; }
.sysdash-widget-actions button { display: none; width: 26px; height: 26px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); }
.sysdash-widget-actions .sysdash-widget-add-action,
.sysdash-widget-actions .sysdash-widget-export-action,
.sysdash-widget-actions .sysdash-widget-bulk-action,
.sysdash-widget-actions .sysdash-widget-compact-action { display: inline-flex; align-items: center; justify-content: center; }
.sysdash-widget-actions .sysdash-widget-add-action { border-color: rgba(0,166,90,.5); background: var(--sysdash-success-soft); color: var(--sysdash-accent-2); }
.sysdash-widget-actions .sysdash-widget-add-action:hover { border-color: var(--sysdash-accent-2); color: var(--sysdash-text); background: rgba(0,166,90,.22); }
.sysdash-widget-actions .sysdash-widget-export-action { border-color: rgba(0,166,90,.5); background: var(--sysdash-success-soft); color: var(--sysdash-accent-2); }
.sysdash-widget-actions .sysdash-widget-export-action:hover { border-color: var(--sysdash-accent-2); color: var(--sysdash-text); }
.sysdash-widget-actions .sysdash-widget-export-action.is-disabled { border-color: var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-muted); opacity: .75; }
.sysdash-widget-actions .sysdash-widget-export-action.is-disabled:hover { border-color: var(--sysdash-line-strong); color: var(--sysdash-muted-strong); }
.sysdash-widget-actions .sysdash-widget-export-action.is-loading { opacity: .65; pointer-events: none; }
.sysdash-widget-actions .sysdash-widget-export-action.is-loading i { animation: sysdash-spin .8s linear infinite; }
.sysdash-widget-actions .sysdash-widget-bulk-action { border-color: rgba(60,141,188,.55); background: rgba(60,141,188,.14); color: var(--sysdash-accent-strong); }
.sysdash-widget-actions .sysdash-widget-bulk-action:hover { border-color: var(--sysdash-accent); color: var(--sysdash-text); background: rgba(60,141,188,.22); }
.sysdash-widget-actions .sysdash-widget-compact-action.is-active { border-color: var(--sysdash-accent); background: var(--sysdash-accent-soft); color: var(--sysdash-text); }
.sysdash-widget-zoom { display: inline-flex; align-items: center; gap: 0; overflow: hidden; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); }
.sysdash-widget-actions .sysdash-widget-zoom button { display: inline-flex; width: 24px; height: 24px; border: 0; background: transparent; color: var(--sysdash-muted); }
.sysdash-widget-actions .sysdash-widget-zoom button:hover { background: var(--sysdash-accent-soft); color: var(--sysdash-text); }
.sysdash-widget-zoom strong { min-width: 38px; color: var(--sysdash-muted-strong); font-size: 10px; line-height: 24px; text-align: center; }
@keyframes sysdash-spin { to { transform: rotate(360deg); } }
.sys-dashboard-studio.is-admin .sysdash-widget-actions button { display: inline-flex; align-items: center; justify-content: center; }
.sys-dashboard-studio.is-admin:not(.is-dashboard-editable) .sysdash-widget-actions button:not(.sysdash-widget-add-action):not(.sysdash-widget-export-action):not(.sysdash-widget-statistics-action):not(.sysdash-widget-bulk-action):not(.sysdash-widget-filter-action):not(.sysdash-widget-compact-action) { display: none; }
.sysdash-widget-body { flex: 1; min-height: 0; padding: 14px; font-size: 12px; zoom: var(--sysdash-local-zoom, 1); }
.sysdash-resize-strip { display: none; position: absolute; right: 9px; bottom: 9px; z-index: 6; gap: 3px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface); padding: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.12); pointer-events: none; }
.sys-dashboard-studio.is-admin .sysdash-resize-strip { display: inline-flex; }
.sys-dashboard-studio.is-admin:not(.is-dashboard-editable) .sysdash-resize-strip { display: none; }
.sysdash-resize-strip span { width: 3px; height: 3px; background: var(--sysdash-accent); }
.sysdash-placeholder { min-height: 184px; border: 1px dashed var(--sysdash-accent); background: var(--sysdash-accent-soft); }

.sysdash-kpi { display: flex; flex-direction: column; height: 100%; justify-content: center; gap: 8px; }
.sysdash-kpi-value { color: var(--sysdash-text); font-size: 38px; line-height: 1; font-weight: 700; letter-spacing: 0; }
.sysdash-kpi-label { color: var(--sysdash-muted); font-size: 12px; }
.sysdash-kpi-trend { display: inline-flex; align-items: center; gap: 6px; width: max-content; max-width: 100%; margin-top: 8px; background: var(--sysdash-success-soft); color: var(--sysdash-accent-2); padding: 5px 8px; font-size: 11px; }
.sysdash-kpi-trend-sparkline { display: grid; grid-template-columns: minmax(86px, auto) minmax(96px, 1fr); align-items: center; width: min(100%, 260px); padding: 4px 8px; }
.sysdash-kpi-trend-sparkline span { display: inline-flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.sysdash-kpi-trend-sparkline b { font-weight: 700; }
.sysdash-kpi-trend-sparkline small { color: currentColor; opacity: .76; font-size: 10px; }
.sysdash-kpi-sparkline { display: block; width: 100%; height: 34px; overflow: visible; }
.sysdash-kpi-sparkline-fill { fill: currentColor; opacity: .12; stroke: none; }
.sysdash-kpi-sparkline-line { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sysdash-kpi-groups { display: grid; gap: 4px; margin-top: 4px; max-height: 96px; overflow: auto; font-size: 11px; }
.sysdash-kpi-groups span { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--sysdash-border); padding-top: 4px; color: var(--sysdash-muted); }
.sysdash-kpi-groups b { color: var(--sysdash-text); font-weight: 600; }
.sysdash-kpi.is-success .sysdash-kpi-value,
.sysdash-kpi.is-warning .sysdash-kpi-value,
.sysdash-kpi.is-danger .sysdash-kpi-value { color: var(--sysdash-cell-color); }
.sysdash-kpi.is-success .sysdash-kpi-trend,
.sysdash-kpi.is-warning .sysdash-kpi-trend,
.sysdash-kpi.is-danger .sysdash-kpi-trend { background: var(--sysdash-cell-bg); color: var(--sysdash-cell-color); }
.sysdash-chart-wrap { height: 100%; min-height: 160px; position: relative; }
.sysdash-chart-wrap canvas { display: block; width: 100% !important; height: 100% !important; }
.sysdash-chart-option-card { border-color: rgba(60,141,188,.45); background: linear-gradient(135deg, rgba(60,141,188,.14), rgba(0,166,90,.10)); }
.sysdash-chart-option-card small { color: var(--sysdash-muted-strong); font-size: 11px; }
.sysdash-chart-fallback { display: flex; height: 100%; min-height: 140px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--sysdash-muted); text-align: center; border: 1px dashed var(--sysdash-line); background: var(--sysdash-surface-2); }
.sysdash-chart-fallback i { color: var(--sysdash-accent); font-size: 22px; }
.sysdash-chart-fallback strong { color: var(--sysdash-muted-strong); font-size: 12px; }
.sysdash-calendar { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 10px; height: 100%; min-height: 0; }
/* Keep the record-state legend outside the calendar's scrollable track. */
.sysdash-calendar:has(> .sysdash-agenda-state-legend) { grid-template-rows: auto auto minmax(0, 1fr); }
.sysdash-agenda-state-legend { min-width: 0; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.sysdash-calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 34px; }
.sysdash-calendar-title { display: grid; min-width: 0; gap: 2px; }
.sysdash-calendar-title strong { min-width: 0; overflow: hidden; color: var(--sysdash-text); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; text-transform: capitalize; }
.sysdash-calendar-title span { color: var(--sysdash-muted); font-size: 11px; }
.sysdash-calendar-nav { display: inline-flex; align-items: center; gap: 5px; }
.sysdash-calendar-nav button { height: 30px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); }
.sysdash-calendar-nav button { display: inline-flex; align-items: center; justify-content: center; width: 30px; padding: 0; }
.sysdash-calendar-nav button:hover,
.sysdash-calendar-nav button:focus { border-color: var(--sysdash-accent); background: var(--sysdash-accent-soft); }
.sysdash-calendar-modes { display: inline-flex; align-items: center; gap: 0; overflow: hidden; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); }
.sysdash-calendar-nav .sysdash-calendar-mode { width: auto; min-width: 46px; border: 0; border-left: 1px solid var(--sysdash-line); background: transparent; padding: 0 8px; font-size: 11px; font-weight: 700; }
.sysdash-calendar-nav .sysdash-calendar-mode:first-child { border-left: 0; }
.sysdash-calendar-nav .sysdash-calendar-mode.is-active { background: var(--sysdash-accent); color: #fff; }
.sysdash-calendar-nav .sysdash-calendar-mode.is-active:hover,
.sysdash-calendar-nav .sysdash-calendar-mode.is-active:focus { background: var(--sysdash-accent); color: #fff; }
.sysdash-calendar-month,
.sysdash-calendar-week,
.sysdash-calendar-list { min-height: 0; overflow: auto; }
.sysdash-calendar-weekdays,
.sysdash-calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.sysdash-calendar-weekdays { gap: 4px; margin-bottom: 4px; color: var(--sysdash-muted); font-size: 10px; font-weight: 800; text-align: center; text-transform: uppercase; }
.sysdash-calendar-days { grid-template-columns: minmax(0, 1fr); gap: 4px; }
.sysdash-calendar-month-row { display: grid; position: relative; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; overflow: hidden; }
.sysdash-calendar-day { display: grid; align-content: start; gap: 4px; min-height: 100%; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); padding: 5px; overflow: hidden; }
.sysdash-calendar-day time { color: var(--sysdash-muted-strong); font-size: 11px; font-weight: 800; }
.sysdash-calendar-day.is-outside { opacity: .56; }
.sysdash-calendar-day.is-today { border-color: rgba(60,141,188,.72); box-shadow: inset 0 0 0 1px rgba(60,141,188,.32); }
.sysdash-calendar-infos { display: grid; gap: 2px; min-width: 0; pointer-events: none; }
.sysdash-calendar-info { display: inline-flex; align-items: center; gap: 4px; width: max-content; max-width: 100%; overflow: hidden; border: 1px solid var(--sysdash-line); background: rgba(127,127,127,.08); color: var(--sysdash-muted-strong); padding: 1px 5px; font-size: 10px; font-weight: 700; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; opacity: .86; }
.sysdash-calendar-info i { flex: 0 0 auto; color: inherit; font-size: 9px; }
.sysdash-calendar-info.is-holiday { border-color: rgba(0,166,90,.28); background: rgba(0,166,90,.10); color: var(--sysdash-accent-2); }
.sysdash-calendar-info.is-fiscal { border-color: rgba(60,141,188,.28); background: rgba(60,141,188,.10); color: var(--sysdash-accent-strong); }
.sysdash-calendar-month-event { position: absolute; z-index: 2; min-width: 0; pointer-events: none; }
.sysdash-calendar-month-event .sysdash-calendar-event { pointer-events: auto; }
.sysdash-calendar-month .sysdash-calendar-event { min-height: 52px; height: auto; overflow: visible; }
.sysdash-calendar-month.is-density-compact .sysdash-calendar-event { height: 24px; min-height: 22px; padding: 3px 5px; }
.sysdash-calendar-month.is-density-compact .sysdash-calendar-event > i,
.sysdash-calendar-month.is-density-compact .sysdash-calendar-event em,
.sysdash-calendar-month.is-density-compact .sysdash-calendar-event-fields { display: none; }
.sysdash-calendar-month.is-density-detailed .sysdash-calendar-event { min-height: 76px; height: auto; }
.sysdash-calendar-month.is-density-normal .sysdash-calendar-event-fields > span { grid-template-columns: minmax(0, 1fr); }
.sysdash-calendar-month-more { position: absolute; right: 8px; bottom: 5px; z-index: 3; color: var(--sysdash-accent); font-size: 10px; font-weight: 800; }
.sysdash-calendar-event { position: relative; display: grid; gap: 2px; min-width: 0; border-left: 3px solid var(--sysdash-accent); background: var(--sysdash-accent-soft); padding: 5px 6px; }
.sysdash-calendar-event.is-movable { cursor: grab; }
.sysdash-calendar-event.is-agenda-dragging { cursor: grabbing; opacity: .55; }
.sysdash-calendar-event.is-range-start { border-right: 0; }
.sysdash-calendar-event.is-range-middle { border-right: 0; border-left-style: dashed; }
.sysdash-calendar-event.is-range-end { border-left-style: dashed; }
.sysdash-calendar-event.has-open-link:hover { border-color: var(--sysdash-accent); background: rgba(60,141,188,.20); }
.sysdash-calendar-event strong { display: flex; align-items: center; gap: 5px; min-width: 0; overflow: hidden; color: var(--sysdash-text); font-size: 11px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-calendar-event strong > span:not(.sysdash-calendar-event-icon) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-calendar-event-icon { display: inline-flex; width: 18px; height: 18px; flex: 0 0 18px; align-items: center; justify-content: center; color: #fff; }
.sysdash-calendar-event .sysdash-calendar-event-icon i { color: #fff; font-size: 10px; }
.sysdash-calendar-open { display: inline-flex; width: 18px; height: 18px; flex: 0 0 18px; align-items: center; justify-content: center; border: 1px solid transparent; background: transparent; color: var(--sysdash-muted); padding: 0; cursor: pointer; }
.sysdash-calendar-open:hover,
.sysdash-calendar-open:focus { border-color: var(--sysdash-accent); background: rgba(60,141,188,.16); color: var(--sysdash-accent); }
.sysdash-calendar-open i { color: inherit; font-size: 10px; }
.sysdash-calendar-resize { position: absolute; top: 0; bottom: 0; z-index: 4; width: 7px; cursor: ew-resize; }
.sysdash-calendar-resize.is-start { left: -4px; }
.sysdash-calendar-resize.is-end { right: -4px; }
.sysdash-calendar-resize:hover { background: rgba(60,141,188,.24); }
.sysdash-calendar-timed-event .sysdash-calendar-resize { left:0;right:0;width:auto;height:7px;cursor:ns-resize; }
.sysdash-calendar-timed-event .sysdash-calendar-resize.is-start { top:0;bottom:auto; }
.sysdash-calendar-timed-event .sysdash-calendar-resize.is-end { top:auto;bottom:0; }
.sysdash-calendar-event.is-card-simple { min-height: 22px; gap: 1px; padding: 3px 5px; }
.sysdash-calendar-event.is-card-simple > i,
.sysdash-calendar-event.is-card-simple .sysdash-calendar-event-fields { display: none; }
.sysdash-calendar-event.is-card-simple em { font-size: 10px; font-weight: 600; }
.sysdash-calendar-event i { min-width: 0; overflow: hidden; color: var(--sysdash-muted); font-size: 10px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-calendar-event em { min-width: 0; overflow: hidden; color: var(--sysdash-accent); font-size: 10px; font-style: normal; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-calendar-event small { min-width: 0; overflow: hidden; color: var(--sysdash-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-calendar-event small a,
.sysdash-calendar-event small button { color: inherit; }
.sysdash-calendar-event-fields { display: grid; gap: 3px; margin-top: 3px; }
.sysdash-calendar-event-fields > span { display: grid; grid-template-columns: minmax(72px, .35fr) minmax(0, 1fr); gap: 6px; min-width: 0; color: var(--sysdash-muted-strong); font-size: 11px; line-height: 1.25; }
.sysdash-calendar-event-fields > span > b { min-width: 0; overflow: hidden; color: var(--sysdash-muted); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-calendar-field-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sysdash-calendar-field-row.is-polymorph-field .sysdash-calendar-field-value { overflow: visible; text-overflow: clip; }
.sysdash-calendar-field-row.is-polymorph-field .sysdash-kanban-polymorph-list { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.sysdash-calendar-field-row.is-polymorph-field .sysdash-kanban-polymorph-item { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-calendar-month .sysdash-calendar-event-fields { overflow: visible; }
.sysdash-calendar-month .sysdash-calendar-event-fields > span { min-height: 24px; }
.sysdash-calendar-month .sysdash-calendar-event-fields .sysdash-cell-html,
.sysdash-calendar-month .sysdash-calendar-event-fields .sysdash-kanban-field-value,
.sysdash-calendar-month .sysdash-calendar-event-fields p,
.sysdash-calendar-month .sysdash-calendar-event-fields div { max-width: 100%; }
.sysdash-calendar-day .sysdash-calendar-event-fields > span,
.sysdash-calendar-week .sysdash-calendar-event-fields > span { grid-template-columns: minmax(0, 1fr); gap: 1px; font-size: 10px; }
.sysdash-calendar-more,
.sysdash-calendar-muted { color: var(--sysdash-muted); font-size: 11px; }
.sysdash-calendar-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.sysdash-calendar-week section,
.sysdash-calendar-day-view section { display: grid; grid-template-rows: auto auto minmax(520px, 1fr); gap: 6px; min-height: 620px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); padding: 7px; }
.sysdash-calendar-day-view { min-height: 0; overflow: auto; }
.sysdash-calendar-all-day { display: grid; gap: 4px; min-height: 0; }
.sysdash-calendar-all-day.is-empty { display: none; }
.sysdash-calendar-timed-lane { --sysdash-time-axis: 44px; position: relative; min-height: 540px; overflow: hidden; padding-left: calc(var(--sysdash-time-axis) + 8px); background: linear-gradient(to right, var(--sysdash-surface-3) 0, var(--sysdash-surface-3) var(--sysdash-time-axis), transparent var(--sysdash-time-axis)), repeating-linear-gradient(to bottom, transparent 0, transparent calc(100% / 24 - 1px), rgba(127,127,127,.16) calc(100% / 24 - 1px), rgba(127,127,127,.16) calc(100% / 24)); }
.sysdash-calendar-hour-marks { position: absolute; inset: 0 auto 0 0; z-index: 1; width: var(--sysdash-time-axis); color: var(--sysdash-muted-strong); font-size: 9px; font-weight: 700; pointer-events: none; }
.sysdash-calendar-hour-marks span { position: absolute; right: 6px; max-width: calc(var(--sysdash-time-axis) - 8px); transform: translateY(-50%); white-space: nowrap; }
.sysdash-calendar-hour-marks span:first-child { transform: translateY(0); }
.sysdash-calendar-hour-marks span:last-child { transform: translateY(-100%); }
.sysdash-calendar-timed-event { position: absolute; right: 4px; left: calc(var(--sysdash-time-axis) + 8px); min-height: 28px; overflow: hidden; }
.sysdash-calendar-timed-event .sysdash-calendar-event { height: 100%; overflow: hidden; }
.sysdash-calendar-timed-lane > .sysdash-calendar-muted { position: absolute; top: 8px; left: calc(var(--sysdash-time-axis) + 8px); }
.sysdash-calendar-day.is-agenda-drop,
.sysdash-calendar-week section.is-agenda-drop { border-color: var(--sysdash-accent); box-shadow: inset 0 0 0 2px rgba(60,141,188,.38); }
.sysdash-calendar-week h4,
.sysdash-calendar-list h4 { margin: 0; color: var(--sysdash-muted-strong); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.sysdash-calendar-list { display: grid; align-content: start; gap: 7px; padding-right: 2px; }
.sysdash-calendar-list section { display: grid; gap: 6px; border: 1px solid transparent; }
.sysdash-calendar-list section.is-agenda-drop { border-color: var(--sysdash-accent); background: rgba(60,141,188,.08); }
.sysdash-widget.is-compact-widget .sysdash-calendar { gap: 6px; }
.sysdash-widget.is-compact-widget .sysdash-calendar-toolbar { gap: 6px; min-height: 28px; }
.sysdash-widget.is-compact-widget .sysdash-calendar-title { gap: 0; }
.sysdash-widget.is-compact-widget .sysdash-calendar-title strong { font-size: 12px; }
.sysdash-widget.is-compact-widget .sysdash-calendar-title span { display: none; }
.sysdash-widget.is-compact-widget .sysdash-calendar-nav { gap: 3px; }
.sysdash-widget.is-compact-widget .sysdash-calendar-nav button { width: 26px; height: 26px; }
.sysdash-widget.is-compact-widget .sysdash-calendar-nav .sysdash-calendar-mode { min-width: 34px; padding: 0 5px; font-size: 10px; }
.sysdash-widget.is-compact-widget .sysdash-calendar-weekdays { gap: 2px; margin-bottom: 2px; font-size: 9px; }
.sysdash-widget.is-compact-widget .sysdash-calendar-month-row { gap: 2px; }
.sysdash-widget.is-compact-widget .sysdash-calendar-day { gap: 2px; padding: 3px; }
.sysdash-widget.is-compact-widget .sysdash-calendar-day time { font-size: 10px; }
.sysdash-widget.is-compact-widget .sysdash-calendar-month .sysdash-calendar-event,
.sysdash-widget.is-compact-widget .sysdash-calendar-all-day .sysdash-calendar-event,
.sysdash-widget.is-compact-widget .sysdash-calendar-list .sysdash-calendar-event { min-height: 22px; height: 24px; gap: 1px; padding: 3px 5px; }
.sysdash-widget.is-compact-widget .sysdash-calendar-timed-event { min-height: 22px; }
.sysdash-widget.is-compact-widget .sysdash-calendar-event strong { gap: 4px; font-size: 10px; }
.sysdash-widget.is-compact-widget .sysdash-calendar-event-icon { width: 16px; height: 16px; flex-basis: 16px; }
.sysdash-widget.is-compact-widget .sysdash-calendar-open { width: 16px; height: 16px; flex-basis: 16px; }
.sysdash-widget.is-compact-widget .sysdash-calendar-event > i,
.sysdash-widget.is-compact-widget .sysdash-calendar-event em,
.sysdash-widget.is-compact-widget .sysdash-calendar-event-fields { display: none; }
.sysdash-widget.is-compact-widget .sysdash-calendar-week { gap: 4px; }
.sysdash-widget.is-compact-widget .sysdash-calendar-week section,
.sysdash-widget.is-compact-widget .sysdash-calendar-day-view section { gap: 4px; padding: 5px; }
.sysdash-widget.is-compact-widget .sysdash-calendar-all-day { gap: 2px; }
.sysdash-calendar-empty { display: flex; height: 100%; min-height: 160px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px dashed var(--sysdash-line); background: var(--sysdash-surface-2); color: var(--sysdash-muted); text-align: center; }
.sysdash-calendar-empty i { color: var(--sysdash-accent); font-size: 24px; }
.sysdash-calendar-empty strong { color: var(--sysdash-muted-strong); font-size: 12px; }
.sysdash-calendar-empty span { max-width: 280px; font-size: 11px; line-height: 1.4; }
.sysdash-gantt { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 10px; height: 100%; min-height: 0; }
.sysdash-gantt-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 34px; color: var(--sysdash-muted); }
.sysdash-gantt-toolbar > div { display: grid; gap: 2px; min-width: 0; }
.sysdash-gantt-toolbar strong { min-width: 0; overflow: hidden; color: var(--sysdash-text); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-gantt-toolbar span,
.sysdash-gantt-toolbar em { color: var(--sysdash-muted); font-size: 11px; font-style: normal; }
.sysdash-gantt-toolbar em { flex: 0 0 auto; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); padding: 5px 8px; font-weight: 800; }
.sysdash-gantt-summary-badges { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; padding-top: 2px; }
.sysdash-gantt-summary-badge { display: inline-flex; align-items: center; gap: 5px; min-height: 22px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); color: var(--sysdash-muted-strong); padding: 2px 7px; font-size: 11px; font-weight: 900; line-height: 1; white-space: nowrap; }
.sysdash-gantt-summary-badge i { font-size: 10px; }
.sysdash-gantt-summary-badge.is-total { border-color: rgba(60,141,188,.28); background: rgba(60,141,188,.10); color: #2f6f93; }
.sysdash-gantt-summary-badge.is-late { border-color: rgba(221,75,57,.34); background: rgba(221,75,57,.12); color: #a94442; }
.sysdash-gantt-summary-badge.is-milestone { border-color: rgba(243,156,18,.34); background: rgba(243,156,18,.14); color: #91600f; }
.sysdash-gantt-summary-badge.is-outside { border-color: rgba(160,85,38,.32); background: rgba(160,85,38,.12); color: #8a4b23; }
.sysdash-gantt-toolbar-actions { display: flex !important; align-items: center; justify-content: flex-end; gap: 6px; }
.sysdash-gantt-toolbar-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 28px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); color: var(--sysdash-text); padding: 0 9px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.sysdash-gantt-toolbar-actions button:hover,
.sysdash-gantt-toolbar-actions button:focus { border-color: var(--sysdash-accent); background: var(--sysdash-accent-soft); color: var(--sysdash-text); }
.sysdash-gantt-range-control { display: inline-flex; align-items: stretch; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); }
.sysdash-gantt-range-control button { min-width: 30px; min-height: 26px; border: 0; border-left: 1px solid var(--sysdash-line); background: transparent; padding: 0 8px; }
.sysdash-gantt-range-control button:first-child { border-left: 0; }
.sysdash-gantt-scale-control { display: inline-flex; align-items: stretch; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); }
.sysdash-gantt-scale-control button { min-width: 0; min-height: 26px; border: 0; border-left: 1px solid var(--sysdash-line); background: transparent; padding: 0 8px; }
.sysdash-gantt-scale-control button:first-child { border-left: 0; }
.sysdash-gantt-scale-control button.is-active { background: var(--sysdash-accent); color: #fff; }
.sysdash-gantt-scale-control button.is-active:hover,
.sysdash-gantt-scale-control button.is-active:focus { background: var(--sysdash-accent); color: #fff; }
.sysdash-gantt-scroll { min-height: 0; overflow: auto; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); }
.sysdash-gantt-head { position: sticky; top: 0; z-index: 5; display: grid; min-width: 980px; border-bottom: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); }
.sysdash-gantt-head > span,
.sysdash-gantt-head time { display: grid; align-content: center; gap: 1px; min-width: 0; min-height: 34px; overflow: hidden; border-right: 1px solid var(--sysdash-line); padding: 6px 8px; color: var(--sysdash-muted); font-size: 10px; font-weight: 800; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.sysdash-gantt-head time span,
.sysdash-gantt-head time small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-gantt-head time small { color: var(--sysdash-muted); font-size: 9px; font-weight: 900; }
.sysdash-gantt-body { display: grid; min-width: 980px; }
.sysdash-gantt-group { display: grid; border-bottom: 1px solid var(--sysdash-line); }
.sysdash-gantt-group h4 { margin: 0; }
.sysdash-gantt-group-header { display: grid; align-items: stretch; min-height: 40px; background: var(--sysdash-surface-3); color: var(--sysdash-muted-strong); font-size: 11px; font-weight: 700; }
.sysdash-gantt-group-title { position: sticky; left: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; border-right: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); padding: 7px 10px; }
.sysdash-gantt-group-title > span { flex: 0 0 auto; color: var(--sysdash-muted); font-size: 10px; font-weight: 800; }
.sysdash-gantt-group-title button { display: inline-flex; align-items: center; gap: 7px; min-width: 0; border: 0; background: transparent; color: var(--sysdash-text); padding: 0; text-align: left; font-size: 12px; font-weight: 900; }
.sysdash-gantt-group-title button span { min-width: 0; overflow: hidden; color: inherit; font-size: inherit; font-weight: inherit; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-gantt-group-title button:hover,
.sysdash-gantt-group-title button:focus { color: var(--sysdash-accent); }
.sysdash-gantt-project-bar { position: absolute; top: 50%; z-index: 2; display: flex; align-items: center; gap: 5px; min-width: 28px; height: 16px; overflow: hidden; transform: translateY(-50%); border: 1px solid rgba(38,108,164,.78); background: rgba(38,108,164,.20); color: var(--sysdash-text); padding: 0 8px; box-shadow: 0 3px 8px rgba(0,0,0,.08); cursor: default; pointer-events: auto; }
.sysdash-gantt-project-bar.is-editable,
.sysdash-gantt-bar.is-editable { cursor: grab; touch-action: none; }
.sysdash-gantt-project-bar.is-gantt-grabbed,
.sysdash-gantt-bar.is-gantt-grabbed { z-index: 9; cursor: grabbing; box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.sysdash-gantt-project-bar b { min-width: 0; overflow: hidden; font-size: 10px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-gantt-project-overrun { position: absolute; top: 50%; z-index: 3; min-width: 8px; height: 16px; transform: translateY(-50%); border: 1px solid rgba(221,75,57,.75); background: repeating-linear-gradient(135deg, rgba(221,75,57,.24), rgba(221,75,57,.24) 5px, rgba(221,75,57,.10) 5px, rgba(221,75,57,.10) 10px); box-shadow: 0 3px 9px rgba(221,75,57,.16); pointer-events: auto; }
.sysdash-gantt-task { display: grid; align-items: stretch; min-height: 48px; border-top: 1px solid var(--sysdash-line); }
.sysdash-gantt-task:first-of-type { border-top: 0; }
.sysdash-gantt-task-label { position: sticky; left: 0; z-index: 2; display: grid; align-content: center; gap: 4px; min-width: 0; border-right: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); padding: 8px 10px 8px 28px; }
.sysdash-gantt-task-label::before { content: ""; position: absolute; left: 14px; top: 0; bottom: 50%; width: 9px; border-left: 1px solid var(--sysdash-line-strong); border-bottom: 1px solid var(--sysdash-line-strong); opacity: .72; }
.sysdash-gantt-task-label strong,
.sysdash-gantt-task-label small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-gantt-task-label strong { color: var(--sysdash-text); font-size: 13px; font-weight: 900; }
.sysdash-gantt-task-label small { color: var(--sysdash-muted); font-size: 10px; }
.sysdash-gantt-status-pill { display: inline-flex; align-items: center; justify-self: start; max-width: 100%; min-height: 20px; overflow: hidden; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-muted-strong); padding: 1px 6px; font-size: 10px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-gantt-status-pill.is-html-status { border-color: transparent; background: transparent; padding: 0; }
.sysdash-gantt-status-pill .sysdash-kanban-polymorph-list,
.sysdash-gantt-tooltip-badge.is-html-status .sysdash-kanban-polymorph-list { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 4px; min-width: 0; max-width: 100%; }
.sysdash-gantt-status-pill .sysdash-kanban-polymorph-item,
.sysdash-gantt-tooltip-badge.is-html-status .sysdash-kanban-polymorph-item { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-gantt-status-pill .pull-left,
.sysdash-gantt-tooltip-badge.is-html-status .pull-left { flex: 0 0 6px; width: 6px !important; min-width: 6px; height: 16px; }
.sysdash-gantt-visible-empty { display: grid; align-items: stretch; min-height: 72px; border-top: 1px solid var(--sysdash-line); }
.sysdash-gantt-visible-empty > div:first-child { position: sticky; left: 0; z-index: 2; display: grid; align-content: center; gap: 3px; min-width: 0; border-right: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); padding: 10px; }
.sysdash-gantt-visible-empty strong { color: var(--sysdash-text); font-size: 12px; font-weight: 900; }
.sysdash-gantt-visible-empty span { color: var(--sysdash-muted); font-size: 11px; }
.sysdash-gantt-lane { position: relative; display: grid; grid-column: 2 / -1; min-height: 48px; }
.sysdash-gantt-lane > .sysdash-gantt-cell { border-right: 1px solid rgba(127,127,127,.16); background: linear-gradient(to bottom, transparent, transparent 48%, rgba(127,127,127,.08) 49%, transparent 52%); }
.sysdash-gantt-project-window { position: absolute; top: 50%; z-index: 1; height: 34px; transform: translateY(-50%); border: 1px dashed rgba(60,141,188,.50); background: rgba(60,141,188,.07); pointer-events: none; }
.sysdash-gantt-today-marker { position: absolute; top: 0; bottom: 0; z-index: 4; width: 2px; transform: translateX(-1px); background: rgba(0,166,90,.72) !important; border-right: 0 !important; box-shadow: 0 0 0 1px rgba(0,166,90,.14); pointer-events: none; }
.sysdash-gantt-bar { position: absolute; top: 50%; z-index: 2; display: flex; align-items: center; gap: 6px; min-width: 20px; height: 24px; overflow: hidden; transform: translateY(-50%); border: 1px solid rgba(0,134,112,.76); background: rgba(0,166,138,.16); color: var(--sysdash-text); padding: 0 8px; text-align: left; box-shadow: 0 6px 12px rgba(0,0,0,.12); }
.sysdash-gantt-bar:hover,
.sysdash-gantt-bar:focus { border-color: rgba(0,166,138,.92); background: rgba(0,166,138,.24); }
.sysdash-gantt-bar b { position: relative; z-index: 2; min-width: 0; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-gantt-bar-icon { position: relative; z-index: 2; flex: 0 0 auto; width: 14px; color: currentColor; font-size: 11px; text-align: center; opacity: .92; }
.sysdash-gantt-project-bar .sysdash-gantt-bar-icon { font-size: 10px; }
.sysdash-gantt-resize-handle { position: absolute; top: -1px; bottom: -1px; z-index: 4; width: 8px; border-color: rgba(60,141,188,.72); opacity: .55; cursor: ew-resize; }
.sysdash-gantt-resize-handle.is-start { left: -1px; border-left: 2px solid currentColor; }
.sysdash-gantt-resize-handle.is-end { right: -1px; border-right: 2px solid currentColor; }
.sysdash-gantt-project-bar:hover .sysdash-gantt-resize-handle,
.sysdash-gantt-bar:hover .sysdash-gantt-resize-handle,
.sysdash-gantt-project-bar:focus .sysdash-gantt-resize-handle,
.sysdash-gantt-bar:focus .sysdash-gantt-resize-handle { opacity: 1; background: rgba(255,255,255,.42); }
.sysdash-gantt-progress { position: absolute; inset: 0 auto 0 0; z-index: 1; max-width: 100%; background: rgba(0,166,90,.22); pointer-events: none; }
.sysdash-gantt-bar.is-on-track { border-color: rgba(0,134,112,.76); background: rgba(0,166,138,.16); }
.sysdash-gantt-project-bar.is-on-track { border-color: rgba(38,108,164,.78); background: rgba(38,108,164,.20); }
.sysdash-gantt-bar.is-complete,
.sysdash-gantt-project-bar.is-complete { border-color: rgba(0,166,90,.82); background: rgba(0,166,90,.18); color: var(--sysdash-text); }
.sysdash-gantt-bar.is-outside-project,
.sysdash-gantt-project-bar.is-outside-project { border-color: rgba(221,75,57,.82); background: rgba(221,75,57,.16); color: var(--sysdash-text); }
.sysdash-gantt-project-bar.is-late { border-color: rgba(221,75,57,.8); background: rgba(221,75,57,.15); }
.sysdash-gantt-bar.is-milestone-state { border-color: rgba(243,156,18,.86); background: rgba(243,156,18,.18); }
.sysdash-gantt-bar.is-success,
.sysdash-gantt-bar.is-warning,
.sysdash-gantt-bar.is-danger { border-color: var(--sysdash-cell-color); background: var(--sysdash-cell-bg); color: var(--sysdash-cell-color); }
.sysdash-gantt-bar.is-success .sysdash-gantt-progress,
.sysdash-gantt-bar.is-warning .sysdash-gantt-progress,
.sysdash-gantt-bar.is-danger .sysdash-gantt-progress { background: color-mix(in srgb, var(--sysdash-cell-color) 28%, transparent); }
.sysdash-gantt-bar.is-late { border-color: rgba(221,75,57,.7); background: rgba(221,75,57,.13); }
.sysdash-gantt-bar.is-late .sysdash-gantt-progress { background: rgba(221,75,57,.20); }
.sysdash-gantt-bar.is-outside-project { box-shadow: 0 0 0 2px rgba(221,75,57,.20), 0 6px 12px rgba(0,0,0,.12); }
.sysdash-gantt-project-bar.is-outside-project { box-shadow: 0 0 0 2px rgba(221,75,57,.16), 0 3px 8px rgba(0,0,0,.10); }
.sysdash-gantt-bar.is-milestone { width: 18px !important; min-width: 18px; height: 18px; transform: translateY(-50%) rotate(45deg); border-color: rgba(243,156,18,.9); background: #f39c12; padding: 0; }
.sysdash-gantt-bar.is-milestone b,
.sysdash-gantt-bar.is-milestone .sysdash-gantt-progress { display: none; }
.sysdash-gantt-tooltip { position: absolute; top: calc(50% + 18px); z-index: 30; display: grid; gap: 9px; width: min(340px, 78vw); max-height: 280px; overflow: auto; transform: translate(-8px, 7px); border: 1px solid var(--sysdash-line-strong, rgba(38,50,56,.22)); background: var(--sysdash-surface, #fff); color: var(--sysdash-text, #263238); padding: 12px; box-shadow: 0 16px 32px rgba(0,0,0,.18); opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .12s ease, transform .12s ease, visibility .12s ease; }
.sysdash-gantt-tooltip.is-template { display: none; }
.sysdash-gantt-tooltip-floating { position: fixed; z-index: 2147483000; transform: translateY(0); border-color: rgba(38,50,56,.20); background: #fff; color: #263238; box-shadow: 0 18px 42px rgba(0,0,0,.24); }
.sysdash-gantt-tooltip-floating[aria-hidden="true"] { display: none; }
.sysdash-gantt-tooltip::before { content: ""; position: absolute; top: -7px; left: 16px; width: 12px; height: 12px; transform: rotate(45deg); border-left: 1px solid var(--sysdash-line-strong, rgba(38,50,56,.22)); border-top: 1px solid var(--sysdash-line-strong, rgba(38,50,56,.22)); background: var(--sysdash-surface, #fff); }
.sysdash-gantt-tooltip-floating::before { border-color: rgba(38,50,56,.20); background: #fff; }
.sysdash-gantt-bar:hover + .sysdash-gantt-tooltip,
.sysdash-gantt-bar:focus + .sysdash-gantt-tooltip,
.sysdash-gantt-project-bar:hover + .sysdash-gantt-tooltip,
.sysdash-gantt-project-bar:focus + .sysdash-gantt-tooltip { transform: translate(-8px, 0); opacity: 1; visibility: visible; }
.sysdash-gantt-tooltip-head { display: grid; gap: 2px; min-width: 0; }
.sysdash-gantt-tooltip-head strong { min-width: 0; overflow: hidden; color: var(--sysdash-text, #263238); font-size: 13px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-gantt-tooltip-head small { min-width: 0; overflow: hidden; color: var(--sysdash-muted, rgba(38,50,56,.58)); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-gantt-tooltip-badges { display: flex; flex-wrap: wrap; gap: 5px; }
.sysdash-gantt-tooltip-badge { display: inline-flex; align-items: center; max-width: 100%; min-height: 22px; overflow: hidden; border: 1px solid var(--sysdash-line, rgba(38,50,56,.12)); background: var(--sysdash-surface-3, #eef1f4); color: var(--sysdash-muted-strong, rgba(38,50,56,.76)); padding: 2px 7px; font-size: 10px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-gantt-tooltip-badge.is-html-status { gap: 4px; padding: 2px 6px; }
.sysdash-gantt-tooltip-badge.is-late,
.sysdash-gantt-tooltip-badge.is-warning { border-color: rgba(221,75,57,.28); background: rgba(221,75,57,.10); color: #a94442; }
.sysdash-gantt-tooltip-badge.is-priority { border-color: rgba(243,156,18,.30); background: rgba(243,156,18,.12); color: #9a6410; }
.sysdash-gantt-tooltip-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.sysdash-gantt-tooltip-dates span { display: grid; gap: 1px; min-width: 0; border: 1px solid var(--sysdash-line, rgba(38,50,56,.12)); background: var(--sysdash-surface-2, #f9fafb); padding: 6px; }
.sysdash-gantt-tooltip-dates b { overflow: hidden; color: var(--sysdash-muted, rgba(38,50,56,.58)); font-size: 9px; font-weight: 900; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.sysdash-gantt-tooltip-dates em { overflow: hidden; color: var(--sysdash-text, #263238); font-size: 11px; font-style: normal; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-gantt-tooltip-progress { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.sysdash-gantt-tooltip-progress span { height: 7px; overflow: hidden; background: var(--sysdash-surface-3); }
.sysdash-gantt-tooltip-progress i { display: block; height: 100%; background: rgba(0,166,90,.55); }
.sysdash-gantt-tooltip-progress b { color: var(--sysdash-muted-strong, rgba(38,50,56,.76)); font-size: 10px; white-space: nowrap; }
.sysdash-gantt-tooltip-fields { display: grid; gap: 5px; border-top: 1px solid var(--sysdash-line); padding-top: 8px; }
.sysdash-gantt-tooltip-fields .sysdash-calendar-field-row { display: grid; grid-template-columns: minmax(86px, 34%) minmax(0, 1fr); gap: 8px; min-height: 0; border: 0; background: transparent; padding: 0; }
.sysdash-gantt-tooltip-fields .sysdash-calendar-field-row b { min-width: 0; overflow: hidden; color: var(--sysdash-muted, rgba(38,50,56,.58)); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-gantt-tooltip-fields .sysdash-calendar-field-value { min-width: 0; overflow: hidden; color: var(--sysdash-text, #263238); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-gantt-tooltip-fields .sysdash-calendar-field-row.is-polymorph-field .sysdash-calendar-field-value,
.sysdash-gantt-tooltip-fields .sysdash-calendar-field-row.is-html-field .sysdash-calendar-field-value { overflow: visible; text-overflow: clip; white-space: normal; }
.sysdash-gantt-tooltip-fields .sysdash-kanban-polymorph-list { gap: 3px 5px; }
.sysdash-gantt-tooltip-fields .sysdash-kanban-polymorph-item { max-width: 100%; font-size: 11px; }
.sysdash-gantt-details { display: grid; gap: 3px; padding-top: 4px; }
.sysdash-gantt-details .sysdash-calendar-field-row { max-width: 100%; min-height: 0; border: 0; background: transparent; padding: 0; font-size: 10px; }
.sysdash-gantt-details .sysdash-calendar-field-row strong,
.sysdash-gantt-details .sysdash-calendar-field-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.skin-sysimple-midnight .sys-dashboard-studio .sysdash-gantt-tooltip,
.skin-sysimple-vs .sys-dashboard-studio .sysdash-gantt-tooltip,
.skin-sysimple-dark .sys-dashboard-studio .sysdash-gantt-tooltip,
.sys-dashboard-studio.is-dark .sysdash-gantt-tooltip,
.sysdash-gantt-tooltip-floating.is-dark,
.skin-sysimple-midnight .sysdash-gantt-tooltip-floating,
.skin-sysimple-vs .sysdash-gantt-tooltip-floating,
.skin-sysimple-dark .sysdash-gantt-tooltip-floating { border-color: rgba(92,184,255,.34); background: #202832; color: #f5f7fa; box-shadow: 0 18px 40px rgba(0,0,0,.46); }
.skin-sysimple-midnight .sys-dashboard-studio .sysdash-gantt-tooltip::before,
.skin-sysimple-vs .sys-dashboard-studio .sysdash-gantt-tooltip::before,
.skin-sysimple-dark .sys-dashboard-studio .sysdash-gantt-tooltip::before,
.sys-dashboard-studio.is-dark .sysdash-gantt-tooltip::before,
.sysdash-gantt-tooltip-floating.is-dark::before,
.skin-sysimple-midnight .sysdash-gantt-tooltip-floating::before,
.skin-sysimple-vs .sysdash-gantt-tooltip-floating::before,
.skin-sysimple-dark .sysdash-gantt-tooltip-floating::before { border-color: rgba(92,184,255,.34); background: #202832; }
.skin-sysimple-midnight .sys-dashboard-studio .sysdash-gantt-tooltip-dates span,
.skin-sysimple-vs .sys-dashboard-studio .sysdash-gantt-tooltip-dates span,
.skin-sysimple-dark .sys-dashboard-studio .sysdash-gantt-tooltip-dates span,
.sys-dashboard-studio.is-dark .sysdash-gantt-tooltip-dates span,
.sysdash-gantt-tooltip-floating.is-dark .sysdash-gantt-tooltip-dates span,
.skin-sysimple-midnight .sysdash-gantt-tooltip-floating .sysdash-gantt-tooltip-dates span,
.skin-sysimple-vs .sysdash-gantt-tooltip-floating .sysdash-gantt-tooltip-dates span,
.skin-sysimple-dark .sysdash-gantt-tooltip-floating .sysdash-gantt-tooltip-dates span,
.skin-sysimple-midnight .sys-dashboard-studio .sysdash-gantt-tooltip-badge,
.skin-sysimple-vs .sys-dashboard-studio .sysdash-gantt-tooltip-badge,
.skin-sysimple-dark .sys-dashboard-studio .sysdash-gantt-tooltip-badge,
.sys-dashboard-studio.is-dark .sysdash-gantt-tooltip-badge,
.sysdash-gantt-tooltip-floating.is-dark .sysdash-gantt-tooltip-badge,
.skin-sysimple-midnight .sysdash-gantt-tooltip-floating .sysdash-gantt-tooltip-badge,
.skin-sysimple-vs .sysdash-gantt-tooltip-floating .sysdash-gantt-tooltip-badge,
.skin-sysimple-dark .sysdash-gantt-tooltip-floating .sysdash-gantt-tooltip-badge { border-color: rgba(255,255,255,.12); background: #27313d; color: rgba(245,247,250,.86); }
.sysdash-gantt-tooltip-floating.is-dark .sysdash-gantt-tooltip-head strong,
.skin-sysimple-midnight .sysdash-gantt-tooltip-floating .sysdash-gantt-tooltip-head strong,
.skin-sysimple-vs .sysdash-gantt-tooltip-floating .sysdash-gantt-tooltip-head strong,
.skin-sysimple-dark .sysdash-gantt-tooltip-floating .sysdash-gantt-tooltip-head strong,
.sysdash-gantt-tooltip-floating.is-dark .sysdash-gantt-tooltip-dates em,
.skin-sysimple-midnight .sysdash-gantt-tooltip-floating .sysdash-gantt-tooltip-dates em,
.skin-sysimple-vs .sysdash-gantt-tooltip-floating .sysdash-gantt-tooltip-dates em,
.skin-sysimple-dark .sysdash-gantt-tooltip-floating .sysdash-gantt-tooltip-dates em,
.sysdash-gantt-tooltip-floating.is-dark .sysdash-calendar-field-value,
.skin-sysimple-midnight .sysdash-gantt-tooltip-floating .sysdash-calendar-field-value,
.skin-sysimple-vs .sysdash-gantt-tooltip-floating .sysdash-calendar-field-value,
.skin-sysimple-dark .sysdash-gantt-tooltip-floating .sysdash-calendar-field-value { color: #f5f7fa; }
.sysdash-gantt-tooltip-floating.is-dark .sysdash-gantt-tooltip-badge.is-html-status,
.skin-sysimple-midnight .sysdash-gantt-tooltip-floating .sysdash-gantt-tooltip-badge.is-html-status,
.skin-sysimple-vs .sysdash-gantt-tooltip-floating .sysdash-gantt-tooltip-badge.is-html-status,
.skin-sysimple-dark .sysdash-gantt-tooltip-floating .sysdash-gantt-tooltip-badge.is-html-status { color: inherit; }
.sysdash-gantt-tooltip-floating.is-dark .sysdash-gantt-tooltip-head small,
.skin-sysimple-midnight .sysdash-gantt-tooltip-floating .sysdash-gantt-tooltip-head small,
.skin-sysimple-vs .sysdash-gantt-tooltip-floating .sysdash-gantt-tooltip-head small,
.skin-sysimple-dark .sysdash-gantt-tooltip-floating .sysdash-gantt-tooltip-head small,
.sysdash-gantt-tooltip-floating.is-dark .sysdash-gantt-tooltip-dates b,
.skin-sysimple-midnight .sysdash-gantt-tooltip-floating .sysdash-gantt-tooltip-dates b,
.skin-sysimple-vs .sysdash-gantt-tooltip-floating .sysdash-gantt-tooltip-dates b,
.skin-sysimple-dark .sysdash-gantt-tooltip-floating .sysdash-gantt-tooltip-dates b,
.sysdash-gantt-tooltip-floating.is-dark .sysdash-calendar-field-row b,
.skin-sysimple-midnight .sysdash-gantt-tooltip-floating .sysdash-calendar-field-row b,
.skin-sysimple-vs .sysdash-gantt-tooltip-floating .sysdash-calendar-field-row b,
.skin-sysimple-dark .sysdash-gantt-tooltip-floating .sysdash-calendar-field-row b { color: rgba(245,247,250,.68); }
.skin-sysimple-midnight .sys-dashboard-studio .sysdash-gantt-tooltip-badge.is-late,
.skin-sysimple-vs .sys-dashboard-studio .sysdash-gantt-tooltip-badge.is-late,
.skin-sysimple-dark .sys-dashboard-studio .sysdash-gantt-tooltip-badge.is-late,
.sys-dashboard-studio.is-dark .sysdash-gantt-tooltip-badge.is-late,
.skin-sysimple-midnight .sys-dashboard-studio .sysdash-gantt-tooltip-badge.is-warning,
.skin-sysimple-vs .sys-dashboard-studio .sysdash-gantt-tooltip-badge.is-warning,
.skin-sysimple-dark .sys-dashboard-studio .sysdash-gantt-tooltip-badge.is-warning,
.sys-dashboard-studio.is-dark .sysdash-gantt-tooltip-badge.is-warning { border-color: rgba(221,75,57,.42); background: rgba(221,75,57,.20); color: #ffb9b2; }
.skin-sysimple-midnight .sys-dashboard-studio .sysdash-gantt-tooltip-badge.is-priority,
.skin-sysimple-vs .sys-dashboard-studio .sysdash-gantt-tooltip-badge.is-priority,
.skin-sysimple-dark .sys-dashboard-studio .sysdash-gantt-tooltip-badge.is-priority,
.sys-dashboard-studio.is-dark .sysdash-gantt-tooltip-badge.is-priority { border-color: rgba(243,156,18,.42); background: rgba(243,156,18,.18); color: #ffd48a; }
.skin-sysimple-midnight .sys-dashboard-studio .sysdash-gantt-bar,
.skin-sysimple-vs .sys-dashboard-studio .sysdash-gantt-bar,
.skin-sysimple-dark .sys-dashboard-studio .sysdash-gantt-bar,
.sys-dashboard-studio.is-dark .sysdash-gantt-bar { border-color: rgba(58,204,170,.82); background: rgba(58,204,170,.18); color: #f5f7fa; }
.skin-sysimple-midnight .sys-dashboard-studio .sysdash-gantt-bar:hover,
.skin-sysimple-vs .sys-dashboard-studio .sysdash-gantt-bar:hover,
.skin-sysimple-dark .sys-dashboard-studio .sysdash-gantt-bar:hover,
.sys-dashboard-studio.is-dark .sysdash-gantt-bar:hover,
.skin-sysimple-midnight .sys-dashboard-studio .sysdash-gantt-bar:focus,
.skin-sysimple-vs .sys-dashboard-studio .sysdash-gantt-bar:focus,
.skin-sysimple-dark .sys-dashboard-studio .sysdash-gantt-bar:focus,
.sys-dashboard-studio.is-dark .sysdash-gantt-bar:focus { border-color: rgba(96,230,198,.96); background: rgba(58,204,170,.26); }
.skin-sysimple-midnight .sys-dashboard-studio .sysdash-gantt-project-bar,
.skin-sysimple-vs .sys-dashboard-studio .sysdash-gantt-project-bar,
.skin-sysimple-dark .sys-dashboard-studio .sysdash-gantt-project-bar,
.sys-dashboard-studio.is-dark .sysdash-gantt-project-bar { border-color: rgba(92,184,255,.82); background: rgba(92,184,255,.18); color: #f5f7fa; }
.skin-sysimple-midnight .sys-dashboard-studio .sysdash-gantt-bar.is-complete,
.skin-sysimple-vs .sys-dashboard-studio .sysdash-gantt-bar.is-complete,
.skin-sysimple-dark .sys-dashboard-studio .sysdash-gantt-bar.is-complete,
.sys-dashboard-studio.is-dark .sysdash-gantt-bar.is-complete,
.skin-sysimple-midnight .sys-dashboard-studio .sysdash-gantt-project-bar.is-complete,
.skin-sysimple-vs .sys-dashboard-studio .sysdash-gantt-project-bar.is-complete,
.skin-sysimple-dark .sys-dashboard-studio .sysdash-gantt-project-bar.is-complete,
.sys-dashboard-studio.is-dark .sysdash-gantt-project-bar.is-complete { border-color: rgba(0,210,120,.9); background: rgba(0,166,90,.24); }
.skin-sysimple-midnight .sys-dashboard-studio .sysdash-gantt-bar.is-late,
.skin-sysimple-vs .sys-dashboard-studio .sysdash-gantt-bar.is-late,
.skin-sysimple-dark .sys-dashboard-studio .sysdash-gantt-bar.is-late,
.sys-dashboard-studio.is-dark .sysdash-gantt-bar.is-late,
.skin-sysimple-midnight .sys-dashboard-studio .sysdash-gantt-project-bar.is-late,
.skin-sysimple-vs .sys-dashboard-studio .sysdash-gantt-project-bar.is-late,
.skin-sysimple-dark .sys-dashboard-studio .sysdash-gantt-project-bar.is-late,
.sys-dashboard-studio.is-dark .sysdash-gantt-project-bar.is-late,
.skin-sysimple-midnight .sys-dashboard-studio .sysdash-gantt-bar.is-outside-project,
.skin-sysimple-vs .sys-dashboard-studio .sysdash-gantt-bar.is-outside-project,
.skin-sysimple-dark .sys-dashboard-studio .sysdash-gantt-bar.is-outside-project,
.sys-dashboard-studio.is-dark .sysdash-gantt-bar.is-outside-project,
.skin-sysimple-midnight .sys-dashboard-studio .sysdash-gantt-project-bar.is-outside-project,
.skin-sysimple-vs .sys-dashboard-studio .sysdash-gantt-project-bar.is-outside-project,
.skin-sysimple-dark .sys-dashboard-studio .sysdash-gantt-project-bar.is-outside-project,
.sys-dashboard-studio.is-dark .sysdash-gantt-project-bar.is-outside-project { border-color: rgba(255,117,104,.92); background: rgba(221,75,57,.24); }
.skin-sysimple-midnight .sys-dashboard-studio .sysdash-gantt-bar.is-milestone-state,
.skin-sysimple-vs .sys-dashboard-studio .sysdash-gantt-bar.is-milestone-state,
.skin-sysimple-dark .sys-dashboard-studio .sysdash-gantt-bar.is-milestone-state,
.sys-dashboard-studio.is-dark .sysdash-gantt-bar.is-milestone-state { border-color: rgba(255,190,82,.94); background: rgba(243,156,18,.24); }
.sysdash-widget.is-compact-widget .sysdash-gantt { gap: 6px; }
.sysdash-widget.is-compact-widget .sysdash-gantt-toolbar span,
.sysdash-widget.is-compact-widget .sysdash-gantt-toolbar em,
.sysdash-widget.is-compact-widget .sysdash-gantt-details { display: none; }
.sysdash-widget.is-compact-widget .sysdash-gantt-toolbar-actions button span,
.sysdash-widget.is-compact-widget .sysdash-gantt-scale-control button span { display: none; }
.sysdash-widget.is-compact-widget .sysdash-gantt-task { min-height: 34px; }
.sysdash-widget.is-compact-widget .sysdash-gantt-lane { min-height: 34px; }
.sysdash-widget.is-compact-widget .sysdash-gantt-bar { height: 18px; padding: 0 5px; }
.sysdash-map-widget { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 28%); gap: 10px; height: 100%; min-height: 0; }
.sysdash-map-frame { position: relative; min-width: 0; min-height: 0; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); overflow: hidden; }
.sysdash-map-frame iframe,
.sysdash-map-canvas { display: block; width: 100%; height: 100%; min-height: 260px; border: 0; background: var(--sysdash-surface-3); }
.sysdash-map-provider-frame { position: relative; z-index: 1; }
.sysdash-map-provider-note { position: absolute; z-index: 2; left: 8px; bottom: 8px; border: 1px solid rgba(0,0,0,.18); background: rgba(255,255,255,.9); color: #2f3b45; padding: 3px 6px; font-size: 10px; font-weight: 700; }
.sysdash-map-frame .ol-viewport,
.sysdash-map-frame .ol-unselectable { min-height: 260px; }
.sysdash-map-frame .ol-control button { color: #fff; background: rgba(35, 48, 58, .72); border: 0; }
.sysdash-map-frame .ol-control button:hover { background: var(--sysdash-accent); }
.sysdash-map-fallback { position: relative; min-width: 100%; min-height: 100%; overflow: hidden; background: #d8dee4; }
.sysdash-map-fallback-tile { position: absolute; width: 256px; height: 256px; max-width: none; user-select: none; }
.sysdash-map-fallback-marker { position: absolute; z-index: 2; width: 28px; height: 28px; transform: translate(-50%, -100%); border: 0; background: transparent; color: #2d9cdb; padding: 0; font-size: 25px; line-height: 1; text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.sysdash-map-fallback-marker.is-active { color: #f39c12; font-size: 30px; }
.sysdash-map-fallback-marker:hover { color: var(--sysdash-accent); }
.sysdash-map-fallback-zoom { position: absolute; z-index: 4; left: 8px; top: 8px; display: grid; gap: 4px; }
.sysdash-map-fallback-zoom button { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid rgba(0,0,0,.2); background: rgba(35,48,58,.82); color: #fff; padding: 0; font-size: 18px; font-weight: 700; line-height: 1; }
.sysdash-map-fallback-zoom button:hover { background: var(--sysdash-accent); }
.sysdash-map-attribution,
.sysdash-map-fallback-note { position: absolute; z-index: 3; bottom: 4px; border: 1px solid rgba(0,0,0,.18); background: rgba(255,255,255,.86); color: #2f3b45; padding: 2px 5px; font-size: 10px; text-decoration: none; }
.sysdash-map-attribution { right: 4px; }
.sysdash-map-fallback-note { left: 4px; }
.sysdash-map-overlay { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center; pointer-events: none; color: var(--sysdash-muted); text-align: left; padding: 18px; background: rgba(255,255,255,.78); }
.sysdash-map-overlay.is-error { pointer-events: auto; background: rgba(14,18,24,.74); }
.skin-sysimple-midnight .sysdash-map-overlay,
.sys-dashboard-studio.is-dark .sysdash-map-overlay { background: rgba(22,28,35,.72); }
.skin-sysimple-midnight .sysdash-map-overlay.is-error,
.sys-dashboard-studio.is-dark .sysdash-map-overlay.is-error { background: rgba(8,11,15,.78); }
.sysdash-map-status-card { display: grid; gap: 8px; width: min(520px, calc(100% - 24px)); max-height: calc(100% - 24px); overflow: auto; border: 1px solid var(--sysdash-line); background: rgba(31,36,43,.96); color: var(--sysdash-text); padding: 14px 16px; box-shadow: 0 14px 30px rgba(0,0,0,.3); }
.sysdash-map-status-icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-accent); }
.sysdash-map-overlay.is-error .sysdash-map-status-icon { color: var(--sysdash-warning); }
.sysdash-map-status-card strong { color: var(--sysdash-text); font-size: 14px; line-height: 1.25; }
.sysdash-map-status-card p { margin: 0; color: var(--sysdash-muted-strong); font-size: 12px; line-height: 1.45; }
.sysdash-map-status-card ol { display: grid; gap: 5px; margin: 2px 0 0; padding-left: 18px; color: var(--sysdash-muted); font-size: 11px; line-height: 1.4; }
.sysdash-map-status-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.sysdash-map-status-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 29px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface); color: var(--sysdash-text); padding: 0 9px; text-decoration: none; font-size: 11px; font-weight: 700; }
.sysdash-map-status-actions a:hover { border-color: var(--sysdash-accent); color: var(--sysdash-accent); background: var(--sysdash-accent-soft); text-decoration: none; }
.sysdash-map-placeholder { display: flex; height: 100%; min-height: 220px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--sysdash-muted); text-align: center; padding: 18px; }
.sysdash-map-placeholder i { color: var(--sysdash-accent); font-size: 24px; }
.sysdash-map-placeholder strong { color: var(--sysdash-muted-strong); font-size: 12px; }
.sysdash-map-placeholder span { max-width: 300px; font-size: 11px; line-height: 1.4; }
.sysdash-map-side { display: flex; flex-direction: column; min-width: 0; min-height: 0; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); }
.sysdash-map-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 34px; border-bottom: 1px solid var(--sysdash-line); padding: 7px 9px; color: var(--sysdash-muted); font-size: 11px; }
.sysdash-map-meta strong { color: var(--sysdash-text); font-size: 12px; }
.sysdash-map-search { border-bottom: 1px solid var(--sysdash-line); padding: 7px; }
.sysdash-map-search .sysdash-grid-search { grid-template-columns: minmax(0, 1fr) 36px 36px; align-items: center; gap: 6px; margin: 0; }
.sysdash-map-search .sysdash-grid-search .sysdash-search-wrap { grid-column: 1 / -1; min-width: 0; }
.sysdash-map-search .sysdash-grid-search select { grid-column: 1 / 2; min-width: 0; background: var(--sysdash-surface-3); color: var(--sysdash-text); }
.sysdash-map-search .sysdash-grid-search-apply,
.sysdash-map-search .sysdash-grid-search-advanced { width: 36px; padding: 0; }
.sysdash-map-search .sysdash-grid-search-advanced span { display: none; }
.sysdash-map-search .sysdash-grid-search-chip { grid-column: 1 / -1; max-width: none; width: 100%; }
.sysdash-map-tools { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 6px; border-bottom: 1px solid var(--sysdash-line); padding: 7px; }
.sysdash-map-tools .sysdash-search-wrap { margin: 0; }
.sysdash-map-tools input,
.sysdash-map-tools select { min-width: 0; height: 32px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); outline: 0; box-shadow: none; }
.sysdash-map-tools input { background: var(--sysdash-surface-3); color: var(--sysdash-text); }
.sysdash-map-tools input::placeholder { color: var(--sysdash-muted); }
.sysdash-map-tools input:focus,
.sysdash-map-tools select:focus { border-color: var(--sysdash-accent); }
.sysdash-map-tools select option { background: var(--sysdash-surface-3); color: var(--sysdash-text); }
.skin-sysimple-midnight .sysdash-map-tools select,
.skin-sysimple-midnight .sysdash-map-tools select option,
.sys-dashboard-studio.is-dark .sysdash-map-tools select,
.sys-dashboard-studio.is-dark .sysdash-map-tools select option { background: var(--sysdash-surface-2); color: var(--sysdash-text); }
.sysdash-map-selection-tools { display: flex; align-items: center; justify-content: space-between; gap: 7px; min-height: 32px; border-bottom: 1px solid var(--sysdash-line); padding: 5px 7px; }
.sysdash-map-selection-tools.is-single-provider { justify-content: flex-start; color: var(--sysdash-muted); font-size: 11px; font-weight: 700; }
.sysdash-map-selection-tools.is-single-provider span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.sysdash-map-selection-tools.is-single-provider i { color: var(--sysdash-accent); }
.sysdash-map-select-all { display: inline-flex; align-items: center; gap: 6px; min-width: 0; color: var(--sysdash-muted-strong); font-size: 11px; font-weight: 700; margin: 0; }
.sysdash-map-select-all input,
.sysdash-map-select input { margin: 0; accent-color: var(--sysdash-accent); }
.sysdash-map-selection-tools button { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 24px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface); color: var(--sysdash-muted); padding: 0; }
.sysdash-map-selection-tools button:hover { border-color: var(--sysdash-accent); color: var(--sysdash-accent); background: var(--sysdash-accent-soft); }
.sysdash-map-list { display: grid; align-content: start; gap: 5px; min-height: 0; overflow: auto; padding: 7px; }
.sysdash-map-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) 32px; gap: 5px; align-items: stretch; }
.sysdash-map-row.is-single-provider { grid-template-columns: minmax(0, 1fr) 32px; }
.sysdash-map-select { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface); margin: 0; }
.sysdash-map-select:hover { border-color: var(--sysdash-accent); background: var(--sysdash-accent-soft); }
.sysdash-map-item { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 7px; align-items: start; width: 100%; min-width: 0; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface); color: var(--sysdash-text); padding: 7px; text-align: left; text-decoration: none; }
.sysdash-map-item:hover,
.sysdash-map-item.is-active { border-color: var(--sysdash-accent); background: var(--sysdash-accent-soft); color: var(--sysdash-text); text-decoration: none; }
.sysdash-map-item.is-selected { box-shadow: inset 2px 0 0 var(--sysdash-accent); }
.sysdash-map-item > i { color: var(--sysdash-accent); margin-top: 2px; text-align: center; }
.sysdash-map-item.is-missing { border-style: dashed; color: var(--sysdash-muted); }
.sysdash-map-item.is-missing > i { color: var(--sysdash-warning); }
.sysdash-map-item span { display: grid; min-width: 0; gap: 2px; }
.sysdash-map-item strong,
.sysdash-map-item small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-map-item strong { font-size: 12px; }
.sysdash-map-item small { color: var(--sysdash-muted); font-size: 11px; }
.sysdash-map-external { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface); color: var(--sysdash-muted); text-decoration: none; }
.sysdash-map-external:hover { border-color: var(--sysdash-accent); color: var(--sysdash-accent); background: var(--sysdash-accent-soft); text-decoration: none; }
.sysdash-map-error { display: flex; height: 100%; min-height: 220px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--sysdash-muted); text-align: center; padding: 18px; }
.sysdash-map-error i { color: var(--sysdash-warning); font-size: 22px; }
.sysdash-map-error strong { color: var(--sysdash-muted-strong); font-size: 12px; }
.sysdash-map-error span { max-width: 360px; font-size: 11px; line-height: 1.4; }
.sysdash-map-pager { border-top: 1px solid var(--sysdash-line); padding: 7px; }
.sysdash-map-address-fields { display: grid; gap: 5px; max-height: 260px; overflow: auto; padding-right: 2px; }
.sysdash-map-address-fields .sysdash-inline-check span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-map-info-field-block { display: grid; gap: 6px; margin-top: 10px; }
.sysdash-map-info-field-block > strong { color: var(--sysdash-muted-strong); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.sysdash-map-info-fields { display: grid; gap: 5px; max-height: 220px; overflow: auto; padding-right: 2px; }
.sysdash-map-info-fields .sysdash-inline-check span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-map-api-note { display: flex; align-items: center; gap: 7px; min-height: 30px; margin-top: 7px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-muted); padding: 6px 8px; font-size: 11px; }
.sysdash-map-api-note i { color: var(--sysdash-warning); }
.sysdash-map-api-note strong { color: var(--sysdash-text); }
.sysdash-map-card { --sysdash-map-card-text: #f5f8fb; --sysdash-map-card-muted: rgba(245, 248, 251, .72); --sysdash-map-card-line: rgba(255, 255, 255, .14); --sysdash-map-card-surface: rgba(255, 255, 255, .08); --sysdash-map-card-action-bg: rgba(255, 255, 255, .94); --sysdash-map-card-action-text: #26313c; position: absolute; z-index: 5; left: 10px; bottom: 10px; display: grid; gap: 8px; width: min(360px, calc(100% - 20px)); max-height: calc(100% - 20px); overflow: auto; border: 1px solid var(--sysdash-map-card-line); background: rgba(31, 36, 43, .94); color: var(--sysdash-map-card-text); padding: 10px; box-shadow: 0 10px 24px rgba(0,0,0,.28); }
.sysdash-map-card-head { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 9px; align-items: center; min-width: 0; }
.sysdash-map-card-head strong,
.sysdash-map-card-head small { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-map-card-head strong { color: #fff; font-size: 13px; }
.sysdash-map-card-head small { color: var(--sysdash-map-card-muted); font-size: 11px; }
.sysdash-map-card-photo { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--sysdash-map-card-line); background: var(--sysdash-map-card-surface); overflow: hidden; }
.sysdash-map-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.sysdash-map-card-photo span { color: var(--sysdash-accent); font-size: 18px; }
.sysdash-map-card-fields { display: grid; gap: 5px; border-top: 1px solid var(--sysdash-map-card-line); padding-top: 8px; }
.sysdash-map-card-row { display: grid; grid-template-columns: minmax(80px, 35%) minmax(0, 1fr); gap: 8px; align-items: baseline; min-width: 0; }
.sysdash-map-card-row em,
.sysdash-map-card-row strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.sysdash-map-card-row em { color: var(--sysdash-map-card-muted); font-style: normal; }
.sysdash-map-card-row strong { color: #fff; }
.sysdash-map-card-actions { display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid var(--sysdash-map-card-line); padding-top: 8px; }
.sysdash-map-card-action { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 28px; border: 1px solid rgba(255, 255, 255, .18); background: var(--sysdash-map-card-action-bg); color: var(--sysdash-map-card-action-text); padding: 0 9px; text-decoration: none; font-size: 11px; font-weight: 700; }
.sysdash-map-card-action:hover { border-color: #5ab7e8; background: #fff; color: #0b72b9; text-decoration: none; }
.sysdash-widget.is-compact-widget .sysdash-map-widget { grid-template-columns: minmax(0, 1fr); }
.sysdash-widget.is-compact-widget .sysdash-map-side { display: none; }
.sysdash-kanban { display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; gap: 10px; height: 100%; min-height: 0; }
.sysdash-kanban-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--sysdash-muted); font-size: 11px; }
.sysdash-kanban-meta span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.sysdash-kanban-move-diagnostic { flex: 0 0 auto; border: 1px solid rgba(243,156,18,.45); background: var(--sysdash-warning-soft); color: var(--sysdash-warning); padding: 3px 7px; font-weight: 800; }
.sysdash-kanban-loading { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 12px; min-height: 220px; color: var(--sysdash-muted); }
.sysdash-kanban-loading-message { display: inline-flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); }
.sysdash-kanban-loading-message i { color: var(--sysdash-accent); font-size: 18px; }
.sysdash-kanban-loading-message .sysdash-loading-copy { display: grid; gap: 2px; min-width: 0; }
.sysdash-kanban-loading-message strong { color: var(--sysdash-text); font-size: 13px; }
.sysdash-kanban-loading-message small { color: var(--sysdash-muted); }
.sysdash-one-loader { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 58px; width: 58px; height: 38px; overflow: visible; }
.sysdash-one-loader img { position: relative; z-index: 1; display: block; width: 56px; max-height: 34px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(0,198,255,.42)); animation: sysdash-one-loader-pulse 1.35s ease-in-out infinite; }
.sysdash-one-loader > span { position: absolute; inset: 3px 0; border-radius: 999px; background: radial-gradient(circle at 28% 50%, rgba(0,215,255,.34), transparent 54%), radial-gradient(circle at 70% 50%, rgba(92,90,255,.28), transparent 60%); opacity: .72; animation: sysdash-one-loader-glow 1.35s ease-in-out infinite; }
@keyframes sysdash-one-loader-pulse {
    0%, 100% { transform: scale(.96); opacity: .82; }
    50% { transform: scale(1.04); opacity: 1; }
}
@keyframes sysdash-one-loader-glow {
    0%, 100% { transform: scaleX(.78); opacity: .36; }
    50% { transform: scaleX(1.08); opacity: .86; }
}
.sysdash-kanban-loading-board { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 12px; min-height: 0; overflow: hidden; }
.sysdash-kanban-loading-board span { min-height: 170px; border: 1px solid var(--sysdash-line); background: linear-gradient(100deg, var(--sysdash-surface-2) 0%, var(--sysdash-surface-3) 40%, var(--sysdash-surface-2) 80%); background-size: 220% 100%; animation: sysdash-kanban-loading 1.05s ease-in-out infinite; }
.sysdash-kanban-board { display: grid; gap: 12px; min-width: 0; min-height: 0; overflow: auto; padding: 0 0 8px; }
.sysdash-kanban-column { display: grid; grid-template-rows: auto minmax(0, 1fr); min-width: 0; max-width: 100%; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); transition: border-color .15s ease, box-shadow .15s ease, opacity .15s ease, transform .15s ease; }
.sysdash-kanban-column.is-kanban-drop { border-color: var(--sysdash-accent); box-shadow: inset 0 0 0 2px rgba(60,141,188,.24); }
.sysdash-kanban-column.is-kanban-landed { border-color: rgba(60,141,188,.85); box-shadow: inset 0 0 0 2px rgba(60,141,188,.18), 0 12px 24px rgba(0,0,0,.10); }
.sysdash-kanban-column.is-column-dragging { opacity: .92; transform: scale(.995); box-shadow: 0 18px 34px rgba(0,0,0,.18), 0 0 0 2px rgba(60,141,188,.18); }
.sysdash-kanban-column.is-column-drop-before { border-left-color: var(--sysdash-accent); transform: translateX(8px); box-shadow: inset 5px 0 0 var(--sysdash-accent), 0 10px 22px rgba(0,0,0,.13); }
.sysdash-kanban-column.is-column-drop-after { border-right-color: var(--sysdash-accent); transform: translateX(-8px); box-shadow: inset -5px 0 0 var(--sysdash-accent), 0 10px 22px rgba(0,0,0,.13); }
.sysdash-kanban-column.is-kanban-orphans { border-style: dashed; }
.sysdash-kanban-column.is-kanban-locked { background: var(--sysdash-surface-2); opacity: .86; }
.sysdash-kanban-column.has-column-color { border-top-color: var(--kanban-column-color); }
.sysdash-kanban-column.has-column-color .sysdash-kanban-column-head { background: linear-gradient(90deg, var(--kanban-column-color-soft), transparent 72%), var(--sysdash-surface-2); box-shadow: inset 0 3px 0 var(--kanban-column-color); }
.sysdash-kanban-column.has-column-color .sysdash-kanban-count { color: var(--kanban-column-color); box-shadow: inset 0 0 0 1px var(--kanban-column-color-soft); }
.sysdash-kanban-column.is-collapsed { grid-template-rows: auto; align-self: start; }
.sysdash-kanban-column.is-collapsed .sysdash-kanban-cards { display: none; }
.sysdash-kanban-column.is-kanban-orphans.is-collapsed .sysdash-kanban-column-head { min-height: 96px; flex-direction: column; justify-content: center; padding: 6px; }
.sysdash-kanban-column.is-kanban-orphans.is-collapsed .sysdash-kanban-column-grip,
.sysdash-kanban-column.is-kanban-orphans.is-collapsed .sysdash-kanban-column-title { display: none; }
.sysdash-kanban-column.is-kanban-orphans.is-collapsed .sysdash-kanban-orphan-toggle,
.sysdash-kanban-column.is-kanban-orphans.is-collapsed .sysdash-kanban-count { flex: 0 0 auto; }
.sysdash-kanban-column-head { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border-bottom: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); }
.sysdash-kanban-column-title { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; flex: 1 1 auto; overflow: hidden; }
.sysdash-kanban-column-title strong { min-width: 0; overflow: hidden; color: var(--sysdash-text); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-kanban-column-color { width: 5px; height: 20px; flex: 0 0 5px; border-radius: 2px; background: var(--kanban-column-color); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.sysdash-kanban-column-lock { flex: 0 0 auto; color: var(--sysdash-muted); font-size: 11px; }
.sysdash-kanban-column-grip,
.sysdash-kanban-orphan-toggle { width: 24px; height: 24px; display: inline-grid; flex: 0 0 24px; place-items: center; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-muted); padding: 0; }
.sysdash-kanban-column-grip { cursor: grab; }
.sysdash-kanban-column-grip:hover,
.sysdash-kanban-orphan-toggle:hover { border-color: var(--sysdash-accent); color: var(--sysdash-accent); }
.sysdash-kanban-count { min-width: 24px; height: 24px; display: inline-grid; place-items: center; background: var(--sysdash-surface-3); color: var(--sysdash-muted); font-size: 11px; }
.sysdash-kanban-cards { display: grid; align-content: start; gap: 8px; min-width: 0; min-height: 140px; overflow: auto; padding: 8px; }
.sysdash-kanban-placeholder { min-height: 88px; border: 1px dashed rgba(60,141,188,.78); background: rgba(60,141,188,.10); box-shadow: inset 0 0 0 2px rgba(60,141,188,.06); animation: sysdash-kanban-placeholder-in .12s ease-out; transition: height .1s ease; pointer-events: none; }
.sysdash-kanban-placeholder::before { content: ""; display: block; height: 100%; }
.sysdash-kanban-card { position: relative; display: grid; gap: 7px; min-width: 0; max-width: 100%; overflow: hidden; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface); padding: 10px; box-shadow: 0 6px 14px rgba(0,0,0,.08); transition: border-color .16s ease, box-shadow .16s ease, opacity .16s ease, transform .16s ease; }
.sysdash-kanban-card.is-movable { cursor: grab; }
.sysdash-kanban-card.is-movable:hover { box-shadow: 0 10px 22px rgba(0,0,0,.12); transform: translateY(-1px); }
.sysdash-kanban-card.is-kanban-dragging { cursor: grabbing; opacity: .96; transform: scale(.995); box-shadow: 0 18px 34px rgba(0,0,0,.22), 0 0 0 2px rgba(60,141,188,.20); }
.sysdash-kanban-card.is-kanban-locked { border-style: dashed; opacity: .82; }
.sysdash-kanban-card.is-kanban-move-blocked:not(.is-kanban-locked) { border-color: rgba(243,156,18,.36); }
.sysdash-kanban-card.is-kanban-record-locked { border-color: rgba(221,75,57,.45); background: linear-gradient(90deg, rgba(221,75,57,.07), transparent 48%), var(--sysdash-surface); }
.sysdash-kanban-drag-image { position: fixed; top: -2400px; left: -2400px; z-index: 2147483647; opacity: 1; pointer-events: none; overflow: visible !important; box-shadow: 0 24px 48px rgba(0,0,0,.32), 0 0 0 2px rgba(60,141,188,.28) !important; }
.sysdash-kanban-card.is-kanban-just-moved { animation: sysdash-kanban-land .72s ease-out; }
.sysdash-kanban-card.is-kanban-saving { pointer-events: none; border-color: rgba(60,141,188,.85); box-shadow: 0 18px 36px rgba(0,0,0,.18), 0 0 0 2px rgba(60,141,188,.16); }
.sysdash-kanban-save-state { position: absolute; top: 8px; right: 8px; width: 28px; height: 6px; overflow: hidden; border-radius: 999px; background: rgba(60,141,188,.16); opacity: 0; transform: translateY(-2px); transition: opacity .16s ease, transform .16s ease; pointer-events: none; }
.sysdash-kanban-save-state span { display: block; width: 42%; height: 100%; border-radius: inherit; background: var(--sysdash-accent); animation: sysdash-kanban-save-slide .86s ease-in-out infinite; }
.sysdash-kanban-card.is-kanban-saving .sysdash-kanban-save-state { opacity: 1; transform: translateY(0); }
@keyframes sysdash-kanban-land {
    0% { transform: translateY(-8px) scale(.985); border-color: rgba(60,141,188,.95); box-shadow: 0 22px 38px rgba(0,0,0,.22), 0 0 0 0 rgba(60,141,188,.42); }
    45% { transform: translateY(0) scale(1.01); box-shadow: 0 18px 36px rgba(0,0,0,.18), 0 0 0 4px rgba(60,141,188,.20); }
    100% { transform: translateY(0) scale(1); box-shadow: 0 6px 14px rgba(0,0,0,.08); }
}
@keyframes sysdash-kanban-save-slide {
    0% { transform: translateX(-120%); }
    55% { transform: translateX(80%); }
    100% { transform: translateX(240%); }
}
@keyframes sysdash-kanban-loading {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}
@keyframes sysdash-kanban-placeholder-in {
    0% { opacity: 0; transform: scaleY(.82); }
    100% { opacity: 1; transform: scaleY(1); }
}
.sysdash-kanban-card.is-kanban-before { border-top-color: var(--sysdash-accent); box-shadow: inset 0 3px 0 var(--sysdash-accent), 0 10px 22px rgba(0,0,0,.12); }
.sysdash-kanban-card.is-kanban-after { border-bottom-color: var(--sysdash-accent); box-shadow: inset 0 -3px 0 var(--sysdash-accent), 0 10px 22px rgba(0,0,0,.12); }
.sysdash-kanban-card-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px; min-width: 0; }
.sysdash-kanban-card-head > strong { min-width: 0; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-kanban-card > small { display: block; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-kanban-card-actions { display: inline-flex; align-items: center; gap: 4px; }
.sysdash-kanban-card-lock { display: inline-grid; width: 26px; height: 26px; place-items: center; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); color: var(--sysdash-muted); }
.sysdash-kanban-card-diagnostic { display: inline-grid; width: 26px; height: 26px; place-items: center; border: 1px solid rgba(243,156,18,.42); background: var(--sysdash-warning-soft); color: var(--sysdash-warning); cursor: help; }
.sysdash-kanban-card-lock.is-record-lock { border-color: rgba(221,75,57,.42); background: rgba(221,75,57,.10); color: #dd4b39; }
.sysdash-kanban-card-lock.is-permission-lock { border-color: rgba(243,156,18,.42); background: var(--sysdash-warning-soft); color: var(--sysdash-warning); }
.sysdash-kanban-deactivate { width: 26px; height: 26px; display: inline-grid; place-items: center; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); color: var(--sysdash-muted); padding: 0; }
.sysdash-kanban-deactivate:hover { border-color: #dd4b39; background: rgba(221,75,57,.10); color: #dd4b39; }
.sysdash-kanban-deactivate.is-loading { opacity: .65; pointer-events: none; }
.sysdash-kanban-description { max-width: 100%; max-height: 6.6em; margin: 0; overflow: auto; color: var(--sysdash-muted); font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; word-break: break-word; }
.sysdash-kanban-description *,
.sysdash-kanban-field-value * { max-width: 100%; box-sizing: border-box; overflow-wrap: anywhere; word-break: break-word; }
.sysdash-kanban-description p,
.sysdash-kanban-description div,
.sysdash-kanban-description ul,
.sysdash-kanban-description ol { margin: 0 0 4px; }
.sysdash-kanban-fields { display: grid; gap: 4px; min-width: 0; max-width: 100%; }
.sysdash-kanban-field-row { display: grid; grid-template-columns: minmax(76px, .38fr) minmax(0, 1fr); gap: 6px; min-width: 0; max-width: 100%; max-height: 44px; overflow: hidden; background: var(--sysdash-surface-3); padding: 5px 6px; color: var(--sysdash-muted-strong); font-size: 11px; }
.sysdash-kanban-field-row.is-html-field { grid-template-columns: minmax(0, 1fr); max-height: 148px; overflow: hidden; }
.sysdash-kanban-field-row > b { min-width: 0; overflow: hidden; color: var(--sysdash-muted); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-kanban-field-value { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.sysdash-kanban-field-row.is-html-field .sysdash-kanban-field-value { display: block; max-height: 110px; overflow: auto; white-space: normal; line-height: 1.35; }
.sysdash-kanban-field-value p,
.sysdash-kanban-field-value div,
.sysdash-kanban-field-value ul,
.sysdash-kanban-field-value ol { margin: 0 0 4px; }
.sysdash-kanban-description img,
.sysdash-kanban-field-value img { max-width: 100%; height: auto; }
.sysdash-kanban-description table,
.sysdash-kanban-field-value table { width: max-content; max-width: 100%; border-collapse: collapse; }
.sysdash-kanban-field-value th,
.sysdash-kanban-field-value td { border: 1px solid var(--sysdash-line); padding: 2px 4px; }
.sysdash-kanban-field-value .pull-left { display: inline-block; vertical-align: middle; }
.sysdash-kanban-polymorph-list { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; max-width: 100%; }
.sysdash-kanban-polymorph-item { display: inline-flex; align-items: center; gap: 5px; min-width: 0; max-width: 100%; color: var(--sysdash-muted-strong); }
.sysdash-kanban-polymorph-item > span:not(.pull-left) { min-height: 0; border: 0; background: transparent; padding: 0; }
.sysdash-kanban-polymorph-item .pull-left { flex: 0 0 6px; width: 6px !important; min-width: 6px; height: 18px; border-radius: 1px; }
.sysdash-widget.is-compact-widget .sysdash-kanban { gap: 7px; }
.sysdash-widget.is-compact-widget .sysdash-kanban-board { gap: 8px; }
.sysdash-widget.is-compact-widget .sysdash-kanban-column-head { padding: 6px 8px; }
.sysdash-widget.is-compact-widget .sysdash-kanban-cards { gap: 5px; padding: 6px; }
.sysdash-widget.is-compact-widget .sysdash-kanban-card { gap: 4px; padding: 7px 8px; box-shadow: 0 3px 8px rgba(0,0,0,.07); }
.sysdash-widget.is-compact-widget .sysdash-kanban-card.is-kanban-saving,
.sysdash-widget.is-compact-widget .sysdash-kanban-card.is-kanban-dragging { box-shadow: 0 14px 26px rgba(0,0,0,.18), 0 0 0 2px rgba(60,141,188,.14); }
.sysdash-widget.is-compact-widget .sysdash-kanban-description,
.sysdash-widget.is-compact-widget .sysdash-kanban-fields,
.sysdash-widget.is-compact-widget .sysdash-kanban-card-foot { display: none; }
.sysdash-kanban-card-foot { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; max-width: 100%; }
.sysdash-kanban-card-foot > span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; max-width: 100%; min-height: 22px; overflow: auto hidden; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-muted); padding: 3px 6px; font-size: 10px; }
.sysdash-kanban-card-foot > span span { min-height: 0; border: 0; background: transparent; padding: 0; }
.sysdash-kanban-card-foot > span .pull-left { display: inline-block; flex: 0 0 auto; min-width: 10px; min-height: 18px; vertical-align: middle; }
.sysdash-kanban-priority { color: var(--sysdash-accent-strong) !important; background: var(--sysdash-accent-soft) !important; }
.sysdash-kanban-priority.high { color: #dd4b39 !important; background: rgba(221,75,57,.12) !important; }
.sysdash-kanban-empty { border: 1px dashed var(--sysdash-line); background: var(--sysdash-surface); color: var(--sysdash-muted); padding: 14px 8px; text-align: center; font-size: 11px; }

.sysdash-grid-total-row td { color: var(--sysdash-muted-strong); font-weight: 700; }
.sysdash-grid-total-label { color: var(--sysdash-text); text-transform: uppercase; font-size: 11px; letter-spacing: .04em; }
.sysdash-grid-total-value { color: var(--sysdash-text); white-space: nowrap; }
.sysdash-grid-search { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(130px, 190px) 36px auto auto auto; align-items: center; gap: 8px; margin-bottom: 8px; }
.sysdash-grid-search.is-export-only { grid-template-columns: auto; justify-content: end; }
.sysdash-grid-search .sysdash-search-wrap { margin: 0; min-width: 220px; }
.sysdash-grid-search .sysdash-search-wrap input { height: 32px; }
.sysdash-grid-search .sysdash-search-wrap [data-grid-search-clear] { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border: 0; background: transparent; color: var(--sysdash-muted); display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.sysdash-grid-search .sysdash-search-wrap [data-grid-search-clear]:hover { color: var(--sysdash-text); }
.sysdash-grid-search select { width: 100%; height: 32px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); padding: 0 8px; outline: 0; }
.sysdash-grid-search select:focus { border-color: var(--sysdash-accent); }
.sysdash-grid-search-apply { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 32px; border: 1px solid rgba(60,141,188,.65); background: var(--sysdash-accent); color: #fff; padding: 0; font-weight: 700; white-space: nowrap; }
.sysdash-grid-search-apply:hover { filter: brightness(1.08); }
.sysdash-grid-search-advanced { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); color: var(--sysdash-text); padding: 0 10px; font-weight: 700; white-space: nowrap; }
.sysdash-grid-search-advanced.is-active { border-color: rgba(0,166,90,.7); background: var(--sysdash-success-soft); }
.sysdash-grid-export { display: inline-flex; align-items: center; gap: 4px; }
.sysdash-grid-export button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 58px; height: 32px; border: 1px solid rgba(0,166,90,.5); background: var(--sysdash-success-soft); color: var(--sysdash-text); padding: 0 8px; font-weight: 700; white-space: nowrap; }
.sysdash-grid-export button:hover { border-color: var(--sysdash-accent-2); color: var(--sysdash-accent-2); }
.sysdash-grid-search-chip { display: inline-flex; align-items: center; min-width: 0; max-width: 230px; height: 28px; gap: 6px; border: 1px solid rgba(0,166,90,.55); background: var(--sysdash-success-soft); color: var(--sysdash-text); padding: 0 4px 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-grid-search-chip button { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 0; background: transparent; color: var(--sysdash-muted); padding: 0; }
.sysdash-grid-search-chip button:hover { color: var(--sysdash-text); }
@media (max-width: 900px) {
    .sysdash-grid-search { grid-template-columns: minmax(0, 1fr); }
    .sysdash-grid-search .sysdash-search-wrap { min-width: 0; }
    .sysdash-grid-search-apply { width: 36px; justify-self: end; }
    .sysdash-grid-export { justify-self: stretch; }
    .sysdash-grid-export button { flex: 1; }
    .sysdash-grid-search-advanced,
    .sysdash-grid-search-chip { justify-self: stretch; max-width: none; }
    .sysdash-calendar-toolbar { align-items: stretch; flex-direction: column; }
    .sysdash-calendar-nav { justify-content: flex-start; }
    .sysdash-calendar-week { grid-template-columns: minmax(0, 1fr); }
    .sysdash-calendar-week section { min-height: 420px; }
}
.sysdash-sort-head { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; justify-content: space-between; column-gap: 6px; row-gap: 1px; width: 100%; border: 0; background: transparent; color: inherit; padding: 0; text-align: left; font: inherit; }
.sysdash-sort-head .sysdash-sort-title { grid-column: 1; grid-row: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-sort-head.has-source .sysdash-sort-title { display: -webkit-box; max-height: 2.3em; line-height: 1.15; overflow-wrap: anywhere; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.sysdash-sort-head small { grid-column: 1 / -1; min-width: 0; overflow: hidden; color: var(--sysdash-muted); font-size: 10px; font-weight: 600; line-height: 1.12; text-overflow: ellipsis; white-space: normal; overflow-wrap: anywhere; }
.sysdash-sort-head .sysdash-sort-relation { color: var(--sysdash-accent); text-transform: uppercase; }
.sysdash-sort-head:hover,
.sysdash-sort-head.is-active { color: var(--sysdash-text); }
.sysdash-sort-head i { grid-column: 3; grid-row: 1; flex: 0 0 auto; opacity: .7; }
.sysdash-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; background: var(--sysdash-accent); }
.sysdash-dot.is-success { background: var(--sysdash-accent-2); }
.sysdash-dot.is-warning { background: var(--sysdash-warning); }
.sysdash-text-widget strong { display: block; margin-bottom: 8px; color: var(--sysdash-text); }
.sysdash-text-widget p { margin: 0; color: var(--sysdash-muted); line-height: 1.55; white-space: pre-wrap; }
.sysdash-empty-canvas { display: flex; min-height: 360px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px dashed var(--sysdash-line-strong); color: var(--sysdash-muted); text-align: center; }
.sysdash-empty-canvas i { color: var(--sysdash-accent); font-size: 32px; }
.sysdash-empty-canvas strong { color: var(--sysdash-text); font-size: 15px; }

.sysdash-inspector { display: none; min-height: 650px; padding: 0; }
.sys-dashboard-studio.is-admin .sysdash-inspector { display: block; }
.sysdash-inspector-empty { display: flex; min-height: 260px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--sysdash-muted); text-align: center; padding: 14px; }
.sysdash-inspector-empty.is-compact { min-height: 180px; border: 1px dashed var(--sysdash-line-strong); background: var(--sysdash-surface-3); }
.sysdash-inspector-empty i { color: var(--sysdash-accent); font-size: 28px; }
.sysdash-inspector-empty strong { color: var(--sysdash-text); font-size: 14px; }
.sysdash-inspector-empty span { max-width: 210px; font-size: 12px; line-height: 1.4; }
.sysdash-inspector-head { position: sticky; top: 0; z-index: 3; display: grid; gap: 3px; padding: 12px 12px 10px; border-bottom: 1px solid var(--sysdash-line); background: var(--sysdash-surface); }
.sysdash-inspector-head strong { color: var(--sysdash-text); font-size: 16px; line-height: 1.2; }
.sysdash-inspector-head small { color: var(--sysdash-muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.sysdash-inspector label { display: grid; gap: 4px; margin-bottom: 8px; color: var(--sysdash-muted-strong); font-size: 10px; font-weight: 700; text-transform: uppercase; }
/* The shared brand stylesheet also targets labels in the base dark theme. */
#sysDashboardStudio .sysdash-inspector label { color: var(--sysdash-muted-strong); }
.sysdash-inspector input,
.sysdash-inspector select { width: 100%; height: 32px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); padding: 0 8px; outline: 0; }
.sysdash-inspector input:focus,
.sysdash-inspector select:focus { border-color: var(--sysdash-accent); }
.sysdash-tabs { position: sticky; top: 60px; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 10px 10px 8px; border-bottom: 1px solid var(--sysdash-line); background: var(--sysdash-surface); }
.sysdash-tab { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 32px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); color: var(--sysdash-muted-strong); padding: 0 8px; font-size: 11px; font-weight: 800; }
.sysdash-tab span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-tab.is-active { border-color: var(--sysdash-accent); background: var(--sysdash-accent-soft); color: var(--sysdash-text); }
.sysdash-tab-panel { padding: 12px; }
.sysdash-size-grid,
.sysdash-compact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.sysdash-setting-group { display: grid; gap: 6px; margin-bottom: 12px; padding: 10px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); }
.sysdash-setting-group > strong { color: var(--sysdash-text); font-size: 12px; }
.sysdash-inspector-footer { position: sticky; bottom: 0; z-index: 4; display: grid; gap: 8px; border-top: 1px solid var(--sysdash-line); background: var(--sysdash-surface); padding: 10px 12px 12px; box-shadow: 0 -10px 22px rgba(0,0,0,.08); }
.sysdash-inspector-footer .sysdash-compact-note { margin: 0; }
.sysdash-inspector-preview { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 34px; width: 100%; border: 1px solid var(--sysdash-line); background: var(--sysdash-accent-soft); color: var(--sysdash-text); }
.sysdash-inspector-preview:disabled { opacity: .55; cursor: not-allowed; }
.sysdash-inspector-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 0; padding: 0; }
.sysdash-inspector-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 32px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); color: var(--sysdash-text); }
.sysdash-inspector-actions button.is-danger { border-color: rgba(221,75,57,.42); background: var(--sysdash-danger-soft); color: var(--sysdash-text); }
.sysdash-inspector-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-muted); padding: 10px; font-size: 11px; line-height: 1.4; }
.sysdash-inspector-note i { color: var(--sysdash-warning); margin-top: 2px; }
.sysdash-inspector-note.is-loading { align-items: center; border-color: var(--sysdash-accent); background: var(--sysdash-accent-soft); color: var(--sysdash-text); font-weight: 800; }
.sysdash-inspector-note.is-loading i { color: var(--sysdash-accent); margin-top: 0; }
.sysdash-toast { position: fixed; left: 50%; right: auto; bottom: 76px; z-index: 9999; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; width: max-content; max-width: min(760px, calc(100vw - 48px)); max-height: 45vh; overflow: auto; border: 1px solid rgba(0,166,90,.56); background: var(--sysdash-surface); color: var(--sysdash-text); box-shadow: 0 18px 48px rgba(0,0,0,.34), 0 0 0 1px rgba(255,255,255,.05); padding: 13px 16px; transition: opacity .16s ease, transform .16s ease; white-space: pre-wrap; line-height: 1.35; font-size: 14px; font-weight: 700; }
.sysdash-toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.sysdash-toast > i { color: var(--sysdash-accent-2); font-size: 18px; }
.sysdash-toast.is-error { border-color: rgba(221,75,57,.95); background: #3a1818; color: #fff; box-shadow: 0 20px 54px rgba(0,0,0,.42), 0 0 0 2px rgba(221,75,57,.32); }
.sysdash-toast.is-error > i { color: #ffb3aa; }
.sysdash-toast button { border: 0; background: transparent; color: inherit; font-size: 24px; line-height: 1; padding: 0 2px; opacity: .92; }
.sysdash-toast button:hover { opacity: 1; }

@media (max-width: 1320px) {
    .sysdash-stage { grid-template-columns: 1fr; }
    .sysdash-inspector { min-height: 0; }
}
@media (max-width: 1100px) {
    .sysdash-main { grid-template-columns: 1fr; }
    .sysdash-nav { min-height: 0; }
    .sysdash-list { max-height: 220px; }
    .sysdash-w-3,
    .sysdash-w-4,
    .sysdash-w-5,
    .sysdash-w-6 { width: 50%; }
    .sysdash-w-7,
    .sysdash-w-8,
    .sysdash-w-9,
    .sysdash-w-10,
    .sysdash-w-11,
    .sysdash-w-12 { width: 100%; }
}
@media (max-width: 760px) {
    .sysdash-shell { padding: 10px; }
    .sysdash-commandbar,
    .sysdash-canvas-head { align-items: stretch; flex-direction: column; grid-template-columns: 1fr; }
    .sysdash-actions,
    .sysdash-status { justify-content: flex-start; }
    .sysdash-admin-tools { grid-template-columns: 1fr 1fr; }
    .sysdash-cell { grid-column: 1 / -1 !important; width: 100% !important; }
    .sysdash-primary-btn span,
    .sysdash-segment span { display: none; }
}

.sysdash-tabs { position: sticky; top: 60px; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 0; padding: 10px; border-bottom: 1px solid var(--sysdash-line); background: var(--sysdash-surface); }
.sysdash-tab { display: inline-flex; min-width: 0; min-height: 32px; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); color: var(--sysdash-muted-strong); padding: 0 8px; font-size: 11px; font-weight: 800; }
.sysdash-tab span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-tab.is-active { border-color: var(--sysdash-accent); background: var(--sysdash-accent-soft); color: var(--sysdash-text); }
.sysdash-tab-panel { display: grid; gap: 7px; padding: 12px; }
.sysdash-guidance { display: grid; gap: 4px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-muted); padding: 10px; font-size: 11px; line-height: 1.4; }
.sysdash-guidance strong { color: var(--sysdash-text); font-size: 12px; }
.sysdash-compact-note { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-muted-strong); padding: 5px 7px; font-size: 11px; line-height: 1.2; }
.sysdash-compact-note strong { min-width: 0; overflow: hidden; color: var(--sysdash-text); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-compact-note span { min-width: 0; }
.sysdash-inspector-link-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 32px; border: 1px solid var(--sysdash-accent); background: var(--sysdash-accent-soft); color: var(--sysdash-text); padding: 0 10px; font-size: 11px; font-weight: 800; }
.sysdash-inspector-link-button:hover,
.sysdash-inspector-link-button:focus { background: rgba(60,141,188,.20); color: var(--sysdash-text); }
.sysdash-help-tip { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 18px; height: 18px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); color: var(--sysdash-accent); font-size: 11px; vertical-align: middle; cursor: help; }
.sysdash-filter-head .sysdash-help-tip,
.sysdash-source-block > strong .sysdash-help-tip,
.sysdash-field-picker-head .sysdash-help-tip { margin-left: 4px; }
.sysdash-source-block { display: grid; gap: 7px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); padding: 8px; }
.sysdash-source-block > strong { color: var(--sysdash-muted-strong); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.sysdash-config-block-head { display: grid; grid-template-columns: 28px minmax(0, 1fr) 20px; align-items: center; gap: 8px; }
.sysdash-config-block-head > span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); color: var(--sysdash-accent); }
.sysdash-config-block-head > strong { min-width: 0; overflow: hidden; color: var(--sysdash-text); font-size: 13px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-config-section { display: grid; gap: 7px; padding-top: 8px; border-top: 1px solid var(--sysdash-line); }
.sysdash-config-section > strong { color: var(--sysdash-muted-strong); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sysdash-card-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.sysdash-field-tile { display: grid; min-width: 0; gap: 4px; margin: 0; }
.sysdash-field-tile.is-wide { grid-column: 1 / -1; }
.sysdash-field-tile > span { min-width: 0; overflow: hidden; color: var(--sysdash-muted-strong); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.sysdash-field-tile select,
.sysdash-field-tile input { min-width: 0; width: 100%; }
.sysdash-field-toggle { align-self: end; min-height: 36px; margin: 0 !important; }
.sysdash-agenda-source { display: grid; gap: 7px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); padding: 8px; }
.sysdash-agenda-source-fields { display: grid; gap: 5px; max-height: 220px; overflow: auto; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); padding: 7px; }
.sysdash-agenda-source-fields > strong { color: var(--sysdash-muted-strong); font-size: 10px; text-transform: uppercase; }
.sysdash-agenda-date-fields { display: grid; gap: 8px; max-height: 280px; overflow: auto; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); padding: 8px; }
.sysdash-agenda-date-field { display: grid; gap: 7px; border-bottom: 1px solid var(--sysdash-line); padding: 0 0 8px; }
.sysdash-agenda-date-field:last-child { border-bottom: 0; padding-bottom: 0; }
.sysdash-agenda-date-check { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 7px; align-items: start; margin: 0; font-weight: 400; }
.sysdash-agenda-date-check input { margin-top: 2px; }
.sysdash-agenda-date-check span { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 6px; row-gap: 1px; min-width: 0; }
.sysdash-agenda-date-check i { grid-row: 1 / span 2; color: var(--sysdash-accent); text-align: center; }
.sysdash-agenda-date-check strong { min-width: 0; overflow: hidden; color: var(--sysdash-text); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-agenda-date-check small { min-width: 0; overflow: hidden; color: var(--sysdash-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-agenda-date-controls { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 7px; align-items: end; padding-left: 25px; }
.sysdash-agenda-date-controls label { display: grid; gap: 3px; margin: 0; min-width: 0; color: var(--sysdash-muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.sysdash-agenda-date-controls label:last-child { grid-column: 1 / -1; }
.sysdash-agenda-date-controls input[type="color"] { width: 42px; height: 30px; padding: 2px; }
.sysdash-agenda-date-controls select { min-width: 0; width: 100%; }
.sysdash-filter-head { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-bottom: 1px; }
.sysdash-filter-head strong { color: var(--sysdash-text); font-size: 12px; }
.sysdash-filter-head button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 29px; border: 1px solid rgba(0,166,90,.42); background: var(--sysdash-success-soft); color: var(--sysdash-text); padding: 0 8px; }
.sysdash-filter-list { display: grid; gap: 6px; }
.sysdash-filter-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); padding: 6px; }
.sysdash-filter-row button { display: inline-flex; width: 100%; min-height: 30px; align-items: center; justify-content: center; border: 1px solid rgba(221,75,57,.42); background: var(--sysdash-danger-soft); color: var(--sysdash-text); }
.sysdash-filter-row input:disabled { opacity: .74; cursor: not-allowed; }
.sysdash-filter-row .sysdash-date-presets { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sysdash-filter-row .sysdash-date-presets button { min-height: 28px; border-color: var(--sysdash-line); background: var(--sysdash-surface-2); color: var(--sysdash-muted-strong); padding: 0 6px; font-size: 11px; }
.sysdash-filter-row .sysdash-date-presets button:hover { border-color: var(--sysdash-accent); background: var(--sysdash-accent-soft); color: var(--sysdash-text); }
.sysdash-filter-value-hint { display: block; color: var(--sysdash-muted); font-size: 10.5px; line-height: 1.35; }
.sysdash-data-summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; color: var(--sysdash-muted); font-size: 11px; }
.sysdash-data-summary span { display: inline-flex; align-items: center; min-width: 0; gap: 6px; }
.sysdash-data-summary strong { color: var(--sysdash-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-sortable-helper .sysdash-widget { box-shadow: 0 18px 44px rgba(0,0,0,.30); transform: rotate(.5deg); }
.sysdash-placeholder { box-sizing: border-box; visibility: visible !important; }
.sysdash-title-input,
.sysdash-description-input { width: 100%; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); outline: 0; }
.sysdash-title-input { height: 30px; padding: 0 9px; font-size: 18px; font-weight: 600; }
.sysdash-description-input { height: 32px; margin-top: 6px; padding: 0 9px; font-size: 12px; }
.sysdash-title-input:focus,
.sysdash-description-input:focus { border-color: var(--sysdash-accent); }
.sysdash-dashboard-title-editor { display: grid; grid-template-columns: 30px minmax(0, 1fr) 30px; align-items: center; gap: 6px; }
.sysdash-dashboard-icon-preview { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-accent); font-size: 15px; padding: 0; }
.sysdash-dashboard-icon-open { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); padding: 0; font-weight: 700; white-space: nowrap; }
.sysdash-dashboard-icon-preview:hover,
.sysdash-dashboard-icon-open:hover { border-color: var(--sysdash-accent); background: var(--sysdash-accent-soft); }
.sysdash-icon-dialog { width: min(760px, 100%); }
.sysdash-icon-search.sysdash-search-wrap { margin: 0 0 10px; }
.sysdash-dashboard-icon-palette { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 7px; max-height: min(520px, 58vh); overflow: auto; padding-right: 2px; }
.sysdash-dashboard-icon-choice { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; gap: 6px; min-height: 32px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); padding: 5px 7px; text-align: left; }
.sysdash-dashboard-icon-choice i { color: var(--sysdash-accent); text-align: center; }
.sysdash-dashboard-icon-choice span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 700; }
.sysdash-dashboard-icon-choice:hover,
.sysdash-dashboard-icon-choice.is-active { border-color: var(--sysdash-accent); background: var(--sysdash-accent-soft); }
.sysdash-dashboard-icon-choice.is-active { box-shadow: inset 3px 0 0 var(--sysdash-accent); }
#sysDashboardStudio .sysdash-tab-panel textarea { width: 100%; min-height: 120px; resize: vertical; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); padding: 9px; outline: 0; }
#sysDashboardStudio .sysdash-tab-panel textarea:focus { border-color: var(--sysdash-accent); }
#sysDashboardStudio .sysdash-config-section { display: grid; gap: 10px; border: 1px solid rgba(60,141,188,.34); background: linear-gradient(180deg, rgba(60,141,188,.10), rgba(255,255,255,.025)); padding: 11px; }
#sysDashboardStudio .sysdash-config-section + .sysdash-config-section { margin-top: 10px; }
#sysDashboardStudio .sysdash-config-section header { display: grid; gap: 3px; border-bottom: 1px solid var(--sysdash-line); padding-bottom: 8px; }
#sysDashboardStudio .sysdash-config-section header span { display: inline-flex; align-items: center; gap: 8px; color: var(--sysdash-text); font-size: 13px; font-weight: 800; }
#sysDashboardStudio .sysdash-config-section header i { color: var(--sysdash-accent); }
#sysDashboardStudio .sysdash-config-section header small { color: var(--sysdash-muted-strong); font-size: 11px; line-height: 1.35; }
#sysDashboardStudio .sysdash-config-section-body { display: grid; gap: 9px; }
#sysDashboardStudio .sysdash-config-section-body > .sysdash-source-block { margin: 0; }
.sysdash-admin-action { display: none; }
.sys-dashboard-studio.is-admin .sysdash-admin-action { display: inline-flex; }
.sys-dashboard-studio.can-create-dashboard [data-dashboard-command="new-dashboard"]:not([hidden]) { display: inline-flex; }

.sysdash-dialog-backdrop { position: fixed; inset: 0; z-index: 10050; display: flex; align-items: center; justify-content: center; padding: 22px; background: rgba(0,0,0,.58); }
.sysdash-dialog { width: min(460px, 100%); border: 1px solid var(--sysdash-line-strong); background: var(--sysdash-surface); color: var(--sysdash-text); box-shadow: 0 24px 70px rgba(0,0,0,.38); }
.sysdash-dialog-head { display: grid; grid-template-columns: 34px minmax(0, 1fr) 34px; align-items: center; gap: 10px; min-height: 54px; padding: 10px 12px; border-bottom: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); }
.sysdash-dialog-head span { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--sysdash-line); background: var(--sysdash-accent-soft); color: var(--sysdash-accent); }
.sysdash-dialog-head strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 600; }
.sysdash-dialog-close { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid transparent; background: transparent; color: var(--sysdash-muted); }
.sysdash-dialog-close:hover { border-color: var(--sysdash-line); color: var(--sysdash-text); }
.sysdash-dialog-body { padding: 16px 14px 4px; color: var(--sysdash-muted-strong); line-height: 1.45; }
.sysdash-dialog-input { display: block; width: 100%; height: 38px; margin-top: 12px; border: 1px solid var(--sysdash-line-strong); background: var(--sysdash-surface-3); color: var(--sysdash-text); padding: 0 10px; outline: 0; }
.sysdash-dialog-input:focus { border-color: var(--sysdash-accent); box-shadow: 0 0 0 2px var(--sysdash-accent-soft); }
.sysdash-dialog-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 14px; }
.sysdash-dialog-actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; border: 1px solid var(--sysdash-line); padding: 0 13px; }
.sysdash-dialog-actions button:disabled { opacity: .58; cursor: not-allowed; filter: grayscale(.2); }
.sysdash-dialog-ghost { background: var(--sysdash-surface-2); color: var(--sysdash-text); }
.sysdash-dialog-primary { background: var(--sysdash-accent-2); border-color: rgba(0,166,90,.8) !important; color: #fff; }
.sysdash-dialog-danger { background: var(--sysdash-danger); border-color: rgba(221,75,57,.8) !important; color: #fff; }
.sysdash-dialog-primary:hover,
.sysdash-dialog-danger:hover,
.sysdash-dialog-ghost:hover { filter: brightness(1.06); }
.sysdash-variable-config-dialog { width: min(820px, calc(100vw - 44px)); }
.sysdash-variable-config-dialog .sysdash-dialog-body { display: grid; gap: 12px; max-height: min(68vh, 620px); overflow: auto; padding-bottom: 12px; }
.sysdash-variable-config-intro { color: var(--sysdash-muted); font-size: 12px; }
.sysdash-variable-config-list { display: grid; gap: 8px; }
.sysdash-variable-config-row { display: grid; grid-template-columns: minmax(180px, 1.4fr) minmax(120px, .75fr) minmax(160px, 1fr) 34px; gap: 8px; align-items: end; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); padding: 8px; }
.sysdash-variable-config-row label { display: grid; gap: 4px; min-width: 0; margin: 0; color: var(--sysdash-muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.sysdash-variable-config-row input,
.sysdash-variable-config-row select { width: 100%; min-height: 32px; border: 1px solid var(--sysdash-line-strong); background: var(--sysdash-surface); color: var(--sysdash-text); padding: 0 8px; font-size: 12px; font-weight: 400; text-transform: none; }
.sysdash-variable-config-row input:focus,
.sysdash-variable-config-row select:focus { border-color: var(--sysdash-accent); outline: 0; box-shadow: 0 0 0 2px var(--sysdash-accent-soft); }
.sysdash-variable-date-default { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(130px, 1fr); gap: 6px; }
.sysdash-variable-date-default input[hidden] { display: none; }
.sysdash-variable-date-default:has(input[hidden]) { grid-template-columns: minmax(0, 1fr); }
.sysdash-variable-config-remove { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 32px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface); color: var(--sysdash-muted); }
.sysdash-variable-config-remove:hover { border-color: rgba(221,75,57,.55); color: var(--sysdash-danger); background: rgba(221,75,57,.08); }
.sysdash-variable-config-add { justify-self: start; gap: 7px; min-height: 32px; }
.sysdash-variable-config-error { border: 1px solid rgba(221,75,57,.45); background: rgba(221,75,57,.08); color: var(--sysdash-danger); padding: 8px 10px; font-size: 12px; }
.sysdash-variable-config-empty { border: 1px dashed var(--sysdash-line-strong); background: var(--sysdash-surface-2); color: var(--sysdash-muted); padding: 14px; font-size: 12px; text-align: center; }
.sysdash-advanced-dialog { width: min(920px, 100%); }
.sysdash-advanced-dialog .sysdash-dialog-body { max-height: min(68vh, 640px); overflow: auto; padding-bottom: 12px; }
.sysdash-advanced-top { display: grid; grid-template-columns: minmax(180px, 260px) minmax(220px, 1fr); gap: 10px; margin-bottom: 12px; }
.sysdash-advanced-top.is-readonly { grid-template-columns: minmax(0, 1fr); }
.sysdash-advanced-top label { display: grid; gap: 6px; color: var(--sysdash-muted-strong); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.sysdash-advanced-top input,
.sysdash-advanced-top select,
.sysdash-advanced-row input,
.sysdash-advanced-row select { width: 100%; height: 34px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); padding: 0 8px; outline: 0; }
.sysdash-advanced-list { display: grid; gap: 8px; }
.sysdash-advanced-state { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 10px; border: 1px solid rgba(0,166,90,.45); background: var(--sysdash-success-soft); color: var(--sysdash-text); padding: 8px 10px; font-size: 12px; font-weight: 700; }
.sysdash-advanced-state i { color: var(--sysdash-accent-2); }
.sysdash-advanced-note { margin-bottom: 10px; }
.sysdash-advanced-row { display: grid; grid-template-columns: 58px minmax(170px, 1.2fr) minmax(120px, .8fr) minmax(170px, 1fr) 36px; gap: 8px; align-items: start; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); padding: 8px; }
.sysdash-advanced-value { display: grid; min-width: 0; gap: 5px; }
.sysdash-advanced-value .sysdash-filter-value-hint { max-width: 100%; overflow-wrap: anywhere; }
.sysdash-advanced-join { display: inline-flex; align-items: center; justify-content: center; height: 34px; color: var(--sysdash-muted); font-weight: 700; }
.sysdash-advanced-row button,
.sysdash-advanced-add { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); padding: 0 10px; }
.sysdash-advanced-row button { width: 36px; padding: 0; border-color: rgba(221,75,57,.42); background: var(--sysdash-danger-soft); }
.sysdash-advanced-add { margin-top: 10px; }
.sysdash-advanced-actions { flex-wrap: wrap; }
@media (max-width: 900px) {
    .sysdash-advanced-top,
    .sysdash-advanced-row { grid-template-columns: minmax(0, 1fr); }
    .sysdash-advanced-row button { width: 100%; }
}

.sys-dashboard-studio { min-height: calc(100vh - 50px); }
.sysdash-shell { padding: 8px 10px 14px; }
.sysdash-commandbar { margin-bottom: 10px; }
.sysdash-main { grid-template-columns: 248px minmax(0, 1fr); gap: 10px; }
.sys-dashboard-studio.is-admin .sysdash-stage { grid-template-columns: minmax(0, 1fr) 286px; gap: 10px; }
.sysdash-nav,
.sysdash-canvas,
.sysdash-inspector { min-height: calc(100vh - 178px); }
.sysdash-grid { min-height: calc(100vh - 322px); padding: 10px; }
.sysdash-list-row { grid-template-columns: minmax(0, 1fr) 32px 32px; gap: 5px; }
#sysDashboardStudio:not(.is-admin) .sysdash-list-row { grid-template-columns: minmax(0, 1fr); }
.sysdash-list-action,
.sysdash-list-delete { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-muted); min-height: 32px; }
.sysdash-list-action:hover { color: var(--sysdash-accent); border-color: rgba(60,141,188,.5); }
.sysdash-list-delete:hover { color: var(--sysdash-danger); border-color: rgba(221,75,57,.5); }
@media (min-width: 1500px) {
    .sysdash-main { grid-template-columns: 260px minmax(0, 1fr); }
    .sys-dashboard-studio.is-admin .sysdash-stage { grid-template-columns: minmax(0, 1fr) 300px; }
}
/* Dashboard density pass 20260802-31: maximise l'espace utile dans Sysimple. */
body .content-wrapper .content:has(#sysDashboardStudio),
body .content-wrapper section.content:has(#sysDashboardStudio),
body .content-wrapper > section:has(#sysDashboardStudio),
body #div-main-form:has(#sysDashboardStudio),
body [id="ViewContainer.Dynamic"]:has(#sysDashboardStudio),
body .dynamicform:has(#sysDashboardStudio) {
    padding: 0 !important;
    margin: 0 !important;
}

#MainView:has(#sysDashboardStudio) { overflow: hidden; }

#sysDashboardStudio.sys-dashboard-studio {
    position: relative;
    height: var(--sysdash-mainview-height, calc(100vh - 84px));
    min-height: 0;
    max-height: var(--sysdash-mainview-height, calc(100vh - 84px));
    margin: 0;
    overflow: hidden;
}

#sysDashboardStudio .sysdash-shell {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 2px 4px 4px;
}

#sysDashboardStudio .sysdash-commandbar {
    min-height: 56px;
    margin-bottom: 6px;
    padding: 7px 10px;
}

#sysDashboardStudio .sysdash-main {
    flex: 1 1 auto;
    min-height: 0;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 6px;
}

#sysDashboardStudio.is-sidebar-collapsed .sysdash-main {
    grid-template-columns: 62px minmax(0, 1fr);
}

#sysDashboardStudio.is-nav-simple:not(.is-sidebar-collapsed) .sysdash-main {
    grid-template-columns: 224px minmax(0, 1fr);
}

#sysDashboardStudio.is-nav-simple .sysdash-search-wrap {
    margin: 8px;
}

#sysDashboardStudio.is-nav-simple .sysdash-search-wrap input {
    height: 30px;
}

#sysDashboardStudio.is-nav-simple .sysdash-list {
    padding: 0 6px 8px;
}

#sysDashboardStudio.is-nav-simple .sysdash-nav-section {
    margin-bottom: 8px;
}

#sysDashboardStudio.is-nav-simple .sysdash-nav-section-head {
    margin-bottom: 3px;
}

#sysDashboardStudio.is-nav-simple .sysdash-nav-section-head [data-section-command="toggle"],
#sysDashboardStudio.is-nav-simple .sysdash-section-title {
    min-height: 30px;
}

#sysDashboardStudio.is-nav-simple .sysdash-nav-section-head [data-section-command="toggle"] {
    width: 34px;
    grid-template-columns: 8px 16px;
}

#sysDashboardStudio.is-nav-simple .sysdash-nav-section-head {
    grid-template-columns: 34px minmax(0, 1fr) 24px 28px;
}

#sysDashboardStudio.is-nav-simple:not(.is-admin) .sysdash-nav-section-head {
    grid-template-columns: 34px minmax(0, 1fr);
}

#sysDashboardStudio.is-nav-simple .sysdash-section-title {
    padding: 0 7px;
}

#sysDashboardStudio.is-nav-simple .sysdash-section-title span,
#sysDashboardStudio.is-nav-simple .sysdash-nav-section-head input {
    font-size: 11px;
}

#sysDashboardStudio.is-nav-simple .sysdash-nav-section-body {
    margin-left: 16px;
    padding-left: 8px;
}

#sysDashboardStudio.is-nav-simple .sysdash-list-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-bottom: 2px;
}

#sysDashboardStudio.is-nav-simple .sysdash-list-action,
#sysDashboardStudio.is-nav-simple .sysdash-list-delete {
    display: none !important;
}

#sysDashboardStudio.is-nav-simple .sysdash-list-item {
    grid-template-columns: 24px minmax(0, 1fr);
    min-height: 30px;
    gap: 5px;
    padding: 3px 5px;
}

#sysDashboardStudio.is-nav-simple .sysdash-list-icon {
    width: 24px;
    height: 24px;
    font-size: 12px;
}

#sysDashboardStudio.is-nav-simple .sysdash-list-copy strong {
    font-size: 12px;
    line-height: 1.12;
    max-height: 1.2em;
    white-space: nowrap;
}

#sysDashboardStudio.is-nav-simple .sysdash-list-copy small,
#sysDashboardStudio.is-nav-simple .sysdash-list-copy em {
    display: none !important;
}

#sysDashboardStudio.is-sidebar-collapsed .sysdash-nav-head {
    justify-content: center;
    padding-left: 6px;
    padding-right: 6px;
}

#sysDashboardStudio.is-sidebar-collapsed .sysdash-nav-head > span,
#sysDashboardStudio.is-sidebar-collapsed .sysdash-nav-head .sysdash-admin-action,
#sysDashboardStudio.is-sidebar-collapsed [data-dashboard-command="toggle-nav-simple"],
#sysDashboardStudio.is-sidebar-collapsed .sysdash-search-wrap {
    display: none !important;
}

#sysDashboardStudio.is-sidebar-collapsed .sysdash-nav-actions {
    justify-content: center;
}

#sysDashboardStudio.is-sidebar-collapsed .sysdash-list {
    display: block !important;
    flex: 1 1 auto;
    padding: 6px 8px;
    overflow: hidden auto;
}

#sysDashboardStudio.is-sidebar-collapsed .sysdash-list-row {
    display: block;
    margin-bottom: 5px;
}

#sysDashboardStudio.is-sidebar-collapsed .sysdash-nav-section {
    margin-bottom: 9px;
}

#sysDashboardStudio.is-sidebar-collapsed .sysdash-nav-section-head {
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

#sysDashboardStudio.is-sidebar-collapsed .sysdash-nav-section-head [data-section-command="toggle"] {
    display: inline-grid;
    grid-template-columns: 8px 18px;
    align-items: center;
    justify-content: center;
    column-gap: 4px;
    width: 44px;
    min-height: 32px;
    border: 1px solid var(--sysdash-line-strong);
    background: var(--sysdash-surface-2);
    padding: 0;
}

#sysDashboardStudio.is-sidebar-collapsed .sysdash-nav-section.is-virtual .sysdash-nav-section-head [data-section-command="toggle"] {
    background: var(--sysdash-surface-3);
    border-style: dashed;
}

#sysDashboardStudio.is-sidebar-collapsed .sysdash-section-title,
#sysDashboardStudio.is-sidebar-collapsed .sysdash-section-order-actions,
#sysDashboardStudio.is-sidebar-collapsed .sysdash-nav-section-head [data-section-command="header-menu"],
#sysDashboardStudio.is-sidebar-collapsed .sysdash-nav-section-head [data-section-command="delete"] {
    display: none !important;
}

#sysDashboardStudio.is-sidebar-collapsed .sysdash-nav-section-body {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
}

#sysDashboardStudio.is-sidebar-collapsed .sysdash-list-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    min-height: 32px;
    height: 32px;
    padding: 0;
    margin: 0 auto;
}

#sysDashboardStudio.is-sidebar-collapsed .sysdash-list-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
}

#sysDashboardStudio.is-sidebar-collapsed .sysdash-list-copy,
#sysDashboardStudio.is-sidebar-collapsed .sysdash-list-action,
#sysDashboardStudio.is-sidebar-collapsed .sysdash-list-delete {
    display: none !important;
}

#sysDashboardStudio .sysdash-stage {
    min-height: 0;
    height: 100%;
    align-items: stretch;
}

#sysDashboardStudio.is-admin .sysdash-stage {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 380px);
    gap: 6px;
}

#sysDashboardStudio .sysdash-nav,
#sysDashboardStudio .sysdash-canvas,
#sysDashboardStudio .sysdash-inspector {
    height: 100%;
    min-height: 0;
    max-height: 100%;
}

#sysDashboardStudio .sysdash-nav,
#sysDashboardStudio .sysdash-canvas {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#sysDashboardStudio .sysdash-inspector {
    flex-direction: column;
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;
}

#sysDashboardStudio.is-admin .sysdash-inspector {
    display: flex;
}

#sysDashboardStudio .sysdash-inspector-head,
#sysDashboardStudio .sysdash-tabs,
#sysDashboardStudio .sysdash-inspector-footer {
    flex: 0 0 auto;
}

#sysDashboardStudio .sysdash-tab-panel {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

#sysDashboardStudio .sysdash-list {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
}

#sysDashboardStudio .sysdash-nav-head,
#sysDashboardStudio .sysdash-canvas-head {
    padding-left: 10px;
    padding-right: 10px;
}

#sysDashboardStudio .sysdash-canvas-head {
    flex: 0 0 auto;
    min-height: 0;
    height: auto;
    align-items: start;
    overflow: visible;
    padding-top: 10px;
    padding-bottom: 14px;
    position: relative;
    z-index: 2;
}

#sysDashboardStudio .sysdash-canvas-head p {
    min-height: 18px;
    line-height: 1.35;
    overflow: visible;
}

#sysDashboardStudio .sysdash-section-shortcut {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
    margin-bottom: 2px;
}

#sysDashboardStudio.is-admin .sysdash-section-shortcut {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

#sysDashboardStudio.is-admin .sysdash-section-quick-access-trigger,
#sysDashboardStudio.is-admin .sysdash-section-quick-access-remove {
    min-height: 30px;
}

#sysDashboardStudio.is-admin .sysdash-section-quick-access-remove {
    flex-basis: 36px;
    width: 36px;
    min-width: 36px;
}

.sysdash-canvas .sysdash-section-quick-access-menu {
    position: fixed;
}

#sysDashboardStudio .sysdash-description-input {
    display: block;
    height: 28px;
    line-height: 28px;
}

#sysDashboardStudio .sysdash-admin-tools {
    gap: 6px;
    padding: 8px;
}

#sysDashboardStudio .sysdash-admin-tools button {
    min-height: 50px;
    padding: 7px;
}

#sysDashboardStudio .sysdash-grid {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 6px;
    overscroll-behavior: contain;
}

#sysDashboardStudio .sysdash-grid-inner {
    gap: 8px;
    margin: 0;
    align-content: start;
}

#sysDashboardStudio.is-admin .sysdash-grid-inner {
    padding-bottom: 220px;
}

#sysDashboardStudio.is-resizing-widget .sysdash-grid-inner {
    padding-bottom: 360px;
}

#sysDashboardStudio .sysdash-cell {
    padding: 0;
}

#sysDashboardStudio .sysdash-widget-head {
    min-height: 40px;
    padding: 7px 9px;
}

#sysDashboardStudio .sysdash-widget-body {
    min-height: 0;
    overflow: hidden;
    padding: 10px;
}

#sysDashboardStudio .sysdash-type-gantt .sysdash-widget-body {
    display: flex;
    flex-direction: column;
}

#sysDashboardStudio .sysdash-type-gantt .sysdash-widget-body > .sysdash-grid-search {
    flex: 0 0 auto;
}

#sysDashboardStudio .sysdash-type-gantt .sysdash-widget-body > .sysdash-gantt {
    flex: 1 1 0;
    height: auto;
    min-height: 0;
}

#sysDashboardStudio.is-admin .sysdash-widget-body {
    padding-bottom: 32px;
}

#sysDashboardStudio .sysdash-widget-body > .sysdash-gantt,
#sysDashboardStudio .sysdash-widget-body > .sysdash-calendar,
#sysDashboardStudio .sysdash-widget-body > .sysdash-kanban-board,
#sysDashboardStudio .sysdash-widget-body > .sysdash-map-widget {
    height: 100%;
    min-height: 0;
}

#sysDashboardStudio.is-admin .sysdash-widget-body > .sysdash-gantt,
#sysDashboardStudio.is-admin .sysdash-widget-body > .sysdash-calendar,
#sysDashboardStudio.is-admin .sysdash-widget-body > .sysdash-kanban-board,
#sysDashboardStudio.is-admin .sysdash-widget-body > .sysdash-map-widget {
    height: calc(100% - 22px);
}

#sysDashboardStudio.is-admin .sysdash-type-gantt .sysdash-widget-body > .sysdash-gantt {
    height: auto;
}

#sysDashboardStudio.is-admin .sysdash-widget.ui-resizable {
    position: relative;
}

#sysDashboardStudio.is-admin .sysdash-widget .ui-resizable-e,
#sysDashboardStudio.is-admin .sysdash-widget .ui-resizable-s,
#sysDashboardStudio.is-admin .sysdash-widget .ui-resizable-se {
    position: absolute;
    display: block;
    z-index: 4;
}

#sysDashboardStudio.is-admin .sysdash-widget .ui-resizable-e {
    top: 0;
    right: 0;
    width: 9px;
    height: 100%;
    cursor: ew-resize;
}

#sysDashboardStudio.is-admin .sysdash-widget .ui-resizable-s {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 18px;
    cursor: ns-resize;
}

#sysDashboardStudio.is-admin .sysdash-widget .ui-resizable-se {
    right: 0;
    bottom: 0;
    width: 34px;
    height: 28px;
    cursor: nwse-resize;
}

#sysDashboardStudio.is-admin:not(.is-dashboard-editable) .sysdash-admin-tools,
#sysDashboardStudio.is-admin:not(.is-dashboard-editable) .sysdash-widget-actions button:not(.sysdash-widget-add-action):not(.sysdash-widget-export-action):not(.sysdash-widget-statistics-action):not(.sysdash-widget-bulk-action):not(.sysdash-widget-filter-action),
#sysDashboardStudio.is-admin:not(.is-dashboard-editable) .sysdash-resize-strip,
#sysDashboardStudio.is-admin:not(.is-dashboard-editable) .sysdash-widget .ui-resizable-e,
#sysDashboardStudio.is-admin:not(.is-dashboard-editable) .sysdash-widget .ui-resizable-s,
#sysDashboardStudio.is-admin:not(.is-dashboard-editable) .sysdash-widget .ui-resizable-se {
    display: none !important;
}

#sysDashboardStudio .sysdash-cell.is-resizing .sysdash-widget {
    border-color: var(--sysdash-accent);
    box-shadow: 0 0 0 1px var(--sysdash-accent), var(--sysdash-shadow);
}

#sysDashboardStudio .sysdash-search-wrap {
    margin: 8px;
}

#sysDashboardStudio .sysdash-grid-search .sysdash-search-wrap {
    margin: 0;
}

#sysDashboardStudio .sysdash-list {
    padding: 0 6px 8px;
}

@media (max-width: 1100px) {
    #sysDashboardStudio.sys-dashboard-studio {
        height: auto;
        max-height: none;
        overflow: visible;
    }

    #sysDashboardStudio .sysdash-shell,
    #sysDashboardStudio .sysdash-main,
    #sysDashboardStudio .sysdash-stage,
    #sysDashboardStudio .sysdash-nav,
    #sysDashboardStudio .sysdash-canvas,
    #sysDashboardStudio .sysdash-inspector {
        height: auto;
        max-height: none;
    }

    #sysDashboardStudio .sysdash-grid {
        min-height: 420px;
        overflow: visible;
    }

    #sysDashboardStudio .sysdash-grid-search {
        grid-template-columns: minmax(0, 1fr);
    }

    #sysDashboardStudio .sysdash-grid-search-apply {
        width: 36px;
        justify-self: end;
    }

}
@media (min-width: 1500px) {
    #sysDashboardStudio .sysdash-main {
        grid-template-columns: 276px minmax(0, 1fr);
    }

    #sysDashboardStudio.is-sidebar-collapsed .sysdash-main {
        grid-template-columns: 62px minmax(0, 1fr);
    }

    #sysDashboardStudio.is-admin .sysdash-stage {
        grid-template-columns: minmax(0, 1fr) 286px;
    }
}
#sysDashboardStudio .sysdash-field-picker {
    display: grid;
    gap: 7px;
    max-height: 260px;
    overflow: auto;
    margin-top: 8px;
    padding: 8px;
    border: 1px solid var(--sysdash-line);
    background: var(--sysdash-surface-3);
}

#sysDashboardStudio .sysdash-field-picker-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

#sysDashboardStudio .sysdash-field-picker-head strong,
#sysDashboardStudio .sysdash-field-picker > strong {
    color: var(--sysdash-muted-strong);
    font-size: 11px;
    text-transform: uppercase;
}

#sysDashboardStudio .sysdash-field-picker-head small {
    color: var(--sysdash-muted);
    font-size: 11px;
    font-weight: 700;
}

#sysDashboardStudio .sysdash-inspector-loading {
    position: sticky;
    top: 0;
    z-index: 5;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin: 10px 12px 0;
    border: 1px solid rgba(60,141,188,.55);
    background: linear-gradient(90deg, var(--sysdash-accent-soft), var(--sysdash-surface));
    color: var(--sysdash-muted-strong);
    padding: 8px;
    box-shadow: 0 8px 18px rgba(0,0,0,.10);
    overflow: hidden;
}

#sysDashboardStudio .sysdash-inspector-loading::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--sysdash-accent), transparent);
    content: "";
    animation: sysdash-loading-sweep 1.1s linear infinite;
}

@keyframes sysdash-loading-sweep {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

#sysDashboardStudio .sysdash-inspector-loading .sysdash-loading-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

#sysDashboardStudio .sysdash-inspector-loading strong {
    color: var(--sysdash-text);
    font-size: 12px;
}

#sysDashboardStudio .sysdash-inspector-loading small {
    color: var(--sysdash-muted);
    font-size: 10.5px;
    line-height: 1.3;
}

#sysDashboardStudio .sysdash-mini-search {
    width: 100%;
    margin: 0 0 6px;
}

#sysDashboardStudio label > .sysdash-mini-search {
    margin-top: 4px;
}

#sysDashboardStudio .sysdash-mini-search input {
    height: 32px;
    text-transform: none;
    font-weight: 500;
}

#sysDashboardStudio .sysdash-field-choice {
    display: grid;
    grid-template-columns: 18px 28px 68px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    min-height: 34px;
    margin: 0;
    padding: 5px 6px;
    border: 1px solid var(--sysdash-line);
    background: var(--sysdash-surface);
    cursor: pointer;
}

#sysDashboardStudio .sysdash-field-choice input { margin: 0; }
#sysDashboardStudio .sysdash-field-choice span { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 24px; color: var(--sysdash-accent); background: var(--sysdash-accent-soft); }
#sysDashboardStudio .sysdash-field-choice em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sysdash-muted); font-size: 10px; font-style: normal; text-transform: uppercase; }
#sysDashboardStudio .sysdash-field-choice strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sysdash-text); font-size: 12px; font-weight: 600; }
#sysDashboardStudio .sysdash-field-choice:hover { border-color: var(--sysdash-accent); }

#sysDashboardStudio .sysdash-column-aliases {
    gap: 6px;
}

#sysDashboardStudio .sysdash-column-order-list {
    display: grid;
    gap: 6px;
}

#sysDashboardStudio .sysdash-column-alias {
    display: grid;
    grid-template-columns: 26px minmax(0, .8fr) minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    margin: 0;
    border: 1px solid var(--sysdash-line);
    background: var(--sysdash-surface-3);
    padding: 5px;
}

#sysDashboardStudio .sysdash-column-alias.is-panel-column-dragging {
    opacity: .72;
    border-color: var(--sysdash-accent);
}

#sysDashboardStudio .sysdash-column-alias.is-panel-column-drop-before {
    box-shadow: inset 0 3px 0 var(--sysdash-accent);
}

#sysDashboardStudio .sysdash-column-alias.is-panel-column-drop-after {
    box-shadow: inset 0 -3px 0 var(--sysdash-accent);
}

#sysDashboardStudio .sysdash-column-order-grip {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--sysdash-line);
    background: var(--sysdash-surface);
    color: var(--sysdash-muted);
    padding: 0;
    cursor: grab;
}

#sysDashboardStudio .sysdash-column-order-grip:hover {
    border-color: var(--sysdash-accent);
    color: var(--sysdash-accent);
}

#sysDashboardStudio .sysdash-column-alias span {
    min-width: 0;
    overflow: hidden;
    color: var(--sysdash-muted);
    font-size: 10px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#sysDashboardStudio .sysdash-column-alias input {
    height: 28px;
    min-width: 0;
    padding: 4px 6px;
    font-size: 11px;
}

#sysDashboardStudio .sysdash-inline-check {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    margin-bottom: 6px;
    padding: 5px 7px;
    border: 1px solid var(--sysdash-line);
    background: var(--sysdash-surface-3);
    color: var(--sysdash-muted-strong);
    text-transform: none;
    letter-spacing: 0;
}

#sysDashboardStudio .sysdash-inline-check input {
    width: 16px;
    height: 16px;
    margin: 0;
}

#sysDashboardStudio .sysdash-inline-check.is-disabled {
    opacity: .62;
}

#sysDashboardStudio .sysdash-inline-check.is-disabled,
#sysDashboardStudio .sysdash-inline-check.is-disabled input {
    cursor: not-allowed;
}

#sysDashboardStudio .sysdash-inline-check span {
    min-width: 0;
    color: var(--sysdash-text);
    font-size: 11px;
    font-weight: 600;
}

#sysDashboardStudio .sysdash-threshold-row {
    grid-template-columns: minmax(0, 1fr);
}

#sysDashboardStudio .sysdash-threshold-value {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
}

#sysDashboardStudio .sysdash-threshold-value > input,
#sysDashboardStudio .sysdash-threshold-value > select {
    min-width: 0;
    width: 100%;
}

#sysDashboardStudio .sysdash-threshold-swatch {
    width: 18px;
    height: 18px;
    min-width: 18px;
    padding: 0;
    border: 1px solid rgba(0,0,0,.18);
    background: transparent;
    cursor: pointer;
}

#sysDashboardStudio .sysdash-threshold-swatch::-webkit-color-swatch-wrapper {
    padding: 0;
}

#sysDashboardStudio .sysdash-threshold-swatch::-webkit-color-swatch {
    border: 0;
}

#sysDashboardStudio .sysdash-threshold-color {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    margin: 0;
}

#sysDashboardStudio .sysdash-threshold-palette {
    display: grid;
    gap: 6px;
}

#sysDashboardStudio .sysdash-threshold-color input {
    width: 18px;
    height: 18px;
    min-height: 18px;
    padding: 0;
    border: 1px solid rgba(0,0,0,.18);
    background: transparent;
    cursor: pointer;
}

#sysDashboardStudio .sysdash-threshold-color span {
    min-width: 0;
    color: var(--sysdash-muted-strong);
    font-size: 12px;
    font-weight: 700;
}

#sysDashboardStudio .sysdash-calculated-row {
    grid-template-columns: minmax(0, 1fr);
}

#sysDashboardStudio .sysdash-calculated-row > button {
    min-height: 28px;
}

#sysDashboardStudio .sysdash-rank-col {
    width: 38px;
    text-align: center;
}

#sysDashboardStudio .sysdash-rank-cell {
    width: 38px;
    text-align: center;
}

#sysDashboardStudio .sysdash-rank-cell span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    border: 1px solid var(--sysdash-line);
    background: var(--sysdash-accent-soft);
    color: var(--sysdash-accent);
    font-weight: 700;
}

#sysDashboardStudio .sysdash-table td.is-success,
#sysDashboardStudio .sysdash-table td.is-warning,
#sysDashboardStudio .sysdash-table td.is-danger {
    position: relative;
    font-weight: 700;
}

#sysDashboardStudio .sysdash-table td.is-success {
    background: var(--sysdash-cell-bg, var(--sysdash-success-soft));
    color: var(--sysdash-cell-color, var(--sysdash-accent-2));
}

#sysDashboardStudio .sysdash-table td.is-warning {
    background: var(--sysdash-cell-bg, var(--sysdash-warning-soft));
    color: var(--sysdash-cell-color, var(--sysdash-warning));
}

#sysDashboardStudio .sysdash-table td.is-danger {
    background: var(--sysdash-cell-bg, var(--sysdash-danger-soft));
    color: var(--sysdash-cell-color, var(--sysdash-danger));
}

#sysDashboardStudio .sysdash-table td.is-success:before,
#sysDashboardStudio .sysdash-table td.is-warning:before,
#sysDashboardStudio .sysdash-table td.is-danger:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: currentColor;
}
#sysDashboardStudio .sysdash-zoom {
    display: inline-flex;
    align-items: center;
    height: 34px;
    border: 1px solid var(--sysdash-line);
    background: var(--sysdash-surface-3);
}

#sysDashboardStudio .sysdash-zoom button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 32px;
    border: 0;
    border-right: 1px solid var(--sysdash-line);
    background: transparent;
    color: var(--sysdash-muted-strong);
    padding: 0 9px;
}

#sysDashboardStudio .sysdash-zoom button:last-child {
    border-right: 0;
}

#sysDashboardStudio .sysdash-zoom button:hover {
    color: var(--sysdash-text);
    background: var(--sysdash-accent-soft);
}

#sysDashboardStudio .sysdash-zoom button:disabled {
    opacity: .42;
    cursor: not-allowed;
}

#sysDashboardStudio .sysdash-zoom strong {
    min-width: 42px;
    text-align: center;
    color: var(--sysdash-text);
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 760px) {
    #sysDashboardStudio .sysdash-zoom strong {
        min-width: 34px;
    }
}
@media (min-width: 1101px) {
    #sysDashboardStudio.is-admin .sysdash-stage {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 400px);
    }
}

/* Keep the editor usable when the canvas and inspector cannot fit side by side. */
@media (max-width: 1100px) {
    #sysDashboardStudio.is-admin .sysdash-stage { grid-template-columns: minmax(0, 1fr); overflow: visible; }
    #sysDashboardStudio.is-admin .sysdash-inspector { min-height: 280px; max-height: 70vh; }
    #sysDashboardStudio .sysdash-main,
    #sysDashboardStudio.is-nav-simple .sysdash-main,
    #sysDashboardStudio.is-sidebar-collapsed .sysdash-main { grid-template-columns: minmax(0, 1fr); overflow: visible; }
    #sysDashboardStudio .sysdash-nav { max-height: 240px; }
    #sysDashboardStudio.is-sidebar-collapsed .sysdash-nav { max-height: 52px; }
}

@media (max-width: 760px) {
    #sysDashboardStudio .sysdash-commandbar { align-items: stretch; }
    #sysDashboardStudio .sysdash-actions { flex-wrap: wrap; justify-content: flex-start; }
    #sysDashboardStudio .sysdash-admin-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #sysDashboardStudio .sysdash-canvas-head { flex-wrap: wrap; }
    #sysDashboardStudio .sysdash-canvas-head > div { min-width: 0; max-width: 100%; }
    #sysDashboardStudio .sysdash-variable-config-row,
    #sysDashboardStudio .sysdash-variable-date-default { grid-template-columns: minmax(0, 1fr); }
}

#sysDashboardStudio button:focus-visible,
#sysDashboardStudio input:focus-visible,
#sysDashboardStudio select:focus-visible,
#sysDashboardStudio textarea:focus-visible { outline: 2px solid var(--sysdash-accent); outline-offset: 2px; }
#sysDashboardStudio .sysdash-shell[inert] { opacity: .72; }

@media (min-width: 1500px) {
    #sysDashboardStudio.is-admin .sysdash-stage {
        grid-template-columns: minmax(0, 1fr) minmax(380px, 420px);
    }
}

#sysDashboardStudio .sysdash-field-choice {
    grid-template-columns: 18px 28px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    min-height: 46px;
    align-items: center;
    gap: 4px 7px;
}

#sysDashboardStudio .sysdash-field-choice input {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    width: 16px;
    height: 16px;
}

#sysDashboardStudio .sysdash-field-choice span {
    grid-column: 2;
    grid-row: 1 / span 2;
}

#sysDashboardStudio .sysdash-field-choice strong {
    grid-column: 3;
    grid-row: 1;
    font-size: 11px;
    white-space: normal;
    line-height: 1.15;
    max-height: 2.3em;
    overflow: hidden;
    text-overflow: clip;
}

#sysDashboardStudio .sysdash-field-choice em {
    grid-column: 3;
    grid-row: 2;
    max-width: 100%;
    white-space: nowrap;
    font-size: 9px;
    text-transform: uppercase;
}

#sysDashboardStudio .sysdash-inspector select option {
    font-size: 11px;
}

#sysDashboardStudio.is-dragging-widget .sysdash-grid {
    cursor: grabbing;
}

#sysDashboardStudio.is-dragging-widget .sysdash-grid-inner {
    outline: 1px dashed rgba(60,141,188,.34);
    outline-offset: 4px;
}

#sysDashboardStudio .sysdash-cell.is-drag-source {
    opacity: .28;
}

#sysDashboardStudio .sysdash-drag-helper {
    z-index: 10060 !important;
    pointer-events: none;
}

#sysDashboardStudio .sysdash-drag-helper .sysdash-widget,
.ui-sortable-helper .sysdash-widget {
    border-color: var(--sysdash-accent);
    box-shadow: 0 22px 58px rgba(0,0,0,.42), 0 0 0 1px var(--sysdash-accent);
    transform: rotate(.35deg);
}

#sysDashboardStudio .sysdash-placeholder {
    box-sizing: border-box;
    visibility: visible !important;
    opacity: 1 !important;
    border: 0;
    background: transparent;
    padding: 0;
}


#sysDashboardStudio .sysdash-free-placeholder {
    min-height: 100%;
    z-index: 1;
}

#sysDashboardStudio .sysdash-free-placeholder.is-invalid .sysdash-drop-target {
    border-color: var(--sysdash-danger);
    background: rgba(221,75,57,.14);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 0 0 3px rgba(221,75,57,.12);
}

#sysDashboardStudio .sysdash-free-placeholder.is-invalid .sysdash-drop-target i {
    color: var(--sysdash-danger);
}
#sysDashboardStudio .sysdash-free-placeholder .sysdash-drop-target,
#sysDashboardStudio .sysdash-placeholder .sysdash-drop-target {
    display: flex;
    min-height: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 2px solid var(--sysdash-accent);
    background: linear-gradient(135deg, rgba(60,141,188,.24), rgba(0,166,90,.12));
    color: var(--sysdash-text);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 0 0 3px rgba(60,141,188,.16);
    text-align: center;
}

#sysDashboardStudio .sysdash-placeholder .sysdash-drop-target i {
    color: var(--sysdash-accent);
    font-size: 20px;
}

#sysDashboardStudio .sysdash-placeholder .sysdash-drop-target strong {
    font-size: 13px;
    font-weight: 700;
}

#sysDashboardStudio .sysdash-placeholder .sysdash-drop-target span {
    max-width: 190px;
    color: var(--sysdash-muted-strong);
    font-size: 11px;
    line-height: 1.3;
}

/* Dashboard UX pass 20260803-4: selection values and compact readable controls. */
#sysDashboardStudio .sysdash-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#sysDashboardStudio .sysdash-tab {
    height: auto;
    min-height: 36px;
    justify-content: flex-start;
    padding: 7px 8px;
}

#sysDashboardStudio .sysdash-tab span {
    white-space: normal;
    line-height: 1.15;
}

#sysDashboardStudio .sysdash-list-item {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 7px;
    padding: 7px 6px;
}

#sysDashboardStudio .sysdash-list-icon {
    width: 28px;
    height: 28px;
}

#sysDashboardStudio .sysdash-list-copy strong {
    white-space: normal;
    line-height: 1.18;
    max-height: 2.36em;
}

#sysDashboardStudio .sysdash-list-copy small {
    white-space: normal;
    line-height: 1.2;
}

#sysDashboardStudio .sysdash-date-presets button {
    min-height: 32px;
    white-space: normal;
    line-height: 1.15;
}

#sysDashboardStudio .sysdash-value-select[multiple] {
    height: auto;
    min-height: 92px;
    padding: 5px;
}

#sysDashboardStudio .sysdash-filter-row .sysdash-value-select option {
    padding: 4px 6px;
}





/* Dashboard charts: keep every chart inside the widget height. */
#sysDashboardStudio .sysdash-type-chart .sysdash-widget-body {
    display: flex;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
}

#sysDashboardStudio .sysdash-type-chart .sysdash-data-summary {
    flex: 0 0 auto;
    margin-bottom: 6px;
}

#sysDashboardStudio .sysdash-type-chart .sysdash-chart-wrap {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    overflow: hidden;
}

#sysDashboardStudio .sysdash-type-chart .sysdash-chart-wrap canvas {
    max-height: 100%;
}

#sysDashboardStudio .sysdash-field-choice.is-system {
    border-color: rgba(60, 141, 188, .65);
    background: rgba(60, 141, 188, .10);
}

#sysDashboardStudio .sysdash-system-badge {
    grid-column: 3;
    grid-row: 3;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    padding: 1px 6px;
    border: 1px solid rgba(60, 141, 188, .65);
    color: #8fd0ff;
    background: rgba(60, 141, 188, .16);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}


.sysdash-record-link { color: var(--sysdash-accent); font-weight: 700; text-decoration: none; }
.sysdash-record-link:hover { color: var(--sysdash-accent-strong); text-decoration: underline; }
.sysdash-record-actions { display: inline-flex; align-items: center; gap: 5px; }
.sysdash-select-col { width: 34px; text-align: center !important; white-space: nowrap; }
.sysdash-select-col input { margin: 0; }
.sysdash-row-actions-col { width: 72px; text-align: center !important; white-space: nowrap; }
.sysdash-row-actions { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.sysdash-investigate-record,
.sysdash-lock-record,
.sysdash-delete-record { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 24px; padding: 0 5px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-muted); }
.sysdash-investigate-record:hover { border-color: var(--sysdash-accent); color: var(--sysdash-accent-strong); }
.sysdash-lock-record { border-color: rgba(0,166,90,.55); background: rgba(0,166,90,.12); color: #7bd99d; }
.sysdash-lock-record:hover { border-color: rgba(0,166,90,.86); background: rgba(0,166,90,.20); color: #a5efbd; }
.sysdash-lock-record.is-locked { border-color: rgba(245,156,26,.70); background: rgba(245,156,26,.16); color: #f7c46f; }
.sysdash-lock-record.is-loading { opacity: .65; pointer-events: none; }
.sysdash-lock-record.is-loading i { animation: sysdash-spin .8s linear infinite; }
.sysdash-delete-record { border-color: rgba(221,75,57,.55); background: rgba(221,75,57,.12); color: var(--sysdash-danger); }
.sysdash-delete-record:hover { border-color: rgba(221,75,57,.9); background: rgba(221,75,57,.20); color: #ff8f82; }
.sysdash-delete-record.is-locked,
.sysdash-delete-record:disabled { border-color: rgba(245, 156, 26, .55); background: rgba(245, 156, 26, .13); color: #f7c46f; cursor: not-allowed; opacity: .95; }
.sysdash-delete-record.is-loading { opacity: .65; pointer-events: none; }
.sysdash-delete-record.is-loading i { animation: sysdash-spin .8s linear infinite; }
.sysdash-bulk-panel { display: grid; gap: 9px; margin: 8px 0 10px; padding: 10px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); box-shadow: inset 3px 0 0 rgba(60,141,188,.68); }
.sysdash-bulk-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sysdash-bulk-panel-head strong { color: var(--sysdash-text); }
.sysdash-bulk-panel-head span { color: var(--sysdash-muted); font-size: 11px; }
.sysdash-bulk-controls { display: grid; grid-template-columns: minmax(130px, .8fr) minmax(160px, 1fr) minmax(180px, 1.2fr) minmax(150px, 1fr) auto; gap: 8px; align-items: end; }
.sysdash-bulk-controls label { display: grid; gap: 4px; color: var(--sysdash-muted); font-size: 11px; font-weight: 700; }
.sysdash-bulk-controls select,
.sysdash-bulk-controls input { height: 30px; min-width: 0; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); padding: 0 8px; }
.sysdash-bulk-apply { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 30px; border: 1px solid rgba(60,141,188,.65); background: rgba(60,141,188,.14); color: var(--sysdash-accent-strong); padding: 0 10px; font-weight: 800; }
.sysdash-bulk-apply:disabled { opacity: .45; cursor: not-allowed; }
.sysdash-bulk-apply.is-loading i { animation: sysdash-spin .8s linear infinite; }
.sysdash-mail-broadcast-panel .sysdash-bulk-controls { grid-template-columns: minmax(240px, 1fr) minmax(150px, .45fr) auto; }
.sysdash-mail-template-picker { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: center; }
.sysdash-mail-template-picker select { width: 100%; }
.sysdash-mail-preview-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 30px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-accent-strong); padding: 0 9px; font-weight: 800; white-space: nowrap; }
.sysdash-mail-preview-button:hover,
.sysdash-mail-preview-button:focus { border-color: var(--sysdash-accent); background: var(--sysdash-accent-soft); color: var(--sysdash-accent-strong); }
.sysdash-mail-preview-button:disabled { opacity: .45; cursor: not-allowed; }
.sysdash-mail-preview-cell-wrap { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; }
.sysdash-mail-preview-cell { min-height: 24px; padding: 0 8px; font-size: 11px; }
.sysdash-mail-preview-cell-subject { min-width: 0; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sysdash-muted); font-size: 11px; }
.sysdash-mail-console { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 10px; }
.sysdash-mail-console-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-1); }
.sysdash-mail-console-head > div { display: grid; gap: 2px; min-width: 0; }
.sysdash-mail-console-head strong { font-size: 15px; font-weight: 900; color: var(--sysdash-text); }
.sysdash-mail-console-head span { font-size: 12px; color: var(--sysdash-muted); }
.sysdash-mail-console-head > .sysdash-mail-console-actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.sysdash-mail-sync-button.is-loading { opacity: .65; pointer-events: none; }
.sysdash-mail-sync-button.is-loading i { animation: sysdash-spin .8s linear infinite; }
.sysdash-mail-kpis { display: grid; grid-template-columns: repeat(5, minmax(110px, 1fr)); gap: 8px; }
.sysdash-mail-kpis > div { display: grid; gap: 3px; padding: 9px 10px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); min-width: 0; }
.sysdash-mail-kpis span { color: var(--sysdash-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.sysdash-mail-kpis strong { color: var(--sysdash-text); font-size: 18px; line-height: 1.1; overflow-wrap: anywhere; }
.sysdash-mail-campaign-scroll { max-height: 420px; }
.sysdash-mail-campaign-table th:last-child,
.sysdash-mail-campaign-table td:last-child { width: 1%; white-space: nowrap; }
.sysdash-mail-campaign-model { display: grid; gap: 2px; min-width: 180px; }
.sysdash-mail-campaign-model strong { color: var(--sysdash-text); font-size: 13px; }
.sysdash-mail-campaign-model span { color: var(--sysdash-muted); font-size: 12px; overflow-wrap: anywhere; }
.sysdash-mail-campaign-model small { width: max-content; max-width: 100%; padding: 1px 6px; border: 1px solid var(--sysdash-line); color: var(--sysdash-muted); background: var(--sysdash-surface-2); font-size: 10px; font-weight: 800; text-transform: uppercase; overflow-wrap: anywhere; }
.sysdash-mail-campaign-model small.is-ready { color: #1e7f43; border-color: rgba(46, 204, 113, .35); background: rgba(46, 204, 113, .08); }
.sysdash-mail-campaign-model small.is-pending { color: #8a6200; border-color: rgba(245, 166, 35, .35); background: rgba(245, 166, 35, .10); }
.sysdash-mail-campaign-actions { display: inline-flex; gap: 6px; align-items: center; }
.sysdash-mail-status { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; padding: 2px 7px; border: 1px solid var(--sysdash-line); font-weight: 900; }
.sysdash-mail-status.is-ok { color: #1e7f43; background: rgba(46, 204, 113, .10); border-color: rgba(46, 204, 113, .35); }
.sysdash-mail-status.is-pending { color: #8a6200; background: rgba(245, 166, 35, .12); border-color: rgba(245, 166, 35, .35); }
.sysdash-mail-status.is-error { color: #a52828; background: rgba(231, 76, 60, .10); border-color: rgba(231, 76, 60, .35); }
.sysdash-mail-campaign-table th:nth-child(9),
.sysdash-mail-campaign-table td:nth-child(9) { width: 86px; max-width: 86px; white-space: nowrap; }
.sysdash-mail-attachment-count { display: inline-flex; align-items: baseline; gap: 3px; font-weight: 800; color: var(--sysdash-text); white-space: nowrap; line-height: 1; }
.sysdash-mail-attachment-count small { display: inline; color: var(--sysdash-muted); font-size: 11px; font-weight: 700; line-height: 1; }
.sysdash-mail-campaign-empty { display: grid; gap: 4px; justify-items: center; padding: 24px; border: 1px dashed var(--sysdash-line); background: var(--sysdash-surface-2); color: var(--sysdash-muted); text-align: center; }
.sysdash-mail-campaign-empty i { font-size: 24px; color: var(--sysdash-accent); }
.sysdash-mail-campaign-empty strong { color: var(--sysdash-text); }
.sysdash-mail-compose-dialog,
.sysdash-mail-details-dialog { width: min(1080px, 96vw); max-height: 92vh; display: flex; flex-direction: column; }
.sysdash-mail-details-dialog { width: min(1360px, calc(100vw - 20px)); max-height: calc(100vh - 20px); }
.sysdash-mail-details-dialog .sysdash-dialog-close { border-color: rgba(221,75,57,.8); background: var(--sysdash-danger); color: #fff; }
.sysdash-mail-details-dialog .sysdash-dialog-close:hover,
.sysdash-mail-details-dialog .sysdash-dialog-close:focus { border-color: #a92718; background: #c63f30; color: #fff; }
.sysdash-mail-details-metrics { display: grid; grid-template-columns: repeat(6, minmax(92px, 1fr)); gap: 8px; padding: 0 12px 10px; }
.sysdash-mail-details-metrics > div { display: grid; gap: 4px; min-width: 0; }
.sysdash-mail-details-metrics span { color: var(--sysdash-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.sysdash-mail-details-metrics strong { min-height: 36px; display: flex; align-items: center; padding: 7px 9px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); color: var(--sysdash-text); font-size: 14px; overflow-wrap: anywhere; }
.sysdash-mail-compose-body { display: grid; gap: 10px; padding: 12px; overflow: auto; }
.sysdash-mail-compose-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); }
.sysdash-mail-compose-tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; border: 0; border-right: 1px solid var(--sysdash-line); background: transparent; color: var(--sysdash-muted-strong); font-weight: 900; }
.sysdash-mail-compose-tabs button:last-child { border-right: 0; }
.sysdash-mail-compose-tabs button.is-active { background: var(--sysdash-accent-soft); color: var(--sysdash-accent-strong); }
.sysdash-mail-compose-tabs strong { min-width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--sysdash-surface-3); color: var(--sysdash-text); font-size: 11px; }
.sysdash-mail-compose-step { display: grid; gap: 8px; padding: 10px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-1); }
.sysdash-mail-compose-step-head { display: flex; align-items: center; gap: 8px; }
.sysdash-mail-compose-step-head span { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 1px solid rgba(60,141,188,.45); background: rgba(60,141,188,.12); color: var(--sysdash-accent-strong); font-weight: 900; }
.sysdash-mail-compose-step-head strong { color: var(--sysdash-text); font-size: 13px; }
.sysdash-mail-compose-template { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.sysdash-mail-compose-template select,
.sysdash-mail-compose-toolbar select { height: 30px; min-width: 0; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); padding: 0 8px; }
.sysdash-mail-compose-toolbar { display: flex; align-items: end; gap: 8px; flex-wrap: wrap; }
.sysdash-mail-compose-toolbar label { display: grid; gap: 4px; color: var(--sysdash-muted); font-size: 11px; font-weight: 800; }
.sysdash-mail-compose-toolbar strong { margin-left: auto; color: var(--sysdash-text); }
.sysdash-mail-compose-editor { display: grid; gap: 8px; }
.sysdash-mail-compose-editor label { display: grid; gap: 4px; color: var(--sysdash-muted); font-size: 11px; font-weight: 800; }
.sysdash-mail-compose-editor input,
.sysdash-mail-compose-editor textarea { width: 100%; min-width: 0; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); padding: 7px 9px; font: inherit; resize: vertical; }
.sysdash-mail-compose-editor textarea { min-height: 160px; line-height: 1.35; }
.sysdash-mail-rich-shell { display: grid; border: 1px solid var(--sysdash-line); background: #fff; }
.sysdash-mail-rich-shell.is-hidden { display: none; }
.sysdash-mail-rich-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 7px; border-bottom: 1px solid var(--sysdash-line); background: linear-gradient(180deg, var(--sysdash-surface-1), var(--sysdash-surface-2)); }
.sysdash-mail-rich-group { display: inline-flex; align-items: center; gap: 2px; min-height: 30px; padding-right: 6px; border-right: 1px solid var(--sysdash-line); }
.sysdash-mail-rich-group:last-child { border-right: 0; padding-right: 0; }
.sysdash-mail-rich-group.is-selects { gap: 5px; }
.sysdash-mail-rich-toolbar select { height: 30px; min-width: 94px; max-width: 132px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); padding: 0 26px 0 8px; font-size: 12px; font-weight: 800; }
.sysdash-mail-rich-toolbar button,
.sysdash-mail-rich-color-button { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 31px; height: 30px; border: 1px solid transparent; background: transparent; color: var(--sysdash-muted-strong); font-size: 14px; }
.sysdash-mail-rich-toolbar button:hover,
.sysdash-mail-rich-toolbar button:focus,
.sysdash-mail-rich-color-button:hover,
.sysdash-mail-rich-color-button:focus-within { border-color: var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); }
.sysdash-mail-rich-color-button input[type="color"] { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; opacity: 0; cursor: pointer; }
.sysdash-mail-rich-color-button:after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 5px; height: 3px; background: var(--sysdash-accent); }
.sysdash-mail-rich-editor { min-height: 340px; max-height: 48vh; overflow: auto; padding: 18px; color: #20262d; background: #fff; outline: 0; line-height: 1.45; overflow-wrap: anywhere; }
.sysdash-mail-rich-editor:focus { box-shadow: inset 0 0 0 2px var(--sysdash-accent-soft); }
.sysdash-mail-rich-editor img { max-width: 100%; height: auto; }
.sysdash-mail-rich-editor table { max-width: 100%; border-collapse: collapse; }
.sysdash-mail-compose-html-source.is-hidden { display: none; }
.sysdash-mail-compose-rendered { display: grid; gap: 6px; }
.sysdash-mail-compose-rendered-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--sysdash-muted); font-size: 11px; font-weight: 800; }
.sysdash-mail-compose-rendered-head span { text-transform: none; }
.sysdash-mail-compose-rendered-head strong { color: var(--sysdash-accent-strong); font-size: 11px; }
.sysdash-mail-compose-frame { display: block; width: 100%; height: 300px; border: 1px solid var(--sysdash-line); background: #fff; }
.sysdash-mail-compose-editor-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.sysdash-mail-compose-editor-actions button,
.sysdash-mail-compose-toolbar button,
.sysdash-mail-attachments button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); padding: 0 12px; font-size: 12px; font-weight: 900; line-height: 1; }
.sysdash-mail-compose-editor-actions button:hover,
.sysdash-mail-compose-toolbar button:hover,
.sysdash-mail-attachments button:hover { border-color: var(--sysdash-accent); color: var(--sysdash-accent-strong); }
.sysdash-mail-compose-editor-actions .sysdash-dialog-primary { border-color: rgba(0, 166, 90, .85); background: var(--sysdash-accent-2); color: #fff; }
.sysdash-mail-compose-editor-actions .sysdash-dialog-primary:hover { border-color: rgba(0, 128, 70, .9); background: #009452; color: #fff; }
.sysdash-mail-recipient-filterbar { display: grid; grid-template-columns: minmax(220px, 1fr) auto auto auto; gap: 8px; align-items: center; }
.sysdash-mail-recipient-filterbar .sysdash-search-wrap { min-width: 0; }
.sysdash-mail-recipient-scroll { max-height: 280px; }
.sysdash-mail-recipient-table th { white-space: nowrap; }
.sysdash-mail-recipient-table th small { display: block; margin-top: 2px; color: var(--sysdash-muted); font-size: 10px; font-weight: 700; }
.sysdash-mail-send-summary { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: 6px 12px; }
.sysdash-mail-send-summary span { color: var(--sysdash-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.sysdash-mail-send-summary strong { color: var(--sysdash-text); overflow-wrap: anywhere; }
.sysdash-mail-details-summary { padding: 12px; }
.sysdash-mail-diffusions { min-height: 180px; padding: 0 12px 12px; overflow: auto; }
.sysdash-mail-diffusions-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.sysdash-mail-diffusions-head > div { display: grid; gap: 2px; }
.sysdash-mail-diffusions-head strong { color: var(--sysdash-text); font-size: 13px; }
.sysdash-mail-diffusions-head span { color: var(--sysdash-muted); font-size: 12px; }
.sysdash-mail-details-loading { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 120px; color: var(--sysdash-muted); }
.sysdash-mail-run-table { width: 100%; min-width: 980px; table-layout: fixed; }
.sysdash-mail-run-table th:nth-child(1) { width: 132px; }
.sysdash-mail-run-table th:nth-child(3) { width: 66px; }
.sysdash-mail-run-table th:nth-child(4) { width: 72px; }
.sysdash-mail-run-table th:nth-child(5) { width: 112px; }
.sysdash-mail-run-table th:nth-child(6) { width: 104px; }
.sysdash-mail-run-table th:nth-child(7) { width: 48px; }
.sysdash-mail-run-table td { vertical-align: top; }
.sysdash-mail-run-table td:nth-child(3),
.sysdash-mail-run-table td:nth-child(4) { text-align: center; }
.sysdash-mail-run-row td:nth-child(2) strong,
.sysdash-mail-run-detail td:nth-child(2) strong { display: block; }
.sysdash-mail-legacy-note { display: block; max-width: 360px; margin-top: 4px; color: var(--sysdash-muted); font-size: 10px; line-height: 1.3; }
.sysdash-mail-stats-source { display: block; margin-top: 3px; color: var(--sysdash-accent-strong); font-size: 10px; font-weight: 800; }
.sysdash-mail-run-results { display: grid; gap: 2px; min-width: 92px; color: var(--sysdash-text); font-size: 11px; white-space: nowrap; }
.sysdash-mail-run-toggle { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid #2c7fb8; background: #3c8dbc; color: #fff; font-size: 13px; }
.sysdash-mail-run-toggle:hover,
.sysdash-mail-run-toggle:focus { border-color: #1c5f8d; background: #287cad; color: #fff; }
.sysdash-mail-run-toggle.is-open { border-color: #008047; background: var(--sysdash-accent-2); }
#sysDashboardStudio .sysdash-mail-run-toggle { border-color: #2c7fb8 !important; background: #3c8dbc !important; color: #fff !important; }
#sysDashboardStudio .sysdash-mail-run-toggle:hover,
#sysDashboardStudio .sysdash-mail-run-toggle:focus { border-color: #1c5f8d !important; background: #287cad !important; color: #fff !important; }
#sysDashboardStudio .sysdash-mail-run-toggle.is-open { border-color: #008047 !important; background: #00a65a !important; color: #fff !important; }
body.skin-blue-light #sysDashboardStudio button.sysdash-mail-run-toggle { border-color: #2c7fb8 !important; background: #3c8dbc !important; color: #fff !important; }
body.skin-blue-light #sysDashboardStudio button.sysdash-mail-run-toggle.is-open { border-color: #008047 !important; background: #00a65a !important; color: #fff !important; }
.sysdash-mail-run-detail > td { padding: 10px; background: var(--sysdash-surface-2); }
.sysdash-mail-run-detail [data-mail-run-host] { border-left: 3px solid var(--sysdash-accent); background: var(--sysdash-surface-1); }
.sysdash-mail-run-detail .sysdash-table-scroll { margin: 0; }
.sysdash-mail-recipient-table small,
.sysdash-mail-run-detail .sysdash-table td small { display: block; margin-top: 2px; color: var(--sysdash-muted); }
.sysdash-mail-details-pager { display: flex; align-items: center; justify-content: flex-end; gap: 6px; padding: 8px; border-top: 1px solid var(--sysdash-line); }
.sysdash-mail-details-pager span { margin-right: auto; color: var(--sysdash-muted); font-size: 11px; }
.sysdash-mail-details-pager button { min-height: 30px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); padding: 0 10px; font-weight: 800; }
.sysdash-mail-details-pager button:disabled { opacity: .45; }
.sysdash-mail-icon-action { width: 36px; height: 34px; padding: 0 !important; font-size: 14px; }
#sysDashboardStudio .sysdash-mail-details-dialog .sysdash-dialog-close,
#sysDashboardStudio .sysdash-mail-details-dialog .sysdash-mail-icon-action { border-color: #b93627 !important; background: #dd4b39 !important; color: #fff !important; }
#sysDashboardStudio .sysdash-mail-details-dialog .sysdash-dialog-close:hover,
#sysDashboardStudio .sysdash-mail-details-dialog .sysdash-dialog-close:focus,
#sysDashboardStudio .sysdash-mail-details-dialog .sysdash-mail-icon-action:hover,
#sysDashboardStudio .sysdash-mail-details-dialog .sysdash-mail-icon-action:focus { border-color: #922a1f !important; background: #c53e2f !important; color: #fff !important; }
body.skin-blue-light #sysDashboardStudio .sysdash-mail-details-dialog button.sysdash-dialog-close,
body.skin-blue-light #sysDashboardStudio .sysdash-mail-details-dialog button.sysdash-mail-icon-action { border-color: #b93627 !important; background: #dd4b39 !important; color: #fff !important; }
.sysdash-mail-attachments { display: grid; gap: 6px; margin-top: 8px; padding: 9px 10px; border: 1px solid rgba(60,141,188,.35); background: rgba(60,141,188,.08); color: var(--sysdash-text); }
.sysdash-mail-attachments.is-empty { border-color: var(--sysdash-line); background: var(--sysdash-surface-2); color: var(--sysdash-muted); }
.sysdash-mail-attachments > div { display: grid; gap: 2px; }
.sysdash-mail-attachments strong { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 900; }
.sysdash-mail-attachments span { font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
.sysdash-mail-attachments ul { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.sysdash-mail-attachments li { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--sysdash-accent-strong); }
.sysdash-mail-attachments li span { min-width: 0; color: inherit; }
.sysdash-mail-attachments li span { flex: 1 1 auto; }
.sysdash-mail-attachments button { min-width: 30px; min-height: 28px; padding: 0 8px; }
.sysdash-mail-preview-dialog { width: min(900px, 96vw); max-height: 92vh; display: flex; flex-direction: column; }
.sysdash-mail-preview-meta { display: grid; gap: 3px; padding: 10px 14px; border-bottom: 1px solid var(--sysdash-line); background: var(--sysdash-surface-1); }
.sysdash-mail-preview-meta span { color: var(--sysdash-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.sysdash-mail-preview-meta strong { color: var(--sysdash-text); overflow-wrap: anywhere; line-height: 1.25; }
.sysdash-mail-preview-body { min-height: 300px; max-height: calc(92vh - 156px); overflow: auto; padding: 14px; background: var(--sysdash-surface-2); }
.sysdash-mail-preview-frame { display: block; width: 100%; min-height: 520px; height: calc(92vh - 190px); border: 1px solid var(--sysdash-line); background: #fff; }
.sysdash-cell-preview-wrap { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; }
.sysdash-cell-preview-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 24px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-accent-strong); padding: 0 8px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.sysdash-cell-preview-button:hover,
.sysdash-cell-preview-button:focus { border-color: var(--sysdash-accent); background: var(--sysdash-accent-soft); color: var(--sysdash-accent-strong); }
.sysdash-cell-preview-summary { min-width: 0; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sysdash-muted); font-size: 11px; }
.sysdash-cell-preview-dialog { width: min(1040px, 96vw); max-height: 94vh; display: flex; flex-direction: column; }
.sysdash-cell-preview-meta { display: grid; gap: 3px; padding: 10px 14px; border-bottom: 1px solid var(--sysdash-line); background: var(--sysdash-surface-1); }
.sysdash-cell-preview-meta span { color: var(--sysdash-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.sysdash-cell-preview-meta strong { color: var(--sysdash-text); overflow-wrap: anywhere; line-height: 1.25; }
.sysdash-cell-preview-body { min-height: 300px; max-height: calc(94vh - 156px); overflow: auto; padding: 14px; background: var(--sysdash-surface-2); }
.sysdash-cell-preview-frame { display: block; width: 100%; min-height: 560px; height: calc(94vh - 190px); border: 1px solid var(--sysdash-line); background: #fff; }
@media (max-width: 760px) {
    .sysdash-mail-broadcast-panel .sysdash-bulk-controls { grid-template-columns: 1fr; }
    .sysdash-mail-console-head { align-items: stretch; flex-direction: column; }
    .sysdash-mail-console-head > .sysdash-mail-console-actions { justify-content: stretch; }
    .sysdash-mail-console-actions > button { flex: 1 1 160px; }
    .sysdash-mail-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sysdash-mail-details-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sysdash-mail-compose-template { grid-template-columns: 1fr; }
    .sysdash-mail-recipient-filterbar { grid-template-columns: 1fr; }
    .sysdash-mail-compose-toolbar { align-items: stretch; flex-direction: column; }
    .sysdash-mail-compose-toolbar strong { margin-left: 0; }
    .sysdash-mail-send-summary { grid-template-columns: 1fr; }
    .sysdash-mail-campaign-actions { flex-direction: column; align-items: stretch; }
    .sysdash-mail-template-picker { grid-template-columns: 1fr; }
    .sysdash-mail-preview-button,
    .sysdash-mail-broadcast-panel .sysdash-bulk-apply { width: 100%; }
    .sysdash-mail-preview-body { padding: 8px; }
    .sysdash-mail-preview-frame { min-height: 420px; height: calc(92vh - 180px); }
    .sysdash-cell-preview-wrap { align-items: flex-start; flex-direction: column; gap: 4px; }
    .sysdash-cell-preview-summary { max-width: 180px; }
    .sysdash-cell-preview-body { padding: 8px; }
    .sysdash-cell-preview-frame { min-height: 420px; height: calc(94vh - 180px); }
}
.sysdash-audit-user { display: inline-grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 6px; align-items: center; max-width: 260px; }
.sysdash-audit-user > i { color: var(--sysdash-accent); }
.sysdash-audit-user > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-audit-user > a { grid-column: 2; color: var(--sysdash-muted); font-size: 11px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-audit-user > a:hover { color: var(--sysdash-accent-strong); text-decoration: underline; }
.sysdash-audit-user > a i { margin-right: 4px; }
.sysdash-audit-user > button { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); padding: 2px 7px; font-size: 11px; font-weight: 700; }
.sysdash-audit-user > button:hover { border-color: var(--sysdash-accent); color: var(--sysdash-accent-strong); }
.sysdash-document-file { display: grid; grid-template-columns: auto minmax(110px, 1fr) auto; align-items: center; gap: 12px; min-width: 260px; max-width: 520px; }
.sysdash-document-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; color: var(--sysdash-accent-strong); font-size: 30px; }
.sysdash-document-icon > .fa-lock { position: absolute; right: -3px; bottom: 1px; font-size: 15px; color: #f0ad4e; text-shadow: 0 1px 0 var(--sysdash-surface-1); }
.sysdash-document-text { min-width: 0; display: grid; gap: 2px; }
.sysdash-document-text strong { min-width: 0; overflow: hidden; overflow-wrap: anywhere; white-space: normal; line-height: 1.25; font-size: 12px; color: var(--sysdash-text); }
.sysdash-document-text small { min-width: 0; overflow: hidden; overflow-wrap: anywhere; white-space: normal; line-height: 1.25; color: var(--sysdash-muted); font-size: 11px; }
.sysdash-document-actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; }
.sysdash-document-preview,
.sysdash-document-download { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 38px; border: 1px solid #2f80b7; background: #3c8dbc; color: #fff !important; padding: 0; font-size: 17px; box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.sysdash-document-preview { width: 38px; border-color: var(--sysdash-line-strong); background: var(--sysdash-surface-3); color: var(--sysdash-accent-strong) !important; box-shadow: none; }
.sysdash-document-preview i,
.sysdash-document-download i { color: #fff !important; }
.sysdash-document-preview i { color: var(--sysdash-accent-strong) !important; }
.sysdash-document-preview:hover,
.sysdash-document-preview:focus { border-color: var(--sysdash-accent); background: var(--sysdash-accent-soft); color: var(--sysdash-accent-strong) !important; }
.sysdash-document-preview:hover i,
.sysdash-document-preview:focus i { color: var(--sysdash-accent-strong) !important; }
.sysdash-document-download:hover,
.sysdash-document-download:focus { border-color: #1f5f8c; background: #2f80b7; color: #fff !important; }
.sysdash-document-download:hover i,
.sysdash-document-download:focus i { color: #fff !important; }
.sysdash-document-preview:disabled,
.sysdash-document-download:disabled { opacity: .55; cursor: wait; }
.sysdash-document-access { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 26px; border: 1px solid transparent; padding: 3px 9px; font-weight: 800; white-space: nowrap; }
.sysdash-document-access.is-public { border-color: rgba(0,166,90,.48); background: rgba(0,166,90,.14); color: #33d083; }
.skin-blue-light .sysdash-document-access.is-public,
.skin-sysimple-soft .sysdash-document-access.is-public { color: #007a44; background: rgba(0,166,90,.13); }
.sysdash-document-access.is-private { border-color: rgba(243,156,18,.55); background: rgba(243,156,18,.16); color: #ffbd55; }
.skin-blue-light .sysdash-document-access.is-private,
.skin-sysimple-soft .sysdash-document-access.is-private { color: #a55d00; background: rgba(243,156,18,.16); }
.sysdash-document-preview-dialog { width: min(1040px, 96vw); max-height: 94vh; display: flex; flex-direction: column; }
.sysdash-document-preview-dialog .sysdash-dialog-head { grid-template-columns: 34px minmax(0, 1fr) auto 34px; }
.sysdash-document-preview-secure,
.sysdash-document-preview-public { width: auto !important; min-width: 76px; height: 28px !important; padding: 0 9px; gap: 6px; font-size: 12px; font-weight: 800; }
.sysdash-document-preview-secure { border-color: rgba(243,156,18,.55) !important; background: rgba(243,156,18,.16) !important; color: #ffbd55 !important; }
.sysdash-document-preview-public { border-color: rgba(0,166,90,.48) !important; background: rgba(0,166,90,.14) !important; color: #33d083 !important; }
.skin-blue-light .sysdash-document-preview-secure,
.skin-sysimple-soft .sysdash-document-preview-secure { color: #a55d00 !important; }
.skin-blue-light .sysdash-document-preview-public,
.skin-sysimple-soft .sysdash-document-preview-public { color: #007a44 !important; }
.sysdash-document-preview-meta { padding: 8px 14px; border-bottom: 1px solid var(--sysdash-line); color: var(--sysdash-muted); font-size: 11px; background: var(--sysdash-surface-1); overflow-wrap: anywhere; }
.sysdash-document-preview-body { min-height: 220px; max-height: calc(94vh - 162px); overflow: auto; padding: 12px; background: var(--sysdash-surface-2); }
.sysdash-document-preview-canvas { min-height: 220px; display: flex; align-items: center; justify-content: center; }
.sysdash-document-preview-image { display: block; max-width: 100%; max-height: calc(94vh - 190px); object-fit: contain; background: #fff; }
.sysdash-document-preview-frame { display: block; width: 100%; height: calc(94vh - 190px); min-height: 420px; border: 1px solid var(--sysdash-line); background: #fff; }
.sysdash-document-preview-text { min-height: 340px; margin: 0; padding: 12px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface); color: var(--sysdash-text); white-space: pre-wrap; overflow-wrap: anywhere; font-family: Consolas, "Courier New", monospace; font-size: 12px; line-height: 1.45; }
.sysdash-document-preview-empty { display: flex; align-items: center; justify-content: center; min-height: 220px; color: var(--sysdash-muted); }
.sysdash-sub-events-button { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); padding: 3px 8px; font-weight: 700; }
.sysdash-sub-events-button:hover { border-color: var(--sysdash-accent); color: var(--sysdash-accent-strong); }
.sysdash-sub-events-dialog { width: min(1100px, 96vw); }
.sysdash-sub-events-scroll { max-height: 66vh; overflow: auto; border: 1px solid var(--sysdash-line); }
.sysdash-sub-events-scroll .sysdash-table { min-width: 920px; }
.sysdash-investigation-dialog { width: min(980px, 96vw); }
.sysdash-investigation-dialog .sysdash-dialog-body { max-height: 74vh; overflow: auto; }
.sysdash-investigation-tools { display: grid; grid-template-columns: minmax(180px, 1fr) 150px 150px auto; gap: 8px; align-items: center; margin-bottom: 10px; }
.sysdash-investigation-tools select,
.sysdash-investigation-tools input { height: 34px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); padding: 0 9px; min-width: 0; }
.sysdash-investigation-tools input:disabled { opacity: .5; }
.sysdash-investigation-tools button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); padding: 0 12px; font-weight: 700; }
.sysdash-investigation-tools button:hover { border-color: var(--sysdash-accent); color: var(--sysdash-accent-strong); }
.sysdash-investigation-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 12px; align-items: center; padding: 10px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); margin-bottom: 10px; }
.sysdash-investigation-summary strong { font-size: 16px; }
.sysdash-investigation-summary a { color: var(--sysdash-accent); text-decoration: none; }
.sysdash-investigation-summary a:hover { text-decoration: underline; }
.sysdash-investigation-summary b { color: var(--sysdash-text); }
.sysdash-investigation-counts { margin: -2px 0 10px; padding: 8px 10px; color: var(--sysdash-muted); font-size: 11px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); }
.sysdash-investigation-timeline { display: grid; gap: 8px; }
.sysdash-investigation-item { display: grid; grid-template-columns: 128px minmax(0, 1fr) 92px; gap: 10px; align-items: start; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); padding: 9px; border-left: 4px solid var(--sysdash-muted); }
.sysdash-investigation-item.is-warning { border-left-color: #f39c12; }
.sysdash-investigation-item.is-critical { border-left-color: #dd4b39; }
.sysdash-investigation-item time { color: var(--sysdash-muted); font-size: 11px; font-weight: 700; }
.sysdash-investigation-item strong { display: block; color: var(--sysdash-text); }
.sysdash-investigation-item span,
.sysdash-investigation-item small { display: block; color: var(--sysdash-muted); font-size: 11px; }
.sysdash-investigation-item p { margin: 3px 0 0; color: var(--sysdash-text); }
.sysdash-investigation-user { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 7px; margin-top: 5px; color: var(--sysdash-muted); font-size: 11px; }
.sysdash-investigation-user a { color: var(--sysdash-accent); text-decoration: none; }
.sysdash-investigation-user button { min-height: 23px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); padding: 0 6px; font-size: 11px; }
.sysdash-investigation-item > b { justify-self: end; font-size: 11px; color: var(--sysdash-muted); }
.sysdash-investigation-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
@media (max-width: 760px) {
    .sysdash-investigation-tools { grid-template-columns: 1fr 1fr; }
    .sysdash-investigation-tools select,
    .sysdash-investigation-tools button { grid-column: 1 / -1; }
    .sysdash-investigation-item { grid-template-columns: 1fr; }
    .sysdash-investigation-item > b { justify-self: start; }
}

.sysdash-list-row[draggable="true"] { cursor: grab; }
.sysdash-list-row.is-dragging { opacity: .55; }
.sysdash-list-row.is-drop-before { box-shadow: inset 0 2px 0 var(--sysdash-accent); }
.sysdash-list-row.is-drop-after { box-shadow: inset 0 -2px 0 var(--sysdash-accent); }


.sysdash-gantt-pager { padding-bottom: 4px; }

.sysdash-draggable-column { cursor: grab; user-select: none; }
.sysdash-draggable-column.is-column-dragging { opacity: .45; }
.sysdash-draggable-column.is-column-drop-before { box-shadow: inset 3px 0 0 var(--sysdash-accent); }
.sysdash-draggable-column.is-column-drop-after { box-shadow: inset -3px 0 0 var(--sysdash-accent); }
.sysdash-sort-head em {
    grid-column: 2;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    border: 1px solid var(--sysdash-line);
    border-radius: 999px;
    background: var(--sysdash-surface-2);
    color: var(--sysdash-muted);
    font-size: 10px;
    font-style: normal;
    line-height: 1;
}
.sysdash-sort-rule-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
}
.sysdash-sort-rule-row > select:first-child {
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
}
.sysdash-sort-rule-row > select:nth-child(2) {
    min-width: 128px;
    width: 100%;
}
.sysdash-sort-rule-actions {
    display: grid;
    grid-template-columns: repeat(3, 28px);
    gap: 4px;
    justify-content: end;
}
.sysdash-filter-row .sysdash-sort-rule-actions button {
    width: 28px;
    min-height: 30px;
    padding: 0;
    border-color: var(--sysdash-line);
    background: var(--sysdash-surface-2);
    color: var(--sysdash-text);
}
.sysdash-filter-row .sysdash-sort-rule-actions button:hover {
    border-color: var(--sysdash-accent);
    color: var(--sysdash-accent);
}
.sysdash-filter-row .sysdash-sort-rule-actions button[data-sort-rule-command="remove"] {
    border-color: rgba(221,75,57,.42);
    background: var(--sysdash-danger-soft);
}
.sysdash-sort-rule-actions button:disabled { opacity: .4; cursor: not-allowed; }


#sysDashboardStudio .sysdash-security-dialog { width: min(940px, calc(100vw - 44px)); }
#sysDashboardStudio .sysdash-security-toggle { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 10px; margin-bottom: 12px; padding: 12px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); }
#sysDashboardStudio .sysdash-security-toggle input { margin: 0; }
#sysDashboardStudio .sysdash-security-toggle strong,
#sysDashboardStudio .sysdash-security-toggle small { display: block; }
#sysDashboardStudio .sysdash-security-toggle small { margin-top: 3px; color: var(--sysdash-muted); }
#sysDashboardStudio .sysdash-security-search { margin: 0 0 12px; }
#sysDashboardStudio .sysdash-security-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .65fr); gap: 12px; }
#sysDashboardStudio .sysdash-security-grid section { border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); min-width: 0; }
#sysDashboardStudio .sysdash-security-grid h3 { display: flex; align-items: center; gap: 7px; margin: 0; padding: 10px 12px; border-bottom: 1px solid var(--sysdash-line); color: var(--sysdash-text); font-size: 13px; }
#sysDashboardStudio .sysdash-security-list { max-height: 360px; overflow: auto; padding: 8px; }
#sysDashboardStudio .sysdash-security-option { display: grid; grid-template-columns: 22px minmax(0, 1fr) 28px auto; align-items: center; gap: 8px; min-height: 48px; margin: 0 0 6px; padding: 8px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface); color: var(--sysdash-text); text-transform: none; font-size: 12px; }
#sysDashboardStudio .sysdash-security-option input { margin: 0; }
#sysDashboardStudio .sysdash-security-option span { min-width: 0; }
#sysDashboardStudio .sysdash-security-option strong,
#sysDashboardStudio .sysdash-security-option small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sysDashboardStudio .sysdash-security-option small { margin-top: 3px; color: var(--sysdash-muted); }
#sysDashboardStudio .sysdash-security-option em { border: 1px solid var(--sysdash-line); background: var(--sysdash-accent-soft); color: var(--sysdash-accent); padding: 2px 6px; font-style: normal; font-size: 10px; }
@media (max-width: 820px) {
    #sysDashboardStudio .sysdash-security-grid { grid-template-columns: 1fr; }
}

.sysdash-list-icon.is-private { background: rgba(221,75,57,.13); color: #ff6b57; border: 1px solid rgba(221,75,57,.36); }
.sysdash-list-icon.is-public { background: rgba(0,166,90,.12); color: var(--sysdash-accent-2); border: 1px solid rgba(0,166,90,.34); }
.sysdash-list-copy small { display: flex; align-items: center; gap: 6px; min-width: 0; }
.sysdash-list-copy small > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-list-copy em { display: block; margin-top: 3px; color: var(--sysdash-muted); font-size: 10px; font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sysdash-security-badge { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 22px; width: 22px; min-height: 19px; padding: 1px 0; border: 1px solid var(--sysdash-line); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.sysdash-security-badge.is-private,
.sysdash-security-pill.is-private { border-color: rgba(221,75,57,.42); background: rgba(221,75,57,.13); color: #ff806d; }
.sysdash-security-badge.is-public,
.sysdash-security-pill.is-public { border-color: rgba(0,166,90,.38); background: rgba(0,166,90,.12); color: var(--sysdash-accent-2); }
.sysdash-security-pill.is-manager { border-color: rgba(60,141,188,.42); background: var(--sysdash-accent-soft); color: var(--sysdash-accent); }
.sysdash-security-pill.is-readonly { border-color: rgba(245,166,35,.42); background: rgba(245,166,35,.12); color: #f5a623; }
#sysDashboardStudio .sysdash-security-summary { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 10px; margin-bottom: 12px; padding: 12px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); }
#sysDashboardStudio .sysdash-security-summary > i { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid currentColor; }
#sysDashboardStudio .sysdash-security-summary strong,
#sysDashboardStudio .sysdash-security-summary small { display: block; }
#sysDashboardStudio .sysdash-security-summary small { margin-top: 3px; color: var(--sysdash-muted); }
#sysDashboardStudio .sysdash-security-summary.is-private { border-color: rgba(221,75,57,.42); background: rgba(221,75,57,.1); color: #ff806d; }
#sysDashboardStudio .sysdash-security-summary.is-public { border-color: rgba(0,166,90,.38); background: rgba(0,166,90,.09); color: var(--sysdash-accent-2); }

#sysDashboardStudio.sys-dashboard-studio.is-import-open { height: var(--sysdash-mainview-height, calc(100vh - 76px)); overflow: hidden; }
#sysDashboardStudio .sysdash-import-workspace { position: absolute; inset: 0; z-index: 1600; display: flex; align-items: stretch; justify-content: stretch; padding: 8px; background: var(--sysdash-bg); }
#sysDashboardStudio .sysdash-import-dialog { display: flex; flex-direction: column; width: min(1180px, calc(100vw - 44px)); height: min(840px, calc(100vh - 70px)); max-height: calc(100vh - 44px); }
#sysDashboardStudio .sysdash-import-workspace .sysdash-import-dialog { width: 100%; height: 100%; max-height: none; box-shadow: none; }
#sysDashboardStudio .sysdash-import-workspace .sysdash-dialog-head { min-height: 48px; }
#sysDashboardStudio .sysdash-import-dialog .sysdash-dialog-head,
#sysDashboardStudio .sysdash-import-dialog .sysdash-dialog-actions { flex: 0 0 auto; }
#sysDashboardStudio .sysdash-import-dialog .sysdash-dialog-actions { border-top: 1px solid var(--sysdash-line); background: var(--sysdash-surface); }
#sysDashboardStudio .sysdash-import-dialog .sysdash-dialog-body { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 10px; flex: 1 1 auto; min-height: 0; max-height: none; overflow: hidden; padding-bottom: 10px; }
#sysDashboardStudio .sysdash-import-tabs { position: sticky; top: 0; z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); }
#sysDashboardStudio .sysdash-import-tabs button { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: 8px; min-height: 46px; border: 0; border-right: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-muted-strong); padding: 6px 10px; text-align: left; cursor: pointer; }
#sysDashboardStudio .sysdash-import-tabs button:last-child { border-right: 0; }
#sysDashboardStudio .sysdash-import-tabs button:after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 3px; background: transparent; }
#sysDashboardStudio .sysdash-import-tabs button:hover:not(:disabled),
#sysDashboardStudio .sysdash-import-tabs button:focus:not(:disabled) { color: var(--sysdash-text); outline: 0; }
#sysDashboardStudio .sysdash-import-tabs button.is-active { background: var(--sysdash-accent-soft); color: var(--sysdash-text); }
#sysDashboardStudio .sysdash-import-tabs button.is-active:after { background: var(--sysdash-accent); }
#sysDashboardStudio .sysdash-import-tabs button:disabled { opacity: .48; cursor: not-allowed; }
#sysDashboardStudio .sysdash-import-tabs b { display: inline-flex; grid-row: 1 / span 2; align-items: center; justify-content: center; width: 24px; height: 24px; border: 1px solid currentColor; background: var(--sysdash-surface-2); font-size: 11px; }
#sysDashboardStudio .sysdash-import-tabs span,
#sysDashboardStudio .sysdash-import-tabs small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sysDashboardStudio .sysdash-import-tabs span { font-size: 11px; font-weight: 800; text-transform: uppercase; }
#sysDashboardStudio .sysdash-import-tabs small { margin-top: 1px; color: var(--sysdash-muted); font-size: 9px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
#sysDashboardStudio .sysdash-import-panel { display: none; min-width: 0; min-height: 0; }
#sysDashboardStudio .sysdash-import-panel.is-active { display: grid; gap: 10px; align-content: start; min-height: 0; max-width: 100%; overflow-y: auto; overflow-x: auto; padding-right: 4px; }
#sysDashboardStudio .sysdash-import-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
#sysDashboardStudio .sysdash-import-steps span { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: 9px; min-height: 48px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-muted-strong); padding: 7px 10px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
#sysDashboardStudio .sysdash-import-steps span:after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
#sysDashboardStudio .sysdash-import-steps b { display: inline-flex; grid-row: 1 / span 2; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1px solid currentColor; background: var(--sysdash-surface-2); font-size: 11px; }
#sysDashboardStudio .sysdash-import-steps strong,
#sysDashboardStudio .sysdash-import-steps small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sysDashboardStudio .sysdash-import-steps small { margin-top: 1px; color: var(--sysdash-muted); font-size: 9px; font-weight: 700; letter-spacing: 0; }
#sysDashboardStudio .sysdash-import-steps .is-active { border-color: rgba(60,141,188,.54); background: var(--sysdash-accent-soft); color: var(--sysdash-text); }
#sysDashboardStudio .sysdash-import-steps .is-active:after { background: var(--sysdash-accent); }
#sysDashboardStudio .sysdash-import-hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr); align-items: stretch; gap: 14px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); padding: 14px; }
#sysDashboardStudio .sysdash-import-hero h3 { margin: 3px 0 0; color: var(--sysdash-text); font-size: 19px; line-height: 1.18; font-weight: 700; }
#sysDashboardStudio .sysdash-import-hero p { max-width: 760px; margin: 5px 0 0; color: var(--sysdash-muted); font-size: 12px; line-height: 1.4; }
#sysDashboardStudio .sysdash-import-dropzone { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 120px; border: 1px dashed rgba(60,141,188,.62); background: rgba(60,141,188,.07); padding: 16px; overflow: hidden; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease; }
#sysDashboardStudio .sysdash-import-dropzone:before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(255,255,255,.32); pointer-events: none; }
#sysDashboardStudio .sysdash-import-dropzone.is-dragging { border-color: var(--sysdash-accent); background: rgba(60,141,188,.16); box-shadow: inset 0 0 0 1px rgba(60,141,188,.38); }
#sysDashboardStudio .sysdash-import-dropzone.has-file { border-style: solid; border-color: rgba(0,166,90,.42); background: rgba(0,166,90,.08); }
#sysDashboardStudio .sysdash-import-file-input { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; border: 0 !important; opacity: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; pointer-events: none !important; }
#sysDashboardStudio .sysdash-import-drop-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid rgba(60,141,188,.42); background: var(--sysdash-surface-2); color: var(--sysdash-accent); font-size: 22px; z-index: 1; }
#sysDashboardStudio .sysdash-import-drop-copy { position: relative; display: grid; gap: 4px; min-width: 0; z-index: 1; }
#sysDashboardStudio .sysdash-import-drop-copy strong,
#sysDashboardStudio .sysdash-import-drop-copy small,
#sysDashboardStudio .sysdash-import-drop-copy em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sysDashboardStudio .sysdash-import-drop-copy strong { color: var(--sysdash-text); font-size: 15px; }
#sysDashboardStudio .sysdash-import-drop-copy small { color: var(--sysdash-muted); font-size: 11px; }
#sysDashboardStudio .sysdash-import-drop-copy em { color: var(--sysdash-muted-strong); font-size: 11px; font-style: normal; }
#sysDashboardStudio .sysdash-import-browse-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 116px; height: 36px; border: 1px solid rgba(60,141,188,.42); background: var(--sysdash-surface-2); color: var(--sysdash-text); padding: 0 13px; font-size: 12px; font-weight: 700; cursor: pointer; }
#sysDashboardStudio .sysdash-import-browse-btn:hover,
#sysDashboardStudio .sysdash-import-browse-btn:focus { border-color: var(--sysdash-accent); color: var(--sysdash-accent); outline: 0; }
#sysDashboardStudio .sysdash-import-related-source { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(360px, 1fr); gap: 12px; align-items: stretch; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); padding: 12px; opacity: .72; transition: opacity .16s ease, border-color .16s ease, background .16s ease; }
#sysDashboardStudio .sysdash-import-backdrop.is-related-import .sysdash-import-related-source { border-color: rgba(60,141,188,.55); background: rgba(60,141,188,.08); opacity: 1; }
#sysDashboardStudio .sysdash-import-related-source h4 { margin: 3px 0 0; color: var(--sysdash-text); font-size: 15px; line-height: 1.2; }
#sysDashboardStudio .sysdash-import-related-source p { margin: 4px 0 0; color: var(--sysdash-muted); font-size: 11px; line-height: 1.35; }
#sysDashboardStudio .sysdash-import-dropzone-compact { min-height: 82px; padding: 12px; }
#sysDashboardStudio .sysdash-import-dropzone-compact .sysdash-import-drop-icon { width: 42px; height: 42px; font-size: 18px; }
#sysDashboardStudio .sysdash-import-related-list { grid-column: 1 / -1; display: grid; gap: 6px; }
#sysDashboardStudio .sysdash-import-related-empty,
#sysDashboardStudio .sysdash-import-related-file { border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); padding: 8px 10px; color: var(--sysdash-muted); font-size: 12px; }
#sysDashboardStudio .sysdash-import-related-file { display: grid; grid-template-columns: minmax(0, 1fr) 28px; align-items: center; gap: 8px; }
#sysDashboardStudio .sysdash-import-related-file span,
#sysDashboardStudio .sysdash-import-related-file b,
#sysDashboardStudio .sysdash-import-related-file small { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sysDashboardStudio .sysdash-import-related-file b { color: var(--sysdash-text); font-size: 12px; }
#sysDashboardStudio .sysdash-import-related-file small { margin-top: 2px; color: var(--sysdash-muted); font-size: 10px; }
#sysDashboardStudio .sysdash-import-related-file.is-ok { border-color: rgba(0,166,90,.32); background: var(--sysdash-success-soft); }
#sysDashboardStudio .sysdash-import-related-file.is-warning { border-color: rgba(245,166,35,.36); background: rgba(245,166,35,.08); }
#sysDashboardStudio .sysdash-import-related-file.is-error { border-color: rgba(221,75,57,.34); background: var(--sysdash-danger-soft); }
#sysDashboardStudio .sysdash-import-related-file button { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); color: var(--sysdash-muted-strong); cursor: pointer; }
#sysDashboardStudio .sysdash-import-related-file button:hover { border-color: var(--sysdash-danger); color: var(--sysdash-danger); }
#sysDashboardStudio .sysdash-import-controls { display: grid; grid-template-columns: repeat(6, minmax(130px, 1fr)); gap: 10px; }
#sysDashboardStudio .sysdash-import-controls label { display: grid; gap: 5px; min-width: 0; color: var(--sysdash-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
#sysDashboardStudio .sysdash-import-controls select,
#sysDashboardStudio .sysdash-import-controls input[type="search"] { min-width: 0; width: 100%; height: 34px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-text); padding: 0 9px; outline: 0; text-transform: none; }
#sysDashboardStudio .sysdash-import-controls input[type="search"] { height: 30px; background: var(--sysdash-surface-2); font-size: 12px; }
#sysDashboardStudio .sysdash-import-controls input[type="search"]::placeholder { color: var(--sysdash-muted); }
#sysDashboardStudio .sysdash-import-controls select:focus,
#sysDashboardStudio .sysdash-import-controls input[type="search"]:focus { border-color: var(--sysdash-accent); }
#sysDashboardStudio .sysdash-import-controls select:disabled,
#sysDashboardStudio .sysdash-import-controls input[type="search"]:disabled { opacity: .62; cursor: not-allowed; }
#sysDashboardStudio .sysdash-import-controls label > small { min-height: 14px; color: var(--sysdash-muted); font-size: 10px; font-weight: 600; line-height: 1.35; text-transform: none; }
#sysDashboardStudio .sysdash-import-subdata { min-width: 0; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); }
#sysDashboardStudio .sysdash-import-subdata h4 { display: flex; align-items: center; gap: 7px; min-height: 32px; margin: 0; border-bottom: 1px solid var(--sysdash-line); padding: 0 10px; color: var(--sysdash-text); font-size: 12px; }
#sysDashboardStudio .sysdash-import-subdata-empty { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 8px; padding: 9px 10px; color: var(--sysdash-muted); font-size: 12px; }
#sysDashboardStudio .sysdash-import-subdata-empty i { grid-row: 1 / span 2; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); color: var(--sysdash-accent); }
#sysDashboardStudio .sysdash-import-subdata-empty span,
#sysDashboardStudio .sysdash-import-subdata-empty small { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sysDashboardStudio .sysdash-import-subdata-empty span { color: var(--sysdash-text); font-weight: 700; }
#sysDashboardStudio .sysdash-import-subdata-empty small { color: var(--sysdash-muted); font-size: 11px; }
#sysDashboardStudio .sysdash-import-subdata-card { display: grid; grid-template-columns: minmax(180px, .8fr) 58px minmax(0, 1.2fr) auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--sysdash-line); padding: 10px 12px; }
#sysDashboardStudio .sysdash-import-subdata-card:last-child { border-bottom: 0; }
#sysDashboardStudio .sysdash-import-subdata-card strong,
#sysDashboardStudio .sysdash-import-subdata-card small { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sysDashboardStudio .sysdash-import-subdata-card strong { color: var(--sysdash-text); font-size: 13px; }
#sysDashboardStudio .sysdash-import-subdata-card small { margin-top: 3px; color: var(--sysdash-muted); font-size: 10px; }
#sysDashboardStudio .sysdash-import-subdata-card > b { justify-self: start; min-width: 44px; border: 1px solid rgba(0,166,90,.32); background: var(--sysdash-success-soft); color: var(--sysdash-accent-2); padding: 5px 7px; text-align: center; font-size: 12px; }
#sysDashboardStudio .sysdash-import-subdata-fields { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
#sysDashboardStudio .sysdash-import-subdata-fields span,
#sysDashboardStudio .sysdash-import-subdata-fields em { display: inline-flex; align-items: center; gap: 5px; max-width: 170px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); color: var(--sysdash-text); padding: 4px 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-style: normal; }
#sysDashboardStudio .sysdash-import-subdata-fields small { color: var(--sysdash-muted); font-size: 9px; }
#sysDashboardStudio .sysdash-import-subdata-ignore { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 30px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); color: var(--sysdash-text); padding: 0 9px; font-size: 11px; font-weight: 700; white-space: nowrap; }
#sysDashboardStudio .sysdash-import-subdata-ignore:hover { border-color: var(--sysdash-accent); color: var(--sysdash-accent); }
#sysDashboardStudio .sysdash-import-relation-editor { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(180px, 1fr) 28px minmax(180px, 1fr) minmax(160px, .8fr); align-items: end; gap: 8px; border: 1px solid rgba(60,141,188,.28); background: rgba(60,141,188,.07); padding: 8px; }
#sysDashboardStudio .sysdash-import-relation-editor label { display: grid; gap: 4px; min-width: 0; }
#sysDashboardStudio .sysdash-import-relation-editor label span { color: var(--sysdash-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
#sysDashboardStudio .sysdash-import-relation-editor select { width: 100%; min-width: 0; height: 30px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); color: var(--sysdash-text); padding: 0 8px; font-size: 12px; font-weight: 700; }
#sysDashboardStudio .sysdash-import-relation-editor > i { align-self: center; justify-self: center; color: var(--sysdash-accent); }
#sysDashboardStudio .sysdash-import-relation-editor > small { align-self: center; min-width: 0; color: var(--sysdash-muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sysDashboardStudio .sysdash-import-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
#sysDashboardStudio .sysdash-import-summary span { display: grid; gap: 1px; min-height: 44px; border: 1px solid var(--sysdash-line); border-left: 3px solid rgba(60,141,188,.58); background: var(--sysdash-surface-3); padding: 6px 10px; }
#sysDashboardStudio .sysdash-import-summary b { color: var(--sysdash-text); font-size: 18px; line-height: 1; }
#sysDashboardStudio .sysdash-import-summary small { color: var(--sysdash-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
#sysDashboardStudio .sysdash-import-summary .is-error { border-left-color: var(--sysdash-danger); background: var(--sysdash-danger-soft); }
#sysDashboardStudio .sysdash-import-summary .is-error b,
#sysDashboardStudio .sysdash-import-summary .is-error small { color: var(--sysdash-danger); }
#sysDashboardStudio .sysdash-import-grid { display: grid; grid-template-columns: 1fr; gap: 10px; min-height: 0; }
#sysDashboardStudio .sysdash-import-grid section { min-width: 0; overflow: hidden; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); }
#sysDashboardStudio .sysdash-import-grid h4 { display: flex; align-items: center; gap: 7px; min-height: 34px; margin: 0; border-bottom: 1px solid var(--sysdash-line); padding: 0 10px; color: var(--sysdash-text); font-size: 12px; }
#sysDashboardStudio [data-import-mapping] { max-width: 100%; max-height: min(315px, calc(100vh - 510px)); min-height: 154px; overflow: auto; }
#sysDashboardStudio .sysdash-import-map-row { display: grid; grid-template-columns: 66px minmax(150px, .9fr) minmax(150px, 1fr) minmax(154px, .95fr) minmax(128px, .72fr) minmax(150px, .9fr); gap: 8px; align-items: center; min-width: 900px; min-height: 52px; border-bottom: 1px solid var(--sysdash-line); padding: 6px 9px; }
#sysDashboardStudio .sysdash-import-map-row.is-disabled { opacity: .55; background: rgba(0,0,0,.025); }
#sysDashboardStudio .sysdash-import-map-row.is-error { box-shadow: inset 3px 0 0 var(--sysdash-danger); background: var(--sysdash-danger-soft); }
#sysDashboardStudio .sysdash-import-map-row:last-child { border-bottom: 0; }
#sysDashboardStudio .sysdash-import-map-row span,
#sysDashboardStudio .sysdash-import-map-row label { min-width: 0; }
#sysDashboardStudio .sysdash-import-map-toggle { display: inline-flex; align-items: center; gap: 5px; color: var(--sysdash-muted-strong); font-size: 10px; font-weight: 700; }
#sysDashboardStudio .sysdash-import-map-toggle input { width: 14px; height: 14px; margin: 0; }
#sysDashboardStudio .sysdash-import-map-source,
#sysDashboardStudio .sysdash-import-map-detect { display: block; min-width: 0; }
#sysDashboardStudio .sysdash-import-map-control { display: grid; gap: 3px; }
#sysDashboardStudio .sysdash-import-map-control > span { color: var(--sysdash-muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
#sysDashboardStudio .sysdash-import-map-control input,
#sysDashboardStudio .sysdash-import-map-control select { width: 100%; min-width: 0; height: 26px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); color: var(--sysdash-text); padding: 0 7px; font-size: 11px; outline: 0; }
#sysDashboardStudio .sysdash-import-map-control input:focus,
#sysDashboardStudio .sysdash-import-map-control select:focus { border-color: var(--sysdash-accent); }
#sysDashboardStudio .sysdash-import-map-row b,
#sysDashboardStudio .sysdash-import-map-row strong,
#sysDashboardStudio .sysdash-import-map-row small,
#sysDashboardStudio .sysdash-import-map-row em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sysDashboardStudio .sysdash-import-map-row b,
#sysDashboardStudio .sysdash-import-map-row strong { color: var(--sysdash-text); font-size: 11px; }
#sysDashboardStudio .sysdash-import-map-row small { margin-top: 2px; color: var(--sysdash-muted); font-size: 9px; }
#sysDashboardStudio .sysdash-import-map-row em { margin-top: 2px; border: 1px solid rgba(0,166,90,.32); background: var(--sysdash-success-soft); color: var(--sysdash-accent-2); padding: 1px 4px; font-size: 9px; font-style: normal; }
#sysDashboardStudio .sysdash-import-map-row em.sysdash-import-map-error { border-color: rgba(220,53,69,.48); background: var(--sysdash-danger-soft); color: var(--sysdash-danger); }
#sysDashboardStudio .sysdash-import-empty,
#sysDashboardStudio .sysdash-import-preview-empty { padding: 14px; color: var(--sysdash-muted); font-size: 12px; }
#sysDashboardStudio .sysdash-import-preview { max-width: 100%; max-height: 190px; overflow: auto; }
#sysDashboardStudio .sysdash-import-preview table { width: max-content; min-width: 100%; border-collapse: collapse; font-size: 11px; table-layout: auto; }
#sysDashboardStudio .sysdash-import-preview th,
#sysDashboardStudio .sysdash-import-preview td { min-width: 132px; max-width: 260px; border-bottom: 1px solid var(--sysdash-line); padding: 6px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
#sysDashboardStudio .sysdash-import-preview th { position: sticky; top: 0; background: var(--sysdash-surface-2); color: var(--sysdash-muted-strong); z-index: 1; }
#sysDashboardStudio .sysdash-import-preview th:first-child,
#sysDashboardStudio .sysdash-import-preview td:first-child { position: sticky; left: 0; z-index: 2; background: var(--sysdash-surface-3); }
#sysDashboardStudio .sysdash-import-preview th:first-child { z-index: 3; background: var(--sysdash-surface-2); }
#sysDashboardStudio .sysdash-import-validation-head { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
#sysDashboardStudio .sysdash-import-validation-head span { display: grid; gap: 3px; min-height: 54px; border: 1px solid var(--sysdash-line); border-left: 3px solid rgba(60,141,188,.58); background: var(--sysdash-surface-3); padding: 8px 10px; }
#sysDashboardStudio .sysdash-import-validation-head b,
#sysDashboardStudio .sysdash-import-validation-head small { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sysDashboardStudio .sysdash-import-validation-head b { color: var(--sysdash-text); font-size: 13px; }
#sysDashboardStudio .sysdash-import-validation-head small { color: var(--sysdash-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
#sysDashboardStudio .sysdash-import-validation-list { display: grid; gap: 8px; }
#sysDashboardStudio .sysdash-import-validation-list > div { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 9px; min-height: 48px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); padding: 8px 11px; color: var(--sysdash-text); }
#sysDashboardStudio .sysdash-import-validation-list i { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid currentColor; }
#sysDashboardStudio .sysdash-import-validation-list .is-ok i { color: var(--sysdash-accent-2); }
#sysDashboardStudio .sysdash-import-validation-list .is-warning i { color: #f5a623; }
#sysDashboardStudio .sysdash-import-validation-list .is-error i { color: #dd4b39; }
#sysDashboardStudio .sysdash-import-validation-list .is-error { border-color: rgba(221,75,57,.34); background: rgba(221,75,57,.07); }
#sysDashboardStudio .sysdash-import-validation-list .is-warning { border-color: rgba(245,166,35,.36); background: rgba(245,166,35,.08); }
#sysDashboardStudio .sysdash-import-validation-list .is-ok { border-color: rgba(0,166,90,.3); background: rgba(0,166,90,.06); }
#sysDashboardStudio .sysdash-import-validation-list span { min-width: 0; overflow-wrap: anywhere; white-space: normal; font-size: 12px; font-weight: 700; line-height: 1.35; }
#sysDashboardStudio .sysdash-import-correspondence { display: grid; gap: 0; margin-top: 8px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); }
#sysDashboardStudio .sysdash-import-correspondence h4 { display: flex; align-items: center; gap: 7px; min-height: 34px; margin: 0; border-bottom: 1px solid var(--sysdash-line); padding: 0 10px; color: var(--sysdash-text); font-size: 12px; }
#sysDashboardStudio .sysdash-import-correspondence > div { overflow: auto; max-height: 260px; }
#sysDashboardStudio .sysdash-import-correspondence table { width: 100%; min-width: 820px; border-collapse: collapse; }
#sysDashboardStudio .sysdash-import-correspondence th,
#sysDashboardStudio .sysdash-import-correspondence td { border-bottom: 1px solid var(--sysdash-line); padding: 7px 9px; color: var(--sysdash-text); font-size: 11px; text-align: left; vertical-align: top; }
#sysDashboardStudio .sysdash-import-correspondence th { color: var(--sysdash-muted-strong); font-size: 10px; font-weight: 800; text-transform: uppercase; background: var(--sysdash-surface-2); }
#sysDashboardStudio .sysdash-import-correspondence td { overflow-wrap: anywhere; }
#sysDashboardStudio .sysdash-import-correspondence td span { display: inline-flex; align-items: center; min-height: 22px; border: 1px solid var(--sysdash-line); padding: 2px 7px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
#sysDashboardStudio .sysdash-import-correspondence .is-ok td span { border-color: rgba(0,166,90,.32); background: var(--sysdash-success-soft); color: var(--sysdash-accent-2); }
#sysDashboardStudio .sysdash-import-correspondence .is-warning td span { border-color: rgba(245,166,35,.42); background: rgba(245,166,35,.08); color: #f5a623; }
#sysDashboardStudio .sysdash-import-correspondence .is-error td span { border-color: rgba(221,75,57,.42); background: rgba(221,75,57,.08); color: #dd4b39; }
#sysDashboardStudio .sysdash-import-correspondence-more { border-top: 1px solid var(--sysdash-line); padding: 8px 10px; color: var(--sysdash-muted); font-size: 11px; font-weight: 700; }
#sysDashboardStudio .sysdash-import-review { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
#sysDashboardStudio .sysdash-import-review span { display: grid; gap: 4px; min-height: 64px; border: 1px solid var(--sysdash-line); border-left: 3px solid rgba(0,166,90,.46); background: var(--sysdash-surface-3); padding: 10px 11px; }
#sysDashboardStudio .sysdash-import-review b,
#sysDashboardStudio .sysdash-import-review small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sysDashboardStudio .sysdash-import-review b { color: var(--sysdash-text); font-size: 15px; }
#sysDashboardStudio .sysdash-import-review small { color: var(--sysdash-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
#sysDashboardStudio .sysdash-import-progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); padding: 9px; }
#sysDashboardStudio .sysdash-import-progress h4 { grid-column: 1 / -1; display: flex; align-items: center; gap: 7px; min-height: 28px; margin: 0; color: var(--sysdash-text); font-size: 12px; }
#sysDashboardStudio .sysdash-import-progress > div { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 7px; min-height: 46px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); padding: 7px 8px; }
#sysDashboardStudio .sysdash-import-progress i { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 1px solid var(--sysdash-line); color: var(--sysdash-muted); }
#sysDashboardStudio .sysdash-import-progress b,
#sysDashboardStudio .sysdash-import-progress small { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sysDashboardStudio .sysdash-import-progress b { color: var(--sysdash-text); font-size: 12px; }
#sysDashboardStudio .sysdash-import-progress small { color: var(--sysdash-muted); font-size: 10px; }
#sysDashboardStudio .sysdash-import-progress .is-ok { border-color: rgba(0,166,90,.3); background: var(--sysdash-success-soft); }
#sysDashboardStudio .sysdash-import-progress .is-ok i { border-color: rgba(0,166,90,.34); color: var(--sysdash-accent-2); }
#sysDashboardStudio .sysdash-import-progress .is-running { border-color: rgba(60,141,188,.46); background: var(--sysdash-accent-soft); }
#sysDashboardStudio .sysdash-import-progress .is-running i { border-color: transparent; background: transparent; color: var(--sysdash-accent); }
#sysDashboardStudio .sysdash-import-progress .is-warning { border-color: rgba(245,166,35,.42); background: rgba(245,166,35,.10); }
#sysDashboardStudio .sysdash-import-progress .is-warning i { border-color: rgba(245,166,35,.42); color: #f5a623; }
#sysDashboardStudio .sysdash-import-progress label { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 0; color: var(--sysdash-muted-strong); font-size: 11px; font-weight: 800; text-transform: uppercase; }
#sysDashboardStudio .sysdash-import-progress select { min-width: 120px; height: 32px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); color: var(--sysdash-text); padding: 0 8px; font-size: 12px; }
#sysDashboardStudio .sysdash-import-gauge { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); padding: 9px 10px; }
#sysDashboardStudio .sysdash-import-gauge span { display: grid; gap: 2px; min-width: 0; }
#sysDashboardStudio .sysdash-import-gauge b,
#sysDashboardStudio .sysdash-import-gauge small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sysDashboardStudio .sysdash-import-gauge b { color: var(--sysdash-text); font-size: 12px; }
#sysDashboardStudio .sysdash-import-gauge small { color: var(--sysdash-muted); font-size: 10px; }
#sysDashboardStudio .sysdash-import-gauge strong { color: var(--sysdash-text); font-size: 16px; align-self: center; }
#sysDashboardStudio .sysdash-import-gauge > div { grid-column: 1 / -1; height: 8px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); overflow: hidden; }
#sysDashboardStudio .sysdash-import-gauge > div i { display: block; height: 100%; background: var(--sysdash-accent); transition: width .18s ease; }
#sysDashboardStudio .sysdash-import-gauge.is-ok { border-color: rgba(0,166,90,.32); background: var(--sysdash-success-soft); }
#sysDashboardStudio .sysdash-import-gauge.is-ok > div i { background: var(--sysdash-accent-2); }
#sysDashboardStudio .sysdash-import-gauge.is-error { border-color: rgba(221,75,57,.32); background: rgba(221,75,57,.1); }
#sysDashboardStudio .sysdash-import-gauge.is-error > div i { background: #dd4b39; }
#sysDashboardStudio .sysdash-import-datalist-review { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); padding: 9px; }
#sysDashboardStudio .sysdash-import-datalist-review h4 { grid-column: 1 / -1; display: flex; align-items: center; gap: 7px; min-height: 28px; margin: 0; color: var(--sysdash-text); font-size: 12px; }
#sysDashboardStudio .sysdash-import-datalist-review > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 9px; align-items: center; min-height: 42px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); padding: 7px 9px; }
#sysDashboardStudio .sysdash-import-datalist-review > div.is-reused { border-color: rgba(0,166,90,.34); background: var(--sysdash-success-soft); }
#sysDashboardStudio .sysdash-import-datalist-review > div.is-created { border-color: rgba(60,141,188,.36); background: var(--sysdash-accent-soft); }
#sysDashboardStudio .sysdash-import-datalist-review span { display: grid; gap: 1px; min-width: 0; }
#sysDashboardStudio .sysdash-import-datalist-review b,
#sysDashboardStudio .sysdash-import-datalist-review small,
#sysDashboardStudio .sysdash-import-datalist-review strong { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sysDashboardStudio .sysdash-import-datalist-review b { color: var(--sysdash-text); font-size: 12px; }
#sysDashboardStudio .sysdash-import-datalist-review small { color: var(--sysdash-muted); font-size: 10px; }
#sysDashboardStudio .sysdash-import-datalist-review em { justify-self: end; border: 1px solid rgba(0,166,90,.32); background: var(--sysdash-surface-3); color: var(--sysdash-accent-2); padding: 2px 6px; font-size: 10px; font-style: normal; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
#sysDashboardStudio .sysdash-import-datalist-review .is-created em { border-color: rgba(60,141,188,.35); color: var(--sysdash-accent); }
#sysDashboardStudio .sysdash-import-datalist-review strong { grid-column: 1 / -1; color: var(--sysdash-muted-strong); font-size: 10px; font-weight: 700; }
#sysDashboardStudio .sysdash-import-status { display: grid; gap: 7px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); padding: 9px; }
#sysDashboardStudio .sysdash-import-status > div { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 8px; min-height: 34px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); color: var(--sysdash-text); padding: 7px 9px; font-size: 12px; line-height: 1.35; }
#sysDashboardStudio .sysdash-import-status i { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); color: var(--sysdash-accent); }
#sysDashboardStudio .sysdash-import-status span { min-width: 0; overflow-wrap: anywhere; }
#sysDashboardStudio .sysdash-import-status .is-ok i { border-color: rgba(0,166,90,.32); background: var(--sysdash-success-soft); color: var(--sysdash-accent-2); }
#sysDashboardStudio .sysdash-import-status .is-error i { border-color: rgba(221,75,57,.32); background: rgba(221,75,57,.1); color: #dd4b39; }
#sysDashboardStudio .sysdash-import-status .is-warning i { border-color: rgba(245,166,35,.42); background: rgba(245,166,35,.10); color: #f5a623; }
#sysDashboardStudio .sysdash-import-status .is-info i { border-color: rgba(60,141,188,.35); background: var(--sysdash-accent-soft); color: var(--sysdash-accent); }
#sysDashboardStudio .sysdash-import-status .is-running i { border-color: transparent; background: transparent; color: var(--sysdash-accent); }
#sysDashboardStudio .sysdash-import-plan { min-width: 0; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-3); overflow: auto; }
#sysDashboardStudio .sysdash-import-plan h4 { display: flex; align-items: center; gap: 7px; min-height: 36px; margin: 0; border-bottom: 1px solid var(--sysdash-line); padding: 0 10px; color: var(--sysdash-text); font-size: 12px; }
#sysDashboardStudio .sysdash-import-plan table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 12px; }
#sysDashboardStudio .sysdash-import-plan th,
#sysDashboardStudio .sysdash-import-plan td { border-bottom: 1px solid var(--sysdash-line); padding: 8px 10px; text-align: left; white-space: nowrap; }
#sysDashboardStudio .sysdash-import-plan th { color: var(--sysdash-muted-strong); font-size: 11px; text-transform: uppercase; }
#sysDashboardStudio .sysdash-import-plan td:first-child { color: var(--sysdash-text); font-weight: 700; }
@media (max-width: 920px) {
    #sysDashboardStudio .sysdash-import-dialog { height: calc(100vh - 44px); }
    #sysDashboardStudio .sysdash-import-tabs,
    #sysDashboardStudio .sysdash-import-steps,
    #sysDashboardStudio .sysdash-import-summary,
    #sysDashboardStudio .sysdash-import-validation-head,
    #sysDashboardStudio .sysdash-import-review,
    #sysDashboardStudio .sysdash-import-datalist-review,
    #sysDashboardStudio .sysdash-import-progress { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #sysDashboardStudio .sysdash-import-hero,
    #sysDashboardStudio .sysdash-import-related-source,
    #sysDashboardStudio .sysdash-import-controls,
    #sysDashboardStudio .sysdash-import-grid,
    #sysDashboardStudio .sysdash-import-subdata-card,
    #sysDashboardStudio .sysdash-import-relation-editor { grid-template-columns: 1fr; }
    #sysDashboardStudio .sysdash-import-dropzone { grid-template-columns: 40px minmax(0, 1fr); }
    #sysDashboardStudio .sysdash-import-browse-btn { grid-column: 1 / -1; width: 100%; }
    #sysDashboardStudio .sysdash-import-map-row { min-width: 900px; }
}

.sysdash-type-grid .sysdash-widget-body,
.sysdash-type-list .sysdash-widget-body,
.sysdash-type-documents .sysdash-widget-body,
.sysdash-type-mailbroadcast .sysdash-widget-body {
    display: flex;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
}
.sysdash-grid-search,
.sysdash-bulk-panel,
.sysdash-grid-pager {
    flex: 0 0 auto;
}
/* Campaign counters do not need the generic data-grid column minimum. */
.sysdash-mail-campaign-scroll .sysdash-mail-campaign-table {
    width: 100%;
}
.sysdash-mail-campaign-scroll .sysdash-mail-campaign-table th,
.sysdash-mail-campaign-scroll .sysdash-mail-campaign-table td {
    min-width: 0;
    max-width: none;
}
.sysdash-mail-campaign-scroll .sysdash-mail-campaign-table th:not(:first-child),
.sysdash-mail-campaign-scroll .sysdash-mail-campaign-table td:not(:first-child) {
    width: 1%;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
}
.sysdash-mail-campaign-scroll .sysdash-mail-campaign-table th:nth-child(n+3):nth-child(-n+9),
.sysdash-mail-campaign-scroll .sysdash-mail-campaign-table td:nth-child(n+3):nth-child(-n+9) {
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.sysdash-mail-campaign-scroll .sysdash-mail-campaign-model {
    min-width: 160px;
    overflow-wrap: anywhere;
}
.sysdash-mail-campaign-scroll .sysdash-mail-campaign-table td.sysdash-mail-campaign-actions {
    display: table-cell;
    text-align: right;
}
.sysdash-mail-campaign-scroll .sysdash-mail-campaign-actions > button + button {
    margin-left: 6px;
}

@media print {
    @page {
        size: landscape;
        margin: 10mm;
    }

    body.sysdash-dashboard-printing {
        zoom: 100% !important;
        background: #fff !important;
    }

    body.sysdash-dashboard-printing *,
    body.sysdash-dashboard-printing *::before,
    body.sysdash-dashboard-printing *::after {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    body.sysdash-dashboard-printing .main-header,
    body.sysdash-dashboard-printing .main-sidebar,
    body.sysdash-dashboard-printing .control-sidebar,
    body.sysdash-dashboard-printing .content-header,
    body.sysdash-dashboard-printing .sysdash-commandbar,
    body.sysdash-dashboard-printing .sysdash-actions,
    body.sysdash-dashboard-printing .sysdash-nav,
    body.sysdash-dashboard-printing .sysdash-inspector,
    body.sysdash-dashboard-printing .sysdash-admin-tools,
    body.sysdash-dashboard-printing .sysdash-widget-actions,
    body.sysdash-dashboard-printing .sysdash-resize-strip,
    body.sysdash-dashboard-printing .sysdash-toast,
    body.sysdash-dashboard-printing .sysdash-grid-search,
    body.sysdash-dashboard-printing .sysdash-grid-pager {
        display: none !important;
    }

    body.sysdash-dashboard-printing .content-wrapper,
    body.sysdash-dashboard-printing .content,
    body.sysdash-dashboard-printing #MainView,
    body.sysdash-dashboard-printing #div-main-form,
    body.sysdash-dashboard-printing [id="ViewContainer.Dynamic"],
    body.sysdash-dashboard-printing .dynamicform,
    body.sysdash-dashboard-printing #sysDashboardStudio,
    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-shell,
    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-main,
    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-stage,
    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-canvas,
    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-grid {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-shell,
    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-main,
    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-stage {
        display: block !important;
    }

    body.sysdash-dashboard-printing #sysDashboardStudio.sys-dashboard-studio {
        --sysdash-bg: #fff;
        --sysdash-surface: #fff;
        --sysdash-surface-2: #f7f9fb;
        --sysdash-surface-3: #eef2f5;
        --sysdash-line: rgba(38,50,56,.16);
        --sysdash-line-strong: rgba(38,50,56,.26);
        --sysdash-text: #263238;
        --sysdash-muted: rgba(38,50,56,.62);
        --sysdash-muted-strong: rgba(38,50,56,.76);
        --sysdash-chart-text: rgba(38,50,56,.70);
        --sysdash-chart-grid: rgba(38,50,56,.14);
    }

    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-canvas {
        border: 0 !important;
    }

    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-canvas-head {
        min-height: 0 !important;
        padding: 0 0 10px !important;
        border: 0 !important;
        background: #fff !important;
    }

    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-canvas-head {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 12px !important;
        margin: 0 0 8px !important;
    }

    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-status {
        justify-content: flex-end !important;
    }

    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-grid-inner {
        display: grid !important;
        grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
        grid-auto-rows: 50px !important;
        grid-auto-flow: row !important;
        gap: 8px !important;
        align-items: stretch !important;
        align-content: start !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    body.sysdash-dashboard-printing #sysDashboardStudio [data-widget-row] {
        zoom: 1 !important;
        transform: none !important;
    }

    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-cell,
    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-widget {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-widget {
        box-shadow: none !important;
        height: 100% !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-widget-head {
        min-height: 36px !important;
        padding: 7px 9px !important;
    }

    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-widget-body {
        padding: 9px !important;
    }

    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-kpi-value {
        font-size: 31px !important;
        line-height: 1.05 !important;
        white-space: nowrap !important;
    }

    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-kpi-label,
    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-kpi-trend,
    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-data-summary {
        font-size: 10.5px !important;
    }

    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-chart-wrap {
        min-height: 120px !important;
    }

    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-table-scroll {
        max-height: none !important;
        overflow: visible !important;
    }

    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-table-scroll .sysdash-table {
        width: 100% !important;
        min-width: 0 !important;
    }

    body.sysdash-dashboard-printing #sysDashboardStudio .sysdash-table-scroll .sysdash-table thead th {
        position: static !important;
    }
}
/* Published reports share the dashboard theme and remain read-only. */
.sys-dashboard-studio .report-output { overflow:auto; max-height:100%; }
.sys-dashboard-studio .report-output table { width:100%; border-collapse:collapse; font-size:12px; }
.sys-dashboard-studio .report-output th,.sys-dashboard-studio .report-output td { padding:7px 10px; border:1px solid var(--sysdash-line); text-align:left; white-space:nowrap; color:var(--sysdash-text); }
.sys-dashboard-studio .report-output th,.sys-dashboard-studio .report-output tfoot { background:var(--sysdash-surface-2); font-weight:600; }

/* Configuration des widgets : étapes lisibles et chargement non bloquant. */
#sysDashboardStudio .sysdash-inspector-caption { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#sysDashboardStudio .sysdash-inspector-caption small { font-size: 10px; padding: 3px 6px; border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); }
#sysDashboardStudio .sysdash-inspector label { font-size: 12px; font-weight: 600; line-height: 1.4; text-transform: none; gap: 6px; }
#sysDashboardStudio .sysdash-inspector .sysdash-widget-name { margin: 6px 0 0; color: var(--sysdash-muted-strong); font-size: 11px; }
#sysDashboardStudio .sysdash-widget-name input { font-size: 14px; font-weight: 600; color: var(--sysdash-text); }
#sysDashboardStudio .sysdash-inspector input:not([type=checkbox]),
#sysDashboardStudio .sysdash-inspector select { min-height: 34px; }
#sysDashboardStudio .sysdash-inspector input:disabled,
#sysDashboardStudio .sysdash-inspector select:disabled { opacity: .65; cursor: progress; }
#sysDashboardStudio .sysdash-inspector button:focus-visible,
#sysDashboardStudio .sysdash-inspector summary:focus-visible { outline: 2px solid var(--sysdash-accent); outline-offset: 2px; }
#sysDashboardStudio .sysdash-config-navigation { flex: 0 0 auto; border-bottom: 1px solid var(--sysdash-line); background: var(--sysdash-surface); }
#sysDashboardStudio .sysdash-config-navigation .sysdash-tabs { position: static; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 0; padding: 10px 10px 6px; gap: 5px; }
#sysDashboardStudio .sysdash-config-navigation .sysdash-tab { justify-content: center; padding: 6px 4px; gap: 5px; font-size: 11px; font-weight: 600; }
#sysDashboardStudio .sysdash-step-number { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; flex: 0 0 auto; border: 1px solid var(--sysdash-line-strong); font-size: 10px; }
#sysDashboardStudio .is-active .sysdash-step-number { background: var(--sysdash-accent); border-color: var(--sysdash-accent); color: #fff; }
#sysDashboardStudio .sysdash-advanced-toggle { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 34px; border: 0; background: transparent; color: var(--sysdash-muted-strong); padding: 4px 12px 8px; font-size: 11px; text-align: left; }
#sysDashboardStudio .sysdash-advanced-toggle small { flex: 1; color: var(--sysdash-muted); font-size: 10px; text-align: right; }
#sysDashboardStudio .sysdash-advanced-tabs[hidden] { display: none !important; }
#sysDashboardStudio .sysdash-config-guide { margin: 0 0 5px; padding: 0 0 10px; border-bottom: 1px solid var(--sysdash-line); font-size: 12px; line-height: 1.5; color: var(--sysdash-muted-strong); }
#sysDashboardStudio .sysdash-field-help,
#sysDashboardStudio .sysdash-save-help { font-size: 11px; font-weight: 400; line-height: 1.4; color: var(--sysdash-muted); }
#sysDashboardStudio .sysdash-source-description { margin: 2px 0 0; padding: 10px; border-left: 2px solid var(--sysdash-accent); background: var(--sysdash-accent-soft); color: var(--sysdash-muted-strong); font-size: 12px; line-height: 1.5; }
#sysDashboardStudio .sysdash-catalog-status { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; margin: 0; padding: 8px 12px; border-bottom: 1px solid var(--sysdash-line); background: var(--sysdash-accent-soft); font-size: 11px; line-height: 1.45; }
#sysDashboardStudio .sysdash-catalog-status.is-error { color: var(--sysdash-text); background: var(--sysdash-danger-soft); }
#sysDashboardStudio .sysdash-catalog-status span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
#sysDashboardStudio .sysdash-catalog-status button,
#sysDashboardStudio .sysdash-catalog-tools button { flex: 0 0 auto; border: 1px solid var(--sysdash-line-strong); background: var(--sysdash-surface-2); color: var(--sysdash-text); min-height: 30px; padding: 4px 7px; }
#sysDashboardStudio .sysdash-catalog-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: var(--sysdash-muted); font-size: 10px; }
#sysDashboardStudio .sysdash-catalog-tools span { flex: 1; }
#sysDashboardStudio .sysdash-inspector-primary-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 8px; }
#sysDashboardStudio .sysdash-inspector-primary-actions button { min-height: 36px; font-size: 12px; }
#sysDashboardStudio .sysdash-inspector-footer details summary { cursor: pointer; color: var(--sysdash-muted-strong); font-size: 11px; padding: 4px 0; }
#sysDashboardStudio .sysdash-inspector-footer details[open] summary { padding-bottom: 8px; }
@media (max-width: 600px) {
    #sysDashboardStudio .sysdash-advanced-toggle small { display: none; }
    #sysDashboardStudio .sysdash-advanced-toggle .fa:last-child { margin-left: auto; }
}

/* Activity templates use readable labels and inherit the dashboard theme. */
.sysdash-dialog.sysdash-activities-dialog { width: min(760px, 100%); max-height: calc(100dvh - 44px); display: flex; flex-direction: column; }
.sysdash-activities-dialog .sysdash-dialog-body { padding: 14px; overflow: auto; min-height: 0; }
.sysdash-activities-palette { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sysdash-activities-palette .sysdash-dashboard-icon-choice { min-height: 48px; padding: 10px 12px; }
.sysdash-activities-palette .sysdash-dashboard-icon-choice span { white-space: normal; overflow-wrap: anywhere; font-size: 13px; line-height: 1.4; }
@media (max-width: 560px) { .sysdash-activities-palette { grid-template-columns: 1fr; } }

/* A pending preview must not interrupt column selection. */
#sysDashboardStudio .sysdash-inspector-footer button.sysdash-preview-pending{background:var(--sysdash-warning,#f39c12)!important;border-color:var(--sysdash-warning,#f39c12)!important;color:#17191d!important}

/* Workspace articles: same compact surfaces and active theme as operational widgets. */
.sysdash-articles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 14px; padding: 12px; overflow: auto; max-height: 100%; }
.sysdash-article-card { display: flex; flex-direction: column; min-width: 0; color: var(--sysdash-text); background: var(--sysdash-surface); border: 1px solid var(--sysdash-line); text-decoration: none; transition: border-color .15s, background .15s; }
.sysdash-article-card:hover { color: var(--sysdash-text); border-color: var(--sysdash-accent); background: var(--sysdash-surface-2); text-decoration: none; }
.sysdash-article-card:focus-visible { outline: 2px solid var(--sysdash-accent); outline-offset: 3px; }
.sysdash-article-cover { display: block; width: 100%; height: 128px; object-fit: cover; flex-shrink: 0; background: var(--sysdash-accent-soft); }
.sysdash-article-cover.is-placeholder { display: grid; place-items: center; color: var(--sysdash-accent); font-size: 28px; }
.sysdash-article-content { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 12px; min-width: 0; overflow-wrap: anywhere; }
.sysdash-article-content > strong { font-size: 15px; line-height: 1.4; color: var(--sysdash-text); }
.sysdash-article-meta { font-size: 11px; color: var(--sysdash-accent); font-weight: 600; }
.sysdash-article-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--sysdash-muted-strong); font-size: 12px; line-height: 1.5; }
.sysdash-article-content time { color: var(--sysdash-muted); font-size: 11px; }
.sysdash-article-read { display: flex; align-items: center; justify-content: space-between; margin-top: auto; color: var(--sysdash-accent); font-size: 12px; font-weight: 600; }
.sysdash-articles.is-list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.sysdash-articles.is-list .sysdash-article-card { flex-direction: row; }
.sysdash-articles.is-list .sysdash-article-cover { width: clamp(64px, 24%, 132px); height: auto; min-height: 96px; }
.sysdash-articles.is-list .sysdash-article-excerpt { -webkit-line-clamp: 2; }
@media (prefers-reduced-motion: reduce) { .sysdash-article-card { transition: none; } }

/* Embedded calendar record actions must not inherit full-size portal buttons.
   The glyph does not depend on the host page loading Font Awesome. */
@layer sysimple-actions {
    .sys-dashboard-studio .sysdash-calendar-open {
        display:inline-flex !important; align-items:center !important; justify-content:center !important;
        width:24px !important; min-width:24px !important; max-width:24px !important;
        height:24px !important; min-height:24px !important; max-height:24px !important;
        flex:0 0 24px !important; padding:0 !important; margin:0 0 0 4px;
        border:1px solid transparent !important; border-radius:4px !important;
        background:transparent !important; color:var(--sysdash-text,#263238) !important;
        box-shadow:none !important; text-decoration:none !important; cursor:pointer;
    }
    .sys-dashboard-studio .sysdash-calendar-open > i { display:none !important; }
    .sys-dashboard-studio .sysdash-calendar-open::before {
        content:"\2197"; display:block; font:600 19px/1 Arial,sans-serif !important;
        color:inherit !important;
    }
    .sys-dashboard-studio .sysdash-calendar-open:hover,
    .sys-dashboard-studio .sysdash-calendar-open:focus-visible {
        background:rgba(60,141,188,.16) !important; border-color:var(--sysdash-accent,#3c8dbc) !important;
        color:var(--sysdash-accent,#3c8dbc) !important;
    }
    .sys-dashboard-studio .sysdash-calendar-open:focus-visible { outline:2px solid var(--sysdash-accent,#3c8dbc) !important; outline-offset:2px; }
}

/* Form response widget: compact treatment summary, follows the active dashboard theme. */
.sysdash-response-counts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; padding: 10px; }
.sysdash-response-counts > div { border: 1px solid var(--sysdash-line); background: var(--sysdash-surface-2); padding: 8px; display:flex; flex-direction:column; gap:3px; }
.sysdash-response-counts strong { color:var(--sysdash-accent,#3c8dbc); font-size:20px; }
.sysdash-response-counts span { color:var(--sysdash-muted-strong); font-size:12px; }
.sysdash-response-list { padding:0 10px 10px; }
.sysdash-response-row { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; padding:10px 0; border-bottom:1px solid var(--sysdash-line); }
.sysdash-response-row > div:first-child { flex:1 1 140px; min-width:0; overflow-wrap:anywhere; }
.sysdash-response-row time { display:block; color:var(--sysdash-muted-strong); font-size:12px; margin-top:3px; }
.sysdash-response-status { border:1px solid var(--sysdash-line); background:var(--sysdash-surface-2); padding:3px 7px; font-size:12px; }
.sysdash-response-links { display:flex; flex-wrap:wrap; gap:8px; }
.sysdash-response-links a { color:var(--sysdash-accent,#3c8dbc); min-height:34px; display:inline-flex; align-items:center; padding:0 5px; }
@media(max-width:600px) { .sysdash-response-counts { grid-template-columns:repeat(2,minmax(0,1fr)); } }
/* Response table stays scrollable inside narrow dashboard widgets. */
.sysdash-response-grid-wrap { overflow-x:auto; padding:0 10px 10px; }
.sysdash-response-grid { border-collapse:collapse; width:100%; min-width:520px; font-size:13px; }
.sysdash-response-grid th { text-align:left; background:var(--sysdash-surface-2); font-weight:600; }
.sysdash-response-grid th,.sysdash-response-grid td { padding:9px 8px; border-bottom:1px solid var(--sysdash-line); vertical-align:middle; }
.sysdash-response-grid .sysdash-response-row { display:table-row; }
.sysdash-response-grid time { margin:0; }
.sysdash-workspace-launch{display:flex;align-items:center;justify-content:center;min-height:90px;height:100%;padding:14px}.sysdash-workspace-launch a{display:flex;align-items:center;justify-content:center;gap:10px;min-height:40px;max-width:100%;padding:10px 18px;background:var(--sysdash-accent,#3c8dbc);color:#fff!important;border:1px solid var(--sysdash-line-strong);border-radius:3px;text-decoration:none;overflow-wrap:anywhere;font-weight:600}.sysdash-workspace-launch a:hover{filter:brightness(1.1)}.sysdash-workspace-launch a:focus-visible{outline:2px solid var(--sysdash-text);outline-offset:3px}

.sys-dashboard-studio .sysdash-workflow-status {display:inline-flex;align-items:center;gap:5px;padding:3px 7px;border:1px solid currentColor;font-weight:600;white-space:nowrap;background:var(--sysdash-surface-2);}
.sys-dashboard-studio .sysdash-workflow-status.is-success {color:color-mix(in srgb,var(--sysdash-accent-2) 75%,var(--sysdash-text));background:var(--sysdash-success-soft);}
.sys-dashboard-studio .sysdash-workflow-status.is-danger {color:color-mix(in srgb,var(--sysdash-danger) 75%,var(--sysdash-text));background:var(--sysdash-danger-soft);}
.sys-dashboard-studio .sysdash-workflow-status.is-warning {color:color-mix(in srgb,var(--sysdash-warning) 75%,var(--sysdash-text));background:var(--sysdash-warning-soft);}
.sys-dashboard-studio .sysdash-workflow-status.is-info {color:color-mix(in srgb,var(--sysdash-accent) 75%,var(--sysdash-text));background:var(--sysdash-accent-soft);}
.sys-dashboard-studio .sysdash-workflow-status.is-muted {color:var(--sysdash-muted-strong);}

.sys-dashboard-studio .sysdash-workflow-trigger {display:inline-flex;align-items:center;gap:7px;}
.sys-dashboard-studio .sysdash-workflow-trigger > i {color:var(--sysdash-accent);width:18px;text-align:center;flex:0 0 18px;}

/* Accounting lists reuse dashboard surfaces, tables and active-theme accents. */
.sys-dashboard-studio .sysdash-accounting-toolbar { display:flex; align-items:flex-end; flex-wrap:wrap; gap:8px; padding:8px 0; }
.sys-dashboard-studio .sysdash-accounting-search { display:flex; flex-direction:column; gap:4px; flex:1 1 180px; margin:0; }
.sys-dashboard-studio .sysdash-accounting-toolbar input { width:100%; min-width:0; }
.sys-dashboard-studio .sysdash-accounting-toolbar a { color:var(--sysdash-accent); padding:8px; }
.sys-dashboard-studio .sysdash-accounting-caption { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.sys-dashboard-studio .sysdash-accounting-status { --tone:var(--sysdash-muted); display:inline-flex; align-items:center; gap:5px; padding:3px 7px; border:1px solid color-mix(in srgb,var(--tone) 40%,transparent); background:color-mix(in srgb,var(--tone) 12%,var(--sysdash-surface)); color:color-mix(in srgb,var(--tone) 75%,var(--sysdash-text)); white-space:nowrap; }
.sys-dashboard-studio .sysdash-accounting-status:before { content:''; width:6px; height:6px; border-radius:50%; background:var(--tone); }
.sys-dashboard-studio .sysdash-accounting-status.is-success { --tone:var(--sysdash-accent-2,#00a65a); }
.sys-dashboard-studio .sysdash-accounting-status.is-info { --tone:var(--sysdash-accent,#3c8dbc); }
.sys-dashboard-studio .sysdash-accounting-status.is-warning { --tone:var(--sysdash-warning,#f39c12); }
.sys-dashboard-studio .sysdash-accounting-status.is-danger { --tone:var(--sysdash-danger,#dd4b39); }
.sys-dashboard-studio .sysdash-accounting-totals { padding:8px; border-top:1px solid var(--sysdash-line); }
.sys-dashboard-studio .sysdash-accounting-totals dl { display:grid; grid-template-columns:minmax(140px,1fr) auto; gap:6px 14px; }
.sys-dashboard-studio .sysdash-accounting-totals dd { margin:0; text-align:right; }

.sys-dashboard-studio [data-accounting-picker] .sysdash-dialog-body { max-height:75vh; overflow:auto; }
.sys-dashboard-studio [data-accounting-picker] .sysdash-dashboard-icon-palette { grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); max-height:none; overflow:visible; }
.sys-dashboard-studio [data-accounting-picker] .sysdash-dashboard-icon-choice { min-height:42px; }
.sys-dashboard-studio [data-accounting-picker] .sysdash-dashboard-icon-choice span { white-space:normal; }

.sys-dashboard-studio [data-accounting-picker] { width:min(800px,100%); }
.sys-dashboard-studio .sysdash-accounting-toolbar input,
.sys-dashboard-studio .sysdash-accounting-toolbar button { min-height:34px; padding:6px 9px; border:1px solid var(--sysdash-line-strong); background:var(--sysdash-surface-2); color:var(--sysdash-text); font:inherit; }
.sys-dashboard-studio .sysdash-accounting-toolbar button:hover { background:var(--sysdash-accent-soft); border-color:var(--sysdash-accent); }
.sys-dashboard-studio .sysdash-accounting-toolbar input:focus-visible,
.sys-dashboard-studio .sysdash-accounting-toolbar button:focus-visible { outline:2px solid var(--sysdash-accent); outline-offset:2px; }

#sysDashboardStudio .sysdash-accounting-search input { background:var(--sysdash-surface-2) !important; color:var(--sysdash-text) !important; border-color:var(--sysdash-line-strong) !important; }
/* Searchable widget catalogue: keeps the canvas free until an addition is requested. */
#sysDashboardStudio .sysdash-widget-catalog { display:none; border-bottom:1px solid var(--sysdash-line); background:var(--sysdash-surface); }
#sysDashboardStudio.is-admin.is-dashboard-editable .sysdash-widget-catalog { display:block; }
#sysDashboardStudio .sysdash-widget-catalog summary { padding:12px; cursor:pointer; color:var(--sysdash-accent); font-weight:600; }
#sysDashboardStudio .sysdash-widget-catalog summary span { margin-left:12px; font-weight:400; color:var(--sysdash-muted); font-size:12px; }
#sysDashboardStudio .sysdash-widget-filters { display:flex; flex-wrap:wrap; gap:8px; padding:0 12px 10px; align-items:center; }
#sysDashboardStudio .sysdash-widget-filters input { flex:1; min-width:180px; }
#sysDashboardStudio .sysdash-widget-filters input,#sysDashboardStudio .sysdash-widget-filters select { min-height:36px; padding:7px; border:1px solid var(--sysdash-line); background:var(--sysdash-surface); color:var(--sysdash-text); }
#sysDashboardStudio .sysdash-widget-catalog .sysdash-admin-tools { max-height:48vh; overflow:auto; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); padding:0 12px 12px; gap:8px; }
#sysDashboardStudio .sysdash-widget-catalog .sysdash-admin-tools button { min-height:66px; height:auto; }
#sysDashboardStudio .sysdash-widget-catalog .sysdash-admin-tools button span,#sysDashboardStudio .sysdash-widget-catalog .sysdash-admin-tools button strong { white-space:normal; overflow:visible; }
#sysDashboardStudio .sysdash-widget-catalog [hidden] { display:none !important; }
#sysDashboardStudio .sysdash-widget-no-result { padding:12px; color:var(--sysdash-muted); }
#sysDashboardStudio .sysdash-widget-catalog :focus-visible { outline:2px solid var(--sysdash-accent); outline-offset:2px; }
@media(max-width:600px){#sysDashboardStudio .sysdash-widget-catalog summary span{display:block;margin:6px 0 0;}#sysDashboardStudio .sysdash-widget-filters select{width:100%;}}
.sysdash-grid-inline-html{max-height:120px;max-width:100%;overflow:auto;overflow-wrap:anywhere;white-space:normal;min-width:120px}
.sysdash-grid-inline-html img{max-width:100%;max-height:100px;object-fit:contain}
.sysdash-grid-inline-html :is(p,div,ul,ol,blockquote,pre){margin-block:0 4px}
.sysdash-grid-inline-html table{max-width:100%;table-layout:fixed}
.sys-dashboard-studio .sysdash-reminder-past-badge{display:inline-flex;align-items:center;gap:4px;margin:4px 0;padding:2px 6px;border:1px solid var(--sysdash-line-strong);border-radius:3px;background:var(--sysdash-surface-2);color:var(--sysdash-text);font-size:11px;font-weight:600;line-height:1.3}

.sys-dashboard-studio .sysdash-calendar-nav{flex-wrap:wrap}
.sys-dashboard-studio .sysdash-calendar-period{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap}
.sys-dashboard-studio .sysdash-calendar-period select,.sys-dashboard-studio .sysdash-calendar-period input{box-sizing:border-box;width:auto;min-height:30px;padding:4px 6px;border:1px solid var(--sysdash-line-strong);border-radius:3px;background:var(--sysdash-surface);color:var(--sysdash-text);font:inherit}
.sys-dashboard-studio .sysdash-calendar-period input{width:78px}
.sys-dashboard-studio .sysdash-calendar-period button{width:auto;padding:0 9px}

/* Mail composition: message first, searchable models and progressive options. */
.sysdash-mail-model-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 0 8px}.sysdash-mail-model-heading p{margin:5px 0;color:var(--sysdash-muted);font-size:12px}
.sysdash-mail-model-picker,.sysdash-mail-advanced,.sysdash-mail-format-options{border:1px solid var(--sysdash-line);background:var(--sysdash-surface);padding:10px;margin-bottom:8px}
.sysdash-mail-model-picker summary,.sysdash-mail-advanced summary,.sysdash-mail-format-options summary{cursor:pointer;color:var(--sysdash-text);font-size:13px;font-weight:600;min-height:24px}
.sysdash-mail-model-picker label{display:grid;gap:6px;margin:12px 0 8px}.sysdash-mail-model-picker input,.sysdash-mail-model-picker select{width:100%;min-width:0;background:var(--sysdash-surface);color:var(--sysdash-text);border:1px solid var(--sysdash-line);padding:8px;font:inherit}.sysdash-mail-model-picker select option{padding:8px}.sysdash-mail-model-picker select option[hidden]{display:none}.sysdash-mail-model-manage{margin-top:10px;font-size:12px}
.sysdash-mail-format-options{margin:0;border:0;border-bottom:1px solid var(--sysdash-line)}.sysdash-mail-format-options[open] summary{margin-bottom:8px}
.sysdash-mail-advanced[open] summary{margin-bottom:12px}.sysdash-mail-model-picker [hidden]{display:none!important}
@media(max-width:600px){.sysdash-mail-model-heading{align-items:flex-start;flex-direction:column}}
.sysdash-mail-compose-editor-actions [data-mail-compose-tab="recipients"]{display:none}
.sysdash-mail-compose-backdrop .sysdash-mail-rich-editor{min-height:230px;max-height:38vh}

/* Recipient information stays beside the message while composing. */
.sysdash-mail-writing-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:14px;align-items:start}
.sysdash-mail-writing-main{min-width:0}
.sysdash-mail-personalization{border:1px solid var(--sysdash-line);border-top:3px solid var(--sysdash-accent);background:var(--sysdash-surface-2);padding:12px;min-width:0}
.sysdash-mail-personalization p{font-size:12px;color:var(--sysdash-muted);line-height:1.5}
.sysdash-mail-token-list{display:flex;flex-direction:column;gap:6px;max-height:250px;overflow:auto;margin:12px 0}
.sysdash-mail-token-list button{text-align:left;cursor:grab;white-space:normal;min-height:34px}
.sysdash-mail-token-list button:active{cursor:grabbing}
.sysdash-mail-personalization .sysdash-mail-fusion-tools{display:flex;flex-direction:column;gap:8px}
.sysdash-mail-personalization label,.sysdash-mail-personalization select{display:block;width:100%;min-width:0}
.sysdash-mail-personalization select{margin-top:4px}
@media(min-width:1000px){.sysdash-mail-compose-dialog{width:min(1200px,96vw)}}
@media(max-width:760px){.sysdash-mail-writing-layout{grid-template-columns:1fr}.sysdash-mail-token-list{flex-direction:row;flex-wrap:wrap;max-height:140px}.sysdash-mail-personalization .sysdash-mail-fusion-tools{display:grid;grid-template-columns:1fr 1fr}.sysdash-mail-personalization .sysdash-mail-fusion-tools p{grid-column:1/-1}}

/* Translation controls must not consume the input's grid cell. */
#sysDashboardStudio .sysdash-dashboard-title-editor:has(.sys-text-trigger) { grid-template-columns:30px minmax(0,1fr) 30px 24px; }
#sysDashboardStudio .sysdash-dashboard-title-editor > .sysdash-dashboard-icon-preview { grid-column:1;grid-row:1; }
#sysDashboardStudio .sysdash-dashboard-title-editor > .sysdash-title-input { grid-column:2;grid-row:1;min-width:0; }
#sysDashboardStudio .sysdash-dashboard-title-editor > .sysdash-dashboard-icon-open { grid-column:3;grid-row:1; }
#sysDashboardStudio .sysdash-dashboard-title-editor > .sys-text-trigger { grid-column:4;grid-row:1; }
#sysDashboardStudio .sysdash-dashboard-title-editor > .sys-text-assistant { grid-column:1 / -1; }
#sysDashboardStudio .sysdash-column-alias > .sys-text-caption { grid-column:1 / -1;min-width:0; }
#sysDashboardStudio .sysdash-column-alias:has(> .sys-text-caption) > input { grid-column:1 / -1;width:100%;min-width:0; }
.sysdash-description-input { height: 32px; margin-top: 6px; padding: 0 9px; font-size: 12px; }

.sysdash-calendar-year{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;padding:10px}.sysdash-calendar-year section{border:1px solid var(--sysdash-line);padding:10px;background:var(--sysdash-surface)}.sysdash-calendar-year h4{margin:0 0 10px}.sysdash-year-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}.sysdash-year-days button{min-height:42px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--sysdash-surface-2);color:var(--sysdash-text);border:1px solid var(--sysdash-line);cursor:pointer}.sysdash-day-count{display:inline-flex;align-items:center;justify-content:center;min-width:19px;min-height:19px;padding:1px 4px;border-radius:12px;background:var(--sysdash-accent,#3c8dbc);color:#fff;font:600 10px/1.3 Arial,sans-serif;vertical-align:middle;margin-left:3px}.sysdash-year-days .sysdash-day-count{margin:2px 0 0}
/* Agenda: readable controls, unobtrusive counts and optional help. */
.sys-dashboard-studio .sysdash-agenda-help{border:1px solid var(--sysdash-line);border-radius:3px;margin:4px 0 12px;background:var(--sysdash-surface)}
.sys-dashboard-studio .sysdash-agenda-help summary{display:flex;gap:7px;align-items:center;cursor:pointer;padding:8px 10px;color:var(--sysdash-accent);font-size:12px;list-style:none;font-weight:600}
.sys-dashboard-studio .sysdash-agenda-help summary::-webkit-details-marker{display:none}.sys-dashboard-studio .sysdash-agenda-help summary::after{content:'＋';margin-left:auto}.sys-dashboard-studio .sysdash-agenda-help[open] summary::after{content:'−'}
.sys-dashboard-studio .sysdash-agenda-help>div{padding:0 12px 12px;line-height:1.6;font-size:12px;color:var(--sysdash-muted-strong)}.sys-dashboard-studio .sysdash-agenda-help p{margin:4px 0 10px}
.sys-dashboard-studio .sysdash-calendar-toolbar{gap:12px;align-items:center;margin-bottom:10px}.sys-dashboard-studio .sysdash-calendar-title strong{font-size:17px;line-height:1.3}.sys-dashboard-studio .sysdash-calendar-title span{font-size:12px}
.sys-dashboard-studio .sysdash-calendar-nav{gap:6px}.sys-dashboard-studio .sysdash-calendar-nav button{height:34px;min-width:34px;border-radius:3px}.sys-dashboard-studio .sysdash-calendar-period input,.sys-dashboard-studio .sysdash-calendar-period select{min-height:34px}.sys-dashboard-studio .sysdash-calendar-modes{border-radius:4px}.sys-dashboard-studio .sysdash-calendar-modes button{border-radius:0}
.sys-dashboard-studio .sysdash-calendar-weekdays{padding:6px 0;font-size:11px}.sys-dashboard-studio .sysdash-calendar-day{position:relative;background:var(--sysdash-surface);border-radius:3px}.sys-dashboard-studio .sysdash-calendar-day.is-outside{background:var(--sysdash-surface-2)}.sys-dashboard-studio .sysdash-calendar-day.is-today{background:var(--sysdash-accent-soft)}
.sys-dashboard-studio .sysdash-day-count{width:max-content;max-width:34px;justify-self:end;box-sizing:border-box}.sys-dashboard-studio .sysdash-calendar-day>.sysdash-day-count{position:absolute;right:5px;top:4px;min-height:17px;font-size:10px}
.sys-dashboard-studio .sysdash-calendar-event{border-radius:3px;box-shadow:0 1px 2px #0000000d}.sys-dashboard-studio .sysdash-calendar-event strong{background:transparent!important;padding:0!important;border-radius:0!important;min-height:22px;gap:4px;color:var(--sysdash-text)!important}.sys-dashboard-studio .sysdash-calendar-event strong>span:not(.sysdash-calendar-event-icon){flex:1;min-width:0}.sys-dashboard-studio .sysdash-calendar-open{min-width:22px;min-height:22px;width:22px;height:22px;flex:0 0 22px;padding:0}.sys-dashboard-studio .sysdash-calendar-event>i{font-style:normal}.sys-dashboard-studio .sysdash-calendar-event-fields{font-size:11px}.sys-dashboard-studio .sysdash-agenda-help summary:focus-visible{outline:2px solid var(--sysdash-accent);outline-offset:2px}
/* Sorted headings are column controls, not primary action buttons. */
body #sysDashboardStudio .sysdash-table th button.sysdash-sort-head{
    background:transparent!important;color:var(--sysdash-text)!important;
    border:0!important;border-radius:0;box-shadow:none!important;
    padding:5px 2px;min-height:30px;font-weight:600;
}
body #sysDashboardStudio .sysdash-table th button.sysdash-sort-head:hover{
    background:var(--sysdash-accent-soft)!important;
}
body #sysDashboardStudio .sysdash-table th button.sysdash-sort-head:focus-visible{
    outline:2px solid var(--sysdash-accent);outline-offset:2px;
}
body #sysDashboardStudio .sysdash-sort-head.is-active>i{color:var(--sysdash-accent);opacity:1}
body #sysDashboardStudio .sysdash-sort-head em{
    background:var(--sysdash-accent-soft);color:var(--sysdash-accent);
    border:0;font-style:normal;font-weight:600;
}
/* Widget commands stay visually light; keyboard focus remains explicit. */
#sysDashboardStudio .sysdash-widget-head button,
#sysDashboardStudio .sysdash-widget-head .sysdash-widget-zoom {
  border:0 !important;
  box-shadow:none !important;
  background:transparent !important;
}
#sysDashboardStudio .sysdash-widget-head .sysdash-widget-zoom { overflow:visible; }
#sysDashboardStudio .sysdash-widget-head button:hover:not(:disabled),
#sysDashboardStudio .sysdash-widget-head button.is-active,
#sysDashboardStudio .sysdash-widget-head button[aria-expanded="true"] {
  background:var(--sysdash-accent-soft) !important;
}
#sysDashboardStudio .sysdash-widget-head button:focus-visible {
  outline:2px solid var(--sysdash-accent);
  outline-offset:2px;
}

/* Shared statistics periods and dossier portrait. */
.sysdash-date-range { display:flex; flex-wrap:wrap; gap:8px; min-width:0; }
.sysdash-date-range > label { flex:1 1 130px; min-width:0; }
.sysdash-month-window { display:block; min-width:100px; }
.sysdash-record-statistics { margin:12px 0; padding:14px; border:1px solid var(--sysdash-line); background:var(--sysdash-surface-2); color:var(--sysdash-text); }
.sysdash-record-statistics h3 { margin:0 0 8px; font-size:15px; }
.sysdash-record-statistics p { margin:6px 0; }
.sysdash-record-statistics table { width:100%; border-collapse:collapse; }
.sysdash-record-statistics th,.sysdash-record-statistics td { padding:6px; text-align:left; border-bottom:1px solid var(--sysdash-line); }
.sysdash-stat-bars > div { display:grid; grid-template-columns:minmax(90px,1fr) minmax(60px,2fr) auto; align-items:center; gap:8px; padding:4px 0; }
.sysdash-stat-bars meter { width:100%; accent-color:var(--sysdash-accent); }
.sysdash-investigation-tools [hidden] { display:none !important; }
/* Base criteria remain visible without editable controls. */
.sysdash-base-filters{padding:12px;margin-bottom:16px;border-left:3px solid var(--sysdash-accent);background:var(--sysdash-surface-2);color:var(--sysdash-text);font-size:12px}
.sysdash-base-filters>strong{display:block;font-size:13px}.sysdash-base-filters>strong i{color:var(--sysdash-accent)}
.sysdash-base-filters p{margin:6px 0;color:var(--sysdash-muted-strong)}
.sysdash-base-filters ul{margin:8px 0 0;padding-left:18px}.sysdash-base-filters li{padding:4px 0;overflow-wrap:anywhere}.sysdash-base-filters li>span{color:var(--sysdash-muted-strong);margin-right:6px}
.sysdash-widget-filter-toolbar{display:flex;justify-content:flex-end;margin-bottom:8px}
.sysdash-widget-filter-toolbar button{display:inline-flex;gap:6px;align-items:center;min-height:34px;border:1px solid var(--sysdash-line);border-radius:3px;background:var(--sysdash-surface-2);color:var(--sysdash-text);padding:5px 10px;cursor:pointer}
.sysdash-widget-filter-toolbar button i{color:var(--sysdash-accent)}

/* Column selection: keep search and type visible above a larger scrollable list. */
#sysDashboardStudio .sysdash-column-picker {
    max-height: none;
    overflow: visible;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: start;
}
#sysDashboardStudio .sysdash-column-picker-tools { display: grid; gap: 8px; min-width: 0; }
#sysDashboardStudio .sysdash-column-type-filter { margin-bottom: 0; }
#sysDashboardStudio .sysdash-column-picker-list {
    display: grid;
    align-content: start;
    gap: 7px;
    max-height: clamp(340px, 50vh, 640px);
    overflow: auto;
    scrollbar-gutter: stable;
    min-width: 0;
}
#sysDashboardStudio .sysdash-column-picker-list .sysdash-field-choice { margin-bottom: 0; }
@media (max-width: 760px) {
    #sysDashboardStudio .sysdash-column-picker-list { max-height: 45vh; }
}

/* Statistics is a reading action, also available outside design mode. */
#sysDashboardStudio .sysdash-widget-actions .sysdash-widget-statistics-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: auto;
    min-width: 26px;
    padding: 0 7px;
}

/* Long mail histories must remain reachable inside a fixed-height dashboard widget. */
#sysDashboardStudio .sysdash-type-mailbroadcast .sysdash-widget-body,
#sysDashboardStudio .sysdash-widget-body:has(.sysdash-mail-console) {
    overflow-y: auto;
    overflow-x: auto;
}
#sysDashboardStudio .sysdash-type-mailbroadcast .sysdash-widget-body > *,
#sysDashboardStudio .sysdash-widget-body:has(.sysdash-mail-console) > * {
    flex-shrink: 0;
}

/* Filters share the compact header commands instead of consuming a KPI content row. */
#sysDashboardStudio .sysdash-widget-actions .sysdash-widget-filter-action {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 24px !important; min-width: 24px !important; height: 24px !important; min-height: 24px !important;
    padding: 0 !important; border: 0; background: transparent; color: var(--sysdash-muted);
}
#sysDashboardStudio .sysdash-widget-filter-action:hover,
#sysDashboardStudio .sysdash-widget-filter-action:focus-visible { background: var(--sysdash-accent-soft); color: var(--sysdash-text); }
#sysDashboardStudio .sysdash-widget-filter-action.is-active { color: var(--sysdash-accent); }
#sysDashboardStudio .sysdash-widget-filter-action small { position: absolute; top: -4px; right: -4px; font-size: 9px; line-height: 12px; min-width: 12px; background: var(--sysdash-accent); color: #fff; border-radius: 6px; padding: 0 2px; }
