/* GrapIt dark modular redesign
   This file intentionally sits after styles.css and only changes presentation. */

:root {
  --color-black: #080808;
  --color-black-soft: #151515;
  --color-black-raised: #1d1d1d;
  --color-white: #ffffff;
  --color-surface: #f3f3ef;
  --color-surface-strong: #e8e8e2;
  --color-border: #d7d7d0;
  --color-border-strong: #a9a9a1;
  --color-text: #0a0a0a;
  --color-text-muted: #686862;
  --color-yellow: #f5a800;
  --color-yellow-hover: #ffba26;
  --color-yellow-soft: #fff1c2;
  --color-orange: #ff6b24;
  --color-orange-soft: #ffe1d1;
  --color-purple: #f5a800;
  --color-purple-hover: #ffba26;
  --color-purple-soft: #fff1c2;
  --font-sans: "Inter", Arial, sans-serif;
  --font-display: "Space Grotesk", "Inter", Arial, sans-serif;
  --font-size-h2: 2.5rem;
  --font-size-page: 3.25rem;
  --font-size-hero: 4rem;
  --line-height-tight: 1.04;
  --container: 1240px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 8px;
  --radius-image: 12px;
  --shadow-sm: 0 8px 24px rgba(8, 8, 8, 0.07);
  --shadow-md: 0 28px 70px rgba(8, 8, 8, 0.24);
  --header-height: 72px;
}

body {
  background: var(--color-surface);
  font-family: var(--font-sans);
}

h1,
h2,
h3,
h4,
.button,
.main-nav,
.tag,
.status {
  font-family: var(--font-display);
}

h1,
h2,
h3,
h4 {
  letter-spacing: 0;
}

::selection {
  background: var(--color-yellow);
  color: var(--color-black);
}

/* Header */
.site-header {
  min-height: var(--header-height);
  padding-inline: max(32px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid #292929;
  background: rgba(8, 8, 8, 0.98);
  color: var(--color-white);
  box-shadow: none;
}

.site-header .brand {
  min-width: 126px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: var(--color-white);
}

.site-header .brand-logo {
  width: 106px;
}

.main-nav {
  gap: 2px;
}

.main-nav a,
.main-nav button {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: #d8d8d2;
  font-size: 0.78rem;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a.active,
.main-nav button:hover {
  background: #242424;
  color: var(--color-yellow);
}

.nav-toggle {
  border-color: #3b3b3b;
  border-radius: var(--radius-sm);
  background: #171717;
}

.nav-toggle span {
  background: var(--color-yellow);
}

.guest-actions .button,
.header-actions .button {
  border-radius: var(--radius-sm);
}

.site-header .button.outline,
.site-header .button.ghost {
  border-color: #4a4a4a;
  background: #151515;
  color: var(--color-white);
}

.site-header .button.outline:hover,
.site-header .button.ghost:hover {
  border-color: var(--color-white);
  background: var(--color-white);
  color: var(--color-black);
}

body[data-current-route="home"] #guestActions [data-open-auth="login"] {
  border-color: var(--color-white);
  background: var(--color-white);
  color: var(--color-black);
}

body[data-current-route="home"] #guestActions [data-open-auth="login"]:hover {
  border-color: #e5e5e5;
  background: #f2f2f2;
  color: var(--color-black);
}

.icon-button,
.profile-menu-button {
  border-color: #3a3a3a;
  border-radius: var(--radius-sm);
  background: #151515;
  color: var(--color-white);
}

.icon-button:hover,
.profile-menu-button:hover {
  border-color: var(--color-yellow);
  background: #242424;
}

.profile-dropdown {
  overflow: hidden;
  border: 1px solid #333;
  border-radius: var(--radius-md);
  background: #141414;
  color: var(--color-white);
}

.profile-dropdown button:hover {
  background: #252525;
  color: var(--color-yellow);
}

/* Buttons and controls */
.button {
  min-height: 46px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  box-shadow: none;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button.primary,
.button.yellow {
  border-color: var(--color-yellow);
  background: var(--color-yellow);
  color: var(--color-black);
}

.button.primary:hover:not(:disabled),
.button.yellow:hover:not(:disabled) {
  border-color: var(--color-yellow-hover);
  background: var(--color-yellow-hover);
}

.button.secondary,
.button.dark,
.button.purple {
  border-color: var(--color-black);
  background: var(--color-black);
  color: var(--color-white);
}

.button.secondary:hover:not(:disabled),
.button.dark:hover:not(:disabled),
.button.purple:hover:not(:disabled) {
  border-color: #2a2a2a;
  background: #2a2a2a;
}

.button.ghost,
.button.outline {
  border-color: #9c9c95;
  background: transparent;
  color: inherit;
}

.button.compact {
  min-height: 38px;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
}

.button:not(.full) {
  width: fit-content;
  max-width: 100%;
}

.inline-action {
  width: fit-content;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9a6a00;
  font: inherit;
  font-weight: 800;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-action:hover {
  color: var(--color-black);
}

input,
select,
textarea {
  min-height: 50px;
  border: 1px solid #bdbdb5;
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-black);
}

textarea {
  min-height: 126px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-yellow);
  box-shadow: 0 0 0 3px rgba(245, 168, 0, 0.22);
}

.check-label input {
  accent-color: var(--color-yellow);
}

/* Landing hero */
.home-view {
  background: var(--color-white);
}

.landing-container {
  width: min(var(--container), calc(100% - 96px));
}

.landing-hero {
  min-height: min(760px, calc(100vh - var(--header-height)));
  overflow: hidden;
  background: var(--color-black);
  color: var(--color-white);
}

.landing-hero-grid {
  min-height: inherit;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 64px;
  align-items: center;
  padding: 52px 0 58px;
}

.landing-hero-copy {
  max-width: 620px;
}

.hero-kicker {
  margin-bottom: 18px !important;
  color: var(--color-yellow) !important;
  font-family: var(--font-display);
  font-size: 0.75rem !important;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.landing-hero-copy h1 {
  max-width: 640px;
  margin-bottom: 22px;
  color: var(--color-white);
  font-size: 3.75rem;
  line-height: 1.02;
}

.landing-hero-copy h1 span {
  color: var(--color-yellow);
}

.landing-hero-copy > p:not(.hero-kicker) {
  max-width: 590px;
  margin-bottom: 26px;
  color: #c8c8c1;
  font-size: 1.02rem;
  line-height: 1.55;
}

.landing-hero-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.landing-action {
  min-width: 205px;
  min-height: 60px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  box-shadow: none;
}

.landing-action.employer {
  border-color: var(--color-yellow);
  background: var(--color-yellow);
  color: var(--color-black);
}

.landing-action.worker {
  border-color: #4a4a4a;
  background: var(--color-white);
  color: var(--color-black);
}

.landing-action:hover {
  transform: translateY(-2px);
}

.landing-action-icon {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  border-radius: var(--radius-sm);
  font-size: 1.15rem;
}

.hero-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 28px;
}

.hero-categories button,
.tag[data-category] {
  min-height: 28px;
  padding: 6px 10px;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

.hero-categories button {
  cursor: pointer;
  transition: filter 140ms ease, transform 140ms ease;
}

.hero-categories button:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

[data-category="Kerti munka"] { --category-color: #0f9f51; }
[data-category="Építőipar"] { --category-color: #ef5b2a; }
[data-category="Iroda"] { --category-color: #2f69d9; }
[data-category="Rendezvény"] { --category-color: #a51bd4; }
[data-category="Költözés"] { --category-color: #4a5568; }
[data-category="Takarítás"] { --category-color: #079cbd; }
[data-category="Vendéglátás"] { --category-color: #d8395a; }
[data-category="Diákmunka"] { --category-color: #d88c00; }
[data-category="Önkéntes"] { --category-color: #009b83; }
[data-category="Egyéb"] { --category-color: #e00078; }

.hero-categories [data-category],
.tag[data-category] {
  background: var(--category-color, #4a5568) !important;
  color: #fff !important;
}

.job-card[data-category]::before,
.dashboard-category-dot[data-category] {
  background: var(--category-color, var(--color-yellow));
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 22px;
  border-top: 1px solid #363636;
}

.hero-stats span {
  min-width: 0;
  padding-right: 18px;
}

.hero-stats strong,
.hero-stats small {
  display: block;
  text-align: left;
}

.hero-stats strong {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.1;
}

.hero-stats small {
  margin-top: 5px;
  color: #aaa9a3;
  font-size: 0.69rem;
}

.landing-hero-visual {
  position: relative;
  align-self: start;
  justify-self: end;
  width: 100%;
  max-width: 500px;
  min-width: 0;
  margin-top: 92px;
}

.landing-hero-visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: 58% center;
  border: 1px solid #2f2f2f;
  border-radius: var(--radius-image);
}

.hero-job-preview {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto 44px;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-black);
  box-shadow: var(--shadow-md);
}

.hero-job-preview div strong,
.hero-job-preview div span {
  display: block;
  text-align: left;
}

.hero-job-preview div strong {
  font-family: var(--font-display);
}

.hero-job-preview div span {
  color: var(--color-text-muted);
  font-size: 0.72rem;
}

.hero-job-preview > b {
  white-space: nowrap;
  font-family: var(--font-display);
}

.hero-job-preview > button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--color-yellow);
  color: var(--color-black);
  font-size: 1.25rem;
  cursor: pointer;
}

/* Landing sections */
.landing-section {
  padding: 92px 0;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.landing-section h2,
.landing-jobs-showcase h2 {
  margin-bottom: 34px;
  font-size: 2.55rem;
}

.platform-intro-section {
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
}

.platform-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(480px, 1.05fr);
  gap: 76px;
  align-items: center;
}

.platform-intro-copy {
  min-width: 0;
  max-width: 620px;
}

.platform-intro-copy h2 {
  max-width: 610px;
  margin-bottom: 22px;
  color: var(--color-black);
  font-size: 2.75rem;
  line-height: 1.06;
  text-align: left;
}

.platform-intro-copy > p {
  max-width: 610px;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.platform-intro-copy .platform-intro-lead {
  margin-bottom: 14px;
  color: var(--color-black);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.platform-intro-points {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  margin: 28px 0;
}

.platform-intro-prefix {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  border: 1px solid var(--color-black);
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.02;
}

.platform-intro-prefix span {
  display: block;
}

.platform-intro-point-list {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.platform-intro-points .platform-intro-point {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  color: var(--color-black);
}

.platform-intro-point span {
  display: flex;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  min-height: 54px;
  align-items: center;
  justify-self: start;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.platform-intro-point.point-yellow span {
  background: var(--color-yellow);
  color: var(--color-black);
}

.platform-intro-point.point-black span {
  background: var(--color-black);
  color: var(--color-white);
}

.platform-intro-point.point-orange span {
  width: 100%;
  box-sizing: border-box;
  border-color: var(--color-orange);
  background: var(--color-orange-soft);
  color: var(--color-black);
}

.platform-intro-copy .platform-intro-closing {
  color: var(--color-black);
  font-weight: 700;
}

.platform-visual-scene {
  position: relative;
  width: 100%;
  max-width: 590px;
  min-height: 0;
}

.platform-intro-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 28px 70px rgba(8, 8, 8, 0.18);
}

.platform-notebook {
  position: absolute;
  right: 4px;
  bottom: 40px;
  z-index: 0;
  width: 350px;
  height: 450px;
  padding: 50px 34px 28px 52px;
  border: 1px solid #d7cba4;
  border-radius: 8px;
  background: #fff9df;
  box-shadow: 0 22px 55px rgba(8, 8, 8, 0.16);
  transform: rotate(7deg);
}

.platform-notebook::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-yellow);
}

.platform-notebook::after {
  content: "";
  position: absolute;
  left: -8px;
  top: 36px;
  width: 16px;
  height: 360px;
  border-top: 9px dotted #2b2b2b;
  border-bottom: 9px dotted #2b2b2b;
}

.platform-notebook span {
  display: block;
  margin-bottom: 38px;
  color: #342d19;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.platform-notebook i {
  display: block;
  height: 42px;
  border-bottom: 1px solid #cfc6a6;
}

.platform-device {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: 330px;
  min-height: 660px;
  padding: 8px;
  border: 2px solid #303030;
  border-radius: 44px;
  background: var(--color-black);
  box-shadow: var(--shadow-md);
}

.platform-device::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 152px;
  width: 4px;
  height: 78px;
  border-radius: 3px 0 0 3px;
  background: #2b2b2b;
}

.platform-device::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 11px;
  z-index: 5;
  width: 92px;
  height: 4px;
  border-radius: 4px;
  background: #d6d6d2;
  transform: translateX(-50%);
}

.platform-device-island {
  position: absolute;
  left: 50%;
  top: 17px;
  z-index: 6;
  width: 92px;
  height: 25px;
  border-radius: 18px;
  background: #000;
  transform: translateX(-50%);
}

.platform-device-island::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #172334;
}

.platform-device-bar {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  z-index: 5;
  min-height: 42px;
  display: grid;
  grid-template-columns: 1fr auto 20px;
  gap: 7px;
  align-items: center;
  padding: 0 18px;
  color: var(--color-white);
  font-size: 0.64rem;
  font-weight: 700;
}

.platform-device-bar > span:nth-child(2) {
  text-align: right;
}

.platform-device-brand {
  color: var(--color-black);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
}

.platform-device-brand span {
  color: var(--color-orange);
}

.platform-device-bar i {
  width: 17px;
  height: 9px;
  border: 1px solid var(--color-white);
  border-radius: 3px;
  box-shadow: inset 0 0 0 2px var(--color-black);
  background: var(--color-white);
}

.platform-device-screen {
  min-height: 640px;
  padding: 52px 14px 28px;
  border-radius: 35px;
  background: var(--color-surface);
  color: var(--color-black);
}

.platform-phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 0 2px;
}

.platform-phone-header button {
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid var(--color-black);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-black);
  font-size: 0.62rem;
  font-weight: 700;
  cursor: pointer;
}

.platform-device-heading {
  margin-bottom: 16px;
}

.platform-device-heading small,
.platform-device-heading strong {
  display: block;
  text-align: left;
}

.platform-device-heading small {
  margin-bottom: 5px;
  color: #a66e00;
  font-size: 0.62rem;
  font-weight: 800;
}

.platform-device-heading strong {
  max-width: 240px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.08;
}

.platform-job-list {
  display: grid;
  gap: 10px;
}

.platform-job-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 34px;
  gap: 8px;
  align-items: end;
  padding: 11px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.platform-job-item .tag {
  grid-column: 1 / -1;
  justify-self: start;
  font-size: 0.61rem;
}

.platform-job-item div strong,
.platform-job-item div small {
  display: block;
  text-align: left;
}

.platform-job-item div strong {
  font-family: var(--font-display);
  font-size: 0.78rem;
}

.platform-job-item div small {
  margin-top: 2px;
  color: var(--color-text-muted);
  font-size: 0.57rem;
}

.platform-job-item > b {
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.68rem;
}

.platform-job-item > button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--color-yellow);
  color: var(--color-black);
  font-size: 1rem;
  cursor: pointer;
}

.platform-device-cta {
  margin-top: 16px;
}

.audience-section {
  background: var(--color-white);
}

.audience-grid {
  gap: 0;
  align-items: stretch;
}

.audience-card {
  min-height: 0;
  display: block;
  padding: 24px 38px 28px;
  border: 0;
  border-radius: 0;
  background: var(--color-white);
  color: var(--color-black);
  box-shadow: none;
}

.audience-card.employer-card {
  background: var(--color-white);
  color: var(--color-black);
}

.audience-card.worker-card {
  border-left: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-black);
}

.audience-card p,
.audience-card li {
  color: inherit;
}

.audience-card h3 {
  max-width: 430px;
  margin-bottom: 13px;
  font-size: 1.65rem;
  line-height: 1.12;
}

.audience-card.employer-card p {
  color: var(--color-text-muted);
}

.audience-card > div > p {
  max-width: 520px;
  margin-bottom: 18px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.58;
}

.audience-card ul {
  gap: 8px;
  margin-bottom: 22px;
}

.audience-card li {
  font-size: 0.87rem;
  line-height: 1.35;
}

.audience-card.employer-card li::before {
  color: var(--color-black);
}

.audience-card.worker-card li::before {
  color: var(--color-black);
}

.round-symbol {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--color-yellow);
  color: var(--color-black);
}

