:root {
  --kh-red:#fd0505; --kh-red-dark:#fd0505; --kh-red-soft:#fff1f1;
  --kh-navy:#10233d; --kh-navy-2:#294262; --kh-ink:#10233d;
  --kh-muted:#66788f; --kh-line:#c9e6fd;
  --kh-surface:#ffffff; --kh-canvas:#f5f8fc;
  --kh-success:#18a66b; --kh-warning:#ffb500; --kh-blue:#2d9df9;
  --kh-shadow:var(--kagie-shadow,0 4px 20px rgba(23,43,67,.05)); --kh-shadow-soft:var(--kh-shadow);
  --kh-radius:16px; --kh-nav-height:72px;
}

/* Career Hub 2: shared Kagie colours, forms and document tools. */
.k2-page { width:100%; max-width:1120px; margin:auto; }
.k2-page h2,.k2-page h3,.k2-page h4 { color:var(--kh-ink); line-height:1.25; }
.k2-page h2 { font-size:24px; margin:0 0 14px; letter-spacing:-.6px; }
.k2-page h3 { font-size:19px; margin:0 0 10px; }
.k2-page h4 { font-size:15px; margin:18px 0 6px; }
.k2-page p { margin:0 0 14px; }
.k2-hero { position:relative; overflow:hidden; border-radius:24px; padding:36px; margin-bottom:24px; background:linear-gradient(115deg,#10233d,#203e60); color:white; }
.k2-hero h2 { position:relative; z-index:1; color:white; font-size:clamp(30px,5vw,49px); line-height:1.08; letter-spacing:-1.5px; margin:10px 0 18px; }
.k2-hero p:not(.k2-eyebrow) { position:relative; z-index:1; max-width:460px; color:#d3e2f1; font-size:16px; }
.k2-eyebrow { font-size:11px; font-weight:800; letter-spacing:1.5px; text-transform:uppercase; color:var(--kh-muted); }
.k2-hero .k2-eyebrow { color:#afc9e0; }
.k2-hero .kh-button { position:relative; z-index:1; margin-top:8px; }
.k2-hero-mark { position:absolute; right:35px; bottom:-15px; opacity:.13; transform:rotate(-12deg); }
.k2-hero-mark .kh-icon { width:270px; height:270px; stroke-width:1; }
.k2-primary-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:24px 0 36px; }
.k2-primary-card { position:relative; display:flex; flex-direction:column; align-items:flex-start; text-align:left; padding:24px; border:1px solid var(--kh-line); background:var(--kh-surface); border-radius:18px; color:var(--kh-ink); cursor:pointer; min-height:220px; gap:9px; transition:transform .15s,border-color .15s; }
.k2-primary-card:hover { transform:translateY(-3px); border-color:var(--kh-red); }
.k2-primary-card strong { font-size:22px; letter-spacing:-.5px; }
.k2-primary-card>span:not(.k2-primary-number):not(.k2-primary-icon) { color:var(--kh-muted); line-height:1.5; font-size:14px; }
.k2-primary-number { position:absolute; right:22px; top:20px; font-size:12px; color:#96a6b8; font-weight:700; }
.k2-primary-icon { display:grid; place-items:center; color:var(--kh-red); background:var(--kh-red-soft); border-radius:13px; width:48px; height:48px; margin-bottom:8px; }
.k2-primary-card:nth-child(2) .k2-primary-icon { background:#e9f4ff; color:#1d6da7; }
.k2-primary-card:nth-child(3) .k2-primary-icon { background:#eaf7f0; color:#167449; }
.k2-primary-card b { position:absolute; right:20px; bottom:20px; font-size:23px; }
.k2-section-title { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:28px 0 14px; flex-wrap:wrap; }
.k2-section-title h2,.k2-section-title h3,.k2-section-title p { margin:0; }
.k2-section-title .k2-eyebrow { margin-bottom:6px; }
.k2-section-title>span { font-size:13px; color:var(--kh-muted); font-weight:700; }
.k2-progress { appearance:none; display:block; width:100%; height:7px; border:0; border-radius:10px; overflow:hidden; background:#e1eaf2; }
.k2-progress::-webkit-progress-bar { background:#e1eaf2; }
.k2-progress::-webkit-progress-value { background:var(--kh-red); border-radius:10px; }
.k2-progress::-moz-progress-bar { background:var(--kh-red); }
.k2-journey { list-style:none; padding:0; margin:18px 0 32px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.k2-journey button { display:flex; align-items:center; gap:11px; width:100%; min-height:64px; padding:12px; text-align:left; color:var(--kh-muted); background:var(--kh-surface); border:1px solid var(--kh-line); border-radius:12px; cursor:pointer; font:inherit; font-size:13px; }
.k2-journey button>span { display:grid; flex-shrink:0; place-items:center; width:29px; height:29px; border-radius:50%; background:#eef3f8; font-weight:800; color:var(--kh-ink); }
.k2-journey .is-complete button>span { background:#dcf4e7; color:#167449; }
.k2-shortcuts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:16px 0; }
.k2-shortcut { display:flex; align-items:center; gap:12px; width:100%; text-align:left; padding:17px; color:var(--kh-ink); background:var(--kh-surface); border:1px solid var(--kh-line); border-radius:12px; font:inherit; font-weight:650; cursor:pointer; }
.k2-shortcut>span { flex:1; }
.k2-shortcut>.kh-icon { width:21px; height:21px; color:var(--kh-muted); }
.k2-shortcut>.kh-icon:last-child { width:15px; height:15px; }
.k2-note,.k2-notice { background:#edf5fc; border:1px solid #d5e6f5; border-radius:14px; padding:20px; margin:20px 0; color:var(--kh-ink); font-size:14px; line-height:1.65; }
.k2-note p:last-child,.k2-notice p:last-child { margin-bottom:0; }
.k2-note--warning { background:#fff9e9; border-color:#f5dca0; }
.k2-notice--error { background:#fff1f1; border-color:#f3baba; }
.k2-muted { color:var(--kh-muted); font-size:13px; line-height:1.6; }
.k2-card { padding:24px; border:1px solid var(--kh-line); border-radius:16px; background:var(--kh-surface); margin:16px 0; min-width:0; }
.k2-card .k2-section-title { margin-top:0; }
.k2-card-icon { width:42px; height:42px; border-radius:10px; background:var(--kh-red-soft); color:var(--kh-red); display:grid; place-items:center; margin-bottom:16px; }
.k2-card-icon .kh-icon { width:23px; height:23px; }
.k2-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:16px 0 0; }
.k2-actions .kh-button { min-height:42px; font-size:13px; white-space:normal; text-align:center; }
.k2-actions .k2-shortcut { max-width:340px; }
.k2-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.k2-field { display:flex; flex-direction:column; gap:8px; margin-bottom:18px; min-width:0; color:var(--kh-ink); }
.k2-field>span { font-weight:650; font-size:13px; }
.k2-field input,.k2-field select,.k2-field textarea { width:100%; max-width:100%; min-width:0; background:var(--kh-surface); border:1px solid #c5d3e0; border-radius:9px; padding:12px; font:inherit; color:var(--kh-ink); min-height:46px; }
.k2-field textarea { resize:vertical; line-height:1.6; }
.k2-field input:focus,.k2-field select:focus,.k2-field textarea:focus { outline:3px solid #2d9df92e; border-color:#2d9df9; }
.k2-check { display:flex; align-items:flex-start; gap:10px; margin:18px 0; color:var(--kh-ink); font-size:14px; line-height:1.6; }
.k2-check input { width:19px; height:19px; min-width:19px; margin:2px 0; accent-color:var(--kh-red); }
.k2-details { padding:0; margin:16px 0; border:1px solid var(--kh-line); border-radius:12px; background:var(--kh-surface); overflow:hidden; }
.k2-details>summary { padding:18px; cursor:pointer; font-weight:700; color:var(--kh-ink); }
.k2-details>summary>span { display:inline-block; margin-left:7px; color:var(--kh-muted); font-size:12px; }
.k2-details>p,.k2-details>ul,.k2-details>ol { margin:8px 24px 20px; }
.k2-details .k2-actions { margin:12px; }
.k2-collection { padding:0 18px 18px; }
.k2-repeat { margin:12px 0; border:1px solid var(--kh-line); border-radius:10px; padding:16px; }
.k2-repeat legend { padding:0 8px; color:var(--kh-muted); font-size:12px; font-weight:700; }
.k2-sticky-actions { display:flex; gap:12px; align-items:center; flex-wrap:wrap; padding:20px 0; }
.k2-entry-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.k2-entry { display:flex; flex-direction:column; align-items:flex-start; text-align:left; gap:16px; padding:22px; min-height:145px; border:1px solid var(--kh-line); border-radius:15px; background:var(--kh-surface); color:var(--kh-ink); font:inherit; cursor:pointer; }
.k2-entry .kh-icon { color:var(--kh-red); width:27px; height:27px; }
.k2-entry:hover,.k2-shortcut:hover { border-color:var(--kh-red); }
.k2-cv-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.k2-cv-grid .k2-card { margin:0; }
.k2-job-list,.k2-application-list { display:grid; gap:0; }
.k2-job-card { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:22px; align-items:center; }
.k2-job-card .k2-actions { align-content:center; flex-direction:column; margin:0; min-width:120px; }
.k2-job-card .k2-actions .kh-button { width:100%; }
.k2-job-card p:last-child { margin-bottom:0; }
.k2-job-card .kh-opportunity-image { width:120px; height:90px; object-fit:cover; border-radius:8px; margin-bottom:14px; }
.k2-empty { padding:35px 24px; border:1px dashed #bccedf; border-radius:16px; background:var(--kh-surface); margin:20px 0; color:var(--kh-muted); }
.k2-empty .k2-shortcut { margin-top:12px; max-width:350px; }
.k2-inline { display:flex; flex-wrap:wrap; align-items:flex-end; gap:12px; }
.k2-inline>.k2-field { flex:1; min-width:180px; }
.k2-inline>.kh-button { margin-bottom:18px; }
.k2-match { margin:22px 0; padding:24px; border:1px solid #cfe3db; border-radius:16px; background:#f1f9f5; color:#294a3a; }
.k2-match h3,.k2-match h4 { color:#17412c; }
.k2-match p { line-height:1.65; }
.k2-match .k2-form-grid { gap:10px 24px; }
.k2-review { display:grid; grid-template-columns:130px minmax(0,1fr); gap:12px; margin:20px 0; font-size:14px; }
.k2-review dt { font-weight:700; }
.k2-review dd { margin:0; overflow-wrap:anywhere; }
.k2-status { font-size:12px; font-weight:700; padding:7px 12px; border-radius:20px; background:#edf3f9; white-space:nowrap; }
.k2-pre { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.7; }
.k2-chat { display:flex; flex-direction:column; gap:12px; margin:20px 0; }
.k2-message { padding:18px; border-radius:12px; background:#edf5fc; max-width:95%; }
.k2-message--user { align-self:flex-end; background:#f4f6f9; }
.k2-message strong { display:block; font-size:12px; margin-bottom:7px; }
.k2-message p { margin:0; }
.k2-page :is(button,a,input,textarea,select,summary):focus-visible { outline:3px solid #2d9df9; outline-offset:3px; }
.k2-page button:disabled { opacity:.55; cursor:not-allowed; }
@media(max-width:760px) {
  .k2-hero { padding:26px 23px; border-radius:18px; }
  .k2-hero-mark { right:-80px; }
  .k2-hero p:not(.k2-eyebrow) { max-width:80%; font-size:14px; }
  .k2-primary-grid { gap:10px; }
  .k2-primary-card { padding:17px; min-height:210px; }
  .k2-primary-card strong { font-size:18px; }
  .k2-primary-card>span:not(.k2-primary-number):not(.k2-primary-icon) { font-size:12px; }
  .k2-journey { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .k2-entry-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .k2-job-card { grid-template-columns:1fr; }
  .k2-job-card .k2-actions { flex-direction:row; }
  .k2-job-card .k2-actions .kh-button { width:auto; }
  .k2-field input,.k2-field textarea,.k2-field select { font-size:16px; }
}
@media(max-width:500px) {
  .k2-primary-grid { grid-template-columns:1fr; }
  .k2-primary-card { display:grid; grid-template-columns:42px minmax(0,1fr) 20px; min-height:106px; gap:5px 14px; padding:18px; }
  .k2-primary-number { display:none; }
  .k2-primary-icon { grid-row:1/3; width:42px; height:42px; margin:0; }
  .k2-primary-card strong { grid-column:2; font-size:20px; }
  .k2-primary-card>span:not(.k2-primary-number):not(.k2-primary-icon) { grid-column:2; font-size:13px; }
  .k2-primary-card b { position:static; grid-column:3; grid-row:1/3; }
  .k2-shortcuts,.k2-form-grid,.k2-cv-grid { grid-template-columns:1fr; }
  .k2-section-title h2,.k2-page h2 { font-size:21px; }
  .k2-card,.k2-match { padding:20px; }
  .k2-journey { gap:8px; }
  .k2-journey button { font-size:12px; padding:10px; gap:8px; }
  .k2-journey button>span { width:24px; height:24px; }
  .k2-review { grid-template-columns:1fr; gap:4px; }
  .k2-review dd { margin-bottom:12px; }
  .k2-inline>.k2-field { min-width:100%; }
  .k2-note { padding:17px; }
  .k2-sticky-actions .kh-button { width:100%; }
}
@media(prefers-reduced-motion:reduce) { .k2-primary-card { transition:none; } }

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--kh-canvas);
}

body.kh-app-body {
  width: 100% !important;
  max-width: none !important;
  min-width: 320px;
  min-height: 100%;
  margin: 0 !important;
  padding: 18px 18px 124px;
  color: var(--kh-ink);
  background: var(--kh-canvas);
  font-family: Inter, ui-sans-serif, system-ui, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 14px;
  line-height: 1.55;
  display: grid;
  place-items: start center;
  justify-items: center;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.kh-app {
  position: relative;
  width: min(430px, 100%);
  max-width: none;
  min-height: 860px;
  margin: 0 auto;
  justify-self: center;
  overflow-x: hidden;
  color: var(--kh-ink);
  background: var(--kh-surface);
  border-color: var(--kh-line);
  border-radius: 16px;
  box-shadow: 0 18px 34px rgba(16, 35, 61, 0.09);
  border-style:solid;
  border-width:1px;
}

.kh-skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 50%;
  padding: 8px 12px;
  border-radius: 10px;
  color: #fff;
  background: var(--kh-navy);
  transform: translate(-50%, -150%);
  transition: transform 160ms ease;
}

.kh-skip-link:focus {
  transform: translate(-50%, 0);
}

.kh-topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  min-height: 62px;
  padding: 8px 14px;
  border-bottom-color: rgba(231, 234, 240, 0.82);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom-style:solid;
  border-bottom-width:1px;
}

.kh-topbar--landing {
  min-height: 68px;
}

.kh-topbar__copy {
  min-width: 0;
  padding: 0 3px;
}

.kh-topbar__title {
  overflow: hidden;
  margin: 0;
  color: #111827;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kh-topbar__subtitle {
  overflow: hidden;
  margin: 2px 0 0;
  color: var(--kh-muted);
  font-size: 12px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kh-icon-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--kh-ink);
  background: transparent;
  cursor: pointer;
  transition: color 150ms ease, background-color 150ms ease,
    transform 150ms ease;
  -webkit-tap-highlight-color: transparent;
}

.kh-icon-button:hover {
  background: #f1f3f7;
}

.kh-icon-button:active {
  transform: scale(0.94);
}

.kh-icon-button--red {
  color: var(--kh-red);
}

.kh-icon-button--placeholder {
  pointer-events: none;
  visibility: hidden;
}

.kh-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.kh-icon--small {
  width: 16px;
  height: 16px;
}

.kh-icon--large {
  width: 26px;
  height: 26px;
}

.kh-main {
  min-height: calc(100dvh - var(--kh-nav-height));
  padding: 14px 14px 126px;
}

.kh-main--flush-top {
  padding-top: 0;
}

.kh-page {
  animation: kh-page-enter 180ms ease-out;
}

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

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

.kh-hero {
  position: relative;
  isolation: isolate;
  min-height: 126px;
  margin-bottom: 15px;
  overflow: hidden;
  padding: 21px 134px 20px 19px;
  border-radius: 16px;
  color: #fff;
  background: var(--kh-surface);
  box-shadow: 0 12px 24px rgba(253, 5, 5, 0.22);
}

.kh-hero::after {
  position: absolute;
  z-index: -1;
  right: -32px;
  bottom: -56px;
  width: 170px;
  height: 170px;
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
  border-style:solid;
  border-width:1px;
}

.kh-hero__eyebrow {
  margin: 0 0 3px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kh-hero__title {
  max-width: 190px;
  margin: 0;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.kh-hero__text {
  max-width: 190px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  line-height: 1.35;
}

.kh-hero__art {
  position: absolute;
  right: 16px;
  bottom: 17px;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border-color: rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-style:solid;
  border-width:1px;
}

.kh-hero__art .kh-icon {
  width: 51px;
  height: 51px;
  stroke-width: 1.25;
}

.kh-menu {
  display: grid;
  gap: 9px;
}

.kh-menu-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 26px;
  align-items: center;
  width: 100%;
  min-height: 61px;
  padding: 9px 10px;
  border-color: var(--kh-line);
  border-radius: 16px;
  color: inherit;
  text-align: left;
  background: var(--kh-surface);
  box-shadow: var(--kh-shadow-soft);
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease,
    transform 150ms ease;
  border-style:solid;
  border-width:1px;
}

.kh-menu-card:hover {
  border-color: #d8dde7;
  box-shadow: var(--kh-shadow);
  transform: translateY(-1px);
  border-style:solid;
  border-width:1px;
}

.kh-menu-card:active {
  transform: translateY(0);
}

.kh-menu-card__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: var(--kh-navy);
  background: #f0f4fa;
}

.kh-menu-card:nth-child(3n + 1) .kh-menu-card__icon {
  color: var(--kh-red);
  background: var(--kh-red-soft);
}

.kh-menu-card__title {
  display: block;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
}

.kh-menu-card__description {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: var(--kh-muted);
  font-size: 12px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kh-menu-card__tail {
  position: relative;
  display: grid;
  place-items: center;
  color: #9aa2af;
}

.kh-count-badge {
  display: inline-grid;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--kh-red);
  font-size: 12px;
  font-weight: 750;
}

.kh-menu-card__tail .kh-count-badge {
  position: absolute;
  top: -9px;
  right: -3px;
}

.kh-search-wrap {
  position: relative;
  margin-bottom: 10px;
}

.kh-search-wrap .kh-icon {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 17px;
  height: 17px;
  color: #8b94a3;
  transform: translateY(-50%);
  pointer-events: none;
}

.kh-search-input {
  width: 100%;
  height: 43px;
  padding: 0 42px 0 39px;
  border-color: var(--kh-line);
  border-radius: 10px;
  outline: 0;
  color: var(--kh-ink);
  background: var(--kh-surface);
  font: inherit;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(18, 32, 61, 0.03);
  transition: border-color 150ms ease, box-shadow 150ms ease;
  border-style:solid;
  border-width:1px;
}

.kh-search-input::placeholder {
  color: #9da5b2;
}

.kh-search-input:focus {
  border-color: rgba(253, 5, 5, 0.55);
  box-shadow: 0 0 0 3px rgba(253, 5, 5, 0.09);
  border-style:solid;
  border-width:1px;
}

.kh-search-clear {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #89919e;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
}

.kh-filter-row {
  display: flex;
  gap: 7px;
  margin: 0 -14px 11px;
  overflow-x: auto;
  padding: 0 14px 3px;
  scrollbar-width: none;
}

.kh-filter-row::-webkit-scrollbar {
  display: none;
}

.kh-filter-chip {
  flex: 0 0 auto;
  min-height: 31px;
  padding: 6px 11px;
  border-color: var(--kh-line);
  border-radius: 999px;
  color: #566071;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color 140ms ease, border-color 140ms ease,
    background-color 140ms ease;
  border-style:solid;
  border-width:1px;
}

.kh-filter-chip[aria-pressed="true"],
.kh-filter-chip--active {
  border-color: var(--kh-navy);
  color: #fff;
  background: var(--kh-navy);
  border-style:solid;
  border-width:1px;
}

.kh-results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 25px;
  margin-bottom: 5px;
  color: var(--kh-muted);
  font-size: 12px;
}

.kh-results-meta strong {
  color: var(--kh-ink);
}

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

.kh-paper-filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-bottom: 11px;
}

.kh-select-field {
  display: grid;
  gap: 5px;
}

.kh-select-field span {
  color: var(--kh-muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kh-select-field select {
  width: 100%;
  height: 43px;
  padding: 0 35px 0 12px;
  border-color: var(--kh-line);
  border-radius: 10px;
  outline: 0;
  color: var(--kh-ink);
  background: var(--kh-surface);
  font: inherit;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(18, 32, 61, 0.03);
  border-style:solid;
  border-width:1px;
}

.kh-select-field select:focus {
  border-color: var(--kh-red);
  box-shadow: 0 0 0 3px rgba(253, 5, 5, 0.12);
  border-style:solid;
  border-width:1px;
}

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

.kh-paper-card {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 13px;
  border-color: var(--kh-line);
  border-radius: 16px;
  background: var(--kh-surface);
  box-shadow: var(--kh-shadow-soft);
  border-style:solid;
  border-width:1px;
}

.kh-paper-card__mark {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 16px;
  color: var(--kh-red);
  background: var(--kh-red-soft);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: -0.04em;
}

.kh-paper-card__copy {
  min-width: 0;
}

.kh-paper-card__eyebrow {
  display: block;
  color: var(--kh-blue);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kh-paper-card__title {
  margin: 3px 0 4px;
  color: #182033;
  font-size: 12.5px;
  font-weight: 750;
  line-height: 1.28;
}

.kh-paper-card__meta {
  margin: 0;
  color: var(--kh-muted);
  font-size: 12px;
  font-weight: 650;
}

.kh-paper-card__download {
  grid-column: 1 / -1;
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #fff;
  background: var(--kh-red);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.kh-paper-card__download--disabled {
  color: var(--kh-muted);
  background: #eef2f7;
}

.kh-opportunity-card {
  position: relative;
  padding: 13px 13px 12px;
  border-color: var(--kh-line);
  border-radius: 16px;
  background: var(--kh-surface);
  box-shadow: var(--kh-shadow-soft);
  border-style:solid;
  border-width:1px;
}

.kh-opportunity-card__top {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr) 32px;
  gap: 10px;
  align-items: start;
}

.kh-brand-mark {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  overflow: hidden;
  border-color: #e5e8ef;
  border-radius: 10px;
  color: var(--kh-navy);
  background: #f8fafc;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: -0.04em;
  border-style:solid;
  border-width:1px;
}

.kh-brand-mark--dark {
  border-color: var(--kh-navy);
  color: #fff;
  background: var(--kh-navy);
  border-style:solid;
  border-width:1px;
}

.kh-brand-mark--navy {
  border-color: #99d0fc;
  color: #fff;
  background: var(--kh-navy);
  border-style:solid;
  border-width:1px;
}

.kh-brand-mark--red {
  border-color: #ffd6d6;
  color: var(--kh-red);
  background: #fff3f3;
  border-style:solid;
  border-width:1px;
}

.kh-opportunity-card__title {
  margin: 0 0 3px;
  color: #182033;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
}

.kh-card-title-button {
  display: block;
  width: 100%;
  margin: 0 0 3px;
  padding: 0;
  border: 0;
  color: #182033;
  text-align: left;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
  cursor: pointer;
}

.kh-card-title-button:hover {
  color: var(--kh-red);
}

.kh-opportunity-card__company {
  margin: 0;
  color: var(--kh-muted);
  font-size: 12px;
  font-weight: 650;
}

.kh-opportunity-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 6px 0 0;
  color: #657083;
  font-size: 12px;
}

.kh-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.kh-meta-item .kh-icon {
  width: 12px;
  height: 12px;
}

.kh-bookmark-button {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #616b7b;
  background: transparent;
  cursor: pointer;
}

.kh-bookmark-button[aria-pressed="true"] {
  color: var(--kh-red);
  background: var(--kh-red-soft);
}

.kh-opportunity-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-top: 11px;
}

.kh-closing {
  color: #5f6878;
  font-size: 12px;
}

.kh-closing strong {
  color: var(--kh-red);
  font-weight: 750;
}

.kh-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.kh-tag {
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  padding: 2px 7px;
  border-radius: 999px;
  color: #266f55;
  background: #eaf8f2;
  font-size: 12px;
  font-weight: 750;
}

.kh-tag--navy {
  color: var(--kh-navy);
  background: #eaf0f8;
}

.kh-tag--amber {
  color: #98600b;
  background: #fff4d7;
}

.kh-button {
  display: inline-flex;
  min-height: 38px;
  padding: 9px 15px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #fff;
  background: var(--kh-red);
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 150ms ease, box-shadow 150ms ease,
    transform 150ms ease;
}

.kh-button:hover {
  background: var(--kh-red-dark);
  box-shadow: none;
}

.kh-button:active {
  transform: translateY(1px);
}

.kh-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.kh-button--wide {
  width: 100%;
}

.kh-button--small {
  min-height: 31px;
  padding: 7px 15px;
  font-size: 12px;
}

.kh-button--secondary {
  border-color: #dfe3ea;
  color: var(--kh-ink);
  background: #fff;
  box-shadow: none;
  border-style:solid;
  border-width:1px;
}

.kh-button--secondary:hover {
  border-color: #cbd1dc;
  color: var(--kh-red);
  background: #fff;
  box-shadow: none;
  border-style:solid;
  border-width:1px;
}

.kh-button--navy {
  background: var(--kh-navy);
  box-shadow: none;
}

.kh-button--navy:hover {
  background: #071630;
}

.kh-button--ghost {
  border-color: transparent;
  color: var(--kh-red);
  background: transparent;
  box-shadow: none;
  border-style:solid;
  border-width:1px;
}

.kh-button--ghost:hover {
  background: var(--kh-red-soft);
  box-shadow: none;
}

.kh-empty-state {
  padding: 38px 24px;
  border-color: #d8dde6;
  border-radius: 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.65);
  border-style:solid;
  border-width:1px;
}

.kh-empty-state__icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  place-items: center;
  border-radius: 50%;
  color: var(--kh-red);
  background: var(--kh-red-soft);
}

.kh-empty-state__title {
  margin: 0 0 5px;
  font-size: 14px;
}

.kh-empty-state__text {
  margin: 0 auto 15px;
  color: var(--kh-muted);
  font-size: 12px;
}

.kh-detail-hero {
  position: relative;
  min-height: 136px;
  overflow: hidden;
  padding: 17px 18px 16px;
  border-radius: 16px;
  color: #fff;
  background: var(--kh-navy);
  box-shadow: 0 12px 24px rgba(10, 29, 63, 0.2);
}

.kh-detail-hero::after {
  position: absolute;
  right: -32px;
  bottom: -59px;
  width: 150px;
  height: 150px;
  border-color: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
  border-style:solid;
  border-width:1px;
}

.kh-detail-hero__brand {
  display: inline-flex;
  min-height: 25px;
  padding: 4px 9px;
  align-items: center;
  border-radius: 10px;
  color: var(--kh-navy);
  background: #fff;
  font-size: 12px;
  font-weight: 750;
}

.kh-detail-hero__title {
  max-width: 270px;
  margin: 10px 0 7px;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.kh-detail-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.kh-detail-hero__meta .kh-meta-item {
  position: relative;
  z-index: 1;
}

.kh-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 13px 0 0;
  overflow: hidden;
  border-color: var(--kh-line);
  border-radius: 16px;
  background: #fff;
  border-style:solid;
  border-width:1px;
}

.kh-info-item {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  gap: 7px;
  min-height: 57px;
  padding: 10px;
  align-items: center;
  border-bottom-color: var(--kh-line);
  border-bottom-style:solid;
  border-bottom-width:1px;
}

.kh-info-item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.kh-info-item:nth-child(odd) {
  border-right-color: var(--kh-line);
  border-right-style:solid;
  border-right-width:1px;
}

.kh-info-item__icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 10px;
  color: var(--kh-red);
  background: var(--kh-red-soft);
}

.kh-info-item__label {
  display: block;
  color: var(--kh-muted);
  font-size: 12px;
}

.kh-info-item__value {
  display: block;
  margin-top: 1px;
  color: var(--kh-ink);
  font-size: 12px;
  font-weight: 750;
}

.kh-content-section {
  padding: 17px 2px 0;
}

.kh-content-section + .kh-content-section {
  margin-top: 16px;
  border-top-color: var(--kh-line);
  border-top-style:solid;
  border-top-width:1px;
}

.kh-content-section__title {
  margin: 0 0 8px;
  color: #172033;
  font-size: 12.5px;
  font-weight: 750;
}

.kh-content-section__text {
  margin: 0;
  color: #586274;
  font-size: 12px;
  line-height: 1.62;
}

.kh-check-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kh-check-list__item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
  color: #566071;
  font-size: 12px;
}

.kh-check-list__icon {
  display: grid;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  place-items: center;
  border-radius: 50%;
  color: var(--kh-success);
  background: #e9f8f2;
}

.kh-detail-actions {
  position: sticky;
  z-index: 12;
  bottom: calc(var(--kh-nav-height) - 1px);
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(96px, 0.7fr);
  gap: 9px;
  margin: 19px -14px -24px;
  padding: 11px 14px 13px;
  border-top-color: var(--kh-line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-top-style:solid;
  border-top-width:1px;
}

.kh-intro-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 66px;
  min-height: 92px;
  margin-bottom: 14px;
  padding: 15px;
  align-items: center;
  border-color: #dde4ef;
  border-radius: 16px;
  background: var(--kh-surface);
  border-style:solid;
  border-width:1px;
}

.kh-intro-card__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 750;
}

.kh-intro-card__text {
  margin: 0;
  color: var(--kh-muted);
  font-size: 12px;
}

.kh-intro-card__art {
  display: grid;
  width: 57px;
  height: 57px;
  place-items: center;
  justify-self: end;
  border-radius: 16px;
  color: var(--kh-success);
  background: #e7f8f0;
}

.kh-upload-zone {
  position: relative;
  display: grid;
  min-height: 132px;
  padding: 19px;
  place-items: center;
  border-color: #c9d0dc;
  border-radius: 16px;
  text-align: center;
  background: #fff;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
  border-style:solid;
  border-width:1px;
}

.kh-upload-zone:hover,
.kh-upload-zone--drag {
  border-color: var(--kh-red);
  background: #fffafb;
  border-style:solid;
  border-width:1px;
}

.kh-upload-zone__icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin: 0 auto 8px;
  place-items: center;
  border-radius: 50%;
  color: var(--kh-red);
  background: var(--kh-red-soft);
}

.kh-upload-zone__title {
  display: block;
  font-size: 12px;
  font-weight: 750;
}

.kh-upload-zone__text {
  display: block;
  margin-top: 3px;
  color: var(--kh-muted);
  font-size: 12px;
}

.kh-upload-zone__file {
  display: flex;
  max-width: 100%;
  margin-top: 8px;
  padding: 5px 8px;
  align-items: center;
  gap: 5px;
  border-radius: 10px;
  color: #24654f;
  background: #e9f8f2;
  font-size: 12px;
  font-weight: 750;
}

.kh-file-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
}

.kh-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 17px 1px 9px;
}

.kh-section-heading__title {
  margin: 0;
  font-size: 12px;
  font-weight: 750;
}

.kh-section-heading__text {
  margin: 0;
  color: var(--kh-muted);
  font-size: 12px;
}

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

.kh-choice-card {
  position: relative;
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr) auto;
  gap: 9px;
  min-height: 61px;
  padding: 11px 12px;
  align-items: center;
  border-color: var(--kh-line);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  border-style:solid;
  border-width:1px;
}

.kh-choice-card:has(.kh-radio-input:checked) {
  border-color: var(--kh-red);
  box-shadow: 0 0 0 2px rgba(253, 5, 5, 0.07);
  border-style:solid;
  border-width:1px;
}

.kh-radio-input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--kh-red);
}

.kh-choice-card__title {
  display: block;
  font-size: 12px;
  font-weight: 750;
}

.kh-choice-card__text {
  display: block;
  margin-top: 2px;
  color: var(--kh-muted);
  font-size: 12px;
}

.kh-choice-card__price {
  color: var(--kh-ink);
  font-size: 12px;
  font-weight: 750;
}

.kh-form {
  display: grid;
  gap: 13px;
}

.kh-form-card {
  padding: 15px;
  border-color: var(--kh-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--kh-shadow-soft);
  border-style:solid;
  border-width:1px;
}

.kh-field {
  display: grid;
  gap: 5px;
}

.kh-field__label {
  color: #3e4757;
  font-size: 12px;
  font-weight: 750;
}

.kh-field__control {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  border-color: #dfe3ea;
  border-radius: 10px;
  outline: 0;
  color: var(--kh-ink);
  background: #fff;
  font: inherit;
  font-size: 12px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  border-style:solid;
  border-width:1px;
}

.kh-field__control::placeholder {
  color: #a0a7b3;
}

.kh-field__control:focus {
  border-color: rgba(253, 5, 5, 0.6);
  box-shadow: 0 0 0 3px rgba(253, 5, 5, 0.08);
  border-style:solid;
  border-width:1px;
}

textarea.kh-field__control {
  min-height: 105px;
  resize: vertical;
  line-height: 1.55;
}

.kh-form-help {
  margin: -4px 0 0;
  color: var(--kh-muted);
  font-size: 12px;
}

.kh-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 15px;
}

.kh-progress__step {
  position: relative;
  display: grid;
  gap: 5px;
  place-items: center;
  color: #929aa8;
  font-size: 12px;
  font-weight: 700;
}

.kh-progress__step::before {
  width: 100%;
  height: 3px;
  border-radius: 99px;
  background: #e1e4ea;
  content: "";
}

.kh-progress__step--active {
  color: var(--kh-red);
}

.kh-progress__step--active::before {
  background: var(--kh-red);
}

.kh-letter-card {
  padding: 17px;
  border-color: var(--kh-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--kh-shadow-soft);
  border-style:solid;
  border-width:1px;
}

.kh-letter-copy {
  min-height: 335px;
  color: #414b5c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.kh-letter-editor {
  width: 100%;
  min-height: 355px;
  padding: 0;
  border: 0;
  outline: 0;
  color: #414b5c;
  background: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  line-height: 1.65;
  resize: vertical;
}

.kh-action-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 12px;
}

.kh-action-row .kh-button {
  min-width: 0;
  padding-right: 7px;
  padding-left: 7px;
}

.kh-apply-summary {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px;
  align-items: center;
  border-color: #dfe4ed;
  border-radius: 16px;
  background: #f9fbfe;
  border-style:solid;
  border-width:1px;
}

.kh-apply-summary__title {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 750;
}

.kh-apply-summary__text {
  margin: 0;
  color: var(--kh-muted);
  font-size: 12px;
}

.kh-help-card {
  margin-top: 11px;
  padding: 11px 12px;
  border-radius: 10px;
  color: #475267;
  background: #eef3fa;
  font-size: 12px;
  line-height: 1.5;
}

.kh-help-card strong {
  display: block;
  margin-bottom: 2px;
  color: var(--kh-navy);
  font-size: 12px;
}

.kh-tracker-tabs {
  display: flex;
  gap: 6px;
  margin: 0 -14px 13px;
  overflow-x: auto;
  padding: 0 14px 3px;
  scrollbar-width: none;
}

.kh-tracker-tabs::-webkit-scrollbar {
  display: none;
}

.kh-tracker-tab {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 6px 12px;
  border-color: #e1e5ec;
  border-radius: 999px;
  color: #626c7b;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  border-style:solid;
  border-width:1px;
}

.kh-tracker-tab[aria-pressed="true"] {
  border-color: var(--kh-red);
  color: #fff;
  background: var(--kh-red);
  border-style:solid;
  border-width:1px;
}

.kh-tracker-list {
  display: grid;
  gap: 9px;
}

.kh-tracker-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 70px;
  padding: 11px;
  align-items: center;
  border-color: var(--kh-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--kh-shadow-soft);
  cursor: pointer;
  border-style:solid;
  border-width:1px;
}

.kh-tracker-card__title {
  overflow: hidden;
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kh-tracker-card__company {
  margin: 0 0 4px;
  color: var(--kh-muted);
  font-size: 12px;
}

.kh-tracker-card__date {
  color: #8b93a1;
  font-size: 12px;
}

.kh-status {
  display: inline-flex;
  min-height: 21px;
  padding: 3px 7px;
  align-items: center;
  border-radius: 999px;
  color: #536075;
  background: #edf0f4;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.kh-status--saved {
  color: #8d620e;
  background: #fff0cd;
}

.kh-status--applied {
  color: #176747;
  background: #dff6ec;
}

.kh-status--interview {
  color: #2d9df9;
  background: #e1f1fe;
}

.kh-status--review {
  color: #724ab0;
  background: #eee7fa;
}

.kh-status--declined {
  color: #fd0505;
  background: #ffe7e7;
}

.kh-notification-list {
  display: grid;
  gap: 6px;
}

.kh-notification-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 13px 2px 7px;
  color: #414a5a;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kh-notification {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 9px;
  min-height: 66px;
  padding: 10px;
  align-items: start;
  border-color: var(--kh-line);
  border-radius: 16px;
  background: #fff;
  border-style:solid;
  border-width:1px;
}

.kh-notification--unread {
  border-color: #ffdada;
  background: #fffafb;
  border-style:solid;
  border-width:1px;
}

.kh-notification--unread::after {
  position: absolute;
  top: 12px;
  right: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--kh-red);
  content: "";
}

.kh-notification__icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  color: var(--kh-red);
  background: var(--kh-red-soft);
}

.kh-notification:nth-child(3n + 2) .kh-notification__icon {
  color: #2d9df9;
  background: #eaf2fd;
}

.kh-notification:nth-child(3n) .kh-notification__icon {
  color: #99630c;
  background: #fff4da;
}

.kh-notification__title {
  margin: 1px 15px 2px 0;
  font-size: 12px;
  font-weight: 750;
}

.kh-notification__text {
  margin: 0;
  color: var(--kh-muted);
  font-size: 12px;
  line-height: 1.4;
}

.kh-notification__time {
  padding-top: 1px;
  color: #969daa;
  font-size: 12px;
  white-space: nowrap;
}

.kh-link-button {
  padding: 6px 0;
  border: 0;
  color: var(--kh-red);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.kh-toast {
  position: fixed;
  z-index: 70;
  right: 16px;
  bottom: calc(var(--kh-nav-height) + 16px);
  left: 16px;
  display: flex;
  width: calc(100% - 32px);
  max-width: 398px;
  min-height: 45px;
  margin: 0 auto;
  padding: 10px 13px;
  align-items: center;
  gap: 9px;
  border-radius: 10px;
  color: #fff;
  background: var(--kh-navy);
  box-shadow: 0 12px 30px rgba(10, 29, 63, 0.28);
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.kh-toast--show {
  opacity: 1;
  transform: translateY(0);
}

.kh-toast .kh-icon {
  color: #75e1b4;
}

.kh-live-region {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.kh-skeleton {
  overflow: hidden;
  border-radius: 10px;
  background: #edf0f4;
}

.kh-divider {
  height: 1px;
  margin: 15px 0;
  border: 0;
  background: var(--kh-line);
}

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

.kh-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
}

.kh-no-scroll {
  overflow: hidden;
}

.kh-modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  padding: 20px;
  place-items: center;
  background: rgba(5, 14, 31, 0.58);
  backdrop-filter: blur(2px);
}

.kh-modal__panel {
  width: 100%;
  max-width: 390px;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(5, 14, 31, 0.28);
  animation: kh-modal-enter 170ms ease-out;
}

@keyframes kh-modal-enter {
  from {
    opacity: 0;
    transform: scale(0.97);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.kh-modal__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 750;
}

.kh-modal__text {
  margin: 0 0 16px;
  color: var(--kh-muted);
  font-size: 12px;
  line-height: 1.5;
}

.kh-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline-color: rgba(45, 157, 249, 0.32);
  outline-offset: 2px;
  outline-style:solid;
  outline-width:3px;
}

.kh-free-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #087a4d;
  background: #e8f8f0;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.kh-upload-zone__text {
  font-size: 0;
}

.kh-upload-zone__text::after {
  content: "PDF, DOC or DOCX \00b7 maximum 8 MB";
  font-size: 12px;
}

.kh-admin-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0;
  padding: 12px;
  border-color: rgba(253, 5, 5, 0.18);
  border-radius: 16px;
  color: var(--kh-ink);
  background: #fff7f7;
  border-style:solid;
  border-width:1px;
}

