/* ===== EMPLOYER DASHBOARD - UI KIT COCKPIT DESIGN ===== */

:root {
    --employer-surface: rgba(255, 255, 255, 0.88);
    --employer-surface-soft: rgba(248, 250, 252, 0.72);
    --employer-surface-hover: rgba(255, 255, 255, 0.96);
    --employer-border: rgba(213, 219, 212, 0.74);
    --employer-border-strong: rgba(148, 163, 184, 0.38);
    --employer-text-primary: #3a3a3a;
    --employer-text-secondary: #64748b;
    --employer-text-muted: #94a3b8;
    --employer-command-shadow: 0 28px 90px rgba(15, 23, 42, 0.085);
    --employer-soft-shadow: 0 18px 48px rgba(15, 23, 42, 0.055);
    --employer-radius-xl: 12px;
    --employer-radius-lg: 8px;
}
header{
    border-bottom:none !important;
}

/* The hero already communicates sourcing state on the main employer
   dashboard; the app sidebar stays navigation/context instead of repeating
   the engine status. Other employer pages keep the sidebar status. */
body.page-dashboard.role-werkgever .app-engine-status {
    display: none;
}

.ed-workspace-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 52px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.ed-workspace-left,
.ed-workspace-right,
.ed-workspace-avatars {
    display: flex;
    align-items: center;
}

.ed-workspace-left {
    gap: 22px;
    min-width: 0;
}

.ed-workspace-right {
    gap: 12px;
    color: #64748b;
    font-size: 12px;
    white-space: nowrap;
}

.ed-workspace-right strong {
    color: #0f172a;
    font-weight: 700;
}

.ed-workspace-right a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
}

.ed-workspace-label {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ed-workspace-switcher {
    position: relative;
    flex-shrink: 0;
}

.ed-workspace-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    margin: -6px -10px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
}

.ed-workspace-trigger:hover,
.ed-workspace-trigger[aria-expanded="true"] {
    background: #f1f5f9;
}

.ed-workspace-trigger:hover .ed-workspace-label {
    color: #0f172a;
}

.ed-workspace-caret {
    display: inline-flex;
    align-items: center;
    color: #94a3b8;
    font-size: 10px;
    line-height: 1;
    transform: translateY(-1px);
}

.ed-workspace-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: -10px;
    z-index: 60;
    min-width: 260px;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.ed-workspace-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 9px 10px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    text-align: left;
    text-decoration: none;
    box-sizing: border-box;
}

.ed-workspace-item:hover {
    background: #f1f5f9;
}

.ed-workspace-item-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ed-workspace-item-current {
    flex-shrink: 0;
    font-size: 10.5px;
    font-weight: 700;
    color: #166534;
    background: rgba(42, 187, 81, 0.1);
    padding: 2px 8px;
    border-radius: 999px;
}

.ed-workspace-menu-sep {
    height: 1px;
    margin: 6px 4px;
    background: #e2e8f0;
}

.ed-workspace-manage {
    color: #475569;
    font-weight: 500;
}

.ed-workspace-avatars {
    gap: 4px;
    border-radius: 999px;
    color: inherit;
    text-decoration: none;
}

.ed-workspace-avatars:hover {
    filter: brightness(0.97);
}

.ed-workspace-avatars:focus-visible {
    outline: 3px solid rgba(42, 187, 81, 0.22);
    outline-offset: 3px;
}

.ed-workspace-avatar {
    width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.ed-workspace-avatar + .ed-workspace-avatar {
    margin-left: -8px;
}

.ed-workspace-avatar.is-teal { background: #0f766e; }
.ed-workspace-avatar.is-purple { background: #7c3aed; }
.ed-workspace-avatar.is-red { background: #dc2626; }
.ed-workspace-avatar.is-dark { background: #0f172a; }
.ed-workspace-avatar.is-empty { background: #0f766e; opacity: 0.72; }
.ed-workspace-avatar.is-more {
    background: #f8fafc;
    color: #475569;
    border-color: #fff;
}

.ed-workspace-invite-slot {
    display: inline-flex;
    align-items: center;
}

.ed-workspace-invite {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin-left: 6px;
    padding: 0 10px;
    border: 1px dashed #d1d5db;
    border-radius: 3px;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    background: #fff;
}

.ed-workspace-limit {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    color: #64748b;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

/* ===== EMPLOYER DASHBOARD: LIVE BANNER ===== */
.ed-live-banner-dash {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: #fcfffd;
    border: 1px solid rgba(42, 187, 81, 0.16);
    border-radius: 3px;
    margin-bottom: 0;
    font-size: 13px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.025);
}

.ed-live-banner-dash.is-paused {
    background: #fffaf4;
    border-color: rgba(217, 119, 6, 0.22);
}

.ed-live-pulse-dash {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #2abb51;
    flex-shrink: 0;
    animation: ed-pulse 1.8s ease-out infinite;
}

.ed-live-banner-dash.is-paused .ed-live-pulse-dash {
    background: #d97706;
    animation: none;
}

@keyframes ed-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(42,187,81,0.55); }
    70%  { box-shadow: 0 0 0 8px rgba(42,187,81,0); }
    100% { box-shadow: 0 0 0 0 rgba(42,187,81,0); }
}

.ed-live-banner-dash-text {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: #475569;
    line-height: 1.5;
    min-width: 0;
}

.ed-live-banner-dash-text strong {
    color: #0f172a;
}

.ed-live-sep,
.ed-workspace-sep {
    color: #cbd5e1;
}

.ed-live-banner-dash [hidden] {
    display: none;
}

.ed-live-what {
    margin-left: auto;
    color: #475569;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* Inner content spacing for employer */
.employer-inner-content {
    padding: 18px 22px 54px !important;
    border-radius: 0 !important;
}

.employer-dashboard {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.employer-brief-lab {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
}

.employer-brief-lab > * {
    min-width: 0;
}

.brief-pane {
    background: var(--employer-surface);
    border: 1px solid var(--employer-border);
    border-radius: var(--employer-radius-lg);
    box-shadow: var(--employer-soft-shadow);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.brief-pane-overview {
    display: none !important;
}

.brief-overview-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.brief-overview-title {
    margin: 0;
    max-width: 13ch;
    font-size: clamp(2.75rem, 5.2vw, 4.8rem);
    line-height: 0.95;
    letter-spacing: -0.07em;
}

.brief-overview-meta {
    margin: 0;
    color: var(--employer-text-secondary);
    max-width: 48rem;
    font-size: 1.03rem;
    line-height: 1.7;
}

.brief-overview-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

#employer-company-switcher {
    display: grid;
    gap: 8px;
    min-width: 240px;
    grid-column: 1 / -1;
}

#dashboard-context-strip .employer-context-strip {
    margin-bottom: 0;
}

#employer-company-switcher .workspace-select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--employer-border);
    border-radius: 10px;
    padding: 10px 12px;
    background: var(--employer-surface);
    color: var(--employer-text-primary);
}

.brief-pane-summary {
    gap: 14px;
}

.brief-pane-signals {
    gap: 14px;
}

.brief-pane-plan {
    gap: 14px;
}

.brief-plan-access {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.brief-engine-state {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.brief-status-card.ed-engine-card {
    background: #fcfffd;
    border-color: rgba(42, 187, 81, 0.18);
}

.brief-plan-access .brief-status-card {
    padding: 14px;
    background: #fff;
}

.brief-plan-access .brief-status-card strong {
    font-size: 1rem;
}

.dashboard-signal-strip {
    display: none !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 8px;
    border: 1px solid rgba(213, 219, 212, 0.7);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    overflow: hidden;
}

.dashboard-signal-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 104px;
    padding: 18px;
    border-radius: 10px;
    border: 0;
    background: transparent;
    box-shadow: none;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.dashboard-signal-card:hover {
    border-color: transparent;
    box-shadow: none;
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.52);
}

.dashboard-signal-card + .dashboard-signal-card {
    border-left: 1px solid rgba(226, 232, 240, 0.82);
}

.dashboard-signal-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--employer-text-muted);
}

.dashboard-signal-value {
    font-size: 2.05rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--employer-text-primary);
    font-weight: 850;
}
.dashboard-signal-value-text {
    font-size: 1.18rem;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.dashboard-signal-meta {
    color: var(--employer-text-secondary);
    font-size: 0.86rem;
    line-height: 1.45;
}

.brief-plan-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.brief-lab-kicker,
.brief-summary-label,
.brief-thread-role,
.brief-composer-label,
.brief-shell-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--employer-text-muted);
    margin: 0;
}

.brief-lab-title {
    margin: 8px 0 8px;
    font-size: 2rem;
    line-height: 1.1;
    color: var(--employer-text-primary);
    letter-spacing: -0.03em;
}

.brief-lab-copy {
    margin: 0;
    color: var(--employer-text-secondary);
    font-size: 0.94rem;
    line-height: 1.6;
}

.brief-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.brief-chip {
    border: 1px solid #d1fae5;
    background: #f0fdf4;
    color: #166534;
    border-radius: 999px;
    padding: 9px 13px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
}

.brief-chip:hover,
.brief-suggestion:hover,
.brief-toggle-chip:hover {
    border-color: #86efac;
    background: #ecfdf5;
}

.brief-composer-shell,
.brief-conversation-shell,
.brief-subpanel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    background: #f9fafb;
    padding: 14px;
}

