/* ============================================================
   HIP Admin Shell Design Tokens
   Adapted from the supplied HIP prototype so the Blazor app uses
   the same dark operational UI language instead of default Blazor.
   ============================================================ */

:root {
    --bg: #0a0e14;
    --bg-elev: #0f141c;
    --surface: #131923;
    --surface-2: #161d27;
    --surface-hover: #1a2230;
    --border: #1f2937;
    --border-strong: #2a3645;
    --border-soft: #161e28;
    --text: #e6edf3;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --text-faint: #475569;
    --accent: #22d3ee;
    --accent-strong: #06b6d4;
    --accent-soft: rgba(34, 211, 238, 0.12);
    --accent-glow: rgba(34, 211, 238, 0.18);
    --safe: #22c55e;
    --safe-bg: rgba(34, 197, 94, 0.12);
    --safe-border: rgba(34, 197, 94, 0.28);
    --caution: #eab308;
    --caution-bg: rgba(234, 179, 8, 0.12);
    --caution-border: rgba(234, 179, 8, 0.28);
    --suspicious: #f97316;
    --suspicious-bg: rgba(249, 115, 22, 0.12);
    --suspicious-border: rgba(249, 115, 22, 0.28);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.12);
    --danger-border: rgba(239, 68, 68, 0.28);
    --info: #60a5fa;
    --info-bg: rgba(96, 165, 250, 0.12);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.45);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 14px;
    --font-sans: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(circle at 1px 1px, rgba(148, 163, 184, 0.04) 1px, transparent 0);
    background-size: 24px 24px;
}

body > * {
    position: relative;
    z-index: 1;
}

button,
input,
textarea,
select {
    font: inherit;
}

a, .btn-link {
    color: #006bb7;
}

.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;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.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."
}

.hip-safety-page,
.hip-lookup-page {
    min-height: 100vh;
    padding: 48px 20px;
    background: #f8fafc;
}

