:root {
    --app-primary: #2854c5;
    --app-primary-soft: #eef3ff;
    --app-secondary: #64748b;
    --app-dark: #0f172a;
    --app-surface: #ffffff;
    --app-surface-2: #f8fafc;
    --app-border: #e2e8f0;
    --app-text: #1e293b;
    --app-text-soft: #64748b;
    --app-success: #16a34a;
    --app-warning: #f59e0b;
    --app-danger: #dc2626;
    --app-info: #0891b2;
    --app-radius-xl: 1.5rem;
    --app-radius-lg: 1rem;
    --app-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    --app-shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.06);
    --app-sidebar-width: 300px;
    --app-sidebar-collapsed: 104px;
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 116, 139, 0.45) transparent;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(40, 84, 197, 0.12), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #f5f7fb 100%);
    color: var(--app-text);
}

body.app-shell {
    overflow-x: hidden;
}

body.guest-shell {
    background:
        radial-gradient(circle at top left, rgba(40, 84, 197, 0.14), transparent 28%),
        linear-gradient(180deg, #f7f9fc 0%, #eef3fb 100%);
}

a {
    text-decoration: none;
}

.app-shell-grid {
    display: grid;
    min-height: 100vh;
    grid-template-columns: var(--app-sidebar-width) 1fr;
    transition: grid-template-columns 0.25s ease;
}

.app-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 1rem;
    background: transparent;
}

.app-sidebar.is-collapsed {
    width: var(--app-sidebar-collapsed);
}

.app-sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    height: 100%;
    padding: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--app-shadow);
    backdrop-filter: blur(16px);
}

.app-sidebar-brand,
.app-user-card,
.topbar-user-pill,
.quick-action-card,
.preview-block,
.feature-tile,
.hero-side-card,
.kpi-card,
.app-card,
.login-showcase,
.app-toast,
.guest-header,
.app-topbar,
.app-footer {
    backdrop-filter: blur(12px);
}

.app-brand-badge,
.guest-brand-mark,
.app-user-avatar,
.kpi-icon,
.feature-tile-icon,
.quick-action-icon,
.app-toast-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    font-weight: 700;
}

.app-brand-badge,
.guest-brand-mark {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--app-primary), #5b7cff);
    color: #fff;
    box-shadow: 0 14px 30px rgba(40, 84, 197, 0.28);
}

.app-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.app-user-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem;
    border-radius: 1.25rem;
    background: var(--app-surface-2);
    border: 1px solid var(--app-border);
}

.app-user-avatar {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #172554, #2854c5);
    color: #fff;
    flex-shrink: 0;
}

.app-user-info {
    min-width: 0;
}

.app-nav-section {
    display: grid;
    gap: 0.65rem;
}

.app-nav-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--app-text-soft);
    font-weight: 700;
    padding: 0 0.4rem;
}

.app-nav-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    color: var(--app-text);
    border-radius: 1rem;
    transition: all 0.2s ease;
}

.app-nav-link:hover {
    background: rgba(40, 84, 197, 0.08);
    color: var(--app-primary);
    transform: translateX(2px);
}

.app-nav-link.is-active {
    background: linear-gradient(135deg, rgba(40, 84, 197, 0.12), rgba(40, 84, 197, 0.05));
    color: var(--app-primary);
    box-shadow: inset 0 0 0 1px rgba(40, 84, 197, 0.14);
}

.app-nav-link.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.app-nav-icon {
    width: 2rem;
    text-align: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.app-nav-text {
    white-space: nowrap;
}

.app-sidebar-footer {
    margin-top: auto;
}

.app-main-wrap {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.app-topbar,
.app-footer,
.guest-header {
    background: rgba(255, 255, 255, 0.75);
}

.app-topbar {
    position: sticky;
    top: 0;
    z-index: 1020;
}

.app-main-content {
    flex: 1;
}

.tracking-wide {
    letter-spacing: 0.08em;
}

.topbar-user-pill {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: var(--app-surface);
    border: 1px solid var(--app-border);
}

.topbar-user-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--app-text);
}

.topbar-user-role {
    font-size: 0.76rem;
    color: var(--app-text-soft);
}

.hero-panel {
    padding: 2rem;
    border-radius: 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(238,243,255,0.98));
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: var(--app-shadow);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.12);
    color: #166534;
    font-weight: 700;
    font-size: 0.84rem;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(1.8rem, 2vw, 2.6rem);
    line-height: 1.1;
    margin-bottom: 0.85rem;
    font-weight: 800;
}