.brief-composer {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.brief-composer-input {
    min-height: 160px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 16px 18px;
    font: inherit;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--employer-text-primary);
    resize: vertical;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    background: #fff;
}

.brief-composer-input:focus,
.brief-control select:focus {
    outline: none;
    border-color: #2abb51;
    box-shadow: 0 0 0 3px rgba(42, 187, 81, 0.12);
}

.brief-composer-actions,
.brief-panel-actions,
.brief-panel-heading,
.brief-candidate-top,
.brief-radar-row,
.brief-simulation-controls,
.brief-shell-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brief-structured-summary,
.brief-feasibility-panel {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.brief-composer-actions,
.brief-panel-actions,
.brief-simulation-controls,
.brief-panel-heading {
    flex-wrap: wrap;
}

.brief-composer-footnote {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.brief-composer-footnote p {
    margin: 0;
    color: var(--employer-text-secondary);
    font-size: 0.88rem;
}

.brief-footnote-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    background: #dcfce7;
    color: #166534;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.brief-thread {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 170px;
    max-height: 320px;
    overflow: auto;
    padding-right: 4px;
}

.brief-thread-item {
    border-radius: 12px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
}

.brief-thread-item.user {
    background: #f0fdf4;
    border-color: #d1fae5;
}

.brief-thread-item.starter {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.brief-thread-text {
    margin: 8px 0 0;
    color: var(--employer-text-primary);
    line-height: 1.6;
    white-space: pre-wrap;
}

.brief-thread-delivery-failed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 13px;
}

.brief-thread-delivery-failed button {
    flex-shrink: 0;
}

.brief-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: #f3f4f6;
    color: #475569;
}

.brief-status-pill.is-empty {
    background: #f3f4f6;
    color: #64748b;
}

.brief-status-pill.is-busy {
    background: #e0f2fe;
    color: #0369a1;
}

.brief-status-pill.is-draft {
    background: #fef3c7;
    color: #92400e;
}

.brief-status-pill.is-ready {
    background: #dcfce7;
    color: #166534;
}

.brief-status-card,
.brief-primary-signal {
    border: 1px solid var(--employer-border);
    border-radius: 12px;
    padding: 18px;
    background: var(--employer-surface-soft);
    min-width: 0;
    box-sizing: border-box;
}

.brief-status-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.brief-status-card-link:hover {
    border-color: var(--employer-border-strong);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}

.brief-primary-signal {
    background: #f6fbf8;
    border-color: #d7efe0;
}

.brief-primary-signal.empty {
    background: #f8fafc;
    border-color: #e5e7eb;
}

.brief-status-card strong,
.brief-primary-signal strong {
    display: block;
    margin-top: 10px;
    color: var(--employer-text-primary);
    font-size: 1.12rem;
    line-height: 1.35;
}

.brief-plan-link-copy {
    display: inline-flex;
    margin-top: 10px;
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.brief-primary-meta {
    margin-top: 8px;
    color: var(--employer-text-secondary);
    font-size: 0.84rem;
}

.brief-summary-grid,
.brief-metric-grid,
.brief-radar-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.brief-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.brief-summary-item,
.brief-summary-block,
.brief-metric-card,
.brief-inline-alert {
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 14px;
    background: #fff;
    min-width: 0;
    box-sizing: border-box;
}

.brief-summary-item strong,
.brief-summary-block strong,
.brief-metric-card strong {
    display: block;
    margin-top: 6px;
    color: var(--employer-text-primary);
    font-size: 1rem;
}

.brief-summary-block.accent {
    background: #f0fdf4;
    border-color: #d1fae5;
}

.brief-market-snapshot {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.brief-market-card {
    border: 1px solid #dbeafe;
    border-radius: 14px;
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.brief-market-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.brief-market-head strong {
    display: block;
    margin-top: 6px;
    color: var(--employer-text-primary);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brief-market-state {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.92);
    color: #1d4ed8;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
}

.brief-market-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.brief-market-grid .brief-summary-item {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(191, 219, 254, 0.9);
}

.brief-market-grid .brief-summary-item strong {
    font-size: 0.85rem;
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.035em;
}

.brief-advanced-fields {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
}

.brief-advanced-fields summary {
    list-style: none;
    cursor: pointer;
    padding: 12px 14px;
    font-weight: 700;
    color: var(--employer-text-primary);
}

.brief-advanced-fields summary::-webkit-details-marker {
    display: none;
}

.brief-advanced-fields summary::after {
    content: '+';
    float: right;
    color: #2abb51;
    font-size: 1.1rem;
    line-height: 1;
}

.brief-advanced-fields[open] summary::after {
    content: '-';
}

.brief-advanced-fields-body {
    padding: 0 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.brief-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.brief-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 0.76rem;
    font-weight: 600;
}

.brief-tag.positive {
    background: #ecfdf5;
    color: #166534;
}

.brief-tag-row-compact {
    margin-top: 10px;
    gap: 6px;
}

.brief-control {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 132px;
    font-size: 0.8rem;
    color: var(--employer-text-secondary);
}

.brief-control select {
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
    font: inherit;
    color: var(--employer-text-primary);
}

.brief-toggle-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: var(--employer-text-primary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.brief-toggle-chip input {
    accent-color: #2abb51;
}

.brief-signal-sections {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.brief-inline-stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.brief-attention-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    min-width: 0;
    box-sizing: border-box;
}

.brief-attention-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
}

.brief-attention-row + .brief-attention-row {
    border-top: 1px solid #eef2f7;
}

.brief-attention-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.brief-pressure-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.brief-pressure-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    background: #fff;
    padding: 14px 16px;
}

.brief-pressure-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brief-inline-alert strong,
.brief-suggestion strong {
    color: var(--employer-text-primary);
}

.brief-inline-alert span {
    display: inline-flex;
    margin-left: 8px;
    color: #166534;
    font-weight: 600;
}

.brief-suggestion {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    padding: 12px 14px;
    text-align: left;
    cursor: pointer;
}

.brief-suggestion span,
.brief-suggestion em {
    color: var(--employer-text-secondary);
    font-style: normal;
}

.brief-candidate-card {
    border: 1px solid #eef2f7;
    border-radius: 14px;
    padding: 10px;
    background: #fff;
}

.brief-pane-summary .dashboard-panel-title,
.brief-pane-signals .dashboard-panel-title,
.brief-pane-plan .dashboard-panel-title {
    margin: 0;
    line-height: 1.15;
}

.brief-pane-summary .dashboard-panel-subtitle,
.brief-pane-signals .dashboard-panel-subtitle,
.brief-pane-plan .dashboard-panel-subtitle,
.brief-pane-summary .dashboard-list-meta,
.brief-pane-signals .dashboard-list-meta,
.brief-pane-plan .dashboard-list-meta {
    margin: 0;
    line-height: 1.6;
    color: var(--employer-text-secondary);
}

.brief-card-link-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.brief-decision-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 10px 0 4px;
}

.brief-decision-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--employer-border);
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.brief-decision-card:hover {
    border-color: var(--employer-border-strong);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.brief-decision-main {
    flex: 1;
    min-width: 0;
}

.brief-decision-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 3px;
}