.hip-safety-panel,
.hip-lookup-panel {
    max-width: 760px;
    margin: 0 auto;
    padding: 28px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.hip-safety-panel h1,
.hip-lookup-panel h1 {
    margin: 0 0 16px;
    color: #111827;
}

.hip-safety-panel .eyebrow,
.hip-lookup-panel .eyebrow {
    margin: 0 0 8px;
    color: #0f766e;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

.hip-safety-panel dl {
    display: grid;
    gap: 12px;
    margin: 20px 0;
}

.hip-safety-panel dt {
    color: #64748b;
    font-size: 0.85rem;
}

.hip-safety-panel dd {
    margin: 0;
    overflow-wrap: anywhere;
    color: #111827;
    font-weight: 650;
}

.hip-safety-panel .reason {
    color: #334155;
}

.hip-safety-panel .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hip-safety-panel button,
.hip-safety-panel .continue {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 9px 13px;
    color: #111827;
    background: #fff;
    text-decoration: none;
}

.hip-safety-panel .continue {
    color: #fff;
    border-color: #991b1b;
    background: #991b1b;
}

.hip-lookup-panel .score {
    margin: 16px 0;
    color: #0f766e;
    font-size: 3rem;
    font-weight: 800;
}

.hip-lookup-hero,
.hip-lookup-info {
    max-width: 900px;
    margin: 0 auto 20px;
    padding: 28px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}

.hip-lookup-hero h1 {
    margin: 0 0 12px;
}

.lookup-form {
    margin-top: 24px;
}

.lookup-form label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-weight: 700;
}

.lookup-form div {
    display: flex;
    gap: 10px;
}

.lookup-form input {
    flex: 1;
    min-width: 0;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 10px 12px;
}

.lookup-form button {
    border: 0;
    border-radius: 6px;
    padding: 10px 14px;
    color: #fff;
    background: #0f766e;
}

.lookup-error {
    color: #b91c1c;
}

.lookup-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.score-card {
    margin: 24px 0;
    padding: 20px;
    border: 1px solid #cbd5e1;
    border-left: 6px solid #64748b;
    border-radius: 8px;
    background: #f8fafc;
}

.score-card span {
    color: #64748b;
    font-weight: 700;
}

.score-card strong {
    display: block;
    margin: 4px 0 12px;
    color: #111827;
    font-size: 3rem;
    line-height: 1;
}

.status-trusted {
    border-left-color: #047857;
}

.status-probablysafe {
    border-left-color: #0f766e;
}

.status-caution {
    border-left-color: #ca8a04;
}

.status-highrisk {
    border-left-color: #ea580c;
}

.status-dangerous,
.status-critical {
    border-left-color: #b91c1c;
}

.lookup-section {
    margin-top: 28px;
}

.range-list {
    display: grid;
    gap: 6px;
    padding-left: 18px;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.breakdown-card {
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}

.breakdown-card h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.breakdown-card strong {
    font-size: 1.5rem;
}

.hip-trust-badge-preview {
    display: inline-grid;
    gap: 2px;
    min-width: 170px;
    padding: 12px;
    border: 1px solid #bae6fd;
    border-left: 5px solid #0284c7;
    border-radius: 8px;
    background: #f0f9ff;
}

.hip-trust-badge-preview span {
    color: #0c4a6e;
    font-weight: 700;
}

.hip-trust-badge-preview strong {
    color: #111827;
}

@media (max-width: 640px) {
    .lookup-form div,
    .lookup-heading {
        flex-direction: column;
    }
}

.admin-rule-page {
    min-height: 100vh;
    padding: 32px 20px;
    background: #f8fafc;
}

.admin-rule-header,
.rule-builder-panel {
    max-width: 1180px;
    margin: 0 auto 18px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}

.rule-builder-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    max-width: 1180px;
    margin: 0 auto 18px;
}

.rule-builder-grid .rule-builder-panel {
    margin: 0;
}

.rule-builder-panel label {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
    color: #334155;
    font-weight: 650;
}

.rule-builder-panel input,
.rule-builder-panel textarea,
.rule-builder-panel select {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 8px 10px;
    color: #111827;
    background: #fff;
}

.rule-builder-panel label:has(> input[type="checkbox"], > input[type="radio"]) {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
}

.rule-builder-panel input[type="checkbox"],
.rule-builder-panel input[type="radio"] {
    width: 1.1rem;
    height: 1.1rem;
    min-width: 1.1rem;
    min-height: 1.1rem;
    flex: 0 0 1.1rem;
    margin: 0;
    padding: 0;
    accent-color: var(--primary, #1768df);
}

.rule-builder-panel textarea {
    min-height: 72px;
}

.form-row,
.condition-row,
.button-row {
    display: flex;
    gap: 10px;
    align-items: end;
    margin-bottom: 12px;
}

.condition-row select,
.condition-row input {
    min-width: 0;
}

.condition-row select:first-child,
.condition-row input {
    flex: 1;
}

.rule-builder-panel button {
    border: 1px solid #0f766e;
    border-radius: 6px;
    padding: 8px 11px;
    color: #0f766e;
    background: #fff;
}

.json-preview,
.json-editor {
    min-height: 460px;
    width: 100%;
    overflow: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px;
    color: #e2e8f0;
    background: #0f172a;
    font: 12px/1.5 Consolas, "Cascadia Mono", monospace;
}

.simulation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
}

.simulation-grid span {
    padding: 10px;
    border-radius: 6px;
    color: #e5eef8;
    background: #0b1b2a;
    border: 1px solid #1f3a55;
}

.simulation-grid strong {
    color: #ffffff;
}

.admin-rule-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-rule-table th,
.admin-rule-table td {
    border-bottom: 1px solid #e2e8f0;
    padding: 8px;
    text-align: left;
}

.admin-message {
    color: #0f766e;
    font-weight: 650;
}

.self-healing-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    max-width: 1180px;
    margin: 0 auto 18px;
}

.self-healing-grid .rule-builder-panel {
    margin: 0;
}

.self-healing-item,
.self-healing-candidate {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}

.self-healing-candidate {
    background: #fff;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    max-width: 1180px;
    margin: 0 auto 18px;
}

.dashboard-grid .score-card {
    margin: 0;
}

.hip-build-version {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 12px;
    border: 1px solid rgba(8, 215, 236, 0.28);
    border-radius: 999px;
    padding: 4px 10px;
    background: rgba(8, 215, 236, 0.1);
    color: #08d8ec;
    font-size: 0.8rem;
    font-weight: 800;
}

.lookup-result {
    max-width: 1180px;
    margin: 0 auto 18px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}

.result-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
}

.table-wrap {
    overflow-x: auto;
}

.table-wrap table {
    width: 100%;
    border-collapse: collapse;
}

.table-wrap th,
.table-wrap td {
    border-bottom: 1px solid #e2e8f0;
    padding: 8px;
    text-align: left;
    vertical-align: top;
}

.quick-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.quick-link-grid a,
.primary-button {
    border: 1px solid #0f766e;
    border-radius: 6px;
    padding: 9px 12px;
    color: #0f766e;
    background: #fff;
    text-decoration: none;
    font-weight: 650;
}

.primary-button {
    color: #fff;
    background: #0f766e;
}