.hero-text {
    color: var(--app-text-soft);
    font-size: 1.05rem;
    max-width: 62rem;
}

.hero-side-card,
.login-showcase,
.app-card,
.kpi-card,
.preview-block,
.feature-tile {
    padding: 1.25rem;
    border-radius: var(--app-radius-xl);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: var(--app-shadow-soft);
}

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

.kpi-card::after {
    content: '';
    position: absolute;
    inset: auto -2rem -2rem auto;
    width: 6rem;
    height: 6rem;
    border-radius: 999px;
    background: rgba(40, 84, 197, 0.08);
}

.kpi-card.success::after { background: rgba(22, 163, 74, 0.12); }
.kpi-card.warning::after { background: rgba(245, 158, 11, 0.15); }
.kpi-card.info::after { background: rgba(8, 145, 178, 0.12); }

.kpi-icon,
.feature-tile-icon,
.quick-action-icon,
.app-toast-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.15rem;
    background: var(--app-primary-soft);
    color: var(--app-primary);
    margin-bottom: 0.85rem;
}

.kpi-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.app-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.app-card-subtitle {
    color: var(--app-text-soft);
    margin-bottom: 0;
}

.quick-action-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 1.2rem;
    background: var(--app-surface-2);
    border: 1px solid var(--app-border);
    transition: all 0.2s ease;
}

.quick-action-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--app-shadow-soft);
}

.quick-action-icon {
    flex-shrink: 0;
    margin-bottom: 0;
}

.app-table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--app-text);
    margin-bottom: 0;
}

.app-table thead th {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--app-text-soft);
    border-bottom-width: 1px;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.app-table tbody td {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-color: rgba(226, 232, 240, 0.75);
}

.form-label-soft {
    font-weight: 600;
    color: var(--app-text);
}

.form-control-soft,
.input-group-soft .btn,
.input-group-soft .form-control {
    border-radius: 1rem !important;
}

.form-control-soft,
.form-select.form-control-soft {
    min-height: 3rem;
    border-color: var(--app-border);
    background: rgba(248, 250, 252, 0.92);
    box-shadow: none;
}

.form-control-soft:focus,
.form-select.form-control-soft:focus {
    border-color: rgba(40, 84, 197, 0.45);
    box-shadow: 0 0 0 0.25rem rgba(40, 84, 197, 0.12);
    background: #fff;
}

.preview-block {
    height: 100%;
}

.preview-label {
    color: var(--app-text-soft);
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.preview-value {
    font-size: 1.1rem;
    font-weight: 700;
}

.guest-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.guest-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    color: var(--app-text);
}

.guest-main {
    flex: 1;
}

.login-showcase {
    padding: 2rem;
}

.feature-tile {
    height: 100%;
}

.notification-stack {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    display: grid;
    gap: 0.75rem;
    z-index: 1085;
    width: min(26rem, calc(100vw - 2rem));
}

