:root {
    --gq-navy: #1e3a8a;
    --gq-navy-dark: #172554;
    --gq-navy-light: #2563eb;
    --gq-bg: #eef2f6;
    --gq-white: #ffffff;
    --gq-border: #e2e8f0;
    --gq-border-light: #f1f5f9;
    --gq-text: #0f172a;
    --gq-muted: #64748b;
    --gq-green: #16a34a;
    --gq-green-bg: #dcfce7;
    --gq-red: #dc2626;
    --gq-red-bg: #fee2e2;
    --gq-orange: #ea580c;
    --gq-orange-bg: #ffedd5;
    --gq-yellow-bg: #fef9c3;
    --gq-blue-bg: #dbeafe;
    --sidebar-width: 260px;
    --card-radius: 12px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }

body.gq-admin {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gq-bg);
    color: var(--gq-text);
    font-size: 14px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* Layout */
.gq-layout { display: flex; min-height: 100vh; }

/* —— Sidebar (v2) —— */
.gq-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 199;
    background: rgba(15, 23, 42, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.gq-sidebar-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

.gq-sidebar {
    --sb-bg: #2563eb;
    --sb-bg-deep: #1d4ed8;
    width: var(--sidebar-width);
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    color: #fff;
    background: var(--sb-bg-deep);
    background-image:
        radial-gradient(ellipse 120% 80% at 0% 0%, rgba(96, 165, 250, 0.35) 0%, transparent 55%),
        linear-gradient(180deg, var(--sb-bg) 0%, var(--sb-bg-deep) 100%);
    box-shadow: 2px 0 20px rgba(30, 58, 138, 0.25);
    transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1);
}

.gq-sidebar-brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 1.1rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.gq-sidebar-brand-link {
    display: block;
    min-width: 0;
    flex: 1;
    line-height: 0;
    text-decoration: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.gq-sidebar-brand-link:hover {
    opacity: 0.94;
    transform: translateY(-1px);
}

.gq-sidebar-brand-logo-full {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 52px;
    object-fit: contain;
    object-position: left center;
}

/* Legacy small mark (settings preview etc.) */
.gq-sidebar-brand-mark {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.gq-sidebar-brand-title {
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.gq-sidebar-brand-img {
    flex-shrink: 0;
    height: 38px;
    max-width: 120px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

.gq-sidebar-close {
    display: none;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
}

.gq-sidebar-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.5rem 0.65rem 0.75rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.gq-sidebar-body::-webkit-scrollbar { width: 5px; }
.gq-sidebar-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.28);
    border-radius: 99px;
}

.gq-sidebar-divider {
    height: 1px;
    margin: 0.65rem 0.5rem;
    background: rgba(255, 255, 255, 0.12);
}

.gq-sidebar-group {
    margin: 0 0 0.35rem;
    padding: 0 0.75rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.gq-sidebar-menu {
    list-style: none;
    margin: 0 0 0.25rem;
    padding: 0;
}

.gq-sidebar-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 2px;
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    transition: background 0.15s, color 0.15s;
}

.gq-sidebar-link span {
    flex: 1;
    min-width: 0;
    line-height: 1.3;
}

.gq-sidebar-link .gq-nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.92;
}

.gq-sidebar-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.gq-sidebar-link.is-active {
    background: #fff;
    color: #1e3a8a;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.1);
}

.gq-sidebar-link.is-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    border-radius: 0 4px 4px 0;
    background: #2563eb;
}

.gq-sidebar-link.is-active .gq-nav-icon {
    color: #2563eb;
    opacity: 1;
}

.gq-sidebar-foot {
    flex-shrink: 0;
    padding: 0.85rem 0.75rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.08);
}

.gq-sidebar-profile {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.75rem;
    min-width: 0;
}

.gq-sidebar-profile-avatar {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.8125rem;
    font-weight: 700;
}

.gq-sidebar-profile-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.3;
}

.gq-sidebar-profile-text strong {
    font-size: 0.875rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gq-sidebar-profile-text span {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.72);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gq-sidebar-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.gq-sidebar-logout-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.55);
}

.gq-nav-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.gq-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 0.35rem;
    border: 1px solid var(--gq-border);
    border-radius: 10px;
    background: #fff;
    color: var(--gq-navy);
    cursor: pointer;
    flex-shrink: 0;
}

.gq-menu-toggle:hover {
    background: #f8fafc;
}

body.gq-sidebar-open { overflow: hidden; }

.gq-main {
    margin-left: var(--sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100vh;
}

/* Header */
.gq-header {
    background: var(--gq-white);
    border-bottom: 1px solid var(--gq-border);
    padding: 0.9rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.gq-header-welcome {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--gq-navy);
    margin: 0;
    white-space: nowrap;
}

.gq-search {
    flex: 1;
    max-width: 420px;
    margin: 0 auto;
    position: relative;
}

.gq-search input {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.6rem;
    border: 1px solid var(--gq-border);
    border-radius: 999px;
    background: #f8fafc;
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--gq-text);
}

.gq-search input::placeholder { color: #94a3b8; }

.gq-search input:focus {
    outline: none;
    border-color: #93c5fd;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.gq-search svg {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
    color: #94a3b8;
    pointer-events: none;
}

.gq-header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-left: auto;
}

.gq-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--gq-border);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    color: var(--gq-muted);
    transition: border-color 0.15s, background 0.15s;
}

.gq-icon-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.gq-icon-btn .dot {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 8px;
    height: 8px;
    background: var(--gq-red);
    border-radius: 50%;
    border: 2px solid #fff;
}

.gq-header-welcome-block {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.gq-header-module {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gq-blue);
    line-height: 1.2;
}

.gq-header-module--muted {
    color: var(--gq-muted);
    font-weight: 400;
}

.gq-header-dropdown {
    position: relative;
}

.gq-header-panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: min(320px, calc(100vw - 2rem));
    background: #fff;
    border: 1px solid var(--gq-border);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    z-index: 120;
    overflow: hidden;
}

.gq-header-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gq-border);
    font-size: 0.875rem;
}

.gq-badge--red {
    background: #fee2e2;
    color: #b91c1c;
    font-size: 0.6875rem;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
}

.gq-header-panel-item {
    display: block;
    padding: 0.7rem 1rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.12s;
    width: 100%;
    text-align: left;
    background: transparent;
    border-left: none;
    border-right: none;
    font: inherit;
    cursor: pointer;
}

.gq-header-panel-item:hover {
    background: #f8fafc;
}

.gq-header-panel-title {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gq-navy);
}

.gq-header-panel-meta,
.gq-header-panel-time {
    display: block;
    font-size: 0.75rem;
    color: var(--gq-muted);
    margin-top: 0.15rem;
}

.gq-header-panel-empty {
    margin: 0;
    padding: 1rem;
    font-size: 0.8125rem;
    color: var(--gq-muted);
}

.gq-header-panel-foot {
    display: block;
    padding: 0.65rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gq-blue);
    text-decoration: none;
    background: #f8fafc;
}

.gq-header-panel-foot:hover {
    background: #f1f5f9;
}

.gq-header-panel--user {
    width: 260px;
}

.gq-header-user-card {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    border-bottom: 1px solid var(--gq-border);
    align-items: center;
}

.gq-header-user-card strong {
    display: block;
    font-size: 0.875rem;
    color: var(--gq-navy);
}

.gq-header-user-card span,
.gq-header-user-card em {
    display: block;
    font-size: 0.75rem;
    color: var(--gq-muted);
    font-style: normal;
    margin-top: 0.1rem;
}

.gq-avatar--lg {
    width: 44px;
    height: 44px;
    font-size: 0.9375rem;
}

.gq-avatar-btn {
    border: none;
    padding: 0;
    cursor: pointer;
}

.gq-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.gq-header-panel-item--danger {
    color: #b91c1c;
}

.gq-header-logout {
    margin: 0;
    border-top: 1px solid var(--gq-border);
}

.gq-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.gq-search-results {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gq-search-result-link {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.65rem 0;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f1f5f9;
}

.gq-search-result-link:last-child {
    border-bottom: none;
}

.gq-search-result-link strong {
    font-size: 0.875rem;
    color: var(--gq-navy);
}

.gq-search-result-link span {
    font-size: 0.75rem;
    color: var(--gq-muted);
}

.gq-search-result-link:hover strong {
    color: var(--gq-blue);
}

@media (max-width: 900px) {
    .gq-header-welcome-block {
        display: none;
    }
}

.gq-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--gq-border);
}

/* Content area */
.gq-content {
    padding: 1.75rem;
    flex: 1;
}

/* Page header */
.gq-page-head {
    margin-bottom: 1.5rem;
}

.gq-page-head.gq-page-head--row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.gq-breadcrumb {
    font-size: 0.75rem;
    color: var(--gq-muted);
    margin: 0 0 0.35rem;
    font-weight: 500;
}

.gq-page-title {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--gq-text);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.gq-page-sub {
    color: var(--gq-muted);
    margin: 0.4rem 0 0;
    font-size: 0.9375rem;
    max-width: 640px;
    line-height: 1.5;
}

.gq-page-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Cards */
.gq-card {
    background: var(--gq-white);
    border: 1px solid var(--gq-border);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
}