@media (max-width: 900px) {
    .rule-builder-grid,
    .self-healing-grid,
    .form-row,
    .condition-row,
    .button-row {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.hip-page-heading {
    max-width: 1540px;
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.hip-page-heading h1,
.admin-rule-header h1,
.hip-panel h2,
.lookup-result h2,
.rule-builder-panel h2 {
    margin: 0;
    color: #eef4ff;
    font-size: 1.55rem;
    line-height: 1.2;
}

.hip-page-heading p,
.admin-rule-header p,
.hip-panel p,
.lookup-result p,
.rule-builder-panel p {
    margin: 6px 0 0;
    color: #6f829e;
}

.live-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #9db0c8;
    font-weight: 700;
}

.hip-metric-grid {
    max-width: 1540px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.hip-metric-card,
.hip-panel,
.admin-rule-header,
.rule-builder-panel,
.lookup-result,
.score-card,
.breakdown-card,
.self-healing-item,
.self-healing-candidate,
.hip-lookup-hero,
.hip-lookup-info,
.hip-lookup-panel,
.hip-safety-panel {
    border: 1px solid #172b45;
    border-radius: 8px;
    background: #0e2036;
    box-shadow: none;
}

.hip-metric-card {
    min-height: 116px;
    padding: 24px;
}

.hip-metric-card.wide {
    grid-column: span 1;
}

.hip-metric-card span {
    display: block;
    color: #6f829e;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hip-metric-card strong {
    display: block;
    margin-top: 12px;
    color: #eef4ff;
    font-size: 1.9rem;
    line-height: 1;
}

.hip-metric-card small {
    display: block;
    margin-top: 12px;
    color: #12d895;
    font-weight: 800;
}

.hip-metric-card.danger strong,
.hip-metric-card.hot strong {
    color: #ff6276;
}

.hip-metric-card.good strong {
    color: #12d895;
}

.scan-score-grid,
.scan-detail-grid {
    max-width: 1240px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.scan-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.scan-detail-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    margin: 18px 0 0;
}

.scan-detail-list div {
    border-top: 1px solid #172b45;
    padding-top: 12px;
}

.scan-detail-list dt {
    color: #8fa4c1;
    font-weight: 800;
}

.scan-detail-list dd {
    margin: 4px 0 0;
    color: #eef4ff;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.muted-note {
    color: #8fa4c1;
    font-size: 0.95rem;
}

.hip-panel {
    max-width: 1540px;
    overflow: hidden;
}

.hip-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 20px;
    padding: 22px 24px;
}

.hip-panel-heading a {
    color: #08d7ec;
    text-decoration: none;
    font-weight: 800;
}

.hip-threat-domain a,
.table-wrap a {
    color: #d8e4f7;
    font-weight: 900;
    text-decoration: none;
}

.hip-threat-domain a:hover,
.table-wrap a:hover {
    color: #08d7ec;
}

.hip-table-wrap,
.table-wrap {
    overflow-x: auto;
}

.hip-data-table,
.admin-rule-table,
.table-wrap table {
    width: 100%;
    border-collapse: collapse;
    color: #cbd8eb;
}

.hip-data-table th,
.hip-data-table td,
.admin-rule-table th,
.admin-rule-table td,
.table-wrap th,
.table-wrap td {
    border-bottom: 1px solid #172b45;
    padding: 16px 20px;
    text-align: left;
}

.hip-data-table th,
.admin-rule-table th,
.table-wrap th {
    color: #6f829e;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hip-data-table small {
    display: block;
    margin-top: 6px;
    color: #7f91ad;
    line-height: 1.35;
}

.hip-pill {
    display: inline-flex;
    border-radius: 7px;
    padding: 4px 10px;
    font-weight: 800;
    line-height: 1;
}

.hip-pill.danger {
    color: #ff6276;
    background: rgba(255, 81, 104, 0.16);
    border: 1px solid rgba(255, 81, 104, 0.25);
}

.hip-pill.suspicious {
    color: #ff944d;
    background: rgba(255, 148, 77, 0.14);
    border: 1px solid rgba(255, 148, 77, 0.24);
}

.hip-pill.caution {
    color: #ffd044;
    background: rgba(255, 208, 68, 0.14);
    border: 1px solid rgba(255, 208, 68, 0.24);
}

.content,
.admin-rule-page,
.hip-safety-page,
.hip-lookup-page {
    min-height: auto;
    padding: 0;
    background: transparent;
}

.admin-rule-header,
.rule-builder-panel,
.lookup-result,
.hip-lookup-hero,
.hip-lookup-info,
.hip-lookup-panel,
.hip-safety-panel {
    max-width: 1240px;
    color: #d8e4f7;
}

.rule-builder-panel input,
.rule-builder-panel textarea,
.rule-builder-panel select,
.lookup-form input {
    color: #d8e4f7;
    border-color: #1c3555;
    background: #091426;
}

.rule-builder-panel button,
.quick-link-grid a,
.primary-button,
.lookup-form button,
.hip-safety-panel button,
.hip-safety-panel .continue {
    border-color: #0d7588;
    border-radius: 8px;
    color: #06101d;
    background: #04c7df;
    font-weight: 800;
}

.json-preview,
.json-editor {
    color: #d8e4f7;
    border-color: #1c3555;
    background: #07111f;
}

.score-card strong,
.breakdown-card strong,
.hip-lookup-panel h1,
.hip-safety-panel h1,
.breakdown-card h3 {
    color: #eef4ff;
}

.score-card span,
.breakdown-card,
.hip-safety-panel dt,
.hip-safety-panel dd,
.hip-safety-panel .reason,
.range-list,
.lookup-section {
    color: #9db0c8;
}

@media (max-width: 1100px) {
    .hip-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .hip-metric-grid,
    .hip-page-heading {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}

.hip-admin-page {
    min-height: auto;
}

.hip-page-heading.compact {
    max-width: 1240px;
}

.hip-tabs {
    max-width: 1240px;
    display: flex;
    gap: 28px;
    margin: 0 0 28px;
    border-bottom: 1px solid #172b45;
}

.hip-tabs button {
    border: 0;
    border-bottom: 2px solid transparent;
    padding: 14px 18px;
    color: #6f829e;
    background: transparent;
    font-weight: 800;
}

.hip-tabs button.active {
    color: #08d7ec;
    border-bottom-color: #08d7ec;
}

.hip-tabs span {
    margin-left: 6px;
    border-radius: 6px;
    padding: 2px 7px;
    color: #9fc8ff;
    background: #18304d;
}

.hip-list-panel {
    max-width: 1240px;
    overflow: hidden;
    border: 1px solid #172b45;
    border-radius: 8px;
    background: #0e2036;
}

.hip-alert-row {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    gap: 14px;
    padding: 22px 24px;
    border-bottom: 1px solid #172b45;
}

.hip-alert-row:last-child {
    border-bottom: 0;
}

.hip-alert-row h2 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0;
    color: #eef4ff;
    font-size: 1rem;
}

.hip-alert-row p,
.hip-alert-row small {
    color: #6f829e;
}

.hip-alert-row button {
    border: 0;
    color: #52627a;
    background: transparent;
}

.hip-alert-icon {
    color: #ff944d;
    font-weight: 900;
}

.hip-alert-icon.danger {
    color: #ff6276;
}

.hip-pill.info {
    color: #08d7ec;
    background: rgba(8, 215, 236, 0.14);
    border: 1px solid rgba(8, 215, 236, 0.24);
}

.hip-pill.good {
    color: #12d895;
    background: rgba(18, 216, 149, 0.14);
    border: 1px solid rgba(18, 216, 149, 0.24);
}

@media (max-width: 980px) {
    .scan-score-grid,
    .scan-detail-grid,
    .scan-detail-list {
        grid-template-columns: 1fr;
    }
}

.hip-threat-panel {
    max-width: 1240px;
    margin: 0 auto 18px;
    overflow: hidden;
}

.hip-threat-panel .hip-panel-heading {
    border-bottom: 1px solid #172b45;
}

.hip-threat-empty {
    display: grid;
    gap: 4px;
    padding: 24px;
    color: #8fa1ba;
}

.hip-threat-empty strong {
    color: #eef4ff;
    font-size: 1rem;
}

.hip-threat-time {
    min-width: 176px;
    color: #6f829e;
    font-family: var(--font-mono);
    font-size: 0.78rem;
}

.hip-threat-domain {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 220px;
}

.hip-threat-domain strong,
.hip-threat-reason span {
    color: #eef4ff;
    font-weight: 850;
}

.hip-threat-domain small,
.hip-threat-reason small {
    display: block;
    margin-top: 3px;
    color: #6f829e;
}

.hip-threat-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    font-weight: 900;
}

.hip-threat-icon.danger {
    color: #ff6276;
    background: rgba(255, 81, 104, 0.14);
    border: 1px solid rgba(255, 81, 104, 0.24);
}

.hip-threat-icon.suspicious {
    color: #ff944d;
    background: rgba(255, 148, 77, 0.14);
    border: 1px solid rgba(255, 148, 77, 0.24);
}

.hip-threat-icon.caution {
    color: #ffd044;
    background: rgba(255, 208, 68, 0.14);
    border: 1px solid rgba(255, 208, 68, 0.24);
}

.dashboard-refresh-controls {
    display: grid;
    justify-items: end;
    gap: 8px;
}

.dashboard-refresh-button:disabled {
    cursor: progress;
    opacity: 0.72;
}

.dashboard-refresh-status {
    color: #8fa1ba;
    font-size: 0.86rem;
}

.dashboard-refresh-error,
.dashboard-loading-state {
    max-width: 1240px;
    margin: 0 auto 18px;
    display: grid;
    gap: 4px;
    border: 1px solid rgba(255, 98, 118, 0.28);
    border-radius: 8px;
    padding: 16px 18px;
    background: rgba(255, 98, 118, 0.08);
    color: #b8c7dc;
}

.dashboard-loading-state {
    border-color: rgba(8, 215, 236, 0.24);
    background: rgba(8, 215, 236, 0.08);
}

.dashboard-refresh-error strong,
.dashboard-loading-state strong {
    color: #eef4ff;
}

@media (max-width: 720px) {
    .dashboard-refresh-controls {
        justify-items: stretch;
    }
}

.hip-threat-score {
    color: #eef4ff;
    font-size: 1rem;
}

.hip-source-pill {
    display: inline-flex;
    max-width: 180px;
    border-radius: 7px;
    padding: 4px 10px;
    color: #9db0c8;
    background: #07111f;
    font-weight: 800;
    line-height: 1.1;
}

.hip-threat-reason {
    min-width: 280px;
}

.hip-scan-table td {
    vertical-align: top;
}

.scan-plugin-version {
    display: block;
    margin-top: 6px;
    color: #6f829e;
    font-family: var(--font-mono);
    font-size: 0.76rem;
}

.hip-primary-action,
.hip-button-row button,
.hip-button-row a {
    border: 1px solid #0d7588;
    border-radius: 8px;
    padding: 10px 16px;
    color: #06101d;
    background: #04c7df;
    text-decoration: none;
    font-weight: 800;
}

.hip-two-column {
    max-width: 1240px;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.hip-panel.padded {
    padding: 24px;
}

.hip-panel.narrow {
    max-width: 1080px;
    margin-bottom: 28px;
}

.hip-bars {
    min-height: 132px;
    display: flex;
    align-items: end;
    gap: 12px;
    margin: 24px 0;
    padding: 0 0 20px;
    border-bottom: 1px solid #172b45;
}

.hip-bars span {
    flex: 1;
    border-radius: 2px 2px 0 0;
    background: #0d7187;
    opacity: 0.75;
}

.hip-bars.small {
    min-height: 110px;
}

.hip-stat-pair {
    display: flex;
    gap: 36px;
}

.hip-stat-pair strong {
    color: #eef4ff;
    font-size: 1.5rem;
}

.hip-stat-pair small {
    display: block;
    margin-top: 6px;
    color: #6f829e;
    font-size: 0.85rem;
}

.hip-progress-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 18px;
    margin: 20px 0;
    color: #9db0c8;
    font-weight: 700;
}

.hip-progress-row i {
    grid-column: 1 / -1;
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #18304d;
}

.hip-progress-row i::before,
.hip-risk-bars i::before,
.hip-ranked-bar i::before {
    content: "";
    display: block;
    width: var(--value);
    height: 100%;
    border-radius: inherit;
    background: #08d7ec;
}

.hip-key-row,
.hip-feedback-item,
.hip-platform-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 18px 0;
    border-top: 1px solid #172b45;
}