.worker-card .round-symbol,
.worker-process .round-symbol {
  background: var(--color-black);
  color: var(--color-yellow);
}

.audience-card .button {
  min-width: 168px;
  margin-top: 0;
}

.audience-card.worker-card .button {
  border-color: var(--color-black);
  background: var(--color-black);
  color: var(--color-white);
}

.process-section {
  background: #fafaf7;
}

.process-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.process-heading h2 {
  margin-bottom: 14px;
}

.process-heading p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.65;
  text-align: center;
}

.process-flow-list {
  display: grid;
  gap: 34px;
}

.process-row {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: 28px;
}

.process-row:first-child {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
}

.process-card {
  grid-column: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 36px;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.04);
}

.process-card-heading {
  min-height: 116px;
  padding-bottom: 26px;
  border-bottom: 1px solid #ecece8;
}

.process-card-kicker {
  margin: 0 0 10px;
  color: var(--color-black);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.process-card-heading h3 {
  max-width: none;
  margin: 0;
  color: var(--color-black);
  font-size: 1.42rem;
  line-height: 1.2;
  text-align: left;
}

.process-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 12px 0 28px;
  list-style: none;
  counter-reset: none;
}

.process-steps li {
  min-width: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid #ecece8;
}

.process-steps li:last-child {
  border-bottom: 0;
}

.process-number {
  width: 58px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-yellow);
  border-radius: var(--radius-sm);
  background: var(--color-orange-soft);
  color: var(--color-black);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.process-steps h4 {
  margin: 1px 0 7px;
  color: var(--color-black);
  font-size: 1rem;
  line-height: 1.3;
  text-align: left;
}

.process-steps p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.86rem;
  line-height: 1.55;
  text-align: left;
}

.process-cta {
  min-width: 178px;
  align-self: flex-start;
  margin-top: auto;
}

.process-image {
  grid-column: 2;
  min-width: 0;
  margin: 0;
}

.process-row:first-child .process-card {
  grid-column: 2;
}

.process-row:first-child .process-image {
  grid-column: 1;
  grid-row: 1;
}

.process-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-image);
  object-fit: contain;
  object-position: center;
  background: var(--color-white);
}

.benefits-section {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-black);
}

.benefits-header {
  max-width: 940px;
  margin-bottom: 38px;
}

.benefits-header h2 {
  margin-bottom: 18px;
  color: var(--color-black);
  text-align: left;
}

.benefits-header p {
  max-width: 900px;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: left;
}

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

.benefits-grid article {
  min-height: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  color: var(--color-black);
  text-align: left;
}

.benefits-grid article:nth-child(4n + 2),
.benefits-grid article:nth-child(4n + 3) {
  background: #fafaf7;
}

.benefits-grid article > span {
  width: 48px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid var(--color-yellow);
  border-radius: var(--radius-sm);
  background: var(--color-yellow);
  color: var(--color-black);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
}

.benefits-grid article:nth-child(4n + 2) > span,
.benefits-grid article:nth-child(4n + 3) > span {
  border-color: var(--color-black);
  background: var(--color-black);
  color: var(--color-white);
}

.benefits-grid article h3 {
  margin: 0 0 8px;
  color: var(--color-black);
  font-size: 1.18rem;
  line-height: 1.25;
  text-align: left;
}

.benefits-grid article p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.58;
  text-align: left;
}

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

  .benefits-grid article:nth-child(odd) {
    background: var(--color-white);
  }

  .benefits-grid article:nth-child(even) {
    background: #fafaf7;
  }

  .benefits-grid article:nth-child(odd) > span {
    border-color: var(--color-yellow);
    background: var(--color-yellow);
    color: var(--color-black);
  }

  .benefits-grid article:nth-child(even) > span {
    border-color: var(--color-black);
    background: var(--color-black);
    color: var(--color-white);
  }
}

.pricing-section {
  background: var(--color-white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  align-items: center;
  gap: 68px;
}

.pricing-image {
  min-width: 0;
  margin: 0;
}

.pricing-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 0.72 / 1;
  display: block;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-image);
  object-fit: cover;
  object-position: 45% center;
  background: var(--color-white);
}

.pricing-copy {
  min-width: 0;
  max-width: 720px;
  text-align: left;
}

.pricing-copy h2 {
  margin-bottom: 16px;
  color: var(--color-black);
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  line-height: 1.08;
  text-align: left;
}

.pricing-copy > p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.65;
  text-align: left;
}

.pricing-lead {
  margin-bottom: 12px !important;
  color: var(--color-black) !important;
  font-family: var(--font-display);
  font-size: 1.32rem !important;
  font-weight: 800;
  line-height: 1.25 !important;
}

.pricing-audience {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.pricing-audience article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-black);
}

.pricing-audience article:first-child {
  border-color: var(--color-yellow);
  background: var(--color-yellow);
}

.pricing-audience h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 8px;
  color: var(--color-black);
  font-size: 1rem;
  line-height: 1.25;
  text-align: left;
}

.pricing-audience-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--color-black);
  border-radius: 8px;
  color: var(--color-black);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}

.pricing-audience p {
  margin: 0;
  padding-left: 48px;
  color: #625f58;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.58;
  text-align: left;
}

.pricing-audience article:first-child p {
  color: #16140f;
}

.pricing-register-button {
  display: flex;
  width: fit-content;
  margin: 2px auto 0;
  border-radius: 999px;
}

.pricing-note {
  margin-top: 18px !important;
  color: #8d8d86 !important;
  font-size: 0.86rem !important;
  line-height: 1.55 !important;
}

.landing-jobs-showcase {
  padding: 86px 0;
  border-radius: 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: #fafaf7;
  color: var(--color-black);
}

.landing-jobs-showcase h2 {
  color: var(--color-black);
}

.showcase-categories {
  justify-content: center;
  margin: -8px 0 30px;
}

.landing-job-grid {
  gap: 12px;
}

.landing-job-grid button {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  color: var(--color-black);
}

.landing-job-grid button:hover {
  border-color: var(--color-black);
  transform: translateY(-2px);
}

.landing-job-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: var(--color-surface);
}

.landing-job-grid span {
  min-height: 66px;
  padding: 12px;
}

.faq-section {
  background: var(--color-white);
}

.faq-grid {
  gap: 10px;
}

.faq-grid details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.faq-grid details[open] {
  border-color: var(--color-black);
}

.faq-grid summary::after {
  color: var(--color-black);
}

.landing-cta {
  background: var(--color-yellow);
  color: var(--color-black);
}

.landing-cta h2,
.landing-cta p {
  color: var(--color-black);
}

.landing-cta .landing-action.worker {
  border-color: var(--color-black);
  background: var(--color-black);
  color: var(--color-white);
}

.landing-cta .landing-action.light-action {
  border-color: var(--color-black);
  background: var(--color-white);
  color: var(--color-black);
}

/* Shared page system */
#appMain {
  min-height: calc(100vh - var(--header-height));
}

.page-view {
  width: min(var(--container), calc(100% - 96px));
  padding: 64px 0 88px;
}

.page-header {
  align-items: end;
  margin-bottom: 34px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 3.45rem;
}

.page-header .eyebrow {
  color: #a66e00;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.page-header > p {
  max-width: 440px;
  color: var(--color-text-muted);
}

.filter-panel,
.panel-form,
.preview-panel,
.application-card,
.notification-row,
.profile-summary,
.profile-details,
.admin-content,
.prose-layout > article,
.prose-layout > aside,
.contact-layout > aside,
.legal-copy {
  border-radius: var(--radius-lg);
  box-shadow: none;
}

.filter-panel {
  padding: 24px;
  border-top: 6px solid var(--color-black);
  background: var(--color-white);
}

.filter-panel label,
.panel-form label {
  color: inherit;
  font-size: 0.78rem;
}

/* Job marketplace */
.job-grid {
  gap: 18px;
}

.job-list {
  display: grid;
  gap: 10px;
}

.job-list-row {
  display: grid;
  grid-template-columns: 118px minmax(170px, 1fr) minmax(360px, 1.45fr) 150px auto;
  gap: 18px;
  align-items: center;
  min-height: 94px;
  padding: 16px 18px 16px 22px;
}

.job-list-row:hover {
  transform: none;
  border-color: #8f8f88;
  box-shadow: var(--shadow-sm);
}

.job-list-category,
.job-list-main,
.job-list-payment {
  min-width: 0;
}

