:root {
  --bg: #fff;
  --surface: #f7f8fb;
  --soft: #f0f3f9;
  --ink: #202939;
  --muted: #667085;
  --line: #e5e9f0;
  --primary: #155eef;
  --primary-hover: #004eeb;
  --pale: #edf3ff;
  --accent: #eff4ff;
  --blue: #155eef;
  --radius: 12px;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}
body {
  background: #f8f9fc;
}
.newjob-app {
  min-height: 100vh;
}
.app-header {
  height: 76px;
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 0 30px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.app-header .brand {
  font-size: 26px;
}
.app-header .brand img {
  width: 34px;
}
.app-header .top-actions {
  margin-left: auto;
}
.free-tag {
  font-size: 12px;
  color: var(--muted);
}
.opportunity-nav {
  display: flex;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0 26px;
  gap: 25px;
  min-height: 58px;
  overflow-x: auto;
  white-space: nowrap;
}
.opportunity-nav a {
  padding: 19px 3px 16px;
  font-weight: 550;
  font-size: 13px;
  border-bottom: 3px solid transparent;
}
.opportunity-nav a.active {
  color: var(--primary);
  border-color: var(--primary);
}
.app-body {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 260px;
  align-items: start;
}
.tool-nav {
  padding: 23px 12px;
  position: sticky;
  top: 0;
  height: calc(100vh - 5px);
  max-height: calc(100vh - 5px);
  overflow: auto;
  background: white;
  border-right: 1px solid var(--line);
}
.tool-nav .eyebrow {
  padding: 0 12px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #8590a2;
  display: block;
  margin-bottom: 13px;
}
.tool-nav .nav-item {
  font-size: 12px;
  padding: 10px 12px;
  gap: 10px;
  margin: 2px 0;
  white-space: normal;
}
.nav-item svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.nav-item.active {
  background: #edf3ff;
  color: var(--primary);
}
.workspace {
  padding: 30px;
  max-width: none;
  min-width: 0;
  width: 100%;
  margin: 0;
}
.page-head {
  align-items: start;
  margin-bottom: 26px;
}
.page-head h1 {
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.025em;
}
.page-head p {
  font-size: 13px;
  line-height: 1.65;
}
.page-head > .row {
  flex-wrap: wrap;
}
.page-head .btn {
  padding: 8px 12px;
  font-size: 12px;
}
.panel {
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: none;
  margin-bottom: 22px;
  background: white;
}
.panel h2 {
  font-size: 20px;
}
.copilot-panel {
  border-left: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  min-height: calc(100vh - 134px);
  display: flex;
  flex-direction: column;
}
.copilot-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 18px;
  border-bottom: 1px solid var(--line);
}
.copilot-heading strong {
  font-size: 15px;
}
.copilot-heading span:not(.dot) {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.copilot-heading > .dot {
  margin-left: auto;
}
.copilot-mark {
  background: var(--pale);
  color: var(--primary);
  border-radius: 10px;
  padding: 9px;
  display: flex;
}
.copilot-mark svg {
  width: 22px;
  height: 22px;
}
.copilot-body {
  padding: 22px 16px;
  flex: 1;
}
.copilot-message {
  font-size: 12px;
  line-height: 1.8;
  background: #f5f7fb;
  padding: 14px;
  border-radius: 0 12px 12px 12px;
}
.copilot-body > .eyebrow {
  font-size: 9px;
  color: #8c96a6;
  display: block;
  margin: 26px 0 12px;
  letter-spacing: 0.09em;
}
.copilot-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 11px;
  margin: 9px 0;
  gap: 6px;
}
.copilot-prompt:hover {
  background: var(--pale);
  border-color: #b7cdfc;
}
.copilot-prompt svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.copilot-progress {
  margin-top: 30px;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.copilot-progress strong {
  display: block;
  color: var(--ink);
  margin-bottom: 13px;
}
.copilot-progress div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 9px 0;
}
.copilot-progress div span {
  font-size: 18px;
  color: var(--primary);
  width: 23px;
}
.copilot-progress p {
  margin-top: 15px;
}
.copilot-compose {
  margin: 10px 14px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  color: #8c96a6;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.copilot-compose svg {
  width: 17px;
  height: 17px;
  color: var(--primary);
}
.wf-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.segmented {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.segmented .btn {
  font-size: 12px;
  padding: 9px 13px;
}
.search-label {
  font-size: 11px;
  min-width: 210px;
  flex: 1;
  max-width: 310px;
}
.search-label input {
  font-size: 12px;
  padding: 9px 12px;
}
.company-grid,
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.company-grid > .empty {
  grid-column: 1/-1;
}
.company-card {
  background: #fff;
  border: 1px solid #e2e6ef;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.company-card:hover {
  border-color: #c0d1f5;
  box-shadow: 0 4px 18px #173a7610;
}
.company-card h2 {
  font-size: 19px;
  line-height: 1.3;
  margin: 19px 0 8px;
}
.company-logo {
  border-radius: 9px;
  background: var(--pale);
  color: var(--primary);
  border: 1px solid #dae6ff;
  width: 45px;
  height: 45px;
  font-size: 17px;
}
.target-status {
  font-size: 11px;
  color: var(--primary);
}
.company-card .pill {
  font-size: 10px;
  padding: 4px 9px;
  white-space: normal;
}
.company-description {
  font-size: 12px;
  color: #6a7487;
  line-height: 1.7;
  margin: 18px 0;
  flex: 1;
}
.company-actions {
  border-top: 1px solid #eff1f5;
  margin-top: 18px;
  padding-top: 17px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.company-actions .text-link {
  font-size: 10px;
}
.company-actions .btn {
  font-size: 11px;
}
.match-reason {
  font-size: 10px;
  color: #155eef;
  margin: 12px 0 0;
}
.workflow-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.workflow-steps span {
  font-size: 11px;
  padding: 7px 10px;
  border-radius: 6px;
  background: #f0f4fc;
  color: #667b9f;
}
.workflow-steps .active {
  background: var(--primary);
  color: white;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}
.check-label input {
  width: 16px;
  height: 16px;
}
.form-actions {
  flex-wrap: wrap;
}
.form-grid {
  margin-bottom: 18px;
}
.problem-grid {
  margin: 22px 0;
}
.problem-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 21px;
  background: #fafcff;
}
.problem-card h3 {
  margin-top: 10px;
  font-size: 18px;
}
.problem-card p {
  font-size: 12px;
  line-height: 1.75;
}
.problem-card .eyebrow {
  font-size: 10px;
  color: #4473bb;
}
.problem-card .btn {
  font-size: 11px;
  margin-top: 12px;
}
.evidence {
  background: #eef3fc;
  border-radius: 7px;
  padding: 14px;
}
.evidence blockquote {
  margin: 0 0 8px;
  font-size: 11px;
  line-height: 1.7;
  color: #52647e;
}
.source-tabs {
  font-size: 11px;
  color: #687993;
  margin: 20px 0;
}
.source {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.source summary {
  font-size: 13px;
  cursor: pointer;
  line-height: 1.8;
}
.source summary .pill {
  font-size: 9px;
  white-space: normal;
}
.source-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 13px/1.8 inherit;
  max-height: 500px;
  overflow: auto;
  background: #f8f9fc;
  border-radius: 8px;
  padding: 18px;
}
.source p {
  margin-top: 14px;
}
.notice {
  margin: 15px 0;
  font-size: 12px;
}
.wf-progress {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: #eaf1ff;
  color: #174894;
  padding: 17px;
  border-radius: 9px;
  margin-bottom: 20px;
  font-size: 12px;
}
.wf-progress > span:not(.spinner) {
  font-size: 11px;
}
.spinner {
  height: 18px;
  width: 18px;
  border: 2px solid #b3c9f5;
  border-top-color: #155eef;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.image-inputs {
  display: flex;
  gap: 15px;
  margin: 16px 0;
  flex-wrap: wrap;
}
.image-inputs > div {
  width: 160px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}
.image-inputs img {
  width: 100%;
  height: 90px;
  object-fit: contain;
}
.image-inputs label {
  font-size: 11px;
}
.image-inputs input {
  font-size: 11px;
}
.image-inputs .btn {
  margin-top: 8px;
}
.deck-building {
  max-width: 650px;
  margin: 30px auto;
  padding: 40px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
}
.build-mark {
  display: inline-flex;
  color: var(--primary);
  background: var(--pale);
  border-radius: 22px;
  padding: 25px;
  margin-bottom: 25px;
}
.build-mark svg {
  width: 64px;
  height: 64px;
}
.build-step {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  border-radius: 7px;
  text-align: left;
  color: #929bad;
  margin: 4px 0;
}
.build-step.current {
  color: var(--primary);
  background: var(--pale);
}
.build-step small {
  margin-left: auto;
}
.deck-title {
  margin: 22px 0;
}
.deck-editor {
  display: grid;
  gap: 24px;
}
.slide-editor {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: white;
}
.slide-preview {
  position: relative;
  aspect-ratio: 16/9;
  padding: 5%;
  background: #fff;
}
.slide-preview h2 {
  font-size: clamp(20px, 2vw, 32px);
  line-height: 1.25;
  margin: 24px 0;
}
.slide-preview p {
  font-size: clamp(12px, 1vw, 17px);
  white-space: pre-wrap;
  line-height: 1.6;
}
.slide-brand {
  font-size: 10px;
  color: #8290a7;
  letter-spacing: 0.03em;
}
.cover-slide {
  background: #111b3b;
  color: white;
}
.cover-slide .slide-brand {
  color: #b3c3e4;
}
.slide-number {
  position: absolute;
  bottom: 5%;
  right: 5%;
  font-size: 11px;
  color: #7e90b1;
}
.slide-layout {
  display: flex;
  gap: 20px;
  align-items: start;
}
.slide-layout p {
  flex: 1;
}
.slide-layout figure {
  width: 35%;
  margin: 0;
}
.slide-layout img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
}
.slide-layout figcaption {
  font-size: 9px;
  color: #7e90b1;
  margin-top: 6px;
}
.slide-editor details {
  padding: 17px 24px;
  border-top: 1px solid var(--line);
}
.slide-editor summary {
  font-size: 12px;
  cursor: pointer;
}
.slide-editor .stack {
  margin-top: 18px;
}
.lesson-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.quiz {
  border: 0;
  padding: 0;
  margin: 20px 0;
}
.quiz legend {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 12px;
}
.quiz button {
  display: block;
  text-align: left;
  margin: 8px 0;
  font-size: 12px;
  white-space: normal;
  max-width: 100%;
}
.offer-summary {
  display: flex;
  gap: 14px;
  flex-direction: column;
  background: var(--pale);
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  font-size: 12px;
}
.offer-summary strong {
  font-size: 15px;
}
.practice-round {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.practice-round h3 {
  font-size: 16px;
  line-height: 1.5;
  margin: 10px 0;
}
.practice-round p {
  white-space: pre-wrap;
  font-size: 12px;
}
.candidate-answer {
  background: #f3f5f9;
  padding: 16px;
  border-radius: 8px;
}
.practice-round .eyebrow {
  font-size: 10px;
  color: var(--primary);
}
.manager-prompt {
  padding: 25px 0;
}
.manager-prompt h3 {
  line-height: 1.5;
  font-size: 17px;
  margin-top: 16px;
}
.table-wrap {
  overflow: auto;
}
details > summary {
  cursor: pointer;
}
details > form {
  margin-top: 20px;
}
.tool-link {
  min-width: 0;
}
.tool-link .grow {
  min-width: 0;
}
.tool-link h3 {
  overflow-wrap: anywhere;
}
.landing-hero h1 {
  font-size: clamp(48px, 5.7vw, 80px);
}
.welcome {
  background: #edf3ff;
}
.welcome-mark {
  color: #b8d0ff;
}
.btn {
  border-radius: 7px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline-color: #83b1ff;
}
.pill.green {
  background: #edf3ff;
  color: #155eef;
}
.dot.green {
  background: #3478f6;
}
.brand em {
  color: var(--primary);
}
@media (min-width: 1700px) {
  .app-body {
    grid-template-columns: 210px minmax(0, 1fr) 290px;
  }
  .workspace {
    padding: 38px 48px;
  }
  .company-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1250px) {
  .app-body {
    grid-template-columns: 160px minmax(0, 1fr) 230px;
  }
  .workspace {
    padding: 24px;
  }
  .tool-nav {
    padding: 20px 7px;
  }
  .tool-nav .nav-item {
    font-size: 11px;
    padding: 10px 8px;
  }
  .company-card {
    padding: 19px;
  }
  .opportunity-nav {
    gap: 22px;
  }
  .copilot-heading {
    padding: 20px 13px;
  }
  .free-tag {
    display: none;
  }
}
@media (max-width: 1050px) {
  .app-body {
    grid-template-columns: 160px minmax(0, 1fr);
  }
  .copilot-panel {
    display: none;
  }
  .app-header .status-label {
    display: none;
  }
  .opportunity-nav {
    gap: 25px;
  }
  .workspace-columns {
    grid-template-columns: 1fr;
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .app-header {
    height: 64px;
    padding: 0 16px;
    gap: 8px;
  }
  .app-header .brand {
    font-size: 22px;
  }
  .app-header .brand img {
    width: 27px;
  }
  .app-header .top-actions {
    gap: 9px;
  }
  .app-header .pill {
    font-size: 9px;
    padding: 5px 7px;
  }
  .app-header .avatar {
    width: 30px;
    height: 30px;
    font-size: 11px;
  }
  .opportunity-nav {
    padding: 0 15px;
    gap: 20px;
    min-height: 50px;
  }
  .opportunity-nav a {
    font-size: 11px;
    padding: 16px 0 12px;
  }
  .app-body {
    display: block;
  }
  .tool-nav {
    position: static;
    height: auto;
    max-height: none;
    display: flex;
    overflow-x: auto;
    gap: 4px;
    padding: 9px 12px;
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }
  .tool-nav > .eyebrow {
    display: none;
  }
  .tool-nav .nav-item {
    flex-shrink: 0;
    white-space: nowrap;
    margin: 0;
    padding: 7px 9px;
    font-size: 10px;
  }
  .tool-nav svg {
    width: 14px;
    height: 14px;
  }
  .workspace {
    padding: 22px 16px;
  }
  .page-head h1 {
    font-size: 23px;
  }
  .page-head {
    gap: 16px;
    flex-wrap: wrap;
  }
  .company-grid,
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 20px;
  }
  .company-card {
    padding: 23px;
  }
  .wf-toolbar {
    gap: 14px;
  }
  .search-label {
    max-width: none;
    width: 100%;
  }
  .slide-preview {
    aspect-ratio: auto;
    min-height: 270px;
    padding: 25px;
  }
  .slide-preview h2 {
    font-size: 21px;
  }
  .slide-preview p {
    font-size: 12px;
  }
  .slide-layout {
    flex-direction: column;
  }
  .slide-layout figure {
    width: 60%;
    margin-bottom: 20px;
  }
  .deck-building {
    padding: 25px 15px;
  }
  .build-step {
    font-size: 11px;
  }
  .workflow-steps {
    gap: 5px;
  }
  .workflow-steps span {
    font-size: 9px;
    padding: 6px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid > * {
    min-width: 0;
  }
  .offer-summary strong {
    font-size: 13px;
  }
  .section-head {
    flex-wrap: wrap;
  }
  .source-text {
    font-size: 12px;
  }
  .landing header nav > a:not(.btn) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  .spinner {
    border-color: #155eef;
  }
}
@media print {
  .newjob-app {
    display: none !important;
  }
  .print-slide {
    break-after: page;
    padding: 30px;
  }
  .print-slide:last-child {
    break-after: auto;
  }
  .print-slide h1 {
    font-size: 32px;
  }
  .print-slide p {
    font-size: 18px;
    line-height: 1.8;
  }
}

.tool-nav .nav-item {
  display: flex;
  align-items: center;
  border-radius: 7px;
  color: var(--muted);
  min-height: 38px;
}
.tool-nav .nav-item.active {
  color: var(--primary);
}
.tool-nav .nav-item:hover {
  background: var(--pale);
}
