:root {
  --ink: #203e36;
  --muted: #75817a;
  --accent: #de7d49;
  --paper: #f6f6f0;
  --line: #e4e8df;
  --green: #3d7560;
  --warn: #a36a27;
  --red: #a95252;
  --radius: 16px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #273b34;
  background: var(--paper);
  font-synthesis: none
}

* {
  box-sizing: border-box
}

body {
  margin: 0
}

button,
input,
select,
textarea {
  font: inherit
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent
}

button,
a {
  touch-action: manipulation
}

button {
  cursor: pointer
}

button:disabled {
  opacity: .45;
  cursor: default
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #c9814b;
  outline-offset: 3px
}

a {
  color: var(--ink)
}

button {
  color: inherit
}

h1,
h2,
h3,
p {
  margin-top: 0
}

h1 {
  font-size: 32px;
  font-weight: 650;
  letter-spacing: -1.25px;
  line-height: 1.2
}

h2 {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -.3px
}

h3 {
  font-size: 15px
}

p {
  line-height: 1.65
}

small {
  font-size: 12px;
  color: var(--muted)
}

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

.loading-screen {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  color: var(--muted)
}

.shell {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: 100vh
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 238px;
  padding: 30px 20px 22px;
  background: #183b32;
  color: #c6d5c9;
  display: flex;
  flex-direction: column;
  z-index: 15
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 12px 35px;
  color: white
}

.brand strong {
  font-size: 17px;
  letter-spacing: -.4px
}

.brand small {
  display: block;
  color: #a2b6a9;
  font-size: 10px;
  letter-spacing: 1.7px;
  margin-top: 5px
}

.workspace-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: #94ac9d;
  margin: 10px 14px 14px
}

.sidebar nav {
  display: grid;
  gap: 6px
}

.nav-link {
  border: 0;
  background: none;
  text-align: left;
  border-radius: 9px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #bdcec2;
  font-size: 13px;
  width: 100%
}

.nav-link:hover {
  background: #24483b
}

.nav-link.active {
  background: #2b5041;
  color: #fff
}

.nav-link.active::after {
  content: "";
  margin-left: auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e29461
}

.icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0
}

.sidebar-bottom {
  margin-top: auto;
  padding: 24px 9px 0
}

.private-card {
  padding: 15px 13px;
  background: #24473a;
  border: 1px solid #3b5a48;
  border-radius: 11px;
  margin-bottom: 18px;
  font-size: 12px;
  line-height: 1.6;
  color: #b8cdbb
}

.private-card strong {
  display: block;
  color: #e1e8d9;
  font-size: 12px;
  margin-bottom: 4px
}

.logout {
  display: flex;
  gap: 10px;
  background: none;
  border: 0;
  color: #b2c7b7;
  align-items: center;
  font-size: 12px;
  padding: 8px 3px
}

.main-wrap {
  grid-column: 2;
  min-width: 0
}

.topbar {
  height: 83px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  border-bottom: 1px solid var(--line);
  background: #fafaf6;
  gap: 14px
}

.crumb {
  font-size: 12px;
  color: var(--muted)
}

.crumb strong {
  font-weight: 500;
  color: #3d5345;
  margin-left: 8px
}

.top-right {
  display: flex;
  align-items: center;
  gap: 18px
}

.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #e8ebdf;
  border: 1px solid #d8dfcc;
  border-radius: 50%;
  color: #38503b;
  font-size: 12px;
  font-weight: 700
}

.identity {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px
}

.identity small {
  font-size: 10px;
  display: block;
  margin-top: 2px
}

.candidate-select {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 25px 8px 10px;
  color: var(--ink);
  font-size: 12px
}

.content {
  max-width: 1550px;
  margin: auto;
  padding: 34px 40px 45px
}

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 26px;
  gap: 18px
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: var(--muted);
  font-weight: 650;
  margin-bottom: 10px;
  text-transform: uppercase
}