.brief-decision-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--employer-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brief-decision-role {
    font-size: 0.83rem;
    color: var(--employer-text-secondary);
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brief-decision-summary {
    font-size: 0.83rem;
    line-height: 1.5;
    margin: 0;
}

.brief-decision-btn {
    flex-shrink: 0;
    padding: 8px 14px;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    align-self: center;
    transition: background 0.15s ease;
}

.brief-decision-btn:hover {
    background: #22a347;
}

.dashboard-inline-link {
    color: #2563eb;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.dashboard-inline-link:hover {
    text-decoration: underline;
}

.brief-candidate-score {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.brief-candidate-score strong {
    font-size: 1rem;
    color: var(--employer-text-primary);
}

.brief-candidate-score span,
.brief-feasibility-summary {
    color: var(--employer-text-secondary);
}

.compact {
    padding: 12px 14px;
}

/* ===== WELCOME SECTION ===== */
.employer-welcome-section {
    padding: 0 4px 20px;
    border-bottom: 1px solid #f0f1f3;
    margin-bottom: 8px;
}

.employer-welcome-section .welcome-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--employer-text-primary);
    margin: 0 0 4px 0;
    letter-spacing: -0.025em;
}

.employer-welcome-section .welcome-subtitle {
    font-size: 0.9375rem;
    color: var(--employer-text-secondary);
    margin: 0;
}

/* Force-hide utility */
.employer-dashboard .stats-cards-wrapper.is-hidden,
.employer-dashboard .dashboard-section.is-hidden,
.employer-dashboard .quick-actions.is-hidden {
    display: none !important;
}

/* ===== STATS WRAPPER ===== */
.stats-cards-wrapper {
    background: #f8f9fb;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #eef0f3;
}

/* ===== STATS ROW ===== */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}

.stat-card {
    background: var(--employer-surface);
    border: 1px solid var(--employer-border);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.15s ease;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.stat-card:hover {
    border-color: #2abb51;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stat-card.no-hover {
    cursor: default;
}

.stat-card.no-hover:hover {
    border-color: var(--employer-border);
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 20px;
    height: 20px;
}

.vacancies-icon {
    background: #ecfdf5;
}

.vacancies-icon svg {
    color: #059669;
}

.applications-icon {
    background: #eff6ff;
}

.applications-icon svg {
    color: #3b82f6;
}

.pipeline-icon {
    background: #fef3c7;
}

.pipeline-icon svg {
    color: #d97706;
}

.stat-content {
    flex: 1;
    min-width: 0;
}

.stat-card-title {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--employer-text-secondary);
    margin: 0 0 4px 0;
}

.stat-card .value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--employer-text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.stat-subvalue {
    margin-top: 4px;
    font-size: 0.75rem;
    color: var(--employer-text-secondary);
}

.stat-card .stat-link {
    font-size: 0.75rem;
    color: #2abb51;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    margin-left: auto;
    align-self: center;
}

.stat-card .stat-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.stat-card:hover .stat-link svg {
    transform: translateX(2px);
}

/* ===== DASHBOARD SECTION ===== */
.dashboard-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-title-row {
    padding: 0 4px;
}

.section-title-row h2 {
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--employer-text-primary);
    margin: 0;
    letter-spacing: -0.01em;
}

/* ===== DASHBOARD GRID ===== */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    width: 100%;
}

/* ===== SECTION CARDS ===== */
.section-card {
    background: var(--employer-surface);
    border: 1px solid var(--employer-border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.02);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
}

.section-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--employer-text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title svg {
    color: var(--employer-text-secondary);
}

.view-all-link {
    font-size: 0.75rem;
    color: #2abb51;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.view-all-link:hover {
    text-decoration: underline;
}

.view-all-link svg {
    width: 14px;
    height: 14px;
}

/* ===== CANDIDATE LIST ===== */
.candidate-list {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 8px;
}

.candidate-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.candidate-item:hover {
    background: #f9fafb;
}

.candidate-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.candidate-name {
    font-weight: 500;
    color: var(--employer-text-primary);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.candidate-vacancy {
    font-size: 0.75rem;
    color: var(--employer-text-secondary);
}

.candidate-status {
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 500;
    white-space: nowrap;
}

.status-new {
    background: #ecfdf5;
    color: #059669;
}

.status-ai-match {
    background: #f3e8ff;
    color: #7c3aed;
}

.ai-match-item {
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.03) 0%, transparent 30%);
}

.status-screening {
    background: #eff6ff;
    color: #2563eb;
}

.status-interview {
    background: #faf5ff;
    color: #9333ea;
}

/* ===== VACANCY LIST ===== */
.vacancy-list {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 8px;
}

.vacancy-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.vacancy-item:hover {
    background: #f9fafb;
}

.vacancy-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.vacancy-title {
    font-weight: 500;
    color: var(--employer-text-primary);
    font-size: 0.875rem;
}

.vacancy-meta {
    font-size: 0.75rem;
    color: var(--employer-text-secondary);
}

.vacancy-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vacancy-count {
    font-size: 0.75rem;
    color: var(--employer-text-secondary);
}

.vacancy-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.vacancy-status.active {
    background: #22c55e;
}

.vacancy-status.inactive {
    background: #ef4444;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 40px 24px;
    color: var(--employer-text-muted);
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.empty-state svg {
    margin-bottom: 8px;
}

.empty-state p {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

.empty-state .empty-hint {
    font-size: 0.8125rem;
    color: var(--employer-text-muted);
    margin-bottom: 12px;
}

.empty-state .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #111827;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8125rem;
    transition: background 0.15s ease;
    margin-top: 8px;
}

.empty-state .btn:hover {
    background: #1f2937;
}

.empty-state .btn svg {
    width: 14px;
    height: 14px;
    margin-bottom: 0;
}

/* ===== ENTITLEMENTS BANNER ===== */
.entitlements-banner {
    display: none;
    justify-content: space-between;
    align-items: center;
    background: var(--employer-surface);
    border: 1px solid var(--employer-border);
    border-radius: 10px;
    padding: 14px 20px;
}

.entitlements-banner .plan-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.entitlements-banner .plan {
    font-weight: 600;
    color: var(--employer-text-primary);
    font-size: 0.875rem;
}

.entitlements-banner .usage {
    font-size: 0.8125rem;
    color: var(--employer-text-secondary);
}

.entitlements-banner .cta a {
    display: inline-flex;
    align-items: center;
    background: #2abb51;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: background 0.15s ease;
}

.entitlements-banner .cta a:hover {
    background: #25a349;
}

/* ===== META SECTION - Hidden, using welcome section now ===== */
.meta-section {
    display: none;
}

/* ===== ONBOARDING ===== */
.onboarding-container {
    background: var(--employer-surface);
    border: 1px solid var(--employer-border);
    border-radius: 12px;
    padding: 64px 48px;
    text-align: center;
    max-width: 720px;
    margin: 20px auto;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 6px 16px rgba(0,0,0,0.03);
}

.onboarding-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: #2abb51;
}

.onboarding-title {
    font-size: 1.5rem;
    color: var(--employer-text-primary);
    margin: 0 0 12px 0;
    font-weight: 600;
}

.onboarding-subtitle {
    color: var(--employer-text-secondary);
    margin: 0 0 40px 0;
    font-size: 1rem;
    line-height: 1.6;
}

.onboarding-steps {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 40px;
}

.onboarding-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 180px;
}

.onboarding-step-number {
    width: 36px;
    height: 36px;
    background: #111827;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.onboarding-step-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.onboarding-step-title {
    font-weight: 600;
    color: var(--employer-text-primary);
    margin: 0;
    font-size: 0.9375rem;
}

.onboarding-step-desc {
    font-size: 0.8125rem;
    color: var(--employer-text-secondary);
    margin: 0;
    line-height: 1.5;
}

.onboarding-cta .button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #111827;
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: background 0.15s ease;
}

.onboarding-cta .button:hover {
    background: #1f2937;
}

.onboarding-cta .button i {
    font-size: 0.875rem;
}

/* ===== UPSELL MODAL ===== */
.upsell-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.upsell-modal {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    max-width: 400px;
    text-align: center;
}

.upsell-modal h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--employer-text-primary);
    margin: 0 0 8px 0;
}

.upsell-modal p {
    color: var(--employer-text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 0.875rem;
}

.upsell-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.upsell-actions .btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--employer-border);
    background: #fff;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--employer-text-primary);
    transition: all 0.15s ease;
}

/* ===== STRUCTURED CRITERION QUICK EDIT ===== */
.salary-quick-edit-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(3px);
}

.salary-quick-edit-overlay.is-open {
    display: flex;
}

