:root {
    --bg: #080A0F;
    --surface: #10141D;
    --surface-2: #171B26;
    --surface-3: #1E2432;
    --border: #252B3A;

    --text: #F3F4F6;
    --muted: #9CA3AF;

    --purple: #5B3FD6;
    --green: #1F7A55;
    --orange: #A85624;
    --danger: #A33A3A;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(91, 63, 214, 0.18), transparent 35%),
        radial-gradient(circle at bottom right, rgba(31, 122, 85, 0.12), transparent 40%),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
.button-link {
    border: 0;
    border-radius: 14px;
    padding: 12px 16px;
    background: var(--purple);
    color: white;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.auth-page {
    display: grid;
    place-items: center;
    padding: 24px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(16, 20, 29, 0.92);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--purple);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    font-weight: 800;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 0;
    letter-spacing: -0.04em;
}

h2 {
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.muted {
    color: var(--muted);
}

form {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
}

input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface-2);
    color: var(--text);
    padding: 12px 14px;
    outline: none;
}

input:focus {
    border-color: var(--purple);
}

.alert {
    margin-top: 20px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(163, 58, 58, 0.16);
    color: #ffb4b4;
    border: 1px solid rgba(163, 58, 58, 0.35);
}

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

.sidebar {
    border-right: 1px solid var(--border);
    background: rgba(16, 20, 29, 0.72);
    padding: 24px;
}

.brand {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--purple), var(--green));
    font-weight: 900;
    margin-bottom: 32px;
}

nav {
    display: grid;
    gap: 8px;
}

nav a {
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--muted);
    transition: background 160ms ease, color 160ms ease;
}

nav a.active,
nav a:hover {
    background: var(--surface-2);
    color: var(--text);
}

.main {
    padding: 32px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    margin-bottom: 32px;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--muted);
}

.logout {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 10px 14px;
    color: var(--muted);
}

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

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

.card {
    min-height: 170px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(16, 20, 29, 0.82);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

a.card:hover {
    transform: translateY(-2px);
    background: rgba(23, 27, 38, 0.92);
}

.card p {
    color: var(--muted);
    font-size: 14px;
}

.card span {
    color: var(--muted);
}

.card.purple {
    border-color: rgba(91, 63, 214, 0.45);
}

.card.green {
    border-color: rgba(31, 122, 85, 0.45);
}

.card.orange {
    border-color: rgba(168, 86, 36, 0.45);
}

.panel {
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
    background: rgba(16, 20, 29, 0.76);
}

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

.empty-state {
    border: 1px dashed var(--border);
    border-radius: 20px;
    padding: 32px;
    color: var(--muted);
    background: rgba(23, 27, 38, 0.42);
}

.empty-state h3,
.empty-state h2 {
    color: var(--text);
}

.table {
    display: grid;
    gap: 10px;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--surface-2);
    border: 1px solid var(--border);
}

.table-row span,
.table-row small {
    color: var(--muted);
}

@media (max-width: 980px) {
    .grid.compact {
        grid-template-columns: 1fr;
    }
}

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

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

    .main {
        padding: 24px;
    }

    .topbar,
    .panel-header {
        align-items: flex-start;
        flex-direction: column;
    }

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

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


/* Job Tracker */
select,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface-2);
    color: var(--text);
    padding: 12px 14px;
    outline: none;
    font: inherit;
}

textarea {
    resize: vertical;
    min-height: 140px;
}

select:focus,
textarea:focus {
    border-color: var(--purple);
}

small {
    color: var(--muted);
    line-height: 1.5;
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 18px;
}

.job-card {
    position: relative;
    overflow: hidden;
    min-height: 250px;
    border-radius: 26px;
    border: 1px solid var(--border);
    background-size: cover !important;
    background-position: center !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18);
    transition: transform 160ms ease, border-color 160ms ease;
}

.job-card:hover {
    transform: translateY(-3px);
    border-color: rgba(91, 63, 214, 0.55);
}

.job-card-top {
    display: flex;
    justify-content: flex-end;
}

.status-pill {
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 7px 10px;
    background: rgba(8, 10, 15, 0.62);
    backdrop-filter: blur(12px);
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
}

.status-aplicado {
    color: #c7d2fe;
}

.status-entrevista {
    color: #fed7aa;
}

.status-rechazado {
    color: #fecaca;
}

.status-aceptado {
    color: #bbf7d0;
}

.job-card-body p,
.job-card-meta {
    color: rgba(243, 244, 246, 0.76);
}

.job-card-body h3 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.04em;
}

.job-card-meta {
    display: grid;
    gap: 4px;
    font-size: 12px;
}