.subtitle {
  font-size: 13px;
  color: var(--muted);
  margin: 9px 0 0;
  max-width: 700px
}

.head-actions {
  display: flex;
  gap: 9px;
  padding-top: 20px
}

.btn {
  border: 1px solid #dfe5d9;
  background: white;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 550;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap
}

.btn:hover {
  background: #f4f5ee
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #233b2c
}

.btn.primary:hover {
  background: #e58b5a
}

.btn.dark {
  background: var(--ink);
  border-color: var(--ink);
  color: white
}

.btn.danger {
  color: var(--red)
}

.btn.small {
  padding: 7px 10px;
  font-size: 11px
}

.btn.quiet {
  background: transparent;
  border-color: transparent;
  color: var(--muted)
}

.btn .icon {
  width: 15px;
  height: 15px
}

.hero {
  border: 1px solid #dce6d4;
  border-radius: var(--radius);
  background: #eaf0e1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 27px 30px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  gap: 16px
}

.hero h2 {
  font-size: 23px;
  font-weight: 550;
  letter-spacing: -.6px;
  margin-bottom: 10px
}

.hero p {
  font-size: 12px;
  color: #687c63;
  max-width: 600px;
  margin-bottom: 0
}

.hero-art {
  width: 155px;
  height: 100px;
  flex-shrink: 0;
  color: #73956b
}

.hero .eyebrow {
  color: #6c8563
}

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

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 21px 21px 18px
}

.stat-title {
  font-size: 12px;
  color: #768273;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px
}

.stat-title .icon {
  color: #789579;
  width: 17px;
  height: 17px
}

.stat-value {
  font-size: 31px;
  font-weight: 620;
  letter-spacing: -1px;
  margin: 13px 0 8px;
  line-height: 1.1
}

.stat-note {
  font-size: 10px;
  color: var(--muted)
}

.stat-note.good {
  color: #577d56
}

.grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr);
  gap: 21px;
  margin-bottom: 24px
}

.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  min-width: 0
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px
}

.panel-heading h2 {
  margin: 0
}

.panel-heading small {
  font-size: 10px
}

.chart {
  width: 100%;
  height: 175px;
  display: block
}

.chart .gridline {
  stroke: #edf0e8;
  stroke-width: 1
}

.chart .area {
  fill: #e7eddf
}

.chart .trend {
  stroke: #719565;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round
}

.chart text {
  font-size: 10px;
  fill: #93a08c
}

.chart-caption {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  margin-top: 9px
}

.chart-caption span:first-child::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #79956a;
  margin-right: 6px
}

.bar-row {
  margin: 16px 0
}

.bar-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 8px
}

.bar-label span {
  color: #74816f
}

.bar-label strong {
  font-weight: 600;
  color: #3d513a
}

.bar-track {
  height: 7px;
  background: #f1f2eb;
  border-radius: 5px;
  overflow: hidden
}

.bar-fill {
  height: 100%;
  border-radius: 5px;
  background: #839d74
}

.bar-fill.orange {
  background: #dda273
}

.bar-fill.gray {
  background: #a5b29a
}

.bar-fill.red {
  background: #bb8580
}

.panel-footer {
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
  margin: 16px 0 0;
  padding-top: 13px;
  border-top: 1px solid #edf0e8
}

.health-strip {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #eef1e8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 11px;
  color: #6b7c63
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  background: #709166;
  margin-right: 7px
}

.dot.warning {
  background: #cf9657
}

.badge {
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 10px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  background: #edf2e8;
  color: #53764a;
  white-space: nowrap;
  max-width: 100%
}

.badge.warn {
  color: #a77c34;
  background: #faf2df
}

.badge.bad {
  color: #a36058;
  background: #f8ebe7
}

.badge.neutral {
  color: #7e8877;
  background: #f0f1ec
}

.badge.dark {
  background: #e4eadd;
  color: #41583c
}

.table-wrap {
  overflow-x: auto
}

.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px
}

