html, body {
    min-height: 100%;
    font-family: Inter, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #edf2f7;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    width: min(9rem, 45vw);
    margin: 20vh auto 1rem;
}

.loading-progress-barrel {
    width: 70%;
    height: auto;
    animation: nba-loading-rotate 1.8s linear infinite;
}

.loading-progress-logo {
    width: 100%;
    height: auto;
}

.loading-progress-text {
    text-align: center;
    font-weight: bold;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.pwa-notification {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: min(34rem, calc(100vw - 2rem));
    padding: 0.9rem 1rem;
    border: 1px solid rgba(66, 74, 84, 0.14);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(31, 44, 57, 0.18);
    color: #1f2f3f;
}

.pwa-notification[hidden] {
    display: none;
}

.pwa-notification strong,
.pwa-notification span {
    display: block;
}

.pwa-notification strong {
    font-size: 0.98rem;
    line-height: 1.2;
}

.pwa-notification span {
    margin-top: 0.15rem;
    color: #5f6c79;
    font-size: 0.88rem;
}

.pwa-notification-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.pwa-notification button {
    min-height: 2.35rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid #cbd1d8;
    border-radius: 999px;
    background: #ffffff;
    color: #1f2f3f;
    font-weight: 700;
}

.pwa-notification button:first-child {
    border-color: #2e5bff;
    background: #2e5bff;
    color: #ffffff;
}

.pwa-notification button:disabled {
    cursor: progress;
    opacity: 0.72;
}

.pwa-notification button:not(:disabled):hover {
    filter: brightness(0.96);
}

@media (max-width: 640px) {
    .pwa-notification {
        right: 0.75rem;
        left: 0.75rem;
        bottom: 0.75rem;
        flex-direction: column;
        align-items: stretch;
    }

    .pwa-notification-actions {
        justify-content: flex-end;
    }
}

code {
    color: #c02d76;
}

.nba-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(0, 113, 193, 0.14), transparent 34rem),
        linear-gradient(180deg, #f8fbff 0%, #eef3f8 100%);
    padding: 1rem;
}

.nba-shell {
    max-width: 1180px;
    margin: 1rem auto;
    border: 1px solid rgba(66, 74, 84, 0.14);
    border-radius: 18px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 20px 55px rgba(31, 44, 57, 0.13);
}