.job-form {
    display: grid;
    gap: 22px;
}

.form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
}

.form-section {
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(23, 27, 38, 0.54);
}

.form-section h3 {
    margin-bottom: 0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.image-dropzone {
    display: grid;
    place-items: center;
    gap: 10px;
    min-height: 170px;
    padding: 18px;
    border: 1px dashed rgba(156, 163, 175, 0.5);
    border-radius: 20px;
    background: rgba(8, 10, 15, 0.28);
    text-align: center;
    color: var(--muted);
    cursor: pointer;
}

.image-dropzone strong {
    display: block;
    color: var(--text);
    margin-bottom: 6px;
}

.image-dropzone input {
    max-width: 290px;
    cursor: pointer;
}

.image-dropzone.has-pasted {
    border-color: rgba(31, 122, 85, 0.85);
    background: rgba(31, 122, 85, 0.12);
}

.current-image {
    display: grid;
    gap: 12px;
}

.current-image img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid var(--border);
}

.danger-button {
    background: var(--danger);
}

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

@media (max-width: 900px) {
    .form-grid,
    .form-row {
        grid-template-columns: 1fr;
    }
}



/* Job Tracker side resources */
.jobs-dashboard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    align-items: start;
}

.jobs-main-column {
    min-width: 0;
}

.resource-rail {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(37, 43, 58, 0.86);
    border-radius: 22px;
    background: rgba(16, 20, 29, 0.62);
}

.resource-rail-title {
    padding: 0 4px 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.resource-list {
    display: grid;
    gap: 8px;
}

.resource-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 56px;
    padding: 10px 10px 10px 12px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: rgba(23, 27, 38, 0.48);
}

.resource-item:hover {
    border-color: rgba(91, 63, 214, 0.24);
    background: rgba(23, 27, 38, 0.72);
}

.resource-item.is-missing {
    border-color: rgba(168, 86, 36, 0.26);
}

.resource-text {
    min-width: 0;
}

.resource-text strong,
.resource-text span {
    display: block;
}

.resource-text strong {
    margin-bottom: 3px;
    font-size: 14px;
    line-height: 1.2;
}