.table th {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8b9784;
  font-weight: 550;
  padding: 11px 12px 13px;
  border-bottom: 1px solid #e9ede2;
  white-space: nowrap
}

.table td {
  padding: 14px 12px;
  border-bottom: 1px solid #edf0e8;
  vertical-align: middle
}

.table tr:last-child td {
  border-bottom: 0
}

.table tbody tr:hover {
  background: #fafbf6
}

.table .job-title {
  font-size: 12px;
  font-weight: 600;
  max-width: 330px;
  display: block;
  line-height: 1.5
}

.table .job-meta {
  display: block;
  font-size: 10px;
  color: #909b89;
  margin-top: 4px
}

.table .score {
  font-weight: 650;
  color: #426e43;
  font-size: 12px
}

.table .score.warn {
  color: #a08048
}

.table .score.neutral {
  color: #8a9284
}

.link-button {
  background: none;
  border: 0;
  text-align: left;
  color: var(--ink);
  padding: 0
}

.link-button:hover {
  text-decoration: underline
}

.empty {
  text-align: center;
  padding: 34px 20px;
  color: #8c9982;
  font-size: 12px;
  line-height: 1.8
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px
}

.field label {
  font-size: 11px;
  color: #5d7058
}

.input,
select.input,
textarea.input {
  background: #fff;
  border: 1px solid #dfe5d7;
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 12px;
  color: #30462c;
  min-width: 0;
  width: 100%
}

.input::placeholder {
  color: #9ca593
}

.filters .input {
  width: auto
}

.filters .search {
  min-width: 200px;
  flex: 1
}

.pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  font-size: 11px;
  color: var(--muted)
}

.pager div {
  display: flex;
  gap: 7px
}

.error {
  padding: 16px;
  border: 1px solid #e8c4b6;
  background: #fcf0e9;
  color: #975740;
  border-radius: 9px;
  font-size: 12px;
  margin: 15px 0
}

.notice {
  font-size: 11px;
  color: #7b886f;
  line-height: 1.7;
  background: #f3f5ed;
  border: 1px solid #e5eadb;
  padding: 13px 15px;
  border-radius: 9px;
  margin-bottom: 18px
}

.timeline {
  padding: 0;
  margin: 0;
  list-style: none
}

.timeline li {
  position: relative;
  padding: 0 0 22px 24px;
  border-left: 1px solid #e4eadc;
  margin-left: 6px
}

.timeline li::before {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  left: -4px;
  top: 5px;
  background: #90a37c;
  border: 2px solid #fff;
  border-radius: 50%;
  box-sizing: content-box
}

.timeline li:last-child {
  border-left-color: transparent
}

.timeline strong {
  font-size: 12px;
  font-weight: 550
}

.timeline p {
  font-size: 11px;
  color: #819074;
  margin: 4px 0 0
}

.timeline small {
  font-size: 10px
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 18px
}

.tag {
  padding: 7px 9px;
  background: #f1f4e9;
  border: 1px solid #e5eadb;
  border-radius: 6px;
  font-size: 11px;
  color: #5d7351
}

.tag.missing {
  background: #fcf3e9;
  border-color: #f0e1cc;
  color: #9d7f54
}

.kv {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 13px 20px;
  font-size: 12px;
  line-height: 1.6
}

.kv dt {
  color: #89947d
}

.kv dd {
  margin: 0
}

.profile-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px
}

.profile-heading .avatar {
  width: 52px;
  height: 52px;
  font-size: 20px
}

.profile-heading h2 {
  font-size: 22px;
  margin-bottom: 4px
}

.section-gap {
  margin-top: 22px
}

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

.flex {
  display: flex;
  align-items: center;
  gap: 10px
}

.subtle {
  font-size: 10px;
  letter-spacing: .5px;
  color: #9aa58e;
  margin-top: 28px;
  text-align: center
}

.no-margin {
  margin: 0
}

.progress-note {
  font-size: 11px;
  color: #849077;
  line-height: 1.7;
  margin: 8px 0 0
}