.gq-card--padded { padding: 1.35rem 1.5rem; }

.gq-card--flush { padding: 0; overflow: hidden; }

.gq-card-header {
    padding: 1.15rem 1.5rem;
    border-bottom: 1px solid var(--gq-border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.gq-card-header h3,
.gq-card-header .gq-card-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gq-text);
}

.gq-card-header p,
.gq-card-subtitle {
    margin: 0.2rem 0 0;
    font-size: 0.8125rem;
    color: var(--gq-muted);
    font-weight: 400;
}

.gq-card-body { padding: 1.35rem 1.5rem; }

.gq-card-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
    color: var(--gq-text);
}

.gq-card-section-title svg {
    width: 20px;
    height: 20px;
    color: var(--gq-navy);
}

/* Stat cards */
.gq-grid {
    display: grid;
    gap: 1.15rem;
}

.gq-grid-2 { grid-template-columns: repeat(2, 1fr); }
.gq-grid-3 { grid-template-columns: repeat(3, 1fr); }
.gq-grid-4 { grid-template-columns: repeat(4, 1fr); }

.gq-stat-card {
    padding: 1.35rem 1.5rem;
    position: relative;
    min-height: 120px;
    display: flex;
    flex-direction: column;
}

a.gq-stat-card--link {
    display: flex;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

a.gq-stat-card--link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #bfdbfe;
}

a.gq-stat-card--link:focus-visible {
    outline: 2px solid var(--gq-navy-light);
    outline-offset: 2px;
}

.gq-stat-card-go {
    display: block;
    margin-top: auto;
    padding-top: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gq-navy-light);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

a.gq-stat-card--link:hover .gq-stat-card-go,
a.gq-stat-card--link:focus-visible .gq-stat-card-go {
    opacity: 1;
    transform: translateY(0);
}

.gq-stat-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.gq-stat-card h3 {
    font-size: 0.8125rem;
    color: var(--gq-muted);
    font-weight: 500;
    margin: 0;
}

.gq-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gq-stat-icon svg {
    width: 22px;
    height: 22px;
}

.gq-stat-icon--blue { background: var(--gq-blue-bg); color: #1d4ed8; }
.gq-stat-icon--green { background: var(--gq-green-bg); color: #15803d; }
.gq-stat-icon--orange { background: var(--gq-orange-bg); color: #c2410c; }
.gq-stat-icon--red { background: var(--gq-red-bg); color: #b91c1c; }
.gq-stat-icon--purple { background: #ede9fe; color: #6d28d9; }
.gq-stat-icon--slate { background: #f1f5f9; color: #475569; }

.gq-stat-card .value {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gq-navy);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.gq-stat-card .meta {
    font-size: 0.75rem;
    margin-top: 0.45rem;
    color: var(--gq-muted);
}

.gq-stat-card .trend-up { color: var(--gq-green); font-weight: 500; }
.gq-stat-card .trend-down { color: var(--gq-red); font-weight: 500; }
.gq-stat-card .urgent { color: var(--gq-orange); font-weight: 600; }

.gq-stat-navy {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    border: none;
    color: #fff;
}

.gq-stat-navy h3,
.gq-stat-navy .meta { color: rgba(255, 255, 255, 0.85); }

.gq-stat-navy .value { color: #fff; }

.gq-stat-navy .gq-stat-icon {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.gq-stat-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-top: 0.35rem;
}

.gq-stat-tag--green { background: var(--gq-green-bg); color: #15803d; }
.gq-stat-tag--gray { background: #f1f5f9; color: #475569; }
.gq-stat-tag--red { background: var(--gq-red-bg); color: #b91c1c; }
.gq-stat-tag--orange { background: var(--gq-orange-bg); color: #c2410c; }
.gq-stat-tag--blue { background: #dbeafe; color: #1d4ed8; }

.gq-stat-card .value--sm { font-size: 1.5rem; }

/* Filter bar */
.gq-filter-card {
    padding: 1.15rem 1.5rem;
    margin-bottom: 1.15rem;
}

.gq-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.gq-filters--inline {
    align-items: center;
}

.gq-filter-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gq-muted);
    margin-bottom: 0.35rem;
    display: block;
}

.gq-filter-field {
    min-width: 160px;
    flex: 0 1 auto;
}

.gq-filter-field--wide {
    flex: 1 1 240px;
    min-width: 200px;
    max-width: 100%;
}

.gq-filter-field--date {
    min-width: 130px;
    max-width: 150px;
}

.gq-filter-field--date .gq-date-input {
    width: 100%;
}

.gq-filter-field select,
.gq-filter-field input[type="search"],
.gq-filter-field input[type="text"],
.gq-filter-field input[type="date"],
.gq-filter-field .gq-date-input,
.gq-filters > select,
.gq-filters > input[type="search"],
.gq-filters > input[type="text"],
.gq-filters > input[type="date"],
.gq-filters .gq-date-input {
    width: 100%;
    min-width: 140px;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--gq-border);
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: inherit;
    background: #fff;
    color: var(--gq-text);
}

.gq-filter-field select:focus,
.gq-filter-field input:focus,
.gq-filter-field .gq-date-input:focus,
.gq-filters > select:focus,
.gq-filters > input:focus,
.gq-filters .gq-date-input:focus {
    outline: none;
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.gq-filters-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.gq-filters .gq-filter-inline-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gq-muted);
    align-self: center;
    margin: 0;
}

/* Toolbar (users page style) */
.gq-toolbar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.25rem;
    align-items: start;
    margin-bottom: 1.15rem;
}

.gq-toolbar-side {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    min-width: 200px;
}

.gq-total-card {
    padding: 1.25rem 1.5rem;
    text-align: center;
}

.gq-total-card h3 {
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0 0 0.35rem;
    opacity: 0.9;
}

.gq-total-card .value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

/* Buttons */
.gq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.6rem 1.15rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
    white-space: nowrap;
    line-height: 1.2;
}

.gq-btn-primary {
    background: var(--gq-navy);
    color: #fff;
    box-shadow: 0 1px 2px rgba(30, 58, 138, 0.2);
}

.gq-btn-primary:hover { background: var(--gq-navy-dark); }

.gq-btn-outline {
    background: #fff;
    border-color: var(--gq-navy);
    color: var(--gq-navy);
}

.gq-btn-outline:hover { background: #eff6ff; }

.gq-btn-ghost {
    background: transparent;
    color: var(--gq-muted);
    border-color: transparent;
}

.gq-btn-ghost:hover { color: var(--gq-navy); background: #f1f5f9; }

.gq-btn-danger {
    background: var(--gq-red);
    color: #fff;
}

.gq-btn-danger:hover { background: #b91c1c; }

.gq-btn-sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.8125rem;
}

.gq-btn-block { width: 100%; }

.gq-actions-cell .gq-actions {
    justify-content: flex-end;
}

.gq-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1.25rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--gq-border-light);
}

/* Forms */
.gq-form-group { margin-bottom: 1.15rem; }

.gq-form-group label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--gq-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.gq-form-group input,
.gq-form-group select,
.gq-form-group textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--gq-border);
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: inherit;
    background: #fff;
    color: var(--gq-text);
}

.gq-form-group input:focus,
.gq-form-group select:focus,
.gq-form-group textarea:focus {
    outline: none;
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.gq-form-group .error {
    color: var(--gq-red);
    font-size: 0.75rem;
    margin-top: 0.3rem;
}

.gq-live-error {
    display: none;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: #dc2626;
    line-height: 1.35;
}

.gq-input-invalid {
    border-color: #f87171 !important;
    box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.2) !important;
}

.gq-input-valid:not([type="password"]) {
    border-color: #86efac !important;
}

.gq-form-hint {
    font-size: 0.75rem;
    color: var(--gq-muted);
    margin-top: 0.35rem;
}

.gq-form-row {
    display: grid;
    gap: 1rem;
}

.gq-form-row--2 { grid-template-columns: repeat(2, 1fr); }
.gq-form-row--3 { grid-template-columns: repeat(3, 1fr); }

/* Tables */
.gq-table-wrap { overflow-x: auto; }

.gq-table {
    width: 100%;
    border-collapse: collapse;
}

.gq-table thead {
    background: #f8fafc;
}

.gq-table th {
    text-align: left;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gq-muted);
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--gq-border);
    font-weight: 700;
    white-space: nowrap;
}

.gq-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gq-border-light);
    vertical-align: middle;
    font-size: 0.875rem;
}