.salary-quick-edit-modal {
    position: relative;
    width: min(100%, 560px);
    padding: 30px;
    color: #172033;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.2), 0 4px 16px rgba(15, 23, 42, 0.08);
}

.salary-quick-edit-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    color: #536176;
    background: transparent;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
}

.salary-quick-edit-close:hover {
    color: #172033;
    background: #f4f6f8;
}

.salary-quick-edit-close svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
}

.salary-quick-edit-kicker {
    margin: 0 0 7px;
    color: #14833d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.salary-quick-edit-modal h2 {
    margin: 0;
    padding-right: 44px;
    color: #172033;
    font-size: 25px;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.salary-quick-edit-role {
    margin: 6px 0 24px;
    color: #667085;
    font-size: 14px;
    font-weight: 600;
}

.salary-quick-edit-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 92px;
    color: #536176;
    font-size: 14px;
}

.salary-quick-edit-loading[hidden],
.salary-quick-edit-form[hidden] {
    display: none;
}

.salary-quick-edit-evidence {
    margin-bottom: 20px;
    padding: 13px 15px;
    color: #365314;
    background: #f7fee7;
    border: 1px solid #d9f99d;
    border-radius: 10px;
    font-size: 13.5px;
    line-height: 1.45;
}

.salary-quick-edit-structured,
.salary-quick-edit-natural {
    transition: opacity 0.16s ease;
}

.salary-quick-edit-structured.is-deemphasized,
.salary-quick-edit-natural.is-deemphasized {
    opacity: 0.52;
}

.salary-quick-edit-mode {
    display: flex;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
}

.salary-quick-edit-mode legend {
    width: 100%;
    margin-bottom: 8px;
    color: #344054;
    font-size: 12px;
    font-weight: 650;
}

.salary-quick-edit-mode label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 13px;
    color: #344054;
    background: #fff;
    border: 1px solid #d8dee7;
    border-radius: 9px;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 600;
}

.salary-quick-edit-mode label:has(input:checked) {
    color: #076b35;
    background: #effbf3;
    border-color: #83d5a2;
}

.salary-quick-edit-mode input {
    accent-color: #14833d;
}

.salary-quick-edit-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) minmax(130px, 0.8fr);
    align-items: end;
    gap: 10px;
}

.salary-quick-edit-field {
    display: grid;
    gap: 7px;
    min-width: 0;
    color: #536176;
    font-size: 12px;
    font-weight: 650;
}

