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

[hidden] {
  display: none !important;
}

body,
.sb-front-page {
  background: #f8fbfd;
}

.sb-main,
.sb-front-page .sb-main {
  position: relative;
  min-height: 100vh;
  padding: 82px 32px 32px 136px !important;
  color: #13223a;
}

.sb-main::before {
  display: none !important;
}

.dashboard-shell {
  width: min(1200px, 100%);
  min-height: 100%;
  margin: 0 auto;
  padding: 0 0 28px;
}

.dashboard-shell a {
  text-decoration: none;
}

.dashboard-hero {
  text-align: center;
  margin-bottom: 24px;
  padding: 0;
}

.dashboard-hero h1 {
  margin: 0;
  color: #101a31;
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  font-size: clamp(42px, 4.6vw, 64px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
}

.dashboard-hero p {
  margin: 8px 0 0;
  color: #657084;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.45;
}

.dashboard-welcome-card {
  width: min(980px, 100%);
  display: grid;
  gap: 14px;
  margin: 0 auto 24px;
  padding: 28px 32px;
  border: 1px solid rgba(92, 77, 67, 0.1);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(20, 32, 45, 0.07);
}

.dashboard-welcome-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.dashboard-welcome-head--simple {
  display: grid;
  justify-content: stretch;
  gap: 4px;
}

.dashboard-start-label {
  margin: 0;
  color: #14213d;
  font-family: Inter, system-ui, sans-serif;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: 0;
}

.dashboard-start-helper {
  max-width: 640px;
  margin: 0;
  color: rgba(20, 32, 45, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.dashboard-welcome-panel {
  display: grid;
  gap: 12px;
}

.dashboard-welcome-panel[hidden] {
  display: none !important;
}

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

.dashboard-start-form textarea {
  width: 100%;
  min-height: 70px;
  padding: 18px 20px;
  border: 1px solid rgba(92, 77, 67, 0.16);
  border-radius: 18px;
  outline: 0;
  color: #17233a;
  background: #fff;
  font: inherit;
  font-size: 15px;
  line-height: 1.45;
  resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dashboard-start-form textarea:focus {
  border-color: #168CA4;
  box-shadow: 0 0 0 4px rgba(22, 140, 164, 0.12);
}

.dashboard-start-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 14px;
}

.dashboard-start-button {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: #168CA4;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.dashboard-start-button:hover,
.dashboard-start-button:focus-visible {
  background: #0F7F97;
}

.dashboard-start-button:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(22, 140, 164, 0.16);
}

.dashboard-start-link {
  padding: 0;
  border: 0;
  color: rgba(20, 32, 45, 0.82);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.dashboard-start-actions a {
  color: rgba(20, 32, 45, 0.82);
  font-size: 14px;
  font-weight: 700;
}

.dashboard-start-actions a:hover,
.dashboard-start-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ai-assistant-card {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.dashboard-smart-card {
  display: grid;
  gap: 10px;
}

.dashboard-assistant-prompts {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.dashboard-assistant-prompts button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(92, 77, 67, 0.12);
  border-radius: 999px;
  color: rgba(20, 32, 45, 0.78);
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.dashboard-assistant-prompts button:hover {
  border-color: rgba(22, 140, 164, 0.22);
  color: #2f5549;
}

.assistant-composer {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 34px auto;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 7px 8px 7px 10px;
  border: 1px solid rgba(27, 54, 86, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 42px rgba(31, 58, 88, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
}

.dashboard-smart-composer {
  min-height: 68px;
  border-color: rgba(92, 77, 67, 0.13);
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(20, 32, 45, 0.055);
  backdrop-filter: none;
}

.ai-assistant-card.is-focused .assistant-composer {
  border-color: rgba(22, 140, 164, 0.34);
  box-shadow: 0 14px 34px rgba(20, 32, 45, 0.07), 0 0 0 4px rgba(22, 140, 164, 0.12);
}

.assistant-composer input,
.assistant-composer textarea {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #17233a;
  background: transparent;
  font-size: 16px;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.assistant-composer textarea {
  min-height: 44px;
  max-height: 96px;
  padding: 11px 0;
  resize: vertical;
}

.assistant-composer input::placeholder,
.assistant-composer textarea::placeholder {
  color: #637083;
  opacity: 1;
  text-overflow: ellipsis;
}

.composer-icon,
.composer-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
}

.composer-icon {
  color: #168CA4;
  background: transparent;
}

.composer-icon--add {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: rgba(22, 140, 164, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.composer-icon--mic {
  color: #7a8494;
}

.composer-icon svg,
.composer-send svg,
.dashboard-action svg,
.work-card-action svg,
.row-icon svg,
.decision-icon svg,
.recent-empty-icon svg,
.dashboard-ai-close svg,
.assistant-spark svg {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.composer-send {
  min-width: 114px;
  height: 48px;
  gap: 8px;
  padding: 0 16px;
  border-radius: 17px;
  color: #fff;
  background: #168CA4;
  box-shadow: none;
  font-size: 14px;
  font-weight: 800;
}

.composer-send:hover,
.composer-send:focus-visible {
  background: #0F7F97;
}

.composer-send:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(22, 140, 164, 0.16);
}

.composer-send:disabled {
  cursor: default;
  opacity: 0.52;
}

.composer-send svg {
  width: 19px;
  height: 19px;
}

.dashboard-smart-examples {
  color: rgba(20, 32, 45, 0.62);
  font-size: 13px;
  line-height: 1.45;
}

.dashboard-active-stack {
  display: grid;
  gap: 26px;
}

.dashboard-section-heading {
  display: flex;
  /* align-items: flex-end; */
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.dashboard-section-heading h2 {
  margin: 0;
  color: #111b34;
  font-family: Inter, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 750;
  line-height: 1.2;
}

.dashboard-section-heading p {
  max-width: 460px;
  margin: 0;
  color: #657084;
  font-size: 14px;
  line-height: 1.45;
}

.dashboard-section-heading--small {
  margin-bottom: 10px;
}

.dashboard-section-heading--small h2 {
  font-size: 18px;
}

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

.dashboard-summary-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label action"
    "count action"
    "status action";
  align-items: center;
  gap: 4px 16px;
  padding: 18px 20px;
  border: 1px solid rgba(92, 77, 67, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(20, 32, 45, 0.055);
}

.dashboard-summary-label {
  grid-area: label;
  color: rgba(20, 32, 45, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.dashboard-summary-card strong {
  grid-area: count;
  min-width: 0;
  color: #101a31;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.dashboard-summary-card p {
  grid-area: status;
  margin: 0;
  color: #657084;
  font-size: 13px;
  line-height: 1.4;
}

.dashboard-summary-card a {
  grid-area: action;
  justify-self: end;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 12px;
  color: #2f5549;
  background: rgba(22, 140, 164, 0.09);
  font-size: 13px;
  font-weight: 800;
}

.dashboard-summary-card a:hover {
  background: rgba(22, 140, 164, 0.14);
}

.dashboard-work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 0;
}

.dashboard-work-card {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(27, 54, 86, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 48px rgba(31, 58, 88, 0.08);
  backdrop-filter: blur(14px);
}

.work-card-header {
  min-height: 58px;
  display: grid;
  grid-template-rows: auto auto;
  gap: 6px;
}

.work-card-title-row,
.work-card-subrow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.work-card-header h2 {
  margin: 0;
  color: #111b34;
  font-family: Inter, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.work-card-count {
  min-width: 32px;
  height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(42, 159, 192, 0.2);
  border-radius: 999px;
  color: #0b6f96;
  background: rgba(232, 247, 251, 0.88);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.work-card-header p {
  min-width: 0;
  max-width: 260px;
  margin: 0;
  color: #657084;
  font-size: 13px;
  line-height: 1.45;
}

.work-card-action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #087fb2;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.work-card-action:hover {
  color: #0b6f96;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.recent-list {
  min-height: 144px;
  display: grid;
  gap: 12px;
}

.recent-row {
  min-width: 0;
  max-height: 64px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  grid-template-areas:
    "icon main meta"
    "icon main time";
  gap: 2px 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(27, 54, 86, 0.09);
  border-radius: 12px;
  color: #27334a;
  background: rgba(255, 255, 255, 0.68);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.recent-row:hover {
  border-color: rgba(42, 159, 192, 0.2);
  background: rgba(248, 251, 253, 0.94);
  transform: translateY(-1px);
}

.row-icon {
  grid-area: icon;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

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

.row-icon--blue {
  color: #0b8bbf;
  background: rgba(11, 139, 191, 0.1);
}

.row-icon--green {
  color: #0f946b;
  background: rgba(15, 148, 107, 0.1);
}

.row-icon--purple {
  color: #6554c7;
  background: rgba(101, 84, 199, 0.1);
}

.recent-row-main {
  grid-area: main;
  min-width: 0;
  display: grid;
  gap: 5px;
}

.recent-row-main strong,
.recent-row-main span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-row-main strong {
  color: #16223a;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.25;
}

.recent-row-main span {
  color: #667085;
  font-size: 14px;
  line-height: 1.25;
}

.status-badge {
  grid-area: meta;
  width: fit-content;
  justify-self: end;
  padding: 5px 10px;
  border-radius: 999px;
  text-align: center;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  display: none;
}

.status-badge--draft {
  color: #087fb2;
  background: rgba(8, 127, 178, 0.11);
}

.status-badge--ready {
  color: #087e6b;
  background: rgba(8, 126, 107, 0.12);
}

.status-badge--applied {
  color: #6554c7;
  background: rgba(101, 84, 199, 0.12);
}

.recent-row time {
  grid-area: time;
  justify-self: end;
  color: #6f7888;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.recent-row--cv {
  grid-template-areas:
    "icon main time"
    "icon main time";
}

.recent-row--application {
  grid-template-areas:
    "icon main time"
    "icon main time";
}

.recent-row--cv > span:nth-child(3) {
  display: none;
}

.recent-empty {
  min-height: 146px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 22px;
  color: #13223a;
  text-align: center;
}

.recent-empty p {
  margin: 0;
  color: #15233c;
  font-size: 15px;
  line-height: 1.45;
}

.recent-empty-icon {
  width: 72px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c4ccd8;
}

.recent-empty-icon svg {
  width: 72px;
  height: 60px;
  stroke-width: 1.6;
}

.recent-skeleton {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.recent-skeleton span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(229, 231, 235, 0.72), rgba(248, 250, 252, 0.95), rgba(229, 231, 235, 0.72));
  background-size: 220% 100%;
  animation: dashboard-skeleton 1.4s ease-in-out infinite;
}

.recent-skeleton span:first-child {
  width: 64%;
}

.recent-skeleton span:nth-child(2) {
  width: 86%;
}

.recent-skeleton span:last-child {
  width: 42%;
}

@keyframes dashboard-skeleton {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -120% 0;
  }
}

.dashboard-work-card--jobs {
  grid-column: 1 / -1;
  order: -1;
  min-height: 0;
  gap: 14px;
}

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

.dashboard-job-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.75fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(27, 54, 86, 0.09);
  border-radius: 14px;
  color: #27334a;
  background: rgba(255, 255, 255, 0.76);
}

.dashboard-job-card__main,
.dashboard-job-card__progress,
.dashboard-job-card__actions {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.dashboard-job-card__actions {
  justify-items: end;
}

.dashboard-job-card__top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.dashboard-job-stage {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  color: #2f5549;
  background: rgba(22, 140, 164, 0.09);
  border: 1px solid rgba(22, 140, 164, 0.12);
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
}

.dashboard-job-card h3 {
  margin: 0;
  color: #14213d;
  font-family: Inter, system-ui, sans-serif;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.dashboard-job-card__company,
.dashboard-job-card__next,
.dashboard-job-card__documents {
  margin: 0;
  color: #657084;
  font-size: 13px;
  line-height: 1.45;
}

.dashboard-job-card__next strong,
.dashboard-job-card__documents strong {
  color: #2f5549;
  font-weight: 750;
}

.dashboard-job-card__continue {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 12px;
  color: #fff;
  background: #168CA4;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.dashboard-job-card__continue:hover {
  background: #0F7F97;
}

.saved-job-decision {
  flex: 1 1 auto;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(27, 54, 86, 0.09);
  border-radius: 12px;
  background: rgba(248, 251, 253, 0.74);
  box-shadow: none;
}

.saved-job-decision__main {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
}

.decision-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  border-radius: 50%;
}

.decision-icon svg {
  width: 18px;
  height: 18px;
}

.decision-icon--blue {
  color: #087fb2;
  background: rgba(8, 127, 178, 0.1);
}

.decision-icon--green {
  color: #18915f;
  background: rgba(24, 145, 95, 0.12);
}

.decision-icon--amber {
  color: #c87913;
  background: rgba(200, 121, 19, 0.12);
}

.decision-eyebrow {
  margin: 0 0 7px;
  color: #0b8bbf;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.saved-job-decision h3 {
  margin: 0;
  color: #14213d;
  font-family: Inter, system-ui, sans-serif;
  font-size: 17px;
  font-weight: 720;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.saved-job-decision p:not(.decision-eyebrow) {
  margin: 7px 0 0;
  color: #657084;
  font-size: 13px;
  line-height: 1.48;
}

.saved-job-secondary {
  padding-top: 12px;
  border-top: 1px solid rgba(27, 54, 86, 0.08);
}

.saved-job-next {
  color: #2f5549 !important;
  font-weight: 750;
}

.dashboard-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid rgba(16, 32, 56, 0.08);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(32, 54, 86, 0.08);
}

.dashboard-action svg {
  width: 18px;
  height: 18px;
}

.dashboard-action--secondary {
  color: #13223a;
  background: rgba(255, 255, 255, 0.88);
}

.dashboard-action--primary {
  color: #fff;
  border-color: rgba(12, 127, 178, 0.2);
  background: linear-gradient(180deg, #25a8d0 0%, #087fb2 100%);
}

.saved-jobs-action {
  width: 100%;
  margin-top: auto;
  border-radius: 10px !important;
}


@media (max-width: 1160px) {
  .dashboard-work-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-work-card--jobs {
    grid-column: 1 / -1;
  }

  .dashboard-job-card {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr);
  }

  .dashboard-job-card__actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 1024px) {
  .sb-front-page .sb-main {
    padding: 84px 20px 30px !important;
  }

  .dashboard-shell {
    width: min(100%, 900px);
  }
}

@media (max-width: 760px) {
  .sb-front-page .sb-main {
    padding: 54px 16px 26px !important;
  }

  .dashboard-hero {
    margin-bottom: 24px;
  }

  .dashboard-hero h1 {
    font-size: 44px;
  }

  .dashboard-work-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 0;
  }

  .dashboard-welcome-card {
    padding: 24px 18px;
    border-radius: 20px;
  }

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

  .dashboard-welcome-head--simple {
    display: grid;
  }

  .dashboard-start-label {
    font-size: 17px;
  }

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

  .dashboard-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

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

  .dashboard-start-button {
    width: 100%;
  }

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

  .dashboard-job-card__actions {
    display: flex;
    justify-content: space-between;
  }

  .dashboard-job-card__continue {
    width: auto;
  }

  .ai-assistant-card {
    margin-bottom: 0;
  }

  .dashboard-work-card {
    min-height: 0;
    padding: 20px;
  }

  .work-card-header {
    min-height: 0;
  }

  .work-card-subrow {
    flex-direction: column;
    gap: 6px;
  }

  .assistant-composer {
    grid-template-columns: 44px minmax(0, 1fr) 48px;
    gap: 8px;
    min-height: 64px;
    padding: 7px 8px;
    border-radius: 20px;
  }

  /* .composer-icon--mic {
    display: none;
  } */

  .composer-icon--add {
    width: 44px;
    height: 44px;
    border-radius: 16px;
  }

  .composer-send {
    min-width: 48px;
    width: 48px;
    height: 48px;
    padding: 0 !important;
    border-radius: 17px;
  }

  .composer-send span {
    display: none;
  }

  .assistant-composer input,
  .assistant-composer textarea {
    font-size: 15px;
  }
}

@media (max-width: 520px) {
  .dashboard-hero h1 {
    font-size: 40px;
  }

  .dashboard-hero p {
    font-size: 15px;
  }

  .recent-row {
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-areas:
      "icon main"
      "icon meta"
      "icon time";
      max-height: none;
  }

  .dashboard-summary-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "label"
      "count"
      "status"
      "action";
  }

  .dashboard-summary-card a {
    justify-self: start;
    margin-top: 8px;
  }

  .dashboard-assistant-prompts {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .dashboard-assistant-prompts button {
    flex: 0 0 auto;
  }

  .recent-row--cv {
    grid-template-areas:
      "icon main"
      "icon time";
  }

  .status-badge,
  .recent-row time {
    justify-self: start;
  }

}

/* V2 dashboard hierarchy polish: calmer, more action-led, less admin-like. */
.dashboard-hero {
  margin-bottom: 18px;
}

.dashboard-hero h1 {
  font-size: clamp(38px, 4.2vw, 58px);
}

.dashboard-hero p {
  margin-top: 6px;
  font-size: clamp(14px, 1.2vw, 17px);
}

.dashboard-welcome-card {
  gap: 12px;
  margin-bottom: 20px;
  padding: 24px 28px;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(20, 32, 45, 0.055);
}

.dashboard-welcome-head--simple {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px 16px;
}

.dashboard-start-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.dashboard-start-helper {
  max-width: 560px;
  font-size: 13px;
  line-height: 1.45;
}

.dashboard-smart-card {
  gap: 8px;
}

.dashboard-smart-examples {
  font-size: 12px;
  line-height: 1.4;
}

.dashboard-welcome-card .fp-prev-chats-trigger {
  width: fit-content;
  justify-self: end;
  margin: 0;
  padding: 2px 0;
  color: rgba(20, 32, 45, 0.78);
  font-size: 12px;
  font-weight: 700;
}

.dashboard-welcome-card .fp-prev-chats-trigger:hover {
  color: #168CA4;
}

.dashboard-active-stack {
  gap: 22px;
}

.dashboard-summary-section .dashboard-section-heading {
  margin-bottom: 10px;
}

.dashboard-summary-section .dashboard-section-heading p {
  display: none;
}

.dashboard-summary-grid {
  gap: 12px;
}

.dashboard-summary-card {
  gap: 4px 14px;
  padding: 16px 18px;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(20, 32, 45, 0.045);
}

.dashboard-summary-card strong {
  font-size: 20px;
}

.dashboard-summary-card p {
  color: rgba(20, 32, 45, 0.74);
  font-size: 13px;
  line-height: 1.35;
}

.dashboard-summary-card a {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 11px;
  font-size: 12px;
}

.dashboard-work-card {
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(31, 58, 88, 0.06);
  backdrop-filter: none;
}

.work-card-header {
  min-height: 0;
  gap: 4px;
}

.work-card-header p {
  font-size: 12px;
  line-height: 1.4;
}

.dashboard-job-list {
  gap: 10px;
}

.dashboard-job-card {
  grid-template-columns: minmax(0, 1.35fr) minmax(200px, 0.72fr) auto;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.88);
}

.dashboard-job-stage {
  min-height: 22px;
  padding: 0 8px;
  font-size: 11px;
  border-color: rgba(22, 140, 164, 0.09);
  background: rgba(22, 140, 164, 0.06);
}

.dashboard-job-card__company {
  font-size: 13px;
}

.dashboard-job-card__next {
  color: #16223a;
  font-size: 14px;
  line-height: 1.35;
}

.dashboard-job-card__next strong {
  color: #16223a;
}

.dashboard-job-card__documents {
  color: #657084;
  font-size: 12px;
  line-height: 1.35;
}

.dashboard-job-card__continue {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 11px;
  font-size: 13px;
}

@media (max-width: 760px) {
  .dashboard-welcome-head--simple {
    grid-template-columns: 1fr;
  }

  .dashboard-welcome-card .fp-prev-chats-trigger {
    justify-self: start;
  }

  .dashboard-job-card {
    padding: 15px 16px;
  }
}

/* Premium Sofia command center for the dashboard start surface. */
.dashboard-hero {
  position: relative;
  isolation: isolate;
}

.dashboard-hero::before {
  content: "";
  position: absolute;
  top: -140px;
  left: 50%;
  z-index: -1;
  width: min(720px, 88vw);
  height: 360px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 30% 30%, rgba(22, 140, 164, 0.1), transparent 48%),
    radial-gradient(circle at 70% 60%, rgba(24, 131, 154, 0.08), transparent 50%);
  filter: blur(30px);
  pointer-events: none;
}

.sofia-command-card {
  position: relative;
  overflow: hidden;
  gap: 18px;
  padding: 28px 32px;
  border: 1px solid rgba(22, 140, 164, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at 12% 0%, rgba(22, 140, 164, 0.14), transparent 36%),
    radial-gradient(circle at 88% 100%, rgba(24, 131, 154, 0.1), transparent 34%);
  box-shadow:
    0 24px 70px rgba(20, 32, 45, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px);
  animation: sofiaCommandIn 0.42s ease both;
}

.sofia-command-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(22, 140, 164, 0.08), transparent 45%);
  opacity: 0.8;
  pointer-events: none;
}

.sofia-command-card > * {
  position: relative;
  z-index: 1;
}

.sofia-command-card .dashboard-start-label {
  color: #0f1f33;
  font-size: 18px;
  font-weight: 780;
}

.sofia-command-card .dashboard-start-helper {
  max-width: 520px;
  color: rgba(20, 32, 45, 0.64);
  font-size: 14px;
}

.sofia-command-card .dashboard-smart-card {
  position: relative;
  gap: 12px;
}

.dashboard-smart-composer.sofia-composer {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 40px auto;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 10px;
  border: 1px solid rgba(30, 41, 59, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 16px 44px rgba(20, 32, 45, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.ai-assistant-card.is-focused .dashboard-smart-composer.sofia-composer,
.dashboard-smart-composer.sofia-composer:focus-within {
  border-color: rgba(22, 140, 164, 0.38);
  box-shadow:
    0 20px 60px rgba(22, 140, 164, 0.12),
    0 0 0 4px rgba(22, 140, 164, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.sofia-composer textarea {
  min-height: 46px;
  max-height: 104px;
  padding: 12px 0;
  overflow-y: auto;
  resize: none;
  font-size: 16px;
  line-height: 1.45;
}

.sofia-composer textarea::placeholder {
  color: rgba(75, 88, 105, 0.78);
}

.sofia-composer .composer-add {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(22, 140, 164, 0.12);
  border-radius: 16px;
  color: #168CA4;
  background: rgba(22, 140, 164, 0.08);
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.sofia-composer .composer-add:hover,
.sofia-composer .composer-add[aria-expanded="true"] {
  border-color: rgba(22, 140, 164, 0.22);
  background: rgba(22, 140, 164, 0.13);
  transform: translateY(-1px);
}

.sofia-composer .composer-mic {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  color: rgba(82, 95, 112, 0.78);
  transition: color 0.16s ease, background 0.16s ease;
}

.sofia-composer .composer-mic:hover {
  color: #168CA4;
  background: rgba(22, 140, 164, 0.07);
}

.sofia-composer .composer-submit {
  min-width: 128px;
  height: 48px;
  gap: 8px;
  padding: 0 20px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #168CA4, #0F7F97);
  box-shadow: 0 12px 28px rgba(24, 131, 154, 0.18);
  font-weight: 780;
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease, filter 0.16s ease;
}

.sofia-composer .composer-submit:hover,
.sofia-composer .composer-submit:focus-visible {
  background: linear-gradient(135deg, #168CA4, #0F7F97);
  box-shadow: 0 16px 34px rgba(24, 131, 154, 0.24);
  transform: translateY(-1px);
}

.sofia-composer .composer-submit:hover svg,
.sofia-composer .composer-submit:focus-visible svg {
  transform: translateX(2px);
}

.sofia-composer .composer-submit svg {
  transition: transform 0.16s ease;
}

.sofia-composer .composer-submit:disabled {
  opacity: 0.48;
  box-shadow: none;
  transform: none;
  filter: saturate(0.8);
}

.composer-add-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 8px;
  z-index: 6;
  width: min(240px, calc(100vw - 80px));
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(30, 41, 59, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 48px rgba(20, 32, 45, 0.13);
  backdrop-filter: blur(14px);
}

.composer-add-menu[hidden] {
  display: none;
}

.composer-add-menu button {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  color: #18243a;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.composer-add-menu button:hover,
.composer-add-menu button:focus-visible {
  outline: 0;
  color: #1f6f60;
  background: rgba(22, 140, 164, 0.08);
}

.command-suggestions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
  color: rgba(20, 32, 45, 0.56);
  animation: sofiaSuggestionsIn 0.34s ease 0.12s both;
}

.command-suggestions span {
  font-size: 12px;
  font-weight: 700;
}

.command-suggestion-chip {
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(30, 41, 59, 0.08);
  border-radius: 999px;
  color: rgba(30, 52, 68, 0.78);
  background: rgba(255, 255, 255, 0.66);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.command-suggestion-chip:hover,
.command-suggestion-chip:focus-visible {
  outline: 0;
  border-color: rgba(22, 140, 164, 0.18);
  color: #206653;
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

.sofia-command-card .fp-prev-chats-trigger {
  gap: 5px;
  opacity: 0.78;
  transition: color 0.16s ease, opacity 0.16s ease;
}

.sofia-command-card .fp-prev-chats-trigger:hover {
  opacity: 1;
}

.sofia-command-card .fp-prev-chats-trigger svg {
  width: 15px;
  height: 15px;
}

@keyframes sofiaCommandIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sofiaSuggestionsIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .sofia-command-card {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .dashboard-smart-composer.sofia-composer {
    grid-template-columns: 44px minmax(0, 1fr) 48px;
    min-height: 66px;
    border-radius: 21px;
  }

  .sofia-composer .composer-submit {
    min-width: 48px;
    width: 48px;
    padding: 0;
  }

  .sofia-composer .composer-submit span {
    display: none;
  }

  .command-suggestions {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .command-suggestion-chip {
    flex: 0 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sofia-command-card,
  .command-suggestions,
  .sofia-command-card *,
  .dashboard-hero::before {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* Premium continuation sections below the Sofia command center. */
@keyframes dashboardRiseIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dashboard-active-stack {
  gap: 30px;
}

.dashboard-section-heading {
  margin-bottom: 14px;
}

.dashboard-section-heading h2,
.work-card-title-row h2 {
  color: #102036;
  letter-spacing: 0;
}

.dashboard-summary-section .dashboard-section-heading p {
  display: none;
}

.dashboard-summary-grid {
  gap: 16px;
}

.dashboard-work-tile {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  grid-template-areas: none;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid rgba(30, 41, 59, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.76)),
    radial-gradient(circle at 0% 0%, rgba(22, 140, 164, 0.055), transparent 44%);
  box-shadow:
    0 18px 45px rgba(20, 32, 45, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  animation: dashboardRiseIn 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.dashboard-work-tile:nth-child(1) {
  animation-delay: 80ms;
}

.dashboard-work-tile:nth-child(2) {
  animation-delay: 150ms;
}

.dashboard-work-tile:nth-child(3) {
  animation-delay: 220ms;
}

.dashboard-work-tile:hover,
.dashboard-work-tile:focus-within {
  border-color: rgba(22, 140, 164, 0.2);
  box-shadow:
    0 24px 60px rgba(20, 32, 45, 0.08),
    0 0 0 4px rgba(22, 140, 164, 0.035);
  transform: translateY(-2px);
}

.dashboard-summary-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #168CA4;
  background: rgba(22, 140, 164, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.dashboard-summary-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-summary-copy,
.work-tile-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dashboard-summary-copy > * {
  grid-area: auto;
}

.dashboard-work-tile .dashboard-summary-label {
  color: rgba(20, 32, 45, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.dashboard-work-tile strong,
.work-tile-value {
  min-width: 0;
  color: #101a31;
  font-size: 18px;
  font-weight: 780;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: normal;
}

.dashboard-work-tile p {
  margin: 0;
  color: rgba(88, 99, 115, 0.76);
  font-size: 13px;
  line-height: 1.35;
}

.dashboard-work-tile p[hidden] {
  display: none;
}

.dashboard-work-tile > a,
.work-tile-action {
  grid-area: auto;
  justify-self: end;
  flex-shrink: 0;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-radius: 999px;
  color: #236b5f;
  background: rgba(22, 140, 164, 0.08);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.dashboard-work-tile > a::after,
.work-card-action::after,
.dashboard-job-card__continue::after {
  content: "→";
  font-weight: 800;
  line-height: 1;
}

.dashboard-work-tile > a:hover,
.dashboard-work-tile > a:focus-visible {
  outline: 0;
  color: #17584d;
  background: rgba(22, 140, 164, 0.14);
  transform: translateY(-1px);
}

.dashboard-work-card--jobs {
  overflow: hidden;
  gap: 0;
  padding: 0;
  border: 1px solid rgba(30, 41, 59, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)),
    radial-gradient(circle at 100% 0%, rgba(24, 131, 154, 0.055), transparent 34%);
  box-shadow:
    0 22px 60px rgba(20, 32, 45, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  animation: dashboardRiseIn 440ms cubic-bezier(0.22, 1, 0.36, 1) 240ms both;
}

.dashboard-work-card--jobs .work-card-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px 18px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(30, 41, 59, 0.06);
}

.dashboard-work-card--jobs .work-card-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-work-card--jobs .work-card-count {
  min-width: 28px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 999px;
  color: #236b5f;
  background: rgba(22, 140, 164, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.dashboard-work-card--jobs .work-card-subrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.dashboard-work-card--jobs .work-card-subrow p {
  max-width: 280px;
  color: rgba(88, 99, 115, 0.72);
  font-size: 13px;
  text-align: right;
}

.dashboard-work-card--jobs .work-card-action {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border-radius: 999px;
  color: #236b5f;
  background: rgba(22, 140, 164, 0.08);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.dashboard-work-card--jobs .work-card-action:hover {
  background: rgba(22, 140, 164, 0.14);
}

.dashboard-job-list {
  display: grid;
  gap: 0;
}

.dashboard-job-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.82fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
  border: 0;
  border-top: 1px solid rgba(30, 41, 59, 0.06);
  border-radius: 0;
  color: #27334a;
  background: transparent;
  box-shadow: none;
  animation: dashboardRiseIn 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: background 0.18s ease, transform 0.18s ease;
}

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

.dashboard-job-card:nth-child(1) {
  animation-delay: 300ms;
}

.dashboard-job-card:nth-child(2) {
  animation-delay: 370ms;
}

.dashboard-job-card:nth-child(3) {
  animation-delay: 440ms;
}

.dashboard-job-card:hover,
.dashboard-job-card:focus-within {
  background: linear-gradient(90deg, rgba(22, 140, 164, 0.045), rgba(255, 255, 255, 0));
}

.dashboard-job-card h3 {
  font-size: 17px;
  font-weight: 780;
}

.dashboard-job-card__company {
  color: rgba(88, 99, 115, 0.78);
  font-size: 13px;
}

.dashboard-job-card__next {
  color: #102036;
  font-size: 14px;
  line-height: 1.4;
}

.dashboard-job-card__next strong {
  color: #236b5f;
}

.dashboard-job-card__documents {
  color: rgba(88, 99, 115, 0.72);
  font-size: 12px;
}

.dashboard-job-card__actions {
  display: grid;
  justify-items: end;
  gap: 9px;
}

.dashboard-job-stage {
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  color: #236b5f;
  background: rgba(22, 140, 164, 0.08);
  border-color: rgba(22, 140, 164, 0.1);
  font-size: 11px;
  font-weight: 800;
}

.dashboard-job-card__continue {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #168CA4, #0F7F97);
  box-shadow: 0 12px 28px rgba(24, 131, 154, 0.16);
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.dashboard-job-card__continue:hover,
.dashboard-job-card__continue:focus-visible {
  outline: 0;
  color: #fff;
  background: linear-gradient(135deg, #168CA4, #0F7F97);
  box-shadow: 0 16px 34px rgba(24, 131, 154, 0.22);
  transform: translateY(-1px);
}

.dashboard-job-card__continue:hover::after,
.dashboard-job-card__continue:focus-visible::after {
  transform: translateX(2px);
}

.dashboard-job-card__continue::after {
  transition: transform 0.16s ease;
}

.saved-jobs-action {
  width: auto;
  margin: 0 24px 22px;
  align-self: flex-start;
}

@media (max-width: 1024px) {
  .dashboard-work-tile {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .dashboard-work-tile > a {
    grid-column: 2;
    justify-self: start;
    margin-top: 8px;
  }

  .dashboard-work-card--jobs .work-card-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .dashboard-work-card--jobs .work-card-subrow {
    justify-content: space-between;
  }

  .dashboard-work-card--jobs .work-card-subrow p {
    text-align: left;
  }

  .dashboard-job-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .dashboard-job-card__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 560px) {
  .dashboard-work-tile {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 13px;
    padding: 18px;
    border-radius: 19px;
  }

  .dashboard-summary-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .dashboard-work-card--jobs .work-card-header,
  .dashboard-job-card {
    padding-right: 18px;
    padding-left: 18px;
  }

  .dashboard-work-card--jobs .work-card-subrow {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .dashboard-job-card__actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-work-tile,
  .dashboard-work-card--jobs,
  .dashboard-job-card,
  .dashboard-job-card__continue {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* Absolute final V2 premium homepage refresh. */
.sb-front-page {
  --v2-page-bg: #f7f8f9;
  --v2-surface: rgba(255, 255, 255, 0.75);
  --v2-surface-strong: rgba(255, 255, 255, 0.88);
  --v2-border: rgba(0, 0, 0, 0.04);
  --v2-border-soft: rgba(255, 255, 255, 0.6);
  --v2-text: #172033;
  --v2-body: #5b6675;
  --v2-muted: #8993a4;
  --v2-primary: #168CA4;
  --v2-primary-soft: rgba(42, 159, 192, 0.12);
  --v2-primary-gradient: linear-gradient(180deg, #1C9AB0 0%, #168CA4 100%);
  --v2-shadow: 0 1px 2px rgba(0, 0, 0, 0.02), 0 8px 30px rgba(0, 0, 0, 0.04);
  --v2-shadow-hover: 0 1px 2px rgba(0, 0, 0, 0.025), 0 14px 38px rgba(0, 0, 0, 0.06);
}

body,
.sb-front-page {
  background: var(--v2-page-bg) !important;
  color: var(--v2-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sb-front-page .sb-main {
  padding-top: 76px !important;
  color: var(--v2-text);
}

.dashboard-shell {
  width: min(1120px, 100%);
  padding-bottom: 52px;
}

.dashboard-hero {
  width: min(980px, 100%);
  margin: 0 auto 24px;
  text-align: left;
}

.dashboard-hero::before,
.sofia-command-card::before {
  display: none !important;
}

.dashboard-hero h1 {
  margin: 0;
  color: var(--v2-text);
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(38px, 4.1vw, 52px);
  font-weight: 550;
  line-height: 1.04;
  letter-spacing: 0;
}

.dashboard-hero p {
  max-width: 560px;
  margin: 8px 0 0;
  color: var(--v2-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
}

.dashboard-welcome-card.sofia-command-card {
  width: min(980px, 100%);
  gap: 18px;
  margin: 0 auto 54px;
  padding: 32px;
  overflow: visible;
  border: 1px solid var(--v2-border-soft);
  border-radius: 32px;
  background: var(--v2-surface);
  box-shadow: var(--v2-shadow);
  backdrop-filter: blur(20px);
}

.dashboard-welcome-head--simple {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px 20px;
}

.dashboard-start-copy {
  gap: 6px;
}

.sofia-command-card .dashboard-start-label,
.dashboard-start-label {
  color: var(--v2-text);
  font-family: Inter, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 550;
  line-height: 1.25;
  letter-spacing: 0;
}

.sofia-command-card .dashboard-start-helper,
.dashboard-start-helper {
  max-width: 620px;
  color: var(--v2-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
}

.sofia-command-card .fp-prev-chats-trigger {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: end;
  padding: 0;
  border: 0;
  color: var(--v2-muted);
  background: transparent;
  font-size: 13px;
  font-weight: 500;
}

.sofia-command-card .fp-prev-chats-trigger:hover,
.sofia-command-card .fp-prev-chats-trigger:focus-visible {
  outline: 0;
  color: var(--v2-primary);
  text-decoration: none;
}

.dashboard-smart-composer.sofia-composer {
  grid-template-columns: 42px minmax(0, 1fr) 38px auto;
  gap: 10px;
  min-height: 68px;
  padding: 10px;
  border: 1px solid var(--v2-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.015), 0 10px 28px rgba(0, 0, 0, 0.035);
  backdrop-filter: blur(18px);
}

.ai-assistant-card.is-focused .dashboard-smart-composer.sofia-composer,
.dashboard-smart-composer.sofia-composer:focus-within {
  border-color: rgba(42, 159, 192, 0.24);
  box-shadow: 0 0 0 4px rgba(42, 159, 192, 0.1), 0 10px 30px rgba(0, 0, 0, 0.045);
  transform: none;
}

.sofia-composer textarea {
  min-height: 44px;
  padding: 10px 0;
  color: var(--v2-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

.sofia-composer textarea::placeholder {
  color: rgba(91, 102, 117, 0.72);
}

.sofia-composer .composer-add,
.sofia-composer .composer-mic {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  box-shadow: none;
}

.sofia-composer .composer-add {
  border: 1px solid rgba(42, 159, 192, 0.12);
  color: var(--v2-primary);
  background: var(--v2-primary-soft);
}

.sofia-composer .composer-add:hover,
.sofia-composer .composer-add:focus-visible,
.sofia-composer .composer-add[aria-expanded="true"] {
  outline: 0;
  border-color: rgba(42, 159, 192, 0.22);
  background: rgba(42, 159, 192, 0.16);
  transform: none;
}

.sofia-composer .composer-mic {
  color: var(--v2-muted);
  background: transparent;
}

.sofia-composer .composer-mic:hover,
.sofia-composer .composer-mic:focus-visible {
  outline: 0;
  color: var(--v2-primary);
  background: rgba(42, 159, 192, 0.08);
}

.sofia-composer .composer-submit,
.dashboard-job-card__continue {
  min-height: 44px;
  border-radius: 999px;
  color: #fff;
  background: var(--v2-primary-gradient);
  box-shadow: 0 8px 20px rgba(31, 127, 155, 0.16);
  font-size: 14px;
  font-weight: 500;
}

.sofia-composer .composer-submit {
  min-width: 132px;
  height: 44px;
  padding: 0 18px;
}

.sofia-composer .composer-submit:hover,
.sofia-composer .composer-submit:focus-visible,
.dashboard-job-card__continue:hover,
.dashboard-job-card__continue:focus-visible {
  outline: 0;
  color: #fff;
  background: var(--v2-primary-gradient);
  box-shadow: 0 10px 24px rgba(31, 127, 155, 0.2);
  transform: translateY(-1px);
}

.sofia-composer .composer-submit:disabled {
  color: rgba(255, 255, 255, 0.84);
  opacity: 0.48;
  box-shadow: none;
  transform: none;
}

.composer-add-menu {
  border: 1px solid var(--v2-border-soft);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(20px);
}

.composer-add-menu button {
  color: var(--v2-text);
  font-size: 14px;
  font-weight: 500;
}

.composer-add-menu button:hover,
.composer-add-menu button:focus-visible {
  color: var(--v2-primary);
  background: rgba(42, 159, 192, 0.08);
}

.command-suggestions {
  gap: 8px;
  margin-top: 0;
  color: var(--v2-muted);
}

.command-suggestions span {
  font-size: 13px;
  font-weight: 500;
}

.command-suggestion-chip {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.045);
  border-radius: 999px;
  color: #556070;
  background: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 500;
}

.command-suggestion-chip:hover,
.command-suggestion-chip:focus-visible {
  outline: 0;
  border-color: rgba(42, 159, 192, 0.16);
  color: var(--v2-primary);
  background: rgba(255, 255, 255, 0.88);
  transform: none;
}

.dashboard-active-stack {
  width: min(980px, 100%);
  gap: 56px;
  margin: 0 auto;
}

.dashboard-section-heading {
  margin-bottom: 16px;
}

.dashboard-section-heading h2,
.work-card-title-row h2 {
  color: var(--v2-text);
  font-size: 20px;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: 0;
}

.dashboard-section-heading p,
.work-card-header p {
  color: var(--v2-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
}

.dashboard-summary-grid {
  gap: 16px;
}

.dashboard-work-tile {
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--v2-border-soft);
  border-radius: 24px;
  background: var(--v2-surface);
  box-shadow: var(--v2-shadow);
  backdrop-filter: blur(20px);
}

.dashboard-work-tile:hover,
.dashboard-work-tile:focus-within {
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow: var(--v2-shadow-hover);
  transform: translateY(-1px);
}

.dashboard-summary-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  color: var(--v2-primary);
  background: rgba(42, 159, 192, 0.1);
  box-shadow: none;
}

.dashboard-work-tile .dashboard-summary-label {
  color: var(--v2-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.dashboard-work-tile strong,
.work-tile-value {
  color: var(--v2-text);
  font-size: 18px;
  font-weight: 550;
  line-height: 1.25;
}

.dashboard-work-tile p {
  color: var(--v2-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.dashboard-work-tile > a,
.work-tile-action,
.dashboard-work-card--jobs .work-card-action {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: #445066;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 13px;
  font-weight: 500;
  box-shadow: none;
}

.dashboard-work-tile > a::after,
.work-card-action::after,
.dashboard-job-card__continue::after {
  content: "";
  display: none;
}

.dashboard-work-tile > a:hover,
.dashboard-work-tile > a:focus-visible,
.dashboard-work-card--jobs .work-card-action:hover,
.dashboard-work-card--jobs .work-card-action:focus-visible {
  outline: 0;
  color: var(--v2-primary);
  background: rgba(255, 255, 255, 0.9);
  transform: none;
}

.dashboard-work-card--jobs {
  border: 1px solid var(--v2-border-soft);
  border-radius: 28px;
  background: var(--v2-surface);
  box-shadow: var(--v2-shadow);
  backdrop-filter: blur(20px);
}

.dashboard-work-card--jobs .work-card-header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.dashboard-work-card--jobs .work-card-count {
  color: var(--v2-primary);
  background: var(--v2-primary-soft);
  font-size: 12px;
  font-weight: 500;
}

.dashboard-work-card--jobs .work-card-subrow {
  gap: 14px;
}

.dashboard-work-card--jobs .work-card-subrow p {
  color: var(--v2-body);
  font-size: 14px;
  font-weight: 400;
}

.dashboard-job-card {
  grid-template-columns: minmax(0, 1.35fr) minmax(190px, 0.7fr) auto;
  gap: 22px;
  padding: 22px 28px;
  color: var(--v2-text);
  background: transparent;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: none;
}

.dashboard-job-card:hover,
.dashboard-job-card:focus-within {
  background: rgba(255, 255, 255, 0.38);
  transform: none;
}

.dashboard-job-card h3 {
  color: var(--v2-text);
  font-size: 17px;
  font-weight: 550;
  line-height: 1.3;
}

.dashboard-job-card__company,
.dashboard-job-card__documents {
  color: var(--v2-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.dashboard-job-card__documents {
  font-size: 13px;
}

.dashboard-job-card__next {
  color: var(--v2-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.dashboard-job-card__next strong {
  color: var(--v2-text);
  font-weight: 550;
}

.dashboard-job-stage {
  min-height: 26px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  color: #556070;
  background: #f5f7fa;
  font-size: 12px;
  font-weight: 500;
}

.dashboard-job-card__continue {
  padding: 0 18px;
}

.saved-jobs-action {
  margin: 0 28px 24px;
  color: var(--v2-primary);
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  font-weight: 500;
}

.saved-job-decision {
  border-color: rgba(0, 0, 0, 0.04);
  background: rgba(255, 255, 255, 0.54);
}

@media (max-width: 1180px) {
  .sb-front-page .sb-main {
    padding-right: 24px !important;
    padding-left: 112px !important;
  }
}

@media (max-width: 920px) {
  .dashboard-hero,
  .dashboard-welcome-card.sofia-command-card,
  .dashboard-active-stack {
    width: 100%;
  }

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

  .dashboard-job-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .dashboard-job-card__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 760px) {
  .sb-front-page .sb-main {
    padding: 72px 18px 28px 92px !important;
  }

  .dashboard-hero {
    margin-bottom: 18px;
  }

  .dashboard-hero h1 {
    font-size: 34px;
  }

  .dashboard-welcome-card.sofia-command-card {
    margin-bottom: 42px;
    padding: 24px;
    border-radius: 28px;
  }

  .dashboard-welcome-head--simple {
    grid-template-columns: 1fr;
  }

  .sofia-command-card .fp-prev-chats-trigger {
    justify-self: start;
  }

  .dashboard-smart-composer.sofia-composer {
    grid-template-columns: 42px minmax(0, 1fr) 44px;
    border-radius: 22px;
  }

  .sofia-composer .composer-submit {
    min-width: 44px;
    width: 44px;
    padding: 0;
  }

  .dashboard-work-tile {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 22px;
  }

  .dashboard-work-tile > a,
  .work-tile-action {
    grid-column: 2;
    justify-self: start;
    margin-top: 6px;
  }
}

/* Absolute final V2 dashboard briefing system: saved-job workspace first. */
.dashboard-shell {
  display: flex;
  flex-direction: column;
  width: min(1080px, 100%);
  padding-bottom: 72px;
}

.dashboard-hero {
  order: 1;
  width: min(920px, 100%);
  margin-bottom: 34px;
}

.dashboard-hero h1 {
  max-width: 760px;
  font-size: clamp(34px, 3.7vw, 44px);
  font-weight: 550;
  line-height: 1.08;
  letter-spacing: 0;
}

.dashboard-hero p {
  max-width: 640px;
  margin-top: 10px;
  color: #5b6675;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
}

.dashboard-active-stack {
  order: 2;
  width: min(920px, 100%);
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin: 0 auto;
}

.dashboard-focus-section {
  order: 1;
}

.dashboard-work-grid {
  order: 2;
}

.dashboard-summary-section {
  order: 3;
}

.dashboard-welcome-card.sofia-command-card {
  order: 4;
  width: min(820px, 100%);
  gap: 14px;
  margin: 58px auto 0;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: none;
  opacity: 0.96;
}

.dashboard-welcome-card.sofia-command-card:hover,
.dashboard-welcome-card.sofia-command-card:focus-within {
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--v2-shadow);
}

.sofia-command-card .dashboard-start-label,
.dashboard-start-label {
  font-size: 16px;
  font-weight: 550;
}

.sofia-command-card .dashboard-start-helper,
.dashboard-start-helper {
  max-width: 520px;
  font-size: 14px;
}

.dashboard-smart-composer.sofia-composer {
  min-height: 58px;
  grid-template-columns: 38px minmax(0, 1fr) 36px auto;
  padding: 8px;
  border-radius: 22px;
}

.sofia-composer textarea {
  min-height: 38px;
  font-size: 14px;
}

.sofia-composer .composer-add,
.sofia-composer .composer-mic {
  width: 36px;
  height: 36px;
}

.sofia-composer .composer-submit {
  min-width: 112px;
  height: 40px;
  min-height: 40px;
  font-size: 13px;
}

.command-suggestions {
  display: none;
}

.dashboard-focus-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, auto);
  gap: 30px 34px;
  align-items: end;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--v2-shadow);
  backdrop-filter: blur(22px);
}

.dashboard-focus-copy {
  min-width: 0;
}

.dashboard-focus-kicker {
  margin: 0 0 12px;
  color: #8993a4;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.dashboard-focus-card h2 {
  max-width: 760px;
  margin: 0;
  color: #101828;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 550;
  line-height: 1.14;
  letter-spacing: 0;
}

.dashboard-focus-card p[data-focus-copy] {
  max-width: 720px;
  margin: 16px 0 0;
  color: #5b6675;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
}

.dashboard-focus-brief {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 10px;
  color: #5b6675;
  font-size: 14px;
  font-weight: 400;
}

.dashboard-focus-pill {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #168CA4;
  background: rgba(42, 159, 192, 0.12);
  font-size: 13px;
  font-weight: 500;
}

.dashboard-focus-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-focus-primary,
.dashboard-focus-secondary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.dashboard-focus-primary {
  color: #ffffff;
  background: var(--v2-primary-gradient);
  box-shadow: 0 8px 20px rgba(31, 127, 155, 0.16);
}

.dashboard-focus-primary:hover,
.dashboard-focus-primary:focus-visible {
  outline: 0;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(31, 127, 155, 0.2);
  transform: translateY(-1px);
}

.dashboard-focus-secondary {
  color: #445066;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.055);
}

.dashboard-focus-secondary:hover,
.dashboard-focus-secondary:focus-visible {
  outline: 0;
  color: #168CA4;
  background: rgba(255, 255, 255, 0.92);
}

.dashboard-section-heading {
  display: flex;
  /* align-items: end; */
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.dashboard-section-heading h2,
.work-card-title-row h2 {
  font-size: 20px;
  font-weight: 550;
}

.dashboard-work-card--jobs {
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
}

.dashboard-work-card--jobs .work-card-header {
  padding: 0 0 18px;
  border-bottom: 0;
}

.dashboard-work-card--jobs .work-card-count {
  color: #556070;
  background: #f5f7fa;
}

.dashboard-work-card--jobs .work-card-action {
  color: #445066;
  background: transparent;
  border: 0;
}

.dashboard-job-list {
  gap: 10px;
}

.dashboard-job-card {
  grid-template-columns: minmax(0, 1.25fr) minmax(190px, 0.7fr) auto;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--v2-shadow);
  backdrop-filter: blur(18px);
}

.dashboard-job-card:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.66);
}

.dashboard-job-card:hover,
.dashboard-job-card:focus-within {
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--v2-shadow-hover);
  transform: translateY(-1px);
}

.dashboard-job-card h3 {
  font-size: 18px;
  font-weight: 550;
}

.dashboard-job-card__next {
  font-size: 15px;
}

.dashboard-job-card__continue {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

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

.dashboard-work-tile {
  padding: 18px;
  border: 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: none;
}

.dashboard-work-tile:hover,
.dashboard-work-tile:focus-within {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--v2-shadow);
  transform: none;
}

.dashboard-summary-icon {
  width: 40px;
  height: 40px;
  color: #8993a4;
  background: #f5f7fa;
}

.dashboard-work-tile strong,
.work-tile-value {
  font-size: 17px;
}

.dashboard-work-tile > a,
.work-tile-action {
  min-height: 34px;
  padding: 0 12px;
}

@media (max-width: 920px) {
  .dashboard-active-stack,
  .dashboard-hero {
    width: 100%;
  }

  .dashboard-focus-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px;
  }

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

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

@media (max-width: 760px) {
  .dashboard-hero {
    margin-bottom: 24px;
  }

  .dashboard-hero h1 {
    font-size: 32px;
  }

  .dashboard-hero p {
    font-size: 15px;
  }

  .dashboard-focus-card {
    padding: 24px;
    border-radius: 28px;
  }

  .dashboard-focus-card p[data-focus-copy] {
    font-size: 16px;
  }

  .dashboard-job-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .dashboard-job-card__actions {
    justify-content: space-between;
  }

  .dashboard-welcome-card.sofia-command-card {
    margin-top: 42px;
  }
}

/* Adaptive Sofia dashboard hero */
.dashboard-shell {
  --sofia-surface: rgba(255, 255, 255, 0.68);
  --sofia-text: #17212b;
  --sofia-muted: rgba(23, 33, 43, 0.62);
  --sofia-accent: #168CA4;
}

.dashboard-welcome-card.sofia-dashboard-hero {
  width: min(980px, 100%);
  margin: 34px auto 0;
  padding: 36px 40px;
  border: 0;
  border-radius: 32px;
  background: var(--sofia-surface);
  box-shadow:
    0 30px 90px rgba(36, 56, 77, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(28px);
}

.sofia-hero-header,
.sofia-hero-identity,
.sofia-hero-utilities {
  display: flex;
  align-items: center;
}

.sofia-hero-header {
  justify-content: space-between;
  gap: 18px;
}

.sofia-hero-identity {
  gap: 12px;
}

.sofia-hero-utilities {
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.sofia-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)),
    #168CA4;
  box-shadow:
    0 10px 26px rgba(31, 127, 155, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.sofia-label {
  font-size: 13px;
  font-weight: 560;
  color: rgba(23, 33, 43, 0.52);
}

.sofia-title {
  margin: 18px 0 0;
  max-width: 760px;
  color: var(--sofia-text);
  font-size: 22px;
  font-weight: 560;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.sofia-text {
  margin: 10px 0 0;
  max-width: 680px;
  color: var(--sofia-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
}

.sofia-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sofia-action,
.sofia-ask-toggle {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.sofia-action {
  padding: 0 16px;
  color: rgba(23, 33, 43, 0.72);
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 8px 22px rgba(31, 42, 55, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.sofia-action--primary {
  color: #ffffff;
  background: #168CA4;
  box-shadow: 0 12px 28px rgba(31, 127, 155, 0.20);
}

.sofia-ask-toggle {
  padding: 0 14px;
  color: rgba(23, 33, 43, 0.64);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.sofia-dashboard-hero .fp-prev-chats-trigger {
  color: rgba(23, 33, 43, 0.52);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.sofia-hero-ask[hidden] {
  display: none !important;
}

.sofia-hero-ask {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(23, 33, 43, 0.06);
}

.sofia-ask-hint {
  margin: 0 0 12px;
  color: rgba(23, 33, 43, 0.58);
  font-size: 14px;
  line-height: 1.6;
}

.sofia-dashboard-hero .dashboard-smart-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.dashboard-onboarding-path,
.dashboard-guided-next {
  width: min(980px, 100%);
  margin: 56px auto 0;
}

.dashboard-onboarding-path[hidden],
.dashboard-guided-next[hidden] {
  display: none !important;
}

.dashboard-onboarding-path h2 {
  margin: 0;
  color: #17212b;
  font-size: 20px;
  font-weight: 550;
  letter-spacing: -0.02em;
}

.onboarding-steps {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.onboarding-step {
  padding: 24px;
  border: 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow:
    0 16px 44px rgba(36, 56, 77, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.onboarding-step span {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #168CA4;
  background: rgba(31, 127, 155, 0.10);
  font-size: 12px;
  font-weight: 600;
}

.onboarding-step h3 {
  margin: 18px 0 6px;
  color: #17212b;
  font-size: 16px;
  font-weight: 550;
  letter-spacing: -0.015em;
}

.onboarding-step p,
.dashboard-guided-next h2 {
  margin: 0;
  color: rgba(23, 33, 43, 0.62);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 400;
}

.dashboard-guided-next {
  padding: 28px 32px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow:
    0 16px 44px rgba(36, 56, 77, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.dashboard-guided-next__label {
  margin: 0 0 6px;
  color: rgba(23, 33, 43, 0.42);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dashboard-guided-next h2 {
  color: #17212b;
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -0.02em;
}

@media (max-width: 760px) {
  .dashboard-welcome-card.sofia-dashboard-hero {
    margin-top: 28px;
    padding: 28px 24px;
    border-radius: 28px;
  }

  .sofia-hero-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .sofia-hero-utilities {
    justify-content: flex-start;
  }

  .sofia-title {
    font-size: 20px;
  }

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

/* Final dashboard command-surface refinement */
.dashboard-welcome-card.sofia-dashboard-hero {
  margin-top: 28px;
  padding: 38px 42px 34px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 32px 90px rgba(36, 56, 77, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.sofia-mark {
  width: 38px;
  height: 38px;
  border-radius: 15px;
  box-shadow:
    0 12px 28px rgba(31, 127, 155, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.sofia-title {
  margin-top: 18px;
  max-width: 720px;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.sofia-text {
  max-width: 660px;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(23, 33, 43, 0.60);
}

.sofia-dashboard-hero .dashboard-smart-card {
  margin-top: 28px;
  display: block;
}

.sofia-dashboard-hero .dashboard-smart-composer {
  min-height: 62px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px auto;
  align-items: center;
  gap: 12px;
  padding: 0 12px 0 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 14px 42px rgba(31, 42, 55, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.sofia-dashboard-hero .dashboard-smart-composer textarea {
  min-height: 44px;
  height: 44px;
  max-height: 88px;
  padding: 12px 0;
  color: #17212b;
  font-size: 15px;
  line-height: 1.35;
  resize: none;
}

.sofia-dashboard-hero .dashboard-smart-composer textarea::placeholder {
  color: rgba(23, 33, 43, 0.42);
}

.sofia-dashboard-hero .composer-icon {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  color: #168CA4;
  background: rgba(31, 127, 155, 0.08);
}

.sofia-dashboard-hero .composer-send {
  height: 42px;
  min-width: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #168CA4;
  color: #fff;
  box-shadow: 0 12px 28px rgba(31, 127, 155, 0.20);
}

.sofia-dashboard-hero .command-suggestions {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sofia-dashboard-hero .command-suggestions > span {
  color: rgba(23, 33, 43, 0.44);
  font-size: 13px;
  font-weight: 500;
}

.sofia-dashboard-hero .command-suggestion-chip {
  height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  color: rgba(23, 33, 43, 0.68);
  background: rgba(31, 127, 155, 0.055);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.dashboard-summary-section {
  width: min(980px, 100%);
  margin: 28px auto 0;
}

.dashboard-section-heading {
  margin-bottom: 14px;
}

.dashboard-section-heading h2 {
  font-size: 18px;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.dashboard-summary-grid.work-snapshot {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-summary-card.dashboard-work-tile {
  min-height: 108px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border: 0;
  border-radius: 26px;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 18px 52px rgba(36, 56, 77, 0.065),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.dashboard-summary-card.dashboard-work-tile:hover,
.dashboard-summary-card.dashboard-work-tile:focus-visible {
  background: rgba(255, 255, 255, 0.74);
  transform: translateY(-1px);
}

.dashboard-summary-card .dashboard-summary-icon {
  width: 42px;
  height: 42px;
}

.dashboard-summary-card .dashboard-summary-label {
  color: rgba(23, 33, 43, 0.48);
  font-size: 13px;
  font-weight: 560;
}

.dashboard-summary-card .work-tile-value {
  margin-top: 10px;
  color: #17212b;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.dashboard-summary-card [data-summary-status] {
  margin-top: 6px;
  color: rgba(23, 33, 43, 0.52);
  font-size: 13px;
  line-height: 1.4;
}

.dashboard-work-grid[data-dashboard-jobs-section] {
  width: min(980px, 100%);
  margin: 52px auto 0;
}

.dashboard-work-grid[data-dashboard-jobs-section] .dashboard-work-card--jobs {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.dashboard-work-grid[data-dashboard-jobs-section] .work-card-header {
  padding-bottom: 18px;
}

.dashboard-work-grid[data-dashboard-jobs-section] .work-card-title-row h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.dashboard-job-card {
  border: 0;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 16px 46px rgba(36, 56, 77, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

@media (max-width: 980px) {
  .dashboard-summary-grid.work-snapshot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .dashboard-welcome-card.sofia-dashboard-hero {
    padding: 28px 22px;
    border-radius: 28px;
  }

  .sofia-title {
    font-size: 24px;
  }

  .sofia-dashboard-hero .dashboard-smart-composer {
    grid-template-columns: 38px minmax(0, 1fr) 42px;
  }

  /* .sofia-dashboard-hero .composer-mic {
    display: none;
  } */

  .sofia-dashboard-hero .composer-send span {
    display: none;
  }

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

/* Sofia-first, not Sofia-only: workspace doors directly under the command layer. */
.dashboard-welcome-card.sofia-dashboard-hero {
  margin-top: 0;
  padding: 34px 38px 32px;
  border-radius: 32px;
}

.sofia-title {
  margin-top: 20px;
  font-size: 26px;
  line-height: 1.22;
}

.sofia-text {
  font-size: 15px;
  line-height: 1.6;
}

.sofia-dashboard-hero .dashboard-smart-card {
  margin-top: 26px;
}

.dashboard-summary-section {
  margin-top: 22px;
}

.dashboard-summary-grid.work-snapshot {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.dashboard-summary-card.dashboard-work-tile {
  min-height: 132px;
  align-items: start;
}

.workspace-action-text {
  margin-top: 18px;
  display: inline-flex;
  color: #168CA4;
  font-size: 13.5px;
  font-weight: 560;
  line-height: 1.3;
}

/* Dashboard review 2026-06-22: Sofia first, workspace dock second. */
.dashboard-shell {
  width: min(1040px, 100%);
}

.dashboard-welcome-card.sofia-dashboard-hero,
.dashboard-summary-section,
.dashboard-work-grid[data-dashboard-jobs-section] {
  width: min(980px, 100%);
}

.dashboard-welcome-card.sofia-dashboard-hero {
  margin-top: 0;
}

.dashboard-summary-section {
  margin: 24px auto 0;
}

.dashboard-section-heading {
  margin-bottom: 8px;
}

.dashboard-section-heading h2 {
  color: rgba(23, 33, 43, 0.42);
  font-size: 13px;
  font-weight: 560;
  letter-spacing: 0.01em;
}

.dashboard-summary-grid.work-snapshot {
  gap: 14px;
}

.dashboard-summary-card.dashboard-work-tile {
  min-height: 116px;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow:
    0 12px 34px rgba(36, 56, 77, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.dashboard-summary-card .dashboard-summary-icon {
  width: 32px;
  height: 32px;
  opacity: 0.58;
}

.dashboard-summary-card .dashboard-summary-label {
  font-size: 12px;
}

.dashboard-summary-card .work-tile-value {
  margin-top: 7px;
  font-size: 16px;
  font-weight: 560;
}

.dashboard-summary-card [data-summary-status] {
  margin-top: 5px;
  font-size: 13px;
}

.workspace-action-text {
  margin-top: 14px;
  font-size: 13px;
}

.dashboard-work-grid[data-dashboard-jobs-section] {
  margin-top: 48px;
}

/* Dashboard hierarchy/alignment fix 2026-06-23. Keep one grid, no floating islands. */
.sb-main,
.sb-front-page .sb-main {
  padding: 64px clamp(32px, 5vw, 80px) 96px 136px !important;
}

.dashboard-shell {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 0;
}

.dashboard-welcome-card.sofia-dashboard-hero,
.dashboard-summary-section,
.dashboard-work-grid[data-dashboard-jobs-section] {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
}

.dashboard-welcome-card.sofia-dashboard-hero {
  padding: 32px 36px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow:
    0 28px 80px rgba(36, 56, 77, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

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

.sofia-title {
  margin-top: 20px;
}

.sofia-text {
  margin-top: 8px;
}

.sofia-dashboard-hero .dashboard-smart-card {
  margin-top: 24px;
}

.sofia-dashboard-hero .command-suggestions {
  margin-top: 14px;
}

.dashboard-summary-section {
  margin-top: 28px;
}

.dashboard-section-heading {
  margin: 0 0 12px;
}

.dashboard-summary-grid.work-snapshot {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dashboard-summary-card.dashboard-work-tile {
  min-height: 132px;
  padding: 22px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow:
    0 12px 36px rgba(36, 56, 77, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transform: none;
}

.dashboard-summary-card.dashboard-work-tile:hover,
.dashboard-summary-card.dashboard-work-tile:focus-visible {
  transform: none;
}

.dashboard-work-grid[data-dashboard-jobs-section] {
  margin-top: 48px;
}

.sb-float-trigger,
.sb-float-window {
  display: none !important;
}

/* Desktop collapsed-rail sidebar styling. MUST stay scoped to desktop — on
   mobile (<=1024px) the sidebar is a full-width drawer whose header shows the
   full logo, and these 72px/circular rules would break it (squished logo in a
   white circle). */
@media (min-width: 1025px) {
  .sb-sidebar-header {
    width: 72px;
    min-height: 72px;
    margin-left: 24px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border-radius: 36px;
  }

  .sb-sidebar-header-inner {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 20px;
  }

  .sb-sidebar-logo-img {
    width: 52px !important;
    max-width: 52px !important;
  }

  .sb-menu,
  .sb-footer {
    margin-left: 24px;
  }
}

@media (max-width: 1000px) {
  .sb-main,
  .sb-front-page .sb-main {
    padding-inline: 32px !important;
    padding-left: 120px !important;
  }

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

@media (max-width: 720px) {
  .sb-main,
  .sb-front-page .sb-main {
    padding: 24px 20px 72px !important;
  }

  .dashboard-summary-section {
    margin-top: 20px;
  }

  .dashboard-summary-grid.work-snapshot {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dashboard-welcome-card.sofia-dashboard-hero {
    padding: 26px 22px;
    border-radius: 24px;
  }
}

/* Logged-in dashboard shell/layout redesign 2026-06-23. */
body,
.sb-front-page {
  background:
    radial-gradient(circle at 50% -12%, rgba(22, 140, 164, 0.06), transparent 36%),
    #f7f9f9;
}

.sb-main,
.sb-front-page .sb-main {
  min-height: 100vh;
  padding: 48px 32px 72px 116px !important;
  color: #17212b;
  transition: padding-left 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.sb-sidebar-expanded .sb-main,
body.sb-sidebar-expanded .sb-front-page .sb-main {
  padding-left: 264px !important;
}

.dashboard-shell {
  width: min(1120px, 100%);
  min-height: 0;
  margin: 0 auto;
  padding: 0;
}

.dashboard-welcome-card.sofia-dashboard-hero,
.dashboard-summary-section,
.dashboard-work-grid[data-dashboard-jobs-section] {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.dashboard-welcome-card.sofia-dashboard-hero {
  min-height: 0;
  gap: 0;
  padding: 28px 32px 30px;
  border: 1px solid rgba(30, 41, 59, 0.075);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 1px 2px rgba(20, 32, 45, 0.025),
    0 20px 54px rgba(20, 32, 45, 0.07);
  backdrop-filter: blur(18px);
  animation: dashboard-enter 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sofia-hero-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.sofia-hero-identity {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(23, 33, 43, 0.68);
  font-size: 14px;
  font-weight: 560;
  letter-spacing: -0.01em;
}

.sofia-mark {
  width: 30px;
  height: 30px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    #1C9AB0;
  box-shadow: 0 8px 18px rgba(31, 127, 155, 0.16);
}

.fp-prev-chats-trigger {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  color: rgba(23, 33, 43, 0.54);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 520;
  cursor: pointer;
}

.fp-prev-chats-trigger:hover,
.fp-prev-chats-trigger:focus-visible {
  color: #168CA4;
  outline: none;
}

.fp-prev-chats-trigger svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sofia-title {
  max-width: 720px;
  margin: 20px 0 0;
  color: #17212b;
  font-family: Inter, "Source Sans Pro", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.sofia-text {
  max-width: 680px;
  margin: 9px 0 0;
  color: rgba(23, 33, 43, 0.64);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.55;
}

.sofia-dashboard-hero .dashboard-smart-card {
  margin-top: 24px;
}

.sofia-dashboard-hero .dashboard-smart-composer {
  min-height: 68px;
  grid-template-columns: 44px minmax(0, 1fr) 34px auto;
  gap: 10px;
  padding: 8px 9px 8px 10px;
  border: 1px solid rgba(30, 41, 59, 0.11);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.assistant-composer textarea {
  min-height: 42px;
  max-height: 84px;
  padding: 10px 0;
  color: #17212b;
  font-size: 15.5px;
  line-height: 1.4;
  resize: none;
}

.assistant-composer textarea::placeholder {
  color: rgba(23, 33, 43, 0.46);
}

.composer-icon--add {
  color: #168CA4;
  background: rgba(31, 127, 155, 0.08);
}

.composer-send {
  min-width: 104px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1C9AB0 0%, #168CA4 100%);
  box-shadow: 0 12px 24px rgba(31, 127, 155, 0.18);
  font-size: 14px;
  font-weight: 560;
  letter-spacing: -0.01em;
}

.composer-send:hover,
.composer-send:focus-visible {
  background: linear-gradient(180deg, #2793b2 0%, #176f87 100%);
}

.sofia-dashboard-hero .command-suggestions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
  color: rgba(23, 33, 43, 0.48);
  font-size: 13px;
}

.command-suggestion-chip {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(30, 41, 59, 0.08);
  border-radius: 999px;
  color: rgba(23, 33, 43, 0.64);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.command-suggestion-chip:hover,
.command-suggestion-chip:focus-visible {
  border-color: rgba(31, 127, 155, 0.18);
  color: #168CA4;
  background: rgba(42, 159, 192, 0.07);
  outline: none;
}

.dashboard-summary-section {
  margin-top: 24px;
  animation: dashboard-enter 440ms 70ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dashboard-section-heading {
  margin: 0 0 12px;
}

.dashboard-section-heading h2 {
  color: rgba(23, 33, 43, 0.48);
  font-size: 13px;
  font-weight: 560;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

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

.dashboard-summary-card.dashboard-work-tile {
  min-height: 122px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  column-gap: 14px;
  row-gap: 4px;
  padding: 20px;
  border: 1px solid rgba(30, 41, 59, 0.075);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 36px rgba(20, 32, 45, 0.045);
  transform: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.dashboard-summary-card.dashboard-work-tile:hover,
.dashboard-summary-card.dashboard-work-tile:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(31, 127, 155, 0.18);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 44px rgba(20, 32, 45, 0.065);
  outline: none;
}

.dashboard-summary-card .dashboard-summary-icon {
  width: 40px;
  height: 40px;
  border-radius: 15px;
  color: #168CA4;
  background: rgba(42, 159, 192, 0.08);
  opacity: 1;
}

.dashboard-summary-card .dashboard-summary-icon svg {
  width: 21px;
  height: 21px;
}

.dashboard-summary-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.dashboard-summary-card .dashboard-summary-label {
  color: rgba(23, 33, 43, 0.46);
  font-size: 12px;
  font-weight: 560;
  letter-spacing: 0.01em;
}

.dashboard-summary-card .work-tile-value {
  margin-top: 8px;
  color: #17212b;
  font-size: 17px;
  font-weight: 580;
  line-height: 1.25;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.dashboard-summary-card [data-summary-status] {
  margin-top: 5px;
  color: rgba(23, 33, 43, 0.62);
  font-size: 13.5px;
  line-height: 1.45;
}

.workspace-action-text {
  margin-top: 14px;
  color: #168CA4;
  font-size: 13.5px;
  font-weight: 560;
}

.dashboard-work-grid[data-dashboard-jobs-section] {
  margin-top: 48px;
  animation: dashboard-enter 440ms 140ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dashboard-work-card {
  border: 1px solid rgba(30, 41, 59, 0.075);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 42px rgba(20, 32, 45, 0.045);
  backdrop-filter: blur(14px);
}

.dashboard-job-card {
  border: 1px solid rgba(30, 41, 59, 0.06);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

.sb-float-trigger,
.sb-float-window {
  display: none !important;
}

@keyframes dashboard-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1025px) {
  .sb-front-page .sb-sidebar-header {
    width: auto;
    /* Match the shared sidebar.css desktop header (min-height: 68px) so the nav
       icons sit at the same vertical offset on Home as on the CV/Ansøgning/etc.
       tabs. A smaller value here shifted Home's icons up, so switching tabs made
       them jump up/down. Keep in sync with sidebar.css .sb-sidebar-header. */
    min-height: 68px;
    margin-left: 0;
    padding: 0;
    border-radius: 0;
  }

  .sb-front-page .sb-sidebar-header-inner {
    width: auto;
    height: 52px;
    overflow: visible;
    border-radius: 0;
  }

  .sb-front-page .sb-sidebar-logo-img {
    display: none !important;
  }

  .sb-front-page .sb-sidebar.is-expanded .sb-sidebar-logo-img {
    width: 168px !important;
    max-width: 168px !important;
    display: block !important;
  }

  .sb-front-page .sb-menu,
  .sb-front-page .sb-footer {
    margin-left: 0;
  }
}

@media (max-width: 1100px) {
  .dashboard-summary-grid.work-snapshot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .sb-main,
  .sb-front-page .sb-main,
  body.sb-sidebar-expanded .sb-main,
  body.sb-sidebar-expanded .sb-front-page .sb-main {
    padding: 76px 20px 64px !important;
  }

  .dashboard-welcome-card.sofia-dashboard-hero {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .sofia-hero-header {
    align-items: flex-start;
  }

  .fp-prev-chats-trigger span {
    display: none;
  }

  .sofia-title {
    margin-top: 18px;
    font-size: 28px;
  }

  .sofia-dashboard-hero .dashboard-smart-composer {
    grid-template-columns: 40px minmax(0, 1fr) 46px;
    min-height: 64px;
  }

  .composer-send {
    min-width: 46px;
    width: 46px;
    height: 46px;
    padding: 0;
  }

  .dashboard-summary-grid.work-snapshot {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-welcome-card.sofia-dashboard-hero,
  .dashboard-summary-section,
  .dashboard-work-grid[data-dashboard-jobs-section] {
    animation: none !important;
  }
}

/* Dashboard hierarchy polish: Sofia -> Workspaces -> Jobs needing attention. */
.dashboard-shell.dashboard-content {
  width: min(1040px, 100%);
  max-width: 1040px;
  margin-inline: auto;
  padding: 48px 32px 64px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.dashboard-section + .dashboard-section {
  margin-top: 28px;
}

.dashboard-sofia {
  order: 1;
}

.dashboard-active-stack {
  order: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 28px;
}

.dashboard-summary-section {
  order: 1;
  width: 100%;
  margin-top: 0 !important;
  animation: dashboard-enter 410ms 70ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dashboard-work-grid[data-dashboard-jobs-section] {
  order: 2;
  width: 100%;
  margin-top: 0 !important;
  animation: dashboard-enter 410ms 140ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dashboard-work-card--jobs {
  order: 0 !important;
  grid-column: auto !important;
}

.dashboard-welcome-card.sofia-dashboard-hero.dashboard-sofia {
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 22px 28px 24px;
  border: 0;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow:
    0 22px 62px rgba(36, 56, 77, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  animation: dashboard-enter 410ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sofia-dashboard-hero .sofia-title {
  margin-top: 12px;
  max-width: 760px;
  font-size: clamp(28px, 3.2vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 580;
}

.sofia-dashboard-hero .sofia-text {
  margin-top: 8px;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.58;
}

.sofia-dashboard-hero .ai-assistant-card {
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.sofia-dashboard-hero .dashboard-smart-composer {
  margin-top: 0;
  min-height: 58px;
}

.sofia-dashboard-hero .dashboard-smart-examples {
  margin-top: 10px;
}

.dashboard-section-heading {
  margin: 0 0 12px;
}

.dashboard-section-heading h2 {
  font-size: 15px;
  line-height: 1.25;
  font-weight: 560;
  letter-spacing: -0.01em;
  color: rgba(23, 33, 43, 0.62);
}

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

.dashboard-summary-card.dashboard-work-tile {
  min-height: 118px;
  padding: 18px;
  border: 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow:
    0 14px 38px rgba(36, 56, 77, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.dashboard-summary-card.dashboard-work-tile:hover,
.dashboard-summary-card.dashboard-work-tile:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.76);
  box-shadow:
    0 18px 48px rgba(36, 56, 77, 0.065),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.dashboard-work-grid[data-dashboard-jobs-section] .dashboard-work-card--jobs {
  padding: 0;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 16px 42px rgba(36, 56, 77, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.dashboard-work-grid[data-dashboard-jobs-section] .work-card-header {
  padding: 20px 22px 14px;
}

.dashboard-work-grid[data-dashboard-jobs-section] .work-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-work-grid[data-dashboard-jobs-section] .work-card-title-row h2 {
  margin: 0;
  color: #17212b;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 580;
}

.dashboard-work-grid[data-dashboard-jobs-section] .work-card-count {
  min-width: 30px;
  height: 26px;
  padding: 0 10px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(42, 159, 192, 0.1);
  color: #168CA4;
  font-size: 12px;
  font-weight: 560;
}

.dashboard-work-grid[data-dashboard-jobs-section] .work-card-subrow {
  margin-top: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-work-grid[data-dashboard-jobs-section] .work-card-subrow p {
  margin: 0;
  color: rgba(23, 33, 43, 0.56);
  font-size: 13.5px;
  line-height: 1.45;
}

.dashboard-work-grid[data-dashboard-jobs-section] .work-card-action {
  flex: 0 0 auto;
  color: #168CA4;
  font-size: 13.5px;
  font-weight: 560;
}

.dashboard-job-list {
  padding: 0;
}

.dashboard-job-card.dashboard-job-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(230px, 0.9fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 88px;
  padding: 18px 22px;
  border: 0;
  border-top: 1px solid rgba(30, 41, 59, 0.06);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: dashboard-enter 390ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dashboard-job-card.dashboard-job-row:nth-child(1) {
  animation-delay: 210ms;
}

.dashboard-job-card.dashboard-job-row:nth-child(2) {
  animation-delay: 280ms;
}

.dashboard-job-card.dashboard-job-row:nth-child(3) {
  animation-delay: 350ms;
}

.dashboard-job-card.dashboard-job-row:hover,
.dashboard-job-card.dashboard-job-row:focus-within {
  background: rgba(255, 255, 255, 0.46);
  transform: none;
}

.dashboard-job-card__main,
.dashboard-job-card__progress,
.dashboard-job-card__actions {
  min-width: 0;
}

.dashboard-job-card h3 {
  margin: 0;
  color: #17212b;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 580;
}

.dashboard-job-card__company {
  margin-top: 6px;
  color: rgba(23, 33, 43, 0.56);
  font-size: 13.5px;
  line-height: 1.4;
}

.dashboard-job-card__next,
.dashboard-job-card__documents {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
}

.dashboard-job-card__next {
  color: #17212b;
  font-weight: 560;
}

.dashboard-job-card__next strong {
  color: rgba(23, 33, 43, 0.48);
  font-weight: 560;
}

.dashboard-job-card__documents {
  margin-top: 5px;
  color: rgba(23, 33, 43, 0.56);
}

.dashboard-job-card__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.dashboard-job-stage {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(42, 159, 192, 0.09);
  color: #168CA4;
  font-size: 12px;
  font-weight: 560;
  line-height: 1;
}

.dashboard-job-card__continue {
  min-height: 38px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(180deg, #1C9AB0 0%, #168CA4 100%);
  font-size: 13.5px;
  font-weight: 560;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(31, 127, 155, 0.18);
}

.dashboard-job-card__continue::after {
  display: none !important;
}

.dashboard-job-card__continue:hover,
.dashboard-job-card__continue:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(31, 127, 155, 0.22);
  outline: none;
}

@media (max-width: 1000px) {
  .dashboard-workspaces {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-job-card.dashboard-job-row {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 0.78fr) auto;
    gap: 18px;
  }
}

@media (max-width: 720px) {
  .dashboard-shell.dashboard-content {
    padding: 30px 18px 56px;
  }

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

  .dashboard-job-card.dashboard-job-row {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding: 18px;
  }

  .dashboard-job-card__actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-sofia,
  .dashboard-summary-section,
  .dashboard-work-grid[data-dashboard-jobs-section],
  .dashboard-job-card.dashboard-job-row {
    animation: none !important;
  }
}

/* Hard hierarchy guard against older dashboard systems still in this file. */
.dashboard-shell > .dashboard-welcome-card.sofia-command-card,
.dashboard-shell > .dashboard-welcome-card.sofia-dashboard-hero,
.dashboard-shell > [data-sofia-hero] {
  order: 1 !important;
  width: 100% !important;
  margin: 0 !important;
}

.dashboard-shell > .dashboard-active-stack,
.dashboard-shell > [data-dashboard-active] {
  order: 2 !important;
  width: 100% !important;
  margin-top: 28px !important;
}

.dashboard-active-stack > .dashboard-summary-section {
  order: 1 !important;
  margin-top: 0 !important;
}

.dashboard-active-stack > .dashboard-work-grid[data-dashboard-jobs-section] {
  order: 2 !important;
  margin-top: 0 !important;
}

/* Sofia premium anchor polish: keep the intelligence surface distinct. */
.dashboard-shell > .dashboard-welcome-card.sofia-dashboard-hero,
.dashboard-shell > .dashboard-welcome-card.sofia-command-card[data-sofia-hero],
.dashboard-shell > [data-sofia-hero] {
  background:
    radial-gradient(circle at 8% 0%,
      rgba(38, 159, 177, 0.11),
      transparent 34%),
    radial-gradient(circle at 92% 100%,
      rgba(74, 160, 132, 0.08),
      transparent 32%),
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.96),
      rgba(250, 253, 252, 0.88)) !important;
  border: 1px solid rgba(31, 122, 137, 0.12) !important;
  box-shadow:
    0 24px 64px rgba(26, 57, 68, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  animation: dashboard-sofia-anchor-enter 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dashboard-shell > [data-sofia-hero] .sofia-mark {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #1C9AB0 0%, #168CA4 52%, #0F7F97 100%) !important;
  box-shadow:
    0 10px 22px rgba(31, 127, 155, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.34) !important;
}

.dashboard-shell > [data-sofia-hero] .dashboard-smart-composer {
  border: 1px solid rgba(31, 122, 137, 0.11) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)) !important;
  box-shadow:
    0 10px 28px rgba(26, 57, 68, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.dashboard-shell > [data-sofia-hero] .ai-assistant-card.is-focused .dashboard-smart-composer,
.dashboard-shell > [data-sofia-hero] .dashboard-smart-composer:focus-within {
  border-color: rgba(31, 127, 155, 0.36) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow:
    0 14px 34px rgba(26, 57, 68, 0.07),
    0 0 0 4px rgba(42, 159, 192, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

.dashboard-shell > [data-sofia-hero] .composer-send {
  color: #fff !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    #7fb7c2 !important;
  box-shadow: none !important;
  opacity: 0.72;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.dashboard-shell > [data-sofia-hero] .composer-send:not(:disabled):not([data-smart-intent="empty"]) {
  background:
    linear-gradient(180deg, #1C9AB0 0%, #168CA4 100%) !important;
  box-shadow: 0 14px 28px rgba(31, 127, 155, 0.22) !important;
  opacity: 1;
}

.dashboard-shell > [data-sofia-hero] .composer-send:disabled,
.dashboard-shell > [data-sofia-hero] .composer-send[data-smart-intent="empty"] {
  cursor: default;
  transform: none;
}

.dashboard-shell > [data-sofia-hero] .composer-send:not(:disabled):hover,
.dashboard-shell > [data-sofia-hero] .composer-send:not(:disabled):focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(31, 127, 155, 0.26) !important;
}

.dashboard-shell > [data-sofia-hero] .composer-send svg {
  transition: transform 180ms ease;
}

.dashboard-shell > [data-sofia-hero] .composer-send:not(:disabled):hover svg,
.dashboard-shell > [data-sofia-hero] .composer-send:not(:disabled):focus-visible svg {
  transform: translateX(2px);
}

.dashboard-summary-card.dashboard-work-tile,
.dashboard-work-grid[data-dashboard-jobs-section] .dashboard-work-card--jobs {
  background: rgba(255, 255, 255, 0.64) !important;
}

@keyframes dashboard-sofia-anchor-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-shell > [data-sofia-hero] {
    animation: none !important;
  }

  .dashboard-shell > [data-sofia-hero] .composer-send,
  .dashboard-shell > [data-sofia-hero] .composer-send svg,
  .dashboard-shell > [data-sofia-hero] .dashboard-smart-composer {
    transition: none !important;
  }
}

/* Sofia hero refinement: compact entry point, not an instruction panel. */
.dashboard-shell > [data-sofia-hero] {
  position: relative !important;
  /* The enter animation leaves a persistent transform (fill-mode: both →
     translateY(0)), which makes the hero its own stacking context. Lift it
     above the later Workspaces stack so the composer add menu, which overflows
     the hero, is not painted behind those cards. */
  z-index: 5 !important;
  width: min(960px, 100%) !important;
  margin: 0 auto !important;
  padding: 38px 42px 40px !important;
  border-radius: 30px !important;
  text-align: center;
  background:
    radial-gradient(circle at 7% 0%,
      rgba(38, 159, 177, 0.10),
      transparent 32%),
    radial-gradient(circle at 94% 100%,
      rgba(74, 160, 132, 0.075),
      transparent 32%),
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.98),
      rgba(252, 254, 253, 0.9)) !important;
}

.dashboard-shell > [data-sofia-hero] .sofia-hero-header {
  max-width: 620px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.dashboard-shell > [data-sofia-hero] .sofia-hero-identity {
  position: static !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 14px;
  transform: none !important;
}

.dashboard-shell > [data-sofia-hero] .sofia-label {
  display: none;
}

.dashboard-shell > [data-sofia-hero] .sofia-mark {
  position: static !important;
  display: block;
  width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  border-radius: 13px !important;
  flex: 0 0 auto;
  transform: none !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
}

.dashboard-shell > [data-sofia-hero] .sofia-hero-utilities {
  position: absolute;
  top: 26px;
  right: 30px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dashboard-shell > [data-sofia-hero] .fp-prev-chats-trigger {
  margin: 0 !important;
  color: rgba(23, 33, 43, 0.46) !important;
  font-size: 13px !important;
  font-weight: 520 !important;
  white-space: nowrap;
}

.dashboard-shell > [data-sofia-hero] .sofia-title {
  max-width: 620px;
  margin: 0 auto !important;
  font-size: clamp(31px, 3.4vw, 38px) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.05em !important;
  font-weight: 580 !important;
}

.dashboard-shell > [data-sofia-hero] .sofia-text {
  max-width: 560px;
  margin: 10px auto 0 !important;
  color: rgba(23, 33, 43, 0.6) !important;
  font-size: 15.5px !important;
  line-height: 1.6 !important;
}

.dashboard-shell > [data-sofia-hero] .ai-assistant-card {
  width: min(820px, 100%);
  margin: 26px auto 0 !important;
}

.dashboard-shell > [data-sofia-hero] .dashboard-smart-composer {
  width: 100%;
  min-height: 76px !important;
  margin-top: 0 !important;
  padding: 10px 12px !important;
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) 42px auto;
  gap: 10px;
  align-items: center;
  border-radius: 24px !important;
}

.dashboard-shell > [data-sofia-hero] .dashboard-smart-composer textarea {
  min-height: 44px;
  max-height: 104px;
  padding: 11px 4px !important;
  resize: none;
  text-align: left;
  background: transparent;
  border: 0;
}

.dashboard-shell > [data-sofia-hero] .composer-add,
.dashboard-shell > [data-sofia-hero] .composer-mic {
  width: 44px !important;
  height: 44px !important;
}

.dashboard-shell > [data-sofia-hero] .composer-submit {
  min-height: 48px !important;
  padding-inline: 18px !important;
}

/* Adaptive Sofia composer: long text and pasted job URLs stay calm. */
.dashboard-shell > [data-sofia-hero] .dashboard-smart-composer {
  position: relative;
  grid-template-columns: 44px minmax(0, 1fr) 42px auto !important;
  grid-template-areas:
    "preview preview preview preview"
    "input input input input"
    "add spacer mic send" !important;
  column-gap: 10px !important;
  row-gap: 8px !important;
  padding: 12px 14px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(30, 41, 59, 0.10) !important;
  box-shadow:
    0 16px 42px rgba(20, 32, 45, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.dashboard-shell > [data-sofia-hero] .dashboard-smart-composer:focus-within {
  border-color: rgba(31, 151, 169, 0.34) !important;
  box-shadow:
    0 18px 48px rgba(31, 151, 169, 0.10),
    0 0 0 4px rgba(31, 151, 169, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

.dashboard-shell > [data-sofia-hero] .dashboard-smart-composer textarea {
  grid-area: input;
  width: 100%;
  min-height: 28px !important;
  max-height: 112px !important;
  padding: 2px 6px !important;
  line-height: 1.5 !important;
  overflow-y: hidden !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(30, 41, 59, 0.16) transparent;
}

.dashboard-shell > [data-sofia-hero] .dashboard-smart-composer textarea.is-scrollable {
  overflow-y: auto !important;
}

.dashboard-shell > [data-sofia-hero] .dashboard-smart-composer textarea::-webkit-scrollbar {
  width: 6px;
}

.dashboard-shell > [data-sofia-hero] .dashboard-smart-composer textarea::-webkit-scrollbar-track {
  background: transparent;
}

.dashboard-shell > [data-sofia-hero] .dashboard-smart-composer textarea::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.16);
}

.dashboard-shell > [data-sofia-hero] .composer-add {
  grid-area: add;
}

.dashboard-shell > [data-sofia-hero] .composer-mic {
  grid-area: mic;
  width: 40px !important;
  height: 40px !important;
  justify-self: end;
}

/* Active (recording) state. speechToText.js adds `.listening` while the STT
   socket is streaming; without a style the button gave no feedback. Fill it
   with a soft brand wash and a pulsing halo so the live mic is unmistakable.
   (The connecting spinner is handled globally via .stt-connecting in style.css;
   the icon stroke is set to brand teal inline by speechToText.js.) */
.dashboard-shell > [data-sofia-hero] .composer-mic.listening {
  color: var(--v2-primary) !important;
  background: rgba(42, 159, 192, 0.18) !important;
  animation: composer-mic-pulse 1.5s ease-out infinite;
}

@keyframes composer-mic-pulse {
  0% { box-shadow: 0 0 0 0 rgba(42, 159, 192, 0.34); }
  70% { box-shadow: 0 0 0 9px rgba(42, 159, 192, 0); }
  100% { box-shadow: 0 0 0 0 rgba(42, 159, 192, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-shell > [data-sofia-hero] .composer-mic.listening {
    animation: none;
    box-shadow: 0 0 0 4px rgba(42, 159, 192, 0.18);
  }
}

.dashboard-shell > [data-sofia-hero] .composer-submit {
  grid-area: send;
  justify-self: end;
  min-height: 44px !important;
  border-radius: 15px !important;
  white-space: nowrap;
}

.dashboard-shell > [data-sofia-hero] .composer-add-menu {
  top: calc(100% + 10px);
  left: 14px;
}

.dashboard-shell > [data-sofia-hero] .sofia-composer__link-preview {
  grid-area: preview;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 32px;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 8px 4px 10px;
  text-align: left;
}

.dashboard-shell > [data-sofia-hero] .sofia-composer__link-preview[hidden] {
  display: none !important;
}

.dashboard-shell > [data-sofia-hero] .has-link-preview textarea {
  display: none !important;
}

.dashboard-shell > [data-sofia-hero] .link-preview__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #168CA4;
  background: rgba(31, 151, 169, 0.08);
}

.dashboard-shell > [data-sofia-hero] .link-preview__icon svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-shell > [data-sofia-hero] .link-preview__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dashboard-shell > [data-sofia-hero] .link-preview__content strong,
.dashboard-shell > [data-sofia-hero] .link-preview__content span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dashboard-shell > [data-sofia-hero] .link-preview__content strong {
  color: #17212b;
  font-size: 14.5px;
  font-weight: 580;
  letter-spacing: -0.01em;
}

.dashboard-shell > [data-sofia-hero] .link-preview__content span {
  color: rgba(23, 33, 43, 0.54);
  font-size: 13px;
  font-weight: 450;
}

.dashboard-shell > [data-sofia-hero] .link-preview__remove {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: rgba(23, 33, 43, 0.52);
  background: transparent;
  font: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.dashboard-shell > [data-sofia-hero] .link-preview__remove:hover,
.dashboard-shell > [data-sofia-hero] .link-preview__remove:focus-visible {
  outline: 0;
  color: #17212b;
  background: rgba(30, 41, 59, 0.06);
}

.dashboard-shell > [data-sofia-hero] .dashboard-smart-composer.is-loading-job .composer-submit:disabled {
  opacity: 1;
  color: #fff !important;
  background: linear-gradient(180deg, #1C9AB0 0%, #168CA4 100%) !important;
  box-shadow: 0 14px 28px rgba(31, 127, 155, 0.18) !important;
}

.dashboard-shell > [data-sofia-hero] .dashboard-smart-composer.is-loading-job .composer-submit svg {
  display: none;
}

.dashboard-shell > [data-sofia-hero] .dashboard-smart-composer.is-loading-job .composer-submit::after {
  content: "";
  width: 13px;
  height: 13px;
  margin-left: 8px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #fff;
  border-radius: 999px;
  animation: sofia-reading-spin 720ms linear infinite;
}

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

.dashboard-shell > [data-sofia-hero] .dashboard-smart-examples {
  display: none !important;
  width: min(820px, 100%);
  margin: 12px auto 0 !important;
  justify-content: center;
}

.dashboard-shell > [data-sofia-hero] .dashboard-smart-examples.is-visible {
  display: flex !important;
}

.dashboard-shell > [data-sofia-hero] .dashboard-smart-examples > span {
  color: rgba(23, 33, 43, 0.44) !important;
  font-size: 12.5px !important;
  font-weight: 520 !important;
}

.dashboard-shell > [data-sofia-hero] .command-suggestion-chip:nth-of-type(n+4) {
  display: none !important;
}

.dashboard-active-stack {
  gap: 42px !important;
  margin-top: 50px !important;
}

.dashboard-summary-section .dashboard-section-heading {
  margin-bottom: 15px !important;
}

.dashboard-work-grid[data-dashboard-jobs-section] .work-card-header {
  padding-bottom: 13px !important;
}

@media (max-width: 700px) {
  .dashboard-shell > [data-sofia-hero] {
    width: 100% !important;
    padding: 30px 20px 28px !important;
  }

  .dashboard-shell > [data-sofia-hero] .sofia-hero-utilities {
    position: static;
    display: flex;
    justify-content: center;
    margin: 0 0 18px;
  }

  .dashboard-shell > [data-sofia-hero] .sofia-hero-header {
    display: flex;
    align-items: center;
  }

  .dashboard-shell > [data-sofia-hero] .dashboard-smart-composer {
    grid-template-columns: 42px minmax(0, 1fr) 42px 48px;
    min-height: 68px !important;
  }

  .dashboard-shell > [data-sofia-hero] .composer-submit span {
    display: none;
  }
}

@media (max-width: 700px) {
  .dashboard-shell > [data-sofia-hero] .dashboard-smart-composer {
    grid-template-columns: 42px minmax(0, 1fr) 42px !important;
    grid-template-areas:
      "preview preview preview"
      "input input input"
      "add spacer mic"
      "send send send" !important;
  }

  .dashboard-shell > [data-sofia-hero] .composer-submit {
    width: 100%;
    justify-content: center;
  }

  .dashboard-shell > [data-sofia-hero] .composer-submit span {
    display: inline !important;
  }
}

/* Premium workspace dock: spacious cards, secondary to Sofia. */
.workspace-section.dashboard-summary-section {
  width: 100%;
  margin-top: 0 !important;
}

.workspace-section .dashboard-section-heading {
  margin-bottom: 18px !important;
}

.workspace-section .dashboard-section-heading h2 {
  font-size: 15px;
  line-height: 1.25;
  font-weight: 560;
  letter-spacing: -0.01em;
  color: rgba(23, 33, 43, 0.62);
}

.workspace-grid.dashboard-workspaces {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  margin-top: 18px !important;
}

.workspace-card.dashboard-summary-card.dashboard-work-tile {
  position: relative;
  min-width: 0;
  min-height: 240px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  padding: 34px 34px 30px !important;
  border: 1px solid rgba(30, 41, 59, 0.07) !important;
  border-radius: 24px !important;
  color: #17212b;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow:
    0 18px 48px rgba(20, 32, 45, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  text-decoration: none;
  overflow: hidden;
  animation: workspace-card-enter 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.workspace-card.dashboard-summary-card.dashboard-work-tile:nth-child(1) {
  animation-delay: 80ms;
}

.workspace-card.dashboard-summary-card.dashboard-work-tile:nth-child(2) {
  animation-delay: 150ms;
}

.workspace-card.dashboard-summary-card.dashboard-work-tile:nth-child(3) {
  animation-delay: 220ms;
}

.workspace-card.dashboard-summary-card.dashboard-work-tile:hover,
.workspace-card.dashboard-summary-card.dashboard-work-tile:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(31, 151, 169, 0.18) !important;
  box-shadow:
    0 26px 58px rgba(20, 32, 45, 0.075),
    0 0 0 4px rgba(31, 151, 169, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
  outline: 0;
}

.workspace-card__icon.dashboard-summary-icon {
  width: 58px !important;
  height: 58px !important;
  display: grid !important;
  place-items: center;
  flex: 0 0 auto;
  margin: 0 0 34px !important;
  border-radius: 20px !important;
  color: #198ea3 !important;
  background: rgba(31, 151, 169, 0.07) !important;
}

.workspace-card__icon.dashboard-summary-icon svg {
  width: 28px !important;
  height: 28px !important;
  stroke: currentColor;
  stroke-width: 1.9;
}

.workspace-card__content.dashboard-summary-copy,
.workspace-card__content.work-tile-content {
  min-width: 0;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

.workspace-card__label.dashboard-summary-label {
  color: rgba(23, 33, 43, 0.48) !important;
  font-size: 12px !important;
  font-weight: 620 !important;
  line-height: 1.25;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.workspace-card__title.work-tile-value,
.workspace-card strong.workspace-card__title {
  max-width: 100%;
  margin-top: 14px;
  color: #17212b !important;
  font-size: clamp(19px, 1.45vw, 22px) !important;
  font-weight: 580 !important;
  line-height: 1.22 !important;
  letter-spacing: -0.025em !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.workspace-card__description {
  max-width: 100%;
  margin: 10px 0 0 !important;
  color: rgba(23, 33, 43, 0.58) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  white-space: normal;
}

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

.workspace-card__action.workspace-action-text {
  display: inline-flex !important;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  margin-top: auto !important;
  padding-top: 34px !important;
  color: #168CA4 !important;
  font-size: 14px !important;
  font-weight: 560 !important;
  line-height: 1.2;
  white-space: nowrap;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transition: color 180ms ease;
}

.workspace-card__action.workspace-action-text::after {
  content: "→";
  display: inline-block;
  transform: translateX(0);
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.workspace-card:hover .workspace-card__action::after,
.workspace-card:focus-visible .workspace-card__action::after {
  transform: translateX(3px);
}

@keyframes workspace-card-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1000px) {
  .workspace-grid.dashboard-workspaces {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .workspace-grid.dashboard-workspaces {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .workspace-card.dashboard-summary-card.dashboard-work-tile {
    min-height: 200px !important;
    padding: 28px !important;
  }

  .workspace-card__icon.dashboard-summary-icon {
    margin-bottom: 26px !important;
  }

  .workspace-card__action.workspace-action-text {
    padding-top: 28px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .workspace-card.dashboard-summary-card.dashboard-work-tile {
    animation: none !important;
    transition: none !important;
  }

  .workspace-card__action.workspace-action-text::after {
    transition: none !important;
  }
}

/* First-time dashboard: minimal tool launcher, secondary to Sofia. */
.first-use-flow[hidden],
.workspace-grid[hidden],
.workspace-section .dashboard-section-heading[hidden] {
  display: none !important;
}

.first-use-flow {
  display: block;
}

.dashboard-tools__title {
  margin: 0 0 12px;
  color: rgba(23, 33, 43, 0.52);
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: -0.005em;
  font-weight: 560;
}

.tool-launcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow:
    0 18px 46px rgba(36, 56, 77, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.tool-action {
  position: relative;
  min-height: 112px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  text-align: left;
  border: 0;
  color: #17212b;
  background: transparent;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

button.tool-action {
  width: 100%;
  font: inherit;
  cursor: pointer;
}

.tool-action + .tool-action::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 0;
  width: 1px;
  background: rgba(23, 33, 43, 0.07);
}

.tool-action:hover {
  background: rgba(31, 151, 169, 0.045);
}

.tool-action:focus-visible {
  z-index: 1;
  outline: none;
  box-shadow: inset 0 0 0 3px rgba(31, 151, 169, 0.14);
}

.tool-action--job {
  background: linear-gradient(180deg, rgba(240, 251, 250, 0.72), rgba(255, 255, 255, 0));
}

.tool-action__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #168CA4;
  background: rgba(31, 151, 169, 0.075);
}

.tool-action__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tool-action__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tool-action strong {
  color: #17212b;
  font-size: 16px;
  line-height: 1.28;
  letter-spacing: -0.02em;
  font-weight: 560;
}

.tool-action__body > span {
  color: rgba(23, 33, 43, 0.58);
  font-size: 13.5px;
  line-height: 1.42;
  font-weight: 400;
}

@media (max-width: 860px) {
  .tool-launcher {
    grid-template-columns: 1fr;
  }

  .tool-action + .tool-action::before {
    top: 0;
    bottom: auto;
    left: 22px;
    right: 22px;
    width: auto;
    height: 1px;
  }
}

@media (max-width: 680px) {
  .tool-action {
    min-height: 96px;
    padding: 18px 20px;
  }
}

/* Jobs needing attention: calm task list, not a dashboard stat card. */
.dashboard-work-grid[data-dashboard-jobs-section] .jobs-attention-panel {
  padding: 0 !important;
  border: 1px solid rgba(30, 41, 59, 0.07) !important;
  border-radius: 22px !important;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88) !important;
  box-shadow: 0 18px 46px rgba(20, 32, 45, 0.05) !important;
}

.dashboard-work-grid[data-dashboard-jobs-section] .attention-header {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 18px !important;
  border-bottom: 1px solid rgba(30, 41, 59, 0.06);
}

.dashboard-work-grid[data-dashboard-jobs-section] .attention-header h2 {
  margin: 0;
  color: #17212b;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 580;
}

.dashboard-work-grid[data-dashboard-jobs-section] .work-card-count,
.dashboard-work-grid[data-dashboard-jobs-section] .work-card-subrow,
.dashboard-work-grid[data-dashboard-jobs-section] [data-card-status="jobs"],
.dashboard-work-grid[data-dashboard-jobs-section] .dashboard-job-stage {
  display: none !important;
}

.dashboard-work-grid[data-dashboard-jobs-section] .attention-header__link {
  flex: 0 0 auto;
  color: #168CA4;
  font-size: 13.5px;
  font-weight: 560;
  text-decoration: none;
}

.dashboard-work-grid[data-dashboard-jobs-section] .attention-header__link:hover,
.dashboard-work-grid[data-dashboard-jobs-section] .attention-header__link:focus-visible {
  color: #166f88;
}

.dashboard-work-grid[data-dashboard-jobs-section] .dashboard-job-list {
  padding: 0 !important;
  display: block;
}

.dashboard-work-grid[data-dashboard-jobs-section] .attention-job-row.dashboard-job-card.dashboard-job-row {
  display: grid !important;
  grid-template-columns: minmax(280px, 1.4fr) minmax(230px, 0.9fr) auto !important;
  gap: 28px !important;
  align-items: center;
  min-height: 92px;
  padding: 20px 24px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
}

.dashboard-work-grid[data-dashboard-jobs-section] .attention-job-row + .attention-job-row {
  border-top: 1px solid rgba(30, 41, 59, 0.06) !important;
}

.dashboard-work-grid[data-dashboard-jobs-section] .attention-job-row:hover {
  background: rgba(22, 140, 164, 0.025) !important;
  transform: none !important;
}

.dashboard-work-grid[data-dashboard-jobs-section] .attention-job-row:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(31, 127, 155, 0.16) !important;
}

.dashboard-work-grid[data-dashboard-jobs-section] .attention-job-row h3 {
  margin: 0;
  color: #17212b;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 580;
}

.dashboard-work-grid[data-dashboard-jobs-section] .attention-job-row .dashboard-job-card__company {
  margin-top: 8px;
  color: rgba(23, 33, 43, 0.56);
  font-size: 13.5px;
  line-height: 1.45;
}

.dashboard-work-grid[data-dashboard-jobs-section] .attention-next {
  display: grid !important;
  gap: 4px;
  justify-items: start;
}

.dashboard-work-grid[data-dashboard-jobs-section] .attention-next__label {
  color: rgba(23, 33, 43, 0.44);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 560;
}

.dashboard-work-grid[data-dashboard-jobs-section] .attention-next__value {
  color: #17212b;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 620;
}

.dashboard-work-grid[data-dashboard-jobs-section] .attention-next__meta {
  color: rgba(23, 33, 43, 0.56);
  font-size: 13px;
  line-height: 1.45;
}

.dashboard-work-grid[data-dashboard-jobs-section] .attention-job-row .dashboard-job-card__actions {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center;
}

.dashboard-work-grid[data-dashboard-jobs-section] .attention-job-action.dashboard-job-card__continue {
  min-height: 42px !important;
  padding: 0 18px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #299c8d, #188ca4) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(24, 140, 164, 0.16) !important;
}

.dashboard-work-grid[data-dashboard-jobs-section] .attention-job-action.dashboard-job-card__continue::after {
  display: none !important;
}

.dashboard-work-grid[data-dashboard-jobs-section] .attention-job-action.dashboard-job-card__continue:hover,
.dashboard-work-grid[data-dashboard-jobs-section] .attention-job-action.dashboard-job-card__continue:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(24, 140, 164, 0.2) !important;
}

@media (max-width: 760px) {
  .dashboard-work-grid[data-dashboard-jobs-section] .attention-header {
    align-items: flex-start;
  }

  .dashboard-work-grid[data-dashboard-jobs-section] .attention-job-row.dashboard-job-card.dashboard-job-row {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .dashboard-work-grid[data-dashboard-jobs-section] .attention-job-row .dashboard-job-card__actions {
    justify-content: flex-start !important;
  }
}

/* Very small phones (<=384px): the title's longest word plus the fixed-width
   "see all" link can't share one row inside the card, so let the header wrap
   and drop the link onto its own line instead of overflowing the card edge. */
@media (max-width: 384px) {
  .dashboard-work-grid[data-dashboard-jobs-section] .attention-header {
    flex-wrap: wrap;
    gap: 6px 18px;
  }

  .dashboard-work-grid[data-dashboard-jobs-section] .attention-header h2 {
    flex: 1 1 100%;
  }

  .dashboard-work-grid[data-dashboard-jobs-section] .attention-header__link {
    order: 2;
  }
}