.job-list-category {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.job-list-main {
  display: grid;
  gap: 5px;
}

.job-list-title {
  width: fit-content;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.job-list-title:hover,
.job-list-title:focus-visible {
  color: #a76f00;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.job-list-main > span,
.job-list-payment > span {
  color: var(--color-text-muted);
  font-size: 0.76rem;
}

.job-list-data {
  display: grid;
  grid-template-columns: minmax(90px, 0.8fr) minmax(120px, 1fr) minmax(120px, 1fr);
  gap: 14px;
  margin: 0;
}

.job-list-data div {
  min-width: 0;
}

.job-list-data dt {
  margin-bottom: 4px;
  color: var(--color-text-muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.job-list-data dd {
  margin: 0;
  color: var(--color-text);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
}

.job-list-payment {
  display: grid;
  gap: 4px;
}

.job-list-payment strong {
  color: var(--color-text);
  font-size: 0.94rem;
  line-height: 1.25;
}

.job-list-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.job-list-actions .button {
  min-height: 42px;
  white-space: nowrap;
}

.job-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  color: var(--color-text);
  box-shadow: none;
}

.job-card:hover {
  transform: translateY(-3px);
  border-color: #8f8f88;
  box-shadow: var(--shadow-sm);
}

.job-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 5px;
  background: var(--color-yellow);
}


.job-image {
  border-radius: 0;
}

.job-card-body {
  padding: 22px;
  background: var(--color-white);
  color: var(--color-text);
}

.job-card h3,
.job-card p,
.job-card .job-meta,
.job-card .job-facts {
  color: var(--color-text);
}

.job-card .job-card-body > p,
.job-card .job-meta,
.job-card .job-facts span {
  color: var(--color-text-muted);
}

.job-card .job-facts {
  border-color: var(--color-border);
  background: #f5f5f1;
}

.tag,
.status {
  min-height: 26px;
  border-radius: var(--radius-sm);
}

.status {
  background: var(--color-surface-strong);
}

.job-meta {
  padding: 10px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.job-facts {
  gap: 8px;
  border-top: 0;
}

.job-facts span {
  padding: 10px;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
}

.card-actions .button {
  min-height: 44px;
}

@media (max-width: 1120px) {
  .job-list-row {
    grid-template-columns: 110px minmax(180px, 1fr) minmax(320px, 1.5fr);
  }

  .job-list-payment {
    grid-column: 2;
  }

  .job-list-actions {
    grid-column: 3;
    grid-row: 2;
  }
}

@media (max-width: 900px) {
  .job-list {
    gap: 12px;
  }

  .job-list-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px 12px;
    padding: 18px;
  }

  .job-list-category {
    grid-column: 1 / -1;
  }

  .job-list-main {
    grid-column: 1;
  }

  .job-list-data {
    grid-column: 1 / -1;
    grid-row: auto;
    grid-template-columns: 1fr 1fr;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
  }

  .job-list-data div:first-child {
    grid-column: 1 / -1;
  }

  .job-list-payment {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    text-align: right;
  }

  .job-list-actions {
    grid-column: 1 / -1;
    grid-row: auto;
    justify-content: flex-start;
  }

  .job-list-actions .button {
    width: auto;
    max-width: 100%;
  }
}

@media (max-width: 430px) {
  .job-list-row {
    grid-template-columns: 1fr;
  }

  .job-list-main,
  .job-list-payment,
  .job-list-data,
  .job-list-actions {
    grid-column: 1;
  }

  .job-list-title {
    max-width: min(100%, 17rem);
    text-align: left;
  }

  .job-list-payment {
    grid-row: auto;
    text-align: left;
  }

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

  .job-list-data div:first-child {
    grid-column: auto;
  }

  .job-list-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .job-list-actions .button {
    width: 100%;
  }
}

/* Employer routes */
body[data-current-route="post-job"] #appMain,
body[data-current-route="posted"] #appMain,
body[data-current-route="admin"] #appMain {
  background: var(--color-black);
}

body[data-current-route="post-job"] .page-view.active,
body[data-current-route="posted"] .page-view.active,
body[data-current-route="admin"] .page-view.active {
  color: var(--color-white);
}

body[data-current-route="post-job"] .page-header,
body[data-current-route="posted"] .page-header,
body[data-current-route="admin"] .page-header {
  border-bottom-color: #333;
}

body[data-current-route="post-job"] .page-header h1,
body[data-current-route="posted"] .page-header h1,
body[data-current-route="admin"] .page-header h1 {
  color: var(--color-white);
}

body[data-current-route="post-job"] .page-header > p,
body[data-current-route="posted"] .page-header > p,
body[data-current-route="admin"] .page-header > p {
  color: #aaa9a3;
}

body[data-current-route="post-job"] .panel-form {
  border-color: #2f2f2f;
  background: #141414;
}

body[data-current-route="post-job"] .form-section {
  border-bottom-color: #333;
}

body[data-current-route="post-job"] .optional-fields {
  border-color: #393939;
  background: #1c1c1c;
}

body[data-current-route="post-job"] .preview-panel {
  color: var(--color-black);
}

body[data-current-route="posted"] .posted-job-card {
  border: 1px solid #333;
  border-radius: var(--radius-lg);
  background: #151515;
  color: var(--color-white);
  box-shadow: none;
}

body[data-current-route="posted"] .posted-job-card p,
body[data-current-route="posted"] .applicant-copy p,
body[data-current-route="posted"] .applicant-copy > span {
  color: #aaa9a3;
}

body[data-current-route="posted"] .capacity-box {
  border-color: #424242;
  background: var(--color-yellow);
  color: var(--color-black);
}

body[data-current-route="posted"] .capacity-box span {
  color: #4d3a00;
}

body[data-current-route="posted"] .applicant-list,
body[data-current-route="posted"] .applicant-row {
  border-color: #333;
}

body[data-current-route="posted"] .empty-state {
  border-color: #444;
  background: #111;
  color: var(--color-white);
}

/* Applications, profile and notifications */
.application-card {
  border-left: 6px solid var(--color-yellow);
}

/* Logged-in dashboard */
.dashboard-view {
  color: var(--color-black);
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
  padding: 36px;
  border-radius: 8px;
  background: var(--color-black);
  color: var(--color-white);
}

.dashboard-hero .eyebrow {
  color: var(--color-yellow);
}

.dashboard-hero h1 {
  max-width: 760px;
  margin: 0 0 12px;
  color: var(--color-white);
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 0.94;
  text-align: left;
}

.dashboard-hero p {
  max-width: 760px;
  margin: 0;
  color: #d8d8d2;
  font-size: 1.03rem;
  line-height: 1.55;
  text-align: left;
}

.dashboard-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.dashboard-hero-actions .button.light {
  border-color: var(--color-white);
  background: var(--color-white);
  color: var(--color-black);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.dashboard-stat-card,
.dashboard-panel,
.dashboard-action-card,
.dashboard-activity-item {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
  text-align: left;
  box-shadow: none;
}

.dashboard-stat-card {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border-top: 6px solid var(--color-yellow);
}

.dashboard-stat-card strong {
  margin-bottom: 8px;
  color: var(--color-black);
  font-family: var(--font-display);
  font-size: 2.55rem;
  line-height: 1;
}

.dashboard-stat-card span {
  color: var(--color-black);
  font-family: var(--font-display);
  font-weight: 700;
}

.dashboard-stat-card p {
  margin: 8px 0 0;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.dashboard-panel {
  padding: 24px;
}

.dashboard-panel-heading {
  margin-bottom: 18px;
}

.dashboard-panel-heading h2 {
  margin: 0;
  color: var(--color-black);
  font-size: 1.6rem;
  line-height: 1.08;
  text-align: left;
}

.dashboard-focus-list,
.dashboard-action-grid,
.dashboard-activity-list {
  display: grid;
  gap: 12px;
}

.dashboard-focus-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--color-border);
}

.dashboard-focus-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.dashboard-focus-number {
  width: 58px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-black);
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-display);
  font-weight: 700;
}

.dashboard-focus-item.yellow .dashboard-focus-number {
  border-color: var(--color-yellow);
  background: var(--color-yellow);
}

.dashboard-focus-item h3 {
  margin: 0 0 7px;
  color: var(--color-black);
  font-size: 1.18rem;
  text-align: left;
}

.dashboard-focus-item p {
  max-width: 660px;
  margin: 0 0 12px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.48;
  text-align: left;
}

.dashboard-action-card,
.dashboard-activity-item {
  width: 100%;
  display: grid;
  gap: 7px;
  padding: 18px;
  color: var(--color-black);
  cursor: pointer;
}

.dashboard-action-card:hover,
.dashboard-activity-item:hover {
  border-color: var(--color-yellow);
  background: #fffaf0;
}

.dashboard-action-card span,
.dashboard-activity-item span {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--color-yellow);
  color: var(--color-black);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
}

.dashboard-action-card strong,
.dashboard-activity-item strong {
  color: var(--color-black);
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.18;
}

.dashboard-action-card small,
.dashboard-activity-item small,
.dashboard-activity-item time {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.dashboard-activity-panel {
  margin-bottom: 0;
}

.profile-summary {
  border-color: var(--color-black);
  background: var(--color-black);
  color: var(--color-white);
}

.profile-summary > p,
.profile-summary .rating-summary span {
  color: #aaa9a3;
}

.profile-summary .button.danger {
  border-color: #713232;
  background: #2a1717;
}

.profile-details section {
  border-bottom-color: var(--color-border);
}

.profile-stats article:first-child {
  background: var(--color-yellow);
}

.notification-row {
  border-left: 6px solid var(--color-border);
}

.notification-row.unread {
  border-left-color: var(--color-yellow);
}

/* Chat */
.chat-shell {
  border: 1px solid #2d2d2d;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: none;
}

.conversation-list {
  border-right-color: #2d2d2d;
  background: var(--color-black);
  color: var(--color-white);
}

.conversation-item {
  border-bottom-color: #2c2c2c;
}

.conversation-item:hover,
.conversation-item.active {
  background: #1e1e1e;
}

.conversation-item > span small,
.conversation-item > span em {
  color: #9d9d97;
}

.chat-header {
  background: var(--color-white);
}

.chat-contact {
  background: var(--color-yellow-soft);
}

.message-thread {
  background: #f6f6f2;
}

.message-bubble {
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(8, 8, 8, 0.06);
}

.message-bubble.mine {
  background: var(--color-yellow);
  box-shadow: none;
}

/* Admin */
body[data-current-route="admin"] .stats-grid article {
  border: 1px solid #333;
  border-top: 6px solid var(--color-yellow);
  border-radius: var(--radius-lg);
  background: #171717;
  color: var(--color-white);
}

body[data-current-route="admin"] .stats-grid article:nth-child(2n) {
  border-top-color: var(--color-orange);
}

body[data-current-route="admin"] .stats-grid article span {
  color: #aaa9a3;
}

body[data-current-route="admin"] .admin-content {
  border-color: #333;
  background: var(--color-white);
  color: var(--color-black);
}

.admin-content th {
  background: var(--color-yellow);
  color: var(--color-black);
}

.admin-content td {
  background: var(--color-white);
  color: var(--color-black);
}

.admin-content tr:nth-child(even) td {
  background: #f5f5f1;
}

body[data-current-route="admin"] #exportCsv {
  border-color: var(--color-yellow);
  background: var(--color-yellow);
  color: var(--color-black);
}

/* Informational pages */
.info-page .page-header {
  padding: 34px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--color-black);
  color: var(--color-white);
}

.info-page .page-header h1 {
  color: var(--color-white);
}

.info-page .page-header > p {
  color: #aaa9a3;
}

.prose-layout > article,
.prose-layout > aside,
.contact-layout > aside,
.legal-copy {
  border-top-width: 1px;
}

.prose-layout > article {
  background: var(--color-white);
}

.prose-layout > aside,
.contact-layout > aside {
  border-color: var(--color-yellow);
  background: var(--color-yellow);
  color: var(--color-black);
}

.contact-layout .panel-form {
  width: 100%;
  min-width: 0;
  border-top: 6px solid var(--color-black);
}

.contact-layout,
.contact-layout > *,
.contact-layout .panel-form label {
  min-width: 0;
}

.contact-layout .panel-form input,
.contact-layout .panel-form select,
.contact-layout .panel-form textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.contact-page-header h1 {
  margin-bottom: 12px;
}

.contact-page-subtitle {
  margin: 0;
  color: var(--color-text-muted);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
}

.contact-details {
  display: grid;
  gap: 24px;
}

.contact-details h2 {
  margin: 0;
  font-size: 1.65rem;
}

.contact-detail-item {
  display: grid;
  gap: 5px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.contact-detail-item strong {
  font-size: 0.85rem;
  text-transform: uppercase;
}

.contact-detail-item a {
  width: fit-content;
  color: var(--color-black);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-help-text {
  margin: 0;
  color: var(--color-black) !important;
  font-weight: 650;
  line-height: 1.6;
}

.legal-banner {
  border-radius: var(--radius-sm);
  background: var(--color-yellow);
  color: var(--color-black);
}

/* Dialogs */
dialog {
  border-radius: 12px;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
}

.modal {
  padding: 30px;
}

.modal-close {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
}

#authDialog {
  border: 1px solid #333;
  background: var(--color-black);
  color: var(--color-white);
}

#authDialog .modal-close {
  border-color: #444;
  background: #171717;
  color: var(--color-white);
}

#authDialog .auth-tabs {
  border-bottom-color: #333;
}

#authDialog .auth-tab {
  color: #aaa9a3;
}

#authDialog .auth-tab.active {
  border-bottom-color: var(--color-yellow);
  color: var(--color-white);
}

#authDialog .auth-form label {
  color: #e8e8e2;
}

#authDialog .auth-provider-button,
#authDialog .auth-provider-option {
  border-color: #3d3d3d;
  background: #171717;
  color: var(--color-white);
}

#authDialog .auth-provider-button:hover,
#authDialog .auth-provider-option:has(input:checked) {
  border-color: var(--color-yellow);
  box-shadow: 0 0 0 3px rgb(245 168 0 / 18%);
}

#authDialog .auth-provider-choice legend,
#authDialog .auth-divider {
  color: #aaa9a3;
}

#authDialog .auth-step-note,
#profileEditDialog .profile-form-intro {
  color: #aaa9a3;
}

#authDialog .auth-divider::before,
#authDialog .auth-divider::after {
  background: #333;
}

#authDialog .demo-logins {
  border-top-color: #333;
}

#authDialog .demo-logins p {
  color: #aaa9a3;
}

#authDialog .demo-logins button {
  border-color: #454545;
  border-radius: var(--radius-sm);
  background: #171717;
  color: var(--color-white);
}