.admin-candidates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px
}

.candidate-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  text-align: left
}

.candidate-card.selected {
  border-color: #8ba579;
  background: #f1f5e9
}

.candidate-card strong {
  font-size: 13px;
  display: block
}

.candidate-card small {
  display: block;
  font-size: 11px;
  margin-top: 6px
}

.login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr
}

.login-story {
  background: #193d32;
  color: #ecf0df;
  padding: 55px 70px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden
}

.login-story .brand {
  margin: 0
}

.login-story h1 {
  font-size: 49px;
  line-height: 1.15;
  font-weight: 480;
  letter-spacing: -1.5px;
  max-width: 440px
}

.login-story h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #e4ac7d
}

.login-story p {
  font-size: 14px;
  color: #adbfaa;
  max-width: 380px
}

.login-story small {
  color: #93aa95;
  font-size: 11px
}

.login-art {
  margin: 20px 0 25px;
  max-width: 420px;
  height: 180px;
  color: #98ad7b
}

.login-main {
  padding: 45px;
  display: flex;
  align-items: center;
  justify-content: center
}

.login-box {
  width: 100%;
  max-width: 350px
}

.login-box h2 {
  font-size: 29px;
  letter-spacing: -1px;
  margin: 10px 0
}

.login-box>p {
  color: #89947d;
  font-size: 12px;
  margin: 10px 0 28px
}

.login-box form {
  display: grid;
  gap: 18px
}

.login-box .btn {
  margin-top: 5px;
  padding: 13px
}

.login-box .input {
  padding: 13px
}

.login-box .eyebrow {
  margin-bottom: 15px
}

.login-note {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 17px;
  font-size: 10px;
  color: #9aa38e;
  line-height: 1.7
}

.password-panel {
  max-width: 480px;
  margin: 10vh auto;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius)
}

.password-panel form {
  display: grid;
  gap: 18px
}

.password-panel h1 {
  font-size: 25px
}

.password-panel p {
  font-size: 12px;
  color: var(--muted)
}

dialog {
  border: 0;
  padding: 0;
  border-radius: 18px;
  width: min(860px, 94vw);
  max-height: 90vh;
  box-shadow: 0 35px 100px #183b3240;
  background: #fafbf6;
  color: var(--ink)
}

dialog::backdrop {
  background: #162c275e;
  backdrop-filter: blur(3px)
}

.drawer-head {
  padding: 25px 28px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  border-bottom: 1px solid var(--line)
}

.drawer-head h2 {
  font-size: 22px;
  line-height: 1.35;
  margin: 8px 0
}

.drawer-content {
  padding: 24px 28px
}

.drawer-content h3 {
  font-size: 13px;
  margin: 22px 0 12px
}

.drawer-content .grid-two {
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.drawer-content .panel {
  padding: 15px;
  border-radius: 10px
}

.evidence {
  padding: 13px 15px;
  border: 1px solid #e5e9dc;
  background: #fff;
  border-radius: 9px;
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.7
}

.evidence p {
  margin: 7px 0
}

.evidence a {
  font-size: 10px;
  color: #829673
}

.ad-copy {
  font-family: inherit;
  font-size: 12px;
  white-space: pre-wrap;
  line-height: 1.8;
  color: #6c7d60;
  overflow-wrap: anywhere
}

.close {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  width: 30px;
  height: 30px;
  display: grid;
  place-content: center;
  font-size: 18px
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px
}

.form-grid .wide {
  grid-column: 1/-1
}

.account-form {
  max-width: 560px
}

.drawer-content textarea {
  min-height: 110px;
  resize: vertical
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin: 12px 0
}

.checkbox input {
  accent-color: var(--green)
}

#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 13px 20px;
  max-width: min(90vw, 650px);
  border-radius: 10px;
  background: #244b37;
  color: white;
  box-shadow: 0 7px 25px #183b3230;
  font-size: 12px;
  z-index: 100
}

