/*
    Shared module styles for the redesign.

    Scope for step 2.3:
    - generic tables
    - shared forms
    - shared toolbars
    - dashboard component styles
    - file explorer container styles

    This file intentionally uses redesign-specific class names only.
*/

.wn-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.wn-toolbar-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.wn-toolbar-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--wb-900);
    margin: 0;
}

.wn-toolbar-subtitle {
    font-size: 12px;
    color: var(--gray-500);
    margin: 0;
}

.wn-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.wn-form {
    display: block;
}

.wn-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.wn-form-row {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.wn-form-row.is-stacked {
    flex-direction: column;
    align-items: stretch;
}

.wn-field {
    display: block;
    margin-bottom: 16px;
}

.wn-field-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-700);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.wn-field-input,
.wn-field-select,
.wn-field-textarea {
    width: 100%;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-button);
    background: var(--gray-50);
    color: var(--gray-800);
    font-family: var(--font-body);
    font-size: 13px;
    padding: 10px 12px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wn-field-textarea {
    min-height: 120px;
    resize: vertical;
}

.wn-field-input:focus,
.wn-field-select:focus,
.wn-field-textarea:focus {
    border-color: var(--wb-400);
    box-shadow: 0 0 0 3px rgba(0, 112, 192, 0.08);
    background: var(--white);
}

.wn-field-hint {
    font-size: 11px;
    color: var(--gray-500);
    margin-top: 6px;
}

.wn-field-error {
    font-size: 11px;
    color: var(--red-500);
    margin-top: 6px;
}

.wn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: var(--radius-button);
    border: 1px solid transparent;
    background: var(--wb-600);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.25px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.wn-btn:hover,
.wn-btn:focus {
    background: var(--wb-700);
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 112, 192, 0.18);
    transform: translateY(-1px);
}

.wn-btn:active {
    transform: translateY(0);
}

.wn-btn.is-secondary {
    background: var(--white);
    color: var(--wb-700);
    border-color: var(--gray-300);
    box-shadow: none;
}

.wn-btn.is-secondary:hover,
.wn-btn.is-secondary:focus {
    background: var(--gray-50);
    border-color: var(--wb-200);
    color: var(--wb-800);
}

.wn-btn.is-ghost {
    background: transparent;
    color: var(--wb-700);
    border-color: transparent;
    box-shadow: none;
}

.wn-btn.is-ghost:hover,
.wn-btn.is-ghost:focus {
    background: var(--wb-50);
    color: var(--wb-800);
}

.wn-table-wrap {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 26, 51, 0.05);
}

.wn-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
    color: var(--gray-700);
}

.wn-table thead th {
    background: var(--wb-50);
    color: var(--wb-900);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 12px 14px;
    border-bottom: 1px solid var(--gray-200);
    text-align: left;
    white-space: nowrap;
}

.wn-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: top;
}

.wn-table tbody tr:last-child td {
    border-bottom: none;
}

.wn-table tbody tr:hover {
    background: #FAFCFE;
}

.wn-table a {
    color: var(--wb-700);
    text-decoration: none;
}

.wn-table a:hover,
.wn-table a:focus {
    color: var(--wb-800);
    text-decoration: underline;
}

.wn-dashboard-grid {
    padding: 25px clamp(24px, 3vw, 56px) 24px;
    display: grid;
    grid-template-columns: minmax(340px, 430px) minmax(520px, 1fr) minmax(390px, 540px);
    gap: clamp(22px, 2vw, 32px);
    width: 100%;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
}

.wn-dashboard-grid.is-single-column {
    grid-template-columns: 1fr;
    padding-top: 0;
}

.wn-dashboard-stack {
    display: grid;
    gap: 22px;
    align-content: start;
    min-width: 0;
}

.wn-dashboard-stats {
    background: var(--white);
    padding: 13px 44px;
    display: flex;
    align-items: center;
    gap: 24px;
    overflow: hidden;
    border-bottom: 1px solid var(--gray-200);
    min-height: 58px;
}

/* Shared portfolio page header spacing used by summary, holdings, and future account pages */
.portfolio-page-header .page-eyebrow {
    margin: 0 0 8px;
}

/* Shared research page frame for Wright Investment Lists pages */
.research-page-main {
    padding: 24px 44px 24px;
    max-width: 1440px;
    margin: 0 auto;
}

.research-page-main.research-page-main-wide {
    max-width: none;
    padding-left: 28px;
    padding-right: 28px;
}

.research-page-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 1px 3px rgba(0, 26, 51, 0.06), 0 6px 20px rgba(0, 26, 51, 0.04);
    overflow: hidden;
}

.research-page-header {
    padding: 40px 32px 32px;
    border-bottom: 1px solid var(--gray-200);
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.research-page-header-top {
    width: 100%;
    position: relative;
}

.research-page-header-actions {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.research-page-title {
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--wb-900);
    margin: 0;
    line-height: 1.15;
}

.research-page-notes {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.5;
}

.research-page-note {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.research-page-note img {
    vertical-align: middle;
    margin-top: -1px;
}

.research-page-note strong {
    color: var(--gray-800);
    font-weight: 700;
}

.research-page-body {
    padding: 24px 32px 32px;
}

.research-page-body.research-page-body-table {
    padding: 0;
}

.research-page-body .table {
    margin-bottom: 0;
}

.research-page-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--wb-600);
    color: var(--white);
    border: none;
    min-width: 132px;
    min-height: 48px;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 112, 192, 0.15);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    font-family: var(--font-body);
}

.research-page-action:hover,
.research-page-action:focus {
    background: var(--wb-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 112, 192, 0.25);
}

.research-search-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 600px;
    margin: 24px auto;
}

.research-search-field {
    position: relative;
    flex: 1 1 auto;
}

.research-search-field svg {
    position: absolute;
    left: 16px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
}

.research-search-page #txt_search {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px 12px 44px;
    border: 1.5px solid var(--gray-300);
    border-radius: 12px;
    font-size: 15px;
    color: var(--gray-800);
    background: var(--white);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.research-search-page #txt_search::placeholder {
    color: var(--gray-400);
}

.research-search-page #txt_search:focus {
    border-color: var(--wb-500);
    box-shadow: 0 0 0 4px rgba(26, 133, 212, 0.1);
    outline: none;
}

.research-search-submit {
    min-width: 132px;
}

.research-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.research-table-wrap .dataTables_wrapper {
    padding: 0;
}

.research-data-table {
    width: 100% !important;
    border-collapse: collapse;
    text-align: left;
    table-layout: auto;
    margin: 0;
}