.salary-quick-edit-input-wrap {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding-left: 12px;
    color: #667085;
    background: #fff;
    border: 1px solid #cfd6e1;
    border-radius: 10px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.salary-quick-edit-input-wrap:focus-within,
.salary-quick-edit-unit select:focus {
    border-color: #14833d;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(20, 131, 61, 0.15);
}

.salary-quick-edit-input-wrap input {
    width: 100%;
    min-width: 0;
    padding: 10px 10px 10px 6px;
    color: #172033;
    background: transparent;
    border: 0;
    outline: 0;
    font: inherit;
    font-size: 15px;
    font-weight: 650;
}

.salary-quick-edit-unit select {
    min-height: 44px;
    padding: 0 32px 0 11px;
    color: #172033;
    background: #fff;
    border: 1px solid #cfd6e1;
    border-radius: 10px;
    font: inherit;
    font-size: 13px;
}

.salary-quick-edit-range-separator {
    align-self: end;
    padding-bottom: 12px;
    color: #98a2b3;
}

.salary-quick-edit-error {
    margin: 14px 0 0;
    padding: 10px 12px;
    color: #991b1b;
    background: #fef2f2;
    border-radius: 8px;
    font-size: 13px;
}

.salary-quick-edit-natural {
    display: grid;
    gap: 8px;
    margin-top: 22px;
}

.salary-quick-edit-natural label {
    color: #344054;
    font-size: 12px;
    font-weight: 650;
}

.salary-quick-edit-natural textarea {
    width: 100%;
    min-height: 82px;
    resize: vertical;
    padding: 11px 12px;
    color: #172033;
    background: #fff;
    border: 1px solid #cfd6e1;
    border-radius: 10px;
    outline: 0;
    font: inherit;
    font-size: 14px;
    line-height: 1.45;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.salary-quick-edit-natural textarea::placeholder {
    color: #7b8798;
}

.salary-quick-edit-natural textarea:focus {
    border-color: #14833d;
    box-shadow: 0 0 0 3px rgba(20, 131, 61, 0.15);
}

.salary-quick-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eaecf0;
}

.salary-quick-edit-cancel,
.salary-quick-edit-save {
    min-height: 42px;
    padding: 0 17px;
    border-radius: 9px;
    cursor: pointer;
    font: inherit;
    font-size: 13.5px;
    font-weight: 700;
}

.salary-quick-edit-cancel {
    color: #344054;
    background: #fff;
    border: 1px solid #d8dee7;
}

.salary-quick-edit-save {
    color: #fff;
    background: #14833d;
    border: 1px solid #14833d;
    box-shadow: 0 4px 10px rgba(20, 131, 61, 0.18);
}

.salary-quick-edit-save:hover {
    background: #0f7134;
    border-color: #0f7134;
}

.salary-quick-edit-close:focus-visible,
.salary-quick-edit-mode label:focus-within,
.salary-quick-edit-natural textarea:focus-visible,
.salary-quick-edit-cancel:focus-visible,
.salary-quick-edit-save:focus-visible {
    outline: 3px solid rgba(20, 131, 61, 0.22);
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .salary-quick-edit-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .salary-quick-edit-modal {
        width: 100%;
        max-height: 92vh;
        overflow-y: auto;
        padding: 24px 20px;
        border-radius: 18px 18px 0 0;
    }

    .salary-quick-edit-fields {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    }

    .salary-quick-edit-unit {
        grid-column: 1 / -1;
    }
}

.upsell-actions .btn:hover {
    background: #f9fafb;
}

.upsell-actions .btn-primary {
    background: #2abb51;
    color: #fff;
    border-color: #2abb51;
}

.upsell-actions .btn-primary:hover {
    background: #25a349;
}

.is-hidden {
    display: none !important;
}

.employer-workspace {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
}

.employer-panel-wide {
    grid-column: 1 / -1;
}

.dashboard-mini-action {
    padding: 8px 12px;
    font-size: 0.78rem;
}

.employer-panel {
    min-height: 100%;
}

.employer-candidate-drawer {
    background: #f8fafc;
}

.employer-candidate-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.employer-candidate-title {
    font-size: 1.55rem;
}

.employer-candidate-subtitle {
    margin-top: 6px;
}

.employer-drawer-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.employer-stage-select,
.employer-note-input {
    width: 100%;
    border: 1px solid rgba(203, 213, 225, 0.95);
    border-radius: 12px;
    background: #fff;
    color: #0f172a;
    padding: 10px 12px;
    font-size: 0.9rem;
    box-sizing: border-box;
}

.employer-stage-select {
    max-width: 180px;
}

.employer-note-input {
    resize: vertical;
    min-height: 110px;
    margin-top: 12px;
}

.employer-note-actions {
    margin-top: 10px;
}

.employer-candidate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.employer-candidate-section {
    box-shadow: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .employer-inner-content {
        padding: 32px 20px !important;
    }

    .employer-dashboard {
        gap: 24px;
    }

    .employer-brief-lab {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-signal-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .brief-pane-overview,
    .brief-pane-summary,
    .brief-pane-signals,
    .brief-pane-plan {
        grid-column: auto;
    }

    .brief-pane-overview {
        grid-template-columns: 1fr;
    }

    .brief-overview-actions {
        justify-content: flex-start;
    }

    .brief-pane-plan {
        grid-column: 1 / -1;
    }

    .brief-pane {
        padding: 22px;
    }

    .brief-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .brief-market-head,
    .brief-pressure-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-grid {
        gap: 16px;
    }

    .onboarding-steps {
        gap: 32px;
    }

    .employer-candidate-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 899px) {
    .employer-inner-content {
        padding: 24px 16px 20px !important;
    }

    .dashboard-signal-strip {
        grid-template-columns: 1fr;
    }

    .employer-welcome-section {
        padding-bottom: 16px;
    }

    .employer-welcome-section .welcome-title {
        font-size: 1.375rem;
    }

    .stats-cards-wrapper {
        padding: 14px;
        border-radius: 12px;
    }

    .stats-overview {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .brief-card-link-row {
        flex-direction: column;
        align-items: stretch;
    }

    .brief-market-grid,
    .brief-summary-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 14px 16px;
    }

    .stat-card .value {
        font-size: 1.5rem;
    }

    .stat-card .stat-link {
        display: none;
    }

    .section-title-row {
        display: none;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .employer-brief-lab {
        grid-template-columns: 1fr;
    }

    .brief-pane-overview,
    .brief-pane-summary,
    .brief-pane-signals,
    .brief-pane-plan {
        grid-column: auto;
        grid-row: auto;
    }

    .employer-workspace {
        grid-template-columns: 1fr;
    }

    .brief-pane,
    .brief-composer-shell,
    .brief-conversation-shell,
    .brief-subpanel {
        padding: 16px;
        border-radius: 14px;
    }

    .brief-lab-title {
        font-size: 1.55rem;
    }

    .brief-summary-grid,
    .brief-metric-grid,
    .brief-radar-grid {
        grid-template-columns: 1fr;
    }

    .brief-panel-heading,
    .brief-shell-heading,
    .brief-candidate-top {
        align-items: flex-start;
    }

    .brief-status-pill {
        width: 100%;
        justify-content: flex-start;
    }

    .section-card {
        min-height: auto;
    }

    .section-header {
        padding: 14px 16px;
    }

    .candidate-list,
    .vacancy-list {
        padding: 4px;
    }

    .candidate-item,
    .vacancy-item {
        padding: 10px 12px;
    }

    .empty-state {
        padding: 32px 16px;
    }

    .onboarding-container {
        padding: 40px 24px;
        margin: 12px auto;
    }

    .onboarding-title {
        font-size: 1.25rem;
    }

    .onboarding-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 32px;
    }

    .onboarding-steps {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .onboarding-step {
        flex-direction: row;
        text-align: left;
        max-width: none;
        gap: 16px;
    }

    .onboarding-step-number {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .onboarding-cta .button {
        width: 100%;
        justify-content: center;
    }

    .entitlements-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .entitlements-banner .cta {
        width: 100%;
    }

    .entitlements-banner .cta a {
        width: 100%;
        justify-content: center;
    }

    .employer-candidate-hero {
        flex-direction: column;
    }

    .employer-drawer-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .employer-stage-select {
        max-width: none;
    }
}

@media (max-width: 400px) {
    .stat-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .stat-icon {
        width: 36px;
        height: 36px;
    }

    .stat-card .value {
        font-size: 1.75rem;
    }
}

body.role-werkgever .app-main,
body.role-werkgever .employer-inner-content {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.brief-pane-overview .brief-overview-actions {
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.brief-pane-overview .dashboard-action-link {
    min-height: 44px;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 720;
    line-height: 1;
}

.brief-pane-overview .dashboard-action-link.primary {
    background: linear-gradient(135deg, #102017 0%, #123122 58%, #178a3b 100%);
    border-color: rgba(42, 187, 81, 0.28);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12), 0 8px 18px rgba(42, 187, 81, 0.12);
}

.brief-pane-overview .dashboard-action-link.secondary,
.dashboard-mini-action {
    background: rgba(255, 255, 255, 0.66);
    border-color: rgba(203, 213, 225, 0.58);
    color: #243044;
}

.brief-pane-overview .dashboard-action-link.secondary {
    min-width: 86px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.045);
}

.brief-pane-overview #dashboard-context-strip {
    grid-column: 1 / -1;
}

.brief-pane-overview .employer-context-strip {
    border-radius: 12px;
    border-color: rgba(203, 213, 225, 0.64);
    background: rgba(255, 255, 255, 0.62);
    box-shadow: none;
}

.brief-pane-overview #employer-company-switcher:empty,
.brief-pane-overview #dashboard-context-strip:empty {
    display: none;
}

.brief-panel-heading {
    align-items: flex-start;
    padding-bottom: 2px;
}

.brief-pane-summary {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.82)),
        radial-gradient(circle at 100% 0%, rgba(42, 187, 81, 0.06), transparent 18rem);
    border-color: rgba(42, 187, 81, 0.14);
}

.brief-pane-signals,
.brief-pane-plan {
    box-shadow: none;
}

.brief-pane-signals {
    background: rgba(255, 255, 255, 0.7);
}

.brief-pane-plan {
    background: rgba(248, 250, 252, 0.68);
}

.brief-pane-summary .dashboard-panel-title,
.brief-pane-signals .dashboard-panel-title,
.brief-pane-plan .dashboard-panel-title {
    font-size: 1.08rem;
    font-weight: 780;
    letter-spacing: -0.03em;
}

.brief-primary-signal,
.brief-status-card,
.brief-summary-item,
.brief-summary-block,
.brief-metric-card,
.brief-inline-alert,
.brief-attention-list,
.brief-pressure-row,
.brief-suggestion,
.brief-candidate-card,
.brief-market-card {
    border-radius: 12px;
    border-color: rgba(226, 232, 240, 0.86);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.brief-primary-signal {
    position: relative;
    background: linear-gradient(135deg, rgba(42, 187, 81, 0.105), rgba(255, 255, 255, 0.88));
    border-color: rgba(42, 187, 81, 0.18);
}

.brief-primary-signal::before {
    content: '';
    position: absolute;
    inset: 16px auto 16px 0;
    width: 3px;
    border-radius: 999px;
    background: #2abb51;
}

.brief-status-card strong,
.brief-primary-signal strong,
.brief-summary-item strong,
.brief-summary-block strong,
.brief-metric-card strong {
    letter-spacing: -0.02em;
}

.brief-status-pill,
.brief-market-state,
.brief-tag,
.brief-footnote-pill {
    border-radius: 999px;
    letter-spacing: 0.07em;
}

.brief-attention-row,
.brief-pressure-row {
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.brief-pressure-row:hover,
.brief-suggestion:hover,
.brief-status-card-link:hover {
    border-color: rgba(42, 187, 81, 0.22);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.055);
}

.brief-plan-links .dashboard-action-link,
.brief-card-link-row .dashboard-action-link,
.dashboard-mini-action {
    border-radius: 8px;
}

@media (max-width: 1024px) {
    .brief-pane-overview {
        padding: 30px;
    }

    .dashboard-signal-card + .dashboard-signal-card {
        border-left: 0;
    }

    .dashboard-signal-card:nth-child(even) {
        border-left: 1px solid rgba(226, 232, 240, 0.82);
    }
}

@media (max-width: 899px) {
    .employer-inner-content {
        padding-inline: 14px !important;
    }

    .brief-pane-overview {
        padding: 24px;
        border-radius: 12px;
    }

    .brief-overview-title {
        max-width: none;
        font-size: clamp(2.15rem, 14vw, 3rem);
    }

    .brief-overview-actions,
    .brief-pane-overview .dashboard-action-link,
    #employer-company-switcher {
        width: 100%;
    }

    .dashboard-signal-strip {
        padding: 6px;
        border-radius: 12px;
    }

    .dashboard-signal-card,
    .dashboard-signal-card:nth-child(even) {
        border-left: 0;
        border-top: 1px solid rgba(226, 232, 240, 0.82);
    }

    .dashboard-signal-card:first-child {
        border-top: 0;
    }
}

/* ===== EMPLOYER DASHBOARD: DECISION-ENGINE LAYOUT ===== */


/* FOCUS BLOCK */
.ed-focus {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    padding: 22px 24px 0;
    box-shadow: 0 1px 2px rgba(15,23,42,0.03);
    overflow: hidden;
    min-height: 430px;
    display: flex;
    flex-direction: column;
}

.ed-focus-kicker {
    font-size: 10px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.ed-focus-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 42px;
    align-items: center;
    padding: 56px 0 24px;
    flex: 1;
}
.ed-focus-left {
    min-width: 0;
}
.ed-focus-headline {
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.12;
    color: #0f172a;
    margin: 0 0 12px;
}
.ed-focus-urgency {
    font-size: 13px;
    color: #64748b;
    font-weight: 400;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ed-focus-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.ed-focus-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0f172a;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    padding: 9px 15px;
    border-radius: 3px;
    text-decoration: none;
    box-shadow: none;
    transition: background 0.15s;
}
.ed-focus-cta:hover {
    background: #111827;
}
.ed-focus-queue-meta {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 500;
}
.ed-focus-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid #f1f5f9;
    font-size: 11.5px;
    color: #64748b;
    flex-wrap: wrap;
    margin: 0 -28px;
    padding-left: 28px;
    padding-right: 28px;
    background: #fbfcfd;
    margin-top: auto;
}
.ed-focus-stat {
    font-variant-numeric: tabular-nums;
}
.ed-focus-stat b {
    color: #0f172a;
}
.ed-stat-live b {
    color: #166534;
}
.ed-focus-stat-sep {
    color: #cbd5e1;
}

