:root {
    --bg: #f5f7fb;
    --panel: #ffffff;
    --panel-soft: #f8fafc;
    --text: #111827;
    --muted: #64748b;
    --border: #e2e8f0;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --navy: #0b1730;
    --navy-2: #102345;
    --danger: #dc2626;
    --warning: #d97706;
    --success: #16a34a;
    --purple: #7c3aed;
    --shadow: 0 20px 50px rgba(15, 23, 42, .08);
    --soft-shadow: 0 8px 28px rgba(15, 23, 42, .055);
    --radius: 18px;
}

* { box-sizing: border-box; }

/* Force hidden views to stay hidden even when component display styles are defined later. */
[hidden],
.kanban-board[hidden],
.task-table-view[hidden] {
    display: none !important;
}

html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 19% 0%, rgba(37, 99, 235, .10), transparent 27%),
        radial-gradient(circle at 89% 12%, rgba(124, 58, 237, .08), transparent 31%),
        var(--bg);
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.muted { color: var(--muted); margin: 4px 0 0; }

/* Auth */
.auth-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at top left, #dbeafe, transparent 34%), linear-gradient(135deg, #f8fafc, #eef2ff);
    padding: 24px;
}
.auth-card {
    width: min(440px, 100%);
    background: var(--panel);
    padding: 34px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.auth-card .brand-mark { margin-bottom: 16px; }
.auth-card h1 { margin: 0 0 8px; }

/* Forms */
.stack-form { display: grid; gap: 16px; }
label { display: grid; gap: 7px; font-weight: 650; font-size: 14px; }
input, select, textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 12px;
    padding: 11px 12px;
    color: var(--text);
    outline: none;
    transition: .18s ease;
}
select { min-height: 44px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
input:disabled, select:disabled, textarea:disabled {
    background: #f1f5f9;
    color: #64748b;
}
small { color: var(--muted); font-weight: 600; }

/* Buttons */
.btn {
    border: 1px solid transparent;
    border-radius: 12px;
    min-height: 42px;
    padding: 10px 14px;
    font-weight: 750;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: .18s ease;
    white-space: nowrap;
}
.btn.primary { background: var(--primary); color: #fff; box-shadow: 0 10px 22px rgba(37, 99, 235, .18); }
.btn.primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn.secondary { background: #eff6ff; color: var(--primary); border-color: #bfdbfe; }
.btn.secondary:hover { background: #dbeafe; }
.btn.ghost { background: #fff; color: var(--text); border-color: var(--border); }
.btn.danger { background: #fee2e2; color: var(--danger); border-color: #fecaca; }
.btn.full { width: 100%; }
.icon-btn, .menu-btn {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 20px;
    line-height: 1;
    display: inline-grid;
    place-items: center;
}

.alert {
    padding: 11px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 14px;
}
.alert-error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.alert-success { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.alert-warning { background: #fffbeb; color: #92400e; border-color: #fde68a; }

/* Shell */
.app-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
}
.app-shell.sidebar-hidden { grid-template-columns: minmax(0, 1fr); }
.app-shell.sidebar-hidden .sidebar { display: none; }
.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    background:
        radial-gradient(circle at 14% 8%, rgba(71, 118, 255, .28), transparent 28%),
        linear-gradient(180deg, var(--navy), #09152c 60%, #071226);
    color: #fff;
    padding: 22px 16px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    box-shadow: 10px 0 34px rgba(2, 6, 23, .12);
    z-index: 5;
}
.brand-row { display: flex; align-items: center; gap: 12px; padding: 0 6px; }
.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #60a5fa, #7c3aed 65%, #f472b6);
    color: #fff;
    font-weight: 900;
    letter-spacing: .04em;
    box-shadow: 0 12px 28px rgba(96, 165, 250, .24);
}
.brand-row strong { display: block; font-size: 18px; }
.brand-row span, .user-pill span, .top-profile span { display: block; color: #cbd5e1; font-size: 12px; margin-top: 2px; }

.side-nav { display: grid; gap: 7px; }
.nav-label {
    color: #94a3b8;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .08em;
    font-weight: 800;
    margin: 16px 8px 4px;
}
.side-nav a {
    color: #dbeafe;
    padding: 12px 12px;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 11px;
    transition: .18s ease;
}
.side-nav a:hover, .side-nav a.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, .86), rgba(30, 64, 175, .72));
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 14px 26px rgba(37, 99, 235, .15);
}
.nav-icon {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    font-size: 13px;
}
.sidebar-footer { margin-top: auto; display: grid; gap: 12px; }
.user-pill {
    padding: 12px;
    border-radius: 16px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    display: flex;
    align-items: center;
    gap: 10px;
}
.avatar-mini {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #dbeafe, #fff);
    color: var(--primary);
    font-weight: 900;
    border: 1px solid rgba(255,255,255,.6);
}
.avatar-mini.large { width: 44px; height: 44px; }

/* Main */
.main-content {
    padding: 26px 28px 34px;
    display: grid;
    gap: 22px;
    min-width: 0;
}
.topbar {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(226, 232, 240, .8);
    border-radius: 0 0 22px 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .035);
    padding: 18px 22px;
    backdrop-filter: blur(12px);
    margin: -26px -28px 2px;
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar h1, .panel h2 { margin: 0; }
.topbar h1 { font-size: 24px; letter-spacing: -.02em; }
.top-actions, .filters-row, .form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.top-profile {
    min-height: 50px;
    padding: 6px 10px 6px 6px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
}
.top-profile span { color: var(--muted); }

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.stat-card, .panel, .data-card, .project-card, .goal-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--soft-shadow);
}
.stat-card {
    min-height: 146px;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 12px;
    overflow: hidden;
    position: relative;
}
.stat-card strong { display: block; font-size: 34px; line-height: 1; margin-bottom: 10px; letter-spacing: -.03em; }
.stat-card span { color: #0f172a; font-weight: 750; }
.stat-card small {
    grid-column: 1 / -1;
    align-self: end;
    border-top: 1px solid rgba(226,232,240,.9);
    padding-top: 11px;
}
.stat-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 23px;
    font-weight: 900;
}
.stat-blue { background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%); }
.stat-blue strong { color: #1e3a8a; }
.stat-blue .stat-icon { background: #dbeafe; color: #2563eb; }
.stat-green { background: linear-gradient(135deg, #ffffff 0%, #effdf4 100%); }
.stat-green strong { color: #052e16; }
.stat-green .stat-icon { background: #dcfce7; color: #16a34a; }
.stat-purple { background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 100%); }
.stat-purple strong { color: #6d28d9; }
.stat-purple .stat-icon { background: #ede9fe; color: #7c3aed; }
.stat-red { background: linear-gradient(135deg, #ffffff 0%, #fff1f2 100%); }
.stat-red strong { color: #dc2626; }
.stat-red .stat-icon { background: #fee2e2; color: #dc2626; }

/* Dashboard layout */
.dashboard-grid { display: grid; gap: 16px; min-width: 0; }
.primary-grid { grid-template-columns: minmax(0, 1.7fr) minmax(330px, .98fr); align-items: stretch; }
.secondary-grid { grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); }
.panel { padding: 18px; min-width: 0; }
.task-panel, .project-overview-panel, .goals-panel, .activity-panel { min-height: 420px; }
.section-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}
.section-head.compact { margin-bottom: 14px; }
.section-head h2 { font-size: 18px; letter-spacing: -.01em; }
.section-head select { width: auto; min-width: 148px; }
.card-grid, .project-overview-list, .goal-list { display: grid; gap: 12px; }
.card-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* Project cards */
.project-card {
    padding: 16px;
    display: grid;
    gap: 12px;
    border-radius: 15px;
}
.project-card-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.project-card h3, .goal-card h3, .data-card h3 { margin: 0; font-size: 15px; }
.project-date { color: var(--muted); font-size: 11px; white-space: nowrap; }
.project-progress-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; font-weight: 800; font-size: 13px; }
.project-meta { display: flex; align-items: center; gap: 14px; color: #475569; font-size: 12px; font-weight: 650; }
.project-description { margin: 0; font-size: 13px; color: var(--muted); }

.data-card { padding: 16px; display: grid; gap: 12px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    background: #f1f5f9;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    text-transform: capitalize;
}
.badge.high { background: #fee2e2; color: #991b1b; }
.badge.medium { background: #ffedd5; color: #c2410c; }
.badge.low { background: #dcfce7; color: #166534; }
.badge.completed { background: #dcfce7; color: #166534; }
.badge.review { background: #ede9fe; color: #5b21b6; }
.badge.in_progress { background: #dbeafe; color: #1d4ed8; }
.badge.todo { background: #f1f5f9; color: #334155; }
.badge.not_started { background: #f1f5f9; color: #475569; }
.badge.on_hold { background: #fef3c7; color: #92400e; }
.badge.active { background: #dcfce7; color: #166534; }
.badge.inactive { background: #fee2e2; color: #991b1b; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.progress-track {
    height: 9px;
    background: #e8edf5;
    border-radius: 999px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #1d4ed8);
    border-radius: inherit;
}
.progress-bar.success { background: linear-gradient(90deg, #16a34a, #22c55e); }
.progress-bar.purple { background: linear-gradient(90deg, #7c3aed, #a855f7); }
.progress-bar.warning { background: linear-gradient(90deg, #d97706, #f59e0b); }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 13px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
th { color: #475569; font-size: 12px; background: var(--panel-soft); letter-spacing: .02em; font-weight: 800; }
.modern-table table { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.modern-table tr:hover td { background: #f8fafc; }
.task-title-cell strong { font-size: 14px; }
.task-title-cell span { display: block; margin-top: 3px; font-size: 12px; }
.row-actions { display: flex; gap: 7px; flex-wrap: wrap; }

/* Goals */
.goal-card {
    padding: 14px 14px 14px 18px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(170px, .7fr) auto auto auto;
    gap: 16px;
    align-items: center;
    position: relative;
}
.goal-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 4px;
    border-radius: 0 8px 8px 0;
    background: var(--primary);
}
.goal-card:nth-child(2n)::before { background: var(--success); }
.goal-card:nth-child(3n)::before { background: var(--purple); }
.goal-card p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.goal-progress-cell { display: grid; gap: 8px; }
.goal-percent { font-weight: 900; }
.goal-target { color: var(--muted); font-size: 12px; white-space: nowrap; }

/* Activity */
.activity-list { display: grid; gap: 0; border: 1px solid var(--border); border-radius: 15px; overflow: hidden; }
.activity-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding: 13px 14px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    align-items: center;
}
.activity-item:last-child { border-bottom: 0; }
.activity-avatar {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 900;
}
.activity-item p { margin: 0; font-size: 13px; }
.activity-item time { color: var(--muted); font-size: 12px; white-space: nowrap; }

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .56);
    display: grid;
    place-items: center;
    padding: 24px;
    z-index: 50;
}
.modal[hidden] { display: none; }
.modal-card {
    width: min(520px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 22px;
}
.modal-card.wide { width: min(760px, 100%); }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.modal-head h3 { margin: 0; }
.form-grid { display: grid; gap: 14px; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-actions { justify-content: flex-end; }
.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    padding: 13px 16px;
    border-radius: 14px;
    background: #0f172a;
    color: #fff;
    box-shadow: var(--shadow);
    z-index: 60;
}
.empty-state {
    color: var(--muted);
    padding: 18px;
    background: #fff;
    border: 1px dashed var(--border);
    border-radius: 14px;
}

@media (max-width: 1180px) {
    .primary-grid, .secondary-grid { grid-template-columns: 1fr; }
    .project-overview-list { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}
@media (max-width: 980px) {
    .app-shell { grid-template-columns: 1fr; }
    .sidebar { position: static; height: auto; }
    .side-nav { grid-template-columns: repeat(3, 1fr); }
    .nav-label { grid-column: 1 / -1; }
    .main-content { padding: 18px; }
    .topbar { margin: -18px -18px 0; border-radius: 0 0 18px 18px; flex-direction: column; align-items: stretch; }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section-head { flex-direction: column; }
    .top-actions { justify-content: flex-start; }
}
@media (max-width: 720px) {
    .form-grid.two, .form-grid.three { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .side-nav { grid-template-columns: 1fr 1fr; }
    .auth-card { padding: 24px; }
    .topbar-left { align-items: flex-start; }
    .top-profile { width: 100%; border-radius: 16px; }
    .goal-card { grid-template-columns: 1fr; }
    .activity-item { grid-template-columns: auto 1fr; }
    .activity-item time { grid-column: 2; }
    .filters-row, .filters-row select, .filters-row .btn { width: 100%; }
}

.field-group {
    display: block;
}

.field-label {
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}

.checkbox-list {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 10px;
    min-height: 54px;
    max-height: 220px;
    overflow: auto;
    background: #fff;
}

.check-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    cursor: pointer;
    margin: 0;
}

.check-option:hover {
    background: #f8fafc;
}

.check-option input {
    width: 16px;
    height: 16px;
    accent-color: #2563eb;
}

.check-option span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.check-option small {
    color: var(--muted);
    text-transform: capitalize;
}

.table-select {
    min-width: 120px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0 10px;
    background: #fff;
    font-weight: 700;
    text-transform: capitalize;
}

.empty-state.small {
    padding: 10px;
    min-height: auto;
}

.activity-only-grid {
    grid-template-columns: 1fr;
}

/* UI polish update: clean text, larger reliable SVG icons, compact panels, scrollable sections */
.topbar-left > div { display: grid; gap: 0; }
.topbar h1 { line-height: 1.15; }
.section-head { align-items: center; }
.section-head.compact { align-items: center; }

.nav-icon,
.stat-icon,
.menu-btn {
    color: currentColor;
}
.nav-icon svg,
.stat-icon svg,
.menu-btn svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.nav-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: 0;
    flex: 0 0 30px;
    background: rgba(255,255,255,.05);
}
.side-nav a {
    gap: 12px;
    padding: 12px 10px;
}
.stat-icon {
    width: 60px;
    height: 60px;
    font-size: 0;
}
.stat-icon svg {
    width: 27px;
    height: 27px;
    stroke-width: 2.2;
}
.menu-btn svg {
    width: 22px;
    height: 22px;
}

.stats-grid { gap: 14px; }
.stat-card {
    min-height: 116px;
    align-items: center;
    padding: 20px;
}
.stat-card strong { font-size: 32px; margin-bottom: 8px; }
.stat-card small { display: none; }

.dashboard-grid { align-items: start; }
.task-panel,
.project-overview-panel,
.goals-panel,
.activity-panel {
    min-height: 0;
}
.panel { overflow: hidden; }

.modern-table {
    max-height: 370px;
    overflow: auto;
    border-radius: 14px;
}
.team-panel .modern-table { max-height: 430px; }
.modern-table table { min-width: 760px; }
.modern-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}

.project-overview-list {
    max-height: 410px;
    overflow-y: auto;
    padding-right: 4px;
}
.goal-list {
    max-height: 365px;
    overflow-y: auto;
    padding-right: 4px;
}
.activity-list {
    max-height: 440px;
    overflow-y: auto;
    overflow-x: hidden;
}
.project-overview-list::-webkit-scrollbar,
.goal-list::-webkit-scrollbar,
.activity-list::-webkit-scrollbar,
.modern-table::-webkit-scrollbar,
.checkbox-list::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.project-overview-list::-webkit-scrollbar-thumb,
.goal-list::-webkit-scrollbar-thumb,
.activity-list::-webkit-scrollbar-thumb,
.modern-table::-webkit-scrollbar-thumb,
.checkbox-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}
.project-overview-list::-webkit-scrollbar-track,
.goal-list::-webkit-scrollbar-track,
.activity-list::-webkit-scrollbar-track,
.modern-table::-webkit-scrollbar-track,
.checkbox-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 999px;
}

.goal-card {
    grid-template-columns: minmax(0, 1.1fr) minmax(150px, .65fr) auto auto auto;
    gap: 12px;
}
.activity-item {
    align-items: start;
}
.activity-item p { line-height: 1.35; }

@media (max-width: 1180px) {
    .project-overview-list,
    .goal-list,
    .activity-list,
    .modern-table {
        max-height: 360px;
    }
}

@media (max-width: 980px) {
    .sidebar {
        position: relative;
        height: auto;
        padding: 16px;
    }
    .side-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .side-nav a { min-height: 48px; }
    .nav-label { margin-top: 10px; }
    .topbar {
        gap: 14px;
        padding: 14px 16px;
    }
    .topbar-left { align-items: center; }
    .top-actions .btn { min-height: 40px; }
    .stat-card { min-height: 108px; }
}

@media (max-width: 720px) {
    .main-content { padding: 12px; gap: 14px; }
    .topbar { margin: -12px -12px 0; padding: 12px; }
    .topbar-left { gap: 10px; }
    .topbar h1 { font-size: 22px; }
    .menu-btn { width: 38px; height: 38px; flex: 0 0 38px; }
    .top-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .top-actions .btn,
    .top-profile { width: 100%; }
    .top-profile { grid-column: 1 / -1; }
    .panel { padding: 14px; border-radius: 16px; }
    .section-head { gap: 12px; align-items: stretch; }
    .section-head h2 { font-size: 17px; }
    .project-overview-list,
    .goal-list,
    .activity-list,
    .modern-table {
        max-height: 320px;
    }
    .goal-card {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .project-card-head {
        flex-direction: column;
        gap: 6px;
    }
    .project-date { white-space: normal; }
    .activity-item {
        grid-template-columns: auto 1fr;
        gap: 10px;
    }
    .activity-item time {
        grid-column: 2;
        white-space: normal;
    }
    .side-nav { grid-template-columns: 1fr; }
    .sidebar-footer { display: none; }
}

@media (max-width: 460px) {
    .brand-row strong { font-size: 16px; }
    .brand-mark { width: 42px; height: 42px; }
    .top-actions { grid-template-columns: 1fr; }
    .stat-card {
        min-height: 100px;
        padding: 16px;
    }
    .stat-icon { width: 50px; height: 50px; }
    .stat-icon svg { width: 23px; height: 23px; }
    .btn { width: 100%; }
    .modal { padding: 12px; }
    .modal-card { border-radius: 18px; padding: 16px; }
}

/* Phase 2: task comments + subtasks */
.modal-card.extra-wide { width: min(1180px, 100%); }
.modal-subtitle { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.task-mini-meta {
    display: inline-flex !important;
    margin-top: 7px !important;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f8fafc;
    color: #64748b;
    font-size: 11px !important;
    font-weight: 750;
}
.task-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 16px;
}
.detail-box {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    min-height: 280px;
}
.detail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}
.detail-head h4 { margin: 0; font-size: 16px; }
.inline-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-bottom: 14px;
}
.comment-form { display: grid; gap: 10px; margin-bottom: 14px; }
.attachment-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-bottom: 14px;
}
.attachment-form input[type="file"] {
    padding: 10px;
    min-height: 44px;
}
.subtask-list,
.comment-list,
.attachment-list {
    display: grid;
    gap: 10px;
    max-height: 360px;
    overflow-y: auto;
    padding-right: 4px;
}
.subtask-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid var(--border);
    background: #f8fafc;
    border-radius: 14px;
    padding: 10px 12px;
}
.subtask-item label {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    font-weight: 750;
    color: var(--text);
}
.subtask-item input { width: 16px; height: 16px; }
.subtask-item.completed span { text-decoration: line-through; color: var(--muted); }
.attachment-item,
.comment-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 14px;
    padding: 12px;
}
.attachment-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #dbeafe;
    color: var(--primary);
    font-weight: 900;
}
.attachment-body { min-width: 0; }
.attachment-body a {
    color: var(--text);
    font-weight: 850;
    text-decoration: none;
    word-break: break-word;
}
.attachment-body a:hover { color: var(--primary); }
.attachment-body span {
    display: block;
    margin: 5px 0 6px;
    color: var(--muted);
    font-size: 12px;
}
.comment-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}
.comment-head time { color: var(--muted); font-size: 11px; white-space: nowrap; }
.comment-body p { margin: 6px 0 8px; color: #334155; line-height: 1.45; white-space: pre-wrap; }
.icon-text {
    border: 0;
    background: transparent;
    color: var(--primary);
    font-weight: 850;
    cursor: pointer;
    padding: 4px 0;
}
.danger-text { color: var(--danger); }
.empty-state.small { padding: 12px; font-size: 13px; }
.subtask-list::-webkit-scrollbar,
.comment-list::-webkit-scrollbar,
.attachment-list::-webkit-scrollbar {
    width: 8px;
}
.subtask-list::-webkit-scrollbar-thumb,
.comment-list::-webkit-scrollbar-thumb,
.attachment-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

@media (max-width: 820px) {
    .task-detail-grid { grid-template-columns: 1fr; }
    .inline-form,
    .attachment-form { grid-template-columns: 1fr; }
    .subtask-list,
    .comment-list,
    .attachment-list { max-height: 280px; }
}

@media (max-width: 520px) {
    .attachment-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #dbeafe;
    color: var(--primary);
    font-weight: 900;
}
.attachment-body { min-width: 0; }
.attachment-body a {
    color: var(--text);
    font-weight: 850;
    text-decoration: none;
    word-break: break-word;
}
.attachment-body a:hover { color: var(--primary); }
.attachment-body span {
    display: block;
    margin: 5px 0 6px;
    color: var(--muted);
    font-size: 12px;
}
.comment-head { flex-direction: column; align-items: flex-start; }
    .subtask-item { align-items: flex-start; flex-direction: column; }
}

/* Phase 3: Kanban board */
.kanban-task-panel {
    min-height: 520px;
}
.view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px;
}
.view-btn {
    border: 0;
    background: transparent;
    color: #475569;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 850;
    min-height: 34px;
}
.view-btn.active {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 5px 14px rgba(15, 23, 42, .08);
}
.kanban-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(260px, 1fr));
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
    min-height: 380px;
}
.kanban-board::-webkit-scrollbar,
.kanban-dropzone::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.kanban-board::-webkit-scrollbar-thumb,
.kanban-dropzone::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}
.kanban-column {
    min-width: 260px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 18px;
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
}
.kanban-column-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 14px;
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.kanban-column-head strong {
    font-size: 14px;
    letter-spacing: -.01em;
}
.kanban-column-head span {
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: #eff6ff;
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
}
.kanban-dropzone {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 12px;
    min-height: 330px;
    max-height: 520px;
    overflow-y: auto;
    transition: .18s ease;
}
.kanban-dropzone.drag-over {
    background: #dbeafe;
    outline: 2px dashed #60a5fa;
    outline-offset: -8px;
}
.kanban-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 13px;
    display: grid;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .055);
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.kanban-card.can-drag {
    cursor: grab;
}
.kanban-card.can-drag:active {
    cursor: grabbing;
}
.kanban-card.dragging {
    opacity: .55;
    transform: scale(.98);
}
.kanban-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .09);
}
.kanban-card-top,
.kanban-card-meta,
.kanban-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}
.kanban-card h3 {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
}
.kanban-card p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.kanban-card-meta {
    justify-content: flex-start;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}
.kanban-status-select {
    width: auto;
    min-width: 126px;
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 850;
    background: #f8fafc;
}
.kanban-card-actions {
    justify-content: flex-start;
    border-top: 1px solid var(--border);
    padding-top: 8px;
}
.kanban-empty {
    background: transparent;
    text-align: center;
}
.task-table-view {
    max-height: 520px;
}

@media (max-width: 1280px) {
    .kanban-board {
        grid-template-columns: repeat(4, minmax(250px, 1fr));
    }
}

@media (max-width: 980px) {
    .kanban-board {
        grid-template-columns: repeat(4, minmax(240px, 1fr));
    }
    .kanban-dropzone {
        max-height: 420px;
    }
}

@media (max-width: 720px) {
    .view-toggle,
    .view-toggle .view-btn,
    .kanban-status-select {
        width: 100%;
    }
    .view-toggle {
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-radius: 14px;
    }
    .view-btn {
        border-radius: 10px;
    }
    .kanban-board {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        margin-left: -4px;
        padding-left: 4px;
    }
    .kanban-column {
        min-width: min(86vw, 330px);
        scroll-snap-align: start;
    }
    .kanban-dropzone {
        max-height: 390px;
        min-height: 280px;
    }
    .kanban-card-actions .icon-text {
        min-height: 34px;
        padding: 6px 8px;
        border-radius: 9px;
        background: #f8fafc;
    }
}

@media (max-width: 460px) {
    .kanban-column {
        min-width: 88vw;
    }
    .kanban-card-top {
        align-items: stretch;
    }
    .kanban-card-top .badge,
    .kanban-status-select {
        width: 100%;
        justify-content: center;
    }
}

/* Phase 3B layout polish: full-width Kanban, Projects + Goals side by side, clearer sidebar toggle */
.brand-row {
    position: relative;
    padding-right: 42px;
}
.brand-text { min-width: 0; }
.sidebar-collapse-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    display: grid;
    place-items: center;
    transition: .18s ease;
}
.sidebar-collapse-btn:hover {
    background: rgba(255,255,255,.16);
}
.menu-btn {
    color: #0f172a;
}
.app-shell.sidebar-hidden .main-content {
    max-width: 100%;
}
.task-full-grid {
    grid-template-columns: minmax(0, 1fr);
}
.overview-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
}
.member-overview-grid {
    grid-template-columns: minmax(0, 1fr);
}
.full-activity-panel {
    min-height: 0;
}
.kanban-task-panel {
    min-height: 0;
}
.kanban-task-panel .section-head {
    align-items: center;
}
.kanban-board {
    grid-template-columns: repeat(4, minmax(230px, 1fr));
    min-height: 330px;
    overflow-x: auto;
}
.kanban-column {
    min-width: 230px;
}
.kanban-dropzone {
    min-height: 300px;
    max-height: 520px;
}
.project-overview-list,
.goal-list {
    max-height: 430px;
}
.full-activity-panel .activity-list {
    max-height: 330px;
}
.stat-icon {
    width: 64px;
    height: 64px;
}
.stat-icon svg {
    width: 30px;
    height: 30px;
}
.nav-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
}
.nav-icon svg {
    width: 21px;
    height: 21px;
}
.project-overview-panel,
.goals-panel {
    min-height: 520px;
}

@media (max-width: 1280px) {
    .kanban-board {
        grid-template-columns: repeat(4, minmax(250px, 1fr));
    }
    .kanban-column {
        min-width: 250px;
    }
}

@media (max-width: 1180px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }
    .project-overview-panel,
    .goals-panel {
        min-height: 0;
    }
}

@media (max-width: 980px) {
    .app-shell {
        grid-template-columns: minmax(0, 1fr);
    }
    .app-shell:not(.sidebar-hidden) .sidebar {
        display: flex;
    }
    .sidebar {
        position: relative;
        height: auto;
    }
    .kanban-board {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
    }
    .kanban-column {
        min-width: min(84vw, 360px);
        scroll-snap-align: start;
    }
}

@media (max-width: 720px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }
    .kanban-task-panel .section-head {
        align-items: stretch;
    }
    .kanban-board {
        min-height: 300px;
    }
    .kanban-dropzone {
        min-height: 240px;
        max-height: 380px;
    }
    .project-overview-list,
    .goal-list,
    .full-activity-panel .activity-list {
        max-height: 320px;
    }
    .sidebar-collapse-btn {
        width: 36px;
        height: 36px;
    }
}

/* Phase 4 notifications */
.notifications-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.notification-bell {
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
    color: var(--primary);
}
.notification-bell svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.notification-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--danger);
    color: #fff;
    font-size: 11px;
    line-height: 20px;
    font-weight: 900;
    box-shadow: 0 0 0 3px #fff;
}
.notification-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(390px, calc(100vw - 24px));
    max-height: min(560px, 74vh);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .18);
    z-index: 80;
    overflow: hidden;
}
.notification-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
}
.notification-list {
    max-height: 470px;
    overflow-y: auto;
    display: grid;
}
.notification-item {
    border: 0;
    border-bottom: 1px solid var(--border);
    background: #fff;
    padding: 13px 16px;
    width: 100%;
    text-align: left;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    cursor: pointer;
}
.notification-item:hover { background: #f8fafc; }
.notification-item.unread { background: #eff6ff; }
.notification-item strong {
    display: block;
    color: #0f172a;
    font-size: 13px;
    margin-bottom: 4px;
}
.notification-item p {
    margin: 0 0 5px;
    color: #475569;
    font-size: 12px;
    line-height: 1.35;
}
.notification-item small {
    color: var(--muted);
    font-size: 11px;
}
.notification-item time {
    color: var(--muted);
    font-size: 11px;
    white-space: nowrap;
}
.notification-list::-webkit-scrollbar { width: 8px; }
.notification-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

@media (max-width: 720px) {
    .notifications-wrap { position: static; }
    .notification-dropdown {
        position: fixed;
        top: 82px;
        left: 12px;
        right: 12px;
        width: auto;
        max-height: calc(100vh - 100px);
    }
    .notification-item {
        grid-template-columns: 1fr;
    }
}

/* Notification dropdown visibility fix: keep the bell menu above dashboard cards */
.main-content,
.topbar,
.top-actions,
.notifications-wrap {
    overflow: visible;
}
.topbar {
    position: relative;
    z-index: 3000;
}
.top-actions {
    position: relative;
    z-index: 3100;
}
.notifications-wrap {
    position: relative;
    z-index: 3200;
}
.notification-dropdown {
    z-index: 99999;
}
.stats-grid,
.dashboard-main-grid,
.full-board-row,
.panel,
.stat-card {
    position: relative;
    z-index: 1;
}
@media (max-width: 720px) {
    .notification-dropdown {
        z-index: 99999;
    }
}

/* Phase 6: Reports & Export */
.reports-panel {
    margin-top: 22px;
    overflow: visible;
}

.report-head {
    align-items: flex-start;
    gap: 14px;
}

.report-filter-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(120px, 1fr));
    gap: 12px;
    margin: 16px 0 18px;
}

