@font-face {
    font-family: "DM Sans";
    src: url(dm-sans.ttf) format("truetype");
    font-weight: 100 1000;
    font-style: normal;
    font-display: swap;
}

/* System administration shell */
.admin-body {
    --admin-sidebar-width: 252px;
    min-width: 320px;
    color: #1c2f4a;
    background: #f4f7fb;
}
.admin-topbar {
    position: fixed;
    z-index: 80;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    height: 72px;
    padding: 0 24px;
    border-bottom: 1px solid #dce4ee;
    background: rgba(255,255,255,.97);
    box-shadow: 0 1px 8px rgba(21,45,79,.04);
    backdrop-filter: blur(12px);
}
.admin-brand {
    display: flex;
    align-items: center;
    width: calc(var(--admin-sidebar-width) - 24px);
    height: 100%;
    padding-right: 24px;
    border-right: 1px solid #e4e9f0;
}
.admin-brand img { display: block; width: 146px; height: auto; }
.admin-product-name {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-left: 22px;
    font-size: 14px;
}
.admin-product-name span { color: #607087; }
.admin-product-name strong { color: #17304f; }
.admin-product-name strong::before { content: "/"; margin-right: 9px; color: #a2afbf; font-weight: 400; }
.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}
.admin-view-site {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #3f5572;
    font-size: 13px;
    font-weight: 700;
}
.admin-view-site .icon { width: 15px; height: 15px; }
.admin-user-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 20px;
    border-left: 1px solid #e1e7ef;
}
.admin-user-summary > span:last-child { display: grid; }
.admin-user-summary strong { color: #1f3552; font-size: 13px; line-height: 1.25; }
.admin-user-summary small { color: #718096; font-size: 11px; }
.admin-user-avatar {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #0877ff, #0647bf);
    box-shadow: 0 4px 10px rgba(0,101,255,.2);
    font-size: 14px;
    font-weight: 800;
}
.admin-menu-toggle { display: none; }
.admin-sidebar {
    position: fixed;
    z-index: 60;
    top: 72px;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: var(--admin-sidebar-width);
    padding: 23px 14px 18px;
    border-right: 1px solid #dce4ee;
    background: #fff;
}
.admin-navigation { display: grid; gap: 26px; }
.admin-nav-group { display: grid; gap: 5px; }
.admin-nav-label {
    padding: 0 12px 7px;
    color: #8a98aa;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 9px;
    color: #52647b;
    font-size: 14px;
    font-weight: 650;
    transition: color .15s ease, background .15s ease, box-shadow .15s ease;
}
.admin-nav-link:hover { color: #0646c6; background: #f2f6fc; }
.admin-nav-link.current {
    color: #064ecf;
    background: #eaf2ff;
    box-shadow: inset 3px 0 #0065ff;
}
.admin-nav-link .icon { width: 18px; height: 18px; stroke-width: 1.8; }
.admin-sidebar-footer {
    display: grid;
    gap: 14px;
    margin-top: auto;
    padding: 18px 12px 0;
    border-top: 1px solid #e5eaf1;
}
.admin-sidebar-footer p { display: grid; }
.admin-sidebar-footer strong { color: #263c58; font-size: 12px; }
.admin-sidebar-footer span { color: #8794a5; font-size: 11px; }
.admin-sidebar-footer button { padding: 0; color: #5d6f85; font-size: 13px; font-weight: 700; text-align: left; }
.admin-sidebar-footer button:hover { color: #a52626; }
.admin-sidebar-backdrop { display: none; }
.admin-shell-main {
    min-height: 100vh;
    margin-left: var(--admin-sidebar-width);
    padding-top: 72px;
}
.admin-content {
    width: min(100%, 1500px);
    margin: 0 auto;
    padding: 34px 38px 60px;
}
.admin-content > .flash { margin: 0 0 22px; }
.admin-body .admin-hero,
.admin-body .admin-form-heading {
    align-items: center;
    gap: 28px;
    margin: 0 0 25px;
}
.admin-body .admin-form-heading { align-items: flex-start; }
.admin-page-kicker {
    display: block;
    margin-bottom: 7px;
    color: #0065ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.admin-body .admin-hero h1,
.admin-body .admin-form-heading h1 {
    margin: 0 0 7px;
    color: #172e4d;
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.15;
    letter-spacing: -.025em;
}
.admin-body .admin-hero p,
.admin-body .admin-form-heading p { max-width: 740px; color: #66778e; font-size: 15px; }
.admin-body .back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    color: #53657b;
    font-size: 13px;
    font-weight: 700;
}
.admin-body .back .icon { width: 16px; height: 16px; }
.admin-body .primary,
.admin-body .secondary-button {
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    box-shadow: none;
}
.admin-body .primary { box-shadow: 0 5px 12px rgba(0,101,255,.18); }
.admin-body .ad-stat-grid { gap: 16px; margin-bottom: 22px; }
.admin-body .ad-stat-grid > div {
    flex-direction: row;
    align-items: center;
    gap: 15px;
    min-height: 116px;
    padding: 20px;
    border: 1px solid #e0e6ee;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(25,50,85,.045);
}
.admin-body .ad-stat-grid p { display: grid; min-width: 0; }
.admin-body .ad-stat-grid p > span {
    color: #66778e;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.admin-body .ad-stat-grid strong { margin: 4px 0 1px; color: #172e4d; font-size: 28px; }
.admin-body .ad-stat-grid small { overflow: hidden; color: #8a98aa; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .ad-stat-grid .admin-stat-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 10px;
    color: #0867e8;
    background: #eaf2ff;
}
.admin-body .ad-stat-grid .admin-stat-icon.positive { color: #087044; background: #e7f8ef; }
.admin-body .admin-stat-icon .icon { width: 21px; height: 21px; }
.admin-body .admin-panel {
    overflow: hidden;
    margin-bottom: 24px;
    border-color: #dee5ee;
    border-radius: 12px;
    box-shadow: 0 6px 22px rgba(25,50,85,.045);
}
.admin-body .admin-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    background: #fff;
}
.admin-body .admin-panel-heading h2 { color: #1d3452; font-size: 19px; }
.admin-body .admin-panel-heading p { color: #708096; font-size: 12px; }
.admin-record-count {
    flex: none;
    padding: 5px 9px;
    border-radius: 99px;
    color: #5e7087;
    background: #f0f3f7;
    font-size: 11px;
    font-weight: 750;
}
.admin-body .ad-admin-row {
    grid-template-columns: 150px minmax(250px, 1fr) 230px 118px;
    gap: 20px;
    padding: 18px 24px;
    background: #fff;
    transition: background .15s ease;
}
.admin-body .ad-admin-row:hover { background: #fbfdff; }
.admin-body .ad-admin-creative { height: 78px; border-radius: 7px; }
.admin-body .ad-admin-info h3 { color: #183150; font-size: 16px; }
.admin-body .ad-performance dt { color: #7a889b; font-size: 10px; text-transform: uppercase; letter-spacing: .03em; }
.admin-body .ad-performance dd { color: #203751; font-size: 14px; }
.admin-body .ad-row-actions { gap: 8px; }
.admin-body .ad-row-actions a,
.admin-body .ad-row-actions button { font-size: 12px; }
.admin-body .ad-status-action { color: #6c7787; }
.admin-body .ad-status-action:hover { color: #a52626; }
.admin-body .status-pill { padding: 4px 8px; font-size: 9px; }
.admin-body .ad-editor { margin-bottom: 0; }
.admin-body .ad-editor .form-section,
.admin-body .creative-preview-card,
.admin-body .delivery-card,
.admin-body .archive-card {
    border-color: #dee5ee;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(25,50,85,.045);
}
.admin-body .ad-editor-sidebar { top: 92px; }
.admin-body .analytics-kpis article {
    border-color: #dee5ee;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(25,50,85,.045);
}
.admin-body .analytics-kpis span { color: #66778e; font-size: .72rem; }
.admin-body .analytics-kpis strong { color: #172e4d; }
.admin-body .analytics-chart,
.admin-body .analytics-table th,
.admin-body .analytics-table td,
.admin-body .analytics-breakdown li { border-color: #e8edf3; }
.admin-body .analytics-table th { background: #f8fafc; }
.admin-body .status-pill.hidden { color: #7a3e04; background: #fff0d9; }
.system-job-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}
.system-job-stat-grid article {
    display: grid;
    gap: 5px;
    min-height: 100px;
    align-content: center;
    padding: 19px 21px;
    border: 1px solid #e0e6ee;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(25,50,85,.045);
}
.system-job-stat-grid span { color: #66778e; font-size: 13px; font-weight: 650; }
.system-job-stat-grid strong { color: #172e4d; font-size: 27px; line-height: 1.1; }
.system-job-filters {
    display: grid;
    grid-template-columns: minmax(230px, 1.5fr) repeat(3, minmax(145px, .75fr)) auto;
    gap: 12px;
    align-items: end;
    padding: 18px 24px;
    border-bottom: 1px solid #e5eaf1;
    background: #f9fbfd;
}
.system-job-filters label { display: grid; gap: 6px; color: #5c6e85; font-size: 12px; font-weight: 700; }
.system-job-filters input,
.system-job-filters select {
    width: 100%;
    min-height: 40px;
    padding: 8px 11px;
    border: 1px solid #ccd6e2;
    border-radius: 7px;
    background: #fff;
    font-size: 13px;
}
.system-job-filter-actions { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.system-job-filter-actions a { color: #596d85; font-size: 12px; font-weight: 700; }
.discovery-run-filters {
    display: flex;
    align-items: end;
    gap: 12px;
    padding: 18px 24px;
    border-bottom: 1px solid #e5eaf1;
    background: #f9fbfd;
}
.discovery-run-filters label { display: grid; min-width: 180px; gap: 6px; color: #5c6e85; font-size: 12px; font-weight: 700; }
.discovery-run-filters select { min-height: 40px; padding: 8px 11px; border: 1px solid #ccd6e2; border-radius: 7px; background: #fff; font-size: 13px; }
.discovery-query { display: flex; align-items: flex-start; gap: 10px; padding: 14px 24px; border-top: 1px solid #edf1f5; color: #344963; font-size: 13px; }
.discovery-query .icon { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; color: #1764ce; }
.discovery-empty { padding: 22px 24px; border-top: 1px solid #edf1f5; color: #7b899a; font-size: 13px; }
.source-review-row { display: grid; gap: 8px; padding: 17px 24px; border-top: 1px solid #edf1f5; }
.source-review-row > div { display: flex; align-items: center; gap: 9px; }
.source-review-row strong { color: #263d59; font-size: 14px; }
.source-review-row p { color: #60738a; font-size: 13px; line-height: 1.55; }
.source-review-row a { display: inline-flex; width: fit-content; align-items: center; gap: 5px; color: #075bd8; font-size: 12px; font-weight: 750; }
.source-review-row a .icon { width: 13px; height: 13px; }
.status-pill.completed,
.status-pill.open { color: #075e3c; background: #e4f7ee; }
.status-pill.failed,
.status-pill.closed { color: #8b2424; background: #fde8e8; }
.status-pill.running,
.status-pill.unverifiable { color: #71510a; background: #fff3d5; }
.discovery-run-error { margin-bottom: 22px; padding: 16px 18px; border: 1px solid #efc7c7; border-radius: 10px; color: #7f2626; background: #fffafa; }
.discovery-run-error strong { font-size: 14px; }
.discovery-run-error p { margin-top: 4px; font-size: 13px; }
.system-jobs-table-wrap { overflow-x: auto; }
.system-jobs-table { width: 100%; border-collapse: collapse; }
.system-jobs-table th,
.system-jobs-table td { padding: 15px 18px; border-bottom: 1px solid #e8edf3; text-align: left; vertical-align: middle; }
.system-jobs-table th {
    color: #748398;
    background: #fff;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .055em;
    text-transform: uppercase;
    white-space: nowrap;
}
.system-jobs-table tr:last-child td { border-bottom: 0; }
.system-jobs-table tbody tr { transition: background .15s ease; }
.system-jobs-table tbody tr:hover { background: #fbfdff; }
.system-jobs-table td { color: #344963; font-size: 13px; }
.system-jobs-table td > span:not(.status-pill):not(.origin-badge),
.system-jobs-table td > strong + span { display: block; margin-top: 3px; color: #7d8a9c; font-size: 11px; }
.system-job-title { display: block; min-width: 190px; color: #173354; font-size: 14px; font-weight: 750; }
.origin-badge {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 99px;
    color: #495d75;
    background: #eef2f6;
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.origin-badge.institution { color: #075e3c; background: #e4f7ee; }
.system-job-row-actions a { color: #0656d5; font-size: 12px; font-weight: 750; }
.admin-job-breadcrumb { margin-bottom: 18px; }
.admin-job-breadcrumb a { display: inline-flex; align-items: center; gap: 6px; color: #5b6e86; font-size: 13px; font-weight: 700; }
.admin-job-breadcrumb .icon { width: 16px; height: 16px; }
.admin-job-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 25px;
}
.admin-job-labels { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.admin-job-header h1 { max-width: 850px; color: #172e4d; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; letter-spacing: -.025em; }
.admin-job-header p { margin-top: 7px; color: #64768d; font-size: 15px; }
.admin-job-primary-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.admin-job-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; }
.admin-job-main,
.admin-job-sidebar { display: grid; gap: 18px; }
.admin-job-sidebar { position: sticky; top: 94px; }
.admin-job-section { padding: 22px 24px; border-bottom: 1px solid #e8edf3; }
.admin-job-section:last-child { border-bottom: 0; }
.admin-job-section h3 { margin: 0 0 8px; color: #263c58; font-size: 14px; }
.admin-job-section p,
.admin-job-section li { color: #4f6279; font-size: 14px; line-height: 1.7; }
.admin-job-section ul { margin: 0; padding-left: 20px; }
.admin-job-section li + li { margin-top: 5px; }
.admin-job-muted { color: #8995a5 !important; }
.admin-job-source > div:not(.admin-panel-heading) { display: grid; gap: 3px; padding: 16px 24px; border-bottom: 1px solid #e8edf3; }
.admin-job-source > div:last-child { border-bottom: 0; }
.admin-job-source span,
.admin-job-facts dt { color: #7c899a; font-size: 11px; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
.admin-job-source strong,
.admin-job-source a { color: #263d59; font-size: 14px; font-weight: 700; }
.admin-job-source a { display: inline-flex; align-items: center; gap: 5px; color: #075bd8; }
.admin-job-source a .icon { width: 14px; height: 14px; }
.admin-job-facts dl { margin: 0; }
.admin-job-facts dl > div { display: grid; gap: 3px; padding: 13px 18px; border-bottom: 1px solid #e8edf3; }
.admin-job-facts dl > div:last-child { border-bottom: 0; }
.admin-job-facts dd { overflow-wrap: anywhere; color: #30465f; font-size: 13px; font-weight: 650; }
.admin-danger-zone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 24px;
    border-color: #efc7c7 !important;
    background: #fffafa !important;
}
.admin-danger-zone h2 { margin: 0 0 4px; color: #7f2626; font-size: 17px; }
.admin-danger-zone p { color: #8a5b5b; font-size: 12px; }
.admin-danger-zone form { flex: none; }

@media (max-width: 1180px) {
    .admin-body .ad-stat-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-body .ad-admin-row { grid-template-columns: 130px minmax(230px, 1fr) 190px; }
    .admin-body .ad-row-actions { grid-column: 2 / -1; flex-direction: row; }
    .system-job-filters { grid-template-columns: repeat(4, 1fr); }
    .system-job-search { grid-column: span 2; }
    .system-job-filter-actions { grid-column: span 2; }
}
@media (max-width: 920px) {
    .admin-topbar { padding: 0 18px; }
    .admin-menu-toggle {
        display: grid;
        gap: 4px;
        width: 38px;
        height: 38px;
        margin-right: 10px;
        place-content: center;
        border-radius: 8px;
        color: #334b68;
    }
    .admin-menu-toggle:hover { background: #f0f4f9; }
    .admin-menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
    .admin-brand { width: auto; padding-right: 0; border-right: 0; }
    .admin-brand img { width: 132px; }
    .admin-product-name { display: none; }
    .admin-user-summary > span:last-child { display: none; }
    .admin-sidebar { transform: translateX(-102%); box-shadow: 12px 0 30px rgba(19,43,76,.15); transition: transform .2s ease; }
    .admin-menu-open .admin-sidebar { transform: translateX(0); }
    .admin-sidebar-backdrop {
        position: fixed;
        z-index: 50;
        inset: 72px 0 0;
        display: block;
        visibility: hidden;
        background: rgba(14,32,58,.38);
        opacity: 0;
        transition: opacity .2s ease, visibility .2s ease;
    }
    .admin-menu-open .admin-sidebar-backdrop { visibility: visible; opacity: 1; }
    .admin-shell-main { margin-left: 0; }
    .admin-content { padding: 30px 24px 50px; }
    .admin-body .ad-editor-sidebar { position: static; }
    .admin-job-detail-grid { grid-template-columns: 1fr; }
    .admin-job-sidebar { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
    .admin-topbar { height: 64px; padding: 0 14px; }
    .admin-sidebar { top: 64px; }
    .admin-sidebar-backdrop { top: 64px; }
    .admin-shell-main { padding-top: 64px; }
    .admin-view-site { font-size: 0; }
    .admin-view-site .icon { width: 19px; height: 19px; }
    .admin-user-summary { padding-left: 14px; }
    .admin-content { padding: 25px 16px 42px; }
    .admin-body .admin-hero,
    .admin-body .admin-form-heading { align-items: flex-start; flex-direction: column; margin: 0 0 22px; }
    .admin-body .admin-hero h1,
    .admin-body .admin-form-heading h1 { font-size: 28px; }
    .admin-body .analytics-actions { align-items: stretch; width: 100%; }
    .admin-body .analytics-actions > * { flex: 1; }
    .admin-body .ad-admin-row { grid-template-columns: 110px minmax(0, 1fr); padding: 16px; }
    .admin-body .ad-performance,
    .admin-body .ad-row-actions { grid-column: 2; }
    .admin-body .admin-panel-heading { padding: 17px 18px; }
    .system-job-stat-grid { grid-template-columns: 1fr 1fr; }
    .system-job-filters { grid-template-columns: 1fr 1fr; padding: 16px; }
    .system-job-search { grid-column: 1 / -1; }
    .admin-job-header { align-items: flex-start; flex-direction: column; }
    .admin-job-primary-actions { justify-content: flex-start; width: 100%; }
    .admin-job-sidebar { grid-template-columns: 1fr; }
    .admin-danger-zone { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
    .admin-brand img { width: 112px; }
    .admin-topbar-actions { gap: 10px; }
    .admin-user-summary { border-left: 0; padding-left: 0; }
    .admin-body .ad-stat-grid { grid-template-columns: 1fr; }
    .admin-body .ad-stat-grid > div { min-height: 104px; }
    .admin-body .ad-admin-row { grid-template-columns: 1fr; }
    .admin-body .ad-admin-creative { height: auto; max-height: 170px; }
    .admin-body .ad-performance,
    .admin-body .ad-row-actions { grid-column: 1; }
    .admin-body .admin-panel-heading { align-items: flex-start; }
    .system-job-stat-grid,
    .system-job-filters { grid-template-columns: 1fr; }
    .system-job-search,
    .system-job-filter-actions { grid-column: 1; }
    .system-job-filter-actions { align-items: stretch; flex-direction: column; }
    .system-job-filter-actions .primary { width: 100%; }
    .admin-job-primary-actions { align-items: stretch; flex-direction: column; }
    .admin-job-primary-actions > *,
    .admin-job-primary-actions button,
    .admin-job-primary-actions a { width: 100%; }
    .admin-danger-zone form,
    .admin-danger-zone button { width: 100%; }
}

/* First-party analytics and reporting */
.analytics-notice {
    position: fixed;
    z-index: 1000;
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 18px 20px;
    color: #fff;
    background: #09245c;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(6,23,55,.3);
}
.analytics-notice strong { display: block; margin-bottom: 4px; font-size: 1rem; }
.analytics-notice p { max-width: 760px; margin: 0; color: #dce8ff; font-size: .88rem; line-height: 1.5; }
.analytics-notice a { color: #fff; text-decoration: underline; }
.analytics-notice-actions, .analytics-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.analytics-notice button, .secondary-button {
    min-height: 42px; padding: 10px 16px; border: 1px solid #cad5e7; border-radius: 10px;
    color: #17315f; background: #fff; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none;
}
.analytics-notice button:first-child { color: #fff; background: transparent; border-color: rgba(255,255,255,.5); }
.legal-page { max-width: 880px; margin: 56px auto 80px; }
.legal-page h1 { max-width: 680px; margin: 8px 0 24px; font-size: clamp(2rem, 5vw, 3.4rem); }
.legal-page h2 { margin: 32px 0 8px; color: var(--blue-dark); }
.legal-page p { color: var(--muted); line-height: 1.75; }
.privacy-header { padding-bottom: 28px; }
.privacy-intro { max-width: 720px; margin-bottom: 10px; font-size: 1.08rem; }
.privacy-updated { margin: 0; font-size: .83rem; font-weight: 700; }
.privacy-contents { margin: 0 0 34px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: #f7faff; }
.privacy-contents strong { display: block; margin-bottom: 12px; color: var(--blue-dark); }
.privacy-contents div { display: flex; flex-wrap: wrap; gap: 9px 22px; }
.privacy-contents a,
.privacy-notice section a { color: var(--blue); font-weight: 700; text-underline-offset: 3px; }
.privacy-contents a { font-size: .91rem; text-decoration: none; }
.privacy-notice section { padding: 4px 0 22px; scroll-margin-top: 110px; }
.privacy-notice section + section { border-top: 1px solid var(--line); }
.privacy-notice h2 { margin-top: 30px; font-size: clamp(1.35rem, 3vw, 1.65rem); }
.privacy-notice h3 { margin: 0 0 6px; color: var(--blue-dark); font-size: 1rem; }
.privacy-notice ul { margin: 12px 0 18px; padding-left: 22px; color: var(--muted); line-height: 1.7; }
.privacy-notice li + li { margin-top: 7px; }
.privacy-data-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.privacy-data-list > div { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.privacy-data-list p { margin: 0; font-size: .92rem; line-height: 1.65; }
.privacy-table-wrap { margin: 18px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.privacy-table { width: 100%; border-collapse: collapse; color: var(--muted); font-size: .9rem; }
.privacy-table th { color: var(--blue-dark); background: #f7faff; text-align: left; }
.privacy-table th,
.privacy-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.55; }
.privacy-table tbody tr:last-child td { border-bottom: 0; }
.privacy-table code { color: var(--blue-dark); font-size: .82rem; overflow-wrap: anywhere; }
.privacy-choice { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 22px 0; padding: 22px; border: 1px solid #bfd4fa; border-radius: 16px; background: #f1f6ff; }
.privacy-choice h3 { margin: 9px 0 4px; }
.privacy-choice p { margin: 0; font-size: .91rem; }
.privacy-status { display: inline-flex; padding: 5px 9px; border-radius: 999px; color: #075834; background: #dff7eb; font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.privacy-status.is-off { color: #743f00; background: #fff0ce; }
.privacy-choice form { flex: 0 0 auto; }
.privacy-choice-button { min-height: 44px; padding: 11px 16px; border: 1px solid var(--blue); border-radius: 10px; color: #fff; background: var(--blue); font: inherit; font-size: .9rem; font-weight: 800; cursor: pointer; }
.privacy-choice-button:hover { background: var(--blue-dark); }
.privacy-choice-button:focus-visible,
.privacy-contents a:focus-visible,
.privacy-notice section a:focus-visible { outline: 3px solid #9fc2ff; outline-offset: 3px; }
.analytics-hero { align-items: end; }
.analytics-actions form label { display: grid; gap: 5px; color: var(--muted); font-size: .76rem; font-weight: 700; }
.analytics-actions select { min-width: 130px; padding: 10px 32px 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.analytics-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 20px; }
.analytics-kpis article { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 8px 28px rgba(24,55,100,.05); }
.analytics-kpis span, .analytics-kpis small { display: block; color: var(--muted); }
.analytics-kpis span { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.analytics-kpis strong { display: block; margin: 7px 0 3px; color: var(--blue-dark); font-size: 1.9rem; }
.analytics-kpis small { font-size: .78rem; }
.analytics-panel { margin-bottom: 18px; }
.analytics-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.analytics-chart { display: flex; align-items: end; gap: 4px; height: 220px; padding: 20px 12px 0; border-top: 1px solid #edf1f7; }
.analytics-chart-day { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: end; height: 100%; min-width: 2px; }
.analytics-chart-bar { width: min(100%, 22px); min-height: 2px; background: linear-gradient(180deg,#0a74ff,#164aa4); border-radius: 5px 5px 1px 1px; }
.analytics-chart-day small { height: 18px; margin-top: 5px; color: var(--muted); font-size: .65rem; }
.analytics-table-wrap { overflow-x: auto; }
.analytics-table { width: 100%; border-collapse: collapse; }
.analytics-table th, .analytics-table td { padding: 12px 14px; border-top: 1px solid #edf1f7; text-align: left; white-space: nowrap; }
.analytics-table th { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.analytics-table td { color: #33415d; font-size: .86rem; }
.analytics-table code { color: var(--blue-dark); background: #f1f5fb; padding: 4px 7px; border-radius: 6px; }
.analytics-breakdown { margin: 0; padding: 0; list-style: none; }
.analytics-breakdown li { display: flex; justify-content: space-between; padding: 13px 2px; border-top: 1px solid #edf1f7; color: #33415d; }
.analytics-breakdown strong { color: var(--blue-dark); }
.analytics-funnel { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; }
.analytics-funnel article { padding: 18px; background: #f7f9fd; border: 1px solid #e4eaf4; border-radius: 12px; }
.analytics-funnel span, .analytics-funnel small { display: block; color: var(--muted); }
.analytics-funnel span { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.analytics-funnel strong { display: block; margin: 5px 0; color: var(--blue-dark); font-size: 1.55rem; }
.analytics-funnel small { font-size: .74rem; }
.analytics-funnel i { color: #7d91b2; font-style: normal; }
@media (max-width: 850px) {
    .analytics-kpis { grid-template-columns: repeat(2, 1fr); }
    .analytics-columns { grid-template-columns: 1fr; }
    .analytics-funnel { grid-template-columns: 1fr; }
    .analytics-funnel i { display: none; }
    .analytics-notice { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
    .analytics-kpis { grid-template-columns: 1fr; }
    .analytics-actions, .analytics-notice-actions { align-items: stretch; flex-direction: column; width: 100%; }
    .analytics-actions > *, .analytics-notice-actions button { width: 100%; }
    .analytics-chart { height: 170px; }
}
:root {
    --blue: #0065ff;
    --blue-dark: #0646c6;
    --ink: #172e4d;
    --muted: #53657b;
    --line: #dde5ee;
    --soft: #f1f6ff;
    --wrap: 1216px;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    color: var(--ink);
    font:
        16px/1.5 "DM Sans",
        Arial,
        sans-serif;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: var(--blue-dark);
}
button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}
button,
select {
    cursor: pointer;
}
button {
    border: 0;
    background: none;
}
p,
h1,
h2,
h3,
dl,
dd {
    margin: 0;
}
.wrap {
    width: min(calc(100% - 96px), var(--wrap));
    margin-inline: auto;
}
.icon {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #0080ba;
    outline-offset: 3px;
}

.account-actions,
.account-actions form,
.form-actions,
.workflow-actions > div,
.choice-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.country-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid #dce5f0;
    border-radius: 9px;
    background: #f6f9fd;
}
.country-switcher > span { margin: 0 5px; color: #52667e; font-size: 12px; font-weight: 700; }
.country-switcher a { padding: 6px 8px; border-radius: 6px; color: #52667e; font-size: 11px; font-weight: 850; }
.country-switcher a.current { color: #fff; background: var(--blue); }
.portal-link,
.secondary-button {
    border: 1px solid var(--blue);
    color: var(--blue-dark);
    border-radius: 8px;
    padding: 9px 15px;
    font-size: 14px;
    font-weight: 700;
}
.text-button {
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
    padding: 7px;
}
.text-button:hover,
.text-button.danger { color: #a52626; }
.flash {
    margin-top: 22px;
    border: 1px solid;
    border-radius: 10px;
    padding: 13px 16px;
}
.flash.success { background: #edfff5; border-color: #9fddbc; color: #12613a; }
.flash.error { background: #fff1f1; border-color: #efb4b4; color: #8c2424; }
.flash ul { margin: 8px 0 0; }
.portal-hero,
.portal-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin: 42px 0 28px;
}
.portal-hero {
    align-items: center;
    border-radius: 18px;
    background: linear-gradient(120deg, #eef5ff, #f8fbff);
    padding: 34px;
}
.portal-hero h1,
.portal-heading h1 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: -2px;
    margin: 8px 0;
}
.portal-hero p,
.portal-heading p,
.institution-card p,
.portal-empty p,
.connected-products p { color: var(--muted); }
.institution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.institution-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 12px 35px #12325b0a;
}
.institution-card .primary,
.institution-card .role-note { grid-column: 1 / -1; }
.institution-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--soft);
    color: var(--blue-dark);
    font-weight: 800;
}
.institution-card h2 { margin: 7px 0 3px; font-size: 20px; }
.role-note { font-size: 13px; color: #8a5b14; }
.connected-products,
.portal-empty,
.form-section,
.workflow-actions {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px;
    margin: 24px 0;
}
.portal-empty { text-align: center; padding: 42px; }
.connected-products h2,
.portal-empty h2,
.form-section h2,
.workflow-actions h2 { margin: 0 0 7px; }
.status-pill {
    display: inline-flex;
    border-radius: 99px;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .6px;
}
.status-pill.published { color: #087044; background: #e4f8ef; }
.status-pill.draft { color: #7d5708; background: #fff3cf; }
.status-pill.closed { color: #6c7787; background: #edf0f4; }
.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}
.stat-row > div {
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 17px;
}
.stat-row strong { display: block; font-size: 25px; }
.stat-row span { color: var(--muted); font-size: 13px; }
.management-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.management-table { width: 100%; border-collapse: collapse; }
.management-table th,
.management-table td { padding: 15px 17px; border-bottom: 1px solid var(--line); text-align: left; }
.management-table th { background: #f7f9fc; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; }
.management-table tr:last-child td { border-bottom: 0; }
.management-table td > span:not(.status-pill) { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.table-actions { white-space: nowrap; }
.table-actions a { color: var(--blue-dark); font-weight: 700; margin-left: 12px; }
.posting-form { max-width: 920px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.posting-form label,
.posting-form legend { display: grid; gap: 7px; font-size: 13px; font-weight: 750; }
.posting-form input,
.posting-form select,
.posting-form textarea {
    width: 100%;
    border: 1px solid #cbd6e2;
    border-radius: 8px;
    padding: 11px 12px;
    background: white;
}
.posting-form input:disabled { background: #f1f4f7; color: #667486; }
.posting-form textarea { resize: vertical; font: inherit; }
.posting-form fieldset { border: 0; padding: 20px 0 0; margin: 0; }
.posting-form legend small { color: var(--muted); font-weight: 400; }
.requirement-list { display: grid; gap: 10px; margin-top: 9px; }
.choice-row { margin-bottom: 16px; }
.choice-row label { display: flex; grid-template-columns: auto 1fr; align-items: center; }
.choice-row input { width: auto; }
.form-actions { margin: 20px 0 36px; }
.workflow-actions { max-width: 920px; background: #f8fbff; }
.workflow-actions p { color: var(--muted); margin-bottom: 14px; }
.danger-button { border: 1px solid #c64848; color: #a52626; border-radius: 8px; padding: 10px 16px; font-weight: 750; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
@media (max-width: 800px) {
    .account-actions .brand-link { display: none; }
    .portal-hero,
    .portal-heading { align-items: flex-start; flex-direction: column; }
    .form-grid,
    .stat-row { grid-template-columns: 1fr 1fr; }
    .form-grid .span-2 { grid-column: auto; }
}
@media (max-width: 560px) {
    .form-grid,
    .stat-row { grid-template-columns: 1fr; }
    .choice-row { align-items: flex-start; flex-direction: column; }
}
.skip {
    position: absolute;
    top: -5em;
    padding: 10px;
    background: white;
    z-index: 5;
}
.skip:focus {
    top: 0;
}
.masthead {
    border-bottom: 1px solid var(--line);
    background: white;
}
.nav-inner {
    display: flex;
    align-items: center;
    gap: 56px;
    min-height: 77px;
}
.identity {
    display: flex;
    align-items: center;
    gap: 16px;
}
.identity img {
    width: 120px;
    height: auto;
}
.identity > span {
    border-left: 1px solid #cad5e2;
    padding-left: 16px;
    font-size: 17px;
    font-weight: 650;
    letter-spacing: -0.45px;
}
.nav-inner nav {
    display: flex;
    align-self: stretch;
    gap: 30px;
}
.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
    font-size: 14px;
    color: var(--muted);
}
.nav-link .icon {
    width: 16px;
    height: 16px;
}
.nav-link.current {
    color: var(--blue-dark);
}
.nav-link.current:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--blue);
    border-radius: 3px 3px 0 0;
}
.brand-link {
    margin-left: auto;
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 13px;
    font-weight: 650;
}
.brand-link .icon,
footer .icon {
    width: 15px;
    height: 15px;
}
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(112deg, #083aab 0%, #0649c9 47%, #0874f8 100%);
    border-radius: 19px;
    margin-top: 28px;
    min-height: 292px;
    color: white;
    display: flex;
    align-items: center;
}
.hero-copy {
    position: relative;
    z-index: 2;
    padding: 33px 0 35px 44px;
    width: 55%;
}
.eyebrow,
.field-label,
.detail-category {
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero-label {
    color: #e4efff;
}
.signal {
    background: #a7ef81;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #ffffff16;
}
.hero h1,
.saved-title h1,
.detail-head h1 {
    font-size: clamp(45px, 4.6vw, 67px);
    line-height: 1;
    letter-spacing: -3.7px;
    font-weight: 650;
}
.hero h1 {
    margin: 17px 0 13px;
}
.hero em {
    font-style: normal;
    color: #b8e9ff;
}
.hero-copy > p {
    font-size: 15px;
    line-height: 1.55;
    color: #f0f5ff;
    max-width: 420px;
}
.hero-art {
    position: absolute;
    inset: 0 0 0 50%;
    overflow: hidden;
    pointer-events: none;
}
.photo-frame {
    position: absolute;
    right: 9%;
    width: 76%;
    height: 100%;
    top: 0;
    clip-path: polygon(24% 0, 100% 0, 78% 100%, 0 100%);
    background: #dce6f4;
}
.photo-frame img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: 42% 45%;
    transform: scale(1.11);
}
.hero-art:before,
.hero-art:after {
    content: "";
    position: absolute;
    height: 155%;
    width: 2px;
    background: #7db6ff82;
    transform: rotate(18deg);
    top: -20%;
}
.hero-art:before {
    right: 81%;
}
.hero-art:after {
    right: 14%;
}
.orbit {
    position: absolute;
    transform: skew(-18deg);
    height: 110%;
    top: -5%;
}
.orbit-one {
    width: 24%;
    right: 4%;
    background: #4f9aff;
}
.orbit-two {
    width: 9%;
    left: 17%;
    background: #1c74f0;
}
.dot-field {
    position: absolute;
    left: 0;
    bottom: 25px;
    width: 68px;
    height: 49px;
    opacity: 0.4;
    background: radial-gradient(circle, #99c6ff 1.3px, transparent 1.7px) 0
        0/9px 9px;
}
.corner-cross {
    position: absolute;
    width: 23px;
    height: 23px;
    background: #a4ec82;
    clip-path: polygon(
        34% 0,
        66% 0,
        66% 34%,
        100% 34%,
        100% 66%,
        66% 66%,
        66% 100%,
        34% 100%,
        34% 66%,
        0 66%,
        0 34%,
        34% 34%
    );
}
.c1 {
    right: 4%;
    top: 17%;
}
.c2 {
    width: 12px;
    height: 12px;
    left: 16%;
    top: 14%;
    background: #a4d4ff;
}
.search-bar {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 17px;
    margin: 16px 0 32px;
    padding: 12px;
    border: 1px solid #d4deeb;
    border-radius: 13px;
    box-shadow: 0 3px 11px #19345608;
    background: white;
}
.search-bar label {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 1px 0 1px 11px;
}
.search-bar label + label {
    border-left: 1px solid var(--line);
    padding-left: 22px;
}
.search-bar label > .icon {
    color: #506781;
    width: 21px;
    height: 21px;
}
.search-bar label > span {
    min-width: 0;
    flex: 1;
}
.search-bar b {
    display: block;
    font-size: 13px;
    line-height: 1.25;
}
.search-bar input {
    border: 0;
    width: 100%;
    min-width: 0;
    font-size: 14px;
    line-height: 1.45;
    padding: 1px 0;
    background: transparent;
}
.search-bar input::placeholder {
    color: #64748b;
    opacity: 1;
}
.primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    background: var(--blue);
    color: white;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
}
.primary:hover {
    background: var(--blue-dark);
    color: white;
}
.primary .icon {
    width: 17px;
    height: 17px;
}
.board {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 40px;
    margin-bottom: 52px;
    align-items: start;
}
.sidebar {
    padding-top: 4px;
}
.sidebar h2,
.overview h2 {
    font-size: 19px;
    letter-spacing: -0.6px;
    font-weight: 700;
}
.specialty-links {
    display: grid;
    gap: 3px;
    margin: 13px 0 22px;
}
.filter {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 41px;
    padding: 8px 12px;
    color: #435570;
    font-size: 14px;
    border-radius: 7px;
}
.filter .icon {
    width: 17px;
    height: 17px;
}
.filter small {
    margin-left: auto;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}
.filter:hover {
    background: #f6f8fc;
}
.filter.selected {
    background: #eaf2ff;
    color: #0953ce;
    font-weight: 700;
}
.source-info {
    padding: 17px 13px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}
.small-symbol {
    display: inline-flex;
    color: #005dda;
    vertical-align: middle;
    margin-right: 5px;
}
.small-symbol .icon {
    width: 15px;
    height: 15px;
}
.source-info strong {
    color: var(--ink);
    font-size: 13px;
}
.source-info p {
    margin-top: 6px;
    line-height: 1.55;
}
.results-heading {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.results-heading h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -1.2px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.results-heading h2 span {
    font-variant-numeric: tabular-nums;
    font-size: 13px;
    letter-spacing: 0;
    line-height: 1.6;
    border-radius: 6px;
    padding: 0 7px;
    background: #edf2fa;
    color: #486182;
}
.sort {
    display: flex;
    gap: 5px;
    align-items: center;
    font-size: 13px;
}
.sort label {
    color: var(--muted);
}
.sort select {
    font-size: 13px;
    font-weight: 650;
    border: 0;
    background: transparent;
    padding: 5px 0;
    max-width: 120px;
}
.job-list {
    display: grid;
    gap: 11px;
}
.listing {
    display: flex;
    align-items: flex-start;
    position: relative;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    transition:
        box-shadow 0.15s,
        border-color 0.15s;
}
.listing:hover {
    border-color: #a5c1ed;
    box-shadow: 0 3px 14px #173d7b0b;
}
.tone-blue {
    --tint: #eaf1ff;
    --tone: #1c55c5;
}
.tone-teal {
    --tint: #e2f6f1;
    --tone: #127568;
}
.tone-violet {
    --tint: #f1edff;
    --tone: #6953ab;
}
.tone-amber {
    --tint: #fff3d6;
    --tone: #855d09;
}
.tone-pink {
    --tint: #fcecf2;
    --tone: #a32c62;
}
.tone-green {
    --tint: #e8f5e5;
    --tone: #3d753f;
}
.role-icon {
    background: var(--tint);
    color: var(--tone);
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    flex: none;
}
.role-icon .icon {
    width: 25px;
    height: 25px;
}
.listing-body {
    flex: 1;
    min-width: 0;
}
.field-label {
    color: var(--tone);
    font-size: 10px;
    letter-spacing: 1.25px;
    display: inline-block;
    line-height: 1.3;
    margin: 1px 0 5px;
}
.opportunity-badge {
    display: inline-flex;
    margin-left: 7px;
    padding: 3px 7px;
    border-radius: 999px;
    color: #42617f;
    background: #edf3f8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .02em;
}
.opportunity-badge.international { color: #7b4800; background: #fff2d8; }
.opportunity-badge.remote { color: #00674f; background: #ddf7ef; }
.scope-links {
    display: flex;
    gap: 8px;
    margin: 20px 0 2px;
    overflow-x: auto;
    scrollbar-width: thin;
}
.scope-links a {
    flex: none;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #4d627a;
    background: #fff;
    font-size: 13px;
    font-weight: 750;
}
.scope-links a.selected { border-color: #b7d2fb; color: var(--blue-dark); background: #eaf2ff; }
.listing h3 {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.24;
    letter-spacing: -0.65px;
}
.listing h3 a:after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
}
.employer {
    font-size: 14px;
    margin-top: 3px;
    color: #44576f;
}
.meta {
    display: flex;
    align-items: center;
    gap: 17px;
    flex-wrap: wrap;
    margin-top: 13px;
}
.meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--muted);
    font-size: 12px;
}
.meta .icon {
    height: 14px;
    width: 14px;
}
.listing-end {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}
.save {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #536881;
    border-radius: 7px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
}
.save:hover,
.save.is-saved {
    background: #edf4ff;
    color: var(--blue-dark);
    border-color: #b6d0fc;
}
.is-saved .icon {
    fill: #c5daff;
}
.age {
    color: #62738a;
    font-size: 11px;
    white-space: nowrap;
}
.filter-summary,
.notice {
    margin-bottom: 12px;
    font-size: 14px;
}
.filter-summary a,
.empty a,
.source-note a,
.pagination a {
    color: var(--blue-dark);
    font-weight: 650;
}
.filter-summary a {
    margin-left: 8px;
}
.empty {
    display: grid;
    justify-items: center;
    gap: 9px;
    text-align: center;
    padding: 48px 15px;
    background: #f7faff;
    border: 1px dashed #b7cbe1;
    border-radius: 12px;
}
.empty > .icon {
    width: 30px;
    height: 30px;
    color: var(--blue);
}
.empty p {
    color: var(--muted);
    font-size: 14px;
}
.empty a,
.pagination a,
.source-note a {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}
.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--muted);
}
.pagination .icon {
    height: 16px;
}
.saved-title {
    margin: 45px 0 22px;
}
.saved-title .eyebrow {
    color: var(--blue-dark);
    margin-bottom: 16px;
}
.saved-title p {
    margin-top: 12px;
    color: var(--muted);
}
.back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #425a78;
    font-size: 14px;
    font-weight: 600;
    margin: 23px 0 19px;
}
.back .icon {
    width: 17px;
    height: 17px;
}
.detail-head {
    position: relative;
    overflow: hidden;
    border-radius: 17px;
    background: linear-gradient(115deg, #083aab, #0758d8);
    color: white;
    padding: 35px 41px;
}
.detail-intro {
    width: 78%;
    position: relative;
    z-index: 1;
}
.detail-category {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #d3eeff;
}
.detail-category .icon {
    width: 20px;
    height: 20px;
}
.detail-head h1 {
    margin: 12px 0 8px;
    font-size: clamp(38px, 4vw, 59px);
    letter-spacing: -2.6px;
}
.detail-head p {
    font-size: 18px;
    color: #e1edff;
}
.detail-decoration {
    position: absolute;
    inset: 0 0 0 auto;
    width: 25%;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.detail-decoration i {
    position: absolute;
    top: -25%;
    width: 30%;
    height: 160%;
    transform: skew(-19deg);
    background: #ffffff0d;
}
.detail-decoration i:nth-child(1) {
    left: 3%;
}
.detail-decoration i:nth-child(2) {
    left: 39%;
    background: #ffffff19;
}
.detail-decoration i:nth-child(3) {
    left: 74%;
}
.detail-decoration > .icon {
    width: 88px;
    height: 88px;
    stroke-width: 1;
    color: #bbddff;
    transform: rotate(-9deg);
}
.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 355px;
    gap: 64px;
    margin: 31px 0 58px;
    align-items: start;
}
.description h2 {
    font-size: 24px;
    letter-spacing: -0.75px;
    margin: 4px 0 9px;
}
.description h2:not(:first-child) {
    margin-top: 25px;
}
.description p,
.description li {
    font-size: 16px;
    color: #455a74;
    line-height: 1.75;
}
.job-description { white-space: pre-line; }
.description ul {
    padding-left: 21px;
    margin: 6px 0;
}
.description li {
    padding-left: 3px;
    margin-bottom: 7px;
}
.description li::marker {
    color: var(--blue);
}
.source-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #f2f7ff;
    border: 1px solid #dae7fa;
    border-radius: 11px;
    padding: 16px 20px;
    margin: 28px 0 0;
}
.source-note > .icon {
    color: #1b61d0;
    margin-top: 2px;
}
.source-note strong {
    font-size: 14px;
}
.source-note p {
    font-size: 14px;
    margin-top: 3px;
}
.source-note a .icon {
    width: 13px;
    height: 13px;
}
.overview {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 13px;
}
.overview dl {
    margin: 17px 0;
    border-block: 1px solid var(--line);
    padding: 8px 0;
}
.overview dl > div {
    display: grid;
    grid-template-columns: 18px auto minmax(0, 1fr);
    gap: 9px;
    font-size: 13px;
    margin: 12px 0;
    align-items: start;
}
.overview dl .icon {
    width: 16px;
    height: 16px;
    color: #657992;
    margin-top: 2px;
}
.overview dt {
    color: var(--muted);
}
.overview dd {
    text-align: right;
    font-weight: 600;
}
.apply,
.full-save {
    width: 100%;
}
.full-save {
    height: 42px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 650;
    gap: 7px;
}
.full-save .icon {
    width: 16px;
    height: 16px;
}
footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}
footer .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block: 22px;
}
footer a {
    display: flex;
    align-items: center;
    gap: 5px;
}
@media (max-width: 1000px) {
    .wrap {
        width: calc(100% - 52px);
    }
    .board {
        grid-template-columns: 195px minmax(0, 1fr);
        gap: 25px;
    }
    .detail-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 30px;
    }
    .hero {
        min-height: 255px;
    }
    .hero-copy {
        padding-left: 32px;
    }
    .listing {
        gap: 12px;
    }
    .hero-copy > p {
        max-width: 355px;
    }
}
@media (max-width: 720px) {
    .wrap {
        width: calc(100% - 32px);
    }
    .masthead .wrap {
        width: calc(100% - 28px);
    }
    .nav-inner {
        gap: 12px;
        min-height: 64px;
        justify-content: space-between;
    }
    .identity {
        gap: 8px;
    }
    .identity img {
        width: 88px;
    }
    .identity > span {
        padding-left: 8px;
        font-size: 14px;
    }
    .brand-link {
        display: none;
    }
    .nav-inner nav {
        gap: 14px;
    }
    .nav-link {
        font-size: 12px;
        gap: 4px;
    }
    .nav-link .icon {
        height: 14px;
        width: 14px;
    }
    .hero {
        margin-top: 16px;
        min-height: 224px;
        border-radius: 13px;
    }
    .hero-copy {
        padding: 22px;
        width: 73%;
    }
    .hero h1 {
        font-size: 46px;
        letter-spacing: -2.7px;
        margin: 12px 0;
    }
    .hero-label {
        font-size: 9px;
        letter-spacing: 1.25px;
    }
    .hero-copy > p {
        font-size: 13px;
        line-height: 1.45;
        max-width: 290px;
    }
    .hero-art {
        left: 61%;
        opacity: 0.92;
    }
    .photo-frame {
        right: -35%;
        width: 125%;
        clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
    }
    .photo-frame img {
        object-position: 34% 40%;
    }
    .orbit-one,
    .c1 {
        display: none;
    }
    .hero-art:after {
        right: auto;
        left: 7%;
    }
    .search-bar {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 9px;
        gap: 8px;
        margin: 12px 0 22px;
    }
    .search-bar label {
        gap: 9px;
        padding-left: 6px;
    }
    .search-bar label + label {
        padding-left: 6px;
        border-left: 0;
    }
    .search-bar label:first-child {
        grid-column: 1/-1;
        border-bottom: 1px solid var(--line);
        padding-bottom: 8px;
    }
    .search-bar b {
        font-size: 11px;
    }
    .search-bar input {
        font-size: 14px;
    }
    .search-bar .primary {
        padding: 7px 15px;
        min-height: 40px;
        font-size: 13px;
    }
    .board {
        display: block;
    }
    .sidebar {
        padding: 0;
    }
    .sidebar h2 {
        font-size: 16px;
    }
    .specialty-links {
        display: flex;
        overflow: auto;
        gap: 6px;
        margin: 8px 0 20px;
        padding: 2px 1px 5px;
        scrollbar-width: thin;
    }
    .filter {
        gap: 6px;
        min-height: 31px;
        padding: 5px 9px;
        white-space: nowrap;
        font-size: 12px;
        border: 1px solid var(--line);
        border-radius: 20px;
    }
    .filter.selected {
        border-color: #b5d3ff;
    }
    .filter .icon {
        width: 14px;
        height: 14px;
    }
    .filter small,
    .source-info {
        display: none;
    }
    .results-heading {
        margin-bottom: 10px;
    }
    .results-heading h2 {
        font-size: 23px;
        gap: 6px;
    }
    .results-heading h2 span {
        font-size: 11px;
    }
    .sort {
        font-size: 11px;
        gap: 2px;
    }
    .sort select {
        font-size: 12px;
    }
    .listing {
        padding: 14px 12px;
        gap: 9px;
    }
    .role-icon {
        height: 35px;
        width: 35px;
        border-radius: 9px;
    }
    .role-icon .icon {
        width: 20px;
        height: 20px;
    }
    .listing h3 {
        font-size: 17px;
        letter-spacing: -0.4px;
    }
    .field-label {
        font-size: 8px;
        letter-spacing: 1px;
    }
    .employer {
        font-size: 12px;
    }
    .meta {
        margin-top: 9px;
        gap: 10px;
    }
    .meta span,
    .age {
        font-size: 10px;
    }
    .save {
        width: 29px;
        height: 29px;
    }
    .save > .icon {
        width: 16px;
        height: 16px;
    }
    .listing-end {
        width: 31px;
        flex: none;
    }
    .age {
        align-self: flex-end;
        white-space: nowrap;
    }
    .listing-body {
        padding-bottom: 2px;
    }
    .back {
        margin: 16px 0;
    }
    .detail-head {
        padding: 24px;
    }
    .detail-intro {
        width: 90%;
    }
    .detail-head h1 {
        font-size: 38px;
        letter-spacing: -2px;
    }
    .detail-head p {
        font-size: 15px;
    }
    .detail-decoration {
        width: 22%;
        opacity: 0.45;
    }
    .detail-decoration > .icon {
        display: none;
    }
    .detail-grid {
        display: flex;
        flex-direction: column;
        margin: 18px 0 32px;
        gap: 24px;
    }
    .overview {
        width: 100%;
        padding: 18px;
        order: -1;
    }
    .overview dl {
        margin: 10px 0;
    }
    .overview dl > div {
        margin: 6px 0;
    }
    .description {
        width: 100%;
    }
    .full-save {
        width: 100%;
        height: 38px;
    }
    .saved-title {
        margin: 27px 0 18px;
    }
    .saved-title h1 {
        font-size: 40px;
        letter-spacing: -2px;
    }
    .saved-title p {
        font-size: 14px;
    }
    footer .wrap {
        font-size: 11px;
    }
}
@media (max-width: 460px) {
    .hero-copy {
        width: 77%;
        padding: 18px;
    }
    .hero h1 {
        font-size: 40px;
    }
    .hero-copy > p {
        max-width: 207px;
    }
    .hero-art {
        left: 65%;
    }
    .hero {
        min-height: 206px;
    }
    .dot-field,
    .c2 {
        display: none;
    }
    .photo-frame {
        right: -38%;
        width: 131%;
    }
    .photo-frame img {
        object-position: 33% 45%;
    }
    .sort label {
        display: none;
    }
}
@media (max-width: 360px) {
    .nav-inner nav {
        gap: 9px;
    }
    .nav-link .icon {
        display: none;
    }
    .hero-copy {
        padding: 15px;
    }
    .hero h1 {
        font-size: 34px;
    }
    .hero-copy > p {
        max-width: 180px;
    }
    .hero {
        min-height: 190px;
    }
    .age {
        display: none;
    }
}

.hero h1,
.detail-head h1 {
    letter-spacing: -0.045em;
    word-spacing: 0.055em;
}

/* Contextual first-party product awareness */
.product-promotion {
    --promotion-accent: #075be8;
    --promotion-tint: #edf4ff;
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    overflow: hidden;
    padding: 21px 22px;
    border: 1px solid #cedcf0;
    border-color: color-mix(in srgb, var(--promotion-accent) 24%, #dce6f1);
    border-radius: 13px;
    background: linear-gradient(125deg, var(--promotion-tint), #fff 75%);
    box-shadow: 0 8px 26px #163f7508;
}
.product-promotion::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--promotion-accent);
}
.product-promotion::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 17%;
    bottom: -72px;
    width: 155px;
    height: 155px;
    border: 1px solid color-mix(in srgb, var(--promotion-accent) 11%, transparent);
    border-radius: 50%;
}
.promotion-symbol {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: white;
    border-radius: 13px;
    background: var(--promotion-accent);
    box-shadow: 0 7px 18px #163f7524;
    box-shadow: 0 7px 18px color-mix(in srgb, var(--promotion-accent) 22%, transparent);
}
.promotion-symbol .icon {
    width: 25px;
    height: 25px;
}
.promotion-label,
.promotion-name {
    display: block;
    color: var(--promotion-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
    line-height: 1.3;
    text-transform: uppercase;
}
.promotion-copy h3 {
    margin: 5px 0 4px;
    font-size: 20px;
    line-height: 1.22;
    letter-spacing: -0.55px;
}
.promotion-copy p {
    max-width: 630px;
    color: #4d617b;
    font-size: 13px;
    line-height: 1.55;
}
.promotion-name {
    margin-top: 10px;
    letter-spacing: .5px;
    text-transform: none;
}
.promotion-cta {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid #abc3e7;
    border-color: color-mix(in srgb, var(--promotion-accent) 42%, #dce6f1);
    border-radius: 8px;
    background: #fff;
    color: var(--promotion-accent);
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}
.promotion-cta:hover {
    border-color: var(--promotion-accent);
    background: var(--promotion-accent);
    color: white;
}
.promotion-cta .icon {
    width: 14px;
    height: 14px;
}
.promotion-inline {
    margin-block: 3px;
}
.promotion-detail {
    margin-top: 28px;
}
.promotion-compact {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    margin-top: 20px;
    padding: 16px 14px;
}
.promotion-compact .promotion-symbol {
    width: 38px;
    height: 38px;
    border-radius: 10px;
}
.promotion-compact .promotion-symbol .icon {
    width: 20px;
    height: 20px;
}
.promotion-compact .promotion-copy h3 {
    font-size: 16px;
    letter-spacing: -0.35px;
}
.promotion-compact .promotion-copy p {
    font-size: 12px;
}
.promotion-compact .promotion-cta {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 2px;
}
.promotion-tone-lims { --promotion-accent: #6546b8; --promotion-tint: #f3f0ff; }
.promotion-tone-prescription { --promotion-accent: #9a6200; --promotion-tint: #fff8e7; }
.promotion-tone-ris { --promotion-accent: #a22b62; --promotion-tint: #fff1f6; }
.promotion-tone-nadia { --promotion-accent: #28743d; --promotion-tint: #edf8ee; }
.promotion-tone-telemedicine { --promotion-accent: #08716d; --promotion-tint: #eaf8f7; }

@media (max-width: 720px) {
    .promotion-compact {
        display: none;
    }
    .product-promotion:not(.promotion-compact) {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 13px;
        padding: 17px 15px;
    }
    .product-promotion:not(.promotion-compact) .promotion-symbol {
        width: 42px;
        height: 42px;
        border-radius: 11px;
    }
    .product-promotion:not(.promotion-compact) .promotion-cta {
        grid-column: 1 / -1;
        width: 100%;
    }
    .promotion-copy h3 {
        font-size: 17px;
    }
    .promotion-copy p {
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .product-promotion:not(.promotion-compact) {
        grid-template-columns: 1fr;
    }
    .product-promotion:not(.promotion-compact) .promotion-symbol {
        display: none;
    }
}

/* Managed advertisement creatives */
.advertisement {
    position: relative;
    overflow: hidden;
    border: 1px solid #cedcf0;
    border-radius: 13px;
    background: #edf4ff;
    box-shadow: 0 8px 26px #163f750d;
}
.advertisement > a {
    position: relative;
    display: block;
}
.advertisement img {
    display: block;
    width: 100%;
    height: auto;
}
.advertisement-disclosure {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 7px;
    border: 1px solid #ffffff5e;
    border-radius: 5px;
    background: #081d47ad;
    color: white;
    font-size: 8px;
    font-weight: 750;
    letter-spacing: .8px;
    line-height: 1;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}
.advertisement-browse-rail {
    margin-top: 20px;
}
.advertisement-job-list-inline,
.advertisement-saved-list-inline {
    margin-block: 3px;
}
.advertisement-job-detail-contextual {
    margin-top: 28px;
}

/* Advertisement manager */
.admin-hero,
.admin-form-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin: 42px 0 28px;
}
.admin-hero h1,
.admin-form-heading h1 {
    margin: 8px 0;
    font-size: clamp(36px, 4.2vw, 54px);
    line-height: 1.04;
    letter-spacing: -.045em;
}
.admin-hero p,
.admin-form-heading p,
.admin-panel-heading p,
.creative-preview-card p,
.archive-card p {
    color: var(--muted);
}
.ad-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}
.ad-stat-grid > div {
    display: flex;
    flex-direction: column-reverse;
    gap: 3px;
    min-height: 102px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: linear-gradient(145deg, #fff, #f7faff);
}
.ad-stat-grid strong {
    font-size: 29px;
    line-height: 1.1;
}
.ad-stat-grid span {
    color: var(--muted);
    font-size: 13px;
}
.admin-panel {
    margin-bottom: 48px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
}
.admin-panel-heading {
    padding: 21px 24px;
    border-bottom: 1px solid var(--line);
}
.admin-panel-heading h2 {
    margin-bottom: 4px;
}
.admin-panel-heading p {
    font-size: 13px;
}
.ad-admin-list {
    display: grid;
}
.ad-admin-row {
    display: grid;
    grid-template-columns: 180px minmax(260px, 1fr) 230px 90px;
    gap: 21px;
    align-items: center;
    padding: 19px 22px;
    border-bottom: 1px solid var(--line);
}
.ad-admin-row:last-child {
    border-bottom: 0;
}
.ad-admin-creative {
    display: grid;
    place-items: center;
    overflow: hidden;
    height: 92px;
    border: 1px solid #d8e2ef;
    border-radius: 9px;
    background: #edf4ff;
}
.ad-admin-creative img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ad-admin-title,
.ad-placement-list,
.ad-row-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}
.priority-badge,
.ad-placement-list span {
    padding: 3px 7px;
    border-radius: 99px;
    background: #edf2f8;
    color: #53657b;
    font-size: 10px;
    font-weight: 700;
}
.ad-admin-info h3 {
    margin: 7px 0 2px;
    font-size: 18px;
}
.ad-admin-info > p {
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ad-placement-list {
    margin-top: 10px;
}
.ad-performance {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}
.ad-performance div {
    padding-left: 10px;
    border-left: 1px solid var(--line);
}
.ad-performance dt {
    color: var(--muted);
    font-size: 10px;
}
.ad-performance dd {
    font-size: 15px;
    font-weight: 750;
}
.ad-row-actions {
    align-items: flex-start;
    flex-direction: column;
}
.ad-row-actions a,
.ad-row-actions button {
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 750;
    padding: 2px;
}
.ad-editor {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 26px;
    align-items: start;
    margin-bottom: 52px;
}
.ad-editor .form-section {
    margin-top: 0;
    padding: 27px;
}
.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 22px;
}
.section-heading > div {
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-heading > div > span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #eaf2ff;
    color: var(--blue-dark);
    font-size: 11px;
    font-weight: 800;
}
.section-heading h2 {
    margin: 0;
}
.section-heading > p {
    max-width: 310px;
    color: var(--muted);
    font-size: 11px;
    text-align: right;
}
.ad-editor label {
    display: grid;
    gap: 7px;
    color: #233b5c;
    font-size: 13px;
    font-weight: 750;
}
.ad-editor label small,
.field-hint {
    color: var(--muted);
    font-size: 11px;
    font-weight: 450;
}
.ad-editor input,
.ad-editor select,
.ad-editor textarea {
    width: 100%;
    border: 1px solid #cbd6e2;
    border-radius: 8px;
    padding: 11px 12px;
    background: white;
}
.ad-editor input[type="file"] {
    padding: 9px;
    background: #f8faff;
}
.placement-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.placement-option {
    position: relative;
}
.placement-option input {
    position: absolute;
    opacity: 0;
}
.placement-option > span {
    display: grid;
    gap: 5px;
    height: 100%;
    padding: 16px;
    border: 1px solid #d5dfeb;
    border-radius: 11px;
    cursor: pointer;
}
.placement-option input:checked + span {
    border-color: #75a9f7;
    background: #eef5ff;
    box-shadow: inset 0 0 0 1px #75a9f7;
}
.placement-option input:focus-visible + span {
    outline: 3px solid #0080ba;
    outline-offset: 3px;
}
.placement-option strong {
    font-size: 15px;
}
.placement-option small {
    color: var(--blue-dark) !important;
    font-weight: 700 !important;
}
.placement-option em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 450;
}
.specialty-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.specialty-options label {
    position: relative;
}
.specialty-options input {
    position: absolute;
    opacity: 0;
}
.specialty-options span {
    display: block;
    padding: 8px 12px;
    border: 1px solid #d5dfeb;
    border-radius: 99px;
    color: #53657b;
    cursor: pointer;
    font-size: 12px;
    font-weight: 650;
}
.specialty-options input:checked + span {
    border-color: #75a9f7;
    background: #eaf2ff;
    color: var(--blue-dark);
}
.specialty-options input:focus-visible + span {
    outline: 3px solid #0080ba;
    outline-offset: 3px;
}
.ad-editor-sidebar {
    position: sticky;
    top: 20px;
    display: grid;
    gap: 16px;
}
.creative-preview-card,
.delivery-card,
.archive-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
}
.creative-preview {
    display: grid;
    place-items: center;
    overflow: hidden;
    min-height: 140px;
    margin: 13px 0;
    border-radius: 9px;
    background: #eef4fc;
}
.creative-preview img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
}
.creative-preview-card p,
.archive-card p {
    font-size: 12px;
}
.delivery-card {
    display: grid;
    gap: 15px;
}
.delivery-card h2,
.archive-card h2 {
    margin: 0;
    font-size: 18px;
}
.delivery-card .primary,
.archive-card .danger-button {
    width: 100%;
}
.archive-card p {
    margin: 6px 0 14px;
}

@media (max-width: 1050px) {
    .ad-admin-row {
        grid-template-columns: 150px minmax(230px, 1fr) 190px;
    }
    .ad-row-actions {
        grid-column: 2 / -1;
        flex-direction: row;
    }
}

@media (max-width: 800px) {
    .ad-stat-grid {
        grid-template-columns: 1fr 1fr;
    }
    .ad-admin-row {
        grid-template-columns: 130px minmax(0, 1fr);
    }
    .ad-performance,
    .ad-row-actions {
        grid-column: 2;
    }
    .ad-editor {
        grid-template-columns: 1fr;
    }
    .ad-editor-sidebar {
        position: static;
    }
}

@media (max-width: 720px) {
    .advertisement-browse-rail {
        display: none;
    }
    .advertisement-disclosure {
        top: 5px;
        right: 5px;
        font-size: 7px;
    }
    .admin-hero,
    .admin-form-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 28px;
    }
    .admin-hero .primary {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .ad-stat-grid,
    .placement-options {
        grid-template-columns: 1fr;
    }
    .ad-admin-row {
        grid-template-columns: 1fr;
    }
    .ad-admin-creative {
        height: auto;
        max-height: 180px;
    }
    .ad-admin-creative img {
        height: auto;
        object-fit: contain;
    }
    .ad-performance,
    .ad-row-actions {
        grid-column: 1;
    }
    .section-heading {
        flex-direction: column;
    }
    .section-heading > p {
        text-align: left;
    }
}

/* Responsive public navigation */
.site-navigation-panel {
    display: flex;
    align-items: center;
    align-self: stretch;
    flex: 1;
    min-width: 0;
    gap: 32px;
}
.site-navigation-panel .account-actions { flex: none; margin-left: auto; }
.site-navigation-header,
.site-menu-toggle,
.site-menu-close,
.site-menu-backdrop { display: none; }

@media (max-width: 1050px) {
    .site-menu-open { overflow: hidden; }
    .nav-inner {
        justify-content: space-between;
        gap: 18px;
        min-height: 68px;
    }
    .site-menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        min-height: 42px;
        padding: 8px 10px;
        border: 1px solid #d5deea;
        border-radius: 9px;
        color: #173655;
        background: #fff;
        font: inherit;
        font-size: 14px;
        font-weight: 750;
        cursor: pointer;
    }
    .site-menu-toggle:hover { border-color: #b7c7da; background: #f6f9fd; }
    .site-menu-toggle-lines { display: grid; gap: 4px; }
    .site-menu-toggle-lines i {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
    }
    .site-navigation-panel {
        position: fixed;
        z-index: 120;
        inset: 0 0 0 auto;
        display: flex;
        visibility: hidden;
        align-items: stretch;
        flex-direction: column;
        width: min(88vw, 380px);
        max-width: 100%;
        padding: 0 20px 22px;
        gap: 0;
        overflow-y: auto;
        color: #17304f;
        background: #fff;
        box-shadow: -18px 0 50px rgba(16, 42, 75, .18);
        transform: translateX(105%);
        transition: transform .24s ease, visibility .24s ease;
        pointer-events: none;
    }
    .site-menu-open .site-navigation-panel {
        visibility: visible;
        transform: translateX(0);
        pointer-events: auto;
    }
    .site-navigation-header {
        position: sticky;
        z-index: 1;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 72px;
        margin: 0 -4px;
        border-bottom: 1px solid #e2e8f0;
        background: #fff;
        font-size: 15px;
        font-weight: 800;
    }
    .site-menu-close {
        position: relative;
        display: grid;
        width: 42px;
        height: 42px;
        place-items: center;
        border-radius: 9px;
        color: #334d69;
        cursor: pointer;
    }
    .site-menu-close:hover { background: #f1f5fa; }
    .site-menu-close i {
        position: absolute;
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transform: rotate(45deg);
    }
    .site-menu-close i:last-child { transform: rotate(-45deg); }
    .site-navigation-panel nav {
        display: grid;
        align-self: auto;
        gap: 4px;
        padding: 18px 0;
    }
    .site-navigation-panel .nav-link {
        min-height: 50px;
        padding: 12px 14px;
        border-radius: 9px;
        color: #445a74;
        font-size: 15px;
        font-weight: 700;
    }
    .site-navigation-panel .nav-link:hover { color: #064ecf; background: #f3f7fd; }
    .site-navigation-panel .nav-link.current { color: #064ecf; background: #eaf2ff; }
    .site-navigation-panel .nav-link.current::after {
        top: 10px;
        right: auto;
        bottom: 10px;
        left: 0;
        width: 3px;
        height: auto;
        border-radius: 0 3px 3px 0;
    }
    .site-navigation-panel .nav-link .icon { width: 18px; height: 18px; }
    .site-navigation-panel .account-actions {
        display: grid;
        align-items: stretch;
        gap: 10px;
        width: 100%;
        margin: auto 0 0;
        padding-top: 20px;
        border-top: 1px solid #e2e8f0;
    }
    .site-navigation-panel .country-switcher {
        justify-content: space-between;
        width: 100%;
        margin-top: 8px;
        padding: 8px;
    }
    .site-navigation-panel .country-switcher > span { margin-right: auto; }
    .site-navigation-panel .account-actions form { display: block; }
    .site-navigation-panel .account-actions .brand-link {
        display: flex;
        min-height: 44px;
        align-items: center;
        padding: 10px 12px;
        border-top: 0;
        border-radius: 8px;
        color: #334d69;
        background: #f5f8fc;
        font-size: 13px;
        font-weight: 750;
    }
    .site-navigation-panel .portal-link,
    .site-navigation-panel .text-button {
        display: flex;
        width: 100%;
        min-height: 46px;
        align-items: center;
        justify-content: center;
        border-radius: 9px;
    }
    .site-navigation-panel .text-button { border: 1px solid #d5deea; }
    .site-menu-backdrop {
        position: fixed;
        z-index: 110;
        inset: 0;
        display: block;
        visibility: hidden;
        background: rgba(10, 29, 54, .48);
        opacity: 0;
        transition: opacity .24s ease, visibility .24s ease;
        cursor: default;
    }
    .site-menu-open .site-menu-backdrop { visibility: visible; opacity: 1; }
}

@media (max-width: 480px) {
    .site-menu-toggle > span:last-child { display: none; }
    .site-menu-toggle { width: 42px; justify-content: center; padding-inline: 0; }
    .site-navigation-panel { width: min(92vw, 360px); padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .site-navigation-panel,
    .site-menu-backdrop { transition: none; }
}

/* Comprehensive responsive pass */
html { max-width: 100%; overflow-x: clip; }
body { min-width: 0; }
img { max-width: 100%; }
main,
section,
article,
aside,
form,
table,
.results,
.admin-content,
.admin-panel,
.admin-job-main { min-width: 0; }
h1,
h2,
h3,
p,
td,
th,
a { overflow-wrap: anywhere; }
input,
select,
textarea { max-width: 100%; }

@media (max-width: 920px) {
    .admin-menu-open { overflow: hidden; }
    .admin-sidebar { width: min(84vw, 300px); }
}

@media (max-width: 860px) {
    .board { display: block; }
    .sidebar { padding: 0; }
    .sidebar h2 { font-size: 17px; }
    .specialty-links {
        display: flex;
        gap: 7px;
        margin: 9px 0 22px;
        padding: 2px 1px 7px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
    }
    .filter {
        flex: none;
        gap: 7px;
        min-height: 36px;
        padding: 7px 11px;
        border: 1px solid var(--line);
        border-radius: 20px;
        white-space: nowrap;
        font-size: 13px;
    }
    .filter.selected { border-color: #b5d3ff; }
    .filter small,
    .source-info,
    .promotion-compact,
    .advertisement-browse-rail { display: none; }
    .detail-grid {
        display: flex;
        flex-direction: column;
        gap: 26px;
        margin: 24px 0 42px;
    }
    .overview { order: -1; width: 100%; }
    .description { width: 100%; }
    .form-grid .span-2 { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
    .portal-hero,
    .portal-heading { gap: 20px; margin: 28px 0 22px; }
    .portal-hero { padding: 24px; }
    .portal-hero h1,
    .portal-heading h1 { font-size: clamp(32px, 10vw, 44px); }
    .portal-heading > .primary,
    .portal-hero > .secondary-button { width: 100%; text-align: center; }
    .institution-grid { grid-template-columns: minmax(0, 1fr); }
    .institution-card { min-width: 0; }
    .connected-products,
    .portal-empty,
    .form-section,
    .workflow-actions { padding: 20px; }
    .management-table-wrap,
    .system-jobs-table-wrap { overflow: visible; border: 0; }
    .management-table,
    .management-table tbody,
    .system-jobs-table,
    .system-jobs-table tbody { display: block; width: 100%; }
    .management-table thead,
    .system-jobs-table thead { display: none; }
    .management-table tr,
    .system-jobs-table tr {
        display: grid;
        gap: 0;
        margin-bottom: 12px;
        padding: 8px 14px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 5px 18px rgba(24, 55, 100, .04);
    }
    .management-table td,
    .system-jobs-table td {
        display: grid;
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 12px;
        padding: 10px 0;
        border-bottom: 1px solid #edf1f6;
        text-align: left;
    }
    .management-table td:last-child,
    .system-jobs-table td:last-child { border-bottom: 0; }
    .management-table td::before,
    .system-jobs-table td::before {
        content: attr(data-label);
        color: #7a899b;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .055em;
        text-transform: uppercase;
    }
    .management-table td > *,
    .system-jobs-table td > * { grid-column: 2; }
    .management-table td > span,
    .system-jobs-table td > span { margin-top: 0; }
    .table-actions,
    .system-job-row-actions { align-items: center; }
    .table-actions a { margin: 0 14px 0 0; }
    .management-empty-row,
    .system-jobs-empty-row { padding: 0 !important; }
    .management-empty-row td,
    .system-jobs-empty-row td { display: block; padding: 0; border: 0; }
    .management-empty-row td::before,
    .system-jobs-empty-row td::before { display: none; }
    .management-empty-row .portal-empty,
    .system-jobs-empty-row .portal-empty { margin: 0; border: 0; }
    .system-job-title { min-width: 0; }
    .admin-body .admin-panel-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
    .admin-record-count { align-self: flex-start; }
    .admin-body .admin-panel { margin-bottom: 20px; }
    .admin-body .admin-hero,
    .admin-body .admin-form-heading { gap: 18px; }
    .admin-body .admin-hero .analytics-actions { width: 100%; }
    .admin-body .admin-hero .analytics-actions > * { flex: 1; }
    .admin-job-source a { min-width: 0; overflow-wrap: anywhere; }
    .discovery-run-filters { align-items: stretch; flex-direction: column; padding: 14px; }
    .discovery-run-filters label { min-width: 0; }
    .discovery-run-filters .system-job-filter-actions { width: 100%; }
    .discovery-run-filters .primary { flex: 1; }
    .discovery-query,
    .source-review-row,
    .discovery-empty { padding-inline: 16px; }
    .source-review-row > div { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
    .search-bar {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding: 8px;
    }
    .search-bar label,
    .search-bar label + label {
        min-height: 58px;
        padding: 8px 7px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        border-left: 0;
    }
    .search-bar label:first-child { grid-column: auto; padding-bottom: 8px; }
    .search-bar .primary { width: 100%; min-height: 46px; margin-top: 8px; }
    .results-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
    .sort { width: 100%; justify-content: space-between; }
    .sort select { max-width: none; }
    .filter-summary { line-height: 1.55; }
    .filter-summary a { display: inline-block; margin-left: 4px; }
    .form-grid { grid-template-columns: minmax(0, 1fr); }
    .form-grid .span-2 { grid-column: auto; }
    .posting-form input,
    .posting-form select,
    .posting-form textarea,
    .ad-editor input,
    .ad-editor select,
    .ad-editor textarea { min-width: 0; font-size: 16px; }
    .form-actions,
    .workflow-actions > div { align-items: stretch; flex-direction: column; }
    .form-actions .primary,
    .workflow-actions form,
    .workflow-actions button { width: 100%; }
    .form-actions > a { padding: 10px; text-align: center; }
    .choice-row { align-items: stretch; }
    .choice-row label { min-height: 44px; }
    .legal-page { margin: 34px auto 54px; }
    .legal-page h1 { margin-bottom: 18px; font-size: clamp(30px, 10vw, 42px); line-height: 1.08; }
    .legal-page h2 { margin-top: 26px; font-size: 21px; }
    .analytics-table-wrap { overflow: visible; }
    .analytics-table,
    .analytics-table tbody { display: block; width: 100%; }
    .analytics-table thead { display: none; }
    .analytics-table tr {
        display: grid;
        margin: 12px;
        padding: 6px 13px;
        border: 1px solid #e4eaf2;
        border-radius: 10px;
        background: #fff;
    }
    .analytics-table td {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 18px;
        padding: 10px 0;
        border-top: 0;
        border-bottom: 1px solid #edf1f6;
        text-align: right;
        white-space: normal;
    }
    .analytics-table td:last-child { border-bottom: 0; }
    .analytics-table td::before {
        content: attr(data-label);
        flex: none;
        color: #78889c;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .05em;
        text-align: left;
        text-transform: uppercase;
    }
    .analytics-table code { max-width: 65%; overflow-wrap: anywhere; white-space: normal; }
    .analytics-empty-row td { display: block; text-align: left; }
    .analytics-empty-row td::before { display: none; }
    .analytics-chart { height: 180px; overflow-x: auto; overscroll-behavior-inline: contain; }
    .analytics-breakdown li { gap: 18px; }
    .analytics-breakdown span { min-width: 0; }
    .analytics-breakdown strong { flex: none; text-align: right; }
    .admin-body .ad-admin-info > p { white-space: normal; }
    .admin-body .ad-performance { width: 100%; }
    .admin-body .ad-row-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        gap: 8px;
    }
    .admin-body .ad-row-actions a,
    .admin-body .ad-row-actions button {
        display: flex;
        min-height: 42px;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 8px;
        border: 1px solid #d8e1ec;
        border-radius: 8px;
        text-align: center;
    }
    .admin-body .ad-row-actions form { width: 100%; }
    .ad-editor .form-section { padding: 20px; }
    .specialty-options { display: grid; grid-template-columns: 1fr 1fr; }
    .specialty-options span { height: 100%; border-radius: 9px; text-align: center; }
}

@media (max-width: 480px) {
    .wrap { width: calc(100% - 28px); }
    .masthead .wrap { width: calc(100% - 24px); }
    .identity img { width: 82px; }
    .identity > span { font-size: 13px; }
    .hero { min-height: 218px; }
    .hero-copy { width: 82%; padding: 20px; }
    .hero h1 { font-size: clamp(35px, 10.5vw, 42px); }
    .hero-copy > p { max-width: 245px; }
    .listing { padding: 14px 12px; }
    .listing h3 { font-size: 16px; }
    .meta { align-items: flex-start; flex-direction: column; gap: 5px; }
    .listing-end .age { display: none; }
    .detail-head { padding: 21px 19px; }
    .detail-intro { width: 96%; }
    .detail-head h1 { font-size: clamp(31px, 10vw, 38px); }
    .overview { padding: 16px; }
    .overview dl > div { grid-template-columns: 18px minmax(80px, auto) minmax(0, 1fr); }
    .overview dd { overflow-wrap: anywhere; }
    .source-note { padding: 15px; }
    .pagination { gap: 9px; font-size: 12px; }
    .pagination > span:nth-child(2) { text-align: center; }
    footer .wrap { align-items: flex-start; flex-direction: column; }
    .portal-hero { padding: 20px; border-radius: 14px; }
    .institution-card { grid-template-columns: 40px minmax(0, 1fr); gap: 13px; padding: 18px; }
    .institution-mark { width: 40px; height: 40px; border-radius: 10px; }
    .institution-card h2 { font-size: 18px; overflow-wrap: anywhere; }
    .connected-products,
    .portal-empty,
    .form-section,
    .workflow-actions { padding: 17px; border-radius: 12px; }
    .stat-row { grid-template-columns: 1fr 1fr; gap: 9px; }
    .stat-row > div { padding: 14px; }
    .stat-row strong { font-size: 22px; }
    .management-table td,
    .system-jobs-table td { grid-template-columns: 88px minmax(0, 1fr); gap: 9px; }
    .admin-topbar { padding-inline: 10px; }
    .admin-brand img { width: 100px; }
    .admin-menu-toggle { margin-right: 6px; }
    .admin-view-site { display: none; }
    .admin-content { padding: 20px 12px 36px; }
    .admin-body .admin-hero h1,
    .admin-body .admin-form-heading h1 { font-size: 27px; overflow-wrap: anywhere; }
    .admin-body .admin-panel-heading { padding: 15px; }
    .admin-job-section,
    .admin-job-source > div:not(.admin-panel-heading) { padding-inline: 16px; }
    .admin-job-primary-actions form,
    .admin-job-primary-actions a,
    .admin-job-primary-actions button { width: 100%; }
    .system-job-stat-grid { gap: 9px; }
    .system-job-stat-grid article { padding: 14px; }
    .system-job-filters { padding: 14px; }
    .admin-body .ad-admin-row { padding: 13px; gap: 14px; }
    .admin-body .ad-performance div:first-child { padding-left: 0; border-left: 0; }
    .ad-editor .form-section { padding: 17px; }
    .section-heading > div { align-items: flex-start; }
    .section-heading h2 { font-size: 19px; }
    .creative-preview-card,
    .delivery-card,
    .archive-card { padding: 17px; }
    .analytics-notice { right: 10px; bottom: 10px; left: 10px; padding: 16px; }
}

@media (max-width: 360px) {
    .role-icon { display: none; }
    .site-navigation-panel { width: 100%; }
    .specialty-options { grid-template-columns: 1fr; }
    .admin-brand img { width: 88px; }
    .admin-user-avatar { width: 32px; height: 32px; }
}

@media (max-width: 720px) {
    .privacy-header { padding-bottom: 18px; }
    .privacy-intro { font-size: 1rem; }
    .privacy-contents { margin-bottom: 24px; padding: 18px; }
    .privacy-contents div { display: grid; gap: 10px; }
    .privacy-notice section { padding-bottom: 16px; }
    .privacy-data-list { grid-template-columns: 1fr; gap: 10px; }
    .privacy-data-list > div { padding: 16px; }
    .privacy-table th,
    .privacy-table td { min-width: 145px; padding: 12px; }
    .privacy-choice { align-items: stretch; flex-direction: column; gap: 18px; padding: 18px; }
    .privacy-choice form,
    .privacy-choice-button { width: 100%; }
}