/* DECISION CARD (inside focus block) */
.ed-decision-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    padding: 16px;
    box-shadow: 0 1px 2px rgba(15,23,42,0.03);
}
.ed-dc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.ed-dc-avatar {
    width: 40px;
    height: 40px;
    border-radius: 7px;
    background: linear-gradient(135deg, #14b8a6, #059669);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.ed-dc-mid {
    flex: 1;
    min-width: 0;
}
.ed-dc-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ed-dc-role {
    font-size: 11.5px;
    color: #64748b;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ed-score-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 40px;
}
.ed-score-num {
    font-size: 20px;
    font-weight: 760;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
    line-height: 1;
    color: #166534;
}
.ed-score-lbl {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    margin-top: 2px;
}
.ed-dc-fit-tag {
    display: inline-flex;
    align-items: center;
    font-size: 10.5px;
    font-weight: 700;
    color: #166534;
    background: rgba(42,187,81,0.1);
    border: 1px solid rgba(42,187,81,0.25);
    padding: 2px 8px;
    border-radius: 999px;
    margin-bottom: 8px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.ed-dc-summary {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.5;
    margin: 0 0 12px;
}
.ed-dc-actions {
    display: flex;
    gap: 8px;
}
.ed-dc-approve {
    flex: 1;
    background: #0f172a;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    padding: 9px 14px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-family: inherit;
    box-shadow: none;
    transition: background 0.15s;
}
.ed-dc-approve:hover {
    background: #111827;
}
.ed-dc-reject {
    background: #fff;
    color: #64748b;
    font-weight: 600;
    font-size: 13px;
    padding: 9px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    cursor: pointer;
    font-family: inherit;
}

/* TWO-COLUMN LAYOUT */
.ed-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 16px;
    align-items: start;
}
.ed-col-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ed-col-side {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* SECTION PRIMITIVES */
.ed-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ed-section.is-priority {
    order: 1;
}
.ed-section.is-compact-empty {
    order: 2;
}
.ed-section.is-compact-empty .ed-section-head {
    margin-bottom: 6px;
}
.ed-section.is-compact-empty .ed-h2 {
    color: #64748b;
}
.ed-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}
.ed-h2 {
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}
.ed-section-meta {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 500;
    flex-shrink: 0;
}
/* DECISION QUEUE */
.ed-queue {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.ed-queue-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    border-bottom: 1px solid #f1f5f9;
}
.ed-queue-row:last-child {
    border-bottom: none;
}
.ed-queue-avatar {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background: linear-gradient(135deg, #14b8a6, #059669);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.ed-queue-body {
    flex: 1;
    min-width: 0;
}
.ed-queue-top {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.ed-queue-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}
.ed-queue-role {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 500;
}
.ed-queue-stage {
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.ed-queue-follow {
    font-size: 10.5px;
    color: #0f766e;
    font-weight: 500;
    font-style: italic;
    opacity: 0.85;
}
.ed-queue-why {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.45;
}
.ed-queue-action {
    flex-shrink: 0;
    padding: 8px 14px;
    background: #0f172a;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: background 0.15s;
}
.ed-queue-action:hover {
    background: #111827;
}
.ed-queue-handling {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 18px;
    background: #fafbfc;
    font-size: 12px;
    color: #475569;
    border-top: 1px solid #f1f5f9;
}
.ed-queue-handling b {
    color: #0f172a;
}
.ed-queue-handling-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #0f766e;
    flex-shrink: 0;
}
.ed-queue-handling-link {
    margin-left: auto;
    font-size: 12px;
    color: #0f766e;
    font-weight: 600;
    text-decoration: none;
}

/* YOUR ROLES */
.ed-roles {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ed-role {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    padding: 18px 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: border-color 0.15s;
}
.ed-role:hover {
    border-color: rgba(148,163,184,0.5);
}
.ed-role-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}
.ed-role-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.ed-role-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.ed-role-recommend-badge {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 2px 7px;
    border: 1px solid rgba(42, 187, 81, 0.22);
    border-radius: 999px;
    background: rgba(236, 253, 245, 0.86);
    color: #166534;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.ed-role-state-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.ed-role-loc {
    font-size: 12.5px;
    color: #64748b;
    margin-top: 3px;
}
.ed-role-reason {
    display: inline-flex;
    width: fit-content;
    margin-top: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 11px;
    font-weight: 700;
}
.ed-role-timing {
    color: #94a3b8;
}
.ed-role-narrative {
    font-size: 13px;
    color: #475569;
    margin-top: 6px;
    line-height: 1.5;
}
.ed-role-btn {
    flex-shrink: 0;
    padding: 8px 14px;
    background: #fff;
    color: #0f172a;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: border-color 0.15s;
}
.ed-role-btn.is-success {
    background: #0f172a;
    color: #fff;
    border: none;
    box-shadow: none;
}
.ed-role-btn.is-success:hover {
    background: #111827;
}
.ed-role-btn.is-ghost {
    background: #fff;
    color: #92400e;
    border: 1px solid rgba(217, 119, 6, 0.28);
    box-shadow: 0 1px 2px rgba(146, 64, 14, 0.035);
}
.ed-paused-summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid rgba(217, 119, 6, 0.32);
    border-radius: 4px;
    background:
        linear-gradient(135deg, #fffaf4, #fff),
        radial-gradient(circle at 100% 0%, rgba(217, 119, 6, 0.1), transparent 16rem);
    box-shadow: 0 8px 22px rgba(146, 64, 14, 0.045);
}
.ed-paused-summary .dashboard-list-title,
.ed-paused-summary .dashboard-list-meta {
    margin: 0;
}
.ed-paused-summary-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.ed-paused-recommendation {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(217, 119, 6, 0.16);
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
}
.ed-paused-recommendation small {
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}
.ed-paused-recommendation small b {
    color: #0f172a;
    font-weight: 800;
}
.ed-paused-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 7px;
}
.ed-paused-proof span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 3px 8px;
    border: 1px solid rgba(217, 119, 6, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: #475569;
    font-size: 11px;
    font-weight: 700;
}
.ed-paused-summary-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    flex: 0 0 210px;
}
.ed-paused-summary-actions .dashboard-mini-action {
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}
.ed-paused-filter-wrap {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 2px 0 4px;
}
.ed-paused-filter-label {
    color: #94a3b8;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.ed-paused-filters {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}
.ed-paused-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.ed-paused-filter span {
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
}
.ed-paused-filter.is-active {
    border-color: rgba(15, 23, 42, 0.16);
    background: #0f172a;
    color: #fff;
}
.ed-paused-filter.is-active span {
    color: rgba(255, 255, 255, 0.72);
}
.ed-paused-more {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px dashed #e5e7eb;
    border-radius: 4px;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    background: #fff;
}
.ed-paused-more:hover {
    border-color: #cbd5e1;
    color: #0f172a;
}
.ed-role-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
}
.ed-role-funnel {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #64748b;
}
.ed-funnel-stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-variant-numeric: tabular-nums;
}
.ed-funnel-stat b {
    color: #0f172a;
}
.ed-funnel-arrow {
    font-size: 11px;
    color: #cbd5e1;
    font-weight: 700;
}
.ed-mini-pulse {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #2abb51;
    animation: ed-pulse 1.8s ease-out infinite;
    margin-left: 3px;
    vertical-align: middle;
}
.ed-role-manage-link {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    text-decoration: none;
    flex-shrink: 0;
}
.ed-role-manage-link:hover {
    color: #0f172a;
}

