:root {
    --c-text-primary: #282a32;
    --c-text-secondary: #686b87;
    --c-text-action: #404089;
    --c-accent-primary: #434ce8;
    --c-border-primary: #eff1f6;
    --c-background-primary: #ffffff;
    --c-background-secondary: #fdfcff;
    --c-background-tertiary: #ecf3fe;
    --c-background-quaternary: #e9ecf4;

    --radius-sm: 10px;
        --radius-md: 14px;
    
        --space-xs: 8px;
        --space-sm: 12px;
        --space-md: 16px;
        --space-lg: 24px;
}

:root {
    --bg: #f5f5f7;
    --card-bg: #ffffff;
    --border-subtle: #e3e5ea;
    --border-strong: #d1d5dd;
    --text-main: #111827;
    --text-muted: #6b7280;
    --text-soft: #9ca3af;
    --accent: #2563eb;
    --accent-soft: #e7f0ff;
    --success: #16a34a;
    --success-soft: #e5f9ec;
    --danger: #dc2626;
    --danger-soft: #ffe5e5;
    --warning-soft: #fff7e5;
    --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.12);
    --radius-lg: 20px;
    --radius-full: 999px;
    --spacing: 24px;
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
        "Segoe UI", sans-serif;
}

:root {
    --tblr-blue: #066fd1;
    --tblr-indigo: #4263eb;
    --tblr-purple: #ae3ec9;
    --tblr-pink: #d6336c;
    --tblr-red: #d63939;
    --tblr-orange: #f76707;
    --tblr-yellow: #f59f00;
    --tblr-green: #2fb344;
    --tblr-teal: #0ca678;
    --tblr-cyan: #17a2b8;
    --tblr-black: #000000;
    --tblr-white: #ffffff;
    --tblr-gray: #4b5563;
    --tblr-gray-dark: #1f2937;
    --tblr-gray-100: #f3f4f6;
    --tblr-gray-200: #e5e7eb;
    --tblr-gray-300: #d1d5db;
    --tblr-gray-400: #9ca3af;
    --tblr-gray-500: #6b7280;
    --tblr-gray-600: #4b5563;
    --tblr-gray-700: #374151;
    --tblr-gray-800: #1f2937;
    --tblr-gray-900: #111827;
    --tblr-primary: #066fd1;
    --tblr-secondary: #6b7280;
    --tblr-success: #2fb344;
    --tblr-info: #4299e1;
    --tblr-warning: #f59f00;
    --tblr-danger: #d63939;
    --tblr-light: #f9fafb;
    --tblr-dark: #1f2937;
    --tblr-muted: #6b7280;
    --tblr-blue: #066fd1;
    --tblr-azure: #4299e1;
    --tblr-indigo: #4263eb;
    --tblr-purple: #ae3ec9;
    --tblr-pink: #d6336c;
    --tblr-red: #d63939;
    --tblr-orange: #f76707;
    --tblr-yellow: #f59f00;
    --tblr-lime: #74b816;
    --tblr-green: #2fb344;
    --tblr-teal: #0ca678;
    --tblr-cyan: #17a2b8;
    --tblr-primary-rgb: 6, 111, 209;
    --tblr-secondary-rgb: 107, 114, 128;
    --tblr-success-rgb: 47, 179, 68;
    --tblr-info-rgb: 66, 153, 225;
    --tblr-warning-rgb: 245, 159, 0;
    --tblr-danger-rgb: 214, 57, 57;
    --tblr-light-rgb: 249, 250, 251;
    --tblr-dark-rgb: 31, 41, 55;
    --tblr-muted-rgb: 107, 114, 128;
    --tblr-blue-rgb: 6, 111, 209;
    --tblr-azure-rgb: 66, 153, 225;
    --tblr-indigo-rgb: 66, 99, 235;
    --tblr-purple-rgb: 174, 62, 201;
    --tblr-pink-rgb: 214, 51, 108;
    --tblr-red-rgb: 214, 57, 57;
    --tblr-orange-rgb: 247, 103, 7;
    --tblr-yellow-rgb: 245, 159, 0;
    --tblr-lime-rgb: 116, 184, 22;
    --tblr-green-rgb: 47, 179, 68;
    --tblr-teal-rgb: 12, 166, 120;
    --tblr-cyan-rgb: 23, 162, 184;
    --tblr-primary-text-emphasis: rgb(2.4, 44.4, 83.6);
    --tblr-secondary-text-emphasis: rgb(42.8, 45.6, 51.2);
    --tblr-success-text-emphasis: rgb(18.8, 71.6, 27.2);
    --tblr-info-text-emphasis: rgb(26.4, 61.2, 90);
    --tblr-warning-text-emphasis: rgb(98, 63.6, 0);
    --tblr-danger-text-emphasis: rgb(85.6, 22.8, 22.8);
    --tblr-light-text-emphasis: #374151;
    --tblr-dark-text-emphasis: #374151;
    --tblr-primary-bg-subtle: rgb(205.2, 226.2, 245.8);
    --tblr-secondary-bg-subtle: rgb(225.4, 226.8, 229.6);
    --tblr-success-bg-subtle: rgb(213.4, 239.8, 217.6);
    --tblr-info-bg-subtle: rgb(217.2, 234.6, 249);
    --tblr-warning-bg-subtle: rgb(253, 235.8, 204);
    --tblr-danger-bg-subtle: rgb(246.8, 215.4, 215.4);
    --tblr-light-bg-subtle: rgb(249, 249.5, 250.5);
    --tblr-dark-bg-subtle: #9ca3af;
    --tblr-primary-border-subtle: rgb(155.4, 197.4, 236.6);
    --tblr-secondary-border-subtle: rgb(195.8, 198.6, 204.2);
    --tblr-success-border-subtle: rgb(171.8, 224.6, 180.2);
    --tblr-info-border-subtle: rgb(179.4, 214.2, 243);
    --tblr-warning-border-subtle: rgb(251, 216.6, 153);
    --tblr-danger-border-subtle: rgb(238.6, 175.8, 175.8);
    --tblr-light-border-subtle: #e5e7eb;
    --tblr-dark-border-subtle: #6b7280;
    --tblr-white-rgb: 255, 255, 255;
    --tblr-black-rgb: 0, 0, 0;
    --tblr-font-sans-serif: "Inter Var", Inter, -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;
    --tblr-font-monospace: Monaco, Consolas, Liberation Mono, Courier New, monospace;
    --tblr-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --tblr-body-font-family: var(--tblr-font-sans-serif);
    --tblr-body-font-size: 0.875rem;
    --tblr-body-font-weight: 400;
    --tblr-body-line-height: 1.4285714286;
    --tblr-body-color: #1f2937;
    --tblr-body-color-rgb: 31, 41, 55;
    --tblr-body-bg: #f9fafb;
    --tblr-body-bg-rgb: 249, 250, 251;
    --tblr-emphasis-color: #374151;
    --tblr-emphasis-color-rgb: 55, 65, 81;
    --tblr-secondary-color: rgba(31, 41, 55, 0.75);
    --tblr-secondary-color-rgb: 31, 41, 55;
    --tblr-secondary-bg: #e5e7eb;
    --tblr-secondary-bg-rgb: 229, 231, 235;
    --tblr-tertiary-color: rgba(31, 41, 55, 0.5);
    --tblr-tertiary-color-rgb: 31, 41, 55;
    --tblr-tertiary-bg: #f3f4f6;
    --tblr-tertiary-bg-rgb: 243, 244, 246;
    --tblr-heading-color: inherit;
    --tblr-link-color: #066fd1;
    --tblr-link-color-rgb: 6, 111, 209;
    --tblr-link-decoration: none;
    --tblr-link-hover-color: rgb(4.8, 88.8, 167.2);
    --tblr-link-hover-color-rgb: 5, 89, 167;
    --tblr-link-hover-decoration: underline;
    --tblr-code-color: light-dark(var(--tblr-gray-600), var(--tblr-gray-400));
    --tblr-highlight-color: #1f2937;
    --tblr-highlight-bg: rgb(253, 235.8, 204);
    --tblr-border-width: 1px;
    --tblr-border-style: solid;
    --tblr-border-color: #e5e7eb;
    --tblr-border-color-translucent: rgba(4, 32, 69, 0.1);
    --tblr-border-radius: 6px;
    --tblr-border-radius-sm: 4px;
    --tblr-border-radius-lg: 8px;
    --tblr-border-radius-xl: 1rem;
    --tblr-border-radius-xxl: 2rem;
    --tblr-border-radius-2xl: var(--tblr-border-radius-xxl);
    --tblr-border-radius-pill: 100rem;
    --tblr-box-shadow: rgba(var(--tblr-body-color-rgb), 0.04) 0 2px 4px 0;
    --tblr-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --tblr-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --tblr-box-shadow-inset: 0 0 transparent;
    --tblr-focus-ring-width: 0.25rem;
    --tblr-focus-ring-opacity: 0.25;
    --tblr-focus-ring-color: rgba(var(--tblr-primary-rgb), 0.25);
    --tblr-form-valid-color: #2fb344;
    --tblr-form-valid-border-color: #2fb344;
    --tblr-form-invalid-color: #d63939;
    --tblr-form-invalid-border-color: #d63939;
}