.hip-key-row code {
    display: inline-block;
    margin: 8px 0;
    padding: 8px 12px;
    border-radius: 6px;
    color: #9db0c8;
    background: #07111f;
}

.hip-key-row h3,
.hip-platform-row h3,
.hip-feedback-item strong {
    margin: 0;
    color: #eef4ff;
}

.hip-key-row h3 span {
    margin-left: 8px;
    border-radius: 6px;
    padding: 3px 8px;
    color: #9db0c8;
    background: #18304d;
    font-size: 0.8rem;
}

.hip-key-row small,
.hip-platform-row p {
    color: #6f829e;
}

.hip-card-row {
    max-width: 1240px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.hip-card-row.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hip-card-row.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hip-action-card,
.hip-mini-stat {
    display: flex;
    gap: 16px;
    align-items: center;
    min-height: 96px;
    padding: 22px;
    border: 1px solid #172b45;
    border-radius: 8px;
    background: #0e2036;
}

.hip-action-card span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #08d7ec;
    background: rgba(8, 215, 236, 0.12);
}

.hip-action-card h2 {
    margin: 0;
    color: #eef4ff;
    font-size: 1rem;
}

.hip-action-card p {
    margin: 4px 0 0;
    color: #6f829e;
}

.hip-mini-stat {
    display: block;
}