.report-filter-grid label {
    display: grid;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
}

.report-filter-grid select,
.report-filter-grid input {
    width: 100%;
}

.report-cards {
    display: grid;
    grid-template-columns: repeat(6, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.mini-report-card {
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 18px;
    padding: 15px 16px;
    box-shadow: var(--shadow-sm);
}

.mini-report-card strong {
    display: block;
    font-size: 25px;
    line-height: 1;
    color: var(--text);
    margin-bottom: 7px;
}

.mini-report-card span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.mini-report-card.danger strong {
    color: #ef4444;
}

.mini-report-card.warning strong {
    color: #d97706;
}

.mini-report-card.success strong {
    color: #16a34a;
}

.report-summary-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 18px;
}

.report-box {
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    padding: 16px;
    min-height: 230px;
}

.summary-list {
    display: grid;
    gap: 10px;
    max-height: 260px;
    overflow: auto;
    padding-right: 4px;
}

.summary-row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(150px, .8fr);
    gap: 12px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    background: #f8fafc;
}

.summary-row strong,
.summary-row span {
    display: block;
}

.summary-row strong {
    color: var(--text);
    font-size: 14px;
    margin-bottom: 4px;
}

.summary-row span,
.summary-progress small {
    color: var(--muted);
    font-size: 12px;
}

