:root {
    color-scheme: light;

    --page: #eef3f8;
    --page-deep: #e5edf5;
    --surface: #ffffff;
    --surface-soft: #f6f8fb;
    --surface-muted: #edf2f7;
    --navy-950: #0b1f33;
    --navy-900: #102a43;
    --navy-800: #173d5d;
    --navy-700: #23597f;
    --blue: #2f72c4;
    --blue-500: #2f72c4;
    --blue-700: #23597f;
    --blue-soft: #eaf3ff;
    --text: #14243a;
    --text-soft: #5f7084;
    --text-muted: #8997a8;
    --border: #dce4ed;
    --border-strong: #cbd6e2;
    --accent: #df1f2d;
    --accent-hover: #c91524;
    --accent-soft: #fff0f2;
    --success: #11895b;
    --success-soft: #eaf8f2;
    --warning: #b06a0a;
    --warning-soft: #fff7e8;
    --danger: #d63c48;
    --shadow-sm: 0 8px 24px rgba(20, 42, 67, 0.07);
    --shadow-md: 0 18px 46px rgba(20, 42, 67, 0.10);
    --shadow-lg: 0 30px 80px rgba(20, 42, 67, 0.15);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 15px;
    --radius-sm: 11px;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    min-height: 100%;
    background: var(--page);
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 9% 8%, rgba(223, 31, 45, 0.09), transparent 29%),
        radial-gradient(circle at 91% 6%, rgba(47, 114, 196, 0.10), transparent 30%),
        linear-gradient(145deg, #f8fafc 0%, var(--page) 54%, #e9f0f7 100%);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

button:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(223, 31, 45, 0.20);
    outline-offset: 2px;
}

svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

[hidden] {
    display: none !important;
}

.background-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.42;
    background-image:
        linear-gradient(rgba(16, 42, 67, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 42, 67, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent 84%);
}

.background-glow {
    position: fixed;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
}

.background-glow-primary {
    top: -300px;
    right: -180px;
    width: 660px;
    height: 660px;
    background: rgba(47, 114, 196, 0.09);
}

.background-glow-secondary {
    bottom: -300px;
    left: -180px;
    width: 620px;
    height: 620px;
    background: rgba(223, 31, 45, 0.07);
}

.application-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

/* Login */

.login-layout {
    display: grid;
    grid-template-columns: minmax(560px, 1.12fr) minmax(470px, 0.88fr);
    min-height: 100vh;
}

.brand-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding: clamp(42px, 5.4vw, 82px);
    overflow: hidden;
    border-right: 1px solid rgba(203, 214, 226, 0.76);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(244, 248, 252, 0.90)),
        radial-gradient(circle at 10% 8%, rgba(223, 31, 45, 0.08), transparent 32%);
}

.brand-panel::before {
    position: absolute;
    top: -160px;
    left: -180px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    content: "";
    background: rgba(223, 31, 45, 0.045);
}

.brand-panel::after {
    position: absolute;
    right: -250px;
    bottom: -300px;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(47, 114, 196, 0.10);
    border-radius: 50%;
    content: "";
    box-shadow:
        0 0 0 70px rgba(47, 114, 196, 0.025),
        0 0 0 140px rgba(47, 114, 196, 0.018);
}

.brand-header,
.brand-content,
.brand-assurance-card {
    position: relative;
    z-index: 1;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    position: relative;
    display: grid;
    flex: 0 0 auto;
    width: 68px;
    height: 68px;
    place-items: center;
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #edf3f8);
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.90),
        0 15px 34px rgba(20, 42, 67, 0.12);
}

.brand-mark-main {
    color: var(--navy-900);
    font-size: 33px;
    font-weight: 850;
    letter-spacing: -0.08em;
}

.brand-mark-dot {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 14px rgba(223, 31, 45, 0.35);
}

.brand-mark-small {
    width: 46px;
    height: 46px;
    border-radius: 14px;
}

.brand-mark-small .brand-mark-main {
    font-size: 23px;
}

.brand-mark-small .brand-mark-dot {
    right: 7px;
    bottom: 7px;
    width: 7px;
    height: 7px;
}

.brand-name strong,
.brand-name span {
    display: block;
}

.brand-name strong {
    color: var(--navy-900);
    font-size: 15px;
    font-weight: 800;
}

.brand-name span {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 12px;
}

.brand-content {
    max-width: 760px;
    margin: clamp(55px, 8vh, 100px) 0;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 25px;
    padding: 8px 12px;
    border: 1px solid rgba(47, 114, 196, 0.16);
    border-radius: 999px;
    color: var(--navy-700);
    background: rgba(234, 243, 255, 0.78);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.035em;
}

.brand-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 4px rgba(47, 114, 196, 0.10);
}

.brand-eyebrow,
.section-label {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.18em;
}

.brand-content h1 {
    max-width: 760px;
    margin: 0;
    color: var(--navy-950);
    font-size: clamp(46px, 5vw, 76px);
    font-weight: 800;
    letter-spacing: -0.058em;
    line-height: 0.99;
}

.brand-content h1 span {
    display: block;
    margin-top: 14px;
    color: #607086;
}

.brand-description {
    max-width: 650px;
    margin: 30px 0 0;
    color: var(--text-soft);
    font-size: 18px;
    line-height: 1.72;
}

.brand-proof-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 38px;
}

.brand-proof {
    min-width: 0;
    padding: 17px;
    border: 1px solid rgba(203, 214, 226, 0.90);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 8px 22px rgba(20, 42, 67, 0.045);
}

.brand-proof-value {
    display: block;
    margin-bottom: 20px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.13em;
}

.brand-proof strong,
.brand-proof span {
    display: block;
}

.brand-proof strong {
    margin-bottom: 6px;
    color: var(--navy-900);
    font-size: 13px;
}

.brand-proof div span {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.5;
}

.brand-assurance-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    max-width: 720px;
    padding: 17px 18px;
    border: 1px solid rgba(17, 137, 91, 0.16);
    border-radius: 17px;
    background: rgba(234, 248, 242, 0.82);
}

.assurance-icon {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 10px;
    place-items: center;
    border-radius: 12px;
    color: var(--success);
    background: #ffffff;
    box-shadow: 0 7px 18px rgba(17, 137, 91, 0.09);
}

.brand-assurance-card strong,
.brand-assurance-card p {
    margin: 0;
}

.brand-assurance-card strong {
    color: var(--navy-900);
    font-size: 12px;
}

.brand-assurance-card p {
    margin-top: 4px;
    color: #667a73;
    font-size: 10px;
    line-height: 1.5;
}

.assurance-status {
    padding: 7px 10px;
    border: 1px solid rgba(17, 137, 91, 0.16);
    border-radius: 999px;
    color: var(--success);
    background: rgba(255, 255, 255, 0.72);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 45px clamp(34px, 5vw, 82px);
    overflow: hidden;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    background:
        radial-gradient(
            circle at 82% 12%,
            rgba(47, 114, 196, 0.20),
            transparent 34%
        ),
        radial-gradient(
            circle at 12% 88%,
            rgba(223, 31, 45, 0.14),
            transparent 31%
        ),
        linear-gradient(
            145deg,
            #03060a 0%,
            #07101a 48%,
            #0d1825 100%
        );
    box-shadow: inset 22px 0 50px rgba(0, 0, 0, 0.14);
}

.login-shell {
    width: min(100%, 500px);
}

.mobile-brand {
    display: none;
    align-items: center;
    gap: 13px;
    margin-bottom: 28px;
}

.mobile-brand .brand-name strong {
    color: #ffffff;
}

.mobile-brand .brand-name span {
    color: rgba(255, 255, 255, 0.64);
}

.login-card {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: clamp(34px, 4vw, 48px);
    border: 1px solid rgba(203, 214, 226, 0.92);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(22px);
}

.login-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), #ee5864 46%, var(--blue));
}

.card-heading {
    position: relative;
    margin-bottom: 32px;
}

.login-icon {
    display: grid;
    width: 49px;
    height: 49px;
    margin-bottom: 25px;
    padding: 13px;
    place-items: center;
    border: 1px solid rgba(223, 31, 45, 0.14);
    border-radius: 15px;
    color: var(--accent);
    background: var(--accent-soft);
}

.card-heading h2 {
    margin: 0;
    color: var(--navy-950);
    font-size: clamp(35px, 4vw, 47px);
    font-weight: 800;
    letter-spacing: -0.05em;
}

.card-heading p:last-child {
    margin: 13px 0 0;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.65;
}

.login-form {
    display: grid;
    gap: 21px;
}

.form-field {
    display: grid;
    gap: 9px;
}

.form-field > span {
    color: var(--navy-900);
    font-size: 12px;
    font-weight: 750;
}

.input-shell {
    position: relative;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 1;
    width: 19px;
    height: 19px;
    color: #91a0b1;
    transform: translateY(-50%);
    pointer-events: none;
}

.form-field input {
    width: 100%;
    height: 58px;
    padding: 0 17px 0 47px;
    color: var(--text);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: #fbfcfe;
    box-shadow: inset 0 1px 2px rgba(20, 42, 67, 0.035);
    transition:
        border-color 160ms ease,
        background 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.form-field input:hover {
    border-color: #afbdcb;
    background: #ffffff;
}

.form-field input:focus {
    border-color: var(--accent);
    outline: none;
    background: #ffffff;
    box-shadow:
        0 0 0 4px rgba(223, 31, 45, 0.085),
        0 10px 24px rgba(20, 42, 67, 0.055);
}

.form-field input::placeholder {
    color: #9ca8b5;
}

.password-field input {
    padding-right: 74px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    z-index: 2;
    padding: 7px 10px;
    border: 0;
    border-radius: 8px;
    color: var(--navy-700);
    background: transparent;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transform: translateY(-50%);
}

.password-toggle:hover:not(:disabled) {
    color: var(--navy-950);
    background: var(--surface-muted);
}

.primary-button,
.secondary-button {
    border: 0;
    cursor: pointer;
    transition:
        transform 160ms ease,
        background 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease,
        opacity 160ms ease;
}

.primary-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 58px;
    margin-top: 3px;
    border-radius: var(--radius-sm);
    color: #ffffff !important;
    background: linear-gradient(135deg, #ed2232 0%, var(--accent) 52%, #c81726 100%);
    font-weight: 800;
    box-shadow: 0 16px 32px rgba(223, 31, 45, 0.23);
}

.primary-button:hover:not(:disabled) {
    background: linear-gradient(135deg, #f02b3b 0%, #d91a2a 58%, #bd1321 100%);
    box-shadow: 0 19px 38px rgba(223, 31, 45, 0.28);
    transform: translateY(-2px);
}

.primary-button:active:not(:disabled) {
    transform: translateY(0);
}

.primary-button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.button-arrow {
    font-size: 19px;
    line-height: 1;
    transition: transform 160ms ease;
}

.primary-button:hover:not(:disabled) .button-arrow {
    transform: translateX(3px);
}

.button-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 700ms linear infinite;
}

.primary-button.loading .button-label,
.primary-button.loading .button-arrow {
    display: none;
}

.primary-button.loading .button-spinner {
    display: block;
}

.form-message,
.workspace-message {
    padding: 13px 15px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.55;
}

.form-message.error,
.workspace-message.error {
    color: #a72e38;
    border-color: rgba(200, 53, 64, 0.20);
    background: #fff1f2;
}

.form-message.success,
.workspace-message.success {
    color: #176b49;
    border-color: rgba(17, 137, 91, 0.20);
    background: var(--success-soft);
}

.security-note {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 27px;
    padding-top: 23px;
    border-top: 1px solid var(--border);
}

.security-icon {
    flex: 0 0 auto;
    width: 27px;
    height: 27px;
    padding: 5px;
    border-radius: 8px;
    color: var(--success);
    background: var(--success-soft);
}

.security-note p {
    margin: 0;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.6;
}

.login-footer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 21px;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.34);
}

.login-footer span {
    color: #ffffff;
}

/* Loading */

.loading-view {
    display: grid;
    min-height: 100vh;
    place-content: center;
    gap: 22px;
    text-align: center;
}

.loading-logo {
    position: relative;
    display: grid;
    width: 92px;
    height: 92px;
    margin: auto;
    place-items: center;
}

.loading-spinner {
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-top-color: var(--accent);
    border-right-color: rgba(47, 114, 196, 0.35);
    border-radius: 50%;
    animation: spin 900ms linear infinite;
}

.loading-view p {
    margin: 0;
    color: var(--text-soft);
    font-size: 12px;
}

/* Workspace */

.workspace {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    min-height: 100vh;
    background: var(--page);
}

.sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 27px 20px 21px;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 0 0, rgba(47, 114, 196, 0.30), transparent 34%),
        linear-gradient(180deg, #173d5d 0%, #102a43 50%, #0b2136 100%);
    box-shadow: 13px 0 34px rgba(16, 42, 67, 0.10);
}

.sidebar::after {
    position: absolute;
    right: -150px;
    bottom: -160px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 50%;
    content: "";
    box-shadow:
        0 0 0 55px rgba(255, 255, 255, 0.018),
        0 0 0 110px rgba(255, 255, 255, 0.012);
}

.sidebar-brand,
.sidebar-label,
.sidebar-navigation,
.sidebar-footer {
    position: relative;
    z-index: 1;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 7px 31px;
}

.brand-mark-sidebar {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.10);
    box-shadow: none;
}

.brand-mark-sidebar .brand-mark-main {
    color: #ffffff;
}

.sidebar-brand strong,
.sidebar-brand span {
    display: block;
}

.sidebar-brand strong {
    color: #ffffff;
    font-size: 14px;
}

.sidebar-brand div:last-child span {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
}

.sidebar-label {
    padding: 0 13px 10px;
    color: rgba(255, 255, 255, 0.38);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.17em;
}

.sidebar-navigation {
    display: grid;
    gap: 7px;
}

.navigation-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.66);
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.navigation-item:hover:not(:disabled),
.navigation-item.active {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.09);
}

.navigation-item.active {
    box-shadow:
        inset 3px 0 var(--accent),
        0 9px 20px rgba(4, 18, 31, 0.13);
}

.navigation-item:disabled {
    cursor: not-allowed;
    opacity: 0.44;
}

.navigation-icon {
    display: grid;
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    place-items: center;
}

.navigation-item > span:nth-child(2) {
    font-size: 12px;
    font-weight: 650;
}

.navigation-soon {
    margin-left: auto;
    padding: 4px 6px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.10);
    font-size: 7px;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.system-card {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
}

.system-indicator-dot {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #41d995;
    box-shadow: 0 0 0 5px rgba(65, 217, 149, 0.10), 0 0 14px rgba(65, 217, 149, 0.42);
}

.system-card strong,
.system-card span {
    display: block;
}

.system-card strong {
    color: rgba(255, 255, 255, 0.90);
    font-size: 10px;
}

.system-card div span {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.43);
    font-size: 8px;
}

.workspace-main {
    min-width: 0;
}

.workspace-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 104px;
    padding: 19px clamp(28px, 4vw, 56px);
    border-bottom: 1px solid rgba(203, 214, 226, 0.78);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 24px rgba(20, 42, 67, 0.035);
    backdrop-filter: blur(18px);
}

.workspace-heading .section-label {
    margin-bottom: 6px;
}

.workspace-header h1 {
    margin: 0;
    color: var(--navy-950);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.workspace-subtitle {
    display: block;
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 10px;
}

.account-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 9px;
    padding: 8px 11px;
    border: 1px solid rgba(17, 137, 91, 0.14);
    border-radius: 999px;
    color: #337a60;
    background: var(--success-soft);
    font-size: 9px;
    font-weight: 750;
}

.header-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(17, 137, 91, 0.10);
}

.account-details {
    text-align: right;
}

.account-details strong,
.account-details span {
    display: block;
}

.account-details strong {
    color: var(--navy-950);
    font-size: 12px;
}

.account-details span {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 9px;
}

.account-avatar {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 1px solid rgba(223, 31, 45, 0.22);
    border-radius: 13px;
    color: var(--accent);
    background: var(--accent-soft);
    font-size: 13px;
    font-weight: 850;
}

.secondary-button {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid var(--border-strong);
    border-radius: 11px;
    color: var(--navy-700);
    background: #ffffff;
    font-size: 10px;
    font-weight: 800;
    box-shadow: 0 6px 15px rgba(20, 42, 67, 0.04);
}

.secondary-button svg {
    width: 17px;
    height: 17px;
}

.secondary-button:hover:not(:disabled) {
    color: var(--accent);
    border-color: rgba(223, 31, 45, 0.24);
    background: var(--accent-soft);
    transform: translateY(-1px);
}

.secondary-button:disabled {
    cursor: wait;
    opacity: 0.62;
}

.workspace-content {
    display: grid;
    gap: 22px;
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: clamp(28px, 4vw, 56px);
}