.hip-mini-stat strong {
    display: block;
    color: #08d7ec;
    font-size: 1.8rem;
}

.hip-mini-stat.good strong {
    color: #12d895;
}

.hip-mini-stat.hot strong {
    color: #ff6276;
}

.hip-mini-stat span {
    color: #6f829e;
}

.hip-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.hip-button-row.end {
    justify-content: end;
}

.hip-button-row span {
    color: #6f829e;
}

.hip-button-row button:nth-of-type(n+2) {
    color: #9db0c8;
    background: #0c1a2e;
}

.hip-feedback-item {
    display: block;
    margin-top: 18px;
    padding: 20px;
    border: 1px solid #172b45;
    border-radius: 8px;
    background: #07111f;
}

.hip-feedback-item div:first-child {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #6f829e;
}

.hip-feedback-item p {
    color: #d8e4f7;
    font-size: 1rem;
}

.hip-stack {
    max-width: 1080px;
}

.hip-stack h2 {
    color: #8fa1ba;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.95rem;
}

.hip-platform-row {
    grid-template-columns: 52px minmax(0, 1fr) auto auto;
    margin-bottom: 14px;
    padding: 24px;
    border: 1px solid #172b45;
    border-radius: 8px;
    background: #0e2036;
}

.platform-avatar {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #b8ccff;
    background: #173b69;
    font-weight: 900;
}