.research-data-table.table {
    --bs-table-bg: transparent;
    --bs-table-accent-bg: transparent;
    --bs-table-striped-bg: transparent;
    --bs-table-hover-bg: transparent;
    --bs-table-hover-color: inherit;
    color: inherit;
}

.research-data-table thead th {
    padding: 16px 24px;
    border-bottom: 2px solid var(--gray-200);
    border-top: 1px solid var(--gray-200);
    background: var(--wb-50);
    color: #576878;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.35;
    vertical-align: middle;
}

.research-data-table thead th:first-child {
    padding-left: 32px;
}

.research-data-table tbody tr {
    background: var(--white);
    transition: background 0.2s ease;
}

.research-data-table tbody tr:hover {
    background: var(--wb-50) !important;
}

.research-data-table tbody tr.research-row-approved {
    background: #f8efd9;
}

.research-data-table tbody tr.research-row-approved td {
    background: #f8efd9;
    font-weight: 600;
    color: var(--wb-900);
}

.research-data-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
    color: #3d4f5f;
    vertical-align: middle;
    background-color: transparent;
    box-shadow: none;
    line-height: 1.8;
}

.research-data-table tbody td:first-child {
    padding-left: 32px;
}

.research-data-table thead th {
    box-shadow: none;
}

.research-data-table tbody tr:hover td {
    background: var(--wb-50) !important;
}

.research-add-delete-grid {
    display: grid;
    grid-template-columns: minmax(0, var(--research-add-col, 40%)) minmax(0, var(--research-del-col, 60%));
    gap: 18px;
    background: transparent;
    padding: 20px 24px 24px;
}

.research-add-delete-section {
    background: var(--white);
    min-width: 0;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 26, 51, 0.05);
    overflow: hidden;
}

.research-add-delete-section.additions {
    border-right: 1px solid var(--gray-200);
}

.research-add-delete-section-header {
    padding: 20px 24px 14px;
    border-bottom: 1px solid var(--gray-200);
}

.research-add-delete-section-title {
    margin: 0;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    color: var(--wb-800);
    display: flex;
    align-items: center;
    gap: 12px;
}

.research-add-delete-section.additions .research-add-delete-section-title {
    color: var(--wb-700);
}

.research-add-delete-section.deletions .research-add-delete-section-title {
    color: var(--red-500);
}

.research-add-delete-section-subtitle {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray-500);
}

.research-add-delete-table-wrap {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.research-add-delete-table {
    width: 100% !important;
    border-collapse: collapse;
    text-align: left;
    margin: 0;
    table-layout: auto;
}

.research-add-delete-section.additions .research-add-delete-table {
    table-layout: fixed;
}

.research-add-delete-section.deletions .research-add-delete-table {
    table-layout: fixed;
}

.research-add-delete-table.table {
    --bs-table-bg: transparent;
    --bs-table-accent-bg: transparent;
    --bs-table-striped-bg: transparent;
    --bs-table-hover-bg: transparent;
    --bs-table-hover-color: inherit;
    color: inherit;
}

.research-add-delete-table th,
.research-add-delete-table td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--gray-100);
    white-space: nowrap;
}

.research-add-delete-table thead th {
    background: var(--wb-50);
    color: var(--gray-600);
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 2px solid var(--gray-200);
    border-top: 1px solid var(--gray-200);
    vertical-align: middle;
}

.research-add-delete-table tbody tr {
    background: var(--white);
    transition: background 0.2s ease;
}

.research-add-delete-table tbody tr:hover td {
    background: var(--wb-50);
}

.research-add-delete-table td {
    font-size: 13.5px;
    color: var(--gray-700);
    vertical-align: middle;
    line-height: 1.45;
    background: transparent;
}

.research-add-delete-col-ticker {
    width: 12%;
    font-weight: 600;
    color: var(--wb-800);
}

.research-add-delete-col-name {
    width: 32%;
    font-weight: 500;
    color: var(--wb-800);
}

.research-add-delete-col-date {
    width: 18%;
    font-size: 13px;
    color: var(--gray-600);
}

.research-add-delete-col-reason {
    width: 38%;
    font-size: 13px;
    color: var(--gray-600);
}

.research-add-delete-section.additions .research-add-delete-col-ticker {
    width: var(--research-add-ticker-width, 18%);
}

.research-add-delete-section.additions .research-add-delete-col-name {
    width: var(--research-add-name-width, 58%);
}

.research-add-delete-section.additions .research-add-delete-col-date {
    width: var(--research-add-date-width, 24%);
    text-align: right;
    padding-right: 8px;
}

.research-add-delete-section.additions .research-add-delete-col-date::after {
    content: "";
    display: inline-block;
    width: 8px;
}

.research-add-delete-section.deletions .research-add-delete-col-ticker {
    width: var(--research-del-ticker-width, 12%);
}

.research-add-delete-section.deletions .research-add-delete-col-name {
    width: var(--research-del-name-width, 32%);
}

.research-add-delete-section.deletions .research-add-delete-col-date {
    width: var(--research-del-date-width, 18%);
}

.research-add-delete-section.deletions .research-add-delete-col-reason {
    width: var(--research-del-reason-width, 38%);
    padding-right: 8px;
}

.research-add-delete-section.deletions .research-add-delete-col-reason::after {
    content: "";
    display: inline-block;
    width: 6px;
}

.research-add-delete-spacer > td {
    height: 16px;
    padding: 0 !important;
    background: var(--gray-50) !important;
    border-bottom: 1px solid var(--gray-200) !important;
}

.research-col-country {
    width: 10%;
    min-width: 120px;
}

.research-data-table thead th.research-col-country,
.research-data-table tbody td.research-col-country {
    padding-left: 32px;
}

.research-col-ticker {
    width: 15%;
    min-width: 120px;
    font-weight: 600;
    color: #003d75;
}

.research-col-name {
    width: 35%;
    min-width: 240px;
    font-weight: 500;
    color: #003d75;
}

.research-col-mcap {
    width: 15%;
    min-width: 140px;
}

.research-col-rating {
    width: 10%;
    min-width: 110px;
    font-weight: 600;
    color: #3d4f5f;
}

.research-col-reports {
    width: 15%;
    min-width: 240px;
}

.research-table-arrow {
    display: inline-flex;
    align-items: center;
    margin-right: 4px;
    vertical-align: middle;
}

.research-report-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.research-report-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--wb-600);
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
}

.research-report-link:hover,
.research-report-link:focus {
    color: var(--wb-800);
    text-decoration: underline;
}

.research-report-link::before {
    content: "";
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    background: currentColor;
    opacity: 0.7;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E") center / contain no-repeat;
}