/* TEAM ACTIVITY TIMELINE */
.ed-timeline-wrap {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.ed-tl-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid #f8fafc;
}
.ed-tl-row.is-last {
    border-bottom: none;
}
.ed-tl-left {
    flex-shrink: 0;
    padding-top: 2px;
    width: 22px;
    display: flex;
    justify-content: center;
}
.ed-tl-system-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(20,184,166,0.1);
    border: 1px solid rgba(20,184,166,0.18);
    display: grid;
    place-items: center;
}
.ed-tl-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #e2e8f0;
    margin-top: 4px;
}
.ed-tl-body {
    flex: 1;
    min-width: 0;
}
.ed-tl-text {
    font-size: 12.5px;
    color: #0f172a;
    line-height: 1.4;
}
.ed-tl-text b {
    font-weight: 700;
}
.ed-tl-text span {
    color: #475569;
}
.ed-tl-dim {
    color: #94a3b8 !important;
}
.ed-tl-at {
    font-size: 10.5px;
    color: #94a3b8;
    font-weight: 600;
    margin-top: 2px;
    font-variant-numeric: tabular-nums;
}

/* RESPONSIVE: collapse two-col below 900px */
@media (max-width: 900px) {
    .ed-focus-body {
        grid-template-columns: 1fr;
    }
    .ed-focus-right {
        display: none;
    }
    .ed-two-col {
        grid-template-columns: 1fr;
    }
    .ed-col-side {
        position: static;
    }
}

/* ===== SOURCE: decoupled-backend/designs/WerkGenie App UI Kit.html ===== */
.employer-brief-lab [hidden] {
    display: none !important;
}

.employer-inner-content {
    padding: 24px 32px 48px !important;
}

.employer-dashboard {
    max-width: 1360px;
    gap: 0;
}

.ed-workspace-strip {
    padding: 8px 14px;
    border-radius: 5px;
    margin-bottom: 14px;
}

.ed-workspace-left {
    gap: 14px;
}

.ed-workspace-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.ed-workspace-avatars {
    gap: 0;
    padding-left: 6px;
    border-left: 1px solid #f1f5f9;
}

.ed-workspace-invite {
    margin-left: 8px;
    padding: 4px 9px;
    min-height: auto;
    border-radius: 4px;
    background: transparent;
    font-weight: 500;
}

.ed-live-banner-dash {
    gap: 8px;
    padding: 9px 16px;
    background: #fafaf7;
    border: 1px solid #ebe8df;
    border-radius: 5px;
    margin-bottom: 14px;
    font-size: 12px;
}

.ed-live-pulse-dash {
    width: 7px;
    height: 7px;
    background: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
    animation: none;
}

.ed-live-banner-dash-text {
    gap: 8px;
}

.ed-live-banner-dash-text strong {
    font-weight: 500;
}

.ed-focus {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0 24px;
    margin-bottom: 18px;
    min-height: 0;
    box-shadow: none;
}

.ed-focus-body {
    grid-template-columns: 1fr 270px;
    gap: 26px;
    padding: 18px 0;
}

.ed-focus-body.is-status-only {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px 0 12px;
}

.ed-focus-headline {
    font-size: 21px;
    font-weight: 500;
    letter-spacing: -0.022em;
    line-height: 1.25;
    margin: 0 0 8px;
}

.ed-focus-urgency {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 400;
    margin-bottom: 16px;
}

.ed-focus-actions {
    gap: 12px;
    margin-bottom: 12px;
}

.ed-focus-cta {
    background: #0f172a;
    font-weight: 500;
    font-size: 12.5px;
    padding: 7px 14px;
    border-radius: 4px;
    box-shadow: none;
}

.ed-focus-secondary {
    display: inline-flex;
    align-items: center;
    color: #475569;
    font-weight: 500;
    font-size: 12.5px;
    padding: 7px 0;
    text-decoration: none;
}

.ed-focus-context {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: #94a3b8;
    flex-wrap: wrap;
}

.ed-focus-context b {
    color: #0f172a;
}

.ed-focus-stats {
    padding: 9px 24px;
    margin: 0 -24px;
    font-size: 11px;
    color: #94a3b8;
    background: #fafbfc;
}

.ed-decision-card {
    background: transparent;
    border: none;
    border-left: 1px solid #f1f5f9;
    border-radius: 0;
    padding: 0 0 0 22px;
    box-shadow: none;
}

.ed-dc-case-lbl,
.ed-dc-rec-lbl,
.ed-dc-own-lbl {
    font-size: 9.5px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.1em;
}

.ed-dc-case-lbl {
    margin-bottom: 10px;
}

.ed-dc-avatar {
    width: 40px;
    height: 40px;
    border-radius: 7px;
}

.ed-dc-name {
    font-size: 13.5px;
    font-weight: 500;
}

.ed-dc-role {
    font-size: 11.5px;
    color: #94a3b8;
}

.ed-dc-recommend {
    padding: 10px 0 12px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 10px;
}

.ed-dc-rec-lbl {
    margin-bottom: 4px;
}