.hip-platform-row small {
    display: inline-block;
    margin: 4px 4px 0 0;
    padding: 3px 8px;
    border-radius: 6px;
    color: #9db0c8;
    background: #07111f;
}

.hip-platform-row button,
.hip-key-row button {
    border: 0;
    color: #9db0c8;
    background: transparent;
}

.hip-platform-row button.danger {
    border: 1px solid rgba(255, 81, 104, 0.25);
    border-radius: 8px;
    padding: 8px 12px;
    color: #ff6276;
    background: rgba(255, 81, 104, 0.1);
}

.hip-section-heading p,
.hip-muted-line {
    color: #8fa1ba;
}

.hip-form-grid {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.hip-form-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hip-form-grid label {
    display: grid;
    gap: 8px;
    color: #d8e4f7;
    font-weight: 800;
}

.hip-form-grid input {
    min-height: 44px;
    border: 1px solid #24486f;
    border-radius: 8px;
    padding: 0 12px;
    color: #e9f2ff;
    background: #07111f;
}

.hip-form-grid small {
    color: #8fa1ba;
    font-weight: 600;
}

.hip-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.hip-secondary-action {
    min-height: 44px;
    border: 1px solid #24486f;
    border-radius: 8px;
    padding: 0 16px;
    color: #cfe0f8;
    background: #0b1728;
    font-weight: 900;
}

.hip-success-text,
.hip-error-text {
    margin-top: 14px;
    font-weight: 800;
}

.hip-success-text {
    color: #12e59a;
}

.hip-error-text {
    color: #ff6276;
}

.hip-report-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hip-report-tags span {
    border-radius: 7px;
    padding: 6px 10px;
    color: #08d7ec;
    background: rgba(8, 215, 236, 0.12);
    font-weight: 800;
}

.hip-report-tags span:last-child {
    color: #12d895;
    background: rgba(18, 216, 149, 0.12);
}

.hip-risk-bars label {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    margin: 18px 0;
    color: #9db0c8;
}

.hip-risk-bars span,
.hip-ranked-bar i {
    grid-column: 1 / -1;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #18304d;
}

.hip-risk-bars label:first-child i::before {
    background: #12d895;
}

.hip-risk-bars label:nth-child(2) i::before,
.hip-ranked-bar i::before {
    background: #ff944d;
}

.hip-risk-bars label:nth-child(3) i::before {
    background: #ff6276;
}

.hip-ranked-bar {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 12px;
    align-items: center;
    margin: 18px 0;
    color: #9db0c8;
}

.hip-ranked-bar strong {
    color: #d8e4f7;
}

.hip-privacy-callout {
    max-width: 930px;
    margin-bottom: 28px;
    padding: 26px;
    border: 1px solid #0d5268;
    border-radius: 8px;
    color: #b9d9df;
    background: rgba(4, 199, 223, 0.08);
}

.hip-privacy-callout strong {
    color: #eef4ff;
    font-size: 1.05rem;
}

.hip-check-list,
.hip-x-list {
    display: grid;
    gap: 14px;
    padding-left: 0;
    list-style: none;
}

.hip-check-list li::before {
    content: "✓";
    margin-right: 10px;
    color: #12d895;
}

.hip-x-list li::before {
    content: "×";
    margin-right: 10px;
    color: #ff6276;
}

.hip-x-list.warning li::before {
    content: "△";
}

.hip-toggle {
    width: 48px;
    height: 28px;
    border-radius: 999px;
    background: #18304d;
}

.hip-panel-heading.flush {
    padding: 0;
}

.hip-profile-layout {
    max-width: 1240px;
    display: grid;
    grid-template-columns: 400px minmax(0, 1fr);
    gap: 20px;
}

.hip-sender-list {
    overflow: hidden;
    border: 1px solid #172b45;
    border-radius: 8px;
    background: #0e2036;
}

.hip-sender-list h2 {
    margin: 0;
    padding: 20px;
    color: #8fa1ba;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hip-sender-list button {
    width: 100%;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border: 0;
    padding: 18px 20px;
    color: #d8e4f7;
    background: transparent;
    text-align: left;
}

.hip-sender-list button.selected {
    background: #172943;
}

.hip-sender-list button > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #b8ccff;
    background: #17304d;
    font-weight: 800;
}

