:root {
    --jeebp-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --jeebp-font-heading: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --jeebp-soft: #f7f9fc;
    --jeebp-ink: #101828;
    --jeebp-muted: #64748b;
    --jeebp-green: #12a66a;
    --jeebp-border: #e2e8f0;
    --jeebp-primary: #0d6efd;
    --jeebp-primary-soft: #eaf3ff;
    --jeebp-focus: rgba(13, 110, 253, .16);
    --jeebp-shadow: 0 10px 28px rgba(15, 23, 42, .055);
    --jeebp-shadow-hover: 0 16px 40px rgba(15, 23, 42, .10);
}

.role-editor-panel,
.role-list-panel {
    overflow: visible;
}

.role-panel-header {
    display: grid;
    gap: .25rem;
    margin-bottom: 1rem;
}

.role-panel-header h2 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
}

.role-panel-header p {
    color: var(--jeebp-muted);
    margin: 0;
}

.role-panel-note {
    align-items: flex-start;
    background: linear-gradient(180deg, #f8fbff 0%, #f5f8fd 100%);
    border: 1px solid #dce7f6;
    border-radius: 14px;
    color: var(--jeebp-muted);
    display: flex;
    gap: .75rem;
    margin-bottom: 1rem;
    padding: .85rem .95rem;
}

.role-panel-note strong {
    color: var(--jeebp-ink);
    display: block;
    font-size: .92rem;
}

.role-panel-note span {
    display: block;
    font-size: .88rem;
    line-height: 1.5;
}

.role-panel-note .note-dot {
    background: var(--jeebp-primary);
    border-radius: 999px;
    flex: 0 0 10px;
    height: 10px;
    margin-top: .4rem;
}

.permission-list {
    display: grid;
    gap: .85rem;
}

.permission-group {
    background: #fff;
    border: 1px solid #dbe5f1;
    border-radius: 14px;
    box-shadow: var(--jeebp-shadow);
    overflow: hidden;
}

.permission-group-head {
    align-items: center;
    background: linear-gradient(180deg, #fafcff 0%, #f4f8fd 100%);
    border: 0;
    color: #0f172a;
    display: flex;
    font-weight: 700;
    justify-content: space-between;
    gap: 1rem;
    padding: .95rem 1rem;
    text-align: left;
    width: 100%;
}

.permission-group-head span {
    font-size: .98rem;
}

.permission-group-head small {
    color: #64748b;
    font-size: .82rem;
    font-weight: 700;
}

.permission-grid {
    display: grid;
    gap: .7rem;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    padding: 1rem;
}

.permission-check {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    gap: .7rem;
    min-height: 46px;
    padding: .7rem .8rem;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.permission-check:hover {
    border-color: rgba(13, 110, 253, .30);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
    transform: translateY(-1px);
}

.permission-check .form-check-input {
    flex: 0 0 auto;
    margin-left: 0;
    margin-top: 0;
}

.permission-check span {
    color: #172033;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.25;
}

.role-card-stack {
    display: grid;
    gap: 1rem;
}

.role-card {
    background: #fff;
    border: 1px solid #dbe5f1;
    border-radius: 18px;
    box-shadow: var(--jeebp-shadow);
    padding: 1rem;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.role-card:hover {
    border-color: rgba(13, 110, 253, .22);
    box-shadow: var(--jeebp-shadow-hover);
    transform: translateY(-1px);
}

.role-card-summary,
.role-card-actions {
    align-items: center;
    display: flex;
    gap: .75rem;
    justify-content: space-between;
}

.role-card-summary {
    align-items: flex-start;
}

.role-card-summary h3 {
    color: #0f172a;
    font-size: 1.02rem;
    font-weight: 800;
    margin: 0;
}

.role-card-summary p {
    color: #64748b;
    font-size: .92rem;
    margin: .25rem 0 0;
}

.role-permission-summary {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .9rem;
}

.role-permission-summary span {
    background: #eef4ff;
    border: 1px solid #d7e3ff;
    border-radius: 999px;
    color: #1e3a8a;
    font-size: .78rem;
    font-weight: 800;
    padding: .38rem .65rem;
}

.role-edit-form {
    border-top: 1px solid #e2e8f0;
    margin-top: 1rem;
    padding-top: 1rem;
}

.role-edit-form .form-label,
.role-panel-header p,
.role-panel-note,
.permission-group-head small {
    letter-spacing: .01em;
}

.role-section-label {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .65rem;
}

.role-section-label h4 {
    color: var(--jeebp-ink);
    font-size: .95rem;
    font-weight: 800;
    margin: 0;
}

.role-section-label small {
    color: var(--jeebp-muted);
    font-size: .82rem;
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .role-card-summary,
    .role-card-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .role-panel-note {
        flex-direction: column;
    }

    .permission-grid {
        grid-template-columns: 1fr;
    }
}

.coupon-note {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #166534;
    display: grid;
    gap: .15rem;
    padding: .75rem;
}

.coupon-note span {
    color: #4b5563;
    font-size: .86rem;
}

.checkout-coupon-feedback {
    border-radius: 8px;
    font-size: .88rem;
    font-weight: 700;
    margin-top: .65rem;
    padding: .65rem .8rem;
}

.checkout-coupon-feedback.success {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.checkout-coupon-feedback.danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.wallet-credit-box {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    padding: 1rem;
}

.checkout-summary-box {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    display: grid;
    gap: .65rem;
    padding: 1rem;
}

.checkout-summary-row,
.checkout-summary-total {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.checkout-summary-row span,
.checkout-summary-total span {
    color: var(--jeebp-muted);
}

.checkout-summary-row strong,
.checkout-summary-total strong {
    color: var(--jeebp-ink);
    white-space: nowrap;
}

.checkout-summary-row em {
    font-style: normal;
}

.checkout-summary-total {
    border-top: 1px solid var(--jeebp-border);
    margin-top: .25rem;
    padding-top: .85rem;
}

.checkout-summary-total span,
.checkout-summary-total strong {
    color: var(--jeebp-ink);
    font-size: 1.05rem;
    font-weight: 800;
}

.mini-stat {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 10px;
    display: grid;
    gap: .2rem;
    padding: .85rem;
}

.mini-stat span {
    color: var(--jeebp-muted);
    font-size: .82rem;
    font-weight: 700;
}

.mini-stat strong {
    color: var(--jeebp-ink);
    font-size: 1.15rem;
    font-weight: 800;
}

@keyframes bioSkeletonPulse {
    0% { opacity: .72; }
    50% { opacity: 1; }
    100% { opacity: .72; }
}

.btn-icon {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    justify-content: center;
}

.btn-icon svg {
    fill: currentColor;
    height: 16px;
    width: 16px;
}

.admin-visibility-options {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 12px;
    display: grid;
    gap: .5rem;
    padding: .75rem;
}

.admin-visibility-options .form-check {
    margin: 0;
}

.package-visibility-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.package-visibility-badges span,
.package-visibility-badges em {
    background: #eef6ff;
    border: 1px solid #cfe3ff;
    border-radius: 999px;
    color: #1558b0;
    font-size: .76rem;
    font-style: normal;
    font-weight: 800;
    padding: .2rem .5rem;
}

.package-visibility-badges em {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #64748b;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    background: var(--jeebp-soft);
    color: var(--jeebp-ink);
    font-family: var(--jeebp-font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.public-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.public-main {
    flex: 1 0 auto;
}

.public-footer {
    flex-shrink: 0;
    margin-top: auto;
}

.public-shell {
    background:
        radial-gradient(circle at top right, rgba(13, 110, 253, .04), transparent 26rem),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: var(--jeebp-ink);
}

.public-shell .section-kicker {
    letter-spacing: .04em;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-5,
.display-6,
.navbar-brand,
.jeebp-panel-brand,
.section-kicker,
.btn,
.form-label,
.app-nav-label,
.app-nav-link,
.table thead th,
.dashboard-card strong,
.price-line {
    font-family: var(--jeebp-font-heading);
    letter-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.18;
}

.text-muted {
    color: var(--jeebp-muted) !important;
}

p,
li,
td,
th,
label,
.badge {
    overflow-wrap: anywhere;
}

.lead {
    color: #526173;
    font-weight: 500;
}

.bg-dark,
.bg-primary,
.text-bg-dark,
.text-bg-primary,
.cta-section,
.admin-sidebar {
    color: #fff;
}

.bg-dark .text-muted,
.bg-primary .text-muted,
.text-bg-dark .text-muted,
.text-bg-primary .text-muted,
.cta-section .text-muted,
.admin-sidebar .text-muted {
    color: rgba(255, 255, 255, .76) !important;
}

a {
    text-decoration: none;
}

.navbar {
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(15, 23, 42, .05);
}

.public-navbar {
    backdrop-filter: saturate(180%) blur(14px);
    background: rgba(255, 255, 255, .92) !important;
    min-height: 74px;
    z-index: 1060;
}

.public-navbar .container {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: .75rem;
    justify-content: space-between;
    min-height: 74px;
    max-width: 1200px;
}

.public-desktop-nav {
    flex: 1 1 auto;
    min-width: 0;
}

.public-nav-layout {
    align-items: center;
    display: flex;
    gap: .95rem;
    justify-content: flex-end;
    width: 100%;
}

.public-nav-center {
    display: flex;
    justify-content: flex-end;
    min-width: 0;
}

.public-nav-end {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: .75rem;
}

.navbar-brand,
.jeebp-panel-brand {
    color: #0d6efd;
}

.admin-sidebar .jeebp-panel-brand,
.admin-sidebar .jeebp-panel-brand span {
    color: #fff !important;
}

.admin-sidebar .jeebp-panel-brand small {
    color: rgba(255, 255, 255, .62);
}

.jeebp-brand {
    align-items: center;
    display: inline-grid;
    gap: .7rem;
    grid-template-columns: 44px auto;
    letter-spacing: 0;
    line-height: 1.05;
}

.jeebp-brand img,
.jeebp-panel-brand img {
    border-radius: 8px;
    flex: 0 0 auto;
    image-rendering: auto;
    height: 44px;
    width: 44px;
}

.brand-copy {
    display: grid;
    gap: .08rem;
}

.brand-copy strong,
.jeebp-brand > span {
    color: var(--jeebp-ink);
    font-weight: 800;
}

.brand-copy strong {
    font-size: 1.06rem;
}

.brand-copy small {
    color: var(--jeebp-muted);
    font-family: var(--jeebp-font-body);
    font-size: .68rem;
    font-weight: 700;
    line-height: 1;
}

.jeebp-brand > span > span,
.brand-copy strong span {
    color: var(--jeebp-green);
}

.public-nav-links {
    flex-direction: row;
    gap: .1rem;
}

.public-navbar .nav-link {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    box-sizing: border-box;
    color: #334155;
    display: inline-flex;
    font-weight: 600;
    font-size: .95rem;
    justify-content: center;
    min-height: 40px;
    padding: .56rem .82rem;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.public-nav-links > .nav-item > .nav-link,
.public-nav-links > .nav-item > .public-nav-dropdown-toggle {
    min-width: 0;
}

.public-navbar .nav-link:hover,
.public-navbar .nav-link:focus-visible {
    background: rgba(248, 250, 252, .98);
    border-color: rgba(226, 232, 240, .92);
    color: var(--jeebp-primary);
}

.public-navbar .nav-link.active,
.public-nav-dropdown-toggle[aria-expanded="true"] {
    background: linear-gradient(180deg, rgba(243, 248, 255, .96) 0%, rgba(236, 245, 255, .92) 100%);
    border-color: rgba(191, 219, 254, .92);
    box-shadow: none;
    color: var(--jeebp-primary);
}

.public-nav-main {
    align-items: center;
    flex-direction: row;
    gap: .15rem;
}

.public-nav-dropdown-toggle {
    align-items: center;
    appearance: none;
    background: transparent;
    color: #475569;
    display: inline-flex;
    gap: .38rem;
    font-weight: 600;
    font-size: .95rem;
    line-height: 1;
    margin: 0;
    padding-bottom: .56rem;
    padding-top: .56rem;
    vertical-align: middle;
}

.public-nav-dropdown {
    background: rgba(255, 255, 255, .98);
    border-color: rgba(223, 231, 242, .95);
    border-radius: 16px;
    box-shadow: 0 20px 38px rgba(15, 23, 42, .10);
    margin-top: .5rem;
    min-width: 260px;
    padding: .45rem;
}

.public-nav-tools-dropdown {
    min-width: 310px;
}

.public-nav-dropdown .dropdown-divider {
    border-color: var(--jeebp-border);
    margin: .35rem .4rem;
}

.public-nav-dropdown .dropdown-item {
    border-radius: 10px;
    color: #334155;
    display: grid;
    font-size: .9rem;
    gap: .15rem;
    font-weight: 700;
    line-height: 1.25;
    padding: .7rem .8rem;
}

.public-nav-dropdown .dropdown-item small {
    color: #64748b;
    font-size: .78rem;
    font-weight: 600;
}

.public-nav-dropdown .dropdown-item:hover,
.public-nav-dropdown .dropdown-item:focus,
.public-nav-dropdown .dropdown-item.active {
    background: var(--jeebp-primary-soft);
    color: var(--jeebp-primary);
}

.public-nav-dropdown .dropdown-item:hover small,
.public-nav-dropdown .dropdown-item:focus small,
.public-nav-dropdown .dropdown-item.active small {
    color: #2563eb;
}

.public-desktop-nav .public-nav-actions {
    align-items: center;
    border-left: 1px solid rgba(226, 232, 240, .95);
    display: flex;
    flex: 0 0 auto;
    gap: .5rem;
    margin-left: .25rem;
    padding-left: .85rem;
}

.public-nav-utility {
    color: #64748b;
    font-weight: 600;
    min-height: 42px;
    padding-left: .2rem !important;
    padding-right: .2rem !important;
}

.public-nav-utility:hover,
.public-nav-utility:focus-visible,
.public-nav-utility.active {
    color: var(--jeebp-primary);
}

.public-nav-cta {
    min-height: 42px;
    white-space: nowrap;
}

.public-nav-cta-primary {
    box-shadow: 0 10px 18px rgba(13, 110, 253, .15);
    padding-left: 1rem;
    padding-right: 1rem;
}

.public-nav-cta-secondary {
    background: rgba(255, 255, 255, .96);
    border-color: #dbe7f4;
    box-shadow: none;
}

.public-nav-auth-btn {
    min-width: 142px;
}

.public-nav-primary-btn {
    flex: 0 0 auto;
    margin-left: 0;
    min-width: 126px;
}

.navbar-toggler {
    border-color: var(--jeebp-border);
    min-height: 40px;
}

.public-menu-toggle {
    align-items: center;
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 12px;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    height: 42px;
    justify-content: center;
    margin-left: auto;
    padding: 0;
    position: relative;
    z-index: 2;
    width: 44px;
}

.public-menu-toggle span {
    background: #172033;
    border-radius: 999px;
    display: block;
    height: 2px;
    width: 18px;
}

.offcanvas.public-mobile-drawer {
    --bs-offcanvas-width: min(320px, calc(100vw - 22px));
    background: #fff;
    border-left: 1px solid var(--jeebp-border);
    bottom: 0;
    height: 100dvh;
    left: auto !important;
    max-height: 100dvh;
    max-width: 320px;
    position: fixed;
    right: 0 !important;
    top: 0;
    transform: translateX(100%);
    transition: transform .24s ease-in-out, visibility .24s ease-in-out;
    width: var(--bs-offcanvas-width);
    z-index: 2000;
}

.offcanvas.public-mobile-drawer.show,
.offcanvas.public-mobile-drawer.showing {
    transform: translateX(0) !important;
}

.offcanvas.public-mobile-drawer.hiding {
    transform: translateX(100%) !important;
}

.offcanvas-backdrop {
    z-index: 1990;
}

.public-mobile-drawer .offcanvas-header {
    background: #fff;
    border-bottom: 1px solid var(--jeebp-border);
    padding: 1rem;
}

.public-mobile-drawer .offcanvas-body {
    background: #fff;
    overflow-y: auto;
    padding: 1rem;
}

.public-mobile-nav {
    display: grid;
    gap: .9rem;
}

.public-mobile-primary-nav {
    display: grid;
    gap: .75rem;
}

.public-mobile-links-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(249, 251, 255, .98) 100%);
    border: 1px solid #dfe8f4;
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .05);
    overflow: hidden;
}

.public-mobile-link,
.public-mobile-group-toggle,
.public-mobile-secondary a,
.public-mobile-group a {
    color: #172033;
    font-weight: 700;
}

.public-mobile-link,
.public-mobile-group-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #e6edf7;
    display: flex;
    justify-content: space-between;
    min-height: 56px;
    padding: .95rem 1rem;
}

.public-mobile-links-panel > .public-mobile-link:last-child,
.public-mobile-links-panel > .public-mobile-group:last-child .public-mobile-group-toggle {
    border-bottom: 0;
}

.public-mobile-cta {
    background: linear-gradient(135deg, #0d6efd 0%, #2563eb 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 26px rgba(13, 110, 253, .18);
    font-weight: 800;
}

.public-mobile-cta:hover,
.public-mobile-cta:focus {
    background: linear-gradient(135deg, #0b5ed7 0%, #1d4ed8 100%);
    border-color: transparent;
    color: #fff;
}

.public-mobile-cta.active {
    color: #fff;
}

.public-mobile-link.active,
.public-mobile-group-toggle:not(.collapsed),
.public-mobile-secondary a.active {
    background: linear-gradient(180deg, rgba(239, 246, 255, .96) 0%, rgba(228, 239, 255, .92) 100%);
    color: var(--jeebp-primary);
}

.public-mobile-group-toggle {
    width: 100%;
}

.public-mobile-group-toggle i {
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    display: block;
    height: 8px;
    transform: rotate(45deg);
    transition: transform .18s ease;
    width: 8px;
}

.public-mobile-group-toggle:not(.collapsed) i {
    transform: rotate(225deg);
}

.public-mobile-group .collapse,
.public-mobile-group .collapsing {
    padding: 0 0 .55rem;
}

.public-mobile-group a {
    background: #f8fbff;
    border: 1px solid #e4edf7;
    border-radius: 12px;
    color: #475569;
    display: block;
    font-size: .92rem;
    font-weight: 650;
    margin: .55rem 1rem 0;
    padding: .76rem .88rem;
}

.public-mobile-group a:hover,
.public-mobile-secondary a:hover {
    background: #f8fafc;
    color: var(--jeebp-primary);
}

.public-mobile-secondary {
    border-top: 1px solid var(--jeebp-border);
    display: grid;
    gap: .25rem;
    margin-top: .25rem;
    padding-top: .75rem;
}

.public-mobile-secondary a {
    padding: .65rem .9rem;
}

.public-mobile-actions {
    border-top: 1px solid var(--jeebp-border);
    display: grid;
    gap: .6rem;
    margin-top: .1rem;
    padding-top: 1rem;
}

.public-mobile-actions-label {
    color: #64748b;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.public-mobile-actions .btn {
    min-height: 50px;
}

.public-mobile-actions .btn-link {
    color: var(--jeebp-primary);
    font-weight: 700;
    justify-self: center;
    min-height: auto;
    padding-left: 0;
    padding-right: 0;
}

.public-mobile-login-link {
    padding-bottom: .1rem;
    padding-top: 0;
}

.btn {
    align-items: center;
    border-radius: 10px;
    display: inline-flex;
    justify-content: center;
    font-size: .96rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    overflow-wrap: normal;
    padding: .56rem .95rem;
    text-align: center;
    vertical-align: middle;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:focus-visible {
    box-shadow: 0 0 0 .22rem var(--jeebp-focus);
    outline: 0;
}

.btn-primary {
    box-shadow: 0 8px 16px rgba(13, 110, 253, .14);
}

.btn-sm {
    border-radius: 9px;
    font-size: .92rem;
    line-height: 1;
    padding: .38rem .72rem;
}

.btn.is-loading {
    cursor: wait;
    opacity: .82;
}

.alert {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
    font-weight: 600;
}

.form-control,
.form-select {
    background-color: #fff;
    border-color: var(--jeebp-border);
    border-radius: 8px;
    font-weight: 500;
    min-height: 44px;
    padding: .66rem .85rem;
}

.form-label {
    color: #475569;
    font-size: .86rem;
    font-weight: 600;
    margin-bottom: .45rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #7ab2ff;
    box-shadow: 0 0 0 .22rem var(--jeebp-focus);
}

.hero-section {
    background:
        radial-gradient(circle at top right, rgba(13, 110, 253, .10), transparent 32rem),
        #fff;
    padding: clamp(3.5rem, 7vw, 5.8rem) 0;
}

.hero-action-row,
.hero-proof-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.hero-action-row {
    margin-top: 1.35rem;
}

.hero-proof-pills {
    margin-top: 1rem;
}

.hero-proof-pills span {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 999px;
    color: #475569;
    font-size: .84rem;
    font-weight: 700;
    padding: .48rem .72rem;
}

.local-hero-visual {
    margin: 0 auto;
    max-width: 520px;
    position: relative;
}

.local-hero-visual > img {
    display: block;
    filter: drop-shadow(0 28px 46px rgba(15, 23, 42, .16));
    height: auto;
    width: 100%;
}

.hero-floating-card {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(219, 228, 240, .95);
    border-radius: 14px;
    box-shadow: 0 18px 34px rgba(15, 23, 42, .12);
    display: grid;
    gap: .1rem;
    max-width: 250px;
    padding: .85rem .95rem;
    position: absolute;
}

.hero-floating-card strong {
    color: var(--jeebp-ink);
    font-size: .95rem;
    line-height: 1.25;
}

.hero-floating-card span {
    color: #64748b;
    font-size: .8rem;
    font-weight: 650;
    line-height: 1.35;
}

.hero-floating-card-top {
    left: -1rem;
    top: 12%;
}

.hero-floating-card-bottom {
    align-items: center;
    bottom: 16%;
    display: flex;
    justify-content: space-between;
    min-width: 210px;
    right: -1rem;
}

.hero-floating-card-bottom strong {
    display: block;
    font-size: 1.75rem;
    line-height: 1;
    margin-top: .15rem;
}

.mini-spark {
    align-items: end;
    display: flex;
    gap: .22rem;
    height: 32px;
}

.mini-spark i {
    background: linear-gradient(180deg, var(--jeebp-green), var(--jeebp-primary));
    border-radius: 999px;
    display: block;
    width: 7px;
}

.mini-spark i:nth-child(1) {
    height: 16px;
}

.mini-spark i:nth-child(2) {
    height: 26px;
}

.mini-spark i:nth-child(3) {
    height: 21px;
}

.growth-action-card {
    background: linear-gradient(135deg, #eff6ff, #ecfdf5);
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    display: grid;
    gap: .2rem;
    margin: -1.25rem auto 0;
    max-width: 430px;
    padding: .85rem;
    position: relative;
    z-index: 2;
}

.growth-action-card span {
    color: var(--jeebp-green);
    font-size: .7rem;
    font-weight: 850;
    text-transform: uppercase;
}

.growth-action-card strong {
    color: var(--jeebp-ink);
    font-size: .96rem;
}

.growth-action-card small {
    color: #475569;
    line-height: 1.4;
}

.audit-hero {
    padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.audit-check-grid {
    display: grid;
    gap: .85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.5rem;
}

.audit-score-preview {
    display: grid;
    gap: .85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.5rem;
}

.audit-check-grid > div,
.audit-score-preview > div,
.audit-result-card,
.audit-step-card,
.audit-submit-panel,
.audit-lead-card {
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    box-shadow: var(--jeebp-shadow);
}

.audit-check-grid > div,
.audit-score-preview > div {
    padding: 1rem;
}

.audit-check-grid strong,
.audit-check-grid span,
.audit-score-preview strong,
.audit-score-preview span {
    display: block;
}

.audit-check-grid strong,
.audit-score-preview strong {
    color: var(--jeebp-ink);
    margin-bottom: .35rem;
}

.audit-check-grid span,
.audit-score-preview span {
    color: #64748b;
    font-size: .9rem;
    line-height: 1.45;
}

.audit-lead-card {
    padding: clamp(1.1rem, 2vw, 1.5rem);
}

.audit-result-card {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.audit-result-card.is-ready {
    border-color: rgba(18, 166, 106, .28);
    box-shadow: 0 22px 50px rgba(18, 166, 106, .12);
}

.audit-score-ring {
    align-items: baseline;
    background:
        linear-gradient(#fff, #fff) padding-box,
        conic-gradient(var(--jeebp-green) calc(var(--score) * 1%), #e2e8f0 0) border-box;
    border: 9px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    height: 132px;
    justify-content: center;
    margin: 1rem 0;
    width: 132px;
}

.audit-score-ring strong {
    align-self: center;
    color: var(--jeebp-ink);
    font-size: 2.35rem;
    font-weight: 850;
    line-height: 1;
}

.audit-score-ring span {
    align-self: center;
    color: #64748b;
    font-weight: 800;
    margin-left: .1rem;
}

.audit-gap-list,
.audit-submit-points,
.audit-admin-gaps {
    display: grid;
    gap: .5rem;
}

.audit-gap-list span,
.audit-submit-points span,
.audit-admin-gaps span {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    color: #475569;
    font-size: .88rem;
    font-weight: 650;
    line-height: 1.4;
    padding: .6rem .75rem;
}

.audit-tool-section {
    background: #f8fafc;
}

.audit-tool-head {
    align-items: end;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.audit-tool-head p {
    color: #64748b;
    max-width: 420px;
}

.audit-form-grid {
    align-items: start;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
}

.audit-form-main,
.audit-question-list {
    display: grid;
    gap: 1rem;
}

.audit-step-card,
.audit-submit-panel {
    padding: clamp(1rem, 2vw, 1.35rem);
}

.audit-submit-panel {
    position: sticky;
    top: 96px;
}

.audit-step-title {
    align-items: start;
    display: flex;
    gap: .8rem;
    margin-bottom: 1rem;
}

.audit-step-title > span {
    align-items: center;
    background: #eaf3ff;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    color: #0d6efd;
    display: inline-flex;
    flex: 0 0 38px;
    font-weight: 850;
    height: 38px;
    justify-content: center;
}

.audit-step-title h3,
.audit-submit-panel h3 {
    font-size: 1.12rem;
    margin: 0;
}

.audit-step-title p,
.audit-submit-panel p {
    color: #64748b;
    margin: .2rem 0 0;
}

.audit-question-card {
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    margin: 0;
    padding: 1rem;
}

.audit-question-card legend {
    color: var(--jeebp-ink);
    float: none;
    font-size: .98rem;
    font-weight: 800;
    margin-bottom: .8rem;
}

.audit-option-grid {
    display: grid;
    gap: .65rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.audit-option {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    gap: .55rem;
    min-height: 48px;
    padding: .65rem .75rem;
}

.audit-option:has(input:checked) {
    background: #eaf3ff;
    border-color: #93c5fd;
}

.audit-option input {
    flex: 0 0 auto;
}

.audit-option span {
    color: #334155;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.3;
}

.section-kicker {
    color: var(--jeebp-green);
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.page-intro {
    max-width: 720px;
}

.public-page-hero {
    background:
        radial-gradient(circle at 0% 0%, rgba(13, 110, 253, .06), transparent 24rem),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-bottom: 1px solid rgba(219, 229, 241, .75);
}

.page-hero-copy .lead,
.contact-page-copy > p {
    max-width: 620px;
}

.page-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1.1rem;
}

.page-hero-tags span {
    align-items: center;
    background: rgba(255, 255, 255, .88);
    border: 1px solid #dbe7f6;
    border-radius: 999px;
    color: #45607f;
    display: inline-flex;
    font-size: .86rem;
    font-weight: 650;
    min-height: 38px;
    padding: .45rem .9rem;
}

.page-story-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    min-height: 100%;
    padding: clamp(1.4rem, 2.4vw, 2rem);
}

.section-heading-row {
    align-items: end;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1.35rem;
}

.feature-box,
.service-tile,
.metric-box,
.contact-card,
.pricing-card,
.dashboard-card,
.dashboard-panel {
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    box-shadow: var(--jeebp-shadow);
    color: var(--jeebp-ink);
}

.feature-box,
.contact-card,
.dashboard-panel {
    padding: clamp(1.05rem, 2vw, 1.5rem);
}

.feature-box p,
.metric-box span {
    color: var(--jeebp-muted);
}

.service-tile {
    padding: 1.25rem;
    overflow: hidden;
    position: relative;
    text-align: left;
    transition: transform .18s ease, box-shadow .18s ease;
}

.service-tile::after {
    background: radial-gradient(circle, rgba(13, 110, 253, .12), transparent 68%);
    content: "";
    height: 120px;
    position: absolute;
    right: -54px;
    top: -54px;
    width: 120px;
}

.service-visual-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: .75rem;
    position: relative;
    z-index: 1;
}

.service-visual-head > span {
    color: #cbd5e1;
    font-size: .85rem;
    font-weight: 850;
}

.service-tile p {
    color: var(--jeebp-muted);
    font-size: .86rem;
    line-height: 1.45;
    margin: .5rem 0 0;
    position: relative;
    z-index: 1;
}

.service-tile h3 {
    position: relative;
    z-index: 1;
}

.service-tile:hover,
.pricing-card:hover,
.dashboard-card:hover {
    box-shadow: var(--jeebp-shadow-hover);
    transform: translateY(-2px);
}

.service-icon {
    align-items: center;
    background: linear-gradient(135deg, #eaf3ff, #ecfdf5);
    border: 1px solid #dbeafe;
    border-radius: 16px;
    color: var(--jeebp-primary);
    display: inline-flex;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.row > div:nth-child(2n) > .service-tile .service-icon {
    color: var(--jeebp-green);
}

.service-icon svg {
    fill: none;
    height: 26px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
    width: 26px;
}

.pricing-card {
    overflow: hidden;
    position: relative;
}

.pricing-card .card-body {
    padding: 1.5rem;
}

.pricing-badge {
    background: var(--jeebp-green);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: .35rem .8rem;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.price-line {
    color: var(--jeebp-ink);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 1rem 0;
}

.price-line span {
    color: var(--jeebp-muted);
    font-size: .95rem;
    font-weight: 500;
}

.pricing-hero {
    background:
        linear-gradient(135deg, rgba(13, 110, 253, .08), rgba(18, 166, 106, .08)),
        #ffffff;
    border-bottom: 1px solid var(--jeebp-border);
    padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.pricing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.5rem;
}

.pricing-offer-panel {
    background: #ffffff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    box-shadow: var(--jeebp-shadow-hover);
    display: grid;
    gap: .5rem;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.pricing-offer-panel span {
    color: var(--jeebp-green);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.pricing-offer-panel strong {
    color: var(--jeebp-ink);
    font-size: clamp(2rem, 6vw, 3.25rem);
    line-height: 1;
}

.pricing-offer-panel p {
    color: #334155;
    font-size: 1.05rem;
    margin: 0;
}

.pricing-offer-panel small {
    color: var(--jeebp-muted);
}

.pricing-aida-strip {
    background: #f8fafc;
    border-bottom: 1px solid var(--jeebp-border);
    padding: 1.25rem 0;
}

.pricing-proof-item {
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    display: flex;
    gap: .85rem;
    height: 100%;
    padding: 1rem;
}

.pricing-proof-item span {
    align-items: center;
    background: var(--jeebp-primary-soft);
    border-radius: 999px;
    color: var(--jeebp-primary);
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 800;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.pricing-proof-item strong {
    display: block;
    font-size: .98rem;
    margin-bottom: .25rem;
}

.pricing-proof-item p {
    color: var(--jeebp-muted);
    font-size: .9rem;
    margin: 0;
}

.pricing-card-v2 {
    border-color: #dbe4f0;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.pricing-card-v2.featured {
    border-color: var(--jeebp-primary);
    box-shadow: 0 18px 46px rgba(13, 110, 253, .14);
}

.pricing-card-head {
    border-bottom: 1px solid var(--jeebp-border);
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
}

.pricing-card-head span {
    color: var(--jeebp-green);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.pricing-card-head h3 {
    font-size: 1.35rem;
    margin: .35rem 0;
}

.pricing-card-head p {
    color: var(--jeebp-muted);
    margin: 0;
}

.pricing-best-for {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    margin-top: .85rem;
    padding: .75rem;
}

.pricing-best-for strong {
    color: var(--jeebp-green);
    display: block;
    font-size: .72rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.pricing-best-for span {
    color: #334155;
    display: block;
    font-size: .88rem;
    line-height: 1.35;
    margin-top: .2rem;
}

.pricing-price-block {
    margin-bottom: .9rem;
}

.pricing-original {
    color: #94a3b8;
    font-size: .98rem;
    font-weight: 700;
    text-decoration: line-through;
}

.pricing-current {
    color: var(--jeebp-ink);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    line-height: 1;
}

.pricing-price-block small {
    color: var(--jeebp-muted);
    font-weight: 600;
}

.pricing-coupon-chip {
    align-items: center;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #166534;
    display: flex;
    gap: .6rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: .65rem .75rem;
}

.pricing-coupon-chip strong {
    font-size: .86rem;
}

.pricing-coupon-chip span {
    font-size: .84rem;
    font-weight: 700;
}

.pricing-feature-list {
    display: grid;
    gap: .65rem;
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

.pricing-feature-list li {
    color: #475569;
    display: flex;
    gap: .55rem;
}

.pricing-feature-list li::before {
    color: var(--jeebp-green);
    content: "✓";
    font-weight: 900;
}

.pricing-card-cta span {
    color: var(--jeebp-muted);
    display: block;
    font-size: .8rem;
    margin-top: .65rem;
    text-align: center;
}

.pricing-feature-prompt {
    align-items: center;
    background: linear-gradient(135deg, rgba(13, 110, 253, .05), rgba(16, 185, 129, .06));
    border: 1px solid rgba(13, 110, 253, .14);
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1rem;
    padding: 1rem 1.15rem;
}

.pricing-feature-prompt .section-kicker {
    margin-bottom: .2rem;
}

.pricing-feature-prompt h3 {
    line-height: 1.2;
}

.pricing-feature-prompt p {
    max-width: 780px;
}

.pricing-clarity-strip {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    justify-content: center;
    margin: 1rem auto 0;
    max-width: 920px;
}

.pricing-clarity-strip span {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 999px;
    color: #475569;
    font-size: .84rem;
    font-weight: 700;
    padding: .5rem .75rem;
}

.pricing-urgency-section {
    background: #0f172a;
    padding: 3rem 0;
}

.pricing-urgency-box {
    align-items: center;
    color: #fff;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
}

.pricing-urgency-box h2 {
    font-size: clamp(1.6rem, 4vw, 2.35rem);
    margin: .4rem 0;
    max-width: 860px;
}

.pricing-urgency-box p {
    color: #cbd5e1;
    margin: 0;
    max-width: 820px;
}

.after-payment-grid,
.process-steps,
.about-principles,
.trust-strip-grid {
    display: grid;
    gap: 1rem;
}

.after-payment-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.after-payment-grid div,
.process-steps div,
.about-principles div,
.trust-strip-grid div {
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    box-shadow: var(--jeebp-shadow);
    min-width: 0;
}

.after-payment-grid div {
    padding: 1rem;
}

.after-payment-grid strong {
    align-items: center;
    background: var(--jeebp-primary-soft);
    border-radius: 999px;
    color: var(--jeebp-primary);
    display: inline-flex;
    font-size: .82rem;
    height: 30px;
    justify-content: center;
    margin-bottom: .65rem;
    width: 30px;
}

.after-payment-grid span {
    color: #334155;
    display: block;
    font-weight: 700;
    line-height: 1.3;
}

.process-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.process-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-steps div {
    padding: 1.15rem;
    position: relative;
}

.process-steps span {
    align-items: center;
    background: var(--jeebp-primary);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-weight: 800;
    height: 34px;
    justify-content: center;
    margin-bottom: .8rem;
    width: 34px;
}

.process-steps strong,
.about-principles strong,
.trust-strip-grid strong {
    color: var(--jeebp-ink);
    display: block;
}

.process-steps p,
.about-principles p {
    color: var(--jeebp-muted);
    font-size: .9rem;
    line-height: 1.5;
    margin: .45rem 0 0;
}

.trust-strip {
    background:
        radial-gradient(circle at 100% 0%, rgba(16, 185, 129, .08), transparent 18rem),
        linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
    border-top: 1px solid rgba(219, 229, 241, .75);
    border-bottom: 1px solid rgba(219, 229, 241, .75);
    color: var(--jeebp-ink);
    padding: 1.15rem 0;
}

.trust-strip-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-strip-grid div {
    background: rgba(255, 255, 255, .92);
    border-color: #dbe7f6;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
    padding: 1rem 1.05rem;
}

.trust-strip-grid strong {
    color: var(--jeebp-ink);
    font-size: .92rem;
}

.trust-strip-grid span {
    color: #5f7187;
    display: block;
    font-size: .8rem;
    line-height: 1.35;
    margin-top: .2rem;
}

.metric-box {
    padding: 1.5rem;
    text-align: center;
}

.metric-box-insight {
    align-items: flex-start;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    display: flex;
    flex-direction: column;
    gap: .45rem;
    text-align: left;
}

.metric-index {
    align-items: center;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: var(--jeebp-primary);
    display: inline-flex;
    font-size: .72rem;
    font-weight: 800;
    justify-content: center;
    min-width: 42px;
    padding: .35rem .55rem;
}

.metric-box strong {
    display: block;
    font-size: 1.45rem;
    margin-bottom: .35rem;
}

.metric-box-compact {
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-color: #d8e4f3;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 86px;
    padding: .85rem .6rem;
    position: relative;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.metric-box-reward {
    min-height: 118px;
    padding: 1.25rem 1rem 1.1rem;
}

.reward-metrics-two {
    max-width: 560px;
}

.metric-box-compact::before {
    background: var(--jeebp-primary);
    border-radius: 999px;
    content: "";
    height: 3px;
    left: .75rem;
    position: absolute;
    right: .75rem;
    top: .55rem;
}

.reward-metrics > div:nth-child(2) .metric-box-compact::before {
    background: var(--jeebp-green);
}

.metric-box-compact:hover {
    border-color: #c7d7eb;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .09);
    transform: translateY(-1px);
}

.metric-box-compact strong {
    color: var(--jeebp-ink);
    font-size: .98rem;
    line-height: 1.1;
    margin-bottom: .22rem;
    white-space: nowrap;
}

.metric-box-reward strong {
    font-size: 1.55rem;
    margin-bottom: 0;
    order: 2;
}

.metric-box-compact span {
    display: block;
    color: var(--jeebp-muted);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: normal;
    text-wrap: balance;
}

.metric-box-reward span {
    color: var(--jeebp-ink-soft);
    font-size: .78rem;
    letter-spacing: .02em;
    margin-bottom: .4rem;
    order: 1;
    text-transform: uppercase;
}

.reward-metrics-note {
    color: var(--jeebp-muted);
    font-size: .86rem;
    line-height: 1.5;
    margin: .9rem 0 0;
    max-width: 560px;
}

.cta-section {
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, .18), transparent 20rem),
        linear-gradient(135deg, #0d6efd 0%, #0b5ed7 52%, #12a66a 135%);
    color: #fff;
    padding: clamp(3rem, 6vw, 4.75rem) 0 !important;
}

.cta-section p {
    color: rgba(255, 255, 255, .84) !important;
}

.cta-section .btn {
    box-shadow: 0 16px 34px rgba(15, 23, 42, .18);
}

.growth-visual {
    background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
    border: 1px solid #dbeafe;
    border-radius: 8px;
    padding: 1.25rem;
}

.local-search-card {
    align-items: center;
    background: #0f172a;
    border-radius: 8px;
    color: #fff;
    display: flex;
    gap: .85rem;
    margin-bottom: 1rem;
    padding: .9rem;
}

.local-search-card strong,
.local-search-card span {
    display: block;
}

.local-search-card span {
    color: rgba(255, 255, 255, .72);
    font-size: .82rem;
}

.map-pin-mini {
    align-items: center;
    background: linear-gradient(135deg, var(--jeebp-primary), var(--jeebp-green));
    border-radius: 12px 12px 12px 4px;
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 900;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.growth-visual-header {
    display: flex;
    gap: .4rem;
    margin-bottom: 1rem;
}

.growth-visual-header span {
    background: #cbd5e1;
    border-radius: 50%;
    height: 10px;
    width: 10px;
}

.growth-score,
.growth-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.growth-score {
    border-bottom: 1px solid var(--jeebp-border);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.growth-score span {
    color: var(--jeebp-green);
    font-size: 2rem;
    font-weight: 700;
}

.growth-row {
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    margin-bottom: .7rem;
    padding: .8rem;
}

.growth-row span {
    color: var(--jeebp-muted);
}

.growth-bars {
    align-items: end;
    display: flex;
    gap: .75rem;
    height: 120px;
    padding-top: 1rem;
}

.growth-bars i {
    background: linear-gradient(180deg, #12a66a, #0d6efd);
    border-radius: 8px 8px 0 0;
    flex: 1;
}

.not-found-section {
    align-items: center;
    background:
        radial-gradient(circle at top left, rgba(13, 110, 253, .12), transparent 34rem),
        linear-gradient(180deg, #fff, var(--jeebp-soft));
    display: flex;
    min-height: 68vh;
    padding: clamp(3rem, 7vw, 6rem) 0;
}

.not-found-card {
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--jeebp-border);
    border-radius: 18px;
    box-shadow: var(--jeebp-shadow);
    margin: 0 auto;
    max-width: 760px;
    padding: clamp(1.5rem, 4vw, 3rem);
    text-align: center;
}

.not-found-code {
    color: rgba(13, 110, 253, .14);
    font-size: clamp(4.5rem, 16vw, 8rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: .85;
    margin-bottom: .75rem;
}

.not-found-card h1 {
    color: var(--jeebp-ink);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 850;
    line-height: 1.06;
    margin: .75rem auto 1rem;
    max-width: 680px;
}

.not-found-card p {
    color: var(--jeebp-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0 auto 1.5rem;
    max-width: 620px;
}

.not-found-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
}

.app-shell {
    background: var(--jeebp-soft);
    min-height: 100vh;
}

.app-content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-sidebar {
    flex: 0 0 248px;
    min-height: 100vh;
    padding: 1rem .85rem;
    position: sticky;
    top: 0;
    width: 248px;
    z-index: 20;
}

.user-sidebar {
    background: #fff;
    box-shadow: 4px 0 20px rgba(15, 23, 42, .045);
}

.admin-sidebar {
    background: #111827 !important;
    box-shadow: 4px 0 18px rgba(15, 23, 42, .12);
}

.app-sidebar-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.jeebp-panel-brand {
    align-items: center;
    display: inline-grid;
    gap: .08rem .55rem;
    grid-template-columns: 32px auto;
    line-height: 1.1;
}

.jeebp-panel-brand img {
    grid-row: span 2;
    height: 32px;
    width: 32px;
}

.jeebp-panel-brand span {
    font-size: 1rem;
    font-weight: 800;
}

.jeebp-panel-brand small {
    color: #94a3b8;
    font-family: var(--jeebp-font-body);
    font-size: .66rem;
    font-weight: 700;
    line-height: 1;
}

.app-nav-scroll {
    display: grid;
    gap: .48rem;
}

.app-nav-group {
    border: 1px solid transparent;
    border-radius: 8px;
    display: grid;
    gap: .18rem;
    padding: .22rem;
}

.user-sidebar .app-nav-group.active {
    background: #f1f6ff;
    border-color: #cfe0ff;
}

.admin-sidebar .app-nav-group.active {
    background: rgba(255, 255, 255, .09);
    border-color: rgba(255, 255, 255, .16);
}

.app-nav-label {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #475569;
    display: flex;
    font-size: .7rem;
    font-weight: 700;
    justify-content: space-between;
    letter-spacing: 0;
    min-height: 34px;
    padding: .48rem .58rem;
    text-align: left;
    text-transform: uppercase;
    width: 100%;
}

.app-nav-label-meta,
.app-drawer-meta {
    align-items: center;
    display: inline-flex;
    gap: .45rem;
}

.app-nav-label-meta small,
.app-drawer-meta small {
    align-items: center;
    background: rgba(255, 255, 255, .10);
    border-radius: 999px;
    color: inherit;
    display: inline-flex;
    font-size: .66rem;
    font-weight: 800;
    height: 20px;
    justify-content: center;
    min-width: 20px;
    padding: 0 .35rem;
}

.user-sidebar .app-nav-label-meta small {
    background: rgba(13, 110, 253, .09);
    color: #0b5ed7;
}

.admin-sidebar .app-nav-label {
    color: rgba(255, 255, 255, .88);
}

.app-nav-toggle:hover {
    background: rgba(13, 110, 253, .09);
    color: #0b5ed7;
}

.admin-sidebar .app-nav-toggle:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.app-nav-caret {
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    display: inline-block;
    height: 7px;
    opacity: .9;
    transform: rotate(45deg);
    transition: transform .18s ease;
    width: 7px;
}

.app-nav-toggle:not(.collapsed) .app-nav-caret {
    transform: rotate(225deg);
}

.app-nav-collapse {
    gap: .16rem;
    padding-top: .18rem;
}

.app-nav-collapse.show {
    display: grid;
}

.app-nav-link {
    align-items: center;
    border-radius: 8px;
    color: #334155;
    display: flex;
    font-size: .9rem;
    font-weight: 600;
    min-height: 36px;
    padding: .48rem .65rem .48rem .9rem;
    position: relative;
    white-space: nowrap;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.app-nav-link span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-nav-badge {
    align-items: center;
    background: var(--jeebp-primary);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: .68rem;
    font-weight: 800;
    height: 20px;
    justify-content: center;
    margin-left: auto;
    min-width: 20px;
    padding: 0 .35rem;
}

.admin-sidebar .app-nav-link {
    color: rgba(255, 255, 255, .94);
}

.app-nav-link:hover {
    background: rgba(13, 110, 253, .11);
    color: #0b5ed7;
    transform: translateX(1px);
}

.admin-sidebar .app-nav-link:hover {
    background: rgba(255, 255, 255, .13);
    color: #fff;
}

.app-nav-link.active {
    background: rgba(13, 110, 253, .14);
    color: #0b5ed7;
    box-shadow: none;
}

.admin-sidebar .app-nav-link.text-warning {
    color: #fbbf24 !important;
}

.admin-sidebar .app-nav-link.text-danger {
    color: #fca5a5 !important;
}

.app-nav-link.active::before {
    background: var(--jeebp-primary);
    border-radius: 999px;
    bottom: .55rem;
    content: "";
    left: .45rem;
    position: absolute;
    top: .55rem;
    width: 3px;
}

.admin-sidebar .app-nav-link.active {
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.admin-sidebar .app-nav-group.active .app-nav-label {
    color: #fff;
}

.app-nav-actions {
    border-top: 1px solid var(--jeebp-border);
    margin-top: .35rem;
    padding-top: .85rem;
}

.admin-sidebar .app-nav-actions {
    border-top-color: rgba(255, 255, 255, .12);
}

.app-mobile-menu {
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .14);
    max-height: calc(100vh - 92px);
    min-width: 240px;
    overflow-y: auto;
    padding: .5rem;
}

.app-mobile-menu .dropdown-header {
    color: #475569;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 0;
    padding: .45rem .75rem .25rem;
}

.app-mobile-menu .dropdown-header.active {
    color: var(--jeebp-primary);
}

.admin-nav-drawer .app-drawer-label {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 12px;
    color: #e2e8f0;
    display: flex;
    font-size: .72rem;
    font-weight: 800;
    justify-content: space-between;
    letter-spacing: .02em;
    padding: .6rem .65rem;
    text-transform: uppercase;
    width: 100%;
}

.admin-nav-drawer .app-drawer-group {
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    display: grid;
    gap: .15rem;
    margin-bottom: .55rem;
    padding: .18rem;
}

.admin-nav-drawer .app-drawer-group.active {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .14);
}

.admin-nav-drawer .app-drawer-link {
    border-radius: 10px;
}

.admin-sidebar .app-mobile-menu .dropdown-header.active,
.app-mobile-menu .dropdown-header.active {
    font-weight: 700;
}

.app-mobile-menu h6.dropdown-header {
    color: var(--jeebp-ink);
    font-size: .9rem;
    padding-top: .25rem;
    text-transform: none;
}

.app-mobile-menu .dropdown-item {
    border-radius: 8px;
    font-weight: 600;
    padding: .55rem .75rem .55rem 1rem;
}

.app-mobile-menu .dropdown-item.active {
    background: #0d6efd;
    color: #fff;
}

.dropdown-menu {
    color: var(--jeebp-ink);
}

.app-menu-toggle {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 10px;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    height: 38px;
    justify-content: center;
    padding: 0;
    width: 42px;
}

.app-menu-toggle span {
    background: #fff;
    border-radius: 999px;
    display: block;
    height: 2px;
    width: 18px;
}

.user-menu-toggle {
    background: var(--jeebp-primary);
    border-color: var(--jeebp-primary);
}

.app-nav-drawer {
    --bs-offcanvas-width: min(360px, calc(100vw - 24px));
    border: 0;
    bottom: 0;
    box-shadow: 18px 0 48px rgba(15, 23, 42, .18);
    height: 100dvh;
    left: 0;
    max-height: 100dvh;
    max-width: 360px;
    position: fixed;
    right: auto;
    top: 0;
    width: var(--bs-offcanvas-width);
    z-index: 2000;
}

.admin-nav-drawer {
    background: #111827;
    color: #fff;
}

.user-nav-drawer {
    background: #fff;
    color: var(--jeebp-ink);
}

.app-nav-drawer .offcanvas-header {
    border-bottom: 1px solid rgba(148, 163, 184, .24);
    min-height: 68px;
}

.app-nav-drawer .offcanvas-body {
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    padding: .85rem;
}

.app-drawer-current {
    border-radius: 8px;
    color: #64748b;
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: .85rem;
    padding: .65rem .75rem;
}

.admin-nav-drawer .app-drawer-current {
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .8);
}

.user-nav-drawer .app-drawer-current {
    background: #f1f5f9;
}

.app-drawer-nav {
    display: grid;
    gap: .65rem;
}

.app-drawer-group {
    border: 1px solid transparent;
    border-radius: 10px;
    display: grid;
    gap: .2rem;
    padding: .3rem;
}

.admin-nav-drawer .app-drawer-group.active {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .14);
}

.user-nav-drawer .app-drawer-group.active {
    background: #f1f6ff;
    border-color: #cfe0ff;
}

.app-drawer-label {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #475569;
    display: flex;
    font-size: .76rem;
    font-weight: 800;
    justify-content: space-between;
    min-height: 38px;
    padding: .55rem .65rem;
    text-align: left;
    text-transform: uppercase;
    width: 100%;
}

.app-drawer-toggle:not(.collapsed) .app-nav-caret {
    transform: rotate(225deg);
}

.admin-nav-drawer .app-drawer-label {
    color: rgba(255, 255, 255, .88);
}

.user-nav-drawer .app-drawer-label {
    background: #f8fafc;
}

.admin-nav-drawer .app-drawer-label {
    background: rgba(255, 255, 255, .06);
}

.app-drawer-collapse.show {
    display: grid;
    gap: .2rem;
}

.app-drawer-link {
    align-items: center;
    border-radius: 8px;
    color: #334155;
    display: flex;
    font-size: .95rem;
    font-weight: 700;
    gap: .75rem;
    justify-content: space-between;
    min-height: 42px;
    padding: .65rem .7rem;
    text-decoration: none;
}

.admin-nav-drawer .app-drawer-link {
    color: rgba(255, 255, 255, .92);
}

.app-drawer-link:hover,
.app-drawer-link.active {
    background: rgba(13, 110, 253, .12);
    color: var(--jeebp-primary);
}

.admin-nav-drawer .app-drawer-link:hover,
.admin-nav-drawer .app-drawer-link.active {
    background: rgba(255, 255, 255, .15);
    color: #fff;
}

.app-drawer-link strong {
    align-items: center;
    background: var(--jeebp-primary);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: .72rem;
    height: 22px;
    justify-content: center;
    min-width: 22px;
    padding: 0 .4rem;
}

.app-drawer-link.danger {
    color: #dc2626;
}

.admin-nav-drawer .app-drawer-link.danger {
    color: #fca5a5;
}

.app-drawer-actions {
    border-top: 1px solid var(--jeebp-border);
    padding-top: .65rem;
}

.admin-nav-drawer .app-drawer-actions {
    border-top-color: rgba(255, 255, 255, .12);
}

.app-topbar {
    align-items: center;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, .92) !important;
    border-color: rgba(226, 232, 240, .85) !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    min-height: 64px;
    padding: .75rem 1.25rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

.app-topbar-left {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    gap: .75rem;
    min-width: 0;
}

.app-topbar-menu {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 10px;
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 4px;
    height: 40px;
    justify-content: center;
    padding: 0;
    width: 42px;
}

.app-topbar-menu span {
    background: #334155;
    border-radius: 999px;
    display: block;
    height: 2px;
    width: 18px;
}

.app-topbar-title h1 {
    color: var(--jeebp-ink);
    font-size: 1.08rem;
    font-weight: 850;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-topbar-title .section-kicker {
    color: #64748b;
    display: block;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.1;
    margin-bottom: .12rem;
    text-transform: uppercase;
}

.app-topbar-title small {
    color: #94a3b8;
    display: none;
    font-size: .76rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: .1rem;
}

.app-topbar-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: .45rem;
    min-width: 0;
}

.app-icon-btn {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 12px;
    color: #334155;
    display: inline-flex;
    font-size: .85rem;
    font-weight: 700;
    gap: .4rem;
    min-height: 38px;
    padding: .35rem .58rem;
}

.app-icon-btn:hover,
.app-icon-btn:focus {
    border-color: #bfdbfe;
    color: var(--jeebp-primary);
}

.notification-topbar-btn strong {
    align-items: center;
    background: #ef4444;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: .66rem;
    height: 19px;
    justify-content: center;
    min-width: 19px;
    padding: 0 .3rem;
    position: absolute;
    right: -5px;
    top: -6px;
}

.notification-topbar-btn {
    min-width: 40px;
    position: relative;
}

.notification-bell {
    align-items: center;
    display: inline-flex;
    height: 20px;
    justify-content: center;
    width: 20px;
}

.notification-bell svg {
    fill: currentColor;
    height: 20px;
    width: 20px;
}

.app-account-btn {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 12px;
    display: inline-flex;
    gap: .45rem;
    min-height: 38px;
    padding: .25rem .65rem .25rem .25rem;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.app-account-btn:hover,
.app-account-btn:focus {
    border-color: #bfdbfe;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
}

.app-account-btn span {
    align-items: center;
    background: var(--jeebp-primary-soft);
    border-radius: 999px;
    color: var(--jeebp-primary);
    display: inline-flex;
    font-size: .82rem;
    font-weight: 700;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.app-account-btn strong {
    color: #334155;
    font-size: .88rem;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-header-link {
    align-items: center;
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 12px;
    color: #334155;
    display: inline-flex;
    font-size: .84rem;
    font-weight: 800;
    min-height: 38px;
    padding: .4rem .72rem;
}

.app-header-link:hover,
.app-header-link:focus {
    border-color: #bfdbfe;
    color: var(--jeebp-primary);
}

.app-main {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    padding: clamp(1rem, 2vw, 1.5rem);
}

.app-main > :not(.app-panel-footer):nth-last-child(2) {
    margin-bottom: clamp(2.75rem, 5vw, 4.25rem);
}

.notification-list {
    display: grid;
    gap: .75rem;
}

.notification-item {
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem;
}

.notification-item.unread {
    background: #f8fbff;
    border-color: #bfdbfe;
}

.notification-item p {
    color: #475569;
    margin-bottom: .35rem;
}

.notification-inbox .notification-item > div {
    min-width: 0;
}

.notification-inbox .notification-item h3,
.notification-inbox .notification-item p {
    overflow-wrap: anywhere;
}

.notification-compose-panel {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.notification-compose-form {
    display: grid;
    gap: .85rem;
    grid-template-columns: minmax(160px, 220px) minmax(180px, 260px) minmax(0, 1fr);
}

.notification-compose-message,
.notification-compose-actions {
    grid-column: 1 / -1;
}

.notification-compose-actions {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.notification-detail-card {
    max-width: 860px;
}

.notification-message {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    color: #334155;
    line-height: 1.7;
    padding: 1rem;
    overflow-wrap: anywhere;
}

.admin-global-search {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 12px;
    gap: .35rem;
    min-height: 38px;
    min-width: min(390px, 32vw);
    padding: .18rem .2rem .18rem .65rem;
}

.admin-global-search .form-control {
    background: transparent;
    border: 0;
    box-shadow: none;
    min-height: 32px;
    min-width: 220px;
    padding-left: 0;
}

.admin-global-search .btn {
    align-items: center;
    border-radius: 10px;
    display: inline-flex;
    justify-content: center;
    min-height: 32px;
    padding: .3rem;
    width: 34px;
}

.admin-search-submit svg {
    fill: currentColor;
    height: 17px;
    width: 17px;
}

.admin-search-page-form {
    max-width: 760px;
}

.search-hero-panel {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.search-summary-strip {
    align-items: center;
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    display: inline-flex;
    gap: .45rem;
    padding: .65rem .85rem;
}

.search-summary-strip strong {
    color: var(--jeebp-primary);
    font-size: 1.05rem;
    font-weight: 850;
}

.search-summary-strip span {
    color: #64748b;
    font-weight: 700;
}

.global-search-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.action-queue-summary {
    min-height: 92px;
}

.action-queue-panel,
.search-result-panel,
.user-360-panel {
    height: 100%;
}

.queue-panel-head {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.queue-panel-head h3,
.search-result-panel h3,
.user-360-panel h3 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}

.queue-panel-head a {
    color: var(--jeebp-primary);
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
}

.user-360-hero {
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 10px;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: clamp(1rem, 2vw, 1.35rem);
}

.user-360-hero h2 {
    color: #0f172a;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 850;
    letter-spacing: 0;
    margin-bottom: .25rem;
}

.user-360-hero p {
    color: #64748b;
    margin-bottom: .75rem;
}

.user-360-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end;
}

.detail-list {
    display: grid;
    gap: .7rem;
    margin: 0;
}

.detail-list dt {
    color: #64748b;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.detail-list dd {
    color: #0f172a;
    font-weight: 650;
    margin: -.45rem 0 0;
    overflow-wrap: anywhere;
}

.bulk-action-bar,
.save-view-form {
    align-items: end;
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin: .75rem 0;
    padding: .75rem;
}

.bulk-action-bar {
    display: none;
}

.bulk-action-bar.is-visible {
    display: flex;
}

.bulk-action-bar .form-select {
    max-width: 230px;
}

.table-tools-panel {
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 10px;
    margin: 0 0 1rem;
    overflow: hidden;
}

.table-tools-toggle {
    align-items: center;
    background: #f8fafc;
    border: 0;
    color: var(--jeebp-ink);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: .85rem 1rem;
    text-align: left;
    width: 100%;
}

.table-tools-toggle strong {
    display: block;
    font-size: .95rem;
    font-weight: 850;
}

.table-tools-toggle small {
    color: #64748b;
    display: block;
    font-size: .76rem;
    font-weight: 750;
    margin-top: .1rem;
}

.table-tools-caret {
    align-items: center;
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 999px;
    color: #64748b;
    display: inline-flex;
    font-size: .75rem;
    font-weight: 900;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.table-tools-toggle[aria-expanded="true"] .table-tools-caret {
    transform: rotate(180deg);
}

.table-tools-body {
    border-top: 1px solid var(--jeebp-border);
    padding: .85rem;
}

.save-view-form {
    max-width: 460px;
}

.save-view-form .form-label {
    color: #64748b;
    font-weight: 800;
    margin: 0;
    width: 100%;
}

.save-view-share {
    align-items: center;
    color: #64748b;
    display: inline-flex;
    font-size: .78rem;
    font-weight: 700;
    gap: .4rem;
}

.saved-view-card {
    min-height: 170px;
}

.saved-view-strip {
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 10px;
    margin-bottom: 1rem;
    padding: .8rem;
}

.saved-view-strip-head,
.saved-view-group-head {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.saved-view-strip-head {
    margin-bottom: .65rem;
}

.saved-view-strip-head span {
    color: #0f172a;
    font-size: .88rem;
    font-weight: 850;
}

.saved-view-strip-head a,
.saved-view-group-head a {
    color: var(--jeebp-primary);
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
}

.saved-view-pills {
    display: flex;
    gap: .55rem;
    overflow-x: auto;
    padding-bottom: .1rem;
}

.saved-view-pill {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 999px;
    color: #0f172a;
    display: inline-flex;
    flex: 0 0 auto;
    gap: .45rem;
    min-height: 38px;
    padding: .45rem .75rem;
    text-decoration: none;
}

.saved-view-pill strong {
    font-size: .82rem;
}

.saved-view-pill small {
    color: #64748b;
    font-size: .72rem;
    font-weight: 800;
}

.saved-view-workspace {
    display: grid;
    gap: 1.25rem;
}

.saved-view-group {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 10px;
    padding: 1rem;
}

.saved-view-group-head {
    margin-bottom: .85rem;
}

.saved-view-group-head h3 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 850;
    margin: 0;
}

.saved-view-path {
    background: #eef2f7;
    border-radius: 6px;
    color: #475569;
    display: block;
    font-size: .72rem;
    margin-bottom: .75rem;
    overflow: hidden;
    padding: .4rem .5rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-row-actions {
    align-items: center;
    display: inline-flex;
    flex-wrap: nowrap;
    gap: .45rem;
    justify-content: flex-end;
    max-width: 100%;
    vertical-align: middle;
    white-space: nowrap;
}

.table-row-actions form,
.table-actions form,
.page-actions form,
.filter-actions form,
.row-action-cell form {
    display: inline-flex;
    margin: 0;
}

.table-row-actions .btn,
.table-actions .btn,
.page-actions .btn,
.filter-actions .btn,
.row-action-cell .btn,
.audit-lead-action-links .btn,
.marketplace-service-actions .btn,
.employee-card-actions .btn {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 34px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.row-action-cell {
    min-width: 168px;
    text-align: right;
    white-space: nowrap;
}

td[data-label="Action"],
td[data-label="Invoice"],
td[data-label="Receipt"] {
    white-space: nowrap;
}

td[data-label="Action"] form,
td[data-label="Invoice"] form,
td[data-label="Receipt"] form {
    display: inline-flex;
    margin: 0;
}

td[data-label="Action"] .btn,
td[data-label="Invoice"] .btn,
td[data-label="Receipt"] .btn {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 34px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-action-menu {
    border-color: var(--jeebp-border);
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .16);
    min-width: 180px;
    padding: .35rem;
}

.table-action-menu .dropdown-item {
    align-items: center;
    border-radius: 6px;
    display: flex;
    font-size: .86rem;
    font-weight: 700;
    gap: .45rem;
    min-height: 34px;
    white-space: nowrap;
}

.withdrawal-action-form {
    display: inline-grid;
    gap: .5rem;
    min-width: 240px;
}

.similar-business-confirm {
    align-items: flex-start;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    color: #9a3412;
    display: flex;
    font-weight: 750;
    gap: .65rem;
    padding: .85rem;
}

.similar-business-confirm .form-check-input {
    flex: 0 0 auto;
    margin-top: .18rem;
}

@media (min-width: 992px) {
    .table-responsive.mobile-card-table {
        overflow: visible;
    }
}

.dashboard-action-card,
.mini-stat,
.activity-item {
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    display: flex;
    text-decoration: none;
}

.dashboard-action-card {
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
    padding: 1rem;
}

.dashboard-action-card span,
.mini-stat span {
    color: #64748b;
    display: block;
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.dashboard-action-card strong,
.mini-stat strong {
    color: var(--jeebp-ink);
    font-size: 1.35rem;
}

.dashboard-action-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}

.admin-dashboard-hero {
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--jeebp-border);
    border-radius: 10px;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.25rem;
}

.admin-dashboard-hero h2 {
    color: var(--jeebp-ink);
    font-family: var(--jeebp-font-heading);
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 850;
    letter-spacing: 0;
    margin: .15rem 0 .35rem;
}

.admin-dashboard-hero p {
    color: #64748b;
    margin: 0;
    max-width: 720px;
}

.admin-dashboard-hero-compact {
    padding: clamp(1rem, 2vw, 1.35rem);
}

.admin-dashboard-hero-compact h2 {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.admin-dashboard-hero-compact p {
    max-width: 620px;
}

.admin-dashboard-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end;
}

.dashboard-focus-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-focus-grid-clean {
    gap: .85rem;
}

.dashboard-focus-card {
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 10px;
    color: inherit;
    min-height: 132px;
    padding: 1rem;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.dashboard-focus-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.dashboard-focus-card span,
.dashboard-focus-card small {
    color: #64748b;
    display: block;
    font-size: .82rem;
    font-weight: 800;
}

.dashboard-focus-card span {
    text-transform: uppercase;
}

.dashboard-focus-card strong {
    color: var(--jeebp-ink);
    display: block;
    font-size: 1.45rem;
    line-height: 1.2;
    margin: .65rem 0 .4rem;
    overflow-wrap: anywhere;
}

.dashboard-focus-card small.up {
    color: #15803d;
}

.dashboard-focus-card small.down {
    color: #b91c1c;
}

.dashboard-focus-card small.neutral {
    color: #64748b;
}

.dashboard-command-row {
    align-items: stretch;
}

.health-alert-list,
.state-list,
.dashboard-quick-action-grid {
    display: grid;
    gap: .65rem;
}

.health-alert-list-compact {
    gap: .55rem;
}

.health-alert-item {
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-left-width: 4px;
    border-radius: 8px;
    color: inherit;
    display: flex;
    gap: .75rem;
    padding: .85rem;
    text-decoration: none;
}

.health-alert-list-compact .health-alert-item {
    padding: .72rem;
}

.health-alert-item strong,
.health-alert-item small {
    display: block;
}

.health-alert-item strong {
    color: var(--jeebp-ink);
    font-weight: 850;
}

.health-alert-item small {
    color: #64748b;
    font-weight: 650;
    margin-top: .15rem;
}

.health-alert-item.success {
    border-left-color: #16a34a;
}

.health-alert-item.warning {
    border-left-color: #f59e0b;
}

.health-alert-item.danger {
    border-left-color: #dc2626;
}

.health-alert-item:hover {
    border-color: #bfdbfe;
    border-left-color: currentColor;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
}

.action-grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.action-grid-priority {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-metric-grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.dashboard-metric-grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-details-panel {
    padding: 0;
    overflow: hidden;
}

.dashboard-details-panel > .page-toolbar {
    padding: 1rem 1rem .85rem;
}

.dashboard-page-hero {
    background:
        linear-gradient(135deg, rgba(13, 110, 253, .08), rgba(18, 166, 106, .08)),
        #fff;
    border: 1px solid #dbe4f0;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .045);
}

.dashboard-page-hero .page-toolbar {
    margin-bottom: 0;
}

.dashboard-page-hero .page-intro {
    max-width: 760px;
}

.dashboard-page-hero .page-intro h2 {
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    line-height: 1.15;
    margin-bottom: .2rem;
}

.dashboard-page-hero .page-intro p {
    font-size: .98rem;
    line-height: 1.55;
    margin-top: .45rem;
}

.dashboard-page-hero .page-actions .btn {
    min-height: 42px;
}

.dashboard-panel-toggle {
    padding: 0;
}

.dashboard-panel-toggle > summary {
    cursor: pointer;
    list-style: none;
    outline: none;
    padding: 0;
}

.dashboard-panel-toggle > summary::-webkit-details-marker {
    display: none;
}

.dashboard-panel-toggle > summary:focus-visible,
.dashboard-panel-toggle > summary:hover {
    background: #fbfdff;
}

.dashboard-panel-summary {
    align-items: flex-start;
    display: grid;
    gap: .4rem;
    padding: 1rem 1rem .9rem;
}

.dashboard-panel-summary h3 {
    color: var(--jeebp-ink);
    font-size: 1.04rem;
    font-weight: 850;
    letter-spacing: 0;
    margin: 0;
}

.dashboard-panel-summary p {
    color: var(--jeebp-muted);
    font-size: .9rem;
    line-height: 1.45;
    margin: .2rem 0 0;
}

.dashboard-panel-toggle .dashboard-panel-body {
    border-top: 1px solid var(--jeebp-border);
    padding: 1rem;
}

.dashboard-panel-toggle[open] > summary {
    border-bottom: 1px solid var(--jeebp-border);
    background: #fbfdff;
}

.panel-subtoolbar {
    margin-bottom: .9rem;
}

.panel-subtoolbar h4 {
    color: var(--jeebp-ink);
    font-size: .95rem;
    font-weight: 850;
}

.panel-subtoolbar p {
    font-size: .86rem;
    margin-top: .1rem;
}

.dashboard-accordion {
    border-top: 1px solid var(--jeebp-border);
}

.dashboard-accordion .accordion-item {
    border: 0;
    border-top: 1px solid var(--jeebp-border);
}

.dashboard-accordion .accordion-item:first-child {
    border-top: 0;
}

.dashboard-accordion .accordion-button {
    color: #0f172a;
    font-size: .96rem;
    font-weight: 850;
    padding: .9rem 1rem;
}

.dashboard-accordion .accordion-button:not(.collapsed) {
    background: #f8fafc;
    box-shadow: none;
    color: #0d6efd;
}

.dashboard-accordion .accordion-body {
    padding: 1rem;
}

.dashboard-state-columns {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-state-columns h4 {
    color: #0f172a;
    font-size: .92rem;
    font-weight: 850;
    margin: 0 0 .6rem;
}

.dashboard-muted-link {
    color: #64748b;
    display: inline-flex;
    font-size: .86rem;
    font-weight: 800;
    margin-top: .75rem;
}

.state-list a {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    color: inherit;
    display: flex;
    gap: .75rem;
    justify-content: space-between;
    padding: .8rem;
    text-decoration: none;
}

.state-list a:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.state-list span {
    color: #64748b;
    font-size: .86rem;
    font-weight: 800;
}

.state-list strong {
    color: var(--jeebp-ink);
    font-size: 1.15rem;
}

.funnel-grid {
    display: grid;
    gap: .8rem;
}

.funnel-step {
    display: grid;
    gap: .45rem;
}

.funnel-step > div:first-child {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.funnel-step span {
    color: #64748b;
    font-size: .86rem;
    font-weight: 850;
}

.funnel-step strong {
    color: var(--jeebp-ink);
}

.funnel-bar {
    background: #e2e8f0;
    border-radius: 999px;
    height: 10px;
    overflow: hidden;
}

.funnel-bar span {
    background: linear-gradient(90deg, #12a66a, #0d6efd);
    border-radius: inherit;
    display: block;
    height: 100%;
    min-width: 4px;
}

.mini-stat {
    flex-direction: column;
    gap: .35rem;
    min-height: 92px;
    padding: 1rem;
}

.mini-stat em {
    color: #64748b;
    font-size: .8rem;
    font-style: normal;
    font-weight: 600;
}

.activity-list {
    display: grid;
    gap: .6rem;
}

.activity-item {
    align-items: center;
    color: var(--jeebp-ink);
    gap: .75rem;
    justify-content: space-between;
    padding: .8rem;
}

.activity-item strong,
.activity-item small {
    display: block;
}

.activity-item small {
    color: #64748b;
    margin-top: .15rem;
}

.activity-log-table td {
    vertical-align: top;
}

.activity-log-action {
    align-items: flex-start;
    display: flex;
    gap: .7rem;
    min-width: 190px;
}

.activity-log-action strong,
.activity-log-action span {
    display: block;
}

.activity-log-action span:not(.activity-dot) {
    color: var(--jeebp-muted);
    font-size: .78rem;
    margin-top: .1rem;
}

.activity-dot {
    background: linear-gradient(135deg, #0d6efd, #12a66a);
    border-radius: 999px;
    box-shadow: 0 0 0 4px #eaf3ff;
    flex: 0 0 10px;
    height: 10px;
    margin-top: .42rem;
    width: 10px;
}

.activity-entity-pill {
    background: #eef6ff;
    border: 1px solid #cfe5ff;
    border-radius: 999px;
    color: #0b4ea2;
    display: inline-flex;
    font-size: .82rem;
    font-weight: 800;
    padding: .32rem .58rem;
}

.activity-detail-preview {
    color: var(--jeebp-ink);
    display: block;
    font-size: .86rem;
    max-width: 520px;
}

.activity-details-toggle {
    font-weight: 800;
    margin-top: .25rem;
    text-decoration: none;
}

.activity-details-json {
    background: #0f172a;
    border-radius: 8px;
    color: #dbeafe;
    font-size: .78rem;
    margin: .5rem 0 0;
    max-height: 220px;
    overflow: auto;
    padding: .75rem;
    white-space: pre-wrap;
}

.report-card {
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    color: var(--jeebp-ink);
    display: flex;
    flex-direction: column;
    gap: .65rem;
    min-height: 188px;
    padding: 1.1rem;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.report-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .1);
    transform: translateY(-1px);
}

.report-card span {
    font-size: 1rem;
    font-weight: 800;
}

.report-card p {
    color: #64748b;
    flex: 1;
    margin: 0;
}

.report-card strong {
    color: var(--jeebp-primary);
    font-size: .86rem;
}

.reward-rules-simple {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reward-rules-simple > div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: .9rem;
}

.reward-rules-simple span,
.reward-rules-note span {
    color: #64748b;
    display: block;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.reward-rules-simple strong {
    color: var(--jeebp-ink);
    display: block;
    font-size: .95rem;
    line-height: 1.45;
    margin-top: .25rem;
}

.reward-rules-note {
    align-items: center;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    padding: .75rem .9rem;
}

.reward-rules-note span {
    color: #0b5ed7;
}

.app-panel-footer {
    align-items: center;
    background: transparent;
    border-top: 1px solid var(--jeebp-border);
    color: var(--jeebp-muted);
    display: flex;
    font-size: .82rem;
    gap: 1rem;
    justify-content: space-between;
    margin-top: auto;
    min-height: 48px;
    padding: 1.1rem 0 .25rem;
}

.app-panel-footer-brand {
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    gap: .35rem .65rem;
    min-width: 0;
}

.app-panel-footer-brand strong {
    color: var(--jeebp-ink);
    font-size: .9rem;
    font-weight: 800;
}

.app-panel-footer-note {
    color: #475569;
    font-weight: 700;
    white-space: nowrap;
}

.dashboard-card {
    min-height: 128px;
    padding: 1.25rem;
    transition: transform .18s ease, box-shadow .18s ease;
}

.dashboard-card:hover {
    transform: translateY(-1px);
}

.dashboard-card span {
    color: var(--jeebp-muted);
    display: block;
    font-size: .88rem;
    font-weight: 500;
    margin-bottom: .75rem;
}

.dashboard-card strong {
    color: var(--jeebp-ink);
    display: block;
    font-size: 1.35rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.dashboard-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dashboard-next-action {
    margin-bottom: 0;
}

.dashboard-primary-stats {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-card-compact {
    min-height: 116px;
}

.dashboard-card-compact small {
    color: #64748b;
    display: block;
    font-size: .84rem;
    font-weight: 600;
    margin-top: .45rem;
}

.dashboard-secondary-panel {
    padding: .85rem;
}

.secondary-stat-grid {
    display: grid;
    gap: .65rem;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.secondary-stat-grid > div {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    padding: .75rem;
}

.secondary-stat-grid span {
    color: #64748b;
    display: block;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.secondary-stat-grid strong {
    color: var(--jeebp-ink);
    display: block;
    font-size: .98rem;
    line-height: 1.25;
    margin-top: .25rem;
    overflow-wrap: anywhere;
}

.affiliate-performance-panel {
    display: grid;
    gap: 1rem;
}

.affiliate-performance-panel .page-toolbar {
    margin-bottom: 0;
}

.affiliate-performance-grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.affiliate-performance-grid > div,
.affiliate-progress-box {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    min-width: 0;
    padding: .85rem;
}

.affiliate-performance-grid span,
.affiliate-progress-box span {
    color: #64748b;
    display: block;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .02em;
    line-height: 1.25;
    text-transform: uppercase;
}

.affiliate-performance-grid strong,
.affiliate-progress-box strong {
    color: var(--jeebp-ink);
    display: block;
    font-size: 1rem;
    line-height: 1.25;
    margin-top: .25rem;
    overflow-wrap: anywhere;
}

.affiliate-performance-grid small,
.affiliate-progress-box small {
    color: #64748b;
    display: block;
    font-size: .78rem;
    font-weight: 650;
    line-height: 1.35;
    margin-top: .35rem;
}

.affiliate-progress-box {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.action-focus-panel {
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.action-focus-panel h2 {
    color: var(--jeebp-ink);
    font-size: 1.3rem;
    font-weight: 800;
    margin: .25rem 0;
}

.action-focus-panel p {
    color: #475569;
    margin: 0;
}

.setup-checklist,
.timeline-list {
    display: grid;
    gap: .75rem;
}

.setup-checklist > div,
.timeline-item {
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    display: flex;
    gap: .8rem;
    padding: .85rem;
}

.setup-checklist span,
.timeline-item > span {
    align-items: center;
    background: #eaf3ff;
    border-radius: 999px;
    color: var(--jeebp-primary);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: .78rem;
    font-weight: 900;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.setup-checklist .complete span {
    background: #dcfce7;
    color: #15803d;
}

.setup-checklist strong,
.setup-checklist small,
.timeline-item strong,
.timeline-item small {
    display: block;
}

.setup-checklist small,
.timeline-item small,
.timeline-item p {
    color: #64748b;
}

.timeline-item p {
    margin: .15rem 0 0;
}

.business-service-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.business-service-card {
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .04);
    display: flex;
    flex-direction: column;
    gap: .9rem;
    padding: 1rem;
    transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.business-service-card:hover,
.service-group-card:hover,
.user-project-card:hover {
    border-color: #cfdcf0;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .08);
    transform: translateY(-2px);
}

.business-service-head,
.business-service-actions {
    align-items: flex-start;
    display: flex;
    gap: .75rem;
    justify-content: space-between;
}

.business-service-head span,
.business-service-meta span {
    color: #64748b;
    display: block;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.business-service-head h4 {
    color: var(--jeebp-ink);
    font-size: 1rem;
    font-weight: 800;
    margin: .15rem 0 0;
}

.business-service-meta {
    display: grid;
    gap: .6rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.business-service-meta > div {
    background: #f8fafc;
    border-radius: 8px;
    padding: .65rem;
}

.business-service-meta strong {
    color: var(--jeebp-ink);
    display: block;
    margin-top: .15rem;
}

.business-service-card p {
    color: #475569;
    margin: 0;
}

.service-group-grid {
    display: grid;
    gap: 1rem;
}

.service-group-card {
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .045);
    overflow: hidden;
    padding: 1rem;
    transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.service-group-head {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.service-group-head > div:first-child {
    min-width: 0;
}

.service-group-head span {
    color: var(--jeebp-green);
    display: block;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.service-group-head h4 {
    color: var(--jeebp-ink);
    font-size: 1.04rem;
    font-weight: 850;
    line-height: 1.3;
    margin: .15rem 0 0;
    overflow-wrap: anywhere;
}

.service-group-head p {
    color: var(--jeebp-muted);
    font-size: .9rem;
    margin: .3rem 0 0;
}

.service-group-badges {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    justify-content: flex-end;
}

.service-group-meta {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: .9rem;
}

.service-group-meta > div {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: .7rem .75rem;
}

.service-group-meta span {
    color: var(--jeebp-muted);
    display: block;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.service-group-meta strong {
    color: var(--jeebp-ink);
    display: block;
    font-size: .96rem;
    margin-top: .18rem;
}

.service-group-history {
    border-top: 1px solid #edf2f7;
    margin-top: .9rem;
    padding-top: .8rem;
}

.service-group-history summary {
    color: var(--jeebp-primary);
    cursor: pointer;
    font-size: .88rem;
    font-weight: 800;
    list-style: none;
    outline: none;
}

.service-group-history summary::-webkit-details-marker {
    display: none;
}

.service-group-history-list {
    display: grid;
    gap: .75rem;
    margin-top: .8rem;
}

.service-group-history-item {
    align-items: flex-start;
    background: #f8fbff;
    border: 1px solid #dfe9f7;
    border-radius: 12px;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: .85rem .9rem;
}

.service-group-history-main {
    min-width: 0;
}

.service-group-history-main h5 {
    color: var(--jeebp-ink);
    font-size: .98rem;
    font-weight: 850;
    line-height: 1.35;
    margin: 0;
    overflow-wrap: anywhere;
}

.service-group-history-meta {
    color: var(--jeebp-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: .78rem;
    gap: .35rem .7rem;
    margin-top: .4rem;
}

.service-group-history-actions {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end;
    min-width: 240px;
}

.service-group-history-actions .btn {
    min-width: 112px;
    min-height: 42px;
    padding-left: .95rem;
    padding-right: .95rem;
}

.quick-subjects {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.support-type-grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-type-card {
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    gap: .65rem;
    min-height: 100%;
    padding: .85rem;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.support-type-card:hover,
.support-type-card:has(input:checked) {
    border-color: #60a5fa;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .1);
    transform: translateY(-1px);
}

.support-type-card input {
    margin-top: .25rem;
}

.support-type-card strong,
.support-type-card small {
    display: block;
}

.support-type-card small {
    color: #64748b;
    font-size: .82rem;
    line-height: 1.35;
    margin-top: .2rem;
}

.dashboard-invite-input .form-control {
    min-width: 0;
}

.quick-action-grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quick-action-grid a {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    color: inherit;
    padding: .9rem;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.quick-action-grid a:hover {
    border-color: #bfdbfe;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .07);
    transform: translateY(-1px);
}

.quick-action-grid strong,
.quick-action-grid span {
    display: block;
}

.quick-action-grid strong {
    color: var(--jeebp-ink);
    font-weight: 800;
}

.quick-action-grid span {
    color: #64748b;
    font-size: .86rem;
    margin-top: .15rem;
}

.dashboard-detail-accordion .accordion {
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    overflow: hidden;
}

.dashboard-detail-accordion .accordion-item {
    border-color: var(--jeebp-border);
}

.dashboard-detail-accordion .accordion-button {
    color: var(--jeebp-ink);
    font-weight: 800;
    letter-spacing: 0;
}

.dashboard-detail-accordion .accordion-button:not(.collapsed) {
    background: var(--jeebp-primary-soft);
    box-shadow: none;
    color: var(--jeebp-primary);
}

.dashboard-detail-accordion .accordion-body {
    background: #fff;
}

.dashboard-panel > h2:first-child,
.dashboard-panel > h3:first-child {
    color: var(--jeebp-ink);
    font-weight: 700;
    letter-spacing: 0;
}

.page-toolbar {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.page-toolbar h2 {
    color: var(--jeebp-ink);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: .15rem;
}

.page-toolbar p {
    color: var(--jeebp-muted);
    margin-bottom: 0;
}

.page-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end;
}

.page-intro {
    display: grid;
    gap: .2rem;
    max-width: 720px;
}

.page-intro p {
    max-width: 720px;
}

.table-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end;
}

.settings-layout {
    align-items: start;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) 370px;
}

.settings-section-layout {
    align-items: start;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) 360px;
}

.settings-card-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.settings-card {
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    box-shadow: var(--jeebp-shadow);
    color: var(--jeebp-ink);
    display: flex;
    flex-direction: column;
    gap: .45rem;
    min-height: 190px;
    padding: 1.15rem;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.settings-card:hover {
    border-color: #cbd5e1;
    box-shadow: var(--jeebp-shadow-hover);
    color: var(--jeebp-ink);
    transform: translateY(-2px);
}

.settings-card > span {
    color: var(--jeebp-green);
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.settings-card strong {
    font-size: 1.05rem;
}

.settings-card p {
    color: var(--jeebp-muted);
    font-size: .88rem;
    line-height: 1.45;
    margin: 0 0 auto;
}

.cron-command-card {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 12px;
    padding: 1rem;
}

.cron-command-card .form-control[readonly] {
    background: #fff;
    color: #0f172a;
    font-size: .82rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cron-command-card summary {
    cursor: pointer;
}

.settings-main,
.settings-aside {
    min-width: 0;
}

.settings-aside {
    display: grid;
    gap: 1rem;
}

.settings-group-title {
    border-bottom: 1px solid var(--jeebp-border);
    color: var(--jeebp-ink);
    font-size: .82rem;
    font-weight: 800;
    padding: .4rem 0 .55rem;
    text-transform: uppercase;
}

.settings-panel-compact {
    padding: 1rem;
}

.settings-panel-compact .page-toolbar {
    gap: .75rem;
    margin-bottom: .85rem;
}

.settings-panel-compact .page-toolbar h2 {
    font-size: 1rem;
}

.settings-panel-compact .page-toolbar p {
    font-size: .86rem;
}

.diagnostic-list {
    display: grid;
    gap: .65rem;
}

.diagnostic-list > div,
.payment-log-item {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    min-width: 0;
    padding: .75rem;
}

.diagnostic-list span {
    color: var(--jeebp-muted);
    display: block;
    font-size: .75rem;
    font-weight: 700;
    margin-bottom: .25rem;
    text-transform: uppercase;
}

.diagnostic-list code {
    color: #334155;
    display: block;
    font-size: .82rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: break-word;
}

.payment-log-list {
    display: grid;
    gap: .65rem;
    max-height: 560px;
    overflow: auto;
    padding-right: .15rem;
}

.payment-log-list-full {
    max-height: none;
    overflow: visible;
}

.payment-log-item {
    background: #fff;
}

.payment-log-item strong {
    color: var(--jeebp-ink);
    font-family: var(--jeebp-font-heading);
}

.log-payload {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    color: #475569;
    max-height: 130px;
    overflow: auto;
    overflow-wrap: anywhere;
    padding: .6rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.log-payload-detail {
    max-height: 68vh;
}

.filter-bar {
    align-items: end;
    background: linear-gradient(180deg, #fcfdff, #f8fbff);
    border: 1px solid var(--jeebp-border);
    border-radius: 14px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .035);
    display: grid;
    gap: .85rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    margin-bottom: 1rem;
    padding: 1rem;
}

.enquiries-workspace {
    display: grid;
    gap: 1rem;
}

.enquiries-workspace .table-tools-panel {
    margin-bottom: 0;
}

.enquiries-toolbar {
    margin-bottom: 0;
}

.enquiry-stats-grid {
    display: grid;
    gap: .85rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.enquiry-stat-card {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 10px;
    color: var(--jeebp-ink);
    display: grid;
    gap: .25rem;
    min-height: 118px;
    padding: 1rem;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.enquiry-stat-card:hover,
.enquiry-stat-card.is-active {
    border-color: rgba(37, 99, 235, .35);
    box-shadow: 0 16px 34px rgba(15, 23, 42, .08);
    color: var(--jeebp-ink);
    transform: translateY(-1px);
}

.enquiry-stat-card span {
    color: #64748b;
    font-size: .74rem;
    font-weight: 850;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.enquiry-stat-card strong {
    font-size: 1.75rem;
    letter-spacing: 0;
    line-height: 1.1;
}

.enquiry-stat-card small {
    color: #64748b;
    font-weight: 700;
    line-height: 1.35;
}

.enquiry-stat-new {
    background: linear-gradient(135deg, rgba(37, 99, 235, .1), rgba(16, 185, 129, .08));
}

.table-section-head {
    align-items: center;
    border-top: 1px solid var(--jeebp-border);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding-top: .2rem;
}

.table-section-head strong {
    color: var(--jeebp-ink);
    display: block;
    font-size: .95rem;
}

.table-section-head span {
    color: #64748b;
    font-size: .78rem;
    font-weight: 750;
}

.table-scroll-hint {
    background: #eef2ff;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: #1d4ed8 !important;
    flex: 0 0 auto;
    padding: .35rem .65rem;
}

.enquiry-table-wrap {
    border: 1px solid var(--jeebp-border);
    border-radius: 10px;
}

.enquiry-table-wrap .table {
    margin-bottom: 0;
}

.enquiry-table-wrap .table th:nth-child(2),
.enquiry-table-wrap .table td[data-label="Message"] {
    min-width: 320px;
    white-space: normal;
}

.enquiry-table-wrap th {
    background: #f8fafc;
    color: #475569;
    font-size: .74rem;
    font-weight: 850;
    text-transform: uppercase;
}

.enquiry-sender {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: .2rem;
}

.enquiry-sender span,
.enquiry-message-cell span {
    color: var(--jeebp-ink);
    font-weight: 850;
}

.enquiry-sender small {
    background: #f1f5f9;
    border-radius: 999px;
    color: #64748b;
    font-size: .68rem;
    font-weight: 850;
    padding: .15rem .45rem;
}

.enquiry-message-cell {
    display: grid;
    gap: .42rem;
    max-width: 100%;
    min-width: 0;
}

.enquiry-message-preview {
    color: #475569;
    font-size: .84rem;
    line-height: 1.5;
    margin: 0;
    overflow-wrap: anywhere;
}

.enquiry-message-link {
    align-items: center;
    color: var(--jeebp-primary);
    display: inline-flex;
    font-size: .79rem;
    font-weight: 800;
    min-height: auto;
    padding: 0;
    text-decoration: none;
    width: fit-content;
}

.enquiry-message-link:hover,
.enquiry-message-link:focus {
    color: #0b5ed7;
    text-decoration: underline;
}

.enquiry-message-modal {
    border: 1px solid #dbe5f1;
    border-radius: 18px;
    overflow: hidden;
}

.enquiry-message-modal .modal-header,
.enquiry-message-modal .modal-footer {
    border-color: #e2e8f0;
    padding: 1rem 1.2rem;
}

.enquiry-message-modal .modal-body {
    padding: 1.15rem 1.2rem;
}

.enquiry-message-modal-meta {
    align-items: flex-start;
    background: #f8fbff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: .85rem .95rem;
}

.enquiry-message-modal-meta div {
    display: grid;
    gap: .15rem;
}

.enquiry-message-modal-meta strong {
    color: #0f172a;
    font-size: .88rem;
    font-weight: 850;
}

.enquiry-message-modal-meta span {
    color: #64748b;
    font-size: .82rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.enquiry-message-modal-body {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    color: #475569;
    font-size: .92rem;
    line-height: 1.65;
    max-height: min(60vh, 560px);
    overflow: auto;
    overflow-wrap: anywhere;
    padding: 1rem 1rem .95rem;
}

.enquiry-message-modal-body p {
    margin: 0 0 1rem;
}

.enquiry-message-modal-body p:last-child {
    margin-bottom: 0;
}

.audit-leads-table-wrap {
    overflow: visible;
}

.audit-leads-table {
    table-layout: fixed;
}

.audit-leads-table th:nth-child(1) {
    width: 44%;
}

.audit-leads-table th:nth-child(2) {
    width: 12%;
}

.audit-leads-table th:nth-child(3) {
    width: 11%;
}

.audit-leads-table th:nth-child(4) {
    width: 16%;
}

.audit-leads-table th:nth-child(5) {
    width: 17%;
}

.audit-lead-row > td {
    vertical-align: top;
}

.audit-lead-cell {
    display: grid;
    gap: .8rem;
    min-width: 0;
}

.audit-lead-primary {
    display: grid;
    gap: .28rem;
}

.audit-lead-contact {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .75rem;
}

.audit-lead-contact a {
    color: #475569;
    font-size: .82rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.audit-lead-business {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    display: grid;
    gap: .45rem;
    padding: .75rem;
}

.audit-lead-business strong {
    color: var(--jeebp-ink);
    font-size: .95rem;
}

.audit-lead-business > span {
    color: #64748b;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.35;
}

.audit-score-pill {
    align-items: center;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    display: inline-flex;
    flex-direction: column;
    gap: .1rem;
    min-width: 74px;
    padding: .55rem .65rem;
}

.audit-score-pill strong {
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 850;
    line-height: 1;
}

.audit-score-pill span {
    color: #1d4ed8;
    font-size: .72rem;
    font-weight: 850;
    line-height: 1.15;
    text-align: center;
}

.audit-lead-time {
    min-width: 140px;
}

.audit-lead-actions {
    display: grid;
    gap: .55rem;
    min-width: 190px;
}

.audit-lead-action-links,
.audit-lead-status-form {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.audit-lead-action-links .btn,
.audit-lead-status-form .btn {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 34px;
}

.audit-lead-status-form .form-select {
    flex: 1 1 110px;
    min-height: 34px;
}

.audit-lead-status-form .btn {
    flex: 0 0 auto;
}

.audit-lead-detail-layout {
    align-items: start;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
}

.audit-lead-detail-main,
.audit-lead-detail-side {
    display: grid;
    gap: 1rem;
}

.audit-lead-detail-side {
    position: sticky;
    top: 92px;
}

.audit-detail-hero {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 10px;
    display: grid;
    gap: 1rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 1rem;
}

.audit-score-pill-large {
    min-height: 92px;
    min-width: 92px;
}

.audit-score-pill-large strong {
    font-size: 2rem;
}

.audit-detail-hero h3,
.audit-detail-section h3 {
    font-size: 1.05rem;
    margin: .15rem 0 .25rem;
}

.audit-detail-hero p {
    color: #64748b;
    margin: 0;
}

.audit-detail-status {
    justify-self: end;
}

.audit-detail-section {
    display: grid;
    gap: .75rem;
}

.audit-answer-grid {
    display: grid;
    gap: .7rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.audit-answer-card {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    display: grid;
    gap: .35rem;
    padding: .85rem;
}

.audit-answer-card span {
    color: #64748b;
    font-size: .78rem;
    font-weight: 750;
    line-height: 1.35;
}

.audit-answer-card strong {
    color: var(--jeebp-ink);
    font-size: .95rem;
}

.audit-contact-list {
    display: grid;
    gap: .45rem;
}

.audit-contact-list a {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    color: #334155;
    font-weight: 750;
    overflow-wrap: anywhere;
    padding: .65rem .75rem;
}

.audit-detail-list {
    display: grid;
    gap: .55rem;
    margin: 0;
}

.audit-detail-list div {
    border-bottom: 1px solid var(--jeebp-border);
    display: grid;
    gap: .1rem;
    padding-bottom: .55rem;
}

.audit-detail-list dt {
    color: #64748b;
    font-size: .72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.audit-detail-list dd {
    color: var(--jeebp-ink);
    font-weight: 700;
    margin: 0;
    overflow-wrap: anywhere;
}

.audit-result-actions,
.audit-report-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1rem;
}

.audit-report-page {
    background: #f8fafc;
}

.audit-report-page .container,
.audit-report-page {
    max-width: 980px;
}

.audit-report-actions {
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.audit-report-sheet {
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 10px;
    box-shadow: var(--jeebp-shadow);
    color: #0f172a;
    display: grid;
    gap: 1.25rem;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.audit-report-head {
    align-items: start;
    border-bottom: 2px solid #e2e8f0;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding-bottom: 1rem;
}

.audit-report-head span,
.audit-report-section h2,
.audit-report-grid h2 {
    color: #0d6efd;
    font-size: .78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.audit-report-head h1 {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    margin: .2rem 0;
}

.audit-report-head p,
.audit-report-copy {
    color: #64748b;
    margin: 0;
}

.audit-report-score {
    align-items: center;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    display: grid;
    justify-items: center;
    min-width: 112px;
    padding: 1rem;
}

.audit-report-score strong {
    font-size: 2.4rem;
    line-height: 1;
}

.audit-report-score span {
    color: #1d4ed8;
    font-weight: 850;
}

.audit-report-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.audit-report-grid > div,
.audit-report-section {
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    display: grid;
    gap: .75rem;
    padding: 1rem;
}

.audit-report-grid dl {
    display: grid;
    gap: .45rem;
    margin: 0;
}

.audit-report-grid dl div {
    display: grid;
    gap: .1rem;
}

.audit-report-grid dt {
    color: #64748b;
    font-size: .72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.audit-report-grid dd {
    font-weight: 750;
    margin: 0;
    overflow-wrap: anywhere;
}

.audit-report-gaps,
.audit-report-answers {
    display: grid;
    gap: .65rem;
}

.audit-report-gaps span,
.audit-report-answers div {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    padding: .75rem;
}

.audit-report-answers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.audit-report-answers span {
    color: #64748b;
    display: block;
    font-size: .78rem;
    font-weight: 750;
    line-height: 1.35;
    margin-bottom: .3rem;
}

.audit-report-answers strong {
    color: #0f172a;
}

.audit-report-footer {
    align-items: center;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    justify-content: space-between;
    padding-top: 1rem;
}

.audit-report-footer span {
    color: #64748b;
    font-size: .88rem;
    font-weight: 700;
}

.seo-editor-layout {
    align-items: start;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
}

.seo-page-nav {
    position: sticky;
    top: 88px;
}

.seo-page-nav .nav {
    gap: .45rem;
}

.seo-page-nav .nav-link {
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    color: #475569;
    padding: .7rem .8rem;
    text-align: left;
}

.seo-page-nav .nav-link.active {
    background: var(--jeebp-primary-soft);
    border-color: #bfdbfe;
    color: var(--jeebp-primary);
}

.seo-page-nav .nav-link span,
.seo-page-nav .nav-link small {
    display: block;
}

.seo-page-nav .nav-link span {
    font-weight: 850;
}

.seo-page-nav .nav-link small {
    font-size: .76rem;
    font-weight: 650;
    margin-top: .1rem;
    overflow-wrap: anywhere;
}

.seo-page-head {
    align-items: flex-start;
    border-bottom: 1px solid var(--jeebp-border);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin: -1.25rem -1.25rem 1rem;
    padding: 1.1rem 1.25rem;
}

.seo-page-head h3 {
    color: var(--jeebp-ink);
    font-family: var(--jeebp-font-heading);
    font-size: 1.25rem;
    font-weight: 850;
    margin: .2rem 0 .1rem;
}

.seo-page-head p {
    color: #64748b;
    margin: 0;
}

.seo-preview {
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 10px;
    padding: 1rem;
}

.seo-preview span,
.seo-preview p {
    color: #4d5156;
    display: block;
    font-size: .86rem;
    margin: 0;
    overflow-wrap: anywhere;
}

.seo-preview strong {
    color: #1a0dab;
    display: block;
    font-size: 1.08rem;
    font-weight: 500;
    line-height: 1.35;
    margin: .25rem 0;
}

.seo-accordion .accordion {
    border-radius: 8px;
}

.seo-accordion .accordion-item {
    border-color: var(--jeebp-border);
}

.seo-accordion .accordion-button {
    color: var(--jeebp-ink);
    font-weight: 850;
}

.seo-save-bar {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 10px;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1rem;
    padding: .8rem;
}

.seo-save-bar span {
    color: #64748b;
    font-size: .88rem;
    font-weight: 750;
}

.schema-auto-box {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    min-height: 100%;
    padding: .75rem;
}

.schema-auto-box strong,
.schema-auto-box span {
    display: block;
}

.schema-auto-box strong {
    color: var(--jeebp-ink);
    font-weight: 850;
}

.schema-auto-box span {
    color: #64748b;
    font-size: .82rem;
    font-weight: 650;
    margin-top: .1rem;
}

.cms-page-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cms-search-panel {
    align-items: end;
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 10px;
    display: flex;
    gap: .75rem;
    padding: .9rem;
}

.cms-search-actions,
.cms-card-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.cms-group-tabs {
    gap: .45rem;
}

.cms-group-tabs .nav-link {
    align-items: center;
    background: #fff;
    border: 1px solid var(--jeebp-border);
    color: #475569;
    display: inline-flex;
    font-weight: 850;
    gap: .45rem;
}

.cms-group-tabs .nav-link span {
    background: #f1f5f9;
    border-radius: 999px;
    color: #334155;
    font-size: .72rem;
    min-width: 24px;
    padding: .1rem .45rem;
}

.cms-group-tabs .nav-link.active {
    background: var(--jeebp-primary-soft);
    border-color: #bfdbfe;
    color: var(--jeebp-primary);
}

.cms-page-card {
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1rem;
}

.cms-page-card-head {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.cms-page-card h3 {
    color: var(--jeebp-ink);
    font-family: var(--jeebp-font-heading);
    font-size: 1.18rem;
    font-weight: 850;
    margin: .2rem 0;
}

.cms-page-card p {
    color: #64748b;
    margin: 0;
}

.cms-page-badge {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    color: #0b5ed7;
    flex: 0 0 auto;
    font-size: .72rem;
    font-weight: 850;
    padding: .22rem .55rem;
}

.cms-card-meta {
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .9rem;
}

.cms-card-meta span {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 750;
    padding: .25rem .55rem;
}

.cms-section-list,
.cms-section-nav-list {
    display: grid;
    gap: .5rem;
    margin-top: 1rem;
}

.cms-section-row,
.cms-section-nav-list a {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    color: inherit;
    display: flex;
    gap: .75rem;
    justify-content: space-between;
    padding: .75rem;
    text-decoration: none;
}

.cms-section-row:hover,
.cms-section-nav-list a:hover,
.cms-section-nav-list a.active {
    background: var(--jeebp-primary-soft);
    border-color: #bfdbfe;
    color: var(--jeebp-primary);
}

.cms-section-row strong,
.cms-section-row small,
.cms-section-nav-list span,
.cms-section-nav-list small {
    display: block;
}

.cms-section-row strong,
.cms-section-nav-list span {
    font-weight: 850;
}

.cms-section-row small,
.cms-section-nav-list small {
    color: #64748b;
    font-size: .78rem;
    font-weight: 650;
}

.cms-section-row em,
.cms-editor-accordion .accordion-button em {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    color: #9a3412;
    font-size: .72rem;
    font-style: normal;
    font-weight: 850;
    padding: .18rem .5rem;
}

.cms-card-actions {
    margin-top: auto;
    padding-top: 1rem;
}

.cms-edit-layout {
    align-items: start;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
}

.cms-section-nav {
    position: sticky;
    top: 88px;
}

.cms-editor-accordion .accordion-item {
    border-color: var(--jeebp-border);
}

.cms-editor-accordion .accordion-button {
    color: var(--jeebp-ink);
    font-weight: 850;
    gap: .5rem;
}

.cms-save-bar {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 10px;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1rem;
    padding: .8rem;
    position: sticky;
    top: 76px;
    z-index: 4;
}

.cms-save-bar span {
    color: #64748b;
    font-size: .88rem;
    font-weight: 750;
}

.table-tools-body .filter-bar,
.table-tools-body .bulk-action-bar,
.table-tools-body .save-view-form,
.table-tools-body .saved-view-strip {
    margin-bottom: .75rem;
}

.table-tools-body > :last-child {
    margin-bottom: 0;
}

.business-form-head {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 0;
}

.business-form-head p {
    color: #64748b;
    font-size: .9rem;
}

.business-form-body {
    border-top: 1px solid var(--jeebp-border);
    margin-top: 1rem;
    padding-top: 1rem;
}

.checkout-business-options {
    display: grid;
    gap: .75rem;
}

.checkout-business-option {
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    gap: .75rem;
    padding: .95rem;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.checkout-business-option:hover {
    border-color: #bfdbfe;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.checkout-business-option:has(input:checked) {
    background: #eff6ff;
    border-color: #60a5fa;
    box-shadow: 0 12px 28px rgba(37, 99, 235, .1);
}

.checkout-business-option input {
    flex: 0 0 auto;
}

.checkout-business-meta {
    color: #64748b;
    display: block;
    font-size: .84rem;
    font-weight: 650;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.checkout-business-note {
    display: block;
    font-size: .82rem;
    font-weight: 750;
    margin-top: .25rem;
}

.support-create-panel {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.support-create-head {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.support-create-head p {
    color: #64748b;
    font-size: .92rem;
}

.support-create-body {
    border-top: 1px solid var(--jeebp-border);
    margin-top: 1rem;
    padding-top: 1rem;
}

.support-status-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0 0 1rem;
}

.support-status-tabs a {
    align-items: center;
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 999px;
    color: #475569;
    display: inline-flex;
    font-size: .84rem;
    font-weight: 800;
    gap: .45rem;
    padding: .42rem .75rem;
    text-decoration: none;
}

.support-status-tabs a:hover,
.support-status-tabs a.active {
    background: var(--jeebp-primary-soft);
    border-color: #bfdbfe;
    color: var(--jeebp-primary);
}

.support-status-tabs span {
    align-items: center;
    background: #f1f5f9;
    border-radius: 999px;
    color: #334155;
    display: inline-flex;
    font-size: .75rem;
    min-width: 24px;
    justify-content: center;
    padding: .08rem .42rem;
}

.report-filter-stack {
    display: grid;
    gap: .75rem;
}

.report-quick-ranges {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.report-quick-ranges a {
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 999px;
    color: #475569;
    font-size: .82rem;
    font-weight: 800;
    padding: .35rem .7rem;
    text-decoration: none;
}

.report-quick-ranges a:hover,
.report-quick-ranges a.active {
    background: var(--jeebp-primary-soft);
    border-color: #bfdbfe;
    color: var(--jeebp-primary);
}

.report-range-note {
    color: #64748b;
    font-size: .84rem;
    font-weight: 700;
    margin: -.25rem 0 0;
}

.report-bar-cell {
    min-width: 180px;
}

.report-bar {
    background: #e2e8f0;
    border-radius: 999px;
    height: 8px;
    min-width: 120px;
    overflow: hidden;
}

.report-bar span {
    background: linear-gradient(90deg, #12a66a, #0d6efd);
    border-radius: inherit;
    display: block;
    height: 100%;
    min-width: 3px;
}

.report-share {
    color: #64748b;
    display: block;
    font-size: .78rem;
    font-weight: 700;
    margin-top: .25rem;
}

.filter-bar .form-label {
    color: #64748b;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .03em;
    margin-bottom: .3rem;
    text-transform: uppercase;
}

.filter-bar .form-control,
.filter-bar .form-select {
    min-height: 42px;
    border-color: #d7e2ee;
    border-radius: 12px;
    box-shadow: none;
}

.filter-bar .form-control:focus,
.filter-bar .form-select:focus {
    border-color: rgba(13, 110, 253, .45);
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .08);
}

.filter-actions {
    align-items: end;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.workflow-card {
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    color: inherit;
    display: flex;
    gap: .85rem;
    height: 100%;
    padding: .95rem;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.workflow-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
    transform: translateY(-1px);
}

.workflow-step {
    align-items: center;
    background: #eaf3ff;
    border-radius: 8px;
    color: #0d6efd;
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 700;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.workflow-card h3 {
    font-size: 1rem;
    margin-bottom: .1rem;
}

.workflow-card .small {
    color: var(--jeebp-muted);
}

.empty-state {
    align-items: center;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: var(--jeebp-muted);
    display: flex;
    flex-direction: column;
    gap: .4rem;
    justify-content: center;
    min-height: 180px;
    padding: 2rem;
    text-align: center;
}

.empty-state-icon {
    align-items: center;
    background: #eaf3ff;
    border-radius: 999px;
    color: #0d6efd;
    display: inline-flex;
    font-weight: 700;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.empty-state h2,
.empty-state h3 {
    color: var(--jeebp-ink);
}

.locked-panel {
    border-left: 4px solid #f59e0b;
}

.table {
    --bs-table-bg: #fff;
    --bs-table-striped-bg: #f9fbfd;
    margin-bottom: 0;
}

.table-hover tbody tr:hover {
    background: #f8fafc;
}

.table thead th {
    background: #f8fafc;
    border-bottom: 1px solid var(--jeebp-border);
    color: #475569;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.table-sort-link {
    color: inherit;
    display: inline-flex;
    gap: .25rem;
}

.table-sort-link:hover {
    color: var(--jeebp-primary);
}

.table td {
    color: #334155;
    font-size: .91rem;
    line-height: 1.45;
    padding-bottom: .9rem;
    padding-top: .9rem;
    vertical-align: middle;
}

.table td .small,
.table th .small {
    line-height: 1.35;
}

.table td pre.small {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #475569;
    max-width: 260px;
    padding: .45rem .55rem;
    white-space: pre-wrap;
}

.table td a,
.dashboard-panel a:not(.btn),
.feature-box a:not(.btn),
.contact-card a:not(.btn) {
    font-weight: 700;
}

.contact-action-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.25rem;
}

.contact-page-layout {
    align-items: flex-start;
}

.contact-info-stack {
    display: grid;
    gap: 1rem;
    margin-top: 1.1rem;
}

.contact-info-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.contact-info-card p:last-child {
    margin-bottom: 0;
}

.contact-form-card {
    padding: clamp(1.25rem, 2.8vw, 2rem);
}

.contact-form-head {
    margin-bottom: .25rem;
}

.contact-form-footer {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: .2rem;
}

.about-principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-principles div {
    padding: 1rem;
}

.about-principles-grid {
    gap: 1rem;
}

.about-principle-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.about-principle-index {
    color: #cbd5e1;
    font-size: .78rem;
    font-weight: 850;
    margin-bottom: .45rem;
}

.public-footer {
    background:
        radial-gradient(circle at 12% 0%, rgba(13, 110, 253, .08), transparent 26rem),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-top: 1px solid var(--jeebp-border);
    padding: clamp(2.25rem, 4vw, 3.2rem) 0 1.25rem;
    position: relative;
}

.public-footer::before {
    background: linear-gradient(90deg, rgba(13, 110, 253, .9), rgba(16, 185, 129, .85));
    border-radius: 999px;
    content: "";
    height: 3px;
    left: 50%;
    opacity: .8;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: min(180px, 26vw);
}

.public-footer-grid {
    align-items: start;
    display: grid;
    gap: clamp(1.25rem, 3vw, 2rem);
    grid-template-columns: minmax(260px, 1.45fr) minmax(150px, .65fr) minmax(190px, .85fr) minmax(240px, 1fr);
}

.public-footer-brand p {
    color: var(--jeebp-muted);
    line-height: 1.6;
    margin: 1rem 0;
    max-width: 430px;
}

.public-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: .2rem;
}

.public-footer-column,
.public-footer-contact {
    display: grid;
    gap: .55rem;
    align-content: start;
}

.public-footer-column strong,
.public-footer-contact strong {
    color: var(--jeebp-ink);
    font-size: .92rem;
    font-weight: 850;
    margin-bottom: .25rem;
}

.public-footer-column a,
.public-footer-contact a,
.public-footer-contact span {
    color: #526173;
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.45;
}

.public-footer-column a:hover,
.public-footer-contact a:hover {
    color: var(--jeebp-primary);
}

.public-footer-bottom {
    align-items: center;
    border-top: 1px solid var(--jeebp-border);
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1rem;
}

.public-footer-bottom span {
    font-size: .9rem;
    font-weight: 650;
}

.table-responsive {
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    overflow: hidden;
}

.badge {
    border-radius: 999px;
    font-weight: 700;
    padding: .45rem .65rem;
}

.status-badge {
    min-width: 76px;
    text-align: center;
}

.action-stack {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.action-stack .btn {
    white-space: nowrap;
}

.pagination {
    gap: .25rem;
}

.page-link {
    border-color: var(--jeebp-border);
    border-radius: 8px;
    color: #475569;
    font-family: var(--jeebp-font-heading);
    font-weight: 700;
}

.page-item.active .page-link {
    background: var(--jeebp-primary);
    border-color: var(--jeebp-primary);
}

.list-group-item {
    border-color: var(--jeebp-border);
}

.ticket-thread {
    display: grid;
    gap: 1rem;
}

.ticket-message {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    padding: 1rem;
}

.ticket-message.admin-reply {
    background: #eef6ff;
    border-color: #bfdbfe;
}

.marketplace-hero {
    align-items: center;
    background:
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, .12), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.marketplace-hero h2 {
    font-size: clamp(1.35rem, 2vw, 2rem);
    margin: .25rem 0 .35rem;
}

.marketplace-hero p {
    color: #64748b;
    margin: 0;
    max-width: 680px;
}

.marketplace-filter {
    display: grid;
    gap: 1rem;
}

.marketplace-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.marketplace-category-tabs a {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 999px;
    color: #475569;
    font-size: .88rem;
    font-weight: 750;
    padding: .5rem .8rem;
    text-decoration: none;
}

.marketplace-category-tabs a.active,
.marketplace-category-tabs a:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}

.marketplace-search {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    display: grid;
    gap: .65rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: .45rem;
}

.marketplace-search-field {
    min-width: 0;
}

.marketplace-search .form-control {
    background: #fff;
    border-color: transparent;
    box-shadow: none;
    min-height: 42px;
}

.marketplace-search .form-control:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .12);
}

.marketplace-search-actions {
    display: flex;
    gap: .45rem;
}

.marketplace-search-actions .btn {
    min-height: 42px;
    min-width: 82px;
    white-space: nowrap;
}

.marketplace-admin-layout > .col-12 {
    min-width: 0;
}

.marketplace-service-form {
    display: grid;
    gap: 1rem;
}

.marketplace-form-collapse {
    margin-top: 1rem;
}

.marketplace-form-section {
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.marketplace-form-section-head {
    align-items: flex-start;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    gap: .75rem;
    padding-bottom: .85rem;
}

.marketplace-form-section-head > span {
    align-items: center;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    color: #1d4ed8;
    display: inline-flex;
    flex: 0 0 32px;
    font-size: .86rem;
    font-weight: 850;
    height: 32px;
    justify-content: center;
}

.marketplace-form-section-head h3 {
    font-size: 1rem;
    margin: 0;
}

.marketplace-form-section-head p {
    color: #64748b;
    font-size: .88rem;
    margin: .15rem 0 0;
}

.marketplace-toggle-row {
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    gap: .65rem;
    height: 100%;
    margin: 0;
    padding: .75rem;
}

.marketplace-toggle-row .form-check-input {
    flex: 0 0 auto;
    margin-top: .2rem;
}

.marketplace-toggle-row span {
    display: grid;
    gap: .1rem;
}

.marketplace-toggle-row strong {
    color: #0f172a;
    font-size: .92rem;
}

.marketplace-toggle-row small {
    color: #64748b;
    font-size: .78rem;
    line-height: 1.35;
}

.marketplace-toggle-row-inline {
    height: auto;
}

.marketplace-form-footer {
    align-items: center;
    border-top: 1px solid var(--jeebp-border);
    display: flex;
    gap: .6rem;
    justify-content: flex-end;
    padding-top: 1rem;
}

.marketplace-admin-preview {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    display: flex;
    gap: .75rem;
    padding: .65rem;
}

.marketplace-admin-preview img {
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    object-fit: cover;
    width: 120px;
}

.marketplace-admin-preview span {
    color: #64748b;
    font-size: .86rem;
    font-weight: 750;
}

.marketplace-category-checks {
    display: grid;
    gap: .5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.marketplace-category-checks label {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    display: flex;
    gap: .45rem;
    margin: 0;
    padding: .55rem .65rem;
}

.marketplace-category-checks span {
    color: #334155;
    font-size: .88rem;
    font-weight: 750;
}

.marketplace-service-actions {
    align-items: center;
    display: flex;
    gap: .4rem;
    justify-content: flex-end;
    white-space: nowrap;
}

.marketplace-section {
    display: grid;
    gap: 1rem;
}

.marketplace-section:last-of-type {
    margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.section-head {
    display: grid;
    gap: .25rem;
}

.section-head h2 {
    font-size: 1.2rem;
    margin: 0;
}

.marketplace-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.marketplace-card {
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.marketplace-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .09);
    transform: translateY(-2px);
}

.marketplace-card-media {
    align-items: center;
    background: linear-gradient(135deg, #0f766e, #2563eb);
    color: #fff;
    display: flex;
    min-height: 132px;
    justify-content: center;
    position: relative;
}

.marketplace-card-media img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.marketplace-card-media span {
    font-size: 2.2rem;
    font-weight: 850;
    letter-spacing: 0;
}

.marketplace-card-media em {
    background: rgba(255, 255, 255, .92);
    border-radius: 999px;
    color: #0f172a;
    font-size: .75rem;
    font-style: normal;
    font-weight: 800;
    padding: .3rem .55rem;
    position: absolute;
    right: .65rem;
    top: .65rem;
}

.marketplace-card-body {
    display: grid;
    flex: 1;
    gap: .55rem;
    padding: 1rem;
}

.marketplace-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.marketplace-card-meta span {
    background: #f1f5f9;
    border-radius: 999px;
    color: #475569;
    font-size: .74rem;
    font-weight: 800;
    padding: .25rem .5rem;
}

.marketplace-card h3 {
    font-size: 1rem;
    margin: 0;
}

.marketplace-card p {
    color: #64748b;
    font-size: .9rem;
    margin: 0;
}

.marketplace-price {
    color: #0f172a;
    font-size: .92rem;
}

.marketplace-reward-badge {
    align-items: flex-start;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    display: grid;
    gap: .1rem;
    padding: .55rem .65rem;
}

.marketplace-reward-badge span {
    color: #047857;
    font-size: .82rem;
    font-weight: 850;
}

.marketplace-reward-badge small {
    color: #166534;
    font-size: .75rem;
    font-weight: 700;
}

.marketplace-card-actions {
    border-top: 1px solid var(--jeebp-border);
    padding: 1rem;
}

.marketplace-card-actions .btn {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 38px;
    width: 100%;
}

.tools-hero,
.tool-detail-hero {
    padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.tools-hero-grid {
    align-items: center;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
}

.tools-hero-card,
.tool-result-panel,
.tool-form-panel,
.growth-tool-card {
    background: #fff;
    border: 1px solid var(--jeebp-border);
    border-radius: 10px;
    box-shadow: var(--jeebp-shadow);
}

.tools-hero-card {
    display: grid;
    gap: .55rem;
    padding: 1.4rem;
}

.tools-hero-card strong {
    color: var(--jeebp-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 850;
    line-height: 1;
}

.tools-hero-card span {
    color: #64748b;
    font-weight: 650;
}

.growth-tool-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.growth-tool-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
    padding: 1.15rem;
    overflow: hidden;
    position: relative;
}

.growth-tool-card.is-priority {
    border-color: #bfdbfe;
    box-shadow: 0 18px 40px rgba(13, 110, 253, .1);
}

.growth-tool-visual {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(18, 166, 106, .92), rgba(13, 110, 253, .94));
    border-radius: 16px;
    color: #fff;
    display: flex;
    height: 76px;
    justify-content: space-between;
    overflow: hidden;
    padding: 1rem;
    position: relative;
}

.growth-tool-visual svg {
    fill: none;
    height: 40px;
    position: relative;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.75;
    width: 40px;
    z-index: 1;
}

.growth-tool-visual i {
    background: rgba(255, 255, 255, .18);
    border-radius: 999px;
    height: 92px;
    position: absolute;
    right: -24px;
    top: -28px;
    width: 92px;
}

.growth-tool-visual::after {
    background: rgba(255, 255, 255, .24);
    border-radius: 999px;
    bottom: 14px;
    content: "";
    height: 10px;
    position: absolute;
    right: 26px;
    width: 72px;
}

.growth-tool-card span {
    color: #009e63;
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.growth-tool-card h3 {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 850;
    margin: .3rem 0;
}

.growth-tool-card p {
    color: #64748b;
    margin: 0;
}

.growth-tool-output {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    display: grid;
    gap: .15rem;
    margin-top: .9rem;
    padding: .7rem .8rem;
}

.growth-tool-output strong {
    color: var(--jeebp-ink);
    font-size: .9rem;
}

.growth-tool-output small {
    color: #64748b;
    font-size: .78rem;
    line-height: 1.35;
}

.growth-tool-card .btn {
    margin-top: auto;
}

.tool-benefit-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1.25rem;
}

.tool-benefit-strip span {
    background: #f1f5f9;
    border-radius: 999px;
    color: #475569;
    font-size: .8rem;
    font-weight: 800;
    padding: .35rem .65rem;
}

.tool-result-panel {
    display: grid;
    gap: .85rem;
    padding: 1.25rem;
}

.tool-result-panel.is-ready {
    border-color: #bfdbfe;
}

.tool-score-ring {
    align-items: center;
    background: conic-gradient(var(--jeebp-primary) calc(var(--score) * 1%), #e2e8f0 0);
    border-radius: 999px;
    display: flex;
    height: 118px;
    justify-content: center;
    position: relative;
    width: 118px;
}

.tool-score-ring::before {
    background: #fff;
    border-radius: inherit;
    content: "";
    inset: 9px;
    position: absolute;
}

.tool-score-ring strong,
.tool-score-ring span {
    color: #0f172a;
    position: relative;
    z-index: 1;
}

.tool-score-ring strong {
    font-size: 2rem;
    font-weight: 850;
}

.tool-metric-list {
    display: grid;
    gap: .6rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tool-metric-list div,
.tool-recommendations span {
    background: #f8fafc;
    border: 1px solid var(--jeebp-border);
    border-radius: 8px;
    padding: .7rem;
}

.tool-metric-list span {
    color: #64748b;
    display: block;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.tool-metric-list strong {
    color: #0f172a;
    display: block;
    font-size: .92rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.tool-recommendations {
    display: grid;
    gap: .55rem;
}

.tool-recommendations span {
    color: #334155;
    font-weight: 700;
}

.tool-result-actions,
.tool-form-footer,
.tool-form-head {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: space-between;
}

.tool-form-panel {
    padding: clamp(1rem, 2vw, 1.5rem);
}

.tool-form-head {
    border-bottom: 1px solid var(--jeebp-border);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.tool-form-head h2 {
    font-size: 1.25rem;
    margin: .25rem 0 0;
}

.tool-form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tool-form-wide {
    grid-column: 1 / -1;
}

.tool-form-footer {
    border-top: 1px solid var(--jeebp-border);
    margin-top: 1.25rem;
    padding-top: 1rem;
}

pre.text-wrap {
    white-space: pre-wrap;
}

@media (max-width: 1199.98px) {
    .settings-layout,
    .settings-section-layout {
        grid-template-columns: 1fr;
    }

    .settings-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .marketplace-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .growth-tool-grid,
    .tools-hero-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 991.98px) {
    .after-payment-grid,
    .process-steps,
    .trust-strip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-heading-row,
    .contact-form-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-hero-tags {
        margin-top: .9rem;
    }

    .public-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .public-footer-brand {
        grid-column: 1 / -1;
    }

    .pricing-hero-actions .btn {
        flex: 1 1 180px;
    }

    .pricing-urgency-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .pricing-urgency-box .btn {
        width: 100%;
    }

    .admin-dashboard-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-dashboard-hero-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .dashboard-focus-grid,
    .action-grid,
    .dashboard-metric-grid,
    .dashboard-state-columns,
    .global-search-grid,
    .user-project-grid,
    .user-project-detail-grid,
    .seo-editor-layout,
    .cms-page-grid,
    .cms-edit-layout,
    .audit-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seo-editor-layout,
    .cms-edit-layout,
    .user-project-detail-grid,
    .audit-form-grid {
        grid-template-columns: 1fr;
    }

    .user-project-stepper {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .user-project-status {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .work-activity-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .work-activity-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seo-page-nav,
    .cms-section-nav,
    .audit-submit-panel {
        position: static;
    }

    .seo-page-nav .nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-section {
        padding: 3.5rem 0;
    }

    .local-hero-visual {
        margin-top: 1rem;
    }

    .hero-floating-card {
        position: static;
        max-width: none;
        margin-top: .75rem;
    }

    .hero-floating-card-bottom {
        min-width: 0;
    }

    .growth-action-card {
        margin-top: .75rem;
    }

    .contact-form-footer .btn {
        width: 100%;
    }

    .app-sidebar {
        flex: 0 0 auto;
        min-height: auto;
        overflow: visible;
        padding: 0;
        position: absolute;
        width: 0;
        z-index: auto;
    }

    .admin-sidebar,
    .user-sidebar {
        border: 0 !important;
        box-shadow: none;
        min-height: auto;
    }

    .admin-sidebar {
        background: #101827 !important;
    }

    .user-sidebar {
        background: #fff;
    }

    .jeebp-panel-brand {
        font-size: 1rem;
    }

    .app-sidebar-head {
        display: none;
        margin-bottom: 0;
    }

    .app-sidebar-head .app-menu-toggle {
        display: none;
    }

    .app-topbar {
        align-items: center;
        flex-wrap: nowrap;
        gap: .65rem;
        min-height: 62px;
        padding: .7rem .9rem;
        position: sticky;
    }

    .app-topbar-title {
        min-width: 0;
    }

    .app-topbar-title small {
        display: block;
    }

    .app-topbar-actions {
        flex: 0 0 auto;
        gap: .38rem;
    }

    .page-toolbar {
        flex-direction: column;
    }

    .page-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .action-focus-panel,
    .business-service-head,
    .business-service-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-primary-stats {
        grid-template-columns: 1fr;
    }

    .enquiry-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .audit-leads-table {
        table-layout: auto;
    }

    .audit-lead-detail-layout,
    .audit-answer-grid,
    .audit-detail-hero,
    .audit-report-head,
    .audit-report-grid,
    .audit-report-answers {
        grid-template-columns: 1fr;
    }

    .audit-lead-detail-side {
        position: static;
    }

    .audit-detail-status {
        justify-self: start;
    }

    .audit-lead-actions {
        min-width: 0;
    }

    .audit-lead-action-links .btn {
        flex: 1 1 70px;
    }

    .secondary-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .affiliate-performance-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .business-service-meta {
        grid-template-columns: 1fr;
    }

    .settings-card {
        min-height: 165px;
    }

    .notification-item {
        flex-direction: column;
    }

    .notification-compose-form {
        grid-template-columns: 1fr;
    }

    .notification-compose-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .notification-compose-actions .btn {
        width: 100%;
    }

    .user-360-hero {
        flex-direction: column;
    }

    .user-360-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .reward-rules-simple {
        grid-template-columns: 1fr;
    }

    .tools-hero-grid,
    .tool-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    body {
        font-size: 15px;
    }

    .pricing-hero {
        padding: 2.5rem 0;
    }

    .pricing-hero-actions .btn {
        width: 100%;
    }

    .hero-action-row .btn {
        width: 100%;
    }

    .hero-proof-pills,
    .pricing-clarity-strip {
        align-items: stretch;
        flex-direction: column;
    }

    .pricing-feature-prompt {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-proof-pills span,
    .pricing-clarity-strip span {
        border-radius: 8px;
        text-align: center;
    }

    .after-payment-grid,
    .audit-check-grid,
    .audit-score-preview,
    .audit-option-grid,
    .process-steps,
    .about-principles,
    .trust-strip-grid,
    .public-footer-grid {
        grid-template-columns: 1fr;
    }

    .public-footer-actions,
    .public-footer-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .public-footer-actions .btn,
    .public-footer-actions .btn {
        width: 100%;
    }

    .audit-tool-head {
        align-items: flex-start;
        flex-direction: column;
        gap: .5rem;
    }

    .contact-action-strip .btn {
        width: 100%;
    }

    .pricing-coupon-chip {
        align-items: flex-start;
        flex-direction: column;
        gap: .15rem;
    }

    .pricing-current {
        font-size: 2rem;
    }

    .admin-dashboard-hero-actions .btn {
        width: 100%;
    }

    .dashboard-focus-grid,
    .action-grid,
    .dashboard-metric-grid,
    .dashboard-state-columns,
    .global-search-grid,
    .user-project-grid,
    .cms-page-grid {
        grid-template-columns: 1fr;
    }

    .user-project-card-head,
    .user-project-detail-hero,
    .user-project-actions,
    .work-panel-head {
        align-items: stretch;
        flex-direction: column;
    }

    .user-project-actions .btn,
    .user-project-detail-hero .page-actions .btn {
        width: 100%;
    }

    .user-project-stepper,
    .user-project-status,
    .work-activity-summary,
    .work-activity-preview-grid {
        grid-template-columns: 1fr;
    }

    .seo-page-head,
    .seo-save-bar,
    .cms-page-card-head,
    .cms-save-bar,
    .cms-search-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .cms-search-actions .btn,
    .cms-card-actions .btn {
        width: 100%;
    }

    .seo-page-nav .nav {
        grid-template-columns: 1fr;
    }

    .dashboard-focus-card,
    .dashboard-action-card,
    .mini-stat {
        min-height: auto;
    }

    .display-5,
    .display-6,
    .h1 {
        font-size: 2rem;
    }

    .hero-section {
        padding: 2.5rem 0;
    }

    .public-navbar {
        min-height: 70px;
    }

    .public-navbar .container {
        min-height: 70px;
    }

    .navbar-nav {
        gap: .25rem;
        padding-top: .75rem;
    }

    .public-nav-dropdown {
        border: 0;
        box-shadow: none;
        padding: .25rem 0 .45rem .5rem;
    }

    .public-nav-cta {
        display: flex;
        justify-content: center;
        margin-top: .35rem;
        width: 100%;
    }

    .public-desktop-nav .public-nav-actions {
        border-left: 0;
        display: grid;
        gap: .5rem;
        margin-left: 0;
        padding-left: 0;
        width: 100%;
    }

    .public-desktop-nav .public-nav-actions .nav-link,
    .public-desktop-nav .public-nav-actions .btn {
        width: 100%;
    }

    .price-line {
        font-size: 1.5rem;
    }

    .dashboard-card {
        min-height: 112px;
    }

    .secondary-stat-grid,
    .quick-action-grid,
    .affiliate-performance-grid {
        grid-template-columns: 1fr;
    }

    .affiliate-progress-box {
        align-items: stretch;
        flex-direction: column;
    }

    .affiliate-progress-box .btn {
        width: 100%;
    }

    .dashboard-secondary-panel {
        padding: 1rem;
    }

    .dashboard-panel,
    .feature-box,
    .contact-card {
        padding: 1rem;
    }

    .settings-card-grid {
        grid-template-columns: 1fr;
    }

    .audit-leads-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .audit-lead-cell,
    .audit-lead-business {
        gap: .65rem;
    }

    .audit-lead-status-form {
        display: grid;
        grid-template-columns: 1fr;
    }

    .audit-lead-action-links {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .audit-lead-action-links .btn,
    .audit-lead-status-form .btn {
        width: 100%;
    }

    .settings-card {
        min-height: auto;
    }

    .app-topbar-user .text-muted {
        display: none !important;
    }

    .app-topbar-title h1 {
        font-size: .98rem;
        max-width: 48vw;
    }

    .app-topbar-title .section-kicker {
        font-size: .6rem;
    }

    .app-topbar-title small {
        max-width: 48vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .app-account-btn strong {
        display: none;
    }

    .app-account-btn,
    .app-icon-btn,
    .app-topbar-menu {
        min-height: 38px;
    }

    .app-account-btn {
        padding-right: .3rem;
    }

    .app-main {
        padding: 1rem 1rem 1.35rem;
    }

    .app-main > :not(.app-panel-footer):nth-last-child(2) {
        margin-bottom: 2.25rem;
    }

    .app-panel-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: .35rem;
    }

    .app-panel-footer-note {
        white-space: normal;
    }

    .filter-bar {
        grid-template-columns: 1fr;
    }

    .dashboard-page-hero .page-actions .btn,
    .dashboard-panel-toggle .panel-subtoolbar .btn {
        width: 100%;
    }

    .dashboard-panel-summary {
        padding: .9rem 1rem;
    }

    .dashboard-panel-toggle .dashboard-panel-body {
        padding: .9rem;
    }

    .support-type-grid {
        grid-template-columns: 1fr;
    }

    .filter-actions {
        flex-direction: column;
    }

    .enquiry-stats-grid {
        grid-template-columns: 1fr;
    }

    .enquiry-stat-card {
        min-height: auto;
    }

    .table-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: .5rem;
    }

    .business-service-grid,
    .service-group-grid {
        grid-template-columns: 1fr;
    }

    .table-scroll-hint {
        border-radius: 8px;
        width: 100%;
    }

    .enquiry-message-cell {
        max-width: none;
    }

    .business-form-head,
    .support-create-head,
    .marketplace-hero,
    .table-tools-toggle {
        align-items: flex-start;
    }

    .business-form-head,
    .support-create-head,
    .marketplace-hero {
        flex-direction: column;
    }

    .business-form-head .btn,
    .support-create-head .btn,
    .marketplace-hero .btn {
        width: 100%;
    }

    .marketplace-search {
        grid-template-columns: 1fr;
    }

    .marketplace-search-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .marketplace-search-actions .btn:only-child {
        grid-column: 1 / -1;
    }

    .marketplace-form-section {
        padding: .85rem;
    }

    .marketplace-form-section-head {
        gap: .6rem;
    }

    .marketplace-form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .marketplace-form-footer .btn {
        width: 100%;
    }

    .marketplace-service-actions {
        justify-content: flex-start;
    }

    .marketplace-grid {
        grid-template-columns: 1fr;
    }

    .growth-tool-grid,
    .tool-metric-list {
        grid-template-columns: 1fr;
    }

    .tool-form-head,
    .tool-form-footer,
    .tool-result-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .tool-form-head .btn,
    .tool-form-footer .btn,
    .tool-result-actions .btn {
        width: 100%;
    }

    .table-responsive.mobile-card-table {
        border: 1px solid var(--jeebp-border);
        border-radius: 8px;
        margin-top: .5rem;
        overflow-x: auto;
        overflow-y: hidden;
        position: relative;
        -webkit-overflow-scrolling: touch;
    }

    .table-responsive.mobile-card-table::before {
        background: #eff6ff;
        border-bottom: 1px solid #bfdbfe;
        color: #0b5ed7;
        content: "Swipe left/right to view all columns";
        display: block;
        font-size: .78rem;
        font-weight: 800;
        padding: .45rem .75rem;
        position: sticky;
        left: 0;
        z-index: 2;
    }

    .mobile-card-table table {
        margin-bottom: 0;
        min-width: 860px;
        width: max-content;
    }

    .mobile-card-table thead th {
        background: #f8fafc;
        color: #475569;
        font-size: .72rem;
        font-weight: 800;
        letter-spacing: 0;
        text-transform: uppercase;
    }

    .mobile-card-table th,
    .mobile-card-table td {
        padding: .7rem .75rem;
        vertical-align: middle;
        white-space: nowrap;
    }

    .mobile-card-table td {
        font-size: .88rem;
    }

    .mobile-card-table .action-stack,
    .mobile-card-table form {
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .btn,
    .form-control,
    .form-select {
        min-height: 42px;
    }
}

@media print {
    @page {
        margin: 12mm;
        size: A4;
    }

    html,
    body {
        background: #fff !important;
        color: #000 !important;
        font-size: 10.5px !important;
        line-height: 1.35 !important;
        min-height: auto !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .navbar,
    .public-footer,
    .public-main > :not(.audit-report-page),
    .app-sidebar,
    .app-topbar,
    .app-panel-footer,
    .audit-report-actions,
    .alert,
    .btn {
        display: none !important;
    }

    .container,
    .container-fluid,
    .app-content,
    .app-main,
    .public-main,
    .audit-report-page {
        background: #fff !important;
        margin: 0 !important;
        max-width: none !important;
        min-height: auto !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .audit-report-sheet {
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        display: block !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .audit-report-sheet,
    .audit-report-sheet * {
        box-sizing: border-box !important;
        max-width: 100% !important;
    }

    .audit-report-head {
        align-items: center !important;
        border-bottom: 1.5pt solid #cbd5e1 !important;
        display: grid !important;
        gap: 8mm !important;
        grid-template-columns: minmax(0, 1fr) 26mm !important;
        margin-bottom: 6mm !important;
        padding-bottom: 5mm !important;
        page-break-inside: avoid !important;
    }

    .audit-report-head span,
    .audit-report-section h2,
    .audit-report-grid h2 {
        color: #0d47a1 !important;
        font-size: 8.5px !important;
        letter-spacing: 0 !important;
    }

    .audit-report-head h1 {
        font-size: 21px !important;
        line-height: 1.12 !important;
        margin: 2mm 0 !important;
        overflow-wrap: break-word !important;
    }

    .audit-report-head p,
    .audit-report-copy {
        color: #334155 !important;
        font-size: 10px !important;
    }

    .audit-report-score {
        border: 1pt solid #bfdbfe !important;
        border-radius: 4mm !important;
        min-width: 0 !important;
        padding: 3mm !important;
    }

    .audit-report-score strong {
        font-size: 24px !important;
    }

    .audit-report-score span {
        font-size: 9px !important;
    }

    .audit-report-grid,
    .audit-report-answers {
        display: grid !important;
        gap: 4mm !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        margin-bottom: 5mm !important;
    }

    .audit-report-grid > div,
    .audit-report-section {
        border: 1pt solid #d8dee8 !important;
        border-radius: 3mm !important;
        break-inside: avoid !important;
        display: block !important;
        margin-bottom: 5mm !important;
        padding: 4mm !important;
        page-break-inside: avoid !important;
    }

    .audit-report-grid dl,
    .audit-report-gaps,
    .audit-report-answers {
        gap: 2.4mm !important;
    }

    .audit-report-grid dl div {
        border-bottom: .5pt solid #e5e7eb !important;
        padding-bottom: 1.7mm !important;
    }

    .audit-report-grid dt {
        font-size: 7.5px !important;
    }

    .audit-report-grid dd {
        font-size: 10px !important;
        line-height: 1.25 !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    .audit-report-gaps span {
        background: #f8fafc !important;
        border: .75pt solid #e2e8f0 !important;
        border-radius: 2mm !important;
        break-inside: avoid !important;
        display: block !important;
        font-size: 10px !important;
        margin-bottom: 2mm !important;
        overflow-wrap: anywhere !important;
        padding: 2.5mm !important;
        page-break-inside: avoid !important;
        word-break: break-word !important;
    }

    .audit-report-answers-section {
        break-before: auto !important;
        break-inside: auto !important;
        page-break-before: auto !important;
        page-break-inside: auto !important;
    }

    .audit-report-answers {
        grid-template-columns: 1fr !important;
        margin-bottom: 0 !important;
    }

    .audit-report-answers div {
        background: #fff !important;
        border: 0 !important;
        border-bottom: .75pt solid #e5e7eb !important;
        border-radius: 0 !important;
        break-inside: avoid !important;
        display: grid !important;
        gap: 3mm !important;
        grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr) !important;
        padding: 2.2mm 0 !important;
        page-break-inside: avoid !important;
    }

    .audit-report-answers span {
        color: #334155 !important;
        font-size: 9.5px !important;
        line-height: 1.25 !important;
        margin: 0 !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    .audit-report-answers strong {
        font-size: 10px !important;
        line-height: 1.25 !important;
        overflow-wrap: anywhere !important;
        text-align: right !important;
        word-break: break-word !important;
    }

    .audit-report-footer {
        border-top: 1pt solid #cbd5e1 !important;
        break-inside: avoid !important;
        font-size: 9px !important;
        margin-top: 5mm !important;
        padding-top: 3mm !important;
        page-break-inside: avoid !important;
    }

    .audit-report-footer span {
        color: #334155 !important;
        font-size: 9px !important;
    }
}

.work-project-layout .dashboard-panel {
    overflow: visible;
}

.work-project-summary {
    display: grid;
    gap: .9rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1.15rem;
}

.work-summary-card {
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .045);
    display: flex;
    flex-direction: column;
    gap: .75rem;
    min-height: 112px;
    padding: 1rem;
}

.work-summary-card span {
    color: #009e63;
    display: block;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1.2;
    margin-bottom: .35rem;
    text-transform: uppercase;
}

.work-summary-card strong {
    color: #0f172a;
    display: block;
    font-size: clamp(1.15rem, 1.8vw, 1.55rem);
    font-weight: 850;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.work-summary-card small {
    color: #64748b;
    display: block;
    font-size: .84rem;
    font-weight: 600;
    line-height: 1.35;
    margin-top: .35rem;
}

.work-summary-bar {
    background: #eaf3ff;
    border-radius: 999px;
    height: 7px;
    margin-top: auto;
    overflow: hidden;
}

.work-summary-bar span {
    background: linear-gradient(90deg, #0d6efd, #12a66a);
    border-radius: inherit;
    display: block;
    height: 100%;
    margin: 0;
}

.work-case-group-list {
    display: grid;
    gap: 1rem;
}

.work-case-group {
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .045);
    overflow: hidden;
}

.work-case-group-head {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem 1rem .9rem;
}

.work-case-group-head-main {
    min-width: 0;
}

.work-case-group-head-main h3 {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 850;
    line-height: 1.25;
    margin: 0;
    overflow-wrap: anywhere;
}

.work-case-group-head-main p {
    color: #64748b;
    font-size: .92rem;
    line-height: 1.45;
    margin: .3rem 0 0;
    overflow-wrap: anywhere;
}

.work-case-group-meta {
    align-items: center;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    font-size: .78rem;
    gap: .4rem .75rem;
    margin-top: .55rem;
}

.work-case-group-meta strong {
    color: #0f172a;
}

.work-case-group-actions {
    display: grid;
    gap: .6rem;
    justify-items: end;
    min-width: 220px;
}

.work-case-group-toggle {
    border-top: 1px solid #edf2f7;
    padding: .85rem 1rem 1rem;
}

.work-case-group-toggle summary {
    color: var(--jeebp-primary);
    cursor: pointer;
    font-size: .88rem;
    font-weight: 800;
    list-style: none;
    outline: none;
}

.work-case-group-toggle summary::-webkit-details-marker {
    display: none;
}

.work-case-list {
    display: grid;
    gap: .75rem;
    margin-top: .8rem;
}

.work-case-row {
    align-items: flex-start;
    background: #f8fbff;
    border: 1px solid #dfe9f7;
    border-radius: 14px;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: .85rem .9rem;
}

.work-case-row-main {
    min-width: 0;
}

.work-case-row-main h4 {
    color: #0f172a;
    font-size: .98rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
    overflow-wrap: anywhere;
}

.work-case-row-meta {
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    font-size: .78rem;
    gap: .35rem .7rem;
    margin-top: .4rem;
}

.work-case-row-actions {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 150px;
}

.work-case-row-actions .btn {
    min-width: 110px;
}

.user-project-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.user-project-card {
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .04);
    display: flex;
    flex-direction: column;
    gap: .85rem;
    min-height: 100%;
    padding: 1rem;
    transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.user-project-card-head {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.user-project-card-head > div {
    min-width: 0;
}

.user-project-card h3 {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 850;
    line-height: 1.3;
    margin: .2rem 0;
    overflow-wrap: anywhere;
}

.user-project-card p,
.user-project-update p {
    color: #64748b;
    font-size: .9rem;
    margin: 0;
    overflow-wrap: anywhere;
}

.user-project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.user-project-meta span {
    background: #f1f5f9;
    border-radius: 999px;
    color: #475569;
    font-size: .75rem;
    font-weight: 800;
    padding: .28rem .55rem;
}

.user-project-progress {
    align-items: center;
    display: grid;
    gap: .65rem;
    grid-template-columns: minmax(0, 1fr) auto;
}

.user-project-progress > div {
    background: #eaf3ff;
    border-radius: 999px;
    height: 9px;
    overflow: hidden;
}

.user-project-progress > div span {
    background: linear-gradient(90deg, #0d6efd, #12a66a);
    border-radius: inherit;
    display: block;
    height: 100%;
}

.user-project-progress strong {
    color: #0f172a;
    font-size: .88rem;
    font-weight: 850;
}

.user-project-update {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    display: grid;
    gap: .25rem;
    padding: .8rem;
}

.user-project-update strong {
    color: #0f172a;
    font-size: .88rem;
    font-weight: 850;
}

.user-project-update small {
    color: #64748b;
    font-size: .78rem;
    font-weight: 700;
}

.user-project-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: auto;
}

.user-project-detail-hero {
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .04);
    padding: clamp(1rem, 2vw, 1.25rem);
}

.user-project-status {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.user-project-stepper {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.user-project-step {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: grid;
    gap: .5rem;
    min-height: 88px;
    padding: .85rem;
}

.user-project-step span {
    background: #cbd5e1;
    border-radius: 999px;
    height: 8px;
    width: 42px;
}

.user-project-step strong {
    color: #475569;
    font-size: .86rem;
    font-weight: 850;
    line-height: 1.3;
}

.user-project-step.done {
    background: #ecfdf5;
    border-color: #bbf7d0;
}

.user-project-step.done span {
    background: #12a66a;
}

.user-project-step.current {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.user-project-step.current span {
    background: #0d6efd;
}

.user-project-detail-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
    align-items: start;
}

.user-visible-task {
    box-shadow: none;
}

.work-progress-panel .page-toolbar {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1rem;
}

.work-panel-head {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: .85rem;
}

.work-panel-head h3 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 850;
    margin: .15rem 0;
}

.work-panel-head p {
    color: #64748b;
    font-size: .84rem;
    font-weight: 650;
    margin: 0;
}

.work-activity-summary {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.work-activity-preview {
    margin-bottom: clamp(2.75rem, 5vw, 4.25rem);
}

.work-activity-preview-grid {
    display: grid;
    gap: .85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.work-activity-preview-grid .work-feed-item {
    min-height: 100%;
}

.work-task-list {
    display: grid;
    gap: .85rem;
}

.work-task-card {
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .04);
    padding: 1rem;
}

.work-task-card-head {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.work-task-main {
    min-width: 0;
}

.work-task-main h4 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
    overflow-wrap: anywhere;
}

.work-task-main p,
.work-feed-item p {
    color: #475569;
    font-size: .9rem;
    line-height: 1.55;
    margin: .55rem 0 0;
    overflow-wrap: anywhere;
}

.work-task-meta {
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    font-size: .8rem;
    gap: .4rem .85rem;
    margin-top: .45rem;
}

.work-task-edit {
    border-top: 1px solid #edf2f7;
    margin-top: .9rem;
    padding-top: .75rem;
}

.work-task-edit summary,
.work-add-task-panel > summary {
    color: #0d6efd;
    cursor: pointer;
    font-size: .88rem;
    font-weight: 800;
    list-style: none;
}

.work-task-edit summary::-webkit-details-marker,
.work-add-task-panel > summary::-webkit-details-marker {
    display: none;
}

.work-add-task-panel > summary {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.work-add-task-panel > summary strong {
    color: #0f172a;
    display: block;
    font-size: 1rem;
}

.work-compact-feed {
    display: grid;
    gap: .75rem;
    max-height: 540px;
    overflow: auto;
    padding-right: .15rem;
}

.work-feed-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: .8rem;
}

.work-feed-item strong {
    color: #0f172a;
    font-size: .88rem;
}

.work-feed-item span,
.work-feed-item small {
    color: #64748b;
    font-size: .78rem;
}

.employee-quick-filters {
    gap: .5rem;
}

.employee-admin-layout {
    align-items: start;
}

.employee-create-panel,
.employee-admin-workspace {
    min-width: 0;
}

.employee-create-panel {
    position: sticky;
    top: 84px;
}

.employee-create-note {
    background: linear-gradient(180deg, #f8fbff 0%, #f5f8fd 100%);
    border: 1px solid #dce7f6;
    border-radius: 14px;
    color: #64748b;
    display: grid;
    gap: .28rem;
    margin-top: 1rem;
    padding: .9rem 1rem;
}

.employee-create-note strong {
    color: #0f172a;
    font-size: .92rem;
    font-weight: 800;
}

.employee-create-note span {
    font-size: .86rem;
    line-height: 1.55;
}

.employee-summary-grid {
    display: grid;
    gap: .85rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.employee-summary-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbe5f1;
    border-radius: 16px;
    box-shadow: var(--jeebp-shadow);
    display: grid;
    gap: .2rem;
    min-width: 0;
    padding: 1rem;
}

.employee-summary-card span {
    color: #64748b;
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.employee-summary-card strong {
    color: #0f172a;
    font-size: 1.45rem;
    font-weight: 850;
    line-height: 1.1;
}

.employee-summary-card small {
    color: #64748b;
    font-size: .84rem;
    font-weight: 700;
}

.employee-table-shell {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid #dbe5f1;
    border-radius: 18px;
    box-shadow: var(--jeebp-shadow);
    overflow: hidden;
}

.employee-table-head {
    align-items: flex-start;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem 1rem .95rem;
}

.employee-table-head h3 {
    color: #0f172a;
    font-size: 1.02rem;
    font-weight: 850;
    margin: 0 0 .2rem;
}

.employee-table-head p {
    color: #64748b;
    font-size: .88rem;
    margin: 0;
}

.employee-table-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    justify-content: flex-end;
}

.employee-table-meta span {
    background: #eef4ff;
    border: 1px solid #d7e3ff;
    border-radius: 999px;
    color: #1e3a8a;
    font-size: .76rem;
    font-weight: 800;
    padding: .36rem .62rem;
    white-space: nowrap;
}

.employee-roster-list {
    display: grid;
    gap: .85rem;
    padding: 1rem;
}

.employee-roster-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
    display: grid;
    gap: 1rem;
    padding: 1rem;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.employee-roster-card:hover {
    border-color: rgba(13, 110, 253, .22);
    box-shadow: var(--jeebp-shadow-hover);
    transform: translateY(-1px);
}

.employee-roster-main {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.employee-roster-stats {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.employee-roster-empty {
    padding: 1rem;
}

.employee-person {
    align-items: center;
    display: flex;
    gap: .85rem;
    min-width: 0;
}

.employee-avatar {
    align-items: center;
    background: linear-gradient(135deg, #14b8a6 0%, #3b82f6 100%);
    border-radius: 16px;
    box-shadow: 0 14px 24px rgba(37, 99, 235, .12);
    color: #fff;
    display: inline-flex;
    flex: 0 0 48px;
    font-size: 1.12rem;
    font-weight: 900;
    height: 48px;
    justify-content: center;
    text-transform: uppercase;
    width: 48px;
}

.employee-person-copy {
    display: grid;
    gap: .15rem;
    min-width: 0;
}

.employee-name {
    color: #0f172a;
    display: block;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.3;
}

.employee-name-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.employee-meta {
    color: #64748b;
    display: block;
    font-size: .82rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.employee-load-stat {
    display: grid;
    gap: .12rem;
}

.employee-load-stat strong {
    color: #0f172a;
    font-size: 1.02rem;
    font-weight: 850;
    line-height: 1.15;
}

.employee-load-stat span {
    color: #64748b;
    font-size: .76rem;
    font-weight: 700;
    line-height: 1.35;
}

.employee-load-stat.is-alert strong,
.employee-load-stat.is-alert span {
    color: #dc2626;
}

.employee-roster-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    justify-content: flex-end;
    max-width: 360px;
}

.employee-roster-actions form {
    margin: 0;
}

.employee-roster-actions .btn {
    min-height: 40px;
    min-width: 122px;
    white-space: nowrap;
}

.employee-app-content {
    background: var(--jeebp-soft);
}

.employee-main {
    width: 100%;
}

.employee-topbar .app-topbar-title h1,
.employee-topbar .app-topbar-title small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employee-quick-filters .btn {
    border-radius: 999px;
    font-weight: 750;
    padding-inline: .8rem;
}

.employee-work-hero,
.employee-project-toolbar {
    align-items: flex-start;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbe4f0;
    border-radius: 16px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .045);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1.15rem;
}

.employee-work-hero h2,
.employee-project-toolbar h2 {
    color: #0f172a;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 850;
    line-height: 1.2;
    margin: .2rem 0 .35rem;
}

.employee-work-hero p,
.employee-project-toolbar p {
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

.employee-filter-drawer {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: .75rem .9rem;
}

.employee-filter-drawer summary,
.employee-side-detail > summary {
    align-items: center;
    color: #0d6efd;
    cursor: pointer;
    display: flex;
    font-size: .88rem;
    font-weight: 850;
    justify-content: space-between;
    list-style: none;
}

.employee-filter-drawer summary::-webkit-details-marker,
.employee-side-detail > summary::-webkit-details-marker {
    display: none;
}

.employee-focus-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(280px, 1.05fr) minmax(0, 1.95fr);
}

.employee-focus-panel,
.employee-stats-strip {
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .04);
    padding: 1rem;
}

.employee-focus-panel .section-heading {
    margin-bottom: .8rem;
}

.employee-focus-list {
    display: grid;
    gap: .55rem;
}

.employee-focus-list a {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #0f172a;
    display: grid;
    gap: .15rem;
    padding: .75rem;
    text-decoration: none;
}

.employee-focus-list a:hover {
    border-color: #bfdbfe;
    color: #0d6efd;
}

.employee-focus-list strong {
    font-size: .94rem;
    overflow-wrap: anywhere;
}

.employee-focus-list span,
.employee-focus-empty {
    color: #64748b;
    font-size: .84rem;
}

.employee-stats-strip {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.employee-stat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    display: grid;
    gap: .25rem;
    min-height: 92px;
    padding: .9rem;
}

.employee-stat-card span {
    color: #64748b;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.employee-stat-card strong {
    color: #0f172a;
    font-size: 1.65rem;
    font-weight: 850;
    line-height: 1;
}

.employee-workspace-panel {
    padding: clamp(1rem, 2vw, 1.35rem);
}

.employee-workspace-head {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.employee-task-grid {
    display: grid;
    gap: .9rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.employee-project-task-groups {
    display: grid;
    gap: 1rem;
}

.employee-project-task-group {
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 16px;
    padding: .9rem;
}

.employee-project-task-group-head {
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: .85rem;
    padding-bottom: .85rem;
}

.employee-project-task-group-head span {
    color: #009e63;
    display: block;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.employee-project-task-group-head h3 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 850;
    line-height: 1.3;
    margin: .2rem 0 0;
    overflow-wrap: anywhere;
}

.employee-task-card {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    padding: .9rem;
}

.employee-task-card.is-overdue {
    border-color: #fecaca;
    box-shadow: 0 14px 32px rgba(220, 38, 38, .08);
}

.employee-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .75rem;
}

.employee-card-actions .btn {
    min-width: 96px;
}

.employee-project-status {
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .04);
    display: grid;
    gap: .9rem;
    margin-bottom: 1rem;
    padding: 1rem;
}

.employee-project-status strong {
    color: #0f172a;
    display: block;
    font-size: 1.35rem;
    font-weight: 850;
    line-height: 1.2;
    margin-top: .25rem;
}

.employee-project-status small {
    color: #64748b;
    display: block;
    margin-top: .25rem;
}

.employee-project-status-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.employee-project-status-meta span {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #334155;
    font-size: .82rem;
    font-weight: 700;
    padding: .35rem .65rem;
}

.employee-side-detail {
    padding: 1rem;
}

.employee-side-detail > summary {
    color: #0f172a;
}

.employee-side-detail > summary strong {
    display: block;
    font-size: 1rem;
}

.employee-side-detail[open] > summary {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: .85rem;
    padding-bottom: .75rem;
}

@media (max-width: 1199.98px) {

    .employee-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .employee-roster-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .work-project-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .employee-task-grid {
        grid-template-columns: 1fr;
    }

    .employee-focus-grid {
        grid-template-columns: 1fr;
    }

    .employee-stats-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {

    .employee-create-panel {
        position: static;
        top: auto;
    }

    .employee-table-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .employee-table-meta {
        justify-content: flex-start;
    }

    .employee-roster-main {
        flex-direction: column;
    }

    .employee-person {
        align-items: flex-start;
    }

    .employee-avatar {
        border-radius: 14px;
        flex-basis: 44px;
        height: 44px;
        width: 44px;
    }

    .page-hero-tags {
        gap: .5rem;
    }

    .page-hero-tags span {
        min-height: 36px;
        padding: .4rem .75rem;
    }

    .section-heading-row {
        margin-bottom: 1rem;
    }

    .trust-strip {
        padding: 1rem 0;
    }

    .metric-box-insight,
    .contact-info-card,
    .page-story-card,
    .contact-form-card {
        padding: 1rem;
    }

    .employee-main {
        padding-top: .85rem;
    }

    .employee-topbar .app-topbar-title h1 {
        max-width: 48vw;
    }

    .employee-work-hero,
    .employee-project-toolbar {
        display: grid;
        padding: .95rem;
    }

    .employee-work-hero-actions .btn,
    .employee-project-toolbar > .btn {
        width: 100%;
    }

    .employee-stats-strip {
        grid-template-columns: 1fr;
    }

    .employee-summary-grid {
        grid-template-columns: 1fr;
    }

    .employee-roster-stats {
        grid-template-columns: 1fr 1fr;
    }

    .employee-roster-actions,
    .employee-roster-actions form,
    .employee-roster-actions .btn {
        width: 100%;
    }

    .employee-roster-actions {
        justify-content: stretch;
        max-width: none;
    }

    .service-group-head,
    .service-group-history-item {
        flex-direction: column;
    }

    .service-group-badges,
    .service-group-history-actions {
        justify-content: flex-start;
        min-width: 0;
        width: 100%;
    }

    .service-group-history-actions .btn {
        min-width: 0;
        width: 100%;
    }

    .work-project-summary {
        grid-template-columns: 1fr;
    }

    .work-summary-card {
        min-height: auto;
    }

    .work-case-group-head,
    .work-case-row {
        flex-direction: column;
    }

    .work-case-group-actions,
    .work-case-row-actions {
        justify-items: start;
        min-width: 0;
        width: 100%;
    }

    .work-case-row-actions .btn {
        width: 100%;
    }

    .work-task-card {
        padding: .85rem;
    }

    .work-task-card-head {
        display: grid;
    }

    .work-task-card-head form,
    .work-task-card-head .btn {
        width: 100%;
    }

    .work-task-meta {
        display: grid;
        gap: .25rem;
    }

    .work-compact-feed {
        max-height: none;
    }

    .employee-card-actions .btn {
        width: 100%;
    }

    .employee-project-task-group-head {
        align-items: stretch;
        display: grid;
    }

    .employee-project-task-group-head .btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {

    .employee-roster-stats {
        grid-template-columns: 1fr;
    }
}

