:root {
    --bah-navy: #10213f;
    --bah-orange: #ff8a00;
    --bah-orange-hover: #e97800;
    --bah-text: #172033;
    --bah-muted: #536078;
    --bah-border: #e8ebf0;
}
.bah-header, .bah-footer, .bah-header *, .bah-footer * { box-sizing: border-box; }
.bah-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--bah-border);
    backdrop-filter: blur(10px);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}
.bah-nav {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}
.bah-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--bah-navy);
    text-decoration: none;
    white-space: nowrap;
}
.bah-logo-mark {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--bah-orange), #ffb000);
    display: grid;
    place-items: center;
    color: white;
    font-weight: 900;
    box-shadow: 0 6px 18px rgba(255, 138, 0, .25);
}
.bah-links, .bah-actions { display: flex; align-items: center; gap: 28px; }
.bah-links a { color: var(--bah-muted); font-size: 15px; font-weight: 600; text-decoration: none; }
.bah-links a:hover { color: var(--bah-navy); }
.bah-actions { gap: 12px; }
.bah-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 21px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 700;
    border: 1px solid transparent;
    text-decoration: none;
    transition: background .2s ease;
    white-space: nowrap;
}
.bah-button-primary { background: var(--bah-orange); color: white; box-shadow: 0 8px 20px rgba(255, 138, 0, .22); }
.bah-button-primary:hover { background: var(--bah-orange-hover); }
.bah-button-outline { border-color: #d9dee7; color: #1b2942; background: white; }
.bah-button-outline:hover { background: #f8f9fb; border-color: #b9c1ce; }
.bah-footer {
    width: 100%;
    background: #0c172b;
    color: white;
    padding: 55px 0 25px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    margin-top: auto;
}
.bah-footer-inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.bah-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-bottom: 40px; }
.bah-footer .bah-logo { color: white; }
.bah-footer p { color: #9eabc0; font-size: 13px; max-width: 350px; margin: 14px 0 0; }
.bah-footer h2 { color: white; font-size: 14px; margin: 0 0 14px; }
.bah-footer nav a { display: block; color: #9eabc0; font-size: 13px; margin-top: 9px; text-decoration: none; }
.bah-footer nav a:hover { color: white; }
.bah-copyright { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; color: #9eabc0; font-size: 12px; text-align: center; }
.bah-copyright span { display: inline-block; margin-left: 12px; }
body.bah-page {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    max-width: none;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--bah-text);
    background: #f5f7fb;
    line-height: 1.6;
}
.bah-page *, .bah-page *::before, .bah-page *::after { box-sizing: border-box; }
.bah-content { width: 100%; flex: 1; min-width: 0; }
.bah-page .card, .bah-page .plan-card, .bah-page .lead-card, .bah-page .stat-card {
    border: 1px solid var(--bah-border);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(16, 33, 63, .06);
}
.bah-page .subtitle, .bah-page .muted { color: var(--bah-muted); }
.bah-page input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]):not([type="file"]),
.bah-page select, .bah-page textarea { border-radius: 9px; border: 1px solid #d9dee7; font: inherit; max-width: 100%; }
.bah-page input[type="checkbox"], .bah-page input[type="radio"] { accent-color: var(--bah-orange); }
.bah-page input:focus-visible, .bah-page select:focus-visible, .bah-page textarea:focus-visible,
.bah-page a:focus-visible, .bah-page button:focus-visible, .bah-header a:focus-visible, .bah-footer a:focus-visible {
    outline: 3px solid #ffb000;
    outline-offset: 3px;
}
.bah-page .button, .bah-page .btn, .bah-page button { border-radius: 9px; font-family: inherit; }
.bah-page .button:not(.button-secondary):not(.secondary):not(.button-gray):not(.button-green):not(.button-red):not(.button-danger):not(.button-disabled):not(.button-decline):not(.button-accept),
.bah-page .btn-primary, .bah-page .choose-button, .bah-page .submit {
    background: var(--bah-orange);
    border-color: var(--bah-orange);
    color: white;
    box-shadow: 0 6px 18px rgba(255, 138, 0, .18);
}
.bah-page .button:not(.button-secondary):not(.secondary):not(.button-gray):not(.button-green):not(.button-red):not(.button-danger):not(.button-disabled):not(.button-decline):not(.button-accept):hover,
.bah-page .btn-primary:hover, .bah-page .choose-button:hover, .bah-page .submit:hover { background: var(--bah-orange-hover); border-color: var(--bah-orange-hover); }
.bah-page .button-secondary, .bah-page .button.secondary { background: white; border: 1px solid #d9dee7; color: var(--bah-navy); }
.bah-page .bah-section-header {
    background: linear-gradient(135deg, #0e1d38, #152d55 55%, #0b1930);
    color: white;
    padding: 18px 20px;
}
.bah-page .bah-section-header h1, .bah-page .bah-section-header h2 { color: white; }
.bah-page .bah-section-header .header-inner { flex-wrap: wrap; gap: 12px; }
.bah-page .bah-section-header .header-link, .bah-page .bah-section-header .company,
.bah-page .bah-section-header .admin-label { color: #e1e7f0; }
.bah-legal-content { width: min(900px, calc(100% - 40px)); margin: 40px auto; padding: 32px; background: white; border: 1px solid var(--bah-border); border-radius: 14px; }
.bah-legal-content a { color: var(--bah-navy); text-decoration: underline; }
@media (max-width: 1000px) {
    .bah-nav { flex-wrap: wrap; justify-content: center; padding: 16px 0; gap: 16px 24px; }
    .bah-links { order: 3; justify-content: center; flex-basis: 100%; flex-wrap: wrap; gap: 12px 24px; }
    .bah-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 600px) {
    .bah-header { position: relative; }
    .bah-nav, .bah-footer-inner { width: calc(100% - 32px); }
    .bah-nav { flex-direction: column; }
    .bah-logo { font-size: 23px; }
    .bah-links { font-size: 14px; gap: 12px 18px; }
    .bah-actions { width: 100%; justify-content: center; }
    .bah-actions .bah-button { flex: 1; padding: 0 12px; }
    .bah-footer-grid { grid-template-columns: 1fr; }
    .bah-copyright span { display: block; margin: 8px 0 0; }
    .bah-legal-content { width: calc(100% - 32px); margin: 24px auto; padding: 22px; }
}
@media print {
    .bah-header, .bah-footer { display: none; }
    body.bah-page { display: block; background: white; }
}

.bah-centered-content { display: grid; place-items: center; padding: 40px 20px; }

.bah-logo { max-width: 100%; }
.bah-logo-image { display: block; width: 280px; max-width: 100%; height: auto; }

.bah-admin-navigation { background: #fff; border-bottom: 1px solid #dde3ec; padding: 20px 0; }
.bah-admin-navigation-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.bah-admin-navigation .bah-admin-navigation-title { margin: 0 0 12px; color: #172033; font-size: 18px; font-weight: 700; }
.bah-admin-navigation-links { display: flex; flex-wrap: wrap; gap: 8px; }
.bah-admin-navigation .bah-admin-navigation-links a { display: inline-block; padding: 10px 14px; border-radius: 6px; background: #f0f3f8; color: #172033; text-decoration: none; font-size: 14px; font-weight: 600; }
.bah-admin-navigation .bah-admin-navigation-links a:hover { background: #e0e6ef; }
.bah-admin-navigation .bah-admin-navigation-links a[aria-current="page"] { background: #172033; color: #fff; }
.bah-admin-navigation .bah-admin-navigation-links a:focus-visible { outline: 3px solid #ff8a00; outline-offset: 3px; }
@media print { .bah-admin-navigation { display: none; } }

.bah-logout-form { margin: 0; }
.bah-logout-form button { font: inherit; cursor: pointer; }

/* Administration navigation */
.bah-admin-console { background: #f8fafc; padding: 22px 0 24px; border-bottom: 1px solid #dce4ee; }
.bah-admin-console-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.bah-admin-console .bah-admin-navigation-title { margin: 0; font-size: 21px; line-height: 1.3; padding-left: 12px; border-left: 4px solid #ff8a00; }
.bah-admin-console-heading p { margin: 7px 0 0 16px; color: #64748b; font-size: 13px; line-height: 1.5; }
.bah-admin-console-label { color: #64748b; font-size: 12px; font-weight: 600; white-space: nowrap; }
.bah-admin-console-groups { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; gap: 12px; }
.bah-admin-console-group { min-width: 0; padding: 15px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 2px 5px rgba(16,33,63,.025); }
.bah-admin-console-group h3 { margin: 0 0 10px; color: #64748b; font-size: 11px; line-height: 1.4; letter-spacing: .065em; text-transform: uppercase; font-weight: 700; }
.bah-admin-console .bah-admin-navigation-links { gap: 6px; }
.bah-admin-console .bah-admin-navigation-links a { padding: 9px 11px; border: 1px solid transparent; background: transparent; color: #334155; font-size: 13px; line-height: 1.4; border-radius: 7px; transition: background .15s ease, border-color .15s ease; }
.bah-admin-console .bah-admin-navigation-links a:hover { background: #f1f5f9; border-color: #e2e8f0; color: #10213f; }
.bah-admin-console .bah-admin-navigation-links a[aria-current="page"] { background: #10213f; color: #fff; border-color: #10213f; box-shadow: inset 3px 0 0 #ff8a00; }
@media (max-width: 1050px) { .bah-admin-console-groups { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) {
    .bah-admin-console { padding: 18px 0; }
    .bah-admin-console-heading { margin-bottom: 14px; }
    .bah-admin-console-label { display: none; }
    .bah-admin-console-heading p { margin-left: 0; }
    .bah-admin-console-groups { gap: 8px; }
    .bah-admin-console-group { padding: 12px 10px; }
    .bah-admin-console .bah-admin-navigation-links a { padding: 8px; font-size: 12px; }
}
@media (max-width: 380px) { .bah-admin-console-groups { grid-template-columns: minmax(0,1fr); } }
@media (prefers-reduced-motion: reduce) { .bah-admin-console .bah-admin-navigation-links a { transition: none; } }

/* Consistent administration page content and controls. */
.bah-admin-page .bah-content { width: calc(100% - 40px); max-width: 1160px; margin-left: auto; margin-right: auto; }
.bah-admin-page .bah-admin-workspace { padding: 0; margin-top: 36px; margin-bottom: 56px; }
.bah-admin-page-heading { margin-bottom: 24px; }
.bah-admin-page-heading h1 { margin: 0 0 8px; font-size: 32px; line-height: 1.25; }
.bah-admin-page-heading p { margin: 0; color: #64748b; }
.bah-admin-card { background: white; border: 1px solid #dce4ee; border-radius: 14px; padding: 24px; margin-bottom: 24px; box-shadow: 0 4px 16px rgba(16,33,63,.035); }
.bah-admin-search { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.bah-admin-search > div { width: min(100%,460px); }
.bah-admin-search label,.bah-admin-form label { display: block; margin-bottom: 8px; font-weight: 600; }
.bah-admin-search input,.bah-admin-form input,.bah-admin-form select { width: 100%; padding: 12px 14px; background: #fff; }
.bah-admin-table-card { padding: 0; overflow: hidden; }
.bah-admin-table-scroll { overflow-x: auto; }
.bah-admin-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
.bah-admin-table th { background: #f8fafc; color: #64748b; font-size: 12px; font-weight: 700; }
.bah-admin-table th,.bah-admin-table td { padding: 16px 18px; border-bottom: 1px solid #e2e8f0; vertical-align: middle; }
.bah-admin-table tbody tr:last-child td { border-bottom: 0; }
.bah-admin-table tbody tr:hover { background: #fbfcfe; }
.bah-admin-badge { display: inline-block; background: #eff3f9; color: #334155; padding: 5px 9px; border-radius: 6px; font-size: 12px; white-space: nowrap; }
.bah-admin-nowrap { white-space: nowrap; }
.bah-admin-page .bah-admin-small-button { padding: 7px 10px; font-size: 12px; white-space: nowrap; }
.bah-admin-form-card { max-width: 760px; }
.bah-admin-form input,.bah-admin-form select { margin-bottom: 20px; }
.bah-admin-form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.bah-admin-notice { padding: 16px 20px; background: #dcfce7; border: 1px solid #bbf7d0; border-radius: 10px; margin-bottom: 24px; }
.bah-admin-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.bah-admin-page .bah-content a:not(.bah-button):not(.btn):not(.button) { color: #994b00; }
.bah-admin-pagination { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding: 20px; font-size: 13px; color: #64748b; }
.bah-admin-pagination > div { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.bah-admin-pagination a { padding: 8px 12px; border: 1px solid #dce4ee; border-radius: 7px; background: white; text-decoration: none; font-weight: 600; }
.bah-admin-pagination [aria-disabled="true"] { opacity: .5; }
@media(max-width:600px) { .bah-admin-page .bah-content { width: calc(100% - 24px); } .bah-admin-card { padding: 18px; } .bah-admin-table-card { padding: 0; } .bah-admin-page-heading h1 { font-size: 28px; } .bah-admin-search > div { width: 100%; } .bah-admin-table th,.bah-admin-table td { padding: 12px; } .bah-admin-pagination { padding: 16px; } }

.partner-page .partner-verification-approved { padding: 26px; background: linear-gradient(115deg,#f0fdf4,#fff 75%); border-color: #bbdfc8; }
.partner-verification-summary { display: flex; align-items: center; gap: 20px; }
.partner-verification-check { display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 58px; border-radius: 50%; background: #dcfce7; color: #15803d; font-size: 30px; font-weight: 700; }
.partner-verification-copy { flex: 1; min-width: 0; }
.partner-verification-eyebrow { color: #64748b; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.partner-verification-copy h2 { margin: 3px 0 6px; font-size: 23px; line-height: 1.3; color: #14532d; }
.partner-verification-copy p { margin: 0; color: #475569; font-size: 14px; }
.partner-verification-statuses { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; color: #166534; font-size: 12px; font-weight: 600; }
.partner-verification-statuses .partner-verification-pending { color: #9a3412; }
.partner-verification-summary > .bah-button { flex-shrink: 0; }
@media(max-width:700px) { .partner-verification-summary { flex-wrap: wrap; align-items: flex-start; gap: 14px; } .partner-page .partner-verification-approved { padding: 20px; } .partner-verification-check { width: 44px; height: 44px; flex-basis: 44px; font-size: 24px; } .partner-verification-copy { flex-basis: calc(100% - 60px); } .partner-verification-summary > .bah-button { width: 100%; } }

.lead-job-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.lead-job-heading h2 { margin: 0; }
.lead-job-type { display: inline-block; padding: 6px 12px; border-radius: 6px; background: #fff3e0; color: #994b00; font-size: 12px; font-weight: 700; }
.lead-appointment-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 14px; margin-bottom: 22px; }
.lead-appointment-panel { padding: 20px; border: 1px solid #dce4ee; border-radius: 12px; background: #f8fafc; }
.lead-appointment-panel > span,.lead-job-contact-grid > div > span { display: block; color: #64748b; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.lead-appointment-panel strong { display: block; color: #10213f; font-size: 18px; }
.lead-appointment-panel b { display: block; color: #10213f; font-size: 23px; margin-top: 2px; }
.lead-appointment-panel p { margin: 8px 0 0; font-size: 12px; color: #64748b; }
.lead-appointment-confirmed { background: #f0fdf4; border-color: #bbf7d0; }
.lead-appointment-confirmed strong,.lead-appointment-confirmed b { color: #166534; }
.lead-appointment-proposed { background: #fff7ed; border-color: #fed7aa; }
.lead-job-description h3,.lead-job-access h3 { margin: 0 0 8px; font-size: 14px; }
.lead-job-description p,.lead-job-access p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.65; }
.lead-job-description { margin-bottom: 20px; }
.lead-job-contact-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 16px; }
.lead-job-contact-grid > div { border-top: 1px solid #e2e8f0; padding-top: 16px; }
.lead-job-contact-grid strong,.lead-job-contact-grid a { display: block; font-size: 14px; }
.lead-job-contact-grid a { color: #994b00; }
.lead-job-access { padding: 18px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px; margin-top: 20px; }
@media(max-width:600px) { .lead-appointment-grid { grid-template-columns: 1fr; } .lead-appointment-panel { padding: 16px; } .lead-job-heading { align-items: flex-start; } }

.lead-partner-banner { padding: 24px; margin-bottom: 24px; background: #10213f; color: #fff; border: 1px solid #21395a; border-left: 5px solid #ff8a00; border-radius: 14px; }
.lead-partner-banner-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.lead-partner-job-label { color: #ffb45c; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.lead-partner-industry { padding: 5px 10px; border-radius: 6px; background: #263d60; color: #fff; font-size: 12px; font-weight: 600; }
.lead-partner-banner h2 { margin: 0 0 10px; color: #fff; font-size: 22px; }
.lead-partner-banner p { margin: 0; color: #e2e8f0; line-height: 1.6; font-size: 14px; }
.lead-partner-banner .lead-partner-workflow-note { margin-top: 14px; padding-top: 14px; border-top: 1px solid #334b6c; color: #cbd5e1; font-size: 13px; }
@media(max-width:600px) { .lead-partner-banner { padding: 20px; } }

.lead-partner-banner .lead-partner-workflow-note { padding: 16px; background: #ff8a00; border: 0; border-radius: 8px; color: #10213f; font-size: 15px; font-weight: 700; }
.lead-partner-banner .lead-partner-workflow-note strong { display: block; margin-bottom: 3px; }
.partner-requirement-confirm { display: flex; align-items: flex-start; gap: 12px; padding: 18px; margin: 18px 0; border: 2px solid #ff8a00; border-radius: 10px; background: #fff7ed; color: #10213f; font-size: 14px; line-height: 1.6; cursor: pointer; }
.partner-requirement-confirm input[type=checkbox] { width: 20px; height: 20px; flex: 0 0 20px; margin: 3px 0 0; }
.partner-requirement-confirm strong { display: block; color: #994b00; margin-bottom: 4px; font-size: 15px; }