.resource-text span {
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.resource-actions {
    display: flex;
    gap: 6px;
}

.icon-button {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    min-height: 0;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: rgba(8, 10, 15, 0.28);
    color: var(--muted);
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.icon-button:hover {
    transform: translateY(-1px);
    border-color: rgba(91, 63, 214, 0.52);
    background: rgba(91, 63, 214, 0.12);
    color: var(--text);
}

.icon-button svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-button.copied {
    border-color: rgba(31, 122, 85, 0.55);
    background: rgba(31, 122, 85, 0.14);
    color: #9ee8c1;
}

.icon-button.is-disabled {
    cursor: not-allowed;
    opacity: 0.48;
}

.icon-button.is-disabled:hover {
    transform: none;
    border-color: var(--border);
    background: rgba(8, 10, 15, 0.28);
    color: var(--muted);
}

@media (max-width: 1120px) {
    .jobs-dashboard-layout {
        grid-template-columns: 1fr;
    }

    .resource-rail {
        position: static;
        order: -1;
    }
}

/* Job Tracker follow-up features */
.jobs-toolbar {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}

.jobs-search {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 150px 160px auto auto;
    gap: 10px;
    margin: 0;
    align-items: center;
}

.jobs-search input,
.jobs-search select {
    min-height: 42px;
}

.jobs-search .icon-button {
    width: 42px;
    height: 42px;
}

.status-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.status-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(8, 10, 15, 0.22);
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.status-tab span {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 12px;
}

.status-tab.active,
.status-tab:hover {
    border-color: rgba(91, 63, 214, 0.42);
    background: rgba(91, 63, 214, 0.12);
    color: var(--text);
}

.job-card-top {
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.status-pill.status-aplicado,
.status-tab.status-aplicado.active {
    border-color: rgba(91, 63, 214, 0.38);
    background: rgba(91, 63, 214, 0.16);
    color: #c7d2fe;
}

.status-pill.status-entrevista,
.status-tab.status-entrevista.active {
    border-color: rgba(168, 86, 36, 0.48);
    background: rgba(168, 86, 36, 0.18);
    color: #fed7aa;
}

.status-pill.status-rechazado,
.status-tab.status-rechazado.active {
    border-color: rgba(163, 58, 58, 0.45);
    background: rgba(163, 58, 58, 0.18);
    color: #fecaca;
}

.status-pill.status-aceptado,
.status-tab.status-aceptado.active {
    border-color: rgba(31, 122, 85, 0.48);
    background: rgba(31, 122, 85, 0.18);
    color: #bbf7d0;
}

.interest-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 30px;
    padding: 0 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(8, 10, 15, 0.52);
    color: rgba(243, 244, 246, 0.82);
    font-size: 12px;
    letter-spacing: 0.08em;
    backdrop-filter: blur(12px);
}

.interest-alto {
    color: #fed7aa;
}

.source-line {
    display: inline-flex;
    width: fit-content;
    margin-top: 10px;
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(8, 10, 15, 0.34);
    color: rgba(243, 244, 246, 0.72);
    font-size: 12px;
}

.job-next-action {
    display: grid;
    gap: 3px;
    margin: 14px 0;
    padding: 12px;
    border: 1px solid rgba(91, 63, 214, 0.24);
    border-radius: 16px;
    background: rgba(8, 10, 15, 0.42);
    backdrop-filter: blur(12px);
}

.job-next-action span {
    color: var(--purple);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.job-next-action strong {
    font-size: 14px;
}

.job-next-action time {
    color: var(--muted);
    font-size: 12px;
}

.next-action-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.next-action-presets button {
    min-height: 0;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(8, 10, 15, 0.24);
    color: var(--muted);
    font-size: 12px;
}

.next-action-presets button:hover {
    border-color: rgba(91, 63, 214, 0.46);
    color: var(--text);
}

.timeline-section {
    margin-top: 22px;
}

.timeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.timeline-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.timeline-list li {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;
    position: relative;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(8, 10, 15, 0.24);
}

.timeline-list time {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.timeline-list span {
    display: block;
    margin-bottom: 4px;
    color: var(--purple);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.timeline-list strong {
    display: block;
    margin-bottom: 6px;
}

.timeline-list p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.timeline-form {
    display: grid;
    gap: 14px;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.compact-empty {
    padding: 18px;
}

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

    .jobs-search .icon-button {
        width: 100%;
    }

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

/* Visual polish v2 */
:root {
    --bg: #07080d;
    --surface: #0d111a;
    --surface-2: #121724;
    --surface-3: #181e2d;
    --border: rgba(148, 163, 184, 0.15);
    --border-strong: rgba(148, 163, 184, 0.24);
    --text: #f4f7fb;
    --muted: #8993a7;
    --purple: #6b4dff;
    --green: #1d7f5d;
    --orange: #b8642d;
    --danger: #9b333d;
    --shadow-soft: 0 24px 90px rgba(0, 0, 0, 0.28);
}

body {
    background:
        radial-gradient(circle at 12% 0%, rgba(107, 77, 255, 0.18), transparent 34%),
        radial-gradient(circle at 92% 18%, rgba(184, 100, 45, 0.10), transparent 30%),
        radial-gradient(circle at 50% 100%, rgba(29, 127, 93, 0.12), transparent 34%),
        var(--bg);
}

.layout {
    grid-template-columns: 244px 1fr;
}

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    border-right: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(13, 17, 26, 0.92), rgba(8, 10, 15, 0.74));
    backdrop-filter: blur(18px);
}

.brand {
    box-shadow: 0 14px 42px rgba(107, 77, 255, 0.22);
}

nav a {
    border: 1px solid transparent;
    font-weight: 650;
}

nav a.active,
nav a:hover {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.045);
}

.main {
    width: min(1480px, 100%);
    padding: 34px;
}

.topbar {
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.10);
}

.topbar h1 {
    font-size: clamp(30px, 4vw, 48px);
}

button,
.button-link {
    min-height: 42px;
    border: 1px solid rgba(107, 77, 255, 0.30);
    background: linear-gradient(135deg, rgba(107, 77, 255, 0.96), rgba(90, 63, 214, 0.80));
    box-shadow: 0 16px 46px rgba(107, 77, 255, 0.14);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

button:hover,
.button-link:hover {
    transform: translateY(-1px);
    border-color: rgba(178, 164, 255, 0.52);
    box-shadow: 0 18px 54px rgba(107, 77, 255, 0.22);
}

.logout,
.icon-button,
.next-action-presets button {
    box-shadow: none;
}

.panel,
.form-section,
.resource-rail,
.empty-state,
.auth-card {
    border-color: var(--border);
    background: linear-gradient(180deg, rgba(18, 23, 36, 0.76), rgba(12, 15, 24, 0.64));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
}

input,
select,
textarea {
    border-color: rgba(148, 163, 184, 0.14);
    background: rgba(7, 8, 13, 0.42);
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

input:hover,
select:hover,
textarea:hover {
    border-color: rgba(148, 163, 184, 0.24);
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(107, 77, 255, 0.58);
    background: rgba(7, 8, 13, 0.58);
    box-shadow: 0 0 0 4px rgba(107, 77, 255, 0.10);
}

.polished-jobs-page {
    display: grid;
    gap: 18px;
}

.jobs-hero-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    min-height: 136px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background:
        radial-gradient(circle at 12% 12%, rgba(107, 77, 255, 0.18), transparent 32%),
        radial-gradient(circle at 88% 10%, rgba(184, 100, 45, 0.10), transparent 26%),
        linear-gradient(180deg, rgba(18, 23, 36, 0.78), rgba(12, 15, 24, 0.62));
    box-shadow: var(--shadow-soft);
}

.jobs-hero-header h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 0.96;
}

.jobs-hero-header .muted {
    margin: 10px 0 0;
}

.primary-action {
    padding-inline: 18px;
}

.jobs-mini-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.jobs-mini-stats article {
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(18, 23, 36, 0.52);
}

.jobs-mini-stats span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.jobs-mini-stats strong {
    font-size: 28px;
    letter-spacing: -0.05em;
}

.jobs-dashboard-layout {
    grid-template-columns: minmax(0, 1fr) 286px;
}

.jobs-toolbar {
    position: sticky;
    top: 14px;
    z-index: 3;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(8, 10, 15, 0.64);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 60px rgba(0,0,0,.22);
}

.jobs-search input,
.jobs-search select {
    min-height: 40px;
    border-radius: 13px;
}

.status-tabs {
    gap: 7px;
}

.status-tab {
    padding: 7px 10px;
    background: rgba(255,255,255,.025);
}

.status-tab.active {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}

.job-grid {
    grid-template-columns: repeat(auto-fill, minmax(292px, 1fr));
    gap: 16px;
}

.job-card {
    isolation: isolate;
    min-height: 286px;
    padding: 18px;
    border-color: rgba(255, 255, 255, 0.105);
    box-shadow: 0 18px 80px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.045);
}

.job-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 16% 12%, rgba(255,255,255,.10), transparent 22%),
        linear-gradient(180deg, transparent 48%, rgba(0,0,0,.24));
    pointer-events: none;
}

