@font-face{font-family:Inter;src:url('/assets/vendor/modern-saas/inter-latin-wght-normal.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{--saas-bg:#f5f7fb;--saas-surface:#fff;--saas-surface-soft:#f8fafc;--saas-line:#e6eaf1;--saas-line-strong:#d8dfea;--saas-text:#0f172a;--saas-muted:#64748b;--saas-primary:#4f63d9;--saas-primary-hover:#3f51c4;--saas-primary-soft:#eef1fd;--saas-radius:14px;--saas-radius-sm:9px;--saas-shadow:0 1px 2px rgba(15,23,42,.04),0 8px 24px rgba(15,23,42,.045);--saas-shadow-lg:0 18px 48px rgba(15,23,42,.12);--saas-content:1440px;color-scheme:light}
:root[data-bs-theme=dark]{--saas-bg:#0d1220;--saas-surface:#141b2b;--saas-surface-soft:#192133;--saas-line:#243048;--saas-line-strong:#2f3d58;--saas-text:#eaf0fa;--saas-muted:#9aa8bd;--saas-primary:#8a9aff;--saas-primary-hover:#a4b1ff;--saas-primary-soft:rgba(138,154,255,.14);--saas-shadow:0 1px 2px rgba(0,0,0,.25),0 10px 28px rgba(0,0,0,.25);--saas-shadow-lg:0 24px 60px rgba(0,0,0,.45);color-scheme:dark}
*{scrollbar-width:thin;scrollbar-color:var(--saas-line-strong) transparent}
html{font-size:14px}
body.layout-fixed,body.login-page{font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;font-size:1rem;line-height:1.55;color:var(--saas-text);background:var(--saas-bg);-webkit-font-smoothing:antialiased}
body.layout-fixed{--bs-body-bg:var(--saas-bg);--bs-body-color:var(--saas-text);--bs-border-color:var(--saas-line);--bs-secondary-color:var(--saas-muted);--bs-emphasis-color:var(--saas-text);--bs-tertiary-bg:var(--saas-surface-soft)}
body.layout-fixed .app-wrapper{background:var(--saas-bg)}
body.layout-fixed h1,body.layout-fixed h2,body.layout-fixed h3,body.layout-fixed h4{color:var(--saas-text);letter-spacing:-.02em}
body.layout-fixed h1{font-size:1.65rem;font-weight:700;letter-spacing:-.035em;margin:0 0 .35rem}
body.layout-fixed h2{font-size:1.02rem;font-weight:650}
body.layout-fixed h3{font-size:1.1rem;font-weight:650}
body.layout-fixed p{margin-bottom:.75rem}
body.layout-fixed a{color:var(--saas-primary);text-decoration:none}
body.layout-fixed a:hover{color:var(--saas-primary-hover);text-decoration:underline;text-underline-offset:2px}
body.layout-fixed .text-body-secondary,body.layout-fixed .form-text,body.layout-fixed small{color:var(--saas-muted)!important}
body.layout-fixed .small,body.layout-fixed small{font-size:.8rem}
body.layout-fixed code,body.layout-fixed .table code{color:var(--saas-text);background:var(--saas-surface-soft);border:1px solid var(--saas-line);border-radius:6px;padding:.05rem .35rem;font-size:.82em}

/* Top bar */
body.layout-fixed .app-header.navbar{min-height:64px;padding:.5rem 1.5rem;background:color-mix(in srgb,var(--saas-surface) 92%,transparent)!important;border-bottom:1px solid var(--saas-line);box-shadow:none;backdrop-filter:saturate(140%) blur(8px);gap:.75rem}
body.layout-fixed .app-header .navbar-nav{gap:.15rem;align-items:center}
body.layout-fixed .app-header .nav-link,body.layout-fixed .app-header .btn-link{display:inline-flex;align-items:center;gap:.45rem;min-height:38px;padding:.35rem .6rem;border-radius:var(--saas-radius-sm);color:var(--saas-muted);font-size:.86rem;font-weight:550;transition:background .15s,color .15s}
body.layout-fixed .app-header .nav-link:hover,body.layout-fixed .app-header .btn-link:hover{background:var(--saas-surface-soft);color:var(--saas-text);text-decoration:none}
body.layout-fixed .app-header .nav-link i,body.layout-fixed .app-header .btn-link i{font-size:1rem;line-height:1}
body.layout-fixed .app-header .navbar-nav:first-child .nav-link{color:var(--saas-text)}
body.layout-fixed .app-header form .form-control{min-height:36px;height:36px;border-radius:var(--saas-radius-sm) 0 0 var(--saas-radius-sm);background:var(--saas-surface-soft);border-color:var(--saas-line);font-size:.85rem}
body.layout-fixed .app-header form .btn{min-height:36px;height:36px;border-radius:0 var(--saas-radius-sm) var(--saas-radius-sm) 0;border-color:var(--saas-line);color:var(--saas-muted);background:var(--saas-surface-soft)}
body.layout-fixed .app-header .input-group{width:min(300px,42vw)}
body.layout-fixed .app-header .dropdown-toggle::after{margin-left:.25rem;opacity:.55}
body.layout-fixed .app-header .badge.rounded-circle{padding:.45rem!important;font-size:.78rem}
body.layout-fixed .theme-toggle{border:1px solid var(--saas-line)!important;background:var(--saas-surface)}
body.layout-fixed .theme-toggle:hover{background:var(--saas-primary-soft);color:var(--saas-primary)}

/* Sidebar */
body.layout-fixed .app-sidebar{background:#111827!important;border-right:1px solid rgba(255,255,255,.06);box-shadow:none!important;width:268px}
body.layout-fixed .sidebar-brand{border-bottom:1px solid rgba(255,255,255,.07)}
body.layout-fixed .sidebar-brand .brand-link{height:64px;display:flex;align-items:center;gap:.65rem;padding:0 1.35rem;color:#fff;font-size:1rem;font-weight:600;letter-spacing:-.01em}
body.layout-fixed .sidebar-brand .brand-image{border-radius:9px;box-shadow:none!important;opacity:1!important}
body.layout-fixed .sidebar-brand .brand-link:hover{text-decoration:none;color:#fff}
body.layout-fixed .sidebar-wrapper{overflow-y:auto;overscroll-behavior:contain}
body.layout-fixed .sidebar-menu{padding:.5rem .65rem 1.5rem;gap:.1rem}
body.layout-fixed .sidebar-menu .nav-header{margin:1.1rem 0 .35rem;padding:.35rem .85rem;color:#7c8aa5;font-size:.64rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
body.layout-fixed .sidebar-menu .nav-header:first-child{margin-top:.4rem}
body.layout-fixed .sidebar-menu .nav-link{position:relative;display:flex;align-items:center;gap:.7rem;min-height:38px;margin:0;padding:.45rem .85rem;border-radius:8px;color:#aebbd0;font-size:.855rem;font-weight:500;line-height:1.35;transition:background .15s,color .15s}
body.layout-fixed .sidebar-menu .nav-link p{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.layout-fixed .sidebar-menu .nav-link:hover{background:rgba(255,255,255,.06);color:#fff}
body.layout-fixed .sidebar-menu .nav-link.active{background:rgba(122,143,255,.16);color:#fff;font-weight:600;box-shadow:inset 0 0 0 1px rgba(122,143,255,.18)}
body.layout-fixed .sidebar-menu .nav-link.active:before{position:absolute;left:-.65rem;top:9px;bottom:9px;width:3px;border-radius:0 3px 3px 0;background:#8fa0ff;content:''}
body.layout-fixed .sidebar-menu .nav-icon{display:inline-flex;align-items:center;justify-content:center;width:1.15rem;min-width:1.15rem;color:#8e9cb5;font-size:.98rem}
body.layout-fixed .sidebar-menu .nav-link:hover .nav-icon{color:#cfd8e8}
body.layout-fixed .sidebar-menu .nav-link.active .nav-icon{color:#aab5ff}
body.layout-fixed .sidebar-menu .nav-link .badge{margin-left:auto}
body.layout-fixed .sidebar-footer{border-top:1px solid rgba(255,255,255,.07)!important;color:#8d9ab1!important;font-size:.76rem;padding:.9rem 1.35rem!important}

/* Page frame */
body.layout-fixed .app-main{background:var(--saas-bg)}
body.layout-fixed .app-content-header{padding:1.15rem 1.5rem .25rem}
body.layout-fixed .app-content-header>.container-fluid{max-width:var(--saas-content);margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem}
body.layout-fixed .app-content-header>.container-fluid>.row{width:100%;align-items:center;margin:0;--bs-gutter-x:0}
body.layout-fixed .app-content-header h3{font-size:1.22rem;font-weight:650;letter-spacing:-.025em;line-height:1.3;margin:0}
body.layout-fixed .app-content-header .btn-toolbar,body.layout-fixed .app-content-header .page-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
body.layout-fixed .app-content{padding:.65rem 1.5rem 1.75rem}
body.layout-fixed .app-content>.container-fluid{max-width:var(--saas-content);margin:0 auto;padding:0}
body.layout-fixed .breadcrumb{--bs-breadcrumb-divider-color:var(--saas-muted);margin:0;padding:0;background:transparent;font-size:.8rem;gap:.15rem}
body.layout-fixed .breadcrumb-item+.breadcrumb-item::before{content:'/';opacity:.45;padding:0 .1rem}
body.layout-fixed .breadcrumb-item a{color:var(--saas-muted);font-weight:500}
body.layout-fixed .breadcrumb-item.active{color:var(--saas-text);font-weight:600}
body.layout-fixed .page-status{display:inline-flex;align-items:center;gap:.45rem;height:30px;padding:0 .7rem;border:1px solid var(--saas-line);border-radius:99px;background:var(--saas-surface);color:var(--saas-muted);font-size:.76rem;font-weight:600;white-space:nowrap}
body.layout-fixed .page-status:before{width:7px;height:7px;border-radius:50%;background:#16a34a;content:'';box-shadow:0 0 0 3px rgba(22,163,74,.14)}
body.layout-fixed .page-status.is-warn:before{background:#d97706;box-shadow:0 0 0 3px rgba(217,119,6,.14)}
body.layout-fixed .page-status.is-bad:before{background:#dc2626;box-shadow:0 0 0 3px rgba(220,38,38,.14)}
body.layout-fixed .app-footer{padding:1rem 1.5rem;background:transparent;border-top:1px solid var(--saas-line);color:var(--saas-muted);font-size:.8rem}
body.layout-fixed .app-footer .float-end{float:none!important}
body.layout-fixed .app-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem}

/* Cards */
body.layout-fixed .card{--bs-card-border-radius:var(--saas-radius);--bs-card-inner-border-radius:var(--saas-radius);margin-bottom:1.25rem;border:1px solid var(--saas-line);background:var(--saas-surface);box-shadow:var(--saas-shadow);color:var(--saas-text)}
body.layout-fixed .card-header{display:flex;flex-wrap:nowrap;align-items:flex-start;justify-content:space-between;gap:.75rem;padding:1.05rem 1.35rem;background:transparent;border-bottom:1px solid var(--saas-line)}
body.layout-fixed .card-header>div{flex:1 1 auto;min-width:0}
body.layout-fixed .card-header:first-child{border-radius:var(--saas-radius) var(--saas-radius) 0 0}
body.layout-fixed .card-header h2,body.layout-fixed .card h2{margin:0;font-size:.98rem;font-weight:650;letter-spacing:-.015em}
body.layout-fixed .card-header p,body.layout-fixed .card > p,body.layout-fixed .card-header .form-text{margin:.2rem 0 0;color:var(--saas-muted);font-size:.82rem}
body.layout-fixed .card-header .badge,body.layout-fixed .card-header .page-status{flex:none}
body.layout-fixed .card-body{padding:1.35rem}
body.layout-fixed .card-footer{padding:.85rem 1.35rem;background:var(--saas-surface-soft);border-top:1px solid var(--saas-line);color:var(--saas-muted);border-radius:0 0 var(--saas-radius) var(--saas-radius)}
body.layout-fixed .card>.form,body.layout-fixed .card>form{padding:1.35rem}
body.layout-fixed .card>form.row{margin:0;padding:1.35rem;--bs-gutter-x:1rem;--bs-gutter-y:1rem}
body.layout-fixed .card>form.row>*{margin-top:0}
body.layout-fixed .card>.card-header+form{border-top:0}
body.layout-fixed .card .card .card{border-color:var(--saas-line);box-shadow:none;background:var(--saas-surface)}
body.layout-fixed .card .card .card-header{padding:1.05rem 1.35rem;background:transparent}
body.layout-fixed .card .card .card-body{padding:1.1rem}
body.layout-fixed .card .table-responsive{border-radius:0 0 var(--saas-radius) var(--saas-radius)}
body.layout-fixed .row.g-3{--bs-gutter-x:1.25rem;--bs-gutter-y:1.25rem}
body.layout-fixed .row.g-2{--bs-gutter-x:.75rem;--bs-gutter-y:.75rem}

/* KPI + metrics */
body.layout-fixed .display-6{font-size:1.9rem;font-weight:650;line-height:1.12;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
body.layout-fixed .display-6 small{display:inline-block;margin-left:.4rem;font-size:.82rem;font-weight:500;letter-spacing:0;color:var(--saas-muted)!important;vertical-align:middle}
body.layout-fixed .card .fs-4{font-size:1.05rem!important;line-height:1;color:var(--saas-primary)!important}
body.layout-fixed .card-body>.text-uppercase,body.layout-fixed .text-uppercase.small{font-size:.7rem!important;letter-spacing:.07em;line-height:1.4;color:var(--saas-muted)!important}
body.layout-fixed .row-cols-xl-4>.card>.card-body:first-child{min-height:52px;align-items:flex-start!important}
body.layout-fixed .card .list-group-item strong,body.layout-fixed .card-body strong{font-weight:650}
body.layout-fixed .table,body.layout-fixed .badge,body.layout-fixed .progress,body.layout-fixed .card-footer small{font-variant-numeric:tabular-nums}

/* Tables */
body.layout-fixed .table-responsive{border:0}
body.layout-fixed .table{--bs-table-color:var(--saas-text);--bs-table-bg:transparent;--bs-table-striped-bg:transparent;--bs-table-hover-bg:color-mix(in srgb,var(--saas-primary) 5%,transparent);margin-bottom:0;font-size:.855rem}
body.layout-fixed .table>:not(caption)>*>*{padding:.8rem 1.35rem;border-bottom-color:var(--saas-line);vertical-align:middle}
body.layout-fixed .table>tbody>tr:last-child>*{border-bottom:0}
body.layout-fixed .table thead th{background:var(--saas-surface-soft);color:var(--saas-muted);font-size:.68rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;white-space:nowrap;border-bottom:1px solid var(--saas-line);padding-top:.7rem;padding-bottom:.7rem}
body.layout-fixed .table tbody tr:hover{background:color-mix(in srgb,var(--saas-primary) 4%,transparent)}
body.layout-fixed .table td .btn,body.layout-fixed .table td form{flex:none}
body.layout-fixed .table td code{white-space:nowrap}
body.layout-fixed .table .progress{min-width:90px;margin:.3rem 0}

/* Badges, pills, progress */
body.layout-fixed .badge{display:inline-flex;align-items:center;gap:.3rem;padding:.32em .62em;border-radius:99px;font-size:.72rem;font-weight:650;line-height:1.35;letter-spacing:.01em;vertical-align:middle}
body.layout-fixed .badge.text-bg-success{background:#e8f7ef!important;color:#0c7a4c!important;border:1px solid #c3ebd7}
body.layout-fixed .badge.text-bg-warning{background:#fdf4e3!important;color:#8a5a06!important;border:1px solid #f4e1b8}
body.layout-fixed .badge.text-bg-danger{background:#fdecec!important;color:#a01f1f!important;border:1px solid #f6cece}
body.layout-fixed .badge.text-bg-secondary{background:var(--saas-surface-soft)!important;color:var(--saas-muted)!important;border:1px solid var(--saas-line)}
body.layout-fixed .badge.text-bg-primary{background:var(--saas-primary-soft)!important;color:var(--saas-primary)!important;border:1px solid color-mix(in srgb,var(--saas-primary) 25%,transparent)}
body.layout-fixed .badge.rounded-circle{background:var(--saas-primary)!important;color:#fff!important;border:0;font-weight:650}
body.layout-fixed .badge.rounded-pill{min-width:1.35rem;justify-content:center}
:root[data-bs-theme=dark] body.layout-fixed .badge.text-bg-success{background:rgba(34,197,94,.15)!important;color:#6ee7a8!important;border-color:rgba(34,197,94,.3)}
:root[data-bs-theme=dark] body.layout-fixed .badge.text-bg-warning{background:rgba(245,158,11,.16)!important;color:#fbbf24!important;border-color:rgba(245,158,11,.3)}
:root[data-bs-theme=dark] body.layout-fixed .badge.text-bg-danger{background:rgba(248,113,113,.16)!important;color:#fca5a5!important;border-color:rgba(248,113,113,.3)}
:root[data-bs-theme=dark] body.layout-fixed .badge.text-bg-secondary{background:var(--saas-surface-soft)!important;color:var(--saas-muted)!important;border-color:var(--saas-line)}
body.layout-fixed .progress{height:.45rem;border-radius:99px;background:var(--saas-surface-soft);overflow:hidden}
body.layout-fixed .progress-bar{border-radius:99px;background:var(--saas-primary)}
body.layout-fixed .progress>i{display:block;height:100%;border-radius:99px;background:var(--saas-primary);transition:width .3s ease}

/* Forms */
body.layout-fixed .form-label{display:block;margin-bottom:.4rem;color:var(--saas-muted);font-size:.79rem;font-weight:600;letter-spacing:.005em}
body.layout-fixed .form-label .form-control,body.layout-fixed .form-label .form-select,body.layout-fixed .form-label .input-group{margin-top:.4rem}
body.layout-fixed .form-label .text-body-secondary,body.layout-fixed .form-label .form-text{display:block;margin-top:.15rem;font-weight:400;font-size:.76rem;line-height:1.45}
body.layout-fixed .form-label:has(> .form-check),body.layout-fixed .form-label.form-check{display:flex;align-items:center;gap:.5rem;font-weight:500}
body.layout-fixed .form-control,body.layout-fixed .form-select{min-height:38px;padding:.45rem .75rem;border-color:var(--saas-line);border-radius:var(--saas-radius-sm);background-color:var(--saas-surface);color:var(--saas-text);font-size:.87rem;box-shadow:none}
body.layout-fixed .form-control::placeholder{color:color-mix(in srgb,var(--saas-muted) 75%,transparent)}
body.layout-fixed textarea.form-control{min-height:auto;line-height:1.55}
body.layout-fixed .form-control:focus,body.layout-fixed .form-select:focus{border-color:color-mix(in srgb,var(--saas-primary) 60%,var(--saas-line));box-shadow:0 0 0 3px color-mix(in srgb,var(--saas-primary) 14%,transparent)}
body.layout-fixed .input-group-text{border-color:var(--saas-line);background:var(--saas-surface-soft);color:var(--saas-muted);font-size:.85rem}
body.layout-fixed select.form-select{padding-right:2rem}
body.layout-fixed .form-check-input{border-color:var(--saas-line-strong)}
body.layout-fixed .form-check-input:checked{background-color:var(--saas-primary);border-color:var(--saas-primary)}

/* Buttons */
body.layout-fixed .btn{border-radius:var(--saas-radius-sm);font-weight:600;font-size:.85rem;line-height:1.4;letter-spacing:0;padding:.45rem .9rem;transition:background .15s,border-color .15s,color .15s,transform .1s;box-shadow:none;display:inline-flex;align-items:center;justify-content:center;gap:.4rem}
body.layout-fixed .btn:not(.btn-sm):not(.btn-lg){min-height:38px}
body.layout-fixed .btn:active{transform:translateY(1px)}
body.layout-fixed .btn-sm{min-height:32px;padding:.35rem .72rem;font-size:.79rem;border-radius:8px}
body.layout-fixed .btn-primary{--bs-btn-bg:var(--saas-primary);--bs-btn-border-color:var(--saas-primary);--bs-btn-hover-bg:var(--saas-primary-hover);--bs-btn-hover-border-color:var(--saas-primary-hover);--bs-btn-active-bg:var(--saas-primary-hover);--bs-btn-color:#fff;--bs-btn-hover-color:#fff}
body.layout-fixed .btn-outline-secondary{--bs-btn-color:var(--saas-text);--bs-btn-border-color:var(--saas-line-strong);--bs-btn-hover-bg:var(--saas-surface-soft);--bs-btn-hover-color:var(--saas-text);--bs-btn-hover-border-color:var(--saas-line-strong);--bs-btn-active-bg:var(--saas-surface-soft);--bs-btn-active-color:var(--saas-text);background:var(--saas-surface)}
body.layout-fixed .btn-outline-danger{--bs-btn-color:#b42318;--bs-btn-border-color:#f3c3c0;--bs-btn-hover-bg:#fdecec;--bs-btn-hover-color:#8f1d14;--bs-btn-hover-border-color:#eeb2ae;--bs-btn-active-bg:#fdecec;--bs-btn-active-color:#8f1d14;background:var(--saas-surface)}
:root[data-bs-theme=dark] body.layout-fixed .btn-outline-danger{--bs-btn-color:#fca5a5;--bs-btn-border-color:rgba(248,113,113,.35);--bs-btn-hover-bg:rgba(248,113,113,.16);--bs-btn-hover-color:#fecaca;--bs-btn-hover-border-color:rgba(248,113,113,.45);--bs-btn-active-bg:rgba(248,113,113,.16);--bs-btn-active-color:#fecaca;background:var(--saas-surface)}
body.layout-fixed .btn-link{font-weight:600;text-decoration:none}
body.layout-fixed .btn-group-sm>.btn{min-height:32px}

/* Lists, alerts, misc */
body.layout-fixed .list-group{border-radius:var(--saas-radius-sm);background:transparent}
body.layout-fixed .list-group-item{display:flex;align-items:flex-start;gap:.75rem;padding:.85rem 1.35rem;border-color:var(--saas-line);background:transparent;color:var(--saas-text);font-size:.87rem}
body.layout-fixed .list-group-item:first-child{border-top-left-radius:0;border-top-right-radius:0}
body.layout-fixed .list-group-item strong{display:block;font-size:.87rem;line-height:1.35}
body.layout-fixed .list-group-item small{display:block;margin-top:.12rem;font-size:.78rem;line-height:1.45;color:var(--saas-muted)}
body.layout-fixed .list-group-item>.badge{flex:none;align-self:flex-start}
body.layout-fixed .list-group-item .d-flex.flex-wrap .badge{font-size:.68rem}
body.layout-fixed [data-ns-cell]{padding:.9rem 1.35rem;border-top:1px solid var(--saas-line);gap:.6rem!important}
body.layout-fixed [data-ns-cell]>.badge{align-self:flex-start}
body.layout-fixed .alert{border-radius:var(--saas-radius-sm);border-width:1px;font-size:.87rem;padding:.85rem 1.1rem}
body.layout-fixed .alert-success{background:#eaf7f0;border-color:#c8e9d9;color:#0c5f3f}
body.layout-fixed .alert-danger{background:#fdeeee;border-color:#f5cccc;color:#8f1d14}
:root[data-bs-theme=dark] body.layout-fixed .alert-success{background:rgba(34,197,94,.12);border-color:rgba(34,197,94,.28);color:#8ee7b6}
:root[data-bs-theme=dark] body.layout-fixed .alert-danger{background:rgba(248,113,113,.12);border-color:rgba(248,113,113,.28);color:#fca5a5}
body.layout-fixed details{border-radius:var(--saas-radius-sm)}
body.layout-fixed details[open]>summary{margin-bottom:.25rem}
body.layout-fixed summary{color:var(--saas-muted);font-size:.83rem;font-weight:600;cursor:pointer}
body.layout-fixed summary::marker{color:var(--saas-muted)}
body.layout-fixed .dropdown-menu{border-color:var(--saas-line);border-radius:var(--saas-radius-sm);box-shadow:var(--saas-shadow-lg);padding:.35rem;font-size:.86rem;background:var(--saas-surface)}
body.layout-fixed .dropdown-item{border-radius:7px;padding:.45rem .6rem;color:var(--saas-text)}
body.layout-fixed .dropdown-item:hover{background:var(--saas-surface-soft);color:var(--saas-text)}
body.layout-fixed .dropdown-header{font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;color:var(--saas-muted)}
body.layout-fixed hr{border-color:var(--saas-line);opacity:1}
body.layout-fixed .just-saved{outline:2px solid color-mix(in srgb,var(--saas-primary) 45%,transparent);outline-offset:2px}

/* Charts */
body.layout-fixed .card canvas{max-width:100%}
body.layout-fixed .donut-wrap{position:relative;width:min(220px,100%);aspect-ratio:1;margin:0 auto}
body.layout-fixed .donut-wrap+.list-group{margin-top:.5rem}
body.layout-fixed .donut-wrap+.list-group .list-group-item{padding-left:0;padding-right:0}
body.layout-fixed .chart-shell{min-height:220px}

/* Login */
body.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem 1rem;background:radial-gradient(ellipse at 12% 8%,color-mix(in srgb,var(--saas-primary) 13%,var(--saas-bg)),transparent 46%),radial-gradient(ellipse at 88% 92%,color-mix(in srgb,var(--saas-primary) 9%,var(--saas-bg)),transparent 48%),var(--saas-bg)}
body.login-page .login-box{width:min(420px,100%)}
body.login-page .login-logo{margin-bottom:1.4rem;text-align:center}
body.login-page .login-logo a{display:inline-flex;align-items:center;gap:.55rem;font-size:1.15rem;font-weight:650;letter-spacing:-.02em;color:var(--saas-text)}
body.login-page .login-logo a b{font-weight:750}
body.login-page .login-logo img{border-radius:9px}
body.login-page .login-box .card{border:1px solid var(--saas-line);border-radius:18px;background:var(--saas-surface);box-shadow:var(--saas-shadow-lg);color:var(--saas-text);margin-bottom:0}
body.login-page .login-card-body{padding:2rem 1.85rem;border-radius:18px;background:transparent}
body.login-page .login-box-msg{padding:0 0 1.35rem;margin:0;color:var(--saas-muted);font-size:.88rem;line-height:1.55}
body.login-page .login-box-msg strong{color:var(--saas-text)}
body.login-page .form-control{min-height:44px;border-color:var(--saas-line);border-radius:10px;background:var(--saas-surface);color:var(--saas-text);font-size:.9rem}
body.login-page .input-group-text{border-color:var(--saas-line);background:var(--saas-surface-soft);color:var(--saas-muted);border-radius:0 10px 10px 0}
body.login-page .input-group>.form-control{border-radius:10px 0 0 10px}
body.login-page .input-group{margin-bottom:1rem!important}
body.login-page .btn-primary{min-height:44px;border-radius:10px;font-weight:650;--bs-btn-bg:var(--saas-primary);--bs-btn-border-color:var(--saas-primary);--bs-btn-hover-bg:var(--saas-primary-hover);--bs-btn-hover-border-color:var(--saas-primary-hover);--bs-btn-color:#fff;--bs-btn-hover-color:#fff}
body.login-page .card .small,body.login-page .login-card-body .small{color:var(--saas-muted)}
body.login-page>p,body.login-page .login-box>p{color:var(--saas-muted);font-size:.78rem;text-align:center;margin-top:1.25rem}

/* Content placed directly inside a card (no card-body wrapper) */
body.layout-fixed .card>h2,body.layout-fixed .card>h3,body.layout-fixed .card>p,body.layout-fixed .card>.form-text,body.layout-fixed .card>.notice,body.layout-fixed .card>.alert{margin-left:1.35rem;margin-right:1.35rem}
body.layout-fixed .card>h2:first-child,body.layout-fixed .card>h3:first-child{padding-top:1.25rem}
body.layout-fixed .card>h2,body.layout-fixed .card>h3{margin-top:1.15rem;margin-bottom:.35rem}
body.layout-fixed .card>p{margin-bottom:.9rem}
body.layout-fixed .card>.row{margin:0;padding:1.15rem 1.35rem;--bs-gutter-x:1rem;--bs-gutter-y:1rem}
body.layout-fixed .card>.d-flex.flex-wrap,body.layout-fixed .card>.d-flex.flex-column{margin-left:1.35rem;margin-right:1.35rem;margin-bottom:1.15rem}
body.layout-fixed .card>form+form,body.layout-fixed .card>.row+.card{margin-top:1rem}
body.layout-fixed .card>.table-responsive,body.layout-fixed .card>table{margin-bottom:0}
body.layout-fixed .card .row>.card{background:var(--saas-surface-soft);border-color:var(--saas-line);box-shadow:none}
body.layout-fixed .card .row>.card>span:first-child{display:block;color:var(--saas-muted);font-size:.7rem;font-weight:650;letter-spacing:.07em;line-height:1.4;text-transform:uppercase}
body.layout-fixed .card .row>.card>strong{display:block;margin-top:.25rem;font-size:1.35rem;font-weight:650;letter-spacing:-.02em;line-height:1.25;font-variant-numeric:tabular-nums}
body.layout-fixed .card .row>.card.p-3{background:var(--saas-surface-soft)!important;border:1px solid var(--saas-line)!important}
body.layout-fixed .card .d-flex.flex-column.gap-2>a{display:flex;flex-wrap:wrap;align-items:baseline;gap:.35rem;padding:.55rem .75rem;border:1px solid var(--saas-line);border-radius:var(--saas-radius-sm);background:var(--saas-surface-soft);font-weight:600}
body.layout-fixed .card .d-flex.flex-column.gap-2>a .form-text{font-weight:400}

/* Stat tiles: cards whose content is written straight into the card */
body.layout-fixed .row>.card:not(:has(.card-body)):not(.p-3){padding:1.15rem 1.25rem}
body.layout-fixed .row>.card>span:first-child{display:block;color:var(--saas-muted);font-size:.7rem;font-weight:650;letter-spacing:.07em;line-height:1.4;text-transform:uppercase}
body.layout-fixed .row>.card>strong{display:block;margin:.3rem 0 .35rem;font-size:1.45rem;font-weight:650;letter-spacing:-.02em;line-height:1.25;font-variant-numeric:tabular-nums}
body.layout-fixed .row>.card>span:last-child{display:block;color:var(--saas-muted);font-size:.78rem;line-height:1.45}
body.layout-fixed .row>.card>span+strong{margin-top:.2rem}

/* Responsive */
@media(max-width:1199.98px){body.layout-fixed .app-content-header{padding:1rem 1.15rem .2rem}body.layout-fixed .app-content{padding:.5rem 1.15rem 1.5rem}body.layout-fixed .display-6{font-size:1.7rem}}
@media(max-width:991.98px){body.layout-fixed .app-header form .input-group{width:min(220px,34vw)}body.layout-fixed .row-cols-xl-4>.card>.card-body:first-child{min-height:0}}
@media(max-width:767.98px){
  body.layout-fixed .app-header form[role=search]{display:none!important}
  body.layout-fixed [data-ns-cell] .d-flex.flex-nowrap{flex-wrap:wrap!important}
  body.layout-fixed [data-ns-cell] code{white-space:normal;word-break:break-all}
  html{font-size:14px}
  body.layout-fixed .app-header{min-height:58px;padding:.4rem .85rem}
  body.layout-fixed .app-header .navbar-nav:first-child .nav-item.d-none{display:none!important}
  body.layout-fixed .app-header .input-group{width:auto;min-width:0}
  body.layout-fixed .app-header form .input-group .form-control{width:110px}
  body.layout-fixed .app-content-header{padding:.9rem .9rem .2rem}
  body.layout-fixed .app-content-header h3{font-size:1.08rem}
  body.layout-fixed .app-content{padding:.4rem .9rem 1.35rem}
  body.layout-fixed .app-content-header>.container-fluid>.row{flex-direction:column;align-items:flex-start;gap:.35rem}
  body.layout-fixed .app-content-header .col-sm-6{width:100%}
  body.layout-fixed .app-content-header .breadcrumb.float-sm-end{float:none!important;justify-content:flex-start}
  body.layout-fixed .card-header{padding:.9rem 1rem;flex-wrap:wrap}
  body.layout-fixed .card-body{padding:1rem}
  body.layout-fixed .card>.form,body.layout-fixed .card>form,body.layout-fixed .card>form.row{padding:1rem}
  body.layout-fixed .table>:not(caption)>*>*{padding:.7rem .9rem}
  body.layout-fixed .display-6{font-size:1.55rem}
  body.layout-fixed .btn{width:auto}
  body.layout-fixed .card-header .d-flex.flex-wrap.gap-2{width:100%}
  body.layout-fixed .card-header .d-flex.flex-wrap.gap-2 .btn{flex:1 1 auto}
  body.layout-fixed .row.g-3{--bs-gutter-x:.9rem;--bs-gutter-y:.9rem}
  body.layout-fixed .app-footer{padding:.85rem .9rem}
  body.login-page .login-card-body{padding:1.5rem 1.25rem}
}
body.layout-fixed .progress{height:.48rem;border-radius:99px;background:var(--saas-surface-soft)}body.layout-fixed .progress-bar{border-radius:99px;background:var(--saas-primary)}
body.layout-fixed .alert{border-radius:10px}body.layout-fixed .badge{font-weight:650;letter-spacing:.01em}body.layout-fixed .breadcrumb{font-size:.8rem}
body.login-page{min-height:100vh;background:radial-gradient(ellipse at 15% 10%,color-mix(in srgb,var(--saas-primary) 12%,var(--saas-bg)),transparent 44%),var(--saas-bg)}body.login-page .login-logo a{font-size:1.55rem;font-weight:650;color:var(--saas-text)}body.login-page .login-logo img{vertical-align:middle}
body.login-page .login-box .card{border:1px solid var(--saas-line);border-radius:16px;background:var(--saas-surface);box-shadow:0 20px 60px rgba(25,36,60,.12);color:var(--saas-text)}body.login-page .login-card-body{border-radius:16px;background:transparent}body.login-page .login-box-msg{color:var(--saas-muted)}body.login-page .form-control{border-color:var(--saas-line);background:var(--saas-surface);color:var(--saas-text)}
/* IDE surfaces */
.ide-shell{overflow:hidden;border:1px solid var(--saas-line);border-radius:var(--saas-radius);background:var(--saas-surface);box-shadow:var(--saas-shadow)}.ide-grid{display:grid;grid-template-columns:minmax(210px,260px) minmax(0,1fr);min-height:620px}.ide-files{min-width:0;border-right:1px solid var(--saas-line);background:var(--saas-surface-soft)}.ide-files-head{padding:1rem 1.05rem;border-bottom:1px solid var(--saas-line);font-size:.75rem;font-weight:750;letter-spacing:.06em;text-transform:uppercase;color:var(--saas-muted)}.ide-file-list{display:grid;gap:3px;padding:.55rem}.ide-file{display:flex;align-items:center;gap:.65rem;min-width:0;padding:.65rem .7rem;border:0;border-radius:8px;color:var(--saas-text);text-decoration:none}.ide-file:hover{background:color-mix(in srgb,var(--saas-primary) 7%,var(--saas-surface))}.ide-file.active{background:color-mix(in srgb,var(--saas-primary) 13%,var(--saas-surface));color:var(--saas-primary);font-weight:650;box-shadow:inset 3px 0 var(--saas-primary)}.ide-file.locked{opacity:.58;cursor:not-allowed}.ide-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:500 .79rem/1.3 ui-monospace,SFMono-Regular,Menlo,monospace}.ide-file-meta{margin-left:auto;flex:none;color:var(--saas-muted);font-size:.67rem}.ide-file-icon{width:1rem;text-align:center;color:var(--saas-primary)}.ide-main{display:flex;min-width:0;flex-direction:column}.ide-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem;padding:.75rem 1rem;border-bottom:1px solid var(--saas-line);background:var(--saas-surface)}.ide-path{flex:1;min-width:150px;color:var(--saas-muted);font:500 .8rem/1.4 ui-monospace,SFMono-Regular,Menlo,monospace}.ide-status{display:inline-flex;align-items:center;gap:.4rem;color:var(--saas-muted);font-size:.76rem;white-space:nowrap}.ide-status:before{width:7px;height:7px;border-radius:50%;background:#24a879;content:''}.ide-status.is-dirty:before{background:#e2a439}.ide-toolbar-actions{display:flex;flex-wrap:wrap;gap:.45rem}.ide-editor-wrap{min-height:560px;background:#171a24}.ide-editor-wrap .CodeMirror{height:560px;font:13px/1.65 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.ide-editor-wrap .CodeMirror-gutters{border-right:1px solid #34394b;background:#1b1e29}.ide-editor-wrap .CodeMirror-linenumber{color:#778095}.ide-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:.6rem;padding:.65rem .9rem;border-top:1px solid var(--saas-line);color:var(--saas-muted);font-size:.72rem}.article-code-editor .CodeMirror{height:560px;min-height:560px;border:1px solid var(--saas-line);border-radius:9px;font:13px/1.65 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.article-code-editor .CodeMirror-gutters{border-right:1px solid #34394b;background:#1b1e29}.article-code-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.6rem;margin:.4rem 0 .7rem}.article-code-toolbar .btn-group{display:flex;gap:.4rem}
@media(max-width:767.98px){body.layout-fixed .app-content-header{padding:1rem .85rem .45rem}body.layout-fixed .app-content{padding:0 .85rem .9rem}.ide-grid{grid-template-columns:1fr}.ide-files{border-right:0;border-bottom:1px solid var(--saas-line)}.ide-file-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:210px;overflow:auto}.ide-toolbar{padding:.65rem}.ide-toolbar-actions{width:100%}.ide-toolbar-actions .btn{flex:1}.ide-editor-wrap .CodeMirror,.article-code-editor .CodeMirror{height:560px}}
