* {
    box-sizing: border-box;
}

:root {
    --bg: #f4f7fb;
    --bg-soft: #eef3f8;
    --card: #ffffff;
    --text: #1f2937;
    --text-soft: #64748b;
    --border: #dbe4ee;
    --primary: #2563eb;
    --primary-2: #1d4ed8;
    --success-bg: #ecfdf3;
    --success-border: #b7ebc8;
    --success-text: #166534;
    --danger-bg: #fef2f2;
    --danger-border: #fecaca;
    --danger-text: #991b1b;
    --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    --radius: 18px;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.05), transparent 22%),
        linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%);
    color: var(--text);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-wrap-centered {
    justify-content: center;
    margin-bottom: 18px;
}

.brand-wrap-admin {
    margin-bottom: 24px;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.5px;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    line-height: 1.1;
}

.brand-sub {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #64748b;
}

.admin-auth-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.admin-auth-card {
    width: 100%;
    max-width: 460px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

h1, h2 {
    margin-top: 0;
    color: #111827;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
}

.muted-copy,
.empty-state {
    color: var(--text-soft);
}

.form-group {
    margin-bottom: 16px;
}

label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
    color: var(--text);
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
    outline: none;
}

button,
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 700;
    transition: 0.18s ease;
}

button:hover,
.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    color: white;
    border-color: var(--primary-2);
}

.btn-secondary {
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-soft);
}

.btn-mini {
    padding: 8px 11px;
    border-radius: 10px;
    font-size: 12px;
}

.full-width {
    width: 100%;
}

.alert {
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-weight: 600;
}

.alert.error {
    background: var(--danger-bg);
    border: 1px solid var(--danger-border);
    color: var(--danger-text);
}

.alert.success {
    background: var(--success-bg);
    border: 1px solid var(--success-border);
    color: var(--success-text);
}

.auth-links {
    margin-top: 16px;
    text-align: center;
    color: var(--primary);
    font-weight: 600;
}

.admin-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: #ffffff;
    border-right: 1px solid var(--border);
    padding: 24px;
}

.admin-sidebar nav {
    display: grid;
    gap: 10px;
}

.admin-sidebar nav a {
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--text-soft);
    font-weight: 600;
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
    background: #eff6ff;
    color: var(--primary);
    border: 1px solid #d9e8ff;
}

.admin-main {
    padding: 28px;
}

.admin-header {
    margin-bottom: 22px;
}

.admin-header p {
    color: var(--text-soft);
    margin-top: 6px;
}

.admin-header-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

.panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.tool-card {
    padding: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.tool-card p {
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 0;
}

.dash-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid #e7edf4;
    vertical-align: top;
}

.data-table th {
    color: var(--text-soft);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    font-weight: 700;
    background: #fbfdff;
}

.dashboard-table tbody tr:hover {
    background: #fafcff;
}

.cell-main {
    font-weight: 700;
    color: #111827;
}

.cell-subtle {
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.5;
}

.status-pill {
    display: inline-block;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid transparent;
    white-space: nowrap;
}

.status-started {
    background: #f1f5f9;
    border-color: #dbe4ee;
    color: #475569;
}

.status-submitted {
    background: #eff6ff;
    border-color: #cfe0ff;
    color: #1d4ed8;
}

.status-missing-documents {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

.status-under-review {
    background: #fefce8;
    border-color: #fde68a;
    color: #a16207;
}

.status-approved {
    background: #ecfdf3;
    border-color: #b7ebc8;
    color: #166534;
}

.status-rejected {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.status-not-started {
    background: #f8fafc;
    border-color: #dbe4ee;
    color: #64748b;
}

.status-in-progress {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.status-expired {
    background: #fff7ed;
    border-color: #fdba74;
    color: #c2410c;
}

.status-disabled {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #4b5563;
}

.progress-mini-wrap {
    min-width: 180px;
}

.progress-mini-label {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-soft);
}

.progress-mini-track {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #e8eef5;
    overflow: hidden;
    border: 1px solid #d7e0ea;
}

.progress-mini-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), #60a5fa);
}

.row-expired {
    background: #fff7ed;
}

.invite-stack {
    display: grid;
    gap: 16px;
}

.invite-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    overflow: hidden;
}

.invite-row {
    display: grid;
    gap: 18px;
    padding: 18px 20px;
    align-items: start;
}