.app-toast {
    color: #fff;
    border-radius: 1.25rem;
    padding: 1rem 1.1rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.app-toast-success { background: linear-gradient(135deg, #15803d, #16a34a); }
.app-toast-danger { background: linear-gradient(135deg, #b91c1c, #dc2626); }
.app-toast-info { background: linear-gradient(135deg, #0f766e, #0891b2); }
.app-toast-warning { background: linear-gradient(135deg, #b45309, #f59e0b); }

.app-toast-icon {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0;
    flex-shrink: 0;
}

.status-dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    display: inline-block;
    flex-shrink: 0;
}

.status-dot.ok {
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.status-dot.fail {
    background: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

code,
pre {
    font-size: 0.92rem;
}

@media (min-width: 992px) {
    body.app-shell.sidebar-collapsed .app-shell-grid {
        grid-template-columns: var(--app-sidebar-collapsed) 1fr;
    }

    body.app-shell.sidebar-collapsed .app-sidebar .app-sidebar-inner {
        padding-left: 0.7rem;
        padding-right: 0.7rem;
    }

    body.app-shell.sidebar-collapsed .app-nav-link {
        justify-content: center;
    }

    body.app-shell.sidebar-collapsed .app-user-card,
    body.app-shell.sidebar-collapsed .app-sidebar-brand {
        justify-content: center;
    }
}

@media (max-width: 991.98px) {
    .app-shell-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel,
    .login-showcase,
    .app-card,
    .kpi-card {
        padding: 1.25rem;
        border-radius: 1.5rem;
    }

    .notification-stack {
        left: 1rem;
        right: 1rem;
        width: auto;
    }
}

.role-card-check {
    display: block;
    cursor: pointer;
}

.role-card-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.role-card-box {
    display: block;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: #fff;
    border-radius: 1.25rem;
    padding: 1rem 1.1rem;
    min-height: 100%;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.role-card-check:hover .role-card-box,
.role-card-check input:checked + .role-card-box {
    border-color: rgba(59, 130, 246, 0.45);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.role-card-title {
    display: block;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: .35rem;
}

.role-card-meta {
    display: block;
    color: #64748b;
    font-size: .92rem;
    line-height: 1.45;
}

.mini-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(248, 250, 252, 0.95);
    border-radius: 1rem;
    padding: .9rem 1rem;
}

.timeline-soft {
    display: grid;
    gap: 1rem;
}

.timeline-soft-item {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: .85rem;
    align-items: start;
}

.timeline-soft-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    margin-top: .35rem;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.12);
}

.permission-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.permission-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .5rem .9rem;
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    border: 1px solid rgba(37, 99, 235, 0.16);
    font-size: .9rem;
    font-weight: 600;
}

.profile-avatar-lg {
    width: 5rem;
    height: 5rem;
    border-radius: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 18px 35px rgba(37, 99, 235, 0.25);
}

.profile-summary-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 1.25rem;
    padding: 1rem 1.1rem;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), #ffffff);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.divider-soft {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.45), transparent);
}

.hero-panel.compact {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}


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

.dashboard-kpi-value {
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1.15;
}

.dashboard-alert-list,
.dashboard-timeline,
.dashboard-goals-grid {
    display: grid;
    gap: 1rem;
}

.dashboard-alert-item,
.dashboard-goal-card,
.empty-state-box {
    padding: 1rem;
    border-radius: 1.15rem;
    border: 1px solid var(--app-border);
    background: rgba(248, 250, 252, 0.9);
}

.dashboard-alert-item.success {
    border-color: rgba(22, 163, 74, 0.22);
    background: rgba(240, 253, 244, 0.95);
}

.dashboard-alert-item.warning {
    border-color: rgba(245, 158, 11, 0.28);
    background: rgba(255, 251, 235, 0.96);
}

.dashboard-alert-item.danger {
    border-color: rgba(220, 38, 38, 0.24);
    background: rgba(254, 242, 242, 0.96);
}

.dashboard-alert-head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.dashboard-alert-pill {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(40, 84, 197, 0.14);
    color: var(--app-primary);
    font-weight: 800;
    flex-shrink: 0;
}

.dashboard-progress {
    height: 0.8rem;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.95);
}

.dashboard-progress-bar {
    border-radius: 999px;
}

.dashboard-progress-success,
.dashboard-tone-success {
    background: linear-gradient(90deg, #15803d, #22c55e);
    color: #fff;
}

.dashboard-progress-info,
.dashboard-tone-info {
    background: linear-gradient(90deg, #0f766e, #0891b2);
    color: #fff;
}

.dashboard-progress-warning,
.dashboard-tone-warning {
    background: linear-gradient(90deg, #b45309, #f59e0b);
    color: #fff;
}

.dashboard-progress-default,
.dashboard-tone-default {
    background: linear-gradient(90deg, #334155, #64748b);
    color: #fff;
}

.dashboard-timeline-item {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
    align-items: start;
}

.dashboard-timeline-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--app-primary-soft);
    color: var(--app-primary);
    font-size: 1.15rem;
}

.dashboard-timeline-meta {
    font-size: 0.82rem;
    color: var(--app-text-soft);
}

.dashboard-summary-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dashboard-summary-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: var(--app-primary-soft);
    color: var(--app-primary);
    font-size: 0.82rem;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .dashboard-micro-stats {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-timeline-item {
        grid-template-columns: 2.5rem 1fr;
        gap: 0.85rem;
    }

    .dashboard-timeline-icon {
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 0.85rem;
    }
}


.fidelity-hero {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.10), rgba(25, 135, 84, 0.12), rgba(255, 193, 7, 0.12));
}

.empty-state {
    border: 1px dashed rgba(108, 117, 125, 0.35);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    color: var(--bs-secondary-color);
    background: rgba(248, 249, 250, 0.65);
}


.mission-hero {
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(231, 251, 244, 0.98));
}


.visitation-hero {
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(233, 244, 255, 0.98), rgba(240, 255, 245, 0.98));
}

.map-placeholder {
    border: 1px dashed rgba(13, 110, 253, 0.22);
    border-radius: 1.25rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(13,110,253,0.06), rgba(25,135,84,0.05));
    text-align: center;
}

.map-placeholder__icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.visitation-point-card {
    background: rgba(255,255,255,0.9);
}

.metric-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 1rem;
    border-radius: 1rem;
    background: rgba(15, 23, 42, .04);
}


.analytics-line-chart {
    display: grid;
    gap: 1rem;
}

.analytics-line-chart svg {
    width: 100%;
    height: 260px;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, rgba(40,84,197,0.08), rgba(40,84,197,0.01));
}

