.bdhv-public {
    --bdhv-primary: #2563eb;
    --bdhv-primary-dark: #1d4ed8;
    --bdhv-surface: rgba(255, 255, 255, 0.92);
    --bdhv-border: rgba(148, 163, 184, 0.18);
    --bdhv-text: #0f172a;
    --bdhv-muted: #64748b;
}

.bdhv-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    margin-bottom: 20px;
    border-radius: 28px;
    background: var(--bdhv-surface);
    border: 1px solid var(--bdhv-border);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.bdhv-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--bdhv-primary-dark);
    font-weight: 800;
    margin-bottom: 12px;
}

.bdhv-hero h1,
.bdhv-panel-title,
.bdhv-side-card h5,
.bdhv-side-card h6 {
    margin: 0;
    font-weight: 900;
    color: var(--bdhv-text);
}

.bdhv-hero h1 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.15; }
.bdhv-hero p { margin: 6px 0 0; color: var(--bdhv-muted); line-height: 1.7; }

.bdhv-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    text-decoration: none;
    font-weight: 800;
    border: 1px solid var(--bdhv-border);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
    white-space: nowrap;
}

.bdhv-panel {
    background: #fff;
    border-radius: 28px;
    border: 1px solid var(--bdhv-border);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.bdhv-panel-aside {
    display: grid;
    gap: 16px;
}

.bdhv-panel-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 22px 0;
}

.bdhv-panel-subtitle {
    margin-top: 4px;
    color: var(--bdhv-muted);
    line-height: 1.6;
}

.bdhv-panel-body {
    padding: 22px;
}

.bdhv-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.14);
}

.bdhv-icon.blue { background: linear-gradient(135deg, #2563eb, #0ea5e9); }
.bdhv-icon.amber { background: linear-gradient(135deg, #f59e0b, #d97706); }
.bdhv-icon.violet { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }

.bdhv-field { margin-bottom: 16px; }
.bdhv-label { display: block; margin-bottom: 8px; font-weight: 800; color: #334155; }

.bdhv-input-shell {
    display: flex;
    align-items: stretch;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: linear-gradient(145deg, #f8fafc, #ffffff);
}

.bdhv-input-shell .input-group-text,
.bdhv-input-shell .form-control,
.bdhv-input-shell .form-select {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.bdhv-input,
.bdhv-textarea,
.searchable-select input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    background: linear-gradient(145deg, #f8fafc, #ffffff);
    color: var(--bdhv-text);
}

.bdhv-textarea { min-height: 108px; resize: vertical; }

.bdhv-input:focus,
.bdhv-textarea:focus,
.searchable-select input:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.42);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.bdhv-btn {
    width: 100%;
    padding: 14px 18px;
    border: 0;
    border-radius: 18px;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 18px 30px rgba(37, 99, 235, 0.18);
}

.bdhv-btn.blue { background: linear-gradient(135deg, #2563eb, #0ea5e9); }
.bdhv-btn.amber { background: linear-gradient(135deg, #f59e0b, #d97706); }
.bdhv-btn.violet { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }

.bdhv-note,
.bdhv-side-card,
.bdhv-alert {
    border-radius: 22px;
    border: 1px solid var(--bdhv-border);
    background: #fff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.bdhv-note {
    padding: 16px 18px;
    color: #475569;
    line-height: 1.7;
    background: #f8fafc;
}

.bdhv-side-card { padding: 18px; }
.bdhv-side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bdhv-side-item { display: flex; gap: 12px; align-items: flex-start; }
.bdhv-side-index {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 900;
    color: var(--bdhv-primary-dark);
    background: #dbeafe;
}

.bdhv-result-card { padding: 18px; border-radius: 22px; }
.bdhv-result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bdhv-stat-box {
    text-align: center;
    padding: 14px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.54);
}
.bdhv-stat-box .label { display: block; margin-bottom: 4px; color: var(--bdhv-muted); font-size: 0.84rem; }
.bdhv-stat-box .value { font-size: 1.55rem; font-weight: 900; color: var(--bdhv-text); }
.bdhv-alert { padding: 14px 16px; background: #fef3c7; color: #92400e; }

@media (max-width: 768px) {
    .bdhv-hero { flex-direction: column; padding: 20px; border-radius: 22px; }
    .bdhv-panel-head,
    .bdhv-panel-body { padding-left: 18px; padding-right: 18px; }
    .bdhv-result-grid { grid-template-columns: 1fr; }
}