#authDialog .warning-note {
  border-color: var(--color-yellow);
  background: #2a230e;
  color: #f8dc7d;
}

#authDialog .auth-process-note {
  margin: 0;
  padding: 12px 14px;
  border-left: 3px solid var(--color-yellow);
  background: #171717;
  color: #d1d1ca;
  font-size: 0.88rem;
  line-height: 1.55;
}

#emailVerificationDialog,
#providerAuthDialog {
  width: min(520px, calc(100% - 32px));
  border: 1px solid #353535;
  background: var(--color-black);
  color: var(--color-white);
}

#emailVerificationDialog .modal-close,
#providerAuthDialog .modal-close {
  border-color: #454545;
  background: #171717;
  color: var(--color-white);
}

.verification-content {
  display: grid;
  gap: 18px;
}

.verification-content h2,
.verification-content p {
  margin: 0;
  text-align: left;
}

.verification-content h2 {
  max-width: 420px;
  font-size: 2rem;
}

.verification-content > p:not(.eyebrow, .verification-limit-note, .verification-expiry) {
  color: #d1d1ca;
  line-height: 1.6;
}

.verification-content .eyebrow {
  color: var(--color-yellow);
}

.verification-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--color-yellow);
  border-radius: var(--radius-md);
  background: var(--color-yellow);
  color: var(--color-black);
  font-size: 1.45rem;
  font-weight: 800;
}

.provider-auth-logo {
  width: 128px;
  max-width: 56%;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  object-fit: contain;
}

.provider-auth-content .auth-process-note {
  margin: 0;
}

.verification-form {
  display: grid;
  gap: 14px;
}

.verification-form label {
  display: grid;
  gap: 8px;
  color: #eeeeea;
  font-weight: 700;
}

.verification-form input {
  height: 58px;
  border-color: #555;
  background: #171717;
  color: var(--color-white);
  font-size: 1.65rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.verification-form input:focus {
  border-color: var(--color-yellow);
  box-shadow: 0 0 0 3px rgb(245 168 0 / 22%);
}

.form-error {
  padding: 10px 12px;
  border-left: 3px solid var(--color-danger);
  background: #2a1111;
  color: #ffb5b5;
  font-size: 0.9rem;
}

.demo-code-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--color-yellow);
  border-radius: var(--radius-md);
  background: #2a230e;
}

.demo-code-panel span,
.demo-code-panel small {
  color: #f8dc7d;
}

.demo-code-panel strong {
  grid-row: span 2;
  font-size: 1.65rem;
  font-variant-numeric: tabular-nums;
}

.demo-code-panel small {
  line-height: 1.45;
}

.verification-expiry {
  color: #aaa9a3;
  font-size: 0.88rem;
}

.verification-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

#emailVerificationDialog .button.outline {
  border-color: var(--color-yellow);
  color: var(--color-yellow);
}

#emailVerificationDialog .button.ghost,
#providerAuthDialog .button.ghost {
  color: var(--color-white);
}

.verification-limit-note {
  padding-top: 16px;
  border-top: 1px solid #333;
  color: #aaa9a3;
  font-size: 0.82rem;
  line-height: 1.55;
}

.job-detail-hero img {
  border-radius: var(--radius-image);
}

.owner-summary {
  border-radius: var(--radius-lg);
  background: var(--color-black);
  color: var(--color-white);
}

.owner-summary p,
.owner-summary .capacity-summary span {
  color: #aaa9a3;
}

.owner-summary .capacity-summary {
  border-color: #333;
}

.star-rating label {
  border-radius: var(--radius-sm);
}

/* Footer */
.site-footer {
  padding: 46px max(32px, calc((100vw - var(--container)) / 2)) 24px;
  border-top: 1px solid #2b2b2b;
  background: var(--color-black);
  color: var(--color-white);
}

.site-footer .brand {
  width: fit-content;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: var(--color-white);
}

.site-footer nav strong,
.footer-social strong {
  color: var(--color-white);
}

.site-footer nav a,
.site-footer nav button,
.footer-brand p {
  color: #aaa9a3;
}

.site-footer nav a:hover,
.site-footer nav button:hover {
  color: var(--color-yellow);
}

.footer-social span {
  border-color: #3a3a3a;
  border-radius: var(--radius-sm);
  color: var(--color-yellow);
}

.footer-social-icons {
  display: grid;
  gap: 8px;
  align-items: start;
}

.footer-social-logo {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 5px 9px 5px 7px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-black);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
}

.footer-social-logo > span:last-child {
  width: auto;
  height: auto;
  display: inline;
  border: 0;
  border-radius: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.footer-social-logo:hover,
.footer-social-logo:focus-visible {
  color: var(--color-black);
  transform: translateY(-1px);
}

.footer-social .facebook-mark {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--color-black);
  color: var(--color-white);
  font-family: Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1;
}

.footer-social .instagram-mark {
  position: relative;
  width: 19px;
  height: 19px;
  display: block;
  border: 2px solid var(--color-black);
  border-radius: 7px;
}

.instagram-mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border: 2px solid var(--color-black);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.instagram-mark::after {
  content: "";
  position: absolute;
  right: 3px;
  top: 3px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-black);
}

.footer-email {
  flex-basis: 100%;
  color: #aaa9a3;
  font-size: 0.67rem;
  text-decoration: none;
}

.footer-email:hover,
.footer-email:focus-visible {
  color: var(--color-yellow);
}

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

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

  .site-header {
    padding-inline: 28px;
  }

  .main-nav {
    border-bottom-color: #2c2c2c;
    background: var(--color-black);
  }

  .landing-container,
  .page-view {
    width: calc(100% - 64px);
  }

  .landing-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.86fr);
    gap: 30px;
  }

  .landing-hero-copy h1 {
    font-size: 3.15rem;
  }

  .landing-hero-visual {
    max-width: 440px;
    margin-top: 78px;
  }

  .landing-hero-visual img {
    height: 360px;
  }

  .hero-job-preview {
    left: 18px;
    right: 18px;
  }

  .platform-intro-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 40px;
  }
}

@media (max-width: 1000px) {
  .platform-intro-grid {
    grid-template-columns: 1fr;
  }

  .platform-intro-copy {
    max-width: 700px;
  }

  .platform-visual-scene {
    max-width: 560px;
    margin-inline: auto;
  }
}

@media (max-width: 840px) {
  .dashboard-hero {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    padding: 30px;
  }

  .dashboard-hero-actions {
    justify-content: flex-start;
  }

  .landing-hero {
    min-height: auto;
  }

  .landing-hero-grid {
    grid-template-columns: 1fr;
    padding: 52px 0 44px;
  }

  .landing-hero-visual {
    justify-self: stretch;
    width: 100%;
    max-width: none;
    margin-top: 0;
  }

  .landing-hero-copy {
    max-width: 720px;
  }

  .landing-hero-copy h1 {
    max-width: 700px;
    font-size: 3.6rem;
  }

  .landing-hero-visual img {
    height: 500px;
  }

  .audience-card {
    padding-inline: 24px;
  }

  .audience-card.worker-card {
    border-top: 1px solid var(--color-border);
    border-left: 0;
    padding-top: 32px;
  }

  .page-header {
    align-items: start;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 66px;
  }

  .dashboard-hero {
    padding: 26px 22px;
  }

  .dashboard-hero h1 {
    font-size: 2.4rem;
  }

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

  .dashboard-stat-card {
    min-height: 132px;
  }

  .dashboard-panel {
    padding: 20px;
  }

  .dashboard-focus-item {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
  }

  .dashboard-focus-number {
    width: 48px;
    height: 42px;
  }

  .site-header {
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 7px;
    padding-inline: 14px;
  }

  .site-header .brand {
    min-width: 84px;
    padding: 5px 7px;
  }

  .site-header .brand-logo {
    width: 70px;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .guest-actions .button {
    min-height: 38px;
    padding: 7px 9px;
    font-size: 0.67rem;
  }

  .landing-container,
  .page-view {
    width: calc(100% - 36px);
  }

  .landing-hero-grid {
    gap: 32px;
    padding: 38px 0;
  }

  .landing-hero-copy h1 {
    font-size: 2.65rem;
    line-height: 1.01;
  }

  .landing-hero-copy h1 br {
    display: initial;
  }

  .landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .landing-action {
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 8px 14px;
  }

  .landing-action strong {
    font-size: 0.92rem;
  }

  .landing-action small {
    font-size: 0.67rem;
  }

  .landing-hero-actions .landing-action {
    flex: 0 1 auto;
  }

  .landing-cta .landing-container > div:last-child {
    width: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .landing-cta .landing-action {
    width: fit-content;
  }

  .card-actions {
    justify-items: start;
  }

  .applicant-actions,
  .application-actions {
    justify-content: flex-start;
  }

  .applicant-actions .button,
  .application-actions .button {
    flex: 0 1 auto;
  }

  .chat-header .button {
    width: fit-content;
  }

  .hero-categories {
    gap: 6px;
  }

  .hero-categories button {
    font-size: 0.66rem;
  }

  .hero-stats {
    gap: 10px;
  }

  .hero-stats span {
    padding-right: 4px;
  }

  .hero-stats strong {
    font-size: 1.15rem;
  }

  .hero-stats small {
    font-size: 0.59rem;
    line-height: 1.3;
  }

  .landing-hero-visual img {
    height: 420px;
    object-position: 61% center;
  }

  .hero-job-preview {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: minmax(0, 1fr) auto 40px;
    gap: 9px;
    padding: 11px;
  }

  .hero-job-preview .tag {
    display: none;
  }

  .hero-job-preview > button {
    width: 40px;
    height: 40px;
  }

  .landing-section,
  .landing-jobs-showcase {
    padding: 58px 0;
  }

  .landing-section h2,
  .landing-jobs-showcase h2 {
    margin-bottom: 24px;
    font-size: 2rem;
  }

  .platform-intro-grid {
    gap: 36px;
  }

  .platform-intro-copy h2 {
    margin-bottom: 18px;
    font-size: 2rem;
  }

  .platform-intro-copy > p {
    font-size: 0.95rem;
  }

  .platform-intro-points {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 8px;
    margin: 22px 0;
  }

  .platform-intro-point-list {
    gap: 8px;
  }

  .platform-intro-point {
    min-width: 0;
  }

  .platform-intro-prefix {
    padding: 12px 8px;
    font-size: 1.18rem;
  }

  .platform-intro-point span {
    width: 100%;
    min-height: 50px;
    padding: 9px 11px;
    font-size: 0.84rem;
  }

  .platform-visual-scene {
    min-height: 0;
  }

  .platform-intro-photo {
    border-radius: 10px;
  }

  .platform-notebook {
    right: 8px;
    bottom: 28px;
    width: 252px;
    height: 360px;
    padding: 42px 24px 22px 40px;
  }

  .platform-notebook span {
    font-size: 1.05rem;
  }

  .platform-device {
    width: min(310px, calc(100% - 28px));
    min-height: 630px;
    padding: 7px;
    border-radius: 40px;
  }

  .platform-device-bar {
    left: 7px;
    right: 7px;
    top: 7px;
    min-height: 40px;
    padding: 0 17px;
  }

  .platform-device-screen {
    min-height: 612px;
    padding: 50px 12px 26px;
    border-radius: 32px;
  }

  .platform-device-island {
    top: 15px;
    width: 86px;
    height: 24px;
  }

  .platform-phone-header {
    margin-bottom: 20px;
  }

  .platform-device-heading {
    margin-bottom: 14px;
  }

  .platform-device-heading strong {
    font-size: 1.12rem;
  }

  .platform-job-item {
    grid-template-columns: minmax(0, 1fr) auto 34px;
    gap: 8px;
    padding: 10px;
  }

  .platform-job-item .tag {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .platform-job-item > button {
    width: 34px;
    height: 34px;
  }

  .audience-card {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .round-symbol {
    width: 46px;
    height: 46px;
  }

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

  .benefits-grid article {
    min-height: 0;
  }

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

  .landing-job-grid img {
    height: auto;
  }

  .page-view {
    padding: 42px 0 64px;
  }

  .page-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
  }

  .page-header h1 {
    font-size: 2.35rem;
  }

  .filter-panel,
  .panel-form,
  .preview-panel {
    padding: 20px;
  }

  .job-card-body {
    padding: 20px;
  }

  .chat-shell {
    border-radius: 0;
  }

  .public-profile {
    gap: 16px;
  }

  .profile-summary,
  .profile-details {
    padding: 22px;
  }

  .info-page .page-header {
    padding: 24px;
  }

  .modal {
    padding: 22px;
  }

  #authDialog {
    width: calc(100% - 20px);
  }

  #emailVerificationDialog,
  #providerAuthDialog {
    width: calc(100% - 20px);
    padding: 22px;
  }

  #profileEditDialog {
    width: calc(100% - 20px);
    height: calc(100vh - 20px);
    height: calc(100dvh - 20px);
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    overflow: auto;
  }

  .verification-content h2 {
    font-size: 1.7rem;
  }

  .verification-actions,
  .demo-code-panel {
    grid-template-columns: 1fr;
  }

  .demo-code-panel strong {
    grid-row: auto;
  }

  .site-footer {
    padding-inline: 18px;
  }
}