.welcome-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: center;
    min-height: 285px;
    padding: clamp(34px, 4vw, 54px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    color: #ffffff;
    background:
        radial-gradient(circle at 78% 30%, rgba(82, 156, 239, 0.30), transparent 30%),
        linear-gradient(135deg, #173d5d 0%, #102a43 51%, #0e3555 100%);
    box-shadow: 0 24px 60px rgba(16, 42, 67, 0.20);
}

.welcome-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.welcome-decoration-one {
    top: -190px;
    right: -140px;
    width: 490px;
    height: 490px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 0 0 55px rgba(255, 255, 255, 0.025),
        0 0 0 110px rgba(255, 255, 255, 0.018);
}

.welcome-decoration-two {
    bottom: -160px;
    left: 30%;
    width: 310px;
    height: 310px;
    background: rgba(223, 31, 45, 0.09);
    filter: blur(5px);
}

.welcome-copy,
.welcome-visual {
    position: relative;
    z-index: 2;
}

.welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 17px;
    color: rgba(255, 255, 255, 0.70);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.17em;
}

.welcome-badge span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
}

.welcome-card h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(33px, 4vw, 50px);
    font-weight: 800;
    letter-spacing: -0.05em;
}

.welcome-card h2 span {
    color: #a9c5de;
}

.welcome-card p {
    max-width: 680px;
    margin: 17px 0 0;
    color: rgba(255, 255, 255, 0.67);
    font-size: 13px;
    line-height: 1.72;
}

.welcome-actions {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-top: 29px;
}

.welcome-primary-action {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 45px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 11px;
    color: rgba(255, 255, 255, 0.80);
    background: rgba(255, 255, 255, 0.08);
    font-size: 10px;
    font-weight: 800;
    cursor: not-allowed;
}

.action-icon {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 7px;
    color: #ffffff;
    background: var(--accent);
    font-size: 16px;
    line-height: 1;
}

.action-status {
    margin-left: 5px;
    padding: 4px 6px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.08);
    font-size: 7px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.welcome-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.53);
    font-size: 9px;
}

.welcome-meta-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #45d99a;
    box-shadow: 0 0 0 4px rgba(69, 217, 154, 0.10);
}

.welcome-visual {
    display: grid;
    width: 240px;
    height: 240px;
    margin-left: auto;
    place-items: center;
}

.visual-ring {
    position: absolute;
    border-radius: 50%;
}

.visual-ring-outer {
    inset: 5px;
    border: 1px solid rgba(255, 255, 255, 0.11);
}

.visual-ring-middle {
    inset: 42px;
    border: 1px dashed rgba(255, 255, 255, 0.17);
    animation: spin 22s linear infinite;
}

.visual-center {
    display: grid;
    width: 82px;
    height: 82px;
    padding: 23px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 25px;
    color: #ffffff;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
    box-shadow: 0 18px 40px rgba(3, 19, 33, 0.25);
    backdrop-filter: blur(10px);
}

.visual-node {
    position: absolute;
    width: 13px;
    height: 13px;
    border: 3px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(223, 31, 45, 0.14);
}

.visual-node-one {
    top: 25px;
    right: 55px;
}

.visual-node-two {
    right: 20px;
    bottom: 62px;
    background: #4d9bee;
    box-shadow: 0 0 0 6px rgba(77, 155, 238, 0.14);
}

.visual-node-three {
    bottom: 31px;
    left: 48px;
    background: #45d99a;
    box-shadow: 0 0 0 6px rgba(69, 217, 154, 0.13);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
}

.summary-card {
    position: relative;
    min-width: 0;
    padding: 22px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.summary-card::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    content: "";
    background: var(--card-accent, var(--blue));
}

.summary-card:hover {
    border-color: #cad5e0;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.summary-card-companies {
    --card-accent: #2f72c4;
    --card-soft: #eaf3ff;
    --card-ink: #2f72c4;
}

.summary-card-contacts {
    --card-accent: #7057c8;
    --card-soft: #f1edff;
    --card-ink: #7057c8;
}

.summary-card-searches {
    --card-accent: #df1f2d;
    --card-soft: #fff0f2;
    --card-ink: #df1f2d;
}

.summary-card-review {
    --card-accent: #11895b;
    --card-soft: #eaf8f2;
    --card-ink: #11895b;
}

.summary-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.summary-icon {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 11px;
    place-items: center;
    border-radius: 13px;
    color: var(--card-ink);
    background: var(--card-soft);
}

.summary-trend {
    padding: 6px 8px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
    background: var(--surface-soft);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.summary-label {
    display: block;
    color: var(--text-soft);
    font-size: 10px;
    font-weight: 750;
}

.summary-card strong {
    display: block;
    margin-top: 8px;
    color: var(--navy-950);
    font-size: 39px;
    font-weight: 800;
    letter-spacing: -0.055em;
}

.summary-card p {
    margin: 7px 0 0;
    color: var(--text-muted);
    font-size: 9px;
    line-height: 1.5;
}

.dashboard-lower-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(270px, 0.65fr);
    gap: 18px;
}

.foundation-card,
.next-phase-card {
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.foundation-card {
    padding: clamp(27px, 3.2vw, 39px);
}

.foundation-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.foundation-heading h3,
.next-phase-card h3 {
    margin: 0;
    color: var(--navy-950);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.foundation-intro {
    max-width: 690px;
    margin: 9px 0 0;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.6;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border: 1px solid rgba(17, 137, 91, 0.17);
    border-radius: 999px;
    color: var(--success);
    background: var(--success-soft);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-badge span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(17, 137, 91, 0.09);
}

.foundation-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding-top: 25px;
}

.foundation-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.foundation-check {
    display: grid;
    flex: 0 0 auto;
    width: 31px;
    height: 31px;
    padding: 7px;
    place-items: center;
    border-radius: 9px;
    color: var(--success);
    background: var(--success-soft);
}

.foundation-item strong {
    display: block;
    margin: 2px 0 6px;
    color: var(--navy-900);
    font-size: 11px;
}

.foundation-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 9px;
    line-height: 1.55;
}

.next-phase-card {
    position: relative;
    padding: 28px;
    overflow: hidden;
    background:
        linear-gradient(145deg, #ffffff 0%, #f5f9fd 100%);
}

.next-phase-card::after {
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    content: "";
    background: rgba(47, 114, 196, 0.06);
}

.next-phase-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 25px;
    padding: 13px;
    place-items: center;
    border-radius: 14px;
    color: var(--blue);
    background: var(--blue-soft);
}

.next-phase-card .section-label {
    margin-bottom: 10px;
}

.next-phase-card > p:not(.section-label) {
    margin: 11px 0 0;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.65;
}

.next-phase-progress {
    position: relative;
    z-index: 1;
    margin-top: 30px;
}

.next-phase-progress > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
}

.next-phase-progress span,
.next-phase-progress strong {
    font-size: 8px;
}

.next-phase-progress span {
    color: var(--text-muted);
}

.next-phase-progress strong {
    color: var(--success);
}

.progress-track {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--surface-muted);
}

.progress-track span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--success), #42c98f);
}

.workspace-message {
    justify-self: end;
    max-width: 460px;
}

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

@media (max-width: 1230px) {
    .login-layout {
        grid-template-columns: minmax(500px, 1fr) minmax(430px, 0.82fr);
    }

    .brand-panel {
        padding: 45px;
    }

    .brand-proof-row {
        grid-template-columns: 1fr;
    }

    .brand-proof {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
        gap: 13px;
    }

    .brand-proof-value {
        margin: 2px 0 0;
    }

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

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

    .next-phase-card {
        min-height: 240px;
    }
}

@media (max-width: 960px) {
    .login-layout {
        grid-template-columns: 1fr;
    }

    .brand-panel {
        display: none;
    }

    .form-panel {
        min-height: 100vh;
        padding: 30px 20px;
    }

    .mobile-brand {
        display: flex;
    }

    .workspace {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .sidebar {
        padding: 22px 12px;
    }

    .sidebar-brand {
        justify-content: center;
        padding: 0 0 28px;
    }

    .sidebar-brand > div:last-child,
    .sidebar-label,
    .navigation-item > span:nth-child(2),
    .navigation-soon,
    .system-card div {
        display: none;
    }

    .navigation-item {
        justify-content: center;
        padding: 0;
    }

    .system-card {
        justify-content: center;
        padding: 13px 0;
    }

    .welcome-card {
        grid-template-columns: 1fr;
    }

    .welcome-visual {
        display: none;
    }

    .foundation-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .login-card {
        padding: 30px 23px;
        border-radius: 22px;
    }

    .login-footer {
        align-items: center;
        flex-direction: column;
        gap: 7px;
        text-align: center;
    }

    .workspace {
        display: block;
    }

    .sidebar {
        position: fixed;
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 30;
        display: block;
        width: 100%;
        height: auto;
        padding: 9px 12px;
        background: rgba(16, 42, 67, 0.96);
        backdrop-filter: blur(18px);
    }

    .sidebar-brand,
    .sidebar-label,
    .sidebar-footer {
        display: none;
    }

    .sidebar-navigation {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 4px;
    }

    .navigation-item {
        min-height: 50px;
        border-radius: 10px;
    }

    .navigation-item.active {
        box-shadow: inset 0 -3px var(--accent);
    }

    .workspace-header {
        position: static;
        min-height: 91px;
        padding: 18px 20px;
    }

    .workspace-subtitle,
    .header-status,
    .account-details,
    .account-avatar {
        display: none;
    }

    .workspace-content {
        padding: 20px 20px 92px;
    }

    .welcome-card {
        min-height: 0;
        padding: 28px 24px;
    }

    .welcome-actions {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .foundation-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* Search Jobs UI v0.1.3 — integrated into the original stylesheet */

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.workspace-page {
    display: grid;
    gap: 22px;
    min-width: 0;
    animation: page-enter 180ms ease-out;
}

.workspace-page[hidden] {
    display: none !important;
}

@keyframes page-enter {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navigation-item {
    transition:
        color 150ms ease,
        border-color 150ms ease,
        background 150ms ease,
        transform 150ms ease;
}

.navigation-item:hover {
    transform: translateX(2px);
}

.navigation-count {
    display: grid;
    min-width: 21px;
    height: 21px;
    margin-left: auto;
    padding: 0 6px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    font-size: 8px;
    font-weight: 850;
}

.welcome-primary-action {
    cursor: pointer;
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        background 160ms ease;
}

.welcome-primary-action:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

.action-status-live {
    color: #b8f4d6;
    background: rgba(52, 211, 153, 0.14);
}

.page-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 190px;
    padding: clamp(30px, 4vw, 48px);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 24px;
    background:
        radial-gradient(
            circle at 90% 14%,
            rgba(223, 31, 45, 0.08),
            transparent 28%
        ),
        linear-gradient(145deg, #ffffff 0%, #f7f9fc 100%);
    box-shadow: 0 18px 48px rgba(16, 42, 67, 0.08);
}

.page-hero h2 {
    margin: 0;
    color: var(--navy-900);
    font-size: clamp(30px, 4vw, 47px);
    letter-spacing: -0.045em;
}

.page-hero p:last-child {
    max-width: 720px;
    margin: 15px 0 0;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.7;
}

.page-primary-button,
.empty-state-button,
.modal-primary-button,
.modal-secondary-button {
    border: 0;
    cursor: pointer;
    font: inherit;
    transition:
        transform 150ms ease,
        background 150ms ease,
        border-color 150ms ease,
        box-shadow 150ms ease;
}

.page-primary-button {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 19px;
    border-radius: 12px;
    color: #ffffff;
    background: var(--accent);
    font-size: 11px;
    font-weight: 850;
    box-shadow: 0 14px 28px rgba(223, 31, 45, 0.20);
}

.page-primary-button span {
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
}

.page-primary-button:hover,
.modal-primary-button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 17px 34px rgba(223, 31, 45, 0.25);
}

.job-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.job-metric-card {
    position: relative;
    min-width: 0;
    padding: 23px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: #ffffff;
    box-shadow: 0 11px 28px rgba(16, 42, 67, 0.055);
}

.job-metric-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    content: "";
    background: var(--blue-500);
}

.job-metric-card.metric-draft::before {
    background: var(--warning);
}

.job-metric-card.metric-running::before {
    background: var(--blue-500);
}

.job-metric-card.metric-completed::before {
    background: var(--success);
}

.job-metric-card > span {
    display: block;
    color: var(--text-soft);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.job-metric-card strong {
    display: block;
    margin-top: 20px;
    color: var(--navy-900);
    font-size: 36px;
    letter-spacing: -0.05em;
}

.job-metric-card small {
    display: block;
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.5;
}

.data-panel {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 21px;
    background: #ffffff;
    box-shadow: 0 15px 38px rgba(16, 42, 67, 0.065);
}

.data-panel-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 27px 29px;
    border-bottom: 1px solid var(--border);
}

.data-panel-header h3 {
    margin: 0;
    color: var(--navy-900);
    font-size: 22px;
    letter-spacing: -0.025em;
}

.data-panel-header p:last-child {
    margin: 8px 0 0;
    color: var(--text-muted);
    font-size: 11px;
}

.job-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toolbar-search {
    position: relative;
    display: flex;
    align-items: center;
    width: min(340px, 34vw);
}

.toolbar-search svg {
    position: absolute;
    left: 13px;
    width: 17px;
    height: 17px;
    color: var(--text-muted);
}

.job-toolbar input,
.job-toolbar select {
    height: 43px;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    color: var(--text);
    background: #ffffff;
    font-size: 10px;
}

.job-toolbar input {
    width: 100%;
    padding: 0 13px 0 39px;
}

.job-toolbar select {
    min-width: 135px;
    padding: 0 31px 0 12px;
}

.job-toolbar input:focus,
.job-toolbar select:focus {
    border-color: var(--accent);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(223, 31, 45, 0.08);
}

.empty-state {
    display: grid;
    min-height: 390px;
    padding: 60px 24px;
    place-items: center;
    place-content: center;
    text-align: center;
}

.empty-state-icon,
.module-placeholder-icon {
    display: grid;
    width: 68px;
    height: 68px;
    margin-bottom: 20px;
    place-items: center;
    border: 1px solid rgba(223, 31, 45, 0.16);
    border-radius: 20px;
    color: var(--accent);
    background: var(--accent-soft);
}

.empty-state-icon svg,
.module-placeholder-icon svg {
    width: 30px;
    height: 30px;
}

.empty-state h4 {
    margin: 0;
    color: var(--navy-900);
    font-size: 21px;
}

.empty-state p {
    max-width: 460px;
    margin: 11px auto 20px;
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.7;
}

.empty-state-button {
    min-height: 41px;
    padding: 0 15px;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    color: var(--navy-800);
    background: #ffffff;
    font-size: 10px;
    font-weight: 800;
}

.empty-state-button:hover {
    color: var(--accent);
    border-color: rgba(223, 31, 45, 0.25);
    background: var(--accent-soft);
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.jobs-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.jobs-table th,
.jobs-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: middle;
}

.jobs-table th {
    color: var(--text-muted);
    background: #fafbfd;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.jobs-table td {
    color: var(--text-soft);
    font-size: 10px;
}

.jobs-table tbody tr:hover {
    background: #fbfcfe;
}

.job-name-cell strong,
.job-name-cell span {
    display: block;
}

.job-name-cell strong {
    color: var(--navy-900);
    font-size: 11px;
}

.job-name-cell span {
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 9px;
}

.job-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border: 1px solid rgba(196, 132, 20, 0.18);
    border-radius: 999px;
    color: #96640f;
    background: rgba(240, 184, 74, 0.10);
    font-size: 8px;
    font-weight: 850;
}

.job-status::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    content: "";
    background: var(--warning);
}

.table-action-heading {
    text-align: right !important;
}

.job-delete-button {
    display: inline-flex;
    min-height: 33px;
    padding: 0 10px;
    align-items: center;
    border: 1px solid rgba(214, 60, 72, 0.17);
    border-radius: 9px;
    color: #b52f3b;
    background: rgba(214, 60, 72, 0.055);
    font-size: 8px;
    font-weight: 800;
    cursor: pointer;
}

.job-delete-button:hover {
    background: rgba(214, 60, 72, 0.10);
}

.page-message {
    justify-self: end;
    max-width: 520px;
    padding: 12px 14px;
    border: 1px solid rgba(21, 154, 99, 0.20);
    border-radius: 10px;
    color: #167447;
    background: rgba(21, 154, 99, 0.08);
    font-size: 11px;
}

.module-placeholder {
    display: grid;
    min-height: 580px;
    padding: 60px 24px;
    place-content: center;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 23px;
    background:
        radial-gradient(circle at 50% 0%, rgba(47, 114, 196, 0.08), transparent 35%),
        #ffffff;
    box-shadow: 0 18px 46px rgba(16, 42, 67, 0.07);
    text-align: center;
}

.module-placeholder h2 {
    margin: 0;
    color: var(--navy-900);
    font-size: clamp(28px, 4vw, 43px);
    letter-spacing: -0.04em;
}

.module-placeholder > p:not(.section-label) {
    max-width: 630px;
    margin: 16px auto 23px;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.75;
}

.module-placeholder > span {
    padding: 8px 11px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
    background: #f7f9fc;
    font-size: 9px;
    font-weight: 750;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    padding: 24px;
    place-items: center;
    overflow-y: auto;
    background: rgba(7, 16, 26, 0.72);
    backdrop-filter: blur(10px);
}

.modal-backdrop[hidden] {
    display: none !important;
}