.summary-progress {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
}

.report-table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0 12px;
}

.report-table-head h3 {
    margin: 0;
    font-size: 17px;
}

.report-table-head span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.report-table-wrap {
    max-height: 420px;
    overflow: auto;
}

.report-table-wrap table {
    min-width: 980px;
}

@media (max-width: 1180px) {
    .report-filter-grid,
    .report-cards {
        grid-template-columns: repeat(3, minmax(150px, 1fr));
    }
}

@media (max-width: 860px) {
    .report-summary-grid {
        grid-template-columns: 1fr;
    }
    .report-head,
    .report-table-head {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .report-filter-grid,
    .report-cards {
        grid-template-columns: 1fr 1fr;
    }
    .summary-row {
        grid-template-columns: 1fr;
    }
    .report-head .filters-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }
    .report-head .filters-row .btn.primary {
        grid-column: 1 / -1;
    }
}

@media (max-width: 420px) {
    .report-filter-grid,
    .report-cards {
        grid-template-columns: 1fr;
    }
}


/* Phase 6.1: task board priority filter + table sorting polish */
.task-panel .filters-row {
    align-items: center;
}
.task-panel .filters-row select {
    min-width: 142px;
}
.task-table-view {
    max-height: 540px;
}
.tasks-table {
    table-layout: fixed;
    min-width: 980px;
}
.tasks-table .col-task { width: 24%; }
.tasks-table .col-project { width: 15%; }
.tasks-table .col-assigned { width: 13%; }
.tasks-table .col-status { width: 12%; }
.tasks-table .col-priority { width: 12%; }
.tasks-table .col-date { width: 12%; }
.tasks-table .col-action { width: 220px; }
.table-sort-btn {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    text-align: left;
}
.table-sort-btn span {
    color: var(--primary);
    font-size: 13px;
    min-width: 14px;
}
.table-sort-btn.active {
    color: var(--primary);
}
.task-title-cell strong,
.task-project-cell,
.task-assigned-cell {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.task-desc-line {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.task-date-cell {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.task-action-cell {
    min-width: 220px;
}
.row-actions {
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
}
.row-actions .btn.compact-btn,
.row-actions .btn {
    min-height: 36px;
    padding: 8px 11px;
    white-space: nowrap;
}
@media (max-width: 980px) {
    .tasks-table { min-width: 940px; }
    .tasks-table .col-action { width: 210px; }
}
@media (max-width: 720px) {
    .task-panel .filters-row {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }
    .task-panel .filters-row select,
    .task-panel .filters-row .btn,
    .task-panel .view-toggle {
        width: 100%;
    }
    .task-panel .view-toggle {
        justify-content: center;
    }
}

.check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    color: var(--text);
}
.check-row:hover {
    background: #f8fafc;
}
.check-row input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}
.task-assignee-list {
    min-height: 96px;
    max-height: 180px;
}
.field-help {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-weight: 600;
    font-size: 12px;
}