.gq-table tbody tr:hover { background: #fafbfc; }

.gq-row-link {
    cursor: pointer;
}

.gq-row-link:hover {
    background: #f0f7ff !important;
}

.gq-row-link:focus {
    outline: 2px solid #93c5fd;
    outline-offset: -2px;
}

.gq-row-actions {
    width: 1%;
    white-space: nowrap;
}

.gq-table tbody tr:last-child td { border-bottom: none; }

.gq-table .cell-title {
    font-weight: 600;
    color: var(--gq-navy);
}

.gq-table .cell-sub {
    font-size: 0.75rem;
    color: var(--gq-muted);
    margin-top: 0.15rem;
}

/* User cell */
.gq-user-cell {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.gq-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: var(--gq-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.gq-user-name { font-weight: 600; color: var(--gq-text); }

/* Badges */
.gq-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.gq-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.gq-badge-administrator,
.gq-badge-admin { background: #dbeafe; color: #1d4ed8; }
.gq-badge-reviewer { background: #ede9fe; color: #6d28d9; }
.gq-badge-provider { background: #ffedd5; color: #c2410c; }
.gq-badge-candidate { background: #dcfce7; color: #15803d; }
.gq-badge-active { background: #dcfce7; color: #15803d; }
.gq-badge-inactive { background: #fee2e2; color: #b91c1c; }
.gq-badge-pending { background: #ffedd5; color: #c2410c; }
.gq-badge-reviewing { background: #ffedd5; color: #c2410c; }
.gq-badge-archived { background: #f1f5f9; color: #475569; }
.gq-badge-approved { background: #dcfce7; color: #15803d; }
.gq-badge-rejected { background: #fee2e2; color: #b91c1c; }
.gq-badge-submitted { background: #dbeafe; color: #1d4ed8; }
.gq-badge-certified { background: #dcfce7; color: #15803d; }
.gq-badge-under_review { background: #fef9c3; color: #a16207; }
.gq-badge-on_hold { background: #e0f2fe; color: #0369a1; }
.gq-badge-draft { background: #f1f5f9; color: #475569; }
.gq-badge-expired { background: #fee2e2; color: #b91c1c; }

.gq-pill {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.gq-category-it { background: #dbeafe; color: #1d4ed8; }
.gq-category-mgmt { background: #ede9fe; color: #6d28d9; }
.gq-category-health { background: #ffedd5; color: #c2410c; }
.gq-category-soft { background: #e0f2fe; color: #0369a1; }

/* Action icons */
.gq-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.gq-action-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--gq-border);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gq-muted);
    cursor: pointer;
    transition: all 0.15s;
}

.gq-action-icon:hover {
    border-color: #93c5fd;
    color: var(--gq-navy);
    background: #eff6ff;
}

.gq-action-icon--danger:hover {
    border-color: #fecaca;
    color: var(--gq-red);
    background: #fef2f2;
}

.gq-action-icon svg { width: 16px; height: 16px; }

button.gq-action-icon {
    font-family: inherit;
    padding: 0;
}

/* Pagination */
.gq-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    color: var(--gq-muted);
    border-top: 1px solid var(--gq-border-light);
    flex-wrap: wrap;
    gap: 0.75rem;
}

.gq-pagination-summary {
    flex: 1;
    min-width: 12rem;
}

.gq-pagination-btns,
.gq-pagination-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.gq-pagination-btns a,
.gq-pagination-btns span,
.gq-pagination-nav a,
.gq-pagination-nav span {
    min-width: 36px;
    height: 36px;
    padding: 0 0.65rem;
    border: 1px solid var(--gq-border);
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gq-text);
    background: #fff;
    text-decoration: none;
}

.gq-pagination-btns a:hover,
.gq-pagination-nav a:hover {
    border-color: var(--gq-navy);
    color: var(--gq-navy);
    background: #f8fafc;
}

.gq-pagination-btns span.active,
.gq-pagination-nav span.active {
    background: var(--gq-navy);
    color: #fff;
    border-color: var(--gq-navy);
    font-weight: 600;
}

.gq-pagination-btns span.is-disabled,
.gq-pagination-nav span.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: #f8fafc;
    color: var(--gq-muted);
}

.gq-pagination-btns span.is-ellipsis,
.gq-pagination-nav span.is-ellipsis {
    border: none;
    background: transparent;
    min-width: auto;
    padding: 0 0.15rem;
    color: var(--gq-muted);
}

/* Search / filter bars (complaints, recertification) */
.gq-rc-search-form,
.gq-search-filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem;
}

.gq-rc-search-input {
    flex: 1;
    min-width: 200px;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--gq-border);
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: inherit;
}

.gq-rc-search-input:focus {
    outline: none;
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.gq-rc-select {
    min-width: 150px;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--gq-border);
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: inherit;
    background: #fff;
    color: var(--gq-text);
}

.gq-rc-select:focus {
    outline: none;
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.gq-rc-search-form .gq-rc-select.gq-date-input,
.gq-rc-search-form .gq-date-input {
    width: auto;
    flex: 0 0 auto;
    min-width: 130px;
    max-width: 150px;
}

/* Table action links */
.gq-table .gq-link-action {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gq-navy);
    border: 1px solid var(--gq-border);
    background: #fff;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.gq-table .gq-link-action:hover {
    background: #eff6ff;
    border-color: var(--gq-navy);
}

/* Alerts */
.gq-alert {
    padding: 0.85rem 1.15rem;
    border-radius: 10px;
    margin-bottom: 1.15rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.gq-alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.gq-alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Modal */
.gq-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(15, 23, 42, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    backdrop-filter: blur(2px);
}

.gq-modal-backdrop.is-open {
    display: flex;
}

.gq-modal {
    background: #fff;
    border-radius: 14px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    animation: gqModalIn 0.2s ease;
}

@keyframes gqModalIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.gq-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gq-border-light);
}

.gq-modal-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gq-text);
}

.gq-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: #f1f5f9;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gq-muted);
    transition: background 0.15s, color 0.15s;
}

.gq-modal-close:hover {
    background: #e2e8f0;
    color: var(--gq-text);
}

.gq-modal-body {
    padding: 1.35rem 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.gq-modal-body .gq-form-group label {
    text-transform: none;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gq-text);
    letter-spacing: 0;
}

.gq-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    padding: 1rem 1.5rem 1.35rem;
    border-top: 1px solid var(--gq-border-light);
    background: #fafbfc;
}

.gq-btn-cancel {
    background: #f1f5f9;
    color: var(--gq-muted);
    border: 1px solid var(--gq-border);
    padding: 0.6rem 1.15rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.gq-btn-cancel:hover {
    background: #e2e8f0;
    color: var(--gq-text);
}

.gq-password-row {
    display: flex;
    gap: 0.5rem;
}

.gq-password-row input {
    flex: 1;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--gq-border);
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: inherit;
}

.gq-btn-generate {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.85rem;
    background: #eff6ff;
    color: var(--gq-navy-light);
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.gq-btn-generate:hover {
    background: #dbeafe;
}

/* Profile / danger */
.gq-danger-zone {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--card-radius);
    padding: 1.35rem 1.5rem;
}

.gq-danger-zone h4 {
    color: var(--gq-red);
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.gq-profile-card {
    text-align: center;
    padding: 1.75rem 1.5rem;
}

.gq-profile-avatar {
    width: 88px;
    height: 88px;
    border-radius: 12px;
    background: linear-gradient(135deg, #dbeafe, #93c5fd);
    color: var(--gq-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.gq-profile-avatar--has-img {
    background: #f1f5f9;
}

.gq-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gq-profile-upload {
    text-align: left;
    padding: 0 0.25rem;
}

.gq-file-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.gq-form-divider {
    border: none;
    border-top: 1px solid var(--gq-border);
    margin: 1.5rem 0;
}

.gq-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--gq-muted);
    cursor: pointer;
}

.gq-checkbox input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--gq-blue);
}

/* Application detail */
.gq-detail-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1.25rem;
    align-items: start;
}

.gq-profile-header {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    padding: 1.35rem 1.5rem;
    margin-bottom: 1.15rem;
}

.gq-profile-header .gq-profile-avatar {
    margin: 0;
    width: 72px;
    height: 72px;
    font-size: 1.35rem;
}

.gq-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.gq-info-grid--profile {
    grid-template-columns: repeat(3, 1fr);
}

.gq-info-item label {
    display: block;
    font-size: 0.6875rem;
    color: var(--gq-muted);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.gq-info-item strong {
    font-size: 0.9375rem;
    font-weight: 600;
}

.gq-doc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gq-border-light);
    gap: 1rem;
}

.gq-doc-row:last-child { border-bottom: none; }

.gq-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gq-timeline li {
    padding-left: 1.35rem;
    border-left: 2px solid var(--gq-border);
    margin-left: 0.35rem;
    padding-bottom: 1.15rem;
    position: relative;
}

.gq-timeline li::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--gq-navy);
    border-radius: 50%;
    position: absolute;
    left: -6px;
    top: 5px;
    box-shadow: 0 0 0 3px #fff;
}

.gq-timeline .time {
    font-size: 0.75rem;
    color: var(--gq-muted);
    margin-top: 0.2rem;
}

.gq-action-btn {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 0.875rem;
    font-family: inherit;
    cursor: pointer;
    margin-bottom: 0.5rem;
    text-align: center;
    transition: opacity 0.15s;
}

.gq-action-btn:hover { opacity: 0.92; }

.gq-action-approve { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.gq-action-info { background: #eff6ff; color: #1d4ed8; border: 1px solid #dbeafe; }
.gq-action-hold { background: #eff6ff; color: #1d4ed8; border: 1px solid #dbeafe; }
.gq-action-reject { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }

.gq-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Application show page */
.gq-app-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.35rem 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.15rem;
    box-shadow: var(--shadow-sm);
}

.gq-btn-header {
    white-space: nowrap;
    padding: 0.6rem 1rem;
    font-size: 0.8125rem;
}

.gq-app-header-photo {
    width: 88px;
    height: 88px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.gq-app-header-body { flex: 1; min-width: 200px; }

.gq-app-header-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.gq-app-header-name {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gq-navy);
}

.gq-app-header-id {
    margin: 0.25rem 0 0.65rem;
    color: var(--gq-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.gq-app-header-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    font-size: 0.875rem;
    color: #475569;
}

.gq-app-header-meta li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.gq-app-header-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-left: auto;
}

.gq-app-header-actions .gq-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.gq-pill--status-under_review,
.gq-pill--status-submitted {
    background: #ffedd5;
    color: #c2410c;
}

.gq-pill--status-approved,
.gq-pill--status-certified {
    background: #dcfce7;
    color: #15803d;
}

.gq-pill--status-rejected {
    background: #fee2e2;
    color: #b91c1c;
}

.gq-pill--status-on_hold {
    background: #dbeafe;
    color: #1d4ed8;
}

.gq-app-header-hint {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    color: var(--gq-muted);
}

.gq-form-grid {
    display: grid;
    gap: 1.15rem;
    margin-top: 1rem;
}

.gq-form-grid--profile {
    grid-template-columns: repeat(3, 1fr);
}

.gq-form-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.gq-form-group--full {
    grid-column: 1 / -1;
}

.gq-req {
    color: #dc2626;
}

.gq-input-error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.12);
}

.gq-form-sidebar-text {
    font-size: 0.8125rem;
    color: var(--gq-muted);
    line-height: 1.5;
    margin: 0 0 1rem;
}

.gq-btn-block-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 0.5rem;
}

.gq-form-help-card {
    margin-top: 1rem;
}

.gq-app-detail {
    margin: -0.25rem 0 0;
}

.gq-app-show-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.25rem;
    align-items: start;
}

.gq-app-show-main {
    min-width: 0;
}

.gq-app-section {
    margin-bottom: 1.15rem;
    scroll-margin-top: 110px;
}

.gq-tabs {
    display: flex;
    gap: 0.15rem;
    border-bottom: 1px solid var(--gq-border);
    margin-bottom: 1.15rem;
    flex-wrap: wrap;
    background: var(--gq-white);
    border-radius: var(--card-radius) var(--card-radius) 0 0;
    padding: 0 0.5rem;
}

.gq-tabs--sticky {
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: var(--shadow-sm);
    border-radius: var(--card-radius);
    margin-bottom: 1rem;
}

.gq-tab {
    padding: 0.9rem 1rem;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gq-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    text-decoration: none;
    display: inline-block;
}

.gq-tab:hover {
    color: var(--gq-navy);
}

.gq-tab.is-active {
    color: var(--gq-navy-light);
    border-bottom-color: var(--gq-navy-light);
}

.gq-section-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: var(--gq-navy);
}

.gq-section-icon {
    display: flex;
    color: #64748b;
}

.gq-section-meta {
    margin-left: auto;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gq-muted);
}

.gq-info-item--full { grid-column: 1 / -1; }

.gq-doc-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.gq-doc-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.1rem 1.2rem;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    background: #f8fafc;
}

.gq-doc-title {
    display: block;
    font-size: 0.9375rem;
    margin-bottom: 0.2rem;
}

.gq-doc-meta {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--gq-muted);
}

.gq-link-view {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.gq-link-view:hover {
    text-decoration: underline;
}

.gq-verify-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
    cursor: pointer;
    white-space: nowrap;
    padding-top: 0.15rem;
}

.gq-verify-label input {
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
}

.gq-doc-card--missing {
    border-style: dashed;
    border-color: #fecaca;
    background: #fffbfb;
}

.gq-doc-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gq-border-light);
}