.wn-dashboard-ticker-tape {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    min-height: 72px;
    overflow: hidden;
}

.wn-dashboard-ticker-tape-inner {
    height: 72px;
    padding: 0 0 0 12px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.wn-dashboard-ticker-tape-host {
    width: 100%;
    height: 100%;
    --tv-widget-background: transparent;
    --tv-widget-border-radius: 0px;
    --tv-widget-separator-color: rgba(13, 39, 70, 0.08);
    --tv-color-pane-background: transparent;
    --tv-color-platform-background: transparent;
}

.wn-tradingview-ticker {
    display: block;
    width: 100%;
    height: 100%;
    font-family: "Inter", "Segoe UI", sans-serif;
    font-feature-settings: "tnum" 1, "lnum" 1;
    color: var(--gray-700);
    letter-spacing: 0.01em;
}

.wn-tradingview-ticker::part(symbol) {
    font-weight: 700;
    letter-spacing: 0.05em;
}

.wn-tradingview-ticker::part(price),
.wn-tradingview-ticker::part(change) {
    font-weight: 600;
}

.wn-dashboard-ticker-tape-fallback,
.wn-dashboard-ticker-tape-fallback .tradingview-widget-container__widget {
    width: 100%;
    height: 100%;
}

.wn-dashboard-ticker-tape-fallback iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 72px;
}

.wn-dashboard-ticker-tape-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-600);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.wn-dashboard-ticker-tape-placeholder-pulse {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
    box-shadow: 0 0 0 0 rgba(198, 169, 106, 0.35);
    animation: wnTickerPlaceholderPulse 1.6s ease-in-out infinite;
    flex: 0 0 auto;
}

.wn-dashboard-ticker-tape-placeholder-text {
    display: inline-flex;
    align-items: center;
}

@keyframes wnTickerPlaceholderPulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(198, 169, 106, 0.3);
        opacity: 0.82;
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(198, 169, 106, 0);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(198, 169, 106, 0);
        opacity: 0.82;
    }
}

.wn-stat {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
}

.wn-stat-icon {
    width: 28px;
    height: 28px;
    background: var(--wb-50);
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wn-stat-icon svg {
    width: 14px;
    height: 14px;
    color: var(--wb-500);
}

.wn-stat-meta {
    display: block;
    min-height: 34px;
}

.wn-stat-label {
    font-size: 9px;
    color: var(--gray-500);
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 4px;
}

.wn-stat-value {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--wb-900);
    line-height: 1.35;
}

.wn-stat-change {
    font-size: 10px;
    font-weight: 600;
    margin-left: 3px;
}

.wn-stat-change.is-up {
    color: var(--green-600);
}

.wn-stat-change.is-down {
    color: var(--red-500);
}

.wn-stat-change.is-flat {
    color: var(--gray-500);
}

.wn-stat-separator {
    width: 1px;
    height: 28px;
    background: var(--gray-200);
    display: inline-block;
    flex: 0 0 1px;
    align-self: center;
    opacity: 1;
}

.wn-pa-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 1px 3px rgba(0, 26, 51, 0.06), 0 6px 20px rgba(0, 26, 51, 0.04);
    overflow: hidden;
    min-height: 289px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wn-pa-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 26, 51, 0.08), 0 12px 36px rgba(0, 26, 51, 0.06);
}

.wn-pa-header {
    padding: 16px 20px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 59px;
    box-sizing: border-box;
}

.wn-pa-icon {
    width: 34px;
    height: 34px;
    background: var(--wb-50);
    border: 1px solid var(--wb-100);
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wn-pa-icon svg {
    width: 17px;
    height: 17px;
    color: var(--wb-600);
}

.wn-pa-title {
    display: inline-flex;
    align-items: center;
    margin: 0;
    min-height: 31px;
    font-size: 17px;
    font-weight: 700;
    line-height: normal;
    color: var(--wb-900);
}

.wn-pa-body {
    min-height: 228px;
    padding: 4px 20px 24px;
}

.wn-pa-group {
    margin-bottom: 18px;
}

.wn-pa-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 4px;
    min-height: 23px;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.2px;
    color: var(--gray-600);
}

.wn-pa-row {
    display: flex;
    align-items: stretch;
    gap: 6px;
}

.wn-pa-input {
    flex: 1;
    min-width: 0;
    height: 50px;
    padding: 10px 12px;
    border: 1.5px solid var(--gray-300);
    border-radius: 7px;
    background: var(--gray-50);
    color: var(--gray-800);
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 400;
    line-height: normal;
    box-sizing: border-box;
    outline: none;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wn-pa-input::placeholder {
    color: var(--gray-500);
    opacity: 1;
}

.wn-pa-input:focus {
    border-color: var(--wb-400);
    box-shadow: 0 0 0 3px rgba(0, 112, 192, 0.08);
    background: var(--white);
}

.wn-pa-button {
    flex: 0 0 auto;
    height: 50px;
    min-width: 66px;
    padding: 8px 14px;
    border: none;
    border-radius: 7px;
    background: var(--wb-600);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 600;
    line-height: normal;
    box-sizing: border-box;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.wn-pa-button:hover,
.wn-pa-button:focus {
    background: var(--wb-700);
    box-shadow: 0 2px 8px rgba(0, 112, 192, 0.2);
}

.wn-pa-footer {
    margin-top: 4px;
    text-align: left;
}

.wn-pa-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 25px;
    color: var(--wb-600);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 500;
    line-height: normal;
    transition: color 0.2s ease, gap 0.2s ease;
}

.wn-pa-link:hover,
.wn-pa-link:focus {
    color: var(--wb-700);
    text-decoration: none;
    gap: 7px;
}

.wn-pa-link svg {
    width: 12px;
    height: 12px;
}

.wn-snapshot-card {
    background: linear-gradient(145deg, var(--wb-900) 0%, var(--wb-700) 60%, var(--wb-600) 100%);
    border-radius: 12px;
    padding: 22px 20px;
    min-height: 149px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: block;
    text-decoration: none;
}

.wn-snapshot-card:hover,
.wn-snapshot-card:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 38, 71, 0.45);
    text-decoration: none;
}

.wn-snapshot-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(77, 163, 232, 0.2) 0%, transparent 65%);
    border-radius: 50%;
}