.modal-dialog {
    width: min(100%, 860px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 35px 100px rgba(3, 12, 22, 0.35);
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 29px 31px 24px;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    margin: 0;
    color: var(--navy-900);
    font-size: 28px;
    letter-spacing: -0.035em;
}

.modal-header p:last-child {
    max-width: 620px;
    margin: 10px 0 0;
    color: var(--text-soft);
    font-size: 11px;
    line-height: 1.65;
}

.modal-close-button {
    display: grid;
    flex: 0 0 auto;
    width: 39px;
    height: 39px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 11px;
    color: var(--text-soft);
    background: #f8fafc;
    font-size: 22px;
    cursor: pointer;
}

.modal-close-button:hover {
    color: var(--accent);
    border-color: rgba(223, 31, 45, 0.20);
    background: var(--accent-soft);
}

.search-job-form {
    display: grid;
    gap: 19px;
    padding: 28px 31px 31px;
}

.form-grid {
    display: grid;
    gap: 15px;
}

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

.form-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.modal-field {
    display: grid;
    gap: 8px;
}

.modal-field > span {
    color: #344157;
    font-size: 10px;
    font-weight: 800;
}

.modal-field b {
    color: var(--accent);
}

.modal-field input,
.modal-field select,
.modal-field textarea {
    width: 100%;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    color: var(--text);
    background: #ffffff;
    font: inherit;
    font-size: 11px;
    transition:
        border-color 150ms ease,
        box-shadow 150ms ease;
}

.modal-field input,
.modal-field select {
    height: 45px;
    padding: 0 13px;
}

.modal-field textarea {
    min-height: 84px;
    padding: 12px 13px;
    resize: vertical;
    line-height: 1.55;
}

.modal-field input:focus,
.modal-field select:focus,
.modal-field textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(223, 31, 45, 0.08);
}

.modal-field small {
    color: var(--text-muted);
    font-size: 8px;
}

.draft-notice {
    padding: 13px 15px;
    border: 1px solid rgba(47, 114, 196, 0.16);
    border-radius: 11px;
    color: #526579;
    background: rgba(47, 114, 196, 0.055);
    font-size: 10px;
    line-height: 1.6;
}

.draft-notice span {
    margin-right: 7px;
    color: var(--blue-700);
    font-weight: 850;
    text-transform: uppercase;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 4px;
}

.modal-secondary-button,
.modal-primary-button {
    min-height: 44px;
    padding: 0 17px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 850;
}

.modal-secondary-button {
    border: 1px solid var(--border-strong);
    color: var(--navy-700);
    background: #ffffff;
}

.modal-secondary-button:hover {
    border-color: rgba(20, 42, 67, 0.25);
    background: #f6f8fb;
}

.modal-primary-button {
    color: #ffffff;
    background: var(--accent);
    box-shadow: 0 12px 24px rgba(223, 31, 45, 0.18);
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 1120px) {
    .job-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .data-panel-header {
        align-items: stretch;
        flex-direction: column;
    }

    .job-toolbar {
        width: 100%;
    }

    .toolbar-search {
        width: 100%;
    }
}

@media (max-width: 760px) {
    .page-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-primary-button {
        width: 100%;
        justify-content: center;
    }

    .job-metrics {
        grid-template-columns: 1fr;
    }

    .job-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .job-toolbar select {
        width: 100%;
    }

    .form-grid-two,
    .form-grid-three {
        grid-template-columns: 1fr;
    }

    .modal-backdrop {
        padding: 12px;
    }

    .modal-dialog {
        max-height: calc(100vh - 24px);
        border-radius: 18px;
    }

    .modal-header,
    .search-job-form {
        padding-right: 20px;
        padding-left: 20px;
    }
}

@media (max-width: 650px) {
    .navigation-count {
        position: absolute;
        top: 5px;
        right: 7px;
        min-width: 17px;
        height: 17px;
        padding: 0 4px;
        font-size: 7px;
    }

    .navigation-item:hover {
        transform: none;
    }

    .module-placeholder {
        min-height: 430px;
    }

    .modal-actions {
        flex-direction: column-reverse;
    }

    .modal-secondary-button,
    .modal-primary-button {
        width: 100%;
    }
}
/* Search Jobs UI v0.1.4 — viewport and modal usability refinements */

.workspace-header {
    position: sticky;
    top: 0;
    z-index: 40;
}

.workspace-content {
    scroll-margin-top: 112px;
}

.page-hero {
    scroll-margin-top: 118px;
}

.modal-backdrop {
    align-items: flex-start;
    overscroll-behavior: contain;
}

.modal-dialog {
    display: flex;
    flex-direction: column;
    margin: auto;
    overscroll-behavior: contain;
}

.modal-header {
    position: sticky;
    top: 0;
    z-index: 4;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
}

.search-job-form {
    flex: 1 1 auto;
}

.modal-actions {
    position: sticky;
    bottom: 0;
    z-index: 4;
    margin: 0 -31px -31px;
    padding: 17px 31px 20px;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -12px 28px rgba(16, 42, 67, 0.06);
    backdrop-filter: blur(16px);
}

@media (max-height: 820px) and (min-width: 761px) {
    .modal-dialog {
        max-height: calc(100vh - 28px);
    }

    .modal-header {
        padding-top: 22px;
        padding-bottom: 18px;
    }

    .search-job-form {
        gap: 14px;
        padding-top: 20px;
    }

    .modal-field input,
    .modal-field select {
        height: 41px;
    }

    .modal-field textarea {
        min-height: 68px;
    }
}

@media (max-width: 760px) {
    .modal-actions {
        margin-right: -20px;
        margin-bottom: -31px;
        margin-left: -20px;
        padding-right: 20px;
        padding-left: 20px;
    }
}


/* Search Jobs API v0.1.5 — integrated loading and action states */

.job-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.job-edit-button,
.job-delete-button {
    min-height: 33px;
    padding: 0 10px;
    border-radius: 9px;
    font-size: 8px;
    font-weight: 800;
    cursor: pointer;
}

.job-edit-button {
    border: 1px solid rgba(47, 114, 196, 0.18);
    color: #245f9f;
    background: rgba(47, 114, 196, 0.06);
}

.job-edit-button:hover {
    background: rgba(47, 114, 196, 0.11);
}

.job-edit-button:disabled,
.job-delete-button:disabled,
.modal-primary-button:disabled,
.modal-secondary-button:disabled,
.page-primary-button:disabled,
.empty-state-button:disabled {
    cursor: wait;
    opacity: 0.62;
}

.search-jobs-loading {
    display: grid;
    min-height: 330px;
    padding: 60px 24px;
    place-items: center;
    place-content: center;
    color: var(--text-soft);
    text-align: center;
}

.search-jobs-loading::before {
    width: 34px;
    height: 34px;
    margin-bottom: 15px;
    border: 3px solid rgba(47, 114, 196, 0.16);
    border-top-color: var(--blue-500);
    border-radius: 50%;
    content: "";
    animation: spin 700ms linear infinite;
}

.page-message.error {
    color: #a72e38;
    border-color: rgba(214, 60, 72, 0.20);
    background: rgba(214, 60, 72, 0.08);
}

.page-message.success {
    color: #167447;
    border-color: rgba(21, 154, 99, 0.20);
    background: rgba(21, 154, 99, 0.08);
}

.job-status.status-queued {
    color: #245f9f;
    border-color: rgba(47, 114, 196, 0.18);
    background: rgba(47, 114, 196, 0.08);
}

.job-status.status-queued::before {
    background: var(--blue-500);
}

.job-status.status-running,
.job-status.status-completed {
    color: #167447;
    border-color: rgba(21, 154, 99, 0.20);
    background: rgba(21, 154, 99, 0.08);
}

.job-status.status-running::before,
.job-status.status-completed::before {
    background: var(--success);
}

.job-status.status-failed,
.job-status.status-cancelled {
    color: #a72e38;
    border-color: rgba(214, 60, 72, 0.20);
    background: rgba(214, 60, 72, 0.08);
}

.job-status.status-failed::before,
.job-status.status-cancelled::before {
    background: var(--danger);
}

@media (max-width: 760px) {
    .job-actions {
        align-items: stretch;
        flex-direction: column;
    }
}


/* Experimental Search Worker v0.1.6 */

.jobs-table {
    min-width: 1180px;
}

.job-start-button,
.job-pause-button,
.job-resume-button,
.job-cancel-button {
    min-height: 33px;
    padding: 0 10px;
    border-radius: 9px;
    font-size: 8px;
    font-weight: 850;
    cursor: pointer;
}

.job-start-button,
.job-resume-button {
    color: #ffffff;
    border: 1px solid var(--accent);
    background: var(--accent);
}

.job-start-button:hover,
.job-resume-button:hover {
    border-color: var(--accent-hover);
    background: var(--accent-hover);
}

.job-pause-button {
    color: #8a5b0d;
    border: 1px solid rgba(196, 132, 20, 0.22);
    background: rgba(240, 184, 74, 0.11);
}

.job-pause-button:hover {
    background: rgba(240, 184, 74, 0.18);
}

.job-cancel-button {
    color: #a72e38;
    border: 1px solid rgba(214, 60, 72, 0.20);
    background: rgba(214, 60, 72, 0.07);
}

.job-cancel-button:hover {
    background: rgba(214, 60, 72, 0.13);
}

.job-start-button:disabled,
.job-pause-button:disabled,
.job-resume-button:disabled,
.job-cancel-button:disabled,
.job-edit-button:disabled,
.job-delete-button:disabled {
    cursor: wait;
    opacity: 0.55;
}

.job-actions-locked {
    color: var(--text-muted);
    font-size: 8px;
    font-weight: 750;
    white-space: nowrap;
}

.job-progress {
    min-width: 110px;
}

.job-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 7px;
}

.job-progress-header span {
    color: var(--navy-900);
    font-size: 9px;
    font-weight: 850;
}

.job-progress-header small {
    color: var(--text-muted);
    font-size: 7px;
    white-space: nowrap;
}

.job-progress-track {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: #e9eef4;
}

.job-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--blue-500), var(--success));
    transition: width 450ms ease;
}

.job-status.status-running::before {
    animation: search-worker-pulse 1.2s ease-in-out infinite;
}

.job-status.status-paused {
    color: #8a5b0d;
    border-color: rgba(196, 132, 20, 0.22);
    background: rgba(240, 184, 74, 0.11);
}

.job-status.status-paused::before {
    background: var(--warning);
}