.gq-doc-card-icon--preview {
    width: 72px;
    height: 72px;
    padding: 0;
    overflow: hidden;
}

.gq-doc-thumb-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: #fff;
    cursor: pointer;
    border-radius: 10px;
}

.gq-doc-thumb-btn:hover {
    opacity: 0.92;
}

.gq-doc-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gq-doc-thumb-pdf {
    flex-direction: column;
    gap: 0.15rem;
    background: #fef2f2;
}

.gq-doc-thumb-pdf span {
    font-size: 0.65rem;
    font-weight: 700;
    color: #dc2626;
    letter-spacing: 0.04em;
}

.gq-doc-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.35rem;
}

.gq-link-view--btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.gq-link-download {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
}

.gq-link-download:hover {
    color: #0f172a;
    text-decoration: underline;
}

.gq-doc-upload-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.gq-doc-upload-input {
    font-size: 0.8125rem;
    max-width: 220px;
}

.gq-doc-preview-modal {
    max-width: 920px;
    width: min(95vw, 920px);
}

.gq-doc-preview-body {
    min-height: 320px;
    max-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    padding: 1rem;
    overflow: auto;
}

.gq-doc-preview-body img {
    max-width: 100%;
    max-height: 72vh;
    width: auto;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.12);
}

.gq-doc-preview-body iframe {
    width: 100%;
    min-height: 72vh;
    border: none;
    border-radius: 6px;
    background: #fff;
}

.gq-doc-missing-text {
    margin: 0.2rem 0 0.5rem;
    font-size: 0.8125rem;
    color: #64748b;
}

.gq-flag-missing {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border: none;
    border-radius: 6px;
    background: #fee2e2;
    color: #dc2626;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: default;
}

.gq-doc-verify label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.gq-eligibility-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.gq-eligibility-item {
    display: flex;
    gap: 0.85rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gq-border-light);
}

.gq-eligibility-item:last-child { border-bottom: none; }

.gq-eligibility-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gq-eligibility-item.is-verified .gq-eligibility-check {
    background: #dcfce7;
    color: #15803d;
}

.gq-eligibility-item.is-pending .gq-eligibility-check {
    background: transparent;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    width: 22px;
    height: 22px;
}

.gq-eligibility-hint {
    margin: 0.25rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.gq-eligibility-item.is-verified .gq-eligibility-hint {
    color: var(--gq-muted);
}

.gq-eligibility-item.is-pending .gq-eligibility-hint {
    color: #dc2626;
}

.gq-sidebar-action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.gq-btn-block-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    font-size: 0.75rem;
    padding: 0.55rem 0.5rem;
    white-space: nowrap;
}

.gq-sidebar-actions-card {
    padding: 0.85rem !important;
}

@media (max-width: 1100px) {
    .gq-info-grid--profile,
    .gq-form-grid--profile {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .gq-info-grid--profile,
    .gq-form-grid--profile,
    .gq-form-grid--2 {
        grid-template-columns: 1fr;
    }
    .gq-app-header-actions {
        width: 100%;
    }
    .gq-sidebar-action-row {
        grid-template-columns: 1fr;
    }
}

.gq-note-box {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    padding: 1rem 1.15rem;
    margin: 1rem 0;
}

.gq-note-box-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
}

.gq-note-box-head span { color: var(--gq-muted); }

.gq-note-box p {
    margin: 0;
    line-height: 1.55;
    font-size: 0.875rem;
}

.gq-note-form textarea {
    width: 100%;
    border: 1px solid var(--gq-border);
    border-radius: 8px;
    padding: 0.85rem;
    font-family: inherit;
    font-size: 0.875rem;
    resize: vertical;
}

.gq-note-form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.gq-cp-timeline-card {
    display: flex;
    flex-direction: column;
}

.gq-cp-note-composer {
    margin-top: 0.85rem;
    padding: 1rem;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid var(--gq-border);
    border-radius: 12px;
}

.gq-cp-note-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gq-muted);
    margin-bottom: 0.5rem;
}

.gq-cp-note-composer textarea {
    min-height: 96px;
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-family: inherit;
    font-size: 0.875rem;
    line-height: 1.5;
    resize: vertical;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.gq-cp-note-composer textarea:focus {
    outline: none;
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.gq-cp-note-actions {
    justify-content: space-between;
}

.gq-char-count {
    font-size: 0.75rem;
    color: var(--gq-muted);
    font-variant-numeric: tabular-nums;
}

.gq-cp-note-actions .gq-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.gq-cp-timeline-divider {
    height: 1px;
    background: var(--gq-border);
    margin: 1.15rem 0;
}

.gq-cp-timeline-empty {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--gq-muted);
    text-align: center;
    padding: 0.75rem 0;
}

.gq-cp-timeline-list {
    max-height: 420px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.gq-cp-activity-msg {
    display: block;
    font-size: 0.875rem;
    color: var(--gq-text);
    line-height: 1.45;
}

.gq-cp-activity-by {
    display: block;
    font-size: 0.75rem;
    color: var(--gq-navy-light);
    font-weight: 600;
    margin-top: 0.15rem;
}

.gq-sidebar-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gq-muted);
    margin: 0 0 1rem;
}