.wn-snapshot-globe {
    position: absolute;
    top: -22px;
    right: -22px;
    width: 188px;
    height: 188px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.wn-snapshot-card:hover .wn-snapshot-globe,
.wn-snapshot-card:focus .wn-snapshot-globe {
    opacity: 0.7;
}

.wn-snapshot-globe-svg {
    width: 100%;
    height: 100%;
}

.wn-snapshot-tag,
.wn-snapshot-title,
.wn-snapshot-desc {
    position: relative;
    display: block;
}

.wn-snapshot-tag {
    font-size: 9.5px;
    font-weight: 700;
    line-height: 18px;
    color: var(--gold-400);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.wn-snapshot-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    line-height: 26px;
    color: var(--white);
    margin-bottom: 5px;
}

.wn-snapshot-desc {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    max-width: 260px;
}

.wn-snapshot-cta {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.wn-snapshot-card:hover .wn-snapshot-cta,
.wn-snapshot-card:focus .wn-snapshot-cta {
    background: var(--gold-500);
    border-color: var(--gold-500);
}

.wn-snapshot-cta svg {
    width: 13px;
    height: 13px;
    color: var(--gold-400);
    transition: color 0.25s ease;
}

.wn-snapshot-card:hover .wn-snapshot-cta svg,
.wn-snapshot-card:focus .wn-snapshot-cta svg {
    color: var(--wb-950);
}

.wn-news-list,
.wn-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.wn-news-link,
.wn-link-list a {
    color: var(--wb-700);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.45;
}

.wn-news-link:hover,
.wn-news-link:focus,
.wn-link-list a:hover,
.wn-link-list a:focus {
    color: var(--wb-800);
    text-decoration: underline;
}

.wn-news-link.is-highlight {
    color: var(--green-600);
    font-style: italic;
    font-weight: 700;
}

.wn-news-card {
    overflow: hidden;
}

.wn-news-card-header {
    background: var(--wb-600);
    padding: 12px 18px;
    border-bottom: none;
}

.wn-news-card-icon {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    width: 34px;
    height: 34px;
}

.wn-news-card-icon svg {
    width: 17px;
    height: 17px;
}

.wn-news-card-icon svg,
.wn-news-card-title {
    color: var(--white);
}

.wn-news-card-title {
    font-size: 17.5px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.wn-news-card-body {
    padding: 0;
}

.wn-news-card-list {
    display: block;
}

.wn-news-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 18px;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.2s ease;
}

.wn-news-item:hover,
.wn-news-item:focus-within {
    background: var(--wb-50);
}

.wn-news-item:last-child {
    border-bottom: none;
}

.wn-news-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--wb-300);
    flex-shrink: 0;
    margin-top: 6px;
}

.wn-news-dot.is-highlight {
    background: var(--green-500);
    box-shadow: 0 0 5px rgba(40, 167, 69, 0.3);
}

.wn-news-item-body {
    min-width: 0;
    flex: 1;
}

.wn-news-item-link {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
}

.wn-news-item .wn-news-link {
    display: inline-block;
    color: var(--gray-800);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.wn-news-item .wn-news-link-secondary {
    font-size: 12.5px;
    font-weight: 400;
    color: var(--gray-500);
}

.wn-news-item-link:hover .wn-news-link,
.wn-news-item-link:focus .wn-news-link {
    color: var(--wb-600);
    text-decoration: none;
}

.wn-news-item .wn-news-link.is-highlight {
    color: var(--green-600);
    font-style: italic;
}

.wn-news-item-link:hover .wn-news-link-secondary,
.wn-news-item-link:focus .wn-news-link-secondary {
    color: var(--wb-600);
}

.wn-news-card-footer {
    border-top: 1px solid var(--gray-100);
    padding: 12px 18px 14px;
}

.wn-news-card-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--wb-700);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.wn-news-card-footer-link:hover,
.wn-news-card-footer-link:focus {
    color: var(--wb-800);
    text-decoration: none;
}

.wn-news-card-footer-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.wn-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 15.5px;
    font-weight: 700;
    line-height: normal;
    color: var(--wb-900);
}

.wn-section-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.wn-quick-actions-section {
    min-width: 0;
}

.wn-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 12px;
}

.wn-quick-action {
    display: block;
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-action-tile);
    padding: 18px 14px;
    min-height: 137px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    box-shadow: none;
    transition: all 0.25s ease;
    overflow: hidden;
    box-sizing: border-box;
}

.wn-quick-action::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--wb-600);
    border-radius: var(--radius-action-tile) var(--radius-action-tile) 0 0;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.wn-quick-action:hover::after,
.wn-quick-action:focus::after {
    transform: scaleX(1);
}

.wn-quick-action:hover,
.wn-quick-action:focus {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 112, 192, 0.1);
    border-color: var(--wb-200);
}

.wn-quick-action-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-action-tile);
    background: var(--wb-50);
    border: 1px solid var(--wb-100);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    transition: all 0.25s ease;
}

.wn-quick-action:hover .wn-quick-action-icon,
.wn-quick-action:focus .wn-quick-action-icon {
    background: var(--wb-600);
    border-color: var(--wb-600);
    box-shadow: 0 4px 12px rgba(0, 112, 192, 0.3);
}

.wn-quick-action-icon-glyph {
    width: 22px;
    height: 22px;
    display: block;
    background-color: var(--wb-600);
    -webkit-mask-image: var(--wn-quick-action-icon);
    mask-image: var(--wn-quick-action-icon);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    transition: background-color 0.25s ease;
}

.wn-quick-action:hover .wn-quick-action-icon-glyph,
.wn-quick-action:focus .wn-quick-action-icon-glyph {
    background-color: var(--white);
}

.wn-quick-action-title {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    line-height: normal;
    color: var(--wb-900);
    margin-bottom: 2px;
    min-height: 25px;
}

.wn-quick-action-desc {
    display: block;
    font-size: 11px;
    line-height: normal;
    color: var(--gray-500);
    min-height: 22px;
}

@media (max-width: 640px) {
    .wn-quick-actions {
        grid-template-columns: 1fr;
    }
}

.wn-fileexplorer {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(340px, 2fr);
    gap: 18px;
}

.wn-fileexplorer-pane {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-card);
    box-shadow: 0 1px 3px rgba(0, 26, 51, 0.05);
    overflow: hidden;
}

.wn-fileexplorer-pane-header {
    padding: 14px 16px;
    background: var(--wb-50);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.wn-fileexplorer-pane-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--wb-900);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.wn-fileexplorer-pane-body {
    padding: 14px 16px;
}

.wn-fileexplorer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.wn-fileexplorer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px;
    border-radius: var(--radius-input);
    transition: background 0.2s ease;
}

.wn-fileexplorer-item:hover {
    background: var(--gray-50);
}