.job-card:hover {
    transform: translateY(-5px) scale(1.008);
    border-color: rgba(255,255,255,.20);
}

.job-card.is-due {
    border-color: rgba(184, 100, 45, 0.55);
}

.job-card-body {
    display: grid;
    gap: 8px;
}

.job-card-body p {
    margin-bottom: 0;
    font-weight: 760;
    letter-spacing: 0.01em;
}

.job-card-body h3 {
    max-width: 92%;
    font-size: 28px;
    line-height: 1.03;
    text-wrap: balance;
}

.status-pill,
.interest-pill,
.source-line,
.soft-pill {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.job-next-action {
    margin: 12px 0;
    border-color: rgba(107, 77, 255, 0.25);
    background: rgba(7, 8, 13, 0.48);
}

.job-card-meta {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.job-card-meta span {
    display: grid;
    gap: 2px;
    padding: 9px 10px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: rgba(7, 8, 13, 0.34);
    color: rgba(244,247,251,.88);
}

.job-card-meta em {
    color: var(--muted);
    font-size: 10px;
    font-style: normal;
    font-weight: 850;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.resource-rail {
    top: 14px;
    padding: 12px;
    border-radius: 24px;
    background: rgba(8, 10, 15, 0.52);
    backdrop-filter: blur(18px);
}

.resource-rail-title {
    padding: 2px 4px 6px;
    opacity: .62;
}

.resource-item {
    min-height: 52px;
    border-color: rgba(255,255,255,.045);
    background: rgba(255,255,255,.032);
}

.resource-actions .icon-button {
    width: 30px;
    height: 30px;
    border-radius: 10px;
}

.job-detail-hero {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    min-height: 210px;
    margin-bottom: 22px;
    padding: 26px;
    border: 1px solid rgba(255,255,255,.105);
    border-radius: 30px;
    background-size: cover !important;
    background-position: center !important;
    box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,.045);
}

.job-detail-hero h2 {
    margin: 0;
    max-width: 780px;
    font-size: clamp(34px, 4.8vw, 62px);
    line-height: 0.96;
    text-wrap: balance;
}

.job-detail-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.soft-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 999px;
    background: rgba(8,10,15,.48);
    color: rgba(244,247,251,.82);
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.hero-next-action {
    display: grid;
    gap: 5px;
    width: min(320px, 100%);
    padding: 16px;
    border: 1px solid rgba(107, 77, 255, 0.26);
    border-radius: 20px;
    background: rgba(7, 8, 13, 0.56);
    backdrop-filter: blur(14px);
}

.hero-next-action span {
    color: var(--purple);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-next-action time {
    color: var(--muted);
    font-size: 12px;
}

.job-form-page.panel {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.job-form-page > .panel-header {
    padding: 0 0 22px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.10);
}

.job-form {
    gap: 18px;
}

.form-grid {
    gap: 18px;
}

.form-section {
    align-content: start;
    border-radius: 24px;
    background: rgba(18, 23, 36, 0.58);
}

.form-section h3 {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.10);
    font-size: 15px;
    letter-spacing: -0.01em;
}

label {
    font-weight: 680;
}

label small {
    font-weight: 450;
}

.image-dropzone {
    border-color: rgba(148, 163, 184, 0.22);
    background:
        radial-gradient(circle at 50% 0%, rgba(107,77,255,.10), transparent 40%),
        rgba(7,8,13,.32);
}

.timeline-list li {
    border-color: rgba(148, 163, 184, 0.14);
    background: rgba(7,8,13,.34);
}

.timeline-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    position: absolute;
    left: -4px;
    top: 20px;
    border-radius: 50%;
    background: var(--purple);
    box-shadow: 0 0 0 4px rgba(107,77,255,.12);
}

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

    .jobs-toolbar {
        position: static;
    }
}