.gq-timeline--detailed .gq-timeline-item.is-green::before { background: #16a34a; }
.gq-timeline--detailed .gq-timeline-item.is-amber::before { background: #a16207; }
.gq-timeline--detailed .gq-timeline-item.is-blue::before { background: #2563eb; }

.gq-timeline-note {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.45;
}

.gq-empty-text {
    color: var(--gq-muted);
    font-size: 0.875rem;
    margin: 0;
}

@media (max-width: 1100px) {
    .gq-app-show-layout { grid-template-columns: 1fr; }
    .gq-app-header-actions { margin-left: 0; width: 100%; }
}

/* Chart */
.gq-stat-card--compact {
    min-height: 100px;
}

.gq-chart-wrap {
    padding: 0.5rem 0 0;
}

.gq-chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.65rem;
    height: 220px;
    padding: 0 0.25rem;
}

.gq-chart-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
    min-width: 0;
}

.gq-chart-bars .bar {
    width: 100%;
    max-width: 48px;
    background: linear-gradient(180deg, #2563eb 0%, #1e3a8a 100%);
    border-radius: 6px 6px 0 0;
    min-height: 20px;
    transition: height 0.3s ease;
}

.gq-chart-bars .bar.light {
    background: linear-gradient(180deg, #93c5fd 0%, #60a5fa 100%);
}

.gq-chart-bars .bar.dark {
    background: linear-gradient(180deg, #1e40af 0%, #1e3a8a 100%);
}

.gq-chart-wrap--tall {
    min-height: 220px;
}

.gq-chart-wrap--tall .gq-chart-bars {
    min-height: 200px;
    align-items: flex-end;
}

.gq-chart-label {
    font-size: 0.6875rem;
    color: var(--gq-muted);
    margin-top: 0.5rem;
    font-weight: 500;
}

.gq-dashboard-bottom {
    grid-template-columns: 1fr 320px;
    gap: 1.15rem;
    align-items: start;
}

.gq-schemes-bottom {
    gap: 1.15rem;
    align-items: stretch;
}

.gq-schemes-intel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gq-table--schemes thead th {
    font-size: 0.6875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 600;
}

.gq-table-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.gq-inline-form {
    display: inline;
    margin: 0;
}

.gq-btn-danger-text {
    color: #dc2626;
}

.gq-btn-danger-text:hover {
    background: #fef2f2;
    color: #b91c1c;
}

.gq-link-muted {
    font-size: 0.8125rem;
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

.gq-link-muted:hover {
    text-decoration: underline;
}

.gq-btn-white-navy {
    background: #fff;
    color: #1e3a8a;
    border: none;
    font-weight: 600;
}

.gq-btn-white-navy:hover {
    background: #f8fafc;
}

.gq-dashboard-side {
    display: flex;
    flex-direction: column;
}

.gq-overview-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gq-overview-list li {
    border-bottom: 1px solid var(--gq-border-light);
    font-size: 0.875rem;
}

.gq-overview-list li:last-child {
    border-bottom: none;
}

.gq-overview-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.35rem;
    margin: 0 -0.35rem;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    transition: background 0.12s;
}

.gq-overview-list a:hover {
    background: #f8fafc;
}

.gq-overview-list span {
    color: var(--gq-muted);
}

.gq-overview-list strong {
    color: var(--gq-navy);
    font-size: 1rem;
}

.gq-table-row-link {
    cursor: pointer;
}

.gq-table-row-link:hover {
    background: #f8fafc;
}

.gq-toggle-group .gq-btn.is-active {
    background: var(--gq-navy);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.gq-toggle-group {
    display: inline-flex;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
}

.gq-toggle-group .gq-btn {
    padding: 0.4rem 0.85rem;
    font-size: 0.8125rem;
    border-radius: 6px;
    box-shadow: none;
}

.gq-toggle-group .gq-btn-primary {
    box-shadow: var(--shadow-sm);
}

/* Upload */
.gq-upload-zone {
    border: 2px dashed #cbd5e1;
    border-radius: var(--card-radius);
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: var(--gq-muted);
    background: #fafbfc;
    min-height: 220px;
}

.gq-upload-zone.gq-upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gq-upload-zone-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    cursor: pointer;
    padding: 0.5rem;
}

.gq-upload-zone-cloud {
    display: flex;
    margin-bottom: 0.85rem;
}

.gq-upload-zone-title {
    font-size: 1rem;
    color: var(--gq-navy);
    margin-bottom: 0.35rem;
}

.gq-upload-zone-hint {
    font-size: 0.8125rem;
    color: var(--gq-muted);
    margin-bottom: 0.65rem;
    line-height: 1.45;
}

.gq-upload-zone-selected {
    padding: 1rem 0.5rem;
}

.gq-upload-zone-preview {
    max-width: 200px;
    height: 130px;
}

.gq-upload-ext-label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #2563eb;
    letter-spacing: 0.06em;
}

.gq-upload-existing-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #2563eb;
    margin: 0 0 0.65rem;
    text-decoration: none;
}

.gq-upload-existing-link:hover {
    text-decoration: underline;
}

/* Course form layout */
.gq-course-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.25rem;
    align-items: start;
}

.gq-course-form-aside .gq-course-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.gq-course-cancel-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #dc2626;
    text-decoration: none;
    margin-top: 0.25rem;
}

.gq-course-cancel-link:hover {
    color: #b91c1c;
    text-decoration: underline;
}

.gq-course-guide-text {
    font-size: 0.8125rem;
    margin: 0.5rem 0 0.75rem;
    opacity: 0.92;
    line-height: 1.5;
}

.gq-course-guide-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #93c5fd;
    text-decoration: none;
}

.gq-course-guide-link:hover {
    color: #fff;
    text-decoration: underline;
}

.gq-course-cover-card {
    overflow: hidden;
}

.gq-course-cover-preview {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    min-height: 140px;
    background: #eff6ff;
}

.gq-course-cover-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    padding: 1.25rem;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    color: #1e40af;
}

.gq-course-cover-placeholder.is-active {
    color: #fff;
}

.gq-course-cover-emoji {
    font-size: 2.25rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.gq-course-cover-cat {
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.35;
    max-width: 100%;
}

.gq-course-cover-caption {
    margin: 0;
    font-size: 0.75rem;
    color: var(--gq-muted);
    line-height: 1.45;
    text-align: center;
}

@media (max-width: 992px) {
    .gq-course-form-layout {
        grid-template-columns: 1fr;
    }
    .gq-course-form-aside {
        order: -1;
    }
}

/* Login */
.gq-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #1e3a8a 0%, #172554 50%, #0f172a 100%);
    padding: 1.5rem;
}

.gq-login-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.25rem 2rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

.gq-login-card .logo {
    text-align: center;
    margin-bottom: 1.75rem;
}

.gq-login-card h2 {
    text-align: center;
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    color: var(--gq-navy);
}

.gq-login-card .gq-form-group label {
    text-transform: none;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gq-text);
    letter-spacing: 0;
}

.gq-login-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    color: var(--gq-muted);
    cursor: pointer;
}

.gq-login-subtitle {
    text-align: center;
    margin: 0 0 1.25rem;
    font-size: 0.875rem;
    color: var(--gq-muted);
    line-height: 1.5;
}

.gq-login-footer {
    text-align: center;
    margin: 1.25rem 0 0;
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Form page (Add New Trainer / Application style) */
.gq-form-page-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.gq-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--gq-border);
    border-radius: 10px;
    background: var(--gq-white);
    color: var(--gq-navy);
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s;
}

.gq-back-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.gq-form-page-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gq-navy);
    line-height: 1.25;
}

.gq-form-page-sub {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    color: var(--gq-muted);
    line-height: 1.5;
    max-width: 640px;
}

.gq-form-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gq-navy);
}

.gq-form-section-icon {
    display: inline-flex;
    color: #2563eb;
}

.gq-form-section-desc {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    color: var(--gq-muted);
    line-height: 1.5;
}

.gq-form-group--span-2 {
    grid-column: span 2;
}

.gq-upload-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gq-upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    background: #fafbfc;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    position: relative;
    min-height: 200px;
}

.gq-upload-box:hover {
    border-color: #93c5fd;
    background: #f8fafc;
}

.gq-upload-box.is-selected {
    border-style: solid;
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.gq-upload-box.is-dragover {
    border-color: #2563eb;
    background: #dbeafe;
}

.gq-upload-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    cursor: pointer;
}

.gq-upload-selected {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0.25rem 0;
}

.gq-upload-selected-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.65rem;
    margin-bottom: 0.4rem;
    background: #dcfce7;
    color: #166534;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gq-upload-slot-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--gq-navy);
    margin-bottom: 0.55rem;
}

.gq-upload-preview-wrap {
    width: 100%;
    max-width: 168px;
    height: 118px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #bfdbfe;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.6rem;
}

.gq-upload-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gq-upload-preview-pdf {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    color: #dc2626;
}

.gq-upload-preview-pdf span {
    font-size: 0.75rem;
    font-weight: 700;
}

.gq-upload-preview-generic {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gq-upload-filename {
    margin: 0 0 0.15rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0f172a;
    word-break: break-all;
    line-height: 1.35;
    max-width: 100%;
}

.gq-upload-filemeta {
    margin: 0 0 0.65rem;
    font-size: 0.75rem;
    color: var(--gq-muted);
}

.gq-upload-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.gq-upload-change,
.gq-upload-clear {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.38rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.2;
}

.gq-upload-change {
    color: #2563eb;
    background: #fff;
    border: 1px solid #93c5fd;
}

.gq-upload-change:hover {
    background: #eff6ff;
}

.gq-upload-clear {
    color: #64748b;
    background: #fff;
    border: 1px solid #cbd5e1;
}

.gq-upload-clear:hover {
    background: #f8fafc;
    color: #334155;
}

.gq-upload-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

.gq-upload-icon {
    display: flex;
    margin-bottom: 0.65rem;
}

.gq-upload-box strong {
    font-size: 0.875rem;
    color: var(--gq-navy);
    margin-bottom: 0.25rem;
}

.gq-upload-hint {
    font-size: 0.75rem;
    color: var(--gq-muted);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.gq-upload-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #2563eb;
}

.gq-form-page-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
    padding-top: 0.25rem;
}

