:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --white: #fff;
  --ink: #1e2e29;
  --muted: #75817b;
  --line: #e5e6df;
  --green: #1d7861;
  --green-dark: #145b4b;
  --green-soft: #e5f2ec;
  --mint: #cce3d5;
  --coral: #dc795f;
  --coral-soft: #fff0e9;
  --amber: #bf8b36;
  --amber-soft: #fff4dc;
  --blue: #667ea6;
  --shadow: 0 12px 32px rgba(37, 55, 45, .055);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 14px; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid rgba(29,120,97,.24); outline-offset: 2px; }

.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 248px; flex: 0 0 248px; min-height: 100vh; padding: 28px 17px 19px; background: #f1f2ec; border-right: 1px solid #e6e8e1; display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 12px; padding: 2px 8px 38px; text-decoration: none; color: inherit; }
.brand-mark { width: 46px; height: 46px; border-radius: 15px 15px 15px 4px; color: #fff; background: var(--green); display: grid; place-items: center; font: 800 16px Manrope, sans-serif; letter-spacing: -.7px; transform: rotate(-3deg); box-shadow: 0 6px 12px rgba(29,120,97,.16); }
.brand-mark span { color: #b8d8c7; padding: 0 1px; }
.brand-copy { display: grid; gap: 3px; }
.brand-copy strong { font-size: 15px; font-weight: 800; letter-spacing: .4px; }
.brand-copy small { color: #8b9690; font: 500 9px "DM Mono", monospace; letter-spacing: 1.25px; }
.side-label { margin: 0 10px 11px; color: #98a19c; font: 500 10px "DM Mono", monospace; letter-spacing: 1.4px; text-transform: uppercase; }
.side-label-spaced { margin-top: 35px; }
.side-nav { display: grid; gap: 5px; }
.nav-item { width: 100%; border: 0; background: transparent; border-radius: 10px; padding: 11px 11px; display: flex; align-items: center; gap: 11px; text-align: left; color: #68756e; cursor: pointer; font-size: 13px; transition: .18s ease; }
.nav-item:hover { background: rgba(255,255,255,.65); color: var(--ink); }
.nav-item.active { color: var(--green-dark); background: #fff; font-weight: 700; box-shadow: 0 2px 5px rgba(31,51,43,.045); }
.nav-icon { width: 18px; color: #99a49c; font-size: 17px; text-align: center; }
.nav-item.active .nav-icon { color: var(--green); }
.nav-count { margin-left: auto; color: #849188; font: 500 10px "DM Mono", monospace; }
.filter-summary { display: grid; gap: 14px; padding: 8px 10px 3px; }
.filter-summary > div { min-width: 0; display: flex; align-items: center; gap: 8px; color: #68756e; font-size: 11px; }
.filter-summary b { margin-left: auto; color: #9aa59e; font-size: 9px; font-weight: 500; white-space: nowrap; }
.summary-dot { width: 7px; height: 7px; border-radius: 50%; background: #72aa8f; box-shadow: 0 0 0 3px #e3eee7; flex: 0 0 auto; }
.summary-dot.coral { background: var(--coral); box-shadow: 0 0 0 3px #f7e7df; }
.side-grow { flex: 1; min-height: 32px; }
.add-job-button { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px; border: 0; border-radius: 10px; color: white; background: var(--green); font-weight: 700; cursor: pointer; box-shadow: 0 5px 12px rgba(29,120,97,.13); transition: transform .18s, background .18s; }
.add-job-button:hover { background: var(--green-dark); transform: translateY(-1px); }
.add-job-button span { font-size: 19px; font-weight: 400; line-height: 14px; }
.import-shortcut { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 7px; padding: 10px; border: 1px solid #dbe4db; border-radius: 9px; color: #5d7b67; background: rgba(255,255,255,.55); font-size: 10px; cursor: pointer; }
.import-shortcut:hover { color: var(--green-dark); border-color: #b9d1bf; background: #fff; }
.import-shortcut span { font-size: 15px; }
.side-footer { display: flex; justify-content: center; align-items: center; gap: 7px; padding-top: 15px; color: #99a19b; font-size: 10px; }
.local-dot { width: 6px; height: 6px; border-radius: 50%; background: #6dab86; }

.main-content { width: calc(100% - 248px); max-width: 1600px; min-height: 100vh; margin-left: 248px; padding: 0 45px 24px; }
.topbar { height: 67px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e7e7e1; }
.breadcrumb { display: flex; gap: 10px; align-items: center; color: #9aa19b; font-size: 11px; }
.breadcrumb i { color: #bdc3bd; font-style: normal; }
.breadcrumb strong { color: #42554c; font-weight: 600; }
.top-actions { display: flex; gap: 18px; align-items: center; }
.quiet-button, .text-button { border: 0; background: none; color: #718078; font-size: 11px; cursor: pointer; transition: color .18s; }
.quiet-button:hover, .text-button:hover { color: var(--green); }
.quiet-button span { margin-left: 3px; color: var(--green); }
.avatar { border: 0; width: 30px; height: 30px; border-radius: 50%; background: #dce8df; color: var(--green-dark); font-weight: 800; font-size: 12px; cursor: pointer; }
.menu-button { display: none; border: 0; background: transparent; font-size: 19px; cursor: pointer; }

.page-view { display: none; }
.page-view.active { display: block; }
.hero-row { display: flex; align-items: center; justify-content: space-between; padding: 35px 3px 20px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: #819088; font: 500 10px "DM Mono", monospace; letter-spacing: 1.2px; text-transform: uppercase; }
.eyebrow-line { width: 19px; height: 1px; background: #84ad98; }
.date-chip { padding: 4px 8px; border-radius: 99px; color: #698575; background: #eaf0e9; font: 500 9px "DM Mono", monospace; letter-spacing: .5px; }
h1, h2, h3, p { margin-top: 0; }
.hero-row h1 { margin: 13px 0 7px; font-size: clamp(28px, 3vw, 38px); line-height: 1.25; letter-spacing: -1.6px; font-weight: 800; }
.hero-row h1 em { color: var(--green); font-style: normal; }
.hero-copy { margin: 0; color: #7c8981; font-size: 12px; letter-spacing: .1px; }
.hero-stamp { width: 84px; height: 84px; border: 1px solid #dfe5dc; border-radius: 50%; display: flex; align-items: center; justify-content: center; gap: 2px; position: relative; transform: rotate(-8deg); color: var(--green); }
.hero-stamp:before { content: ""; position: absolute; inset: 6px; border: 1px dashed #d4dfd5; border-radius: 50%; }
.hero-stamp > span { font: 800 30px Manrope, sans-serif; letter-spacing: -2px; }
.hero-stamp small { color: #8e9b92; font-size: 8px; line-height: 1.35; }
.hero-stamp b { align-self: center; margin-top: 18px; margin-left: -1px; font: 700 9px Manrope, sans-serif; }

.demo-notice { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; margin: 5px 0 17px; border: 1px solid #eadfc7; border-radius: 9px; background: #fcf8ee; color: #71684f; }
.notice-icon { width: 17px; height: 17px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #c4a96e; border-radius: 50%; color: #9a7c3e; font: 500 10px Georgia, serif; }
.demo-notice > div { display: grid; gap: 2px; flex: 1; }
.demo-notice strong { font-size: 10px; font-weight: 700; }
.demo-notice span:not(.notice-icon) { font-size: 10px; line-height: 1.6; }
.demo-notice button { border: 0; background: none; padding: 0 2px; color: #a49674; cursor: pointer; font-size: 17px; line-height: 17px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.stat-card { min-height: 111px; padding: 13px 15px 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.78); box-shadow: 0 3px 8px rgba(33,48,39,.018); }
.stat-card.stat-primary { background: #edf4ee; border-color: #dce9de; }
.stat-top { display: flex; align-items: center; justify-content: space-between; color: #7f8982; font-size: 10px; }
.stat-glyph { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 6px; color: var(--green); background: #dfede4; font-size: 11px; }
.stat-glyph.amber { color: var(--amber); background: var(--amber-soft); }
.stat-glyph.blue { color: var(--blue); background: #edf0f6; }
.stat-glyph.coral { color: var(--coral); background: var(--coral-soft); }
.stat-card strong { display: block; margin: 7px 0 2px; color: #293a32; font: 700 25px Manrope, "Noto Sans SC", sans-serif; letter-spacing: -1px; }
.stat-primary strong { color: var(--green-dark); }
.stat-card small { color: #a0a7a1; font-size: 9px; }

.source-overview { margin-top: 14px; padding: 14px; border: 1px solid #e4e9e1; border-radius: 10px; background: #fff; }
.source-overview-head { display: flex; justify-content: space-between; align-items: end; gap: 15px; margin-bottom: 12px; }
.source-overview-head h2 { margin: 5px 0 0; color: #3b5747; font-size: 14px; }
.source-overview-head p { max-width: 360px; margin: 0; color: #98a39a; font-size: 9px; line-height: 1.5; text-align: right; }
.source-breakdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 14px; }
.source-breakdown-item > div:first-child { display: flex; justify-content: space-between; gap: 6px; color: #74837a; font-size: 9px; }
.source-breakdown-item strong { color: #326b4b; font: 700 10px Manrope, sans-serif; }
.source-meter { height: 4px; margin-top: 6px; border-radius: 9px; overflow: hidden; background: #edf1eb; }
.source-meter i { display: block; height: 100%; border-radius: inherit; background: #75ad87; }

.criteria-strip { display: flex; align-items: center; gap: 17px; margin: 15px 0 25px; padding: 13px 14px; border: 1px solid #e3e6de; border-radius: 10px; background: #f2f3ed; }
.criteria-title { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.criteria-spark { color: #72a98e; font-size: 18px; }
.criteria-title div { display: grid; gap: 2px; }
.criteria-title strong { color: #40534a; font-size: 10px; }
.criteria-title small { color: #98a19a; font-size: 8px; }
.criteria-pills { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; flex: 1; }
.criteria-pill { padding: 6px 8px; border-radius: 6px; border: 1px solid #e0e6dd; background: #fafbf8; color: #718078; font-size: 9px; white-space: nowrap; }
.criteria-pill b { padding-right: 3px; color: #568771; font-size: 10px; }
.criteria-strip > .text-button { padding: 3px 0; white-space: nowrap; }

.listing-section { padding-bottom: 24px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 13px; }
.small-eyebrow { margin-bottom: 5px; font-size: 9px; letter-spacing: 1.1px; }
.section-heading h2 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.5px; }
.result-count { display: inline-grid; place-items: center; min-width: 21px; height: 21px; margin-left: 3px; border-radius: 50%; color: var(--green); background: #e5efe7; font: 600 10px "DM Mono", monospace; vertical-align: 2px; }
.sort-label { display: flex; align-items: center; gap: 7px; padding-bottom: 3px; color: #89948d; font-size: 10px; }
.sort-label > span:last-child { color: #a6afa8; font-size: 15px; }
.sort-dot { width: 6px; height: 6px; border-radius: 50%; background: #79aa8d; }
.toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.search-box { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; height: 38px; padding: 0 11px; border: 1px solid #e1e4dd; border-radius: 8px; background: rgba(255,255,255,.86); color: #91a098; }
.search-box > span { font-size: 19px; line-height: 1; transform: rotate(-15deg); }
.search-box input { width: 100%; min-width: 0; border: 0; outline: none; background: transparent; color: var(--ink); font-size: 10px; }
.search-box input::placeholder { color: #adb5af; }
.select-wrap { height: 38px; padding: 0 10px; display: flex; gap: 8px; align-items: center; border: 1px solid #e1e4dd; border-radius: 8px; background: rgba(255,255,255,.86); color: #94a198; }
.select-wrap select { max-width: 112px; border: 0; outline: 0; background: transparent; color: #68776f; font-size: 10px; cursor: pointer; }
.filter-button { height: 38px; padding: 0 12px; border: 1px solid #dce2d9; border-radius: 8px; background: #fff; color: #64756c; font-size: 10px; cursor: pointer; transition: border-color .16s, color .16s; }
.filter-button:hover { border-color: #9cbeaa; color: var(--green); }
.filter-button span { margin-right: 6px; font-size: 13px; }
.filter-button b { display: inline-grid; place-items: center; width: 15px; height: 15px; margin-left: 5px; border-radius: 50%; color: #577f68; background: #e6f0e8; font: 500 9px "DM Mono", monospace; }
.status-tabs { display: flex; align-items: center; gap: 18px; border-bottom: 1px solid #e3e5de; }
.status-tab { display: flex; align-items: center; gap: 6px; padding: 10px 0 9px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #939d96; font-size: 10px; cursor: pointer; white-space: nowrap; }
.status-tab > span { min-width: 17px; color: #a5ada7; font: 500 9px "DM Mono", monospace; }
.status-tab.active { border-bottom-color: var(--green); color: var(--green-dark); font-weight: 700; }
.status-tab.active > span { color: var(--green); }
.tab-dot { width: 6px; height: 6px; border-radius: 50%; }
.pass-dot { background: #60a77b; }
.review-dot { background: #d1a149; }
.reject-dot { background: #d58670; }
.advanced-filters { display: grid; gap: 13px; padding: 14px; margin-top: 10px; border: 1px solid #e5e7e0; border-radius: 9px; background: #f1f3ed; }
.advanced-label { display: inline-block; margin-right: 12px; color: #87938b; font-size: 10px; }
.check-chips { display: inline-flex; gap: 6px; flex-wrap: wrap; vertical-align: middle; }
.check-chips label { cursor: pointer; }
.check-chips input { position: absolute; opacity: 0; }
.check-chips label span { display: block; padding: 5px 8px; border: 1px solid #dde5dc; border-radius: 6px; background: #fff; color: #829087; font-size: 9px; }
.check-chips input:checked + span { border-color: #c6ddcb; color: var(--green-dark); background: #e7f2e9; }
.check-chips input:focus-visible + span { outline: 3px solid rgba(29,120,97,.24); outline-offset: 2px; }
.advanced-line { display: flex; align-items: center; gap: 10px; }
.fixed-value { color: #64756c; font-size: 10px; }
.advanced-line .text-button { margin-left: auto; }

.jobs-list { display: grid; gap: 9px; padding-top: 11px; }
.job-card { border: 1px solid #e5e6df; border-radius: 10px; background: #fff; box-shadow: 0 3px 9px rgba(31,50,39,.018); overflow: hidden; transition: border .18s, box-shadow .18s, transform .18s; }
.job-card:hover { border-color: #cbded0; box-shadow: var(--shadow); transform: translateY(-1px); }
.job-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 14px 15px 8px; cursor: pointer; }
.job-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 5px; }
.job-title { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: -.2px; }
.demo-badge { padding: 3px 6px; border-radius: 4px; color: #9a7e40; background: #fbf4e4; font-size: 8px; }
.job-company { color: #7e8a82; font-size: 10px; }
.job-company span { color: #b2bab4; padding: 0 5px; }
.job-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.meta-pill { display: inline-flex; align-items: center; gap: 4px; min-height: 22px; padding: 4px 7px; border-radius: 5px; color: #6f7d74; background: #f4f6f2; font-size: 9px; white-space: nowrap; }
.meta-pill.salary { color: #ad684a; background: #fff1e8; font-weight: 700; }
.meta-pill.commute { color: #587d69; background: #ebf4ed; }
.meta-pill.pending { color: #a78036; background: #fbf4e4; }
.job-side { min-width: 144px; display: grid; align-content: start; justify-items: end; gap: 9px; text-align: right; }
.status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 5px; font-size: 9px; white-space: nowrap; }
.status-badge:before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-badge.pass { color: #35775e; background: #e7f2e9; }
.status-badge.review { color: #a47b32; background: #fff4dd; }
.status-badge.reject { color: #bd6b55; background: #fff0e9; }
.match-score { display: flex; align-items: baseline; gap: 3px; color: #a0aaa2; font-size: 8px; }
.match-score strong { color: #3f765f; font: 700 17px Manrope, sans-serif; }
.match-score.low strong { color: #9a9c8c; }
.why-row { display: flex; align-items: flex-start; gap: 6px; padding: 8px 15px 9px; border-top: 1px solid #f0f1ed; color: #7d8982; font-size: 9px; line-height: 1.55; }
.why-row strong { flex: 0 0 auto; color: #728078; font-size: 9px; font-weight: 700; }
.why-mark { color: #6ba27f; }
.why-row.reject-why .why-mark { color: var(--coral); }
.why-row.review-why .why-mark { color: var(--amber); }
.job-bottom { display: flex; align-items: center; justify-content: space-between; padding: 8px 15px 10px; border-top: 1px solid #f3f4f1; }
.job-progress-row { display: flex; align-items: center; gap: 9px; padding: 9px 15px 11px; border-top: 1px solid #f3f4f1; background: #fbfcfa; }
.job-progress-row label, .job-progress-row > span:first-child { flex: 0 0 auto; color: #6b7d70; font-size: 9px; font-weight: 700; }
.job-progress-row select { min-width: 165px; max-width: 240px; padding: 7px 9px; border: 1px solid #cbded0; border-radius: 6px; color: #315d43; background: #fff; font-size: 10px; cursor: pointer; }
.job-progress-row select:disabled { border-color: #e1e6df; color: #9ca69e; background: #f5f6f3; cursor: not-allowed; }
.job-progress-row button { padding: 6px 8px; border: 0; color: #357456; background: transparent; font-size: 9px; cursor: pointer; }
.job-progress-row button:hover { text-decoration: underline; }
.source-meta { display: flex; align-items: center; gap: 7px; color: #9aa49d; font-size: 9px; }
.source-icon { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 5px; color: #70877b; background: #eef3ed; font: 700 8px "DM Mono", monospace; }
.job-actions { display: flex; align-items: center; gap: 9px; }
.feedback-mark { color: #9a8273; font-size: 9px; }
.feedback-mark.good { color: #417d62; }
.feedback-mark.ok { color: #9a7a3d; }
.feedback-mark.no { color: #bd6b55; }
.detail-button { border: 0; padding: 0; background: transparent; color: var(--green); font-size: 10px; font-weight: 700; cursor: pointer; }
.detail-button:hover { color: var(--green-dark); }
.list-footer { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 0 6px; color: #a6aea8; font-size: 9px; }
.footer-dash { width: 22px; height: 1px; background: #dfe4dd; }
.empty-state { padding: 55px 18px; border: 1px dashed #dce3db; border-radius: 10px; text-align: center; background: rgba(255,255,255,.46); }
.empty-symbol { width: 45px; height: 45px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 50%; color: #67917a; background: #e9f1e9; font-size: 24px; }
.empty-state h3 { margin-bottom: 6px; font-size: 14px; }
.empty-state p { margin-bottom: 16px; color: #8b9690; font-size: 11px; }
.primary-button { padding: 9px 14px; border: 0; border-radius: 7px; color: #fff; background: var(--green); font-weight: 700; font-size: 10px; cursor: pointer; }

.secondary-view { padding: 43px 0 50px; }
.secondary-head { padding: 10px 0 23px; }
.secondary-head h1 { margin: 12px 0 8px; font-size: 30px; letter-spacing: -1px; }
.secondary-head p { margin: 0; color: #839087; font-size: 12px; }
.clear-feedback-button { margin-top: 12px; padding: 7px 10px; border: 1px solid #e0e5de; border-radius: 6px; color: #8d9890; background: #fff; font-size: 9px; cursor: pointer; }
.clear-feedback-button:hover { border-color: #e5b5a5; color: #b6604c; }
.profile-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; align-items: start; }
.profile-card { border: 1px solid #e4e7e0; border-radius: 12px; background: #fff; box-shadow: 0 5px 18px rgba(39,56,46,.025); }
.profile-main { padding: 23px; }
.profile-top { display: flex; align-items: center; gap: 16px; }
.profile-monogram { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 18px 18px 18px 5px; color: var(--green-dark); background: #e3efe5; font-size: 13px; font-weight: 800; line-height: 1.35; text-align: center; }
.profile-label { color: #94a098; font-size: 9px; }
.profile-top h2 { margin: 4px 0; font-size: 17px; letter-spacing: -.4px; }
.profile-top p { margin: 0; color: #8a958e; font-size: 10px; }
.profile-divider { height: 1px; margin: 21px 0; background: #eef0eb; }
.profile-card h3 { margin: 19px 0 11px; color: #68786e; font-size: 10px; }
.achievement-list { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.achievement-list li { display: grid; grid-template-columns: 120px 1fr; gap: 10px; font-size: 10px; line-height: 1.6; }
.achievement-list b { color: #4d6658; font-size: 10px; }
.achievement-list span { color: #89948d; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-cloud span { padding: 6px 9px; border: 1px solid #e1e9e1; border-radius: 6px; color: #587b65; background: #f3f8f2; font-size: 9px; }
.profile-rules { padding: 21px 20px 17px; }
.rules-kicker { display: flex; justify-content: space-between; color: #9aa69d; font: 500 9px "DM Mono", monospace; letter-spacing: 1px; }
.rules-kicker span { color: #c0c8c1; }
.profile-rules h3 { margin: 16px 0 7px; color: #253c31; font-size: 14px; }
.rule-row { display: grid; grid-template-columns: 24px 1fr 18px; align-items: center; gap: 9px; padding: 12px 0; border-top: 1px solid #f0f2ed; }
.rule-num { color: #aab5ad; font: 500 9px "DM Mono", monospace; }
.rule-row div { display: grid; gap: 3px; }
.rule-row b { color: #53665b; font-size: 10px; }
.rule-row small { color: #96a098; font-size: 9px; line-height: 1.5; }
.rule-check { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; color: #4c8a68; background: #e9f3eb; font-size: 9px; }
.profile-note { display: flex; gap: 9px; padding: 10px; margin-top: 7px; border-radius: 7px; color: #857853; background: #faf6e9; }
.profile-note > span { width: 15px; height: 15px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #cbbb8f; border-radius: 50%; font: 10px Georgia, serif; }
.profile-note p { margin: 0; font-size: 9px; line-height: 1.6; }

.feedback-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 17px; }
.feedback-stat { padding: 15px; border: 1px solid #e3e6df; border-radius: 9px; background: #fff; }
.feedback-stat span { color: #8b9790; font-size: 10px; }
.feedback-stat strong { display: block; margin-top: 6px; color: #456b54; font: 700 24px Manrope, sans-serif; }
.feedback-list { display: grid; gap: 9px; }
.feedback-entry { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; padding: 15px; border: 1px solid #e3e6df; border-radius: 9px; background: #fff; }
.feedback-entry h3 { margin: 0 0 4px; font-size: 12px; }
.feedback-entry p { margin: 0; color: #89948d; font-size: 10px; line-height: 1.6; }
.feedback-entry time { flex: 0 0 auto; color: #a5aea7; font: 9px "DM Mono", monospace; }
.feedback-empty { padding: 35px 15px; border: 1px dashed #dce3db; border-radius: 9px; color: #929d95; background: rgba(255,255,255,.45); text-align: center; font-size: 11px; }
.progress-summary { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin: 4px 0 19px; }
.progress-stat { padding: 12px 14px; border: 1px solid #e3e6df; border-radius: 9px; background: #fff; }
.progress-stat span { color: #8b9790; font-size: 9px; }
.progress-stat strong { display: block; margin-top: 5px; color: #456b54; font: 700 22px Manrope, sans-serif; }
.progress-toolbar { display: flex; justify-content: space-between; align-items: center; margin: 15px 0 9px; color: #89958d; font-size: 10px; }
.progress-board { display: grid; grid-template-columns: repeat(8, minmax(205px, 1fr)); gap: 9px; overflow-x: auto; padding: 2px 1px 12px; align-items: start; }
.progress-column { min-height: 190px; border: 1px solid #e2e6df; border-radius: 10px; background: #f1f3ee; overflow: hidden; }
.progress-column-head { display: flex; align-items: center; justify-content: space-between; padding: 11px 11px 9px; border-bottom: 1px solid #e3e7e0; color: #607167; font-size: 10px; font-weight: 700; }
.progress-column-head span:last-child { min-width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; color: #79887f; background: #e2e8e0; font: 9px "DM Mono", monospace; }
.progress-column-body { display: grid; gap: 7px; padding: 8px; }
.progress-empty { padding: 22px 8px; color: #a0aaa2; text-align: center; font-size: 9px; }
.application-card { padding: 10px; border: 1px solid #e4e8e1; border-radius: 8px; background: #fff; box-shadow: 0 2px 5px rgba(33,48,39,.025); }
.application-card h3 { margin: 0 0 4px; color: #33473a; font-size: 10px; line-height: 1.5; }
.application-company { color: #839087; font-size: 9px; }
.application-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0; }
.application-tags span { padding: 4px 5px; border-radius: 4px; color: #6d8073; background: #f1f5f0; font-size: 8px; }
.application-dates { display: grid; gap: 3px; color: #98a39b; font-size: 8px; line-height: 1.45; }
.application-note { margin: 7px 0 0; padding-top: 7px; border-top: 1px solid #f0f2ed; color: #77857b; font-size: 9px; line-height: 1.55; white-space: pre-line; }
.application-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; margin-top: 8px; }
.application-actions select { width: 100%; max-width: none; min-width: 0; padding: 6px 5px; border: 1px solid #e1e6df; border-radius: 5px; color: #68786e; background: #fff; font-size: 8px; }
.application-actions button { border: 0; padding: 3px; color: #6e8c77; background: transparent; font-size: 8px; cursor: pointer; white-space: nowrap; }
.application-actions button:hover { color: var(--green-dark); }
.resume-button { padding: 6px 9px; border: 1px solid #dfe8df; border-radius: 6px; color: #5d806b; background: #f8fbf7; font-size: 9px; cursor: pointer; }
.resume-button:hover { border-color: #b8d3bf; color: var(--green-dark); background: #edf5ed; }
.resume-status-inline { padding: 3px 6px; border-radius: 4px; color: #66816d; background: #edf3e9; }
.job-detail-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.resume-detail-button, .interview-detail-button { padding: 8px 10px; border: 1px solid #dce7dc; border-radius: 6px; color: #557763; background: #f7faf6; font-size: 10px; cursor: pointer; }
.resume-detail-button:hover, .interview-detail-button:hover { background: #eaf3e9; }
.resume-match-card { display: grid; grid-template-columns: 145px 1fr; gap: 14px; padding: 16px; border: 1px solid #dfe9df; border-radius: 10px; background: linear-gradient(120deg, #f0f6ef, #fbfcf8); }
.resume-match-score { display: grid; justify-items: start; align-content: center; gap: 3px; padding-right: 12px; border-right: 1px solid #dce7dc; }
.resume-match-score span, .resume-match-score small { color: #7b897f; font-size: 9px; }
.resume-match-score strong { color: #2d765b; font: 800 34px Manrope, sans-serif; line-height: 1.15; }
.resume-recommend-label { color: #77907d; font: 500 8px "DM Mono", monospace; letter-spacing: 1px; }
.resume-recommendation h3 { margin: 4px 0 5px; color: #355943; font-size: 12px; }
.resume-recommendation p { margin: 0; color: #7c8980; font-size: 9px; line-height: 1.65; }
.resume-match-details { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin: 15px 0; }
.resume-match-details > div { padding: 12px; border: 1px solid #eaede6; border-radius: 8px; background: #fbfcfa; }
.resume-match-details h3 { margin: 0 0 9px; color: #627368; font-size: 10px; }
.resume-match-details ul { margin: 0; padding-left: 16px; color: #879188; font-size: 9px; line-height: 1.65; }
.resume-tag-list { display: flex; flex-wrap: wrap; gap: 5px; }
.resume-tag, .resume-empty-tag { padding: 5px 7px; border-radius: 5px; color: #557a62; background: #eaf3e8; font-size: 8px; }
.resume-empty-tag { color: #94885f; background: #f7f2df; }
.resume-source-alert, .interview-kit-alert { padding: 11px 12px; border: 1px solid #f0e3c7; border-radius: 8px; color: #887750; background: #fcf8ed; font-size: 9px; line-height: 1.7; }
.resume-source-alert b, .interview-kit-alert b { color: #7a6942; }
.resume-form-heading { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin: 18px 0 9px; }
.resume-form-heading h3 { margin: 3px 0 0; font-size: 13px; }
.resume-form-heading > span { color: #9aa49d; font-size: 8px; }
.resume-theme-note { padding: 10px 11px; margin-top: 13px; border-radius: 7px; background: #f2f5f0; }
.resume-theme-note span { color: #597963; font-size: 9px; font-weight: 700; }
.resume-theme-note p { margin: 3px 0 0; color: #8b968d; font-size: 9px; line-height: 1.6; }
.resume-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.secondary-action { padding: 9px 11px; border: 1px solid #dce4dc; border-radius: 6px; color: #5f7666; background: #fff; font-size: 9px; cursor: pointer; }
.secondary-action:hover { border-color: #b7d1bd; background: #f6faf5; }
.secondary-action:disabled { opacity: .45; cursor: not-allowed; }
.interview-kit-alert p { margin: 4px 0 8px; }
.interview-kit-alert > a { color: #357456; font-weight: 700; text-decoration: none; }
.interview-search-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.interview-search-links a { padding: 5px 7px; border: 1px solid #e8dfc8; border-radius: 5px; color: #7c704f; background: #fffdf8; font-size: 8px; text-decoration: none; }
.interview-search-links a:hover { color: #426a4f; border-color: #c9d9c8; }
.import-howto { display: flex; gap: 11px; padding: 13px; margin: 1px 0 18px; border: 1px solid #dfe9dd; border-radius: 9px; background: #edf4ec; }
.import-howto-mark { width: 27px; height: 27px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; color: #3f805e; background: #dbeade; font-size: 16px; }
.import-howto strong { color: #45624e; font-size: 10px; }
.import-howto p { margin: 4px 0 0; color: #7a897e; font-size: 9px; line-height: 1.65; }
.imports-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 0 10px; border-bottom: 1px solid #e4e7e0; }
.imports-toolbar > div { display: flex; gap: 8px; align-items: baseline; }
.imports-toolbar strong { font-size: 13px; }
.imports-toolbar span { color: #9aa59d; font-size: 9px; }
.import-filter-label { display: flex; gap: 6px; align-items: center; color: #89958d; font-size: 9px; }
.import-filter-label select { padding: 6px 7px; border: 1px solid #e0e5de; border-radius: 6px; color: #64756b; background: #fff; font-size: 9px; }
.imports-list { display: grid; gap: 9px; padding-top: 10px; }
.import-card { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 14px; padding: 13px; border: 1px solid #e3e7e0; border-radius: 9px; background: #fff; box-shadow: 0 2px 7px rgba(31,50,39,.02); }
.import-card-main { min-width: 0; }
.import-card-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.import-card-title { margin: 0; font-size: 12px; }
.import-status-chip { padding: 4px 6px; border-radius: 5px; color: #9a7b3a; background: #fcf5e4; font-size: 8px; }
.import-status-chip.ok { color: #367758; background: #e8f3e9; }
.import-status-chip.no { color: #b55f4c; background: #fff0e9; }
.import-status-chip.added { color: #657b95; background: #edf1f6; }
.import-source-meta { margin: 5px 0 9px; color: #8b9790; font-size: 9px; overflow-wrap: anywhere; }
.import-source-meta a { color: #4b8867; text-decoration: none; }
.import-text-preview { max-height: 72px; overflow: auto; padding: 8px; border-radius: 6px; color: #738077; background: #f7f8f5; font-size: 9px; line-height: 1.65; white-space: pre-line; }
.import-image-preview { display: block; width: min(100%, 430px); max-height: 220px; object-fit: contain; object-position: left center; margin: 8px 0 0; border: 1px solid #e5e8e2; border-radius: 6px; background: #f3f4f1; }
.import-card-side { display: grid; align-content: start; gap: 8px; }
.import-card-side label { display: grid; gap: 5px; color: #8b9790; font-size: 8px; }
.import-card-side select, .import-card-side textarea { width: 100%; padding: 7px; border: 1px solid #e1e6df; border-radius: 6px; color: #64756b; background: #fff; font-size: 9px; }
.import-card-side textarea { min-height: 51px; resize: vertical; }
.import-card-actions { display: flex; flex-wrap: wrap; gap: 5px; }
.mini-action { padding: 6px 7px; border: 1px solid #e0e6de; border-radius: 5px; color: #61776a; background: #fff; font-size: 8px; cursor: pointer; }
.mini-action:hover { border-color: #b9d1bf; color: var(--green-dark); }
.mini-action.primary { border-color: #d3e4d5; color: #397454; background: #edf5ed; }
.app-footer { display: flex; justify-content: space-between; gap: 15px; padding: 14px 2px 4px; border-top: 1px solid #e6e8e2; color: #a0a9a1; font-size: 9px; }
.app-footer i { padding: 0 4px; color: #c4cbc4; font-style: normal; }

.modal-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(24,39,32,.37); backdrop-filter: blur(4px); }
.modal-backdrop[hidden] { display: none; }
.modal-card { width: min(700px, 100%); max-height: min(90vh, 850px); overflow: auto; border: 1px solid rgba(255,255,255,.55); border-radius: 14px; background: #fff; box-shadow: 0 24px 80px rgba(17,38,28,.22); animation: rise .18s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.modal-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 21px 23px 16px; border-bottom: 1px solid #edf0eb; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); }
.modal-head h2 { margin: 4px 0; font-size: 20px; letter-spacing: -.5px; }
.modal-head p { margin: 0; color: #849087; font-size: 10px; }
.modal-eyebrow { color: #8fa197; font: 9px "DM Mono", monospace; letter-spacing: 1px; }
.close-modal { border: 0; width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%; background: #f1f4ef; color: #738178; font-size: 19px; line-height: 20px; cursor: pointer; }
.modal-body { padding: 18px 23px 22px; }
.detail-summary { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 17px; }
.detail-summary .meta-pill { font-size: 10px; }
.match-explain { padding: 11px 13px; margin-bottom: 18px; border-radius: 8px; background: #f2f6f0; }
.match-explain h3 { margin: 0 0 6px; color: #54755f; font-size: 10px; }
.match-explain p { margin: 0; color: #7c8a7f; font-size: 10px; line-height: 1.7; }
.track-job-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; margin: -8px 0 17px; border: 1px solid #dfe9df; border-radius: 8px; color: #718076; background: #f8fbf6; font-size: 9px; }
.track-job-button { padding: 7px 9px; border: 0; border-radius: 6px; color: #fff; background: var(--green); font-size: 9px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.track-job-button:hover { background: var(--green-dark); }
.jd-section { margin: 16px 0; }
.jd-section h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: #344c3e; font-size: 12px; }
.jd-section h3:before { content: ""; width: 3px; height: 12px; border-radius: 3px; background: #6ea080; }
.jd-section p, .jd-section li { color: #6f7e74; font-size: 11px; line-height: 1.85; }
.jd-section p { margin: 0; white-space: pre-line; }
.jd-section ul { display: grid; gap: 4px; padding-left: 17px; margin: 0; }
.source-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 7px; color: var(--green); font-size: 10px; font-weight: 700; text-decoration: none; }
.source-link:hover { color: var(--green-dark); }
.feedback-panel { padding: 15px; margin-top: 20px; border: 1px solid #e5e9e2; border-radius: 10px; background: #fafbf8; }
.feedback-panel h3 { margin: 0 0 5px; font-size: 12px; }
.feedback-panel > p { margin: 0 0 12px; color: #929e95; font-size: 9px; }
.feedback-buttons { display: flex; flex-wrap: wrap; gap: 7px; }
.feedback-choice { min-height: 34px; padding: 8px 11px; border: 1px solid #e1e7df; border-radius: 7px; background: #fff; color: #748178; font-size: 10px; cursor: pointer; transition: .15s; }
.feedback-choice:hover, .feedback-choice.selected { border-color: #a8c9b0; color: #387252; background: #edf5ee; }
.feedback-choice.ok:hover, .feedback-choice.ok.selected { border-color: #dfcc9b; color: #92722f; background: #fff8e7; }
.feedback-choice.no:hover, .feedback-choice.no.selected { border-color: #e5b5a5; color: #b6604c; background: #fff2eb; }
.feedback-reason { display: grid; gap: 6px; margin-top: 12px; }
.feedback-reason label { color: #78877d; font-size: 10px; }
.feedback-reason textarea { min-height: 68px; width: 100%; resize: vertical; padding: 9px 10px; border: 1px solid #dfe5dc; border-radius: 7px; background: #fff; color: var(--ink); font-size: 10px; }
.feedback-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; }
.feedback-hint { color: #a1aaa3; font-size: 9px; }
.save-feedback { padding: 8px 12px; border: 0; border-radius: 7px; color: #fff; background: var(--green); font-size: 10px; font-weight: 700; cursor: pointer; }
.save-feedback:disabled { opacity: .45; cursor: not-allowed; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 12px; }
.form-field { display: grid; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { color: #75837a; font-size: 10px; font-weight: 600; }
.form-field label span { color: #a8b1aa; font-weight: 400; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 9px 10px; border: 1px solid #e0e5de; border-radius: 7px; color: #405047; background: #fff; font-size: 10px; }
.form-field textarea { min-height: 105px; resize: vertical; line-height: 1.65; }
.upload-caption { color: #9aa49d; font-size: 8px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #b2bbb4; }
.form-pair { display: flex; gap: 7px; align-items: center; }
.form-pair input { min-width: 0; }
.form-pair span { color: #9aa49c; font-size: 10px; }
.checkbox-line { display: flex; align-items: center; gap: 8px; color: #77857b; font-size: 10px; cursor: pointer; }
.checkbox-line input { accent-color: var(--green); }
.form-hint { padding: 10px 11px; border-radius: 7px; color: #8e8057; background: #faf6e8; font-size: 9px; line-height: 1.65; }
.modal-form-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 16px; margin-top: 17px; border-top: 1px solid #edf0eb; }
.modal-form-footer > span { color: #a0a9a1; font-size: 9px; }
.modal-form-footer .primary-button { padding: 10px 15px; }
.rules-modal-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rules-modal-list li { display: grid; grid-template-columns: 24px 1fr; gap: 9px; align-items: start; color: #77857b; font-size: 11px; line-height: 1.65; }
.rules-modal-list li > span { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 6px; color: #57826a; background: #edf4ec; font: 10px "DM Mono", monospace; }
.rules-modal-note { padding: 11px 12px; margin-top: 16px; border-radius: 8px; color: #877951; background: #faf6e9; font-size: 10px; line-height: 1.65; }

.toast { position: fixed; z-index: 80; bottom: 20px; left: 50%; max-width: calc(100vw - 30px); padding: 10px 15px; border-radius: 8px; opacity: 0; pointer-events: none; transform: translate(-50%, 10px); color: #fff; background: #294b3d; box-shadow: 0 7px 20px rgba(24,51,36,.2); font-size: 10px; transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 1480px) {
  .main-content { padding-right: 60px; padding-left: 60px; }
  .stats-grid { gap: 14px; }
  .jobs-list { gap: 11px; }
}
@media (max-width: 1120px) {
  .main-content { padding-right: 25px; padding-left: 25px; }
  .criteria-strip { gap: 10px; }
  .criteria-pills { gap: 5px; }
  .criteria-pill { font-size: 8px; padding: 5px 6px; }
  .profile-layout { grid-template-columns: 1fr; }
  .progress-board { grid-template-columns: repeat(8, minmax(190px, 1fr)); }
}
@media (max-width: 840px) {
  .sidebar { width: 225px; flex-basis: 225px; transform: translateX(-102%); transition: transform .2s; box-shadow: 12px 0 30px rgba(25,45,34,.08); }
  .sidebar.open { transform: translateX(0); }
  .main-content { width: 100%; margin-left: 0; padding: 0 24px 22px; }
  .menu-button { display: block; }
  .topbar { gap: 15px; }
  .breadcrumb { margin-right: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .source-breakdown { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .criteria-strip { flex-wrap: wrap; }
  .criteria-title { width: 100%; }
  .criteria-strip > .text-button { margin-left: auto; }
}
@media (max-width: 560px) {
  .main-content { padding-right: 15px; padding-left: 15px; }
  .topbar { height: 58px; }
  .top-actions { gap: 9px; }
  .quiet-button { font-size: 0; }
  .quiet-button span { font-size: 14px; }
  .hero-row { padding: 26px 1px 17px; }
  .hero-row h1 { font-size: 27px; letter-spacing: -1.2px; }
  .hero-copy { max-width: 270px; line-height: 1.7; font-size: 10px; }
  .hero-stamp { width: 66px; height: 66px; flex: 0 0 auto; }
  .hero-stamp > span { font-size: 24px; }
  .hero-stamp small { font-size: 7px; }
  .hero-stamp b { font-size: 8px; }
  .date-chip { display: none; }
  .demo-notice { gap: 8px; padding: 10px; }
  .demo-notice span:not(.notice-icon) { font-size: 9px; }
  .stats-grid { gap: 7px; }
  .stat-card { min-height: 98px; padding: 10px; }
  .stat-card strong { font-size: 22px; }
  .source-overview { padding: 11px; }
  .source-overview-head { align-items: start; flex-direction: column; gap: 5px; }
  .source-overview-head p { text-align: left; }
  .criteria-strip { gap: 9px; padding: 11px; margin: 12px 0 21px; }
  .criteria-pills { width: 100%; }
  .criteria-strip > .text-button { font-size: 9px; }
  .section-heading h2 { font-size: 17px; }
  .sort-label { font-size: 0; gap: 5px; }
  .sort-label > span:last-child { font-size: 14px; }
  .toolbar { gap: 5px; }
  .search-box { height: 36px; padding: 0 8px; }
  .search-box input { font-size: 9px; }
  .select-wrap { height: 36px; gap: 4px; padding: 0 6px; }
  .select-wrap select { max-width: 72px; font-size: 9px; }
  .filter-button { height: 36px; padding: 0 8px; font-size: 9px; }
  .filter-button span { margin-right: 3px; }
  .status-tabs { gap: 12px; overflow-x: auto; }
  .status-tab { font-size: 9px; }
  .job-main { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 11px 7px; gap: 6px; }
  .job-title { font-size: 12px; }
  .job-company { font-size: 9px; }
  .job-side { min-width: auto; gap: 7px; }
  .status-badge { padding: 5px 6px; font-size: 8px; }
  .match-score strong { font-size: 15px; }
  .job-meta { gap: 4px; margin-top: 8px; }
  .meta-pill { min-height: 20px; padding: 4px 5px; font-size: 8px; }
  .why-row { padding: 8px 11px; font-size: 8px; }
  .job-bottom { padding: 8px 11px 9px; }
  .job-progress-row { padding: 9px 11px 11px; flex-wrap: wrap; }
  .job-progress-row select { flex: 1; min-width: 130px; }
  .source-meta { font-size: 8px; gap: 5px; }
  .job-actions { gap: 6px; }
  .feedback-mark { font-size: 8px; }
  .detail-button { font-size: 9px; }
  .app-footer { flex-direction: column; gap: 5px; }
  .progress-summary { grid-template-columns: repeat(2, 1fr); }
  .progress-board { grid-template-columns: repeat(8, minmax(225px, 76vw)); }
  .import-card { grid-template-columns: 1fr; }
  .import-card-side { grid-template-columns: 1fr 1fr; }
  .import-card-side label:nth-child(2) { grid-column: 1 / -1; }
  .import-card-actions { grid-column: 1 / -1; }
  .import-howto p { font-size: 8px; }
  .achievement-list li { grid-template-columns: 92px 1fr; }
  .feedback-summary { gap: 6px; }
  .feedback-stat { padding: 11px; }
  .feedback-stat span { font-size: 9px; }
  .feedback-stat strong { font-size: 20px; }
  .modal-backdrop { place-items: end center; padding: 0; }
  .modal-card { width: 100%; max-height: 94vh; border-radius: 14px 14px 0 0; }
  .modal-head { padding: 18px 16px 13px; }
  .modal-head h2 { font-size: 17px; }
  .modal-body { padding: 15px 16px 22px; }
  .form-grid { gap: 11px 8px; }
  .form-field input, .form-field select, .form-field textarea { padding: 9px 8px; }
  .form-field label { font-size: 9px; }
  .form-hint { font-size: 8px; }
  .modal-form-footer { align-items: flex-end; }
  .modal-form-footer > span { max-width: 150px; line-height: 1.5; }
  .resume-match-card { grid-template-columns: 95px 1fr; gap: 10px; padding: 12px; }
  .resume-match-score strong { font-size: 28px; }
  .resume-match-details { grid-template-columns: 1fr; gap: 8px; }
  .resume-form-heading { align-items: flex-start; flex-direction: column; }
}
.job-company-overview{margin-top:8px;max-width:730px;color:#65736b;font-size:12px;line-height:1.65}
.research-leads{margin-bottom:25px}
.research-overview{margin:10px 0;color:#465b4d;font-size:13px;line-height:1.7}
.research-lead .import-card-main{width:100%}
.research-lead .import-card-actions{margin-top:12px;display:flex;gap:8px;flex-wrap:wrap}
.research-lead .mini-action{text-decoration:none}
.application-freshness{margin:12px 0;padding:9px 11px;border-radius:8px;background:#fff7e9;color:#8b6542;font-size:12px;line-height:1.6}
.application-actions a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}

/* Compact application tracker */
.progress-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}
.progress-stat{padding:11px 15px}
.progress-stat span{font-size:13px}
.progress-stat strong{margin-top:2px;font-size:23px}
.progress-toolbar{display:flex;justify-content:flex-start;gap:8px;overflow-x:auto;margin:8px 0 14px;padding:2px 0 7px}
.progress-filter{flex:none;border:1px solid #d8e3d9;border-radius:999px;padding:7px 12px;background:#fff;color:#516b58;font-size:13px;cursor:pointer}
.progress-filter.active{border-color:#397352;background:#397352;color:#fff}
.progress-board{display:grid;grid-template-columns:1fr;gap:8px;overflow:visible;padding:0;align-items:stretch}
.compact-application{padding:0;overflow:hidden;border-radius:10px}
.application-main-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:11px 13px}
.application-identity{flex:1 1 260px;min-width:0}
.application-identity h3{margin:0;color:#31473a;font-size:15px;line-height:1.35}
.application-identity p{margin:4px 0 0;color:#65776b;font-size:12px;line-height:1.4}
.application-stage-button,.application-quick-button{flex:none;min-height:34px;border:1px solid #d5e2d6;border-radius:7px;padding:6px 10px;background:#fff;color:#3c6650;font-size:13px;cursor:pointer}
.application-stage-button{min-width:118px;background:#f1f7f1;font-weight:700}
.application-stage-button span{margin-left:4px}
.application-quick-button:hover,.application-stage-button:hover{border-color:#548b65;background:#eef5ee}
.application-stage-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:11px 13px;border-top:1px solid #e8eee8;background:#f8faf7}
.application-stage-grid button{border:1px solid #d9e5d9;border-radius:7px;padding:9px 6px;background:#fff;color:#48614d;font-size:13px;cursor:pointer}
.application-stage-grid button.selected{border-color:#397352;background:#e5f1e7;color:#27583b;font-weight:700}
.application-extra{padding:12px 13px 14px;border-top:1px solid #e8eee8;background:#fbfcfa}
.application-overview{margin:0 0 8px;color:#4f6554;font-size:13px;line-height:1.55}
.application-extra .application-tags{margin:7px 0}
.application-extra .application-tags span{font-size:12px;padding:5px 8px}
.application-extra .application-dates{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px}
.application-extra .application-actions{justify-content:flex-start;gap:8px;margin-top:9px}
.application-extra .application-actions button,.application-extra .application-actions a{border:1px solid #d9e5d9;border-radius:6px;padding:7px 9px;background:#fff;color:#3c6650;font-size:12px;cursor:pointer}
.application-extra .application-note{font-size:13px}
.application-extra .application-freshness{margin:9px 0;font-size:12px}
@media(max-width:600px){
  .progress-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  .progress-stat{padding:8px}
  .progress-stat span{font-size:11px}
  .progress-stat strong{font-size:19px}
  .application-identity{flex-basis:100%}
  .application-stage-button{min-width:0;margin-right:auto}
  .application-stage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