.wn-fileexplorer-item-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wn-fileexplorer-item-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--wb-50);
    border: 1px solid var(--wb-100);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wn-fileexplorer-item-icon svg {
    width: 14px;
    height: 14px;
    color: var(--wb-600);
}

.wn-fileexplorer-item-name {
    color: var(--gray-700);
    font-size: 12.5px;
    line-height: 1.4;
    word-break: break-word;
}

.wn-fileexplorer-item-meta {
    flex-shrink: 0;
    font-size: 11px;
    color: var(--gray-500);
    text-align: right;
}

.wn-fx-page {
    width: min(1380px, calc(100% - 48px));
    margin: 28px auto 40px;
}

.wn-fx-card {
    background: var(--white);
    border: 1px solid rgba(13, 39, 70, 0.08);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(13, 39, 70, 0.08);
    overflow: hidden;
}

.wn-fx-header {
    padding: 28px 32px 24px;
    background: linear-gradient(180deg, #f8fbfe 0%, #f3f6fa 100%);
    border-bottom: 1px solid rgba(13, 39, 70, 0.08);
}

.wn-fx-eyebrow {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--wb-500);
}

.wn-fx-title {
    margin: 0;
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 600;
    line-height: 1.08;
    color: #143250;
}

.wn-fx-page .nested {
    display: none;
}

.wn-fx-page .nested.active {
    display: block;
}

.wn-fx-legacy-page .btn-default {
    background: transparent;
    border: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    line-height: 1.3;
    text-align: left;
    box-shadow: none;
}

.wn-fx-legacy-page .btn-default:hover,
.wn-fx-legacy-page .btn-default:focus {
    color: inherit;
    text-decoration: none;
    box-shadow: none;
    outline: none;
}

.wn-fx-legacy-page .container-fluid {
    padding: 0;
}

.wn-fx-legacy-page .container-fluid.my-2 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.wn-fx-legacy-page .wn-fx-legacy-layout {
    margin: 0;
}

.wn-fx-legacy-page .wn-fx-legacy-sidebar {
    flex: 0 0 37%;
    max-width: 37%;
    padding: 24px 12px 26px 14px;
    background: #f4f7fb;
    border-right: 1px solid rgba(13, 39, 70, 0.08);
}

.wn-fx-legacy-page .wn-fx-legacy-main {
    flex: 0 0 63%;
    max-width: 63%;
    padding: 24px 28px 30px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.wn-fx-legacy-page .wn-fx-legacy-main .wn-fx-legacy-row,
.wn-fx-legacy-page .wn-fx-legacy-main .wn-fx-legacy-list .row {
    padding-top: 2px;
    padding-bottom: 2px;
}

.wn-fx-legacy-page .wn-fx-legacy-heading {
    margin: 0;
    padding: 0 0 10px;
    border-bottom: 1px solid rgba(13, 39, 70, 0.1);
    color: var(--gray-500);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.wn-fx-legacy-page .wn-fx-legacy-sidebar .wn-fx-legacy-list {
    background: #f4f7fb;
}

.wn-fx-legacy-page .wn-fx-legacy-heading .row,
.wn-fx-legacy-page .wn-fx-legacy-row,
.wn-fx-legacy-page .wn-fx-legacy-list .row {
    margin: 0;
}

.wn-fx-legacy-page .wn-fx-legacy-heading [class*='col-'],
.wn-fx-legacy-page .wn-fx-legacy-row .col-12,
.wn-fx-legacy-page .wn-fx-legacy-row .col-10,
.wn-fx-legacy-page .wn-fx-legacy-row .col-8,
.wn-fx-legacy-page .wn-fx-legacy-row .col-2,
.wn-fx-legacy-page .wn-fx-legacy-list .row .col-12,
.wn-fx-legacy-page .wn-fx-legacy-list .row .col-10,
.wn-fx-legacy-page .wn-fx-legacy-list .row .col-8,
.wn-fx-legacy-page .wn-fx-legacy-list .row .col-2 {
    padding: 0;
}

.wn-fx-legacy-page .wn-fx-legacy-list,
.wn-fx-legacy-page .wn-fx-legacy-list .nested {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wn-fx-legacy-page .wn-fx-legacy-list .caret {
    display: block;
}

.wn-fx-legacy-page .wn-fx-legacy-list .caret + .caret,
.wn-fx-legacy-page .wn-fx-legacy-list .nested > li + li {
    margin-top: 3px;
}

.wn-fx-legacy-page .wn-fx-legacy-list .nested {
    margin-top: 4px;
    margin-left: 8px;
    padding-left: 8px;
    border-left: 1px solid rgba(13, 39, 70, 0.12);
}

.wn-fx-legacy-page .wn-fx-legacy-row,
.wn-fx-legacy-page .wn-fx-legacy-list .row {
    padding: 8px 8px;
    border: 1px solid transparent;
    border-radius: 12px;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.wn-fx-legacy-page .wn-fx-legacy-row[onclick] {
    cursor: pointer;
}

.wn-fx-legacy-page .wn-fx-folder-row {
    cursor: pointer;
}

.wn-fx-legacy-page .wn-fx-legacy-entry,
.wn-fx-legacy-page .wn-fx-legacy-list .row > [class*='col-'] > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: var(--gray-800);
}

.wn-fx-legacy-page .wn-fx-legacy-sidebar .wn-fx-legacy-list .row > [class*='col-'] > span {
    display: flex;
    width: 100%;
}

.wn-fx-legacy-page .wn-fx-legacy-sidebar .btn-default {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
}

.wn-fx-legacy-page .wn-fx-legacy-entry > a,
.wn-fx-legacy-page .wn-fx-legacy-list a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.wn-fx-legacy-page .wn-fx-legacy-entry > a:hover,
.wn-fx-legacy-page .wn-fx-legacy-entry > a:focus,
.wn-fx-legacy-page .wn-fx-legacy-list a:hover,
.wn-fx-legacy-page .wn-fx-legacy-list a:focus {
    color: var(--wb-700);
    text-decoration: none;
}

.wn-fx-legacy-page .wn-fx-legacy-entry > a:hover .btn-default,
.wn-fx-legacy-page .wn-fx-legacy-entry > a:focus .btn-default,
.wn-fx-legacy-page .wn-fx-legacy-list a:hover .btn-default,
.wn-fx-legacy-page .wn-fx-legacy-list a:focus .btn-default {
    text-decoration: underline;
}

.wn-fx-legacy-page .wn-fx-legacy-text,
.wn-fx-legacy-page .wn-fx-legacy-list .btn-default {
    min-width: 0;
    word-break: normal;
    overflow-wrap: break-word;
    font-size: 13.5px;
    line-height: 1.24;
    font-weight: 600;
}

.wn-fx-legacy-page .wn-fx-legacy-main .wn-fx-legacy-list a,
.wn-fx-legacy-page .wn-fx-legacy-main #divFileShow a,
.wn-fx-legacy-page .wn-fx-legacy-main .wn-fx-legacy-list .btn-default,
.wn-fx-legacy-page .wn-fx-legacy-main #divFileShow .btn-default {
    font-size: 16px;
    line-height: 1.02;
    font-weight: 400;
}

.wn-bl-page {
    max-width: 1220px;
    margin: 0 auto;
    padding: 24px clamp(24px, 3vw, 48px) 40px;
}

.wn-bl-card {
    background: var(--white);
    border: 1px solid rgba(13, 39, 70, 0.08);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(13, 39, 70, 0.08);
    overflow: hidden;
}

.wn-bl-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    background: var(--gray-50);
}

.wn-bl-title {
    margin: 0 0 6px;
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 600;
    color: var(--wb-900);
    text-rendering: optimizeLegibility;
}

.wn-bl-subtitle {
    margin: 0;
    max-width: 760px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--gray-600);
}