.gq-form-page-footer-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .gq-upload-grid {
        grid-template-columns: 1fr;
    }
    .gq-form-group--span-2 {
        grid-column: span 1;
    }
}

/* Utilities */
.gq-flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.gq-mb-0 { margin-bottom: 0; }
.gq-mb-1 { margin-bottom: 1.15rem; }
.gq-mb-2 { margin-bottom: 1.75rem; }
.gq-mt-1 { margin-top: 1.15rem; }

.gq-count-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    background: var(--gq-blue-bg);
    color: #1d4ed8;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.hidden { display: none !important; }

/* Training Providers */
.gq-tp-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.gq-tp-page-head-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.gq-tp-queue-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
}

.gq-tp-queue-card strong {
    display: block;
    font-size: 1.125rem;
    color: var(--gq-navy);
    line-height: 1.1;
}

.gq-tp-queue-card span {
    font-size: 0.75rem;
    color: var(--gq-muted);
}

.gq-tp-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.gq-tp-avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gq-tp-name-link {
    text-decoration: none;
    color: inherit;
}

.gq-tp-name-link:hover {
    color: #2563eb;
}

.gq-text-danger {
    color: #dc2626;
    font-weight: 600;
}

.gq-table-actions {
    display: flex;
    gap: 0.35rem;
}

.gq-tp-header-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.35rem 1.5rem;
}

.gq-tp-detail-page {
    padding-bottom: 5.5rem;
}

.gq-tp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
}

.gq-tp-back-link:hover {
    color: #2563eb;
}

.gq-tp-header-logo {
    width: 88px;
    height: 88px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
}

.gq-tp-header-logo-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #cbd5e1 0%, #f1f5f9 45%, #94a3b8 100%);
    color: #475569;
    font-size: 1.35rem;
    font-weight: 700;
}

.gq-tp-edit-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #2563eb;
    text-decoration: none;
}

.gq-tp-edit-link:hover {
    text-decoration: underline;
}

.gq-tp-header-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.35rem;
}

.gq-tp-header-name {
    margin: 0;
    font-size: 1.35rem;
    color: var(--gq-navy);
}

.gq-tp-accred-badge {
    font-size: 0.65rem;
    letter-spacing: 0.04em;
}

.gq-tp-header-desc {
    margin: 0 0 0.5rem;
    font-size: 0.875rem;
    color: var(--gq-muted);
    line-height: 1.5;
}

.gq-tp-header-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.8125rem;
    color: #64748b;
}

.gq-tp-header-meta li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.gq-tp-header-id {
    text-align: right;
}

.gq-tp-id-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gq-muted);
    margin-bottom: 0.2rem;
}

.gq-tp-header-id strong {
    font-size: 1.35rem;
    color: #1e40af;
}

.gq-tp-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
    border-bottom: 1px solid var(--gq-border);
    padding-bottom: 0;
}

.gq-tp-tab {
    padding: 0.65rem 0.15rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gq-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.gq-tp-tab.is-active,
.gq-tp-tab:hover {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.gq-tp-show-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 1rem;
    align-items: start;
}

.gq-tp-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.gq-tp-section-head h3,
.gq-tp-card-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gq-navy);
}

.gq-tp-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.25rem;
    margin: 0;
}

.gq-tp-info-grid dt {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gq-muted);
    margin-bottom: 0.2rem;
}

.gq-tp-info-grid dd {
    margin: 0;
    font-size: 0.875rem;
    color: var(--gq-navy);
    line-height: 1.45;
}

.gq-tp-info-span {
    grid-column: 1 / -1;
}

.gq-tp-doc-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
}

.gq-tp-doc-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--gq-border-light);
}

.gq-tp-doc-item:last-child {
    border-bottom: none;
}

.gq-tp-doc-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gq-tp-doc-body strong {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.15rem;
}

.gq-tp-doc-meta {
    font-size: 0.75rem;
    color: var(--gq-muted);
}

.gq-tp-doc-actions {
    display: flex;
    gap: 0.65rem;
    margin-top: 0.35rem;
}

.gq-tp-course-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
}

.gq-tp-course-list li {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--gq-border-light);
}

.gq-tp-course-list li strong {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.15rem;
}

.gq-tp-course-list li span {
    font-size: 0.75rem;
    color: var(--gq-muted);
}

.gq-tp-view-all {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

.gq-tp-timeline {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
    border-left: 2px solid #e2e8f0;
    padding-left: 1rem;
}

.gq-tp-timeline li {
    position: relative;
    padding: 0 0 1.1rem 0.5rem;
}

.gq-tp-timeline li::before {
    content: '';
    position: absolute;
    left: -1.2rem;
    top: 0.35rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563eb;
}

.gq-tp-timeline-date {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #2563eb;
    letter-spacing: 0.04em;
    margin-bottom: 0.2rem;
}

.gq-tp-timeline p {
    margin: 0.2rem 0;
    font-size: 0.8125rem;
    color: var(--gq-muted);
}

.gq-tp-footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem;
    padding: 0.9rem 1.35rem;
    background: #fff;
    border: 1px solid var(--gq-border);
    border-radius: var(--card-radius);
    position: sticky;
    bottom: 0;
    z-index: 30;
    box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.08);
}

.gq-tp-footer-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
}

.gq-tp-footer-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0 1.25rem;
}

.gq-tp-footer-stat:first-child {
    padding-left: 0;
}

.gq-tp-footer-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}

.gq-tp-footer-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gq-navy);
}

.gq-tp-footer-value--success {
    color: #16a34a;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.gq-tp-footer-divider {
    width: 1px;
    height: 36px;
    background: #e2e8f0;
    flex-shrink: 0;
}

.gq-tp-footer-btn {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.55rem 1rem;
    white-space: nowrap;
}

.gq-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.35rem;
}

.gq-dot--green {
    background: #22c55e;
}

.gq-tp-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.gq-inline-form {
    display: inline;
}

.gq-btn-danger-outline {
    color: #dc2626 !important;
    border-color: #fecaca !important;
}

.gq-btn-danger-outline:hover {
    background: #fef2f2 !important;
}

.gq-muted {
    color: var(--gq-muted);
}

/* Exam Management */
.gq-exam-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.gq-exam-mode-pill {
    display: inline-block;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.gq-exam-mode-pill--online {
    background: #dbeafe;
    color: #1d4ed8;
}

.gq-exam-mode-pill--offline {
    background: #f1f5f9;
    color: #64748b;
}

.gq-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.gq-status-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.gq-status-pill--in-progress {
    background: #fce7f3;
    color: #be185d;
}

.gq-status-pill--in-progress .gq-status-pill-dot {
    background: #e11d48;
}

.gq-status-pill--upcoming {
    background: #dbeafe;
    color: #1d4ed8;
}

.gq-status-pill--upcoming .gq-status-pill-dot {
    background: #2563eb;
}

.gq-status-pill--result-pending {
    background: #ffedd5;
    color: #c2410c;
}

.gq-status-pill--result-pending .gq-status-pill-dot {
    background: #f59e0b;
}

.gq-status-pill--completed {
    background: #dcfce7;
    color: #15803d;
}

.gq-status-pill--completed .gq-status-pill-dot {
    background: #22c55e;
}

.gq-exam-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.gq-exam-promo-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.gq-exam-promo-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gq-exam-promo-title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gq-navy);
}

.gq-exam-promo-text {
    margin: 0 0 0.85rem;
    font-size: 0.8125rem;
    color: var(--gq-muted);
    line-height: 1.5;
    max-width: 420px;
}

.gq-exam-activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gq-exam-activity-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.55rem 0;
    font-size: 0.8125rem;
    color: #475569;
    line-height: 1.45;
    border-bottom: 1px solid var(--gq-border-light);
}

.gq-exam-activity-list li:last-child {
    border-bottom: none;
}

.gq-exam-activity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 0.35rem;
    flex-shrink: 0;
}

