html, body { font-family: 'Open Sans', 'Segoe UI', sans-serif; }



/* ----- launch tables ----- */
.sw-table .mud-table-row { cursor: pointer; }
.sw-table td, .sw-table th { white-space: nowrap; }
.sw-table td.wrap { white-space: normal; min-width: 180px; }
.sw-sub { display: block; font-size: .75rem; opacity: .65; }

/* ----- key/value lists on the detail pages ----- */
.sw-kv { display: grid; grid-template-columns: minmax(130px, 38%) 1fr; gap: 6px 16px; margin: 0; }
.sw-kv dt { opacity: .65; font-size: .85rem; }
.sw-kv dd { margin: 0; font-weight: 600; word-break: break-word; }

/* ----- rocket wireframe ----- */
.sw-scene { overflow-x: auto; border-radius: 8px; }
.sw-scene svg { display: block; margin: 0 auto; max-width: none; }
.sw-compare th, .sw-compare td { padding: 6px 10px; }
.sw-bar { height: 10px; border-radius: 5px; min-width: 2px; }
.sw-bar-track { display: flex; background: rgba(128, 128, 128, .15); border-radius: 5px; height: 10px; }
.sw-bar-track.right { justify-content: flex-start; }
.sw-bar-track.left { justify-content: flex-end; }
.sw-num-a { text-align: right; font-variant-numeric: tabular-nums; }
.sw-num-b { text-align: left; font-variant-numeric: tabular-nums; }
.sw-ratio { text-align: center; font-size: .8rem; opacity: .8; white-space: nowrap; }

#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; color: #333; }
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 0.75rem; top: 0.5rem; }

/* ----- sign-in links in the nav ----- */
.sw-auth { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.sw-auth a, .sw-auth button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px; color: inherit; text-decoration: none; font: inherit; font-weight: 600; opacity: .85; background: none; border: 0; cursor: pointer; }
.sw-auth a:hover, .sw-auth button:hover { opacity: 1; background: rgba(128, 128, 128, .15); }
.sw-auth form { margin: 0; }
.sw-login-card { max-width: 520px; margin: 32px auto; }
.muted { color: var(--mud-palette-text-secondary); }

/* ---- SiteAnalyst shell ---- */
.sa-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--mud-palette-background); color: var(--mud-palette-text-primary); }
.sa-topbar { background: #333; color: #ccc; font-size: 13px; padding: 8px 16px; text-align: center; position: relative; }
.sa-topbar a { color: #ccc; text-decoration: none; margin: 0 12px; }
.sa-topbar a:hover { color: #F5A623; }
.sa-divider { color: #666; }
.sa-nav {
    background: var(--mud-palette-appbar-background);
    color: var(--mud-palette-appbar-text);
    border-bottom: 1px solid var(--mud-palette-lines-default);
    box-shadow: 0 1px 6px rgba(0,0,0,.12);
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: sticky;
    top: 0;
    z-index: 1100;
}
.sa-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.sa-brand img { height: 42px; width: auto; }
.sa-brand span { font-size: 20px; font-weight: 700; color: #2196C8; letter-spacing: -0.3px; }
.sa-badge { background: #F5A623; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 50px; }
.sa-nav-main { display: flex; align-items: center; gap: 18px; margin-left: auto; min-width: 0; }
.sa-links { display: flex; align-items: center; gap: 20px; }
.sa-links a { text-decoration: none; color: inherit; font-size: 14px; font-weight: 600; padding: 6px 0; white-space: nowrap; }
.sa-links a:hover, .sa-links a.active { color: #2196C8; }
.sa-links a.active { box-shadow: inset 0 -2px 0 #2196C8; }
.sa-tools { display: flex; align-items: center; gap: 4px; }
.sa-burger { display: none; margin-left: auto; width: 40px; height: 36px; border: 1px solid #d7e6f0; border-radius: 6px; background: transparent; padding: 8px; flex-direction: column; justify-content: space-between; cursor: pointer; }
.sa-burger span { display: block; height: 2px; background: #2196C8; border-radius: 1px; }
.sa-main { flex: 1 0 auto; }
.sa-family { background: var(--mud-palette-background); text-align: center; padding: 56px 24px 48px; border-top: 1px solid var(--mud-palette-lines-default); }
.sa-family h2 { font-size: 28px; font-weight: 800; margin: 0 0 36px; }
.sa-family-grid { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
.sa-family-item { text-decoration: none; color: inherit; width: 180px; }
.sa-family-item:hover { transform: translateY(-4px); }
.sa-family-item img { height: 88px; width: auto; max-width: 160px; object-fit: contain; }
.sa-family-item h4 { margin: 12px 0 4px; color: #2196C8; font-size: 16px; font-weight: 700; }
.sa-family-item p { margin: 0; font-size: 14px; font-weight: 600; }
.sa-footer { background: #2a2a2a; color: #bbb; padding: 40px 24px 24px; }
.sa-footer-mark { max-width: 1000px; margin: 0 auto 28px; }
.sa-footer-mark img { height: 46px; width: auto; }
.sa-footer-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.sa-footer h5 { color: #fff; font-size: 15px; font-weight: 700; margin: 0 0 16px; }
.sa-footer a { display: block; color: #bbb; text-decoration: none; font-size: 13px; margin-bottom: 8px; }
.sa-footer a:hover { color: #F5A623; }
.sa-footer-bottom { max-width: 1000px; margin: 28px auto 0; padding-top: 20px; border-top: 1px solid #444; text-align: center; font-size: 12px; color: #888; }
.sa-source-note { max-width: 1000px; margin: 12px auto 0; font-size: 12px; color: #888; text-align: center; }
.sa-source-note a { display: inline; }

@media (max-width: 1250px) {
    .sa-burger { display: flex; }
    .sa-nav-main { display: none; width: 100%; flex-direction: column; align-items: stretch; margin-left: 0; }
    .sa-nav.open { flex-wrap: wrap; }
    .sa-nav.open .sa-nav-main { display: flex; }
    .sa-links { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 8px; }
    .sa-tools { justify-content: flex-start; flex-wrap: wrap; }
    .sa-footer-inner { grid-template-columns: repeat(2, 1fr); }
    .impact .dom { flex-basis: 110px; }
}