@media (max-width: 760px) {
    .sidebar {
        position: relative;
        height: auto;
    }

    .main {
        padding: 20px;
    }

    .jobs-hero-header,
    .job-detail-hero {
        align-items: flex-start;
        flex-direction: column;
        border-radius: 24px;
    }

    .jobs-mini-stats {
        grid-template-columns: 1fr 1fr;
    }

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

/* Job Tracker productivity pack */
.jobs-shell {
    display: grid;
    gap: 22px;
}

.jobs-topline,
.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 11px 15px;
    background: var(--purple);
    color: #fff;
    font-weight: 800;
}

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

.metrics-grid article,
.glass-panel,
.mini-panel {
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(16, 20, 29, 0.66);
    border-radius: 20px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.metrics-grid article {
    padding: 16px;
}

.metrics-grid span,
.mini-panel span,
.attention-item small,
.attachment-row span {
    color: var(--muted);
    font-size: 12px;
}

.metrics-grid strong {
    display: block;
    margin-top: 6px;
    font-size: 24px;
    letter-spacing: -0.04em;
}

.attention-strip {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 14px;
    align-items: stretch;
    padding: 12px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(168,86,36,.13), rgba(91,63,214,.08));
    border: 1px solid rgba(168,86,36,.18);
}

.attention-title {
    display: grid;
    place-items: center;
    color: #F6C49A;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.attention-items {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.attention-item {
    min-width: 0;
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(8,10,15,.42);
    border: 1px solid rgba(255,255,255,.06);
}

.attention-item span {
    color: #F6C49A;
    font-size: 11px;
    font-weight: 800;
}

.attention-item strong,
.attention-item small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jobs-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 18px;
    align-items: start;
}

.job-filters {
    display: grid;
    grid-template-columns: minmax(200px, 1.4fr) repeat(5, minmax(110px, .75fr)) auto auto;
    gap: 10px;
    padding: 12px;
    margin-bottom: 14px;
    position: sticky;
    top: 18px;
    z-index: 3;
    backdrop-filter: blur(18px);
}

.job-filters input,
.job-filters select,
.attachment-form input {
    min-height: 42px;
}

.ghost-icon,
.icon-action,
.ghost-button {
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(255,255,255,.04);
    color: var(--muted);
}

.ghost-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 18px;
}

.status-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.status-tabs a {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 11px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(148, 163, 184, .11);
    font-size: 13px;
}

.status-tabs a.active {
    color: var(--text);
    border-color: rgba(107,77,255,.40);
    background: rgba(107,77,255,.10);
}

.status-tabs span {
    color: var(--muted);
}

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

.job-card {
    position: relative;
    min-height: 250px;
    display: grid;
    overflow: hidden;
    border-radius: 26px;
    background-size: cover !important;
    background-position: center !important;
    border: 1px solid rgba(148, 163, 184, .14);
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.job-card.is-archived {
    opacity: .58;
    filter: grayscale(.15);
}

.job-card-main {
    display: grid;
    align-content: space-between;
    gap: 12px;
    min-height: 250px;
    padding: 18px;
}

.job-card-head,
.job-card-meta,
.card-actions,
.detail-chips,
.hero-actions,
.inline-actions,
.quick-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.job-card-head {
    justify-content: space-between;
}

.job-card-body p {
    margin-bottom: 6px;
    color: var(--muted);
    font-weight: 750;
}

.job-card-body h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.02;
    letter-spacing: -.05em;
}