.gq-exam-activity-dot--blue { background: #2563eb; }
.gq-exam-activity-dot--orange { background: #f59e0b; }
.gq-exam-activity-dot--red { background: #e11d48; }
.gq-exam-activity-dot--green { background: #22c55e; }

.gq-exam-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.25rem 1.5rem;
}

.gq-exam-detail-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .gq-exam-bottom-grid {
        grid-template-columns: 1fr;
    }
}

/* Question Bank */
.gq-qb-form-layout {
    max-width: 900px;
}

.gq-qb-title {
    max-width: 420px;
    line-height: 1.35;
}

.gq-difficulty {
    display: inline-block;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
}

.gq-difficulty--easy {
    background: #dcfce7;
    color: #15803d;
}

.gq-difficulty--medium {
    background: #fef9c3;
    color: #a16207;
}

.gq-difficulty--hard {
    background: #fee2e2;
    color: #b91c1c;
}

.gq-qb-preview-options {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gq-qb-preview-options li {
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.5rem;
    border: 1px solid var(--gq-border-light);
    border-radius: 8px;
    font-size: 0.875rem;
}

.gq-qb-preview-options li.is-correct {
    border-color: #86efac;
    background: #f0fdf4;
}

.gq-qb-correct-tag {
    margin-left: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #16a34a;
    text-transform: uppercase;
}

.gq-exam-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    color: var(--gq-muted);
    margin-bottom: 0.75rem;
}

.gq-exam-breadcrumb a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.gq-exam-breadcrumb a:hover {
    text-decoration: underline;
}

.gq-exam-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.25rem;
    align-items: start;
}

.gq-delivery-mode-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gq-delivery-mode-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.35rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #fafbfc;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.gq-delivery-mode-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gq-delivery-mode-card.is-selected {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.gq-delivery-mode-card strong {
    display: block;
    margin: 0.5rem 0 0.25rem;
    font-size: 0.9375rem;
    color: var(--gq-navy);
}

.gq-delivery-mode-card span:last-child {
    font-size: 0.75rem;
    color: var(--gq-muted);
}

.gq-delivery-mode-icon {
    display: flex;
}

.gq-input-with-icon {
    position: relative;
}

.gq-input-with-icon input {
    width: 100%;
    padding-right: 2.25rem;
}

.gq-input-icon-right {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    pointer-events: none;
}