.kh-admin-notice__icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--kh-red);
}

.kh-admin-notice__title,
.kh-admin-notice__text {
  display: block;
}

.kh-admin-notice__title {
  margin-bottom: 3px;
  font-size: 12px;
}

.kh-admin-notice__text {
  color: var(--kh-muted);
  font-size: 12px;
  line-height: 1.45;
}

.kh-resource-section {
  margin: 16px 0;
}

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

.kh-resource-card {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 11px;
  border-color: var(--kh-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(16, 35, 61, 0.06);
  border-style:solid;
  border-width:1px;
}

.kh-resource-card__image,
.kh-resource-card__icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 16px;
}

.kh-resource-card__image {
  object-fit: cover;
}

.kh-resource-card__icon {
  display: grid;
  place-items: center;
  color: var(--kh-blue);
  background: #edf6ff;
}

.kh-resource-card__copy {
  min-width: 0;
}

.kh-resource-card__title,
.kh-resource-card__text {
  display: block;
}

.kh-resource-card__title {
  color: var(--kh-ink);
  font-size: 12px;
}

.kh-resource-card__text {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 3px;
  color: var(--kh-muted);
  font-size: 12px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.kh-resource-card__link {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  margin-top: 7px;
  color: var(--kh-red);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

@media (max-width: 430px) {
  body.kh-app-body {
    padding: 0 0 124px;
  }

  .kh-app {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .kh-paper-filters {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 431px) {
  body.kh-app-body {
    padding: 16px 0;
  }

  .kh-app {
    width: min(430px, calc(100vw - 32px));
    min-height: calc(100vh - 32px);
    min-height: calc(100dvh - 32px);
    border-radius: 16px;
  }

  .kh-topbar {
    border-radius: 22px 22px 0 0;
  }

  .kh-toast {
    bottom: calc(var(--kh-nav-height) + 32px);
  }
}

@media (max-width: 350px) {
  .kh-main {
    padding-right: 11px;
    padding-left: 11px;
  }

  .kh-hero {
    padding-right: 116px;
    padding-left: 16px;
  }

  .kh-hero__art {
    right: 12px;
    width: 80px;
    height: 80px;
  }

  .kh-filter-row,
  .kh-tracker-tabs {
    margin-right: -11px;
    margin-left: -11px;
    padding-right: 11px;
    padding-left: 11px;
  }

  .kh-detail-actions {
    margin-right: -11px;
    margin-left: -11px;
    padding-right: 11px;
    padding-left: 11px;
  }
}


/* One responsive workspace, from student phone to desktop. */
body.kh-app-body { min-width:0; padding:0; display:block; overflow-x:visible; }
.kh-app { width:100%; min-height:100dvh; border:0; border-radius:0; background:var(--kh-canvas); box-shadow:none; overflow-x:visible; }
.kh-topbar { width:100%; min-height:72px; padding:12px 20px; grid-template-columns:40px minmax(0,1fr) 40px; background:var(--kh-surface); border-color:var(--kh-line); border-radius:0; backdrop-filter:none; border-style:solid; border-width:1px; }
.kh-topbar__title { font-size:20px; font-weight:750; color:var(--kh-ink); }
.kh-topbar__subtitle { font-size:12px; }
.kh-icon-button { border-radius:10px; width:40px; height:40px; }
.kh-main,.kh-main--landing { padding:20px 16px 112px; max-width:1120px; margin:0 auto; }
.kh-hero { border-color:var(--kh-line); background:var(--kh-surface); color:var(--kh-ink); box-shadow:var(--kh-shadow); padding:24px 120px 24px 24px; min-height:148px; border-radius:16px; margin-bottom:24px; border-style:solid; border-width:1px; }
.kh-hero::after,.kh-detail-hero::after { display:none; }
.kh-hero__eyebrow { color:var(--kh-red-dark); font-size:11px; }
.kh-hero__title { font-size:25px; line-height:1.2; max-width:none; }
.kh-hero__text { color:var(--kh-muted); font-size:13px; line-height:1.55; max-width:520px; }
.kh-hero__art { width:72px; height:72px; right:24px; bottom:calc(50% - 36px); border:0; border-radius:16px; color:var(--kh-red); background:var(--kh-red-soft); }
.kh-hero__art .kh-icon { width:38px; height:38px; }
.kh-menu,.kh-opportunity-list,.kh-resource-list,.kh-paper-list,.kh-tracker-list,.kh-notification-list { gap:16px; }
.kh-menu-card { min-height:84px; padding:16px; grid-template-columns:44px minmax(0,1fr) 24px; gap:12px; border-radius:16px; }
.kh-menu-card__icon,.kh-menu-card:nth-child(3n + 1) .kh-menu-card__icon { width:40px; height:40px; border-radius:10px; background:var(--kh-red-soft); color:var(--kh-red); }
.kh-menu-card__title,.kh-opportunity-card__title,.kh-card-title-button,.kh-paper-card__title,.kh-resource-card__title { font-size:15px; color:var(--kh-ink); line-height:1.4; }
.kh-menu-card__description { font-size:13px; white-space:normal; line-height:1.45; margin-top:4px; }
.kh-opportunity-card,.kh-paper-card,.kh-resource-card,.kh-form-card,.kh-intro-card,.kh-tracker-card,.kh-letter-card { padding:20px; border-radius:16px; box-shadow:var(--kh-shadow); }
.kh-opportunity-card__top { grid-template-columns:44px minmax(0,1fr) 36px; }
.kh-opportunity-card__company,.kh-opportunity-card__meta,.kh-paper-card__meta,.kh-resource-card__text,.kh-closing { font-size:13px; line-height:1.5; }
.kh-opportunity-card__footer { flex-wrap:wrap; gap:12px; margin-top:16px; }
.kh-brand-mark { width:44px; height:44px; font-size:12px; }
.kh-opportunity-card__meta .kh-icon { width:14px; height:14px; }
.kh-results-meta { font-size:13px; margin:12px 0; }
.kh-search-input,.kh-select-field select,.kh-field__control { min-height:44px; font-size:14px; border-radius:10px; box-shadow:none; }
.kh-field__label,.kh-select-field span { font-size:13px; font-weight:650; letter-spacing:0; text-transform:none; color:var(--kh-ink); }
.kh-button,.kh-paper-card__download { min-height:42px; border-radius:10px; font-size:13px; font-weight:650; padding:10px 16px; line-height:1.35; }
.kh-button--small { min-height:38px; font-size:12px; }
.kh-button--navy { background:var(--kh-red); }
.kh-button--navy:hover { background:var(--kh-red-dark); }
.kh-filter-chip,.kh-tracker-tab { min-height:40px; padding:8px 14px; font-size:13px; border-radius:10px; }
.kh-filter-chip[aria-pressed="true"],.kh-filter-chip--active,.kh-tracker-tab[aria-pressed="true"] { background:var(--kh-red-soft); border-color:#ffd1d1; color:var(--kh-red-dark); border-style:solid; border-width:1px; }
.kh-detail-hero { border-radius:16px; background:var(--kh-navy); box-shadow:none; padding:24px; }
.kh-detail-hero__title { max-width:none; font-size:25px; line-height:1.3; }
.kh-detail-hero__meta { font-size:13px; }
.kh-content-section__title,.kh-section-heading__title,.kh-intro-card__title { font-size:18px; color:var(--kh-ink); }
.kh-content-section__text,.kh-check-list__item,.kh-intro-card__text,.kh-section-heading__text,.kh-form-help,.kh-empty-state__text,.kh-modal__text { font-size:14px; line-height:1.6; color:var(--kh-muted); }
.kh-form { gap:16px; }
.kh-field { gap:8px; }
.kh-empty-state { border-color:var(--kh-line); border-radius:16px; background:var(--kh-surface); padding:40px 24px; border-style:solid; border-width:1px; }
.kh-empty-state__title,.kh-modal__title { font-size:18px; }
.kh-modal__panel { max-width:480px; border-radius:16px; padding:24px; box-shadow:0 24px 60px rgba(23,43,67,.18); }
.kh-modal { background:rgba(23,43,67,.45); }
.kh-help-card,.kh-admin-notice { border-radius:10px; background:var(--kh-red-soft); }
.kh-notification__icon,.kh-notification:nth-child(3n + 2) .kh-notification__icon,.kh-notification:nth-child(3n) .kh-notification__icon { color:var(--kh-ink); background:var(--kh-canvas); }
.kh-notification__title { font-size:15px; } .kh-notification__text { font-size:13px; } .kh-notification__time { font-size:12px; }
.kh-status,.kh-tag { font-size:11px; padding:5px 9px; }
.kh-toast { font-size:14px; border-radius:10px; max-width:480px; }
.kh-skip-link { top:-200px; transform:translateX(-50%); }
.kh-skip-link:focus { top:12px; transform:translateX(-50%); }
@media(min-width:768px) {
  .kh-topbar { padding-inline:max(24px,calc((100vw - 1120px)/2)); }
  .kh-main,.kh-main--landing { padding:32px 24px 120px; }
  .kh-menu,.kh-opportunity-list,.kh-paper-list,.kh-resource-list,.kh-tracker-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .kh-page:not(.kh-page--landing) .kh-form,.kh-letter-card,.kh-choice-list { max-width:760px; margin-inline:auto; }
  .kh-hero { min-height:180px; padding-right:180px; }
  .kh-hero__title { font-size:32px; }
  .kh-hero__text { font-size:15px; }
  .kh-hero__art { width:96px; height:96px; right:40px; bottom:calc(50% - 48px); }
  .kh-hero__art .kh-icon { width:48px; height:48px; }
}
@media(max-width:767px) { .kh-search-input,.kh-select-field select,.kh-field__control { font-size:16px; } }
@media(max-width:380px) {
  .kh-main,.kh-main--landing { padding-inline:12px; }
  .kh-hero { padding:20px 96px 20px 20px; }
  .kh-hero__title { font-size:22px; }
  .kh-hero__art { right:16px; width:60px; height:60px; bottom:calc(50% - 30px); }
  .kh-opportunity-card,.kh-paper-card,.kh-resource-card,.kh-form-card,.kh-intro-card,.kh-tracker-card { padding:16px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body.kh-app-body {
    background: #fff;
  }

  .kh-topbar,
  .kh-action-row,
  .kh-toast {
    display: none !important;
  }

  .kh-app,
  .kh-main {
    max-width: none;
    min-height: auto;
    padding: 0;
    background: #fff;
    box-shadow: none;
  }

  .kh-letter-card {
    border: 0;
    box-shadow: none;
  }
}
.kh-opportunity-image{display:block;width:100%;height:180px;object-fit:cover;border-radius: 16px;margin-bottom:16px}
/* Original Kagie colors preserved; layouts and component geometry remain unified. */
:root {
  --kh-red: #fd0505;
  --kh-red-dark: #fd0505;
  --kh-red-soft: #fff1f1;
  --kh-navy: #10233d;
  --kh-navy-2: #294262;
  --kh-ink: #10233d;
  --kh-muted: #66788f;
  --kh-line: #c9e6fd;
  --kh-surface: #ffffff;
  --kh-canvas: #f5f8fc;
  --kh-success: #18a66b;
  --kh-warning: #ffb500;
  --kh-blue: #2d9df9;
}
html {
  background: var(--kh-canvas);
}
body.kh-app-body {
  color: var(--kh-ink);
  background: var(--kh-canvas);
}
.kh-app {
  color: var(--kh-ink);
  background: var(--kh-surface);
  border-color: var(--kh-line);
}
.kh-skip-link {
  color: #fff;
  background: var(--kh-navy);
}
.kh-topbar {
  border-bottom-color: rgba(231, 234, 240, 0.82);
  background: rgba(255, 255, 255, 0.96);
}
.kh-topbar__title {
  color: #111827;
}
.kh-topbar__subtitle {
  color: var(--kh-muted);
}
.kh-icon-button {
  color: var(--kh-ink);
  background: transparent;
}
.kh-icon-button:hover {
  background: #f1f3f7;
}
.kh-icon-button--red {
  color: var(--kh-red);
}
.kh-icon {
  fill: none;
  stroke: currentColor;
}
.kh-hero {
  color: #fff;
  background:
    radial-gradient(circle at 88% 34%, rgba(255, 255, 255, 0.26), transparent 24%),
    linear-gradient(130deg, #fd0505 0%, #fd0505 63%, #fd0505 100%);
}
.kh-hero::after {
  border-color: rgba(255, 255, 255, 0.09);
}
.kh-hero__eyebrow {
  color: rgba(255, 255, 255, 0.86);
}
.kh-hero__text {
  color: rgba(255, 255, 255, 0.9);
}
.kh-hero__art {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.kh-menu-card {
  border-color: var(--kh-line);
  color: inherit;
  background: var(--kh-surface);
}
.kh-menu-card:hover {
  border-color: #d8dde7;
}
.kh-menu-card__icon {
  color: var(--kh-navy);
  background: #f0f4fa;
}
.kh-menu-card:nth-child(3n + 1) .kh-menu-card__icon {
  color: var(--kh-red);
  background: var(--kh-red-soft);
}
.kh-menu-card__description {
  color: var(--kh-muted);
}
.kh-menu-card__tail {
  color: #9aa2af;
}
.kh-count-badge {
  color: #fff;
  background: var(--kh-red);
}
.kh-search-wrap .kh-icon {
  color: #8b94a3;
}
.kh-search-input {
  border-color: var(--kh-line);
  color: var(--kh-ink);
  background: var(--kh-surface);
}
.kh-search-input::placeholder {
  color: #9da5b2;
}
.kh-search-input:focus {
  border-color: rgba(253, 5, 5, 0.55);
}
.kh-search-clear {
  color: #89919e;
  background: transparent;
}
.kh-filter-chip {
  border-color: var(--kh-line);
  color: #566071;
  background: #fff;
}
.kh-filter-chip[aria-pressed="true"],
.kh-filter-chip--active {
  border-color: var(--kh-navy);
  color: #fff;
  background: var(--kh-navy);
}
.kh-results-meta {
  color: var(--kh-muted);
}
.kh-results-meta strong {
  color: var(--kh-ink);
}
.kh-select-field span {
  color: var(--kh-muted);
}
.kh-select-field select {
  border-color: var(--kh-line);
  color: var(--kh-ink);
  background: var(--kh-surface);
}
.kh-select-field select:focus {
  border-color: var(--kh-red);
}
.kh-paper-card {
  border-color: var(--kh-line);
  background: var(--kh-surface);
}
.kh-paper-card__mark {
  color: var(--kh-red);
  background: var(--kh-red-soft);
}
.kh-paper-card__eyebrow {
  color: var(--kh-blue);
}
.kh-paper-card__title {
  color: #182033;
}
.kh-paper-card__meta {
  color: var(--kh-muted);
}
.kh-paper-card__download {
  color: #fff;
  background: var(--kh-red);
}
.kh-paper-card__download--disabled {
  color: var(--kh-muted);
  background: #eef2f7;
}
.kh-opportunity-card {
  border-color: var(--kh-line);
  background: var(--kh-surface);
}
.kh-brand-mark {
  border-color: #e5e8ef;
  color: var(--kh-navy);
  background: #f8fafc;
}
.kh-brand-mark--dark {
  border-color: var(--kh-navy);
  color: #fff;
  background: var(--kh-navy);
}
.kh-brand-mark--navy {
  border-color: #99d0fc;
  color: #fff;
  background: linear-gradient(145deg, #2d9df9, var(--kh-navy));
}
.kh-brand-mark--red {
  border-color: #ffd6d6;
  color: var(--kh-red);
  background: #fff3f3;
}
.kh-opportunity-card__title {
  color: #182033;
}
.kh-card-title-button {
  color: #182033;
  background: transparent;
}
.kh-card-title-button:hover {
  color: var(--kh-red);
}
.kh-opportunity-card__company {
  color: var(--kh-muted);
}
.kh-opportunity-card__meta {
  color: #657083;
}
.kh-bookmark-button {
  color: #616b7b;
  background: transparent;
}
.kh-bookmark-button[aria-pressed="true"] {
  color: var(--kh-red);
  background: var(--kh-red-soft);
}
.kh-closing {
  color: #5f6878;
}
.kh-closing strong {
  color: var(--kh-red);
}
.kh-tag {
  color: #266f55;
  background: #eaf8f2;
}
.kh-tag--navy {
  color: var(--kh-navy);
  background: #eaf0f8;
}
.kh-tag--amber {
  color: #98600b;
  background: #fff4d7;
}
.kh-button {
  color: #fff;
  background: var(--kh-red);
}
.kh-button:hover {
  background: var(--kh-red-dark);
}
.kh-button--secondary {
  border-color: #dfe3ea;
  color: var(--kh-ink);
  background: #fff;
}
.kh-button--secondary:hover {
  border-color: #cbd1dc;
  color: var(--kh-red);
  background: #fff;
}
.kh-button--navy {
  background: var(--kh-navy);
}
.kh-button--navy:hover {
  background: #071630;
}
.kh-button--ghost {
  border-color: transparent;
  color: var(--kh-red);
  background: transparent;
}
.kh-button--ghost:hover {
  background: var(--kh-red-soft);
}
.kh-empty-state {
  border-color: #d8dde6;
  background: rgba(255, 255, 255, 0.65);
}
.kh-empty-state__icon {
  color: var(--kh-red);
  background: var(--kh-red-soft);
}
.kh-empty-state__text {
  color: var(--kh-muted);
}
.kh-detail-hero {
  color: #fff;
  background:
    radial-gradient(circle at 92% 5%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(135deg, #071b3d, #142f5f);
}
.kh-detail-hero::after {
  border-color: rgba(255, 255, 255, 0.06);
}
.kh-detail-hero__brand {
  color: var(--kh-navy);
  background: #fff;
}
.kh-detail-hero__meta {
  color: rgba(255, 255, 255, 0.8);
}
.kh-info-grid {
  border-color: var(--kh-line);
  background: #fff;
}
.kh-info-item {
  border-bottom-color: var(--kh-line);
}
.kh-info-item:nth-child(odd) {
  border-right-color: var(--kh-line);
}
.kh-info-item__icon {
  color: var(--kh-red);
  background: var(--kh-red-soft);
}
.kh-info-item__label {
  color: var(--kh-muted);
}
.kh-info-item__value {
  color: var(--kh-ink);
}
.kh-content-section + .kh-content-section {
  border-top-color: var(--kh-line);
}
.kh-content-section__title {
  color: #172033;
}
.kh-content-section__text {
  color: #586274;
}
.kh-check-list__item {
  color: #566071;
}
.kh-check-list__icon {
  color: var(--kh-success);
  background: #e9f8f2;
}
.kh-detail-actions {
  border-top-color: var(--kh-line);
  background: rgba(255, 255, 255, 0.97);
}
.kh-intro-card {
  border-color: #dde4ef;
  background: linear-gradient(135deg, #fff, #f1f5fb);
}
.kh-intro-card__text {
  color: var(--kh-muted);
}
.kh-intro-card__art {
  color: var(--kh-success);
  background: #e7f8f0;
}
.kh-upload-zone {
  border-color: #c9d0dc;
  background: #fff;
}
.kh-upload-zone:hover,
.kh-upload-zone--drag {
  border-color: var(--kh-red);
  background: #fffafb;
}
.kh-upload-zone__icon {
  color: var(--kh-red);
  background: var(--kh-red-soft);
}
.kh-upload-zone__text {
  color: var(--kh-muted);
}
.kh-upload-zone__file {
  color: #24654f;
  background: #e9f8f2;
}
.kh-section-heading__text {
  color: var(--kh-muted);
}
.kh-choice-card {
  border-color: var(--kh-line);
  background: #fff;
}
.kh-choice-card:has(.kh-radio-input:checked) {
  border-color: var(--kh-red);
}
.kh-radio-input {
  accent-color: var(--kh-red);
}
.kh-choice-card__text {
  color: var(--kh-muted);
}
.kh-choice-card__price {
  color: var(--kh-ink);
}
.kh-form-card {
  border-color: var(--kh-line);
  background: #fff;
}
.kh-field__label {
  color: #3e4757;
}
.kh-field__control {
  border-color: #dfe3ea;
  color: var(--kh-ink);
  background: #fff;
}
.kh-field__control::placeholder {
  color: #a0a7b3;
}
.kh-field__control:focus {
  border-color: rgba(253, 5, 5, 0.6);
}
.kh-form-help {
  color: var(--kh-muted);
}
.kh-progress__step {
  color: #929aa8;
}
.kh-progress__step::before {
  background: #e1e4ea;
}
.kh-progress__step--active {
  color: var(--kh-red);
}
.kh-progress__step--active::before {
  background: var(--kh-red);
}
.kh-letter-card {
  border-color: var(--kh-line);
  background: #fff;
}
.kh-letter-copy {
  color: #414b5c;
}
.kh-letter-editor {
  color: #414b5c;
  background: transparent;
}
.kh-apply-summary {
  border-color: #dfe4ed;
  background: #f9fbfe;
}
.kh-apply-summary__text {
  color: var(--kh-muted);
}
.kh-help-card {
  color: #475267;
  background: #eef3fa;
}
.kh-help-card strong {
  color: var(--kh-navy);
}
.kh-tracker-tab {
  border-color: #e1e5ec;
  color: #626c7b;
  background: #fff;
}
.kh-tracker-tab[aria-pressed="true"] {
  border-color: var(--kh-red);
  color: #fff;
  background: var(--kh-red);
}
.kh-tracker-card {
  border-color: var(--kh-line);
  background: #fff;
}
.kh-tracker-card__company {
  color: var(--kh-muted);
}
.kh-tracker-card__date {
  color: #8b93a1;
}
.kh-status {
  color: #536075;
  background: #edf0f4;
}
.kh-status--saved {
  color: #8d620e;
  background: #fff0cd;
}
.kh-status--applied {
  color: #176747;
  background: #dff6ec;
}
.kh-status--interview {
  color: #2d9df9;
  background: #e1f1fe;
}
.kh-status--review {
  color: #724ab0;
  background: #eee7fa;
}
.kh-status--declined {
  color: #fd0505;
  background: #ffe7e7;
}
.kh-notification-heading {
  color: #414a5a;
}
.kh-notification {
  border-color: var(--kh-line);
  background: #fff;
}
.kh-notification--unread {
  border-color: #ffdada;
  background: #fffafb;
}
.kh-notification--unread::after {
  background: var(--kh-red);
}
.kh-notification__icon {
  color: var(--kh-red);
  background: var(--kh-red-soft);
}
.kh-notification:nth-child(3n + 2) .kh-notification__icon {
  color: #2d9df9;
  background: #eaf2fd;
}
.kh-notification:nth-child(3n) .kh-notification__icon {
  color: #99630c;
  background: #fff4da;
}
.kh-notification__text {
  color: var(--kh-muted);
}
.kh-notification__time {
  color: #969daa;
}
.kh-link-button {
  color: var(--kh-red);
  background: transparent;
}
.kh-toast {
  color: #fff;
  background: var(--kh-navy);
}
.kh-toast .kh-icon {
  color: #75e1b4;
}
.kh-skeleton {
  background: #edf0f4;
}
.kh-divider {
  background: var(--kh-line);
}
.kh-muted {
  color: var(--kh-muted);
}
.kh-modal {
  background: rgba(5, 14, 31, 0.58);
}
.kh-modal__panel {
  background: #fff;
}
.kh-modal__text {
  color: var(--kh-muted);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline-color: rgba(45, 157, 249, 0.32);
}
.kh-free-badge {
  color: #087a4d;
  background: #e8f8f0;
}
.kh-admin-notice {
  border-color: rgba(253, 5, 5, 0.18);
  color: var(--kh-ink);
  background: #fff7f7;
}
.kh-admin-notice__icon {
  color: #fff;
  background: var(--kh-red);
}
.kh-admin-notice__text {
  color: var(--kh-muted);
}
.kh-resource-card {
  border-color: var(--kh-line);
  background: #fff;
}
.kh-resource-card__icon {
  color: var(--kh-blue);
  background: #edf6ff;
}
.kh-resource-card__title {
  color: var(--kh-ink);
}
.kh-resource-card__text {
  color: var(--kh-muted);
}
.kh-resource-card__link {
  color: var(--kh-red);
}
.kh-page--landing .kh-menu {
  border-color: #e8edf3;
  background: #fff;
}
.kh-page--landing .kh-menu-card {
  border-bottom-color: #edf0f4;
  background: #fff;
}
.kh-page--landing .kh-menu-card:hover {
  border-color: #edf0f4;
  background: #fafbfc;
}
.kh-page--landing .kh-menu-card__icon {
  color: #344054 !important;
  background: transparent !important;
}
.kh-page--landing .kh-menu-card__tail {
  color: #344054;
}
@media print {
  body.kh-app-body {
    background: #fff;
  }

  .kh-app,
  .kh-main {
    background: #fff;
  }
}

/* Header actions use the shared minimum touch target. */
.kh-icon-button { min-width: 44px; min-height: 44px; }

/* Cover letters use readable document typography and a quiet page layout. */
.career-letter.kh-letter-card { max-width:794px; margin:20px auto; padding:48px 54px; border:1px solid #dce3ea; border-radius:3px; box-shadow:0 6px 28px #20354c0c; }
.career-letter .kh-letter-copy,.career-letter .kh-letter-editor { min-height:0; font:400 15px/1.7 Arial,"Segoe UI",sans-serif; color:#273445; white-space:normal; overflow-wrap:anywhere; }
.career-letter .kh-letter-copy > p { margin:0 0 1.25em; white-space:pre-line; }
.career-letter__header { margin:0 0 1.8em; padding:0 0 1.25em; border-bottom:1px solid #cbd5df; }
.career-letter__header h2 { margin:0 0 .3em; color:#172333; font:700 28px/1.2 Arial,sans-serif; letter-spacing:-.025em; }
.career-letter__header p { margin:0; font-size:13px; color:#526172; white-space:pre-line; }
.career-letter__subject { font-weight:700; color:#172333; }
.career-letter .kh-letter-editor { min-height:690px; white-space:pre-wrap; padding:4px; outline-offset:8px; }
.kh-letter-review-note { max-width:794px; margin:16px auto; font-size:13px; line-height:1.6; color:#596a7e; }
.career-letter + .kh-action-row { max-width:794px; margin-inline:auto; grid-template-columns:repeat(3,minmax(0,1fr)); }
.career-letter-print { display:none; }
@media(max-width:600px) {
  .career-letter.kh-letter-card { padding:27px 22px; }
  .career-letter .kh-letter-copy,.career-letter .kh-letter-editor { font-size:14px; }
  .career-letter__header h2 { font-size:24px; }
  .career-letter + .kh-action-row { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #kh-cover-form input,#kh-cover-form select,#kh-cover-form textarea { font-size:16px; }
}
@media print {
  @page { size:A4 portrait; margin:19mm 20mm; }
  html { background:#fff !important; }
  body.kh-letter-printing { display:block !important; }
  body.kh-letter-printing { margin:0 !important; padding:0 !important; width:auto !important; height:auto !important; overflow:visible !important; background:white !important; }
  body.kh-letter-printing > *:not(.career-letter-print) { display:none !important; }
  body.kh-letter-printing .career-letter-print { display:block !important; width:auto; margin:0; padding:0; border:0; box-shadow:none; }
  .career-letter-print .kh-letter-copy { font-size:11pt; line-height:1.6; }
  .career-letter-print .career-letter__header h2 { font-size:22pt; }
  .career-letter-print .career-letter__header p { font-size:10pt; }
  .career-letter-print p { orphans:3; widows:3; }
  .career-letter__header,.career-letter__subject { break-after:avoid; }
}