.invite-row-top {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border-bottom: 1px solid #e7edf4;
}

.invite-row-bottom {
    grid-template-columns: 150px 1.2fr 1.8fr 170px;
    background: #fcfdff;
}

.invite-cell {
    min-width: 0;
}

.invite-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 8px;
}

.link-field-wrap {
    width: 100%;
}

.dashboard-link-field {
    width: 100%;
    font-size: 12px;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #dbe4ee;
    padding: 9px 10px;
    border-radius: 10px;
}

.table-action-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.print-page {
    background: #ffffff;
    color: #111827;
}

.print-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
}

.print-actions {
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.print-brandbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding: 0 0 18px;
    margin-bottom: 18px;
    border-bottom: 2px solid #dbe4ee;
}

.print-brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.print-brand-meta {
    text-align: right;
    min-width: 220px;
}

.print-meta-line {
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

.print-header {
    margin-bottom: 24px;
    padding-bottom: 14px;
}

.print-title {
    margin: 0 0 8px;
    font-size: 30px;
    color: #111827;
}

.print-subtitle {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
}

.print-section {
    margin-bottom: 24px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 18px;
    background: #fff;
}

.print-section h2 {
    margin-top: 0;
    font-size: 20px;
    color: #111827;
}

.print-row {
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
    line-height: 1.5;
}

.print-row:last-child {
    border-bottom: none;
}

@media (max-width: 1200px) {
    .invite-row-top,
    .invite-row-bottom {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .print-brandbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .print-brand-meta {
        text-align: left;
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .invite-row-top,
    .invite-row-bottom {
        grid-template-columns: 1fr;
    }
}

/*
|--------------------------------------------------------------------------
| Shared Pipeline Hero System
|--------------------------------------------------------------------------
| Keeps every authenticated OpSprout workspace aligned with the geometric
| I.C. Pipeline hero. Public contractor-facing forms intentionally retain
| their own presentation.
| Application owner and code author: Jose Anibal Carrion.
*/

:is(
    .admin-header.admin-header-card,
    .dashboard-hero,
    .simple-hero,
    .evaluations-hero,
    .interview-hero.admin-header-card,
    .map-header.map-hero-shell,
    .invoice-admin-header,
    .leads-admin-header,
    .commission-hero,
    .tracker-hero,
    .page-header,
    .phone-record-hero
) {
    isolation: isolate !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    min-height: 210px !important;
    margin: 0 0 20px !important;
    padding: 34px 36px 38px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: start !important;
    gap: 32px !important;
    border: 1px solid rgba(255, 255, 255, .20) !important;
    border-radius: 20px !important;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        radial-gradient(circle at 88% 16%, rgba(255, 255, 255, .19), transparent 27%),
        linear-gradient(135deg, #082f61 0%, #0d4f8b 50%, #0b72a8 100%) !important;
    background-size: 34px 34px, 34px 34px, auto, auto !important;
    color: #ffffff !important;
    box-shadow: 0 22px 56px rgba(8, 47, 97, .24) !important;
}

:is(
    .admin-header.admin-header-card,
    .dashboard-hero,
    .simple-hero,
    .evaluations-hero,
    .interview-hero.admin-header-card,
    .map-header.map-hero-shell,
    .invoice-admin-header,
    .leads-admin-header,
    .commission-hero,
    .tracker-hero,
    .page-header,
    .phone-record-hero
)::before {
    content: "" !important;
    position: absolute !important;
    z-index: 0 !important;
    top: -135px !important;
    right: -42px !important;
    width: 360px !important;
    height: 360px !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 52px !important;
    background: transparent !important;
    box-shadow:
        0 0 0 38px rgba(255, 255, 255, .038),
        0 0 0 76px rgba(255, 255, 255, .022) !important;
    transform: rotate(28deg) !important;
    pointer-events: none !important;
}

:is(
    .admin-header.admin-header-card,
    .dashboard-hero,
    .simple-hero,
    .evaluations-hero,
    .interview-hero.admin-header-card,
    .map-header.map-hero-shell,
    .invoice-admin-header,
    .leads-admin-header,
    .commission-hero,
    .tracker-hero,
    .page-header,
    .phone-record-hero
)::after {
    content: "" !important;
    position: absolute !important;
    z-index: 0 !important;
    right: 300px !important;
    bottom: -118px !important;
    width: 190px !important;
    height: 190px !important;
    border: 1px solid rgba(125, 211, 252, .20) !important;
    border-radius: 28px !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: rotate(45deg) !important;
    pointer-events: none !important;
}

:is(
    .admin-header.admin-header-card,
    .dashboard-hero,
    .simple-hero,
    .evaluations-hero,
    .interview-hero.admin-header-card,
    .map-header.map-hero-shell,
    .invoice-admin-header,
    .leads-admin-header,
    .commission-hero,
    .tracker-hero,
    .page-header,
    .phone-record-hero
) > * {
    position: relative !important;
    z-index: 1 !important;
}

:is(
    .admin-header.admin-header-card,
    .dashboard-hero,
    .simple-hero,
    .evaluations-hero,
    .interview-hero.admin-header-card,
    .map-header.map-hero-shell,
    .invoice-admin-header,
    .leads-admin-header,
    .commission-hero,
    .tracker-hero,
    .page-header,
    .phone-record-hero
) > :first-child {
    min-width: 0 !important;
    max-width: 900px !important;
}

:is(
    .admin-header.admin-header-card,
    .dashboard-hero,
    .simple-hero,
    .evaluations-hero,
    .interview-hero.admin-header-card,
    .map-header.map-hero-shell,
    .invoice-admin-header,
    .leads-admin-header,
    .commission-hero,
    .tracker-hero,
    .page-header,
    .phone-record-hero,
    .record-hero
) :is(.eyebrow, .dashboard-eyebrow, .evaluations-eyebrow, .map-eyebrow, .hero-eyebrow) {
    width: max-content !important;
    min-height: 28px !important;
    margin: 0 0 15px !important;
    padding: 5px 11px !important;
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid rgba(255, 255, 255, .24) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .13) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    line-height: 1.1 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
}

:is(
    .admin-header.admin-header-card,
    .dashboard-hero,
    .simple-hero,
    .evaluations-hero,
    .interview-hero.admin-header-card,
    .map-header.map-hero-shell,
    .invoice-admin-header,
    .leads-admin-header,
    .commission-hero,
    .tracker-hero,
    .page-header,
    .phone-record-hero
) h1 {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: clamp(43px, 3.8vw, 61px) !important;
    font-weight: 950 !important;
    line-height: .98 !important;
    letter-spacing: -.052em !important;
    text-shadow: 0 10px 24px rgba(0, 0, 0, .14) !important;
}

:is(
    .admin-header.admin-header-card,
    .dashboard-hero,
    .simple-hero,
    .evaluations-hero,
    .interview-hero.admin-header-card,
    .map-header.map-hero-shell,
    .invoice-admin-header,
    .leads-admin-header,
    .commission-hero,
    .tracker-hero,
    .page-header,
    .phone-record-hero
) p:not(.eyebrow):not(.dashboard-eyebrow):not(.evaluations-eyebrow) {
    max-width: 800px !important;
    margin: 15px 0 0 !important;
    color: #dbeafe !important;
    font-size: 15px !important;
    font-weight: 750 !important;
    line-height: 1.55 !important;
}

:is(
    .admin-header.admin-header-card,
    .dashboard-hero,
    .simple-hero,
    .evaluations-hero,
    .interview-hero.admin-header-card,
    .map-header.map-hero-shell,
    .invoice-admin-header,
    .leads-admin-header,
    .commission-hero,
    .tracker-hero,
    .page-header,
    .phone-record-hero
) .cell-subtle {
    color: #bfdbfe !important;
}

:is(
    .dashboard-hero .dashboard-hero-actions,
    .simple-hero > .hero-actions,
    .evaluations-hero .evaluations-hero-actions,
    .interview-hero .interview-hero-actions,
    .map-hero-shell .map-hero-actions,
    .invoice-admin-header .header-actions,
    .leads-admin-header .header-actions,
    .commission-hero .commission-filters,
    .phone-record-hero .phone-record-actions,
    .record-hero .hero-actions
) {
    min-width: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

:is(
    .dashboard-hero .dashboard-hero-actions,
    .simple-hero > .hero-actions,
    .evaluations-hero .evaluations-hero-actions,
    .interview-hero .interview-hero-actions,
    .map-hero-shell .map-hero-actions,
    .invoice-admin-header .header-actions,
    .leads-admin-header .header-actions,
    .commission-hero .commission-filters,
    .phone-record-hero .phone-record-actions,
    .record-hero .hero-actions
) > :is(a, button) {
    width: auto !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 11px 17px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, .32) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .11) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    backdrop-filter: blur(10px) !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

:is(
    .dashboard-hero .dashboard-hero-actions,
    .simple-hero > .hero-actions,
    .evaluations-hero .evaluations-hero-actions,
    .interview-hero .interview-hero-actions,
    .map-hero-shell .map-hero-actions,
    .invoice-admin-header .header-actions,
    .leads-admin-header .header-actions,
    .commission-hero .commission-filters,
    .phone-record-hero .phone-record-actions,
    .record-hero .hero-actions
) > :is(a, button):hover {
    background: rgba(255, 255, 255, .19) !important;
    transform: translateY(-1px) !important;
}

:is(
    .dashboard-hero .dash-btn-primary,
    .simple-hero .hero-primary,
    .evaluations-hero .hero-action-light,
    .interview-hero .hero-action-light,
    .map-hero-shell .btn-primary-map,
    .invoice-admin-header .btn-primary,
    .leads-admin-header .btn-primary,
    .commission-hero .filter-chip.active,
    .phone-record-hero .primary,
    .record-hero .hero-btn.primary
) {
    border-color: rgba(255, 255, 255, .72) !important;
    background: #ffffff !important;
    color: #083f69 !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .14) !important;
}

:is(
    .dashboard-hero .dash-btn-primary,
    .simple-hero .hero-primary,
    .evaluations-hero .hero-action-light,
    .interview-hero .hero-action-light,
    .map-hero-shell .btn-primary-map,
    .invoice-admin-header .btn-primary,
    .leads-admin-header .btn-primary,
    .commission-hero .filter-chip.active,
    .phone-record-hero .primary,
    .record-hero .hero-btn.primary
):hover {
    background: #f8fbff !important;
}

.dashboard-hero .hero-meta {
    margin-top: 17px !important;
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

.dashboard-hero .hero-pill {
    min-height: 30px !important;
    padding: 6px 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid rgba(255, 255, 255, .22) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .10) !important;
    color: #e0f2fe !important;
    font-size: 11px !important;
    font-weight: 850 !important;
}

.record-hero {
    isolation: isolate !important;
    position: relative !important;
    overflow: hidden !important;
    margin: 0 0 20px !important;
    border: 1px solid rgba(255, 255, 255, .20) !important;
    border-radius: 20px !important;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        radial-gradient(circle at 88% 16%, rgba(255, 255, 255, .19), transparent 27%),
        linear-gradient(135deg, #082f61 0%, #0d4f8b 50%, #0b72a8 100%) !important;
    background-size: 34px 34px, 34px 34px, auto, auto !important;
    color: #ffffff !important;
    box-shadow: 0 22px 56px rgba(8, 47, 97, .24) !important;
}

.record-hero::before {
    content: "" !important;
    position: absolute !important;
    z-index: 0 !important;
    top: -135px !important;
    right: -42px !important;
    width: 360px !important;
    height: 360px !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 52px !important;
    box-shadow:
        0 0 0 38px rgba(255, 255, 255, .038),
        0 0 0 76px rgba(255, 255, 255, .022) !important;
    transform: rotate(28deg) !important;
    pointer-events: none !important;
}

.record-hero > * {
    position: relative !important;
    z-index: 1 !important;
}

.record-hero h1 {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: clamp(34px, 3vw, 48px) !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: -.045em !important;
}

.record-hero p {
    color: #dbeafe !important;
}

.record-hero .hero-meta-strip {
    border-top-color: rgba(255, 255, 255, .18) !important;
    background: rgba(5, 35, 70, .24) !important;
}

.record-hero .hero-meta-item {
    border-color: rgba(255, 255, 255, .14) !important;
}

.record-hero .hero-meta-label {
    color: #bae6fd !important;
}

.record-hero .hero-meta-value {
    color: #ffffff !important;
}

@media (max-width: 980px) {
    :is(
        .admin-header.admin-header-card,
        .dashboard-hero,
        .simple-hero,
        .evaluations-hero,
        .interview-hero.admin-header-card,
        .map-header.map-hero-shell,
        .invoice-admin-header,
        .leads-admin-header,
        .commission-hero,
        .tracker-hero,
        .page-header,
        .phone-record-hero
    ) {
        min-height: 0 !important;
        padding: 30px !important;
        grid-template-columns: 1fr !important;
    }

    :is(
        .dashboard-hero .dashboard-hero-actions,
        .simple-hero > .hero-actions,
        .evaluations-hero .evaluations-hero-actions,
        .interview-hero .interview-hero-actions,
        .map-hero-shell .map-hero-actions,
        .invoice-admin-header .header-actions,
        .leads-admin-header .header-actions,
        .commission-hero .commission-filters,
        .phone-record-hero .phone-record-actions,
        .record-hero .hero-actions
    ) {
        justify-content: flex-start !important;
    }
}

@media (max-width: 640px) {
    :is(
        .admin-header.admin-header-card,
        .dashboard-hero,
        .simple-hero,
        .evaluations-hero,
        .interview-hero.admin-header-card,
        .map-header.map-hero-shell,
        .invoice-admin-header,
        .leads-admin-header,
        .commission-hero,
        .tracker-hero,
        .page-header,
        .phone-record-hero
    ) {
        padding: 24px 18px 27px !important;
        border-radius: 16px !important;
        gap: 24px !important;
    }

    :is(
        .admin-header.admin-header-card,
        .dashboard-hero,
        .simple-hero,
        .evaluations-hero,
        .interview-hero.admin-header-card,
        .map-header.map-hero-shell,
        .invoice-admin-header,
        .leads-admin-header,
        .commission-hero,
        .tracker-hero,
        .page-header,
        .phone-record-hero
    ) h1 {
        font-size: 38px !important;
    }

    :is(
        .admin-header.admin-header-card,
        .dashboard-hero,
        .simple-hero,
        .evaluations-hero,
        .interview-hero.admin-header-card,
        .map-header.map-hero-shell,
        .invoice-admin-header,
        .leads-admin-header,
        .commission-hero,
        .tracker-hero,
        .page-header,
        .phone-record-hero
    ) p:not(.eyebrow):not(.dashboard-eyebrow):not(.evaluations-eyebrow) {
        font-size: 14px !important;
    }

    :is(
        .dashboard-hero .dashboard-hero-actions,
        .simple-hero > .hero-actions,
        .evaluations-hero .evaluations-hero-actions,
        .interview-hero .interview-hero-actions,
        .map-hero-shell .map-hero-actions,
        .invoice-admin-header .header-actions,
        .leads-admin-header .header-actions,
        .commission-hero .commission-filters,
        .phone-record-hero .phone-record-actions,
        .record-hero .hero-actions
    ) {
        width: 100% !important;
    }

    :is(
        .dashboard-hero .dashboard-hero-actions,
        .simple-hero > .hero-actions,
        .evaluations-hero .evaluations-hero-actions,
        .interview-hero .interview-hero-actions,
        .map-hero-shell .map-hero-actions,
        .invoice-admin-header .header-actions,
        .leads-admin-header .header-actions,
        .commission-hero .commission-filters,
        .phone-record-hero .phone-record-actions,
        .record-hero .hero-actions
    ) > :is(a, button) {
        flex: 1 1 170px !important;
    }
}

@media print {
    :is(
        .admin-header.admin-header-card,
        .dashboard-hero,
        .simple-hero,
        .evaluations-hero,
        .interview-hero.admin-header-card,
        .map-header.map-hero-shell,
        .invoice-admin-header,
        .leads-admin-header,
        .commission-hero,
        .tracker-hero,
        .page-header,
        .phone-record-hero,
        .record-hero
    ) {
        border-color: #cbd5e1 !important;
        background: #ffffff !important;
        color: #111827 !important;
        box-shadow: none !important;
    }

    :is(
        .admin-header.admin-header-card,
        .dashboard-hero,
        .simple-hero,
        .evaluations-hero,
        .interview-hero.admin-header-card,
        .map-header.map-hero-shell,
        .invoice-admin-header,
        .leads-admin-header,
        .commission-hero,
        .tracker-hero,
        .page-header,
        .phone-record-hero,
        .record-hero
    ) :is(h1, p, .eyebrow, .dashboard-eyebrow, .evaluations-eyebrow, .map-eyebrow, .hero-eyebrow) {
        color: #111827 !important;
        text-shadow: none !important;
    }
}