.nba-shell-content {
    width: 100%;
    padding: 1.25rem 1.35rem 1.7rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.nba-shell-content > * {
    width: 100%;
}

.nba-browser-bar {
    height: 40px;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid #cbd1d8;
    background-color: #f2f2f3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nba-browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #c6c7cb;
}

.nba-browser-url {
    margin-left: 0.25rem;
    color: #717a84;
    font-size: 0.79rem;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nba-header {
    width: 100%;
    max-width: 100%;
    display: block;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 1px 0 rgba(31, 44, 57, 0.08);
    border: 0;
    border-radius: 0;
    padding: 0;
    overflow: hidden;
}

.nba-topbar {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: linear-gradient(135deg, #1f2f3f 0%, #32465c 100%);
    color: #ffffff;
    padding: 1rem 1.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.nba-brand-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nba-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.nba-brand-icon {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.18));
}

.nba-brand-title {
    color: #ffffff;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.1;
}

.nba-role-badge {
    min-height: 2rem;
    padding: 0.34rem 0.78rem;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    border-radius: 999px;
    color: #ffffff !important;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    line-height: 1;
    text-transform: uppercase;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 8px 18px rgba(0, 0, 0, 0.14);
    opacity: 1 !important;
    pointer-events: none;
}

.nba-role-badge.bit-btn-fil.bit-btn-pri.bit-btn-md.bit-btn.bit-dis,
.nba-role-badge.bit-dis {
    color: #ffffff !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08)) !important;
    filter: none;
    cursor: default;
}

.nba-user-block {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.nba-update-check-button {
    min-height: 2rem;
    padding: 0.34rem 0.78rem;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    border-radius: 999px;
    color: #ffffff !important;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: rgba(255, 255, 255, 0.1) !important;
}

.nba-update-check-button:not(.bit-dis):hover {
    background: rgba(255, 255, 255, 0.18) !important;
}

.nba-back-button {
    min-height: 2rem;
    padding: 0.34rem 0.78rem;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    border-radius: 999px;
    color: #ffffff !important;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: rgba(255, 255, 255, 0.1) !important;
}

.nba-back-button:not(.bit-dis):hover {
    background: rgba(255, 255, 255, 0.18) !important;
}

.nba-user-label {
    color: #d4dce5;
    font-size: 0.78rem;
}

.nba-user-name {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
}

.nba-user-meta {
    color: #d4dce5;
    font-size: 0.72rem;
}

.nba-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background-color: #5f6e80;
    color: #dfe7ef;
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 34px;
    padding: 0;
    opacity: 1 !important;
    pointer-events: none;
}

.nba-site-row {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-top: 1px solid #d9dde3;
    border-bottom: 1px solid #d9dde3;
    background: #f8fbff;
    padding: 0.78rem 1.35rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    border-inline: 0;
    border-radius: 0;
    box-shadow: none;
}

.nba-site-title {
    color: #1f2f3f;
    font-size: 1.18rem;
    font-weight: 700;
}

.nba-site-meta {
    color: #68727d;
    font-size: 0.86rem;
    margin-top: 0.15rem;
}

.nba-trading-day-pill {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    box-sizing: border-box;
    position: relative;
    min-width: 12rem;
    gap: 0.18rem;
    padding: 0.58rem 0.85rem 0.58rem 2.45rem;
    border: 1px solid rgba(0, 113, 193, 0.2);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(0, 113, 193, 0.1), rgba(255, 255, 255, 0.94)),
        #ffffff;
    box-shadow: 0 8px 18px rgba(31, 44, 57, 0.08);
}

.nba-trading-day-pill::before {
    content: "";
    position: absolute;
    left: 0.85rem;
    top: 50%;
    width: 0.78rem;
    height: 0.78rem;
    border-radius: 50%;
    background: #0071c1;
    box-shadow: 0 0 0 0.32rem rgba(0, 113, 193, 0.13);
}

.nba-trading-day-label {
    color: #526171;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

.nba-trading-day {
    color: #12395f;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.15;
}

.nba-site-selector {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.5rem;
}

.nba-site-selector button {
    width: 100%;
}

.nba-site-selector-card {
    width: 100%;
    border: 1px solid #d9e2ec;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(31, 44, 57, 0.06);
    padding: 1rem;
}

.nba-site-selector-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.nba-site-selector-label {
    color: #68727d;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nba-site-selector-selected {
    color: #1f2f3f;
    font-size: 1.05rem;
    font-weight: 700;
}

.nba-site-selector-input {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: 1px solid #d3dae3;
    border-radius: 6px;
    background-color: #ffffff;
    color: #1f2f3f;
    font-size: 0.95rem;
    font-family: inherit;
}

.nba-site-selector-native {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nba-site-selector-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.5rem;
    margin-top: 0.7rem;
}

.nba-site-option {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border: 1px solid #d8e1ea;
    border-radius: 10px;
    background-color: #ffffff;
    color: #1f2f3f;
    padding: 0.55rem 0.7rem;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.nba-site-option:hover,
.nba-site-option:focus-visible {
    border-color: #198754;
    background: #ffffff !important;
    box-shadow: 0 7px 16px rgba(25, 135, 84, 0.12);
    outline: none;
    transform: translateY(-1px);
}

.nba-site-option span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
}

.nba-site-option span:last-child {
    flex-shrink: 0;
    color: #667789;
    font-size: 0.78rem;
}

.nba-site-option-selected {
    border-color: #0071c1;
    background: #eff7ff;
    box-shadow: inset 0 0 0 1px rgba(0, 113, 193, 0.14);
}

.nba-site-selector-input:focus {
    outline: none;
    border-color: #0071c1;
    box-shadow: 0 0 0 3px rgba(0, 113, 193, 0.1);
}

.nba-site-count {
    color: #68727d !important;
    font-size: 0.88rem;
    white-space: nowrap;
    opacity: 1 !important;
    background-color: #ffffff !important;
    border-color: #d8e1ea !important;
    cursor: pointer;
}

.nba-site-count:hover,
.nba-site-count:focus-visible {
    color: #68727d !important;
    background-color: #ffffff !important;
    border-color: #c5d0dc !important;
}

.nba-state-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    margin: 1.5rem 0;
}

.nba-state-card {
    width: min(100%, 560px);
    padding: 1.35rem;
    border: 1px solid #d9e2ec;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(31, 44, 57, 0.08);
    text-align: center;
}

.nba-state-card-error {
    border-color: #f0c7c3;
}

.nba-state-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.8rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e9f7ef;
    color: #198754;
    font-size: 1.25rem;
    font-weight: 800;
}

.nba-state-icon-error {
    background: #fff0ee;
    color: #d94133;
}