.ed-dc-rec-action {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.ed-dc-rec-reason {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.5;
}

.ed-dc-ownership {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 10px;
}

.ed-dc-own-cell {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.ed-dc-own-lbl {
    font-size: 9px;
    letter-spacing: 0.08em;
}

.ed-dc-own-val {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #475569;
}

.ed-dc-own-val b {
    color: #0f172a;
}

.ed-dc-own-sep {
    width: 1px;
    height: 24px;
    background: #f1f5f9;
}

.ed-mini-avatar {
    width: 16px;
    height: 16px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #0f766e;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
}

.ed-dc-actions {
    gap: 6px;
}

.ed-dc-approve {
    background: #0f172a;
    font-weight: 500;
    font-size: 12.5px;
    padding: 7px 12px;
    border-radius: 4px;
    box-shadow: none;
}

.ed-dc-reject {
    color: #94a3b8;
    border: none;
    padding: 7px 0;
}

.ed-two-col {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
}

.ed-two-col.is-main-only {
    grid-template-columns: minmax(0, 1fr);
}

.ed-section {
    gap: 0;
    margin-bottom: 22px;
}

.ed-section-head {
    margin-bottom: 10px;
}

.ed-h2 {
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ed-section-meta {
    font-size: 11.5px;
    color: #94a3b8;
    font-weight: 400;
}

.ed-queue,
.ed-role,
.ed-timeline-wrap {
    border-radius: 5px;
    box-shadow: none;
}

.ed-queue-row {
    padding: 13px 18px;
}

.ed-queue-avatar {
    width: 34px;
    height: 34px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.ed-queue-name {
    font-size: 13.5px;
    font-weight: 500;
}

.ed-queue-role {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 400;
}

.ed-queue-stage {
    font-size: 10px;
    font-weight: 500;
    padding: 2px 7px;
    border-radius: 3px;
}

.ed-queue-action {
    background: #0f172a;
    font-weight: 500;
    font-size: 12.5px;
    padding: 7px 12px;
    border-radius: 4px;
}

.ed-queue-handling {
    padding: 11px 18px;
    font-size: 11.5px;
}

.ed-role {
    padding: 16px 20px;
}

@media (max-width: 700px) {
    .ed-paused-summary {
        flex-direction: column;
    }

    .ed-paused-summary-actions {
        width: 100%;
        flex: none;
    }
}

/* ===== GUIDED DASHBOARD: ONE STATE, ONE PRIMARY ACTION ===== */

:root {
    --employer-text-primary: #172033;
    --employer-text-secondary: #536176;
    --employer-text-muted: #6f7d91;
}

.employer-inner-content {
    background: #f7f8fa;
}

.employer-dashboard {
    max-width: 1120px;
}

.ed-workspace-strip {
    min-height: auto;
    margin-bottom: 24px;
    padding: 2px 2px 14px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #e5e8ed;
    border-radius: 0;
    box-shadow: none;
}

.ed-workspace-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #344054;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-transform: none;
}

.ed-workspace-root {
    color: #475467;
    font-weight: 500;
}

.ed-workspace-path-sep {
    color: #98a2b3;
    font-weight: 400;
}

.ed-workspace-name {
    color: #243044;
    text-transform: capitalize;
}

.ed-workspace-right {
    gap: 0;
    min-height: 32px;
    color: #667085;
    font-size: 12.5px;
    line-height: 1;
}

.ed-workspace-right > span:not(.ed-workspace-sep),
.ed-workspace-right > a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
}

.ed-workspace-right > span:not(.ed-workspace-sep) {
    gap: 4px;
}

.ed-workspace-sep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: auto;
    padding: 0 5px;
    color: #667085;
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1;
    transform: translateY(-1px);
}

.ed-workspace-right strong {
    color: #344054;
    font-weight: 600;
}

.ed-focus {
    position: relative;
    margin-bottom: 32px;
    padding: 24px 30px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e8ed;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 34px rgba(16, 24, 40, 0.055);
}

.ed-focus.is-attention {
    background: linear-gradient(135deg, #fffcf4 0%, #fffefa 54%, #ffffff 100%);
    border-color: #eee3c9;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.035), 0 10px 28px rgba(91, 70, 24, 0.05);
}

.ed-focus.is-attention::before {
    content: none;
}

.brief-market-snapshot:empty {
    display: none !important;
}

.ed-focus-body,
.ed-focus-body.is-status-only {
    padding: 0;
}

.ed-focus-body.is-status-only {
    max-width: 780px;
}

.ed-focus-eyebrow {
    margin: 0 0 10px;
    color: #667085;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.ed-focus-headline {
    margin-bottom: 10px;
    color: #172033;
    font-size: clamp(1.65rem, 2.5vw, 2.15rem);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.18;
}

.ed-focus-urgency {
    max-width: 650px;
    margin-bottom: 22px;
    color: #536176;
    font-size: 15px;
    line-height: 1.55;
}

.ed-focus-actions {
    gap: 18px;
    margin: 0;
}

.ed-focus-cta {
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 9px;
    background: #14833d;
    color: #ffffff;
    font-size: 14px;
    font-weight: 650;
    appearance: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 3px 10px rgba(20, 131, 61, 0.22);
    transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.ed-action-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.ed-focus-cta:hover {
    background: #0f7437;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(20, 131, 61, 0.26);
    transform: translateY(-1px);
}

.ed-focus-cta:active {
    box-shadow: 0 2px 6px rgba(20, 131, 61, 0.2);
    transform: translateY(0);
}

.ed-focus-secondary {
    min-height: 42px;
    padding: 0;
    color: #475467;
    font-size: 14px;
    transition: color 0.16s ease;
}

.ed-focus-secondary:hover {
    color: #172033;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ed-focus-cta:focus-visible,
.ed-focus-secondary:focus-visible,
.ed-role-btn:focus-visible {
    outline: 3px solid rgba(20, 108, 79, 0.22);
    outline-offset: 3px;
}

.ed-focus-stats {
    margin: 24px -30px -24px;
    padding: 12px 30px;
    background: #fafbfc;
    border-top-color: #eef0f3;
    color: #667085;
    font-size: 12px;
}

.ed-section-head {
    margin-bottom: 12px;
}

.ed-h2 {
    color: #243044;
    font-size: 17px;
    font-weight: 650;
    letter-spacing: -0.02em;
    text-transform: none;
}

.ed-section-meta {
    color: #667085;
    font-size: 12.5px;
}

.ed-roles {
    gap: 10px;
}

.ed-role {
    position: relative;
    padding: 20px 22px;
    background: #ffffff;
    border: 1px solid #e3e7ed;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.035);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.ed-role.is-actionable {
    display: block;
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

.ed-role-main-target {
    position: absolute;
    z-index: 1;
    inset: 0;
    border-radius: inherit;
}

.ed-role-main-target:focus-visible {
    outline: 3px solid rgba(20, 131, 61, 0.2);
    outline-offset: 3px;
}

.ed-role:hover {
    border-color: #cbd2dc;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.065);
    transform: translateY(-1px);
}

.ed-role-title {
    color: #172033;
    font-size: 16px;
    font-weight: 650;
}

.ed-role-state-pill,
.ed-role-recommend-badge {
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0;
    text-transform: none;
}

.ed-role-state-pill.is-attention {
    color: #92400e;
    background: #fef3c7;
    border-color: #fde68a;
    pointer-events: none;
}

.ed-role-state-pill.is-ready {
    color: #14532d;
    background: #edf9f0;
    border-color: #b9e5c5;
}

.ed-role-state-pill.is-active {
    color: #115e59;
    background: #eefaf8;
    border-color: #b9e5df;
}

.ed-role-loc,
.ed-role-funnel {
    color: #667085;
}

.ed-role-loc {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    color: #7a8698;
    font-size: 12px;
    line-height: 1.35;
}

.ed-role-location-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.55;
}

.ed-role-meta-sep {
    color: #bac1cb;
    font-size: 9px;
}

.ed-role-narrative {
    margin-top: 8px;
    color: #536176;
    font-size: 13.5px;
    line-height: 1.45;
}

.ed-role-card-action {
    display: inline-flex;
    align-items: center;
    align-self: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 3px;
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
    color: #344054;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
    text-decoration: none;
    appearance: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.16s ease;
}

.ed-role-state-pill.is-updating {
    color: #075985;
    background: #e0f2fe;
    border-color: #bae6fd;
}

.ed-role-state-pill.is-error {
    color: #991b1b;
    background: #fee2e2;
    border-color: #fecaca;
}

.ed-role-update-spinner,
.salary-quick-edit-spinner {
    display: inline-block;
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: employer-spin 0.75s linear infinite;
}

@keyframes employer-spin {
    to { transform: rotate(360deg); }
}

.ed-card-chevron {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform 0.16s ease;
}

.ed-role-card-action:hover {
    color: #14833d;
}

.ed-role-card-action:hover .ed-card-chevron {
    transform: translateX(2px);
}

.ed-role-card-action:focus-visible {
    color: #172033;
    outline: 3px solid rgba(20, 131, 61, 0.22);
    outline-offset: 2px;
}

.ed-role-btn.is-quiet {
    padding: 7px 0;
    color: #536176;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-weight: 600;
}

.ed-role-btn.is-quiet:hover {
    color: #172033;
}

.ed-role-btn.is-outline {
    gap: 8px;
    min-height: 38px;
    padding: 0 13px;
    color: #344054;
    background: #ffffff;
    border: 1px solid #cfd5df;
    border-radius: 8px;
    font-weight: 600;
    transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.ed-role-btn.is-outline span {
    color: #667085;
    font-size: 18px;
    line-height: 1;
}

.ed-role-btn.is-outline:hover {
    color: #172033;
    background: #f8fafb;
    border-color: #aeb7c4;
    box-shadow: 0 2px 6px rgba(16, 24, 40, 0.07);
    transform: translateY(-1px);
}

.ed-role-btn.is-outline:active {
    box-shadow: none;
    transform: translateY(0);
}

.ed-paused-filter-label {
    color: #667085;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.ed-paused-filter {
    border-color: transparent;
    background: #eceff3;
    color: #536176;
    font-weight: 600;
}

.brief-market-snapshot {
    margin-top: 10px;
}

.brief-market-card {
    padding: 22px;
    background: #f0f2f5;
    border: 0;
    border-radius: 14px;
}

.brief-market-grid {
    gap: 0;
}

.brief-market-grid .brief-summary-item {
    padding: 12px 14px;
    background: transparent;
    border: 0;
    border-left: 1px solid #dde1e7;
    border-radius: 0;
}

.brief-market-grid .brief-summary-item:first-child {
    border-left: 0;
}

.brief-summary-label,
.brief-market-state {
    color: #667085;
    letter-spacing: 0;
    text-transform: none;
}

.brief-market-state {
    background: rgba(255, 255, 255, 0.72);
}

@media (max-width: 700px) {
    .employer-inner-content {
        padding: 18px 14px 40px !important;
    }

    .ed-workspace-strip {
        align-items: flex-start;
    }

    .ed-workspace-right {
        display: none;
    }

    .ed-focus {
        padding: 24px;
        border-radius: 14px;
    }

    .ed-focus-stats {
        margin: 22px -24px -24px;
        padding: 12px 24px;
    }

    .ed-role-head {
        flex-direction: column;
    }

    .ed-role-btn.is-quiet {
        align-self: flex-start;
    }

    .ed-role-card-action {
        align-self: flex-start;
        margin-top: 4px;
    }

    .brief-market-grid {
        grid-template-columns: 1fr;
    }

    .brief-market-grid .brief-summary-item,
    .brief-market-grid .brief-summary-item:first-child {
        border-left: 0;
        border-top: 1px solid #dde1e7;
    }

    .brief-market-grid .brief-summary-item:first-child {
        border-top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ed-focus-cta,
    .ed-role,
    .ed-role-btn.is-outline,
    .ed-role-card-action {
        transition: none;
    }

    .ed-card-chevron {
        transition: none;
    }

    .ed-focus-cta:hover,
    .ed-role:hover,
    .ed-role-btn.is-outline:hover,
    .ed-role-card-action:hover .ed-card-chevron {
        transform: none;
    }
}