.wn-bl-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wn-bl-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 320px;
}

.wn-bl-search-icon {
    position: absolute;
    left: 14px;
    width: 16px;
    height: 16px;
    color: var(--gray-400);
    pointer-events: none;
}

.wn-bl-search-input {
    width: 320px;
    padding: 10px 16px 10px 40px;
    border: 1.5px solid var(--gray-300);
    border-radius: 20px;
    background: var(--white);
    color: var(--gray-800);
    font-family: var(--font-body);
    font-size: 13.5px;
    line-height: normal;
    outline: none;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
    transition: all 0.2s ease;
}

.wn-bl-search-input::placeholder {
    color: var(--gray-400);
}

.wn-bl-search-input:focus {
    border-color: var(--wb-400);
    box-shadow: 0 0 0 3px rgba(0, 112, 192, 0.08);
}

.wn-bl-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.wn-bl-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
    border-spacing: 0;
    text-align: left;
    table-layout: auto;
}

.wn-bl-table.dataTable.no-footer {
    border-bottom: none;
}

.wn-bl-table > thead > tr > th,
.wn-bl-table > thead > tr > td,
.wn-bl-table.dataTable > thead > tr > th,
.wn-bl-table.dataTable > thead > tr > td,
.wn-bl-table > tbody > tr > td,
.wn-bl-table > tbody > tr > th,
.wn-bl-table.dataTable > tbody > tr > td,
.wn-bl-table.dataTable > tbody > tr > th {
    padding: 16px 32px;
    border-bottom: 1px solid var(--gray-100);
}

.wn-bl-table > thead > tr > th,
.wn-bl-table > thead > tr > td,
.wn-bl-table.dataTable > thead > tr > th,
.wn-bl-table.dataTable > thead > tr > td {
    border-bottom: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-500);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    white-space: nowrap;
}

.wn-bl-table > tbody > tr,
.wn-bl-table.dataTable > tbody > tr {
    transition: background 0.2s ease;
    cursor: pointer;
}

.wn-bl-table > tbody > tr:hover,
.wn-bl-table.dataTable > tbody > tr:hover {
    background: var(--wb-50);
}

.wn-bl-table > tbody > tr > td,
.wn-bl-table > tbody > tr > th,
.wn-bl-table.dataTable > tbody > tr > td,
.wn-bl-table.dataTable > tbody > tr > th {
    background: transparent;
    vertical-align: middle;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gray-800);
}

.wn-bl-col-code {
    width: 28%;
}

.wn-bl-col-name {
    width: 72%;
}

.wn-bl-link {
    display: inline-flex;
    align-items: center;
    color: var(--gray-800);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    cursor: pointer;
    margin: 0;
}

.wn-bl-row-selected,
.wn-bl-row-selected:hover {
    background: rgba(0, 112, 192, 0.26);
}