.hip-sender-list small {
    display: block;
    color: #6f829e;
}

.hip-sender-list em {
    color: #ff6276;
    font-style: normal;
    font-weight: 900;
}

.hip-sender-list em.good {
    color: #12d895;
}

.hip-profile-main {
    display: grid;
    gap: 18px;
}

.sender-summary {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 26px;
    align-items: center;
}

.risk-ring {
    width: 112px;
    height: 112px;
    display: grid;
    place-items: center;
    border: 8px solid #18304d;
    border-top-color: #ff5168;
    border-radius: 50%;
}

.risk-ring strong {
    color: #ff5168;
    font-size: 1.8rem;
}

.risk-ring span {
    display: block;
    color: #6f829e;
}

.hip-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 50px 0 12px;
}

.hip-timeline span {
    height: 6px;
    border-radius: 999px;
    background: #ff334f;
}

.hip-protection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.hip-protection-grid span {
    border: 1px solid #172b45;
    border-radius: 8px;
    padding: 14px;
    color: #9db0c8;
    background: #07111f;
}

.hip-tour-backdrop {
    min-height: calc(100vh - 132px);
    display: grid;
    place-items: center;
}

.hip-tour-card {
    width: min(620px, 100%);
    position: relative;
    border: 1px solid #172b45;
    border-radius: 14px;
    padding: 36px;
    background: #0b1728;
}

.hip-tour-card > button {
    position: absolute;
    top: 18px;
    right: 18px;
    border: 0;
    color: #8fa1ba;
    background: transparent;
}

.hip-tour-card h1,
.hip-tour-card h2 {
    color: #eef4ff;
}

.hip-message-sample,
.hip-danger-box {
    margin: 22px 0;
    border: 1px solid #1c3555;
    border-radius: 10px;
    padding: 18px;
    background: #0e2036;
}

.hip-message-sample strong,
.hip-message-sample span {
    display: block;
    color: #d8e4f7;
}

.hip-danger-box {
    border-color: rgba(255, 81, 104, 0.3);
    background: rgba(255, 81, 104, 0.08);
}

@media (max-width: 1100px) {
    .hip-card-row,
    .hip-card-row.four,
    .hip-card-row.three,
    .hip-two-column,
    .hip-profile-layout {
        grid-template-columns: 1fr;
    }

    .hip-platform-row {
        grid-template-columns: 52px minmax(0, 1fr);
    }
}

/* Global sidebar rules are intentional: Blazor NavLink renders anchors through a child component. */
.hip-sidebar .hip-brand {
    height: 91px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 18px;
    border-bottom: 1px solid #14243a;
}

.hip-sidebar .hip-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 10px;
    color: #03111c;
    background: #08c9df;
    box-shadow: 0 0 22px rgba(8, 201, 223, 0.42);
}

.hip-sidebar .hip-mark svg,
.hip-sidebar .hip-nav-icon svg,
.hip-sidebar-footer svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hip-sidebar .hip-mark svg {
    width: 22px;
    height: 22px;
}

.hip-sidebar .hip-brand strong,
.hip-sidebar .hip-brand span {
    display: block;
    line-height: 1.15;
}

.hip-sidebar .hip-brand strong {
    color: #f4f8ff;
    font-size: 1.05rem;
    font-weight: 900;
}

.hip-sidebar .hip-brand span {
    margin-top: 4px;
    color: #62738d;
    font-size: 0.86rem;
}