@media (max-width: 420px) {
  .site-header .brand {
    min-width: 76px;
  }

  .site-header .brand-logo {
    width: 62px;
  }

  .landing-hero-copy h1 {
    font-size: 2.3rem;
  }

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

  .hero-stats span {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 10px;
    align-items: baseline;
  }

  .hero-stats small {
    font-size: 0.66rem;
  }

  .landing-hero-visual img {
    height: 360px;
  }

  .hero-job-preview > b {
    display: none;
  }

  .hero-job-preview {
    grid-template-columns: minmax(0, 1fr) 40px;
  }
}

@media (max-width: 920px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pricing-image {
    width: min(360px, 100%);
    margin-inline: auto;
  }

  .pricing-copy {
    max-width: 680px;
    margin-inline: auto;
  }

  .process-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .process-row:first-child {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-card,
  .process-image {
    grid-column: 1;
    width: 100%;
    justify-self: stretch;
  }

  .process-row:first-child .process-card,
  .process-row:first-child .process-image {
    grid-column: 1;
  }

  .process-row:first-child .process-card {
    grid-row: 1;
  }

  .process-row:first-child .process-image {
    grid-row: 2;
  }

  .process-image {
    width: 100%;
  }

  .process-card-heading {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .pricing-audience {
    grid-template-columns: 1fr;
  }

  .pricing-audience p {
    padding-left: 0;
  }

  .pricing-lead {
    font-size: 1.12rem !important;
  }

  .showcase-categories {
    justify-content: flex-start;
    margin-top: -4px;
  }

  .process-heading {
    margin-bottom: 28px;
    text-align: left;
  }

  .process-heading p {
    font-size: 0.92rem;
  }

  .process-card {
    padding: 24px 20px;
  }

  .process-card-heading {
    padding-bottom: 20px;
  }

  .process-card-heading h3 {
    font-size: 1.32rem;
  }

  .process-steps {
    padding-bottom: 22px;
  }

  .process-steps li {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 0;
  }

  .process-number {
    width: 50px;
    height: 42px;
  }

  .process-cta {
    width: 100%;
  }
}

.dashboard-hero{display:block;padding:28px 36px}.dashboard-hero h1{margin-bottom:8px;font-size:clamp(2.2rem,4vw,3.5rem)}.dashboard-stat-card{width:100%;cursor:pointer;text-align:left}.dashboard-stat-card:hover,.dashboard-stat-card:focus-visible,.dashboard-work-item:hover,.dashboard-work-item:focus-visible{border-color:var(--color-yellow);background:#fffaf0;outline:2px solid var(--color-yellow);outline-offset:2px}.dashboard-focus-panel{margin-bottom:18px}.dashboard-work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}.dashboard-work-list{display:grid;gap:8px}.dashboard-work-item{width:100%;display:grid;gap:5px;padding:14px 0;border:0;border-top:1px solid var(--color-border);background:transparent;color:var(--color-black);text-align:left;cursor:pointer}.dashboard-work-item:first-child{border-top:0;padding-top:0}.dashboard-work-item strong{font-family:var(--font-display);font-size:1rem}.dashboard-work-item span,.dashboard-work-item em{color:var(--color-text-muted);font-size:.86rem;font-style:normal}.dashboard-work-item em{color:var(--color-black);font-weight:700}.dashboard-work-empty{display:grid;gap:9px;color:var(--color-text-muted)}.dashboard-work-empty strong{color:var(--color-black)}.dashboard-list-link{width:100%;margin-top:16px;padding:12px 0 0;border:0;border-top:1px solid var(--color-border);background:transparent;color:var(--color-black);font-family:var(--font-display);font-weight:700;text-align:left;cursor:pointer}.dashboard-empty-copy{margin:0;color:var(--color-text-muted)}@media(max-width:840px){.dashboard-work-grid{grid-template-columns:1fr}}@media(max-width:680px){.dashboard-hero{padding:22px}.dashboard-work-grid{gap:14px}}

/* Refined account dialog in the existing Grapit palette. */
#authDialog { width:min(660px,calc(100% - 32px)); padding:32px; border-color:#303030; border-radius:20px; background:#0c0c0c; box-shadow:0 24px 90px rgb(0 0 0 / 45%); color-scheme:dark; }
#authDialog .auth-tabs { gap:4px; padding:4px; margin-bottom:28px; border:1px solid #292929; border-radius:12px; background:#151515; }
#authDialog .auth-tab { min-height:40px; border:0; border-radius:8px; font-size:.9rem; }
#authDialog .auth-tab.active { background:var(--color-yellow); color:#111; }
#authDialog .modal-close { border-radius:10px; }
#authDialog .auth-form { gap:20px; }
#authDialog .registration-eyebrow { margin:0 0 10px; color:var(--color-yellow); font-size:.68rem; font-weight:800; letter-spacing:.13em; }
#authDialog .auth-form h2 { margin:0; font-size:clamp(1.45rem,3vw,1.85rem); line-height:1.2; letter-spacing:-.035em; }
#authDialog .auth-step-note { margin-top:-8px; line-height:1.6; }
#authDialog .auth-provider-choice legend { margin-bottom:10px; font-weight:600; }
#authDialog .auth-provider-options { gap:10px; }
#authDialog .auth-provider-option { flex-direction:column; justify-content:center; gap:10px; min-height:92px; padding:12px 8px; border-radius:12px; }
#authDialog .auth-provider-option img { width:80px; max-width:100%; height:28px; flex:0 0 28px; }
#authDialog .auth-provider-option strong { font-size:.8rem; }
#authDialog .auth-provider-option:has(input:checked) { background:#211c0e; border-color:var(--color-yellow); box-shadow:none; }
#authDialog .auth-form > label, #authDialog .two-col > label { display:grid; gap:8px; font-size:.85rem; font-weight:600; }
#authDialog .auth-form input:not([type="radio"]) { min-width:0; min-height:48px; padding:12px 14px; border:1px solid #393939; border-radius:10px; background:#181818; color:#fafafa; font-size:.94rem; }
#authDialog input::placeholder { color:#898989; font-weight:400; }
#authDialog input:focus-visible, #authDialog button:focus-visible, #authDialog .auth-provider-option:focus-visible, #authDialog .auth-provider-option:has(input:focus-visible) { outline:2px solid var(--color-yellow); outline-offset:3px; }
#authDialog .auth-process-note { padding:0 0 0 12px; border-left-width:2px; background:transparent; color:#aaa9a3; font-size:.8rem; }
#authDialog .button.primary { min-height:48px; border-radius:10px; }
@media (max-width:560px) {
  #authDialog { padding:22px 18px; border-radius:16px; }
  #authDialog .auth-tabs { margin-right:48px; }
  #authDialog .auth-provider-options { grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
  #authDialog .auth-provider-option strong { font-size:.7rem; }
  #authDialog .two-col { grid-template-columns:1fr; gap:16px; }
}

/* Approved two-mode signed-in dashboard */
.dashboard-wordmark {
  display: none;
  color: currentColor;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
  text-transform: none;
}

.dashboard-wordmark span {
  color: #ff6b00;
}

.dashboard-header-search {
  display: none;
}

body[data-current-route="dashboard"] {
  background: #f5f8fa;
}

body[data-current-route="dashboard"][data-dashboard-mode="employer"] {
  background: #090f12;
}

body[data-current-route="dashboard"] .site-header {
  min-height: 64px;
  grid-template-columns: 190px minmax(440px, 800px) auto;
  gap: 22px;
  padding-inline: max(32px, calc((100vw - 1536px) / 2));
  border-bottom-color: #dfe5ea;
  background: #ffffff;
  color: #101522;
}

body[data-current-route="dashboard"] .site-header .brand {
  min-width: 126px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: var(--color-white);
}

body[data-current-route="dashboard"] .site-header .brand-logo {
  display: block;
  width: 106px;
}

body[data-current-route="dashboard"] .main-nav,
body[data-current-route="dashboard"] .nav-toggle {
  display: none !important;
}

body[data-current-route="dashboard"] .dashboard-header-search:not([hidden]) {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(280px, 2fr) minmax(190px, 0.8fr);
  gap: 12px;
  justify-self: stretch;
}

.dashboard-search-field,
.dashboard-location-field {
  min-width: 0;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 15px;
  border: 1px solid #dce3e9;
  border-radius: 8px;
  background: #f2f6f9;
  color: #182238;
}

.dashboard-search-field input,
.dashboard-location-field input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 0.92rem;
  box-shadow: none;
}

.dashboard-search-field input:focus,
.dashboard-location-field input:focus {
  border: 0;
  box-shadow: none;
  outline: 0;
}

body[data-current-route="dashboard"] .icon-button,
body[data-current-route="dashboard"] .profile-menu-button {
  border-color: transparent;
  background: transparent;
  color: #101522;
}

body[data-current-route="dashboard"] .profile-menu-button::after {
  content: "⌄";
  margin-left: 5px;
  font-size: 0.9rem;
}

body[data-current-route="dashboard"] .header-avatar {
  width: 42px;
  height: 42px;
  border: 1px solid #24314b;
  background: #15213b;
  color: #ffffff;
}

body[data-current-route="dashboard"] .notification-button b {
  border-color: #ffffff;
  background: #ff6b00;
  color: #111111;
}

body[data-current-route="dashboard"][data-dashboard-mode="employer"] .site-header {
  border-bottom-color: #263138;
  background: #0b1216;
  color: #ffffff;
}

body[data-current-route="dashboard"][data-dashboard-mode="employer"] .site-header .brand,
body[data-current-route="dashboard"][data-dashboard-mode="employer"] .icon-button,
body[data-current-route="dashboard"][data-dashboard-mode="employer"] .profile-menu-button {
  color: #ffffff;
}

body[data-current-route="dashboard"][data-dashboard-mode="employer"] .dashboard-search-field,
body[data-current-route="dashboard"][data-dashboard-mode="employer"] .dashboard-location-field {
  border-color: #303d44;
  background: #141d22;
  color: #eef2f4;
}

body[data-current-route="dashboard"][data-dashboard-mode="employer"] .notification-button b {
  border-color: #0b1216;
}

.dashboard-view {
  min-height: calc(100vh - var(--header-height));
  background: #f5f8fa;
  color: #101522;
}

.dashboard-view[data-dashboard-mode="employer"] {
  background: #090f12;
  color: #f4f6f7;
}

.dashboard-shell {
  width: min(1536px, calc(100% - 64px));
  margin: 0 auto;
  padding: 16px 0 32px;
}

.dashboard-view .dashboard-hero {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(590px, 660px);
  gap: 32px;
  align-items: center;
  margin: 0;
  padding: 0 10px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

.dashboard-view .dashboard-hero h1 {
  margin: 0 0 4px;
  color: #101522;
  font-size: clamp(2.35rem, 3vw, 3.35rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.dashboard-view .dashboard-hero h1 span {
  color: #ff6400;
}

.dashboard-view .dashboard-hero p {
  max-width: 760px;
  margin: 0;
  color: #566782;
  font-size: 0.98rem;
  line-height: 1.45;
}

.dashboard-view[data-dashboard-mode="employer"] .dashboard-hero h1 {
  color: #ffffff;
}

.dashboard-view[data-dashboard-mode="employer"] .dashboard-hero p {
  color: #c5cdd1;
}

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

.dashboard-mode-button {
  min-width: 0;
  min-height: 84px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  padding: 12px 18px;
  border: 1px solid #162036;
  border-radius: 10px;
  background: #ffffff;
  color: #101522;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 5px 12px rgba(29, 47, 69, 0.04);
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.dashboard-mode-button:hover {
  transform: translateY(-1px);
}

.dashboard-mode-button.employer {
  border-color: #ff9900;
  background: #ffad08;
  color: #101010;
}

.dashboard-mode-button.active {
  box-shadow: 0 0 0 2px currentColor inset;
}

.dashboard-mode-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 3px solid currentColor;
  border-radius: 10px;
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1;
}

.dashboard-mode-button strong,
.dashboard-mode-button small {
  display: block;
  text-align: left;
}

.dashboard-mode-button strong {
  margin-bottom: 3px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.1;
}

.dashboard-mode-button small {
  color: #38465f;
  font-size: 0.82rem;
  line-height: 1.3;
}

.dashboard-mode-button.employer small {
  color: #2e260f;
}

.dashboard-view .dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}

.dashboard-view .dashboard-stat-card {
  width: 100%;
  min-height: 104px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 18px;
  gap: 15px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid #dfe5ea;
  border-radius: 9px;
  background: #ffffff;
  color: #101522;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(24, 38, 58, 0.035);
}

.dashboard-view .dashboard-stat-card:hover,
.dashboard-view .dashboard-stat-card:focus-visible {
  border-color: #9ca9b7;
  background: #ffffff;
  outline: 2px solid #ff9f00;
  outline-offset: 2px;
}

.dashboard-stat-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}

.dashboard-stat-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tone-green .dashboard-stat-icon { background: #def8e8; color: #05a951; }
.tone-orange .dashboard-stat-icon { background: #fff0df; color: #ff6400; }
.tone-blue .dashboard-stat-icon { background: #e1f2ff; color: #0878ef; }
.tone-pink .dashboard-stat-icon { background: #ffe5ee; color: #f32058; }

.dashboard-stat-copy {
  min-width: 0;
  display: grid;
  align-content: center;
}

.dashboard-view .dashboard-stat-copy strong {
  margin: 0 0 1px;
  color: inherit;
  font-size: 1.7rem;
  line-height: 1;
}

.dashboard-stat-copy b {
  overflow: hidden;
  color: inherit;
  font-size: 0.92rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-stat-copy small {
  overflow: hidden;
  margin-top: 4px;
  color: #647590;
  font-size: 0.76rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-stat-arrow {
  color: #314361;
  font-size: 1.9rem;
  font-weight: 300;
}

.dashboard-view .dashboard-panel {
  padding: 18px;
  border: 1px solid #dfe5ea;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 5px 18px rgba(24, 38, 58, 0.035);
}

.dashboard-view .dashboard-panel-heading {
  margin: 0 0 14px;
}

.dashboard-view .dashboard-panel-heading h2,
.dashboard-quick-post-heading h2 {
  margin: 0;
  color: inherit;
  font-size: 1.45rem;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.dashboard-view .dashboard-panel-heading p,
.dashboard-quick-post-heading p {
  margin: 4px 0 0;
  color: #65758e;
  font-size: 0.82rem;
  line-height: 1.4;
}

.dashboard-recommended-heading,
.dashboard-table-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.dashboard-heading-actions {
  display: flex;
  gap: 12px;
}

.dashboard-secondary-button,
.dashboard-outline-cta,
.dashboard-text-link,
.dashboard-view-applicant {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid #d6dfe7;
  border-radius: 8px;
  background: #f8fafc;
  color: #172036;
  font-weight: 700;
  cursor: pointer;
}

.dashboard-outline-cta {
  min-width: 180px;
  border-color: #ff6b24;
  background: #ffffff;
  color: #f25b18;
}

.dashboard-outline-cta span,
.dashboard-text-link span {
  font-size: 1.35rem;
  line-height: 1;
}

.dashboard-job-list {
  overflow: hidden;
  border: 1px solid #dbe3e9;
  border-radius: 9px;
}

.dashboard-job-row {
  width: 100%;
  min-height: 68px;
  display: grid;
  grid-template-columns: 135px minmax(280px, 1.8fr) minmax(170px, 0.8fr) minmax(160px, 0.75fr) 105px 18px;
  gap: 16px;
  align-items: center;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid #dbe3e9;
  background: #ffffff;
  color: #101522;
  text-align: left;
  cursor: pointer;
}

.dashboard-job-row:last-child {
  border-bottom: 0;
}

.dashboard-job-row:hover {
  background: #f8fafc;
}

.dashboard-job-row > .tag {
  width: 100%;
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
}

.dashboard-job-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.dashboard-job-copy strong {
  overflow: hidden;
  font-size: 0.96rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-job-copy small {
  overflow: hidden;
  color: #60718d;
  font-size: 0.8rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-job-meta,
.dashboard-employer-cell,
.dashboard-applicant-location {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #526784;
  font-size: 0.8rem;
  line-height: 1.25;
}

.dashboard-job-meta svg,
.dashboard-employer-cell > svg,
.dashboard-applicant-location svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-job-pay {
  color: #101522;
  font-size: 0.92rem;
  text-align: right;
  white-space: nowrap;
}

.dashboard-row-arrow {
  color: #213657;
  font-size: 1.7rem;
}

.dashboard-list-empty {
  display: grid;
  gap: 4px;
  padding: 30px;
  color: #5e6d82;
  text-align: center;
}

.dashboard-list-empty strong {
  color: #111827;
}

.dashboard-view[data-dashboard-mode="employer"] .dashboard-stats {
  margin-top: 0;
}

.dashboard-view[data-dashboard-mode="employer"] .dashboard-stat-card,
.dashboard-view[data-dashboard-mode="employer"] .dashboard-panel {
  border-color: #28343b;
  background: #11191d;
  color: #f5f7f8;
  box-shadow: none;
}

.dashboard-view[data-dashboard-mode="employer"] .dashboard-stat-card:hover,
.dashboard-view[data-dashboard-mode="employer"] .dashboard-stat-card:focus-visible {
  border-color: #64737b;
  background: #151f24;
}

.dashboard-view[data-dashboard-mode="employer"] .dashboard-stat-copy small,
.dashboard-view[data-dashboard-mode="employer"] .dashboard-stat-arrow,
.dashboard-view[data-dashboard-mode="employer"] .dashboard-panel-heading p,
.dashboard-view[data-dashboard-mode="employer"] .dashboard-quick-post-heading p {
  color: #aab5bb;
}

.dashboard-view[data-dashboard-mode="employer"] .dashboard-stat-copy,
.dashboard-view[data-dashboard-mode="employer"] .dashboard-stat-copy strong,
.dashboard-view[data-dashboard-mode="employer"] .dashboard-stat-copy b {
  color: #f5f7f8;
}

.dashboard-view[data-dashboard-mode="employer"] .tone-green .dashboard-stat-icon { background: #0b382c; color: #08d17a; }
.dashboard-view[data-dashboard-mode="employer"] .tone-orange .dashboard-stat-icon { background: #382a16; color: #ff8500; }
.dashboard-view[data-dashboard-mode="employer"] .tone-blue .dashboard-stat-icon { background: #102e45; color: #1595ff; }
.dashboard-view[data-dashboard-mode="employer"] .tone-pink .dashboard-stat-icon { background: #3a1d2a; color: #ff356a; }

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

.dashboard-employer-main {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.dashboard-table-heading {
  grid-template-columns: 42px minmax(0, 1fr) auto;
}

.dashboard-heading-icon,
.dashboard-quick-post-heading > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #ff7900;
  color: #101010;
  font-size: 1.5rem;
  font-weight: 800;
}

.dashboard-heading-icon.people {
  background: transparent;
  color: #ff8500;
}

.dashboard-view[data-dashboard-mode="employer"] .dashboard-secondary-button,
.dashboard-view[data-dashboard-mode="employer"] .dashboard-view-applicant {
  border-color: #334148;
  background: #151f24;
  color: #f4f6f7;
}

.dashboard-text-link {
  min-height: 0;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #1499ff;
}

.dashboard-employer-table-head,
.dashboard-employer-job-row {
  display: grid;
  grid-template-columns: minmax(230px, 2fr) minmax(140px, 1.15fr) minmax(145px, 1.2fr) minmax(95px, 0.78fr) minmax(120px, 0.9fr) 24px;
  gap: 13px;
  align-items: center;
}

.dashboard-employer-table-head {
  padding: 8px 12px;
  border: 1px solid #2a353b;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  color: #9da9af;
  font-size: 0.67rem;
  text-transform: uppercase;
}

.dashboard-employer-jobs {
  overflow: hidden;
  border: 1px solid #2a353b;
  border-radius: 0 0 8px 8px;
}

.dashboard-employer-job-row {
  width: 100%;
  min-height: 57px;
  padding: 8px 12px;
  border: 0;
  border-bottom: 1px solid #2a353b;
  background: #10181c;
  color: #f5f7f8;
  text-align: left;
  cursor: pointer;
}

.dashboard-employer-job-row:last-child {
  border-bottom: 0;
}

.dashboard-employer-job-row:hover {
  background: #162126;
}

.dashboard-employer-title {
  min-width: 0;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.dashboard-employer-title > span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.dashboard-employer-title strong {
  overflow: hidden;
  font-size: 0.81rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-employer-title .tag {
  width: fit-content;
  min-height: 0;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 0.61rem;
}

.dashboard-category-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}


.dashboard-employer-cell {
  color: #c2cbd0;
  font-size: 0.72rem;
}

.dashboard-employer-cell span {
  min-width: 0;
}

.dashboard-employer-cell small {
  display: block;
  margin-top: 2px;
  color: #9da9af;
  font-size: 0.66rem;
}

.applicants-count > svg {
  fill: none;
  stroke: currentColor;
}

.dashboard-status {
  min-height: 32px;
  display: inline-grid;
  place-items: center;
  padding: 6px 9px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
}

.dashboard-status.active { background: #075d3e; color: #bdf9df; }
.dashboard-status.progress { background: #074a86; color: #bfe2ff; }
.dashboard-status.closed { background: #29343a; color: #e5e9eb; }

.dashboard-more {
  color: #b3bdc2;
  font-size: 1.2rem;
  text-align: center;
}

.dashboard-fresh-applicants {
  overflow: hidden;
  border: 1px solid #2a353b;
  border-radius: 8px;
}

.dashboard-applicant-row {
  min-height: 54px;
  display: grid;
  grid-template-columns: 32px minmax(105px, 0.9fr) minmax(150px, 1.3fr) minmax(135px, 1.1fr) 72px 112px 112px 20px;
  gap: 11px;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid #2a353b;
  color: #eef2f4;
}

.dashboard-applicant-row:last-child {
  border-bottom: 0;
}

.dashboard-applicant-row .avatar.small {
  width: 32px;
  height: 32px;
  font-size: 0.62rem;
}

.dashboard-applicant-row > strong,
.dashboard-applicant-job,
.dashboard-applicant-location,
.dashboard-applicant-row time {
  overflow: hidden;
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-applicant-job,
.dashboard-applicant-location,
.dashboard-applicant-row time {
  color: #b9c3c8;
}

.dashboard-applicant-status {
  min-height: 31px;
  display: grid;
  place-items: center;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 0.67rem;
  font-weight: 700;
}

.dashboard-applicant-status.new { background: #064d8e; color: #bfe3ff; }
.dashboard-applicant-status.ongoing { background: #4a3211; color: #ffc04d; }

.dashboard-view-applicant {
  min-height: 32px;
  padding: 5px 10px;
  font-size: 0.68rem;
}

.dashboard-quick-post {
  position: sticky;
  top: calc(var(--header-height) + 16px);
}

.dashboard-quick-post-heading {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

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

.dashboard-quick-form label {
  display: grid;
  gap: 5px;
  color: #f2f5f6;
  font-size: 0.75rem;
  font-weight: 700;
}

.dashboard-quick-form input,
.dashboard-quick-form select,
.dashboard-quick-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid #35434b;
  border-radius: 7px;
  background: #182228;
  color: #f4f6f7;
  font-size: 0.76rem;
  box-shadow: none;
  color-scheme: dark;
}

.dashboard-quick-form textarea {
  min-height: 62px;
  resize: vertical;
}

.dashboard-quick-form input::placeholder,
.dashboard-quick-form textarea::placeholder {
  color: #93a0a7;
}

.dashboard-pay-fields {
  min-width: 0;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 128px;
}

.dashboard-pay-fields > * {
  border-radius: 0 !important;
}

.dashboard-pay-fields > :first-child {
  border-radius: 7px 0 0 7px !important;
}

.dashboard-pay-fields > :last-child {
  border-radius: 0 7px 7px 0 !important;
}

.dashboard-currency {
  display: grid;
  place-items: center;
  border: 1px solid #35434b;
  border-right: 0;
  background: #182228;
  color: #f4f6f7;
  font-size: 0.72rem;
}

.dashboard-pay-fields input {
  border-right: 0;
}

.dashboard-submit-job {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 2px;
  border: 1px solid #ff7900;
  border-radius: 7px;
  background: #ff7900;
  color: #101010;
  font-weight: 800;
  cursor: pointer;
}

.dashboard-submit-job:hover {
  background: #ff9125;
}

.dashboard-list-empty.dark {
  color: #a8b3b9;
}

.dashboard-list-empty.dark strong {
  color: #f4f6f7;
}

@media (max-width: 1320px) {
  body[data-current-route="dashboard"] .site-header {
    grid-template-columns: 150px minmax(420px, 1fr) auto;
    padding-inline: 28px;
  }

  .dashboard-shell {
    width: calc(100% - 48px);
  }

  .dashboard-view .dashboard-hero {
    grid-template-columns: minmax(290px, 1fr) minmax(540px, 600px);
  }

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

  .dashboard-employer-table-head,
  .dashboard-employer-job-row {
    grid-template-columns: minmax(210px, 1.8fr) minmax(120px, 1fr) minmax(125px, 1fr) 80px 115px 20px;
  }
}

@media (max-width: 1080px) {
  body[data-current-route="dashboard"] .site-header {
    grid-template-columns: 130px minmax(360px, 1fr) auto;
    gap: 14px;
  }

  body[data-current-route="dashboard"] .dashboard-header-search:not([hidden]) {
    grid-template-columns: minmax(220px, 1.45fr) minmax(150px, 0.75fr);
  }

  .dashboard-view .dashboard-hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .dashboard-mode-switch {
    width: min(680px, 100%);
  }

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

  .dashboard-job-row {
    grid-template-columns: 125px minmax(230px, 1.4fr) minmax(145px, 0.8fr) minmax(140px, 0.75fr) 95px 14px;
    gap: 11px;
  }

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

  .dashboard-quick-post {
    position: static;
  }

  .dashboard-quick-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .dashboard-quick-form label:last-of-type,
  .dashboard-submit-job {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  body[data-current-route="dashboard"] .site-header {
    grid-template-columns: 110px minmax(0, 1fr) auto;
    padding-inline: 18px;
  }

  body[data-current-route="dashboard"] .dashboard-header-search:not([hidden]) {
    grid-template-columns: 1fr;
  }

  .dashboard-location-field {
    display: none;
  }

  .dashboard-shell {
    width: calc(100% - 32px);
  }

  .dashboard-job-row {
    grid-template-columns: 120px minmax(0, 1fr) 110px 16px;
    gap: 12px;
  }

  .dashboard-job-meta.location {
    grid-column: 2;
  }

  .dashboard-job-meta.date {
    grid-column: 2;
  }

  .dashboard-job-pay {
    grid-column: 3;
    grid-row: 1 / span 3;
  }

  .dashboard-row-arrow {
    grid-column: 4;
    grid-row: 1 / span 3;
  }

  .dashboard-employer-table-head {
    display: none;
  }

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

  .dashboard-employer-job-row {
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 14px;
    border: 1px solid #2a353b;
    border-radius: 8px;
  }

  .dashboard-employer-title {
    grid-column: 1 / -1;
  }

  .dashboard-employer-cell {
    grid-column: 1 / -1;
  }

  .dashboard-status {
    grid-column: 1;
  }

  .dashboard-more {
    grid-column: 2;
  }

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

  .dashboard-applicant-row {
    min-width: 0;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 7px 10px;
    padding: 13px;
    border: 1px solid #2a353b;
    border-radius: 8px;
  }

  .dashboard-applicant-job,
  .dashboard-applicant-location,
  .dashboard-applicant-row time {
    grid-column: 2 / -1;
  }

  .dashboard-applicant-status {
    grid-column: 1 / span 2;
  }

  .dashboard-view-applicant {
    grid-column: 3;
  }

  .dashboard-applicant-row > .dashboard-more {
    display: none;
  }
}

@media (max-width: 680px) {
  body[data-current-route="dashboard"] .site-header {
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding-inline: 14px;
  }

  body[data-current-route="dashboard"] .dashboard-header-search {
    display: none !important;
  }

  body[data-current-route="dashboard"] .site-header .brand {
    min-width: 84px;
    padding: 5px 7px;
  }

  body[data-current-route="dashboard"] .site-header .brand-logo {
    width: 70px;
  }

  body[data-current-route="dashboard"] .header-actions {
    grid-column: 2;
  }

  .dashboard-shell {
    width: calc(100% - 24px);
    padding-top: 14px;
  }

  .dashboard-view .dashboard-hero {
    gap: 16px;
    padding: 0 0 16px;
  }

  .dashboard-view .dashboard-hero h1 {
    font-size: 2.2rem;
  }

  .dashboard-view .dashboard-hero p {
    font-size: 0.88rem;
  }

  .dashboard-mode-switch {
    gap: 8px;
  }

  .dashboard-mode-button {
    min-height: 76px;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .dashboard-mode-icon {
    width: 42px;
    height: 42px;
    border-width: 2px;
    font-size: 1.7rem;
  }

  .dashboard-mode-button strong {
    font-size: 0.82rem;
  }

  .dashboard-mode-button small {
    font-size: 0.65rem;
  }

  .dashboard-view .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .dashboard-view .dashboard-stat-card {
    min-width: 0;
    min-height: 106px;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .dashboard-stat-icon {
    width: 38px;
    height: 38px;
  }

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

  .dashboard-view .dashboard-stat-copy strong {
    font-size: 1.45rem;
  }

  .dashboard-stat-copy b {
    font-size: 0.74rem;
    white-space: normal;
  }

  .dashboard-stat-copy small {
    font-size: 0.64rem;
    white-space: normal;
  }

  .dashboard-stat-arrow {
    display: none;
  }

  .dashboard-view .dashboard-panel {
    padding: 13px;
  }

  .dashboard-recommended-heading,
  .dashboard-table-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dashboard-table-heading .dashboard-heading-icon {
    display: none;
  }

  .dashboard-heading-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .dashboard-outline-cta,
  .dashboard-secondary-button {
    min-width: 0;
    padding-inline: 10px;
    font-size: 0.75rem;
  }

  .dashboard-job-list {
    display: grid;
    gap: 9px;
    border: 0;
    border-radius: 0;
  }

  .dashboard-job-row {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 13px;
    border: 1px solid #dbe3e9;
    border-radius: 8px;
  }

  .dashboard-job-row > .tag {
    width: fit-content;
    min-height: 30px;
    grid-column: 1;
    padding: 6px 10px;
  }

  .dashboard-job-copy {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .dashboard-job-copy small {
    white-space: normal;
  }

  .dashboard-job-meta.location,
  .dashboard-job-meta.date {
    grid-column: 1;
    font-size: 0.72rem;
  }

  .dashboard-job-pay {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .dashboard-row-arrow {
    grid-column: 2;
    grid-row: 3 / span 2;
    align-self: center;
  }

  .dashboard-employer-jobs,
  .dashboard-fresh-applicants {
    grid-template-columns: 1fr;
  }

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

  .dashboard-quick-form label:last-of-type,
  .dashboard-submit-job {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .dashboard-mode-switch {
    grid-template-columns: 1fr;
  }

  .dashboard-mode-button {
    min-height: 68px;
  }

  .dashboard-pay-fields {
    grid-template-columns: 34px minmax(0, 1fr) 112px;
  }
}

/* Unified authenticated worker / employer application shell */
:root {
  --grapit-orange: #ff6b00;
  --grapit-black: #080f13;
  --worker-bg: #f5f8fa;
  --worker-card: #ffffff;
  --employer-bg: #080f13;
  --employer-card: #111b20;
  --border-light: #d8e0e4;
  --border-dark: #2a3941;
  --text-primary: #111522;
  --text-secondary: #65717a;
  --app-container: 1480px;
}

body[data-authenticated="true"] {
  background: var(--worker-bg);
}

body[data-authenticated="true"][data-dashboard-mode="employer"] {
  background: var(--employer-bg);
  color: #f4f7f8;
}

body[data-authenticated="true"] .site-footer {
  display: none;
}

body[data-authenticated="true"] .site-header {
  min-height: var(--header-height);
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  padding-inline: max(24px, calc((100vw - var(--app-container)) / 2));
  border-bottom: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-primary);
}

body[data-authenticated="true"][data-dashboard-mode="employer"] .site-header {
  border-bottom-color: var(--border-dark);
  background: #081014;
  color: #f5f7f8;
}

body[data-authenticated="true"] .site-header .brand {
  min-width: 126px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: #ffffff;
}

body[data-authenticated="true"] .site-header .brand-logo {
  display: block;
  width: 106px;
}

body[data-authenticated="true"] .main-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

body[data-authenticated="true"] .main-nav > a {
  position: relative;
  color: #4d5961;
  white-space: nowrap;
}

body[data-authenticated="true"][data-dashboard-mode="employer"] .main-nav > a {
  color: #c2cbd0;
}

body[data-authenticated="true"] .main-nav > a:hover,
body[data-authenticated="true"] .main-nav > a.active {
  background: transparent;
  color: var(--text-primary);
}

body[data-authenticated="true"][data-dashboard-mode="employer"] .main-nav > a:hover,
body[data-authenticated="true"][data-dashboard-mode="employer"] .main-nav > a.active {
  color: #ffffff;
}

body[data-authenticated="true"] .main-nav > a.active::after {
  position: absolute;
  right: 12px;
  bottom: 2px;
  left: 12px;
  height: 2px;
  background: var(--grapit-orange);
  content: "";
}

.compact-mode-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  margin-right: 8px;
  padding: 3px;
  border: 1px solid #c9d2d7;
  border-radius: var(--radius-sm);
  background: #edf1f3;
}

body[data-dashboard-mode="employer"] .compact-mode-switch {
  border-color: #34444c;
  background: #111b20;
}

.main-nav .compact-mode-switch button {
  min-height: 32px;
  padding: 6px 9px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #5e6970;
  font-size: 0.66rem;
  line-height: 1;
  white-space: nowrap;
}

.main-nav .compact-mode-switch button.active,
.main-nav .compact-mode-switch button[aria-pressed="true"] {
  background: #ffffff;
  color: #111522;
  box-shadow: 0 1px 3px rgba(8, 15, 19, 0.12);
}

body[data-dashboard-mode="employer"] .main-nav .compact-mode-switch button {
  color: #9fabb1;
}

body[data-dashboard-mode="employer"] .main-nav .compact-mode-switch button.active,
body[data-dashboard-mode="employer"] .main-nav .compact-mode-switch button[aria-pressed="true"] {
  background: var(--grapit-orange);
  color: #111;
  box-shadow: none;
}

.header-post-job-cta {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid #ff8a22;
  border-radius: var(--radius-sm);
  background: var(--grapit-orange);
  color: #111;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

.header-post-job-cta:hover {
  background: #ff812f;
}

body[data-authenticated="true"] .icon-button,
body[data-authenticated="true"] .profile-menu-button {
  color: currentColor;
}

body[data-authenticated="true"] .page-view {
  width: min(var(--app-container), calc(100% - 64px));
  min-height: calc(100vh - var(--header-height));
  padding: 36px 0 72px;
}

body[data-authenticated="true"] .page-header {
  min-height: 82px;
  align-items: end;
  margin-bottom: 22px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--border-light);
}

body[data-authenticated="true"] .page-header h1 {
  margin: 2px 0 0;
  color: var(--text-primary);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.05;
}

body[data-authenticated="true"] .page-header .eyebrow {
  margin: 0;
  color: #b85100;
  font-size: 0.68rem;
}

body[data-authenticated="true"] .page-header > p {
  max-width: 500px;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

body[data-authenticated="true"][data-dashboard-mode="employer"] .page-header {
  border-bottom-color: var(--border-dark);
}

body[data-authenticated="true"][data-dashboard-mode="employer"] .page-header h1,
body[data-authenticated="true"][data-dashboard-mode="employer"] .page-header .eyebrow {
  color: #f5f7f8;
}

body[data-authenticated="true"][data-dashboard-mode="employer"] .page-header .eyebrow {
  color: #ff8a22;
}

body[data-authenticated="true"][data-dashboard-mode="employer"] .page-header > p {
  color: #9ba8ae;
}

body[data-authenticated="true"] .filter-panel {
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--text-primary);
  border-radius: var(--radius-md);
  background: #ffffff;
}

body[data-authenticated="true"] .filter-panel input,
body[data-authenticated="true"] .filter-panel select,
body[data-authenticated="true"] .panel-form input,
body[data-authenticated="true"] .panel-form select,
body[data-authenticated="true"] .panel-form textarea {
  min-height: 42px;
  border-radius: var(--radius-sm);
}

.worker-job-row {
  width: 100%;
  min-height: 82px;
  display: grid;
  grid-template-columns: 116px minmax(260px, 1.4fr) minmax(140px, .7fr) minmax(190px, .8fr) 120px 28px;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--text-primary);
  text-align: left;
}

.worker-job-row:hover,
.worker-job-row:focus-visible {
  border-color: #98a7af;
  background: #fbfcfc;
  outline: none;
}

.worker-job-row .tag {
  justify-self: start;
}

.worker-job-copy,
.worker-job-meta,
.worker-job-meta > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.worker-job-copy strong {
  overflow: hidden;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.worker-job-copy small,
.worker-job-meta small {
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.worker-job-meta {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  color: #40505a;
  font-size: 0.76rem;
}

.worker-job-meta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #677780;
  stroke-width: 1.8;
}

.worker-job-pay {
  color: #111522;
  font-size: 0.84rem;
  text-align: right;
}

.worker-job-arrow,
.signed-row-arrow {
  color: var(--grapit-orange);
  font-size: 1.6rem;
}

.status-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.status-filter button {
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: #59666e;
  font-size: 0.74rem;
  font-weight: 700;
}

.status-filter button.active {
  border-color: var(--grapit-orange);
  background: #fff3e8;
  color: #a94400;
}

.application-card {
  min-height: 116px;
  padding: 18px 20px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: none;
}

.application-main h2 {
  margin: 8px 0 4px;
  font-size: 1.05rem;
}

.application-actions .button {
  min-height: 38px;
}

body[data-dashboard-mode="employer"] .status-filter button {
  border-color: var(--border-dark);
  background: var(--employer-card);
  color: #aeb9be;
}

body[data-dashboard-mode="employer"] .status-filter button.active {
  border-color: var(--grapit-orange);
  background: #2a2119;
  color: #ff9b45;
}

.signed-table-head,
.signed-data-row {
  display: grid;
  align-items: center;
  gap: 14px;
}

.posted-table-head,
.posted-data-row {
  grid-template-columns: minmax(260px, 1.5fr) minmax(130px, .75fr) minmax(170px, .8fr) 90px 80px 120px 24px;
}

.applicants-table-head,
.applicant-data-row {
  grid-template-columns: minmax(190px, .9fr) minmax(250px, 1.35fr) minmax(120px, .65fr) 110px 130px 110px;
}

.signed-table-head {
  min-height: 36px;
  padding: 0 16px;
  color: #8b999f;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.signed-data-row {
  width: 100%;
  min-height: 72px;
  margin-bottom: 8px;
  padding: 12px 16px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  background: var(--employer-card);
  color: #eaf0f2;
  text-align: left;
}

button.signed-data-row:hover,
button.signed-data-row:focus-visible {
  border-color: #52646d;
  background: #152229;
  outline: none;
}

.signed-row-primary,
.signed-row-period,
.applicant-data-row > span:not(.status) {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.signed-row-primary strong,
.applicant-data-row strong {
  overflow: hidden;
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signed-row-primary .tag {
  justify-self: start;
}

.signed-row-period small,
.applicant-data-row small {
  color: #91a0a7;
  font-size: 0.68rem;
}

.applicant-identity {
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
}

.applicants-filter-panel {
  max-width: 620px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  background: var(--employer-card);
}

.applicants-filter-panel label {
  display: grid;
  gap: 5px;
  color: #aeb9be;
  font-size: 0.72rem;
  font-weight: 700;
}

.applicants-filter-panel select {
  min-height: 42px;
  border-color: #35464f;
  background: #0c151a;
  color: #f3f6f7;
}

body[data-dashboard-mode="employer"] .panel-form,
body[data-dashboard-mode="employer"] .preview-panel,
body[data-dashboard-mode="employer"] .chat-shell,
body[data-dashboard-mode="employer"] .application-card,
body[data-dashboard-mode="employer"] .notification-row,
body[data-dashboard-mode="employer"] .profile-summary,
body[data-dashboard-mode="employer"] .profile-details {
  border-color: var(--border-dark);
  background: var(--employer-card);
  color: #f2f5f6;
}

body[data-dashboard-mode="employer"] .panel-form input,
body[data-dashboard-mode="employer"] .panel-form select,
body[data-dashboard-mode="employer"] .panel-form textarea {
  border-color: #364750;
  background: #0b1419;
  color: #f5f7f8;
  color-scheme: dark;
}

body[data-dashboard-mode="employer"] .panel-form label,
body[data-dashboard-mode="employer"] .preview-panel p,
body[data-dashboard-mode="employer"] .application-main p,
body[data-dashboard-mode="employer"] .posted-job-card p {
  color: #a6b1b6;
}

.reviews-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.reviews-summary article {
  min-height: 88px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
}

body[data-dashboard-mode="employer"] .reviews-summary article {
  border-color: var(--border-dark);
  background: var(--employer-card);
}

.reviews-summary strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.reviews-summary span {
  color: var(--text-secondary);
  font-size: 0.72rem;
}

body[data-dashboard-mode="employer"] .reviews-summary span {
  color: #96a3a9;
}

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

.review-card {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
}

body[data-dashboard-mode="employer"] .review-card {
  border-color: var(--border-dark);
  background: var(--employer-card);
}

.review-card h2,
.review-card p,
.review-card blockquote {
  margin: 0;
}

.review-card h2 {
  font-size: .9rem;
}

.review-card p,
.review-card blockquote,
.review-direction,
.review-score time {
  color: var(--text-secondary);
  font-size: .72rem;
}

body[data-dashboard-mode="employer"] .review-card p,
body[data-dashboard-mode="employer"] .review-card blockquote,
body[data-dashboard-mode="employer"] .review-direction,
body[data-dashboard-mode="employer"] .review-score time {
  color: #96a3a9;
}

.review-score {
  display: grid;
  gap: 4px;
  text-align: right;
}

.review-score strong {
  color: var(--grapit-orange);
}

.pending-review {
  grid-template-columns: minmax(0, 1fr) auto;
  border-left: 3px solid var(--grapit-orange);
}

.chat-role-badge {
  width: max-content;
  margin-top: 3px;
  padding: 3px 6px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--grapit-orange);
  font-size: .62rem;
  font-weight: 700;
}

body[data-dashboard-mode="employer"] .conversation-list,
body[data-dashboard-mode="employer"] .chat-window,
body[data-dashboard-mode="employer"] .chat-contact,
body[data-dashboard-mode="employer"] .chat-composer {
  border-color: var(--border-dark);
  background: var(--employer-card);
  color: #eff4f5;
}

body[data-dashboard-mode="employer"] .conversation-item {
  border-color: var(--border-dark);
  color: #edf2f4;
}

body[data-dashboard-mode="employer"] .conversation-item.active {
  background: #1a282f;
}

body[data-dashboard-mode="employer"] .chat-composer input {
  border-color: #364750;
  background: #0b1419;
  color: #ffffff;
}

.empty-state.compact {
  min-height: 128px;
  padding: 22px;
}

.empty-state.dark {
  border-color: var(--border-dark);
  background: var(--employer-card);
  color: #f1f5f6;
}

@media (max-width: 1240px) {
  body[data-authenticated="true"] .site-header {
    gap: 10px;
    padding-inline: 18px;
  }

  .main-nav .compact-mode-switch button {
    padding-inline: 7px;
    font-size: .61rem;
  }

  body[data-authenticated="true"] .main-nav > a {
    padding-inline: 8px;
    font-size: .7rem;
  }

  .worker-job-row {
    grid-template-columns: 105px minmax(220px, 1.3fr) 130px 180px 100px 24px;
    gap: 10px;
  }
}

@media (max-width: 1020px) {
  body[data-authenticated="true"] .site-header {
    grid-template-columns: auto auto minmax(0, 1fr);
  }

  body[data-authenticated="true"] .nav-toggle {
    display: inline-flex;
  }

  body[data-authenticated="true"] .main-nav {
    position: absolute;
    z-index: 30;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 14px 20px 20px;
    border-bottom: 1px solid var(--border-light);
    background: #ffffff;
  }

  body[data-authenticated="true"][data-dashboard-mode="employer"] .main-nav {
    border-bottom-color: var(--border-dark);
    background: #081014;
  }

  body[data-authenticated="true"] .main-nav.open {
    display: grid;
  }

  .compact-mode-switch {
    width: 100%;
    margin: 0 0 8px;
  }

  .worker-job-row {
    grid-template-columns: 105px minmax(220px, 1fr) 1fr 100px 24px;
  }

  .worker-job-meta:first-of-type {
    display: none;
  }

  .signed-table-head {
    display: none;
  }

  .posted-data-row,
  .applicant-data-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .signed-row-primary,
  .applicant-identity {
    grid-column: span 2;
  }
}

@media (max-width: 840px) {
  body[data-authenticated="true"] .site-header {
    grid-template-columns: auto auto minmax(0, 1fr);
    padding-inline: 12px;
  }

  body[data-authenticated="true"] .site-header .brand {
    min-width: 84px;
    padding: 5px 7px;
  }

  body[data-authenticated="true"] .site-header .brand-logo {
    width: 70px;
  }

  .header-post-job-cta {
    display: none;
  }

  body[data-authenticated="true"] .page-view {
    width: min(100% - 28px, var(--app-container));
    padding: 24px 0 52px;
  }

  body[data-authenticated="true"] .page-header {
    min-height: 0;
    align-items: start;
    margin-bottom: 16px;
    padding-bottom: 14px;
  }

  body[data-authenticated="true"] .page-header h1 {
    font-size: 1.75rem;
  }

  body[data-authenticated="true"] .page-header > p {
    font-size: .78rem;
  }

  body[data-authenticated="true"] .filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px;
  }

  .worker-job-row {
    min-height: 0;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    padding: 14px;
  }

  .worker-job-row .tag {
    grid-column: 1;
    grid-row: 1;
  }

  .worker-job-copy {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .worker-job-copy strong,
  .worker-job-copy small {
    white-space: normal;
  }

  .worker-job-meta {
    grid-column: 1 / 3;
  }

  .worker-job-meta:first-of-type {
    display: grid;
  }

  .worker-job-pay {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .worker-job-arrow {
    grid-column: 3;
    grid-row: 1 / 5;
    align-self: center;
  }

  .application-card {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .application-actions {
    justify-content: flex-start;
  }

  .posted-data-row,
  .applicant-data-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 15px;
  }

  .signed-row-primary,
  .applicant-identity {
    grid-column: 1 / -1;
  }

  .signed-data-row > [data-label]::before {
    display: block;
    margin-bottom: 3px;
    color: #718087;
    font-size: .58rem;
    font-weight: 700;
    text-transform: uppercase;
    content: attr(data-label);
  }

  .signed-row-arrow {
    position: absolute;
    right: 14px;
    top: 14px;
  }

  button.signed-data-row {
    position: relative;
  }

  .applicants-filter-panel,
  .reviews-summary {
    grid-template-columns: 1fr 1fr;
  }

  .review-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .review-score {
    grid-column: 2;
    text-align: left;
  }

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

@media (max-width: 430px) {
  body[data-authenticated="true"] .filter-panel,
  .applicants-filter-panel,
  .reviews-summary {
    grid-template-columns: 1fr;
  }

  .posted-data-row,
  .applicant-data-row {
    grid-template-columns: 1fr;
  }

  .application-actions .button,
  .applicant-data-row .button {
    width: 100%;
  }
}
/* Dashboard header keeps its contextual search while using the shared shell. */
body[data-authenticated="true"][data-current-route="dashboard"] .site-header {
  grid-template-columns: auto minmax(320px, 700px) auto;
}

@media (max-width: 680px) {
  body[data-authenticated="true"][data-current-route="dashboard"] .site-header {
    grid-template-columns: 1fr auto;
  }

  body[data-authenticated="true"][data-current-route="dashboard"] .dashboard-header-search {
    display: none !important;
  }
}
.job-payment,
.dashboard-job-pay,
.worker-job-pay {
  display: block;
  min-width: 0;
  max-width: 100%;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.4;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

.signed-row-primary .job-payment,
.dashboard-employer-title .job-payment,
.application-main .job-payment {
  color: var(--grapit-orange, #f5a800);
}

@media (max-width: 760px) {
  .dashboard-job-pay,
  .worker-job-pay {
    grid-column: 1 / -1;
    grid-row: auto;
    text-align: left;
  }
}
@media (max-width: 680px) {
  body.mobile-chat-open {
    overflow: hidden;
    overscroll-behavior: none;
  }
  body.mobile-chat-open > .site-header,
  body.mobile-chat-open > .site-footer,
  body.mobile-chat-open [data-view="messages"] > .page-header {
    display: none;
  }
  body.mobile-chat-open [data-view="messages"] {
    position: fixed;
    z-index: 1000;
    top: var(--chat-viewport-top, 0px);
    left: 0;
    width: 100%;
    max-width: none;
    height: var(--chat-viewport-height, 100dvh);
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  body.mobile-chat-open .chat-shell {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  body.mobile-chat-open .chat-window {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100%;
    min-height: 0;
    border: 0;
    border-radius: 0;
  }
  body.mobile-chat-open .chat-header {
    display: grid;
    grid-template-columns: 40px 40px minmax(0, 1fr) auto;
    padding: max(8px, env(safe-area-inset-top)) 10px 8px;
    gap: 8px;
  }
  body.mobile-chat-open .chat-header .button {
    grid-column: auto;
    width: auto;
    margin: 0;
  }
  body.mobile-chat-open .chat-header .avatar { width: 40px; height: 40px; }
  body.mobile-chat-open .chat-back {
    display: grid;
    min-height: 44px;
    padding: 0;
    color: #fff;
    background: #111;
    font-size: 28px;
    line-height: 1;
  }
  body.mobile-chat-open .chat-header > div > span {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
    line-height: 1.3;
  }
  body.mobile-chat-open .chat-role-badge { display: none; }
  body.mobile-chat-open .message-thread {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 12px;
  }
  body.mobile-chat-open .message-bubble { flex-shrink: 0; }
  body.mobile-chat-open .chat-composer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px 12px max(10px, env(safe-area-inset-bottom));
    margin: 0;
  }
  body.mobile-chat-open .chat-composer input {
    min-width: 0;
    min-height: 44px;
    font-size: 16px;
  }
  body.mobile-chat-open .chat-composer button { min-height: 44px; }
  body.mobile-chat-open .chat-mobile-details { flex-shrink: 0; font-size: 0.8rem; }
  body.mobile-chat-open .chat-mobile-details summary { cursor: pointer; padding: 8px 0; }
  body.mobile-chat-open .toast {
    top: calc(var(--chat-viewport-top, 0px) + 80px);
    bottom: auto;
    pointer-events: none;
  }
}
.chat-closed {
  padding: 16px;
  border-top: 1px solid var(--color-border);
  font-size: 0.95rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.recommendation-question { min-width: 0; margin: 0; padding: 0; border: 0; }
.recommendation-question legend { margin-bottom: 10px; font-weight: 700; }
.recommendation-options { display: flex; flex-wrap: wrap; gap: 10px; }
.recommendation-options .button { flex: 1 1 140px; min-height: 44px; white-space: normal; }
.recommendation-options .button[aria-pressed="true"] {
  border-color: #f5a800;
  background: #f5a800;
  color: #111;
  box-shadow: inset 0 0 0 2px #111;
}
.profile-recommendations { display: grid; gap: 12px; margin: 16px 0; text-align: left; }
.profile-recommendations h3 { margin: 0 0 4px; font-size: 0.95rem; }
.profile-recommendations p { margin: 0; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.toast.report-confirmation {
  background: #111;
  color: #fff;
  font-size: 1rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