.wn-bl-row-selected > td,
.wn-bl-row-selected > th,
.wn-bl-row-selected:hover > td,
.wn-bl-row-selected:hover > th {
    background: rgba(0, 112, 192, 0.26) !important;
    color: var(--wb-900);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.wn-bl-row-selected .wn-bl-link,
.wn-bl-row-selected:hover .wn-bl-link {
    color: var(--wb-800);
}

.wn-bl-footer {
    padding: 20px 32px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.wn-bl-footer-count {
    font-size: 12px;
    color: var(--gray-500);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .wn-bl-header {
        flex-direction: column;
        align-items: stretch;
    }

    .wn-bl-tools,
    .wn-bl-search,
    .wn-bl-search-input {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .research-page-main {
        padding: 20px 16px 16px;
    }

    .research-page-header {
        padding: 32px 20px 24px;
    }

    .research-page-header-actions {
        position: static;
        transform: none;
        margin-top: 16px;
    }

    .research-page-title {
        font-size: 24px;
    }

    .research-page-body {
        padding: 16px 20px 20px;
    }

    .research-search-controls {
        flex-direction: column;
        max-width: 100%;
    }

    .research-search-field,
    .research-search-submit,
    .research-page-action {
        width: 100%;
    }

    .research-search-submit,
    .research-page-action {
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .wn-bl-page {
        padding: 20px 16px 32px;
    }

    .wn-bl-header,
    .wn-bl-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .wn-bl-table > thead > tr > th,
    .wn-bl-table > thead > tr > td,
    .wn-bl-table.dataTable > thead > tr > th,
    .wn-bl-table.dataTable > thead > tr > td,
    .wn-bl-table > tbody > tr > td,
    .wn-bl-table > tbody > tr > th,
    .wn-bl-table.dataTable > tbody > tr > td,
    .wn-bl-table.dataTable > tbody > tr > th {
        padding: 14px 20px;
    }
}

.wn-fx-legacy-page .wn-fx-legacy-date,
.wn-fx-legacy-page .wn-fx-legacy-list .row .col-2 > span {
    color: var(--gray-500);
    font-size: 12.5px;
    line-height: 1;
    white-space: nowrap;
}

.wn-fx-legacy-page .wn-fx-legacy-row[onclick]:hover,
.wn-fx-legacy-page .wn-fx-legacy-row[onclick]:focus-within,
.wn-fx-legacy-page .wn-fx-legacy-list .row:hover,
.wn-fx-legacy-page .wn-fx-legacy-list .row:focus-within {
    background: rgba(0, 112, 192, 0.06);
    border-color: rgba(0, 112, 192, 0.12);
}

.wn-fx-legacy-page .customactiveclass {
    background: linear-gradient(135deg, rgba(0, 112, 192, 0.12) 0%, rgba(0, 112, 192, 0.05) 100%);
    border-color: rgba(0, 112, 192, 0.24);
    box-shadow: inset 3px 0 0 var(--wb-500);
    color: var(--wb-900) !important;
}

.wn-fx-legacy-page .customactiveclass .wn-fx-legacy-folder-icon,
.wn-fx-legacy-page .customactiveclass .wn-fx-legacy-file-icon,
.wn-fx-legacy-page .customactiveclass .icons,
.wn-fx-legacy-page .customactiveclass .fa-file-excel,
.wn-fx-legacy-page .customactiveclass .fa-file-word,
.wn-fx-legacy-page .customactiveclass .fa-file-csv,
.wn-fx-legacy-page .customactiveclass .fa-file-lines,
.wn-fx-legacy-page .customactiveclass .fa-file-pdf,
.wn-fx-legacy-page .customactiveclass .fa-file {
    color: var(--wb-500);
}

.wn-fx-legacy-page .wn-fx-legacy-folder-icon,
.wn-fx-legacy-page .wn-fx-legacy-file-icon,
.wn-fx-legacy-page .icons,
.wn-fx-legacy-page .fa-file-excel,
.wn-fx-legacy-page .fa-file-word,
.wn-fx-legacy-page .fa-file-csv,
.wn-fx-legacy-page .fa-file-lines,
.wn-fx-legacy-page .fa-file-pdf,
.wn-fx-legacy-page .fa-file {
    flex: 0 0 auto;
    width: 18px;
    margin-top: 1px;
    text-align: center;
}

.wn-fx-legacy-page .wn-fx-legacy-folder-icon {
    color: var(--wb-500);
    font-size: 18px;
}

.wn-fx-legacy-page .icons {
    color: var(--wb-500);
    font-size: 18px;
    padding-top: 0 !important;
    margin-top: 0;
    margin-left: 0 !important;
    margin-right: 4px !important;
    transition: color 0.2s ease, transform 0.2s ease;
}

.wn-fx-legacy-page .wn-fx-folder-row .btn-default,
.wn-fx-legacy-page .wn-fx-folder-row .wn-fx-legacy-text {
    font-size: 16px;
}

.wn-fx-legacy-page .wn-fx-folder-row:hover .wn-fx-legacy-folder-icon,
.wn-fx-legacy-page .wn-fx-folder-row:hover .icons,
.wn-fx-legacy-page .wn-fx-folder-row:focus-within .wn-fx-legacy-folder-icon,
.wn-fx-legacy-page .wn-fx-folder-row:focus-within .icons,
.wn-fx-legacy-page .caret.caret-down .wn-fx-legacy-folder-icon,
.wn-fx-legacy-page .caret.caret-down .icons,
.wn-fx-legacy-page .customactiveclass .wn-fx-legacy-folder-icon,
.wn-fx-legacy-page .customactiveclass .icons {
    color: var(--wb-500);
}

.wn-fx-legacy-page .wn-fx-legacy-file-icon,
.wn-fx-legacy-page .fa-file-excel,
.wn-fx-legacy-page .fa-file-word,
.wn-fx-legacy-page .fa-file-csv,
.wn-fx-legacy-page .fa-file-lines,
.wn-fx-legacy-page .fa-file-pdf,
.wn-fx-legacy-page .fa-file {
    font-size: 18px;
}

.wn-fx-legacy-page .wn-fx-legacy-file-icon.icon-excel {
    color: #1d8b4d;
}

.wn-fx-legacy-page .fa-file-excel {
    color: #1d8b4d !important;
}

.wn-fx-legacy-page .wn-fx-legacy-file-icon.icon-word {
    color: #2e6fd8;
}

.wn-fx-legacy-page .fa-file-word {
    color: #2e6fd8 !important;
}

.wn-fx-legacy-page .wn-fx-legacy-file-icon.icon-csv {
    color: #159a77;
}

.wn-fx-legacy-page .fa-file-csv {
    color: #159a77 !important;
}

.wn-fx-legacy-page .wn-fx-legacy-file-icon.icon-txt {
    color: #4f7d95;
}

.wn-fx-legacy-page .fa-file-lines {
    color: #4f7d95 !important;
}

.wn-fx-legacy-page .wn-fx-legacy-file-icon.icon-pdf {
    color: #d1495b;
}

.wn-fx-legacy-page .fa-file-pdf {
    color: #d1495b !important;
}

.wn-fx-legacy-page .wn-fx-legacy-file-icon.icon-generic {
    color: var(--wb-500);
}

.wn-fx-legacy-page .fa-file {
    color: var(--wb-500) !important;
}

.wn-list-page {
    padding: 32px 44px;
    max-width: 1440px;
    margin: 0 auto;
}

.wn-list-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-card);
    box-shadow: 0 1px 3px rgba(0, 26, 51, 0.06), 0 6px 20px rgba(0, 26, 51, 0.04);
    overflow: hidden;
}

.wn-list-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.wn-list-title {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--wb-900);
}

.wn-list-subtitle {
    margin: 0;
    font-size: 13.5px;
    color: var(--gray-600);
}

.wn-list-tools {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.wn-list-search {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 320px;
}

.wn-list-footer {
    padding: 14px 32px 18px;
    border-top: 1px solid var(--gray-200);
    background: var(--white);
}

@media (max-width: 1439px) {
    .wn-dashboard-grid {
        grid-template-columns: minmax(260px, 330px) minmax(320px, 1fr) minmax(280px, 360px);
        gap: 20px;
    }

    .wn-quick-actions {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
        gap: 10px;
    }

    .wn-quick-action {
        padding: 16px 12px;
        min-height: 126px;
    }

    .wn-dashboard-stats {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        row-gap: 0;
        -webkit-overflow-scrolling: touch;
    }

    .wn-stat-separator {
        display: inline-block;
    }

    .wn-stat {
        flex: 0 0 auto;
    }
}

@media (max-width: 1100px) {
    .research-add-delete-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .research-add-delete-section.additions {
        border-bottom: none;
    }
}

@media (max-width: 1260px) {
    .wn-dashboard-grid {
        grid-template-columns: minmax(250px, 300px) minmax(300px, 1fr) minmax(250px, 320px);
        gap: 16px;
    }

    .wn-quick-actions {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }

    .wn-quick-action-title {
        font-size: 11px;
        min-height: 23px;
    }

    .wn-quick-action-desc {
        font-size: 9.5px;
        min-height: 20px;
    }
}

@media (max-width: 1140px) {
    .wn-dashboard-grid {
        grid-template-columns: minmax(240px, 320px) minmax(360px, 1fr);
        gap: 18px;
    }

    .wn-dashboard-stack-right {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .wn-dashboard-grid,
    .wn-dashboard-stats,
    .wn-dashboard-ticker-tape-inner {
        padding-left: 24px;
        padding-right: 24px;
    }

    .wn-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .wn-dashboard-ticker-tape-inner {
        padding-right: 0;
    }

    .wn-pa-card,
    .wn-snapshot-card,
    .wn-news-card,
    .wn-quick-actions-section {
        min-width: 0;
    }

    .wn-dashboard-stack-right {
        grid-column: auto;
    }

    .wn-fileexplorer {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 640px) {
    .wn-dashboard-grid,
    .wn-dashboard-stats,
    .wn-dashboard-ticker-tape-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .wn-dashboard-grid {
        gap: 18px;
    }

    .wn-dashboard-ticker-tape-inner {
        padding-right: 0;
    }

    .wn-dashboard-stats {
        gap: 12px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .wn-dashboard-ticker-tape,
    .wn-dashboard-ticker-tape-inner {
        min-height: 58px;
        height: 58px;
    }

    .wn-tradingview-ticker {
        width: 100%;
    }

    .wn-dashboard-ticker-tape-placeholder {
        font-size: 11px;
    }

    .wn-pa-row {
        flex-direction: column;
        align-items: stretch;
    }

    .wn-pa-button {
        width: 100%;
    }

    .wn-quick-actions {
        grid-template-columns: 1fr;
    }

}

@media (min-width: 1600px) {
    .wn-dashboard-stats {
        gap: 34px;
        padding-left: 56px;
        padding-right: 56px;
    }

    .wn-dashboard-ticker-tape-inner {
        padding-left: 20px;
        padding-right: 0;
    }

    .wn-stat-separator {
        height: 32px;
    }

    .wn-dashboard-grid {
        grid-template-columns: minmax(420px, 520px) minmax(540px, 0.98fr) minmax(470px, 620px);
    }

    .wn-quick-actions {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
        gap: 14px;
    }

    .wn-snapshot-tag {
        font-size: 11px;
    }

    .wn-pa-label {
        font-size: 16px;
    }

    .wn-pa-input,
    .wn-pa-button,
    .wn-pa-link,
    .wn-quick-action-title,
    .wn-quick-action-desc {
        font-size: 16px;
    }

    .wn-news-item .wn-news-link,
    .wn-news-card-footer-link {
        font-size: 16px;
    }

    .wn-news-item .wn-news-link-secondary {
        font-size: 14px;
    }

    .wn-news-card-header {
        padding: 11px 18px;
    }

    .wn-news-item {
        gap: 7px;
        padding: 9px 18px;
    }

    .wn-news-item-link {
        gap: 3px;
    }

    .wn-news-card-footer {
        padding: 11px 18px 13px;
    }

    .wn-news-card-title {
        font-size: 20px;
    }

    .wn-pa-title,
    .wn-section-label,
    .wn-snapshot-title {
        font-size: 20px;
    }

    .wn-snapshot-title {
        line-height: 28px;
    }

    .wn-snapshot-desc {
        font-size: 16px;
    }

    .wn-stat-label {
        font-size: 11px !important;
    }

    .wn-stat-value {
        font-size: 14.5px !important;
    }

    .wn-stat-change {
        font-size: 11.5px !important;
    }
}

@media (min-width: 1920px) {
    .wn-dashboard-stats {
        gap: 42px;
        padding-left: 68px;
        padding-right: 68px;
    }

    .wn-dashboard-ticker-tape-inner {
        padding-left: 24px;
        padding-right: 0;
    }

    .wn-stat-separator {
        height: 36px;
    }

    .wn-dashboard-grid {
        grid-template-columns: minmax(470px, 600px) minmax(560px, 1fr) minmax(540px, 700px);
        gap: clamp(26px, 2.2vw, 38px);
        padding-left: clamp(56px, 4.5vw, 112px);
        padding-right: clamp(56px, 4.5vw, 112px);
    }

    .wn-quick-actions {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
        gap: 16px;
    }

    .wn-pa-input,
    .wn-pa-button,
    .wn-pa-link,
    .wn-quick-action-title,
    .wn-quick-action-desc,
    .wn-snapshot-desc {
        font-size: 16px;
    }

    .wn-pa-body {
        padding-top: 10px;
        padding-bottom: 32px;
    }

    .wn-stat-label {
        font-size: 11px !important;
    }

    .wn-stat-value {
        font-size: 14.5px !important;
    }

    .wn-stat-change {
        font-size: 11.5px !important;
    }

    .wn-pa-group {
        margin-bottom: 24px;
    }

    .wn-pa-input,
    .wn-pa-button {
        height: 58px;
    }

    .wn-snapshot-desc {
        max-width: 320px;
    }

    .wn-snapshot-card {
        min-height: 176px;
        padding: 26px 24px;
    }

    .wn-snapshot-glow {
        width: 204px;
        height: 204px;
    }

    .wn-snapshot-globe {
        width: 208px;
        height: 208px;
        top: -24px;
        right: -24px;
    }

    .wn-news-card-body {
        padding-top: 2px;
        padding-bottom: 2px;
    }

    .wn-pa-label,
    .wn-news-item .wn-news-link,
    .wn-news-card-footer-link {
        font-size: 16px;
    }

    .wn-news-item .wn-news-link-secondary {
        font-size: 14px;
    }

    .wn-news-card-header {
        padding: 13px 20px;
    }

    .wn-news-item {
        padding: 11px 20px;
        gap: 9px;
    }

    .wn-news-item-link {
        gap: 4px;
    }

    .wn-news-item .wn-news-link-secondary {
        margin-top: 2px;
    }

    .wn-news-card-footer {
        padding: 13px 20px 15px;
    }

    .wn-news-card-title {
        font-size: 21px;
    }

    .wn-pa-title {
        font-size: 21px;
    }

.wn-snapshot-title {
        font-size: 21px;
    }

    .wn-section-label {
        font-size: 21px;
    }
}

@media (max-width: 1024px) {
    .wn-fx-page {
        width: min(100%, calc(100% - 24px));
        margin-top: 20px;
        margin-bottom: 28px;
    }
}

@media (max-width: 640px) {
    .wn-fx-header {
        padding: 22px 20px 20px;
    }

    .wn-fx-title {
        font-size: 24px;
    }
}