.hip-sidebar .navbar-toggler {
    appearance: none;
    cursor: pointer;
    width: 42px;
    height: 36px;
    position: absolute;
    top: 26px;
    right: 18px;
    border: 1px solid #203650;
    border-radius: 8px;
    background:
        linear-gradient(#8da0ba, #8da0ba) center 10px / 18px 2px no-repeat,
        linear-gradient(#8da0ba, #8da0ba) center 17px / 18px 2px no-repeat,
        linear-gradient(#8da0ba, #8da0ba) center 24px / 18px 2px no-repeat,
        #0b182a;
}

.hip-sidebar .nav-scrollable {
    height: calc(100vh - 153px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 14px 8px 12px;
    scrollbar-color: #263955 transparent;
    scrollbar-width: thin;
}

.hip-sidebar .nav-scrollable::-webkit-scrollbar {
    width: 7px;
}

.hip-sidebar .nav-scrollable::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #263955;
}

.hip-sidebar .hip-nav {
    display: grid;
    gap: 4px;
}

.hip-sidebar .hip-nav-link {
    min-height: 48px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #8a9bb3;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 800;
}

.hip-sidebar .hip-nav-link:hover {
    color: #d7e7fb;
    background: rgba(12, 32, 54, 0.82);
}

.hip-sidebar .hip-nav-link.active {
    color: #06d8ec;
    border-color: #0c566b;
    background: #073247;
}

.hip-sidebar .hip-nav-icon {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    color: inherit;
}

.hip-sidebar .hip-nav-icon svg {
    width: 20px;
    height: 20px;
}

.hip-sidebar .hip-nav-text {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hip-sidebar .hip-status,
.hip-sidebar .hip-count {
    min-width: 30px;
    justify-self: end;
    border-radius: 7px;
    padding: 2px 8px;
    font-size: 0.75rem;
    line-height: 1.35;
    font-weight: 900;
    text-align: center;
}

.hip-sidebar .hip-status {
    color: #08ce9a;
    background: rgba(8, 206, 154, 0.16);
    border: 1px solid rgba(8, 206, 154, 0.2);
}

.hip-sidebar .hip-status.soon {
    color: #08c9df;
    background: rgba(8, 201, 223, 0.15);
    border-color: rgba(8, 201, 223, 0.22);
}

.hip-sidebar .hip-count {
    color: #ff6276;
    background: rgba(255, 81, 104, 0.16);
    border: 1px solid rgba(255, 81, 104, 0.23);
}

.hip-sidebar .hip-count.warning {
    color: #ffd044;
    background: rgba(255, 208, 68, 0.15);
    border-color: rgba(255, 208, 68, 0.22);
}

.hip-sidebar .hip-count.orange {
    color: #ff944d;
    background: rgba(255, 148, 77, 0.15);
    border-color: rgba(255, 148, 77, 0.22);
}

.hip-sidebar .hip-chevron {
    color: #394d68;
    font-size: 1.2rem;
    line-height: 1;
}

.hip-sidebar .hip-nav-link.active .hip-chevron,
.hip-sidebar .hip-nav-link:hover .hip-chevron {
    color: #06d8ec;
}

.hip-sidebar .hip-nav-group {
    display: grid;
    gap: 2px;
}

.hip-sidebar .hip-subnav {
    display: grid;
    gap: 2px;
    margin: 0 0 4px 20px;
    padding: 3px 0 3px 18px;
    border-left: 1px solid #14243a;
}

.hip-sidebar .hip-subnav-link {
    min-height: 34px;
    display: flex;
    align-items: center;
    border-radius: 7px;
    padding: 0 12px;
    color: #7d8ea8;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 750;
}

.hip-sidebar .hip-subnav-link:hover {
    color: #d7e7fb;
    background: rgba(12, 32, 54, 0.65);
}

.hip-sidebar .hip-subnav-link.active {
    color: #06d8ec;
    background: #073247;
}

.hip-sidebar-footer {
    height: 62px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    border-top: 1px solid #14243a;
}

.hip-sidebar-footer button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 0;
    color: #8a9bb3;
    background: transparent;
    text-align: left;
    font-weight: 800;
}

.hip-sidebar-footer svg {
    width: 20px;
    height: 20px;
}

@media (min-width: 901px) {
    .hip-sidebar .navbar-toggler {
        display: none;
    }
}

@media (max-width: 900px) {
    .hip-sidebar .nav-scrollable {
        display: none;
        height: auto;
        max-height: 70vh;
    }

    .hip-sidebar .navbar-toggler:checked ~ .nav-scrollable {
        display: block;
    }

    .hip-sidebar-footer {
        display: none;
    }
}