:root {
    /* page background used by body */
    --bg-page: var(--bg);

    /* soften naming differences */
    --border-soft: var(--border-subtle);

    /* unify muted text color */
    --text-muted: var(--text-soft);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background: #ffffff;
    color: var(--text-main);
}

a {
    color: var(--accent);
    text-decoration: none;
}

.page {
    min-height: 100vh;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* MAIN LAYOUT (flex so it works with or without sidebar) */


/* Right column – content sections */

.content-stack {
    flex: 1;
    /* always fills remaining width */
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.section {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    background: #ffffff;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    min-height: 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.section-title {
    font-size: 15px;
    font-weight: 600;
}

.section-meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* input styles */
.form-control {
    display: block;
    width: 100%;
    padding: .5625rem 1rem;
    font-family: inherit;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.25rem;
    color: #374151;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0px 1px 2px #1f29370f; 
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus {
    color: var(--tblr-body-color);
    background-color: var(--tblr-bg-forms);
    border-color: rgb(130.5, 183, 232);
    outline: 0;
    box-shadow: var(--tblr-shadow-input), 0 0 0 0.25rem rgba(var(--tblr-primary-rgb), 0.25);
}

.form-select {
    --bs-form-select-bg-img: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e);
    display: block;
    width: 100%;
    min-width: 120px;
    padding: .375rem 2.25rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
/* layout for form groups */
.grouped-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* button styles */

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Page header */
.page-title{
    margin: 0;
    font-size: 22px;
    line-height: 28px;
    font-weight: 600;
    color: inherit;
    display: flex;
    align-items: center;
}

.page-pretitle, .page-subtitle{
    font-size: .75rem;
    font-weight: var(--tblr-font-weight-medium);
    text-transform: uppercase;
    letter-spacing: .04em;
    line-height: 1rem;
    color: #6b7280;
}

/*** pagination ***/
.table-paginated-shell {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 4px 12px rgba(15, 23, 42, 0.04);
    padding: 16px 18px 12px;
}

/* Top bar: "Show N entries" */
.table-page-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 10px;
    font-size: 13px;
    color: #4b5563;
}

.table-page-top label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.table-page-size-select {
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 13px;
    background-color: #ffffff;
}

/* Footer: info + pager */
.table-page-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
    font-size: 13px;
    color: #4b5563;
}

.table-page-info {
    white-space: nowrap;
}

/* Pager buttons */
.table-page-nav {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.table-page-btn {
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 6px;
    border: 1px solid transparent;
    background: transparent;
    font-size: 13px;
    line-height: 1;
    color: #4b5563;
    cursor: pointer;
    transition:
        background-color 120ms ease,
        border-color 120ms ease,
        color 120ms ease;
}

.table-page-btn:hover:not(:disabled) {
    background: #f3f4f6;
}

.table-page-btn.is-current {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.table-page-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    margin: 0 2px;
    font-size: 13px;
    color: #9ca3af;
}

/* Small arrows */
.table-page-btn--icon {
    font-size: 16px;
    padding: 0 6px;
}

/* Stack nicely on small screens */
@media (max-width: 640px) {
    .table-page-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/**** Layout ****/
.nav-bar {
    position: sticky;
    top: 0;
    background: #fff;
    border-bottom: 1px solid #f3f4f6;
    z-index: 10;
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-links {
    margin-left: auto;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pill {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    line-height: 1;
}

.pill[aria-current="page"] {
    background: #111827;
    color: #fff;
    border-color: #111827;
    font-weight: 600;
}

@media (max-width: 640px) {
    .pill {
        padding: 12px 16px;
    }
}


.content {
    max-width: 1100px;
    margin: 24px auto;
    padding: 0 12px;
}

/* lightweight dropdown styling */
.dropdown-wrap {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    padding: .25rem;
    display: none;
    z-index: 20;
}

.dropdown-item {
    display: block;
    padding: .5rem .75rem;
    border-radius: 8px;
    text-decoration: none;
    color: #111;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: #f3f4f6;
}

.dropdown-wrap.open .dropdown-menu {
    display: block;
}
/**** Layout ****/


.stocks-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 880px;
}

.stocks-table thead {
    background: #f9fafb;
}

.stocks-table th,
.stocks-table td {
    padding: 11px 12px;
    text-align: left;
    border-bottom: 1px solid #eef0f4;
    white-space: nowrap;
}

.stocks-table th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-soft);
    font-weight: 600;
}

.stocks-table th.sortable {
    cursor: pointer;
}

.stocks-table th.sortable span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.stocks-table th.sortable span::after {
    content: "▾";
    font-size: 10px;
    color: #cbd5e1;
    transform: translateY(-1px);
}

.stocks-table tbody tr:hover {
    background: #f3f4ff;
}

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

.symbol-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.symbol-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: #e5ecff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    flex-shrink: 0;
}

.symbol-name {
    font-weight: 600;
    font-size: 12px;
    color: #4b5563;
}

.symbol-code {
    font-size: 11px;
    color: var(--text-soft);
}

.price {
    font-weight: 500;
}

.change-pill {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.change-up {
    background: var(--success-soft);
    color: var(--success);
}

.change-down {
    background: var(--danger-soft);
    color: var(--danger);
}

.change-neutral {
    background: var(--warning-soft);
    color: #9a7b08;
}

.change-arrow {
    font-size: 10px;
}

.volume,
.market-cap {
    font-variant-numeric: tabular-nums;
    color: #111827;
    font-weight: 500;
}

.muted {
    color: var(--text-muted);
    font-size: 12px;
}

.numeric-soft {
    color: #1f2937;
    font-variant-numeric: tabular-nums;
}

.numeric-soft.secondary {
    color: #4b5563;
}

.link-soft {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
}

.link-soft:hover {
    text-decoration: underline;
}

.sector-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid transparent;
}

.sector-finance {
    background: #ebf5ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.sector-industrial {
    background: #e5f6ff;
    color: #0369a1;
    border-color: #bae6fd;
}

.sector-realestate {
    background: #fee7f3;
    color: #be185d;
    border-color: #f9a8d4;
}

.sector-marketing {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.responsive-wrapper {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.header {
        position: sticky;
            top: 0;
            border-bottom: 1px solid #f3f4f6;
            z-index: 10;

    display: flex;
    align-items: center;
    height: 80px;
    background-color: var(--c-background-primary);
}

.header-content {
    display: flex;
    align-items: center;
}

.header-content>a {
    display: none;
}

@media (max-width: 1200px) {
    .header-content {
        justify-content: space-between;
    }

    .header-content>a {
        display: inline-flex;
    }
}

.header-logo {
    margin-right: 2.5rem;
        font-weight: 600;
        color: #066fd1;
        font-size: 20px;
}

.header-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo a div {
    flex-shrink: 0;
    position: relative;
}

.header-logo a div:after {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    top: auto;
    right: 0;
    bottom: 0;
    overflow: hidden;
    height: 50%;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.header-navigation {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 1200px) {
    .header-navigation {
        display: none;
    }
}

.header-navigation-links {
    display: flex;
    align-items: center;
}

.header-navigation-links a {
    text-decoration: none;
    color: var(--c-text-action);
    font-weight: 500;
    transition: 0.15s ease;
}

.header-navigation-links a+* {
    margin-left: 1.5rem;
}

.header-navigation-links a:hover,
.header-navigation-links a:focus {
    color: var(--c-accent-primary);
}

.header-navigation-actions {
    display: flex;
    align-items: center;
}

.header-navigation-actions>.avatar {
    margin-left: 0.75rem;
}

.header-navigation-actions>.icon-button+.icon-button {
    margin-left: 0.25rem;
}

.header-navigation-actions>.button+.icon-button {
    margin-left: 1rem;
}



.main-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.main-header h1 {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.25;
}

@media (max-width: 550px) {
    .main-header h1 {
        margin-bottom: 1rem;
    }
}

.search {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 340px;
}

.search input {
    font: inherit;
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1em 0 36px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid var(--c-border-primary);
    color: var(--c-text-action);
    font-size: 0.875rem;
    transition: 0.15s ease;
    width: 100%;
    line-height: 1;
}

.search input::-moz-placeholder {
    color: var(--c-text-action);
}

.search input:-ms-input-placeholder {
    color: var(--c-text-action);
}

.search input::placeholder {
    color: var(--c-text-action);
}

.search input:focus,
.search input:hover {
    border-color: var(--c-accent-primary);
}

.search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background-color: transparent;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25em;
    color: var(--c-text-action);
    padding: 0;
    height: 40px;
}



.content-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 3rem;
    margin-top: -1px;
    border-top: 1px solid var(--c-border-primary);
}

.content-header-intro h2 {
    font-size: 1.25rem;
    font-weight: 600;
}

.content-header-intro p {
    color: var(--c-text-secondary);
    margin-top: 0.25rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

@media (min-width: 800px) {
    .content-header-actions a:first-child {
        display: none;
    }
}


/* Page footer */
        .page-footer {
            border-radius: var(--radius-md);
            border: 1px solid var(--border-soft);
            padding: var(--space-sm) var(--space-md);
            background: #ffffff;
            font-size: 12px;
            color: var(--text-muted);
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: var(--space-xs);
        }
/* Responsiveness */

@media (max-width: 960px) {
    .main {
        flex-direction: column;
        /* sidebar stacks on top */
    }

    .panel {
        flex: 0 0 auto;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .page {
        padding: var(--space-sm);
    }

    .app-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .app-actions {
        justify-content: flex-start;
    }

    .summary-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .summary-row {
        grid-template-columns: minmax(0, 1fr);
    }

    table {
        font-size: 12px;
    }
}