body{background:#f4f6fa;color:#172033;font-family:Segoe UI,Arial,sans-serif}.topbar{position:sticky;top:0;z-index:1030;background:#15233b;box-shadow:0 2px 10px rgba(20,35,60,.12)}.page-wrap{padding:30px 28px;min-height:calc(100vh - 120px)}.page-title{font-weight:700;letter-spacing:-.4px;margin-bottom:4px}.stat-card,.panel-card{background:#fff;border:1px solid #e8edf4;border-radius:14px;padding:20px;box-shadow:0 5px 18px rgba(20,35,60,.035)}.stat-label{font-size:.85rem;color:#758197;margin-bottom:8px}.stat-value{font-size:2rem;font-weight:700;line-height:1.2}.panel-card h5{font-weight:650;margin-bottom:18px}.table{font-size:.92rem}.table thead th{font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;color:#758197;border-bottom-color:#e6ebf2}.footer{text-align:center;color:#8a94a6;font-size:.8rem;padding:18px}.login-bg{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#e9eff8,#f8faff)}.login-card{width:min(420px,calc(100% - 32px));background:#fff;border-radius:18px;padding:34px;box-shadow:0 18px 55px rgba(28,49,82,.12)}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:62px;height:62px;border-radius:18px;background:#1d4ed8;color:#fff;font-weight:800;font-size:1.2rem}.btn-primary{background:#2458c6;border-color:#2458c6}.btn-primary:hover{background:#1947a8;border-color:#1947a8}@media(max-width:767px){.page-wrap{padding:20px 14px}.stat-value{font-size:1.6rem}}

/* Public extension directory: keep the header fixed and scroll only the results grid. */
.directory-page{height:100vh;overflow:hidden;display:flex;flex-direction:column}
.directory-page form{height:100%;min-height:0;display:flex;flex-direction:column}
.directory-topbar{position:fixed;top:0;left:0;right:0;z-index:1030;min-height:60px}
.directory-main{margin-top:60px;flex:1;min-height:0;display:flex;flex-direction:column;max-width:1200px;width:100%;margin-left:auto;margin-right:auto}
.directory-heading{flex:0 0 auto}
.directory-panel{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.directory-grid-scroll{flex:1;min-height:0;overflow:auto;border-top:1px solid #e8edf4}
.directory-grid-scroll table{margin-bottom:0}
.directory-grid-scroll thead th{position:sticky;top:0;z-index:2;background:#f8f9fc;box-shadow:0 1px 0 #e6ebf2}
.directory-page .footer{flex:0 0 auto;padding:8px}
@media(max-width:767px){.directory-main{padding-left:10px;padding-right:10px}.directory-panel{padding:12px}.directory-grid-scroll{max-height:none}}

/* Deka Group branding and refined sign-in layout */
.nav-brand-logo{width:42px;height:42px;object-fit:contain;background:#fff;border-radius:7px;padding:2px;flex:0 0 auto}
.navbar-brand span{white-space:normal;line-height:1.15}
.login-card{width:min(520px,calc(100% - 32px));padding:46px 48px;border-radius:22px}
.login-logo{display:block;width:190px;height:150px;object-fit:contain;margin:0 auto 8px}
.login-title{font-size:1.55rem;font-weight:700;letter-spacing:-.35px;color:#172033}
.login-card .form-label{font-weight:600;color:#344054}
.login-card .form-control-lg{min-height:52px;font-size:1rem}
.login-card .btn-lg{min-height:52px;font-weight:600}
.directory-topbar .nav-brand-logo{width:42px;height:42px}
@media(max-width:575px){.login-card{padding:32px 24px}.login-logo{width:155px;height:125px}.login-title{font-size:1.3rem}.nav-brand-logo{width:36px;height:36px}}

/* Public directory pager styling */
.directory-pager td{padding:14px 6px 2px!important;border:0!important;text-align:center!important}
.directory-pager a,.directory-pager span{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 10px;margin:0 3px;border:1px solid #dbe3ef;border-radius:9px;text-decoration:none;font-weight:600;font-size:.86rem;color:#2458c6;background:#fff;box-shadow:0 1px 2px rgba(20,35,60,.04)}
.directory-pager span{background:#2458c6;color:#fff;border-color:#2458c6}
.directory-pager a:hover{background:#eef4ff;border-color:#9bb8ef}
.directory-pager{background:#fff}
.directory-panel .directory-grid-scroll{padding-bottom:4px}
@media print{.directory-pager{display:none}}

/* Keep Print alongside Go, aligned with the directory filter controls. */
.directory-filter-row .btn{white-space:nowrap;min-height:38px}
@media(max-width:767px){
  .directory-filter-row .col-md-1{width:50%;flex:0 0 50%}
}
.app-version {
    display: block;
    font-size: 11px;
    opacity: 0.7;
    margin-top: 4px;
}