@keyframes search-worker-pulse {
    0%, 100% {
        opacity: 0.45;
        transform: scale(0.82);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

/* Search Jobs table and status summary refinements v0.1.7 */

.job-metrics {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.job-metric-card {
    padding: 19px 18px;
}

.job-metric-card strong {
    margin-top: 15px;
    font-size: 32px;
}

.job-metric-card.metric-paused::before {
    background: #8d69cf;
}

.job-metric-card.metric-cancelled::before {
    background: var(--danger);
}

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

.jobs-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
}

.jobs-table th,
.jobs-table td {
    padding: 13px 8px;
    overflow-wrap: anywhere;
}

.jobs-table th:nth-child(1),
.jobs-table td:nth-child(1) {
    width: 17%;
    padding-left: 15px;
}

.jobs-table th:nth-child(2),
.jobs-table td:nth-child(2) {
    width: 9%;
}

.jobs-table th:nth-child(3),
.jobs-table td:nth-child(3) {
    width: 9%;
}

.jobs-table th:nth-child(4),
.jobs-table td:nth-child(4) {
    width: 11%;
}

.jobs-table th:nth-child(5),
.jobs-table td:nth-child(5) {
    width: 5%;
    text-align: center;
}

.jobs-table th:nth-child(6),
.jobs-table td:nth-child(6) {
    width: 9%;
}

.jobs-table th:nth-child(7),
.jobs-table td:nth-child(7) {
    width: 14%;
}

.jobs-table th:nth-child(8),
.jobs-table td:nth-child(8) {
    width: 10%;
}

.jobs-table th:nth-child(9),
.jobs-table td:nth-child(9) {
    width: 16%;
    padding-right: 15px;
}

.job-name-cell strong,
.job-name-cell span {
    overflow-wrap: anywhere;
}

.job-progress {
    min-width: 0;
}

.job-progress-header {
    gap: 5px;
}

.job-actions {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
}

.job-start-button,
.job-pause-button,
.job-resume-button,
.job-cancel-button,
.job-edit-button,
.job-delete-button {
    min-height: 31px;
    padding: 0 8px;
    white-space: nowrap;
}

.job-actions-locked {
    display: block;
    width: 100%;
    text-align: right;
}

@media (max-width: 1420px) {
    .job-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1120px) {
    .table-wrap {
        overflow-x: auto;
    }

    .jobs-table {
        min-width: 980px;
    }
}

@media (max-width: 760px) {
    .job-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 500px) {
    .job-metrics {
        grid-template-columns: 1fr;
    }
}

/* Companies Page v0.1.8 — integrated into the original stylesheet */
.page-primary-button svg{width:17px;height:17px}.company-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.company-metric-card{position:relative;min-width:0;padding:20px 18px;overflow:hidden;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:0 11px 28px rgba(16,42,67,.055)}.company-metric-card:before{position:absolute;top:0;right:0;left:0;height:3px;content:"";background:var(--blue-500)}.company-metric-card.metric-confirmed:before{background:var(--success)}.company-metric-card.metric-probable:before{background:#4d83d1}.company-metric-card.metric-multi-country:before{background:#7859c8}.company-metric-card.metric-review:before{background:var(--warning)}.company-metric-card.metric-high-confidence:before{background:var(--accent)}.company-metric-card>span{display:block;color:var(--text-soft);font-size:9px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}.company-metric-card strong{display:block;margin-top:16px;color:var(--navy-900);font-size:32px;letter-spacing:-.05em}.company-metric-card small{display:block;margin-top:6px;color:var(--text-muted);font-size:9px;line-height:1.45}.companies-panel-header{align-items:center}.company-result-count{display:flex;flex:0 0 auto;align-items:baseline;gap:7px;padding:10px 13px;border:1px solid var(--border);border-radius:11px;background:#f8fafc}.company-result-count strong{color:var(--navy-900);font-size:18px}.company-result-count span{color:var(--text-muted);font-size:9px;font-weight:750}.companies-toolbar{display:grid;grid-template-columns:minmax(250px,1.55fr) repeat(5,minmax(125px,.72fr)) auto;gap:9px;padding:17px 20px;border-bottom:1px solid var(--border);background:#fbfcfe}.company-toolbar-search{width:100%}.companies-toolbar input,.companies-toolbar select{width:100%;height:42px;border:1px solid var(--border-strong);border-radius:10px;color:var(--text);background:#fff;font-size:9px}.companies-toolbar select{padding:0 29px 0 10px}.companies-toolbar input:focus,.companies-toolbar select:focus{border-color:var(--accent);outline:0;box-shadow:0 0 0 3px rgba(223,31,45,.08)}.toolbar-reset-button{min-height:42px;padding:0 13px;border:1px solid var(--border-strong);border-radius:10px;color:var(--navy-700);background:#fff;font-size:9px;font-weight:850;cursor:pointer}.toolbar-reset-button:hover{color:var(--accent);border-color:rgba(223,31,45,.22);background:var(--accent-soft)}.companies-loading-state{display:flex;min-height:250px;align-items:center;justify-content:center;gap:13px;color:var(--text-soft);font-size:11px}.inline-loading-spinner{width:23px;height:23px;border:3px solid #dfe7ef;border-top-color:var(--accent);border-radius:50%;animation:loading-spin 750ms linear infinite}@keyframes loading-spin{to{transform:rotate(360deg)}}.companies-table-wrap{overflow-x:auto}.companies-table{width:100%;min-width:1120px;border-collapse:collapse;table-layout:fixed}.companies-table th,.companies-table td{padding:14px 10px;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle}.companies-table th{color:var(--text-muted);background:#fafbfd;font-size:8px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.companies-table td{color:var(--text-soft);font-size:9px}.companies-table tbody tr:hover{background:#fbfcfe}.companies-table th:nth-child(1),.companies-table td:nth-child(1){width:18%;padding-left:17px}.companies-table th:nth-child(2),.companies-table td:nth-child(2){width:12%}.companies-table th:nth-child(3),.companies-table td:nth-child(3){width:10%}.companies-table th:nth-child(4),.companies-table td:nth-child(4){width:10%}.companies-table th:nth-child(5),.companies-table td:nth-child(5){width:10%}.companies-table th:nth-child(6),.companies-table td:nth-child(6){width:12%}.companies-table th:nth-child(7),.companies-table td:nth-child(7){width:7%;text-align:center}.companies-table th:nth-child(8),.companies-table td:nth-child(8){width:14%}.companies-table th:nth-child(9),.companies-table td:nth-child(9){width:7%;padding-right:17px}.company-name-cell{display:flex;align-items:center;gap:10px}.company-avatar{display:grid;flex:0 0 auto;width:34px;height:34px;place-items:center;border:1px solid rgba(47,114,196,.15);border-radius:10px;color:var(--blue-700);background:rgba(47,114,196,.07);font-size:9px;font-weight:900}.company-name-cell strong,.company-name-cell span,.company-country-cell strong,.company-country-cell span,.company-job-cell strong,.company-job-cell span{display:block}.company-name-cell strong,.company-country-cell strong,.company-job-cell strong{color:var(--navy-900)}.company-name-cell strong{font-size:10px;line-height:1.4}.company-name-cell span,.company-country-cell span,.company-job-cell span{margin-top:4px;color:var(--text-muted);font-size:8px;line-height:1.35}.company-domain-link{color:var(--blue-700);font-weight:800;text-decoration:none;overflow-wrap:anywhere}.company-domain-link:hover{color:var(--accent);text-decoration:underline}.company-muted-value{color:var(--text-muted)}.company-confidence>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:6px}.company-confidence strong{color:var(--navy-900);font-size:11px}.company-confidence span{color:var(--text-muted);font-size:7px;font-weight:800;text-transform:uppercase}.company-confidence-track{height:5px;margin-top:7px;overflow:hidden;border-radius:999px;background:#e8edf3}.company-confidence-track span{display:block;height:100%;border-radius:inherit;background:var(--warning)}.company-confidence.confidence-high .company-confidence-track span{background:var(--success)}.company-confidence.confidence-low .company-confidence-track span{background:var(--danger)}.company-evidence-badge{display:inline-flex;align-items:center;padding:6px 8px;border:1px solid var(--border);border-radius:999px;font-size:8px;font-weight:850;white-space:nowrap}.company-evidence-badge.evidence-confirmed{color:#14764a;border-color:rgba(21,154,99,.2);background:rgba(21,154,99,.08)}.company-evidence-badge.evidence-probable{color:#2c67ad;border-color:rgba(47,114,196,.2);background:rgba(47,114,196,.08)}.company-evidence-badge.evidence-multi_country{color:#6a48ad;border-color:rgba(120,89,200,.2);background:rgba(120,89,200,.08)}.company-evidence-badge.evidence-unknown{color:#8a5b0d;border-color:rgba(196,132,20,.2);background:rgba(240,184,74,.1)}.company-evidence-badge.evidence-mismatch{color:#a72e38;border-color:rgba(214,60,72,.2);background:rgba(214,60,72,.08)}.company-evidence-score{display:block;margin-top:5px;color:var(--text-muted);font-size:7px}.company-source-count{display:inline-flex;align-items:baseline;gap:4px;color:var(--text-muted);white-space:nowrap}.company-source-count strong{color:var(--navy-900);font-size:13px}.company-details-button{min-height:33px;padding:0 10px;border:1px solid rgba(47,114,196,.18);border-radius:9px;color:var(--blue-700);background:rgba(47,114,196,.06);font-size:8px;font-weight:850;white-space:nowrap;cursor:pointer}.company-details-button:hover{color:#fff;border-color:var(--blue-700);background:var(--blue-700)}.company-details-dialog{width:min(100%,980px)}.company-details-body{display:grid;gap:21px;padding:26px 31px 31px}.company-detail-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.company-detail-summary article{padding:15px;border:1px solid var(--border);border-radius:13px;background:#f9fbfd}.company-detail-summary span,.company-detail-summary strong{display:block}.company-detail-summary span{color:var(--text-muted);font-size:8px;font-weight:800;text-transform:uppercase}.company-detail-summary strong{margin-top:9px;color:var(--navy-900);font-size:19px}.company-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.company-detail-card,.company-detail-section{border:1px solid var(--border);border-radius:16px;background:#fff}.company-detail-card{padding:20px}.company-definition-list{display:grid;gap:0;margin:3px 0 0}.company-definition-list div{display:grid;grid-template-columns:115px minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid var(--border)}.company-definition-list div:last-child{border-bottom:0}.company-definition-list dt{color:var(--text-muted);font-size:9px}.company-definition-list dd{margin:0;color:var(--navy-900);font-size:9px;font-weight:750}.company-description{margin:12px 0 0;color:var(--text-soft);font-size:10px;line-height:1.75;white-space:pre-line}.company-review-note{display:grid;gap:5px;margin-top:17px;padding:12px;border:1px solid rgba(240,184,74,.22);border-radius:10px;color:#80560f;background:rgba(240,184,74,.08);font-size:9px}.company-detail-section{overflow:hidden}.company-detail-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 19px;border-bottom:1px solid var(--border);background:#fbfcfe}.company-detail-section-heading h3{margin:0;color:var(--navy-900);font-size:15px}.company-detail-section-heading>span{color:var(--text-muted);font-size:8px;font-weight:800}.company-domain-list,.company-source-list,.company-job-list{display:grid}.company-domain-list article,.company-source-list article,.company-job-list article{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 18px;border-bottom:1px solid var(--border)}.company-domain-list article:last-child,.company-source-list article:last-child,.company-job-list article:last-child{border-bottom:0}.company-domain-list strong,.company-domain-list span,.company-source-list strong,.company-source-list span,.company-job-list strong,.company-job-list span{display:block}.company-domain-list strong,.company-source-list strong,.company-job-list strong{color:var(--navy-900);font-size:9px}.company-domain-list span,.company-source-list span,.company-job-list span{margin-top:4px;color:var(--text-muted);font-size:8px}.domain-mx-status,.company-job-score{flex:0 0 auto;padding:6px 8px;border:1px solid var(--border);border-radius:999px;color:var(--text-soft)!important;background:#f8fafc;font-size:7px!important;font-weight:850}.company-source-list article{display:grid;grid-template-columns:31px minmax(0,1fr) auto}.source-status-icon{display:grid;width:29px;height:29px;place-items:center;border-radius:9px;color:#14764a;background:rgba(21,154,99,.09);font-size:11px;font-weight:900}.company-source-list a{color:var(--blue-700);font-size:8px;font-weight:850;text-decoration:none;white-space:nowrap}.company-source-list a:hover{color:var(--accent);text-decoration:underline}.company-detail-empty,.company-detail-error{padding:24px;color:var(--text-muted);text-align:center;font-size:9px}.company-detail-error strong{display:block;color:var(--danger);font-size:12px}.company-details-actions{position:sticky;bottom:0;margin:0;padding:17px 31px 20px;border-top:1px solid var(--border);background:rgba(255,255,255,.98);box-shadow:0 -12px 28px rgba(16,42,67,.06)}.modal-primary-link{display:inline-flex;min-height:44px;padding:0 17px;align-items:center;justify-content:center;border-radius:10px;color:#fff;background:var(--accent);box-shadow:0 12px 24px rgba(223,31,45,.18);font-size:10px;font-weight:850;text-decoration:none}.modal-primary-link:hover{background:var(--accent-hover);transform:translateY(-1px)}
@media(max-width:1480px){.company-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.companies-toolbar{grid-template-columns:minmax(250px,1.5fr) repeat(3,minmax(135px,.8fr))}.companies-toolbar label:nth-of-type(5),.companies-toolbar label:nth-of-type(6),.companies-toolbar .toolbar-reset-button{grid-row:2}}
@media(max-width:980px){.companies-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.companies-toolbar label,.companies-toolbar label:nth-of-type(5),.companies-toolbar label:nth-of-type(6),.companies-toolbar .toolbar-reset-button{grid-row:auto}.company-toolbar-search{grid-column:1/-1}.company-detail-summary,.company-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.company-metrics,.companies-toolbar,.company-detail-summary,.company-detail-grid{grid-template-columns:1fr}.company-details-body{padding-right:20px;padding-left:20px}.company-details-actions{padding-right:20px;padding-left:20px}.company-definition-list div{grid-template-columns:1fr;gap:4px}.company-source-list article{grid-template-columns:31px minmax(0,1fr)}.company-source-list a{grid-column:2}.company-domain-list article,.company-job-list article{align-items:flex-start;flex-direction:column}.company-details-actions{flex-direction:column-reverse}.company-details-actions>*{width:100%}}


/* Unified Search Workspace v0.2.0 — integrated typography and same-page search */
html { font-size: 16px; }
body { font-size: 15px; line-height: 1.5; }
.workspace-header { min-height: 118px; }
.workspace-heading h1 { font-size: 32px; }
.workspace-subtitle { font-size: 13px; }
.section-label { font-size: 11px; letter-spacing: .12em; }
.sidebar { width: 292px; }
.workspace-main { margin-left: 292px; }
.sidebar-brand strong { font-size: 18px; }
.sidebar-brand span, .brand-name span { font-size: 12px; }
.navigation-item { min-height: 54px; font-size: 14px; }
.navigation-icon { width: 21px; height: 21px; }
.navigation-count { min-width: 25px; height: 25px; font-size: 11px; }
.sidebar-label-inline { margin: 22px 14px 6px; }
.navigation-item-secondary { opacity: .86; }
.workspace-content { padding: 28px 46px 54px; }

.unified-search-hero { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:20px; }
.unified-search-hero h2 { margin:5px 0 6px; color:var(--navy-900); font-size:30px; letter-spacing:-.035em; }
.unified-search-hero p:not(.section-label) { margin:0; color:var(--text-soft); font-size:14px; }
.page-secondary-button { min-height:44px; padding:0 18px; border:1px solid var(--border-strong); border-radius:11px; color:var(--navy-800); background:#fff; font-size:13px; font-weight:800; cursor:pointer; }

.unified-filter-panel { display:grid; grid-template-columns:minmax(240px,.95fr) minmax(240px,.95fr) minmax(280px,1.2fr) auto; gap:12px; align-items:end; margin-bottom:20px; padding:20px; border:1px solid var(--border); border-radius:16px; background:#fff; box-shadow:0 12px 30px rgba(16,42,67,.06); }
.people-filter-panel { grid-template-columns:minmax(145px,.7fr) minmax(170px,.85fr) minmax(240px,1.2fr) minmax(230px,1.15fr) 100px auto; }
.unified-filter-field { display:grid; gap:8px; }
.unified-filter-field > span, .company-people-search-form label > span { color:var(--navy-800); font-size:12px; font-weight:800; }
.unified-filter-field input, .unified-filter-field select, .company-people-search-form input, .company-people-search-form select { width:100%; min-height:46px; padding:0 13px; border:1px solid var(--border-strong); border-radius:10px; color:var(--navy-900); background:#fff; font-size:14px; }
.unified-filter-field input:focus, .unified-filter-field select:focus { border-color:var(--blue-500); outline:0; box-shadow:0 0 0 3px rgba(47,114,196,.09); }
.unified-search-button { display:inline-flex; min-height:46px; padding:0 18px; align-items:center; justify-content:center; gap:8px; border:0; border-radius:10px; color:#fff; background:var(--accent); box-shadow:0 12px 22px rgba(223,31,45,.18); font-size:13px; font-weight:850; cursor:pointer; white-space:nowrap; }
.unified-search-button svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; }
.unified-search-button:disabled { opacity:.55; cursor:wait; }

.search-progress-card { margin-bottom:20px; padding:17px 20px; border:1px solid rgba(47,114,196,.18); border-radius:14px; background:rgba(47,114,196,.055); }
.search-progress-copy { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.search-progress-copy > div { display:flex; align-items:center; gap:12px; }
.search-progress-copy strong { color:var(--navy-900); font-size:14px; }
.search-progress-copy > span { color:var(--blue-700); font-size:14px; font-weight:850; }
.search-progress-track { height:8px; margin-top:13px; overflow:hidden; border-radius:999px; background:#dce7f2; }
.search-progress-track span { display:block; width:0; height:100%; border-radius:inherit; background:var(--blue-500); transition:width .25s ease; }
.search-request-card p { margin:10px 0 0; color:var(--text-soft); font-size:13px; }
.status-pill { display:inline-flex; padding:6px 10px; border-radius:999px; font-size:11px; font-weight:850; }
.status-running,.status-queued { color:#2467a7; background:rgba(47,114,196,.1); }
.status-completed { color:#14764a; background:rgba(21,154,99,.1); }
.status-partial { color:#8a5a08; background:rgba(221,158,28,.14); }
.status-failed,.status-cancelled { color:#a72e38; background:rgba(214,60,72,.1); }

.unified-results-panel { overflow:hidden; }
.data-panel-header h3 { font-size:23px; }
.data-panel-header p { font-size:13px; }
.company-result-count strong { font-size:22px; }
.company-result-count span { font-size:11px; }
.unified-table-wrap { overflow-x:auto; }
.unified-results-table { width:100%; min-width:1120px; border-collapse:collapse; table-layout:auto; }
.unified-results-table th { padding:15px 13px; border-bottom:1px solid var(--border); color:var(--text-muted); background:#f8fafc; font-size:11px; font-weight:850; letter-spacing:.06em; text-align:left; text-transform:uppercase; white-space:nowrap; }
.unified-results-table td { padding:16px 13px; border-bottom:1px solid var(--border); color:var(--text-soft); font-size:13px; vertical-align:middle; }
.unified-results-table tbody tr:hover { background:#fbfcfe; }
.primary-result-cell { display:flex; align-items:center; gap:11px; min-width:190px; }
.primary-result-cell strong,.primary-result-cell span { display:block; }
.primary-result-cell strong { color:var(--navy-900); font-size:14px; line-height:1.35; }
.primary-result-cell span { margin-top:4px; color:var(--text-muted); font-size:11px; }
.company-result-identity { min-width:0; }
.company-source-icon { display:grid; width:22px; height:22px; margin-top:6px; place-items:center; border:1px solid rgba(16,42,67,.12); border-radius:6px; color:#fff; background:var(--navy-700); text-decoration:none; transition:transform .16s ease,box-shadow .16s ease,background .16s ease; }
.company-source-icon span { margin-top:0; color:inherit; font-size:11px; font-weight:900; line-height:1; }
.company-source-icon svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.company-source-icon:hover { color:#fff; background:var(--accent); box-shadow:0 6px 14px rgba(16,42,67,.16); transform:translateY(-1px); }
.company-source-icon.website-source { background:var(--navy-700); }
.company-source-icon.linkedin-source { border-color:#0a66c2; background:#0a66c2; }
.company-source-icon.linkedin-source:hover { background:#004182; }
.person-avatar { display:grid; flex:0 0 auto; width:38px; height:38px; place-items:center; border-radius:50%; color:#fff; background:var(--navy-700); font-size:11px; font-weight:900; }
.result-link { color:var(--blue-700); font-size:13px; font-weight:750; text-decoration:none; overflow-wrap:anywhere; }
.result-link:hover { color:var(--accent); text-decoration:underline; }
.missing-result { color:#9aa8b6; font-style:italic; }
.telephone-value { display:block; color:var(--navy-900); font-weight:750; white-space:nowrap; }
.telephone-value + small { display:block; margin-top:4px; color:var(--text-muted); font-size:10px; }
.result-confidence { min-width:85px; }
.result-confidence strong { color:var(--navy-900); font-size:13px; }
.result-confidence div { height:6px; margin-top:7px; overflow:hidden; border-radius:999px; background:#e4eaf0; }
.result-confidence div span { display:block; height:100%; border-radius:inherit; background:var(--success); }
.result-actions { display:flex; align-items:center; gap:7px; min-width:245px; }
.result-action-button,.result-icon-button { min-height:36px; padding:0 11px; border:1px solid var(--border-strong); border-radius:9px; color:var(--navy-800); background:#fff; font-size:11px; font-weight:850; cursor:pointer; white-space:nowrap; }
.result-action-button.primary { color:#fff; border-color:var(--blue-700); background:var(--blue-700); }
.result-action-button.is-saved { color:#14764a; border-color:rgba(21,154,99,.22); background:rgba(21,154,99,.08); }
.result-action-button:hover,.result-icon-button:hover { border-color:var(--accent); color:var(--accent); }

.company-people-dialog { width:min(1040px,calc(100vw - 40px)); }
.company-people-search-form { display:grid; grid-template-columns:1.3fr 1fr 100px auto; gap:12px; align-items:end; padding:20px 30px; border-bottom:1px solid var(--border); background:#f8fafc; }
.company-people-search-form label { display:grid; gap:7px; }
.company-people-results { min-height:260px; max-height:48vh; overflow:auto; padding:20px 30px; }
.inline-info-message { margin:16px 30px 0; padding:12px 14px; border:1px solid rgba(47,114,196,.18); border-radius:10px; color:var(--blue-700); background:rgba(47,114,196,.06); font-size:13px; }

.empty-state h4 { font-size:19px; }
.empty-state p { font-size:13px; }
.page-message { font-size:13px; }
.login-form input { font-size:15px; }
.form-field > span { font-size:13px; }

@media (max-width:1350px){.unified-filter-panel,.people-filter-panel{grid-template-columns:repeat(2,minmax(0,1fr));}.unified-filter-search{grid-column:auto}.company-keyword-field{grid-column:1/-1}.unified-search-button{min-width:190px}.workspace-content{padding-right:28px;padding-left:28px}}
@media (max-width:850px){.sidebar{width:250px}.workspace-main{margin-left:250px}.unified-filter-panel,.people-filter-panel,.company-people-search-form{grid-template-columns:1fr}.unified-filter-search{grid-column:auto}.unified-search-hero{align-items:flex-start;flex-direction:column}.workspace-content{padding:22px 18px 42px}}

/* Continuous sidebar, compact workspace, visible actions and enrichment UI v0.2.3 */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.workspace {
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
    width: 100%;
    min-height: 100vh;
    background: var(--page);
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 80;
    width: 292px;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
}

.sidebar::before {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: -1;
    width: 292px;
    content: "";
    background:
        radial-gradient(
            circle at 0 0,
            rgba(47, 114, 196, 0.30),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #173d5d 0%,
            #102a43 50%,
            #0b2136 100%
        );
    pointer-events: none;
}

.workspace-main {
    grid-column: 2;
    width: 100%;
    min-width: 0;
    min-height: 100vh;
    margin-left: 0;
}

.workspace-header {
    width: 100%;
    min-width: 0;
    min-height: 102px;
    padding: 17px 34px;
}

.workspace-content {
    display: grid;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 18px 34px 34px;
    gap: 14px;
}

.workspace-page {
    min-width: 0;
    gap: 14px;
}

.search-page-toolbar {
    display: flex;
    min-height: 58px;
    margin-bottom: 0;
    padding: 12px 18px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background:
        linear-gradient(
            135deg,
            rgba(47, 114, 196, 0.055),
            rgba(255, 255, 255, 0.96)
        );
    box-shadow: 0 8px 22px rgba(16, 42, 67, 0.04);
}

.search-page-toolbar strong,
.search-page-toolbar span {
    display: block;
}

.search-page-toolbar strong {
    color: var(--navy-900);
    font-size: 15px;
    font-weight: 850;
}

.search-page-toolbar span {
    margin-top: 3px;
    color: var(--text-soft);
    font-size: 12px;
}

.unified-filter-panel {
    grid-template-columns:
        minmax(170px, 0.8fr)
        minmax(210px, 1fr)
        minmax(310px, 1.6fr)
        minmax(130px, 0.62fr)
        auto;
    gap: 12px;
    margin-bottom: 0;
    padding: 16px 18px;
}

.people-filter-panel {
    grid-template-columns:
        minmax(145px, 0.64fr)
        minmax(180px, 0.78fr)
        minmax(235px, 1.08fr)
        minmax(245px, 1.12fr)
        minmax(125px, 0.56fr)
        auto;
}

.unified-filter-field {
    gap: 6px;
}

.unified-filter-field > span,
.company-people-search-form label > span,
.fixed-batch-note > span {
    font-size: 12px;
}

.unified-filter-field input,
.company-people-search-form input {
    min-height: 48px;
    padding: 0 14px;
    font-size: 14px;
}

.fixed-batch-note {
    display: grid;
    min-height: 48px;
    padding: 6px 12px;
    align-content: center;
    gap: 2px;
    border: 1px solid rgba(47, 114, 196, 0.18);
    border-radius: 10px;
    background: rgba(47, 114, 196, 0.055);
}

.fixed-batch-note > span {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fixed-batch-note strong {
    color: var(--blue-700);
    font-size: 13px;
    white-space: nowrap;
}

.unified-search-button {
    min-height: 48px;
    padding: 0 20px;
    color: #ffffff;
    background: var(--accent);
    font-size: 14px;
}

.search-progress-card {
    margin-bottom: 0;
    padding: 14px 18px;
}

.search-progress-track {
    margin-top: 10px;
}

.data-panel-header {
    padding: 18px 20px;
}

.data-panel-header h3 {
    font-size: 22px;
}

.data-panel-header p {
    margin-top: 5px;
    font-size: 12px;
}

.results-header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
}

.batch-target {
    padding: 10px 12px;
    border: 1px solid rgba(47, 114, 196, 0.16);
    border-radius: 10px;
    color: var(--blue-700);
    background: rgba(47, 114, 196, 0.06);
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
}

.add-more-button {
    display: inline-flex;
    min-width: 134px;
    min-height: 42px;
    padding: 0 15px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--accent);
    border-radius: 10px;
    color: #ffffff !important;
    background: var(--accent) !important;
    box-shadow: 0 10px 20px rgba(223, 31, 45, 0.18);
    opacity: 1;
    visibility: visible;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
    white-space: nowrap;
}

.add-more-button span {
    color: inherit;
    font-size: 17px;
    line-height: 1;
}

.add-more-button:hover:not(:disabled),
.add-more-button:focus-visible:not(:disabled) {
    border-color: var(--accent-hover);
    color: #ffffff !important;
    background: var(--accent-hover) !important;
    transform: translateY(-1px);
}

.add-more-button:disabled {
    cursor: default;
    color: #6c7c8e !important;
    border-color: var(--border-strong);
    background: #e8edf3 !important;
    opacity: 1;
    box-shadow: none;
}

.unified-results-table {
    min-width: 1080px;
}

.unified-results-table th,
.unified-results-table td {
    padding-top: 13px;
    padding-bottom: 13px;
}

.result-actions {
    display: flex;
    min-width: 270px;
    align-items: center;
    gap: 7px;
}

.result-action-button,
.result-icon-button {
    min-height: 38px;
    opacity: 1;
    visibility: visible;
}

.result-action-button.primary {
    color: #ffffff !important;
    border-color: var(--accent) !important;
    background: var(--accent) !important;
    box-shadow: 0 7px 16px rgba(223, 31, 45, 0.14);
}

.result-action-button.primary:hover,
.result-action-button.primary:focus-visible {
    color: #ffffff !important;
    border-color: var(--accent-hover) !important;
    background: var(--accent-hover) !important;
}

.result-action-button:not(.primary):hover,
.result-icon-button:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-soft);
}

.company-find-table .result-actions {
    min-width: 0;
}

.modal-backdrop {
    padding: 18px;
    overflow-x: hidden;
}

.company-people-dialog {
    width: min(1100px, calc(100vw - 36px));
    max-width: calc(100vw - 36px);
    max-height: calc(100vh - 36px);
    max-height: calc(100dvh - 36px);
    margin: auto;
    overflow: hidden;
}

.company-people-dialog .modal-header {
    flex: 0 0 auto;
    padding: 20px 24px 17px;
}

.company-people-dialog .modal-header h2 {
    font-size: 27px;
}

.company-people-search-form {
    grid-template-columns:
        minmax(260px, 1.25fr)
        minmax(220px, 0.95fr)
        140px
        minmax(190px, auto);
    flex: 0 0 auto;
    gap: 12px;
    padding: 15px 24px;
}

.company-people-dialog .inline-info-message {
    flex: 0 0 auto;
    margin: 12px 24px 0;
}

.company-people-results {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 220px;
    max-height: none;
    padding: 14px 24px;
    overflow-x: hidden;
    overflow-y: auto;
}

.company-people-results-toolbar {
    display: flex;
    min-height: 48px;
    padding: 0 0 12px;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.company-people-results .table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.company-people-results .unified-results-table {
    min-width: 760px;
}

.company-people-dialog > .modal-actions {
    position: static;
    flex: 0 0 auto;
    width: 100%;
    margin: 0;
    padding: 13px 24px 16px;
    border-top: 1px solid var(--border);
    background: #ffffff;
    box-shadow: none;
}

@media (max-width: 1350px) {
    .unified-filter-panel,
    .people-filter-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .unified-filter-search {
        grid-column: 1 / -1;
    }

    .company-people-search-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .workspace {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .sidebar {
        width: 82px;
    }

    .sidebar::before {
        width: 82px;
    }

    .workspace-main {
        grid-column: 2;
    }

    .workspace-header {
        padding-right: 22px;
        padding-left: 22px;
    }

    .workspace-content {
        padding: 16px 22px 30px;
    }

    .search-page-toolbar,
    .data-panel-header {
        align-items: flex-start;
    }

    .results-header-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}

@media (max-width: 720px) {
    .workspace {
        display: block;
    }

    .sidebar {
        position: fixed;
        inset: auto 0 0;
        width: 100%;
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .sidebar::before {
        display: none;
    }

    .workspace-main {
        grid-column: auto;
        padding-bottom: 78px;
    }

    .workspace-content {
        padding: 14px 14px 24px;
    }

    .search-page-toolbar,
    .data-panel-header,
    .results-header-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .results-header-actions > * {
        width: 100%;
    }

    .company-result-count {
        justify-content: center;
    }

    .company-people-dialog {
        width: calc(100vw - 18px);
        max-width: calc(100vw - 18px);
        max-height: calc(100dvh - 18px);
    }

    .company-people-dialog .modal-header,
    .company-people-search-form,
    .company-people-results,
    .company-people-dialog > .modal-actions {
        padding-right: 16px;
        padding-left: 16px;
    }

    .company-people-search-form {
        grid-template-columns: 1fr;
    }

    .company-people-results-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .company-people-results-toolbar > * {
        width: 100%;
    }
}

.company-find-table {
    min-width: 1020px;
}

.saved-companies-table {
    min-width: 820px;
}

.company-find-table .primary-result-cell {
    min-width: 205px;
}

.company-find-table .result-actions,
.saved-companies-table .result-actions {
    min-width: 0;
    flex-wrap: nowrap;
}

.company-country-value {
    color: var(--navy-900);
    font-weight: 800;
    white-space: nowrap;
}

.enrichment-status-cell {
    display: grid;
    min-width: 128px;
    gap: 6px;
}

.enrichment-status-cell small {
    display: block;
    max-width: 170px;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 9px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.enrichment-status-badge {
    display: inline-flex;
    width: max-content;
    min-height: 26px;
    padding: 0 9px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-soft);
    background: #f6f8fb;
    font-size: 9px;
    font-weight: 850;
    white-space: nowrap;
    text-transform: capitalize;
}

.enrichment-status-badge.enrichment-queued,
.enrichment-page-status.enrichment-queued {
    color: #8a5b0d;
    border-color: rgba(196, 132, 20, 0.22);
    background: rgba(240, 184, 74, 0.12);
}

.enrichment-status-badge.enrichment-running,
.enrichment-page-status.enrichment-running {
    color: var(--blue-700);
    border-color: rgba(47, 114, 196, 0.22);
    background: rgba(47, 114, 196, 0.09);
}

.enrichment-status-badge.enrichment-completed,
.enrichment-page-status.enrichment-fetched {
    color: #14764a;
    border-color: rgba(21, 154, 99, 0.22);
    background: rgba(21, 154, 99, 0.09);
}

.enrichment-status-badge.enrichment-partial {
    color: #6650a6;
    border-color: rgba(120, 89, 200, 0.22);
    background: rgba(120, 89, 200, 0.09);
}

.enrichment-status-badge.enrichment-failed,
.enrichment-page-status.enrichment-failed {
    color: #a72e38;
    border-color: rgba(214, 60, 72, 0.22);
    background: rgba(214, 60, 72, 0.09);
}

.enrichment-status-badge.enrichment-cancelled {
    color: #607084;
    border-color: rgba(96, 112, 132, 0.22);
    background: rgba(96, 112, 132, 0.08);
}

.enrichment-progress-track {
    width: 100%;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: #e6edf4;
}

.enrichment-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--blue-500);
    transition: width 240ms ease;
}

.enrichment-action-button {
    display: inline-flex;
    min-height: 38px;
    padding: 0 12px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(47, 114, 196, 0.24);
    border-radius: 9px;
    color: var(--blue-700);
    background: rgba(47, 114, 196, 0.07);
    font-size: 10px;
    font-weight: 850;
    cursor: pointer;
    white-space: nowrap;
}

.enrichment-action-button:hover:not(:disabled),
.enrichment-action-button:focus-visible:not(:disabled) {
    color: #ffffff;
    border-color: var(--blue-700);
    background: var(--blue-700);
    transform: translateY(-1px);
}

.enrichment-action-button:disabled {
    cursor: default;
    color: #6b7c8f;
    border-color: #d9e1ea;
    background: #edf1f5;
    opacity: 1;
}

.company-enrichment-summary {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.enrichment-run-section {
    overflow: visible;
}

.enrichment-run-body {
    display: grid;
    gap: 18px;
    padding: 20px;
}

.enrichment-run-progress {
    display: grid;
    gap: 10px;
}

.enrichment-run-progress > div:first-child {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.enrichment-run-progress strong {
    color: var(--navy-900);
    font-size: 14px;
}

.enrichment-run-progress span {
    color: var(--text-muted);
    font-size: 9px;
}

.enrichment-progress-large {
    height: 8px;
}

.enrichment-run-metrics {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.enrichment-run-metrics article {
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #f9fbfd;
}

.enrichment-run-metrics span,
.enrichment-run-metrics strong {
    display: block;
}

.enrichment-run-metrics span {
    color: var(--text-muted);
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.enrichment-run-metrics strong {
    margin-top: 8px;
    color: var(--navy-900);
    font-size: 18px;
}

.enrichment-error-message {
    display: grid;
    gap: 5px;
    padding: 13px 15px;
    border: 1px solid rgba(214, 60, 72, 0.22);
    border-radius: 11px;
    color: #8d2932;
    background: rgba(214, 60, 72, 0.07);
}

.enrichment-error-message strong {
    font-size: 10px;
}

.enrichment-error-message span {
    font-size: 9px;
    line-height: 1.5;
}

.enrichment-page-list {
    display: grid;
}

.enrichment-page-list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 13px;
    padding: 14px 18px;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.enrichment-page-list article:last-child {
    border-bottom: 0;
}

.enrichment-page-list strong,
.enrichment-page-list span {
    display: block;
}

.enrichment-page-list strong {
    color: var(--navy-900);
    font-size: 10px;
}

.enrichment-page-list div > span {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 8px;
}

.enrichment-page-list a {
    color: var(--blue-700);
    font-size: 9px;
    font-weight: 850;
    text-decoration: none;
}

.enrichment-page-list a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.enrichment-page-status {
    display: inline-flex;
    min-height: 25px;
    padding: 0 8px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-soft);
    background: #f7f9fb;
    font-size: 8px;
    font-weight: 850;
    text-transform: capitalize;
    white-space: nowrap;
}

.enrichment-facts-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.enrichment-facts-table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
}

.enrichment-facts-table th,
.enrichment-facts-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.enrichment-facts-table th {
    color: var(--text-muted);
    background: #fafbfd;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.enrichment-facts-table td {
    color: var(--text-soft);
    font-size: 9px;
    line-height: 1.45;
}

.enrichment-facts-table td:nth-child(2) {
    color: var(--navy-900);
    font-weight: 750;
}

.enrichment-facts-table a {
    color: var(--blue-700);
    font-weight: 850;
    text-decoration: none;
}

.enrichment-facts-table a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.enrichment-modal-button {
    display: inline-flex;
    min-height: 44px;
    padding: 0 17px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--blue-700);
    border-radius: 10px;
    color: #ffffff;
    background: var(--blue-700);
    font-size: 10px;
    font-weight: 850;
    cursor: pointer;
    white-space: nowrap;
}

.enrichment-modal-button:hover:not(:disabled) {
    background: var(--blue-500);
    transform: translateY(-1px);
}

.enrichment-modal-button:disabled {
    cursor: default;
    color: #6c7c8e;
    border-color: #d7e0e9;
    background: #e9eef3;
    opacity: 1;
}

.enrichment-cancel-button {
    color: #a72e38;
    border-color: rgba(214, 60, 72, 0.28);
}

.enrichment-cancel-button:hover:not(:disabled) {
    color: #ffffff;
    border-color: var(--danger);
    background: var(--danger);
}

@media (max-width: 1100px) {
    .company-enrichment-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .enrichment-run-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .company-enrichment-summary,
    .enrichment-run-metrics {
        grid-template-columns: 1fr;
    }

    .enrichment-run-progress > div:first-child {
        align-items: flex-start;
        flex-direction: column;
    }

    .enrichment-page-list article {
        grid-template-columns: 1fr;
    }

    .company-details-actions {
        flex-direction: column-reverse;
    }

    .company-details-actions > * {
        width: 100%;
    }
}

.company-find-table .result-action-button,
.company-find-table .result-icon-button,
.saved-companies-table .result-action-button,
.saved-companies-table .result-icon-button {
    min-height: 36px;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 10px;
}

.company-find-table th,
.company-find-table td,
.saved-companies-table th,
.saved-companies-table td {
    padding-right: 11px;
    padding-left: 11px;
}

@media (max-width: 1180px) {
    .company-find-table {
        min-width: 960px;
    }

    .company-find-table .result-actions {
        flex-wrap: wrap;
        min-width: 220px;
    }
}

/* ================================================================
   Conex Lead Finder v1.0.4 — standalone LinkedIn-first people search
   ================================================================ */

.people-country-multi-field,
.people-title-multi-field {
    min-width: 230px;
}

.people-live-filter-panel {
    grid-template-columns:
        minmax(230px, .9fr)
        minmax(260px, 1.05fr)
        minmax(300px, 1.25fr)
        minmax(190px, auto);
    align-items: end;
}

.people-live-filter-panel .unified-filter-search input,
.people-live-filter-panel .unified-search-button {
    min-height: 64px;
}

.people-find-table {
    min-width: 1040px;
    table-layout: fixed;
}

.people-find-table th:nth-child(1),
.people-find-table td:nth-child(1) {
    width: 27%;
}

.people-find-table th:nth-child(2),
.people-find-table td:nth-child(2) {
    width: 17%;
}

.people-find-table th:nth-child(3),
.people-find-table td:nth-child(3) {
    width: 22%;
}

.people-find-table th:nth-child(4),
.people-find-table td:nth-child(4) {
    width: 15%;
}

.people-find-table th:nth-child(5),
.people-find-table td:nth-child(5) {
    width: 19%;
}

.person-result-identity strong,
.person-result-identity span {
    display: block;
}

.person-result-identity span {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.45;
}

.people-contact-cell {
    display: grid;
    justify-items: start;
    gap: 6px;
}

.standalone-person-actions {
    min-width: 0;
    flex-wrap: wrap;
}

.linkedin-person-action {
    display: inline-grid;
    min-width: 38px;
    padding: 0;
    place-items: center;
    color: #ffffff !important;
    border-color: #0a66c2 !important;
    background: #0a66c2 !important;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
}

.linkedin-person-action:hover,
.linkedin-person-action:focus-visible {
    color: #ffffff !important;
    border-color: #084f96 !important;
    background: #084f96 !important;
}

@media (max-width: 1180px) {
    .people-live-filter-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .people-live-filter-panel {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   Conex Lead Finder v1.0.5 — single-screen sign-in viewport
   ================================================================ */

.login-layout {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
}

.login-layout .brand-panel,
.login-layout .form-panel {
    height: 100%;
    min-height: 0;
}

@media (min-width: 961px) {
    .login-layout .brand-panel {
        padding:
            clamp(24px, 3.5vh, 38px)
            clamp(38px, 4vw, 72px);
    }

    .login-layout .brand-header .brand-mark {
        width: 58px;
        height: 58px;
        border-radius: 17px;
    }

    .login-layout .brand-header .brand-mark-main {
        font-size: 28px;
    }

    .login-layout .brand-header .brand-mark-dot {
        right: 8px;
        bottom: 8px;
        width: 9px;
        height: 9px;
    }

    .login-layout .brand-content {
        max-width: 820px;
        margin: clamp(18px, 2.8vh, 28px) 0;
    }

    .login-layout .brand-badge {
        margin-bottom: 13px;
        padding: 6px 10px;
    }

    .login-layout .brand-eyebrow {
        margin-bottom: 8px;
    }

    .login-layout .brand-content h1 {
        max-width: 820px;
        font-size: clamp(42px, 3.2vw, 60px);
        line-height: 0.98;
    }

    .login-layout .brand-content h1 span {
        margin-top: 8px;
    }

    .login-layout .brand-description {
        margin-top: 16px;
        font-size: 15px;
        line-height: 1.5;
    }

    .login-layout .brand-proof-row {
        gap: 10px;
        margin-top: 20px;
    }

    .login-layout .brand-proof {
        padding: 13px;
    }

    .login-layout .brand-proof-value {
        margin-bottom: 11px;
    }

    .login-layout .brand-assurance-card {
        padding: 13px 15px;
    }

    .login-layout .assurance-icon {
        width: 38px;
        height: 38px;
        padding: 9px;
    }

    .login-layout .form-panel {
        padding:
            clamp(18px, 2.8vh, 30px)
            clamp(30px, 4vw, 72px);
    }

    .login-layout .login-card {
        padding:
            clamp(25px, 3.2vh, 34px)
            clamp(30px, 3vw, 42px);
    }

    .login-layout .card-heading {
        margin-bottom: 20px;
    }

    .login-layout .login-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 14px;
        padding: 11px;
        border-radius: 13px;
    }

    .login-layout .card-heading .section-label {
        margin-bottom: 8px;
    }

    .login-layout .card-heading h2 {
        font-size: clamp(32px, 3vw, 40px);
    }

    .login-layout .card-heading p:last-child {
        margin-top: 8px;
        line-height: 1.5;
    }

    .login-layout .login-form {
        gap: 14px;
    }

    .login-layout .form-field {
        gap: 7px;
    }

    .login-layout .form-field input,
    .login-layout .primary-button {
        height: 52px;
    }

    .login-layout .security-note {
        margin-top: 18px;
        padding-top: 16px;
    }

    .login-layout .login-footer {
        margin-top: 13px;
    }
}

@media (min-width: 961px) and (max-width: 1230px) {
    .login-layout .brand-panel {
        padding-right: 34px;
        padding-left: 34px;
    }

    .login-layout .brand-content h1 {
        font-size: clamp(38px, 4.2vw, 50px);
    }

    .login-layout .brand-proof {
        padding: 10px 12px;
    }

    .login-layout .brand-proof-value {
        margin-top: 1px;
    }

    .login-layout .brand-assurance-card {
        padding: 11px 13px;
    }
}

@media (max-width: 960px) {
    .login-layout .form-panel {
        height: 100%;
        min-height: 0;
        padding: clamp(14px, 3vh, 26px) 20px;
        overflow: hidden;
    }

    .login-layout .login-shell {
        width: min(100%, 480px);
    }

    .login-layout .mobile-brand {
        margin-bottom: clamp(10px, 2vh, 18px);
    }

    .login-layout .login-card {
        padding:
            clamp(22px, 3.6vh, 30px)
            clamp(22px, 5vw, 34px);
    }

    .login-layout .card-heading {
        margin-bottom: clamp(15px, 2.5vh, 22px);
    }

    .login-layout .login-icon {
        width: 42px;
        height: 42px;
        margin-bottom: clamp(10px, 2vh, 16px);
        padding: 11px;
    }

    .login-layout .card-heading h2 {
        font-size: clamp(31px, 7vw, 39px);
    }

    .login-layout .card-heading p:last-child {
        margin-top: 8px;
        line-height: 1.45;
    }

    .login-layout .login-form {
        gap: clamp(11px, 2vh, 15px);
    }

    .login-layout .form-field {
        gap: 6px;
    }

    .login-layout .form-field input,
    .login-layout .primary-button {
        height: clamp(48px, 7vh, 53px);
    }

    .login-layout .security-note {
        margin-top: clamp(12px, 2.3vh, 18px);
        padding-top: clamp(11px, 2vh, 16px);
    }

    .login-layout .login-footer {
        margin-top: clamp(9px, 1.8vh, 14px);
    }
}

@media (max-height: 680px) {
    .login-layout .login-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 8px;
        padding: 9px;
    }

    .login-layout .card-heading .section-label {
        margin-bottom: 5px;
    }

    .login-layout .card-heading h2 {
        font-size: 30px;
    }

    .login-layout .card-heading p:last-child {
        margin-top: 5px;
        font-size: 12px;
    }

    .login-layout .security-note p {
        line-height: 1.4;
    }

    .login-layout .brand-proof div span,
    .login-layout .brand-assurance-card p {
        display: none;
    }
}

@media (max-height: 620px) {
    .login-layout .form-panel {
        padding: 8px 14px;
    }

    .login-layout .mobile-brand {
        margin-bottom: 6px;
    }

    .login-layout .mobile-brand .brand-mark {
        width: 36px;
        height: 36px;
        border-radius: 11px;
    }

    .login-layout .mobile-brand .brand-mark-main {
        font-size: 19px;
    }

    .login-layout .mobile-brand .brand-mark-dot {
        right: 5px;
        bottom: 5px;
        width: 6px;
        height: 6px;
    }

    .login-layout .login-card {
        padding: 14px 18px;
        border-radius: 20px;
    }

    .login-layout .login-icon,
    .login-layout .security-note {
        display: none;
    }

    .login-layout .card-heading {
        margin-bottom: 10px;
    }

    .login-layout .card-heading h2 {
        font-size: 28px;
    }

    .login-layout .card-heading p:last-child {
        margin-top: 4px;
        font-size: 11px;
        line-height: 1.35;
    }

    .login-layout .login-form {
        gap: 8px;
    }

    .login-layout .form-field {
        gap: 4px;
    }

    .login-layout .form-field input,
    .login-layout .primary-button {
        height: 44px;
    }

    .login-layout .form-message {
        padding: 8px 10px;
        font-size: 10px;
        line-height: 1.35;
    }

    .login-layout .login-footer {
        align-items: center;
        flex-direction: row;
        gap: 6px;
        margin-top: 6px;
        font-size: 8px;
        white-space: nowrap;
    }

    .login-layout .brand-proof-row {
        display: none;
    }
}


/* ================================================================
   Conex Lead Finder v0.2.5 — Live People Discovery
   ================================================================ */

.people-live-filter-panel {
    grid-template-columns:
        minmax(230px, 1.2fr)
        minmax(210px, 1fr)
        minmax(210px, 1fr)
        112px
        auto;
}

.people-company-field select {
    min-width: 0;
}

.people-policy-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border: 1px solid rgba(22, 163, 74, .2);
    border-radius: 999px;
    background: rgba(22, 163, 74, .07);
}

.people-policy-chip span {
    color: var(--slate-500);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.people-policy-chip strong {
    color: #166534;
    font-size: 12px;
}

.people-live-progress-card {
    display: grid;
    gap: 14px;
}

.people-live-progress-card > p {
    margin: -4px 0 0;
    color: var(--slate-600);
    font-size: 13px;
}

.people-run-metrics {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 9px;
}

.people-run-metrics > div {
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid rgba(47, 114, 196, .12);
    border-radius: 10px;
    background: rgba(255, 255, 255, .78);
}

.people-run-metrics span,
.company-people-run-summary span {
    display: grid;
    gap: 3px;
    color: var(--slate-500);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.people-run-metrics strong,
.company-people-run-summary strong {
    color: var(--navy-900);
    font-size: 15px;
    letter-spacing: 0;
    text-transform: none;
}

.people-progress-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

.people-cancel-button {
    border-color: rgba(185, 28, 28, .28);
    color: #991b1b;
    background: rgba(254, 242, 242, .95);
}

.people-run-details {
    display: grid;
    gap: 13px;
    padding-top: 14px;
    border-top: 1px solid rgba(47, 114, 196, .14);
}

.people-run-details section {
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
}

.people-run-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
}

.people-run-section-heading strong {
    color: var(--navy-900);
    font-size: 13px;
}

.people-run-section-heading span {
    color: var(--slate-500);
    font-size: 11px;
}

.people-run-list {
    display: grid;
    gap: 7px;
}

.people-run-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 9px 10px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 9px;
    background: #f8fafc;
}

.people-run-item-main {
    min-width: 0;
}

.people-run-item-main strong,
.people-run-item-main a {
    display: block;
    overflow: hidden;
    color: var(--navy-900);
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.people-run-item-main span {
    display: block;
    margin-top: 2px;
    overflow: hidden;
    color: var(--slate-500);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.people-run-item-meta {
    color: var(--slate-600);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.people-run-empty {
    padding: 10px;
    border: 1px dashed var(--border-strong);
    border-radius: 9px;
    color: var(--slate-500);
    font-size: 12px;
    text-align: center;
}

.company-people-live-form {
    grid-template-columns:
        minmax(220px, 1.2fr)
        minmax(190px, 1fr)
        112px
        auto;
}

.company-people-progress-card {
    display: grid;
    gap: 12px;
    margin: 14px 30px 0;
    padding: 15px 17px;
    border: 1px solid rgba(47, 114, 196, .18);
    border-radius: 13px;
    background: rgba(47, 114, 196, .055);
}

.company-people-run-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.company-people-run-summary > span {
    padding: 8px 9px;
    border: 1px solid rgba(47, 114, 196, .12);
    border-radius: 9px;
    background: rgba(255, 255, 255, .8);
}

.people-find-table {
    min-width: 1020px;
}

.people-find-table th:nth-child(5),
.people-find-table td:nth-child(5) {
    min-width: 140px;
}

@media (max-width: 1180px) {
    .people-live-filter-panel,
    .company-people-live-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .people-run-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .people-live-filter-panel,
    .company-people-live-form,
    .people-run-metrics,
    .company-people-run-summary {
        grid-template-columns: 1fr;
    }

    .people-policy-chip {
        align-items: flex-start;
        flex-direction: column;
        border-radius: 12px;
    }

    .people-run-item {
        grid-template-columns: 1fr;
    }

    .company-people-progress-card {
        margin: 12px 16px 0;
    }
}

/* Fast Email Verification UI v0.2.6 */

.verification-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    padding: 24px 26px;
    border: 1px solid #dde3ea;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%);
    box-shadow: 0 10px 30px rgba(24, 34, 48, 0.05);
}

.verification-hero h2 {
    margin: 5px 0 8px;
    color: #111820;
    font-size: clamp(24px, 2vw, 32px);
}

.verification-hero p:last-child {
    max-width: 760px;
    margin: 0;
    color: #6e7987;
    line-height: 1.7;
}

.verification-metrics {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.verification-metrics article {
    min-width: 0;
    padding: 15px 16px;
    border: 1px solid #e0e5ec;
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 7px 22px rgba(25, 35, 48, 0.04);
}

.verification-metrics article::before {
    display: block;
    width: 28px;
    height: 3px;
    margin-bottom: 11px;
    border-radius: 999px;
    background: #b8c0ca;
    content: '';
}

.verification-metrics article.is-valid::before {
    background: #218754;
}

.verification-metrics article.is-invalid::before {
    background: #bd3c3c;
}

.verification-metrics article.is-risky::before {
    background: #c87c18;
}

.verification-metrics article.is-unknown::before {
    background: #587189;
}

.verification-metrics article.is-suppressed::before {
    background: #6b4f8f;
}

.verification-metrics span {
    display: block;
    color: #768190;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.verification-metrics strong {
    display: block;
    margin-top: 6px;
    color: #151d27;
    font-size: 23px;
}

.verification-control-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1.5fr) minmax(180px, 0.7fr) auto auto;
    align-items: end;
    gap: 14px;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid #dde3ea;
    border-radius: 14px;
    background: #ffffff;
}

.verification-search-field,
.verification-status-field {
    display: grid;
    gap: 7px;
}

.verification-search-field span,
.verification-status-field span,
.verification-selection-summary span {
    color: #657181;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.verification-search-field input,
.verification-status-field select {
    width: 100%;
    min-height: 43px;
    padding: 10px 12px;
    border: 1px solid #cfd6df;
    border-radius: 9px;
    background: #ffffff;
    color: #18212c;
    font: inherit;
}

.verification-search-field input:focus,
.verification-status-field select:focus {
    border-color: #717d8b;
    outline: 3px solid rgba(43, 57, 74, 0.1);
}

.verification-selection-summary {
    display: grid;
    align-content: center;
    min-height: 43px;
    padding: 7px 14px;
    border: 1px solid #d8dee6;
    border-radius: 9px;
    background: #f7f9fb;
    text-align: center;
}

.verification-selection-summary strong {
    margin-top: 2px;
    color: #111820;
    font-size: 14px;
}

.verification-batch-button {
    min-width: 150px;
    min-height: 43px;
}

.verification-results-panel {
    overflow: hidden;
}

.verification-table {
    min-width: 1160px;
}

.verification-table th,
.verification-table td {
    vertical-align: middle;
}

.verification-select-column {
    width: 46px;
    text-align: center;
}

.verification-select-column input {
    width: 16px;
    height: 16px;
    accent-color: #161e28;
    cursor: pointer;
}

.verification-person-cell {
    min-width: 220px;
}

.email-verification-state {
    display: grid;
    gap: 5px;
    min-width: 150px;
}

.email-verification-state.compact {
    min-width: 135px;
}

.email-verification-state small {
    display: block;
    max-width: 220px;
    color: #778291;
    font-size: 10px;
    line-height: 1.35;
}

.verification-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 25px;
    padding: 4px 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.verification-status-badge.status-unchecked {
    border-color: #d5dbe3;
    background: #f4f6f8;
    color: #687483;
}

.verification-status-badge.status-valid {
    border-color: #b9dfc8;
    background: #eaf7ef;
    color: #176a40;
}

.verification-status-badge.status-invalid {
    border-color: #edc1c1;
    background: #fcecec;
    color: #a12f2f;
}

.verification-status-badge.status-risky {
    border-color: #ead0a6;
    background: #fff4df;
    color: #9c5d0d;
}

.verification-status-badge.status-unknown {
    border-color: #cad6e0;
    background: #eef3f7;
    color: #4d667c;
}

.verification-status-badge.status-suppressed {
    border-color: #d6c6e6;
    background: #f4edf9;
    color: #654485;
}

.verification-reason-text {
    display: block;
    max-width: 190px;
    color: #596575;
    font-size: 12px;
    line-height: 1.45;
}

.verification-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 30px;
    padding: 4px 8px;
    border-radius: 8px;
    background: #f3f5f7;
    color: #485463;
    font-size: 12px;
}

.verification-score.status-valid {
    background: #eaf7ef;
    color: #176a40;
}

.verification-score.status-invalid {
    background: #fcecec;
    color: #a12f2f;
}

.verification-score.status-risky {
    background: #fff4df;
    color: #9c5d0d;
}

.verification-score.status-unknown {
    background: #eef3f7;
    color: #4d667c;
}

.verification-score.status-suppressed {
    background: #f4edf9;
    color: #654485;
}

.verification-last-checked {
    display: block;
    min-width: 128px;
    color: #647080;
    font-size: 11px;
    line-height: 1.45;
}

.verification-action-button {
    min-width: 74px;
}

.verification-action-button.compact {
    min-width: 64px;
    padding-inline: 9px;
}

.person-result-actions {
    flex-wrap: nowrap;
}

.people-find-table {
    min-width: 1120px;
}

@media (max-width: 1260px) {
    .verification-metrics {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .verification-hero {
        flex-direction: column;
    }

    .verification-control-panel {
        grid-template-columns: 1fr 1fr;
    }

    .verification-batch-button {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .verification-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .verification-control-panel {
        grid-template-columns: 1fr;
    }

    .verification-selection-summary {
        text-align: left;
    }

    .person-result-actions {
        flex-wrap: wrap;
    }
}


/* Comprehensive Verification Modal Layout Fix v0.2.9 */

.comprehensive-verification-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
    padding: 18px 20px;
    border: 1px solid #d9e0e8;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 7px 22px rgba(25, 35, 48, 0.04);
}

.comprehensive-verification-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid #cfd7e1;
    border-radius: 13px;
    background: #f5f7fa;
    color: #293747;
}

.comprehensive-verification-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.comprehensive-verification-copy h3 {
    margin: 4px 0 5px;
    color: #17212c;
    font-size: 16px;
}

.comprehensive-verification-copy p:last-child {
    max-width: 820px;
    margin: 0;
    color: #687585;
    font-size: 12px;
    line-height: 1.6;
}

.comprehensive-verification-policy {
    display: grid;
    justify-items: end;
    gap: 7px;
    min-width: 190px;
}

.comprehensive-verification-policy small {
    color: #788494;
    font-size: 10px;
    font-weight: 700;
    text-align: right;
}

.verification-engine-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 27px;
    padding: 5px 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.verification-engine-badge.is-loading {
    border-color: #cad5df;
    background: #eef3f7;
    color: #4d667c;
}

.verification-engine-badge.is-ready {
    border-color: #b9dfc8;
    background: #eaf7ef;
    color: #176a40;
}

.verification-engine-badge.is-disabled {
    border-color: #e4c9a7;
    background: #fff5e7;
    color: #945c18;
}

.verification-metrics article.is-catch-all::before {
    background: #187c86;
}

.verification-status-badge.status-catch_all,
.verification-status-badge.status-catch-all {
    border-color: #add9dc;
    background: #e8f7f8;
    color: #12636b;
}

.verification-score.status-catch_all,
.verification-score.status-catch-all {
    background: #e8f7f8;
    color: #12636b;
}

.verification-action-stack {
    display: grid;
    gap: 6px;
    min-width: 118px;
}

.verification-action-stack.compact {
    min-width: 80px;
}

.verification-action-button.is-comprehensive {
    border-color: #1d5d65;
    background: #1d5d65;
    color: #ffffff;
}

.verification-action-button.is-comprehensive:hover:not(:disabled) {
    border-color: #164a50;
    background: #164a50;
}

.verification-action-button.is-comprehensive:disabled {
    border-color: #d7dde4;
    background: #eef1f4;
    color: #8a95a2;
}

.verification-details-button {
    padding: 3px 6px;
    border: 0;
    background: transparent;
    color: #536d82;
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.verification-details-button:hover {
    color: #182a39;
}

.comprehensive-verification-dialog {
    width: min(920px, calc(100vw - 40px));
}

.comprehensive-safety-notice {
    margin: 0 0 18px;
    padding: 15px 17px;
    border: 1px solid #b9dfc8;
    border-radius: 12px;
    background: #eff9f3;
}

.comprehensive-safety-notice strong {
    display: block;
    color: #176a40;
    font-size: 13px;
}

.comprehensive-safety-notice p {
    margin: 6px 0 0;
    color: #587062;
    font-size: 12px;
    line-height: 1.6;
}

.comprehensive-target-summary,
.comprehensive-result-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 18px;
}

.comprehensive-target-summary div,
.comprehensive-result-grid div {
    min-width: 0;
    padding: 12px 13px;
    border: 1px solid #e0e5eb;
    border-radius: 10px;
    background: #f8fafb;
}

.comprehensive-target-summary dt,
.comprehensive-result-grid dt {
    color: #788494;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.comprehensive-target-summary dd,
.comprehensive-result-grid dd {
    overflow-wrap: anywhere;
    margin: 5px 0 0;
    color: #1a2531;
    font-size: 12px;
    font-weight: 700;
}

.comprehensive-confirm-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0 0 18px;
    padding: 14px 15px;
    border: 1px solid #d9dfe6;
    border-radius: 11px;
    background: #ffffff;
    color: #536171;
    font-size: 12px;
    line-height: 1.55;
    cursor: pointer;
}

.comprehensive-confirm-checkbox input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: 1px;
    accent-color: #1d5d65;
}

.comprehensive-result-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding: 18px 20px;
    border: 1px solid #dbe2e9;
    border-radius: 13px;
    background: linear-gradient(135deg, #ffffff, #f6f9fb);
}

.comprehensive-result-hero h3 {
    margin: 8px 0 4px;
    color: #17212c;
    font-size: 21px;
}

.comprehensive-result-hero p {
    margin: 0;
    color: #697687;
    font-size: 12px;
}

.comprehensive-result-hero > strong {
    flex: 0 0 auto;
    color: #16222e;
    font-size: 31px;
}

.comprehensive-attempts-panel {
    margin-top: 4px;
    padding: 16px;
    border: 1px solid #dce2e9;
    border-radius: 13px;
    background: #f9fafc;
}

.comprehensive-attempts-panel > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.comprehensive-attempts-panel h3 {
    margin: 3px 0 0;
    color: #17212c;
    font-size: 15px;
}

#comprehensiveNoMessageBadge {
    padding: 5px 9px;
    border: 1px solid #b9dfc8;
    border-radius: 999px;
    background: #eaf7ef;
    color: #176a40;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

#comprehensiveAttemptsList {
    display: grid;
    gap: 10px;
}

.comprehensive-attempt-card {
    padding: 13px 14px;
    border: 1px solid #dfe5eb;
    border-radius: 11px;
    background: #ffffff;
}

.comprehensive-attempt-card > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.comprehensive-attempt-card > header div {
    display: grid;
    gap: 2px;
}

.comprehensive-attempt-card > header div span {
    color: #85909d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.comprehensive-attempt-card > header div strong {
    color: #25313e;
    font-size: 12px;
}

.smtp-attempt-status {
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef3f7;
    color: #4d667c;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.smtp-attempt-status.status-accepted {
    background: #eaf7ef;
    color: #176a40;
}

.smtp-attempt-status.status-rejected {
    background: #fcecec;
    color: #a12f2f;
}

.smtp-attempt-status.status-temporary,
.smtp-attempt-status.status-policy_blocked {
    background: #fff4df;
    color: #9c5d0d;
}

.comprehensive-attempt-card dl {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 0.7fr;
    gap: 8px;
    margin: 11px 0 0;
}

.comprehensive-attempt-card dl div {
    min-width: 0;
}

.comprehensive-attempt-card dt {
    color: #88939f;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.comprehensive-attempt-card dd {
    overflow-wrap: anywhere;
    margin: 3px 0 0;
    color: #354250;
    font-size: 10px;
    font-weight: 700;
}

.comprehensive-attempt-card > p {
    overflow-wrap: anywhere;
    margin: 10px 0 0;
    padding-top: 9px;
    border-top: 1px solid #edf0f3;
    color: #697687;
    font-size: 10px;
    line-height: 1.55;
}

.comprehensive-no-attempts {
    padding: 18px;
    border: 1px dashed #cfd7df;
    border-radius: 10px;
    background: #ffffff;
    color: #758190;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 900px) {
    .comprehensive-verification-panel {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .comprehensive-verification-policy {
        grid-column: 1 / -1;
        justify-items: start;
        padding-left: 66px;
    }

    .comprehensive-verification-policy small {
        text-align: left;
    }

    .comprehensive-target-summary,
    .comprehensive-result-grid {
        grid-template-columns: 1fr 1fr;
    }

    .comprehensive-attempt-card dl {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .comprehensive-verification-panel {
        grid-template-columns: 1fr;
    }

    .comprehensive-verification-icon {
        width: 42px;
        height: 42px;
    }

    .comprehensive-verification-policy {
        grid-column: auto;
        justify-items: start;
        padding-left: 0;
    }

    .comprehensive-target-summary,
    .comprehensive-result-grid,
    .comprehensive-attempt-card dl {
        grid-template-columns: 1fr;
    }

    .comprehensive-result-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .comprehensive-attempts-panel > header {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* Comprehensive Verification Modal Layout Fix v0.2.9 */

.comprehensive-verification-dialog {
    width: min(100%, 920px);
    max-width: 920px;
    overflow-x: hidden;
}

#comprehensiveVerificationConfirmView,
#comprehensiveVerificationResultView {
    min-width: 0;
    padding: 24px 31px 31px;
}

#comprehensiveVerificationConfirmView[hidden],
#comprehensiveVerificationResultView[hidden] {
    display: none !important;
}

#comprehensiveVerificationConfirmView > .modal-actions,
#comprehensiveVerificationResultView > .modal-actions {
    width: auto;
}

.comprehensive-verification-dialog,
.comprehensive-verification-dialog * {
    box-sizing: border-box;
}

.comprehensive-attempt-card,
.comprehensive-target-summary,
.comprehensive-result-grid,
.comprehensive-safety-notice,
.comprehensive-confirm-checkbox,
.comprehensive-result-hero,
.comprehensive-attempts-panel {
    max-width: 100%;
}

.comprehensive-attempt-card > p,
.comprehensive-result-reason,
#comprehensiveResultReason {
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 760px) {
    #comprehensiveVerificationConfirmView,
    #comprehensiveVerificationResultView {
        padding: 20px 20px 31px;
    }
}


/* Automatic Retry Visibility UI v0.2.9 */

.verification-policy-badge-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.verification-table {
    min-width: 1480px;
}

.verification-retry-state {
    display: grid;
    gap: 5px;
    min-width: 142px;
}

.verification-retry-state small {
    max-width: 180px;
    color: #697687;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
}

.retry-state-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 25px;
    padding: 4px 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.retry-state-badge.is-none {
    border-color: #d6dde5;
    background: #f4f6f8;
    color: #687483;
}

.retry-state-badge.is-loading {
    border-color: #cad6e0;
    background: #eef3f7;
    color: #4d667c;
}

.retry-state-badge.is-queued {
    border-color: #c4d5e7;
    background: #edf5fd;
    color: #315f8b;
}

.retry-state-badge.is-running {
    border-color: #b8d8d6;
    background: #eaf7f6;
    color: #1d6965;
}

.retry-state-badge.is-completed {
    border-color: #b9dfc8;
    background: #eaf7ef;
    color: #176a40;
}

.retry-state-badge.is-exhausted {
    border-color: #ead0a6;
    background: #fff4df;
    color: #9c5d0d;
}

.retry-state-badge.is-cancelled,
.retry-state-badge.is-unavailable {
    border-color: #edc1c1;
    background: #fcecec;
    color: #a12f2f;
}

.comprehensive-retry-panel {
    margin: 0 0 18px;
    padding: 16px;
    border: 1px solid #dce2e9;
    border-radius: 13px;
    background: #ffffff;
}

.comprehensive-retry-panel > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.comprehensive-retry-panel h3 {
    margin: 3px 0 0;
    color: #17212c;
    font-size: 15px;
}

.comprehensive-retry-summary {
    margin: 0 0 13px;
    color: #647080;
    font-size: 11px;
    line-height: 1.55;
}

.comprehensive-retry-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    margin: 0 0 14px;
}

.comprehensive-retry-grid > div {
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid #e1e6ec;
    border-radius: 10px;
    background: #f8fafb;
}

.comprehensive-retry-grid dt {
    color: #88939f;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.comprehensive-retry-grid dd {
    overflow-wrap: anywhere;
    margin: 4px 0 0;
    color: #2b3744;
    font-size: 10px;
    font-weight: 800;
}

.comprehensive-retry-timeline {
    display: grid;
    gap: 9px;
}

.retry-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid #e1e6ec;
    border-radius: 10px;
    background: #fbfcfd;
}

.retry-timeline-marker {
    width: 10px;
    height: 10px;
    margin-top: 4px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: #60798e;
    box-shadow: 0 0 0 1px #b9c7d2;
}

.retry-timeline-item.is-queued .retry-timeline-marker {
    background: #477da8;
}

.retry-timeline-item.is-running .retry-timeline-marker {
    background: #247a74;
}

.retry-timeline-item.is-exhausted .retry-timeline-marker {
    background: #b36c17;
}

.retry-timeline-item > div {
    min-width: 0;
}

.retry-timeline-item header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.retry-timeline-item header strong {
    color: #273441;
    font-size: 11px;
}

.retry-timeline-item p {
    margin: 5px 0 0;
    color: #647080;
    font-size: 10px;
    line-height: 1.5;
}

.retry-timeline-item small {
    display: block;
    margin-top: 5px;
    color: #88939f;
    font-size: 9px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .verification-policy-badge-row {
        justify-content: flex-start;
    }

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

@media (max-width: 640px) {
    .comprehensive-retry-panel > header,
    .retry-timeline-item header {
        align-items: flex-start;
        flex-direction: column;
    }

    .comprehensive-retry-grid {
        grid-template-columns: 1fr;
    }
}

/* Export Workspace UI v1.0.0 */

.export-workspace-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    padding: 28px;
    border: 1px solid #dce3ea;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(24, 38, 52, 0.05);
}

.export-workspace-hero h2 {
    margin: 7px 0 10px;
    color: #11283d;
    font-size: 28px;
}

.export-workspace-hero p:last-child {
    max-width: 850px;
    margin: 0;
    color: #687789;
    font-size: 13px;
    line-height: 1.75;
}

.export-capability-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
    padding: 18px 20px;
    border: 1px solid #d9e0e8;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 7px 22px rgba(25, 35, 48, 0.04);
}

.export-capability-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid #cfd7e1;
    border-radius: 13px;
    background: #f5f7fa;
    color: #293747;
}

.export-capability-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.export-capability-panel h3 {
    margin: 4px 0 5px;
    color: #17212c;
    font-size: 16px;
}

.export-capability-panel > div:nth-child(2) > p:last-child {
    max-width: 780px;
    margin: 0;
    color: #687585;
    font-size: 12px;
    line-height: 1.6;
}

.export-capability-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
    min-width: 250px;
}

.export-stage-badge {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 5px 10px;
    border: 1px solid #d8dfe7;
    border-radius: 999px;
    background: #f5f7f9;
    color: #788493;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.export-filter-panel {
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid #dce3ea;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(25, 35, 48, 0.04);
}

.export-filter-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 17px;
}

.export-filter-heading h3 {
    margin: 5px 0 0;
    color: #152536;
    font-size: 18px;
}

.export-record-type-field {
    width: min(260px, 100%);
}

.export-filter-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 13px;
}

.export-filter-grid label,
.export-record-type-field {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.export-filter-grid label > span,
.export-record-type-field > span {
    color: #536171;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.export-filter-grid input[type="search"],
.export-filter-grid select,
.export-record-type-field select {
    width: 100%;
    min-height: 43px;
    padding: 10px 12px;
    border: 1px solid #d7dfe7;
    border-radius: 10px;
    background: #ffffff;
    color: #253444;
    font: inherit;
    font-size: 12px;
    outline: none;
}

.export-filter-grid input[type="search"]:focus,
.export-filter-grid select:focus,
.export-record-type-field select:focus {
    border-color: #8197a9;
    box-shadow: 0 0 0 3px rgba(73, 105, 130, 0.09);
}

.export-saved-only-field {
    display: flex !important;
    align-items: center;
    align-self: end;
    gap: 10px !important;
    min-height: 43px;
    padding: 10px 12px;
    border: 1px solid #d7dfe7;
    border-radius: 10px;
    background: #f8fafb;
    cursor: pointer;
}

.export-saved-only-field input {
    width: 17px;
    height: 17px;
    accent-color: #1d5d65;
}

.export-saved-only-field span {
    color: #435365 !important;
    font-size: 11px !important;
    text-transform: none !important;
}

.export-filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #edf0f3;
}

.export-summary-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.export-summary-grid article {
    position: relative;
    overflow: hidden;
    min-width: 0;
    padding: 16px 17px;
    border: 1px solid #dde4eb;
    border-radius: 13px;
    background: #ffffff;
}

.export-summary-grid article::before {
    position: absolute;
    top: 0;
    left: 16px;
    width: 30px;
    height: 3px;
    border-radius: 99px;
    background: #9aa8b5;
    content: '';
}

.export-summary-grid article.is-eligible::before {
    background: #21915b;
}

.export-summary-grid article.is-email::before {
    background: #2f6f9e;
}

.export-summary-grid article.is-phone::before {
    background: #187c86;
}

.export-summary-grid article.is-excluded::before {
    background: #bc313c;
}

.export-summary-grid article.is-duplicate::before {
    background: #7954a1;
}

.export-summary-grid span {
    display: block;
    color: #748190;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.export-summary-grid strong {
    display: block;
    margin-top: 10px;
    color: #14283b;
    font-size: 24px;
}

.export-summary-grid small {
    display: block;
    overflow-wrap: anywhere;
    margin-top: 5px;
    color: #8a95a1;
    font-size: 9px;
    line-height: 1.4;
}

.export-selection-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 15px 18px;
    border: 1px solid #dce3ea;
    border-radius: 13px;
    background: #ffffff;
}

.export-selection-bar > div:first-child {
    display: grid;
    grid-template-columns: auto auto;
    align-items: baseline;
    gap: 4px 10px;
}

.export-selection-bar > div:first-child span {
    color: #596879;
    font-size: 11px;
    font-weight: 800;
}

.export-selection-bar > div:first-child strong {
    color: #15283a;
    font-size: 20px;
}

.export-selection-bar > div:first-child small {
    grid-column: 1 / -1;
    color: #8a95a2;
    font-size: 9px;
}

.export-selection-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.export-next-stage-button {
    min-height: 41px;
    padding: 9px 14px;
    border: 1px solid #d5dde5;
    border-radius: 10px;
    background: #eef2f5;
    color: #8995a2;
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: not-allowed;
}

.export-next-stage-button.is-mailer {
    border-color: #dfd5e8;
    background: #f4eff8;
    color: #8b769c;
}

.export-results-panel {
    margin-bottom: 18px;
}

.export-preview-table {
    min-width: 1380px;
}

.export-preview-table th,
.export-preview-table td {
    vertical-align: middle;
}

.export-email-cell {
    display: grid;
    gap: 7px;
    min-width: 190px;
}

.export-email-cell > a {
    overflow-wrap: anywhere;
    color: #164b72;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.export-email-cell > div {
    display: flex;
    align-items: center;
    gap: 6px;
}

.export-email-cell small {
    color: #718090;
    font-size: 9px;
    font-weight: 800;
}

.export-secondary-line,
.export-channel-note {
    display: block;
    margin-top: 4px;
    color: #7a8795;
    font-size: 9px;
    line-height: 1.4;
}

.export-confidence-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 31px;
    padding: 5px 8px;
    border-radius: 8px;
    background: #eef3f7;
    color: #405d74;
    font-size: 11px;
}

.export-source-link {
    display: grid;
    gap: 4px;
    max-width: 150px;
    color: #516a7f;
    font-size: 9px;
    font-weight: 800;
    text-decoration: none;
}

.export-source-link span {
    width: fit-content;
    padding: 3px 6px;
    border: 1px solid #c8ddd2;
    border-radius: 999px;
    background: #eef8f2;
    color: #337052;
    font-size: 8px;
    text-transform: uppercase;
}

.export-source-link:hover {
    color: #162d40;
}

@media (max-width: 1380px) {
    .export-filter-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .export-summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1050px) {
    .export-workspace-hero,
    .export-selection-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .export-capability-panel {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .export-capability-badges {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

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

    .export-selection-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .export-filter-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .export-record-type-field {
        width: 100%;
    }

    .export-filter-grid,
    .export-summary-grid {
        grid-template-columns: 1fr;
    }

    .export-filter-actions {
        flex-direction: column-reverse;
    }

    .export-filter-actions button,
    .export-selection-actions button {
        width: 100%;
    }
}


/* Professional Excel Export UI v1.0.0 */

.export-selection-bar {
    flex-wrap: wrap;
}

.export-next-stage-button.is-excel {
    border-color: #b8d8d6;
    background: #eaf7f6;
    color: #1d6965;
}

.export-next-stage-button.is-excel:not(:disabled) {
    border-color: #1d6965;
    background: #1d6965;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(29, 105, 101, 0.14);
}

.export-next-stage-button.is-excel:not(:disabled):hover {
    border-color: #164f4c;
    background: #164f4c;
}

.export-next-stage-button.is-excel:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.export-excel-selection-note {
    flex: 1 0 100%;
    margin: 0;
    padding-top: 11px;
    border-top: 1px solid #edf0f3;
    color: #6f7c8b;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
}

.export-capability-badges .export-stage-badge:first-of-type {
    border-color: #b8d8d6;
    background: #eaf7f6;
    color: #1d6965;
}

@media (max-width: 760px) {
    .export-selection-actions {
        width: 100%;
        justify-content: stretch;
    }

    .export-selection-actions > button {
        flex: 1 1 180px;
    }
}


/* Duplicate Prevention & Mapping UI v1.0.0 */

.export-stage-badge.is-mapping {
    border-color: rgba(47, 114, 196, 0.24);
    color: #245f9f;
    background: rgba(47, 114, 196, 0.08);
}

.export-mapping-panel {
    display: grid;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.export-mapping-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.export-mapping-header h3 {
    margin: 4px 0 7px;
    color: var(--navy-950);
    font-size: 18px;
}

.export-mapping-header p:last-child {
    max-width: 820px;
    margin: 0;
    color: var(--text-soft);
    font-size: 10px;
    line-height: 1.65;
}

.export-mapping-metrics {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.export-mapping-metrics article {
    position: relative;
    min-width: 0;
    padding: 17px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface-soft);
}

.export-mapping-metrics article::before {
    position: absolute;
    top: 0;
    right: 16px;
    left: 16px;
    height: 3px;
    border-radius: 0 0 999px 999px;
    content: "";
    background: #8fa2b5;
}

.export-mapping-metrics article.is-ready::before {
    background: var(--success);
}

.export-mapping-metrics article.is-excel-only::before {
    background: #2f72c4;
}

.export-mapping-metrics article.is-conflict::before {
    background: var(--warning);
}

.export-mapping-metrics article.is-merged::before {
    background: #7656a8;
}

.export-mapping-metrics article.is-sources::before {
    background: #1b858e;
}

.export-mapping-metrics span,
.export-mapping-contract span {
    display: block;
    color: var(--text-muted);
    font-size: 7px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.export-mapping-metrics strong {
    display: block;
    margin: 10px 0 5px;
    color: var(--navy-950);
    font-size: 25px;
}

.export-mapping-metrics small {
    display: block;
    color: var(--text-soft);
    font-size: 8px;
    line-height: 1.45;
}

.export-mapping-contract {
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) minmax(360px, 2fr) minmax(240px, 1.2fr);
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.export-mapping-contract > div {
    min-width: 0;
    padding: 14px 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #f8fafc;
}

.export-mapping-contract strong,
.export-mapping-contract code {
    display: block;
    margin-top: 8px;
    color: var(--navy-900);
    font-family: inherit;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.export-mapping-status {
    display: inline-grid;
    min-width: 96px;
    gap: 3px;
    padding: 7px 9px;
    border: 1px solid transparent;
    border-radius: 10px;
}

.export-mapping-status strong {
    font-size: 8px;
    font-weight: 900;
}

.export-mapping-status span {
    font-size: 7px;
    line-height: 1.35;
}

.export-mapping-status.is-ready {
    color: #126943;
    border-color: rgba(17, 137, 91, 0.20);
    background: rgba(17, 137, 91, 0.08);
}

.export-mapping-status.is-excel-only {
    color: #245f9f;
    border-color: rgba(47, 114, 196, 0.20);
    background: rgba(47, 114, 196, 0.07);
}

.export-mapping-status.is-conflict {
    color: #8a5b0d;
    border-color: rgba(176, 106, 10, 0.22);
    background: rgba(176, 106, 10, 0.08);
}

.export-preview-table {
    min-width: 1260px;
}

@media (max-width: 1180px) {
    .export-mapping-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .export-mapping-contract {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .export-mapping-header {
        flex-direction: column;
    }

    .export-mapping-metrics {
        grid-template-columns: 1fr 1fr;
    }
}


/* Conex Lead Finder Production Release v1.0.0 */

.production-release-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 22px;
    border: 1px solid rgba(17, 137, 91, 0.20);
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            rgba(17, 137, 91, 0.08),
            rgba(47, 114, 196, 0.05)
        ),
        #ffffff;
    box-shadow: var(--shadow-sm);
}

.production-release-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 16px;
    color: #13724b;
    background: rgba(17, 137, 91, 0.10);
}

.production-release-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.production-release-copy {
    min-width: 0;
}

.production-release-copy h3 {
    margin: 5px 0 7px;
    color: var(--navy-950);
    font-size: 18px;
}

.production-release-copy p:last-child {
    max-width: 820px;
    margin: 0;
    color: var(--text-soft);
    font-size: 10px;
    line-height: 1.65;
}

.production-release-badges {
    display: flex;
    max-width: 310px;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.production-release-badges span {
    padding: 7px 10px;
    border: 1px solid rgba(17, 137, 91, 0.18);
    border-radius: 999px;
    color: #126943;
    background: rgba(255, 255, 255, 0.86);
    font-size: 7px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

#sendToConexMailerButton {
    border-color: rgba(47, 114, 196, 0.18);
    color: #42698f;
    background: rgba(47, 114, 196, 0.06);
    opacity: 1;
}

@media (max-width: 960px) {
    .production-release-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .production-release-badges {
        grid-column: 1 / -1;
        max-width: none;
        justify-content: flex-start;
    }
}

@media (max-width: 620px) {
    .production-release-card {
        grid-template-columns: 1fr;
    }

    .production-release-icon {
        width: 46px;
        height: 46px;
    }
}

/* ================================================================
   Conex Lead Finder v1.0.4 — LinkedIn-first company and people search
   ================================================================ */

.company-country-multi-field,
.company-industry-multi-field {
    min-width: 220px;
}

.multi-value-picker {
    display: flex;
    min-height: 64px;
    padding: 8px 10px;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    background: #fff;
    cursor: text;
}

.multi-value-picker:focus-within {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(47, 114, 196, .09);
}

.company-keyword-field input,
.unified-filter-field.company-keyword-field input {
    min-height: 64px;
}

.company-search-submit {
    min-height: 64px;
    padding-right: 24px;
    padding-left: 24px;
}

.multi-value-tokens {
    display: contents;
}

.multi-value-token {
    display: inline-flex;
    min-height: 30px;
    padding: 0 6px 0 10px;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(47, 114, 196, .16);
    border-radius: 7px;
    color: var(--navy-800);
    background: rgba(47, 114, 196, .075);
    font-size: 12px;
    font-weight: 750;
}

.multi-value-token button {
    display: grid;
    width: 20px;
    height: 20px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 6px;
    color: var(--text-muted);
    background: transparent;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

.multi-value-token button:hover,
.multi-value-token button:focus-visible {
    color: #fff;
    background: var(--accent);
    outline: 0;
}

.multi-value-picker input,
.unified-filter-field .multi-value-picker input {
    flex: 1 1 130px;
    min-width: 120px;
    min-height: 32px;
    padding: 0 4px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 13px;
}

.multi-value-picker input:focus,
.unified-filter-field .multi-value-picker input:focus {
    border: 0;
    box-shadow: none;
    outline: 0;
}

.company-find-table {
    min-width: 820px;
    table-layout: fixed;
}

.company-find-table th:nth-child(1),
.company-find-table td:nth-child(1) {
    width: 34%;
}

.company-find-table th:nth-child(2),
.company-find-table td:nth-child(2) {
    width: 18%;
}

.company-find-table th:nth-child(3),
.company-find-table td:nth-child(3) {
    width: 22%;
}

.company-find-table th:nth-child(4),
.company-find-table td:nth-child(4) {
    width: 26%;
}

.company-find-table .result-actions {
    min-width: 250px;
    justify-content: flex-start;
}

.company-people-live-form {
    grid-template-columns:
        minmax(260px, 1.2fr)
        minmax(230px, 1fr)
        auto;
}

@media (max-width: 1180px) {
    .company-find-table {
        min-width: 780px;
    }

    .company-find-table .result-actions {
        min-width: 220px;
        flex-wrap: wrap;
    }
}

/* v1.0.9 Google-assisted hybrid people and email discovery */
.people-country-multi-field,
.people-title-multi-field {
    min-width: 230px;
}

.people-live-filter-panel {
    grid-template-columns:
        minmax(230px, .9fr)
        minmax(260px, 1.05fr)
        minmax(300px, 1.25fr)
        minmax(190px, auto);
    align-items: end;
}

.people-live-filter-panel .unified-filter-search input,
.people-live-filter-panel .unified-search-button {
    min-height: 64px;
}

.people-find-table {
    min-width: 1040px;
    table-layout: fixed;
}

.people-find-table th:nth-child(1),
.people-find-table td:nth-child(1) { width: 27%; }
.people-find-table th:nth-child(2),
.people-find-table td:nth-child(2) { width: 17%; }
.people-find-table th:nth-child(3),
.people-find-table td:nth-child(3) { width: 22%; }
.people-find-table th:nth-child(4),
.people-find-table td:nth-child(4) { width: 15%; }
.people-find-table th:nth-child(5),
.people-find-table td:nth-child(5) { width: 19%; }

@media (max-width: 1180px) {
    .people-live-filter-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .people-live-filter-panel {
        grid-template-columns: 1fr;
    }
}

/* Conex Lead Finder v1.0.9 — internal email discovery engine */
.email-origin-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 3px 8px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
    color: #475569;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
    white-space: normal;
}

.email-origin-badge.is-inferred {
    border-color: rgba(37, 99, 235, 0.22);
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
}

.email-origin-badge.is-provider {
    border-color: rgba(124, 58, 237, 0.22);
    background: rgba(124, 58, 237, 0.08);
    color: #6d28d9;
}

.people-contact-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    min-width: 0;
}

/* Google Auto Bridge people discovery · v1.0.10 */
.google-assisted-panel {
    display: grid;
    gap: 14px;
    margin: 0 0 16px;
    padding: 18px 20px;
    border: 1px solid #cbdceb;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #f2f8fc 100%);
    box-shadow: 0 14px 34px rgba(18, 55, 84, 0.08);
}

.google-assisted-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.google-assisted-header h3 {
    margin: 4px 0 5px;
    color: #082d4b;
    font-size: 20px;
}

.google-assisted-header p {
    max-width: 820px;
    margin: 0;
    color: #62778a;
    font-size: 13px;
    line-height: 1.55;
}

.google-assisted-kicker {
    color: #e51d2a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.google-helper-download {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid #aac4d9;
    border-radius: 11px;
    background: #ffffff;
    color: #0b466f;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.google-helper-download:hover {
    border-color: #0b466f;
    box-shadow: 0 8px 20px rgba(11, 70, 111, 0.12);
}

.google-assisted-actions,
.google-import-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.google-assisted-actions > span {
    color: #708396;
    font-size: 12px;
    font-weight: 700;
}

.google-search-query-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    max-height: 245px;
    overflow: auto;
    padding-right: 4px;
}

.google-search-query-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid #d9e5ee;
    border-radius: 12px;
    background: #ffffff;
}

.google-search-query-item > div {
    min-width: 0;
}

.google-search-query-item span,
.google-search-query-item strong,
.google-search-query-item code {
    display: block;
}

.google-search-query-item span {
    color: #e51d2a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.google-search-query-item strong {
    margin-top: 2px;
    color: #173b58;
    font-size: 12px;
}

.google-search-query-item code {
    margin-top: 4px;
    overflow: hidden;
    color: #738596;
    font-family: inherit;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.google-search-query-item a,
.google-search-query-item button {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 8px 10px;
    border: 0;
    border-radius: 9px;
    background: #0d3f63;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.google-search-query-item button:hover,
.google-search-query-item a:hover {
    background: #082f4d;
}


.google-bridge-health {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #d7e5ef;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.86);
}

.google-bridge-health p {
    margin: 0;
    color: #60778b;
    font-size: 12px;
    line-height: 1.45;
}

.google-bridge-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(13, 63, 99, 0.2);
    border-radius: 999px;
    background: rgba(13, 63, 99, 0.08);
    color: #0d3f63;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.google-bridge-badge.is-ready {
    border-color: rgba(20, 122, 82, 0.24);
    background: rgba(20, 122, 82, 0.09);
    color: #147a52;
}

.google-bridge-badge.is-error {
    border-color: rgba(155, 23, 48, 0.24);
    background: rgba(155, 23, 48, 0.08);
    color: #9b1730;
}

.google-auto-search-button {
    min-width: 220px;
}

.google-auto-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.google-auto-flow article {
    display: grid;
    grid-template-columns: 30px 1fr;
    column-gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid #d9e5ee;
    border-radius: 12px;
    background: #ffffff;
}

.google-auto-flow article > span {
    grid-row: 1 / span 2;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: #e51d2a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.google-auto-flow strong {
    color: #173b58;
    font-size: 12px;
}

.google-auto-flow p {
    margin: 3px 0 0;
    color: #708396;
    font-size: 10px;
    line-height: 1.45;
}

.google-manual-fallback {
    border: 1px dashed #cadbe7;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.66);
}

.google-manual-fallback summary {
    padding: 11px 13px;
    color: #60778b;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
}

.google-manual-fallback[open] summary {
    border-bottom: 1px solid #dce7ef;
}

.google-manual-fallback .google-import-area {
    padding: 13px;
}

.google-import-area {
    display: grid;
    gap: 9px;
    padding-top: 12px;
    border-top: 1px solid #dce7ef;
}

.google-import-area label {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.google-import-area label strong {
    color: #173b58;
    font-size: 13px;
}

.google-import-area label span,
.google-import-summary {
    color: #718496;
    font-size: 11px;
}

#googleImportPayload {
    width: 100%;
    min-height: 82px;
    resize: vertical;
    padding: 11px 13px;
    border: 1px solid #c8d8e4;
    border-radius: 11px;
    outline: none;
    background: #ffffff;
    color: #173b58;
    font: 12px/1.45 ui-monospace, SFMono-Regular, Consolas, monospace;
}

#googleImportPayload:focus {
    border-color: #0d5d8f;
    box-shadow: 0 0 0 3px rgba(13, 93, 143, 0.1);
}

.google-import-button {
    min-width: 210px;
    min-height: 40px;
}

.google-import-summary {
    margin: 0;
}

@media (max-width: 980px) {
    .google-assisted-header {
        flex-direction: column;
    }

    .google-search-query-list {
        grid-template-columns: 1fr;
    }

    .google-helper-download {
        align-self: stretch;
    }

    .google-bridge-health {
        align-items: flex-start;
        flex-direction: column;
    }

    .google-auto-flow {
        grid-template-columns: 1fr;
    }
}

.email-candidate-summary {
    display: block;
    margin-top: 4px;
    max-width: 320px;
    color: #627b8f;
    font-size: 11px;
    line-height: 1.35;
    white-space: normal;
}

.email-candidate-summary strong {
    color: #173b58;
    font-weight: 700;
}