.chart-grid-line {
    stroke: rgba(148, 163, 184, 0.35);
    stroke-width: 0.7;
}

.analytics-line-labels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 0.75rem;
}

.analytics-donut-wrap {
    display: grid;
    justify-items: center;
    gap: 1.25rem;
}

.analytics-donut {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.analytics-donut-hole {
    width: 122px;
    height: 122px;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
    display: grid;
    place-items: center;
    text-align: center;
}

.analytics-donut-hole strong {
    font-size: 2rem;
    line-height: 1;
}

.analytics-donut-hole span {
    font-size: 0.82rem;
    color: var(--app-text-soft);
}

.analytics-legend {
    width: 100%;
    display: grid;
    gap: 0.85rem;
}

.analytics-legend-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.analytics-dot {
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.analytics-module-card {
    height: 100%;
    padding: 1.1rem;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.94));
    border: 1px solid rgba(148,163,184,0.18);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.analytics-module-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--app-text-soft);
    font-weight: 700;
}

.analytics-module-score {
    font-size: 2rem;
    font-weight: 800;
}

.analytics-progress {
    width: 100%;
    height: 0.75rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.18);
    overflow: hidden;
}

.analytics-progress-bar {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2854c5, #60a5fa);
}

.analytics-focus-panel {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(40,84,197,0.08), rgba(96,165,250,0.08));
}

.analytics-focus-score {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 1.5rem;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--app-primary);
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 16px 34px rgba(40,84,197,0.12);
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .analytics-focus-panel {
        flex-direction: column;
        align-items: flex-start;
    }
}

.report-card{background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);border:1px solid rgba(37,99,235,.12);border-radius:24px;padding:1.4rem;box-shadow:0 14px 38px rgba(15,23,42,.08)}
.report-card-kicker{font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#64748b}
.report-card-title{font-size:1.2rem;font-weight:800;color:#0f172a;margin:.2rem 0 0}
.report-card-icon{font-size:1.7rem}
.report-tip{padding:.95rem 1rem;border:1px solid rgba(148,163,184,.24);border-radius:18px;background:#fff;color:#334155}


.qa-check {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.25rem;
    padding: 1rem 1.1rem;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}
.qa-check-pass { border-left: 5px solid #16a34a; }
.qa-check-warn { border-left: 5px solid #d97706; }
.qa-check-fail { border-left: 5px solid #dc2626; }
.qa-check-group {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.qa-check-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}
.qa-check-action {
    font-size: 0.92rem;
    color: #334155;
}
.qa-badge {
    padding: .55rem .8rem;
    font-weight: 700;
}
.qa-badge-pass { background: rgba(22, 163, 74, .12); color: #166534; }
.qa-badge-warn { background: rgba(217, 119, 6, .12); color: #9a3412; }
.qa-badge-fail { background: rgba(220, 38, 38, .12); color: #991b1b; }
.qa-suite-card {
    background: linear-gradient(180deg, rgba(248,250,252,1) 0%, rgba(255,255,255,1) 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.25rem;
    padding: 1.1rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
}
.qa-suite-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}
.qa-manual-item {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    color: #334155;
    font-size: .95rem;
}
.qa-manual-dot {
    color: #0ea5e9;
    font-weight: 700;
}
.qa-meta-list div {
    padding: .5rem .75rem;
    border-radius: .9rem;
    background: rgba(248, 250, 252, 1);
    border: 1px solid rgba(15, 23, 42, 0.06);
}