.gq-candidates-picker {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1.25rem 1rem;
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    background: #fafbfc;
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.gq-candidates-picker:hover {
    border-color: #93c5fd;
    background: #f8fafc;
    color: #2563eb;
}

.gq-candidate-count-input {
    margin-bottom: 0.65rem;
}

@media (max-width: 992px) {
    .gq-exam-form-layout {
        grid-template-columns: 1fr;
    }
    .gq-delivery-mode-grid {
        grid-template-columns: 1fr;
    }
    .gq-tp-show-grid {
        grid-template-columns: 1fr;
    }
    .gq-tp-header-card {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .gq-tp-header-id {
        text-align: left;
    }
    .gq-tp-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive */
@media (max-width: 1280px) {
    .gq-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .gq-detail-grid { grid-template-columns: 1fr; }
    .gq-dashboard-bottom { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
    .gq-toolbar { grid-template-columns: 1fr; }
    .gq-form-row--2,
    .gq-form-row--3 { grid-template-columns: 1fr; }
    .gq-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
    .gq-menu-toggle {
        display: inline-flex;
    }

    .gq-sidebar-close {
        display: inline-flex;
    }

    .gq-sidebar {
        transform: translateX(-100%);
    }

    .gq-sidebar.is-open {
        transform: translateX(0);
    }

    .gq-main {
        margin-left: 0;
    }

    .gq-header-welcome {
        font-size: 0.9375rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 140px;
    }
}

@media (max-width: 768px) {
    .gq-grid-2,
    .gq-grid-3,
    .gq-grid-4 { grid-template-columns: 1fr; }
    .gq-content { padding: 1rem; }
    .gq-header {
        padding: 0.75rem 1rem;
        gap: 0.65rem;
    }
    .gq-search { display: none; }
    .gq-header-welcome { max-width: 120px; }
    :root { --sidebar-width: min(300px, 92vw); }
}

/* Staff Review */
.gq-priority-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.gq-priority-pill--red { background: #fee2e2; color: #b91c1c; }
.gq-priority-pill--orange { background: #ffedd5; color: #c2410c; }
.gq-priority-pill--gray { background: #f1f5f9; color: #64748b; }
.gq-row-overdue { background: #fff7ed; }
.gq-text-danger { color: #dc2626; font-weight: 600; }
.gq-sr-workload-list { list-style: none; padding: 0; margin: 0; }
.gq-sr-workload-list li {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    gap: 0.65rem;
    align-items: center;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--gq-border-light);
    font-size: 0.875rem;
}
.gq-sr-workload-list li:last-child { border-bottom: none; }
.gq-sr-workload-name { font-weight: 600; color: var(--gq-text); }
.gq-sr-workload-bar-wrap {
    height: 6px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}
.gq-sr-workload-bar {
    height: 100%;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    border-radius: 999px;
}
.gq-sr-workload-count { font-size: 0.75rem; color: var(--gq-muted); white-space: nowrap; }
.gq-sr-app-card { padding: 0.85rem; border: 1px solid var(--gq-border-light); border-radius: 10px; background: #f8fafc; }
.gq-sr-workflow-form { max-width: 640px; }
.gq-pill-danger { background: #fee2e2; color: #b91c1c; padding: 0.2rem 0.5rem; border-radius: 6px; font-size: 0.7rem; font-weight: 700; }
.gq-subheading { font-size: 0.875rem; font-weight: 700; color: var(--gq-text); margin: 0; }
.gq-text-body { font-size: 0.875rem; color: #475569; line-height: 1.55; margin: 0.35rem 0 0; }
.gq-text-muted { color: var(--gq-muted); font-size: 0.875rem; }
.gq-text-success { color: #16a34a; font-weight: 700; }

/* Certification Decision */
.gq-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
@media (max-width: 1100px) {
    .gq-grid-3 { grid-template-columns: 1fr; }
}
.gq-cd-profile-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 1.35rem 1.5rem;
}
.gq-cd-profile-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.gq-cd-profile-name {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--gq-text);
}
.gq-cd-profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.gq-cd-meta-badge {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.gq-cd-meta-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gq-muted);
}
.gq-cd-scheme-pill {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: #dbeafe;
    color: #1d4ed8;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
}
.gq-cd-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
}
.gq-cd-status-pill--pending { background: #ffedd5; color: #c2410c; }
.gq-cd-status-pill--approved { background: #dcfce7; color: #15803d; }
.gq-cd-status-pill--rejected { background: #fee2e2; color: #b91c1c; }
.gq-cd-status-pill--on_hold { background: #e0f2fe; color: #0369a1; }
.gq-cd-status-card-head {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}
.gq-cd-status-card-title {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
}
.gq-cd-status-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.gq-cd-status-icon--green { background: #dcfce7; color: #16a34a; }
.gq-cd-status-icon--blue { background: #dbeafe; color: #2563eb; }
.gq-cd-status-icon--navy { background: #e0e7ff; color: #1e40af; }
.gq-cd-status-card-body {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}
.gq-cd-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}
.gq-cd-tag--green { background: #dcfce7; color: #15803d; }
.gq-cd-tag--orange { background: #ffedd5; color: #c2410c; }
.gq-cd-tag--red { background: #fee2e2; color: #b91c1c; }
.gq-cd-staff-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}
.gq-cd-staff-link:hover { text-decoration: underline; }
.gq-cd-exam-score {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gq-text);
    margin: 0;
}
.gq-cd-exam-threshold {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gq-muted);
}
.gq-cd-domain-bars { display: flex; flex-direction: column; gap: 0.5rem; }
.gq-cd-domain-row {
    font-size: 0.75rem;
    color: #64748b;
}
.gq-cd-domain-row span { display: block; margin-bottom: 0.25rem; }
.gq-cd-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}
.gq-cd-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    border-radius: 999px;
}
.gq-cd-verdict-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.gq-cd-verdict-icon {
    width: 40px;
    height: 40px;
    background: #e0e7ff;
    color: #1e40af;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gq-cd-verdict-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}
@media (max-width: 992px) {
    .gq-cd-verdict-grid { grid-template-columns: 1fr; }
}
.gq-cd-section-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gq-muted);
    margin: 0 0 0.75rem;
}
.gq-cd-outcome-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.gq-cd-outcome-option {
    display: flex;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    border: 2px solid var(--gq-border-light);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.gq-cd-outcome-option input { position: absolute; opacity: 0; pointer-events: none; }
.gq-cd-outcome-option.is-selected {
    border-color: #1e40af;
    background: #eff6ff;
}
.gq-cd-outcome-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
}
.gq-cd-outcome-option.is-selected .gq-cd-outcome-radio {
    border-color: #1e40af;
}
.gq-cd-outcome-option.is-selected .gq-cd-outcome-radio::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: #1e40af;
    border-radius: 50%;
}
.gq-cd-outcome-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.gq-cd-outcome-text strong {
    font-size: 0.9375rem;
    color: var(--gq-text);
}
.gq-cd-outcome-text span {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.45;
}
.gq-cd-verdict-right textarea {
    width: 100%;
    min-height: 180px;
    padding: 0.85rem 1rem;
    border: 1px solid var(--gq-border-light);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.875rem;
    resize: vertical;
}
.gq-cd-audit-note {
    font-size: 0.75rem;
    color: var(--gq-muted);
    margin: 0.5rem 0 0;
    font-style: italic;
}
.gq-cd-decided-banner {
    padding: 0.85rem 1rem;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 10px;
    font-size: 0.875rem;
    color: #166534;
}
.gq-cd-audit-readonly {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid var(--gq-border-light);
}
.gq-badge-pending { background: #ffedd5; color: #c2410c; }

/* Certification Management */
.gq-text-warning { color: #d97706; font-weight: 600; }
.gq-cert-code {
    font-family: ui-monospace, monospace;
    font-size: 0.8125rem;
    background: #f1f5f9;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    color: #1e40af;
}
.gq-cert-show-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
}
.gq-cert-show-main {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.gq-cert-badge-icon {
    width: 56px;
    height: 56px;
    background: #e0e7ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gq-cert-show-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.gq-cert-action-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.gq-btn-danger-outline {
    border-color: #fca5a5;
    color: #b91c1c;
}
.gq-btn-danger-outline:hover {
    background: #fef2f2;
}

/* Recertification */
.gq-rc-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.gq-rc-head-actions { display: flex; gap: 0.5rem; }
.gq-rc-stat-card {
    padding: 1.25rem 1.35rem;
    position: relative;
    overflow: hidden;
}
.gq-rc-stat-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gq-muted);
}
.gq-rc-stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0.35rem 0;
    color: var(--gq-text);
}
.gq-rc-stat-value--red { color: #dc2626; }
.gq-rc-stat-value--blue { color: #2563eb; }
.gq-rc-stat-value--orange { color: #ea580c; }
.gq-rc-stat-pill {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
}
.gq-rc-stat-pill--down { background: #fee2e2; color: #b91c1c; }
.gq-rc-stat-pill--blue { background: #dbeafe; color: #1d4ed8; }
.gq-rc-stat-pill--warn { background: #ffedd5; color: #c2410c; }
.gq-rc-stat-pill--green { background: #dcfce7; color: #15803d; }
.gq-rc-search-bar { padding: 1rem 1.25rem; }
.gq-rc-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}
.gq-rc-search-input {
    flex: 1;
    min-width: 220px;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--gq-border-light);
    border-radius: 8px;
    font-size: 0.875rem;
}
.gq-rc-select {
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--gq-border-light);
    border-radius: 8px;
    font-size: 0.875rem;
    background: #fff;
}
.gq-rc-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gq-border-light);
}
.gq-rc-table thead th {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gq-muted);
}
.gq-rc-days {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
}
.gq-rc-days--critical { background: #fee2e2; color: #b91c1c; }
.gq-rc-days--attention { background: #ffedd5; color: #c2410c; }
.gq-rc-days--normal { background: #dbeafe; color: #1d4ed8; }
.gq-rc-status {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    padding: 0.3rem 0.55rem;
    border-radius: 6px;
}
.gq-rc-status--not-started { background: #e0f2fe; color: #0369a1; }
.gq-rc-status--in-review { background: #dbeafe; color: #1d4ed8; }
.gq-rc-status--awaiting-cpd { background: #fef3c7; color: #92400e; }
.gq-rc-status--approved { background: #dcfce7; color: #15803d; }
.gq-rc-kebab {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--gq-muted);
    text-decoration: none;
    border-radius: 6px;
}
.gq-rc-kebab:hover { background: #f1f5f9; }
.gq-rc-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    border-top: 1px solid var(--gq-border-light);
}
.gq-rc-audit-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}
.gq-rc-audit-link:hover { text-decoration: underline; }
.gq-rc-legend {
    display: flex;
    gap: 1rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--gq-muted);
}
.gq-rc-legend-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.25rem;
    vertical-align: middle;
}
.gq-rc-legend-dot--critical { background: #dc2626; }
.gq-rc-legend-dot--attention { background: #ea580c; }
.gq-rc-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 992px) {
    .gq-rc-bottom-grid { grid-template-columns: 1fr; }
}
.gq-rc-activity-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.gq-rc-activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.gq-rc-activity-list li {
    display: flex;
    gap: 0.65rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--gq-border-light);
    font-size: 0.875rem;
}
.gq-rc-activity-list li:last-child { border-bottom: none; }
.gq-rc-activity-list time { display: block; margin-top: 0.2rem; }
.gq-rc-chart-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.gq-rc-chart-sub {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--gq-muted);
    margin-top: 0.2rem;
}
.gq-rc-chart-legend {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--gq-muted);
}
.gq-rc-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem;
    height: 160px;
    padding-top: 0.5rem;
    border-top: 1px solid var(--gq-border-light);
}
.gq-rc-chart-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}
.gq-rc-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 130px;
    width: 100%;
    justify-content: center;
}
.gq-rc-bar {
    width: 14px;
    min-height: 4px;
    border-radius: 4px 4px 0 0;
    transition: height 0.3s;
}
.gq-rc-bar--planned { background: #1e40af; }
.gq-rc-bar--actual { background: #60a5fa; }
.gq-rc-chart-label {
    font-size: 0.65rem;
    color: var(--gq-muted);
    margin-top: 0.35rem;
    font-weight: 600;
}

/* Complaints & Appeals */
.gq-cp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.25rem;
    align-items: start;
}
@media (max-width: 1100px) {
    .gq-cp-layout { grid-template-columns: 1fr; }
}
.gq-cp-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.gq-cp-table thead th {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gq-muted);
}
.gq-cp-case-link {
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}
.gq-cp-case-link:hover { text-decoration: underline; }
.gq-cp-type {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}
.gq-cp-type--complaint { background: #fee2e2; color: #b91c1c; }
.gq-cp-type--appeal { background: #dbeafe; color: #1d4ed8; }
.gq-cp-status {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
}
.gq-cp-status--investigation { background: #ffedd5; color: #c2410c; }
.gq-cp-status--pending-review { background: #dbeafe; color: #1d4ed8; }
.gq-cp-status--resolved { background: #dcfce7; color: #15803d; }
.gq-cp-status--closed { background: #f1f5f9; color: #64748b; }
.gq-cp-view-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}
.gq-cp-view-link:hover { text-decoration: underline; }
.gq-cp-widget-title {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gq-muted);
    margin: 0;
}
.gq-cp-widget-title--urgent { color: #dc2626; }
.gq-cp-urgent-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.gq-cp-urgent-list li {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--gq-border-light);
}
.gq-cp-urgent-list li:last-child { border-bottom: none; }
.gq-cp-urgent-list a {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-decoration: none;
    color: var(--gq-text);
    font-size: 0.8125rem;
}
.gq-cp-urgent-list a:hover strong { color: #2563eb; }
.gq-cp-urgent-list span { color: #64748b; font-size: 0.75rem; }
.gq-cp-sla-overdue { color: #dc2626; font-style: normal; font-weight: 600; font-size: 0.7rem; }
.gq-cp-sla-warn { color: #ea580c; font-style: normal; font-weight: 600; font-size: 0.7rem; }
.gq-cp-view-all {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}
.gq-cp-view-all:hover { text-decoration: underline; }

/* Reports */
.gq-rp-status-list { list-style: none; padding: 0; margin: 0; }
.gq-rp-status-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gq-border-light);
    font-size: 0.875rem;
}
.gq-rp-status-list li:last-child { border-bottom: none; }
.gq-rp-report-card {
    padding: 1rem;
    border: 1px solid var(--gq-border-light);
    border-radius: 10px;
    background: #f8fafc;
}
.gq-rp-report-card strong { display: block; margin-bottom: 0.25rem; }

/* System settings */
.gq-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.gq-settings-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 0.5rem;
}

.gq-settings-upload label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gq-navy);
    margin-bottom: 0.5rem;
}

.gq-settings-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 0.75rem;
    margin-bottom: 0.65rem;
    border: 1px dashed var(--gq-border);
    border-radius: 10px;
    background: #f8fafc;
}

.gq-settings-preview img {
    max-height: 56px;
    width: auto;
    object-fit: contain;
}

.gq-settings-preview--sidebar {
    background: linear-gradient(180deg, var(--gq-navy-light, #2563eb) 0%, var(--gq-navy-dark, #1d4ed8) 100%);
    min-height: 88px;
    padding: 1rem;
}

.gq-settings-preview--sidebar img {
    width: 100%;
    max-height: 52px;
    object-fit: contain;
    object-position: left center;
}

.gq-settings-preview--dark {
    background: #0f172a;
}

.gq-settings-preview--favicon img {
    max-height: 32px;
    max-width: 32px;
}

.gq-settings-preview-placeholder {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gq-navy);
}

.gq-settings-colors {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.gq-settings-colors input[type="color"] {
    width: 100%;
    height: 42px;
    padding: 0.2rem;
    border: 1px solid var(--gq-border);
    border-radius: 8px;
    cursor: pointer;
    background: #fff;
}

.gq-settings-live-preview {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.65rem;
    border-radius: 10px;
    background: var(--preview-bg, var(--gq-bg));
    border: 1px solid var(--gq-border);
    min-height: 120px;
}

.gq-settings-live-sidebar {
    width: 28%;
    border-radius: 8px;
    background: var(--preview-sidebar, var(--gq-navy-dark));
    min-height: 100px;
}

.gq-settings-live-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.gq-settings-live-header {
    height: 22px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid var(--gq-border);
}

.gq-settings-live-card {
    flex: 1;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--gq-border);
    box-shadow: inset 0 0 0 2px var(--preview-accent, var(--gq-navy-light));
}

@media (max-width: 1024px) {
    .gq-settings-grid {
        grid-template-columns: 1fr;
    }
}