.job-card-meta {
    justify-content: space-between;
    color: var(--muted);
    font-size: 12px;
}

.status-pill,
.fit-pill,
.detail-chips span,
.next-action-chip,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(8,10,15,.44);
    border: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.88);
    font-size: 12px;
    font-weight: 800;
}

.status-aplicado { color: #D6CBFF; border-color: rgba(107,77,255,.34); }
.status-entrevista { color: #FFD1A8; border-color: rgba(168,86,36,.42); }
.status-aceptado { color: #A9F0CB; border-color: rgba(31,122,85,.44); }
.status-rechazado { color: #FFB4B4; border-color: rgba(163,58,58,.40); }

.next-action-chip {
    justify-self: start;
    max-width: 100%;
    color: #F6C49A;
}

.tag-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tag-row span {
    color: var(--muted);
    font-weight: 700;
}

.card-actions {
    position: absolute;
    right: 12px;
    bottom: 12px;
}

.icon-action {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    padding: 0;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.icon-action:hover,
.ghost-button:hover {
    color: var(--text);
    border-color: rgba(148, 163, 184, .32);
}

.muted-icon {
    cursor: default;
    opacity: .7;
}

.jobs-aside {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 14px;
}

.mini-panel {
    padding: 16px;
}

.mini-panel h3 {
    margin-bottom: 12px;
    font-size: 14px;
}

.quick-link-row,
.attachment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid rgba(148, 163, 184, .08);
}

.quick-link-row:first-of-type {
    border-top: 0;
}

.quick-link-row div:first-child,
.attachment-row a {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.quick-link-row strong,
.quick-link-row span,
.attachment-row strong,
.attachment-row span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quick-link-row.is-disabled {
    opacity: .45;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.045);
    color: var(--muted);
    font-size: 12px;
}

.job-detail-shell {
    display: grid;
    gap: 20px;
}

.detail-hero {
    min-height: 245px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    border-radius: 30px;
    background-size: cover !important;
    background-position: center !important;
    border: 1px solid rgba(148, 163, 184, .14);
}

.detail-hero h2 {
    max-width: 820px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: .94;
    letter-spacing: -.07em;
    margin-bottom: 12px;
}

.back-link {
    display: inline-flex;
    margin-bottom: 22px;
    color: var(--muted);
}

.detail-lower-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
}

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

.template-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 74px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, .12);
    background: rgba(8,10,15,.32);
    color: var(--text);
    text-align: left;
}

.template-card small {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.attachment-list {
    display: grid;
}

.attachment-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 16px;
}

.inline-actions {
    margin-top: 16px;
}

.ghost-button {
    min-height: 38px;
    padding: 9px 12px;
    border-radius: 12px;
}

body.has-copy-toast::after {
    content: "Copiado";
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 50;
    padding: 10px 13px;
    border-radius: 999px;
    color: var(--text);
    background: rgba(16,20,29,.92);
    border: 1px solid rgba(148,163,184,.20);
    box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

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

    .jobs-aside,
    .job-filters {
        position: static;
    }

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

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

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

@media (max-width: 760px) {
    .metrics-grid,
    .jobs-grid,
    .detail-lower-grid,
    .template-grid,
    .attention-strip,
    .attention-items,
    .job-filters {
        grid-template-columns: 1fr;
    }

    .detail-hero {
        align-items: flex-start;
        flex-direction: column;
        min-height: 220px;
    }

    .attachment-form {
        grid-template-columns: 1fr;
    }
}


/* Visual refinement v2 — minimal dark dashboard polish */
:root {
    --bg: #06070B;
    --surface: #0E1118;
    --surface-2: #141923;
    --surface-3: #1A202C;
    --border: rgba(148, 163, 184, 0.13);
    --text: #F6F7FB;
    --muted: #8E96A8;
    --purple: #6C4DFF;
    --green: #1F8A5B;
    --orange: #B8642C;
}

body {
    background:
        radial-gradient(circle at 18% 0%, rgba(108, 77, 255, 0.15), transparent 32%),
        radial-gradient(circle at 92% 12%, rgba(31, 138, 91, 0.08), transparent 28%),
        radial-gradient(circle at 70% 90%, rgba(184, 100, 44, 0.07), transparent 34%),
        var(--bg);
}

.main {
    max-width: 1680px;
    width: 100%;
}

.jobs-shell {
    gap: 18px;
}

.jobs-topline {
    min-height: 88px;
    padding: 0 2px 8px;
}

.jobs-topline h2 {
    margin: 0;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 0.92;
    letter-spacing: -0.075em;
}

.primary-link {
    min-width: 78px;
    border-radius: 999px;
    padding: 10px 15px;
    background:
        linear-gradient(135deg, rgba(108, 77, 255, 0.95), rgba(31, 138, 91, 0.78));
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.34);
}

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

.metrics-grid article,
.mini-panel,
.glass-panel,
.form-section {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018)),
        rgba(13, 16, 23, 0.68);
    border-color: rgba(148, 163, 184, 0.115);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.035),
        0 20px 60px rgba(0,0,0,0.16);
}