.form-error {
  color: #a35d47;
  font-size: 11px;
  line-height: 1.5;
  min-height: 15px
}

.mini-label {
  font-size: 10px;
  color: #90a086;
  text-transform: uppercase;
  letter-spacing: 1px
}

.mini-value {
  font-size: 13px;
  font-weight: 550;
  line-height: 1.5;
  margin: 8px 0 0
}

.admin-user-actions {
  display: flex;
  gap: 7px
}

.mobile-menu {
  display: none
}

.bar-meter {
  display: block;
  width: 100%;
  height: 7px;
  appearance: none;
  border: 0;
  border-radius: 5px;
  background: #f1f2eb;
  overflow: hidden
}

.bar-meter::-webkit-progress-bar {
  background: #f1f2eb;
  border-radius: 5px
}

.bar-meter::-webkit-progress-value {
  background: #839d74;
  border-radius: 5px
}

.bar-meter::-moz-progress-bar {
  background: #839d74;
  border-radius: 5px
}

.bar-meter.orange::-webkit-progress-value {
  background: #dda273
}

.bar-meter.orange::-moz-progress-bar {
  background: #dda273
}

.bar-meter.gray::-webkit-progress-value {
  background: #a5b29a
}

.bar-meter.gray::-moz-progress-bar {
  background: #a5b29a
}

@media(min-width:1600px) {
  .content {
    padding-top: 42px
  }

  .stats {
    gap: 22px
  }

  .stat {
    padding: 24px
  }

  .hero {
    padding: 31px
  }

  .grid-two {
    gap: 25px
  }
}

@media(max-width:1100px) {
  .shell {
    grid-template-columns: 205px 1fr
  }

  .sidebar {
    width: 205px;
    padding: 27px 13px
  }

  .topbar {
    padding: 0 25px
  }

  .content {
    padding: 28px 25px
  }

  .stats {
    gap: 10px
  }

  .stat {
    padding: 17px 13px
  }

  .stat-value {
    font-size: 28px
  }

  .grid-two {
    grid-template-columns: 1fr
  }

  .hero-art {
    width: 100px
  }

  .hero {
    padding: 23px
  }

  .top-right {
    gap: 10px
  }

  .identity small {
    display: none
  }

  .hero h2 {
    font-size: 21px
  }
}

@media(max-width:760px) {
  .shell {
    display: block
  }

  .sidebar {
    width: 100%;
    position: static;
    padding: 18px 18px 12px
  }

  .brand {
    margin: 0 0 15px
  }

  .brand img {
    width: 30px;
    height: 30px
  }

  .brand small {
    font-size: 8px
  }

  .brand strong {
    font-size: 15px
  }

  .workspace-label,
  .sidebar-bottom {
    display: none
  }

  .sidebar nav {
    display: flex;
    overflow-x: auto;
    gap: 4px
  }

  .nav-link {
    width: auto;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 9px 10px;
    font-size: 11px
  }

  .nav-link .icon {
    width: 15px
  }

  .nav-link.active::after {
    display: none
  }

  .main-wrap {
    grid-column: auto
  }

  .topbar {
    height: 65px;
    padding: 0 18px
  }

  .content {
    padding: 23px 18px
  }

  .identity {
    gap: 6px
  }

  .identity span {
    display: none
  }

  .topbar .crumb {
    font-size: 11px
  }

  .candidate-select {
    max-width: 115px
  }

  .page-head {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 21px
  }

  .page-head h1 {
    font-size: 27px
  }

  .head-actions {
    padding-top: 0
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 11px
  }

  .stat {
    padding: 17px
  }

  .stat-value {
    font-size: 29px
  }

  .hero {
    padding: 23px 20px
  }

  .hero-art {
    display: none
  }

  .hero h2 {
    font-size: 20px
  }

  .grid-two {
    gap: 16px
  }

  .panel {
    padding: 17px
  }

  .health-strip {
    align-items: flex-start;
    line-height: 1.6
  }

  .health-strip>span:last-child {
    display: none
  }

  .table td,
  .table th {
    padding: 12px 9px
  }

  .table .job-title {
    min-width: 180px
  }

  .filters {
    gap: 8px
  }

  .filters .input {
    font-size: 11px;
    max-width: 46%
  }

  .filters .search {
    max-width: none;
    width: 100%;
    flex-basis: 100%
  }

  .login-layout {
    grid-template-columns: 1fr
  }

  .login-story {
    padding: 28px;
    min-height: 260px
  }

  .login-story h1 {
    font-size: 33px;
    max-width: none;
    margin: 25px 0 10px
  }

  .login-story p {
    margin-bottom: 0
  }

  .login-story .login-art,
  .login-story>small {
    display: none
  }

  .login-main {
    padding: 30px 24px 45px
  }

  .login-box {
    max-width: 400px
  }

  .admin-candidates {
    grid-template-columns: 1fr;
    gap: 10px
  }

  .kv {
    grid-template-columns: 110px 1fr;
    font-size: 11px;
    gap: 11px
  }

  .drawer-head {
    padding: 21px
  }

  .drawer-content {
    padding: 20px
  }

  .drawer-content .grid-two {
    grid-template-columns: 1fr
  }

  .drawer-head h2 {
    font-size: 19px
  }

  .form-grid {
    grid-template-columns: 1fr
  }

  .form-grid .wide {
    grid-column: auto
  }

  .password-panel {
    margin: 30px 18px;
    padding: 24px
  }

  .pager {
    gap: 8px
  }

  .panel-heading small {
    max-width: 100px;
    text-align: right
  }
}