.nba-state-title {
    color: #1f2d3a;
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.nba-state-description {
    color: #637180;
    font-size: 0.96rem;
    line-height: 1.5;
}

.nba-state-actions {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.nba-skeleton-stack {
    width: min(100%, 860px);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.nba-skeleton-summary,
.nba-skeleton-card,
.nba-skeleton-pill,
.nba-skeleton-line {
    background: linear-gradient(90deg, #eef3f8 25%, #f8fbff 37%, #eef3f8 63%);
    background-size: 400% 100%;
    animation: nba-skeleton-shimmer 1.35s ease infinite;
}

.nba-skeleton-summary {
    height: 54px;
    border-radius: 14px;
}

.nba-skeleton-card {
    min-height: 116px;
    border-radius: 14px;
    border-left: 6px solid #dbe4ee;
    padding: 0.9rem 1rem;
}

.nba-skeleton-pill {
    width: 132px;
    height: 22px;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.nba-skeleton-line {
    height: 16px;
    border-radius: 999px;
    width: 52%;
}

.nba-skeleton-line-title {
    height: 26px;
    width: 78%;
    margin-bottom: 0.6rem;
}

@keyframes nba-skeleton-shimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: 0 0;
    }
}

.nba-loading-state-logo {
    width: min(9rem, 45vw);
    height: auto;
    margin: 0;
    object-fit: contain;
}

.nba-loading-state-barrel {
    width: min(6.3rem, 32vw);
    height: auto;
    animation: nba-loading-rotate 1.8s linear infinite;
}

.nba-loading-state-progress {
    color: #1f2f3f;
}

.nba-loading-state-progress svg,
.nba-loading-state-progress [role="progressbar"] {
    display: none;
}

@keyframes nba-loading-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.nba-state-retry {
    margin-top: 0.5rem;
}

.nba-section {
    width: 100%;
    margin-bottom: 0.7rem;
}

.nba-section-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
}

.nba-section-title {
    color: #1f2c39;
    font-size: 2rem;
    font-weight: 700;
}

.nba-open-pill {
    height: 21px;
    background-color: #2f3b4a;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
    white-space: nowrap;
    opacity: 1 !important;
    pointer-events: none;
}

.nba-card-stack {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.nba-telemetry-indicator {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-left: 6px solid #2f3b4a;
    border-radius: 8px;
}

.nba-telemetry-indicator-label {
    color: #1f2c39;
    font-size: 1rem;
    font-weight: 700;
}

.nba-telemetry-indicator-site {
    color: #717a84;
    font-size: 0.8rem;
}

.nba-telemetry-indicator-values {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: right;
}

.nba-telemetry-indicator-metric-label {
    color: #717a84;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.nba-telemetry-indicator-value {
    color: #2f3b4a;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
}

.nba-action-card {
    width: 100%;
    margin: 0;
    border: 1px solid #d3dae3;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(31, 44, 57, 0.06);
}

.nba-action-card-inner {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem;
}

.nba-action-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.nba-action-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.nba-action-pill {
    width: fit-content;
    min-height: 22px;
    padding: 0 0.72rem;
    border-color: #b6c0cb !important;
    color: #667789 !important;
    background-color: #f0f4f8 !important;
    font-size: 0.73rem;
    letter-spacing: 0.01em;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    opacity: 1 !important;
    pointer-events: none;
}

.nba-action-title {
    font-size: 1.52rem;
    line-height: 1.2;
    font-weight: 700;
    color: #1f2d3a;
}

.nba-action-description-pair {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.nba-action-description-block {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.nba-action-description-block-primary {
    padding: 0.7rem 0.85rem;
    border: 1px solid #dbe4ee;
    border-radius: 10px;
    background: #f8fbff;
}

.nba-action-description-label {
    color: #7b8693;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nba-action-description {
    color: #4f5f70;
    font-size: 1rem;
    line-height: 1.4;
}

.nba-action-subtitle {
    font-size: 1.02rem;
    color: #5b6672;
    line-height: 1.4;
}

.nba-action-type {
    font-size: 0.9rem;
    color: #7b8693;
    font-weight: 600;
}

.nba-action-meta-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.nba-action-date-chip {
    min-height: 24px;
    padding: 0 0.6rem;
    background: #f8fbff;
    color: #4f6174;
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 1 !important;
    pointer-events: none;
}

.nba-read-only-text {
    font-size: 0.82rem;
    color: #7f8b97;
}

.nba-action-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.65rem;
    border-top: 1px solid #edf1f5;
}

.nba-action-state {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.nba-action-cta {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.nba-complete-button {
    min-width: 165px;
    font-weight: 700;
}

.nba-completed {
    background-color: #f6f8fa;
    border-color: #dce2e8;
    opacity: 0.9;
}

.nba-completed .nba-action-title {
    text-decoration: line-through;
    color: #8d97a4;
}

.nba-completed .nba-action-subtitle {
    color: #9aa3ae;
}

.nba-completed .nba-action-description {
    color: #8d97a4;
}

.nba-completed-label {
    color: #218154;
    font-size: 1.04rem;
    font-weight: 700;
}

.nba-section-empty,
.nba-footnote {
    color: #7f8a96;
}

.nba-footnote {
    margin-top: 0.5rem;
    font-size: 0.84rem;
    line-height: 1.45;
}

.nba-completion-feedback {
    margin: 0 0 0.35rem;
}

.nba-completion-dialog-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background-color: rgba(38, 49, 62, 0.34);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.nba-completion-bitdialog-container {
    width: min(calc(100vw - 2rem), 392px);
}

.nba-completion-bitdialog-body {
    padding: 0;
}

.nba-completion-dialog {
    width: 100%;
    background-color: #ffffff;
    border: 2px solid #4c5662;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(28, 37, 48, 0.18);
    padding: 1.45rem 1.5rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.nba-completion-dialog-title {
    display: block;
    margin: 0;
    text-align: center;
    color: #1f2d3a;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.nba-completion-preview {
    width: 100%;
    margin: 0;
    border: 1px solid #d6dce4;
    border-radius: 8px;
    box-shadow: none;
    background-color: #f8fafc;
}

.nba-completion-preview-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.78rem 0.88rem;
}

.nba-completion-preview-title {
    color: #1f2d3a;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.22;
}

.nba-completion-preview-subtitle {
    color: #637180;
    font-size: 0.93rem;
    line-height: 1.28;
}

.nba-completion-authorised-by {
    width: 100%;
}

.nba-completion-validation-message {
    display: block;
    margin: -0.45rem 0 0;
    color: #b3261e;
    font-size: 0.9rem;
    font-weight: 600;
}

.nba-completion-dialog-note {
    display: block;
    margin: 0.1rem 0 0.2rem;
    text-align: center;
    color: #8b96a2;
    font-size: 0.92rem;
}

.nba-completion-dialog-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.05rem;
}

.nba-completion-dialog-button {
    width: 100%;
    min-height: 50px;
    font-size: 1.08rem;
    font-weight: 700;
    border-radius: 10px;
}

.nba-completion-dialog-button-cancel {
    background-color: transparent !important;
    border-color: #95a2af !important;
    color: #2f3944 !important;
}

.nba-completion-dialog-button-cancel:hover,
.nba-completion-dialog-button-cancel:focus-visible,
.nba-completion-dialog-button-cancel:active {
    background-color: #f6f8fa !important;
    border-color: #7f8c99 !important;
    color: #24313d !important;
}

.nba-completion-dialog-button-confirm {
    background-color: #198754;
    border-color: #198754;
}

.nba-info-banner {
    width: 100%;
    padding: 0.85rem 1rem;
    background-color: #eff5fb;
    border: 1px solid #d6e4f0;
    border-radius: 6px;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.nba-info-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0071c1;
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
}

.nba-info-text {
    margin: 0;
    color: #2b5a8f;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .nba-page {
        padding: 0;
    }

    .nba-shell {
        margin: 0;
        border-radius: 0;
        border-inline-width: 0;
    }

    .nba-shell-content,
    .nba-topbar,
    .nba-site-row {
        padding-inline: 0.8rem;
    }

    .nba-brand-title {
        font-size: 1.45rem;
    }

    .nba-site-title {
        font-size: 1.05rem;
    }

    .nba-trading-day-pill {
        width: 100%;
        align-items: flex-start;
    }

    .nba-section-title {
        font-size: 1.65rem;
    }

    .nba-action-card-inner {
        align-items: flex-start;
    }

    .nba-action-main {
        width: 100%;
    }

    .nba-action-header,
    .nba-action-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .nba-action-cta,
    .nba-complete-button {
        width: 100%;
    }

    .nba-action-cta {
        justify-content: stretch;
    }

    .nba-complete-button {
        min-width: 0;
    }

    .nba-site-selector-results {
        grid-template-columns: 1fr;
    }

    .nba-state-actions {
        flex-direction: column;
    }

    .nba-completion-dialog {
        width: min(100%, 392px);
        padding: 1.15rem 1rem 1rem;
    }

    .nba-completion-dialog-title {
        font-size: 1.58rem;
    }

    .nba-completion-dialog-actions {
        grid-template-columns: 1fr;
    }
}