.metrics-grid article {
    min-height: 92px;
    display: grid;
    align-content: space-between;
    padding: 14px 15px;
}

.metrics-grid span {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: rgba(142, 150, 168, 0.86);
}

.metrics-grid strong {
    font-size: 28px;
    line-height: 1;
}

.attention-strip {
    grid-template-columns: 88px 1fr;
    padding: 10px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(184,100,44,.12), rgba(108,77,255,.08)),
        rgba(13,16,23,.42);
    border-color: rgba(184,100,44,.16);
}

.attention-title {
    border-radius: 16px;
    background: rgba(8,10,15,.36);
    color: #F4B277;
    letter-spacing: .11em;
}

.attention-item {
    padding: 11px 12px;
    border-radius: 17px;
    background: rgba(255,255,255,.035);
    transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.attention-item:hover {
    transform: translateY(-1px);
    border-color: rgba(244,178,119,.22);
    background: rgba(255,255,255,.055);
}

.jobs-layout {
    grid-template-columns: minmax(0, 1fr) 256px;
    gap: 16px;
}

.job-filters {
    grid-template-columns: minmax(220px, 1.35fr) repeat(5, minmax(96px, .68fr)) 78px 42px;
    gap: 8px;
    padding: 10px;
    border-radius: 22px;
    top: 14px;
    background: rgba(10, 12, 18, 0.68);
}

.job-filters input,
.job-filters select,
.job-filters button {
    min-height: 39px;
    border-radius: 13px;
    font-size: 12px;
}

.job-filters button {
    padding: 0 13px;
}

.status-tabs {
    gap: 7px;
    margin-bottom: 14px;
}

.status-tabs a {
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.025);
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.status-tabs a:hover {
    color: var(--text);
    border-color: rgba(148,163,184,.22);
}

.jobs-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

.job-card {
    min-height: 264px;
    isolation: isolate;
    border-radius: 28px;
    border-color: rgba(255,255,255,.095);
    box-shadow:
        0 24px 70px rgba(0,0,0,.22),
        inset 0 1px 0 rgba(255,255,255,.04);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.job-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 14% 10%, rgba(255,255,255,.09), transparent 22%),
        linear-gradient(180deg, rgba(8,10,15,.06) 0%, rgba(8,10,15,.48) 48%, rgba(8,10,15,.90) 100%);
    pointer-events: none;
}

.job-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -1;
    border-radius: 27px;
    border: 1px solid rgba(255,255,255,.035);
    pointer-events: none;
}

.job-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,.16);
    box-shadow:
        0 34px 90px rgba(0,0,0,.34),
        inset 0 1px 0 rgba(255,255,255,.06);
}

.job-card-main {
    min-height: 264px;
    padding: 18px;
    position: relative;
    z-index: 1;
}

.job-card-body {
    padding-top: 26px;
}

.job-card-body p {
    margin-bottom: 7px;
    color: rgba(246,247,251,.68);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .10em;
}

.job-card-body h3 {
    max-width: 95%;
    font-size: clamp(24px, 2vw, 32px);
    letter-spacing: -.065em;
    text-wrap: balance;
}

.job-card-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 11px;
}

.job-card-meta span {
    min-width: 0;
    padding: 7px 9px;
    border-radius: 12px;
    background: rgba(8,10,15,.28);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.status-pill,
.fit-pill,
.detail-chips span,
.next-action-chip,
.tag-row span {
    min-height: 25px;
    padding: 5px 8px;
    background: rgba(8,10,15,.38);
    border-color: rgba(255,255,255,.075);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.status-pill::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    margin-right: 6px;
    background: currentColor;
    box-shadow: 0 0 18px currentColor;
}

.next-action-chip {
    max-width: calc(100% - 56px);
    color: #F4B277;
    background: rgba(184,100,44,.10);
    border-color: rgba(184,100,44,.18);
}

.tag-row {
    margin-top: -2px;
}

.tag-row span {
    color: rgba(246,247,251,.62);
    background: rgba(255,255,255,.035);
}

.card-actions {
    z-index: 2;
}

.icon-action {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    background: rgba(8,10,15,.36);
    border-color: rgba(255,255,255,.10);
    color: rgba(246,247,251,.70);
    transition: transform 140ms ease, background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.icon-action:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,.07);
    color: var(--text);
    border-color: rgba(255,255,255,.17);
}