.audit-case {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 12px 0;
  background: #fafbf6;
  overflow: hidden
}

.audit-case>summary {
  padding: 16px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.7
}

.audit-case>summary .flex {
  margin-top: 10px;
  flex-wrap: wrap
}

.audit-case-body {
  padding: 0 16px 18px;
  border-top: 1px solid var(--line)
}

.audit-case-body>.progress-note {
  margin: 14px 0
}

.edit-field { display: grid; gap: 8px; margin: 16px 0; min-width: 0 }
.edit-field textarea { min-height: 100px; resize: vertical; width: 100% }
.edit-field input, .edit-field select { width: 100% }
.edit-check { display: flex; align-items: flex-start; gap: 12px; margin: 16px 0; cursor: pointer }
.edit-check input { margin-top: 4px; flex-shrink: 0; accent-color: var(--green, #476343) }
.edit-check small { display: block; margin-top: 5px; line-height: 1.5 }
.sensitive-panel { padding: 20px; margin: 24px 0; border: 1px solid #be8958; background: #fff7ec; border-radius: 12px }
.hard-filter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px }
.selection-dialog { max-width: 1000px; width: calc(100% - 32px) }
@media (max-width: 640px) { .hard-filter-grid { grid-template-columns: 1fr } }

[hidden] { display: none !important }

.decision-panel { margin: 20px 0; padding: 20px; border: 1px solid #bbc6b1; border-radius: 12px; background: #f5f7f0 }
.decision-panel h3 { margin-bottom: 10px }
.decision-reason { max-width: 380px; white-space: normal; line-height: 1.5 }
.requirement-check { padding: 16px 0; border-bottom: 1px solid #e4e7df }
.requirement-check p { margin: 8px 0 }
/* Advertisement language and completed-fit highlights are distinct from bookmarks. */
.job-language-labels { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; margin-top: 8px; }
.jd-language, .english-fit-star { display: inline-block; padding: 4px 7px; border-radius: 6px; font-size: 11px; font-weight: 650; line-height: 1.4; background: #eef0f4; color: #364152; }
.jd-language.english { background: #e8f1ff; color: #194c91; }
.jd-language.italian { background: #e6f5ee; color: #1c6245; }
.jd-language.unknown { background: #f1f2f4; color: #626b78; }
.english-fit-star { background: #fff3ca; color: #785300; border: 1px solid #e9cc77; }