.jobs-aside {
    top: 14px;
}

.mini-panel {
    border-radius: 22px;
    padding: 14px;
}

.mini-panel h3 {
    margin-bottom: 10px;
    color: rgba(246,247,251,.82);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .10em;
}

.quick-link-row,
.attachment-row {
    padding: 9px 0;
}

.quick-link-row strong {
    font-size: 13px;
}

.quick-link-row span {
    max-width: 145px;
}

.tag-cloud a {
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.055);
    transition: background 140ms ease, color 140ms ease;
}

.tag-cloud a:hover {
    background: rgba(108,77,255,.12);
    color: var(--text);
}

.job-detail-shell {
    gap: 18px;
}

.detail-hero {
    min-height: 310px;
    align-items: flex-end;
    padding: 30px;
    border-radius: 34px;
    border-color: rgba(255,255,255,.10);
    box-shadow:
        0 30px 90px rgba(0,0,0,.24),
        inset 0 1px 0 rgba(255,255,255,.05);
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 18% 12%, rgba(255,255,255,.10), transparent 24%),
        linear-gradient(180deg, rgba(8,10,15,.08), rgba(8,10,15,.58) 50%, rgba(8,10,15,.96));
}

.detail-hero h2 {
    font-size: clamp(38px, 6vw, 72px);
    letter-spacing: -.085em;
    text-wrap: balance;
}

.back-link {
    width: fit-content;
    margin-bottom: 18px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(8,10,15,.28);
    color: rgba(246,247,251,.72);
}

.hero-actions {
    align-self: flex-start;
    padding: 8px;
    border-radius: 18px;
    background: rgba(8,10,15,.28);
    border: 1px solid rgba(255,255,255,.07);
    backdrop-filter: blur(14px);
}

.job-form {
    gap: 16px;
}

.form-grid {
    gap: 16px;
}

.form-section {
    border-radius: 26px;
    padding: 20px;
}

.form-section h3 {
    margin-bottom: 18px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .11em;
    color: rgba(246,247,251,.74);
}

label {
    gap: 7px;
}

input,
select,
textarea {
    background: rgba(8,10,15,.34);
    border-color: rgba(148,163,184,.12);
    transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

input:focus,
select:focus,
textarea:focus {
    background: rgba(8,10,15,.48);
    border-color: rgba(108,77,255,.55);
    box-shadow: 0 0 0 4px rgba(108,77,255,.10);
}

.next-action-presets button,
.ghost-button,
.template-card,
.attachment-form button,
.form-actions button {
    box-shadow: none;
}

.template-card {
    min-height: 68px;
    background: rgba(8,10,15,.26);
    border-color: rgba(255,255,255,.075);
}

.template-card:hover {
    background: rgba(108,77,255,.09);
    border-color: rgba(108,77,255,.22);
}

.image-dropzone {
    min-height: 128px;
    border-radius: 22px;
    border-color: rgba(148,163,184,.16);
    background:
        linear-gradient(135deg, rgba(108,77,255,.07), rgba(31,138,91,.045)),
        rgba(8,10,15,.24);
}

.current-image img {
    border-radius: 20px;
}

.timeline-section {
    overflow: hidden;
}

.timeline-list li {
    border-radius: 18px;
    padding: 14px;
    background: rgba(8,10,15,.22);
    border: 1px solid rgba(255,255,255,.055);
}

.timeline-list time {
    color: #F4B277;
}

.form-actions {
    position: sticky;
    bottom: 16px;
    z-index: 6;
    margin-top: 18px;
    padding: 10px;
    border-radius: 22px;
    background: rgba(8,10,15,.72);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(18px);
}

.form-actions button {
    border-radius: 15px;
}

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

    .jobs-aside,
    .job-filters,
    .form-actions {
        position: static;
    }

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

    .quick-link-row span {
        max-width: none;
    }
}

@media (max-width: 760px) {
    .jobs-topline {
        min-height: unset;
        align-items: flex-end;
    }

    .jobs-topline h2 {
        font-size: 42px;
    }

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

    .metrics-grid article:last-child {
        grid-column: span 2;
    }

    .attention-strip,
    .attention-items,
    .job-filters,
    .job-card-meta {
        grid-template-columns: 1fr;
    }

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

    .detail-hero {
        min-height: 260px;
        padding: 22px;
    }

    .detail-hero h2 {
        font-size: 42px;
    }
}
